3342 Commits

Author SHA1 Message Date
Enrico Tröger
d91e7b762b Add document_need_save_as().
Show the Save As also for documents created from filetype templates instead of saving them directly with the untitled filename.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4494 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 15:36:52 +00:00
Frank Lanitz
a0c35e487b Extend auto_latex() function to check whether an environment has been closed within the next lines to avoid auto adding double \end{}.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4493 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 12:03:28 +00:00
Nick Treleaven
e4d225e79a Refactor/reformat on_replace_dialog_response().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4491 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-09 17:31:56 +00:00
Nick Treleaven
759a051347 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu item
labels.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4490 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-09 17:16:54 +00:00
Nick Treleaven
b4572b878e Refactor msgwin_goto_compiler_file_line().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4489 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-09 16:57:05 +00:00
Nick Treleaven
450a98934b When going to a build error, try the current document's path if
the parsed filename doesn't exist. (This can happen when we receive
build messages in the wrong order - after the 'Leaving directory'
messages).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4488 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-09 13:28:37 +00:00
Nick Treleaven
c6e720a837 Move 'Send Selection to Terminal' menu item from Format to Commands
submenu.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4487 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-09 12:59:34 +00:00
Enrico Tröger
3cb236eeee Improve geany.spec (split the package into a binary and devel package, update BuildRequires and other minor improvements).
Patch by Dominic Hopf, thanks.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4485 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-08 20:52:42 +00:00
Nick Treleaven
f88e526476 Add custom filetype Genie.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4480 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-08 12:51:10 +00:00
Nick Treleaven
603d46398e Add custom filetype Genie.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4479 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-08 12:40:42 +00:00
Nick Treleaven
e1a392d328 Make group for custom filetypes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4478 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-08 12:35:13 +00:00
Nick Treleaven
4648a1be25 Fix using common style colours for Verilog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4476 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-07 18:10:39 +00:00
Nick Treleaven
10b817ed63 Fix segfault on startup (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4475 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-07 18:08:35 +00:00
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
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
Nick Treleaven
37605ff27a Warn about not using BOM for configuration files (confuses GKeyFile
parser, at least on my system).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4463 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-02 16:34:25 +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
Frank Lanitz
fae641f09b Update of ChangeLog. Missed by my previous commit
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4460 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-30 22:14:34 +00:00
Enrico Tröger
bfbfad47d5 Add an in-entry clear icon to the filebrowser plugin's filter entry (patch by Dominic Hopf, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4457 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-30 21:41:41 +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
4f32cbbc0e Update partly outdated and wrong doc comment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4454 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-29 13:38:45 +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
97c43a05d3 Remove duplicate regular expression for parsing classes.
Fix and improve parsing of constants (patch by Harold Aling, thanks).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4439 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-23 20:42:30 +00:00
Enrico Tröger
4132fae872 Improve parsing of sections and chapters by ignoring shortnames like \section[shortname]{label} (closes #2890477).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4437 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-22 23:51:59 +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