3502 Commits

Author SHA1 Message Date
Enrico Tröger
ba94d0ce6f Rename win32_show_file_dialog() to win32_show_document_open_dialog() as it is specialised for opening documents.
Implement win32_show_file_dialog() as a generic file open dialog and use it with ui_path_box_new().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4505 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 21:49:23 +00:00
Enrico Tröger
b7b4de41f4 Rename win32_show_project_folder_dialog() to win32_show_folder_dialog() as it is not related and not used by any project management related code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4504 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 21:03:28 +00:00
Enrico Tröger
baccf0391e Set the correct parent window for the toolbar editor dialog (closes #2913334).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4503 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 20:49:28 +00:00
Frank Lanitz
c0a243c43d Remove LaTeX tags from SVN. Can be found at http://download.geany.org/contrib/tags/ if needed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4502 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 20:46:29 +00:00
Enrico Tröger
554ccd4f60 Mark the document only as changed if it is not closed afterwards.
Prevent possible segfaults if the document was closed when it is missing from the filesystem.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4501 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 20:29:45 +00:00
Enrico Tröger
6fdf1cdfb2 Add preferences for hiding single tabs from the messages window (no GUI preferences yet, still to be implemented).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4500 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 20:07:52 +00:00
Enrico Tröger
93f66de4e2 Add MessageWindow::scribble and use it instead of searching the widget pointer everytime.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4499 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 20:07:04 +00:00
Enrico Tröger
16f67dc702 When closing a document after it was deleted from the filesystem, don't ask whether it should be saved first.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4498 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 15:50:53 +00:00
Enrico Tröger
366ebbe90f Fix LaTeX environment auto completion with CR/LF line endings.
Add some sanity checks.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4496 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 15:38:14 +00:00
Enrico Tröger
0be8ea8b8c Make dialogs_show_prompt() more flexible to take up to three button/response code pairs to be shown.
Add a close button to the dialog when asking to Re-Save a deleted file (closes #2916954, based on a patch by Dominik Stadler, thanks).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4495 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 15:37:40 +00:00
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