Colomban Wendling
2ed1d6d8bb
Do not apply color scheme upon color scheme selection dialog display
...
Current color scheme was applied upon color scheme selection dialog
display because the GtkTreeView::cursor-changed signal is emitted when
the tree view is initially shown (since it actually gets the focus for
the first time), uselessly re-applying the current color scheme.
This is a performance issue because when many documents are open
updating the color scheme can take a few seconds.
Now we watch for the GtkTreeSelection::changed signal on the tree
view's selection, which is only emitted when the selected item actually
changes. We also connect to that signal after filling the tree so we
don't get notified on the initial selection setup.
2012-05-27 20:25:19 +02:00
Nick Treleaven
ffd3d739db
Fix a missing tag on global tags merge (oops)
2012-05-27 17:20:34 +01:00
Colomban Wendling
915bb5989e
Update NEWS to reflect current status
2012-05-27 01:14:25 +02:00
Colomban Wendling
262b48b52c
Add a separator after the Color Schemes menu item
2012-05-27 01:14:25 +02:00
Colomban Wendling
e87f393192
Create color scheme menu item with Glade
...
Now there is a dialog instead of a menu for selecting the color
schemes, the item under View->Editor can be created with Glade like the
rest of the menu.
2012-05-27 01:14:25 +02:00
Frank Lanitz
ac27a658d2
Adding a missing space inside German translation
2012-05-26 08:38:50 +02:00
Frank Lanitz
23ed551144
Update of Lithuanian translation provided by Algimantas Margevičius
2012-05-26 08:38:50 +02:00
Colomban Wendling
cf3139de03
Use the same pointer type for all pointers in tm_tags_merge()
...
This prevents GCC from complaining about implicit casts and comparisons
between different pointer types. It also makes the code a little less
bound at dealing with TMTags.
2012-05-25 19:47:10 +02:00
Colomban Wendling
2f94aa373e
Fix incomplete copy in tm_tags_merge() that lead to crashes
2012-05-25 19:44:17 +02:00
Frank Lanitz
c7fa1fd9e2
Updated Italian translation provided by Giuseppe Penone
2012-05-16 09:48:39 +02:00
Frank Lanitz
ef59393e82
Update of Swedish translation by Tony Mattsson
2012-05-16 09:43:45 +02:00
Frank Lanitz
e5f7f7735f
Update of Slovakian translation
2012-05-16 09:31:51 +02:00
Frank Lanitz
3bdc8de2c4
Added Tomáš Vadina as Slovakian translator
2012-05-16 09:30:32 +02:00
Colomban Wendling
c04fd65a8f
Add support for user-defined labels for custom commands
...
This allows the user to define a label to be displayed in the menu in
place of the command to be run. This can be very useful if e.g. a
custom command is too complex to be easily read in the menu, or if two
custom commands are so similar could be confounded.
2012-05-14 22:22:29 +02:00
Frank Lanitz
11c3c91525
Fixed a wrong reference to utils_open_browser()
2012-05-06 08:14:19 +02:00
Enrico Tröger
9a80935835
Use the same Python interpreter for the genapi.py script as for the Waf script
...
This ensures we call the genapi.py script with the same Python interpreter as the Waf
build system was called. This is relevant if the used interpreter is not 'python' but e.g.
python2 or python2.6 or whatever.
2012-05-04 23:13:36 +02:00
Enrico Tröger
3d1c7e3f57
PEP8 fixes
2012-05-04 23:11:40 +02:00
Enrico Tröger
af70c1dbcb
Make the script Python3 compatible
2012-05-04 23:10:43 +02:00
Frank Lanitz
1588a67570
Update of Italian translation by Giuseppe Penone
2012-05-03 18:18:10 +02:00
Frank Lanitz
249f9bc285
Update of Italian translation by Giuseppe Penone
2012-04-28 08:51:26 +02:00
Nick Treleaven
33e1a81b4a
Ignore D 'static if' tests
...
This prevents the parser getting confused.
2012-04-26 13:50:39 +01:00
Nick Treleaven
3f7b888b32
Avoid unnecessary hash table for global tag filenames
2012-04-26 13:18:05 +01:00
Nick Treleaven
6e46a7bd3d
Fix existing leak when a matching ignore.tags item is parsed
2012-04-25 16:13:56 +01:00
Nick Treleaven
a56373cabd
Support PREFIX* in ignore.tags
2012-04-25 15:54:56 +01:00
Nick Treleaven
000bd8547c
Use g_str_has_prefix to prevent invalid memory reads in find_shebang()
2012-04-25 15:47:49 +01:00
Nick Treleaven
7c545a3094
Delete temporary error file
2012-04-25 13:48:33 +01:00
Colomban Wendling
6edb38b54a
Rewrite shebang interpreter matching a little
...
Use a generic match code and an array of the mappings for easier code
maintenance.
2012-04-24 21:57:08 +02:00
Nick Treleaven
4f87e31478
Show tag preprocessing errors on stderr
2012-04-24 17:35:31 +01:00
Nick Treleaven
c17d128bcd
Add current dir to include path for tag preprocessing
2012-04-24 17:19:40 +01:00
Nick Treleaven
003185f897
Grep isn't required for tag file generation; remove replacing c99.tags
...
This removes 'Replacing the default C/C++ tags file' - we should
not encourage users to do this as it's unnecessary and error-prone
when updating Geany.
2012-04-24 16:41:18 +01:00
Nick Treleaven
3275d510d8
Remove unportable pipe-to-grep tag generation hack
...
Instead always ignore G_BEGIN_DECLS and G_END_DECLS tags.
2012-04-23 16:58:55 +01:00
Nick Treleaven
1a9451bfc4
Fix NULL tags array warning in document_highlight_tags
2012-04-23 16:17:40 +01:00
Nick Treleaven
d2d4f0b623
Enforce filetype extension for user tag files
2012-04-23 13:44:22 +01:00
Nick Treleaven
24359942bf
Show selected line count on status bar when whole lines are selected
2012-04-22 17:32:53 +01:00
Lex Trotman
4bd962ee8d
Remove hard coded option that prevents 64 bit tag generation.
...
On GNU X86-64 systems the predefined macros are required
to choose the correct headers, so tag definition fails with
-undef. Removed it from hardcoded, systems that need it can
add it to CFLAGS.
2012-04-22 10:54:41 +10:00
Frank Lanitz
6b22ab908c
Adding it into THANKS for Giuliano
2012-04-21 09:14:19 +02:00
Nick Treleaven
712cdd6aa0
Merge global tags in order rather than resorting the whole array
...
This is much faster than resorting, especially when there are many
global tags files loaded.
2012-04-20 13:13:16 +01:00
Frank Lanitz
d3aed9f08b
Adding a first version of Slovakian translation provided by Tomáš Vadina
2012-04-19 17:03:28 +02:00
Nick Treleaven
06d02e29db
Indent with tabs
2012-04-18 13:29:40 +01:00
Nick Treleaven
495336ca19
Fix DocBook styling (broken in 7ebdac)
2012-04-16 12:58:44 +01:00
Nick Treleaven
ac34a19abe
Show SGML entity completion on first typing '&' again
2012-04-16 12:05:18 +01:00
Nick Treleaven
f2a93d3790
Don't autocomplete XML entities when outside of XML style range
2012-04-16 11:56:25 +01:00
Nick Treleaven
9ddeed5254
Enable entity completion for XML documents
2012-04-13 17:41:52 +01:00
Nick Treleaven
9db1247b96
Cleanup HTML entity checks and fix HTML/PHP autocompletion
2012-04-13 17:41:50 +01:00
Frank Lanitz
3ecfe90ad7
Update of Slovenian translation provided by Jože Klepec
2012-04-13 09:34:50 +02:00
Enrico Tröger
3eb8e23ecc
Code style cleanup
...
Several small fixes to be more PEP8 compliant (while not completely on purpose).
There are no functional changes.
2012-04-12 23:07:33 +02:00
Enrico Tröger
012a904e74
Define minimum GTK and Glib versions globally to be reused later
2012-04-12 23:00:39 +02:00
Enrico Tröger
0249d3e906
Don't warn about missing configure flags if configure shall be skipped
2012-04-12 22:41:47 +02:00
Nick Treleaven
9fad7aaa55
Hide autocompletion when the only entry has been typed
...
Fixes #3516212 .
2012-04-12 17:51:16 +01:00
Colomban Wendling
5f0963d470
List package dependencies only in configure.ac
...
This prevents from having to update both configure.ac and geany.pc.in
every time our dependencies (e.g. GTK version) change.
2012-04-12 18:41:53 +02:00