3138 Commits

Author SHA1 Message Date
Nick Treleaven
5f28284cb1 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4474 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-07 17:51:37 +00:00
Nick Treleaven
31520e4adc Only show debug message once if recursive lexer_filetype is set.
Tidy highlighting_init_styles code for filetype None handling.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4473 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-07 17:23:33 +00:00
Nick Treleaven
f133c5e144 Remove duplicate sci_set_keywords(), make argument const.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4472 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-07 14:17:40 +00:00
Nick Treleaven
6a93a7de1d Add debug message warning if recursive lexer_filetype is set.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4471 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-07 14:12:40 +00:00
Nick Treleaven
97c06cc48e Factor out function get_lexer_filetype().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4470 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-07 13:50:23 +00:00
Nick Treleaven
6bd830ec66 Highlight D & Java types from a global tags file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4469 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-07 13:24:11 +00:00
Nick Treleaven
9d804ba543 Use lexer_filetype=C configuration file key instead of duplicate
styleset functions for C++, C#, GLSL, Vala.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4468 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-03 16:22:33 +00:00
Nick Treleaven
066fb07e5a Remove now unnecessary "styling_within_preprocessor" C style key.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4467 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-03 16:08:06 +00:00
Nick Treleaven
4318e0dcd0 Move C-like filetype properties into configuration files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4466 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-03 13:43:37 +00:00
Nick Treleaven
3e6b304c77 Add/improve debug messages for custom filetypes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4464 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-02 16:38:20 +00:00
Enrico Tröger
b26e4a5002 Fix two compiler warnings about possibly uninitialised variables.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4461 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-30 22:58:57 +00:00
Enrico Tröger
2669ad3b1b Add a hidden pref to allow executing text which was sent to the terminal directly, i.e. do not strip trailing newline characters.
Also fix the stripping of trailing newline characters if there was more than one.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4456 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-29 20:59:31 +00:00
Enrico Tröger
d9e7c95531 Allow opening Geany projects remotely.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4455 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-29 19:59:13 +00:00
Enrico Tröger
bb81104fcb Add main_is_realized() to the plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4453 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-29 13:36:26 +00:00
Frank Lanitz
38b8e919b0 Set Peter Scholtens and Ayke van Laethem as maintainer of Dutch translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4450 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-27 17:10:43 +00:00
Nick Treleaven
6b6d4b882b Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4448 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-26 12:33:28 +00:00
Nick Treleaven
e47f7ef1e1 Fix lexer settings for custom filetypes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4447 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-24 16:47:35 +00:00
Nick Treleaven
2c1a9171a0 Parse VHDL signals.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4446 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-24 16:27:37 +00:00
Nick Treleaven
0ae71f0ac5 Fix setting filetype properties when both the system and the user file
have properties set.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4445 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-24 16:22:14 +00:00
Nick Treleaven
9fdfc59a42 Make stylesets take a ft_id argument so they can be reused fully with
custom filetypes, so custom styles and keywords can be set.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4444 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-24 15:47:44 +00:00
Enrico Tröger
d7d8fbabe3 Add a Help button to the preferences dialog.
Handle Help keybinding events for the preferences dialog especially and open the manual with the corresponding anchor link to the current preferences page (same goes for the new Help button).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4443 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-23 23:03:39 +00:00
Enrico Tröger
c1620cfe92 Add and use utils_get_help_url().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4442 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-23 22:59:36 +00:00
Enrico Tröger
9f444ac698 Add keybindings_check_event() to manually check GdkKeyEvents against Geany's keybindings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4441 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-23 22:25:11 +00:00
Enrico Tröger
ec9818d7fc Add new command line option "--socket-file" to be able to specify separate socket filenames for instances (closes #2896027, patch by Jörn Reder, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4440 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-23 21:03:24 +00:00
Enrico Tröger
add6d45da2 Use separate tooltips for toolbar menu buttons and their attached drop-down arrows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4436 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-22 18:25:09 +00:00
Nick Treleaven
64942f3596 Try to fix Gtk warning when using Tools->Reload Configuration.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4434 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-19 13:29:30 +00:00
Nick Treleaven
f92a31b59c Replace filetypes.xml html_asp_default_language key with
filetypes.html asp.default.language property in [lexer_properties]
group.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4433 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-18 17:07:12 +00:00
Nick Treleaven
c877db21df Use filetypes.foo [lexer_properties] group instead of hardcoding
lexer properties (more flexible e.g. for custom filetypes).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4432 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-18 16:48:17 +00:00
Enrico Tröger
8a5789814c Use the default dialog title set by ui_setup_open_button_callback() to be more consistent and to save one string.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4431 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-17 23:01:33 +00:00
Enrico Tröger
d3c731575c Improve printing status texts (patch by Dominic Hopf, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4430 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-17 22:56:46 +00:00
Enrico Tröger
4b206d5462 Refactor color and font button callback functions in the preferences dialog. Move the VTE related callback functions into vte.c.
Make use of ui_setup_open_button_callback().

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4429 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-17 21:49:43 +00:00
Enrico Tröger
a8a35a5536 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in ui_setup_open_button_callback().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4428 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-17 21:47:06 +00:00
Nick Treleaven
0a97a24b3e Fix reflow paragraph command when cursor < anchor using
sci_fix_selection().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4424 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-12 15:46:05 +00:00
Nick Treleaven
8f9336abef Fix invalid tree iter access when using tv_iters.tag_other but not
using tv_iters.tag_variable.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4416 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-10 18:37:23 +00:00
Enrico Tröger
d01a8f41d1 Only set the menu of the button if a non-empty GtkMenu is passed to geany_menu_button_action_set_menu() so the menu arrow keeps insensitive.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4414 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-09 19:13:45 +00:00
Enrico Tröger
8153aa2877 Allow autocompletion for HTML entities even within a word.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4413 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-09 19:06:30 +00:00
Enrico Tröger
03f92c92f5 Remove useless comment about applying settings only when libvte.so could be loaded which is only displayed *if* libvte.so is loaded.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4412 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-09 18:47:39 +00:00
Enrico Tröger
1c3dbff328 Remove old code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4405 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-05 21:16:40 +00:00
Nick Treleaven
dd1bb7c278 Fix moving correct lines after selecting whole line(s).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4404 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-05 18:11:10 +00:00
Nick Treleaven
67d868be14 Use default color scheme if pref color scheme file doesn't exist.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4403 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-05 18:03:34 +00:00
Nick Treleaven
4efb79f35d Show number of files saved on status bar when using Save All.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4402 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-05 18:02:08 +00:00
Nick Treleaven
48cd3cbc12 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
instead.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4401 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-05 16:17:11 +00:00
Nick Treleaven
cf540a712f Deprecate documents_foreach() as it looks more like a function; use
foreach_document() instead.
Generate dox even for GEANY_DISABLE_DEPRECATED declarations.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4399 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-04 15:28:38 +00:00
Nick Treleaven
9a649260c5 Only reload filetype files when changing color scheme, not all
configuration files.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4398 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-04 15:06:56 +00:00
Nick Treleaven
1748976317 Fix issue with default color not being reset if overridden with a
system default color.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4397 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-04 14:59:16 +00:00
Nick Treleaven
dfd1ea1782 Add utils_get_config_files().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4396 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-04 14:47:07 +00:00
Nick Treleaven
01b408c09b Add 'View->Editor->Color Schemes' menu, for now only shown if color
scheme files exist in a colorschemes config directory. Color scheme
files must end in ".conf" and currently only the [named_styles]
section is read.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4395 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-04 12:36:56 +00:00
Nick Treleaven
e270ab749f Use typedef instead of pointer for widget_id function arguments.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4393 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-30 14:09:46 +00:00
Nick Treleaven
3467a49d6c Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
dialog.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4390 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-29 12:34:53 +00:00
Nick Treleaven
17a336aa7c Allow GeanyKeyBinding label field to contain underscores, which won't
be displayed by Geany. This saves adding near-duplicate translation
strings.
Add mnemonics for 3 Edit->Format menu items.
Add keybindings_get_label().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4389 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-29 11:59:55 +00:00