Nick Treleaven
83b9594495
Merge Plugin and GeanyPluginPrivate structs.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4108 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-18 15:57:50 +00:00
Nick Treleaven
9f761518e1
Fix using 'Insert date' keybinding when a custom date string has
...
not been set.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4107 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-18 14:26:36 +00:00
Nick Treleaven
7f00f825a5
Share GtkAccelGroup for main menu and popup menu.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4106 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-18 14:23:49 +00:00
Nick Treleaven
b5e8d97a71
Fix updating main menu accelerators after changing keybindings
...
(thanks to Lex Trotman).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4105 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-18 13:57:07 +00:00
Nick Treleaven
0071bcf164
Fix 'Open Selected File' for unsaved new documents.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4104 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-18 13:47:29 +00:00
Enrico Tröger
2403d3ade8
Fix non-working Home and End keys on numpads.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4103 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-17 22:04:13 +00:00
Lex Trotman
081e9e768f
Merged trunk to build-system
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4101 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-17 04:27:07 +00:00
Enrico Tröger
336f46eec9
Post-release version bump.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4100 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-16 21:49:09 +00:00
Enrico Tröger
bd0f98f3f5
Fix opening of local files in the browser on Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4098 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-16 17:27:01 +00:00
Enrico Tröger
eb7b78387f
Add missing include path to fix 'make distcheck'.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4095 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-16 16:42:23 +00:00
Enrico Tröger
ecb76f914c
Add a translation hint to an ambiguous format string.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4093 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-16 16:20:41 +00:00
Enrico Tröger
285a7670c8
Add missing 'coding' cookie to the Python filetype template.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4088 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-15 17:33:20 +00:00
Enrico Tröger
2f40458fdb
Temporarily disable reshowing calltips when the autocompletion list was closed implicitly by not choosing an item to fix problems with wrongly displayed calltips.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4087 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-15 17:21:30 +00:00
Nick Treleaven
4c55a5506b
Rename new_style_array -> new_styleset.
...
Rename styleset_free -> free_styleset.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/custom-filetypes@4081 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-14 11:13:22 +00:00
Nick Treleaven
352254b0ba
Fix setting wordchars for custom filetypes.
...
Use style_sets array for custom filetypes too.
Replace styleset_none() with styleset_default().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/custom-filetypes@4080 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-14 11:05:47 +00:00
Frank Lanitz
45dc8f6390
Fix a minor typo on --help call
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4074 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-12 18:53:35 +00:00
Nick Treleaven
858a97e90a
Prevent adding entries for both system and user custom filetype
...
files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/custom-filetypes@4072 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-12 15:12:50 +00:00
Nick Treleaven
1665bc61bc
Change custom filetype filename format to filetypes.Foo.conf for
...
consistency with built-in filetype files.
Fix loading custom filetype settings (e.g. default extension).
Add note about using GeanyFiletype pointer instead of filetype_id
for function arguments.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/custom-filetypes@4071 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-12 14:47:44 +00:00
Nick Treleaven
2bb49a38c8
Support adding custom filetype files e.g. filetype.Foo.conf. (Only
...
tested with empty file so far).
Allow GeanyFiletype::extension to be NULL.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/custom-filetypes@4070 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-12 11:19:54 +00:00
Nick Treleaven
9c0ced05d2
Call get_keyfile_wordchars() in highlighting_init_styles().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4067 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-11 14:18:44 +00:00
Nick Treleaven
e0575d3409
Fix using tabs only for alignment.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4066 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-11 13:22:42 +00:00
Enrico Tröger
b25980ba8d
Small corrections to some API docs.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4063 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-09 20:31:03 +00:00
Enrico Tröger
c0c44bea49
Switching notebook tabs now works for the currently used notebook widget instead of always using the documents notebook.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4062 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-09 11:17:00 +00:00
Enrico Tröger
b1309fc6ce
Expand system environment variables (%variableName%) on Windows when running Build commands.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4050 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-02 13:33:39 +00:00
Nick Treleaven
6f312b2d19
Add filetype_make_title() instead of using:
...
ft->title = g_strdup_printf(_("%s source file"), ft->name);
It also supports "%s file" strings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4048 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-30 12:38:10 +00:00
Nick Treleaven
0ad10ecfe3
Fix disconnecting plugin signal id when not using geany_object.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4047 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-30 11:56:25 +00:00
Nick Treleaven
5e55af41fc
Add Markdown filetype (patch by Jon Strait, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4046 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-30 11:29:53 +00:00
Nick Treleaven
b1eb01bc0b
Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
...
future using an indent block is more useful e.g. for ChangeLog
files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4044 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-30 10:52:04 +00:00
Lex Trotman
8a4b302d7f
Make build API symbols prefixed GEANY_
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4043 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-30 02:04:08 +00:00
Nick Treleaven
6bd343b21d
Rename 3 sci functions to sci_set_target_start(),
...
sci_set_target_end(), sci_replace_target() to match the SCI_
message name.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4042 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-29 17:54:48 +00:00
Nick Treleaven
69922305e0
Add plugin_signal_connect() for connecting plugin signals at
...
runtime and also for connecting to any GObject signal.
Add 'Plugin Utility Functions' on main page.
Add foreach_array() macro.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4041 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-29 17:40:20 +00:00
Lex Trotman
cdd5240978
Remove unused project structure fields and erroneous usage
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4040 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-29 02:28:26 +00:00
Nick Treleaven
eb1dd10e1d
Fix reshowing calltip in the wrong document.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4038 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-28 14:29:34 +00:00
Nick Treleaven
9280feabf8
Minor edits to doc comments.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4037 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-28 12:13:45 +00:00
Nick Treleaven
18240ed397
Fix gcc 'warning: comparison between signed and unsigned'.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4036 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-28 11:44:21 +00:00
Nick Treleaven
56fca1b417
Move plugin_* utility functions to pluginutils.c.
...
Add pluginprivate.h.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4035 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-28 11:35:33 +00:00
Lex Trotman
2cfa55eb0c
Remove unused project_get_make_dir function
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4034 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-28 02:03:08 +00:00
Lex Trotman
6108436176
Fix warnings, build API and execute toolbutton
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4033 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-28 01:38:41 +00:00
Frank Lanitz
913c8ca806
Add Slovenian translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4031 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-27 19:33:09 +00:00
Nick Treleaven
e3b1c92aa8
Fix some gcc warnings with '-Wall -W -ansi' enabled.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4030 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-27 16:37:23 +00:00
Nick Treleaven
c68bb5a368
Explain parameters for keybindings_set_item().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4028 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-27 11:06:50 +00:00
Lex Trotman
2f207ca919
Fixed crashes and warnings in project open and close
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4026 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-25 05:24:48 +00:00
Nick Treleaven
aa89783b74
Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
...
Heavily based on a patch by Eugene Arshinov (thanks).
Add sci_lines_split(), sci_lines_join(), sci_text_width(),
editor_strip_line_trailing_spaces().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4025 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-24 15:44:14 +00:00
Nick Treleaven
88ae507faf
Use full styleset_foo[_init] function name as argument to
...
init_styleset_case() and styleset_case() macros so it's easier to
understand the code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4024 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-24 14:31:43 +00:00
Lex Trotman
525abca091
Fix build warnings
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4023 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-24 11:00:24 +00:00
Enrico Tröger
8295be5367
Reshow calltips also when the autocompletion list was closed implicitly by not choosing an item.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4022 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-24 10:40:48 +00:00
Enrico Tröger
d639b8b4ed
Attempt to fix reshowing calltips after the autocompletion list has been shown.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4021 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-24 09:59:23 +00:00
Lex Trotman
28d96a3909
Merge with trunk
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4020 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-24 00:59:12 +00:00
Nick Treleaven
c27eb4a19f
Add dox note for documents_array about using documents_foreach() macro.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4018 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-23 17:30:50 +00:00
Nick Treleaven
4a61fd4620
Fix GLib warning when pressing a key with no documents open.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4017 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-23 17:11:31 +00:00