4581 Commits

Author SHA1 Message Date
Enrico Tröger
da6897dfc3 Update RPM Spec file (patch by Dominic Hopf, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4584 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-28 19:43:25 +00:00
Nick Treleaven
6ac1bcd3ff Fix renaming sci_send_message(), sci_send_command() function pointers.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4583 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-28 17:40:42 +00:00
Frank Lanitz
b5e3749578 Fix name entry for last translator as it wasn't frlan
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4553 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-25 19:46:32 +00:00
Nick Treleaven
9021717031 Use full function name for GeanyFunctions function pointers. This
avoids naming conflicts e.g. with C++'s 'new' keyword.
Remove deprecated header pluginmacros.h - use geanyfunctions.h instead.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4552 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-25 15:53:54 +00:00
Nick Treleaven
42ba9f41c8 Avoid some unnecessary reallocations, add comment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4551 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-25 15:45:27 +00:00
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
0fb7faca80 Describe the defined environment variables GEANY_FILETYPE, GEANY_FILENAME and GEANY_FUNCNAME.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4540 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-24 16:17: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
2e878dc91b Edit wording/section names.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4535 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-19 15:48:42 +00:00
Nick Treleaven
a81094c197 Fix some spacing.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4534 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-18 17:17:34 +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
8f3ee7d8a4 Don't use VERSION macro as the demo plugin should be able to be built independently from Geany.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4532 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-18 16:57:37 +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
7c5e08399b Remove debug code
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4530 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-17 21:55:46 +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
8c4a8ff6d0 Remove test code
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4528 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-17 15:28:19 +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
Enrico Tröger
56bb342899 Remove unused variable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4525 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-17 12:08:30 +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
Frank Lanitz
e0eabef6e1 Fix a spelling mistake on French translation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4523 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-14 09:46:54 +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
Frank Lanitz
d4f2d1dccc Correction of some minor typos inside Russian translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4520 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-03 21:41:52 +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
9b347f7c62 Future Geany Windows builds will be based on GTK 2.18.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4506 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 21:51:42 +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