Hello, I found a bug. In C files, in presence of the directive 'extern "C" {' Symbol window stop to show symbols, no function no variables after that, just show that is declared before. I noticed that if comment this line start working again. I would like to try to fix it escaping '{' in case of be part of 'extern "C" {' if the community consider it a proper way to fix.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2793
It appear a second main window. After close this window the application close.
![geany](https://user-images.githubusercontent.com/4218627/111322803-96863d00-8669-11eb-850d-3ab54d89e0d7.PNG)
15:04:33: Geany INFO : Using TCP port number 45937 for IPC
15:04:33: Geany INFO : Geany 1.37.1, German_Germany.1252
15:04:33: Geany INFO : GTK 2.24.32, GLib 2.66.2
15:04:33: Geany INFO : OS: Windows 10 1909
15:04:33: Geany INFO : System data dir: C:\Program Files (x86)\Geany\data
15:04:33: Geany INFO : User config dir: C:\Users\c900\AppData\Roaming\geany
15:04:33: Geany INFO : System plugin path: C:\Program Files (x86)\Geany\lib\geany
15:04:34: Geany INFO : Added filetype Arduino (63).
15:04:34: Geany INFO : Added filetype Clojure (64).
15:04:34: Geany INFO : Added filetype CUDA (65).
15:04:34: Geany INFO : Added filetype Cython (66).
15:04:34: Geany INFO : Added filetype Genie (67).
15:04:34: Geany INFO : Added filetype Graphviz (68).
15:04:34: Geany INFO : Added filetype Groovy (69).
15:04:34: Geany INFO : Added filetype JSON (70).
15:04:34: Geany INFO : Added filetype Kotlin (71).
15:04:34: Geany INFO : Added filetype Nim (72).
15:04:34: Geany INFO : Added filetype Scala (73).
15:04:34: Geany INFO : Added filetype Swift (74).
15:04:34: Geany INFO : Added filetype TypeScript (75).
15:04:34: GLib-GIO DEBUG : _g_io_module_get_default: Found default implementation winhttp (GWinHttpVfs) for ‘gio-vfs’
15:04:34: Geany INFO : Loaded: C:\Program Files (x86)\Geany\lib\geany\filebrowser.dll (Dateibrowser)
15:04:36: Geany INFO : unknown : None (UTF-8)
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2765
This could help to debug the reported slow startup times but is also useful in general.
Starting Geany from the command line with `--verbose` already logs milliseconds. But most users (and maybe developers) usually don't do this.
Thanks to GLib, we don't need to do much for it and it actually simplifies the existing code.
Tested on ArchLinux and Windows 7.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2659
-- Commit Summary --
* Add microseconds to timestamp in debug log messages
-- File Changes --
M src/log.c (2)
M src/msgwindow.c (2)
M src/utils.c (23)
M src/utils.h (2)
-- Patch Links --
https://github.com/geany/geany/pull/2659.patchhttps://github.com/geany/geany/pull/2659.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2659
Unbound reload all keybinding for reloading all open files, so that you don't have to individually reload every open file after an automated tool changes all of them.
I wanted to make this CTRL+SHIFT+R to mirror the regular reload shortcut, but it looks like that's already taken so I made it unbound by default and bound it on my machine. I didn't make UI buttons for it, but if it's something we want UI buttons for I could do a little more later.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2859
-- Commit Summary --
* Add reload all keybinding
-- File Changes --
M src/callbacks.c (6)
M src/callbacks.h (2)
M src/document.c (10)
M src/document.h (2)
M src/keybindings.c (5)
M src/keybindings.h (1)
-- Patch Links --
https://github.com/geany/geany/pull/2859.patchhttps://github.com/geany/geany/pull/2859.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2859
I can reliably crash Geany 1.33 (and previous versions) by the following commands.
1. "File->Open" (or any other method) to display the open file dialog.
2. Shift+RightClick on a directory, and select "Copy as Path".
3. Wait. A crash will occur.
Note: the crash occurs sooner if you paste the copied path anywhere, for instance into the open "untitled" window, or where I first encountered the crash: open a cmd window, enter "cd /d " and paste the copied path.
The event viewer displays "Event 1000, Application Error" and the following info:
`Faulting application name: geany.exe, version: 1.33.0.0, time stamp: 0x00000000`
`Faulting module name: libgdk-win32-2.0-0.dll, version: 2.24.32.0, time stamp: 0x00000000`
`Exception code: 0xc0000005`
`Fault offset: 0x00026472`
`Faulting process id: 0x18f0`
`Faulting application start time: 0x01d44284f527cbc7`
`Faulting application path: C:\Program Files (x86)\Geany\bin\geany.exe`
`Faulting module path: C:\Program Files (x86)\Geany\bin\libgdk-win32-2.0-0.dll`
`Report Id: 056c8fd0-6756-4c2a-a813-32ce3f030269`
`Faulting package full name: `
`Faulting package-relative application ID:`
systeminfo displays the following:
`OS Name: Microsoft Windows 10 Home`
`OS Version: 10.0.17134 N/A Build 17134`
`OS Manufacturer: Microsoft Corporation`
`OS Configuration: Standalone Workstation`
`OS Build Type: Multiprocessor Free`
My WAG is that this relates to the allocation, permissions, or ownership of the paste buffer.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1942
Newer versions of libxml2 (used by lxml) crash in tostring() when no encoding argument is present. Passing "unicode" as encoding makes tostring() returning already a Python unicode string, so we don't need to decode it anymore.
On Debian Sid where libxml2 2.9.12 is included, the following error occurs without the change:
```
/usr/bin/python3 ../scripts/gen-api-gtkdoc.py xml -d . -o geany-gtkdoc.h \
--sci-output geany-sciwrappers-gtkdoc.h
Traceback (most recent call last):
File "/build/geany-1.37.1-1+20210903gitb7bd5fa/doc/../scripts/gen-api-gtkdoc.py", line 460, in <module>
sys.exit(main(sys.argv))
File "/build/geany-1.37.1-1+20210903gitb7bd5fa/doc/../scripts/gen-api-gtkdoc.py", line 389, in main
e = DoxyStruct.from_compounddef(n0)
File "/build/geany-1.37.1-1+20210903gitb7bd5fa/doc/../scripts/gen-api-gtkdoc.py", line 321, in from_compounddef
e.add_member(p)
File "/build/geany-1.37.1-1+20210903gitb7bd5fa/doc/../scripts/gen-api-gtkdoc.py", line 233, in add_member
proc.process_element(xml.find("detaileddescription"))
File "/build/geany-1.37.1-1+20210903gitb7bd5fa/doc/../scripts/gen-api-gtkdoc.py", line 136, in process_element
s = self.__process_element(xml)
File "/build/geany-1.37.1-1+20210903gitb7bd5fa/doc/../scripts/gen-api-gtkdoc.py", line 163, in __process_element
s += self.__process_element(n) + "\n"
File "/build/geany-1.37.1-1+20210903gitb7bd5fa/doc/../scripts/gen-api-gtkdoc.py", line 167, in __process_element
ss = self.at.cb(n.get("kind"), self.__process_element(n))
File "/build/geany-1.37.1-1+20210903gitb7bd5fa/doc/../scripts/gen-api-gtkdoc.py", line 163, in __process_element
s += self.__process_element(n) + "\n"
File "/build/geany-1.37.1-1+20210903gitb7bd5fa/doc/../scripts/gen-api-gtkdoc.py", line 170, in __process_element
s += self.get_program_listing(n)
File "/build/geany-1.37.1-1+20210903gitb7bd5fa/doc/../scripts/gen-api-gtkdoc.py", line 126, in get_program_listing
arr.append(" " + tostring(etree.HTML(html), method="text").decode("utf-8"))
File "src/lxml/etree.pyx", line 3437, in lxml.etree.tostring
File "src/lxml/serializer.pxi", line 103, in lxml.etree._tostring
File "src/lxml/serializer.pxi", line 75, in lxml.etree._textToString
UnicodeEncodeError: 'ascii' codec can't encode character '\xe1' in position 130970: ordinal not in range(128)
```
I'm not completely sure why this happens with libxml 2.9.12 (2.9.10 works fine), the XML contents which are processed here should be plain ASCII. Anyway, it might not be bad to set the encoding anyways.
To reproduce, start a Docker container with a Debian Sid image, like: `docker run --rm -it debian:sid` and within the container execute:
```bash
apt-get update && apt-get install --no-install-recommends -y git intltool libtool build-essential libgtk-3-dev python3-docutils rst2pdf doxygen python3-lxml nano
git clone https://github.com/geany/geany
cd geany
./autogen.sh
make -C doc
```
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2885
-- Commit Summary --
* Use "encoding" keyword argument for lxml's tostring()
-- File Changes --
M scripts/gen-api-gtkdoc.py (6)
-- Patch Links --
https://github.com/geany/geany/pull/2885.patchhttps://github.com/geany/geany/pull/2885.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2885
When I go to create a project after I select the desired directory and give it a project name, is says it cannot find the file or the directory name.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2895
Sometimes I deal with wrongly-formatted code files, which contain empty spaces at the row end, like in the following;
```
text here; <- (lots of empty spaces here)
```
however, when I press CTRL + DEL starting from the end of the line, the whole last word is deleted together with the empty spaces.
While this clearly makes sense when there's only one space (e.g. I'm deleting word after word in a natural language text), in my scenario it's uncomfortable, I think some additional key combination would be useful in order to delete separately groups of spaces (and groups of tabs maybe), and groups of non-empty characters.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2893