374 Commits

Author SHA1 Message Date
Enrico Tröger
46feb9df7d Fix two ambiguous encoding names for better compatibility with libiconv (closes #1986134).
Improve the regular expression for detecting encoding cookies to allow more variants (e.g. "encoding: utf-8").

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2659 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-08 12:18:20 +00:00
Enrico Tröger
7c591fbebd Change preprocessor checks for sys/time.h and remove unnecessary sys/stat.h check.
Remove useless or unused configure checks.
Install THANKS file by default.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2641 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-04 15:43:52 +00:00
Enrico Tröger
7583e5e3db Add media types for screen and print to have a clean version of the manual for printing.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2622 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-28 15:35:27 +00:00
Nick Treleaven
e00f73bc5d Note: this breaks the plugin API.
Remove plugin symbol configure().
Add plugin symbol plugin_configure() which is used to tell Geany a
widget to pack into the plugin preferences dialog, and connect a
response callback for when the dialog receives a user decision.
This allows Geany to in future implement a common preferences dialog
for all plugins, without breaking the plugin API/ABI.
Add Apply button for plugin preference dialogs (to indicate plugins
should handle the apply response as well as OK, as a multiple plugin
configuration dialog would want an apply button).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2621 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-28 13:05:09 +00:00
Nick Treleaven
df1a8e63a3 Add plugin_ prefix for plugin symbols version_check, init and
cleanup. Deprecate init and cleanup; update PLUGIN_VERSION_CHECK
macro.
Add a debug message and fail to load a plugin if it has no
plugin_version_check() function.
Check that plugin keybinding names have been set in plugin_init(),
otherwise print a debug message and ignore all of them.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2616 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-26 17:09:43 +00:00
Nick Treleaven
8c1c59eecf Deprecate PLUGIN_INFO() in favour of PLUGIN_SET_INFO().
Remove plugin symbol info(), which is replaced by plugin_set_info()
and a new symbol plugin_info. This is so the PluginInfo struct is
zero'd first by Geany, so plugins are still ABI compatible if we
want to add any more fields in the future.
Fail to load a plugin if plugin_info->name is not set.
Remove now unused string.h include from plugindata.h.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2612 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-23 17:08:58 +00:00
Nick Treleaven
f8afbf10ed Make GeanyCallback, geany_callbacks deprecated, and replace with
PluginCallback, plugin_callbacks. This is because the array is owned
by the plugin, not Geany.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2610 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-23 12:29:32 +00:00
Nick Treleaven
59934acd65 Add Main Page links to plugindata.h and pluginmacros.h.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2604 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-19 15:22:56 +00:00
Nick Treleaven
45ba1bfbac Add API documentation for pluginmacros.h.
Make Doxygen define GEANY_DISABLE_DEPRECATED.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2603 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-19 15:21:31 +00:00
Nick Treleaven
d99a4ea675 Note: this breaks the plugin API.
Split GeanyFunctions out of GeanyData so data pointers can be
appended before the function pointer structs without breaking the
ABI.
Rename GeanyFunctions fields with a p_ prefix to avoid name
conflicts.
Add new plugin symbol geany_functions.
Nearly all plugins will now need to declare the following:
'GeanyFunctions *geany_functions;', which is now used by
pluginmacros.h.
Add doxygen examples for geany_data and geany_functions.
Move deprecated document and filetype typedefs to src/plugindata.h,
as plugins aren't required to use pluginmacros.h.
Initialize geany_data by copying a stack struct so the compiler can
check for any missing field initializers.
Rename plugin macro p_encoding to p_encodings to follow the core
function encodings_ prefix.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2599 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-19 12:35:35 +00:00
Enrico Tröger
629fc70a35 Allow loading projects from command line (closes #1961083).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2598 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-18 16:27:08 +00:00
Enrico Tröger
392d1f863f Add preferences for default end of line characters for new files (closes #1895362) and to disable the automatic continuation of multi-line comments in C-like languages.
Enable multi-line continuation also for CSS files.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2580 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-14 15:36:27 +00:00
Nick Treleaven
bd92df27f5 Add support for custom file templates found at startup in the
~/.geany/templates/files directory. These are currently shown
underneath filetype templates in the New with Template menu.
Add ui_menu_item_get_text().
Make utils_string_replace_all() ignore empty haystacks.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2575 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-13 17:18:14 +00:00
Nick Treleaven
17070c32c1 Update Code Navigation section for build errors and message items.
Correct Load Tags menu item being in the Tools menu now.
Document 'Disk check timeout' pref.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2565 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-09 14:37:30 +00:00
Nick Treleaven
d131023fe7 Add basic Line Breaking option in the Document menu. Line breaking
only works when typing characters past the line breaking column
number.
Add 'Line breaking column' editor pref.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2562 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-09 12:13:29 +00:00
Enrico Tröger
19ccd5129e Add a note about the limitation of matching only line by line when using regular expressions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2551 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-06 12:43:21 +00:00
Nick Treleaven
a832015fff Move non-general compile-time constants into their relevant source
files.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2519 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-23 16:47:42 +00:00
Enrico Tröger
8d9dbc4d08 Post-release version bump.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2508 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-19 10:39:27 +00:00
Enrico Tröger
b4de85a3b3 New release: Geany 0.14 "Selit".
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2506 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-19 08:28:57 +00:00
Nick Treleaven
811a09946e Move 'Switching between documents' from prefs Interface section into
new Documents section.
Remove repeated title text of preference dialog tab sections.
Edit preferences descriptions for clarity.
Comment out some unexplained General preferences.
Fix some prefs typos, add some links and expand some descriptions.
Correct some wrong preferences descriptions (e.g. Back/Forward
buttons).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2501 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-18 17:04:16 +00:00
Enrico Tröger
df57629bca Update for 0.14.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2485 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-15 14:44:48 +00:00
Enrico Tröger
f4e0652922 Add documentation for several options in the preferences dialog (patch from Robert McGinley, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2471 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-11 15:32:48 +00:00
Nick Treleaven
07d37be882 Rename VERSION_CHECK PLUGIN_VERSION_CHECK, but keep a deprecated
alias so outside plugins still compile.
Update our plugins to use this.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2411 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-26 17:10:18 +00:00
Frank Lanitz
a10312e313 Fixed a little typo that prevents plugin API documentation from beeing build.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2403 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-24 17:45:39 +00:00
Enrico Tröger
5c01fffbc8 Add styles to customize line and search marker and add translucency setting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2387 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-23 14:57:53 +00:00
Enrico Tröger
57fa3d0f16 Use configure's --docdir option when installing and using the documentation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2378 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 14:28:26 +00:00
Nick Treleaven
98f57f2543 Move scroll by one line shortcuts to configurable keybindings
section.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2374 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-20 17:05:45 +00:00
Nick Treleaven
cc88c8bc7a s/tabulator/tab/.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2373 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-20 16:55:14 +00:00
Nick Treleaven
5d417e0eec Update configurable keybindings section for new plugin groups
ordering.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2372 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-20 16:50:21 +00:00
Nick Treleaven
b5da3d96ee Add page links on the main page (easier than going to Related Pages,
and we can also list special files like plugin-symbols.c).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2366 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-20 13:02:12 +00:00
Nick Treleaven
16e7af760a Move plugin symbols page into separate source file so that symbols
are listed as variables and functions and are autolinked.
Edit plugin symbols description, document some function parameters.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2365 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-20 12:46:45 +00:00
Enrico Tröger
df03261289 Remove wrong note about copy&paste.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2353 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-17 13:45:28 +00:00
Enrico Tröger
d5da60a242 Add a note about column mode editing.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2351 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-17 12:56:10 +00:00
Nick Treleaven
4472929989 Check plugin keybinding group name is valid.
Ignore plugin keybinding groups with no elements defined.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2339 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-13 17:12:18 +00:00
Nick Treleaven
745c858fde Update documentation for plugin_key_group[] to mention declaring it
manually.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2336 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-13 13:36:18 +00:00
Enrico Tröger
c4679ead75 Use monospace font for text entry fields in search dialogs and add a notice how to change the used font (#1907117).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2328 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-13 08:37:29 +00:00
Nick Treleaven
9f87818796 Update 'Filtering out version control files' section for new versions
of GNU Grep.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2326 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-12 17:45:54 +00:00
Nick Treleaven
2c0316a296 Merge plugin-keybindings branch:
Change keybindings code to use keybinding groups, each with a
separate enum set, which will make the plugin ABI more stable, and
lay the groundwork for plugin keybindings support.
Note: this breaks the plugin API.
Rename keybindings_cmd() to keybindings_send_command(), which now
takes a group_id argument.
Add keybindings_lookup_item().
Add documentation for keybindings structs.
Add support for plugin keybindings using the PLUGIN_KEY_GROUP()
macro.
Add a plugin keybinding for 'Insert Special HTML Characters'.
Rename KBCallback, cmd_id, cb_func with clearer names.
Add KeyBinding::menu_item field for setting accelerators (currently
does nothing).
Load keybindings keyfile after plugins have loaded at startup, so
their shortcuts are also loaded. Still to do: loading individual
plugin keybindings after startup.
Group most keybinding callbacks together according to keybinding
group.
Add keybindings_set_item() and add it to the plugin API.
Set main menu widget accels with keybindings_set_item() - they are
ignored for now. Popup menu accels are set separately.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2324 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-12 17:07:43 +00:00
Nick Treleaven
747d2d2bf4 Add support for plugin keybindings using the PLUGIN_KEY_GROUP()
macro. Note: plugin keybindings are not yet loaded from the keyfile.
Add a plugin keybinding for 'Insert Special HTML Characters'.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/plugin-keybindings@2315 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-07 18:00:22 +00:00
Enrico Tröger
820c09ecfa Add opton to style "caret" to change the caret into a block caret.
Add new styles "translucency", "line_wrap_visuals" and "line_wrap_indent" to filetypes.common (#1905141).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2312 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-07 15:42:46 +00:00
Enrico Tröger
c8d99c4b3c Use doxygen option QUIET to disable non-warning messages instead of redirecting output to /dev/null.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2310 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-07 14:20:25 +00:00
Enrico Tröger
22d96653da Rename hidden pref auto_complete_whilst_editing to complete_snippets_whilst_editing.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2269 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-21 15:51:50 +00:00
Enrico Tröger
e685ab8fa5 Add support for reading tags(only for C/C++) from a file which should be ignored while parsing the file (ctags command line option -I).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2266 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-18 19:51:34 +00:00
Enrico Tröger
0e65cff820 Add support for generating API reference documentation using doxygen.
This is the first step, it is far away from being complete.
Add make target "api-doc" to generate the reference documentation.
Add documentation comments to a few functions.
Move basic plugin documentation from plugindata.h to doc/plugins.dox.	       


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2263 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-17 18:00:42 +00:00
Enrico Tröger
753e2936d8 Apply patch from Daniel Richard G. to add support for +NNN command line arguments and for recognising filename:line:column: format on the command line (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2262 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-16 11:21:24 +00:00
Enrico Tröger
e5c09b7a6a Fix slightly wrong documentation for show_editor_scrollbars.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2261 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-16 11:19:27 +00:00
Enrico Tröger
6413fdb2bf Add hidden preference to disable scrolling past end of document.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2260 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-15 16:34:30 +00:00
Enrico Tröger
11d7402854 Update and correct dates ;-).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2229 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-05 12:46:48 +00:00
Enrico Tröger
a3c6f9b407 Update date.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2227 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-05 11:44:31 +00:00
Nick Treleaven
b8f92279c3 Show default shortcuts in Keybindings section.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2222 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-04 13:28:51 +00:00