2098 Commits

Author SHA1 Message Date
Nick Treleaven
1096ec427c Fix mixed indentation (prevents vcdiff.c being detected as T/S).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3096 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-15 12:24:48 +00:00
Nick Treleaven
e72e7c337a Fix showing desensitive widgets if no documents are open when a
plugin is first loaded.
Remove plugins_update_document_sensitive().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3095 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-15 12:19:24 +00:00
Nick Treleaven
65768ef184 Show the tools menu separator if there are any items below it.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3094 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-15 11:59:32 +00:00
Nick Treleaven
bffb8b7c66 Fix having a small gap before plugin toolbar items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3093 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-14 17:47:26 +00:00
Frank Lanitz
0a0f9e2030 Update of name of Korean translator
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3091 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-14 17:38:48 +00:00
Nick Treleaven
5ee9b5cf14 Generate API documentation for deprecated symbols.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3090 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-14 17:32:38 +00:00
Nick Treleaven
51d28d688d Use ui_add_document_sensitive().
Use PLUGIN_VERSION_CHECK(GEANY_API_VERSION) for internal plugins,
except the Demo plugin (as an example).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3085 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-14 17:03:44 +00:00
Nick Treleaven
c343d904b2 Add ui_add_document_sensitive() to the plugin API.
Deprecate plugin_fields, PluginFlags - use
ui_add_document_sensitive() instead.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3084 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-14 14:49:41 +00:00
Frank Lanitz
ecdfa9695d Added Korean translation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3082 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-13 22:17:35 +00:00
Nick Treleaven
c64f034284 Refactor dialogs_show_unsaved_file() with run_unsaved_dialog().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3078 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-13 16:00:53 +00:00
Nick Treleaven
8eab24c159 Use geany_debug() instead of g_warning() when a plugin has
unresolved symbols.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3077 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-13 15:52:32 +00:00
Nick Treleaven
6133c0b5d6 Tidy up plugin cleanup code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3076 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-13 15:40:12 +00:00
Nick Treleaven
567d0634b7 Fix gcc warning, wrap line.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3075 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-13 15:26:41 +00:00
Nick Treleaven
d8d727752e - API changes:
Replace p_ui->get_toolbar_insert_position() with
p_plugin->add_toolbar_item(), which also adds a separator when the
first item is added.
Add 'GeanyPlugin *geany_plugin' plugin symbol, partly to replace
plugin_info (now deprecated), mainly to identify a plugin and hold
private implementation fields for plugin utility functions.
(plugin_info will be removed after the 0.15 release.)
- Code changes:
Add ui_auto_separator_add_ref() to hide separator-like widgets when
their visible group elements are hidden or destroyed.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3074 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-13 12:38:32 +00:00
Enrico Tröger
be3849e33a Upate of the CSS parser to detect also ID and Type selectors (patch by Bronisław Białek, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3073 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-12 17:52:22 +00:00
Enrico Tröger
5b772ef629 InstantSave: when opening new files from template, use the template's filetype, otherwise fall back to configured default filetype.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3072 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-12 17:51:56 +00:00
Enrico Tröger
ca464c2c8b Fix regression: clear all styles for filetype None to not break the 'invert_all' option.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3071 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-12 17:51:38 +00:00
Frank Lanitz
c56653aac9 Change of a typo in singular form of some status messages.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3068 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-12 13:07:56 +00:00
Enrico Tröger
6cc90b4454 Make a some labels in the File Properties dialog selectable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3066 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-10 16:43:40 +00:00
Enrico Tröger
cb1de8b8cf Reorder Help menu items (swap 'Keyboard Shortcuts' and 'Website').
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3065 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-10 16:43:15 +00:00
Enrico Tröger
656b466df0 Fix Ctrl-click on a word when Numpad is enabled.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3063 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-10 15:18:36 +00:00
Nick Treleaven
76708ae327 Fix only updating filename label after saving the relevant document.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3059 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-08 11:38:40 +00:00
Enrico Tröger
42593cedc6 Add missing 'mandatory' attribute for the GTK check.
Change build directory to '_build_'.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3058 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 18:52:26 +00:00
Enrico Tröger
45e4b0bb89 Fix wrong cursor positioning while line breaking when the last character on the line was a space.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3057 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 18:52:09 +00:00
Enrico Tröger
9aa5ba41c7 Plug some memory leaks due to some missing g_object_unref's.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3056 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 18:51:50 +00:00
Nick Treleaven
c430b7e57a Add filename label.
Fix Gtk warning when resplitting.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3055 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 17:31:17 +00:00
Nick Treleaven
8c2a6ed157 Refactor with set_editor().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3054 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 17:12:33 +00:00
Nick Treleaven
73c73a6bcf Fix segfault when clicking on split window after the original
document has been closed and the view has been refreshed to another
document.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3053 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 15:19:37 +00:00
Nick Treleaven
c47a0d8ab2 Use EditWindow structure instead of separate global variables.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3052 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 14:50:54 +00:00
Nick Treleaven
ddf488dcb5 Fix segfault when holding Alt and scrolling editor window.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3051 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 12:14:57 +00:00
Nick Treleaven
7d3adcea45 Add toolbar with Refresh button to sync to the current document, and
an Unsplit button (reuses existing string).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3049 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 12:00:29 +00:00
Enrico Tröger
bed14c6353 Use g_strerror() instead of strerror().
Remove build system checks for strerror().

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3047 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-06 18:37:10 +00:00
Enrico Tröger
e13eb4148b Update waf to its latest SVN version (nearly 1.5.0).
Adjust wscript to latest Waf API changes.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3046 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-06 18:36:36 +00:00
Enrico Tröger
4ec8d37075 Enable interactive search for the keybindings tree view in the prefs dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3045 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-06 18:36:08 +00:00
Nick Treleaven
ff85d28238 Fix wrong editor scrollbar mouse cursor and broken middle-click
paste after splitting or unsplitting (fixes #2142186).
Note: this is a workaround for an issue with Scintilla where the
widget (or its parents) can't be removed or reparented to a
non-visible widget.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3044 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-06 16:13:35 +00:00
Frank Lanitz
3e6db63170 Extend LaTeX tag list with a couple of commands from moderncv package.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3041 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-02 22:41:15 +00:00
Enrico Tröger
43f4a13ae7 Remove more bashisms and avoid using 'which' which is not LSB-compliant.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3039 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-02 16:10:45 +00:00
Enrico Tröger
737c7a6d76 Add an option to store the project file of new projects inside the project base directory.
Doc: Add descriptions for the Search tab in the preferences dialog.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3037 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-02 15:09:33 +00:00
Enrico Tröger
75d46bff7e Merge InstantSave, AutoSave and BackupCopy plugins into the plugin 'Save Actions'.
Add a section for documentation of internal plugins in the documentation.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3035 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-02 13:37:35 +00:00
Nick Treleaven
75f2386eeb Remove unused argument ft_id from styleset_common().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3031 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-01 17:26:15 +00:00
Nick Treleaven
604a981482 Fix using common styleset for filetype None.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3030 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-01 17:17:33 +00:00
Nick Treleaven
6d4068f7b3 Reformat HACKING as true reStructuredText.
Add 'make hacking-doc' target to generate hacking.html.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3029 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-01 16:47:25 +00:00
Enrico Tröger
9b05011c20 Remove inexact and unnecessary warning if a Run command has failed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3026 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-30 20:30:38 +00:00
Enrico Tröger
040e4391c7 Update the window title also when creating new projects.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3025 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-30 20:29:27 +00:00
Enrico Tröger
2b1e1d6bf0 Fix a few memleaks.
Handle errors when creation of the project base directory fails.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3024 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-30 20:28:18 +00:00
Enrico Tröger
d60ae9bbf1 Fix syntax highlighting for filetype R, synchronise the colours with those other filetypes.
Add two more keyword types and add many many more keywords.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3023 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-29 18:10:42 +00:00
Enrico Tröger
bb8ffda3f4 When generating documentation, first try rst2html.py as it is the upstream default.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3022 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-29 18:09:43 +00:00
Nick Treleaven
0117b3e5b2 Apply patch from Jason Oster to auto-update the line margin width as
lines are added (thanks; #2129157).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3021 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-29 12:44:31 +00:00
Nick Treleaven
9b6e4c02a2 Remove use of non-greedy matching in error_regex - this doesn't seem
to be supported by common versions of glibc (thanks to AC for
reporting).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3020 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-29 12:13:45 +00:00
Enrico Tröger
7ba3f99488 Don't use hard-coded stylebits values for different lexers, query the correct value from Scintilla and use it (this fixes a display problem with Perl code like 'sub test()').
Add missing styles for filetype Perl.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3019 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-28 18:07:08 +00:00