2886 Commits

Author SHA1 Message Date
Nick Treleaven
5bda02fd5e Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4135 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-27 14:02:56 +00:00
Nick Treleaven
b0c53b1dc6 Fix Make keybindings (patch by Lex Trotman, thanks).
Fix recent ChangeLog entries.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4134 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-27 13:50:12 +00:00
Lex Trotman
6c36e98cdf Change fix to usage of project base dir
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4133 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-27 03:49:19 +00:00
Lex Trotman
898201f0bb Fix usage of project base dir
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4132 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-27 02:07:44 +00:00
Lex Trotman
2fe9afdf47 Fix compile accelerator & load old project file
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4131 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-27 01:08:30 +00:00
Nick Treleaven
931f14d2ae Use build_ prefix for 3 functions in build.h; add a static modifier.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4130 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-26 17:25:28 +00:00
Nick Treleaven
50471cf5f4 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4129 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-26 15:32:17 +00:00
Nick Treleaven
1ec744da6c Use GEANY_PRIVATE to hide some fields from plugins.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4128 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-26 14:56:05 +00:00
Nick Treleaven
2955303eef Add section 'Plugin API/ABI design'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4127 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-26 14:46:45 +00:00
Nick Treleaven
5a6ee46699 Add warning about not using undocumented features.
Add reference to HACKING for plugin API development.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4126 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-26 14:42:25 +00:00
Enrico Tröger
43cd2946f4 Don't parse comments after import statements and other tags (closes #2838938, patch by Huandari Lopez, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4125 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-25 21:33:04 +00:00
Enrico Tröger
09b0b033ff Improve parsing of PHP functions by requiring a valid modifier or whitespace before the 'function' keyword to ignore some false positives like function tags inside comments (patch by Harold Aling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4124 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-25 21:23:14 +00:00
Nick Treleaven
43620e7ce4 Remove GeanyKeyGroup struct from the API - plugins should not set
these fields.
Make keybindings_set_item() duplicate the name and label fields
(needed by GeanyLua) and return a keybinding pointer.
Add keybindings_get_item() to the API (in case it's useful).
Move some keybinding code out of plugin source files.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4123 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-25 16:55:56 +00:00
Nick Treleaven
ff6fbff512 Add filetypes.markdown for configuration (thanks to Jon Strait).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4121 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-25 11:22:00 +00:00
Lex Trotman
f6e67b288e merge trunk to build-system before merge back
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4119 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-25 00:38:37 +00:00
Nick Treleaven
e02b7a3864 Don't generate build.h API docs until everything is approved and
functions are actually in geany_functions.
Move new GeanyFiletype and GeanyProject field(s) to end of struct
as they may be changed or made private later.
Break ABI for fields removed.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4117 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-24 12:39:13 +00:00
Nick Treleaven
770d40ab98 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
the ABI when adding fields to them.
Add plugin_set_key_group() for plugins to dynamically set a
keybinding group (e.g. for the Lua script plugin). Used in Split
Window plugin as an example.
Improve keybinding docs a little.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4115 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-24 11:35:13 +00:00
Nick Treleaven
e3076fc1c0 Set the cursor color for the split window.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4113 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-21 10:49:50 +00:00
Nick Treleaven
aa85bcec6a Add geanyfunctions.h to API docs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4112 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-20 12:16:28 +00:00
Lex Trotman
95b90f2c4a Merged trunk r4110 to build-system
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4111 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-18 23:45:32 +00:00
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
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
Nick Treleaven
6690fce2d9 Add 'Scope autocompletion' section.
Add 'Tools menu items' section to explain configuration files
submenu, reload configuration item.
Minor updates/fixes.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4102 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-17 15:07:59 +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
7be4a88949 Update for Geany 0.18.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4094 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-16 16:25:56 +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
7596f106ae Update images for Geany 0.18.
Set missing mimetypes for images.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4089 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-15 17:43:52 +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
Enrico Tröger
a3db699491 Add command '--hackingdoc' to create the HTML form of the HACKING file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4079 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-13 21:59:33 +00:00
Frank Lanitz
c492629c43 Correct a typo in ChangLog. Sorry
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4075 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-12 18:55:46 +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
Frank Lanitz
02ef1fd1aa Add Portugese translation for Portugal based on work done at launchpad
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4073 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-12 16:51:34 +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
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
f8602363f5 Add missing file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4061 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-09 10:10:23 +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