3129 Commits

Author SHA1 Message Date
Enrico Tröger
54d1b3ae7e Rename fold_symbol_click() to editor_toggle_fold().
Use editor_toggle_fold() when the 'Toggle current fold' keybinding was used to respect the 'Fold/unfold all children' preference (closes #2935053).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4542 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-24 16:30:29 +00:00
Enrico Tröger
93c3028d3a Replace the old icons with smiley icons from the Rodent icon theme.
Fix showing the same icon for two or more slots.
Minor cleanups.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4541 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-24 16:18:11 +00:00
Enrico Tröger
d461084743 Add new special template wildcard "{command:...}" to use the output of a command in templates.
Adjust template functions to mostly work with GeanyDocuments.
Minor cleanups in the template code.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4539 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-24 14:52:46 +00:00
Enrico Tröger
fa49065678 Add utils_copy_environment() and make use of it.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4538 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-24 14:18:00 +00:00
Nick Treleaven
56eb9267bb Fix GLib warning & beep if trying to insert multiline comment for a
filetype that doesn't support it.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4537 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-22 16:41:04 +00:00
Nick Treleaven
686b375954 Prevent possible segfault in get_build_group().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4536 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-22 16:23:12 +00:00
Nick Treleaven
cfa2b8b532 Show 'Replaced X matches in Y documents' message when using Replace in
Session.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4533 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-18 17:05:13 +00:00
Nick Treleaven
920f5a55b8 Add gcc commands to build a plugin to the HowTo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4531 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-18 16:55:49 +00:00
Enrico Tröger
b0510e97f7 Remove po/LINGUAS from the repository.
Generate it automatically if needed by reading available message catalogs from the po directory.
Also respect the LINGUAS environment variable properly.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4529 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-17 18:37:34 +00:00
Enrico Tröger
cc19e09d83 Add new signal: "geany-startup-complete" which is sent once all initialization and startup tasks has been done.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4527 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-17 15:17:30 +00:00
Enrico Tröger
9f8d16340f Add a little test program which can load and test Geany plugins to verify it is loadable at runtime and all necessary symbols are defined.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4526 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-17 14:52:28 +00:00
Frank Lanitz
aecf1d05d3 Remove automatic environment closing functions for LaTeX. Will be done by geanyLaTeX plugin in future
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4524 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-16 19:39:23 +00:00
Enrico Tröger
6165ef9203 Refactor templates_replace_all() into templates_replace_valist() to save some code duplication.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4522 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-12 21:10:46 +00:00
Frank Lanitz
383841ce01 Add editor_insert_text_block() to plugin API
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4521 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-12 18:44:38 +00:00
Enrico Tröger
de50230c68 Add keybinding to open the last closed tab (closes #2912692).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4519 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-01 23:20:21 +00:00
Enrico Tröger
7ba4a81181 Update copyright information.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4518 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-01 22:55:18 +00:00
Enrico Tröger
1090159b54 Add a checkbox in the preferences dialog to explicitly toggle the visibility of the sidebar (closes #2923340).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4517 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-31 15:48:39 +00:00
Enrico Tröger
4021505786 Add sci_find_text() to the plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4516 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-31 15:47:56 +00:00
Enrico Tröger
c07d448d30 Rename configure.in to configure.ac.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4515 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-31 15:47:25 +00:00
Enrico Tröger
d0cc72132d Remember the window position of the Find, Replace and Find in Files dialogs (closes #2877988).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4514 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-29 18:45:49 +00:00
Enrico Tröger
9f9ceb1953 Add new style to change foreground and background colours for calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4513 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-29 18:45:21 +00:00
Enrico Tröger
ce22ffc61e Show the Find/Goto dialogs if the corresponding toolbar buttons are clicked but their text fields are not part of the toolbar (#2920807).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4512 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-29 18:40:55 +00:00
Enrico Tröger
6505997e2d Add the default comment character sequence for reStructuredText.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4511 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-29 18:40:39 +00:00
Enrico Tröger
0745fa1144 Rewrite and extend the Python tags parsing script to use Python's inspect module to read symbols from Python modules including scope information.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4510 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-29 18:37:47 +00:00
Enrico Tröger
87a2c53dc7 Fix sensitivity of the Edit->Plugin Preferences menu item if plugins are loaded which do not provide a configuration dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4509 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-29 18:35:30 +00:00
Enrico Tröger
09afb37dad Add editor_get_eol_char_name(), editor_get_eol_char_len() and editor_get_eol_char() to the plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4508 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-29 18:23:54 +00:00
Frank Lanitz
3aead1e225 Fix a minor typo inside plugin API reference.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4507 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-26 14:13:35 +00:00
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