1 2011-04-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4 Ignore scrolling events in on_update_ui().
5 * src/geanyobject.c, src/plugindata.h, src/geanyobject.h,
6 src/document.c, doc/pluginsignals.c:
7 Add and use signal "document-reload" to the plugin API.
8 * src/symbols.c, tagmanager/sql.c:
9 Fix mapping of SQL tags for Geany's symbol list (closes #3216474).
10 * src/ui_utils.h, src/plugindata.h, src/document.c, src/plugins.c,
11 src/document.h, src/ui_utils.c, plugins/geanyfunctions.h:
12 Add ui_menu_add_document_items_sorted() and
13 document_sort_by_display_name() to the plugin API.
16 2011-04-08 Colomban Wendling <colomban(at)geany(dot)org>
18 * scintilla/lexers/LexCPP.cxx:
19 Make hightlighting of triple-quoted verbatim an option (Backport
20 from Scintilla HG 3602:5536ed81a85b).
22 Add highlight for triple-quoted verbatims.
23 * data/filetypes.c, data/filetypes.vala, data/filetypes.Genie.conf,
24 data/filetypes.Scala.conf:
25 Highlight triple-quoted verbatims in Vala, Genie and Scala filtypes.
26 * data/filetypes.Genie.conf:
27 Copy C styling rather than redefining the styles.
29 Don't set font twice for line numbers and braces.
32 2011-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
35 Remove TEMPLATES_GET_FILENAME() macro.
37 Don't auto-enable case-sensitive option when enabling regex in
41 2011-04-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
43 * scintilla/gtk/ScintillaGTK.cxx:
44 Fix X PRIMARY selection issue when Scintilla widget is
45 unrealized/re-realized (Backport from Scintilla HG,
46 original patch by Matthew Brush).
47 Reset cursors when Scintilla widget is realized (Backport from
48 Scintilla HG, original patch by Matthew Brush).
51 2011-04-04 Colomban Wendling <colomban(at)geany(dot)org>
53 * scintilla/gtk/PlatGTK.cxx:
54 Fix font rendering in Scintilla when using Cairo.
57 2011-04-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
59 * src/interface.c, geany.glade:
60 Make Project->Properties the last menu item so it's faster to use.
63 2011-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
66 Update Scintilla to version 2.25.
67 * version.txt, Makefile.am:
68 Add Scintilla's version.txt file.
69 * scintilla/makefile.win32, tagmanager/makefile.win32, makefile.win32:
70 Replace escape character '\' by slash '/' in paths in the
71 Windows Makefiles (patch by Matthew Brush, thanks).
73 Reflect the existence of the entered command in `Set Custom Commands`
74 dialog as well using the yes/no icon.
77 2011-04-03 Colomban Wendling <colomban(at)geany(dot)org>
79 * src/main.c, src/prefs.c, src/tools.c:
80 Fix loading and updating menu accelerators for custom commands.
82 Don't allow editing keybinding column of group rows.
84 Fix ID of newly added commands in the `Set Custom Commands` dialog.
87 2011-04-02 Colomban Wendling <colomban(at)geany(dot)org>
89 * src/tools.c, doc/geany.txt, doc/geany.html:
90 Improve the `Set Custom Commands` dialog.
93 2011-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
95 * src/interface.c, src/interface.h, geany.glade:
96 Rename Preferences dialog Interface subtab More -> Notebook tabs.
97 * src/toolbar.c, src/dialogs.c:
98 Use mimetype icon in File Properties dialog.
99 * doc/geany.txt, doc/geany.html:
100 Fix title capitalization.
101 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
102 Move Preferences dialog Toolbar tab under Interface tab.
104 Tweak some build dialog labels:
107 Use filetype name instead of title.
108 * src/templates.c, src/templates.h, doc/geany.txt, doc/geany.html:
109 Remove old filetype templates support - users can use custom file
113 2011-04-01 Colomban Wendling <colomban(at)geany(dot)org>
116 Update regex used to find encodings for it to allow the encoding to
117 be quoted, adding support for XML (closes #3183506).
119 Implement charset name normalization in order to better deal with
120 badly-written encoding names (i.e. names found by regex search).
121 This also makes encodings_get_idx_from_charset() and
122 encodings_get_from_charset() more permissive regarding the passed-in
125 Always try to honor the charset found in the document, even if the
126 document can be loaded as UTF-8.
127 This make files encoded with e.g. ISO-8859-1 that have the proper
128 information in them but only use the UTF-8 compatible part of
129 ISO-8859-1 to be properly loaded as ISO-8859-1, rather than UTF-8.
130 Also fix check for locale encoding.
131 * src/tools.c, doc/geany.txt, doc/geany.html:
132 Make `Send selection to` send the current line if there is no
136 2011-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
138 * plugins/filebrowser.c:
139 Make 'Hide object files' preference configurable with file
141 * plugins/filebrowser.c:
142 Fix applying default setting for hide_object_files (oops).
143 Fix warning when enabling plugin from the Plugin Manager.
144 * plugins/filebrowser.c:
145 Fix optimization for filter check when pattern is '*'.
146 Use foreach_strv() instead of foreach_c_array().
147 * plugins/filebrowser.c:
148 Don't hide directories matching hidden file extensions e.g. foo.o.
149 Refactor with check_object().
152 2011-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
155 Use STYLE_MAX instead of 127 for editor_set_font(). This fixes a
156 crash in the Split Window plugin when changing filetype (patch by
157 Matthew Brush, thanks; fixes #3255968).
158 * plugins/splitwindow.c:
159 Update styles when the filetype changes (based on patch by
160 Matthew Brush, thanks).
161 * plugins/saveactions.c:
162 Fix Instant Save preferences combo box filetype order.
163 * plugins/filebrowser.c:
164 Remove macro CHECK_READ_SETTING().
167 2011-03-30 Colomban Wendling <colomban(at)geany(dot)org>
169 * src/plugindata.h, src/pluginprivate.h, src/plugins.c,
170 src/pluginutils.c, src/pluginutils.h plugins/geanyfunctions.h:
171 Add plugin_idle_add(), plugin_timeout_add() and
172 plugin_timeout_add_seconds() to the plugin API. These are
173 convenience wrappers to ensure the added timeouts are properly
174 removed when unloading the plugin, preventing possible crashes.
175 * plugins/splitwindow.c:
176 Use new plugin_idle_add(), preventing an unlikely crash.
177 * doc/pluginsymbols.c, src/sciwrappers.c:
178 Fix a few Doxygen warnings.
179 * plugins/saveactions.c:
180 Properly use 0 as the invalid timeout source ID.
183 2011-03-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
185 * doc/geany.txt, doc/geany.html:
186 Add #reading-styles-from-another-filetype subsection, based on
187 patch by Matthew Brush (thanks).
188 * doc/geany.txt, doc/geany.html:
189 Add #filenames subsection for filetype definition files explaining
190 the filename extensions and special cases.
191 * src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
192 src/main.c, plugins/geanyfunctions.h:
193 Add filetypes_get_sorted_by_name() to API.
194 Fix --ft-names sorting to print in name order, not title order.
197 2011-03-28 Colomban Wendling <colomban(at)geany(dot)org>
199 * src/document.c, src/document.h, src/editor.c, src/keybindings.c:
200 Don't update parent WorkObjects when updating one in real-time. This
201 should fix some performance issues if a WorkObject has many parents.
204 2011-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
206 * src/makefile.win32, src/main.c, src/Makefile.am, configure.ac,
208 Initialize GLib's Gthread system early at startup in case any
210 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
211 doc/geany.txt, doc/geany.html:
212 Add new keybinding 'Remove Markers and Error Indicators'.
215 2011-03-26 Colomban Wendling <colomban(at)geany(dot)org>
218 Fix the sidebar popup menu to properly use the currently selected
219 item rather than the previous one.
220 Also change the hack used for the selection to be updated in the
221 input handlers to call the GtkTreeView's handler manually rather than
222 doing the actual job in IDLE callbacks for the TreeView's handler to
224 * doc/geany.html, doc/geany.txt, geany.glade, src/document.c,
225 src/editor.h, src/interface.c, src/interface.h, src/keyfile.c,
227 Add possibility to detect the indentation width from the file content
228 (not supported if indentation type is tabs only).
229 * plugins/splitwindow.c:
230 Enable code folding in splitview window (based on a patch by Matthew
231 Brush, thanks! - closes #3097780).
232 Fix confusing terminology in Split Window plugin menu labels (patch
233 by Matthew Brush - closes #2796316).
234 Don't unsplit when closing the displayed document but rather pick the
235 new current one if any.
238 2011-03-25 Colomban Wendling <colomban(at)geany(dot)org>
240 * data/filetypes.vala:
241 Update Vala keywords (based on a patch from Matthew Brush, thanks).
246 2011-03-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
248 * plugins/filebrowser.c:
249 Add history to filter entry.
250 * src/keybindings.c, src/vte.c:
251 Add fixed shortcuts for VTE copy (Ctrl-Shift-C) and paste
254 Make VTE copy/paste shortcuts work if 'Override Geany
255 keybindings' is not set.
258 2011-03-24 Colomban Wendling <colomban(at)geany(dot)org>
260 * doc/geany.txt, doc/geany.html:
261 Update the documentation to talk about real-time tag parsing.
262 * doc/geany.txt, doc/geany.html, src/callbacks.c, src/callbacks.h,
263 src/document.c, src/document.h, src/geanyentryaction.c,
264 src/search.c, src/toolbar.c, src/ui_utils.c, src/ui_utils.h:
265 Make Shift-Enter in search dialog and toolbar search entries search
267 * plugins/filebrowser.c, plugins/saveactions.c, src/callbacks.c,
268 src/dialogs.c, src/document.c, src/document.h, src/editor.c,
269 src/encodings.c, src/filetypes.c, src/highlighting.c, src/log.c,
270 src/main.c, src/plugins.c, src/printing.c, src/project.c,
271 src/search.c, src/socket.c, src/toolbar.c, src/utils.c, src/utils.h:
272 Improve usage of G_LIKELY() and G_UNLIKELY() macros.
275 2011-03-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
278 Make --ft-names list filetypes alphabetically.
279 * plugins/filebrowser.c:
280 Allow multiple file filters to be separated by a space for
281 consistency with Find in Files file patterns. ';' is still
285 2011-03-20 Colomban Wendling <colomban(at)geany(dot)org>
287 * data/filetypes.*, doc/geany.txt, doc/geany.html, src/callbacks.c,
288 src/filetypes.c, src/filetypes.h, src/templates.c:
289 Add new filetype setting "comment_single" to provide separated
290 single-line and multiline comment support. Single-line are used in
291 priority to comment code, and multiline to make template comments.
292 * src/editor.c, src/search.c, tagmanager/diff.c:
293 Don't use strlen(..) > 0 or == 0, simply check the first character
296 Update forced indent settings when setting the filetype. This makes
297 documents created or set to a filetype with forced indent setting
298 (Makefile, F77) to have the correct setting right away.
301 2011-03-19 Colomban Wendling <colomban(at)geany(dot)org>
304 Create a new undo action when inserting templates, making sure the
305 user can undo the template insertion without also undoing a previous
309 2011-03-18 Colomban Wendling <colomban(at)geany(dot)org>
311 * src/document.c, src/encodings.c, src/encodings.h:
312 Move document encoding conversion with BOM support to encodings.[ch]
313 as encodings_convert_to_utf8_auto().
315 Properly convert template files to UTF-8 on loading, fixing encoding
316 issues if templates files are not encoded in UTF-8.
319 2011-03-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
321 * data/templates/files/main.vala:
322 Add file template for Vala (patch by Mark Trompell, thanks).
325 2011-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
327 * src/utils.c, src/utils.h, src/filetypes.c:
328 Support copying filetype definition file group keys from a system
329 keyfile with e.g. [styling=C].
330 Add function utils_make_filename() for building filenames easily.
331 * THANKS, plugins/classbuilder.c:
332 Improve Class Builder plugin dialog UI using a table (patch by
333 Matthew Brush, thanks).
334 * plugins/classbuilder.c:
335 Fix GLib warning when creating classes and no documents are open
336 (patch by Matthew Brush, thanks).
337 * plugins/classbuilder.c:
338 Undo patch change to cc_option_label_new() to append a ':' colon to
339 label text because this unnecessarily causes string translations to
341 * src/interface.c, geany.glade:
342 Fix wrong label capitalization for Toolbar Preferences dialog tab
344 * data/filetypes.Scala.conf, data/filetype_extensions.conf:
345 Add Scala custom filetype, based on file by werg (thanks).
346 (This uses the newly added [styling=C] syntax).
348 Make special case for filetypes.matlab instead of truncating all
349 filetype config filenames at slash.
351 Fix generating tag files and --ft-names option by ensuring GTK is
352 initialized before calling ui_get_mime_icon().
355 2011-03-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
357 * THANKS, src/about.c:
358 Adding Wei-Lun Chao as current maintainer for traditional Chinese
362 2011-03-15 Colomban Wendling <colomban(at)geany(dot)org>
364 * src/templates.c, src/templates.h:
365 Use the same indentation for all templates (part of FR#3193527; from
366 a patch by Matthew Brush, thanks).
368 Always keep the list of loaded plugin sorted by name.
371 2011-03-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
373 * data/filetype_extensions.conf:
374 Add Markdown extension.
377 2011-03-10 Colomban Wendling <colomban(at)geany(dot)org>
380 Correctly expand the menubar if the toolbar is appended to it but
381 not visible (closes #3204955).
382 * plugins/filebrowser.c, src/editor.c, src/plugins.c, src/symbols.c,
383 src/tools.c, src/utils.c:
384 Prefer prepend elements to lists rather than append them, for better
388 2011-03-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
391 Fix wrong code example in the API docs
392 (spotted by Matthew Brush, thanks).
395 2011-03-07 Colomban Wendling <colomban(at)geany(dot)org>
397 * tagmanager/mio/mio-memory.c:
398 Import upstream MIO changes not to require a C99 compiler.
401 2011-03-06 Colomban Wendling <colomban(at)geany(dot)org>
404 When sorting tags by line, also sort by scope if line is the same,
405 avoiding wrong sorting if a parent tag is on the same line than its
406 children, and one of it's children would be sorted before
407 alphabetically (closes #3193982).
410 2011-03-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
412 * src/interface.c, geany.glade:
415 Remember Find and Replace options across restarts
416 (patch by Dimitar Zhekov, thanks).
418 Respect saved state of 'Case sensitive' option when using
419 the 'Regular expressions' option as well.
421 Add option to insert line numbers (closes #3197150).
423 Use the full filename and add the extension of the export format.
424 Fix off-by-one bug which hidden the last empty line of a document.
427 2011-03-05 Colomban Wendling <colomban(at)geany(dot)org>
429 * configure.ac, wscript, makefile.win32, src/Makefile.am,
430 src/makefile.win32, tagmanager/Makefile.am, tagmanager/c.c,
431 tagmanager/entry.c, tagmanager/entry.h, tagmanager/fortran.c,
432 tagmanager/get.c, tagmanager/get.h, tagmanager/js.c,
433 tagmanager/lregex.c, tagmanager/makefile.win32, tagmanager/parse.c,
434 tagmanager/read.c, tagmanager/read.h, tagmanager/sort.c,
435 tagmanager/sql.c, tagmanager/strlist.c, tagmanager/mio/*:
436 Move most of TagManager's I/O to MIO.
438 Enable in-memory tag parsing.
439 * geany.glade, src/editor.c, src/editor.h, src/interface.c,
441 Add possibility to update symbol list in IDLE time, enabled by
442 default using a minimal delay of 250ms.
444 Improve implementation of hide_empty_rows() to do all in one shot.
445 * tagmanager/include/tm_tag.h, tagmanager/tm_project.c,
446 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
447 tagmanager/tm_workspace.c:
448 Make TMTag reference-counted.
449 * src/sidebar.c, src/symbols.c, tagmanager/include/tm_tag.h,
451 Provide a GType for TMTag and use it in the tag store to make sure
452 the tags it holds are always valid.
454 Don't remove and add the symbols tree view if we re-add the same one.
455 * src/sidebar.c, src/sidebar.h, src/symbols.c:
456 Update the symbol list rather than clearing and re-building it.
457 There is room for improvement in the implementation side, but it
458 is harder to do, probably a future improvement.
460 Fix suffix of anonymous symbols (structs, enums, ...).
465 2011-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
467 * plugins/saveactions.c:
468 Fix wrong warning on empty backup directory setting if
469 'Backup Copy' is not enabled at all.
470 * AUTHORS, src/about.c, README.Packagers, README:
471 Welcome Colomban Wendling, a new Geany developer.
474 2011-02-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
477 Fix segfault when inserting e.g. fileheader template when the
478 template file is empty (#3070913, thanks to lphilpot).
481 2011-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
483 * plugins/filebrowser.c:
484 Add support for multiple file filters, separated by semicolon
485 (based on a patch by Grigory Javadyan, thanks).
488 2011-02-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
490 * data/filetype_extensions.conf:
491 Fix detecting Matlab and Txt2Tags extensions by default (#3167315,
495 2011-02-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
497 * tagmanager/latex.c:
498 Add a workaround for #3066566 to prevent Geany from crashing during
499 loading of a LaTeX-file containing linebreaks inside headings.
502 2011-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
505 Fix memory leaks (reported by an anonymous IRC user).
506 * doc/geany.txt, doc/geany.html:
507 Replace '+' by '-' in the Scintilla Keybindings section
508 to be consistent with the other mentioned keybindings.
510 Improve error checking when trying to write project files
511 (patch by Colomban Wendling, thanks).
512 Add a warning if writing the project file fails on close.
513 * src/utils.c, src/utils.h, src/project.c, src/main.c, src/socket.c:
514 Rename utils_is_file_writeable() into utils_is_file_writable().
517 2011-01-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
520 Ensure the editor widget has the focus when the editor menu is
522 * scintilla/lexers/LexCOBOL.cxx, scintilla/src/Catalogue.cxx,
523 scintilla/Makefile.am, scintilla/makefile.win32, src/highlighting.c,
524 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/editor.c,
525 src/symbols.c, tagmanager/parsers.h, tagmanager/makefile.win32,
526 tagmanager/cobol.c, tagmanager/Makefile.am, data/filetypes.cobol,
527 data/filetype_extensions.conf, wscript:
528 Add filetype Cobol (based on a patch by Seth Keiper).
531 2011-01-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
533 * plugins/filebrowser.c:
534 Add '.pyc' to the list of hidden object files
535 (patch by Filip Gruszczyński, thanks).
538 2011-01-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
541 Update copyright information.
542 * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
543 geany_private.rc, win32-config.h, wscript, src/geany.h:
544 Post-release version bump.
547 2011-01-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
549 * src/highlighting.c, data/filetypes.javascript:
550 Add and use secondary keywords for filetype JavaScript,
551 update and sanitize JavaScript keyword lists
552 (patch by Jason Oster, thank you).
555 2011-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
557 * THANKS, src/about.c:
558 Added Rafael Peregrino da Silva to list of contributors for Brazilian
559 Portuguese (pt_BR) translation.
562 2011-01-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
564 * src/toolbar.c, src/ui_utils.c, src/about.c, THANKS:
565 Add Save As toolbar button option (patch by Matthew Brush, thanks;
567 * scintilla/*, src/utils.c, src/notebook.c,
568 data/filetypes.cpp, data/filetypes.vala, data/filetypes.glsl,
569 data/filetypes.cs, data/filetypes.c, wscript:
570 Merge unstable branch:
572 Fix detecting non-lowercase self-closing tags e.g. <BR> (#2226117).
574 Add 'Open in New Window' command in the notebook tab menu (based on
575 patch by Matthew Brush, thanks - #3118059).
576 - data/filetypes.cpp, data/filetypes.vala, data/filetypes.glsl,
577 data/filetypes.cs, data/filetypes.c:
578 Disable preprocessor #define tracking for the CPP lexer
579 (enabled by default in Scintilla).
580 - scintilla/*, wscript:
581 Update Scintilla to version 2.22.
582 Use Scintilla's directory structure mostly and only remove
586 2011-01-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
588 * New release: Geany 0.20 "Disra".
591 2011-01-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
594 Add debug message with the number of compatible plugins in each
595 plugin search path when showing the Plugin Manager dialog.
598 2010-12-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
600 * doc/geany.txt, doc/geany.html:
601 Move and update 'Custom filetypes' section.
602 Add 'Creating a custom filetype from an existing filetype' section.
605 2010-12-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
607 * src/interface.c, src/keybindings.c, geany.glade:
608 Add Edit->Insert Alternative White Space menu item (was previously
609 removed from Edit->Commands submenu).
612 2010-12-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
614 * src/interface.c, geany.glade:
615 Split Preferences dialog Interface tab into subnotebook to reduce
616 height of dialog (fixes #3141277). Reuses existing strings.
618 Scroll to the current line when moving the cursor to the next
619 cursor position in a snippet (#3139490).
620 * doc/geany.txt, doc/geany.html:
621 Add short 'View menu' section and 'Color schemes menu' section.
622 * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
623 Add filetypes_get_display_name() to API.
626 2010-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
629 Reduce Set Build Commands dialog column 1 width by using '#' label.
632 Use italic for note labels in the Build Commands dialog.
635 2010-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
637 * src/build.c, src/build.h:
638 Replace doc-comments with '/* *' comments to show there's no build
642 2010-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
644 * src/keybindings.c, src/callbacks.c, src/vte.h, src/main.c:
645 Fix segfaults when using 'Send Selection to Terminal' and the VTE
646 is not loaded, and when using Ctrl-A after enabling the 'Load VTE'
647 pref (patch by Dimitar Zhekov, thanks).
648 * src/build.c, src/keyfile.c:
649 Fix some more wrong uses of vte_info.load_vte instead of
652 Disable 'Send Selection to Terminal' item when not available
653 instead of removing it to avoid trailing separator.
654 * doc/geany.txt, doc/geany.html:
655 Add 'Configuration file paths' section and link to it instead of
656 repeating typical system data and user config directory paths.
657 List 2 Tools->Configuration Files menu items.
658 Add 'Plugin Manager' section break.
659 Edit some related sections.
660 * doc/geany.txt, doc/geany.html:
661 Update Ignore Tags section with example and menu item.
662 * doc/geany.txt, doc/geany.html:
663 List 'Tools->Configuration Files->filetypes.common' menu item.
666 2010-12-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
669 Improve error message for document_save_file() if doc->file_name is
670 NULL (reusing existing strings).
671 Add warning about this in the API docs.
674 2010-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
676 * scintilla/ScintillaGTK.cxx:
677 Backport Scintilla HG fix: Remove styling idle in destructor to
678 avoid crashing when idle called after ScintillaGTK instance
679 destroyed (fixes #3111058).
680 This prevents a crash when closing a modified document (usually
681 without a trailing newline) and choosing Save.
684 2010-12-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
687 Warn about file truncation if unsafe file saving fails.
690 2010-11-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
693 Check result of fclose() for utils_write_file().
696 2010-11-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
699 Enable GIO and built-in regex support on Windows
700 when compiling without Waf.
703 2010-11-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
706 Reformat and improve the Windows resource file.
709 2010-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
711 * data/filetype_extensions.conf:
713 * src/interface.c, geany.glade:
714 Add note to indentation prefs page about using Project->Apply
715 Default Indentation for currently open documents.
718 2010-11-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
720 * src/interface.c, src/keybindings.c, src/callbacks.c,
721 src/callbacks.h, geany.glade:
722 Add 'Mark All' Search menu command.
723 * src/symbols.c, doc/geany.txt, doc/geany.html:
724 If the current word's tag is on the current line, make Go to Tag
725 Definition look for a tag declaration instead, as this is more
726 useful. Likewise make Go to Tag Declaration search for a tag
727 definition in this case also.
728 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
729 Don't use 'Enable' in pref labels when unnecessary.
730 Rename XML/HTML tag autocompletion -> auto-closing.
731 * src/keyfile.c, src/document.c, src/document.h, doc/geany.txt,
733 Add gio_unsafe_save_backup hidden pref (patch by Lex Trotman,
735 * src/keybindings.c, src/editor.c, src/editor.h:
736 Add editor_get_prefs() instead of editor_get_long_line_*()
737 functions. This general function can be extended to support
738 various project and document overrides.
739 * src/keybindings.c, src/project.c, src/prefs.c, src/keyfile.c,
740 src/editor.c, src/editor.h:
741 Remove unnecessary 'global' from long line editor pref field names.
744 2010-11-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
746 * doc/geany.txt, doc/geany.html:
747 Explain how to grep the source for Scintilla lexer properties.
748 * src/sidebar.c, src/callbacks.c, src/main.c:
749 Fix auto-displaying of sidebar tab bar when sidebar is reshown.
750 Only auto-display symbols and documents tabs when showing the
751 sidebar if there are no plugin tabs.
752 Don't hide the sidebar on startup if only plugin tabs are visible
755 Make GEANY_API_VERSION, GEANY_ABI_VERSION macros instead of enums
756 so you can protect code with '#if GEANY_API_VERSION >= 200'.
758 Warn about preprocessor testing GEANY_API_VERSION below 200 because
759 those tests will always fail.
762 2010-11-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
764 * data/filetypes.xml:
765 Add 'instanceof' keyword for PHP (closes #3109330).
768 2010-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
770 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
771 Re-focus Set Build Commands/Project dialogs after editing a build
773 Add 'parent' argument to some dialogs_show_input*() functions because
774 the dialog parent may not always be the main window.
775 * src/build.c, src/dialogs.c, src/callbacks.c:
776 Don't change default build command entry color when cancelling
778 Make dialogs_show_input() return NULL when cancelled.
780 Parse PHP final functions (fixes #3111171).
781 * src/dialogs.c, src/plugindata.h, src/plugins.c,
782 plugins/geanyfunctions.h:
783 Add dialogs_show_input() to API.
786 2010-11-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
788 * src/build.c, doc/geany.txt, doc/geany.html:
789 Change 'Non-Filetype Commands' to 'Independent Commands' in the Set
790 Build Commands dialog.
791 * doc/geany.txt, doc/geany.html:
792 Use 'Filetype build commands' and 'Independent build commands'.
793 Fix saying project *independent* execute can only be set by hand.
796 2010-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
798 * src/keybindings.c, src/editor.c, src/editor.h:
799 Make Reflow Lines/Block command use the current indented block, not
800 the whole paragraph, which could have mixed indentation.
801 Fix memory leak and off-by-one bug on first line when using Select
803 * src/utils.c, src/highlighting.c, src/highlighting.h,
804 src/plugindata.h, src/plugins.c, src/editor.c, src/editor.h,
805 plugins/geanyfunctions.h:
806 Add API functions (patch by Eugene Arshinov, thanks):
807 Move editor.c: is_{string,comment,code}_style() functions to
808 highlighting.c, add to API.
809 Add editor_find_snippet(), editor_insert_snippet(),
810 utils_find_open_xml_tag() to API.
813 2010-11-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
815 * src/editor.c, doc/geany.txt, doc/geany.html:
816 Don't use XML tag auto-indentation when '</' is to the right of the
817 cursor; allow auto-indentation when XML tag auto-closing is also
819 * doc/geany.txt, doc/geany.html:
820 Rename 'Format' section 'Filetype configuration'.
823 2010-11-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
826 Update Waf to current SVN version.
829 2010-11-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
832 Update Waf to version 1.6.1.
833 Update wscript for new Waf version, make it Python 3 compatible.
836 2010-11-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
839 Display better error messages when saving a document fails (patch by
840 Dimitar Zhekov, thanks).
842 Fix wrong snippet indentation when original cursor line has
843 non-indentation whitespace (patch by david, thanks).
844 * doc/geany.txt, doc/geany.html, data/filetypes.php,
845 data/filetypes.docbook, data/filetypes.xml, data/filetypes.html:
846 Enable XML tag autoindentation for PHP, Docbook and add docs for
847 this setting (patch by Eugene Arshinov, thanks).
850 2010-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
852 * src/templates.c, src/document.c:
853 Use LF line endings for templates internally instead of default
854 pref because the default can change. This fixes missing line
855 endings sometimes when changing default setting.
857 Fix not reporting an error message when saving a document fails.
858 Check result of fclose().
859 * src/filetypesprivate.h, src/filetypes.c, src/editor.c,
860 data/filetypes.xml, data/filetypes.html:
861 Add xml_indent_tags filetype setting for documents using the
862 HTML/XML lexers (patch by Eugene Arshinov, thanks).
864 Set errno to 0 before doing disk I/O to prevent confusing error
865 messages on save failure.
868 2010-11-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
870 * src/templates.c, src/filetypes.c:
871 Save build commands for filetype None (patch by Lex, thanks).
872 Make filetypes_get_conf_extension() return "common" for filetype
875 Convert line endings for file templates.
876 Fix line endings when using file header template in a file template
878 * src/utils.c, src/utils.h:
879 Make utils_ensure_same_eol_characters() convert all wrong line
880 endings to the desired one, not just the most common one.
883 2010-11-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
886 Respect 'Smart' home key for Shift+Alt+Home (patch by Dimitar
888 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
889 Restore top-level editor popup item 'Find Document Usage'.
890 * src/interface.c, src/ui_utils.c, geany.glade:
891 Remove duplicates in 'Insert Comments' editor popup menu; rename
893 Separate main menu insertion comments depending on number of times
895 * data/filetypes.*, data/colorschemes/alt.conf:
896 Rename word/word2 named styles to keyword/keyword2.
897 * doc/geany.txt, doc/geany.html:
898 Mention that indentation settings can be overridden per-project.
899 * src/interface.c, src/callbacks.c, src/callbacks.h, src/document.c,
900 doc/geany.txt, doc/geany.html, geany.glade:
901 Add 'Project->Apply Default Indentation' menu command to override
902 every document's indentation settings.
903 Improve 'Indentation' section docs.
906 2010-11-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
909 Fix build with GTK 2.12: explicitly include gio.h if GIO
910 is available and to be used regardless of the USE_GIO_FILEMON flag.
912 Fix installation of template files.
913 Show which regex implementation is used.
915 Use non-GIO mime-type icon lookup if GIO lookup fails.
917 Allow skipping configure during autogen by setting NOCONFIGURE=1
918 (thanks to Chow Loong Jin).
921 2010-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
924 Make use_safe_file_saving hidden pref apply even when GIO is
925 available, because g_file_replace_contents() doesn't handle disk
928 Show GIO/built-in regex support in startup debug message as well as
930 * doc/geany.txt, doc/geany.html:
931 Add docs for the HTMLChars plugin (patch by Frank).
934 2010-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
937 Do not translate 'name' field for filetype None because it is used
938 for hash table lookup. This fixes missing files in the Open dialog
939 for the 'All files' filter with non-English locales (thanks to Sardem
940 FF7, fixes #3094771).
941 * src/filetypes.c, src/filetypes.h, src/document.c, src/symbols.c,
943 Add filetypes_get_display_name() to get translations for filetype
946 Fix resource leak when saving files with GIO (patch by Colomban
950 2010-11-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
952 * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
953 Add sci_get_lexer() to plugin API.
954 * plugins/htmlchars.c:
955 Only automatically replace characters when the current document is
957 * plugins/htmlchars.c:
958 Rename submenu item labels to be more descriptive.
960 Fix Alt+[0-9] switching tabs when other modifiers are also held.
962 Don't allow pasting of numbers followed by other characters in the
963 Go to Line dialog/field (patch by Dimitar Zhekov, thanks).
965 Print "GIO" and "built-in regex" if enabled with --version.
967 Use g_file_replace_contents() if available to save documents - this
968 should help workaround bugs in GVFS (based on patch by Alexey
972 Fix wrongly adding newlines for templates on disk that don't have
973 LF line endings when default line endings are not LF, e.g. Windows.
976 2010-11-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
978 * src/utils.c, src/main.c:
979 Remove trailing directory separator for app->datadir and
980 app->docdir for consistency with the other directory fields.
982 Detect user and system filetype configuration files as Conf
985 Respect 'Smart' home key for Shift+Home (fixes #3100290).
988 2010-11-01 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
990 * data/filetypes.ada:
991 Fix comments for Ada. Thanks to Jonas Baggett for reporting.
994 2010-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
997 Add install-data-only target to only install data/* to speed up
1000 Fix not autocompleting when breaking lines.
1001 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
1002 data/colorschemes/alt.conf, data/filetypes.haxe,
1003 data/filetypes.common, data/filetypes.glsl,
1004 data/filetypes.actionscript, data/filetypes.cs,
1005 data/filetypes.ferite, data/filetypes.c, data/filetypes.javascript,
1006 data/filetypes.Genie.conf:
1007 Add named style 'extra', use for C-like filetypes.
1010 2010-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1012 * data/filetypes.xml:
1013 Match data-* and aria-* as HTML attributes.
1014 * data/colorschemes/alt.conf, data/filetypes.common,
1015 data/filetypes.python:
1016 Make Python use named styles for color scheme support - use
1017 alt.conf color scheme if you want the old colors.
1018 Add named style 'function'.
1020 Move plugin_set_info prototype and parenthesize arguments for
1021 PLUGIN_SET_TRANSLATABLE_INFO (based on patch by Colomban Wendling,
1023 Fix putting pointer symbol before name, not after type.
1026 2010-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1028 * src/filetypes.c, src/ui_utils.c:
1029 Fix notebook tab menu icons using theme for "text/plain" filetypes.
1030 Make filetype mime_type "text/plain" instead of NULL.
1033 2010-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1035 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
1036 Edit XML tag autocompletion pref and tooltip to include HTML.
1037 * doc/geany.txt, doc/geany.html:
1038 Add docs for 'Ensure consistent line endings' pref.
1040 Change default for 'Override Geany keybindings' to on.
1042 Sort filetypes_by_title last instead of on insertion to prevent
1044 * src/ui_utils.h, src/filetypes.c, src/filetypes.h, src/ui_utils.c:
1045 Add filetype mimetype field (patch by Colomban Wendling, thanks).
1046 * src/sidebar.c, src/document.c:
1047 Show mimetype icon in sidebar Documents list (patch by Colomban
1050 Add notebook tab document icons (based on patch by Colomban
1053 Leave text/plain mime_type fields as NULL (like custom filetypes).
1056 2010-10-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1058 * src/editor.c, data/snippets.conf:
1059 Move HTML automatic <table> tag completion into a 'table' snippet
1060 so the user can decide when to use it (patch by Eugene Arshinov,
1062 * src/interface.c, src/prefs.c, src/about.c, src/keyfile.c,
1063 src/document.c, src/document.h, THANKS, geany.glade:
1064 Add 'Ensure consistent line endings' file saving pref (patch by
1065 Manuel Bua, thanks).
1066 * src/utils.c, src/utils.h, src/editor.c:
1067 Auto-indent after an HTML/XML line with a missing closing tag (patch
1068 by Eugene Arshinov, thanks).
1069 Behaviour only applies if XML tag autoclosing is off.
1070 * src/templates.c, src/build.c, src/document.c, src/editor.c,
1071 src/symbols.c, plugins/saveactions.c:
1072 Remove unnecessary uses of FILETYPE_ID() macro with
1073 GeanyDocument::file_type.
1074 * data/filetypes.xml:
1075 Add HTML5 attributes (thanks to Ross McKay).
1078 2010-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1081 Fix not changing edited keybindings when cancelling the Preferences
1083 * data/filetypes.xml:
1084 Add HTML5 element names (thanks to Ross McKay).
1087 2010-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1089 * src/utils.c, src/filetypes.c:
1090 Remove filetype default extensions from code.
1092 Allow 'Foo=' in filetype_extensions.conf to remove all patterns.
1094 Refactor shared code with kb_cell_edited_cb().
1097 2010-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1099 * src/highlighting.c:
1100 Use radio buttons for View->Editor->Color Schemes menu.
1101 Don't hide the menu when only the default item is available.
1102 * data/colorschemes, data/colorschemes/alt.conf, wscript, Makefile.am:
1103 Add alternative color scheme based on Python colors.
1104 * scintilla/LexErlang.cxx, scintilla/makefile.win32,
1105 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1106 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1107 data/filetype_extensions.conf, data/filetypes.erlang, wscript:
1108 Add Erlang filetype (patch by Taylor Venable, thanks).
1109 * src/filetypes.c, data/filetypes.*:
1110 Move filetype 'extension' default into data files.
1111 * src/filetypes.c, data/filetypes.vala:
1112 Move filetype comment_{open,close} defaults into data files.
1115 2010-10-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1117 * data/filetypes.c, data/filetypes.d:
1118 Add missing C99 keyword 'restrict' (#3046716).
1119 Add missing D1 keywords 'ref' and 'macro'.
1122 Parse Vala functions with contracts (#3080232).
1124 Fix saving project indent prefs straight after using project
1126 * src/highlighting.c, src/filetypes.c:
1127 Prevent debug message about a missing 'default' named style when
1128 using just a user color scheme file.
1131 2010-10-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1134 Fix off-by-one bug in 'search_mark_all'.
1137 2010-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1140 Ignore D /+ +/ comments.
1142 Ignore D unittest blocks.
1143 Parse D template functions with constraints.
1144 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1145 Add 'Insert New Line Before/After Current' keybindings (based on
1146 patch by Eugene Arshinov, thanks).
1148 Use secondary text for 'file not found on disk' dialog.
1151 2010-10-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1154 Fix build with GLib 2.8.
1157 2010-10-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1159 * src/ui_utils.h, src/socket.c, src/Makefile.am, src/ui_utils.c,
1160 configure.ac, doc/geany.txt, doc/geany.html, wscript, TODO:
1161 Revert X11 workspace socket support as it needs more work; moved
1162 to workspace-sockets branch.
1165 2010-10-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1167 * src/geanywraplabel.c:
1168 Fix build with GLib 2.8.
1169 * src/dialogs.c, src/about.c, THANKS:
1170 Group Open dialog encoding options by submenus (patch by Adam Ples,
1172 * scintilla/LexLisp.cxx, scintilla/makefile.win32,
1173 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1174 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1175 data/filetype_extensions.conf, data/filetypes.lisp, wscript:
1176 Add Lisp filetype (patch by Mário Silva, thanks).
1177 Note: Lisp lexer was taken from Scintilla instead.
1180 2010-10-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1182 * po/kk.po, THANKS, src/about.c:
1183 Added Kazakh translation. Thanks to Baurzhan Muftakhidinov for
1187 2010-10-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1189 * src/utils.c, src/utils.h, src/highlighting.c, src/editor.c:
1190 Don't cache overridden lexer properties.
1191 Add foreach_strv() to plugin API.
1192 Add utils_strv_join().
1193 * tagmanager/basic.c:
1194 Parse property, constructor, destructor as functions (patch by
1195 pottersson, thanks; #2992167).
1198 2010-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1200 * src/tools.c, doc/geany.txt, doc/geany.html:
1201 Fix passing quoted arguments when using 'Send Selection to'. This
1202 means sed 's/\./(dot)/g' now works.
1204 Add snippet keybinding support for keys in user snippets.conf (based
1205 on patch by Eugene Arshinov, thanks). No docs yet.
1206 * doc/geany.txt, doc/geany.html:
1207 Add some subheadings for Snippets section.
1208 * doc/geany.txt, doc/geany.html:
1209 Add snippet keybindings docs.
1210 * src/highlighting.c, src/utils.h:
1211 Move foreach_strv to utils.h.
1212 * src/editor.c, data/snippets.conf:
1213 Read snippet keybindings from system keyfile also.
1214 Add keybinding example to default snippet.conf.
1217 2010-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1219 * src/utils.h, src/filetypesprivate.h, src/filetypes.c,
1220 src/filetypes.h, src/document.c, doc/geany.txt, doc/geany.html,
1221 data/filetypes.txt2tags, data/filetypes.markdown,
1222 data/filetypes.restructuredtext:
1223 Add symbol_list_sort_mode per-filetype setting, set to sort by line
1224 number by default for Markdown, reStructuredText and Txt2Tags.
1225 Add utils_get_setting() macro for reading a key from a home or
1227 Move GeanyFiletypePrivate to filetypesprivate.h.
1228 * src/Makefile.am, src/ui_utils.c, configure.ac, wscript:
1229 Link with X11 if found to fix linking with a recent GNU ld.
1231 Avoid delay and redrawing when automatically opening a new document
1233 * scintilla/LexForth.cxx, scintilla/makefile.win32,
1234 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1235 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1236 data/filetypes.forth, data/filetype_extensions.conf, wscript:
1237 Add Forth filetype (patch by Thomas Huth, thanks).
1239 Remove unnecessary 'fix' from r5224 as it breaks configuring custom
1240 commands for 'Send Selection to' (oops).
1243 2010-09-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1246 When commenting/uncommenting with single-line comment characters,
1247 ignore any end of line characters before evaluating the current line.
1248 * data/filetypes.python:
1249 Simplify Python Compile/Syntax Check command.
1252 2010-09-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1254 * src/keyfile.c, src/search.c, src/search.h, doc/geany.txt,
1256 Add hidden pref 'find_selection_type' with option to repeat last
1257 search when there's no selection.
1258 Change default Find Selection behaviour to not let the X selection
1259 override the current word (can be confusing).
1260 Add docs for Find Selection commands.
1262 Fix segfault on idle callback when quitting.
1263 * src/interface.c, src/keybindings.c, geany.glade:
1264 Move 'Edit->Commands->Insert Alternative White Space' to editor popup
1266 * src/interface.c, geany.glade:
1267 Move editor popup menu Insert Comments submenu to top of Insert menu.
1268 * src/ui_utils.h, src/document.c, src/ui_utils.c, doc/geany.txt,
1270 Add hidden pref new_document_after_close for whether to open a new
1271 document automatically, off by default.
1273 Add 'Bugs to watch out for' section.
1276 2010-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1278 * src/stash.c, doc/Makefile.am, doc/stash-example.c,
1279 doc/stash-gui-example.c:
1280 Improve Stash GUI example.
1283 2010-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1285 * src/interface.c, geany.glade:
1286 Move Go to Marker menu items to Search menu.
1287 Rename popup editor menu item Commands -> Edit.
1288 * src/callbacks.c, src/search.c, src/search.h:
1289 Move find_again() to search.c.
1291 Make Find Selected commands repeat the last search if the selection
1293 * doc/geany.txt, doc/geany.html:
1294 Add docs for Find Selection keybindings.
1295 * src/interface.c, src/keybindings.c, geany.glade:
1296 Unify Find Selection strings.
1297 * src/interface.c, src/ui_utils.c, geany.glade:
1298 Group editor popup Insert commands in a submenu, with extra items
1299 for the most commonly used Insert Comments commands.
1300 Show Edit->Commands before Format in menubar Edit menu (to match
1302 Show Open Selected F_ile popup item below submenus.
1305 2010-09-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1308 Refactor shared submenu code with GeanySharedMenu array.
1309 * src/interface.c, src/ui_utils.c, geany.glade:
1310 Add Search submenu for Find Selected, Find Usage, Go to Tag items,
1311 shared with the editor popup menu.
1313 Open a new document automatically after closing all documents.
1316 2010-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1319 Prompt for reloading if the document has an undo stack to avoid
1320 losing undo ability on accidental reloading (patch by Colomban
1322 * src/project.c, src/geanyobject.c, src/geanyobject.h,
1323 doc/pluginsignals.c:
1324 Add plugin signals project-dialog-create and
1325 project-dialog-confirmed so plugins can append a Project Properties
1326 notebook tab (patch by Jiří Techet, thanks).
1327 * src/ui_utils.h, src/plugindata.h, src/main.c:
1328 Add main_widgets.project_menu to API (patch by Jiří Techet, thanks).
1329 * src/plugindata.h, src/msgwindow.c, src/msgwindow.h, src/search.c,
1330 src/plugins.c, plugins/geanyfunctions.h:
1331 Add msgwin_set_messages_dir() to API (patch by Jiří Techet, thanks).
1334 2010-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1337 Save document indent width with the session.
1338 * src/ui_utils.h, src/socket.c, src/ui_utils.c, doc/geany.txt,
1339 doc/geany.html, TODO:
1340 Use a separate socket per workspace on X (patch by Erik de Castro
1344 2010-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1347 Ignore directories passed on the command-line (based on patch by
1348 Erik de Castro Lopo, thanks).
1350 Parse D function template names.
1351 * src/interface.c, src/callbacks.c, src/callbacks.h, src/keyfile.c,
1352 src/document.c, src/editor.c, src/editor.h, src/ui_utils.c,
1354 Allow per-document indent width setting (patch by Jiří Techet,
1355 updated by Erik de Castro Lopo - thanks).
1356 * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
1357 Combine indent width menu item callbacks.
1358 * src/interface.c, geany.glade:
1359 Don't translate indent width menu items as they are now used for
1363 2010-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1365 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1366 Remove 3 popup menu items to save space:
1367 Find Document Usage because Find Usage can be used instead.
1368 Go to Tag Declaration because Go to Tag Definition is more common.
1369 Go to Line because the toolbar item can be used instead.
1370 * src/tools.c, src/search.c, tagmanager/python.c:
1371 Fix some 'possible' NULL pointer dereferences (based on patch by
1372 Erik de Castro Lopo).
1373 * src/keybindings.c, src/keybindings.h, src/prefs.c:
1374 Simplify keybindings_check_event().
1377 2010-09-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1380 Use up/down icons for Previous/Next Error.
1381 * src/interface.c, src/keybindings.c, src/callbacks.c,
1382 src/callbacks.h, src/ui_utils.c, doc/geany.txt, doc/geany.html,
1384 Add Find Usage and Go to Tag items to Search menu for easier
1386 * tagmanager/tm_symbol.c:
1387 Fix possible NULL dereference.
1389 Add link to glade-2.12.2.tar.gz on geany.org.
1390 * doc/geany.txt, doc/geany.html:
1391 Mention the filetype wordchars setting can be overridden by the
1392 whitespace_chars filetypes.common setting.
1393 * src/highlighting.c, src/encodings.c, tagmanager/tm_file_entry.c:
1394 Remove NULL checks when calling g_free() (patch by Erik de Castro
1397 Show Save As when saving if the document filename doesn't have an
1398 absolute path, so command-line new files can be saved without a
1399 prompt, but file templates still prompt the user.
1402 2010-09-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1405 Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the
1409 2010-09-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1411 * src/ui_utils.h, src/msgwindow.c, src/msgwindow.h, src/main.c:
1412 Add GeanyMainWidgets::message_window_notebook for plugins to append
1413 a new notebook page (#3061342).
1415 Add Close button to the detected file changed dialog.
1416 * src/interface.c, geany.glade:
1417 Add separator between Find Previous and Find in Files.
1418 Add up/down icons for Previous/Next Message.
1421 2010-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1423 * data/snippets.conf:
1424 Add dummy entry for "do" snippet for Haskell to explicitly avoid the
1428 2010-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1431 Fix broken editing of build menu labels.
1432 * src/encodings.c, src/filetypes.c, configure.ac:
1433 Auto-enable building with included regex if no regcomp function is
1435 Remove checks for HAVE_REGCOMP in Geany source (not TagManager) -
1436 regex support is required.
1437 * tagmanager/make.c:
1438 Backport fix for possible infinite loop from CTags.
1439 * scintilla/PlatGTK.cxx:
1440 Backport list box memory leak fixes from Scintilla 2.20.
1443 2010-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1446 Make the Properties dialog filename a label and put it first (patch
1447 by Jiří Techet, thanks).
1448 * src/build.c, src/build.h, src/project.c, doc/geany.txt,
1450 Remove the "Set build working directories" button from the project
1451 properties dialog (patch by Jiří Techet, thanks).
1453 Include all files if the Find in Files pattern field is enabled and
1456 Rename Matlab -> Matlab/Octave. Datafile name remains the same.
1459 2010-08-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1461 * scintilla/LexTxt2tags.cxx, scintilla/makefile.win32,
1462 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
1463 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1464 data/filetypes.txt2tags, wscript:
1465 Add lexer for Txt2Tags (patch by Forgeot Eric, thanks - #3020632).
1466 * m4, configure.ac, Makefile.am:
1467 Use AC_CONFIG_MACRO_DIR (patch by Erik de Castro Lopo, thanks).
1469 Only prompt for reloading if the document has unsaved changes
1470 (patch by Jiří Techet, thanks).
1473 2010-08-21 Frank Lanitz <frank@frank.uvena.de>
1476 Apply a patch by Jiří Techet which is preventing warnings when using
1477 -Wmissing-prototypes on compiling. Thanks.
1480 2010-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1482 * scintilla/KeyWords.cxx:
1483 Link Octave instead of Matlab.
1484 Add comment about not being autogenerated.
1485 Minor changes to fit Scintilla order.
1486 * src/build.c, src/build.h:
1487 Replace GeanyBuildCommand::entries array with separate fields.
1488 Similar to r5077 in the bs2 branch, but with less loop unrolling.
1490 Remove buildcmd_* accessor functions.
1493 2010-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1495 * src/highlighting.c, src/editor.c:
1496 Use Octave lexer instead of Matlab to support Octave # comment char.
1499 2010-08-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1502 Fix segfault on Tools->Reload Configuration when no documents are
1504 * scintilla/LexMarkdown.cxx:
1505 Fix infinite loop in Markdown lexer (patch by Colomban Wendling,
1508 Fix saving non-project filetype error regex.
1510 Fix memory leak in read_regex().
1513 2010-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1516 Check for libsocket on OpenSolaris to fix build.
1518 Rewrite the logic to auto detect encodings a bit to make it more
1519 readable and fix a slightly wrong detection on Windows
1521 * plugins/geanyfunctions.h, src/editor.c, src/plugindata.h,
1523 Add editor_goto_pos() to the plugin API.
1526 2010-08-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1529 Check for git-svn repo, not just git because find-rev doesn't
1530 always fail with a git-only repo.
1533 2010-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1536 Fix a memory leak based on input by Daniel Marjamäki. Thanks.
1539 2010-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1541 * doc/geany.txt, doc/geany.html:
1542 Reorder Focus keybindings.
1545 2010-08-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1548 Applying a patch by Erik de Castro Lopo for checking against
1549 pkg-config when running autogen.sh. Thanks for the patch.
1551 Applying a patch by Colomban Wendling to print out log domains.
1555 2010-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1557 * src/keybindings.c, src/keybindings.h, src/prefs.c, src/plugindata.h:
1558 Use single binding_ids keybinding array instead of individual
1559 arrays for core keybindings. This allows the keybinding IDs to be
1560 merged into one enum; the order of keybindings is now just the
1561 order they are added to each group. Keybindings can be reordered
1562 without breaking the plugin ABI but groups must stay the same.
1564 Fix writing the default value when a key is missing for hidden
1565 prefs, even if it was overridden when it was originally read.
1566 * src/keyfile.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1567 Move some interface hidden prefs to ui_utils.c.
1569 Revert r4840 scope completion mode as it sometimes breaks
1571 * src/keybindings.h, src/plugindata.h:
1572 Randomly sort keybinding IDs to show there should be no order.
1573 * src/keybindings.c:
1574 Reorder Focus keybindings.
1577 2010-08-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1579 * src/ui_utils.c, src/ui_utils.h:
1580 Make ui_label_new_bold() a function.
1581 Escape the name of the current document for markup when using
1582 document name for menu items (closes #3038844).
1584 Inherit 'beep on errors' preference for the audible bell preference
1585 for the VTE (closes #3038215).
1588 2010-08-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1590 * src/utils.c, src/utils.h:
1591 Add utils_get_eol_char().
1592 * plugins/geanyfunctions.h, src/document.c, src/editor.c, src/editor.h,
1593 src/plugindata.h, src/plugins.c, src/templates.c, src/utils.c,
1595 Ensure inserted templates always have proper line ending characters
1596 according to the current document's preference.
1597 This is also fixes problems with templates on Windows which had
1598 always Unix line ending characters but now since they are read
1599 from files, these have Windows line ending characters and had been
1603 2010-07-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1606 Fix build with GTK 2.8, use the stock icon name directly instead
1607 of the macro. Though, the icon is still missing for GTK 2.8.
1609 Make make_comment_block() work with a GString. This is not yet
1610 perfect but a bit better than before.
1613 2010-07-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1615 * src/keybindings.c, src/vte.c, src/vte.h:
1616 Implement 'Select All' for the VTE widget.
1619 2010-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1622 Fix missing template files in the Windows installer.
1625 2010-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1627 * data/filetypes.python:
1628 Update list of Python builtins, based on Python 2.6.
1631 2010-07-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1634 On Windows, convert filetype extensions read from config files
1635 to lower case (closes #3028856).
1638 2010-07-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1640 * src/keybindings.c:
1641 Focus toolbar item when pressing Go to Line keybinding only when
1642 it's not in the toolbar's drop down overflow menu (fixes #3027454).
1645 2010-07-11 Lex Trotman <elextr(at)gmail(dot)com>
1648 Fix build menu translation problems.
1651 2010-07-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1654 Fix './waf install'.
1657 2010-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1660 Fix scrolling the editor line in view after loading a session and
1661 switching document tabs. Note this causes repainting so needs
1663 * doc/geany.txt, doc/geany.html:
1664 Add note to restart Geany after installing/updating before editing
1666 * src/ui_utils.h, src/main.c, src/ui_utils.c:
1667 Use Stash to save statusbar_template setting, instead of the
1668 load/save-settings signal.
1669 Add ui_init_prefs().
1672 2010-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1674 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
1675 Fix writing empty hidden pref "statusbar_template" key so users can
1676 find it (patch by Dimitar Zhekov, thanks).
1677 * src/ui_utils.c, src/ui_utils.h, src/main.c:
1678 Add ui_finalize(), free string (patch by Dimitar Zhekov, thanks).
1681 2010-07-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1683 * src/build.c, src/project.c, src/project.h:
1684 Show the Project Properties build tab when choosing 'Set Build
1685 Commands' for now to prevent confusion with non-project commands.
1688 2010-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1690 * src/search.c, doc/geany.txt, doc/geany.html:
1691 Fix Grep --exclude-dir example.
1694 2010-07-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1697 Add sidebar Documents popup menu item 'Find in Files'.
1698 * src/keyfile.c, src/main.c, src/editor.c:
1699 Don't unnecessarily test G_FILE_TEST_IS_SYMLINK when testing
1700 G_FILE_TEST_IS_REGULAR (patch by Dimitar Zhekov, thanks).
1703 2010-07-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1705 * doc/geany.txt, doc/geany.html:
1706 Fix wording - restarting is required for hidden prefs.
1707 File templates don't need manual reloading anymore.
1709 Fix only adding project base path to Find in Files history if it
1710 isn't already there (oops).
1712 Parse lines in the Messages window even if Find in Files hasn't
1713 been used yet (patch by Jiří Techet, thanks).
1716 2010-07-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1718 * scintilla/LexCPP.cxx, src/highlighting.c:
1719 Add C++ lexer property fold.cpp.comment.explicit (patch sent); set
1721 * src/utils.h, src/highlighting.c, doc/geany.txt, doc/geany.html,
1722 data/filetypes.common:
1723 Add filetypes.common fold_symbol_highlight color setting.
1724 Add API macro foreach_range().
1725 * src/printing.c, doc/geany.txt, doc/geany.html:
1726 Always use white background color when printing (except for text
1727 with a white foreground) to save ink (should fix #2968998).
1728 * src/build.c, src/build.h, doc/geany.txt, doc/geany.html:
1729 Limit build error editor indicators to 50, but parse all errors in
1730 the Compiler tab (fixes #3019823).
1733 2010-06-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1735 * src/highlighting.c:
1736 Re-enable fold.comment for lexers - it was disabled to prevent C
1737 //{ explicit folding, but that also disables stream comment folding
1739 * tagmanager/tm_workspace.c, tagmanager/get.c:
1740 Use g_free instead of free (patch by Daniel Marjamäki, thanks).
1742 Use SCI_SETFIRSTVISIBLELINE for editor_scroll_to_line(). Note this
1743 doesn't affect the bug with document switching not scrolling cursor
1744 in view after loading a session.
1747 2010-06-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1749 * src/ui_utils.c, THANKS, doc/geany.txt, doc/geany.html:
1750 Add statusbar_template hidden pref (based on patch by Dimitar
1752 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
1753 Add spaces after RO when using %r in statusbar_template setting.
1754 Add space between encoding and BOM.
1755 Note \t means tab for default text.
1758 2010-06-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1761 Restore tabbing past Find in Files combo box drop down menus.
1764 2010-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1766 * src/sciwrappers.c, src/plugindata.h, src/pluginutils.c, src/main.c,
1767 doc/pluginsignals.c, doc/pluginsymbols.c, doc/Makefile.am,
1769 Move plugin signals docs to pluginsignals.c, using function
1770 pointer syntax instead of @signaldef as this puts a summary of
1771 the signal names at the top of the page and sorts alphabetically.
1772 (Note: the syntax is similar to Vala signal syntax).
1775 2010-06-24 Lex Trotman <elextr(at)gmail(dot)com>
1778 Make default dialog entries use GTK_STATE_INSENSITIVE color not
1779 a fixed color (Suggestion by Ditmar Zhekov)
1782 2010-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1784 * src/search.c, doc/geany.txt, doc/geany.html:
1785 Implement Find in Files file pattern search.
1787 Add file pattern to combo box history.
1788 * src/dialogs.c, src/vte.c, src/search.c, src/ui_utils.c,
1790 Use ui_hookup_widget() instead of g_object_set_data_full() for
1794 2010-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1797 Add Files checkbox and combo to Find in Files dialog, currently
1798 does nothing & is disabled.
1799 Don't try to focus the next entry on pressing tab anymore as this
1800 is more complicated now.
1803 2010-06-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1806 Put Find in Files Search field above Directory field.
1807 * src/search.c, doc/geany.txt:
1808 Simplify FIF 'Fixed strings, Grep regular expressions, Extended
1809 regular expressions' radio buttons with a 'Use regular expressions'
1810 checkbox. This uses the extended syntax (which is the same as the
1811 Find/Replace regex syntax).
1813 Move 2 Find in Files checkboxes for even spacing.
1816 2010-06-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1818 * tagmanager/tm_work_object.c:
1819 Change of description of tm_get_real_path(). Patch by Dimitar Zhekov.
1823 2010-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1825 * src/ui_utils.h, src/dialogs.c, src/plugindata.h, src/search.c,
1826 src/plugins.c, src/ui_utils.c, plugins/geanyfunctions.h:
1827 Add ui_combo_box_add_to_history() to API.
1828 * plugins/filebrowser.c:
1829 Add history to path entry.
1830 * src/plugindata.h, src/plugins.c, doc/plugins.dox:
1831 Fix not loading plugins built against a newer API when Geany doesn't
1832 provide the required version given in PLUGIN_VERSION_CHECK().
1833 Improve documentation for PLUGIN_VERSION_CHECK().
1834 * plugins/filebrowser.c:
1835 Allow Find in Files when no items are selected.
1836 * src/build.c, src/geanyobject.c, src/geanyobject.h, doc/plugins.dox:
1837 Add API signal "build-start" (patch by Jiří Techet, thanks).
1840 2010-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1843 Replace /home/user with ~ in the documents list (patch by Jon
1846 Make default Build dialog entries grey, not light grey (too hard to
1847 read on a white background).
1849 Display 'new instance' on title bar (patch by Eugene Arshinov,
1852 Remove any duplicate on adding to combo box histories.
1855 2010-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1858 Align notebook tab close buttons centred vertically - thanks to
1860 * Merge unstable branch:
1862 Make build config entries light grey until set.
1863 - src/keybindings.c, src/about.c, THANKS:
1864 Fix the wrong file being put on top of the stack when switching tabs
1865 too quickly (patch from Jiří Techet, thanks).
1866 - src/templates.c, data/templates/gpl, data/templates/function,
1867 data/templates/changelog, data/templates/bsd,
1868 data/templates/fileheader, wscript, Makefile.am:
1869 Move general templates from source code into files.
1870 Load general templates from system path instead of creating them in
1871 the user's config dir.
1874 2010-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1877 Add doc/stash-example.c to fix 'make distcheck'.
1879 Change the RequestExecutionLevel for the Windows installer to
1881 * New release: Geany 0.19 "Vellam".
1882 * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
1883 geany_private.rc, win32-config.h, wscript, src/geany.h:
1884 Post-release version bump.
1887 2010-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1890 Group undo action for Insert Multiline Comment.
1893 2010-06-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1896 Don't individually install data/*.tags as all data/* files will be
1900 2010-06-07 Frank Lanitz <frank@frank.uvena.de>
1902 * tagmanager/tm_project.c:
1903 Fix a double free. (patch by Daniel Marjamaki, thanks).
1906 2010-06-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1908 * tagmanager/tm_workspace.c:
1909 Fix two memory leaks (patch by Daniel Marjamaki, thanks).
1911 Fix reducing paths to project name in the Documents list
1912 (patch by Eugene Arshinov, thanks).
1914 Fix crash when trying to sort NULL pointers as tags in the Symbols
1915 list (closes #3011986).
1916 * NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
1917 Update Scintilla to version 2.12.
1918 * wscript, scintilla/Makefile.am, scintilla/makefile.win32,
1919 scintilla/LexCrontab.cxx:
1920 Remove unused Crontab lexer.
1921 * data/filetypes.css, src/highlighting.c:
1922 Add new style "media" for filetype CSS.
1925 2010-06-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1927 * doc/geany.txt, doc/geany.html:
1928 Build section: minor rewording, formatting fixes; move some
1932 2010-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1935 Explicitly try to localise build menu item labels with
1936 gettext to enforce getting default labels translated.
1937 * tagmanager/tm_workspace.c:
1938 Fix not closed FILE pointer on early exit
1939 (patch by Daniel Marjamaki, thanks).
1941 Update images for Geany 0.19.
1943 Destroy the default symbol list treeview only once
1944 (fixes gtk_widget_destroy warning on exit).
1947 2010-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1949 * tagmanager/sort.c:
1950 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
1952 Fix parsing of C++ classes contain attributes with bitfields
1953 (patch by Lex Trotman, thanks).
1954 * src/plugindata.h, src/plugins.c:
1955 Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
1956 plugins' meta information can be translated already in the
1957 plugin manager dialog (patch by Colomban Wendling, thanks).
1960 2010-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1963 Print locale information in debug output.
1965 Fix some labels which were marked as translatable but were not
1966 handled properly by gettext().
1967 Add a missing const.
1969 Try to convert text into UTF-8 before adding it to the Compiler and
1970 Messages Window (closes #3007919).
1973 2010-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1975 * plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
1977 Pass G_LOG_DOMAIN to source files for better logging.
1980 2010-05-24 Frank Lanitz <frank@frank.uvena.de>
1982 * THANKS, src/about.c:
1983 Update of translation credits to reflect a change on Spanish
1984 translation team better.
1987 2010-05-23 Lex Trotman <elextr.at.gmail.dot.com>
1990 Fix infinite loop reading build command output
1993 2010-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1996 Fix duplicate accelerators for Clear and Copy in the
1997 Messages Window popup menu.
1998 * src/pluginutils.c:
1999 Expand child widgets in the Plugin Preferences dialog
2000 (patch by Colomban Wendling, thanks).
2003 2010-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2006 Fix Undo/Redo button state after the last document has been closed.
2007 Add Print and Replace toolbar items to the list of document
2010 Fix crash when the toolbar is reloaded without any open documents.
2012 Fix Run toolbar item sensitivity after the last document has been
2014 * plugins/classbuilder.c:
2015 Remove two unnecessary g_strdups().
2016 * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
2017 src/plugindata.h, src/ui_utils.h:
2018 Add hidden preference to disable automatic scrolling in the
2019 Compiler tab (closes #3004714).
2022 2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2024 * plugins/classbuilder.c:
2025 Fix a memory leak. (patch by Daniel Marjamaki, thanks)
2028 2010-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2030 * src/prefs.c, src/project.c:
2031 win32.h can be included unconditionally.
2033 Fix project base_path detection if the path has a trailing slash.
2034 * src/document.c, src/editor.c, src/project.c:
2035 Small improvements to speed up quit process with many open documents.
2036 Avoid calling gtk_notebook_remove_page() on exit as it takes
2038 * src/geanymenubuttonaction.c:
2039 Explicitly check for the type when iterating the action's proxies.
2040 For some reason on Windows, a GtkImageMenuItem proxy is created.
2041 * geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
2042 src/plugindata.h, scintilla/*, scintilla/include/*:
2043 Update Scintilla to version 2.11.
2044 * plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
2046 Add new GTK define also for Mingw cross compilation and
2047 makefile.win32 based Windows builds.
2048 * plugins/filebrowser.c:
2049 Implement reading and evaluating hidden file attribute on Windows.
2050 Fix broken "Go Up" if the current path ends with a slash.
2051 * THANKS, src/about.c, src/prefix.c:
2052 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
2053 * geany.glade, src/document.h, src/interface.c, src/keyfile.c,
2054 src/main.c, src/notebook.c, src/prefs.c:
2055 Add preference to add new document tabs beside the current one
2056 (patch by Colomban Wendling, thanks).
2057 * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
2058 src/keyfile.c, src/prefs.c, src/ui_utils.h:
2059 Add a preference for choosing between GTK and native
2060 File Open/Save dialogs (only available on Windows).
2061 * doc/geany.html, doc/geany.txt:
2062 Update documentation.
2065 2010-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2068 Sort file filters for the native Windows file open dialog by name.
2069 Don't use file filters for the native Windows Save As dialog.
2070 * src/dialogs.c, src/win32.c, src/win32.h:
2072 Pass and use also parent and title arguments to
2073 win32_show_document_open_dialog().
2075 Call handle_save_as() only when the Save As dialog was not cancelled.
2077 Improve adding/removing of the special separator between menubar and
2078 toolbar when the toolbar is appended to the menubar.
2079 * src/toolbar.c, src/templates.c:
2080 Explicitly disconnect menus from GeanyMenuButtonAction on quit to
2081 not trigger updating the menus on each item removal.
2084 2010-05-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2087 Replace one non breaking space by normal space. Patch by
2091 2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2093 * plugins/classbuilder.c:
2094 Don't make the 'Create Class' menu item document-sensitive
2095 (patch by Colomban Wendling, thanks).
2096 Add namespace support for GTK+ classes.
2097 Add GET_CLASS() macro for GTK+ classes.
2098 Add typedef of the private structure in the header file instead
2100 (all the above from a patch by Colomban Wendling, thanks).
2101 * src/highlighting.c:
2102 Set common default "fold.comment" to 0 to disable it. This can
2103 be overridden if desired.
2105 Improve sorting of document list items
2106 (patch by Colomban Wendling, thanks).
2108 Remove unnecessary textdomain() call.
2111 2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2114 Fix search_find_text not returning -1 when match is out of range.
2115 This fixes invalid memory reads and wrong template filename
2116 wildcard replacement.
2117 * src/search.c, src/document.c:
2118 Only replace template filename matching start of word on saving.
2119 * plugins/filebrowser.c:
2120 Add 'Refresh' popup menu item (part of geany-plugins #2999858).
2121 * src/build.c, src/build.h, src/project.c:
2122 Make some ugly build.h global variables static.
2123 * src/build.c, src/build.h, src/project.c:
2124 Add Build prefix for TableFields, TableData.
2127 2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2130 Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
2131 * src/dialogs.c, src/win32.c, src/win32.h:
2132 (Re-)Implement a (still basic) native Windows Save As dialog when
2133 compiled with GEANY_USE_WIN32_DIALOG.
2136 2010-05-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2138 * THANKS, src/about.c, plugins/classbuilder.c:
2139 Add support for creating PHP classes (patch by Ondrej Donek, thanks).
2140 * src/ui_utils.h, src/ui_utils.c:
2141 Add public, generic callback ui_editable_insert_text_callback()
2142 to restrict GtkEntry text inputs to +/- and numeric values only.
2143 * src/dialogs.h, src/dialogs.c:
2144 Add special variant dialogs_show_input_goto_line() to use a normal
2145 GtkEntry together with dialogs_show_input_goto_line() for text input.
2146 * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
2147 Allow '+<number' and '-<number>' as values for Goto Line inputs
2148 to jump relative to the current line (closes #2997238).
2151 2010-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2153 * src/highlighting.c:
2154 Apply foreground and background colours of the folding margin
2155 style properly (closes #2998347).
2157 Don't auto-close short XML tags (closes #2994852).
2158 * THANKS, src/about.c, src/keybindings.c:
2159 Improve jumping to matching braces by consistently position the
2160 cursor before or after the matching brace dependent where it
2161 was before (patch by Dimitar Zhekov, thanks).
2163 Fix crash when generating global tags files (patch by Colomban
2167 2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2170 Avoid connecting signals more than once.
2173 2010-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2176 Don't ignore the 'intltool' check on non-Windows systems, instead
2177 raise a configure error.
2180 2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2183 Fix marking some strings as translatable (cannot be done in the
2185 * src/templates.c, doc/geany.txt, doc/geany.html:
2186 Reload templates if saving a document in the templates config dir.
2189 2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2191 * src/search.c, src/search.h, src/document.c, doc/geany.txt,
2193 Fix replacing {filename} template wildcard for custom file
2194 templates with non-default file extension.
2195 Add search_find_text() for POSIX regex searches.
2196 * src/templates.c, doc/geany.txt, doc/geany.html:
2197 Add {project}, {description} template wildcards (#2954737).
2198 * doc/geany.txt, doc/geany.html:
2199 Divide template wildcards into groups.
2200 * src/plugindata.h, src/plugins.c, src/symbols.c,
2201 plugins/geanyfunctions.h:
2202 Add symbols_get_context_separator() to plugin API (patch by Colomban
2206 2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2208 * src/keybindings.c:
2209 Fix setting wrong accelerator for 2 Edit->Commands items (patch by
2210 Anonymous, thanks; #2995593).
2211 * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
2212 plugins/geanyfunctions.h:
2213 Add sci_set_line_indentation(), sci_get_line_indentation() to API
2214 (patch by Colomban Wendling, thanks).
2217 2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2220 Warn user if hidden hard tab width setting is not 8.
2223 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2225 * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
2226 doc/geany.txt, doc/geany.html:
2227 Hide 'Tabs and Spaces: Hard tab width' preference - it should
2228 always be 8. (Hidden setting kept in case users have modified it).
2231 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2233 * doc/geany.txt, doc/geany.html:
2234 Add Folding section link to filetypes.common custom settings.
2237 2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2240 When switching documents, don't call document_set_text_changed()
2241 as this does much more than necessary. Instead call the necessary
2242 UI update functions explicitly.
2245 2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2247 * tagmanager/vstring.c:
2248 Fix invalid memory read (patch by Colomban Wendling, thanks).
2251 2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2253 * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
2254 Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
2255 strings in case of reaching the buffer size limit (part of #2979697).
2257 Change the limit for the command line length when executing commands
2258 to a maximum of 32768 characters (closes #2979697).
2259 Fix broken opening URLs e.g. when using the 'builtin' Run command.
2260 * tagmanager/ctags.c:
2261 Change eFree() to simply ignore NULL pointers instead of asserting.
2263 Remove malloc() fallback since we completely rely on g_malloc()
2265 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
2266 plugins/saveactions.c:
2267 Make string arguments const where appropriate (patch by
2268 Colomban Wendling, thanks).
2269 * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
2270 src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
2271 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
2272 src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
2273 src/symbols.c, src/templates.c, src/ui_utils.c:
2274 Make string arguments const where appropriate (patch by
2275 Colomban Wendling, thanks).
2278 2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2280 * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
2281 Make plugin_signal_connect() string argument const (patch by
2282 Colomban Wendling, thanks).
2283 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
2284 Constify some more string pointers in the API (patch by
2285 Colomban Wendling, thanks).
2286 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
2288 Support {pc} wildcard in snippets to escape percent char.
2290 Recalculate line margin width when zooming (fixes #2990553).
2291 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2292 data/filetypes.common:
2293 Support more folding icon styles: arrows, +/- and no lines
2297 2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2300 Fix Windows build by properly guarding Unix-only code.
2303 2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2305 * src/templates.c, doc/geany.txt, doc/geany.html:
2306 Support {ob} and {cb} in fileheader and file templates; they are
2307 replaced last with { and }. This allows 'escaping' of wildcard
2309 * src/editor.c, plugins/classbuilder.c:
2310 Fix Class Builder plugin to use correct indentation instead of
2312 Make editor_insert_text_block() only replace leading tabs for the
2313 'Tabs' indent type; also group edits for undo.
2314 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
2316 Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
2319 2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2321 * tagmanager/pascal.c:
2322 More fixes to prevent possible crashes by trying to free NULL
2325 Automatically show and hide the sidebar notebook tabs according
2326 to the amount of visible pages (patch by Adrian Dimitrov, thanks).
2328 Add a static global variable to monitor autocompletion mode in order
2329 to prevent cancellation of the struct/class (C/C++) auto completion
2330 list (patch by Thomas Martitz, thanks).
2332 When starting and trying to access the Unix Domain socket of a
2333 potentially running instance, first compare file ownership with the
2334 user id of the running process to prevent accessing a wrong socket
2335 file (part of #2985463, this might not yet be the final solution).
2338 2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2340 * plugins/filebrowser.c:
2341 Synchronize popup menu and plugin preferences dialog 'Show Hidden
2342 Files' option (fixes #2989288).
2345 2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2347 * tagmanager/entry.c, tagmanager/entry.h,
2348 tagmanager/include/tm_source_file.h, tagmanager/parse.c,
2349 tagmanager/parse.h, tagmanager/tm_source_file.c:
2350 Add tm_source_file_set_tag_arglist() to manually set the argument
2352 * tagmanager/python.c:
2353 Use tm_source_file_set_tag_arglist() to set the argument list
2354 field of Python class tags to the argument list of their
2356 Backport a fix from CTags SVN to prevent possible crashes by trying
2357 to free NULL pointers.
2360 2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2362 * tagmanager/txt2tags.c:
2363 Remove duplicate code from Txt2Tags parser.
2364 Remove the title control characters ('=') when parsing titles.
2365 Also parse numbered titles (closes #2984703).
2366 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
2368 Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
2369 Add missing documentation for 'Reset Zoom' keybinding.
2371 Another attempt to fix the PHP parser regexp for parsing functions.
2372 Fix wrong parsing of function arguments when those contain nested
2373 brackets (as reported by Harold Aling).
2375 Fix Ctrl-Click on notebook tab if Numpad is active.
2378 2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2380 * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
2381 src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
2382 src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
2383 src/ui_utils.c, src/ui_utils.h:
2384 Add option 'System Default' for toolbar icon style and size to
2385 use the GTK default value.
2386 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
2387 src/toolbar.c, src/toolbar.h:
2388 Shorten the toolbar popup menu, only provide items for Toolbar
2389 Preferences and to Hide the toolbar.
2391 Instantly update the toolbar icon size and style when the
2392 corresponding global GTK settings are changed.
2393 * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
2394 src/plugindata.h, src/socket.c:
2395 Add new command line option --list-documents to return a list
2396 of currently opened documents (closes #2979933).
2399 2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2401 * plugins/htmlchars.c:
2402 Make plugin remember whether replacement of special characters was
2403 activated even after restart of Geany or reloading of plugin.
2406 2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2409 Fix inserting snippets with an indent when using Mac CR line
2412 Update status bar after using Document->Set Line Endings.
2414 Improve API docs for editor_insert_text_block().
2417 2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2420 Refactor snippets_complete_constructs().
2421 Remove an unnecessary TODO.
2423 Fix indenting a snippet when there is whitespace after the
2427 2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2429 * doc/geany.txt, doc/geany.html:
2431 * src/build.c, src/msgwindow.c:
2432 Fix disabled compiler message tracking if using indicators to
2433 show build errors is disabled (closes #2982834).
2436 2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2438 * scintilla/Editor.cxx:
2439 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
2440 and SCI_GETSELECTIONEND with rectangular selections. This fixes
2441 replacing in a rectangular selection.
2444 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2447 Re-detect any document filetypes set to None after reloading
2448 filetype extensions (closes #2979661).
2450 Fix showing '...' item last instead of first for document word
2454 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2456 * data/filetypes.perl:
2457 Adjust Perl Compile command to use the -c command
2458 line option to perform a syntax check instead of using the
2459 deprecated ByteCompile module.
2460 Add error_regex to parse error messages and warnings when performing
2461 syntax checks on Perl files.
2464 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2466 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
2467 Add API docs for keybinding enums.
2468 * src/notebook.c, doc/geany.txt, doc/geany.html:
2469 Make Ctrl-click on any notebook tab switch to the last used
2473 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2475 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
2476 src/geanyentryaction.c, src/geanyentryaction.h,
2477 src/geanywraplabel.c:
2478 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
2479 object for efficiency.
2482 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2484 * plugins/classbuilder.c:
2485 Beep if the user hasn't entered a class name on pressing OK.
2487 Fix replacing '^' regex.
2488 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
2489 plugins/geanyfunctions.h:
2490 Add Stash widget functions to API.
2492 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
2496 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2498 * THANKS, src/vte.c:
2499 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
2501 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
2502 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
2503 plugins/geanyfunctions.h, plugins/geanyplugin.h:
2504 Add Stash setting functions to API.
2505 Remove unnecessary argument to stash_group_load_from_file().
2506 * src/geanyobject.c, plugins/classbuilder.c:
2507 Don't generate FOO_GET_PRIVATE() macro because caching the result
2508 in Foo::priv can be much more efficient.
2511 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2514 Fix cursor positioning when toggling comments
2515 (patch by Thomas Martitz, thanks).
2518 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
2520 * src/keybindings.[hc]:
2521 Added Control+0 for zoom reset, see suggestion from #2969886.
2524 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2526 * src/search.c, src/document.c:
2527 Fix wrong selection range after Replace in Selection.
2530 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2533 Make CreateChildProcess() working with Unicode strings, e.g.
2534 directory names (closes #2972606).
2536 Remove reference to already removed latex.tags file.
2537 Future releases probably still depend on GTK 2.16.
2538 * scintilla/ScintillaGTK.cxx:
2539 Backport fix from Scintilla CVS to not paste text beyond the end
2540 of lines (closes #2969096).
2541 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
2543 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
2544 to not set Geany's minimum window size anymore (closes #2972992).
2545 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
2548 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2551 Make adding string and string vector settings initialise the setting
2553 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
2554 Add stash_group_load_from_file() and stash_group_save_to_file().
2557 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2559 * data/filetypes.common:
2560 Set default for wrapped lines to show marker at end of line only
2561 (more expected and doesn't change line alignment - closes #2972386).
2562 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
2563 src/pluginutils.c, doc/plugins.dox:
2564 Improve API docs contents page by listing all commonly-used files.
2565 Fix 'Date' appearing twice on the date line.
2566 Don't generate API docs for prefs.h, toolbar.h (unused).
2567 Move some '@file' doc-comments to the .c file.
2568 * src/interface.c, geany.glade:
2569 Add frame for 'Printing' prefs dialog page.
2570 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
2571 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
2572 doc/stash-example.c:
2573 Rename Stash data types to be independently named from Geany (so
2574 Stash can be reused for other projects).
2575 Rename GeanyPrefGroup to StashGroup.
2578 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2580 * tagmanager/python.c:
2581 Apply patch from Colomban Wendling to parse Python lambda functions
2582 (thanks) - modified to only parse toplevel or class member lambdas.
2583 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
2584 doc/stash-example.c:
2585 Add doc-comments for Stash setting functions.
2586 Add an example file showing usage of Stash.
2587 (Not enabled yet until added to the plugin API).
2590 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
2593 Fix using return value without checking return status, caused
2594 incorrect sensitivity settings on build dialog.
2597 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2600 Add tip about gcc optimization & warnings/debugging.
2601 Add Testing section.
2602 Update Libraries section about synchronizing with other projects.
2605 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2608 For now revert the recent patch which set real_path of newly
2609 open non-existent configuration files as this seems hackish and
2610 causes 'file not found' warnings.
2612 Fix/Improve GIT repository detection
2613 (patch by Thomas Martitz, thanks).
2614 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
2616 Add utils_copy_environment() to the plugin API.
2619 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2621 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
2622 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
2624 Use 3rd person for more API dox.
2625 Change 'This is a wrapper function for...' to 'Wraps...' in brief
2627 Change 'After all...' to 'Afterwards...'.
2628 * src/interface.c, geany.glade:
2629 Apply patch from Eugene Arshinov to make frame packing/alignment
2630 more consistent (thanks).
2633 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2636 Fix ui_button_new_with_image() to call gtk_button_set_image() so
2637 that gtk_button_[sg]et_label() work as expected.
2638 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
2639 Make Build Commands dialog show menu item labels as a button (to
2640 help show that menu labels don't normally need to be edited &
2641 display the mnemonic correctly). Clicking shows an input dialog to
2642 set a new menu item label.
2643 Split dialogs_show_input() into 2 functions: one simple, one for
2644 a persistent dialog.
2645 Fix possible double-destroy of input dialog when closed by user.
2647 Fix not destroying 'Make Custom Target' input dialog after first
2650 Make Long Line Marker settings for existing projects default to
2651 general settings instead of 0 (thanks to Eugene Arshinov).
2652 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
2653 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
2654 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
2655 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
2656 Use 3rd person (gets not get) for API function brief descriptions.
2657 Avoid using 'convenience function' in API brief descriptions.
2660 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2662 * doc/geany.txt, doc/geany.html:
2663 Warn about some GNU extensions for regular expressions & clarify
2665 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
2666 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
2667 src/editor.h, geany.glade:
2668 Apply patch from Eugene Arshinov to add project long line marker
2669 customisation (thanks).
2670 * src/interface.c, geany.glade:
2671 Edit/tidy 'Long line marker' labels.
2674 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
2676 * src/build.c, src/project.c:
2677 Fix crash due to NULL in project build preferences (thanks to
2681 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2683 * src/utils.c, src/utils.h, src/search.c, src/search.h,
2684 src/document.c, doc/geany.txt, doc/geany.html:
2685 Merge gnu-regex branch:
2686 Use POSIX system/GNU regex engine for find & replace 'Use regular
2687 expressions' option. This alters regex syntax a bit - see the docs
2688 for details; we now support '?' operator and replacement backslash
2689 escaping is more standard.
2690 Make regex search imply replacing escaped chars.
2691 Allow \0 backreference replacement for the whole match.
2692 Note: Replace All may be slower; if this is a problem please let me
2695 Add argument to utils_str_replace_escape() for keeping
2696 uninterpreted backslash escapes e.g. '\\', '\e'.
2697 * scintilla/LexMarkdown.cxx:
2698 Backport minor formatting/style changes from Scintilla project.
2699 * doc/geany.txt, doc/geany.html:
2700 Remove warning about no visual indication for zero-column-mode
2704 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2707 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
2710 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2712 * wscript, scintilla/*, scintilla/include/*:
2713 Update Scintilla to version 2.03.
2714 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
2715 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
2716 Add preference for virtual spaces.
2718 Fix wrong default response for the Debug Messages dialog.
2720 Fix crashes when using Save As with no open files (closes #2964406).
2722 Fix duplicate mnemonics on 'Resave missing file' dialog, also
2723 move the question from the secondary to the main text to be
2724 more compatible with the Gnome HIG.
2725 Fix broken 'Save' action in 'Resave missing file' dialog.
2727 Improve PHP parser to parse also the argument lists of PHP functions.
2729 Correctly set the parent widget for the keybinding overwrite
2730 confirmation dialog.
2732 Fix setting the icon for some dialogs if the parent itself is also
2735 When editing non-existent config files using the Tools->Configuration
2736 Files menu, explicitly set the real_path to avoid presenting the Save
2737 As dialog when saving the file (patch by Tony Rick, thanks).
2739 Focus the editor widget after hiding the sidebar when it had the
2740 input focus (patch by Can Koy, thanks).
2741 Properly show/hide the mesages window when using the View menu item
2743 * plugins/filebrowser.c:
2744 After opening files, focus the editor widget
2745 (based on a patch by Can Koy, thanks).
2746 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
2747 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
2748 src/ui_utils.h, src/vte.c:
2749 Add and use convenience function ui_is_keyval_enter_or_return() and
2750 add it to the plugin API.
2753 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2755 * src/about.c, THANKS, po/ast.po:
2756 Added Asturian translation. Thanks to Marcos Costales for providing.
2759 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
2762 Fix keyboard accelerators in debug messages window
2766 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2768 * scintilla/LexR.cxx:
2769 Backport R lexer from Scintilla CVS to fix case sensitive keywords
2770 (Scintilla bug #2956543).
2771 * src/sidebar.c, src/about.c, THANKS:
2772 Make Space on the symbol and document list not focus the editor
2773 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
2774 * src/document.c, src/document.h:
2775 Fix document_try_focus() to make it work with the sidebar document
2777 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
2778 Make Space on the compiler and messages widgets not focus the editor
2779 widget while Enter does (patch by Can Koy, thanks).
2781 Fix wrongly auto-detected multiline comments
2782 (patch by Eugene Arshinov, thanks).
2785 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2788 Show number of lines of current document inside statusbar. Thanks to
2789 Can Koy for providing the patch.
2792 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2794 * src/keybindings.c, doc/geany.txt, doc/geany.html:
2795 Make Switch to Editor keybinding reshow the document statistics
2796 line, so user doesn't have to move the cursor.
2799 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2802 Update keywords for the R language (patch by Jon Senior, thanks).
2805 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
2808 Fix the instruction how to insert unicode characters
2812 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2814 * scripts/create_py_tags.py:
2816 Replace tabs by spaces.
2817 * plugins/genapi.py:
2819 Replace tabs by spaces.
2820 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
2821 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
2822 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
2823 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
2824 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
2825 src/plugindata.h, src/sidebar.c, src/sidebar.h:
2826 Add keybindings to switch to the sidebar's Document and Symbol list
2827 as well as to the Message Window's current tab
2828 (patch by Eugene Arshinov, thanks).
2830 Update primary keywords for the R language
2831 (patch by Jon Senior, thanks).
2834 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
2837 Add more detailed hints about reloading configuration
2838 (thanks to Tony Rick).
2839 * data/filetypes.javascript:
2840 Correct the keyword list for JavaScript (thanks to Jonas).
2843 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2845 * New release: Geany 0.18.1 "Balfour".
2848 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2850 * src/keybindings.c:
2851 Add special cases for handling the Select All keybinding (Ctrl-A) in
2852 the toolbar search and goto line text entries (closes #2948040).
2853 Strip trailing spaces after reflowing a paragraph, patch by
2854 Dominik Wagenfuehr, thanks (closes #2945497).
2857 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2859 * src/geanymenubuttonaction.c, src/templates.c:
2860 Partly revert last commit:
2861 Unref the new files toolbar menu when freeing templates as it
2862 was done before but unref it *after* the menu has been removed
2863 from the GeanyMenuButtonAction.
2865 Fix possible endless loop when trying to detect the encoding of
2866 non-text files (patch by Alexey Antipov, thanks).
2869 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2872 Allow saving remote files using g_file_set_contents() as well
2873 (patch by Алексей Антипов, thanks).
2874 * data/filetypes.python:
2875 Adjust style for secondary keywords to be less aggressive.
2876 Add Python 2.5 builtins keywords.
2877 * src/geanymenubuttonaction.c, src/templates.c:
2878 Unref the new files toolbar menu when setting a new menu to fix
2879 possible crashes when reloading configuration.
2881 When reloading configuration, process the current document at last
2882 so the symbol list will be updated correctly.
2885 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2888 Explicitly read filetype configuration files before generating
2889 global tags to get settings for custom filetypes.
2892 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2895 Fix GLib warning when toggling 'no plugins available' item.
2898 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2900 * icons/Makefile.am:
2901 Include geany.ico in the distribution tarball.
2903 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
2904 * scripts/create_py_tags.py:
2905 Make the script a bit more robust with newer Python versions.
2907 Use utils_spawn_sync() instead of g_spawn_sync().
2910 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2913 Close meta tag for export date properly.
2916 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2919 Update RPM Spec file (patch by Dominic Hopf, thanks).
2922 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2925 Fix renaming sci_send_message(), sci_send_command() function
2929 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2931 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
2932 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
2933 plugins/geanyfunctions.h, plugins/Makefile.am,
2934 plugins/pluginmacros.h, plugins/genapi.py, wscript:
2935 Use full function name for GeanyFunctions function pointers. This
2936 avoids naming conflicts e.g. with C++'s 'new' keyword.
2937 Remove deprecated header pluginmacros.h - use geanyfunctions.h
2941 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2943 * src/utils.c, src/utils.h, src/vte.c:
2944 Add utils_copy_environment() and make use of it.
2945 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
2946 src/editor.c, src/templates.c, src/templates.h:
2947 Add new special template wildcard "{command:...}" to use the
2948 output of a command in templates.
2949 Adjust template functions to mostly work with GeanyDocuments.
2950 Minor cleanups in the template code.
2952 Replace the old icons with smiley icons from the Rodent icon theme.
2953 Fix showing the same icon for two or more slots.
2955 * src/editor.c, src/editor.h, src/keybindings.c:
2956 Rename fold_symbol_click() to editor_toggle_fold().
2957 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
2958 was used to respect the 'Fold/unfold all children' preference
2962 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2965 Prevent possible segfault in get_build_group().
2967 Fix GLib warning & beep if trying to insert multiline comment for a
2968 filetype that doesn't support it.
2971 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2974 Add gcc commands to build a plugin to the HowTo.
2975 * src/search.c, src/document.c, src/document.h:
2976 Show 'Replaced X matches in Y documents' message when using
2980 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2982 * scripts/plugin_test.c:
2983 Add a little test program which can load and test Geany plugins to
2984 verify it is loadable at runtime and all necessary symbols are
2986 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
2988 Add new signal: "geany-startup-complete" which is sent once all
2989 initialization and startup tasks has been done.
2990 * README.I18N, configure.ac, wscript, po/LINGUAS:
2991 Remove po/LINGUAS from the repository.
2992 Generate it automatically if needed by reading available
2993 message catalogs from the po directory.
2994 Also respect the LINGUAS environment variable properly.
2997 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3000 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
3004 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3006 * src/editor.c, src/templates.c, src/templates.h:
3007 Refactor templates_replace_all() into templates_replace_valist()
3008 to save some code duplication.
3011 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3013 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
3014 src/plugindata.h, src/plugins.c:
3015 Add editor_insert_text_block() to plugin API.
3018 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3021 Update copyright information.
3022 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
3023 doc/geany.txt, doc/geany.html:
3024 Add keybinding to open the last closed tab (closes #2912692).
3027 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3029 * autogen.sh, configure.in, configure.ac:
3030 Rename configure.in to configure.ac.
3031 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
3033 Add sci_find_text() to the plugin API.
3034 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3035 src/interface.c, src/prefs.c:
3036 Add a checkbox in the preferences dialog to explicitly toggle
3037 the visibility of the sidebar (closes #2923340).
3040 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3042 * src/editor.c, src/plugins.c, src/plugindata.h,
3043 plugins/geanyfunctions.h:
3044 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
3045 editor_get_eol_char() to the plugin API.
3046 * src/callbacks.c, src/plugins.c, src/plugins.h:
3047 Fix sensitivity of the Edit->Plugin Preferences menu item
3048 if plugins are loaded which do not provide a configuration dialog.
3049 * scripts/create_py_tags.py:
3050 Rewrite and extend the Python tags parsing script to use
3051 Python's inspect module to read symbols from Python modules
3052 including scope information.
3053 * data/filetypes.restructuredtext:
3054 Add the default comment character sequence for reStructuredText.
3056 Show the Find/Goto dialogs if the corresponding toolbar buttons are
3057 clicked but their text fields are not part of the toolbar (#2920807).
3058 * data/filetypes.common, doc/geany.html, doc/geany.txt,
3060 Add new style to change foreground and background colours for
3061 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
3063 Remember the window position of the Find, Replace and Find in Files
3064 dialogs (closes #2877988).
3067 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
3070 Fix a minor typo inside plugin API reference.
3073 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3075 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
3076 Make dialogs_show_prompt() more flexible to take up to three
3077 button/response code pairs to be shown.
3078 Add a close button to the dialog when asking to Re-Save a
3080 (closes #2916954, based on a patch by Dominik Stadler, thanks).
3082 Fix LaTeX environment auto completion with CR/LF line endings.
3083 Add some sanity checks.
3085 When closing a document after it was deleted from the filesystem,
3086 don't ask whether it should be saved first.
3087 Mark the document only as changed if it is not closed afterwards.
3088 Prevent possible segfaults if the document was closed when it is
3089 missing from the filesystem.
3090 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
3091 src/msgwindow.h, src/prefs.c:
3092 Add MessageWindow::scribble and use it instead of searching the
3093 widget pointer everytime.
3094 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
3095 Add preferences for hiding single tabs from the messages window
3096 (no GUI preferences yet, still to be implemented).
3097 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
3098 Set the correct parent window for the toolbar editor
3099 dialog (closes #2913334).
3100 * src/win32.c, src/win32.h, src/ui_utils.c:
3101 Rename win32_show_project_folder_dialog() to
3102 win32_show_folder_dialog() as it is not related and not used by any
3103 project management related code.
3104 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
3105 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
3106 as it is specialised for opening documents.
3107 Implement win32_show_file_dialog() as a generic file open dialog and
3108 use it with ui_path_box_new().
3111 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3114 Extend auto_latex() function to check whether an environment has been
3115 closed within the next lines to avoid auto adding double \end{}.
3117 Remove LaTeX tags from SVN. Can be found at
3118 http://download.geany.org/contrib/tags/ if needed.
3121 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3123 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
3124 Add document_need_save_as().
3125 Show the Save As also for documents created from filetype templates
3126 instead of saving them directly with the untitled filename.
3129 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3131 * geany.glade, src/interface.c:
3132 Move 'Send Selection to Terminal' menu item from Format to Commands
3135 When going to a build error, try the current document's path if
3136 the parsed filename doesn't exist. (This can happen when we receive
3137 build messages in the wrong order - after the 'Leaving directory'
3140 Refactor msgwin_goto_compiler_file_line().
3141 * src/interface.c, src/keybindings.c, geany.glade:
3142 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu
3145 Refactor/reformat on_replace_dialog_response().
3148 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3151 Improve geany.spec (split the package into a binary and devel
3152 package, update BuildRequires and other minor improvements).
3153 Patch by Dominic Hopf, thanks.
3156 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3158 * src/filetypes.c, src/filetypes.h:
3159 Make group for custom filetypes.
3160 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
3161 Add custom filetype Genie.
3164 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3166 * src/highlighting.c:
3167 Highlight D & Java types from a global tags file.
3168 * src/highlighting.c, doc/geany.txt, doc/geany.html:
3169 Add debug message warning if recursive lexer_filetype is set.
3170 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
3171 Remove duplicate sci_set_keywords(), make argument const.
3172 * src/highlighting.c:
3173 Only show debug message once if recursive lexer_filetype is set.
3174 Tidy highlighting_init_styles code for filetype None handling.
3175 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
3176 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
3177 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
3178 tagmanager/parsers.h, tagmanager/makefile.win32,
3179 tagmanager/verilog.c, tagmanager/Makefile.am,
3180 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
3181 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
3182 * src/highlighting.c:
3183 Fix segfault on startup (oops).
3184 * data/filetypes.verilog:
3185 Fix using common style colours for Verilog.
3188 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3190 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
3191 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
3192 Move C-like filetype properties into configuration files.
3193 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
3195 Remove now unnecessary "styling_within_preprocessor" C style key.
3196 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
3197 data/filetypes.glsl, data/filetypes.cs:
3198 Use lexer_filetype=C configuration file key instead of duplicate
3199 styleset functions for C++, C#, GLSL, Vala.
3202 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3204 * doc/geany.txt, doc/geany.html:
3205 Warn about not using BOM for configuration files (confuses GKeyFile
3206 parser, at least on my system).
3208 Add/improve debug messages for custom filetypes.
3211 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3214 Add a couple of further latex-beamer commands to list of LaTeX tags.
3217 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3219 * plugins/filebrowser.c:
3220 Add an in-entry clear icon to the filebrowser plugin's filter
3221 entry (patch by Dominic Hopf, thanks).
3222 * src/prefs.c, src/ui_utils.c:
3223 Fix two compiler warnings about possibly uninitialised variables.
3226 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3228 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
3229 plugins/geanyfunctions.h:
3230 Add main_is_realized() to the plugin API.
3231 * tagmanager/include/tm_tagmanager.h:
3232 Update partly outdated and wrong doc comment.
3233 * src/main.c, src/main.h, src/socket.c:
3234 Allow opening Geany projects remotely.
3235 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
3236 Add a hidden pref to allow executing text which was sent to the
3237 terminal directly, i.e. do not strip trailing newline characters.
3238 Also fix the stripping of trailing newline characters if there was
3242 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3244 * src/about.c, THANKS:
3245 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
3246 Kurt de Bree into section of previous translators.
3249 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3251 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
3252 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
3256 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3258 * src/highlighting.c:
3259 Make stylesets take a ft_id argument so they can be reused fully with
3260 custom filetypes, so custom styles and keywords can be set.
3261 * src/highlighting.c:
3262 Fix setting filetype properties when both the system and the user
3263 file have properties set.
3264 * src/symbols.c, tagmanager/vhdl.c:
3266 * src/highlighting.c:
3267 Fix lexer settings for custom filetypes.
3270 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3273 Remove duplicate regular expression for parsing classes.
3274 Fix and improve parsing of constants (patch by Harold Aling, thanks).
3275 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
3276 src/main.h, THANKS, src/about.c:
3277 Add new command line option "--socket-file" to be able to specify
3278 separate socket filenames for instances
3279 (closes #2896027, patch by Jörn Reder, thanks).
3280 * src/keybindings.c, src/keybindings.h:
3281 Add keybindings_check_event() to manually check GdkKeyEvents against
3282 Geany's keybindings.
3283 * src/callbacks.c, src/utils.c, src/utils.h:
3284 Add and use utils_get_help_url().
3285 * geany.glade, src/interface.c, src/prefs.c:
3286 Add a Help button to the preferences dialog.
3287 Handle Help keybinding events for the preferences dialog especially
3288 and open the manual with the corresponding anchor link to the current
3289 preferences page (same goes for the new Help button).
3292 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3294 * src/toolbar.c, src/geanymenubuttonaction.c,
3295 src/geanymenubuttonaction.h:
3296 Use separate tooltips for toolbar menu buttons and their attached
3298 * tagmanager/latex.c:
3299 Improve parsing of sections and chapters by ignoring shortnames
3300 like \section[shortname]{label} (closes #2890477).
3303 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3305 * src/geanymenubuttonaction.c:
3306 Try to fix Gtk warning when using Tools->Reload Configuration.
3309 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3311 * src/highlighting.c, doc/geany.txt, doc/geany.html,
3312 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
3313 data/filetypes.pascal, data/filetypes.docbook,
3314 data/filetypes.python, data/filetypes.conf:
3315 Use filetypes.foo [lexer_properties] group instead of hardcoding
3316 lexer properties (more flexible e.g. for custom filetypes).
3317 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
3318 Replace filetypes.xml html_asp_default_language key with
3319 filetypes.html asp.default.language property in [lexer_properties]
3323 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3325 * doc/geany.txt, doc/geany.html:
3326 Fix slightly wrong description of how to insert Unicode characters.
3328 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
3329 ui_setup_open_button_callback().
3330 * src/prefs.c, src/prefs.c, src/vte.c:
3331 Refactor color and font button callback functions in the
3332 preferences dialog. Move the VTE related callback functions
3334 Make use of ui_setup_open_button_callback().
3336 Improve printing status texts (patch by Dominic Hopf, thanks).
3337 * src/prefs.c, src/vte.c:
3338 Use the default dialog title set by ui_setup_open_button_callback()
3339 to be more consistent and to save one string.
3342 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3345 Separate DKinds from CKinds.
3346 Don't generate macro tags for D, Java.
3349 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3351 * tagmanager/ctags.c, tagmanager/general.h:
3352 Make TagManager Assert statements cause g_warning on failure.
3353 * src/keybindings.c:
3354 Fix reflow paragraph command when cursor < anchor using
3355 sci_fix_selection().
3358 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3360 * tagmanager/perl.c:
3361 Fix Geany segfault with constant tags (#2895168).
3363 Fix invalid tree iter access when using tv_iters.tag_other but not
3364 using tv_iters.tag_variable.
3365 * HACKING, tagmanager/perl.c:
3366 Fix parsing Perl format statements ("other" type doesn't seem
3368 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
3369 Fix using "other" tag type.
3372 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3375 Remove useless comment about applying settings only when libvte.so
3376 could be loaded which is only displayed *if* libvte.so is loaded.
3378 Allow autocompletion for HTML entities even within a word.
3379 * src/geanymenubuttonaction.c:
3380 Only set the menu of the button if a non-empty GtkMenu is passed to
3381 geany_menu_button_action_set_menu() so the menu arrow keeps
3385 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3388 Fix parsing some Java code (e.g. filetypes.java) after r4407.
3391 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3394 Parse D functions with contracts (fixes #1885480).
3395 Parse D alias statement like typedef.
3396 (Ignore some more D keywords).
3398 Fix creating D interface tags properly.
3400 Parse contents of D extern{} and version{} blocks.
3403 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3409 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3411 * src/plugindata.h, HACKING:
3412 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
3415 Show number of files saved on status bar when using Save All.
3416 * src/highlighting.c:
3417 Use default color scheme if pref color scheme file doesn't exist.
3418 * src/keybindings.c:
3419 Fix moving correct lines after selecting whole line(s).
3422 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3424 * tagmanager/makefile.win32:
3425 Fix broken build on Windows because of a typo
3426 (patch by Timothy Boronczyk, thanks).
3429 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3431 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
3433 Add 'View->Editor->Color Schemes' menu, for now only shown if color
3434 scheme files exist in a colorschemes config directory. Color scheme
3435 files must end in ".conf" and currently only the [named_styles]
3437 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
3438 Add utils_get_config_files().
3439 * src/highlighting.c:
3440 Fix issue with default color not being reset if overridden with a
3441 system default color.
3442 * src/highlighting.c:
3443 Only reload filetype files when changing color scheme, not all
3444 configuration files.
3445 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
3446 Deprecate documents_foreach() as it looks more like a function; use
3447 foreach_document() instead.
3448 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
3451 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3453 * src/stash.c, src/stash.h:
3454 Use typedef instead of pointer for widget_id function arguments.
3457 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3459 * src/pluginutils.c:
3460 Don't expand Plugin Preferences page spacing vertically to fill the
3461 height of the dialog.
3462 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
3463 geany.glade, plugins/splitwindow.c:
3464 Allow GeanyKeyBinding label field to contain underscores, which won't
3465 be displayed by Geany. This saves adding near-duplicate translation
3467 Add mnemonics for 3 Edit->Format menu items.
3468 Add keybindings_get_label().
3469 * src/interface.c, geany.glade:
3470 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
3474 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3477 Desensitize Edit->Commands menu item when no docs are open.
3478 * src/interface.c, src/keybindings.c, src/callbacks.c,
3479 src/callbacks.h, geany.glade:
3480 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
3481 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
3482 Add general function sci_get_string() that works with any string
3483 buffer messages that follow the Windows message convention.
3484 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
3485 src/keybindings.h, src/callbacks.c, src/callbacks.h,
3486 src/pluginutils.c, src/pluginutils.h, geany.glade:
3487 Add 'Edit->Plugin Preferences' menu item and keybinding.
3488 Don't include plugindata.h in pluginutils.h because it redefines the
3489 GEANY() macro for plugin use.
3490 * doc/geany.txt, doc/geany.html:
3491 Update for Plugin Preferences keybinding.
3494 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3497 Sort document word completion list.
3498 * src/interface.c, src/keybindings.c, src/callbacks.c,
3499 src/callbacks.h, geany.glade:
3500 Add some useful commands to editor popup menu under "Commands"
3501 submenu (thanks to Lex).
3502 Move 'Duplicate line or selection' from Format -> Commands submenu.
3503 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
3504 Enable switching the sidebar to the right on Windows again, as it
3505 apparently works after all.
3507 Fix using tab to autocomplete in some other situations that word part
3508 completion doesn't apply in.
3509 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
3510 Add Edit->Commands submenu which is shared with the editor popup
3512 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
3513 Change editor popup Commands submenu to start as child of menubar
3514 Edit menu, as this is more usual e.g. for keybindings initialization.
3515 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
3517 Share a single Format submenu for menubar Edit and popup menu.
3520 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3523 Fix a compiler warning about an uninitialised variable.
3525 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
3526 sciwrappers.h, build.h (for the Waf build system,
3527 accordingly to r4366).
3530 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3532 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
3533 src/toolbar.c, src/toolbar.h:
3534 Add missing dox for types/files in the API.
3535 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
3536 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
3537 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
3538 of functions not in the API).
3539 Warning: any plugins that include these headers should remove them.
3540 * src/build.c, src/build.h:
3541 Move function doc-comments to build.c so they stay in sync. Note:
3542 these functions are still not in the API.
3544 Add 'Doc-comments' plugin API subsection.
3545 * plugins/filebrowser.c:
3546 Fix packing configure widgets equally.
3547 Use spacing multiples of 6 as recommended by Gnome HIG.
3548 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
3549 Disable switching the sidebar to the right on Windows as it will
3550 probably fail like the Split Window plugin.
3552 Improve 'Detect from file' indentation pref by ignoring lines with
3553 indentation wider than 24 characters as this is more likely to be
3554 alignment than indentation.
3557 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3559 * plugins/saveactions.c:
3560 Fix adding the filetype's default extension when using the
3561 Instant Save plugin (closes #2885142).
3563 Before looking for line and column numbers specified as part
3564 of a filename, ensure the file doesn't exist on disk. This allows
3565 opening of files like "test:0".
3567 Rename "select" variables into "selection" to avoid shadowed names.
3568 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
3569 Add ui_widget_modify_font_from_string() and sci_goto_line()
3571 * plugins/filebrowser.c:
3572 Rename "select" variables into "selection" to avoid shadowed names.
3573 Make use of ui_widget_modify_font_from_string().
3576 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3578 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
3579 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
3581 Add sidebar position interface pref.
3584 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
3586 * doc/geany.txt, doc/geany.html:
3587 Add missing underscores to links.
3590 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3592 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
3593 Add 'Move line(s) up/down' keybindings.
3596 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
3598 * src/build.c, src/build.h, src/filetypes.h:
3599 Include code for project filetype execute commands and fix bug in
3600 saving project filetypes list.
3601 * src/project.c, src/build.c, doc/geany.txt:
3602 Make non-project execute configuration save to filetypes not
3604 Fix closing of project failing to remove build commands dialog entry.
3607 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3609 * src/project.c, src/ui_utils.c:
3610 Set border width for project properties build table.
3611 * geany.glade, src/interface.c:
3612 Don't expand hard tab width alignment.
3615 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3617 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
3618 doc/geany.txt, doc/geany.html:
3619 Support loading global tags files for custom filetypes.
3620 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
3621 doc/geany.txt, doc/geany.html:
3622 Add 'Word part completion' keybinding so keys other than Tab can be
3623 used, or to clear/change the combination so Tab does full completion
3625 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
3626 Add 'Select to previous/next word part' keybindings.
3627 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
3628 Add 'Switch to Messages' focus keybinding.
3631 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3633 * doc/geany.txt, doc/geany.html:
3634 Add 'Custom filetypes' section.
3635 * src/filetypes.c, src/filetypes.h, src/document.c,
3636 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
3637 tagmanager/include/tm_source_file.h:
3638 Add filetype "tag_parser" key so custom filetypes can use an existing
3640 Add tm_source_file_get_named_lang().
3641 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
3643 Add filetype "lexer_filetype" key so custom filetypes can use an
3647 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3649 * THANKS, src/about.c:
3650 Add Xhacker Liu for his work at zh_CN translation to long list of
3654 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3656 * src/sciwrappers.c:
3657 Remove unnecessary line number margin padding.
3658 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
3659 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
3661 Improve word part autocompletion so AC list is not cancelled and
3662 reshown (this also stops the selection changing).
3663 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
3665 Improve CamelCase word part autocompletion for runs of capital
3668 Don't complete snippets if there's a selection.
3671 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
3674 Fix crash opening project when Geany started with no geany.conf.
3677 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3679 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
3680 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
3682 Add word part autocompletion for the current selected item when
3683 pressing Tab - Enter still completes normally.
3684 Add foreach_str() API macro.
3685 Temporarily modify scintilla to say if tab was used for
3687 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
3688 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
3689 plugins/classbuilder.c:
3690 Revert r4301 - utils_free_pointers() taking 4 arguments.
3691 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
3692 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
3693 plugins/splitwindow.c:
3694 Add highlighting_set_styles() to API, use for Split Window plugin so
3695 filetypes.common settings get set too.
3696 Make highlighting_set_styles() take GeanyFiletype pointer instead of
3698 * src/document.c, src/editor.c, plugins/splitwindow.c:
3699 Call editor_apply_update_prefs() from editor_create_widget() so
3700 correct tab width and other settings are applied for Split Window
3704 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3706 * src/keybindings.c:
3707 Don't include trailing newlines when using reflow command.
3709 Add stock close buttons to notebook tab popup menu.
3710 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
3711 plugins/geanyfunctions.h:
3712 Add document_get_notebook_page() to API.
3714 * data/templates/files/file.html, data/templates/files/file.php:
3715 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
3716 * src/interface.c, src/ui_utils.c, geany.glade:
3717 Move Tools configuration items to top of menu.
3718 * src/keybindings.c, src/search.c:
3719 Fix warning when using Find in Files with no documents open; make
3720 keybinding work in this case.
3723 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3725 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
3726 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
3727 Make Split Window 'Show current document' button have a drop-down
3728 menu to select the other documents.
3729 Add new API function ui_menu_add_document_items().
3732 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
3735 Fix sensitivity settings for compile and build toolbar items.
3738 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3741 Don't use filetype submenus for templates (slower to navigate, often
3742 only 1 per-filetype anyway).
3744 Put old filetype template menu items in 'Old' submenu as they should
3745 be removed after the 0.19 release.
3746 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
3747 Add GeanyKeyGroup callback support, which allow keybinding callbacks
3748 to be ignored if inappropriate so a later keybinding with the same
3749 key combination can intercept it. (Also group callbacks are usually
3750 tidier than separate callbacks).
3751 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
3752 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
3753 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
3754 plugins/classbuilder.c:
3755 Make utils_free_pointers() take 4 arguments, add to API.
3756 * src/templates.c, src/tools.c, src/ui_utils.c:
3757 Fix memory leaks with gtk_container_get_children().
3760 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
3763 Ensure that old style build config is not loaded if it does
3767 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3769 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
3770 Added Galician translation.
3771 Thanks to José Manuel Castroagudín Silva.
3774 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3776 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
3778 Apply set default encoding for existing files only if the files are
3779 non-Unicode (patch by Alexey Antipov, thanks).
3782 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3784 * src/highlighting.c:
3785 Move new_styleset() and preprocessor setup code into
3787 * src/highlighting.c:
3788 Call apply_filetype_properties() from styleset_c_like().
3791 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3793 * doc/geany.txt, doc/geany.html:
3794 Improve information about predefined keybindings which are
3795 commonly used across applications (patch by Lex Trotman, thanks).
3797 Enable embedded page setup properties in the (Unix) Print dialog
3798 on newer GTK versions (closes #2870596).
3799 * src/highlighting.c:
3800 Map global types (read from tags files) to keyword style for
3804 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3807 Fix wrong creation of filetype template menu items for custom
3809 * src/highlighting.c:
3810 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
3812 Group 'New with template' items by filetype submenu (currently only
3814 Show custom file template items before filetype template items.
3815 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
3817 Only use one 'New with template' submenu - reparent as needed.
3819 Don't create templates/filetype.none either.
3821 Warn if custom template file no longer exists.
3824 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3827 Add missing icon for Java packages in the Symbol List.
3830 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3832 * src/highlighting.c, data/filetypes.vala:
3833 Add Vala keywords to conf file.
3834 * src/templates.c, doc/geany.txt, doc/geany.html:
3835 Read custom file templates from $prefix/share/geany/templates/files
3836 as well as user dir.
3837 * src/templates.c, data/templates, data/templates/files,
3838 data/templates/files/file.rb, data/templates/files/file.html,
3839 data/templates/files/main.java, data/templates/files/main.c,
3840 data/templates/files/main.cxx, data/templates/files/file.php,
3841 data/templates/files/main.d, data/templates/files/program.pas,
3842 data/templates/files/main.py, data/templates/files/file.tex,
3843 wscript, Makefile.am:
3844 Move filetype template defaults into custom file template files.
3847 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3849 * src/symbols.c, tagmanager/perl.c:
3850 Change Perl tag parser to ctags SVN r601. This removes support for
3851 buggy local/my/our but it parses constant/format/labels and should
3852 be less buggy overall (closes #2861232).
3853 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
3854 Add utils_get_file_list_full() which can optionally sort or include
3855 a full path for each list item.
3856 * src/utils.c, src/plugindata.h, src/plugins.c:
3857 Add utils_get_file_list_full() to API.
3860 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3862 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
3863 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
3864 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
3865 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
3866 po/POTFILES.in, wscript:
3867 Rename treeviews.[hc] -> sidebar.[hc].
3868 * data/filetypes.common:
3869 Remove unused [styling] arguments.
3870 * src/highlighting.c, data/filetypes.markdown,
3871 data/filetypes.restructuredtext:
3872 Remove style defaults from the code - just read them from
3873 configuration files.
3874 * src/highlighting.c, HACKING:
3875 Add apply_style_entries() to simplify implementing styleset_foo().
3876 * src/highlighting.c:
3877 Remove filetype keyword defaults from the code - just read them from
3878 configuration files.
3879 * src/highlighting.c:
3880 Add sci_set_keywords() wrapper.
3883 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3885 * scripts/create_py_tags.py:
3886 Make the code a bit more pythonic.
3887 * doc/images/build_menu_commands_dialog.png,
3888 doc/images/main_window.png:
3889 Add new images referenced in the documentation.
3890 * doc/geany.html, doc/geany.txt:
3891 Several documentation improvements (patch by Lex Trotman, thanks).
3892 * src/pluginutils.c:
3893 Fix setting the appropriate page of the combined plugins
3897 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3899 * src/keybindings.c:
3900 Only focus toolbar goto line entry when pressing keybinding if it's
3901 visible (patch by Eugene Arshinov, thanks).
3903 Focus editor after entering a number in the goto line toolbar entry.
3905 Use AC_PATH_PROG instead of which for portability (patch by Erik
3906 Southworth, thanks).
3908 Show plugins that only implement plugin_configure_single() in the
3909 multiple-configure dialog as a page with a configure button on it.
3910 Add padding for multiple-configure dialog.
3911 Make the multiple-configure dialog notebook tabs scrollable.
3912 * src/pluginutils.c, src/pluginutils.h:
3913 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
3914 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
3915 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
3916 plugins/geanyfunctions.h, plugins/filebrowser.c:
3917 Add plugin_show_configure() API utility function.
3918 Add File Browser popup menu 'Preferences' item.
3919 * src/highlighting.c:
3920 Add get_keyfile_ints() instead of using tmp_style hack.
3921 * src/highlighting.c, data/filetypes.xml:
3922 Change new html_asp_default_language markup pref to use integer,
3923 not hex in config file.
3924 Fix minor issue with changing pref back to 0.
3925 * src/highlighting.c:
3926 Fix possible segfault in get_keyfile_int() if key value is malformed.
3929 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3931 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
3932 Add "html_asp_default_language" pseudo style to filetypes.xml
3933 to allow setting the used language in embedded ASP code
3934 (patch by Ross McKay, thanks).
3935 * src/filetypes.xml:
3936 Update VBScript keywords (patch by Ross McKay, thanks).
3939 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3941 * src/keybindings.c, THANKS:
3942 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
3943 keybinding use line breaking column when enabled.
3945 Fix showing the document before reload dialog when opening an
3947 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
3948 Add plugin_configure_single() plugin symbol which is easier to
3949 implement than plugin_configure() but won't support a
3950 multiple-plugin configure dialog.
3952 Show multiple plugins in the 'Configure Plugins' dialog.
3955 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3957 * doc/geany.txt, doc/geany.html:
3958 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
3960 * doc/geany.txt, doc/geany.html:
3961 Add 'Toolbar entries' section.
3962 * doc/geany.txt, doc/geany.html:
3963 Update 'Go to line' keybinding description.
3964 * doc/geany.txt, doc/geany.html:
3965 Split keybinding table into group tables; update KB links.
3968 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3971 Fix compiler warnings about uninitialised variables.
3972 * src/callbacks.c, src/document.c:
3973 When reloading files, use the previously set encoding instead of
3974 detecting it again (closes #2862041).
3976 Turn on automake silent rules if supported.
3979 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3982 Speed up sorting in utils_get_file_list(). This reduces the file
3983 browser delay on displaying a big directory, e.g. /usr/bin.
3985 Expand command entry width when expanding Build Commands dialog.
3987 Split Build Commands dialog notes label and edit text.
3989 Add padding for Build Commands dialog separators.
3990 Add colons for regex field labels; fix 1 capitalisation.
3992 Fix none filetype Build Commands dialog label.
3993 Make group labels bold.
3994 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
3996 Add & use ui_label_set_markup(), ui_label_new_bold().
3997 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
3998 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
3999 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
4000 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
4001 * src/keybindings.c:
4002 Make 'Go to Line' keybinding focus the toolbar entry if visible.
4005 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4007 * src/filetypes.c, src/filetypes.h, src/symbols.c,
4008 tagmanager/parsers.h, tagmanager/makefile.win32,
4009 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
4010 data/filetype_extensions.conf, wscript:
4011 Add new filetype: Abc (patch by Eric Forgeot, thanks).
4013 Merge recent changes from the CTags project to further improve
4017 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4020 Fix wrong alignment of printed pages when page headers are
4021 disabled (closes #2856822).
4022 Plug a small memory leak and improve function signature of
4025 Save an if expression.
4027 After clearing a text field using the embedded clear icon, put the
4028 input focus into this text field.
4031 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4033 * plugins/filebrowser.c:
4034 Free file list memory whilst iterating the list.
4035 Minor formatting fixes.
4036 * src/utils.c, src/utils.h:
4037 Add foreach_dir() API macro.
4038 Update API docs for utils_get_file_list().
4039 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
4041 Remove queue.[hc] - use GQueue instead of GeanyQueue.
4042 Beep if there are no more snippet positions.
4043 Limit length of snippet positions queue to 20.
4046 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4048 * src/keybindings.c, src/callbacks.c, src/search.c:
4049 Make Goto Tag commands use the current selection if present (useful
4050 for selecting part of a tag or for ReST section names with spaces
4053 Don't move the cursor when reloading.
4054 * src/plugindata.h, src/editor.c, src/editor.h:
4055 Make editor_prefs.snippets hash table private (not a pref).
4058 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4061 Remove deprecated --debug flag. Please use --verbose/-v instead.
4064 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4067 Show Find in Files stderr output in messages window instead of
4068 debug window so that invalid regex messages can be seen easily.
4069 Combine FIF stdout and stderr callback code.
4072 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4075 Fix opening filenames beginning with two dots (closes #2858487).
4076 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
4077 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
4078 data/filetypes.common, geany.glade:
4079 Update syntax highlighting after changing the 'Invert syntax
4080 highlighting colors' pref, instead of requiring a restart.
4081 Remove filetypes.common invert_all option - use 'Invert syntax
4082 highlighting colors' pref instead (closes #2854525).
4083 * src/prefs.c, src/dialogs.c, src/dialogs.h:
4084 Add 'Allow' button when showing the conflicting keybinding dialog.
4085 Make dialogs_show_question_full() use GTK dialog on Windows if
4086 button text is not the stock yes/no items.
4087 Add dialogs_show_prompt() which also has an 'Apply' button.
4088 * src/queue.c, src/queue.h:
4089 Add warning that GeanyQueue may be removed.
4090 * src/keybindings.c, src/editor.c, src/editor.h:
4091 Change snippet_goto_next_cursor() to
4092 editor_goto_next_snippet_cursor() as it's in editor.h.
4093 Avoid using GPOINTER_TO_INT macro.
4096 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4098 * src/keybindings.c:
4099 Fix 'Reflow block' command when at the last paragraph and there's
4100 no last newline (patch by Eugene Arshinov, thanks).
4102 Add 'Compiler options & warnings' section.
4103 Update Style section to be clearer about code alignment and show
4108 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4110 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
4111 src/plugindata.h, src/plugins.c, src/editor.c,
4112 plugins/geanyfunctions.h:
4113 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
4114 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
4116 Add sci_toggle_marker_at_line().
4117 Fix SciFuncs alignment.
4120 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
4123 Fix erroneous free of returned string in prepare_run_script.
4126 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4128 * data/filetypes.latex:
4129 Changing default value for showing pdf and dvi to ensure to take
4130 *.pdf and *.dvi file.
4133 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4135 * src/about.c, THANKS:
4136 Change language string for Slovenian translation.
4139 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4141 * tagmanager/txt2tags.c:
4142 Fix multi-byte character constant comparison.
4144 Fix Gtk warning when trying to update documents popup menu item
4145 sensitivity before they exist.
4148 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4151 Improve the opening string in the plugin manager dialog.
4153 Use "max-width" to set the document width of the generated
4154 HTML documentation to let the text be auto-wrapped.
4155 * src/prefs.c, src/tagmanager/include/guregex.h,
4156 src/tagmanager/include/tm_tagmanager.h:
4157 Remove trailing spaces (patch by André Hentschel, thanks).
4159 Fix a compiler warning.
4161 Fix crash when opening documents.
4162 * src/build.c, src/build.h, src/project.c:
4163 Adjust coding style (no code changes).
4164 * src/build.c, src/project.c:
4165 Use NZV() macro instead of strlen() to check for empty strings.
4166 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
4167 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
4168 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
4169 src/plugins.c, THANKS:
4170 Add new plugin signal: "document-before-save".
4171 Add get_line_end_position(), set_target_start(), set_target_end(),
4172 replace_target() to the plugin API
4173 (patch by Eugene Arshinov, thanks).
4174 Add new plugin signal: "document-filetype-set" (closes #2852286).
4175 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
4176 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
4177 tagmanager/Makefile.am, tagmanager/makefile.win32,
4178 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
4180 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
4183 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4185 * src/treeviews.c, src/document.c:
4186 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
4187 Use gtk_notebook_set_current_page() instead of
4188 document_open_file_full() when choosing an item from the documents
4190 Avoid using goto in document_open_file_full().
4193 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4195 * src/treeviews.c, src/document.c, src/document.h, THANKS:
4196 Enable type-ahead find for sidebar symbols and documents tabs
4197 (patch by Thomas Martitz, thanks).
4199 Fix 2 free's of possibly uninitialized pointers.
4202 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
4204 * src/build.c, src/filetypes.h, src/filetypes.c:
4205 Only write filetype config files when build command or regex is
4206 actually changed. Removed commented code in src/filetypes.c.
4208 Ensure uses of filename are protected against nulls when running
4209 a build command and give status message if not.
4212 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4215 Remove plugin from plugin manager dialog on unloading if it no
4216 longer exists or is incompatible.
4219 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4222 Add warning if only one of the plugin_key_group[_info] symbols is
4223 defined for a plugin.
4224 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
4225 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
4227 Merge custom-filetypes branch:
4228 Support adding custom filetype files e.g. filetypes.Foo.conf.
4230 Allow GeanyFiletype::extension to be NULL.
4231 Add note about using GeanyFiletype pointer instead of filetype_id
4232 for filetypes.c function arguments.
4233 Replace styleset_none() with styleset_default().
4236 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4239 Show the sidebar if either the documents or the symbols list are
4240 enabled (related to #1876107).
4243 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4245 * src/build.c, src/filetypes.c:
4246 Fix compiler warnings.
4248 Fix removing leading double slashes in filenames which are used for
4249 network resources on Windows (closes #2844085).
4252 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4254 * src/keybindings.c:
4255 Fix Make keybindings (patch by Lex Trotman, thanks).
4257 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
4259 Mention Files link at top for header files; demoplugin.c.
4260 Minor edits; remove 'far from being complete'.
4261 * src/keyfile.c, src/keyfile.h, src/main.c,
4262 data/filetype_extensions.conf, HACKING:
4263 Remove --generate-data-files argument & code - just edit
4264 filetype_extensions.conf by hand (filetype order was broken
4266 Add *.H extension for C++ (useful for non-Windows systems).
4269 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
4272 Fix implementation of loading old project files with base
4273 directories. Use project_make_base_path instead of re-
4274 implementing. Now depends on project.c reading base dir
4275 prior to calling load_build_menu.
4277 Change usage of project base directory to conform with
4278 previous documented behavior when loading old project files.
4280 Change make custom and make object to ignore make in base path
4281 when reading old project file settings. Changed some indent
4282 spaces to tabs. Fix missing compile menu accelerator.
4285 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4288 Add warning about not using undocumented features.
4289 Add reference to HACKING for plugin API development.
4291 Add section 'Plugin API/ABI design'.
4292 * src/keybindings.h, src/makefile.win32, src/project.h,
4293 src/filetypes.h, src/Makefile.am, wscript:
4294 Use GEANY_PRIVATE to hide some fields from plugins.
4296 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
4297 * src/build.c, src/build.h, src/project.c:
4298 Use build_ prefix for 3 functions in build.h; add a static modifier.
4301 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4304 Improve parsing of PHP functions by requiring a valid modifier or
4305 whitespace before the 'function' keyword to ignore some false
4306 positives like function tags inside comments
4307 (patch by Harold Aling, thanks).
4308 * tagmanager/python.c:
4309 Don't parse comments after import statements and other tags
4310 (closes #2838938, patch by Huandari Lopez, thanks).
4313 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4315 * data/filetypes.markdown:
4316 Add filetypes.markdown for configuration (thanks to Jon Strait).
4317 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
4318 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
4319 plugins/geanyfunctions.h:
4320 Remove GeanyKeyGroup struct from the API - plugins should not set
4322 Make keybindings_set_item() duplicate the name and label fields
4323 (needed by GeanyLua) and return a keybinding pointer.
4324 Add keybindings_get_item() to the API (in case it's useful).
4325 Move some keybinding code out of plugin source files.
4328 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4330 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
4331 Don't generate build.h API docs until everything is approved and
4332 functions are actually in geany_functions.
4333 Move new GeanyFiletype and GeanyProject field(s) to end of struct
4334 as they may be changed or made private later.
4335 Break ABI for fields removed.
4338 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
4340 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
4341 src/keyfile.c, src/project.c:
4342 Changed names of symbols visible in build API to GEANY_xxx.
4345 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
4347 * src/project.h, src/project.c, src/build.c:
4348 Remove make_in_base_dir and run_cmd fields from project structure.
4349 Replaced by build functionality. Remove incorrect use in src/build.c
4350 build_run_cmd function.
4353 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
4355 * src/project.h, src/project.c:
4356 Removed unused project_get_make_dir function, this is now per
4360 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
4362 * src/build.c, src/build.h, src/project.c, src/keyfile.c,
4364 Fix some more warnings.
4365 Fix commented out execute/stop toolbar code in build.c.
4366 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
4367 Changed build.h api so all functions prefixed with build_.
4370 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4372 * src/build.c, src/build.h, src/project.c:
4373 Fix some gcc warnings with '-Wall -W -ansi' enabled.
4376 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
4379 Fixed leaks and crashes due to inconsistent use of static vs dynamic
4380 strings when reading old format configuration & project files.
4381 * src/build.c, src/project.c:
4382 Fixed GLib array assertion warnings when no project filetypes are
4383 available to be saved.
4385 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
4391 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
4393 * src/build.h, src/build.c, src/project.c:
4394 Created and documented plugins interface to build menu.
4395 Factored out new get_cmd_group function.
4396 Changed name of remove_command function to be consistent with the
4397 rest of the interface & changed calls in project.c.
4398 * src/Makefile.am, wscript:
4399 Added build.h to installed files lists.
4401 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
4404 Updated manual to match build-menu capability.
4407 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
4409 * src/build.c, src/build.h:
4410 Added set_build_non_ft_wd_to_proj() for use by project dialog.
4411 Improved interpretation of run_in_base_dir from old [build-settings]
4412 Added spacing to build commands dialog
4414 Removed run in base path option from project dialog and added button
4415 to set working directories to d the same.
4418 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
4421 Re-incorporated toolbar changes in trunk accidently excluded in merge
4423 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
4426 Fixed substitute %f etc in commands
4427 Fixed potential leak in build_replace_placeholder
4428 Fixed leak in prepare_run_script (Thanks for patch Thomas)
4429 Fixed build_replace_placeholder to not require document.
4431 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
4433 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c:
4434 Fixed crash and lots of warnings, deleted some commented out code.
4435 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c:
4436 Removed make command from preferences and associated code
4438 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
4440 * src/build.c, src/build.h:
4441 Incorporated patch for working directory field (thanks Thomas)
4442 Removed run_in_base_dir option and associated code that it replaces
4443 Improved handling of old config files and mapping to new ones.
4445 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
4447 * src/build.h, src/build.c:
4448 Changed to itterate over entries in build commands dialog to allow
4449 additional fields to be added
4450 Implement support for multiple run commands
4451 * data/filetypes.latex:
4452 Implement configured commands and labels for latex.
4455 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
4457 * src/build.h, src/build.c:
4458 added dialog support for error regular expressions from multiple
4459 sources and storing and loading them fixed some typos and memory
4461 * src/filetypes.c, src/filetypes.h, project.c:
4462 added support for using error regexes from multiple sources
4465 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
4467 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
4469 Removal of build menu item source made redundant by the following fix
4471 Corrected priority oreder and loading of filetype dependent build
4472 menu items saved in the project file. Added print routine for
4473 debugging command sources and priorities set compile symbol
4474 PRINTBUILDCMDS true to enable
4476 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
4479 fixed problem loading old format filetype files, some formatting
4480 fixes fixed saving new format files
4481 added operation for clear button on build commands dialog
4483 fixed loading and saving filetype files
4486 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
4488 Configurable Build Menu Changes
4490 * doc/geany.html, doc/geany.txt:
4491 Updated build menu section to new functionality
4492 * src/build.h, src/build.c:
4493 Largly re-written, configurability added, Latex code removed
4494 * src/filetypes.h, src/filetypes.c:
4495 Filetype structure updated to add new command pointers, configuration
4496 load and store changed
4497 * src/keybindings.h, src/keybindings.c:
4498 Changed to address new command storage structure.
4500 Changed to load/store new configuration.
4502 Minor change to initialisation order.
4504 Changed to address new menu item storage structure.
4505 * src/project.h, src/project.c:
4506 Changed to load/store the new configuration info.
4508 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4510 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
4511 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
4512 doc/pluginsymbols.c, plugins/geanyfunctions.h,
4513 plugins/splitwindow.c:
4514 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
4515 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
4516 the ABI when adding fields to them.
4517 Add plugin_set_key_group() for plugins to dynamically set a
4518 keybinding group (e.g. for the Lua script plugin). Used in Split
4519 Window plugin as an example.
4520 Improve keybinding docs a little.
4523 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4525 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
4526 Add geanyfunctions.h to API docs.
4527 * plugins/splitwindow.c:
4528 Set the cursor color for the split window.
4531 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4534 Fix 'Open Selected File' for unsaved new documents.
4535 * src/keybindings.c, src/keybindings.h, src/prefs.c:
4536 Fix updating main menu accelerators after changing keybindings
4537 (thanks to Lex Trotman).
4539 Fix using 'Insert date' keybinding when a custom date string has
4541 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
4542 Merge Plugin and GeanyPluginPrivate structs.
4545 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4547 * src/keybindings.c:
4548 Fix non-working Home and End keys on numpads.
4551 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4553 * doc/geany.txt, doc/geany.html, NEWS:
4554 Add 'Scope autocompletion' section.
4555 Add 'Tools menu items' section to explain configuration files
4556 submenu, reload configuration item.
4557 Minor updates/fixes.
4560 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4563 Add a translation hint to an ambiguous format string.
4565 Add missing include path to fix 'make distcheck'.
4567 Fix opening of local files in the browser on Windows.
4568 * New release: Geany 0.18 "Kaine".
4569 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
4570 src/geany.h, doc/geany.html, doc/geany.txt:
4571 Post-release version bump.
4574 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4577 Temporarily disable reshowing calltips when the autocompletion
4578 list was closed implicitly by not choosing an item to fix
4579 problems with wrongly displayed calltips.
4581 Add missing 'coding' cookie to the Python filetype template.
4582 * doc/images/pref_dialog_edit_completions.png,
4583 doc/images/pref_dialog_toolbar.png:
4584 Update images for Geany 0.18.
4587 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4590 Add command '--hackingdoc' to create the HTML form of the
4594 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4596 * po/pt_PT.po, po/LINGUAS:
4597 Added a first Portugese (Portugal) translation based on work done at
4598 launchpad by e.g. André Glória and Alexandre Jesus.
4599 * src/main.c: Fix a minor typo on --help call.
4602 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4604 * src/highlighting.c:
4605 Call get_keyfile_wordchars() in highlighting_init_styles().
4608 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4610 * data/filetypes.ada:
4612 * src/keybindings.c:
4613 Switching notebook tabs now works for the currently used notebook
4614 widget instead of always using the documents notebook.
4615 * src/document.c, src/document.h, src/documentprivate.h,
4617 Small corrections to some API docs.
4620 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4622 * src/build.c, src/win32.h, src/win32.c:
4623 Expand system environment variables (%variableName%) on Windows when
4624 running Build commands.
4627 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4629 * src/keybindings.c:
4630 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
4631 future using an indent block is more useful e.g. for ChangeLog
4633 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
4634 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
4635 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
4636 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
4637 tagmanager/parsers.h, tagmanager/makefile.win32,
4638 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
4639 Add Markdown filetype (patch by Jon Strait, thanks).
4640 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
4641 Fix disconnecting plugin signal id when not using geany_object.
4643 Add filetype_make_title() instead of using:
4644 ft->title = g_strdup_printf(_("%s source file"), ft->name);
4645 It also supports "%s file" strings.
4648 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4650 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
4651 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
4652 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
4653 plugins/filebrowser.c:
4654 Add plugin_signal_connect() for connecting plugin signals at
4655 runtime and also for connecting to any GObject signal.
4656 Add 'Plugin Utility Functions' on main page.
4657 Add foreach_array() macro.
4658 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
4659 src/document.c, src/editor.c:
4660 Rename 3 sci functions to sci_set_target_start(),
4661 sci_set_target_end(), sci_replace_target() to match the SCI_
4665 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4667 * wscript: Fix compiling error with waf.
4670 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4672 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
4673 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
4674 src/Makefile.am, wscript:
4675 Move plugin_* utility functions to pluginutils.c.
4676 Add pluginprivate.h.
4678 Fix reshowing calltip in the wrong document.
4681 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4683 * doc/geany.txt, doc/geany.html:
4684 Add some general information about auto-completion capabilities
4685 (patch by Lex Trotman, thanks).
4688 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4690 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
4691 Added a first Slovenian translation. Thanks to Joze Klepec.
4694 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4696 * src/highlighting.c:
4697 Use full styleset_foo[_init] function name as argument to
4698 init_styleset_case() and styleset_case() macros so it's easier to
4699 understand the code.
4700 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
4701 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
4702 doc/geany.txt, doc/geany.html:
4703 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
4704 Heavily based on a patch by Eugene Arshinov (thanks).
4705 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
4706 editor_strip_line_trailing_spaces().
4709 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4712 Attempt to fix reshowing calltips after the autocompletion list
4714 Reshow calltips also when the autocompletion list was closed
4715 implicitly by not choosing an item.
4717 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4719 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
4720 plugins/splitwindow.c:
4721 Change utils_str_remove_chars() to work in place; fix allocating on
4722 the stack (the string length could exhaust the stack size).
4723 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
4724 src/printing.c, src/callbacks.c:
4725 Rename utils_str_replace() utils_str_replace_all(), setting a
4726 'gchar **haystack' argument instead of returning a new string.
4728 For the Tabs indent type, remove spaces when unindenting (only) if
4729 there are no tabs on the line.
4730 Group undo actions for (un)indenting of multiple lines.
4731 * src/document.c, src/editor.c:
4732 Fix scrolling horizontally after finding a search match with the
4733 search bar or Find Next/Previous which is off-screen.
4734 * src/keybindings.c:
4735 Fix GLib warning when pressing a key with no documents open.
4738 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4741 Start unifying usage of @a and @c markup elements in API docs,
4743 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
4744 Show/hide the toolbar without a restart when the setting in the
4745 preferences dialog is changed (closes #2824785).
4746 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
4747 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
4748 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
4750 Continue unifying usage of @a and @c markup elements in API docs.
4753 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4756 Remove relative/untidy path elements when creating new documents
4757 with a filename (e.g. from the command-line) (#2823998).
4760 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4763 Disable 'Recent Projects' menu item if the list of recent projects
4766 Fix some harmless compiler warnings.
4767 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
4768 src/plugins.c, src/utils.c, src/utils.h:
4769 Move utils_str_remove_chars() from the plugins/splitwindow.c to
4770 src/utils.c and add it to the plugin API.
4771 Make utils_str_remove_chars() work on a new copy of the input string
4772 instead of modifying it in place.
4774 Remove underscores from the toolbar items labels.
4777 * plugins/splitwindow.c:
4778 Fix broken 'Show the current document' tool button icon.
4781 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4783 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
4785 Add stash_group_add_widget_property() so we can save any widget's
4786 read/write properties.
4787 Use Stash for ui_prefs.sidebar_page setting.
4788 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
4789 Make foreach_ptr_array() use an integer argument for its
4790 implementation, as this is more useful potentially than a gpointer*
4791 argument, and more straightforward.
4792 Add foreach_c_array(), foreach_ptr_array() to API.
4793 * src/utils.c, src/utils.h, src/document.c:
4794 Remove relative/untidy path elements when opening documents (closes
4797 Fix showing project name for documents list files with no
4798 subdirectory (oops).
4800 Fix checking whether to overwrite when using the Rename button in
4801 the 'Save As' dialog.
4804 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4807 Don't use the main window as parent for dialog boxes if it is not
4809 Set titles for message dialogs.
4812 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4815 Display item labels instead of raw names in the toolbar editor.
4816 Apply changes in the toolbar editor instantly.
4817 Show icons in the toolbar editor.
4818 Speed up toolbar editor dialog creation.
4820 Improve inserting of comment templates like File header or licence
4821 notices. The comment information are now read from the filetype
4822 configuration files.
4824 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4827 Enable file monitoring for files which are written to disk by Geany
4830 Fix broken special case handling when detecting filetypes from a
4831 shebang or other special file headers.
4834 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4837 Make Mark All keybinding clear search highlighting when there's no
4840 Fix wrong match length when using Mark with regex.
4841 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
4842 src/keyfile.c, src/main.c:
4843 Add 'Show Paths' documents list popup item.
4844 Add "load_settings" core-only signal emitted just after loading
4845 main keyfile settings; useful to delay building UI elements until
4846 settings have been read.
4848 Fix GTK warning when right-clicking on default tag tree.
4849 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
4850 Add treeviews_finalize().
4851 Remove tv.popup_openfiles field.
4854 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4856 * src/highlighting.c:
4857 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
4860 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4863 Quote the uri before passing it to the browser when opening a
4864 website (closes #2818635).
4866 Fix broken 'builtin' Run command for HTML files on Windows.
4869 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4872 Properly fix wrong brace highlighting of non-brace character.
4874 Allow autocompletion in Perl double-quoted strings.
4875 Don't autocomplete in Perl single-quoted strings (closes #2821061).
4876 Don't autocomplete in Perl q() strings.
4877 * data/filetypes.common:
4878 Make Mark highlighting brighter.
4879 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
4880 Use hyphen for auto-feature terms.
4881 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
4882 src/document.h, src/main.c:
4883 Add documents_foreach() API macro that skips invalid docs.
4884 Make filetypes[], documents[] part of the API again.
4885 Add GEANY() macro for sharing geany symbols between API and core.
4886 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
4887 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
4888 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
4889 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
4890 plugins/classbuilder.c, wscript:
4891 Add geanyplugin.h single include for plugin API; update all core
4893 Add sci_set_font() to API.
4894 Update plugin howto.
4895 * src/filetypes.c, src/filetypes.h:
4896 Remove filetypes_foreach_named().
4899 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4901 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
4902 src/document.h, src/main.c, THANKS:
4903 Apply patch from Eugene Arshinov to reload color schemes via menu
4906 Reload filetypes.common after saving it.
4908 Improve wrong brace highlighting of non-brace character.
4911 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4914 Delay highlighting matching braces by 100ms, which speeds up
4915 scrolling with the arrow keys.
4916 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
4917 Add 'Mark All' keybinding.
4918 * tagmanager/diff.c:
4919 Show relative paths in diff filename tags.
4922 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4924 * src/highlighting.c:
4925 Fix setting keyword list 'classes' for Haxe
4926 (pointed out by Andreas Mokros, thanks).
4929 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4931 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
4932 doc/geany.txt, doc/geany.html, geany.glade:
4933 Add 'Drop rest of word on completion' pref.
4934 * src/editor.c, doc/geany.txt, doc/geany.html:
4935 If autocompletion is already visible when forcing completion, show
4936 document word completion instead of tag completion.
4937 Docs: Minor edits of related prefs items.
4938 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
4939 Add warning when printing and editor font is not monospaced.
4940 Fix using GtkMessageType instead of gint param for
4941 dialogs_show_msgbox*().
4942 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
4944 Support 'tab indents, space aligns' style for auto-indentation
4948 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4950 * src/document.c, src/documentprivate.h:
4951 Rework the GIO based file monitoring code. Now it is used only
4952 to indicate a possible change of the file, the real check if the
4953 file has been changed is performed by stat().
4954 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
4955 Add style 'line_height' to increase the line height.
4956 Add style 'marker_mark' and change style 'marker_search' to
4957 define the style used for marked search results.
4958 * doc/geany.txt, doc/geany.html:
4959 Add the new 'Autocomplete all words in document' pref to the docs.
4962 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4964 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
4965 doc/geany.txt, doc/geany.html, geany.glade, TODO:
4966 Add 'Autocomplete all words in document' pref.
4967 Use 'autocompletion' in dialog and docs, not 'auto completion'.
4969 Fix limiting number of word completion entries too much.
4970 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
4971 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
4972 Show autocompletion icons for tag symbols - for now only tags with
4973 an arglist have the 'function/method' icon, all others have the
4975 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
4977 * src/highlighting.c:
4978 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
4982 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4984 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
4985 Fix removing underscores in translated string using no_underscore()
4987 Set a tooltip for the Split Window plugin's Show Current tool button.
4988 Add utils_strdupa() macro.
4989 * src/interface.c, geany.glade:
4990 Use stock Select All icon now we have >= GTK 2.8.
4992 Fix using project name for document items that start with the
4993 project base path but don't match it e.g. ".../geany-plugins"
4994 instead of ".../geany" when project name is 'geany'.
4997 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5000 Fix warnings when the toolbar does not contain the Run button.
5002 Fix wrong parsing of complex expressions in the Lua parser.
5003 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
5005 Remove unnecessary enums.
5006 * scintilla/*, scintilla/include/*, src/plugindata.h:
5007 Update Scintilla to version 1.79.
5008 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
5010 Use the new Scintilla struct names prefixed with 'Sci_'.
5011 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
5013 Add second argument to the 'line_wrap_indent' styling setting to
5014 control the new Scintilla indentation mode for wrapped lines.
5016 Properly close the toolbar editor on delete-events.
5017 Fix warnings and possible crashes in the toolbar editor when the list
5018 of displayed toolbar items is empty.
5019 * data/filetypes.tcl:
5020 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
5022 Make the plugin manager dialog a bit bigger.
5025 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5027 * doc/geany.html, doc/geany.txt:
5028 Fix wrong default values for the 'Show Calltip' keybinding.
5031 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5033 * data/filetypes.tcl, src/symbols.c:
5034 Fix duplicate "context_action_cmd" key.
5035 Use different icons for "Methods" and "Procedures" in the symbol
5038 Fix a small memory leak.
5039 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
5040 src/keybindings.h, src/plugindata.h:
5041 Make the Scintilla keybindings 'Delete to end of line' and
5042 'Go to end of display line' configurable.
5044 Fix a typo (closes #2813624).
5047 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5049 * tagmanager/tcl.c, src/symbol.c:
5050 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
5051 methods and namespaces).
5052 Patch by Witek Mozga, thanks.
5055 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5057 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
5058 src/toolbar.c, src/toolbar.h:
5059 Remove ui_toolbar.xml Configuration Files menu item.
5060 Add a real toolbar editor dialog.
5061 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
5063 Add a button in the preferences dialog and an item for the toolbar
5064 popup menu to run the toolbar editor dialog.
5067 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5070 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
5071 Fix using locale encoding for default Save As dialog path.
5073 Beep when trying to activate the '...' autocompletion item.
5074 Limit (forced) document word completion to
5075 autocompletion_max_entries.
5076 Beep if no completions are shown when forcing autocompletion.
5079 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5081 * data/ui_toolbar.xml, src/toolbar.c:
5082 Add 'Build' toolbar button to the default layout.
5085 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5088 If forcing autocompletion and there's nothing else to show, complete
5089 from words in the current document (using code from Enrico's
5090 'AutoComplete Test' plugin).
5093 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5096 Add debug message if plugin has not set a name for its keybinding
5098 * data/filetype_extensions.conf:
5099 Add *.m4 for shell scripts.
5102 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5104 * src/highlighting.c, doc/geany.txt, doc/geany.html,
5105 data/filetypes.common, TODO:
5106 Make filetypes.common named styles use the "default" named style for
5107 all missing style fields.
5108 Set named styles to usually leave the background style empty. This
5109 currently allows C-like filetypes to have a common default
5111 Allow hard-coded colors to use -1 for the default color.
5112 Add some highlighting style examples to the manual.
5115 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5118 Create initial template files with proper platform-specific line
5122 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5124 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
5125 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
5126 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
5127 src/ui_utils.c, src/ui_utils.h:
5128 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
5130 Refactor some related code.
5131 * tagmanager/conf.c:
5132 Strip trailing spaces from "Key" tags.
5134 Quote the full filename to the Geany executable when creating the
5135 "Open with Geany" context menu item.
5136 * plugins/splitwindow.c:
5137 Avoid using deprecated GTK API.
5138 * src/log.c, src/main.c:
5139 Properly clean up the logging mechanism.
5141 Fix LaTeX view commands on Windows (part of #2807688).
5143 Add a popup menu for the keybinding list in the preferences dialog
5144 to easily expand and collapse all groups.
5145 Refactor the keybindings code for the preferences dialog, prefix all
5147 * src/main.c, src/ui_utils.c, src/ui_utils.h:
5148 Init stock items before creating the toolbar (closes #2809324).
5150 Generate the geany.pc file also on Windows.
5152 Invert the logic to determine which Save All we want to use:
5153 Use the Tango like icon only for the Tango theme and the Gnome / GTK
5154 like icon for any other themes.
5157 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5159 * src/highlighting.c, README.Packagers, HACKING:
5160 Remove gsd_* default styles, use named styles instead.
5161 Note: this relies on filetypes.common being installed.
5162 Add load_style_entries(), which makes style initialization
5163 simpler, used in styleset_c_like_init().
5166 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5169 Prevent possible crash on Windows when not setting an initial
5170 directory for native File Open/Save dialogs.
5171 * data/filetypes.xml, src/highlighting.c:
5172 Add style 'jscript_regex' for filetype HTML
5173 (patch by Chris Macksey, thanks).
5176 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5178 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
5179 Make GeanyDocument::file_type always be non-NULL, even for a new
5180 document with no filetype set.
5182 Only autocomplete scope for scopes matching the current filetype's
5184 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
5185 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
5186 data/filetypes.actionscript, data/filetypes.cs,
5187 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
5188 data/filetypes.javascript, HACKING:
5189 Make C++, D lexer filetypes use named styles (apart from uuid,
5190 verbatim, regex styles).
5193 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5196 Don't explicitly change the current directory of the Save As dialog
5197 so that it uses the last used directory.
5200 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5202 * src/encodings.c, src/encodings.h, src/plugindata.h:
5203 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
5206 When completing from the macro list, put the cursor after
5210 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5212 * tagmanager/pascal.c:
5213 Fix type definitions being parsed as functions.
5215 Don't autocomplete in unterminated strings as well.
5216 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
5217 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
5218 Remove data_ptr argument to foreach_[s]list() macros, as using
5219 node->data is enough sometimes; this makes the macro a bit more
5221 Add foreach_[s]list() macros to the plugin API docs.
5224 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5226 * scintilla/LexPascal.cxx:
5227 Backport fix from Scintilla CVS:
5228 Pascal lexer hanging on file that starts with 'interface' after
5232 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5235 Update Waf to 1.5.7.
5237 Overwrite installation prefix on Windows only if it wasn't
5238 specified explicitly.
5241 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5244 Display calltips for Pascal symbols in the Pascal way (#2803945).
5245 * tagmanager/pascal.c:
5246 Fix wrongly set return values for procedures (closes #2803945).
5247 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
5248 tagmanager/include/tm_source_file.h,
5249 tagmanager/include/tm_workspace.h:
5250 Fix doxygen warnings.
5253 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5255 * src/editor.c, tagmanager/include/tm_workspace.h,
5256 tagmanager/tm_workspace.c, TODO:
5257 Autocomplete scoped fields like struct members when typing '.' (and
5258 also '->' or '::' in C/C++).
5259 Save all tag types for C/C++ when generating a global tags file, so
5260 we can use autocompletion for structs also.
5261 Merge tm_workspace_find_scope_members(),
5262 tm_workspace_find_namespace_members() (currently not built) from
5263 Anjuta 2.24.1 tagmanager.
5266 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5268 * tagmanager/pascal.c:
5269 Parse Pascal calltips (closes #2802640).
5272 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5274 * src/filetypes.c, src/ui_utils.c:
5275 Add filetypes.common Configuration Files menu item.
5278 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5281 Add backslash to the wordchars on Windows when using
5282 'Open Selected File'.
5284 Add support (configure, build and install) for building on Windows
5285 and cross-compiling for Windows using the Waf build system.
5288 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5291 Set status bar text instead of showing a dialog when saving
5292 ui_toolbar.xml because the user might save several times.
5294 Fix redrawing due to colourising just after the document is first
5295 drawn. Now colourising should happen before the first draw.
5296 * src/utils.c, src/highlighting.c, data/filetypes.common:
5297 Fix segfault on parsing a filetypes.* style definition that has < 4
5299 Allow style definitions to have missing fields to use the default
5303 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5305 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
5306 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
5307 * plugins/classbuilder.c:
5308 Fix wrongly created header guards when the class filenames contains
5309 dashes (patch by PCMan, thanks).
5310 * data/filetypes.matlab:
5311 Add build_settings section to allow executing Matlab scripts.
5313 When closing a document, mark it as invalid before removing it from
5314 the documents notebook (this fixes wrong Save All button state when
5315 closing an unsaved document because the "switch-page" signal handler
5316 was using old data).
5319 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5321 * src/highlighting.c, doc/geany.txt, doc/geany.html:
5322 Support toggling bold/italic when using a named style, e.g.:
5323 commentdockeyword=commentdoc,bold,italic
5324 Improve named style docs.
5327 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5329 * src/build.c, src/editor.c:
5330 Fix crashes when parsing the output of a compiler which reports
5334 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5336 * src/highlighting.c:
5337 Support named styles also for filetypes.common [styling] entries.
5338 * doc/geany.txt, doc/geany.html, HACKING:
5339 Update docs for named styles in filetypes.* files.
5341 Fix grouping symbol list children when parent name has "." character
5342 in for reStructuredText and Conf filetypes.
5343 * tagmanager/python.c:
5344 Fix grouping functions/classes under a nested function.
5347 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5350 Adjust icon paths (patch by Dominic Hopf, thanks).
5351 * doc/geany.txt, doc/geany.html, src/toolbar.c:
5352 Add 'Replace' toolbar button (closes #2798225).
5355 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5357 * src/utils.c, src/highlighting.c, TODO:
5358 Implement named styles support for filetypes.* using a
5359 filetypes.common [named_styles] section e.g.:
5360 foo=0xc00000;0xffffff;false;true
5362 These can be used in e.g. filetypes.c as:
5366 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5369 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
5372 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5374 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
5375 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
5378 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5381 Remove quote_executable() as it is not used anymore.
5382 When creating the geany_run_script.bat use the "%0" variable
5383 expansion and quote it for the "del" command (closes #2797172).
5385 On Windows, fallback to the literal build command line if searching
5386 for the command in the system path failed (related to #2795923).
5387 Properly terminate the resulting strings when reading the stdout
5388 and stderr of any spawned commands on Windows.
5391 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5394 Use the wide character versions of native Windows File dialogs.
5396 Fix wrong initialisation of the default project path button callback
5397 in the preferences dialog.
5398 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
5399 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
5400 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
5401 icons/Makefile.am, icons/geany.ico, icons/scalable,
5402 icons/scalable/Makefile.am, icons/scalable/geany.svg,
5404 Move the icons geany.png and geany.ico into the icons directory.
5405 Add a 16x16 pixel Geany icon and the scalable SVG icon.
5406 Drop the pixmaps directory.
5409 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5411 * src/keybindings.c:
5412 Improve MRU document switching so there are no duplicates in the
5413 list and documents switched to whilst the dialog is open are
5414 ignored. Also beep when cycling through to the first document in the
5418 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5421 Fix broken 'Cancel' button in the Save As dialog.
5424 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5427 Fix multiline indent when selection covers text on the last line.
5429 Show current document in bold in tab popup menu.
5430 * src/editor.c, tagmanager/python.c, TODO:
5431 Parse Python calltips.
5434 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5436 * src/symbols.c, tagmanager/python.c:
5437 Parse Python import statements to get symbol completion for the
5438 imported module names.
5439 * src/editor.c, src/editor.h:
5440 Make some only locally used functions static.
5441 Fix wrong sanity check.
5443 Fix quoting the build command string on Windows (closes #2791769).
5444 This broke when we made build commands run synchronously on Windows,
5445 now we don't need to special quote the commands anymore.
5448 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5451 Drop rest of word to the right of cursor when autocompleting (do we
5452 need a pref for this?).
5455 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5457 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
5458 Add sci_set_selection().
5459 * doc/geany.txt, doc/geany.html:
5460 Update manual for MRU switching.
5461 * src/callbacks.c, src/editor.c, src/editor.h:
5462 Make indenting with the Tabs indent type preserve spaces on the line,
5463 so it works for the 'tab indents, space aligns' formatting style.
5466 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5468 * tagmanager/python.c:
5469 Fix missing symbols for variables when an equal sign is used
5470 in a comment on the same line as the variable declaration.
5471 Backport change from CTags SVN to keep the parser more in sync:
5472 Add support for Cython constructs to the Python parser.
5474 Remember the additional Find in Files search flags at startup.
5476 Don't close the Save As dialog when saving the file didn't succeed.
5479 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5482 Remember scribble cursor position.
5483 * src/keybindings.c, TODO:
5484 Implement Most-Recently-Used document switching when pressing
5485 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
5488 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5490 * data/latex.tags: Added some more commands from unit.sty and
5494 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5496 * src/symbols.c, doc/geany.txt, doc/geany.html,
5497 tagmanager/makefile.win32, tagmanager/nestlevel.c,
5498 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
5499 tagmanager/Makefile.am, wscript:
5500 Merge unstable branch:
5501 Add reStructuredText scope information for tags (for symbol list
5503 Read custom system global tags files from $prefix/share/geany/tags;
5505 Show the number of tags in a user global tags file (instead of the
5506 running total) in the debug message.
5507 Also print debug messages when loading a tag file manually or for
5508 default global tags files e.g. python.tags.
5510 Move NestingLevel tags code into a separate file, add functions.
5512 Add 'Installation prefix' section instead of quoting '/usr/local'
5514 Update for custom system global tags files.
5517 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5519 * src/highlighting.c:
5520 Unset maybe previously keywords when setting up Scintilla for
5521 XML files. This fixed wrong highlighting after switching back to
5522 filetype XML from another one.
5524 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
5525 is only used when explicitly requested.
5527 Remove unnecessary call to g_intern_string() to fix build with
5528 GLib 2.8 (closes #2790051).
5531 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5534 Make the clear icon of entry fields act on the release event, not
5535 on the press event like for other buttons.
5537 Refactor some multiple used code into get_multiline_comment_style().
5539 Create parent directories if necessary when checking for the
5540 configuration directory on startup (closes #2784577).
5543 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5545 * plugins/filebrowser.c:
5546 When a filter is set, apply it only to files, not directories and
5547 apply the filter to the UTF-8 name of the file as the filter string
5548 itself is also UTF-8.
5549 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
5550 Add utils_color_invert() and use it in highlighting.c and printing.c.
5551 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
5552 Backport change from Scintilla CVS:
5553 Change capitalisation of header file to suit cross-compilation on
5557 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5559 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
5560 Update Scintilla to version 1.78.
5561 * src/editor.c, src/highlighting.c:
5562 Update Pascal styles as they changed in Scintilla.
5565 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5568 Ignore the invert syntax highlighting colours setting when printing
5569 to not print characters on a dark background (closes #2785244).
5570 * New release: Geany 0.17 "Wessex".
5571 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
5572 src/geany.h, doc/geany.html, doc/geany.txt:
5573 Post-release version bump.
5576 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5578 * src/callbacks.c, src/callbacks.h, src/main.c:
5579 Update the View->Fullscreen menu item when fullscreen state is
5580 changed externally (e.g. by the window manager).
5582 Fix passing wrong pointer to the File Open dialog for the Run
5583 command in the Project Properties dialog.
5586 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5588 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
5590 Remember the active sidebar page between sessions.
5592 Add a recent project item after creating a new project.
5593 * tagmanager/ruby.c:
5594 Fix wrong parsing of string literals (closes #2781264).
5596 Fix setting focus to the editor widget after changing the selection
5600 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5603 Prevent crashes when two or more top level items in the symbol
5604 list have the same name (closes #2778246).
5607 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5609 * src/keybindings.c:
5610 Manually show the main notebook tab bar menu when Shift-F10 is
5611 pressed. This broke when we disabled the default GTK tab bar menu.
5613 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
5614 which was reloaded shortly before.
5616 When the editor menu is opened by the Menu key, use the text cursor
5617 position for retrieving the current word. This fixes disabled
5618 Go to Tag items in the menu (#2780044).
5620 Set the "ellipsize" property of GtkCellRendererText to automatically
5621 shorten the path and file names in the Documents list.
5622 * doc/geany.html, doc/geany.txt, src/build.h:
5623 Increase the amount of highlighted build error messages to 100.
5624 At least for LaTeX we need higher values as there is a lot of
5625 informative output before any errors are reported.
5626 * src/filebrowser.c:
5627 Use the startup path as the initial directory for the filebrowser
5628 plugin when no project and no files are opened
5629 (patch by Matias Gea, thanks; closes #2780521).
5632 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5634 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
5635 src/utils.c, src/utils.h:
5636 Ellipsize tab labels and some status messages for very long
5637 filenames (closes #2777348).
5638 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
5639 Add utils_str_middle_truncate() and
5640 document_get_basename_for_display() to the plugin API.
5641 * doc/geany.html, doc/geany.txt, src/toolbar.c:
5642 Add new toolbar element: Print (patch by Roland Baudin, thanks).
5643 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
5645 Add a hidden preference 'use_safe_file_saving' to save files to disk
5646 by creating a temporary file first. This has serious side effects,
5647 please read the documentation before enabling this.
5649 Make build commands on Windows run synchronously to avoid problems
5650 with reading build commands' output.
5651 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
5652 Limit the amount of highlighted build error messages in the
5653 Compiler window to 50 for performance reasons.
5656 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5658 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
5660 Replace our own GEANY_KEYS_MODIFIER_MASK by
5661 gtk_accelerator_get_default_mod_mask() which gives the same result.
5662 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
5663 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
5664 Add a trivial symbol parser for NSIS files.
5667 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5670 Hide the extra file open dialog options in an expander to make the
5671 dialog more compact by default and to provide more space for the
5673 Remove the filename field as it is also provided by GTK itself with
5674 more features like auto-completion.
5675 Watch the 'show-hidden' property of the file chooser widget using
5676 GObject's "notify" signal which gives accurate results and remove
5677 the hack using the "selection-changed" signal.
5680 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5682 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
5683 Prevent double execution of radio menu item "activate" or "toggled"
5685 Move 'Set Encoding' callback function into encodings.c.
5688 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5691 Add some missing 'void's in function definitions.
5692 If the project base path is './', just use the path of the project
5693 config file instead of appending './'.
5694 * src/treeviews.c, src/project.c:
5695 When a project is loaded, replace the project base path with the
5696 project name in the Documents sidebar for parent items
5700 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5702 * src/keyfile.c, src/keyfile.h, src/project.c:
5703 Fix duplicating the recent files and projects lists when closing
5705 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
5706 src/editor.c, src/encodings.c, src/filetypes.c,
5707 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
5708 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
5709 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
5710 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
5711 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
5712 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
5713 Remove all G_LIKELY macros inside g_return_if_fail() statements as
5715 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
5716 sense to keep the code more readable.
5719 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5722 When updating global type definitions for opened documents, take
5723 also C++ namespace symbols into account and don't ignore symbols
5724 which are defined inside a scope.
5727 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5730 Don't show 'plugin is not binary compatible' messages on the status
5731 bar, only the status window.
5734 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5737 When opening files from a remote instance on X11, set the window
5738 server time to encourage window managers to pop up the main window
5739 (related to #2735467 and #2276179).
5741 When finished sending filenames to a remote instance, notify the
5742 environment that we finished starting up.
5745 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5747 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
5748 Sort Configuration Files menu.
5749 Add ui_menu_sort_by_label().
5750 Add foreach_list() macro.
5755 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5758 Fix setting a wrong default window size when starting without an
5759 existing configuration.
5760 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
5761 Make editor_highlight_braces() static.
5762 Remove unused wrapper functions.
5763 * src/editor.c, src/symbols.c, src/symbols.h:
5764 Prevent showing an empty macro list.
5765 Show only macros of the same filetype instead of all macros of all
5768 Don't add opened project files to the GtkRecentManager.
5771 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5774 Add Configuration Files item for snippets.conf.
5775 * src/highlighting.c, src/symbols.c:
5776 Fix 2 old uses of filetype IDs.
5779 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5781 * src/interface.c, src/printing.c, geany.glade:
5782 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
5785 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5788 Add sanity checks in ui_lookup_widget() just to be safe.
5789 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
5790 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
5791 src/project.h, src/ui_utils.c, src/ui_utils.h:
5792 Add "Recent Projects" menu to the Project menu
5793 (#2728630, patch by Elias Pschernig, thanks).
5794 * doc/geany.txt, doc/geany.html:
5795 Describe how to build Geany using the Waf build system.
5796 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
5797 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
5798 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
5799 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
5800 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
5801 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
5802 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
5803 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
5804 src/utils.c, src/utils.h, src/vte.c:
5805 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
5806 performance when building the code with gcc.
5807 * src/highlighting.c:
5808 Fix typo in the G_LIKELY checks, introduced in last commit.
5809 Fix the size of the styles array.
5811 Show a message dialog when renaming a file fails.
5814 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5817 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
5818 (as we did for all other files in SVN r3382).
5821 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5823 * src/filetypes.c, doc/geany.txt:
5824 Move ActionScript to the Script group.
5826 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
5827 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
5828 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
5829 plugins/htmlchars.c:
5830 Merge reorder-filetypes branch:
5831 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
5832 append randomly without breaking the ABI).
5833 Make None filetype name = title = _("None").
5834 Add foreach_slist() macro.
5835 Add filetypes_by_title list to GeanyData for plugin API access
5836 - a list of filetype pointers, which includes the None filetype
5837 first. This list stays constant by the time plugins are initialized,
5838 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
5839 index the sorted list.
5842 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5844 * doc/geany.txt, doc/geany.html, src/main.c:
5845 Add widget names for the menubar and toolbar.
5847 When hiding the messages window, set the input focus back to the
5848 editor widget (part of #1910393).
5851 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5853 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
5854 Backport recent changes from Scintilla CVS to add partial support
5855 for RFC2822 styled text using the Properties lexer.
5856 Ignore leading whitespace for config files and RFC2822 text.
5857 * data/filetypes.actionscript:
5858 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
5859 * THANKS, src/treeviews.c:
5860 Display file/directory icons in the Documents sidebar
5861 (patch by Simon Treny, thanks).
5864 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5866 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
5867 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
5868 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
5869 Add an option to allow appending the toolbar to the main menu bar
5870 to save some vertical space.
5871 Allow setting toolbar icon size to very small (menu icon size).
5874 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5876 * src/keyfile.c, src/utils.c, src/utils.h:
5877 Add utils_path_skip_root(), a relative path safe variant of
5878 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
5879 * src/keyfile.c, src/main.c:
5880 Allow negative window coordinates when saving and restoring the
5881 position of the main window.
5882 Restore the main window position and size *after* the window has
5883 been realised to get it positioned accordingly
5884 (this affects at least Windows).
5887 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5889 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
5890 Use g_win32_get_package_installation_directory_of_module() on Windows
5891 with newer GLib versions instead of deprecated API.
5892 * src/keybindings.c:
5893 Don't manage the last used documents list when quitting to prevent
5894 errors by accessing invalid memory (may close #2533990).
5897 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5900 Delete the geany_run_script.sh immediately after execution
5901 to prevent leaking old copies when the script was quit unexpectedly
5902 (closes #2710482, patch by Martin Olsson, thanks).
5904 Check whether skipping the root element of a document's filename
5905 succeeded and use the filename itself if not (e.g. on relative
5906 filenames, #2702844).
5907 Use the locale encoded filename when saving session files.
5909 Re-set the quitting status after all documents have been closed on
5913 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5915 * plugins/htmlchars.c:
5916 Remove usage of deprecated sci_get_selected_text() from plugin.
5919 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5922 Delay disk file checks when switching between documents a little
5923 bit to avoid fast, unintentional page switching in some cases.
5924 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
5925 src/sciwrappers.c, src/sciwrappers.h:
5926 Deprecate sci_get_text(), sci_get_selected_text() and
5927 sci_get_text_range().
5928 Add sci_get_contents(), sci_get_contents_range() and
5929 sci_get_selection_contents() as replacement functions to provide
5930 an easier and cleaner API (initial patch by Frank).
5933 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5936 Fix wrong parsing of CSS tags when the definition block starts on
5937 a new line (reported by Dominic Hopf, thanks).
5940 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5942 * plugins/htmlchars.c:
5943 Extend plugin by feature to bulk replace and replace on input for
5944 special characters to their HTML entities.
5947 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5950 Update build menu items after changing anything in the
5951 'Set Includes and Arguments' dialog.
5952 Disable Compile/Run buttons/menu items when Compile/Run commands are
5954 Reset current build directory to the base directory after reading a
5955 "Leaving directory" message when parsing Make output
5956 (closes #2694479, patch by Andrea Mazzoleni, thanks).
5958 Fix wrong display of the filename in the tab bar menu for new files.
5960 Set the initial directory for the Save As dialog only once on
5962 Add a shortcut of the project's base directory to the
5963 File Open/Save As dialogs when a project is open for faster access.
5964 * src/splitwindow.c:
5965 Add keybindings for the split actions.
5968 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5971 When using Find All in the Find dialog (in Session and Document),
5972 display the right amount of matches.
5973 Fix the display of the matches once per line (I broke the original
5976 Fix wrong directory selection behaviour in all Open Folder dialogs
5977 (closes #2688020, patch by Marcel Stimberg, thanks).
5979 Don't present the main window of a running instance when starting
5980 a second instance separately.
5983 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5986 Reduce default file permissions on the Unix Domain socket file
5987 (reported by Jörg Sommer, thanks).
5990 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5992 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
5993 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
5995 Add an option to set an additional plugin lookup path.
5997 When using Find All in the Find dialog, display matches only once
5998 per line in the messages window (patch by Bert Vermeulen, thanks).
6001 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6003 * data/filetype_extensions.conf, data/filetypes.actionscript,
6004 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
6005 src/highlighting.c, src/plugindata.h, src/symbols.c,
6006 tagmanager/Makefile.am, tagmanager/actionscript.c,
6007 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
6008 Add filetype ActionScript (patch by Chris Macksey, thanks).
6009 Update type keywords only for real C-like languages.
6010 Fix wrong sorting of Assembler and Ada filetypes.
6011 * plugins/classbuilder.c:
6012 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
6013 Other minor cleanups.
6016 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6019 Don't use menu item images for the tab bar menu to save some
6021 * data/filetypes.fortran, tagmanager/fortran.c:
6022 Add keyword 'extends' and fix Fortran parser to support the
6023 'extends' keyword (closes #2654492).
6024 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
6025 src/search.c, src/toolbar.c:
6029 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6031 * src/about.c, THANKS:
6032 Added Jari Rahkonen to list of Finnish translators.
6035 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6038 Adjust minimum required GTK version.
6039 * src/Makefile.am, wscript:
6040 Add main.h to the list of installed header files.
6041 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
6042 src/notebook.c, src/ui_utils.c:
6043 Remove GeanyDocumentPrivate::tabmenu_label.
6044 Disable the default tab bar menu for the main notebook widget and
6045 use a custom menu instead which lists all open files as usual plus
6046 'Close Other Documents' and 'Close All' menu items.
6049 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6051 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
6052 Move ui_set_search_entry_background() into ui_utils.c.
6053 Change the background colour of the search entries in the Find
6054 and Replace dialogs according to the search results like in the
6055 toolbar search field.
6056 Add images to the 'Replace' and 'Replace and Find' buttons in the
6058 Minor cleanups in search.c.
6059 * tagmanager/tm_source_file.c:
6060 Update source files upon creation.
6062 Update C tags for glibc 2.9.
6063 * src/callbacks.c, src/toolbar.c:
6064 Fix broken non-incremental search with the toolbar search entry when
6065 pressing Enter (closes #2638180).
6066 * plugins/splitwindow.c:
6067 Fix possible crash on non-32-bit systems (patch by
6068 Wolfgang Ocker, thanks).
6070 Update the Packager tag due to Dominic's various contributions.
6071 Update description and feature list.
6072 Change Source tag to the gzip'ed tarball to be in sync with the
6073 Makefile target (thanks to Wolfgang Ocker for reporting).
6076 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6078 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
6079 Removed deprecated plugin VC Diff
6082 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6085 Fix wrong Fortran 90 comment characters when inserting templates.
6086 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
6087 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
6088 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
6090 Add 'Send Selection to Terminal' command to the Edit->Format menu
6091 (initial patch by David Gleich, thanks).
6092 * geany.glade, src/interface.c:
6093 Fix mnemonic for the Edit->Preferences menu item.
6096 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6098 * configure.in, plugins/Makefile.am:
6099 Enable socket support when cross-compiling.
6100 Enable plugin compilation when cross-compiling.
6102 Fix missing NULL checks when reading the colour value of compiler
6104 * src/main.c, src/win32.c, src/win32.h:
6105 On Windows, change the working directory to the Geany installation
6106 path at startup to avoid unwanted directory locking(closes #2626124).
6108 Fix broken selection of "Document->Set Encoding" menu items.
6109 * src/document.c, tagmanager/include/tm_source_file.h,
6110 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
6111 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
6112 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
6113 Don't let the tagmanager automatically reparse files if they
6114 seem to be changed on disk (affects all files in the current session,
6115 not the current one). This should speed up file saving a little bit,
6116 especially with remote files.
6117 Remove now unnecessary calls to tm_workspace_update().
6119 Allow an empty value for the date format in the print settings to
6120 omit the date/time string in the print header.
6123 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6125 * src/editor.c: Set cursor for LaTeX at auto closing of environment
6129 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6132 Add missing header include (closes #2615808).
6135 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6138 Fix a possible crash when comparing symbol names
6139 (could be related to Ubuntu bug #147151).
6140 Fix broken symbol list tooltips when tag names contain ampersands.
6143 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6145 * plugins/makefile.win32:
6146 Don't build Split Window plugin on Windows (doesn't work).
6149 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6151 * ChangeLog, Makefile.am: Rotate ChangeLog.
6152 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
6153 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
6154 Post-release version bump.
6157 *** See ChangeLog.pre-0-17 for earlier changes ***