I've wasted my whole morning on this problem. My compiler window uses red text for errors which is unreadable on my dark-gray background. [According to this, I may be able to put lines in my theme files to change these colors](https://github.com/geany/geany/pull/1381/commits/7306501cdbb96eb047… I tried using this method, but nothing changed. [According to this, I can put lines in a geany.css file in .config or in geany.gtkrc](https://github.com/geany/geany/pull/1381/commits/33a8cc906caf6… I tried both of these methods and both gave the same result. The font color is still red. Please help me, I'm color blind and the red font is completely unreadable on anything other than a white background. I need to change the compiler colors from blue and red to gray and yellow for example. I'm using Geany 1.31 with GTK 2.24.31 on Ubuntu 17.10.
--
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/1737
```
../../src/build.c: In function ‘build_load_menu_grp’:
../../src/build.c:2271:19: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
sprintf(cmdbuf, "%02u", cmd);
^~~~~~
In file included from /usr/include/stdio.h:862:0,
from ../../src/tagmanager/tm_source_file.h:13,
from ../../src/tagmanager/tm_tag.h:32,
from ../../src/app.h:31,
from ../../src/build.c:35:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: ‘__builtin___sprintf_chk’ output between 3 and 4 bytes into a destination of size 3
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
I believe this to be a false positive as the affected code is explicitly guarded to prevent said overflow. The new warning is [described a bit here](https://gcc.gnu.org/gcc-7/changes.html).
Making the buffer one byte larger works around the warning.
My version: gcc (Ubuntu 7.2.0-8ubuntu3) 7.2.0
--
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/1683
Noticed with GCC 7 using `-Wall -Wextra -Wno-unused-parameter` warning options.
There's still a warning in `scintilla/src/Editor.cxx:205` but I left that for upstream to fix.
For some reason the warning mentioned in Issue #1683 doesn't occur anymore here, so I didn't fix it.
It would be great if someone could double-check the switch case fall-through changes to ensure I didn't actually mask real bugs, and that the bug I fixed in `keybindings.c` was actually correct.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1725
-- Commit Summary --
* Fix pointer and character constant comparison
* Fix comparison between signed and unsigned integers
* Fix missing initializer for field warnings
* Fix missing initializer for field warnings in parsers
* Adjust 'fall through' comments to be recognized by GCC
* Add more 'fall through' comments for switch cases
* Remove some unused variables
* Fix comparison between signed and unsigned integers
* Add 'fall through' comments and fix actual bug
-- File Changes --
M ctags/main/parse.c (4)
M ctags/main/xtag.c (10)
M ctags/parsers/actionscript.c (20)
M ctags/parsers/cobol.c (12)
M ctags/parsers/fortran.c (4)
M ctags/parsers/html.c (10)
M ctags/parsers/perl.c (2)
M ctags/parsers/r.c (1)
M src/editor.c (7)
M src/encodings.c (4)
M src/highlighting.c (3)
M src/keybindings.c (2)
M src/search.c (1)
M src/tools.c (1)
-- Patch Links --
https://github.com/geany/geany/pull/1725.patchhttps://github.com/geany/geany/pull/1725.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/1725
This also enables the popup menu in the terminal widget, so I get two popup menus.
![grafik](https://user-images.githubusercontent.com/564520/34869576-9f6e2f5a-f787-11e7-9940-0cf02858523a.png)
--
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/commit/1f71ccd40ac4e6754d7609bec7f81773fa181…
OS: Xubuntu 16.04
Geany version: geany 1.32 (built on Dec 24 2017 with GTK 2.24.30, GLib 2.48.2)
Crash output:
The program 'geany' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 51873 error_code 3 request_code 18 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
How to reproduce.
1. Open any big text file. You can make one with the following bash script:
`for i in {1..1000000}; do echo 1234567890 >> big.txt; done`
2. Copy content of this file to clipboard (ctrl+a, ctrl+c).
3. Create a new file. Do not paste copied data.
4. Open save dialog (ctrl+s).
5. Start typing name (you can hold 1) or select target file several times (for me it always crashes before I select files 10 times). Geany crashes.
I built geany from github with `CFLAGS=-g` and tried to debug it with gdb. `bt` did not show anything.
I will give additional info if you need it.
--
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/1736
If the item "Context Action" is selected from the context menu then nothing happens if no action is configured for the current filetype.
It would be more user friendly if a little message window pops up, pointing to the corresponding section in the geany manual.
--
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/1641