1 2011-10-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3 * src/keybindings.c, src/sidebar.c, src/dialogs.c, src/callbacks.c,
4 src/notebook.c, src/document.c, src/document.h, src/editor.c:
5 Add document_show_tab().
8 2011-10-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
10 * doc/Makefile.am, doc/makefile.win32:
11 Add doc/makefile.win32 for docs generation.
12 * scintilla/Makefile.am, src/Makefile.am,
13 tagmanager/mio/Makefile.am, tagmanager/Makefile.am, Makefile.am:
14 Fix missing tagmanager/mio/makefile.win32 in EXTRA_DIST.
15 Include makefile.win32 in EXTRA_DIST recursively, not at top-level.
18 2011-10-06 Colomban Wendling <colomban(at)geany(dot)org>
20 * autogen.sh, configure.ac:
21 Modernize configure.ac a bit.
22 * configure.ac, m4/geany-revision.m4, m4/geany-binreloc.m4,
23 m4/geany-gnu-regex.m4, m4/geany-plugins.m4, m4/geany-i18n.m4,
24 m4/geany-mingw.m4, m4/geany-socket.m4, m4/geany-vte.m4,
25 m4/geany-utils.m4, m4/geany-status.m4, m4/geany-the-force.m4:
26 Extract some configure logic to separate files for better
30 2011-10-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
32 * tagmanager/lregex.c, tagmanager/php.c:
33 Fix CTags bug 2970274 - when using addCallbackRegex the callback
34 receives less than the number of matches. The number is still not
35 correct (due to POSIX regex compatibility) but at least includes
36 all non-empty matches now.
37 http://sourceforge.net/tracker/index.php?func=detail&aid=2970274
38 &group_id=6556&atid=106556
41 2011-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
44 Update from CTags SVN jscript.c.
47 2011-10-03 Colomban Wendling <colomban(at)geany(dot)org>
49 * TODO, configure.ac, doc/geany.txt, geany.nsi, geany_private.rc,
50 src/geany.h, win32-config.h, wscript:
51 Post-release version bump.
53 Fix "toggle case" when there is no selection.
56 2011-10-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
58 * Merge branches/unstable:
60 Fix parsing keyword-qualified functions strictly, e.g. don't
61 parse 'staticfunction' or 'fatfunction'.
62 - src/utils.c, src/utils.h, src/editor.c:
63 Use GRegex for snippet indentation replacement - fixes wrong
64 behaviour with Mac line endings.
65 - tagmanager/lregex.c, TODO:
66 Use GRegex for CTags instead of POSIX regex - GRegex is more
67 powerful. This also fixes a (HTML) performance issue on Windows.
68 Geany will now print a debug warning when using the "b" CTags
69 regex flag option for non-extended syntax. This is not currently
70 used by Geany's parsers.
71 Note: GNU regex can't be removed yet as it's still used elsewhere
73 - src/build.c, doc/pluginsignals.c:
74 When saving on build, prompt for a filename if necessary.
75 Emit the "build-start" signal only if saving succeeds.
77 Use #ifdef SYNC_SPAWN instead of G_OS_WIN32 for easier testing with
78 glib's asynchronous spawning (which doesn't work on Windows).
79 - src/win32.c, src/win32.h, src/dialogs.c:
80 Use GTK unsaved file dialog on Windows too because the button names
82 * src/build.c, src/keybindings.c, src/keybindings.h, src/prefs.c:
83 Support visual reordering of keybinding groups without breaking the
85 Reorder Project group to follow main menu order.
86 Move Focus, Notebook tab groups last as they don't have
87 corresponding menu items.
88 Use keybindings_get_core_group() for fixed group IDs instead of
89 indexing keybinding_groups.
90 Make keybindings_lookup_item() only work with a GEANY_KEY_GROUP_
91 ID, not an index into keybinding_groups.
94 2011-10-02 Colomban Wendling <colomban(at)geany(dot)org>
96 * doc/geany.txt, doc/geany.html:
97 Add myself as an author.
98 * New release: Geany 0.21 "Gromia".
101 2011-10-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
104 Update documentation images.
105 * doc/geany.txt, doc/geany.html:
106 Update documentation for new images.
109 2011-09-28 Colomban Wendling <colomban(at)geany(dot)org>
112 Fix utils_string_replace_all() to accept a NULL replacement again.
115 2011-09-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
118 Fix not converting \n to document line endings in snippets.
120 Fix not indenting snippet contents for documents with non-\n line
124 2011-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
126 * src/stash.c, src/keyfile.c, src/keyfile.h, src/ui_utils.c:
127 Add configuration_add_various_pref_group().
129 Fix \0 char in format string - save as dialog filter bug.
132 2011-09-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
135 Rename use_safe_file_saving various pref to use_atomic_file_saving
136 as it's not 'safe'. Use old pref if new one is missing for
137 compatibility with Geany <= 0.20.
138 * src/prefs.c, src/stash.h, src/stash.c:
139 Fix making various prefs tree sync with data values when showing
140 the prefs dialog (patch by Dimitar Zhekov, thanks).
143 2011-09-17 Frank Lanitz <frlan@frank.uvena.de>
145 * po/fa.po, THANKS, src/about.c:
146 Adding Persian translation. Thanks to Moein Owhadi Kareshk
147 * THANKS: Adding Giuliano Manzitti to THANKS-file.
150 2011-09-16 Colomban Wendling <colomban(at)geany(dot)org>
153 Fix document sensitivity of a few menu items.
156 2011-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
158 * src/interface.c, geany.glade:
159 Change various prefs label to /warn/ the user to read the manual.
162 2011-09-15 Colomban Wendling <colomban(at)geany(dot)org>
165 Ask the user to configure a valid browser command if spawning it
166 fails rather than falling back to some arbitrary hardcoded defaults.
169 2011-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
172 Fix uninitialized font size & other fields.
173 Remove unhooked font dialog apply button.
176 2011-09-13 Colomban Wendling <colomban(at)geany(dot)org>
178 * data/filetype_extensions.conf:
179 Add Markdown extensions from Shared MIME-Info database (closes
182 Add missing MIME type to a few filetypes.
183 * doc/geany.txt, doc/geany.html:
187 2011-09-12 Colomban Wendling <colomban(at)geany(dot)org>
190 Fix updating symbol list for overloaded C++ symbols (closes
194 2011-09-02 Colomban Wendling <colomban(at)geany(dot)org>
197 Fix check for enabling MIME type based icons.
198 * src/encodings.c, src/filetypes.c:
199 Plug a few memory leaks.
202 2011-08-25 Colomban Wendling <colomban(at)geany(dot)org>
205 Fix foreach_ptr_array() not to crash on arrays with 0 elements.
208 2011-08-25 Colomban Wendling <colomban(at)geany(dot)org>
210 * src/document.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
211 doc/geany.html, data/filetypes.*:
212 Add support for filetype-specific indentation settings (closes
213 #3339420 and #3390435).
214 * src/callbacks.c, src/editor.c, src/editor.h:
215 Add editor_set_indent_width() to only set indentation width.
216 * src/callbacks.c, src/callbacks.h, src/document.c, src/document.h,
217 src/interface.c, geany.glade:
218 Add menu items to detect indentation settings from document's
222 2011-08-24 Colomban Wendling <colomban(at)geany(dot)org>
225 Make completion and word completion support non-ASCII characters
229 2011-08-21 Colomban Wendling <colomban(at)geany(dot)org>
231 * src/callbacks.c, src/editor.c, src/editor.h, src/keybindings.c:
232 Fix search for the current word if it isn't composed of only
233 GEANY_WORDCHARS (closes #3386129).
236 2011-08-20 Colomban Wendling <colomban(at)geany(dot)org>
238 * tagmanager/haskell.c:
239 Fix tags for one-letter Haskell symbols (closes #3289160).
242 2011-08-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
245 Update of wording to fix some grammatical issues etc. on plugin howto.
246 Patch provided by Matthew Brush. Thanks.
247 * data/filetypes.Cython.conf:
248 Extend list of primary keywords. Patch by Alexander Eberspächer. Thanks.
251 2011-08-19 Colomban Wendling <colomban(at)geany(dot)org>
253 * data/filetype_extensions.conf, data/filetypes.Cython.conf,
254 data/filetypes.python:
255 Add Cython filetype (patch by Matthew Brush, thanks).
256 * src/symbols.c, tagmanager/include/tm_workspace.h,
257 tagmanager/tm_workspace.c:
258 Create temporary files used for generating global tags files in the
259 system directory for temp files.
261 Don't make tags for /dev/null in diff files but for the new file
262 instead (Based on a patch by Yang Hong, thanks).
265 2011-08-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
268 Update API version used inside plugin howto to a more recent version
272 2011-08-13 Colomban Wendling <colomban(at)geany(dot)org>
274 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
275 Focus the editor upon double click on the message and compiler
276 windows (patch by Dimitar Zhekov, thanks).
279 2011-08-03 Colomban Wendling <colomban(at)geany(dot)org>
281 * src/geany.h, plugins/classbuilder.c, plugins/export.c,
282 plugins/filebrowser.c, plugins/htmlchars.c, plugins/saveactions.c,
283 plugins/splitwindow.c:
284 Only include config.h when building Geany (closes #3384026).
287 2011-07-31 Frank Lanitz <frlan@frank.uvena.de>
290 Adding some content about PLUGIN_SET_TRANSLATABLE_INFO() into plugin
291 HowTo as well as a hint to make usage of main_locale_init().
294 2011-07-28 Colomban Wendling <colomban(at)geany(dot)org>
296 * src/build.c, src/build.h, src/editor.c, src/interface.c,
297 src/keyfile.c, src/prefs.c, src/stash.c, src/stash.h,
298 src/ui_utils.c, geany.glade, doc/geany.txt, doc/geany.html:
299 Allow to edit formerly hidden preferences in the prefs dialog
300 (closes #3313315, patch by Dimitar Zhekov and myself, thanks!).
302 Improve indentation width detection to better deal with Java
306 2011-06-26 Colomban Wendling <colomban(at)geany(dot)org>
308 * src/highlighting.c:
309 Recognize C# and Vala raw and verbatim strings as string styles.
311 Fix indentation brace matching (closes #3309606).
314 2011-06-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
316 * src/callbacks.c, doc/geany.txt, doc/geany.html, README, HACKING,
318 More GTK 2.8 => GTK 2.12 transition.
321 2011-06-20 Colomban Wendling <colomban(at)geany(dot)org>
323 * src/document.c, src/document.h, src/keyfile.c, doc/geany.txt,
325 Add an hidden pref to choose between GIO and plain C unsafe
327 * configure.ac, src/document.c, win32-config.h:
328 Completely drop HAVE_GIO checks.
331 2011-06-18 Colomban Wendling <colomban(at)geany(dot)org>
333 * src/document.c, src/document.h, src/editor.c:
334 Remove support of size being -1 in document_open_file_list().
335 * src/utils.c src/utils.h:
336 Remove support of size being -1 in utils_get_line_endings().
337 * src/stash.c, src/stash.h:
338 Make StashWidgetID map to gconstpointer, allowing use of const
339 strings as the widget key.
342 2011-06-16 Colomban Wendling <colomban(at)geany(dot)org>
344 * src/document.c, src/main.c, src/ui_utils.c, src/utils.c:
345 Remove most of the checks for GIO.
347 Remove last GLib >= 2.16 check.
350 2011-06-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
352 * tagmanager/python.c:
353 Fix two bugs with triple quoted strings within comments
354 and missing indentation within triple quoted strings
355 (#3316966, synced from CTags SVN, patch by Elias Pschernig, thanks).
358 2011-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
360 * data/filetypes.python:
364 2011-06-13 Colomban Wendling <colomban(at)geany(dot)org>
366 * configure.ac, src/Makefile.am, src/makefile.win32, wscript:
367 Bump dependencies to GTK >= 2.12, GLib >= 2.16 and GIO.
368 * plugins/export.c, plugins/filebrowser.c, plugins/splitwindow.c,
369 src/build.c, src/dialogs.c, src/document.c, src/highlighting.c,
370 src/printing.c, src/project.c, src/search.c, src/ui_utils.c,
372 Deprecate ui_widget_set_tooltip_text() in favor of
373 gtk_widget_set_tooltip_text().
374 * configure.ac, doc/geany.html, doc/geany.txt, src/callbacks.c,
375 src/keyfile.c, src/main.c, src/prefs.c, src/printing.c,
377 Enable GTK printing support unconditionally.
378 * doc/geany.html, doc/geany.txt:
379 Stop talking about pre-GTK 2.12 tricks.
380 * geany.glade, src/interface.c:
381 Fix Printing preferences page alignment.
383 Remove pre-GTK 2.10 tab DnD support.
384 * src/pluginutils.c, tagmanager/tm_file_entry.c,
385 tagmanager/tm_symbol.c, tagmanager/tm_tag.c:
386 Unconditionally use GSlice allocator.
389 2011-06-11 Colomban Wendling <colomban(at)geany(dot)org>
391 * src/dialogs.c, src/main.c, src/ui_utils.h:
392 Always destroy open and save dialog after use. This also helps
393 working around a long-living GTK+ bug, hopefully closing #3311258,
394 #3304273, #3201050, #3163742, #3153120 and #2985896.
397 2011-06-03 Colomban Wendling <colomban(at)geany(dot)org>
399 * src/callbacks.c, src/document.c, src/document.h, src/editor.c,
400 src/search.c, src/search.h:
401 Show the actual text the user searched for in messages rather than
402 the internal one (patch by Eugene Arshinov, thanks).
404 Also use the actual user search in the combo box history.
407 2011-06-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
409 * src/document.c, src/document.h, src/ui_utils.c, src/ui_utils.h:
410 Add ui_focus_current_document() and document_grab_focus().
412 Focus the editor widget after loading project session files.
413 * scripts/create_py_tags.py:
414 Ignore tags ending with an underscore.
415 Dynamically determine the path of Python's standard library instead
417 Parse all modules of the Python standard library instead of a
418 hardcoded list of filenames.
421 2011-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
423 * data/filetypes.java:
424 Move keyword 'enum' to primary keywords (closes #3305737).
427 2011-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
429 * tagmanager/python.c:
430 When checking for literal strings to ignore, consider also
431 unicode, binary and raw strings.
433 Define and use get_plugin_path() always and move platform dependent
434 code into the function definition.
435 Do not add active plugins to the list of plugins when they are
436 already in the list (closes #3308191).
437 Check whether the custom plugin path is one of the user or system
438 plugin paths and if so, ignore it.
441 2011-05-27 Colomban Wendling <colomban(at)geany(dot)org>
444 Fix preferences help button when activated with the keyboard.
447 2011-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
449 * src/about.c, src/build.c, tagmanager/tm_workspace.c:
450 Remove unused variables (patch by Eugene Arshinov, thanks).
452 Remove unused variables (suggested by Eugene Arshinov).
453 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
454 Do not allow 'Save All' even if 'allow_always_save' is set
455 (patch by Dimitar Zhekov, thanks).
456 * data/filetypes.java:
457 Add 'enum' to secondary keywords
458 (closes #3305737, patch by Matthew Brush, thanks).
461 2011-05-12 Colomban Wendling <colomban(at)geany(dot)org>
464 Update the HTML content-type encoding detection regexp to accept some
465 more valid inputs (closes #3300703).
468 2011-05-11 Colomban Wendling <colomban(at)geany(dot)org>
471 Improve the plugin manager dialog a little.
472 * src/geanywraplabel.c, src/geanywraplabel.h, src/keybindings.c,
474 Cleanup GeanyWrapLabel a bit.
477 2011-05-09 Colomban Wendling <colomban(at)geany(dot)org>
479 * plugins/splitwindow.c:
480 Remove widget reparenting in Split Window plugin. This fixes plugin
481 issues on Windows (patch by Matthew Brush, thanks - closes #2725342).
482 * plugins/Makefile.am, plugins/makefile.win32, wscript:
483 Enable SplitWindow build on Windows again (re-apply Enrico's patch).
486 2011-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
489 Add note about patching Glade 2.12 to compile it with
493 2011-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
496 Fix 'Toolbar Preferences' popup menu item (oops).
499 2011-05-03 Colomban Wendling <colomban(at)geany(dot)org>
501 * doc/geany.txt, doc/geany.html:
502 Update the documentation for project patterns and recent FIF dialog
506 2011-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
508 * src/highlighting.c, doc/geany.txt, doc/geany.html:
509 Allow translations for color scheme [theme_info] keys.
510 * src/build.c, src/filetypes.c, src/filetypes.h, src/main.c:
511 Save filetype build commands straight after editing them instead of
512 at shutdown (patch by Dimitar Zhekov, thanks).
515 2011-05-02 Colomban Wendling <colomban(at)geany(dot)org>
518 Bump plugin API version so a plugin can know the project file
519 patterns are visible by the user.
522 2011-05-01 Colomban Wendling <colomban(at)geany(dot)org>
525 Fix pattern filtering when not searching in subdirectories.
528 2011-04-30 Colomban Wendling <colomban(at)geany(dot)org>
531 Fix project patterns and make them visible (based on a patch
532 by Jiří Techet, thanks).
534 Use project patterns in the FIF dialog (based on a patch
535 by Jiří Techet, thanks).
537 Open the file in the msgwindow even if no line number is specified.
540 2011-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
542 * src/filetypes.c, data/filetype_extensions.conf:
543 Revert 'Compiled' filetype group back to 'Programming' (couldn't
544 agree on whether e.g. Java is a compiled language).
545 * doc/geany.txt, doc/geany.html:
546 Add section 'Filetype group membership'.
547 * src/highlighting.c, doc/geany.txt, doc/geany.html,
548 data/colorschemes/alt.conf:
549 Read color scheme name and description for menu item label and
550 tooltip (based on patch by Matthew Brush, thanks).
553 2011-04-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
555 * src/filetypes.c, src/filetypes.h:
556 Remove now unnecessary Custom filetype group.
558 Move text markup languages into Markup filetype group.
559 Move some programming language filetypes out of the Miscellaneous
561 Fix filetype title for some languages.
562 Don't use 'Languages' for Miscellaneous group label.
563 These changes mostly proposed by Matthew Brush (thanks).
565 Make custom filetype titles use 'source file' only if their group
566 is Compiled or Script.
567 Use 'source file' for reStructuredText title.
570 2011-04-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
572 * src/filetypes.c, src/filetypes.h, src/main.c,
573 data/filetype_extensions.conf:
574 Make filetype group membership configurable using [Groups] in
575 filetype_extensions.conf.
576 Read filetype_extensions.conf when calling filetypes_init_types(),
577 don't require doclist initialization.
579 Change Programming Languages filetype group label -> Compiled
581 Use 'source file' title for custom filetypes.
582 * src/prefs.c, doc/geany.txt, doc/geany.html:
583 Remove Preferences label warning about restarting after editing
584 template data - this is no longer necessary.
587 2011-04-26 Colomban Wendling <colomban(at)geany(dot)org>
589 * src/callbacks.c, src/document.c, src/document.h,
590 src/documentprivate.h, src/editor.c, src/sidebar.c:
591 Make sure to update the tag list only for the current document,
592 avoiding idle updates to show the tag list for the wrong document.
593 * src/callbacks.c, src/document.c, src/documentprivate.h,
595 Avoid changing the tag tree if it's not the one of the current
596 document, fixing showing the wrong tag list when reloading
600 2011-04-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
603 Fix warning in utils_find_open_xml_tag() with malformed tags like
607 2011-04-24 Colomban Wendling <colomban(at)geany(dot)org>
610 Don't update the tag list when the user is typing (patch by Yura
613 When copying filetype groups, add keys from both system and user
614 ones, making sure user's ones have precedence over system ones.
617 2011-04-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
619 * src/utils.c, src/utils.h, src/plugindata.h, src/plugins.c,
620 plugins/geanyfunctions.h:
621 Add utils_find_open_xml_tag_pos() API function (patch by Eugene
624 Replace dates on template insertion, not when loading templates.
627 2011-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
630 Fix multiple snippet cursor positions for Tabs + Spaces mode.
631 Simplify editor_insert_snippet() code now we use cursor marker
633 * src/utils.c, src/utils.h, src/editor.c:
634 Add utils_string_find() to search in a fixed range.
635 Change utils_string_replace() to just replace a fixed number of
639 2011-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
641 * src/plugindata.h, src/document.c, src/plugins.c, src/document.h,
642 plugins/geanyfunctions.h:
643 Add document_compare_by_tab_order() and
644 document_compare_by_tab_order_reverse() to the plugin API.
646 Use document_compare_by_tab_order() as default compare function
647 to sort the document list in the document notebook tab menu, this
648 fixes the currently broken default ordering.
651 2011-04-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
653 * src/utils.c, src/utils.h, src/editor.c:
654 Add function utils_string_replace() to replace in a fixed range.
655 Remove utils_string_replace_helper() and update cursor marker code.
658 2011-04-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
661 Fix snippets bug: {ob}pc{cb} replaced by '%' instead of {pc}.
662 Refactor snippets_make_replacements() using geany_cursor_marker.
665 2011-04-13 Colomban Wendling <colomban(at)geany(dot)org>
668 Avoid triggering autocompletion on PHP open tags (closes #3199442).
671 2011-04-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
674 Update dox for document_compare_by_display_name() with warning
675 about parameter addresses.
677 Use brackets for DOC_FILENAME() macro 'doc' argument.
678 * src/templates.c, src/utils.c, src/toolbar.c, src/utils.h,
679 src/keyfile.c, src/filetypes.c, src/editor.c, src/symbols.c:
680 Make utils_build_path() return a copy for safety.
682 Fix Ctrl-Shift-[CV] keybindings to work outside the VTE.
685 2011-04-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
688 Fix wrong casting of array pointers, thanks Nick.
689 * src/plugindata.h, src/callbacks.c, src/document.c, src/plugins.c,
691 Rename document_sort_by_display_name() into
692 document_compare_by_display_name(), thanks again Nick.
695 2011-04-11 Colomban Wendling <colomban(at)geany(dot)org>
697 * src/document.c, src/document.h, src/editor.c, src/keybindings.c:
698 Revert r5642 "Don't update parent WorkObjects when updating one in
699 real-time" because it broke calltips.
702 2011-04-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
704 * plugins/filebrowser.c:
705 Update path when saving a new document for the first time if the
706 follow path option is enabled.
707 * src/about.c, src/keyfile.c, THANKS:
708 Store VTE path with the session (based on patch by Nicolas
710 There's still a bug with loading a project at startup; closing the
711 project doesn't restore old VTE path.
712 * src/filetypes.c, src/filetypes.h:
713 Refactor with filetypes_get_filename().
714 Make filetypes_get_conf_extension() static.
715 * src/utils.c, src/utils.h, src/filetypes.c:
716 Make utils_make_filename() return a copy for safety.
719 2011-04-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
722 Ignore scrolling events in on_update_ui().
723 * src/geanyobject.c, src/plugindata.h, src/geanyobject.h,
724 src/document.c, doc/pluginsignals.c:
725 Add and use signal "document-reload" to the plugin API.
726 * src/symbols.c, tagmanager/sql.c:
727 Fix mapping of SQL tags for Geany's symbol list (closes #3216474).
728 * src/ui_utils.h, src/plugindata.h, src/document.c, src/plugins.c,
729 src/document.h, src/ui_utils.c, plugins/geanyfunctions.h:
730 Add ui_menu_add_document_items_sorted() and
731 document_sort_by_display_name() to the plugin API.
734 2011-04-08 Colomban Wendling <colomban(at)geany(dot)org>
736 * scintilla/lexers/LexCPP.cxx:
737 Make highlighting of triple-quoted verbatim an option (Backport
738 from Scintilla HG 3602:5536ed81a85b).
739 * src/highlighting.c:
740 Add highlight for triple-quoted verbatims.
741 * data/filetypes.c, data/filetypes.vala, data/filetypes.Genie.conf,
742 data/filetypes.Scala.conf:
743 Highlight triple-quoted verbatims in Vala, Genie and Scala filtypes.
744 * data/filetypes.Genie.conf:
745 Copy C styling rather than redefining the styles.
747 Don't set font twice for line numbers and braces.
750 2011-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
753 Remove TEMPLATES_GET_FILENAME() macro.
755 Don't auto-enable case-sensitive option when enabling regex in
756 Find/Replace dialogs.
759 2011-04-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
761 * scintilla/gtk/ScintillaGTK.cxx:
762 Fix X PRIMARY selection issue when Scintilla widget is
763 unrealized/re-realized (Backport from Scintilla HG,
764 original patch by Matthew Brush).
765 Reset cursors when Scintilla widget is realized (Backport from
766 Scintilla HG, original patch by Matthew Brush).
769 2011-04-04 Colomban Wendling <colomban(at)geany(dot)org>
771 * scintilla/gtk/PlatGTK.cxx:
772 Fix font rendering in Scintilla when using Cairo.
775 2011-04-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
777 * src/interface.c, geany.glade:
778 Make Project->Properties the last menu item so it's faster to use.
781 2011-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
784 Update Scintilla to version 2.25.
785 * version.txt, Makefile.am:
786 Add Scintilla's version.txt file.
787 * scintilla/makefile.win32, tagmanager/makefile.win32, makefile.win32:
788 Replace escape character '\' by slash '/' in paths in the
789 Windows Makefiles (patch by Matthew Brush, thanks).
791 Reflect the existence of the entered command in `Set Custom Commands`
792 dialog as well using the yes/no icon.
795 2011-04-03 Colomban Wendling <colomban(at)geany(dot)org>
797 * src/main.c, src/prefs.c, src/tools.c:
798 Fix loading and updating menu accelerators for custom commands.
800 Don't allow editing keybinding column of group rows.
802 Fix ID of newly added commands in the `Set Custom Commands` dialog.
805 2011-04-02 Colomban Wendling <colomban(at)geany(dot)org>
807 * src/tools.c, doc/geany.txt, doc/geany.html:
808 Improve the `Set Custom Commands` dialog.
811 2011-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
813 * src/interface.c, src/interface.h, geany.glade:
814 Rename Preferences dialog Interface subtab More -> Notebook tabs.
815 * src/toolbar.c, src/dialogs.c:
816 Use mimetype icon in File Properties dialog.
817 * doc/geany.txt, doc/geany.html:
818 Fix title capitalization.
819 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
820 Move Preferences dialog Toolbar tab under Interface tab.
822 Tweak some build dialog labels:
825 Use filetype name instead of title.
826 * src/templates.c, src/templates.h, doc/geany.txt, doc/geany.html:
827 Remove old filetype templates support - users can use custom file
831 2011-04-01 Colomban Wendling <colomban(at)geany(dot)org>
834 Update regex used to find encodings for it to allow the encoding to
835 be quoted, adding support for XML (closes #3183506).
837 Implement charset name normalization in order to better deal with
838 badly-written encoding names (i.e. names found by regex search).
839 This also makes encodings_get_idx_from_charset() and
840 encodings_get_from_charset() more permissive regarding the passed-in
843 Always try to honor the charset found in the document, even if the
844 document can be loaded as UTF-8.
845 This make files encoded with e.g. ISO-8859-1 that have the proper
846 information in them but only use the UTF-8 compatible part of
847 ISO-8859-1 to be properly loaded as ISO-8859-1, rather than UTF-8.
848 Also fix check for locale encoding.
849 * src/tools.c, doc/geany.txt, doc/geany.html:
850 Make `Send selection to` send the current line if there is no
854 2011-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
856 * plugins/filebrowser.c:
857 Make 'Hide object files' preference configurable with file
859 * plugins/filebrowser.c:
860 Fix applying default setting for hide_object_files (oops).
861 Fix warning when enabling plugin from the Plugin Manager.
862 * plugins/filebrowser.c:
863 Fix optimization for filter check when pattern is '*'.
864 Use foreach_strv() instead of foreach_c_array().
865 * plugins/filebrowser.c:
866 Don't hide directories matching hidden file extensions e.g. foo.o.
867 Refactor with check_object().
870 2011-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
873 Use STYLE_MAX instead of 127 for editor_set_font(). This fixes a
874 crash in the Split Window plugin when changing filetype (patch by
875 Matthew Brush, thanks; fixes #3255968).
876 * plugins/splitwindow.c:
877 Update styles when the filetype changes (based on patch by
878 Matthew Brush, thanks).
879 * plugins/saveactions.c:
880 Fix Instant Save preferences combo box filetype order.
881 * plugins/filebrowser.c:
882 Remove macro CHECK_READ_SETTING().
885 2011-03-30 Colomban Wendling <colomban(at)geany(dot)org>
887 * src/plugindata.h, src/pluginprivate.h, src/plugins.c,
888 src/pluginutils.c, src/pluginutils.h plugins/geanyfunctions.h:
889 Add plugin_idle_add(), plugin_timeout_add() and
890 plugin_timeout_add_seconds() to the plugin API. These are
891 convenience wrappers to ensure the added timeouts are properly
892 removed when unloading the plugin, preventing possible crashes.
893 * plugins/splitwindow.c:
894 Use new plugin_idle_add(), preventing an unlikely crash.
895 * doc/pluginsymbols.c, src/sciwrappers.c:
896 Fix a few Doxygen warnings.
897 * plugins/saveactions.c:
898 Properly use 0 as the invalid timeout source ID.
901 2011-03-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
903 * doc/geany.txt, doc/geany.html:
904 Add #reading-styles-from-another-filetype subsection, based on
905 patch by Matthew Brush (thanks).
906 * doc/geany.txt, doc/geany.html:
907 Add #filenames subsection for filetype definition files explaining
908 the filename extensions and special cases.
909 * src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
910 src/main.c, plugins/geanyfunctions.h:
911 Add filetypes_get_sorted_by_name() to API.
912 Fix --ft-names sorting to print in name order, not title order.
915 2011-03-28 Colomban Wendling <colomban(at)geany(dot)org>
917 * src/document.c, src/document.h, src/editor.c, src/keybindings.c:
918 Don't update parent WorkObjects when updating one in real-time. This
919 should fix some performance issues if a WorkObject has many parents.
922 2011-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
924 * src/makefile.win32, src/main.c, src/Makefile.am, configure.ac,
926 Initialize GLib's Gthread system early at startup in case any
928 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
929 doc/geany.txt, doc/geany.html:
930 Add new keybinding 'Remove Markers and Error Indicators'.
933 2011-03-26 Colomban Wendling <colomban(at)geany(dot)org>
936 Fix the sidebar popup menu to properly use the currently selected
937 item rather than the previous one.
938 Also change the hack used for the selection to be updated in the
939 input handlers to call the GtkTreeView's handler manually rather than
940 doing the actual job in IDLE callbacks for the TreeView's handler to
942 * doc/geany.html, doc/geany.txt, geany.glade, src/document.c,
943 src/editor.h, src/interface.c, src/interface.h, src/keyfile.c,
945 Add possibility to detect the indentation width from the file content
946 (not supported if indentation type is tabs only).
947 * plugins/splitwindow.c:
948 Enable code folding in splitview window (based on a patch by Matthew
949 Brush, thanks! - closes #3097780).
950 Fix confusing terminology in Split Window plugin menu labels (patch
951 by Matthew Brush - closes #2796316).
952 Don't unsplit when closing the displayed document but rather pick the
953 new current one if any.
956 2011-03-25 Colomban Wendling <colomban(at)geany(dot)org>
958 * data/filetypes.vala:
959 Update Vala keywords (based on a patch from Matthew Brush, thanks).
964 2011-03-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
966 * plugins/filebrowser.c:
967 Add history to filter entry.
968 * src/keybindings.c, src/vte.c:
969 Add fixed shortcuts for VTE copy (Ctrl-Shift-C) and paste
972 Make VTE copy/paste shortcuts work if 'Override Geany
973 keybindings' is not set.
976 2011-03-24 Colomban Wendling <colomban(at)geany(dot)org>
978 * doc/geany.txt, doc/geany.html:
979 Update the documentation to talk about real-time tag parsing.
980 * doc/geany.txt, doc/geany.html, src/callbacks.c, src/callbacks.h,
981 src/document.c, src/document.h, src/geanyentryaction.c,
982 src/search.c, src/toolbar.c, src/ui_utils.c, src/ui_utils.h:
983 Make Shift-Enter in search dialog and toolbar search entries search
985 * plugins/filebrowser.c, plugins/saveactions.c, src/callbacks.c,
986 src/dialogs.c, src/document.c, src/document.h, src/editor.c,
987 src/encodings.c, src/filetypes.c, src/highlighting.c, src/log.c,
988 src/main.c, src/plugins.c, src/printing.c, src/project.c,
989 src/search.c, src/socket.c, src/toolbar.c, src/utils.c, src/utils.h:
990 Improve usage of G_LIKELY() and G_UNLIKELY() macros.
993 2011-03-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
996 Make --ft-names list filetypes alphabetically.
997 * plugins/filebrowser.c:
998 Allow multiple file filters to be separated by a space for
999 consistency with Find in Files file patterns. ';' is still
1003 2011-03-20 Colomban Wendling <colomban(at)geany(dot)org>
1005 * data/filetypes.*, doc/geany.txt, doc/geany.html, src/callbacks.c,
1006 src/filetypes.c, src/filetypes.h, src/templates.c:
1007 Add new filetype setting "comment_single" to provide separated
1008 single-line and multiline comment support. Single-line are used in
1009 priority to comment code, and multiline to make template comments.
1010 * src/editor.c, src/search.c, tagmanager/diff.c:
1011 Don't use strlen(..) > 0 or == 0, simply check the first character
1014 Update forced indent settings when setting the filetype. This makes
1015 documents created or set to a filetype with forced indent setting
1016 (Makefile, F77) to have the correct setting right away.
1019 2011-03-19 Colomban Wendling <colomban(at)geany(dot)org>
1022 Create a new undo action when inserting templates, making sure the
1023 user can undo the template insertion without also undoing a previous
1027 2011-03-18 Colomban Wendling <colomban(at)geany(dot)org>
1029 * src/document.c, src/encodings.c, src/encodings.h:
1030 Move document encoding conversion with BOM support to encodings.[ch]
1031 as encodings_convert_to_utf8_auto().
1033 Properly convert template files to UTF-8 on loading, fixing encoding
1034 issues if templates files are not encoded in UTF-8.
1037 2011-03-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1039 * data/templates/files/main.vala:
1040 Add file template for Vala (patch by Mark Trompell, thanks).
1043 2011-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1045 * src/utils.c, src/utils.h, src/filetypes.c:
1046 Support copying filetype definition file group keys from a system
1047 keyfile with e.g. [styling=C].
1048 Add function utils_make_filename() for building filenames easily.
1049 * THANKS, plugins/classbuilder.c:
1050 Improve Class Builder plugin dialog UI using a table (patch by
1051 Matthew Brush, thanks).
1052 * plugins/classbuilder.c:
1053 Fix GLib warning when creating classes and no documents are open
1054 (patch by Matthew Brush, thanks).
1055 * plugins/classbuilder.c:
1056 Undo patch change to cc_option_label_new() to append a ':' colon to
1057 label text because this unnecessarily causes string translations to
1059 * src/interface.c, geany.glade:
1060 Fix wrong label capitalization for Toolbar Preferences dialog tab
1062 * data/filetypes.Scala.conf, data/filetype_extensions.conf:
1063 Add Scala custom filetype, based on file by werg (thanks).
1064 (This uses the newly added [styling=C] syntax).
1066 Make special case for filetypes.matlab instead of truncating all
1067 filetype config filenames at slash.
1069 Fix generating tag files and --ft-names option by ensuring GTK is
1070 initialized before calling ui_get_mime_icon().
1073 2011-03-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1075 * THANKS, src/about.c:
1076 Adding Wei-Lun Chao as current maintainer for traditional Chinese
1080 2011-03-15 Colomban Wendling <colomban(at)geany(dot)org>
1082 * src/templates.c, src/templates.h:
1083 Use the same indentation for all templates (part of FR#3193527; from
1084 a patch by Matthew Brush, thanks).
1086 Always keep the list of loaded plugin sorted by name.
1089 2011-03-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1091 * data/filetype_extensions.conf:
1092 Add Markdown extension.
1095 2011-03-10 Colomban Wendling <colomban(at)geany(dot)org>
1098 Correctly expand the menubar if the toolbar is appended to it but
1099 not visible (closes #3204955).
1100 * plugins/filebrowser.c, src/editor.c, src/plugins.c, src/symbols.c,
1101 src/tools.c, src/utils.c:
1102 Prefer prepend elements to lists rather than append them, for better
1106 2011-03-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1109 Fix wrong code example in the API docs
1110 (spotted by Matthew Brush, thanks).
1113 2011-03-07 Colomban Wendling <colomban(at)geany(dot)org>
1115 * tagmanager/mio/mio-memory.c:
1116 Import upstream MIO changes not to require a C99 compiler.
1119 2011-03-06 Colomban Wendling <colomban(at)geany(dot)org>
1122 When sorting tags by line, also sort by scope if line is the same,
1123 avoiding wrong sorting if a parent tag is on the same line than its
1124 children, and one of it's children would be sorted before
1125 alphabetically (closes #3193982).
1128 2011-03-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1130 * src/interface.c, geany.glade:
1133 Remember Find and Replace options across restarts
1134 (patch by Dimitar Zhekov, thanks).
1136 Respect saved state of 'Case sensitive' option when using
1137 the 'Regular expressions' option as well.
1139 Add option to insert line numbers (closes #3197150).
1141 Use the full filename and add the extension of the export format.
1142 Fix off-by-one bug which hidden the last empty line of a document.
1145 2011-03-05 Colomban Wendling <colomban(at)geany(dot)org>
1147 * configure.ac, wscript, makefile.win32, src/Makefile.am,
1148 src/makefile.win32, tagmanager/Makefile.am, tagmanager/c.c,
1149 tagmanager/entry.c, tagmanager/entry.h, tagmanager/fortran.c,
1150 tagmanager/get.c, tagmanager/get.h, tagmanager/js.c,
1151 tagmanager/lregex.c, tagmanager/makefile.win32, tagmanager/parse.c,
1152 tagmanager/read.c, tagmanager/read.h, tagmanager/sort.c,
1153 tagmanager/sql.c, tagmanager/strlist.c, tagmanager/mio/*:
1154 Move most of TagManager's I/O to MIO.
1156 Enable in-memory tag parsing.
1157 * geany.glade, src/editor.c, src/editor.h, src/interface.c,
1159 Add possibility to update symbol list in IDLE time, enabled by
1160 default using a minimal delay of 250ms.
1162 Improve implementation of hide_empty_rows() to do all in one shot.
1163 * tagmanager/include/tm_tag.h, tagmanager/tm_project.c,
1164 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
1165 tagmanager/tm_workspace.c:
1166 Make TMTag reference-counted.
1167 * src/sidebar.c, src/symbols.c, tagmanager/include/tm_tag.h,
1168 tagmanager/tm_tag.c:
1169 Provide a GType for TMTag and use it in the tag store to make sure
1170 the tags it holds are always valid.
1172 Don't remove and add the symbols tree view if we re-add the same one.
1173 * src/sidebar.c, src/sidebar.h, src/symbols.c:
1174 Update the symbol list rather than clearing and re-building it.
1175 There is room for improvement in the implementation side, but it
1176 is harder to do, probably a future improvement.
1178 Fix suffix of anonymous symbols (structs, enums, ...).
1183 2011-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1185 * plugins/saveactions.c:
1186 Fix wrong warning on empty backup directory setting if
1187 'Backup Copy' is not enabled at all.
1188 * AUTHORS, src/about.c, README.Packagers, README:
1189 Welcome Colomban Wendling, a new Geany developer.
1192 2011-02-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1195 Fix segfault when inserting e.g. fileheader template when the
1196 template file is empty (#3070913, thanks to lphilpot).
1199 2011-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1201 * plugins/filebrowser.c:
1202 Add support for multiple file filters, separated by semicolon
1203 (based on a patch by Grigory Javadyan, thanks).
1206 2011-02-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1208 * data/filetype_extensions.conf:
1209 Fix detecting Matlab and Txt2Tags extensions by default (#3167315,
1213 2011-02-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1215 * tagmanager/latex.c:
1216 Add a workaround for #3066566 to prevent Geany from crashing during
1217 loading of a LaTeX-file containing linebreaks inside headings.
1220 2011-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1223 Fix memory leaks (reported by an anonymous IRC user).
1224 * doc/geany.txt, doc/geany.html:
1225 Replace '+' by '-' in the Scintilla Keybindings section
1226 to be consistent with the other mentioned keybindings.
1228 Improve error checking when trying to write project files
1229 (patch by Colomban Wendling, thanks).
1230 Add a warning if writing the project file fails on close.
1231 * src/utils.c, src/utils.h, src/project.c, src/main.c, src/socket.c:
1232 Rename utils_is_file_writeable() into utils_is_file_writable().
1235 2011-01-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1238 Ensure the editor widget has the focus when the editor menu is
1240 * scintilla/lexers/LexCOBOL.cxx, scintilla/src/Catalogue.cxx,
1241 scintilla/Makefile.am, scintilla/makefile.win32, src/highlighting.c,
1242 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/editor.c,
1243 src/symbols.c, tagmanager/parsers.h, tagmanager/makefile.win32,
1244 tagmanager/cobol.c, tagmanager/Makefile.am, data/filetypes.cobol,
1245 data/filetype_extensions.conf, wscript:
1246 Add filetype Cobol (based on a patch by Seth Keiper).
1249 2011-01-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1251 * plugins/filebrowser.c:
1252 Add '.pyc' to the list of hidden object files
1253 (patch by Filip Gruszczyński, thanks).
1256 2011-01-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1259 Update copyright information.
1260 * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
1261 geany_private.rc, win32-config.h, wscript, src/geany.h:
1262 Post-release version bump.
1265 2011-01-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1267 * src/highlighting.c, data/filetypes.javascript:
1268 Add and use secondary keywords for filetype JavaScript,
1269 update and sanitize JavaScript keyword lists
1270 (patch by Jason Oster, thank you).
1273 2011-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1275 * THANKS, src/about.c:
1276 Added Rafael Peregrino da Silva to list of contributors for Brazilian
1277 Portuguese (pt_BR) translation.
1280 2011-01-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1282 * src/toolbar.c, src/ui_utils.c, src/about.c, THANKS:
1283 Add Save As toolbar button option (patch by Matthew Brush, thanks;
1285 * scintilla/*, src/utils.c, src/notebook.c,
1286 data/filetypes.cpp, data/filetypes.vala, data/filetypes.glsl,
1287 data/filetypes.cs, data/filetypes.c, wscript:
1288 Merge unstable branch:
1290 Fix detecting non-lowercase self-closing tags e.g. <BR> (#2226117).
1292 Add 'Open in New Window' command in the notebook tab menu (based on
1293 patch by Matthew Brush, thanks - #3118059).
1294 - data/filetypes.cpp, data/filetypes.vala, data/filetypes.glsl,
1295 data/filetypes.cs, data/filetypes.c:
1296 Disable preprocessor #define tracking for the CPP lexer
1297 (enabled by default in Scintilla).
1298 - scintilla/*, wscript:
1299 Update Scintilla to version 2.22.
1300 Use Scintilla's directory structure mostly and only remove
1304 2011-01-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1306 * New release: Geany 0.20 "Disra".
1309 2011-01-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1312 Add debug message with the number of compatible plugins in each
1313 plugin search path when showing the Plugin Manager dialog.
1316 2010-12-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1318 * doc/geany.txt, doc/geany.html:
1319 Move and update 'Custom filetypes' section.
1320 Add 'Creating a custom filetype from an existing filetype' section.
1323 2010-12-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1325 * src/interface.c, src/keybindings.c, geany.glade:
1326 Add Edit->Insert Alternative White Space menu item (was previously
1327 removed from Edit->Commands submenu).
1330 2010-12-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1332 * src/interface.c, geany.glade:
1333 Split Preferences dialog Interface tab into subnotebook to reduce
1334 height of dialog (fixes #3141277). Reuses existing strings.
1336 Scroll to the current line when moving the cursor to the next
1337 cursor position in a snippet (#3139490).
1338 * doc/geany.txt, doc/geany.html:
1339 Add short 'View menu' section and 'Color schemes menu' section.
1340 * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
1341 Add filetypes_get_display_name() to API.
1344 2010-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1347 Reduce Set Build Commands dialog column 1 width by using '#' label.
1350 Use italic for note labels in the Build Commands dialog.
1353 2010-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1355 * src/build.c, src/build.h:
1356 Replace doc-comments with '/* *' comments to show there's no build
1360 2010-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1362 * src/keybindings.c, src/callbacks.c, src/vte.h, src/main.c:
1363 Fix segfaults when using 'Send Selection to Terminal' and the VTE
1364 is not loaded, and when using Ctrl-A after enabling the 'Load VTE'
1365 pref (patch by Dimitar Zhekov, thanks).
1366 * src/build.c, src/keyfile.c:
1367 Fix some more wrong uses of vte_info.load_vte instead of
1370 Disable 'Send Selection to Terminal' item when not available
1371 instead of removing it to avoid trailing separator.
1372 * doc/geany.txt, doc/geany.html:
1373 Add 'Configuration file paths' section and link to it instead of
1374 repeating typical system data and user config directory paths.
1375 List 2 Tools->Configuration Files menu items.
1376 Add 'Plugin Manager' section break.
1377 Edit some related sections.
1378 * doc/geany.txt, doc/geany.html:
1379 Update Ignore Tags section with example and menu item.
1380 * doc/geany.txt, doc/geany.html:
1381 List 'Tools->Configuration Files->filetypes.common' menu item.
1384 2010-12-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1387 Improve error message for document_save_file() if doc->file_name is
1388 NULL (reusing existing strings).
1389 Add warning about this in the API docs.
1392 2010-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1394 * scintilla/ScintillaGTK.cxx:
1395 Backport Scintilla HG fix: Remove styling idle in destructor to
1396 avoid crashing when idle called after ScintillaGTK instance
1397 destroyed (fixes #3111058).
1398 This prevents a crash when closing a modified document (usually
1399 without a trailing newline) and choosing Save.
1402 2010-12-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1405 Warn about file truncation if unsafe file saving fails.
1408 2010-11-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1411 Check result of fclose() for utils_write_file().
1414 2010-11-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1417 Enable GIO and built-in regex support on Windows
1418 when compiling without Waf.
1421 2010-11-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1424 Reformat and improve the Windows resource file.
1427 2010-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1429 * data/filetype_extensions.conf:
1430 Add *.latex pattern.
1431 * src/interface.c, geany.glade:
1432 Add note to indentation prefs page about using Project->Apply
1433 Default Indentation for currently open documents.
1436 2010-11-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1438 * src/interface.c, src/keybindings.c, src/callbacks.c,
1439 src/callbacks.h, geany.glade:
1440 Add 'Mark All' Search menu command.
1441 * src/symbols.c, doc/geany.txt, doc/geany.html:
1442 If the current word's tag is on the current line, make Go to Tag
1443 Definition look for a tag declaration instead, as this is more
1444 useful. Likewise make Go to Tag Declaration search for a tag
1445 definition in this case also.
1446 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
1447 Don't use 'Enable' in pref labels when unnecessary.
1448 Rename XML/HTML tag autocompletion -> auto-closing.
1449 * src/keyfile.c, src/document.c, src/document.h, doc/geany.txt,
1451 Add gio_unsafe_save_backup hidden pref (patch by Lex Trotman,
1453 * src/keybindings.c, src/editor.c, src/editor.h:
1454 Add editor_get_prefs() instead of editor_get_long_line_*()
1455 functions. This general function can be extended to support
1456 various project and document overrides.
1457 * src/keybindings.c, src/project.c, src/prefs.c, src/keyfile.c,
1458 src/editor.c, src/editor.h:
1459 Remove unnecessary 'global' from long line editor pref field names.
1462 2010-11-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1464 * doc/geany.txt, doc/geany.html:
1465 Explain how to grep the source for Scintilla lexer properties.
1466 * src/sidebar.c, src/callbacks.c, src/main.c:
1467 Fix auto-displaying of sidebar tab bar when sidebar is reshown.
1468 Only auto-display symbols and documents tabs when showing the
1469 sidebar if there are no plugin tabs.
1470 Don't hide the sidebar on startup if only plugin tabs are visible
1473 Make GEANY_API_VERSION, GEANY_ABI_VERSION macros instead of enums
1474 so you can protect code with '#if GEANY_API_VERSION >= 200'.
1476 Warn about preprocessor testing GEANY_API_VERSION below 200 because
1477 those tests will always fail.
1480 2010-11-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1482 * data/filetypes.xml:
1483 Add 'instanceof' keyword for PHP (closes #3109330).
1486 2010-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1488 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
1489 Re-focus Set Build Commands/Project dialogs after editing a build
1491 Add 'parent' argument to some dialogs_show_input*() functions because
1492 the dialog parent may not always be the main window.
1493 * src/build.c, src/dialogs.c, src/callbacks.c:
1494 Don't change default build command entry color when cancelling
1496 Make dialogs_show_input() return NULL when cancelled.
1498 Parse PHP final functions (fixes #3111171).
1499 * src/dialogs.c, src/plugindata.h, src/plugins.c,
1500 plugins/geanyfunctions.h:
1501 Add dialogs_show_input() to API.
1504 2010-11-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1506 * src/build.c, doc/geany.txt, doc/geany.html:
1507 Change 'Non-Filetype Commands' to 'Independent Commands' in the Set
1508 Build Commands dialog.
1509 * doc/geany.txt, doc/geany.html:
1510 Use 'Filetype build commands' and 'Independent build commands'.
1511 Fix saying project *independent* execute can only be set by hand.
1514 2010-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1516 * src/keybindings.c, src/editor.c, src/editor.h:
1517 Make Reflow Lines/Block command use the current indented block, not
1518 the whole paragraph, which could have mixed indentation.
1519 Fix memory leak and off-by-one bug on first line when using Select
1521 * src/utils.c, src/highlighting.c, src/highlighting.h,
1522 src/plugindata.h, src/plugins.c, src/editor.c, src/editor.h,
1523 plugins/geanyfunctions.h:
1524 Add API functions (patch by Eugene Arshinov, thanks):
1525 Move editor.c: is_{string,comment,code}_style() functions to
1526 highlighting.c, add to API.
1527 Add editor_find_snippet(), editor_insert_snippet(),
1528 utils_find_open_xml_tag() to API.
1531 2010-11-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1533 * src/editor.c, doc/geany.txt, doc/geany.html:
1534 Don't use XML tag auto-indentation when '</' is to the right of the
1535 cursor; allow auto-indentation when XML tag auto-closing is also
1537 * doc/geany.txt, doc/geany.html:
1538 Rename 'Format' section 'Filetype configuration'.
1541 2010-11-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1544 Update Waf to current SVN version.
1547 2010-11-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1550 Update Waf to version 1.6.1.
1551 Update wscript for new Waf version, make it Python 3 compatible.
1554 2010-11-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1557 Display better error messages when saving a document fails (patch by
1558 Dimitar Zhekov, thanks).
1560 Fix wrong snippet indentation when original cursor line has
1561 non-indentation whitespace (patch by david, thanks).
1562 * doc/geany.txt, doc/geany.html, data/filetypes.php,
1563 data/filetypes.docbook, data/filetypes.xml, data/filetypes.html:
1564 Enable XML tag autoindentation for PHP, Docbook and add docs for
1565 this setting (patch by Eugene Arshinov, thanks).
1568 2010-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1570 * src/templates.c, src/document.c:
1571 Use LF line endings for templates internally instead of default
1572 pref because the default can change. This fixes missing line
1573 endings sometimes when changing default setting.
1575 Fix not reporting an error message when saving a document fails.
1576 Check result of fclose().
1577 * src/filetypesprivate.h, src/filetypes.c, src/editor.c,
1578 data/filetypes.xml, data/filetypes.html:
1579 Add xml_indent_tags filetype setting for documents using the
1580 HTML/XML lexers (patch by Eugene Arshinov, thanks).
1582 Set errno to 0 before doing disk I/O to prevent confusing error
1583 messages on save failure.
1586 2010-11-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1588 * src/templates.c, src/filetypes.c:
1589 Save build commands for filetype None (patch by Lex, thanks).
1590 Make filetypes_get_conf_extension() return "common" for filetype
1593 Convert line endings for file templates.
1594 Fix line endings when using file header template in a file template
1596 * src/utils.c, src/utils.h:
1597 Make utils_ensure_same_eol_characters() convert all wrong line
1598 endings to the desired one, not just the most common one.
1601 2010-11-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1604 Respect 'Smart' home key for Shift+Alt+Home (patch by Dimitar
1606 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1607 Restore top-level editor popup item 'Find Document Usage'.
1608 * src/interface.c, src/ui_utils.c, geany.glade:
1609 Remove duplicates in 'Insert Comments' editor popup menu; rename
1611 Separate main menu insertion comments depending on number of times
1613 * data/filetypes.*, data/colorschemes/alt.conf:
1614 Rename word/word2 named styles to keyword/keyword2.
1615 * doc/geany.txt, doc/geany.html:
1616 Mention that indentation settings can be overridden per-project.
1617 * src/interface.c, src/callbacks.c, src/callbacks.h, src/document.c,
1618 doc/geany.txt, doc/geany.html, geany.glade:
1619 Add 'Project->Apply Default Indentation' menu command to override
1620 every document's indentation settings.
1621 Improve 'Indentation' section docs.
1624 2010-11-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1627 Fix build with GTK 2.12: explicitly include gio.h if GIO
1628 is available and to be used regardless of the USE_GIO_FILEMON flag.
1630 Fix installation of template files.
1631 Show which regex implementation is used.
1633 Use non-GIO mime-type icon lookup if GIO lookup fails.
1635 Allow skipping configure during autogen by setting NOCONFIGURE=1
1636 (thanks to Chow Loong Jin).
1639 2010-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1642 Make use_safe_file_saving hidden pref apply even when GIO is
1643 available, because g_file_replace_contents() doesn't handle disk
1646 Show GIO/built-in regex support in startup debug message as well as
1648 * doc/geany.txt, doc/geany.html:
1649 Add docs for the HTMLChars plugin (patch by Frank).
1652 2010-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1655 Do not translate 'name' field for filetype None because it is used
1656 for hash table lookup. This fixes missing files in the Open dialog
1657 for the 'All files' filter with non-English locales (thanks to Sardem
1658 FF7, fixes #3094771).
1659 * src/filetypes.c, src/filetypes.h, src/document.c, src/symbols.c,
1661 Add filetypes_get_display_name() to get translations for filetype
1664 Fix resource leak when saving files with GIO (patch by Colomban
1668 2010-11-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1670 * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
1671 Add sci_get_lexer() to plugin API.
1672 * plugins/htmlchars.c:
1673 Only automatically replace characters when the current document is
1675 * plugins/htmlchars.c:
1676 Rename submenu item labels to be more descriptive.
1677 * src/keybindings.c:
1678 Fix Alt+[0-9] switching tabs when other modifiers are also held.
1680 Don't allow pasting of numbers followed by other characters in the
1681 Go to Line dialog/field (patch by Dimitar Zhekov, thanks).
1683 Print "GIO" and "built-in regex" if enabled with --version.
1685 Use g_file_replace_contents() if available to save documents - this
1686 should help workaround bugs in GVFS (based on patch by Alexey
1690 Fix wrongly adding newlines for templates on disk that don't have
1691 LF line endings when default line endings are not LF, e.g. Windows.
1694 2010-11-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1696 * src/utils.c, src/main.c:
1697 Remove trailing directory separator for app->datadir and
1698 app->docdir for consistency with the other directory fields.
1700 Detect user and system filetype configuration files as Conf
1703 Respect 'Smart' home key for Shift+Home (fixes #3100290).
1706 2010-11-01 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1708 * data/filetypes.ada:
1709 Fix comments for Ada. Thanks to Jonas Baggett for reporting.
1712 2010-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1715 Add install-data-only target to only install data/* to speed up
1718 Fix not autocompleting when breaking lines.
1719 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
1720 data/colorschemes/alt.conf, data/filetypes.haxe,
1721 data/filetypes.common, data/filetypes.glsl,
1722 data/filetypes.actionscript, data/filetypes.cs,
1723 data/filetypes.ferite, data/filetypes.c, data/filetypes.javascript,
1724 data/filetypes.Genie.conf:
1725 Add named style 'extra', use for C-like filetypes.
1728 2010-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1730 * data/filetypes.xml:
1731 Match data-* and aria-* as HTML attributes.
1732 * data/colorschemes/alt.conf, data/filetypes.common,
1733 data/filetypes.python:
1734 Make Python use named styles for color scheme support - use
1735 alt.conf color scheme if you want the old colors.
1736 Add named style 'function'.
1738 Move plugin_set_info prototype and parenthesize arguments for
1739 PLUGIN_SET_TRANSLATABLE_INFO (based on patch by Colomban Wendling,
1741 Fix putting pointer symbol before name, not after type.
1744 2010-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1746 * src/filetypes.c, src/ui_utils.c:
1747 Fix notebook tab menu icons using theme for "text/plain" filetypes.
1748 Make filetype mime_type "text/plain" instead of NULL.
1751 2010-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1753 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
1754 Edit XML tag autocompletion pref and tooltip to include HTML.
1755 * doc/geany.txt, doc/geany.html:
1756 Add docs for 'Ensure consistent line endings' pref.
1758 Change default for 'Override Geany keybindings' to on.
1760 Sort filetypes_by_title last instead of on insertion to prevent
1762 * src/ui_utils.h, src/filetypes.c, src/filetypes.h, src/ui_utils.c:
1763 Add filetype mimetype field (patch by Colomban Wendling, thanks).
1764 * src/sidebar.c, src/document.c:
1765 Show mimetype icon in sidebar Documents list (patch by Colomban
1768 Add notebook tab document icons (based on patch by Colomban
1771 Leave text/plain mime_type fields as NULL (like custom filetypes).
1774 2010-10-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1776 * src/editor.c, data/snippets.conf:
1777 Move HTML automatic <table> tag completion into a 'table' snippet
1778 so the user can decide when to use it (patch by Eugene Arshinov,
1780 * src/interface.c, src/prefs.c, src/about.c, src/keyfile.c,
1781 src/document.c, src/document.h, THANKS, geany.glade:
1782 Add 'Ensure consistent line endings' file saving pref (patch by
1783 Manuel Bua, thanks).
1784 * src/utils.c, src/utils.h, src/editor.c:
1785 Auto-indent after an HTML/XML line with a missing closing tag (patch
1786 by Eugene Arshinov, thanks).
1787 Behaviour only applies if XML tag autoclosing is off.
1788 * src/templates.c, src/build.c, src/document.c, src/editor.c,
1789 src/symbols.c, plugins/saveactions.c:
1790 Remove unnecessary uses of FILETYPE_ID() macro with
1791 GeanyDocument::file_type.
1792 * data/filetypes.xml:
1793 Add HTML5 attributes (thanks to Ross McKay).
1796 2010-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1799 Fix not changing edited keybindings when cancelling the Preferences
1801 * data/filetypes.xml:
1802 Add HTML5 element names (thanks to Ross McKay).
1805 2010-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1807 * src/utils.c, src/filetypes.c:
1808 Remove filetype default extensions from code.
1810 Allow 'Foo=' in filetype_extensions.conf to remove all patterns.
1812 Refactor shared code with kb_cell_edited_cb().
1815 2010-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1817 * src/highlighting.c:
1818 Use radio buttons for View->Editor->Color Schemes menu.
1819 Don't hide the menu when only the default item is available.
1820 * data/colorschemes, data/colorschemes/alt.conf, wscript, Makefile.am:
1821 Add alternative color scheme based on Python colors.
1822 * scintilla/LexErlang.cxx, scintilla/makefile.win32,
1823 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1824 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1825 data/filetype_extensions.conf, data/filetypes.erlang, wscript:
1826 Add Erlang filetype (patch by Taylor Venable, thanks).
1827 * src/filetypes.c, data/filetypes.*:
1828 Move filetype 'extension' default into data files.
1829 * src/filetypes.c, data/filetypes.vala:
1830 Move filetype comment_{open,close} defaults into data files.
1833 2010-10-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1835 * data/filetypes.c, data/filetypes.d:
1836 Add missing C99 keyword 'restrict' (#3046716).
1837 Add missing D1 keywords 'ref' and 'macro'.
1840 Parse Vala functions with contracts (#3080232).
1842 Fix saving project indent prefs straight after using project
1844 * src/highlighting.c, src/filetypes.c:
1845 Prevent debug message about a missing 'default' named style when
1846 using just a user color scheme file.
1849 2010-10-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1852 Fix off-by-one bug in 'search_mark_all'.
1855 2010-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1858 Ignore D /+ +/ comments.
1860 Ignore D unittest blocks.
1861 Parse D template functions with constraints.
1862 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1863 Add 'Insert New Line Before/After Current' keybindings (based on
1864 patch by Eugene Arshinov, thanks).
1866 Use secondary text for 'file not found on disk' dialog.
1869 2010-10-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1872 Fix build with GLib 2.8.
1875 2010-10-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1877 * src/ui_utils.h, src/socket.c, src/Makefile.am, src/ui_utils.c,
1878 configure.ac, doc/geany.txt, doc/geany.html, wscript, TODO:
1879 Revert X11 workspace socket support as it needs more work; moved
1880 to workspace-sockets branch.
1883 2010-10-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1885 * src/geanywraplabel.c:
1886 Fix build with GLib 2.8.
1887 * src/dialogs.c, src/about.c, THANKS:
1888 Group Open dialog encoding options by submenus (patch by Adam Ples,
1890 * scintilla/LexLisp.cxx, scintilla/makefile.win32,
1891 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1892 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1893 data/filetype_extensions.conf, data/filetypes.lisp, wscript:
1894 Add Lisp filetype (patch by Mário Silva, thanks).
1895 Note: Lisp lexer was taken from Scintilla instead.
1898 2010-10-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1900 * po/kk.po, THANKS, src/about.c:
1901 Added Kazakh translation. Thanks to Baurzhan Muftakhidinov for
1905 2010-10-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1907 * src/utils.c, src/utils.h, src/highlighting.c, src/editor.c:
1908 Don't cache overridden lexer properties.
1909 Add foreach_strv() to plugin API.
1910 Add utils_strv_join().
1911 * tagmanager/basic.c:
1912 Parse property, constructor, destructor as functions (patch by
1913 pottersson, thanks; #2992167).
1916 2010-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1918 * src/tools.c, doc/geany.txt, doc/geany.html:
1919 Fix passing quoted arguments when using 'Send Selection to'. This
1920 means sed 's/\./(dot)/g' now works.
1922 Add snippet keybinding support for keys in user snippets.conf (based
1923 on patch by Eugene Arshinov, thanks). No docs yet.
1924 * doc/geany.txt, doc/geany.html:
1925 Add some subheadings for Snippets section.
1926 * doc/geany.txt, doc/geany.html:
1927 Add snippet keybindings docs.
1928 * src/highlighting.c, src/utils.h:
1929 Move foreach_strv to utils.h.
1930 * src/editor.c, data/snippets.conf:
1931 Read snippet keybindings from system keyfile also.
1932 Add keybinding example to default snippet.conf.
1935 2010-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1937 * src/utils.h, src/filetypesprivate.h, src/filetypes.c,
1938 src/filetypes.h, src/document.c, doc/geany.txt, doc/geany.html,
1939 data/filetypes.txt2tags, data/filetypes.markdown,
1940 data/filetypes.restructuredtext:
1941 Add symbol_list_sort_mode per-filetype setting, set to sort by line
1942 number by default for Markdown, reStructuredText and Txt2Tags.
1943 Add utils_get_setting() macro for reading a key from a home or
1945 Move GeanyFiletypePrivate to filetypesprivate.h.
1946 * src/Makefile.am, src/ui_utils.c, configure.ac, wscript:
1947 Link with X11 if found to fix linking with a recent GNU ld.
1949 Avoid delay and redrawing when automatically opening a new document
1951 * scintilla/LexForth.cxx, scintilla/makefile.win32,
1952 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1953 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1954 data/filetypes.forth, data/filetype_extensions.conf, wscript:
1955 Add Forth filetype (patch by Thomas Huth, thanks).
1957 Remove unnecessary 'fix' from r5224 as it breaks configuring custom
1958 commands for 'Send Selection to' (oops).
1961 2010-09-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1964 When commenting/uncommenting with single-line comment characters,
1965 ignore any end of line characters before evaluating the current line.
1966 * data/filetypes.python:
1967 Simplify Python Compile/Syntax Check command.
1970 2010-09-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1972 * src/keyfile.c, src/search.c, src/search.h, doc/geany.txt,
1974 Add hidden pref 'find_selection_type' with option to repeat last
1975 search when there's no selection.
1976 Change default Find Selection behaviour to not let the X selection
1977 override the current word (can be confusing).
1978 Add docs for Find Selection commands.
1980 Fix segfault on idle callback when quitting.
1981 * src/interface.c, src/keybindings.c, geany.glade:
1982 Move 'Edit->Commands->Insert Alternative White Space' to editor popup
1984 * src/interface.c, geany.glade:
1985 Move editor popup menu Insert Comments submenu to top of Insert menu.
1986 * src/ui_utils.h, src/document.c, src/ui_utils.c, doc/geany.txt,
1988 Add hidden pref new_document_after_close for whether to open a new
1989 document automatically, off by default.
1991 Add 'Bugs to watch out for' section.
1994 2010-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1996 * src/stash.c, doc/Makefile.am, doc/stash-example.c,
1997 doc/stash-gui-example.c:
1998 Improve Stash GUI example.
2001 2010-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2003 * src/interface.c, geany.glade:
2004 Move Go to Marker menu items to Search menu.
2005 Rename popup editor menu item Commands -> Edit.
2006 * src/callbacks.c, src/search.c, src/search.h:
2007 Move find_again() to search.c.
2009 Make Find Selected commands repeat the last search if the selection
2011 * doc/geany.txt, doc/geany.html:
2012 Add docs for Find Selection keybindings.
2013 * src/interface.c, src/keybindings.c, geany.glade:
2014 Unify Find Selection strings.
2015 * src/interface.c, src/ui_utils.c, geany.glade:
2016 Group editor popup Insert commands in a submenu, with extra items
2017 for the most commonly used Insert Comments commands.
2018 Show Edit->Commands before Format in menubar Edit menu (to match
2020 Show Open Selected F_ile popup item below submenus.
2023 2010-09-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2026 Refactor shared submenu code with GeanySharedMenu array.
2027 * src/interface.c, src/ui_utils.c, geany.glade:
2028 Add Search submenu for Find Selected, Find Usage, Go to Tag items,
2029 shared with the editor popup menu.
2031 Open a new document automatically after closing all documents.
2034 2010-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2037 Prompt for reloading if the document has an undo stack to avoid
2038 losing undo ability on accidental reloading (patch by Colomban
2040 * src/project.c, src/geanyobject.c, src/geanyobject.h,
2041 doc/pluginsignals.c:
2042 Add plugin signals project-dialog-create and
2043 project-dialog-confirmed so plugins can append a Project Properties
2044 notebook tab (patch by Jiří Techet, thanks).
2045 * src/ui_utils.h, src/plugindata.h, src/main.c:
2046 Add main_widgets.project_menu to API (patch by Jiří Techet, thanks).
2047 * src/plugindata.h, src/msgwindow.c, src/msgwindow.h, src/search.c,
2048 src/plugins.c, plugins/geanyfunctions.h:
2049 Add msgwin_set_messages_dir() to API (patch by Jiří Techet, thanks).
2052 2010-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2055 Save document indent width with the session.
2056 * src/ui_utils.h, src/socket.c, src/ui_utils.c, doc/geany.txt,
2057 doc/geany.html, TODO:
2058 Use a separate socket per workspace on X (patch by Erik de Castro
2062 2010-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2065 Ignore directories passed on the command-line (based on patch by
2066 Erik de Castro Lopo, thanks).
2068 Parse D function template names.
2069 * src/interface.c, src/callbacks.c, src/callbacks.h, src/keyfile.c,
2070 src/document.c, src/editor.c, src/editor.h, src/ui_utils.c,
2072 Allow per-document indent width setting (patch by Jiří Techet,
2073 updated by Erik de Castro Lopo - thanks).
2074 * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
2075 Combine indent width menu item callbacks.
2076 * src/interface.c, geany.glade:
2077 Don't translate indent width menu items as they are now used for
2081 2010-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2083 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
2084 Remove 3 popup menu items to save space:
2085 Find Document Usage because Find Usage can be used instead.
2086 Go to Tag Declaration because Go to Tag Definition is more common.
2087 Go to Line because the toolbar item can be used instead.
2088 * src/tools.c, src/search.c, tagmanager/python.c:
2089 Fix some 'possible' NULL pointer dereferences (based on patch by
2090 Erik de Castro Lopo).
2091 * src/keybindings.c, src/keybindings.h, src/prefs.c:
2092 Simplify keybindings_check_event().
2095 2010-09-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2098 Use up/down icons for Previous/Next Error.
2099 * src/interface.c, src/keybindings.c, src/callbacks.c,
2100 src/callbacks.h, src/ui_utils.c, doc/geany.txt, doc/geany.html,
2102 Add Find Usage and Go to Tag items to Search menu for easier
2104 * tagmanager/tm_symbol.c:
2105 Fix possible NULL dereference.
2107 Add link to glade-2.12.2.tar.gz on geany.org.
2108 * doc/geany.txt, doc/geany.html:
2109 Mention the filetype wordchars setting can be overridden by the
2110 whitespace_chars filetypes.common setting.
2111 * src/highlighting.c, src/encodings.c, tagmanager/tm_file_entry.c:
2112 Remove NULL checks when calling g_free() (patch by Erik de Castro
2115 Show Save As when saving if the document filename doesn't have an
2116 absolute path, so command-line new files can be saved without a
2117 prompt, but file templates still prompt the user.
2120 2010-09-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2123 Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the
2127 2010-09-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2129 * src/ui_utils.h, src/msgwindow.c, src/msgwindow.h, src/main.c:
2130 Add GeanyMainWidgets::message_window_notebook for plugins to append
2131 a new notebook page (#3061342).
2133 Add Close button to the detected file changed dialog.
2134 * src/interface.c, geany.glade:
2135 Add separator between Find Previous and Find in Files.
2136 Add up/down icons for Previous/Next Message.
2139 2010-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2141 * data/snippets.conf:
2142 Add dummy entry for "do" snippet for Haskell to explicitly avoid the
2146 2010-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2149 Fix broken editing of build menu labels.
2150 * src/encodings.c, src/filetypes.c, configure.ac:
2151 Auto-enable building with included regex if no regcomp function is
2153 Remove checks for HAVE_REGCOMP in Geany source (not TagManager) -
2154 regex support is required.
2155 * tagmanager/make.c:
2156 Backport fix for possible infinite loop from CTags.
2157 * scintilla/PlatGTK.cxx:
2158 Backport list box memory leak fixes from Scintilla 2.20.
2161 2010-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2164 Make the Properties dialog filename a label and put it first (patch
2165 by Jiří Techet, thanks).
2166 * src/build.c, src/build.h, src/project.c, doc/geany.txt,
2168 Remove the "Set build working directories" button from the project
2169 properties dialog (patch by Jiří Techet, thanks).
2171 Include all files if the Find in Files pattern field is enabled and
2174 Rename Matlab -> Matlab/Octave. Datafile name remains the same.
2177 2010-08-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2179 * scintilla/LexTxt2tags.cxx, scintilla/makefile.win32,
2180 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
2181 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
2182 data/filetypes.txt2tags, wscript:
2183 Add lexer for Txt2Tags (patch by Forgeot Eric, thanks - #3020632).
2184 * m4, configure.ac, Makefile.am:
2185 Use AC_CONFIG_MACRO_DIR (patch by Erik de Castro Lopo, thanks).
2187 Only prompt for reloading if the document has unsaved changes
2188 (patch by Jiří Techet, thanks).
2191 2010-08-21 Frank Lanitz <frank@frank.uvena.de>
2194 Apply a patch by Jiří Techet which is preventing warnings when using
2195 -Wmissing-prototypes on compiling. Thanks.
2198 2010-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2200 * scintilla/KeyWords.cxx:
2201 Link Octave instead of Matlab.
2202 Add comment about not being autogenerated.
2203 Minor changes to fit Scintilla order.
2204 * src/build.c, src/build.h:
2205 Replace GeanyBuildCommand::entries array with separate fields.
2206 Similar to r5077 in the bs2 branch, but with less loop unrolling.
2208 Remove buildcmd_* accessor functions.
2211 2010-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2213 * src/highlighting.c, src/editor.c:
2214 Use Octave lexer instead of Matlab to support Octave # comment char.
2217 2010-08-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2220 Fix segfault on Tools->Reload Configuration when no documents are
2222 * scintilla/LexMarkdown.cxx:
2223 Fix infinite loop in Markdown lexer (patch by Colomban Wendling,
2226 Fix saving non-project filetype error regex.
2228 Fix memory leak in read_regex().
2231 2010-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2234 Check for libsocket on OpenSolaris to fix build.
2236 Rewrite the logic to auto detect encodings a bit to make it more
2237 readable and fix a slightly wrong detection on Windows
2239 * plugins/geanyfunctions.h, src/editor.c, src/plugindata.h,
2241 Add editor_goto_pos() to the plugin API.
2244 2010-08-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2247 Check for git-svn repo, not just git because find-rev doesn't
2248 always fail with a git-only repo.
2251 2010-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2254 Fix a memory leak based on input by Daniel Marjamäki. Thanks.
2257 2010-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2259 * doc/geany.txt, doc/geany.html:
2260 Reorder Focus keybindings.
2263 2010-08-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2266 Applying a patch by Erik de Castro Lopo for checking against
2267 pkg-config when running autogen.sh. Thanks for the patch.
2269 Applying a patch by Colomban Wendling to print out log domains.
2273 2010-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2275 * src/keybindings.c, src/keybindings.h, src/prefs.c, src/plugindata.h:
2276 Use single binding_ids keybinding array instead of individual
2277 arrays for core keybindings. This allows the keybinding IDs to be
2278 merged into one enum; the order of keybindings is now just the
2279 order they are added to each group. Keybindings can be reordered
2280 without breaking the plugin ABI but groups must stay the same.
2282 Fix writing the default value when a key is missing for hidden
2283 prefs, even if it was overridden when it was originally read.
2284 * src/keyfile.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2285 Move some interface hidden prefs to ui_utils.c.
2287 Revert r4840 scope completion mode as it sometimes breaks
2289 * src/keybindings.h, src/plugindata.h:
2290 Randomly sort keybinding IDs to show there should be no order.
2291 * src/keybindings.c:
2292 Reorder Focus keybindings.
2295 2010-08-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2297 * src/ui_utils.c, src/ui_utils.h:
2298 Make ui_label_new_bold() a function.
2299 Escape the name of the current document for markup when using
2300 document name for menu items (closes #3038844).
2302 Inherit 'beep on errors' preference for the audible bell preference
2303 for the VTE (closes #3038215).
2306 2010-08-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2308 * src/utils.c, src/utils.h:
2309 Add utils_get_eol_char().
2310 * plugins/geanyfunctions.h, src/document.c, src/editor.c, src/editor.h,
2311 src/plugindata.h, src/plugins.c, src/templates.c, src/utils.c,
2313 Ensure inserted templates always have proper line ending characters
2314 according to the current document's preference.
2315 This is also fixes problems with templates on Windows which had
2316 always Unix line ending characters but now since they are read
2317 from files, these have Windows line ending characters and had been
2321 2010-07-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2324 Fix build with GTK 2.8, use the stock icon name directly instead
2325 of the macro. Though, the icon is still missing for GTK 2.8.
2327 Make make_comment_block() work with a GString. This is not yet
2328 perfect but a bit better than before.
2331 2010-07-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2333 * src/keybindings.c, src/vte.c, src/vte.h:
2334 Implement 'Select All' for the VTE widget.
2337 2010-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2340 Fix missing template files in the Windows installer.
2343 2010-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2345 * data/filetypes.python:
2346 Update list of Python builtins, based on Python 2.6.
2349 2010-07-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2352 On Windows, convert filetype extensions read from config files
2353 to lower case (closes #3028856).
2356 2010-07-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2358 * src/keybindings.c:
2359 Focus toolbar item when pressing Go to Line keybinding only when
2360 it's not in the toolbar's drop down overflow menu (fixes #3027454).
2363 2010-07-11 Lex Trotman <elextr(at)gmail(dot)com>
2366 Fix build menu translation problems.
2369 2010-07-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2372 Fix './waf install'.
2375 2010-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2378 Fix scrolling the editor line in view after loading a session and
2379 switching document tabs. Note this causes repainting so needs
2381 * doc/geany.txt, doc/geany.html:
2382 Add note to restart Geany after installing/updating before editing
2384 * src/ui_utils.h, src/main.c, src/ui_utils.c:
2385 Use Stash to save statusbar_template setting, instead of the
2386 load/save-settings signal.
2387 Add ui_init_prefs().
2390 2010-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2392 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
2393 Fix writing empty hidden pref "statusbar_template" key so users can
2394 find it (patch by Dimitar Zhekov, thanks).
2395 * src/ui_utils.c, src/ui_utils.h, src/main.c:
2396 Add ui_finalize(), free string (patch by Dimitar Zhekov, thanks).
2399 2010-07-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2401 * src/build.c, src/project.c, src/project.h:
2402 Show the Project Properties build tab when choosing 'Set Build
2403 Commands' for now to prevent confusion with non-project commands.
2406 2010-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2408 * src/search.c, doc/geany.txt, doc/geany.html:
2409 Fix Grep --exclude-dir example.
2412 2010-07-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2415 Add sidebar Documents popup menu item 'Find in Files'.
2416 * src/keyfile.c, src/main.c, src/editor.c:
2417 Don't unnecessarily test G_FILE_TEST_IS_SYMLINK when testing
2418 G_FILE_TEST_IS_REGULAR (patch by Dimitar Zhekov, thanks).
2421 2010-07-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2423 * doc/geany.txt, doc/geany.html:
2424 Fix wording - restarting is required for hidden prefs.
2425 File templates don't need manual reloading anymore.
2427 Fix only adding project base path to Find in Files history if it
2428 isn't already there (oops).
2430 Parse lines in the Messages window even if Find in Files hasn't
2431 been used yet (patch by Jiří Techet, thanks).
2434 2010-07-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2436 * scintilla/LexCPP.cxx, src/highlighting.c:
2437 Add C++ lexer property fold.cpp.comment.explicit (patch sent); set
2439 * src/utils.h, src/highlighting.c, doc/geany.txt, doc/geany.html,
2440 data/filetypes.common:
2441 Add filetypes.common fold_symbol_highlight color setting.
2442 Add API macro foreach_range().
2443 * src/printing.c, doc/geany.txt, doc/geany.html:
2444 Always use white background color when printing (except for text
2445 with a white foreground) to save ink (should fix #2968998).
2446 * src/build.c, src/build.h, doc/geany.txt, doc/geany.html:
2447 Limit build error editor indicators to 50, but parse all errors in
2448 the Compiler tab (fixes #3019823).
2451 2010-06-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2453 * src/highlighting.c:
2454 Re-enable fold.comment for lexers - it was disabled to prevent C
2455 //{ explicit folding, but that also disables stream comment folding
2457 * tagmanager/tm_workspace.c, tagmanager/get.c:
2458 Use g_free instead of free (patch by Daniel Marjamäki, thanks).
2460 Use SCI_SETFIRSTVISIBLELINE for editor_scroll_to_line(). Note this
2461 doesn't affect the bug with document switching not scrolling cursor
2462 in view after loading a session.
2465 2010-06-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2467 * src/ui_utils.c, THANKS, doc/geany.txt, doc/geany.html:
2468 Add statusbar_template hidden pref (based on patch by Dimitar
2470 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
2471 Add spaces after RO when using %r in statusbar_template setting.
2472 Add space between encoding and BOM.
2473 Note \t means tab for default text.
2476 2010-06-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2479 Restore tabbing past Find in Files combo box drop down menus.
2482 2010-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2484 * src/sciwrappers.c, src/plugindata.h, src/pluginutils.c, src/main.c,
2485 doc/pluginsignals.c, doc/pluginsymbols.c, doc/Makefile.am,
2487 Move plugin signals docs to pluginsignals.c, using function
2488 pointer syntax instead of @signaldef as this puts a summary of
2489 the signal names at the top of the page and sorts alphabetically.
2490 (Note: the syntax is similar to Vala signal syntax).
2493 2010-06-24 Lex Trotman <elextr(at)gmail(dot)com>
2496 Make default dialog entries use GTK_STATE_INSENSITIVE color not
2497 a fixed color (Suggestion by Ditmar Zhekov)
2500 2010-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2502 * src/search.c, doc/geany.txt, doc/geany.html:
2503 Implement Find in Files file pattern search.
2505 Add file pattern to combo box history.
2506 * src/dialogs.c, src/vte.c, src/search.c, src/ui_utils.c,
2508 Use ui_hookup_widget() instead of g_object_set_data_full() for
2512 2010-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2515 Add Files checkbox and combo to Find in Files dialog, currently
2516 does nothing & is disabled.
2517 Don't try to focus the next entry on pressing tab anymore as this
2518 is more complicated now.
2521 2010-06-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2524 Put Find in Files Search field above Directory field.
2525 * src/search.c, doc/geany.txt:
2526 Simplify FIF 'Fixed strings, Grep regular expressions, Extended
2527 regular expressions' radio buttons with a 'Use regular expressions'
2528 checkbox. This uses the extended syntax (which is the same as the
2529 Find/Replace regex syntax).
2531 Move 2 Find in Files checkboxes for even spacing.
2534 2010-06-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2536 * tagmanager/tm_work_object.c:
2537 Change of description of tm_get_real_path(). Patch by Dimitar Zhekov.
2541 2010-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2543 * src/ui_utils.h, src/dialogs.c, src/plugindata.h, src/search.c,
2544 src/plugins.c, src/ui_utils.c, plugins/geanyfunctions.h:
2545 Add ui_combo_box_add_to_history() to API.
2546 * plugins/filebrowser.c:
2547 Add history to path entry.
2548 * src/plugindata.h, src/plugins.c, doc/plugins.dox:
2549 Fix not loading plugins built against a newer API when Geany doesn't
2550 provide the required version given in PLUGIN_VERSION_CHECK().
2551 Improve documentation for PLUGIN_VERSION_CHECK().
2552 * plugins/filebrowser.c:
2553 Allow Find in Files when no items are selected.
2554 * src/build.c, src/geanyobject.c, src/geanyobject.h, doc/plugins.dox:
2555 Add API signal "build-start" (patch by Jiří Techet, thanks).
2558 2010-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2561 Replace /home/user with ~ in the documents list (patch by Jon
2564 Make default Build dialog entries grey, not light grey (too hard to
2565 read on a white background).
2567 Display 'new instance' on title bar (patch by Eugene Arshinov,
2570 Remove any duplicate on adding to combo box histories.
2573 2010-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2576 Align notebook tab close buttons centred vertically - thanks to
2578 * Merge unstable branch:
2580 Make build config entries light grey until set.
2581 - src/keybindings.c, src/about.c, THANKS:
2582 Fix the wrong file being put on top of the stack when switching tabs
2583 too quickly (patch from Jiří Techet, thanks).
2584 - src/templates.c, data/templates/gpl, data/templates/function,
2585 data/templates/changelog, data/templates/bsd,
2586 data/templates/fileheader, wscript, Makefile.am:
2587 Move general templates from source code into files.
2588 Load general templates from system path instead of creating them in
2589 the user's config dir.
2592 2010-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2595 Add doc/stash-example.c to fix 'make distcheck'.
2597 Change the RequestExecutionLevel for the Windows installer to
2599 * New release: Geany 0.19 "Vellam".
2600 * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
2601 geany_private.rc, win32-config.h, wscript, src/geany.h:
2602 Post-release version bump.
2605 2010-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2608 Group undo action for Insert Multiline Comment.
2611 2010-06-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2614 Don't individually install data/*.tags as all data/* files will be
2618 2010-06-07 Frank Lanitz <frank@frank.uvena.de>
2620 * tagmanager/tm_project.c:
2621 Fix a double free. (patch by Daniel Marjamaki, thanks).
2624 2010-06-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2626 * tagmanager/tm_workspace.c:
2627 Fix two memory leaks (patch by Daniel Marjamaki, thanks).
2629 Fix reducing paths to project name in the Documents list
2630 (patch by Eugene Arshinov, thanks).
2632 Fix crash when trying to sort NULL pointers as tags in the Symbols
2633 list (closes #3011986).
2634 * NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
2635 Update Scintilla to version 2.12.
2636 * wscript, scintilla/Makefile.am, scintilla/makefile.win32,
2637 scintilla/LexCrontab.cxx:
2638 Remove unused Crontab lexer.
2639 * data/filetypes.css, src/highlighting.c:
2640 Add new style "media" for filetype CSS.
2643 2010-06-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2645 * doc/geany.txt, doc/geany.html:
2646 Build section: minor rewording, formatting fixes; move some
2650 2010-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2653 Explicitly try to localise build menu item labels with
2654 gettext to enforce getting default labels translated.
2655 * tagmanager/tm_workspace.c:
2656 Fix not closed FILE pointer on early exit
2657 (patch by Daniel Marjamaki, thanks).
2659 Update images for Geany 0.19.
2661 Destroy the default symbol list treeview only once
2662 (fixes gtk_widget_destroy warning on exit).
2665 2010-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2667 * tagmanager/sort.c:
2668 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
2670 Fix parsing of C++ classes contain attributes with bitfields
2671 (patch by Lex Trotman, thanks).
2672 * src/plugindata.h, src/plugins.c:
2673 Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
2674 plugins' meta information can be translated already in the
2675 plugin manager dialog (patch by Colomban Wendling, thanks).
2678 2010-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2681 Print locale information in debug output.
2683 Fix some labels which were marked as translatable but were not
2684 handled properly by gettext().
2685 Add a missing const.
2687 Try to convert text into UTF-8 before adding it to the Compiler and
2688 Messages Window (closes #3007919).
2691 2010-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2693 * plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
2695 Pass G_LOG_DOMAIN to source files for better logging.
2698 2010-05-24 Frank Lanitz <frank@frank.uvena.de>
2700 * THANKS, src/about.c:
2701 Update of translation credits to reflect a change on Spanish
2702 translation team better.
2705 2010-05-23 Lex Trotman <elextr.at.gmail.dot.com>
2708 Fix infinite loop reading build command output
2711 2010-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2714 Fix duplicate accelerators for Clear and Copy in the
2715 Messages Window popup menu.
2716 * src/pluginutils.c:
2717 Expand child widgets in the Plugin Preferences dialog
2718 (patch by Colomban Wendling, thanks).
2721 2010-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2724 Fix Undo/Redo button state after the last document has been closed.
2725 Add Print and Replace toolbar items to the list of document
2728 Fix crash when the toolbar is reloaded without any open documents.
2730 Fix Run toolbar item sensitivity after the last document has been
2732 * plugins/classbuilder.c:
2733 Remove two unnecessary g_strdups().
2734 * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
2735 src/plugindata.h, src/ui_utils.h:
2736 Add hidden preference to disable automatic scrolling in the
2737 Compiler tab (closes #3004714).
2740 2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2742 * plugins/classbuilder.c:
2743 Fix a memory leak. (patch by Daniel Marjamaki, thanks)
2746 2010-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2748 * src/prefs.c, src/project.c:
2749 win32.h can be included unconditionally.
2751 Fix project base_path detection if the path has a trailing slash.
2752 * src/document.c, src/editor.c, src/project.c:
2753 Small improvements to speed up quit process with many open documents.
2754 Avoid calling gtk_notebook_remove_page() on exit as it takes
2756 * src/geanymenubuttonaction.c:
2757 Explicitly check for the type when iterating the action's proxies.
2758 For some reason on Windows, a GtkImageMenuItem proxy is created.
2759 * geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
2760 src/plugindata.h, scintilla/*, scintilla/include/*:
2761 Update Scintilla to version 2.11.
2762 * plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
2764 Add new GTK define also for Mingw cross compilation and
2765 makefile.win32 based Windows builds.
2766 * plugins/filebrowser.c:
2767 Implement reading and evaluating hidden file attribute on Windows.
2768 Fix broken "Go Up" if the current path ends with a slash.
2769 * THANKS, src/about.c, src/prefix.c:
2770 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
2771 * geany.glade, src/document.h, src/interface.c, src/keyfile.c,
2772 src/main.c, src/notebook.c, src/prefs.c:
2773 Add preference to add new document tabs beside the current one
2774 (patch by Colomban Wendling, thanks).
2775 * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
2776 src/keyfile.c, src/prefs.c, src/ui_utils.h:
2777 Add a preference for choosing between GTK and native
2778 File Open/Save dialogs (only available on Windows).
2779 * doc/geany.html, doc/geany.txt:
2780 Update documentation.
2783 2010-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2786 Sort file filters for the native Windows file open dialog by name.
2787 Don't use file filters for the native Windows Save As dialog.
2788 * src/dialogs.c, src/win32.c, src/win32.h:
2790 Pass and use also parent and title arguments to
2791 win32_show_document_open_dialog().
2793 Call handle_save_as() only when the Save As dialog was not cancelled.
2795 Improve adding/removing of the special separator between menubar and
2796 toolbar when the toolbar is appended to the menubar.
2797 * src/toolbar.c, src/templates.c:
2798 Explicitly disconnect menus from GeanyMenuButtonAction on quit to
2799 not trigger updating the menus on each item removal.
2802 2010-05-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2805 Replace one non breaking space by normal space. Patch by
2809 2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2811 * plugins/classbuilder.c:
2812 Don't make the 'Create Class' menu item document-sensitive
2813 (patch by Colomban Wendling, thanks).
2814 Add namespace support for GTK+ classes.
2815 Add GET_CLASS() macro for GTK+ classes.
2816 Add typedef of the private structure in the header file instead
2818 (all the above from a patch by Colomban Wendling, thanks).
2819 * src/highlighting.c:
2820 Set common default "fold.comment" to 0 to disable it. This can
2821 be overridden if desired.
2823 Improve sorting of document list items
2824 (patch by Colomban Wendling, thanks).
2826 Remove unnecessary textdomain() call.
2829 2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2832 Fix search_find_text not returning -1 when match is out of range.
2833 This fixes invalid memory reads and wrong template filename
2834 wildcard replacement.
2835 * src/search.c, src/document.c:
2836 Only replace template filename matching start of word on saving.
2837 * plugins/filebrowser.c:
2838 Add 'Refresh' popup menu item (part of geany-plugins #2999858).
2839 * src/build.c, src/build.h, src/project.c:
2840 Make some ugly build.h global variables static.
2841 * src/build.c, src/build.h, src/project.c:
2842 Add Build prefix for TableFields, TableData.
2845 2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2848 Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
2849 * src/dialogs.c, src/win32.c, src/win32.h:
2850 (Re-)Implement a (still basic) native Windows Save As dialog when
2851 compiled with GEANY_USE_WIN32_DIALOG.
2854 2010-05-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2856 * THANKS, src/about.c, plugins/classbuilder.c:
2857 Add support for creating PHP classes (patch by Ondrej Donek, thanks).
2858 * src/ui_utils.h, src/ui_utils.c:
2859 Add public, generic callback ui_editable_insert_text_callback()
2860 to restrict GtkEntry text inputs to +/- and numeric values only.
2861 * src/dialogs.h, src/dialogs.c:
2862 Add special variant dialogs_show_input_goto_line() to use a normal
2863 GtkEntry together with dialogs_show_input_goto_line() for text input.
2864 * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
2865 Allow '+<number' and '-<number>' as values for Goto Line inputs
2866 to jump relative to the current line (closes #2997238).
2869 2010-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2871 * src/highlighting.c:
2872 Apply foreground and background colours of the folding margin
2873 style properly (closes #2998347).
2875 Don't auto-close short XML tags (closes #2994852).
2876 * THANKS, src/about.c, src/keybindings.c:
2877 Improve jumping to matching braces by consistently position the
2878 cursor before or after the matching brace dependent where it
2879 was before (patch by Dimitar Zhekov, thanks).
2881 Fix crash when generating global tags files (patch by Colomban
2885 2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2888 Avoid connecting signals more than once.
2891 2010-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2894 Don't ignore the 'intltool' check on non-Windows systems, instead
2895 raise a configure error.
2898 2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2901 Fix marking some strings as translatable (cannot be done in the
2903 * src/templates.c, doc/geany.txt, doc/geany.html:
2904 Reload templates if saving a document in the templates config dir.
2907 2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2909 * src/search.c, src/search.h, src/document.c, doc/geany.txt,
2911 Fix replacing {filename} template wildcard for custom file
2912 templates with non-default file extension.
2913 Add search_find_text() for POSIX regex searches.
2914 * src/templates.c, doc/geany.txt, doc/geany.html:
2915 Add {project}, {description} template wildcards (#2954737).
2916 * doc/geany.txt, doc/geany.html:
2917 Divide template wildcards into groups.
2918 * src/plugindata.h, src/plugins.c, src/symbols.c,
2919 plugins/geanyfunctions.h:
2920 Add symbols_get_context_separator() to plugin API (patch by Colomban
2924 2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2926 * src/keybindings.c:
2927 Fix setting wrong accelerator for 2 Edit->Commands items (patch by
2928 Anonymous, thanks; #2995593).
2929 * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
2930 plugins/geanyfunctions.h:
2931 Add sci_set_line_indentation(), sci_get_line_indentation() to API
2932 (patch by Colomban Wendling, thanks).
2935 2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2938 Warn user if hidden hard tab width setting is not 8.
2941 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2943 * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
2944 doc/geany.txt, doc/geany.html:
2945 Hide 'Tabs and Spaces: Hard tab width' preference - it should
2946 always be 8. (Hidden setting kept in case users have modified it).
2949 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2951 * doc/geany.txt, doc/geany.html:
2952 Add Folding section link to filetypes.common custom settings.
2955 2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2958 When switching documents, don't call document_set_text_changed()
2959 as this does much more than necessary. Instead call the necessary
2960 UI update functions explicitly.
2963 2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2965 * tagmanager/vstring.c:
2966 Fix invalid memory read (patch by Colomban Wendling, thanks).
2969 2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2971 * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
2972 Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
2973 strings in case of reaching the buffer size limit (part of #2979697).
2975 Change the limit for the command line length when executing commands
2976 to a maximum of 32768 characters (closes #2979697).
2977 Fix broken opening URLs e.g. when using the 'builtin' Run command.
2978 * tagmanager/ctags.c:
2979 Change eFree() to simply ignore NULL pointers instead of asserting.
2981 Remove malloc() fallback since we completely rely on g_malloc()
2983 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
2984 plugins/saveactions.c:
2985 Make string arguments const where appropriate (patch by
2986 Colomban Wendling, thanks).
2987 * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
2988 src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
2989 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
2990 src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
2991 src/symbols.c, src/templates.c, src/ui_utils.c:
2992 Make string arguments const where appropriate (patch by
2993 Colomban Wendling, thanks).
2996 2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2998 * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
2999 Make plugin_signal_connect() string argument const (patch by
3000 Colomban Wendling, thanks).
3001 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
3002 Constify some more string pointers in the API (patch by
3003 Colomban Wendling, thanks).
3004 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
3006 Support {pc} wildcard in snippets to escape percent char.
3008 Recalculate line margin width when zooming (fixes #2990553).
3009 * src/highlighting.c, doc/geany.txt, doc/geany.html,
3010 data/filetypes.common:
3011 Support more folding icon styles: arrows, +/- and no lines
3015 2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3018 Fix Windows build by properly guarding Unix-only code.
3021 2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3023 * src/templates.c, doc/geany.txt, doc/geany.html:
3024 Support {ob} and {cb} in fileheader and file templates; they are
3025 replaced last with { and }. This allows 'escaping' of wildcard
3027 * src/editor.c, plugins/classbuilder.c:
3028 Fix Class Builder plugin to use correct indentation instead of
3030 Make editor_insert_text_block() only replace leading tabs for the
3031 'Tabs' indent type; also group edits for undo.
3032 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
3034 Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
3037 2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3039 * tagmanager/pascal.c:
3040 More fixes to prevent possible crashes by trying to free NULL
3043 Automatically show and hide the sidebar notebook tabs according
3044 to the amount of visible pages (patch by Adrian Dimitrov, thanks).
3046 Add a static global variable to monitor autocompletion mode in order
3047 to prevent cancellation of the struct/class (C/C++) auto completion
3048 list (patch by Thomas Martitz, thanks).
3050 When starting and trying to access the Unix Domain socket of a
3051 potentially running instance, first compare file ownership with the
3052 user id of the running process to prevent accessing a wrong socket
3053 file (part of #2985463, this might not yet be the final solution).
3056 2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3058 * plugins/filebrowser.c:
3059 Synchronize popup menu and plugin preferences dialog 'Show Hidden
3060 Files' option (fixes #2989288).
3063 2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3065 * tagmanager/entry.c, tagmanager/entry.h,
3066 tagmanager/include/tm_source_file.h, tagmanager/parse.c,
3067 tagmanager/parse.h, tagmanager/tm_source_file.c:
3068 Add tm_source_file_set_tag_arglist() to manually set the argument
3070 * tagmanager/python.c:
3071 Use tm_source_file_set_tag_arglist() to set the argument list
3072 field of Python class tags to the argument list of their
3074 Backport a fix from CTags SVN to prevent possible crashes by trying
3075 to free NULL pointers.
3078 2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3080 * tagmanager/txt2tags.c:
3081 Remove duplicate code from Txt2Tags parser.
3082 Remove the title control characters ('=') when parsing titles.
3083 Also parse numbered titles (closes #2984703).
3084 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
3086 Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
3087 Add missing documentation for 'Reset Zoom' keybinding.
3089 Another attempt to fix the PHP parser regexp for parsing functions.
3090 Fix wrong parsing of function arguments when those contain nested
3091 brackets (as reported by Harold Aling).
3093 Fix Ctrl-Click on notebook tab if Numpad is active.
3096 2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3098 * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
3099 src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
3100 src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
3101 src/ui_utils.c, src/ui_utils.h:
3102 Add option 'System Default' for toolbar icon style and size to
3103 use the GTK default value.
3104 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
3105 src/toolbar.c, src/toolbar.h:
3106 Shorten the toolbar popup menu, only provide items for Toolbar
3107 Preferences and to Hide the toolbar.
3109 Instantly update the toolbar icon size and style when the
3110 corresponding global GTK settings are changed.
3111 * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
3112 src/plugindata.h, src/socket.c:
3113 Add new command line option --list-documents to return a list
3114 of currently opened documents (closes #2979933).
3117 2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3119 * plugins/htmlchars.c:
3120 Make plugin remember whether replacement of special characters was
3121 activated even after restart of Geany or reloading of plugin.
3124 2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3127 Fix inserting snippets with an indent when using Mac CR line
3130 Update status bar after using Document->Set Line Endings.
3132 Improve API docs for editor_insert_text_block().
3135 2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3138 Refactor snippets_complete_constructs().
3139 Remove an unnecessary TODO.
3141 Fix indenting a snippet when there is whitespace after the
3145 2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3147 * doc/geany.txt, doc/geany.html:
3149 * src/build.c, src/msgwindow.c:
3150 Fix disabled compiler message tracking if using indicators to
3151 show build errors is disabled (closes #2982834).
3154 2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3156 * scintilla/Editor.cxx:
3157 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
3158 and SCI_GETSELECTIONEND with rectangular selections. This fixes
3159 replacing in a rectangular selection.
3162 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3165 Re-detect any document filetypes set to None after reloading
3166 filetype extensions (closes #2979661).
3168 Fix showing '...' item last instead of first for document word
3172 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3174 * data/filetypes.perl:
3175 Adjust Perl Compile command to use the -c command
3176 line option to perform a syntax check instead of using the
3177 deprecated ByteCompile module.
3178 Add error_regex to parse error messages and warnings when performing
3179 syntax checks on Perl files.
3182 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3184 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
3185 Add API docs for keybinding enums.
3186 * src/notebook.c, doc/geany.txt, doc/geany.html:
3187 Make Ctrl-click on any notebook tab switch to the last used
3191 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3193 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
3194 src/geanyentryaction.c, src/geanyentryaction.h,
3195 src/geanywraplabel.c:
3196 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
3197 object for efficiency.
3200 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3202 * plugins/classbuilder.c:
3203 Beep if the user hasn't entered a class name on pressing OK.
3205 Fix replacing '^' regex.
3206 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
3207 plugins/geanyfunctions.h:
3208 Add Stash widget functions to API.
3210 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
3214 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3216 * THANKS, src/vte.c:
3217 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
3219 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
3220 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
3221 plugins/geanyfunctions.h, plugins/geanyplugin.h:
3222 Add Stash setting functions to API.
3223 Remove unnecessary argument to stash_group_load_from_file().
3224 * src/geanyobject.c, plugins/classbuilder.c:
3225 Don't generate FOO_GET_PRIVATE() macro because caching the result
3226 in Foo::priv can be much more efficient.
3229 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3232 Fix cursor positioning when toggling comments
3233 (patch by Thomas Martitz, thanks).
3236 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
3238 * src/keybindings.[hc]:
3239 Added Control+0 for zoom reset, see suggestion from #2969886.
3242 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3244 * src/search.c, src/document.c:
3245 Fix wrong selection range after Replace in Selection.
3248 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3251 Make CreateChildProcess() working with Unicode strings, e.g.
3252 directory names (closes #2972606).
3254 Remove reference to already removed latex.tags file.
3255 Future releases probably still depend on GTK 2.16.
3256 * scintilla/ScintillaGTK.cxx:
3257 Backport fix from Scintilla CVS to not paste text beyond the end
3258 of lines (closes #2969096).
3259 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
3261 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
3262 to not set Geany's minimum window size anymore (closes #2972992).
3263 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
3266 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3269 Make adding string and string vector settings initialise the setting
3271 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
3272 Add stash_group_load_from_file() and stash_group_save_to_file().
3275 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3277 * data/filetypes.common:
3278 Set default for wrapped lines to show marker at end of line only
3279 (more expected and doesn't change line alignment - closes #2972386).
3280 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
3281 src/pluginutils.c, doc/plugins.dox:
3282 Improve API docs contents page by listing all commonly-used files.
3283 Fix 'Date' appearing twice on the date line.
3284 Don't generate API docs for prefs.h, toolbar.h (unused).
3285 Move some '@file' doc-comments to the .c file.
3286 * src/interface.c, geany.glade:
3287 Add frame for 'Printing' prefs dialog page.
3288 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
3289 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
3290 doc/stash-example.c:
3291 Rename Stash data types to be independently named from Geany (so
3292 Stash can be reused for other projects).
3293 Rename GeanyPrefGroup to StashGroup.
3296 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3298 * tagmanager/python.c:
3299 Apply patch from Colomban Wendling to parse Python lambda functions
3300 (thanks) - modified to only parse toplevel or class member lambdas.
3301 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
3302 doc/stash-example.c:
3303 Add doc-comments for Stash setting functions.
3304 Add an example file showing usage of Stash.
3305 (Not enabled yet until added to the plugin API).
3308 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
3311 Fix using return value without checking return status, caused
3312 incorrect sensitivity settings on build dialog.
3315 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3318 Add tip about gcc optimization & warnings/debugging.
3319 Add Testing section.
3320 Update Libraries section about synchronizing with other projects.
3323 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3326 For now revert the recent patch which set real_path of newly
3327 open non-existent configuration files as this seems hackish and
3328 causes 'file not found' warnings.
3330 Fix/Improve GIT repository detection
3331 (patch by Thomas Martitz, thanks).
3332 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
3334 Add utils_copy_environment() to the plugin API.
3337 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3339 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
3340 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
3342 Use 3rd person for more API dox.
3343 Change 'This is a wrapper function for...' to 'Wraps...' in brief
3345 Change 'After all...' to 'Afterwards...'.
3346 * src/interface.c, geany.glade:
3347 Apply patch from Eugene Arshinov to make frame packing/alignment
3348 more consistent (thanks).
3351 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3354 Fix ui_button_new_with_image() to call gtk_button_set_image() so
3355 that gtk_button_[sg]et_label() work as expected.
3356 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
3357 Make Build Commands dialog show menu item labels as a button (to
3358 help show that menu labels don't normally need to be edited &
3359 display the mnemonic correctly). Clicking shows an input dialog to
3360 set a new menu item label.
3361 Split dialogs_show_input() into 2 functions: one simple, one for
3362 a persistent dialog.
3363 Fix possible double-destroy of input dialog when closed by user.
3365 Fix not destroying 'Make Custom Target' input dialog after first
3368 Make Long Line Marker settings for existing projects default to
3369 general settings instead of 0 (thanks to Eugene Arshinov).
3370 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
3371 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
3372 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
3373 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
3374 Use 3rd person (gets not get) for API function brief descriptions.
3375 Avoid using 'convenience function' in API brief descriptions.
3378 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3380 * doc/geany.txt, doc/geany.html:
3381 Warn about some GNU extensions for regular expressions & clarify
3383 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
3384 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
3385 src/editor.h, geany.glade:
3386 Apply patch from Eugene Arshinov to add project long line marker
3387 customisation (thanks).
3388 * src/interface.c, geany.glade:
3389 Edit/tidy 'Long line marker' labels.
3392 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
3394 * src/build.c, src/project.c:
3395 Fix crash due to NULL in project build preferences (thanks to
3399 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3401 * src/utils.c, src/utils.h, src/search.c, src/search.h,
3402 src/document.c, doc/geany.txt, doc/geany.html:
3403 Merge gnu-regex branch:
3404 Use POSIX system/GNU regex engine for find & replace 'Use regular
3405 expressions' option. This alters regex syntax a bit - see the docs
3406 for details; we now support '?' operator and replacement backslash
3407 escaping is more standard.
3408 Make regex search imply replacing escaped chars.
3409 Allow \0 backreference replacement for the whole match.
3410 Note: Replace All may be slower; if this is a problem please let me
3413 Add argument to utils_str_replace_escape() for keeping
3414 uninterpreted backslash escapes e.g. '\\', '\e'.
3415 * scintilla/LexMarkdown.cxx:
3416 Backport minor formatting/style changes from Scintilla project.
3417 * doc/geany.txt, doc/geany.html:
3418 Remove warning about no visual indication for zero-column-mode
3422 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3425 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
3428 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3430 * wscript, scintilla/*, scintilla/include/*:
3431 Update Scintilla to version 2.03.
3432 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
3433 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
3434 Add preference for virtual spaces.
3436 Fix wrong default response for the Debug Messages dialog.
3438 Fix crashes when using Save As with no open files (closes #2964406).
3440 Fix duplicate mnemonics on 'Resave missing file' dialog, also
3441 move the question from the secondary to the main text to be
3442 more compatible with the Gnome HIG.
3443 Fix broken 'Save' action in 'Resave missing file' dialog.
3445 Improve PHP parser to parse also the argument lists of PHP functions.
3447 Correctly set the parent widget for the keybinding overwrite
3448 confirmation dialog.
3450 Fix setting the icon for some dialogs if the parent itself is also
3453 When editing non-existent config files using the Tools->Configuration
3454 Files menu, explicitly set the real_path to avoid presenting the Save
3455 As dialog when saving the file (patch by Tony Rick, thanks).
3457 Focus the editor widget after hiding the sidebar when it had the
3458 input focus (patch by Can Koy, thanks).
3459 Properly show/hide the mesages window when using the View menu item
3461 * plugins/filebrowser.c:
3462 After opening files, focus the editor widget
3463 (based on a patch by Can Koy, thanks).
3464 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
3465 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
3466 src/ui_utils.h, src/vte.c:
3467 Add and use convenience function ui_is_keyval_enter_or_return() and
3468 add it to the plugin API.
3471 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3473 * src/about.c, THANKS, po/ast.po:
3474 Added Asturian translation. Thanks to Marcos Costales for providing.
3477 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
3480 Fix keyboard accelerators in debug messages window
3484 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3486 * scintilla/LexR.cxx:
3487 Backport R lexer from Scintilla CVS to fix case sensitive keywords
3488 (Scintilla bug #2956543).
3489 * src/sidebar.c, src/about.c, THANKS:
3490 Make Space on the symbol and document list not focus the editor
3491 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
3492 * src/document.c, src/document.h:
3493 Fix document_try_focus() to make it work with the sidebar document
3495 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
3496 Make Space on the compiler and messages widgets not focus the editor
3497 widget while Enter does (patch by Can Koy, thanks).
3499 Fix wrongly auto-detected multiline comments
3500 (patch by Eugene Arshinov, thanks).
3503 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3506 Show number of lines of current document inside statusbar. Thanks to
3507 Can Koy for providing the patch.
3510 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3512 * src/keybindings.c, doc/geany.txt, doc/geany.html:
3513 Make Switch to Editor keybinding reshow the document statistics
3514 line, so user doesn't have to move the cursor.
3517 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3520 Update keywords for the R language (patch by Jon Senior, thanks).
3523 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
3526 Fix the instruction how to insert unicode characters
3530 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3532 * scripts/create_py_tags.py:
3534 Replace tabs by spaces.
3535 * plugins/genapi.py:
3537 Replace tabs by spaces.
3538 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
3539 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3540 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
3541 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
3542 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
3543 src/plugindata.h, src/sidebar.c, src/sidebar.h:
3544 Add keybindings to switch to the sidebar's Document and Symbol list
3545 as well as to the Message Window's current tab
3546 (patch by Eugene Arshinov, thanks).
3548 Update primary keywords for the R language
3549 (patch by Jon Senior, thanks).
3552 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
3555 Add more detailed hints about reloading configuration
3556 (thanks to Tony Rick).
3557 * data/filetypes.javascript:
3558 Correct the keyword list for JavaScript (thanks to Jonas).
3561 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3563 * New release: Geany 0.18.1 "Balfour".
3566 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3568 * src/keybindings.c:
3569 Add special cases for handling the Select All keybinding (Ctrl-A) in
3570 the toolbar search and goto line text entries (closes #2948040).
3571 Strip trailing spaces after reflowing a paragraph, patch by
3572 Dominik Wagenfuehr, thanks (closes #2945497).
3575 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3577 * src/geanymenubuttonaction.c, src/templates.c:
3578 Partly revert last commit:
3579 Unref the new files toolbar menu when freeing templates as it
3580 was done before but unref it *after* the menu has been removed
3581 from the GeanyMenuButtonAction.
3583 Fix possible endless loop when trying to detect the encoding of
3584 non-text files (patch by Alexey Antipov, thanks).
3587 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3590 Allow saving remote files using g_file_set_contents() as well
3591 (patch by Алексей Антипов, thanks).
3592 * data/filetypes.python:
3593 Adjust style for secondary keywords to be less aggressive.
3594 Add Python 2.5 builtins keywords.
3595 * src/geanymenubuttonaction.c, src/templates.c:
3596 Unref the new files toolbar menu when setting a new menu to fix
3597 possible crashes when reloading configuration.
3599 When reloading configuration, process the current document at last
3600 so the symbol list will be updated correctly.
3603 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3606 Explicitly read filetype configuration files before generating
3607 global tags to get settings for custom filetypes.
3610 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3613 Fix GLib warning when toggling 'no plugins available' item.
3616 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3618 * icons/Makefile.am:
3619 Include geany.ico in the distribution tarball.
3621 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
3622 * scripts/create_py_tags.py:
3623 Make the script a bit more robust with newer Python versions.
3625 Use utils_spawn_sync() instead of g_spawn_sync().
3628 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3631 Close meta tag for export date properly.
3634 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3637 Update RPM Spec file (patch by Dominic Hopf, thanks).
3640 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3643 Fix renaming sci_send_message(), sci_send_command() function
3647 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3649 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
3650 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
3651 plugins/geanyfunctions.h, plugins/Makefile.am,
3652 plugins/pluginmacros.h, plugins/genapi.py, wscript:
3653 Use full function name for GeanyFunctions function pointers. This
3654 avoids naming conflicts e.g. with C++'s 'new' keyword.
3655 Remove deprecated header pluginmacros.h - use geanyfunctions.h
3659 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3661 * src/utils.c, src/utils.h, src/vte.c:
3662 Add utils_copy_environment() and make use of it.
3663 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
3664 src/editor.c, src/templates.c, src/templates.h:
3665 Add new special template wildcard "{command:...}" to use the
3666 output of a command in templates.
3667 Adjust template functions to mostly work with GeanyDocuments.
3668 Minor cleanups in the template code.
3670 Replace the old icons with smiley icons from the Rodent icon theme.
3671 Fix showing the same icon for two or more slots.
3673 * src/editor.c, src/editor.h, src/keybindings.c:
3674 Rename fold_symbol_click() to editor_toggle_fold().
3675 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
3676 was used to respect the 'Fold/unfold all children' preference
3680 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3683 Prevent possible segfault in get_build_group().
3685 Fix GLib warning & beep if trying to insert multiline comment for a
3686 filetype that doesn't support it.
3689 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3692 Add gcc commands to build a plugin to the HowTo.
3693 * src/search.c, src/document.c, src/document.h:
3694 Show 'Replaced X matches in Y documents' message when using
3698 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3700 * scripts/plugin_test.c:
3701 Add a little test program which can load and test Geany plugins to
3702 verify it is loadable at runtime and all necessary symbols are
3704 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
3706 Add new signal: "geany-startup-complete" which is sent once all
3707 initialization and startup tasks has been done.
3708 * README.I18N, configure.ac, wscript, po/LINGUAS:
3709 Remove po/LINGUAS from the repository.
3710 Generate it automatically if needed by reading available
3711 message catalogs from the po directory.
3712 Also respect the LINGUAS environment variable properly.
3715 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3718 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
3722 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3724 * src/editor.c, src/templates.c, src/templates.h:
3725 Refactor templates_replace_all() into templates_replace_valist()
3726 to save some code duplication.
3729 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3731 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
3732 src/plugindata.h, src/plugins.c:
3733 Add editor_insert_text_block() to plugin API.
3736 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3739 Update copyright information.
3740 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
3741 doc/geany.txt, doc/geany.html:
3742 Add keybinding to open the last closed tab (closes #2912692).
3745 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3747 * autogen.sh, configure.in, configure.ac:
3748 Rename configure.in to configure.ac.
3749 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
3751 Add sci_find_text() to the plugin API.
3752 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3753 src/interface.c, src/prefs.c:
3754 Add a checkbox in the preferences dialog to explicitly toggle
3755 the visibility of the sidebar (closes #2923340).
3758 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3760 * src/editor.c, src/plugins.c, src/plugindata.h,
3761 plugins/geanyfunctions.h:
3762 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
3763 editor_get_eol_char() to the plugin API.
3764 * src/callbacks.c, src/plugins.c, src/plugins.h:
3765 Fix sensitivity of the Edit->Plugin Preferences menu item
3766 if plugins are loaded which do not provide a configuration dialog.
3767 * scripts/create_py_tags.py:
3768 Rewrite and extend the Python tags parsing script to use
3769 Python's inspect module to read symbols from Python modules
3770 including scope information.
3771 * data/filetypes.restructuredtext:
3772 Add the default comment character sequence for reStructuredText.
3774 Show the Find/Goto dialogs if the corresponding toolbar buttons are
3775 clicked but their text fields are not part of the toolbar (#2920807).
3776 * data/filetypes.common, doc/geany.html, doc/geany.txt,
3778 Add new style to change foreground and background colours for
3779 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
3781 Remember the window position of the Find, Replace and Find in Files
3782 dialogs (closes #2877988).
3785 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
3788 Fix a minor typo inside plugin API reference.
3791 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3793 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
3794 Make dialogs_show_prompt() more flexible to take up to three
3795 button/response code pairs to be shown.
3796 Add a close button to the dialog when asking to Re-Save a
3798 (closes #2916954, based on a patch by Dominik Stadler, thanks).
3800 Fix LaTeX environment auto completion with CR/LF line endings.
3801 Add some sanity checks.
3803 When closing a document after it was deleted from the filesystem,
3804 don't ask whether it should be saved first.
3805 Mark the document only as changed if it is not closed afterwards.
3806 Prevent possible segfaults if the document was closed when it is
3807 missing from the filesystem.
3808 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
3809 src/msgwindow.h, src/prefs.c:
3810 Add MessageWindow::scribble and use it instead of searching the
3811 widget pointer everytime.
3812 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
3813 Add preferences for hiding single tabs from the messages window
3814 (no GUI preferences yet, still to be implemented).
3815 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
3816 Set the correct parent window for the toolbar editor
3817 dialog (closes #2913334).
3818 * src/win32.c, src/win32.h, src/ui_utils.c:
3819 Rename win32_show_project_folder_dialog() to
3820 win32_show_folder_dialog() as it is not related and not used by any
3821 project management related code.
3822 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
3823 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
3824 as it is specialised for opening documents.
3825 Implement win32_show_file_dialog() as a generic file open dialog and
3826 use it with ui_path_box_new().
3829 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3832 Extend auto_latex() function to check whether an environment has been
3833 closed within the next lines to avoid auto adding double \end{}.
3835 Remove LaTeX tags from SVN. Can be found at
3836 http://download.geany.org/contrib/tags/ if needed.
3839 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3841 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
3842 Add document_need_save_as().
3843 Show the Save As also for documents created from filetype templates
3844 instead of saving them directly with the untitled filename.
3847 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3849 * geany.glade, src/interface.c:
3850 Move 'Send Selection to Terminal' menu item from Format to Commands
3853 When going to a build error, try the current document's path if
3854 the parsed filename doesn't exist. (This can happen when we receive
3855 build messages in the wrong order - after the 'Leaving directory'
3858 Refactor msgwin_goto_compiler_file_line().
3859 * src/interface.c, src/keybindings.c, geany.glade:
3860 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu
3863 Refactor/reformat on_replace_dialog_response().
3866 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3869 Improve geany.spec (split the package into a binary and devel
3870 package, update BuildRequires and other minor improvements).
3871 Patch by Dominic Hopf, thanks.
3874 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3876 * src/filetypes.c, src/filetypes.h:
3877 Make group for custom filetypes.
3878 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
3879 Add custom filetype Genie.
3882 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3884 * src/highlighting.c:
3885 Highlight D & Java types from a global tags file.
3886 * src/highlighting.c, doc/geany.txt, doc/geany.html:
3887 Add debug message warning if recursive lexer_filetype is set.
3888 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
3889 Remove duplicate sci_set_keywords(), make argument const.
3890 * src/highlighting.c:
3891 Only show debug message once if recursive lexer_filetype is set.
3892 Tidy highlighting_init_styles code for filetype None handling.
3893 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
3894 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
3895 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
3896 tagmanager/parsers.h, tagmanager/makefile.win32,
3897 tagmanager/verilog.c, tagmanager/Makefile.am,
3898 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
3899 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
3900 * src/highlighting.c:
3901 Fix segfault on startup (oops).
3902 * data/filetypes.verilog:
3903 Fix using common style colours for Verilog.
3906 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3908 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
3909 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
3910 Move C-like filetype properties into configuration files.
3911 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
3913 Remove now unnecessary "styling_within_preprocessor" C style key.
3914 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
3915 data/filetypes.glsl, data/filetypes.cs:
3916 Use lexer_filetype=C configuration file key instead of duplicate
3917 styleset functions for C++, C#, GLSL, Vala.
3920 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3922 * doc/geany.txt, doc/geany.html:
3923 Warn about not using BOM for configuration files (confuses GKeyFile
3924 parser, at least on my system).
3926 Add/improve debug messages for custom filetypes.
3929 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3932 Add a couple of further latex-beamer commands to list of LaTeX tags.
3935 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3937 * plugins/filebrowser.c:
3938 Add an in-entry clear icon to the filebrowser plugin's filter
3939 entry (patch by Dominic Hopf, thanks).
3940 * src/prefs.c, src/ui_utils.c:
3941 Fix two compiler warnings about possibly uninitialised variables.
3944 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3946 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
3947 plugins/geanyfunctions.h:
3948 Add main_is_realized() to the plugin API.
3949 * tagmanager/include/tm_tagmanager.h:
3950 Update partly outdated and wrong doc comment.
3951 * src/main.c, src/main.h, src/socket.c:
3952 Allow opening Geany projects remotely.
3953 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
3954 Add a hidden pref to allow executing text which was sent to the
3955 terminal directly, i.e. do not strip trailing newline characters.
3956 Also fix the stripping of trailing newline characters if there was
3960 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3962 * src/about.c, THANKS:
3963 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
3964 Kurt de Bree into section of previous translators.
3967 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3969 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
3970 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
3974 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3976 * src/highlighting.c:
3977 Make stylesets take a ft_id argument so they can be reused fully with
3978 custom filetypes, so custom styles and keywords can be set.
3979 * src/highlighting.c:
3980 Fix setting filetype properties when both the system and the user
3981 file have properties set.
3982 * src/symbols.c, tagmanager/vhdl.c:
3984 * src/highlighting.c:
3985 Fix lexer settings for custom filetypes.
3988 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3991 Remove duplicate regular expression for parsing classes.
3992 Fix and improve parsing of constants (patch by Harold Aling, thanks).
3993 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
3994 src/main.h, THANKS, src/about.c:
3995 Add new command line option "--socket-file" to be able to specify
3996 separate socket filenames for instances
3997 (closes #2896027, patch by Jörn Reder, thanks).
3998 * src/keybindings.c, src/keybindings.h:
3999 Add keybindings_check_event() to manually check GdkKeyEvents against
4000 Geany's keybindings.
4001 * src/callbacks.c, src/utils.c, src/utils.h:
4002 Add and use utils_get_help_url().
4003 * geany.glade, src/interface.c, src/prefs.c:
4004 Add a Help button to the preferences dialog.
4005 Handle Help keybinding events for the preferences dialog especially
4006 and open the manual with the corresponding anchor link to the current
4007 preferences page (same goes for the new Help button).
4010 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4012 * src/toolbar.c, src/geanymenubuttonaction.c,
4013 src/geanymenubuttonaction.h:
4014 Use separate tooltips for toolbar menu buttons and their attached
4016 * tagmanager/latex.c:
4017 Improve parsing of sections and chapters by ignoring shortnames
4018 like \section[shortname]{label} (closes #2890477).
4021 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4023 * src/geanymenubuttonaction.c:
4024 Try to fix Gtk warning when using Tools->Reload Configuration.
4027 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4029 * src/highlighting.c, doc/geany.txt, doc/geany.html,
4030 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
4031 data/filetypes.pascal, data/filetypes.docbook,
4032 data/filetypes.python, data/filetypes.conf:
4033 Use filetypes.foo [lexer_properties] group instead of hardcoding
4034 lexer properties (more flexible e.g. for custom filetypes).
4035 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
4036 Replace filetypes.xml html_asp_default_language key with
4037 filetypes.html asp.default.language property in [lexer_properties]
4041 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4043 * doc/geany.txt, doc/geany.html:
4044 Fix slightly wrong description of how to insert Unicode characters.
4046 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
4047 ui_setup_open_button_callback().
4048 * src/prefs.c, src/prefs.c, src/vte.c:
4049 Refactor color and font button callback functions in the
4050 preferences dialog. Move the VTE related callback functions
4052 Make use of ui_setup_open_button_callback().
4054 Improve printing status texts (patch by Dominic Hopf, thanks).
4055 * src/prefs.c, src/vte.c:
4056 Use the default dialog title set by ui_setup_open_button_callback()
4057 to be more consistent and to save one string.
4060 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4063 Separate DKinds from CKinds.
4064 Don't generate macro tags for D, Java.
4067 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4069 * tagmanager/ctags.c, tagmanager/general.h:
4070 Make TagManager Assert statements cause g_warning on failure.
4071 * src/keybindings.c:
4072 Fix reflow paragraph command when cursor < anchor using
4073 sci_fix_selection().
4076 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4078 * tagmanager/perl.c:
4079 Fix Geany segfault with constant tags (#2895168).
4081 Fix invalid tree iter access when using tv_iters.tag_other but not
4082 using tv_iters.tag_variable.
4083 * HACKING, tagmanager/perl.c:
4084 Fix parsing Perl format statements ("other" type doesn't seem
4086 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
4087 Fix using "other" tag type.
4090 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4093 Remove useless comment about applying settings only when libvte.so
4094 could be loaded which is only displayed *if* libvte.so is loaded.
4096 Allow autocompletion for HTML entities even within a word.
4097 * src/geanymenubuttonaction.c:
4098 Only set the menu of the button if a non-empty GtkMenu is passed to
4099 geany_menu_button_action_set_menu() so the menu arrow keeps
4103 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4106 Fix parsing some Java code (e.g. filetypes.java) after r4407.
4109 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4112 Parse D functions with contracts (fixes #1885480).
4113 Parse D alias statement like typedef.
4114 (Ignore some more D keywords).
4116 Fix creating D interface tags properly.
4118 Parse contents of D extern{} and version{} blocks.
4121 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4127 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4129 * src/plugindata.h, HACKING:
4130 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
4133 Show number of files saved on status bar when using Save All.
4134 * src/highlighting.c:
4135 Use default color scheme if pref color scheme file doesn't exist.
4136 * src/keybindings.c:
4137 Fix moving correct lines after selecting whole line(s).
4140 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4142 * tagmanager/makefile.win32:
4143 Fix broken build on Windows because of a typo
4144 (patch by Timothy Boronczyk, thanks).
4147 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4149 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
4151 Add 'View->Editor->Color Schemes' menu, for now only shown if color
4152 scheme files exist in a colorschemes config directory. Color scheme
4153 files must end in ".conf" and currently only the [named_styles]
4155 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
4156 Add utils_get_config_files().
4157 * src/highlighting.c:
4158 Fix issue with default color not being reset if overridden with a
4159 system default color.
4160 * src/highlighting.c:
4161 Only reload filetype files when changing color scheme, not all
4162 configuration files.
4163 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
4164 Deprecate documents_foreach() as it looks more like a function; use
4165 foreach_document() instead.
4166 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
4169 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4171 * src/stash.c, src/stash.h:
4172 Use typedef instead of pointer for widget_id function arguments.
4175 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4177 * src/pluginutils.c:
4178 Don't expand Plugin Preferences page spacing vertically to fill the
4179 height of the dialog.
4180 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
4181 geany.glade, plugins/splitwindow.c:
4182 Allow GeanyKeyBinding label field to contain underscores, which won't
4183 be displayed by Geany. This saves adding near-duplicate translation
4185 Add mnemonics for 3 Edit->Format menu items.
4186 Add keybindings_get_label().
4187 * src/interface.c, geany.glade:
4188 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
4192 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4195 Desensitize Edit->Commands menu item when no docs are open.
4196 * src/interface.c, src/keybindings.c, src/callbacks.c,
4197 src/callbacks.h, geany.glade:
4198 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
4199 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
4200 Add general function sci_get_string() that works with any string
4201 buffer messages that follow the Windows message convention.
4202 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
4203 src/keybindings.h, src/callbacks.c, src/callbacks.h,
4204 src/pluginutils.c, src/pluginutils.h, geany.glade:
4205 Add 'Edit->Plugin Preferences' menu item and keybinding.
4206 Don't include plugindata.h in pluginutils.h because it redefines the
4207 GEANY() macro for plugin use.
4208 * doc/geany.txt, doc/geany.html:
4209 Update for Plugin Preferences keybinding.
4212 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4215 Sort document word completion list.
4216 * src/interface.c, src/keybindings.c, src/callbacks.c,
4217 src/callbacks.h, geany.glade:
4218 Add some useful commands to editor popup menu under "Commands"
4219 submenu (thanks to Lex).
4220 Move 'Duplicate line or selection' from Format -> Commands submenu.
4221 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
4222 Enable switching the sidebar to the right on Windows again, as it
4223 apparently works after all.
4225 Fix using tab to autocomplete in some other situations that word part
4226 completion doesn't apply in.
4227 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
4228 Add Edit->Commands submenu which is shared with the editor popup
4230 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
4231 Change editor popup Commands submenu to start as child of menubar
4232 Edit menu, as this is more usual e.g. for keybindings initialization.
4233 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
4235 Share a single Format submenu for menubar Edit and popup menu.
4238 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4241 Fix a compiler warning about an uninitialised variable.
4243 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
4244 sciwrappers.h, build.h (for the Waf build system,
4245 accordingly to r4366).
4248 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4250 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
4251 src/toolbar.c, src/toolbar.h:
4252 Add missing dox for types/files in the API.
4253 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
4254 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
4255 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
4256 of functions not in the API).
4257 Warning: any plugins that include these headers should remove them.
4258 * src/build.c, src/build.h:
4259 Move function doc-comments to build.c so they stay in sync. Note:
4260 these functions are still not in the API.
4262 Add 'Doc-comments' plugin API subsection.
4263 * plugins/filebrowser.c:
4264 Fix packing configure widgets equally.
4265 Use spacing multiples of 6 as recommended by Gnome HIG.
4266 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
4267 Disable switching the sidebar to the right on Windows as it will
4268 probably fail like the Split Window plugin.
4270 Improve 'Detect from file' indentation pref by ignoring lines with
4271 indentation wider than 24 characters as this is more likely to be
4272 alignment than indentation.
4275 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4277 * plugins/saveactions.c:
4278 Fix adding the filetype's default extension when using the
4279 Instant Save plugin (closes #2885142).
4281 Before looking for line and column numbers specified as part
4282 of a filename, ensure the file doesn't exist on disk. This allows
4283 opening of files like "test:0".
4285 Rename "select" variables into "selection" to avoid shadowed names.
4286 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
4287 Add ui_widget_modify_font_from_string() and sci_goto_line()
4289 * plugins/filebrowser.c:
4290 Rename "select" variables into "selection" to avoid shadowed names.
4291 Make use of ui_widget_modify_font_from_string().
4294 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4296 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
4297 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
4299 Add sidebar position interface pref.
4302 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
4304 * doc/geany.txt, doc/geany.html:
4305 Add missing underscores to links.
4308 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4310 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
4311 Add 'Move line(s) up/down' keybindings.
4314 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
4316 * src/build.c, src/build.h, src/filetypes.h:
4317 Include code for project filetype execute commands and fix bug in
4318 saving project filetypes list.
4319 * src/project.c, src/build.c, doc/geany.txt:
4320 Make non-project execute configuration save to filetypes not
4322 Fix closing of project failing to remove build commands dialog entry.
4325 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4327 * src/project.c, src/ui_utils.c:
4328 Set border width for project properties build table.
4329 * geany.glade, src/interface.c:
4330 Don't expand hard tab width alignment.
4333 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4335 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
4336 doc/geany.txt, doc/geany.html:
4337 Support loading global tags files for custom filetypes.
4338 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
4339 doc/geany.txt, doc/geany.html:
4340 Add 'Word part completion' keybinding so keys other than Tab can be
4341 used, or to clear/change the combination so Tab does full completion
4343 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
4344 Add 'Select to previous/next word part' keybindings.
4345 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
4346 Add 'Switch to Messages' focus keybinding.
4349 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4351 * doc/geany.txt, doc/geany.html:
4352 Add 'Custom filetypes' section.
4353 * src/filetypes.c, src/filetypes.h, src/document.c,
4354 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
4355 tagmanager/include/tm_source_file.h:
4356 Add filetype "tag_parser" key so custom filetypes can use an existing
4358 Add tm_source_file_get_named_lang().
4359 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
4361 Add filetype "lexer_filetype" key so custom filetypes can use an
4365 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4367 * THANKS, src/about.c:
4368 Add Xhacker Liu for his work at zh_CN translation to long list of
4372 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4374 * src/sciwrappers.c:
4375 Remove unnecessary line number margin padding.
4376 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
4377 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
4379 Improve word part autocompletion so AC list is not cancelled and
4380 reshown (this also stops the selection changing).
4381 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
4383 Improve CamelCase word part autocompletion for runs of capital
4386 Don't complete snippets if there's a selection.
4389 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
4392 Fix crash opening project when Geany started with no geany.conf.
4395 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4397 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
4398 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
4400 Add word part autocompletion for the current selected item when
4401 pressing Tab - Enter still completes normally.
4402 Add foreach_str() API macro.
4403 Temporarily modify scintilla to say if tab was used for
4405 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
4406 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
4407 plugins/classbuilder.c:
4408 Revert r4301 - utils_free_pointers() taking 4 arguments.
4409 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
4410 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
4411 plugins/splitwindow.c:
4412 Add highlighting_set_styles() to API, use for Split Window plugin so
4413 filetypes.common settings get set too.
4414 Make highlighting_set_styles() take GeanyFiletype pointer instead of
4416 * src/document.c, src/editor.c, plugins/splitwindow.c:
4417 Call editor_apply_update_prefs() from editor_create_widget() so
4418 correct tab width and other settings are applied for Split Window
4422 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4424 * src/keybindings.c:
4425 Don't include trailing newlines when using reflow command.
4427 Add stock close buttons to notebook tab popup menu.
4428 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
4429 plugins/geanyfunctions.h:
4430 Add document_get_notebook_page() to API.
4432 * data/templates/files/file.html, data/templates/files/file.php:
4433 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
4434 * src/interface.c, src/ui_utils.c, geany.glade:
4435 Move Tools configuration items to top of menu.
4436 * src/keybindings.c, src/search.c:
4437 Fix warning when using Find in Files with no documents open; make
4438 keybinding work in this case.
4441 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4443 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
4444 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
4445 Make Split Window 'Show current document' button have a drop-down
4446 menu to select the other documents.
4447 Add new API function ui_menu_add_document_items().
4450 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
4453 Fix sensitivity settings for compile and build toolbar items.
4456 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4459 Don't use filetype submenus for templates (slower to navigate, often
4460 only 1 per-filetype anyway).
4462 Put old filetype template menu items in 'Old' submenu as they should
4463 be removed after the 0.19 release.
4464 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
4465 Add GeanyKeyGroup callback support, which allow keybinding callbacks
4466 to be ignored if inappropriate so a later keybinding with the same
4467 key combination can intercept it. (Also group callbacks are usually
4468 tidier than separate callbacks).
4469 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
4470 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
4471 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
4472 plugins/classbuilder.c:
4473 Make utils_free_pointers() take 4 arguments, add to API.
4474 * src/templates.c, src/tools.c, src/ui_utils.c:
4475 Fix memory leaks with gtk_container_get_children().
4478 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
4481 Ensure that old style build config is not loaded if it does
4485 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4487 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
4488 Added Galician translation.
4489 Thanks to José Manuel Castroagudín Silva.
4492 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4494 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
4496 Apply set default encoding for existing files only if the files are
4497 non-Unicode (patch by Alexey Antipov, thanks).
4500 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4502 * src/highlighting.c:
4503 Move new_styleset() and preprocessor setup code into
4505 * src/highlighting.c:
4506 Call apply_filetype_properties() from styleset_c_like().
4509 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4511 * doc/geany.txt, doc/geany.html:
4512 Improve information about predefined keybindings which are
4513 commonly used across applications (patch by Lex Trotman, thanks).
4515 Enable embedded page setup properties in the (Unix) Print dialog
4516 on newer GTK versions (closes #2870596).
4517 * src/highlighting.c:
4518 Map global types (read from tags files) to keyword style for
4522 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4525 Fix wrong creation of filetype template menu items for custom
4527 * src/highlighting.c:
4528 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
4530 Group 'New with template' items by filetype submenu (currently only
4532 Show custom file template items before filetype template items.
4533 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
4535 Only use one 'New with template' submenu - reparent as needed.
4537 Don't create templates/filetype.none either.
4539 Warn if custom template file no longer exists.
4542 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4545 Add missing icon for Java packages in the Symbol List.
4548 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4550 * src/highlighting.c, data/filetypes.vala:
4551 Add Vala keywords to conf file.
4552 * src/templates.c, doc/geany.txt, doc/geany.html:
4553 Read custom file templates from $prefix/share/geany/templates/files
4554 as well as user dir.
4555 * src/templates.c, data/templates, data/templates/files,
4556 data/templates/files/file.rb, data/templates/files/file.html,
4557 data/templates/files/main.java, data/templates/files/main.c,
4558 data/templates/files/main.cxx, data/templates/files/file.php,
4559 data/templates/files/main.d, data/templates/files/program.pas,
4560 data/templates/files/main.py, data/templates/files/file.tex,
4561 wscript, Makefile.am:
4562 Move filetype template defaults into custom file template files.
4565 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4567 * src/symbols.c, tagmanager/perl.c:
4568 Change Perl tag parser to ctags SVN r601. This removes support for
4569 buggy local/my/our but it parses constant/format/labels and should
4570 be less buggy overall (closes #2861232).
4571 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
4572 Add utils_get_file_list_full() which can optionally sort or include
4573 a full path for each list item.
4574 * src/utils.c, src/plugindata.h, src/plugins.c:
4575 Add utils_get_file_list_full() to API.
4578 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4580 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
4581 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
4582 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
4583 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
4584 po/POTFILES.in, wscript:
4585 Rename treeviews.[hc] -> sidebar.[hc].
4586 * data/filetypes.common:
4587 Remove unused [styling] arguments.
4588 * src/highlighting.c, data/filetypes.markdown,
4589 data/filetypes.restructuredtext:
4590 Remove style defaults from the code - just read them from
4591 configuration files.
4592 * src/highlighting.c, HACKING:
4593 Add apply_style_entries() to simplify implementing styleset_foo().
4594 * src/highlighting.c:
4595 Remove filetype keyword defaults from the code - just read them from
4596 configuration files.
4597 * src/highlighting.c:
4598 Add sci_set_keywords() wrapper.
4601 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4603 * scripts/create_py_tags.py:
4604 Make the code a bit more pythonic.
4605 * doc/images/build_menu_commands_dialog.png,
4606 doc/images/main_window.png:
4607 Add new images referenced in the documentation.
4608 * doc/geany.html, doc/geany.txt:
4609 Several documentation improvements (patch by Lex Trotman, thanks).
4610 * src/pluginutils.c:
4611 Fix setting the appropriate page of the combined plugins
4615 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4617 * src/keybindings.c:
4618 Only focus toolbar goto line entry when pressing keybinding if it's
4619 visible (patch by Eugene Arshinov, thanks).
4621 Focus editor after entering a number in the goto line toolbar entry.
4623 Use AC_PATH_PROG instead of which for portability (patch by Erik
4624 Southworth, thanks).
4626 Show plugins that only implement plugin_configure_single() in the
4627 multiple-configure dialog as a page with a configure button on it.
4628 Add padding for multiple-configure dialog.
4629 Make the multiple-configure dialog notebook tabs scrollable.
4630 * src/pluginutils.c, src/pluginutils.h:
4631 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
4632 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
4633 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
4634 plugins/geanyfunctions.h, plugins/filebrowser.c:
4635 Add plugin_show_configure() API utility function.
4636 Add File Browser popup menu 'Preferences' item.
4637 * src/highlighting.c:
4638 Add get_keyfile_ints() instead of using tmp_style hack.
4639 * src/highlighting.c, data/filetypes.xml:
4640 Change new html_asp_default_language markup pref to use integer,
4641 not hex in config file.
4642 Fix minor issue with changing pref back to 0.
4643 * src/highlighting.c:
4644 Fix possible segfault in get_keyfile_int() if key value is malformed.
4647 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4649 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
4650 Add "html_asp_default_language" pseudo style to filetypes.xml
4651 to allow setting the used language in embedded ASP code
4652 (patch by Ross McKay, thanks).
4653 * src/filetypes.xml:
4654 Update VBScript keywords (patch by Ross McKay, thanks).
4657 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4659 * src/keybindings.c, THANKS:
4660 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
4661 keybinding use line breaking column when enabled.
4663 Fix showing the document before reload dialog when opening an
4665 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
4666 Add plugin_configure_single() plugin symbol which is easier to
4667 implement than plugin_configure() but won't support a
4668 multiple-plugin configure dialog.
4670 Show multiple plugins in the 'Configure Plugins' dialog.
4673 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4675 * doc/geany.txt, doc/geany.html:
4676 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
4678 * doc/geany.txt, doc/geany.html:
4679 Add 'Toolbar entries' section.
4680 * doc/geany.txt, doc/geany.html:
4681 Update 'Go to line' keybinding description.
4682 * doc/geany.txt, doc/geany.html:
4683 Split keybinding table into group tables; update KB links.
4686 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4689 Fix compiler warnings about uninitialised variables.
4690 * src/callbacks.c, src/document.c:
4691 When reloading files, use the previously set encoding instead of
4692 detecting it again (closes #2862041).
4694 Turn on automake silent rules if supported.
4697 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4700 Speed up sorting in utils_get_file_list(). This reduces the file
4701 browser delay on displaying a big directory, e.g. /usr/bin.
4703 Expand command entry width when expanding Build Commands dialog.
4705 Split Build Commands dialog notes label and edit text.
4707 Add padding for Build Commands dialog separators.
4708 Add colons for regex field labels; fix 1 capitalisation.
4710 Fix none filetype Build Commands dialog label.
4711 Make group labels bold.
4712 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
4714 Add & use ui_label_set_markup(), ui_label_new_bold().
4715 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
4716 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
4717 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
4718 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
4719 * src/keybindings.c:
4720 Make 'Go to Line' keybinding focus the toolbar entry if visible.
4723 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4725 * src/filetypes.c, src/filetypes.h, src/symbols.c,
4726 tagmanager/parsers.h, tagmanager/makefile.win32,
4727 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
4728 data/filetype_extensions.conf, wscript:
4729 Add new filetype: Abc (patch by Eric Forgeot, thanks).
4731 Merge recent changes from the CTags project to further improve
4735 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4738 Fix wrong alignment of printed pages when page headers are
4739 disabled (closes #2856822).
4740 Plug a small memory leak and improve function signature of
4743 Save an if expression.
4745 After clearing a text field using the embedded clear icon, put the
4746 input focus into this text field.
4749 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4751 * plugins/filebrowser.c:
4752 Free file list memory whilst iterating the list.
4753 Minor formatting fixes.
4754 * src/utils.c, src/utils.h:
4755 Add foreach_dir() API macro.
4756 Update API docs for utils_get_file_list().
4757 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
4759 Remove queue.[hc] - use GQueue instead of GeanyQueue.
4760 Beep if there are no more snippet positions.
4761 Limit length of snippet positions queue to 20.
4764 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4766 * src/keybindings.c, src/callbacks.c, src/search.c:
4767 Make Goto Tag commands use the current selection if present (useful
4768 for selecting part of a tag or for ReST section names with spaces
4771 Don't move the cursor when reloading.
4772 * src/plugindata.h, src/editor.c, src/editor.h:
4773 Make editor_prefs.snippets hash table private (not a pref).
4776 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4779 Remove deprecated --debug flag. Please use --verbose/-v instead.
4782 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4785 Show Find in Files stderr output in messages window instead of
4786 debug window so that invalid regex messages can be seen easily.
4787 Combine FIF stdout and stderr callback code.
4790 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4793 Fix opening filenames beginning with two dots (closes #2858487).
4794 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
4795 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
4796 data/filetypes.common, geany.glade:
4797 Update syntax highlighting after changing the 'Invert syntax
4798 highlighting colors' pref, instead of requiring a restart.
4799 Remove filetypes.common invert_all option - use 'Invert syntax
4800 highlighting colors' pref instead (closes #2854525).
4801 * src/prefs.c, src/dialogs.c, src/dialogs.h:
4802 Add 'Allow' button when showing the conflicting keybinding dialog.
4803 Make dialogs_show_question_full() use GTK dialog on Windows if
4804 button text is not the stock yes/no items.
4805 Add dialogs_show_prompt() which also has an 'Apply' button.
4806 * src/queue.c, src/queue.h:
4807 Add warning that GeanyQueue may be removed.
4808 * src/keybindings.c, src/editor.c, src/editor.h:
4809 Change snippet_goto_next_cursor() to
4810 editor_goto_next_snippet_cursor() as it's in editor.h.
4811 Avoid using GPOINTER_TO_INT macro.
4814 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4816 * src/keybindings.c:
4817 Fix 'Reflow block' command when at the last paragraph and there's
4818 no last newline (patch by Eugene Arshinov, thanks).
4820 Add 'Compiler options & warnings' section.
4821 Update Style section to be clearer about code alignment and show
4826 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4828 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
4829 src/plugindata.h, src/plugins.c, src/editor.c,
4830 plugins/geanyfunctions.h:
4831 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
4832 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
4834 Add sci_toggle_marker_at_line().
4835 Fix SciFuncs alignment.
4838 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
4841 Fix erroneous free of returned string in prepare_run_script.
4844 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4846 * data/filetypes.latex:
4847 Changing default value for showing pdf and dvi to ensure to take
4848 *.pdf and *.dvi file.
4851 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4853 * src/about.c, THANKS:
4854 Change language string for Slovenian translation.
4857 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4859 * tagmanager/txt2tags.c:
4860 Fix multi-byte character constant comparison.
4862 Fix Gtk warning when trying to update documents popup menu item
4863 sensitivity before they exist.
4866 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4869 Improve the opening string in the plugin manager dialog.
4871 Use "max-width" to set the document width of the generated
4872 HTML documentation to let the text be auto-wrapped.
4873 * src/prefs.c, src/tagmanager/include/guregex.h,
4874 src/tagmanager/include/tm_tagmanager.h:
4875 Remove trailing spaces (patch by André Hentschel, thanks).
4877 Fix a compiler warning.
4879 Fix crash when opening documents.
4880 * src/build.c, src/build.h, src/project.c:
4881 Adjust coding style (no code changes).
4882 * src/build.c, src/project.c:
4883 Use NZV() macro instead of strlen() to check for empty strings.
4884 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
4885 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
4886 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
4887 src/plugins.c, THANKS:
4888 Add new plugin signal: "document-before-save".
4889 Add get_line_end_position(), set_target_start(), set_target_end(),
4890 replace_target() to the plugin API
4891 (patch by Eugene Arshinov, thanks).
4892 Add new plugin signal: "document-filetype-set" (closes #2852286).
4893 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
4894 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
4895 tagmanager/Makefile.am, tagmanager/makefile.win32,
4896 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
4898 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
4901 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4903 * src/treeviews.c, src/document.c:
4904 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
4905 Use gtk_notebook_set_current_page() instead of
4906 document_open_file_full() when choosing an item from the documents
4908 Avoid using goto in document_open_file_full().
4911 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4913 * src/treeviews.c, src/document.c, src/document.h, THANKS:
4914 Enable type-ahead find for sidebar symbols and documents tabs
4915 (patch by Thomas Martitz, thanks).
4917 Fix 2 free's of possibly uninitialized pointers.
4920 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
4922 * src/build.c, src/filetypes.h, src/filetypes.c:
4923 Only write filetype config files when build command or regex is
4924 actually changed. Removed commented code in src/filetypes.c.
4926 Ensure uses of filename are protected against nulls when running
4927 a build command and give status message if not.
4930 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4933 Remove plugin from plugin manager dialog on unloading if it no
4934 longer exists or is incompatible.
4937 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4940 Add warning if only one of the plugin_key_group[_info] symbols is
4941 defined for a plugin.
4942 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
4943 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
4945 Merge custom-filetypes branch:
4946 Support adding custom filetype files e.g. filetypes.Foo.conf.
4948 Allow GeanyFiletype::extension to be NULL.
4949 Add note about using GeanyFiletype pointer instead of filetype_id
4950 for filetypes.c function arguments.
4951 Replace styleset_none() with styleset_default().
4954 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4957 Show the sidebar if either the documents or the symbols list are
4958 enabled (related to #1876107).
4961 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4963 * src/build.c, src/filetypes.c:
4964 Fix compiler warnings.
4966 Fix removing leading double slashes in filenames which are used for
4967 network resources on Windows (closes #2844085).
4970 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4972 * src/keybindings.c:
4973 Fix Make keybindings (patch by Lex Trotman, thanks).
4975 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
4977 Mention Files link at top for header files; demoplugin.c.
4978 Minor edits; remove 'far from being complete'.
4979 * src/keyfile.c, src/keyfile.h, src/main.c,
4980 data/filetype_extensions.conf, HACKING:
4981 Remove --generate-data-files argument & code - just edit
4982 filetype_extensions.conf by hand (filetype order was broken
4984 Add *.H extension for C++ (useful for non-Windows systems).
4987 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
4990 Fix implementation of loading old project files with base
4991 directories. Use project_make_base_path instead of re-
4992 implementing. Now depends on project.c reading base dir
4993 prior to calling load_build_menu.
4995 Change usage of project base directory to conform with
4996 previous documented behavior when loading old project files.
4998 Change make custom and make object to ignore make in base path
4999 when reading old project file settings. Changed some indent
5000 spaces to tabs. Fix missing compile menu accelerator.
5003 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5006 Add warning about not using undocumented features.
5007 Add reference to HACKING for plugin API development.
5009 Add section 'Plugin API/ABI design'.
5010 * src/keybindings.h, src/makefile.win32, src/project.h,
5011 src/filetypes.h, src/Makefile.am, wscript:
5012 Use GEANY_PRIVATE to hide some fields from plugins.
5014 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
5015 * src/build.c, src/build.h, src/project.c:
5016 Use build_ prefix for 3 functions in build.h; add a static modifier.
5019 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5022 Improve parsing of PHP functions by requiring a valid modifier or
5023 whitespace before the 'function' keyword to ignore some false
5024 positives like function tags inside comments
5025 (patch by Harold Aling, thanks).
5026 * tagmanager/python.c:
5027 Don't parse comments after import statements and other tags
5028 (closes #2838938, patch by Huandari Lopez, thanks).
5031 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5033 * data/filetypes.markdown:
5034 Add filetypes.markdown for configuration (thanks to Jon Strait).
5035 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
5036 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
5037 plugins/geanyfunctions.h:
5038 Remove GeanyKeyGroup struct from the API - plugins should not set
5040 Make keybindings_set_item() duplicate the name and label fields
5041 (needed by GeanyLua) and return a keybinding pointer.
5042 Add keybindings_get_item() to the API (in case it's useful).
5043 Move some keybinding code out of plugin source files.
5046 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5048 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
5049 Don't generate build.h API docs until everything is approved and
5050 functions are actually in geany_functions.
5051 Move new GeanyFiletype and GeanyProject field(s) to end of struct
5052 as they may be changed or made private later.
5053 Break ABI for fields removed.
5056 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
5058 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
5059 src/keyfile.c, src/project.c:
5060 Changed names of symbols visible in build API to GEANY_xxx.
5063 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
5065 * src/project.h, src/project.c, src/build.c:
5066 Remove make_in_base_dir and run_cmd fields from project structure.
5067 Replaced by build functionality. Remove incorrect use in src/build.c
5068 build_run_cmd function.
5071 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
5073 * src/project.h, src/project.c:
5074 Removed unused project_get_make_dir function, this is now per
5078 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
5080 * src/build.c, src/build.h, src/project.c, src/keyfile.c,
5082 Fix some more warnings.
5083 Fix commented out execute/stop toolbar code in build.c.
5084 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
5085 Changed build.h api so all functions prefixed with build_.
5088 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5090 * src/build.c, src/build.h, src/project.c:
5091 Fix some gcc warnings with '-Wall -W -ansi' enabled.
5094 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
5097 Fixed leaks and crashes due to inconsistent use of static vs dynamic
5098 strings when reading old format configuration & project files.
5099 * src/build.c, src/project.c:
5100 Fixed GLib array assertion warnings when no project filetypes are
5101 available to be saved.
5103 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
5109 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
5111 * src/build.h, src/build.c, src/project.c:
5112 Created and documented plugins interface to build menu.
5113 Factored out new get_cmd_group function.
5114 Changed name of remove_command function to be consistent with the
5115 rest of the interface & changed calls in project.c.
5116 * src/Makefile.am, wscript:
5117 Added build.h to installed files lists.
5119 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
5122 Updated manual to match build-menu capability.
5125 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
5127 * src/build.c, src/build.h:
5128 Added set_build_non_ft_wd_to_proj() for use by project dialog.
5129 Improved interpretation of run_in_base_dir from old [build-settings]
5130 Added spacing to build commands dialog
5132 Removed run in base path option from project dialog and added button
5133 to set working directories to d the same.
5136 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
5139 Re-incorporated toolbar changes in trunk accidently excluded in merge
5141 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
5144 Fixed substitute %f etc in commands
5145 Fixed potential leak in build_replace_placeholder
5146 Fixed leak in prepare_run_script (Thanks for patch Thomas)
5147 Fixed build_replace_placeholder to not require document.
5149 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
5151 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c:
5152 Fixed crash and lots of warnings, deleted some commented out code.
5153 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c:
5154 Removed make command from preferences and associated code
5156 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
5158 * src/build.c, src/build.h:
5159 Incorporated patch for working directory field (thanks Thomas)
5160 Removed run_in_base_dir option and associated code that it replaces
5161 Improved handling of old config files and mapping to new ones.
5163 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
5165 * src/build.h, src/build.c:
5166 Changed to itterate over entries in build commands dialog to allow
5167 additional fields to be added
5168 Implement support for multiple run commands
5169 * data/filetypes.latex:
5170 Implement configured commands and labels for latex.
5173 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
5175 * src/build.h, src/build.c:
5176 added dialog support for error regular expressions from multiple
5177 sources and storing and loading them fixed some typos and memory
5179 * src/filetypes.c, src/filetypes.h, project.c:
5180 added support for using error regexes from multiple sources
5183 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
5185 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
5187 Removal of build menu item source made redundant by the following fix
5189 Corrected priority oreder and loading of filetype dependent build
5190 menu items saved in the project file. Added print routine for
5191 debugging command sources and priorities set compile symbol
5192 PRINTBUILDCMDS true to enable
5194 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
5197 fixed problem loading old format filetype files, some formatting
5198 fixes fixed saving new format files
5199 added operation for clear button on build commands dialog
5201 fixed loading and saving filetype files
5204 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
5206 Configurable Build Menu Changes
5208 * doc/geany.html, doc/geany.txt:
5209 Updated build menu section to new functionality
5210 * src/build.h, src/build.c:
5211 Largly re-written, configurability added, Latex code removed
5212 * src/filetypes.h, src/filetypes.c:
5213 Filetype structure updated to add new command pointers, configuration
5214 load and store changed
5215 * src/keybindings.h, src/keybindings.c:
5216 Changed to address new command storage structure.
5218 Changed to load/store new configuration.
5220 Minor change to initialisation order.
5222 Changed to address new menu item storage structure.
5223 * src/project.h, src/project.c:
5224 Changed to load/store the new configuration info.
5226 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5228 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
5229 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
5230 doc/pluginsymbols.c, plugins/geanyfunctions.h,
5231 plugins/splitwindow.c:
5232 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
5233 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
5234 the ABI when adding fields to them.
5235 Add plugin_set_key_group() for plugins to dynamically set a
5236 keybinding group (e.g. for the Lua script plugin). Used in Split
5237 Window plugin as an example.
5238 Improve keybinding docs a little.
5241 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5243 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
5244 Add geanyfunctions.h to API docs.
5245 * plugins/splitwindow.c:
5246 Set the cursor color for the split window.
5249 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5252 Fix 'Open Selected File' for unsaved new documents.
5253 * src/keybindings.c, src/keybindings.h, src/prefs.c:
5254 Fix updating main menu accelerators after changing keybindings
5255 (thanks to Lex Trotman).
5257 Fix using 'Insert date' keybinding when a custom date string has
5259 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
5260 Merge Plugin and GeanyPluginPrivate structs.
5263 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5265 * src/keybindings.c:
5266 Fix non-working Home and End keys on numpads.
5269 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5271 * doc/geany.txt, doc/geany.html, NEWS:
5272 Add 'Scope autocompletion' section.
5273 Add 'Tools menu items' section to explain configuration files
5274 submenu, reload configuration item.
5275 Minor updates/fixes.
5278 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5281 Add a translation hint to an ambiguous format string.
5283 Add missing include path to fix 'make distcheck'.
5285 Fix opening of local files in the browser on Windows.
5286 * New release: Geany 0.18 "Kaine".
5287 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
5288 src/geany.h, doc/geany.html, doc/geany.txt:
5289 Post-release version bump.
5292 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5295 Temporarily disable reshowing calltips when the autocompletion
5296 list was closed implicitly by not choosing an item to fix
5297 problems with wrongly displayed calltips.
5299 Add missing 'coding' cookie to the Python filetype template.
5300 * doc/images/pref_dialog_edit_completions.png,
5301 doc/images/pref_dialog_toolbar.png:
5302 Update images for Geany 0.18.
5305 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5308 Add command '--hackingdoc' to create the HTML form of the
5312 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5314 * po/pt_PT.po, po/LINGUAS:
5315 Added a first Portugese (Portugal) translation based on work done at
5316 launchpad by e.g. André Glória and Alexandre Jesus.
5317 * src/main.c: Fix a minor typo on --help call.
5320 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5322 * src/highlighting.c:
5323 Call get_keyfile_wordchars() in highlighting_init_styles().
5326 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5328 * data/filetypes.ada:
5330 * src/keybindings.c:
5331 Switching notebook tabs now works for the currently used notebook
5332 widget instead of always using the documents notebook.
5333 * src/document.c, src/document.h, src/documentprivate.h,
5335 Small corrections to some API docs.
5338 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5340 * src/build.c, src/win32.h, src/win32.c:
5341 Expand system environment variables (%variableName%) on Windows when
5342 running Build commands.
5345 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5347 * src/keybindings.c:
5348 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
5349 future using an indent block is more useful e.g. for ChangeLog
5351 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
5352 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
5353 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
5354 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
5355 tagmanager/parsers.h, tagmanager/makefile.win32,
5356 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
5357 Add Markdown filetype (patch by Jon Strait, thanks).
5358 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
5359 Fix disconnecting plugin signal id when not using geany_object.
5361 Add filetype_make_title() instead of using:
5362 ft->title = g_strdup_printf(_("%s source file"), ft->name);
5363 It also supports "%s file" strings.
5366 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5368 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
5369 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
5370 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
5371 plugins/filebrowser.c:
5372 Add plugin_signal_connect() for connecting plugin signals at
5373 runtime and also for connecting to any GObject signal.
5374 Add 'Plugin Utility Functions' on main page.
5375 Add foreach_array() macro.
5376 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
5377 src/document.c, src/editor.c:
5378 Rename 3 sci functions to sci_set_target_start(),
5379 sci_set_target_end(), sci_replace_target() to match the SCI_
5383 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5385 * wscript: Fix compiling error with waf.
5388 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5390 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
5391 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
5392 src/Makefile.am, wscript:
5393 Move plugin_* utility functions to pluginutils.c.
5394 Add pluginprivate.h.
5396 Fix reshowing calltip in the wrong document.
5399 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5401 * doc/geany.txt, doc/geany.html:
5402 Add some general information about auto-completion capabilities
5403 (patch by Lex Trotman, thanks).
5406 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5408 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
5409 Added a first Slovenian translation. Thanks to Joze Klepec.
5412 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5414 * src/highlighting.c:
5415 Use full styleset_foo[_init] function name as argument to
5416 init_styleset_case() and styleset_case() macros so it's easier to
5417 understand the code.
5418 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
5419 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
5420 doc/geany.txt, doc/geany.html:
5421 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
5422 Heavily based on a patch by Eugene Arshinov (thanks).
5423 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
5424 editor_strip_line_trailing_spaces().
5427 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5430 Attempt to fix reshowing calltips after the autocompletion list
5432 Reshow calltips also when the autocompletion list was closed
5433 implicitly by not choosing an item.
5435 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5437 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
5438 plugins/splitwindow.c:
5439 Change utils_str_remove_chars() to work in place; fix allocating on
5440 the stack (the string length could exhaust the stack size).
5441 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
5442 src/printing.c, src/callbacks.c:
5443 Rename utils_str_replace() utils_str_replace_all(), setting a
5444 'gchar **haystack' argument instead of returning a new string.
5446 For the Tabs indent type, remove spaces when unindenting (only) if
5447 there are no tabs on the line.
5448 Group undo actions for (un)indenting of multiple lines.
5449 * src/document.c, src/editor.c:
5450 Fix scrolling horizontally after finding a search match with the
5451 search bar or Find Next/Previous which is off-screen.
5452 * src/keybindings.c:
5453 Fix GLib warning when pressing a key with no documents open.
5456 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5459 Start unifying usage of @a and @c markup elements in API docs,
5461 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
5462 Show/hide the toolbar without a restart when the setting in the
5463 preferences dialog is changed (closes #2824785).
5464 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
5465 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
5466 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
5468 Continue unifying usage of @a and @c markup elements in API docs.
5471 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5474 Remove relative/untidy path elements when creating new documents
5475 with a filename (e.g. from the command-line) (#2823998).
5478 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5481 Disable 'Recent Projects' menu item if the list of recent projects
5484 Fix some harmless compiler warnings.
5485 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
5486 src/plugins.c, src/utils.c, src/utils.h:
5487 Move utils_str_remove_chars() from the plugins/splitwindow.c to
5488 src/utils.c and add it to the plugin API.
5489 Make utils_str_remove_chars() work on a new copy of the input string
5490 instead of modifying it in place.
5492 Remove underscores from the toolbar items labels.
5495 * plugins/splitwindow.c:
5496 Fix broken 'Show the current document' tool button icon.
5499 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5501 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
5503 Add stash_group_add_widget_property() so we can save any widget's
5504 read/write properties.
5505 Use Stash for ui_prefs.sidebar_page setting.
5506 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
5507 Make foreach_ptr_array() use an integer argument for its
5508 implementation, as this is more useful potentially than a gpointer*
5509 argument, and more straightforward.
5510 Add foreach_c_array(), foreach_ptr_array() to API.
5511 * src/utils.c, src/utils.h, src/document.c:
5512 Remove relative/untidy path elements when opening documents (closes
5515 Fix showing project name for documents list files with no
5516 subdirectory (oops).
5518 Fix checking whether to overwrite when using the Rename button in
5519 the 'Save As' dialog.
5522 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5525 Don't use the main window as parent for dialog boxes if it is not
5527 Set titles for message dialogs.
5530 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5533 Display item labels instead of raw names in the toolbar editor.
5534 Apply changes in the toolbar editor instantly.
5535 Show icons in the toolbar editor.
5536 Speed up toolbar editor dialog creation.
5538 Improve inserting of comment templates like File header or licence
5539 notices. The comment information are now read from the filetype
5540 configuration files.
5542 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5545 Enable file monitoring for files which are written to disk by Geany
5548 Fix broken special case handling when detecting filetypes from a
5549 shebang or other special file headers.
5552 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5555 Make Mark All keybinding clear search highlighting when there's no
5558 Fix wrong match length when using Mark with regex.
5559 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
5560 src/keyfile.c, src/main.c:
5561 Add 'Show Paths' documents list popup item.
5562 Add "load_settings" core-only signal emitted just after loading
5563 main keyfile settings; useful to delay building UI elements until
5564 settings have been read.
5566 Fix GTK warning when right-clicking on default tag tree.
5567 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
5568 Add treeviews_finalize().
5569 Remove tv.popup_openfiles field.
5572 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5574 * src/highlighting.c:
5575 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
5578 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5581 Quote the uri before passing it to the browser when opening a
5582 website (closes #2818635).
5584 Fix broken 'builtin' Run command for HTML files on Windows.
5587 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5590 Properly fix wrong brace highlighting of non-brace character.
5592 Allow autocompletion in Perl double-quoted strings.
5593 Don't autocomplete in Perl single-quoted strings (closes #2821061).
5594 Don't autocomplete in Perl q() strings.
5595 * data/filetypes.common:
5596 Make Mark highlighting brighter.
5597 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
5598 Use hyphen for auto-feature terms.
5599 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
5600 src/document.h, src/main.c:
5601 Add documents_foreach() API macro that skips invalid docs.
5602 Make filetypes[], documents[] part of the API again.
5603 Add GEANY() macro for sharing geany symbols between API and core.
5604 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
5605 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
5606 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
5607 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
5608 plugins/classbuilder.c, wscript:
5609 Add geanyplugin.h single include for plugin API; update all core
5611 Add sci_set_font() to API.
5612 Update plugin howto.
5613 * src/filetypes.c, src/filetypes.h:
5614 Remove filetypes_foreach_named().
5617 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5619 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
5620 src/document.h, src/main.c, THANKS:
5621 Apply patch from Eugene Arshinov to reload color schemes via menu
5624 Reload filetypes.common after saving it.
5626 Improve wrong brace highlighting of non-brace character.
5629 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5632 Delay highlighting matching braces by 100ms, which speeds up
5633 scrolling with the arrow keys.
5634 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
5635 Add 'Mark All' keybinding.
5636 * tagmanager/diff.c:
5637 Show relative paths in diff filename tags.
5640 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5642 * src/highlighting.c:
5643 Fix setting keyword list 'classes' for Haxe
5644 (pointed out by Andreas Mokros, thanks).
5647 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5649 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
5650 doc/geany.txt, doc/geany.html, geany.glade:
5651 Add 'Drop rest of word on completion' pref.
5652 * src/editor.c, doc/geany.txt, doc/geany.html:
5653 If autocompletion is already visible when forcing completion, show
5654 document word completion instead of tag completion.
5655 Docs: Minor edits of related prefs items.
5656 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
5657 Add warning when printing and editor font is not monospaced.
5658 Fix using GtkMessageType instead of gint param for
5659 dialogs_show_msgbox*().
5660 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
5662 Support 'tab indents, space aligns' style for auto-indentation
5666 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5668 * src/document.c, src/documentprivate.h:
5669 Rework the GIO based file monitoring code. Now it is used only
5670 to indicate a possible change of the file, the real check if the
5671 file has been changed is performed by stat().
5672 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
5673 Add style 'line_height' to increase the line height.
5674 Add style 'marker_mark' and change style 'marker_search' to
5675 define the style used for marked search results.
5676 * doc/geany.txt, doc/geany.html:
5677 Add the new 'Autocomplete all words in document' pref to the docs.
5680 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5682 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
5683 doc/geany.txt, doc/geany.html, geany.glade, TODO:
5684 Add 'Autocomplete all words in document' pref.
5685 Use 'autocompletion' in dialog and docs, not 'auto completion'.
5687 Fix limiting number of word completion entries too much.
5688 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
5689 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
5690 Show autocompletion icons for tag symbols - for now only tags with
5691 an arglist have the 'function/method' icon, all others have the
5693 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
5695 * src/highlighting.c:
5696 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
5700 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5702 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
5703 Fix removing underscores in translated string using no_underscore()
5705 Set a tooltip for the Split Window plugin's Show Current tool button.
5706 Add utils_strdupa() macro.
5707 * src/interface.c, geany.glade:
5708 Use stock Select All icon now we have >= GTK 2.8.
5710 Fix using project name for document items that start with the
5711 project base path but don't match it e.g. ".../geany-plugins"
5712 instead of ".../geany" when project name is 'geany'.
5715 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5718 Fix warnings when the toolbar does not contain the Run button.
5720 Fix wrong parsing of complex expressions in the Lua parser.
5721 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
5723 Remove unnecessary enums.
5724 * scintilla/*, scintilla/include/*, src/plugindata.h:
5725 Update Scintilla to version 1.79.
5726 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
5728 Use the new Scintilla struct names prefixed with 'Sci_'.
5729 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
5731 Add second argument to the 'line_wrap_indent' styling setting to
5732 control the new Scintilla indentation mode for wrapped lines.
5734 Properly close the toolbar editor on delete-events.
5735 Fix warnings and possible crashes in the toolbar editor when the list
5736 of displayed toolbar items is empty.
5737 * data/filetypes.tcl:
5738 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
5740 Make the plugin manager dialog a bit bigger.
5743 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5745 * doc/geany.html, doc/geany.txt:
5746 Fix wrong default values for the 'Show Calltip' keybinding.
5749 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5751 * data/filetypes.tcl, src/symbols.c:
5752 Fix duplicate "context_action_cmd" key.
5753 Use different icons for "Methods" and "Procedures" in the symbol
5756 Fix a small memory leak.
5757 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
5758 src/keybindings.h, src/plugindata.h:
5759 Make the Scintilla keybindings 'Delete to end of line' and
5760 'Go to end of display line' configurable.
5762 Fix a typo (closes #2813624).
5765 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5767 * tagmanager/tcl.c, src/symbol.c:
5768 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
5769 methods and namespaces).
5770 Patch by Witek Mozga, thanks.
5773 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5775 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
5776 src/toolbar.c, src/toolbar.h:
5777 Remove ui_toolbar.xml Configuration Files menu item.
5778 Add a real toolbar editor dialog.
5779 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
5781 Add a button in the preferences dialog and an item for the toolbar
5782 popup menu to run the toolbar editor dialog.
5785 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5788 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
5789 Fix using locale encoding for default Save As dialog path.
5791 Beep when trying to activate the '...' autocompletion item.
5792 Limit (forced) document word completion to
5793 autocompletion_max_entries.
5794 Beep if no completions are shown when forcing autocompletion.
5797 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5799 * data/ui_toolbar.xml, src/toolbar.c:
5800 Add 'Build' toolbar button to the default layout.
5803 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5806 If forcing autocompletion and there's nothing else to show, complete
5807 from words in the current document (using code from Enrico's
5808 'AutoComplete Test' plugin).
5811 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5814 Add debug message if plugin has not set a name for its keybinding
5816 * data/filetype_extensions.conf:
5817 Add *.m4 for shell scripts.
5820 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5822 * src/highlighting.c, doc/geany.txt, doc/geany.html,
5823 data/filetypes.common, TODO:
5824 Make filetypes.common named styles use the "default" named style for
5825 all missing style fields.
5826 Set named styles to usually leave the background style empty. This
5827 currently allows C-like filetypes to have a common default
5829 Allow hard-coded colors to use -1 for the default color.
5830 Add some highlighting style examples to the manual.
5833 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5836 Create initial template files with proper platform-specific line
5840 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5842 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
5843 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
5844 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
5845 src/ui_utils.c, src/ui_utils.h:
5846 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
5848 Refactor some related code.
5849 * tagmanager/conf.c:
5850 Strip trailing spaces from "Key" tags.
5852 Quote the full filename to the Geany executable when creating the
5853 "Open with Geany" context menu item.
5854 * plugins/splitwindow.c:
5855 Avoid using deprecated GTK API.
5856 * src/log.c, src/main.c:
5857 Properly clean up the logging mechanism.
5859 Fix LaTeX view commands on Windows (part of #2807688).
5861 Add a popup menu for the keybinding list in the preferences dialog
5862 to easily expand and collapse all groups.
5863 Refactor the keybindings code for the preferences dialog, prefix all
5865 * src/main.c, src/ui_utils.c, src/ui_utils.h:
5866 Init stock items before creating the toolbar (closes #2809324).
5868 Generate the geany.pc file also on Windows.
5870 Invert the logic to determine which Save All we want to use:
5871 Use the Tango like icon only for the Tango theme and the Gnome / GTK
5872 like icon for any other themes.
5875 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5877 * src/highlighting.c, README.Packagers, HACKING:
5878 Remove gsd_* default styles, use named styles instead.
5879 Note: this relies on filetypes.common being installed.
5880 Add load_style_entries(), which makes style initialization
5881 simpler, used in styleset_c_like_init().
5884 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5887 Prevent possible crash on Windows when not setting an initial
5888 directory for native File Open/Save dialogs.
5889 * data/filetypes.xml, src/highlighting.c:
5890 Add style 'jscript_regex' for filetype HTML
5891 (patch by Chris Macksey, thanks).
5894 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5896 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
5897 Make GeanyDocument::file_type always be non-NULL, even for a new
5898 document with no filetype set.
5900 Only autocomplete scope for scopes matching the current filetype's
5902 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
5903 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
5904 data/filetypes.actionscript, data/filetypes.cs,
5905 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
5906 data/filetypes.javascript, HACKING:
5907 Make C++, D lexer filetypes use named styles (apart from uuid,
5908 verbatim, regex styles).
5911 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5914 Don't explicitly change the current directory of the Save As dialog
5915 so that it uses the last used directory.
5918 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5920 * src/encodings.c, src/encodings.h, src/plugindata.h:
5921 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
5924 When completing from the macro list, put the cursor after
5928 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5930 * tagmanager/pascal.c:
5931 Fix type definitions being parsed as functions.
5933 Don't autocomplete in unterminated strings as well.
5934 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
5935 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
5936 Remove data_ptr argument to foreach_[s]list() macros, as using
5937 node->data is enough sometimes; this makes the macro a bit more
5939 Add foreach_[s]list() macros to the plugin API docs.
5942 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5944 * scintilla/LexPascal.cxx:
5945 Backport fix from Scintilla CVS:
5946 Pascal lexer hanging on file that starts with 'interface' after
5950 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5953 Update Waf to 1.5.7.
5955 Overwrite installation prefix on Windows only if it wasn't
5956 specified explicitly.
5959 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5962 Display calltips for Pascal symbols in the Pascal way (#2803945).
5963 * tagmanager/pascal.c:
5964 Fix wrongly set return values for procedures (closes #2803945).
5965 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
5966 tagmanager/include/tm_source_file.h,
5967 tagmanager/include/tm_workspace.h:
5968 Fix doxygen warnings.
5971 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5973 * src/editor.c, tagmanager/include/tm_workspace.h,
5974 tagmanager/tm_workspace.c, TODO:
5975 Autocomplete scoped fields like struct members when typing '.' (and
5976 also '->' or '::' in C/C++).
5977 Save all tag types for C/C++ when generating a global tags file, so
5978 we can use autocompletion for structs also.
5979 Merge tm_workspace_find_scope_members(),
5980 tm_workspace_find_namespace_members() (currently not built) from
5981 Anjuta 2.24.1 tagmanager.
5984 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5986 * tagmanager/pascal.c:
5987 Parse Pascal calltips (closes #2802640).
5990 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5992 * src/filetypes.c, src/ui_utils.c:
5993 Add filetypes.common Configuration Files menu item.
5996 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5999 Add backslash to the wordchars on Windows when using
6000 'Open Selected File'.
6002 Add support (configure, build and install) for building on Windows
6003 and cross-compiling for Windows using the Waf build system.
6006 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6009 Set status bar text instead of showing a dialog when saving
6010 ui_toolbar.xml because the user might save several times.
6012 Fix redrawing due to colourising just after the document is first
6013 drawn. Now colourising should happen before the first draw.
6014 * src/utils.c, src/highlighting.c, data/filetypes.common:
6015 Fix segfault on parsing a filetypes.* style definition that has < 4
6017 Allow style definitions to have missing fields to use the default
6021 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6023 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
6024 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
6025 * plugins/classbuilder.c:
6026 Fix wrongly created header guards when the class filenames contains
6027 dashes (patch by PCMan, thanks).
6028 * data/filetypes.matlab:
6029 Add build_settings section to allow executing Matlab scripts.
6031 When closing a document, mark it as invalid before removing it from
6032 the documents notebook (this fixes wrong Save All button state when
6033 closing an unsaved document because the "switch-page" signal handler
6034 was using old data).
6037 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6039 * src/highlighting.c, doc/geany.txt, doc/geany.html:
6040 Support toggling bold/italic when using a named style, e.g.:
6041 commentdockeyword=commentdoc,bold,italic
6042 Improve named style docs.
6045 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6047 * src/build.c, src/editor.c:
6048 Fix crashes when parsing the output of a compiler which reports
6052 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6054 * src/highlighting.c:
6055 Support named styles also for filetypes.common [styling] entries.
6056 * doc/geany.txt, doc/geany.html, HACKING:
6057 Update docs for named styles in filetypes.* files.
6059 Fix grouping symbol list children when parent name has "." character
6060 in for reStructuredText and Conf filetypes.
6061 * tagmanager/python.c:
6062 Fix grouping functions/classes under a nested function.
6065 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6068 Adjust icon paths (patch by Dominic Hopf, thanks).
6069 * doc/geany.txt, doc/geany.html, src/toolbar.c:
6070 Add 'Replace' toolbar button (closes #2798225).
6073 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6075 * src/utils.c, src/highlighting.c, TODO:
6076 Implement named styles support for filetypes.* using a
6077 filetypes.common [named_styles] section e.g.:
6078 foo=0xc00000;0xffffff;false;true
6080 These can be used in e.g. filetypes.c as:
6084 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6087 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
6090 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6092 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
6093 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
6096 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6099 Remove quote_executable() as it is not used anymore.
6100 When creating the geany_run_script.bat use the "%0" variable
6101 expansion and quote it for the "del" command (closes #2797172).
6103 On Windows, fallback to the literal build command line if searching
6104 for the command in the system path failed (related to #2795923).
6105 Properly terminate the resulting strings when reading the stdout
6106 and stderr of any spawned commands on Windows.
6109 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6112 Use the wide character versions of native Windows File dialogs.
6114 Fix wrong initialisation of the default project path button callback
6115 in the preferences dialog.
6116 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
6117 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
6118 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
6119 icons/Makefile.am, icons/geany.ico, icons/scalable,
6120 icons/scalable/Makefile.am, icons/scalable/geany.svg,
6122 Move the icons geany.png and geany.ico into the icons directory.
6123 Add a 16x16 pixel Geany icon and the scalable SVG icon.
6124 Drop the pixmaps directory.
6127 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6129 * src/keybindings.c:
6130 Improve MRU document switching so there are no duplicates in the
6131 list and documents switched to whilst the dialog is open are
6132 ignored. Also beep when cycling through to the first document in the
6136 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6139 Fix broken 'Cancel' button in the Save As dialog.
6142 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6145 Fix multiline indent when selection covers text on the last line.
6147 Show current document in bold in tab popup menu.
6148 * src/editor.c, tagmanager/python.c, TODO:
6149 Parse Python calltips.
6152 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6154 * src/symbols.c, tagmanager/python.c:
6155 Parse Python import statements to get symbol completion for the
6156 imported module names.
6157 * src/editor.c, src/editor.h:
6158 Make some only locally used functions static.
6159 Fix wrong sanity check.
6161 Fix quoting the build command string on Windows (closes #2791769).
6162 This broke when we made build commands run synchronously on Windows,
6163 now we don't need to special quote the commands anymore.
6166 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6169 Drop rest of word to the right of cursor when autocompleting (do we
6170 need a pref for this?).
6173 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6175 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
6176 Add sci_set_selection().
6177 * doc/geany.txt, doc/geany.html:
6178 Update manual for MRU switching.
6179 * src/callbacks.c, src/editor.c, src/editor.h:
6180 Make indenting with the Tabs indent type preserve spaces on the line,
6181 so it works for the 'tab indents, space aligns' formatting style.
6184 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6186 * tagmanager/python.c:
6187 Fix missing symbols for variables when an equal sign is used
6188 in a comment on the same line as the variable declaration.
6189 Backport change from CTags SVN to keep the parser more in sync:
6190 Add support for Cython constructs to the Python parser.
6192 Remember the additional Find in Files search flags at startup.
6194 Don't close the Save As dialog when saving the file didn't succeed.
6197 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6200 Remember scribble cursor position.
6201 * src/keybindings.c, TODO:
6202 Implement Most-Recently-Used document switching when pressing
6203 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
6206 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6208 * data/latex.tags: Added some more commands from unit.sty and
6212 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6214 * src/symbols.c, doc/geany.txt, doc/geany.html,
6215 tagmanager/makefile.win32, tagmanager/nestlevel.c,
6216 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
6217 tagmanager/Makefile.am, wscript:
6218 Merge unstable branch:
6219 Add reStructuredText scope information for tags (for symbol list
6221 Read custom system global tags files from $prefix/share/geany/tags;
6223 Show the number of tags in a user global tags file (instead of the
6224 running total) in the debug message.
6225 Also print debug messages when loading a tag file manually or for
6226 default global tags files e.g. python.tags.
6228 Move NestingLevel tags code into a separate file, add functions.
6230 Add 'Installation prefix' section instead of quoting '/usr/local'
6232 Update for custom system global tags files.
6235 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6237 * src/highlighting.c:
6238 Unset maybe previously keywords when setting up Scintilla for
6239 XML files. This fixed wrong highlighting after switching back to
6240 filetype XML from another one.
6242 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
6243 is only used when explicitly requested.
6245 Remove unnecessary call to g_intern_string() to fix build with
6246 GLib 2.8 (closes #2790051).
6249 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6252 Make the clear icon of entry fields act on the release event, not
6253 on the press event like for other buttons.
6255 Refactor some multiple used code into get_multiline_comment_style().
6257 Create parent directories if necessary when checking for the
6258 configuration directory on startup (closes #2784577).
6261 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6263 * plugins/filebrowser.c:
6264 When a filter is set, apply it only to files, not directories and
6265 apply the filter to the UTF-8 name of the file as the filter string
6266 itself is also UTF-8.
6267 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
6268 Add utils_color_invert() and use it in highlighting.c and printing.c.
6269 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
6270 Backport change from Scintilla CVS:
6271 Change capitalisation of header file to suit cross-compilation on
6275 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6277 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
6278 Update Scintilla to version 1.78.
6279 * src/editor.c, src/highlighting.c:
6280 Update Pascal styles as they changed in Scintilla.
6283 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6286 Ignore the invert syntax highlighting colours setting when printing
6287 to not print characters on a dark background (closes #2785244).
6288 * New release: Geany 0.17 "Wessex".
6289 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
6290 src/geany.h, doc/geany.html, doc/geany.txt:
6291 Post-release version bump.
6294 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6296 * src/callbacks.c, src/callbacks.h, src/main.c:
6297 Update the View->Fullscreen menu item when fullscreen state is
6298 changed externally (e.g. by the window manager).
6300 Fix passing wrong pointer to the File Open dialog for the Run
6301 command in the Project Properties dialog.
6304 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6306 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
6308 Remember the active sidebar page between sessions.
6310 Add a recent project item after creating a new project.
6311 * tagmanager/ruby.c:
6312 Fix wrong parsing of string literals (closes #2781264).
6314 Fix setting focus to the editor widget after changing the selection
6318 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6321 Prevent crashes when two or more top level items in the symbol
6322 list have the same name (closes #2778246).
6325 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6327 * src/keybindings.c:
6328 Manually show the main notebook tab bar menu when Shift-F10 is
6329 pressed. This broke when we disabled the default GTK tab bar menu.
6331 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
6332 which was reloaded shortly before.
6334 When the editor menu is opened by the Menu key, use the text cursor
6335 position for retrieving the current word. This fixes disabled
6336 Go to Tag items in the menu (#2780044).
6338 Set the "ellipsize" property of GtkCellRendererText to automatically
6339 shorten the path and file names in the Documents list.
6340 * doc/geany.html, doc/geany.txt, src/build.h:
6341 Increase the amount of highlighted build error messages to 100.
6342 At least for LaTeX we need higher values as there is a lot of
6343 informative output before any errors are reported.
6344 * src/filebrowser.c:
6345 Use the startup path as the initial directory for the filebrowser
6346 plugin when no project and no files are opened
6347 (patch by Matias Gea, thanks; closes #2780521).
6350 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6352 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
6353 src/utils.c, src/utils.h:
6354 Ellipsize tab labels and some status messages for very long
6355 filenames (closes #2777348).
6356 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
6357 Add utils_str_middle_truncate() and
6358 document_get_basename_for_display() to the plugin API.
6359 * doc/geany.html, doc/geany.txt, src/toolbar.c:
6360 Add new toolbar element: Print (patch by Roland Baudin, thanks).
6361 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
6363 Add a hidden preference 'use_safe_file_saving' to save files to disk
6364 by creating a temporary file first. This has serious side effects,
6365 please read the documentation before enabling this.
6367 Make build commands on Windows run synchronously to avoid problems
6368 with reading build commands' output.
6369 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
6370 Limit the amount of highlighted build error messages in the
6371 Compiler window to 50 for performance reasons.
6374 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6376 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
6378 Replace our own GEANY_KEYS_MODIFIER_MASK by
6379 gtk_accelerator_get_default_mod_mask() which gives the same result.
6380 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
6381 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
6382 Add a trivial symbol parser for NSIS files.
6385 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6388 Hide the extra file open dialog options in an expander to make the
6389 dialog more compact by default and to provide more space for the
6391 Remove the filename field as it is also provided by GTK itself with
6392 more features like auto-completion.
6393 Watch the 'show-hidden' property of the file chooser widget using
6394 GObject's "notify" signal which gives accurate results and remove
6395 the hack using the "selection-changed" signal.
6398 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6400 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
6401 Prevent double execution of radio menu item "activate" or "toggled"
6403 Move 'Set Encoding' callback function into encodings.c.
6406 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6409 Add some missing 'void's in function definitions.
6410 If the project base path is './', just use the path of the project
6411 config file instead of appending './'.
6412 * src/treeviews.c, src/project.c:
6413 When a project is loaded, replace the project base path with the
6414 project name in the Documents sidebar for parent items
6418 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6420 * src/keyfile.c, src/keyfile.h, src/project.c:
6421 Fix duplicating the recent files and projects lists when closing
6423 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
6424 src/editor.c, src/encodings.c, src/filetypes.c,
6425 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
6426 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
6427 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
6428 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
6429 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
6430 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
6431 Remove all G_LIKELY macros inside g_return_if_fail() statements as
6433 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
6434 sense to keep the code more readable.
6437 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6440 When updating global type definitions for opened documents, take
6441 also C++ namespace symbols into account and don't ignore symbols
6442 which are defined inside a scope.
6445 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6448 Don't show 'plugin is not binary compatible' messages on the status
6449 bar, only the status window.
6452 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6455 When opening files from a remote instance on X11, set the window
6456 server time to encourage window managers to pop up the main window
6457 (related to #2735467 and #2276179).
6459 When finished sending filenames to a remote instance, notify the
6460 environment that we finished starting up.
6463 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6465 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
6466 Sort Configuration Files menu.
6467 Add ui_menu_sort_by_label().
6468 Add foreach_list() macro.
6473 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6476 Fix setting a wrong default window size when starting without an
6477 existing configuration.
6478 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
6479 Make editor_highlight_braces() static.
6480 Remove unused wrapper functions.
6481 * src/editor.c, src/symbols.c, src/symbols.h:
6482 Prevent showing an empty macro list.
6483 Show only macros of the same filetype instead of all macros of all
6486 Don't add opened project files to the GtkRecentManager.
6489 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6492 Add Configuration Files item for snippets.conf.
6493 * src/highlighting.c, src/symbols.c:
6494 Fix 2 old uses of filetype IDs.
6497 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6499 * src/interface.c, src/printing.c, geany.glade:
6500 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
6503 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6506 Add sanity checks in ui_lookup_widget() just to be safe.
6507 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
6508 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
6509 src/project.h, src/ui_utils.c, src/ui_utils.h:
6510 Add "Recent Projects" menu to the Project menu
6511 (#2728630, patch by Elias Pschernig, thanks).
6512 * doc/geany.txt, doc/geany.html:
6513 Describe how to build Geany using the Waf build system.
6514 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
6515 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
6516 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
6517 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
6518 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
6519 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
6520 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
6521 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
6522 src/utils.c, src/utils.h, src/vte.c:
6523 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
6524 performance when building the code with gcc.
6525 * src/highlighting.c:
6526 Fix typo in the G_LIKELY checks, introduced in last commit.
6527 Fix the size of the styles array.
6529 Show a message dialog when renaming a file fails.
6532 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6535 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
6536 (as we did for all other files in SVN r3382).
6539 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6541 * src/filetypes.c, doc/geany.txt:
6542 Move ActionScript to the Script group.
6544 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
6545 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
6546 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
6547 plugins/htmlchars.c:
6548 Merge reorder-filetypes branch:
6549 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
6550 append randomly without breaking the ABI).
6551 Make None filetype name = title = _("None").
6552 Add foreach_slist() macro.
6553 Add filetypes_by_title list to GeanyData for plugin API access
6554 - a list of filetype pointers, which includes the None filetype
6555 first. This list stays constant by the time plugins are initialized,
6556 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
6557 index the sorted list.
6560 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6562 * doc/geany.txt, doc/geany.html, src/main.c:
6563 Add widget names for the menubar and toolbar.
6565 When hiding the messages window, set the input focus back to the
6566 editor widget (part of #1910393).
6569 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6571 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
6572 Backport recent changes from Scintilla CVS to add partial support
6573 for RFC2822 styled text using the Properties lexer.
6574 Ignore leading whitespace for config files and RFC2822 text.
6575 * data/filetypes.actionscript:
6576 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
6577 * THANKS, src/treeviews.c:
6578 Display file/directory icons in the Documents sidebar
6579 (patch by Simon Treny, thanks).
6582 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6584 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
6585 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
6586 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
6587 Add an option to allow appending the toolbar to the main menu bar
6588 to save some vertical space.
6589 Allow setting toolbar icon size to very small (menu icon size).
6592 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6594 * src/keyfile.c, src/utils.c, src/utils.h:
6595 Add utils_path_skip_root(), a relative path safe variant of
6596 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
6597 * src/keyfile.c, src/main.c:
6598 Allow negative window coordinates when saving and restoring the
6599 position of the main window.
6600 Restore the main window position and size *after* the window has
6601 been realised to get it positioned accordingly
6602 (this affects at least Windows).
6605 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6607 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
6608 Use g_win32_get_package_installation_directory_of_module() on Windows
6609 with newer GLib versions instead of deprecated API.
6610 * src/keybindings.c:
6611 Don't manage the last used documents list when quitting to prevent
6612 errors by accessing invalid memory (may close #2533990).
6615 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6618 Delete the geany_run_script.sh immediately after execution
6619 to prevent leaking old copies when the script was quit unexpectedly
6620 (closes #2710482, patch by Martin Olsson, thanks).
6622 Check whether skipping the root element of a document's filename
6623 succeeded and use the filename itself if not (e.g. on relative
6624 filenames, #2702844).
6625 Use the locale encoded filename when saving session files.
6627 Re-set the quitting status after all documents have been closed on
6631 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6633 * plugins/htmlchars.c:
6634 Remove usage of deprecated sci_get_selected_text() from plugin.
6637 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6640 Delay disk file checks when switching between documents a little
6641 bit to avoid fast, unintentional page switching in some cases.
6642 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
6643 src/sciwrappers.c, src/sciwrappers.h:
6644 Deprecate sci_get_text(), sci_get_selected_text() and
6645 sci_get_text_range().
6646 Add sci_get_contents(), sci_get_contents_range() and
6647 sci_get_selection_contents() as replacement functions to provide
6648 an easier and cleaner API (initial patch by Frank).
6651 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6654 Fix wrong parsing of CSS tags when the definition block starts on
6655 a new line (reported by Dominic Hopf, thanks).
6658 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6660 * plugins/htmlchars.c:
6661 Extend plugin by feature to bulk replace and replace on input for
6662 special characters to their HTML entities.
6665 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6668 Update build menu items after changing anything in the
6669 'Set Includes and Arguments' dialog.
6670 Disable Compile/Run buttons/menu items when Compile/Run commands are
6672 Reset current build directory to the base directory after reading a
6673 "Leaving directory" message when parsing Make output
6674 (closes #2694479, patch by Andrea Mazzoleni, thanks).
6676 Fix wrong display of the filename in the tab bar menu for new files.
6678 Set the initial directory for the Save As dialog only once on
6680 Add a shortcut of the project's base directory to the
6681 File Open/Save As dialogs when a project is open for faster access.
6682 * src/splitwindow.c:
6683 Add keybindings for the split actions.
6686 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6689 When using Find All in the Find dialog (in Session and Document),
6690 display the right amount of matches.
6691 Fix the display of the matches once per line (I broke the original
6694 Fix wrong directory selection behaviour in all Open Folder dialogs
6695 (closes #2688020, patch by Marcel Stimberg, thanks).
6697 Don't present the main window of a running instance when starting
6698 a second instance separately.
6701 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6704 Reduce default file permissions on the Unix Domain socket file
6705 (reported by Jörg Sommer, thanks).
6708 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6710 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
6711 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
6713 Add an option to set an additional plugin lookup path.
6715 When using Find All in the Find dialog, display matches only once
6716 per line in the messages window (patch by Bert Vermeulen, thanks).
6719 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6721 * data/filetype_extensions.conf, data/filetypes.actionscript,
6722 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
6723 src/highlighting.c, src/plugindata.h, src/symbols.c,
6724 tagmanager/Makefile.am, tagmanager/actionscript.c,
6725 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
6726 Add filetype ActionScript (patch by Chris Macksey, thanks).
6727 Update type keywords only for real C-like languages.
6728 Fix wrong sorting of Assembler and Ada filetypes.
6729 * plugins/classbuilder.c:
6730 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
6731 Other minor cleanups.
6734 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6737 Don't use menu item images for the tab bar menu to save some
6739 * data/filetypes.fortran, tagmanager/fortran.c:
6740 Add keyword 'extends' and fix Fortran parser to support the
6741 'extends' keyword (closes #2654492).
6742 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
6743 src/search.c, src/toolbar.c:
6747 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6749 * src/about.c, THANKS:
6750 Added Jari Rahkonen to list of Finnish translators.
6753 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6756 Adjust minimum required GTK version.
6757 * src/Makefile.am, wscript:
6758 Add main.h to the list of installed header files.
6759 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
6760 src/notebook.c, src/ui_utils.c:
6761 Remove GeanyDocumentPrivate::tabmenu_label.
6762 Disable the default tab bar menu for the main notebook widget and
6763 use a custom menu instead which lists all open files as usual plus
6764 'Close Other Documents' and 'Close All' menu items.
6767 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6769 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
6770 Move ui_set_search_entry_background() into ui_utils.c.
6771 Change the background colour of the search entries in the Find
6772 and Replace dialogs according to the search results like in the
6773 toolbar search field.
6774 Add images to the 'Replace' and 'Replace and Find' buttons in the
6776 Minor cleanups in search.c.
6777 * tagmanager/tm_source_file.c:
6778 Update source files upon creation.
6780 Update C tags for glibc 2.9.
6781 * src/callbacks.c, src/toolbar.c:
6782 Fix broken non-incremental search with the toolbar search entry when
6783 pressing Enter (closes #2638180).
6784 * plugins/splitwindow.c:
6785 Fix possible crash on non-32-bit systems (patch by
6786 Wolfgang Ocker, thanks).
6788 Update the Packager tag due to Dominic's various contributions.
6789 Update description and feature list.
6790 Change Source tag to the gzip'ed tarball to be in sync with the
6791 Makefile target (thanks to Wolfgang Ocker for reporting).
6794 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6796 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
6797 Removed deprecated plugin VC Diff
6800 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6803 Fix wrong Fortran 90 comment characters when inserting templates.
6804 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
6805 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
6806 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
6808 Add 'Send Selection to Terminal' command to the Edit->Format menu
6809 (initial patch by David Gleich, thanks).
6810 * geany.glade, src/interface.c:
6811 Fix mnemonic for the Edit->Preferences menu item.
6814 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6816 * configure.in, plugins/Makefile.am:
6817 Enable socket support when cross-compiling.
6818 Enable plugin compilation when cross-compiling.
6820 Fix missing NULL checks when reading the colour value of compiler
6822 * src/main.c, src/win32.c, src/win32.h:
6823 On Windows, change the working directory to the Geany installation
6824 path at startup to avoid unwanted directory locking(closes #2626124).
6826 Fix broken selection of "Document->Set Encoding" menu items.
6827 * src/document.c, tagmanager/include/tm_source_file.h,
6828 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
6829 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
6830 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
6831 Don't let the tagmanager automatically reparse files if they
6832 seem to be changed on disk (affects all files in the current session,
6833 not the current one). This should speed up file saving a little bit,
6834 especially with remote files.
6835 Remove now unnecessary calls to tm_workspace_update().
6837 Allow an empty value for the date format in the print settings to
6838 omit the date/time string in the print header.
6841 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6843 * src/editor.c: Set cursor for LaTeX at auto closing of environment
6847 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6850 Add missing header include (closes #2615808).
6853 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6856 Fix a possible crash when comparing symbol names
6857 (could be related to Ubuntu bug #147151).
6858 Fix broken symbol list tooltips when tag names contain ampersands.
6861 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6863 * plugins/makefile.win32:
6864 Don't build Split Window plugin on Windows (doesn't work).
6867 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6869 * ChangeLog, Makefile.am: Rotate ChangeLog.
6870 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
6871 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
6872 Post-release version bump.
6875 *** See ChangeLog.pre-0-17 for earlier changes ***