1 2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4 Refactor snippets_complete_constructs().
5 Remove an unnecessary TODO.
8 2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
10 * doc/geany.txt, doc/geany.html:
12 * src/build.c, src/msgwindow.c:
13 Fix disabled compiler message tracking if using indicators to
14 show build errors is disabled (closes #2982834).
17 2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
19 * scintilla/Editor.cxx:
20 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
21 and SCI_GETSELECTIONEND with rectangular selections. This fixes
22 replacing in a rectangular selection.
25 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
28 Re-detect any document filetypes set to None after reloading
29 filetype extensions (closes #2979661).
31 Fix showing '...' item last instead of first for document word
35 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
37 * data/filetypes.perl:
38 Adjust Perl Compile command to use the -c command
39 line option to perform a syntax check instead of using the
40 deprecated ByteCompile module.
41 Add error_regex to parse error messages and warnings when performing
42 syntax checks on Perl files.
45 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
47 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
48 Add API docs for keybinding enums.
49 * src/notebook.c, doc/geany.txt, doc/geany.html:
50 Make Ctrl-click on any notebook tab switch to the last used
54 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
56 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
57 src/geanyentryaction.c, src/geanyentryaction.h,
59 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
60 object for efficiency.
63 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
65 * plugins/classbuilder.c:
66 Beep if the user hasn't entered a class name on pressing OK.
68 Fix replacing '^' regex.
69 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
70 plugins/geanyfunctions.h:
71 Add Stash widget functions to API.
73 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
77 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
80 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
82 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
83 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
84 plugins/geanyfunctions.h, plugins/geanyplugin.h:
85 Add Stash setting functions to API.
86 Remove unnecessary argument to stash_group_load_from_file().
87 * src/geanyobject.c, plugins/classbuilder.c:
88 Don't generate FOO_GET_PRIVATE() macro because caching the result
89 in Foo::priv can be much more efficient.
92 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
95 Fix cursor positioning when toggling comments
96 (patch by Thomas Martitz, thanks).
99 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
101 * src/keybindings.[hc]:
102 Added Control+0 for zoom reset, see suggestion from #2969886.
105 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
107 * src/search.c, src/document.c:
108 Fix wrong selection range after Replace in Selection.
111 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
114 Make CreateChildProcess() working with Unicode strings, e.g.
115 directory names (closes #2972606).
117 Remove reference to already removed latex.tags file.
118 Future releases probably still depend on GTK 2.16.
119 * scintilla/ScintillaGTK.cxx:
120 Backport fix from Scintilla CVS to not paste text beyond the end
121 of lines (closes #2969096).
122 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
124 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
125 to not set Geany's minimum window size anymore (closes #2972992).
126 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
129 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
132 Make adding string and string vector settings initialise the setting
134 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
135 Add stash_group_load_from_file() and stash_group_save_to_file().
138 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
140 * data/filetypes.common:
141 Set default for wrapped lines to show marker at end of line only
142 (more expected and doesn't change line alignment - closes #2972386).
143 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
144 src/pluginutils.c, doc/plugins.dox:
145 Improve API docs contents page by listing all commonly-used files.
146 Fix 'Date' appearing twice on the date line.
147 Don't generate API docs for prefs.h, toolbar.h (unused).
148 Move some '@file' doc-comments to the .c file.
149 * src/interface.c, geany.glade:
150 Add frame for 'Printing' prefs dialog page.
151 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
152 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
154 Rename Stash data types to be independently named from Geany (so
155 Stash can be reused for other projects).
156 Rename GeanyPrefGroup to StashGroup.
159 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
161 * tagmanager/python.c:
162 Apply patch from Colomban Wendling to parse Python lambda functions
163 (thanks) - modified to only parse toplevel or class member lambdas.
164 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
166 Add doc-comments for Stash setting functions.
167 Add an example file showing usage of Stash.
168 (Not enabled yet until added to the plugin API).
171 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
174 Fix using return value without checking return status, caused
175 incorrect sensitivity settings on build dialog.
178 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
181 Add tip about gcc optimization & warnings/debugging.
183 Update Libraries section about synchronizing with other projects.
186 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
189 For now revert the recent patch which set real_path of newly
190 open non-existent configuration files as this seems hackish and
191 causes 'file not found' warnings.
193 Fix/Improve GIT repository detection
194 (patch by Thomas Martitz, thanks).
195 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
197 Add utils_copy_environment() to the plugin API.
200 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
202 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
203 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
205 Use 3rd person for more API dox.
206 Change 'This is a wrapper function for...' to 'Wraps...' in brief
208 Change 'After all...' to 'Afterwards...'.
209 * src/interface.c, geany.glade:
210 Apply patch from Eugene Arshinov to make frame packing/alignment
211 more consistent (thanks).
214 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
217 Fix ui_button_new_with_image() to call gtk_button_set_image() so
218 that gtk_button_[sg]et_label() work as expected.
219 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
220 Make Build Commands dialog show menu item labels as a button (to
221 help show that menu labels don't normally need to be edited &
222 display the mnemonic correctly). Clicking shows an input dialog to
223 set a new menu item label.
224 Split dialogs_show_input() into 2 functions: one simple, one for
226 Fix possible double-destroy of input dialog when closed by user.
228 Fix not destroying 'Make Custom Target' input dialog after first
231 Make Long Line Marker settings for existing projects default to
232 general settings instead of 0 (thanks to Eugene Arshinov).
233 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
234 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
235 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
236 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
237 Use 3rd person (gets not get) for API function brief descriptions.
238 Avoid using 'convenience function' in API brief descriptions.
241 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
243 * doc/geany.txt, doc/geany.html:
244 Warn about some GNU extensions for regular expressions & clarify
246 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
247 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
248 src/editor.h, geany.glade:
249 Apply patch from Eugene Arshinov to add project long line marker
250 customisation (thanks).
251 * src/interface.c, geany.glade:
252 Edit/tidy 'Long line marker' labels.
255 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
257 * src/build.c, src/project.c:
258 Fix crash due to NULL in project build preferences (thanks to
262 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
264 * src/utils.c, src/utils.h, src/search.c, src/search.h,
265 src/document.c, doc/geany.txt, doc/geany.html:
266 Merge gnu-regex branch:
267 Use POSIX system/GNU regex engine for find & replace 'Use regular
268 expressions' option. This alters regex syntax a bit - see the docs
269 for details; we now support '?' operator and replacement backslash
270 escaping is more standard.
271 Make regex search imply replacing escaped chars.
272 Allow \0 backreference replacement for the whole match.
273 Note: Replace All may be slower; if this is a problem please let me
276 Add argument to utils_str_replace_escape() for keeping
277 uninterpreted backslash escapes e.g. '\\', '\e'.
278 * scintilla/LexMarkdown.cxx:
279 Backport minor formatting/style changes from Scintilla project.
280 * doc/geany.txt, doc/geany.html:
281 Remove warning about no visual indication for zero-column-mode
285 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
288 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
291 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
293 * wscript, scintilla/*, scintilla/include/*:
294 Update Scintilla to version 2.03.
295 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
296 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
297 Add preference for virtual spaces.
299 Fix wrong default response for the Debug Messages dialog.
301 Fix crashes when using Save As with no open files (closes #2964406).
303 Fix duplicate mnemonics on 'Resave missing file' dialog, also
304 move the question from the secondary to the main text to be
305 more compatible with the Gnome HIG.
306 Fix broken 'Save' action in 'Resave missing file' dialog.
308 Improve PHP parser to parse also the argument lists of PHP functions.
310 Correctly set the parent widget for the keybinding overwrite
313 Fix setting the icon for some dialogs if the parent itself is also
316 When editing non-existent config files using the Tools->Configuration
317 Files menu, explicitly set the real_path to avoid presenting the Save
318 As dialog when saving the file (patch by Tony Rick, thanks).
320 Focus the editor widget after hiding the sidebar when it had the
321 input focus (patch by Can Koy, thanks).
322 Properly show/hide the mesages window when using the View menu item
324 * plugins/filebrowser.c:
325 After opening files, focus the editor widget
326 (based on a patch by Can Koy, thanks).
327 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
328 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
329 src/ui_utils.h, src/vte.c:
330 Add and use convenience function ui_is_keyval_enter_or_return() and
331 add it to the plugin API.
334 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
336 * src/about.c, THANKS, po/ast.po:
337 Added Asturian translation. Thanks to Marcos Costales for providing.
340 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
343 Fix keyboard accelerators in debug messages window
347 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
349 * scintilla/LexR.cxx:
350 Backport R lexer from Scintilla CVS to fix case sensitive keywords
351 (Scintilla bug #2956543).
352 * src/sidebar.c, src/about.c, THANKS:
353 Make Space on the symbol and document list not focus the editor
354 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
355 * src/document.c, src/document.h:
356 Fix document_try_focus() to make it work with the sidebar document
358 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
359 Make Space on the compiler and messages widgets not focus the editor
360 widget while Enter does (patch by Can Koy, thanks).
362 Fix wrongly auto-detected multiline comments
363 (patch by Eugene Arshinov, thanks).
366 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
369 Show number of lines of current document inside statusbar. Thanks to
370 Can Koy for providing the patch.
373 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
375 * src/keybindings.c, doc/geany.txt, doc/geany.html:
376 Make Switch to Editor keybinding reshow the document statistics
377 line, so user doesn't have to move the cursor.
380 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
383 Update keywords for the R language (patch by Jon Senior, thanks).
386 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
389 Fix the instruction how to insert unicode characters
393 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
395 * scripts/create_py_tags.py:
397 Replace tabs by spaces.
400 Replace tabs by spaces.
401 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
402 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
403 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
404 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
405 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
406 src/plugindata.h, src/sidebar.c, src/sidebar.h:
407 Add keybindings to switch to the sidebar's Document and Symbol list
408 as well as to the Message Window's current tab
409 (patch by Eugene Arshinov, thanks).
411 Update primary keywords for the R language
412 (patch by Jon Senior, thanks).
415 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
418 Add more detailed hints about reloading configuration
419 (thanks to Tony Rick).
420 * data/filetypes.javascript:
421 Correct the keyword list for JavaScript (thanks to Jonas).
424 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
426 * New release: Geany 0.18.1 "Balfour".
429 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
432 Add special cases for handling the Select All keybinding (Ctrl-A) in
433 the toolbar search and goto line text entries (closes #2948040).
434 Strip trailing spaces after reflowing a paragraph, patch by
435 Dominik Wagenfuehr, thanks (closes #2945497).
438 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
440 * src/geanymenubuttonaction.c, src/templates.c:
441 Partly revert last commit:
442 Unref the new files toolbar menu when freeing templates as it
443 was done before but unref it *after* the menu has been removed
444 from the GeanyMenuButtonAction.
446 Fix possible endless loop when trying to detect the encoding of
447 non-text files (patch by Alexey Antipov, thanks).
450 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
453 Allow saving remote files using g_file_set_contents() as well
454 (patch by Алексей Антипов, thanks).
455 * data/filetypes.python:
456 Adjust style for secondary keywords to be less aggressive.
457 Add Python 2.5 builtins keywords.
458 * src/geanymenubuttonaction.c, src/templates.c:
459 Unref the new files toolbar menu when setting a new menu to fix
460 possible crashes when reloading configuration.
462 When reloading configuration, process the current document at last
463 so the symbol list will be updated correctly.
466 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
469 Explicitly read filetype configuration files before generating
470 global tags to get settings for custom filetypes.
473 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
476 Fix GLib warning when toggling 'no plugins available' item.
479 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
482 Include geany.ico in the distribution tarball.
484 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
485 * scripts/create_py_tags.py:
486 Make the script a bit more robust with newer Python versions.
488 Use utils_spawn_sync() instead of g_spawn_sync().
491 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
494 Close meta tag for export date properly.
497 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
500 Update RPM Spec file (patch by Dominic Hopf, thanks).
503 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
506 Fix renaming sci_send_message(), sci_send_command() function pointers.
509 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
511 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
512 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
513 plugins/geanyfunctions.h, plugins/Makefile.am,
514 plugins/pluginmacros.h, plugins/genapi.py, ChangeLog, wscript:
515 Use full function name for GeanyFunctions function pointers. This
516 avoids naming conflicts e.g. with C++'s 'new' keyword.
517 Remove deprecated header pluginmacros.h - use geanyfunctions.h instead.
520 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
522 * src/utils.c, src/utils.h, src/vte.c:
523 Add utils_copy_environment() and make use of it.
524 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
525 src/editor.c, src/templates.c, src/templates.h:
526 Add new special template wildcard "{command:...}" to use the
527 output of a command in templates.
528 Adjust template functions to mostly work with GeanyDocuments.
529 Minor cleanups in the template code.
531 Replace the old icons with smiley icons from the Rodent icon theme.
532 Fix showing the same icon for two or more slots.
534 * src/editor.c, src/editor.h, src/keybindings.c:
535 Rename fold_symbol_click() to editor_toggle_fold().
536 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
537 was used to respect the 'Fold/unfold all children' preference
541 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
544 Prevent possible segfault in get_build_group().
546 Fix GLib warning & beep if trying to insert multiline comment for a
547 filetype that doesn't support it.
550 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
553 Add gcc commands to build a plugin to the HowTo.
554 * src/search.c, src/document.c, src/document.h:
555 Show 'Replaced X matches in Y documents' message when using Replace in
559 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
561 * scripts/plugin_test.c:
562 Add a little test program which can load and test Geany plugins to
563 verify it is loadable at runtime and all necessary symbols are
565 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
567 Add new signal: "geany-startup-complete" which is sent once all
568 initialization and startup tasks has been done.
569 * README.I18N, configure.ac, wscript, po/LINGUAS:
570 Remove po/LINGUAS from the repository.
571 Generate it automatically if needed by reading available
572 message catalogs from the po directory.
573 Also respect the LINGUAS environment variable properly.
576 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
579 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
583 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
585 * src/editor.c, src/templates.c, src/templates.h:
586 Refactor templates_replace_all() into templates_replace_valist()
587 to save some code duplication.
590 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
592 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
593 src/plugindata.h, src/plugins.c:
594 Add editor_insert_text_block() to plugin API.
597 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
600 Update copyright information.
601 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
602 doc/geany.txt, doc/geany.html:
603 Add keybinding to open the last closed tab (closes #2912692).
606 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
608 * autogen.sh, configure.in, configure.ac:
609 Rename configure.in to configure.ac.
610 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
612 Add sci_find_text() to the plugin API.
613 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
614 src/interface.c, src/prefs.c:
615 Add a checkbox in the preferences dialog to explicitly toggle
616 the visibility of the sidebar (closes #2923340).
619 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
621 * src/editor.c, src/plugins.c, src/plugindata.h,
622 plugins/geanyfunctions.h:
623 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
624 editor_get_eol_char() to the plugin API.
625 * src/callbacks.c, src/plugins.c, src/plugins.h:
626 Fix sensitivity of the Edit->Plugin Preferences menu item
627 if plugins are loaded which do not provide a configuration dialog.
628 * scripts/create_py_tags.py:
629 Rewrite and extend the Python tags parsing script to use
630 Python's inspect module to read symbols from Python modules
631 including scope information.
632 * data/filetypes.restructuredtext:
633 Add the default comment character sequence for reStructuredText.
635 Show the Find/Goto dialogs if the corresponding toolbar buttons are
636 clicked but their text fields are not part of the toolbar (#2920807).
637 * data/filetypes.common, doc/geany.html, doc/geany.txt,
639 Add new style to change foreground and background colours for
640 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
642 Remember the window position of the Find, Replace and Find in Files
643 dialogs (closes #2877988).
646 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
649 Fix a minor typo inside plugin API reference.
652 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
654 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
655 Make dialogs_show_prompt() more flexible to take up to three
656 button/response code pairs to be shown.
657 Add a close button to the dialog when asking to Re-Save a
659 (closes #2916954, based on a patch by Dominik Stadler, thanks).
661 Fix LaTeX environment auto completion with CR/LF line endings.
662 Add some sanity checks.
664 When closing a document after it was deleted from the filesystem,
665 don't ask whether it should be saved first.
666 Mark the document only as changed if it is not closed afterwards.
667 Prevent possible segfaults if the document was closed when it is
668 missing from the filesystem.
669 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
670 src/msgwindow.h, src/prefs.c:
671 Add MessageWindow::scribble and use it instead of searching the
672 widget pointer everytime.
673 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
674 Add preferences for hiding single tabs from the messages window
675 (no GUI preferences yet, still to be implemented).
676 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
677 Set the correct parent window for the toolbar editor
678 dialog (closes #2913334).
679 * src/win32.c, src/win32.h, src/ui_utils.c:
680 Rename win32_show_project_folder_dialog() to
681 win32_show_folder_dialog() as it is not related and not used by any
682 project management related code.
683 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
684 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
685 as it is specialised for opening documents.
686 Implement win32_show_file_dialog() as a generic file open dialog and
687 use it with ui_path_box_new().
690 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
693 Extend auto_latex() function to check whether an environment has been
694 closed within the next lines to avoid auto adding double \end{}.
696 Remove LaTeX tags from SVN. Can be found at
697 http://download.geany.org/contrib/tags/ if needed.
700 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
702 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
703 Add document_need_save_as().
704 Show the Save As also for documents created from filetype templates
705 instead of saving them directly with the untitled filename.
708 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
710 * geany.glade, src/interface.c:
711 Move 'Send Selection to Terminal' menu item from Format to Commands
714 When going to a build error, try the current document's path if
715 the parsed filename doesn't exist. (This can happen when we receive
716 build messages in the wrong order - after the 'Leaving directory'
719 Refactor msgwin_goto_compiler_file_line().
720 * src/interface.c, src/keybindings.c, geany.glade:
721 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu item
724 Refactor/reformat on_replace_dialog_response().
727 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
730 Improve geany.spec (split the package into a binary and devel
731 package, update BuildRequires and other minor improvements).
732 Patch by Dominic Hopf, thanks.
735 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
737 * src/filetypes.c, src/filetypes.h:
738 Make group for custom filetypes.
739 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
740 Add custom filetype Genie.
743 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
745 * src/highlighting.c:
746 Highlight D & Java types from a global tags file.
747 * src/highlighting.c, doc/geany.txt, doc/geany.html:
748 Add debug message warning if recursive lexer_filetype is set.
749 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
750 Remove duplicate sci_set_keywords(), make argument const.
751 * src/highlighting.c:
752 Only show debug message once if recursive lexer_filetype is set.
753 Tidy highlighting_init_styles code for filetype None handling.
754 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
755 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
756 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
757 tagmanager/parsers.h, tagmanager/makefile.win32,
758 tagmanager/verilog.c, tagmanager/Makefile.am,
759 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
760 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
761 * src/highlighting.c:
762 Fix segfault on startup (oops).
763 * data/filetypes.verilog:
764 Fix using common style colours for Verilog.
767 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
769 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
770 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
771 Move C-like filetype properties into configuration files.
772 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
774 Remove now unnecessary "styling_within_preprocessor" C style key.
775 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
776 data/filetypes.glsl, data/filetypes.cs:
777 Use lexer_filetype=C configuration file key instead of duplicate
778 styleset functions for C++, C#, GLSL, Vala.
781 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
783 * doc/geany.txt, doc/geany.html:
784 Warn about not using BOM for configuration files (confuses GKeyFile
785 parser, at least on my system).
787 Add/improve debug messages for custom filetypes.
790 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
793 Add a couple of further latex-beamer commands to list of LaTeX tags.
796 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
798 * plugins/filebrowser.c:
799 Add an in-entry clear icon to the filebrowser plugin's filter
800 entry (patch by Dominic Hopf, thanks).
801 * src/prefs.c, src/ui_utils.c:
802 Fix two compiler warnings about possibly uninitialised variables.
805 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
807 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
808 plugins/geanyfunctions.h:
809 Add main_is_realized() to the plugin API.
810 * tagmanager/include/tm_tagmanager.h:
811 Update partly outdated and wrong doc comment.
812 * src/main.c, src/main.h, src/socket.c:
813 Allow opening Geany projects remotely.
814 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
815 Add a hidden pref to allow executing text which was sent to the
816 terminal directly, i.e. do not strip trailing newline characters.
817 Also fix the stripping of trailing newline characters if there was
821 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
823 * src/about.c, THANKS:
824 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
825 Kurt de Bree into section of previous translators.
828 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
830 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
831 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
835 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
837 * src/highlighting.c:
838 Make stylesets take a ft_id argument so they can be reused fully with
839 custom filetypes, so custom styles and keywords can be set.
840 * src/highlighting.c:
841 Fix setting filetype properties when both the system and the user file
843 * src/symbols.c, tagmanager/vhdl.c:
845 * src/highlighting.c:
846 Fix lexer settings for custom filetypes.
849 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
852 Remove duplicate regular expression for parsing classes.
853 Fix and improve parsing of constants (patch by Harold Aling, thanks).
854 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
855 src/main.h, THANKS, src/about.c:
856 Add new command line option "--socket-file" to be able to specify
857 separate socket filenames for instances
858 (closes #2896027, patch by Jörn Reder, thanks).
859 * src/keybindings.c, src/keybindings.h:
860 Add keybindings_check_event() to manually check GdkKeyEvents against
862 * src/callbacks.c, src/utils.c, src/utils.h:
863 Add and use utils_get_help_url().
864 * geany.glade, src/interface.c, src/prefs.c:
865 Add a Help button to the preferences dialog.
866 Handle Help keybinding events for the preferences dialog especially
867 and open the manual with the corresponding anchor link to the current
868 preferences page (same goes for the new Help button).
871 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
873 * src/toolbar.c, src/geanymenubuttonaction.c,
874 src/geanymenubuttonaction.h:
875 Use separate tooltips for toolbar menu buttons and their attached
877 * tagmanager/latex.c:
878 Improve parsing of sections and chapters by ignoring shortnames
879 like \section[shortname]{label} (closes #2890477).
882 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
884 * src/geanymenubuttonaction.c:
885 Try to fix Gtk warning when using Tools->Reload Configuration.
888 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
890 * src/highlighting.c, doc/geany.txt, doc/geany.html,
891 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
892 data/filetypes.pascal, data/filetypes.docbook,
893 data/filetypes.python, data/filetypes.conf:
894 Use filetypes.foo [lexer_properties] group instead of hardcoding
895 lexer properties (more flexible e.g. for custom filetypes).
896 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
897 Replace filetypes.xml html_asp_default_language key with
898 filetypes.html asp.default.language property in [lexer_properties]
902 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
904 * doc/geany.txt, doc/geany.html:
905 Fix slightly wrong description of how to insert Unicode characters.
907 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
908 ui_setup_open_button_callback().
909 * src/prefs.c, src/prefs.c, src/vte.c:
910 Refactor color and font button callback functions in the
911 preferences dialog. Move the VTE related callback functions
913 Make use of ui_setup_open_button_callback().
915 Improve printing status texts (patch by Dominic Hopf, thanks).
916 * src/prefs.c, src/vte.c:
917 Use the default dialog title set by ui_setup_open_button_callback()
918 to be more consistent and to save one string.
921 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
924 Separate DKinds from CKinds.
925 Don't generate macro tags for D, Java.
928 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
930 * tagmanager/ctags.c, tagmanager/general.h:
931 Make TagManager Assert statements cause g_warning on failure.
933 Fix reflow paragraph command when cursor < anchor using
937 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
940 Fix Geany segfault with constant tags (#2895168).
942 Fix invalid tree iter access when using tv_iters.tag_other but not
943 using tv_iters.tag_variable.
944 * HACKING, tagmanager/perl.c:
945 Fix parsing Perl format statements ("other" type doesn't seem to work).
946 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
947 Fix using "other" tag type.
950 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
953 Remove useless comment about applying settings only when libvte.so
954 could be loaded which is only displayed *if* libvte.so is loaded.
956 Allow autocompletion for HTML entities even within a word.
957 * src/geanymenubuttonaction.c:
958 Only set the menu of the button if a non-empty GtkMenu is passed to
959 geany_menu_button_action_set_menu() so the menu arrow keeps
963 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
966 Fix parsing some Java code (e.g. filetypes.java) after r4407.
969 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
972 Parse D functions with contracts (fixes #1885480).
973 Parse D alias statement like typedef.
974 (Ignore some more D keywords).
976 Fix creating D interface tags properly.
978 Parse contents of D extern{} and version{} blocks.
981 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
987 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
989 * src/plugindata.h, HACKING:
990 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
993 Show number of files saved on status bar when using Save All.
994 * src/highlighting.c:
995 Use default color scheme if pref color scheme file doesn't exist.
997 Fix moving correct lines after selecting whole line(s).
1000 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1002 * tagmanager/makefile.win32:
1003 Fix broken build on Windows because of a typo
1004 (patch by Timothy Boronczyk, thanks).
1007 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1009 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
1011 Add 'View->Editor->Color Schemes' menu, for now only shown if color
1012 scheme files exist in a colorschemes config directory. Color scheme
1013 files must end in ".conf" and currently only the [named_styles]
1015 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
1016 Add utils_get_config_files().
1017 * src/highlighting.c:
1018 Fix issue with default color not being reset if overridden with a
1019 system default color.
1020 * src/highlighting.c:
1021 Only reload filetype files when changing color scheme, not all
1022 configuration files.
1023 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
1024 Deprecate documents_foreach() as it looks more like a function; use
1025 foreach_document() instead.
1026 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
1029 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1031 * src/stash.c, src/stash.h:
1032 Use typedef instead of pointer for widget_id function arguments.
1035 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1037 * src/pluginutils.c:
1038 Don't expand Plugin Preferences page spacing vertically to fill the
1039 height of the dialog.
1040 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
1041 geany.glade, plugins/splitwindow.c:
1042 Allow GeanyKeyBinding label field to contain underscores, which won't
1043 be displayed by Geany. This saves adding near-duplicate translation
1045 Add mnemonics for 3 Edit->Format menu items.
1046 Add keybindings_get_label().
1047 * src/interface.c, geany.glade:
1048 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
1052 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1055 Desensitize Edit->Commands menu item when no docs are open.
1056 * src/interface.c, src/keybindings.c, src/callbacks.c,
1057 src/callbacks.h, geany.glade:
1058 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
1059 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
1060 Add general function sci_get_string() that works with any string
1061 buffer messages that follow the Windows message convention.
1062 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
1063 src/keybindings.h, src/callbacks.c, src/callbacks.h,
1064 src/pluginutils.c, src/pluginutils.h, geany.glade:
1065 Add 'Edit->Plugin Preferences' menu item and keybinding.
1066 Don't include plugindata.h in pluginutils.h because it redefines the
1067 GEANY() macro for plugin use.
1068 * doc/geany.txt, doc/geany.html:
1069 Update for Plugin Preferences keybinding.
1072 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1075 Sort document word completion list.
1076 * src/interface.c, src/keybindings.c, src/callbacks.c,
1077 src/callbacks.h, geany.glade:
1078 Add some useful commands to editor popup menu under "Commands"
1079 submenu (thanks to Lex).
1080 Move 'Duplicate line or selection' from Format -> Commands submenu.
1081 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1082 Enable switching the sidebar to the right on Windows again, as it
1083 apparently works after all.
1085 Fix using tab to autocomplete in some other situations that word part
1086 completion doesn't apply in.
1087 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
1088 Add Edit->Commands submenu which is shared with the editor popup menu.
1089 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1090 Change editor popup Commands submenu to start as child of menubar Edit
1091 menu, as this is more usual e.g. for keybindings initialization.
1092 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
1094 Share a single Format submenu for menubar Edit and popup menu.
1097 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1100 Fix a compiler warning about an uninitialised variable.
1102 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1103 sciwrappers.h, build.h (for the Waf build system,
1104 accordingly to r4366).
1107 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1109 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
1110 src/toolbar.c, src/toolbar.h:
1111 Add missing dox for types/files in the API.
1112 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
1113 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1114 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
1115 of functions not in the API).
1116 Warning: any plugins that include these headers should remove them.
1117 * src/build.c, src/build.h:
1118 Move function doc-comments to build.c so they stay in sync. Note:
1119 these functions are still not in the API.
1121 Add 'Doc-comments' plugin API subsection.
1122 * plugins/filebrowser.c:
1123 Fix packing configure widgets equally.
1124 Use spacing multiples of 6 as recommended by Gnome HIG.
1125 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1126 Disable switching the sidebar to the right on Windows as it will
1127 probably fail like the Split Window plugin.
1129 Improve 'Detect from file' indentation pref by ignoring lines with
1130 indentation wider than 24 characters as this is more likely to be
1131 alignment than indentation.
1134 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1136 * plugins/saveactions.c:
1137 Fix adding the filetype's default extension when using the
1138 Instant Save plugin (closes #2885142).
1140 Before looking for line and column numbers specified as part
1141 of a filename, ensure the file doesn't exist on disk. This allows
1142 opening of files like "test:0".
1144 Rename "select" variables into "selection" to avoid shadowed names.
1145 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
1146 Add ui_widget_modify_font_from_string() and sci_goto_line()
1148 * plugins/filebrowser.c:
1149 Rename "select" variables into "selection" to avoid shadowed names.
1150 Make use of ui_widget_modify_font_from_string().
1153 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1155 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
1156 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
1158 Add sidebar position interface pref.
1161 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
1163 * doc/geany.txt, doc/geany.html:
1164 Add missing underscores to links.
1167 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1169 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1170 Add 'Move line(s) up/down' keybindings.
1173 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
1175 * src/build.c, src/build.h, src/filetypes.h:
1176 Include code for project filetype execute commands and fix bug in
1177 saving project filetypes list.
1178 * src/project.c, src/build.c, doc/geany.txt:
1179 Make non-project execute configuration save to filetypes not geany.conf.
1180 Fix closing of project failing to remove build commands dialog entry.
1183 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1185 * src/project.c, src/ui_utils.c:
1186 Set border width for project properties build table.
1187 * geany.glade, src/interface.c:
1188 Don't expand hard tab width alignment.
1191 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1193 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
1194 doc/geany.txt, doc/geany.html:
1195 Support loading global tags files for custom filetypes.
1196 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
1197 doc/geany.txt, doc/geany.html:
1198 Add 'Word part completion' keybinding so keys other than Tab can be
1199 used, or to clear/change the combination so Tab does full completion
1201 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1202 Add 'Select to previous/next word part' keybindings.
1203 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1204 Add 'Switch to Messages' focus keybinding.
1207 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1209 * doc/geany.txt, doc/geany.html:
1210 Add 'Custom filetypes' section.
1211 * src/filetypes.c, src/filetypes.h, src/document.c,
1212 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
1213 tagmanager/include/tm_source_file.h:
1214 Add filetype "tag_parser" key so custom filetypes can use an existing
1216 Add tm_source_file_get_named_lang().
1217 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
1219 Add filetype "lexer_filetype" key so custom filetypes can use an
1223 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1225 * THANKS, src/about.c:
1226 Add Xhacker Liu for his work at zh_CN translation to long list of
1230 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1232 * src/sciwrappers.c:
1233 Remove unnecessary line number margin padding.
1234 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
1235 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
1237 Improve word part autocompletion so AC list is not cancelled and
1238 reshown (this also stops the selection changing).
1239 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
1241 Improve CamelCase word part autocompletion for runs of capital letters.
1243 Don't complete snippets if there's a selection.
1246 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
1249 Fix crash opening project when Geany started with no geany.conf.
1252 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1254 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
1255 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
1257 Add word part autocompletion for the current selected item when
1258 pressing Tab - Enter still completes normally.
1259 Add foreach_str() API macro.
1260 Temporarily modify scintilla to say if tab was used for
1262 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1263 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1264 plugins/classbuilder.c:
1265 Revert r4301 - utils_free_pointers() taking 4 arguments.
1266 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
1267 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
1268 plugins/splitwindow.c:
1269 Add highlighting_set_styles() to API, use for Split Window plugin so
1270 filetypes.common settings get set too.
1271 Make highlighting_set_styles() take GeanyFiletype pointer instead of
1273 * src/document.c, src/editor.c, plugins/splitwindow.c:
1274 Call editor_apply_update_prefs() from editor_create_widget() so
1275 correct tab width and other settings are applied for Split Window
1279 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1281 * src/keybindings.c:
1282 Don't include trailing newlines when using reflow command.
1284 Add stock close buttons to notebook tab popup menu.
1285 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
1286 plugins/geanyfunctions.h:
1287 Add document_get_notebook_page() to API.
1289 * data/templates/files/file.html, data/templates/files/file.php:
1290 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
1291 * src/interface.c, src/ui_utils.c, geany.glade:
1292 Move Tools configuration items to top of menu.
1293 * src/keybindings.c, src/search.c:
1294 Fix warning when using Find in Files with no documents open; make
1295 keybinding work in this case.
1298 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1300 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
1301 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
1302 Make Split Window 'Show current document' button have a drop-down menu
1303 to select the other documents.
1304 Add new API function ui_menu_add_document_items().
1307 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
1310 Fix sensitivity settings for compile and build toolbar items.
1313 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1316 Don't use filetype submenus for templates (slower to navigate, often
1317 only 1 per-filetype anyway).
1319 Put old filetype template menu items in 'Old' submenu as they should
1320 be removed after the 0.19 release.
1321 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
1322 Add GeanyKeyGroup callback support, which allow keybinding callbacks
1323 to be ignored if inappropriate so a later keybinding with the same
1324 key combination can intercept it. (Also group callbacks are usually
1325 tidier than separate callbacks).
1326 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
1327 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1328 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1329 plugins/classbuilder.c:
1330 Make utils_free_pointers() take 4 arguments, add to API.
1331 * src/templates.c, src/tools.c, src/ui_utils.c:
1332 Fix memory leaks with gtk_container_get_children().
1335 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
1338 Ensure that old style build config is not loaded if it does not exist.
1341 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1343 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
1344 Added Galician translation. Thanks to José Manuel Castroagudín Silva.
1347 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1349 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
1351 Apply set default encoding for existing files only if the files are
1352 non-Unicode (patch by Alexey Antipov, thanks).
1355 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1357 * src/highlighting.c:
1358 Move new_styleset() and preprocessor setup code into styleset_c_like().
1359 * src/highlighting.c:
1360 Call apply_filetype_properties() from styleset_c_like().
1363 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1365 * doc/geany.txt, doc/geany.html:
1366 Improve information about predefined keybindings which are
1367 commonly used across applications (patch by Lex Trotman, thanks).
1369 Enable embedded page setup properties in the (Unix) Print dialog
1370 on newer GTK versions (closes #2870596).
1371 * src/highlighting.c:
1372 Map global types (read from tags files) to keyword style for
1376 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1379 Fix wrong creation of filetype template menu items for custom
1381 * src/highlighting.c:
1382 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
1384 Group 'New with template' items by filetype submenu (currently only for
1386 Show custom file template items before filetype template items.
1387 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
1389 Only use one 'New with template' submenu - reparent as needed.
1391 Don't create templates/filetype.none either.
1393 Warn if custom template file no longer exists.
1396 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1399 Add missing icon for Java packages in the Symbol List.
1402 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1404 * src/highlighting.c, data/filetypes.vala:
1405 Add Vala keywords to conf file.
1406 * src/templates.c, doc/geany.txt, doc/geany.html:
1407 Read custom file templates from $prefix/share/geany/templates/files as
1409 * src/templates.c, data/templates, data/templates/files,
1410 data/templates/files/file.rb, data/templates/files/file.html,
1411 data/templates/files/main.java, data/templates/files/main.c,
1412 data/templates/files/main.cxx, data/templates/files/file.php,
1413 data/templates/files/main.d, data/templates/files/program.pas,
1414 data/templates/files/main.py, data/templates/files/file.tex,
1415 wscript, Makefile.am:
1416 Move filetype template defaults into custom file template files.
1419 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1421 * src/symbols.c, tagmanager/perl.c:
1422 Change Perl tag parser to ctags SVN r601. This removes support for
1423 buggy local/my/our but it parses constant/format/labels and should
1424 be less buggy overall (closes #2861232).
1425 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
1426 Add utils_get_file_list_full() which can optionally sort or include
1427 a full path for each list item.
1428 * src/utils.c, src/plugindata.h, src/plugins.c:
1429 Add utils_get_file_list_full() to API.
1432 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1434 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
1435 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
1436 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
1437 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
1438 po/POTFILES.in, wscript:
1439 Rename treeviews.[hc] -> sidebar.[hc].
1440 * data/filetypes.common:
1441 Remove unused [styling] arguments.
1442 * src/highlighting.c, data/filetypes.markdown,
1443 data/filetypes.restructuredtext:
1444 Remove style defaults from the code - just read them from
1445 configuration files.
1446 * src/highlighting.c, HACKING:
1447 Add apply_style_entries() to simplify implementing styleset_foo().
1448 * src/highlighting.c:
1449 Remove filetype keyword defaults from the code - just read them from
1450 configuration files.
1451 * src/highlighting.c:
1452 Add sci_set_keywords() wrapper.
1455 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1457 * scripts/create_py_tags.py:
1458 Make the code a bit more pythonic.
1459 * doc/images/build_menu_commands_dialog.png,
1460 doc/images/main_window.png:
1461 Add new images referenced in the documentation.
1462 * doc/geany.html, doc/geany.txt:
1463 Several documentation improvements (patch by Lex Trotman, thanks).
1464 * src/pluginutils.c:
1465 Fix setting the appropriate page of the combined plugins
1469 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1471 * src/keybindings.c:
1472 Only focus toolbar goto line entry when pressing keybinding if it's
1473 visible (patch by Eugene Arshinov, thanks).
1475 Focus editor after entering a number in the goto line toolbar entry.
1477 Use AC_PATH_PROG instead of which for portability (patch by Erik
1478 Southworth, thanks).
1480 Show plugins that only implement plugin_configure_single() in the
1481 multiple-configure dialog as a page with a configure button on it.
1482 Add padding for multiple-configure dialog.
1483 Make the multiple-configure dialog notebook tabs scrollable.
1484 * src/pluginutils.c, src/pluginutils.h:
1485 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
1486 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
1487 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
1488 plugins/geanyfunctions.h, plugins/filebrowser.c:
1489 Add plugin_show_configure() API utility function.
1490 Add File Browser popup menu 'Preferences' item.
1491 * src/highlighting.c:
1492 Add get_keyfile_ints() instead of using tmp_style hack.
1493 * src/highlighting.c, data/filetypes.xml:
1494 Change new html_asp_default_language markup pref to use integer,
1495 not hex in config file.
1496 Fix minor issue with changing pref back to 0.
1497 * src/highlighting.c:
1498 Fix possible segfault in get_keyfile_int() if key value is malformed.
1501 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1503 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
1504 Add "html_asp_default_language" pseudo style to filetypes.xml
1505 to allow setting the used language in embedded ASP code
1506 (patch by Ross McKay, thanks).
1507 * src/filetypes.xml:
1508 Update VBScript keywords (patch by Ross McKay, thanks).
1511 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1513 * src/keybindings.c, THANKS:
1514 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
1515 keybinding use line breaking column when enabled.
1517 Fix showing the document before reload dialog when opening an
1519 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
1520 Add plugin_configure_single() plugin symbol which is easier to
1521 implement than plugin_configure() but won't support a
1522 multiple-plugin configure dialog.
1524 Show multiple plugins in the 'Configure Plugins' dialog.
1527 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1529 * doc/geany.txt, doc/geany.html:
1530 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
1532 * doc/geany.txt, doc/geany.html:
1533 Add 'Toolbar entries' section.
1534 * doc/geany.txt, doc/geany.html:
1535 Update 'Go to line' keybinding description.
1536 * doc/geany.txt, doc/geany.html:
1537 Split keybinding table into group tables; update KB links.
1540 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1543 Fix compiler warnings about uninitialised variables.
1544 * src/callbacks.c, src/document.c:
1545 When reloading files, use the previously set encoding instead of
1546 detecting it again (closes #2862041).
1548 Turn on automake silent rules if supported.
1551 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1554 Speed up sorting in utils_get_file_list(). This reduces the file
1555 browser delay on displaying a big directory, e.g. /usr/bin.
1557 Expand command entry width when expanding Build Commands dialog.
1559 Split Build Commands dialog notes label and edit text.
1561 Add padding for Build Commands dialog separators.
1562 Add colons for regex field labels; fix 1 capitalisation.
1564 Fix none filetype Build Commands dialog label.
1565 Make group labels bold.
1566 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
1568 Add & use ui_label_set_markup(), ui_label_new_bold().
1569 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
1570 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
1571 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
1572 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
1573 * src/keybindings.c:
1574 Make 'Go to Line' keybinding focus the toolbar entry if visible.
1577 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1579 * src/filetypes.c, src/filetypes.h, src/symbols.c,
1580 tagmanager/parsers.h, tagmanager/makefile.win32,
1581 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
1582 data/filetype_extensions.conf, wscript:
1583 Add new filetype: Abc (patch by Eric Forgeot, thanks).
1585 Merge recent changes from the CTags project to further improve
1589 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1592 Fix wrong alignment of printed pages when page headers are
1593 disabled (closes #2856822).
1594 Plug a small memory leak and improve function signature of
1597 Save an if expression.
1599 After clearing a text field using the embedded clear icon, put the
1600 input focus into this text field.
1603 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1605 * plugins/filebrowser.c:
1606 Free file list memory whilst iterating the list.
1607 Minor formatting fixes.
1608 * src/utils.c, src/utils.h:
1609 Add foreach_dir() API macro.
1610 Update API docs for utils_get_file_list().
1611 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
1613 Remove queue.[hc] - use GQueue instead of GeanyQueue.
1614 Beep if there are no more snippet positions.
1615 Limit length of snippet positions queue to 20.
1618 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1620 * src/keybindings.c, src/callbacks.c, src/search.c:
1621 Make Goto Tag commands use the current selection if present (useful
1622 for selecting part of a tag or for ReST section names with spaces
1625 Don't move the cursor when reloading.
1626 * src/plugindata.h, src/editor.c, src/editor.h:
1627 Make editor_prefs.snippets hash table private (not a pref).
1630 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1633 Remove deprecated --debug flag. Please use --verbose/-v instead.
1636 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1639 Show Find in Files stderr output in messages window instead of
1640 debug window so that invalid regex messages can be seen easily.
1641 Combine FIF stdout and stderr callback code.
1644 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1647 Fix opening filenames beginning with two dots (closes #2858487).
1648 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
1649 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
1650 data/filetypes.common, geany.glade:
1651 Update syntax highlighting after changing the 'Invert syntax
1652 highlighting colors' pref, instead of requiring a restart.
1653 Remove filetypes.common invert_all option - use 'Invert syntax
1654 highlighting colors' pref instead (closes #2854525).
1655 * src/prefs.c, src/dialogs.c, src/dialogs.h:
1656 Add 'Allow' button when showing the conflicting keybinding dialog.
1657 Make dialogs_show_question_full() use GTK dialog on Windows if
1658 button text is not the stock yes/no items.
1659 Add dialogs_show_prompt() which also has an 'Apply' button.
1660 * src/queue.c, src/queue.h:
1661 Add warning that GeanyQueue may be removed.
1662 * src/keybindings.c, src/editor.c, src/editor.h:
1663 Change snippet_goto_next_cursor() to
1664 editor_goto_next_snippet_cursor() as it's in editor.h.
1665 Avoid using GPOINTER_TO_INT macro.
1668 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1670 * src/keybindings.c:
1671 Fix 'Reflow block' command when at the last paragraph and there's
1672 no last newline (patch by Eugene Arshinov, thanks).
1674 Add 'Compiler options & warnings' section.
1675 Update Style section to be clearer about code alignment and show
1680 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1682 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
1683 src/plugindata.h, src/plugins.c, src/editor.c,
1684 plugins/geanyfunctions.h:
1685 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
1686 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
1688 Add sci_toggle_marker_at_line().
1689 Fix SciFuncs alignment.
1692 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
1695 Fix erroneous free of returned string in prepare_run_script.
1698 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1700 * data/filetypes.latex:
1701 Changing default value for showing pdf and dvi to ensure to take
1702 *.pdf and *.dvi file.
1705 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1707 * src/about.c, THANKS:
1708 Change language string for Slovenian translation.
1711 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1713 * tagmanager/txt2tags.c:
1714 Fix multi-byte character constant comparison.
1716 Fix Gtk warning when trying to update documents popup menu item
1717 sensitivity before they exist.
1720 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1723 Improve the opening string in the plugin manager dialog.
1725 Use "max-width" to set the document width of the generated
1726 HTML documentation to let the text be auto-wrapped.
1727 * src/prefs.c, src/tagmanager/include/guregex.h,
1728 src/tagmanager/include/tm_tagmanager.h:
1729 Remove trailing spaces (patch by André Hentschel, thanks).
1731 Fix a compiler warning.
1733 Fix crash when opening documents.
1734 * src/build.c, src/build.h, src/project.c:
1735 Adjust coding style (no code changes).
1736 * src/build.c, src/project.c:
1737 Use NZV() macro instead of strlen() to check for empty strings.
1738 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
1739 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
1740 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
1741 src/plugins.c, THANKS:
1742 Add new plugin signal: "document-before-save".
1743 Add get_line_end_position(), set_target_start(), set_target_end(),
1744 replace_target() to the plugin API
1745 (patch by Eugene Arshinov, thanks).
1746 Add new plugin signal: "document-filetype-set" (closes #2852286).
1747 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
1748 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
1749 tagmanager/Makefile.am, tagmanager/makefile.win32,
1750 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
1752 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
1755 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1757 * src/treeviews.c, src/document.c:
1758 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
1759 Use gtk_notebook_set_current_page() instead of
1760 document_open_file_full() when choosing an item from the documents
1762 Avoid using goto in document_open_file_full().
1765 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1767 * src/treeviews.c, src/document.c, src/document.h, THANKS:
1768 Enable type-ahead find for sidebar symbols and documents tabs
1769 (patch by Thomas Martitz, thanks).
1771 Fix 2 free's of possibly uninitialized pointers.
1774 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
1776 * src/build.c, src/filetypes.h, src/filetypes.c
1777 Only write filetype config files when build command or regex is
1778 actually changed. Removed commented code in src/filetypes.c.
1780 Ensure uses of filename are protected against nulls when running
1781 a build command and give status message if not.
1784 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1787 Remove plugin from plugin manager dialog on unloading if it no
1788 longer exists or is incompatible.
1791 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1794 Add warning if only one of the plugin_key_group[_info] symbols is
1795 defined for a plugin.
1796 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
1797 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
1799 Merge custom-filetypes branch:
1800 Support adding custom filetype files e.g. filetypes.Foo.conf.
1802 Allow GeanyFiletype::extension to be NULL.
1803 Add note about using GeanyFiletype pointer instead of filetype_id
1804 for filetypes.c function arguments.
1805 Replace styleset_none() with styleset_default().
1808 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1811 Show the sidebar if either the documents or the symbols list are
1812 enabled (related to #1876107).
1815 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1817 * src/build.c, src/filetypes.c:
1818 Fix compiler warnings.
1820 Fix removing leading double slashes in filenames which are used for
1821 network resources on Windows (closes #2844085).
1824 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1826 * src/keybindings.c:
1827 Fix Make keybindings (patch by Lex Trotman, thanks).
1829 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
1831 Mention Files link at top for header files; demoplugin.c.
1832 Minor edits; remove 'far from being complete'.
1833 * src/keyfile.c, src/keyfile.h, src/main.c,
1834 data/filetype_extensions.conf, HACKING:
1835 Remove --generate-data-files argument & code - just edit
1836 filetype_extensions.conf by hand (filetype order was broken
1838 Add *.H extension for C++ (useful for non-Windows systems).
1841 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
1844 Fix implementation of loading old project files with base
1845 directories. Use project_make_base_path instead of re-
1846 implementing. Now depends on project.c reading base dir
1847 prior to calling load_build_menu.
1849 Change usage of project base directory to conform with
1850 previous documented behavior when loading old project files.
1852 Change make custom and make object to ignore make in base path
1853 when reading old project file settings. Changed some indent
1854 spaces to tabs. Fix missing compile menu accelerator.
1857 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1860 Add warning about not using undocumented features.
1861 Add reference to HACKING for plugin API development.
1863 Add section 'Plugin API/ABI design'.
1864 * src/keybindings.h, src/makefile.win32, src/project.h,
1865 src/filetypes.h, src/Makefile.am, wscript:
1866 Use GEANY_PRIVATE to hide some fields from plugins.
1868 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
1869 * src/build.c, src/build.h, src/project.c:
1870 Use build_ prefix for 3 functions in build.h; add a static modifier.
1873 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1876 Improve parsing of PHP functions by requiring a valid modifier or
1877 whitespace before the 'function' keyword to ignore some false
1878 positives like function tags inside comments
1879 (patch by Harold Aling, thanks).
1880 * tagmanager/python.c:
1881 Don't parse comments after import statements and other tags
1882 (closes #2838938, patch by Huandari Lopez, thanks).
1885 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1887 * data/filetypes.markdown:
1888 Add filetypes.markdown for configuration (thanks to Jon Strait).
1889 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
1890 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
1891 plugins/geanyfunctions.h:
1892 Remove GeanyKeyGroup struct from the API - plugins should not set
1894 Make keybindings_set_item() duplicate the name and label fields
1895 (needed by GeanyLua) and return a keybinding pointer.
1896 Add keybindings_get_item() to the API (in case it's useful).
1897 Move some keybinding code out of plugin source files.
1900 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1902 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
1903 Don't generate build.h API docs until everything is approved and
1904 functions are actually in geany_functions.
1905 Move new GeanyFiletype and GeanyProject field(s) to end of struct
1906 as they may be changed or made private later.
1907 Break ABI for fields removed.
1910 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
1912 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
1913 src/keyfile.c, src/project.c
1914 Changed names of symbols visible in build API to GEANY_xxx.
1917 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
1919 * src/project.h, src/project.c, src/build.c
1920 Remove make_in_base_dir and run_cmd fields from project structure.
1921 Replaced by build functionality. Remove incorrect use in src/build.c
1922 build_run_cmd function.
1925 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
1927 * src/project.h, src/project.c
1928 Removed unused project_get_make_dir function, this is now per
1932 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
1934 * src/build.c, src/build.h, src/project.c, src/keyfile.c, src/filetypes.c
1935 Fix some more warnings.
1936 Fix commented out execute/stop toolbar code in build.c.
1937 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
1938 Changed build.h api so all functions prefixed with build_.
1941 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1943 * src/build.c, src/build.h, src/project.c:
1944 Fix some gcc warnings with '-Wall -W -ansi' enabled.
1947 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
1950 Fixed leaks and crashes due to inconsistent use of static vs dynamic strings
1951 when reading old format configuration & project files.
1952 * src/build.c, src/project.c
1953 Fixed GLib array assertion warnings when no project filetypes are
1954 available to be saved.
1956 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
1962 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
1964 * src/build.h, src/build.c, src/project.c
1965 Created and documented plugins interface to build menu.
1966 Factored out new get_cmd_group function.
1967 Changed name of remove_command function to be consistent with the rest
1968 of the interface & changed calls in project.c.
1969 * src/Makefile.am, wscript
1970 Added build.h to installed files lists.
1972 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
1975 Updated manual to match build-menu capability.
1978 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
1980 * src/build.c, src/build.h
1981 Added set_build_non_ft_wd_to_proj() for use by project dialog.
1982 Improved interpretation of run_in_base_dir from old [build-settings]
1983 Added spacing to build commands dialog
1985 Removed run in base path option from project dialog and added button to
1986 set working directories to d the same.
1989 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
1992 Re-incorporated toolbar changes in trunk accidently excluded in merge
1994 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
1997 Fixed substitute %f etc in commands
1998 Fixed potential leak in build_replace_placeholder
1999 Fixed leak in prepare_run_script (Thanks for patch Thomas)
2000 Fixed build_replace_placeholder to not require document.
2002 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
2004 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c
2005 Fixed crash and lots of warnings, deleted some commented out code.
2006 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c
2007 Removed make command from preferences and associated code
2009 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
2011 * src/build.c, src/build.h
2012 Incorporated patch for working directory field (thanks Thomas)
2013 Removed run_in_base_dir option and associated code that it replaces
2014 Improved handling of old config files and mapping to new ones.
2016 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
2018 * src/build.h, src/build.c
2019 Changed to itterate over entries in build commands dialog to allow
2020 additional fields to be added
2021 Implement support for multiple run commands
2022 * data/filetypes.latex
2023 Implement configured commands and labels for latex.
2026 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
2028 * src/build.h, src/build.c
2029 added dialog support for error regular expressions from multiple sources
2030 and storing and loading them
2031 fixed some typos and memory leaks
2032 * src/filetypes.c, src/filetypes.h, project.c
2033 added support for using error regexes from multiple sources
2036 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
2038 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
2040 Removal of build menu item source made redundant by the following fix
2042 Corrected priority oreder and loading of filetype dependent build
2043 menu items saved in the project file. Added print routine for
2044 debugging command sources and priorities set compile symbol
2045 PRINTBUILDCMDS true to enable
2047 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
2050 fixed problem loading old format filetype files, some formatting fixes
2051 fixed saving new format files
2052 added operation for clear button on build commands dialog
2054 fixed loading and saving filetype files
2057 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
2059 Configurable Build Menu Changes
2061 * doc/geany.html, doc/geany.txt:
2062 Updated build menu section to new functionality
2063 * src/build.h, src/build.c:
2064 Largly re-written, configurability added, Latex code removed
2065 * src/filetypes.h, src/filetypes.c:
2066 Filetype structure updated to add new command pointers, configuration
2067 load and store changed
2068 * src/keybindings.h, src/keybindings.c:
2069 Changed to address new command storage structure.
2071 Changed to load/store new configuration.
2073 Minor change to initialisation order.
2075 Changed to address new menu item storage structure.
2076 * src/project.h, src/project.c:
2077 Changed to load/store the new configuration info.
2079 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2081 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
2082 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2083 doc/pluginsymbols.c, plugins/geanyfunctions.h,
2084 plugins/splitwindow.c:
2085 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
2086 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
2087 the ABI when adding fields to them.
2088 Add plugin_set_key_group() for plugins to dynamically set a
2089 keybinding group (e.g. for the Lua script plugin). Used in Split
2090 Window plugin as an example.
2091 Improve keybinding docs a little.
2094 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2096 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
2097 Add geanyfunctions.h to API docs.
2098 * plugins/splitwindow.c:
2099 Set the cursor color for the split window.
2102 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2105 Fix 'Open Selected File' for unsaved new documents.
2106 * src/keybindings.c, src/keybindings.h, src/prefs.c:
2107 Fix updating main menu accelerators after changing keybindings
2108 (thanks to Lex Trotman).
2110 Fix using 'Insert date' keybinding when a custom date string has
2112 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2113 Merge Plugin and GeanyPluginPrivate structs.
2116 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2118 * src/keybindings.c:
2119 Fix non-working Home and End keys on numpads.
2122 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2124 * doc/geany.txt, doc/geany.html, NEWS:
2125 Add 'Scope autocompletion' section.
2126 Add 'Tools menu items' section to explain configuration files
2127 submenu, reload configuration item.
2128 Minor updates/fixes.
2131 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2134 Add a translation hint to an ambiguous format string.
2136 Add missing include path to fix 'make distcheck'.
2138 Fix opening of local files in the browser on Windows.
2139 * New release: Geany 0.18 "Kaine".
2140 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
2141 src/geany.h, doc/geany.html, doc/geany.txt:
2142 Post-release version bump.
2145 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2148 Temporarily disable reshowing calltips when the autocompletion
2149 list was closed implicitly by not choosing an item to fix
2150 problems with wrongly displayed calltips.
2152 Add missing 'coding' cookie to the Python filetype template.
2153 * doc/images/pref_dialog_edit_completions.png,
2154 doc/images/pref_dialog_toolbar.png:
2155 Update images for Geany 0.18.
2158 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2161 Add command '--hackingdoc' to create the HTML form of the
2165 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2167 * po/pt_PT.po, po/LINGUAS:
2168 Added a first Portugese (Portugal) translation based on work done at
2169 launchpad by e.g. André Glória and Alexandre Jesus.
2170 * src/main.c: Fix a minor typo on --help call.
2173 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2175 * src/highlighting.c:
2176 Call get_keyfile_wordchars() in highlighting_init_styles().
2179 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2181 * data/filetypes.ada:
2183 * src/keybindings.c:
2184 Switching notebook tabs now works for the currently used notebook
2185 widget instead of always using the documents notebook.
2186 * src/document.c, src/document.h, src/documentprivate.h,
2188 Small corrections to some API docs.
2191 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2193 * src/build.c, src/win32.h, src/win32.c:
2194 Expand system environment variables (%variableName%) on Windows when
2195 running Build commands.
2198 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2200 * src/keybindings.c:
2201 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
2202 future using an indent block is more useful e.g. for ChangeLog
2204 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
2205 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
2206 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
2207 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
2208 tagmanager/parsers.h, tagmanager/makefile.win32,
2209 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
2210 Add Markdown filetype (patch by Jon Strait, thanks).
2211 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2212 Fix disconnecting plugin signal id when not using geany_object.
2214 Add filetype_make_title() instead of using:
2215 ft->title = g_strdup_printf(_("%s source file"), ft->name);
2216 It also supports "%s file" strings.
2219 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2221 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
2222 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2223 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
2224 plugins/filebrowser.c:
2225 Add plugin_signal_connect() for connecting plugin signals at
2226 runtime and also for connecting to any GObject signal.
2227 Add 'Plugin Utility Functions' on main page.
2228 Add foreach_array() macro.
2229 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2230 src/document.c, src/editor.c:
2231 Rename 3 sci functions to sci_set_target_start(),
2232 sci_set_target_end(), sci_replace_target() to match the SCI_
2236 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2238 * wscript: Fix compiling error with waf.
2241 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2243 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
2244 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2245 src/Makefile.am, wscript:
2246 Move plugin_* utility functions to pluginutils.c.
2247 Add pluginprivate.h.
2249 Fix reshowing calltip in the wrong document.
2252 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2254 * doc/geany.txt, doc/geany.html:
2255 Add some general information about auto-completion capabilities
2256 (patch by Lex Trotman, thanks).
2259 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2261 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
2262 Added a first Slovenian translation. Thanks to Joze Klepec.
2265 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2267 * src/highlighting.c:
2268 Use full styleset_foo[_init] function name as argument to
2269 init_styleset_case() and styleset_case() macros so it's easier to
2270 understand the code.
2271 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
2272 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
2273 doc/geany.txt, doc/geany.html:
2274 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
2275 Heavily based on a patch by Eugene Arshinov (thanks).
2276 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
2277 editor_strip_line_trailing_spaces().
2280 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2283 Attempt to fix reshowing calltips after the autocompletion list
2285 Reshow calltips also when the autocompletion list was closed
2286 implicitly by not choosing an item.
2288 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2290 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
2291 plugins/splitwindow.c:
2292 Change utils_str_remove_chars() to work in place; fix allocating on
2293 the stack (the string length could exhaust the stack size).
2294 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2295 src/printing.c, src/callbacks.c:
2296 Rename utils_str_replace() utils_str_replace_all(), setting a
2297 'gchar **haystack' argument instead of returning a new string.
2299 For the Tabs indent type, remove spaces when unindenting (only) if
2300 there are no tabs on the line.
2301 Group undo actions for (un)indenting of multiple lines.
2302 * src/document.c, src/editor.c:
2303 Fix scrolling horizontally after finding a search match with the
2304 search bar or Find Next/Previous which is off-screen.
2305 * src/keybindings.c:
2306 Fix GLib warning when pressing a key with no documents open.
2309 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2312 Start unifying usage of @a and @c markup elements in API docs,
2314 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2315 Show/hide the toolbar without a restart when the setting in the
2316 preferences dialog is changed (closes #2824785).
2317 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
2318 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
2319 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
2321 Continue unifying usage of @a and @c markup elements in API docs.
2324 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2327 Remove relative/untidy path elements when creating new documents
2328 with a filename (e.g. from the command-line) (#2823998).
2331 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2334 Disable 'Recent Projects' menu item if the list of recent projects
2337 Fix some harmless compiler warnings.
2338 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
2339 src/plugins.c, src/utils.c, src/utils.h:
2340 Move utils_str_remove_chars() from the plugins/splitwindow.c to
2341 src/utils.c and add it to the plugin API.
2342 Make utils_str_remove_chars() work on a new copy of the input string
2343 instead of modifying it in place.
2345 Remove underscores from the toolbar items labels.
2348 * plugins/splitwindow.c:
2349 Fix broken 'Show the current document' tool button icon.
2352 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2354 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
2356 Add stash_group_add_widget_property() so we can save any widget's
2357 read/write properties.
2358 Use Stash for ui_prefs.sidebar_page setting.
2359 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
2360 Make foreach_ptr_array() use an integer argument for its
2361 implementation, as this is more useful potentially than a gpointer*
2362 argument, and more straightforward.
2363 Add foreach_c_array(), foreach_ptr_array() to API.
2364 * src/utils.c, src/utils.h, src/document.c:
2365 Remove relative/untidy path elements when opening documents (closes
2368 Fix showing project name for documents list files with no
2369 subdirectory (oops).
2371 Fix checking whether to overwrite when using the Rename button in
2372 the 'Save As' dialog.
2375 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2378 Don't use the main window as parent for dialog boxes if it is not
2380 Set titles for message dialogs.
2383 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2386 Display item labels instead of raw names in the toolbar editor.
2387 Apply changes in the toolbar editor instantly.
2388 Show icons in the toolbar editor.
2389 Speed up toolbar editor dialog creation.
2391 Improve inserting of comment templates like File header or licence
2392 notices. The comment information are now read from the filetype
2393 configuration files.
2395 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2398 Enable file monitoring for files which are written to disk by Geany
2401 Fix broken special case handling when detecting filetypes from a
2402 shebang or other special file headers.
2405 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2408 Make Mark All keybinding clear search highlighting when there's no
2411 Fix wrong match length when using Mark with regex.
2412 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
2413 src/keyfile.c, src/main.c:
2414 Add 'Show Paths' documents list popup item.
2415 Add "load_settings" core-only signal emitted just after loading
2416 main keyfile settings; useful to delay building UI elements until
2417 settings have been read.
2419 Fix GTK warning when right-clicking on default tag tree.
2420 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
2421 Add treeviews_finalize().
2422 Remove tv.popup_openfiles field.
2425 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2427 * src/highlighting.c:
2428 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
2431 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2434 Quote the uri before passing it to the browser when opening a
2435 website (closes #2818635).
2437 Fix broken 'builtin' Run command for HTML files on Windows.
2440 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2443 Properly fix wrong brace highlighting of non-brace character.
2445 Allow autocompletion in Perl double-quoted strings.
2446 Don't autocomplete in Perl single-quoted strings (closes #2821061).
2447 Don't autocomplete in Perl q() strings.
2448 * data/filetypes.common:
2449 Make Mark highlighting brighter.
2450 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
2451 Use hyphen for auto-feature terms.
2452 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
2453 src/document.h, src/main.c:
2454 Add documents_foreach() API macro that skips invalid docs.
2455 Make filetypes[], documents[] part of the API again.
2456 Add GEANY() macro for sharing geany symbols between API and core.
2457 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
2458 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
2459 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
2460 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
2461 plugins/classbuilder.c, wscript:
2462 Add geanyplugin.h single include for plugin API; update all core
2464 Add sci_set_font() to API.
2465 Update plugin howto.
2466 * src/filetypes.c, src/filetypes.h:
2467 Remove filetypes_foreach_named().
2470 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2472 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
2473 src/document.h, src/main.c, THANKS:
2474 Apply patch from Eugene Arshinov to reload color schemes via menu
2477 Reload filetypes.common after saving it.
2479 Improve wrong brace highlighting of non-brace character.
2482 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2485 Delay highlighting matching braces by 100ms, which speeds up
2486 scrolling with the arrow keys.
2487 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
2488 Add 'Mark All' keybinding.
2489 * tagmanager/diff.c:
2490 Show relative paths in diff filename tags.
2493 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2495 * src/highlighting.c:
2496 Fix setting keyword list 'classes' for Haxe
2497 (pointed out by Andreas Mokros, thanks).
2500 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2502 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2503 doc/geany.txt, doc/geany.html, geany.glade:
2504 Add 'Drop rest of word on completion' pref.
2505 * src/editor.c, doc/geany.txt, doc/geany.html:
2506 If autocompletion is already visible when forcing completion, show
2507 document word completion instead of tag completion.
2508 Docs: Minor edits of related prefs items.
2509 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
2510 Add warning when printing and editor font is not monospaced.
2511 Fix using GtkMessageType instead of gint param for
2512 dialogs_show_msgbox*().
2513 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
2515 Support 'tab indents, space aligns' style for auto-indentation
2519 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2521 * src/document.c, src/documentprivate.h:
2522 Rework the GIO based file monitoring code. Now it is used only
2523 to indicate a possible change of the file, the real check if the
2524 file has been changed is performed by stat().
2525 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
2526 Add style 'line_height' to increase the line height.
2527 Add style 'marker_mark' and change style 'marker_search' to
2528 define the style used for marked search results.
2529 * doc/geany.txt, doc/geany.html:
2530 Add the new 'Autocomplete all words in document' pref to the docs.
2533 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2535 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2536 doc/geany.txt, doc/geany.html, geany.glade, TODO:
2537 Add 'Autocomplete all words in document' pref.
2538 Use 'autocompletion' in dialog and docs, not 'auto completion'.
2540 Fix limiting number of word completion entries too much.
2541 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
2542 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
2543 Show autocompletion icons for tag symbols - for now only tags with
2544 an arglist have the 'function/method' icon, all others have the
2546 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
2548 * src/highlighting.c:
2549 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
2553 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2555 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
2556 Fix removing underscores in translated string using no_underscore()
2558 Set a tooltip for the Split Window plugin's Show Current tool button.
2559 Add utils_strdupa() macro.
2560 * src/interface.c, geany.glade:
2561 Use stock Select All icon now we have >= GTK 2.8.
2563 Fix using project name for document items that start with the
2564 project base path but don't match it e.g. ".../geany-plugins"
2565 instead of ".../geany" when project name is 'geany'.
2568 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2571 Fix warnings when the toolbar does not contain the Run button.
2573 Fix wrong parsing of complex expressions in the Lua parser.
2574 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
2576 Remove unnecessary enums.
2577 * scintilla/*, scintilla/include/*, src/plugindata.h:
2578 Update Scintilla to version 1.79.
2579 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
2581 Use the new Scintilla struct names prefixed with 'Sci_'.
2582 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
2584 Add second argument to the 'line_wrap_indent' styling setting to
2585 control the new Scintilla indentation mode for wrapped lines.
2587 Properly close the toolbar editor on delete-events.
2588 Fix warnings and possible crashes in the toolbar editor when the list
2589 of displayed toolbar items is empty.
2590 * data/filetypes.tcl:
2591 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
2593 Make the plugin manager dialog a bit bigger.
2596 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2598 * doc/geany.html, doc/geany.txt:
2599 Fix wrong default values for the 'Show Calltip' keybinding.
2602 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2604 * data/filetypes.tcl, src/symbols.c:
2605 Fix duplicate "context_action_cmd" key.
2606 Use different icons for "Methods" and "Procedures" in the symbol
2609 Fix a small memory leak.
2610 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
2611 src/keybindings.h, src/plugindata.h:
2612 Make the Scintilla keybindings 'Delete to end of line' and
2613 'Go to end of display line' configurable.
2615 Fix a typo (closes #2813624).
2618 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2620 * tagmanager/tcl.c, src/symbol.c:
2621 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
2622 methods and namespaces).
2623 Patch by Witek Mozga, thanks.
2626 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2628 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
2629 src/toolbar.c, src/toolbar.h:
2630 Remove ui_toolbar.xml Configuration Files menu item.
2631 Add a real toolbar editor dialog.
2632 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
2634 Add a button in the preferences dialog and an item for the toolbar
2635 popup menu to run the toolbar editor dialog.
2638 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2641 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
2642 Fix using locale encoding for default Save As dialog path.
2644 Beep when trying to activate the '...' autocompletion item.
2645 Limit (forced) document word completion to
2646 autocompletion_max_entries.
2647 Beep if no completions are shown when forcing autocompletion.
2650 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2652 * data/ui_toolbar.xml, src/toolbar.c:
2653 Add 'Build' toolbar button to the default layout.
2656 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2659 If forcing autocompletion and there's nothing else to show, complete
2660 from words in the current document (using code from Enrico's
2661 'AutoComplete Test' plugin).
2664 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2667 Add debug message if plugin has not set a name for its keybinding
2669 * data/filetype_extensions.conf:
2670 Add *.m4 for shell scripts.
2673 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2675 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2676 data/filetypes.common, TODO:
2677 Make filetypes.common named styles use the "default" named style for
2678 all missing style fields.
2679 Set named styles to usually leave the background style empty. This
2680 currently allows C-like filetypes to have a common default
2682 Allow hard-coded colors to use -1 for the default color.
2683 Add some highlighting style examples to the manual.
2686 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2689 Create initial template files with proper platform-specific line
2693 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2695 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
2696 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
2697 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
2698 src/ui_utils.c, src/ui_utils.h:
2699 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
2701 Refactor some related code.
2702 * tagmanager/conf.c:
2703 Strip trailing spaces from "Key" tags.
2705 Quote the full filename to the Geany executable when creating the
2706 "Open with Geany" context menu item.
2707 * plugins/splitwindow.c:
2708 Avoid using deprecated GTK API.
2709 * src/log.c, src/main.c:
2710 Properly clean up the logging mechanism.
2712 Fix LaTeX view commands on Windows (part of #2807688).
2714 Add a popup menu for the keybinding list in the preferences dialog
2715 to easily expand and collapse all groups.
2716 Refactor the keybindings code for the preferences dialog, prefix all
2718 * src/main.c, src/ui_utils.c, src/ui_utils.h:
2719 Init stock items before creating the toolbar (closes #2809324).
2721 Generate the geany.pc file also on Windows.
2723 Invert the logic to determine which Save All we want to use:
2724 Use the Tango like icon only for the Tango theme and the Gnome / GTK
2725 like icon for any other themes.
2728 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2730 * src/highlighting.c, README.Packagers, HACKING:
2731 Remove gsd_* default styles, use named styles instead.
2732 Note: this relies on filetypes.common being installed.
2733 Add load_style_entries(), which makes style initialization
2734 simpler, used in styleset_c_like_init().
2737 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2740 Prevent possible crash on Windows when not setting an initial
2741 directory for native File Open/Save dialogs.
2742 * data/filetypes.xml, src/highlighting.c:
2743 Add style 'jscript_regex' for filetype HTML
2744 (patch by Chris Macksey, thanks).
2747 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2749 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
2750 Make GeanyDocument::file_type always be non-NULL, even for a new
2751 document with no filetype set.
2753 Only autocomplete scope for scopes matching the current filetype's
2755 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
2756 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
2757 data/filetypes.actionscript, data/filetypes.cs,
2758 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
2759 data/filetypes.javascript, HACKING:
2760 Make C++, D lexer filetypes use named styles (apart from uuid,
2761 verbatim, regex styles).
2764 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2767 Don't explicitly change the current directory of the Save As dialog
2768 so that it uses the last used directory.
2771 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2773 * src/encodings.c, src/encodings.h, src/plugindata.h:
2774 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
2777 When completing from the macro list, put the cursor after
2781 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2783 * tagmanager/pascal.c:
2784 Fix type definitions being parsed as functions.
2786 Don't autocomplete in unterminated strings as well.
2787 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
2788 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
2789 Remove data_ptr argument to foreach_[s]list() macros, as using
2790 node->data is enough sometimes; this makes the macro a bit more
2792 Add foreach_[s]list() macros to the plugin API docs.
2795 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2797 * scintilla/LexPascal.cxx:
2798 Backport fix from Scintilla CVS:
2799 Pascal lexer hanging on file that starts with 'interface' after
2803 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2806 Update Waf to 1.5.7.
2808 Overwrite installation prefix on Windows only if it wasn't
2809 specified explicitly.
2812 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2815 Display calltips for Pascal symbols in the Pascal way (#2803945).
2816 * tagmanager/pascal.c:
2817 Fix wrongly set return values for procedures (closes #2803945).
2818 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
2819 tagmanager/include/tm_source_file.h,
2820 tagmanager/include/tm_workspace.h:
2821 Fix doxygen warnings.
2824 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2826 * src/editor.c, tagmanager/include/tm_workspace.h,
2827 tagmanager/tm_workspace.c, TODO:
2828 Autocomplete scoped fields like struct members when typing '.' (and
2829 also '->' or '::' in C/C++).
2830 Save all tag types for C/C++ when generating a global tags file, so
2831 we can use autocompletion for structs also.
2832 Merge tm_workspace_find_scope_members(),
2833 tm_workspace_find_namespace_members() (currently not built) from
2834 Anjuta 2.24.1 tagmanager.
2837 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2839 * tagmanager/pascal.c:
2840 Parse Pascal calltips (closes #2802640).
2843 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2845 * src/filetypes.c, src/ui_utils.c:
2846 Add filetypes.common Configuration Files menu item.
2849 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2852 Add backslash to the wordchars on Windows when using
2853 'Open Selected File'.
2855 Add support (configure, build and install) for building on Windows
2856 and cross-compiling for Windows using the Waf build system.
2859 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2862 Set status bar text instead of showing a dialog when saving
2863 ui_toolbar.xml because the user might save several times.
2865 Fix redrawing due to colourising just after the document is first
2866 drawn. Now colourising should happen before the first draw.
2867 * src/utils.c, src/highlighting.c, data/filetypes.common:
2868 Fix segfault on parsing a filetypes.* style definition that has < 4
2870 Allow style definitions to have missing fields to use the default
2874 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2876 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
2877 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
2878 * plugins/classbuilder.c:
2879 Fix wrongly created header guards when the class filenames contains
2880 dashes (patch by PCMan, thanks).
2881 * data/filetypes.matlab:
2882 Add build_settings section to allow executing Matlab scripts.
2884 When closing a document, mark it as invalid before removing it from
2885 the documents notebook (this fixes wrong Save All button state when
2886 closing an unsaved document because the "switch-page" signal handler
2887 was using old data).
2890 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2892 * src/highlighting.c, doc/geany.txt, doc/geany.html:
2893 Support toggling bold/italic when using a named style, e.g.:
2894 commentdockeyword=commentdoc,bold,italic
2895 Improve named style docs.
2898 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2900 * src/build.c, src/editor.c:
2901 Fix crashes when parsing the output of a compiler which reports
2905 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2907 * src/highlighting.c:
2908 Support named styles also for filetypes.common [styling] entries.
2909 * doc/geany.txt, doc/geany.html, HACKING:
2910 Update docs for named styles in filetypes.* files.
2912 Fix grouping symbol list children when parent name has "." character
2913 in for reStructuredText and Conf filetypes.
2914 * tagmanager/python.c:
2915 Fix grouping functions/classes under a nested function.
2918 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2921 Adjust icon paths (patch by Dominic Hopf, thanks).
2922 * doc/geany.txt, doc/geany.html, src/toolbar.c:
2923 Add 'Replace' toolbar button (closes #2798225).
2926 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2928 * src/utils.c, src/highlighting.c, TODO:
2929 Implement named styles support for filetypes.* using a
2930 filetypes.common [named_styles] section e.g.:
2931 foo=0xc00000;0xffffff;false;true
2933 These can be used in e.g. filetypes.c as:
2937 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2940 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
2943 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2945 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
2946 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
2949 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2952 Remove quote_executable() as it is not used anymore.
2953 When creating the geany_run_script.bat use the "%0" variable
2954 expansion and quote it for the "del" command (closes #2797172).
2956 On Windows, fallback to the literal build command line if searching
2957 for the command in the system path failed (related to #2795923).
2958 Properly terminate the resulting strings when reading the stdout
2959 and stderr of any spawned commands on Windows.
2962 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2965 Use the wide character versions of native Windows File dialogs.
2967 Fix wrong initialisation of the default project path button callback
2968 in the preferences dialog.
2969 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
2970 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
2971 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
2972 icons/Makefile.am, icons/geany.ico, icons/scalable,
2973 icons/scalable/Makefile.am, icons/scalable/geany.svg,
2975 Move the icons geany.png and geany.ico into the icons directory.
2976 Add a 16x16 pixel Geany icon and the scalable SVG icon.
2977 Drop the pixmaps directory.
2980 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2982 * src/keybindings.c:
2983 Improve MRU document switching so there are no duplicates in the
2984 list and documents switched to whilst the dialog is open are
2985 ignored. Also beep when cycling through to the first document in the
2989 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2992 Fix broken 'Cancel' button in the Save As dialog.
2995 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2998 Fix multiline indent when selection covers text on the last line.
3000 Show current document in bold in tab popup menu.
3001 * src/editor.c, tagmanager/python.c, TODO:
3002 Parse Python calltips.
3005 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3007 * src/symbols.c, tagmanager/python.c:
3008 Parse Python import statements to get symbol completion for the
3009 imported module names.
3010 * src/editor.c, src/editor.h:
3011 Make some only locally used functions static.
3012 Fix wrong sanity check.
3014 Fix quoting the build command string on Windows (closes #2791769).
3015 This broke when we made build commands run synchronously on Windows,
3016 now we don't need to special quote the commands anymore.
3019 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3022 Drop rest of word to the right of cursor when autocompleting (do we
3023 need a pref for this?).
3026 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3028 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
3029 Add sci_set_selection().
3030 * doc/geany.txt, doc/geany.html:
3031 Update manual for MRU switching.
3032 * src/callbacks.c, src/editor.c, src/editor.h:
3033 Make indenting with the Tabs indent type preserve spaces on the line,
3034 so it works for the 'tab indents, space aligns' formatting style.
3037 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3039 * tagmanager/python.c:
3040 Fix missing symbols for variables when an equal sign is used
3041 in a comment on the same line as the variable declaration.
3042 Backport change from CTags SVN to keep the parser more in sync:
3043 Add support for Cython constructs to the Python parser.
3045 Remember the additional Find in Files search flags at startup.
3047 Don't close the Save As dialog when saving the file didn't succeed.
3050 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3053 Remember scribble cursor position.
3054 * src/keybindings.c, TODO:
3055 Implement Most-Recently-Used document switching when pressing
3056 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
3059 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3061 * data/latex.tags: Added some more commands from unit.sty and
3065 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3067 * src/symbols.c, doc/geany.txt, doc/geany.html,
3068 tagmanager/makefile.win32, tagmanager/nestlevel.c,
3069 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
3070 tagmanager/Makefile.am, wscript:
3071 Merge unstable branch:
3072 Add reStructuredText scope information for tags (for symbol list
3074 Read custom system global tags files from $prefix/share/geany/tags;
3076 Show the number of tags in a user global tags file (instead of the
3077 running total) in the debug message.
3078 Also print debug messages when loading a tag file manually or for
3079 default global tags files e.g. python.tags.
3081 Move NestingLevel tags code into a separate file, add functions.
3083 Add 'Installation prefix' section instead of quoting '/usr/local'
3085 Update for custom system global tags files.
3088 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3090 * src/highlighting.c:
3091 Unset maybe previously keywords when setting up Scintilla for
3092 XML files. This fixed wrong highlighting after switching back to
3093 filetype XML from another one.
3095 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
3096 is only used when explicitly requested.
3098 Remove unnecessary call to g_intern_string() to fix build with
3099 GLib 2.8 (closes #2790051).
3102 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3105 Make the clear icon of entry fields act on the release event, not
3106 on the press event like for other buttons.
3108 Refactor some multiple used code into get_multiline_comment_style().
3110 Create parent directories if necessary when checking for the
3111 configuration directory on startup (closes #2784577).
3114 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3116 * plugins/filebrowser.c:
3117 When a filter is set, apply it only to files, not directories and
3118 apply the filter to the UTF-8 name of the file as the filter string
3119 itself is also UTF-8.
3120 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
3121 Add utils_color_invert() and use it in highlighting.c and printing.c.
3122 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
3123 Backport change from Scintilla CVS:
3124 Change capitalisation of header file to suit cross-compilation on
3128 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3130 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
3131 Update Scintilla to version 1.78.
3132 * src/editor.c, src/highlighting.c:
3133 Update Pascal styles as they changed in Scintilla.
3136 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3139 Ignore the invert syntax highlighting colours setting when printing
3140 to not print characters on a dark background (closes #2785244).
3141 * New release: Geany 0.17 "Wessex".
3142 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3143 src/geany.h, doc/geany.html, doc/geany.txt:
3144 Post-release version bump.
3147 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3149 * src/callbacks.c, src/callbacks.h, src/main.c:
3150 Update the View->Fullscreen menu item when fullscreen state is
3151 changed externally (e.g. by the window manager).
3153 Fix passing wrong pointer to the File Open dialog for the Run
3154 command in the Project Properties dialog.
3157 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3159 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
3161 Remember the active sidebar page between sessions.
3163 Add a recent project item after creating a new project.
3164 * tagmanager/ruby.c:
3165 Fix wrong parsing of string literals (closes #2781264).
3167 Fix setting focus to the editor widget after changing the selection
3171 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3174 Prevent crashes when two or more top level items in the symbol
3175 list have the same name (closes #2778246).
3178 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3180 * src/keybindings.c:
3181 Manually show the main notebook tab bar menu when Shift-F10 is
3182 pressed. This broke when we disabled the default GTK tab bar menu.
3184 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
3185 which was reloaded shortly before.
3187 When the editor menu is opened by the Menu key, use the text cursor
3188 position for retrieving the current word. This fixes disabled
3189 Go to Tag items in the menu (#2780044).
3191 Set the "ellipsize" property of GtkCellRendererText to automatically
3192 shorten the path and file names in the Documents list.
3193 * doc/geany.html, doc/geany.txt, src/build.h:
3194 Increase the amount of highlighted build error messages to 100.
3195 At least for LaTeX we need higher values as there is a lot of
3196 informative output before any errors are reported.
3197 * src/filebrowser.c:
3198 Use the startup path as the initial directory for the filebrowser
3199 plugin when no project and no files are opened
3200 (patch by Matias Gea, thanks; closes #2780521).
3203 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3205 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
3206 src/utils.c, src/utils.h:
3207 Ellipsize tab labels and some status messages for very long
3208 filenames (closes #2777348).
3209 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
3210 Add utils_str_middle_truncate() and
3211 document_get_basename_for_display() to the plugin API.
3212 * doc/geany.html, doc/geany.txt, src/toolbar.c:
3213 Add new toolbar element: Print (patch by Roland Baudin, thanks).
3214 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
3216 Add a hidden preference 'use_safe_file_saving' to save files to disk
3217 by creating a temporary file first. This has serious side effects,
3218 please read the documentation before enabling this.
3220 Make build commands on Windows run synchronously to avoid problems
3221 with reading build commands' output.
3222 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
3223 Limit the amount of highlighted build error messages in the
3224 Compiler window to 50 for performance reasons.
3227 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3229 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
3231 Replace our own GEANY_KEYS_MODIFIER_MASK by
3232 gtk_accelerator_get_default_mod_mask() which gives the same result.
3233 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3234 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
3235 Add a trivial symbol parser for NSIS files.
3238 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3241 Hide the extra file open dialog options in an expander to make the
3242 dialog more compact by default and to provide more space for the
3244 Remove the filename field as it is also provided by GTK itself with
3245 more features like auto-completion.
3246 Watch the 'show-hidden' property of the file chooser widget using
3247 GObject's "notify" signal which gives accurate results and remove
3248 the hack using the "selection-changed" signal.
3251 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3253 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
3254 Prevent double execution of radio menu item "activate" or "toggled"
3256 Move 'Set Encoding' callback function into encodings.c.
3259 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3262 Add some missing 'void's in function definitions.
3263 If the project base path is './', just use the path of the project
3264 config file instead of appending './'.
3265 * src/treeviews.c, src/project.c:
3266 When a project is loaded, replace the project base path with the
3267 project name in the Documents sidebar for parent items
3271 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3273 * src/keyfile.c, src/keyfile.h, src/project.c:
3274 Fix duplicating the recent files and projects lists when closing
3276 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3277 src/editor.c, src/encodings.c, src/filetypes.c,
3278 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3279 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
3280 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
3281 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
3282 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
3283 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
3284 Remove all G_LIKELY macros inside g_return_if_fail() statements as
3286 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
3287 sense to keep the code more readable.
3290 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3293 When updating global type definitions for opened documents, take
3294 also C++ namespace symbols into account and don't ignore symbols
3295 which are defined inside a scope.
3298 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3301 Don't show 'plugin is not binary compatible' messages on the status
3302 bar, only the status window.
3305 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3308 When opening files from a remote instance on X11, set the window
3309 server time to encourage window managers to pop up the main window
3310 (related to #2735467 and #2276179).
3312 When finished sending filenames to a remote instance, notify the
3313 environment that we finished starting up.
3316 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3318 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
3319 Sort Configuration Files menu.
3320 Add ui_menu_sort_by_label().
3321 Add foreach_list() macro.
3326 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3329 Fix setting a wrong default window size when starting without an
3330 existing configuration.
3331 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
3332 Make editor_highlight_braces() static.
3333 Remove unused wrapper functions.
3334 * src/editor.c, src/symbols.c, src/symbols.h:
3335 Prevent showing an empty macro list.
3336 Show only macros of the same filetype instead of all macros of all
3339 Don't add opened project files to the GtkRecentManager.
3342 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3345 Add Configuration Files item for snippets.conf.
3346 * src/highlighting.c, src/symbols.c:
3347 Fix 2 old uses of filetype IDs.
3350 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3352 * src/interface.c, src/printing.c, geany.glade:
3353 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
3356 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3359 Add sanity checks in ui_lookup_widget() just to be safe.
3360 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
3361 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
3362 src/project.h, src/ui_utils.c, src/ui_utils.h:
3363 Add "Recent Projects" menu to the Project menu
3364 (#2728630, patch by Elias Pschernig, thanks).
3365 * doc/geany.txt, doc/geany.html:
3366 Describe how to build Geany using the Waf build system.
3367 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3368 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
3369 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3370 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
3371 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
3372 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
3373 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
3374 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
3375 src/utils.c, src/utils.h, src/vte.c:
3376 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
3377 performance when building the code with gcc.
3378 * src/highlighting.c:
3379 Fix typo in the G_LIKELY checks, introduced in last commit.
3380 Fix the size of the styles array.
3382 Show a message dialog when renaming a file fails.
3385 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3388 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
3389 (as we did for all other files in SVN r3382).
3392 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3394 * src/filetypes.c, doc/geany.txt:
3395 Move ActionScript to the Script group.
3397 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
3398 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
3399 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
3400 plugins/htmlchars.c:
3401 Merge reorder-filetypes branch:
3402 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
3403 append randomly without breaking the ABI).
3404 Make None filetype name = title = _("None").
3405 Add foreach_slist() macro.
3406 Add filetypes_by_title list to GeanyData for plugin API access
3407 - a list of filetype pointers, which includes the None filetype
3408 first. This list stays constant by the time plugins are initialized,
3409 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
3410 index the sorted list.
3413 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3415 * doc/geany.txt, doc/geany.html, src/main.c:
3416 Add widget names for the menubar and toolbar.
3418 When hiding the messages window, set the input focus back to the
3419 editor widget (part of #1910393).
3422 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3424 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
3425 Backport recent changes from Scintilla CVS to add partial support
3426 for RFC2822 styled text using the Properties lexer.
3427 Ignore leading whitespace for config files and RFC2822 text.
3428 * data/filetypes.actionscript:
3429 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
3430 * THANKS, src/treeviews.c:
3431 Display file/directory icons in the Documents sidebar
3432 (patch by Simon Treny, thanks).
3435 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3437 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3438 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
3439 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
3440 Add an option to allow appending the toolbar to the main menu bar
3441 to save some vertical space.
3442 Allow setting toolbar icon size to very small (menu icon size).
3445 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3447 * src/keyfile.c, src/utils.c, src/utils.h:
3448 Add utils_path_skip_root(), a relative path safe variant of
3449 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
3450 * src/keyfile.c, src/main.c:
3451 Allow negative window coordinates when saving and restoring the
3452 position of the main window.
3453 Restore the main window position and size *after* the window has
3454 been realised to get it positioned accordingly
3455 (this affects at least Windows).
3458 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3460 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
3461 Use g_win32_get_package_installation_directory_of_module() on Windows
3462 with newer GLib versions instead of deprecated API.
3463 * src/keybindings.c:
3464 Don't manage the last used documents list when quitting to prevent
3465 errors by accessing invalid memory (may close #2533990).
3468 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3471 Delete the geany_run_script.sh immediately after execution
3472 to prevent leaking old copies when the script was quit unexpectedly
3473 (closes #2710482, patch by Martin Olsson, thanks).
3475 Check whether skipping the root element of a document's filename
3476 succeeded and use the filename itself if not (e.g. on relative
3477 filenames, #2702844).
3478 Use the locale encoded filename when saving session files.
3480 Re-set the quitting status after all documents have been closed on
3484 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3486 * plugins/htmlchars.c:
3487 Remove usage of deprecated sci_get_selected_text() from plugin.
3490 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3493 Delay disk file checks when switching between documents a little
3494 bit to avoid fast, unintentional page switching in some cases.
3495 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
3496 src/sciwrappers.c, src/sciwrappers.h:
3497 Deprecate sci_get_text(), sci_get_selected_text() and
3498 sci_get_text_range().
3499 Add sci_get_contents(), sci_get_contents_range() and
3500 sci_get_selection_contents() as replacement functions to provide
3501 an easier and cleaner API (initial patch by Frank).
3504 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3507 Fix wrong parsing of CSS tags when the definition block starts on
3508 a new line (reported by Dominic Hopf, thanks).
3511 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3513 * plugins/htmlchars.c:
3514 Extend plugin by feature to bulk replace and replace on input for
3515 special characters to their HTML entities.
3518 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3521 Update build menu items after changing anything in the
3522 'Set Includes and Arguments' dialog.
3523 Disable Compile/Run buttons/menu items when Compile/Run commands are
3525 Reset current build directory to the base directory after reading a
3526 "Leaving directory" message when parsing Make output
3527 (closes #2694479, patch by Andrea Mazzoleni, thanks).
3529 Fix wrong display of the filename in the tab bar menu for new files.
3531 Set the initial directory for the Save As dialog only once on
3533 Add a shortcut of the project's base directory to the
3534 File Open/Save As dialogs when a project is open for faster access.
3535 * src/splitwindow.c:
3536 Add keybindings for the split actions.
3539 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3542 When using Find All in the Find dialog (in Session and Document),
3543 display the right amount of matches.
3544 Fix the display of the matches once per line (I broke the original
3547 Fix wrong directory selection behaviour in all Open Folder dialogs
3548 (closes #2688020, patch by Marcel Stimberg, thanks).
3550 Don't present the main window of a running instance when starting
3551 a second instance separately.
3554 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3557 Reduce default file permissions on the Unix Domain socket file
3558 (reported by Jörg Sommer, thanks).
3561 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3563 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
3564 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
3566 Add an option to set an additional plugin lookup path.
3568 When using Find All in the Find dialog, display matches only once
3569 per line in the messages window (patch by Bert Vermeulen, thanks).
3572 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3574 * data/filetype_extensions.conf, data/filetypes.actionscript,
3575 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
3576 src/highlighting.c, src/plugindata.h, src/symbols.c,
3577 tagmanager/Makefile.am, tagmanager/actionscript.c,
3578 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
3579 Add filetype ActionScript (patch by Chris Macksey, thanks).
3580 Update type keywords only for real C-like languages.
3581 Fix wrong sorting of Assembler and Ada filetypes.
3582 * plugins/classbuilder.c:
3583 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
3584 Other minor cleanups.
3587 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3590 Don't use menu item images for the tab bar menu to save some
3592 * data/filetypes.fortran, tagmanager/fortran.c:
3593 Add keyword 'extends' and fix Fortran parser to support the
3594 'extends' keyword (closes #2654492).
3595 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
3596 src/search.c, src/toolbar.c:
3600 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3602 * src/about.c, THANKS:
3603 Added Jari Rahkonen to list of Finnish translators.
3606 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3609 Adjust minimum required GTK version.
3610 * src/Makefile.am, wscript:
3611 Add main.h to the list of installed header files.
3612 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
3613 src/notebook.c, src/ui_utils.c:
3614 Remove GeanyDocumentPrivate::tabmenu_label.
3615 Disable the default tab bar menu for the main notebook widget and
3616 use a custom menu instead which lists all open files as usual plus
3617 'Close Other Documents' and 'Close All' menu items.
3620 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3622 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
3623 Move ui_set_search_entry_background() into ui_utils.c.
3624 Change the background colour of the search entries in the Find
3625 and Replace dialogs according to the search results like in the
3626 toolbar search field.
3627 Add images to the 'Replace' and 'Replace and Find' buttons in the
3629 Minor cleanups in search.c.
3630 * tagmanager/tm_source_file.c:
3631 Update source files upon creation.
3633 Update C tags for glibc 2.9.
3634 * src/callbacks.c, src/toolbar.c:
3635 Fix broken non-incremental search with the toolbar search entry when
3636 pressing Enter (closes #2638180).
3637 * plugins/splitwindow.c:
3638 Fix possible crash on non-32-bit systems (patch by
3639 Wolfgang Ocker, thanks).
3641 Update the Packager tag due to Dominic's various contributions.
3642 Update description and feature list.
3643 Change Source tag to the gzip'ed tarball to be in sync with the
3644 Makefile target (thanks to Wolfgang Ocker for reporting).
3647 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3649 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
3650 Removed deprecated plugin VC Diff
3653 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3656 Fix wrong Fortran 90 comment characters when inserting templates.
3657 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3658 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
3659 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
3661 Add 'Send Selection to Terminal' command to the Edit->Format menu
3662 (initial patch by David Gleich, thanks).
3663 * geany.glade, src/interface.c:
3664 Fix mnemonic for the Edit->Preferences menu item.
3667 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3669 * configure.in, plugins/Makefile.am:
3670 Enable socket support when cross-compiling.
3671 Enable plugin compilation when cross-compiling.
3673 Fix missing NULL checks when reading the colour value of compiler
3675 * src/main.c, src/win32.c, src/win32.h:
3676 On Windows, change the working directory to the Geany installation
3677 path at startup to avoid unwanted directory locking(closes #2626124).
3679 Fix broken selection of "Document->Set Encoding" menu items.
3680 * src/document.c, tagmanager/include/tm_source_file.h,
3681 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
3682 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
3683 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
3684 Don't let the tagmanager automatically reparse files if they
3685 seem to be changed on disk (affects all files in the current session,
3686 not the current one). This should speed up file saving a little bit,
3687 especially with remote files.
3688 Remove now unnecessary calls to tm_workspace_update().
3690 Allow an empty value for the date format in the print settings to
3691 omit the date/time string in the print header.
3694 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3696 * src/editor.c: Set cursor for LaTeX at auto closing of environment
3700 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3703 Add missing header include (closes #2615808).
3706 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3709 Fix a possible crash when comparing symbol names
3710 (could be related to Ubuntu bug #147151).
3711 Fix broken symbol list tooltips when tag names contain ampersands.
3714 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3716 * plugins/makefile.win32:
3717 Don't build Split Window plugin on Windows (doesn't work).
3720 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3722 * ChangeLog, Makefile.am: Rotate ChangeLog.
3723 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
3724 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
3725 Post-release version bump.
3728 *** See ChangeLog.pre-0-17 for earlier changes ***