1 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
4 src/geanyentryaction.c, src/geanyentryaction.h,
6 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
10 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
12 * plugins/classbuilder.c:
13 Beep if the user hasn't entered a class name on pressing OK.
15 Fix replacing '^' regex.
16 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
17 plugins/geanyfunctions.h:
18 Add Stash widget functions to API.
20 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
24 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
27 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
29 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
30 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
31 plugins/geanyfunctions.h, plugins/geanyplugin.h:
32 Add Stash setting functions to API.
33 Remove unnecessary argument to stash_group_load_from_file().
34 * src/geanyobject.c, plugins/classbuilder.c:
35 Don't generate FOO_GET_PRIVATE() macro because caching the result
36 in Foo::priv can be much more efficient.
39 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
42 Fix cursor positioning when toggling comments
43 (patch by Thomas Martitz, thanks).
46 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
48 * src/keybindings.[hc]:
49 Added Control+0 for zoom reset, see suggestion from #2969886.
52 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
54 * src/search.c, src/document.c:
55 Fix wrong selection range after Replace in Selection.
58 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
61 Make CreateChildProcess() working with Unicode strings, e.g.
62 directory names (closes #2972606).
64 Remove reference to already removed latex.tags file.
65 Future releases probably still depend on GTK 2.16.
66 * scintilla/ScintillaGTK.cxx:
67 Backport fix from Scintilla CVS to not paste text beyond the end
68 of lines (closes #2969096).
69 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
71 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
72 to not set Geany's minimum window size anymore (closes #2972992).
73 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
76 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
79 Make adding string and string vector settings initialise the setting
81 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
82 Add stash_group_load_from_file() and stash_group_save_to_file().
85 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
87 * data/filetypes.common:
88 Set default for wrapped lines to show marker at end of line only
89 (more expected and doesn't change line alignment - closes #2972386).
90 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
91 src/pluginutils.c, doc/plugins.dox:
92 Improve API docs contents page by listing all commonly-used files.
93 Fix 'Date' appearing twice on the date line.
94 Don't generate API docs for prefs.h, toolbar.h (unused).
95 Move some '@file' doc-comments to the .c file.
96 * src/interface.c, geany.glade:
97 Add frame for 'Printing' prefs dialog page.
98 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
99 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
101 Rename Stash data types to be independently named from Geany (so
102 Stash can be reused for other projects).
103 Rename GeanyPrefGroup to StashGroup.
106 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
108 * tagmanager/python.c:
109 Apply patch from Colomban Wendling to parse Python lambda functions
110 (thanks) - modified to only parse toplevel or class member lambdas.
111 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
113 Add doc-comments for Stash setting functions.
114 Add an example file showing usage of Stash.
115 (Not enabled yet until added to the plugin API).
118 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
121 Fix using return value without checking return status, caused
122 incorrect sensitivity settings on build dialog.
125 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
128 Add tip about gcc optimization & warnings/debugging.
130 Update Libraries section about synchronizing with other projects.
133 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
136 For now revert the recent patch which set real_path of newly
137 open non-existent configuration files as this seems hackish and
138 causes 'file not found' warnings.
140 Fix/Improve GIT repository detection
141 (patch by Thomas Martitz, thanks).
142 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
144 Add utils_copy_environment() to the plugin API.
147 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
149 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
150 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
152 Use 3rd person for more API dox.
153 Change 'This is a wrapper function for...' to 'Wraps...' in brief
155 Change 'After all...' to 'Afterwards...'.
156 * src/interface.c, geany.glade:
157 Apply patch from Eugene Arshinov to make frame packing/alignment
158 more consistent (thanks).
161 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
164 Fix ui_button_new_with_image() to call gtk_button_set_image() so
165 that gtk_button_[sg]et_label() work as expected.
166 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
167 Make Build Commands dialog show menu item labels as a button (to
168 help show that menu labels don't normally need to be edited &
169 display the mnemonic correctly). Clicking shows an input dialog to
170 set a new menu item label.
171 Split dialogs_show_input() into 2 functions: one simple, one for
173 Fix possible double-destroy of input dialog when closed by user.
175 Fix not destroying 'Make Custom Target' input dialog after first
178 Make Long Line Marker settings for existing projects default to
179 general settings instead of 0 (thanks to Eugene Arshinov).
180 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
181 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
182 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
183 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
184 Use 3rd person (gets not get) for API function brief descriptions.
185 Avoid using 'convenience function' in API brief descriptions.
188 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
190 * doc/geany.txt, doc/geany.html:
191 Warn about some GNU extensions for regular expressions & clarify
193 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
194 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
195 src/editor.h, geany.glade:
196 Apply patch from Eugene Arshinov to add project long line marker
197 customisation (thanks).
198 * src/interface.c, geany.glade:
199 Edit/tidy 'Long line marker' labels.
202 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
204 * src/build.c, src/project.c:
205 Fix crash due to NULL in project build preferences (thanks to
209 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
211 * src/utils.c, src/utils.h, src/search.c, src/search.h,
212 src/document.c, doc/geany.txt, doc/geany.html:
213 Merge gnu-regex branch:
214 Use POSIX system/GNU regex engine for find & replace 'Use regular
215 expressions' option. This alters regex syntax a bit - see the docs
216 for details; we now support '?' operator and replacement backslash
217 escaping is more standard.
218 Make regex search imply replacing escaped chars.
219 Allow \0 backreference replacement for the whole match.
220 Note: Replace All may be slower; if this is a problem please let me
223 Add argument to utils_str_replace_escape() for keeping
224 uninterpreted backslash escapes e.g. '\\', '\e'.
225 * scintilla/LexMarkdown.cxx:
226 Backport minor formatting/style changes from Scintilla project.
227 * doc/geany.txt, doc/geany.html:
228 Remove warning about no visual indication for zero-column-mode
232 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
235 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
238 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
240 * wscript, scintilla/*, scintilla/include/*:
241 Update Scintilla to version 2.03.
242 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
243 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
244 Add preference for virtual spaces.
246 Fix wrong default response for the Debug Messages dialog.
248 Fix crashes when using Save As with no open files (closes #2964406).
250 Fix duplicate mnemonics on 'Resave missing file' dialog, also
251 move the question from the secondary to the main text to be
252 more compatible with the Gnome HIG.
253 Fix broken 'Save' action in 'Resave missing file' dialog.
255 Improve PHP parser to parse also the argument lists of PHP functions.
257 Correctly set the parent widget for the keybinding overwrite
260 Fix setting the icon for some dialogs if the parent itself is also
263 When editing non-existent config files using the Tools->Configuration
264 Files menu, explicitly set the real_path to avoid presenting the Save
265 As dialog when saving the file (patch by Tony Rick, thanks).
267 Focus the editor widget after hiding the sidebar when it had the
268 input focus (patch by Can Koy, thanks).
269 Properly show/hide the mesages window when using the View menu item
271 * plugins/filebrowser.c:
272 After opening files, focus the editor widget
273 (based on a patch by Can Koy, thanks).
274 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
275 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
276 src/ui_utils.h, src/vte.c:
277 Add and use convenience function ui_is_keyval_enter_or_return() and
278 add it to the plugin API.
281 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
283 * src/about.c, THANKS, po/ast.po:
284 Added Asturian translation. Thanks to Marcos Costales for providing.
287 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
290 Fix keyboard accelerators in debug messages window
294 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
296 * scintilla/LexR.cxx:
297 Backport R lexer from Scintilla CVS to fix case sensitive keywords
298 (Scintilla bug #2956543).
299 * src/sidebar.c, src/about.c, THANKS:
300 Make Space on the symbol and document list not focus the editor
301 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
302 * src/document.c, src/document.h:
303 Fix document_try_focus() to make it work with the sidebar document
305 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
306 Make Space on the compiler and messages widgets not focus the editor
307 widget while Enter does (patch by Can Koy, thanks).
309 Fix wrongly auto-detected multiline comments
310 (patch by Eugene Arshinov, thanks).
313 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
316 Show number of lines of current document inside statusbar. Thanks to
317 Can Koy for providing the patch.
320 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
322 * src/keybindings.c, doc/geany.txt, doc/geany.html:
323 Make Switch to Editor keybinding reshow the document statistics
324 line, so user doesn't have to move the cursor.
327 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
330 Update keywords for the R language (patch by Jon Senior, thanks).
333 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
336 Fix the instruction how to insert unicode characters
340 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
342 * scripts/create_py_tags.py:
344 Replace tabs by spaces.
347 Replace tabs by spaces.
348 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
349 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
350 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
351 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
352 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
353 src/plugindata.h, src/sidebar.c, src/sidebar.h:
354 Add keybindings to switch to the sidebar's Document and Symbol list
355 as well as to the Message Window's current tab
356 (patch by Eugene Arshinov, thanks).
358 Update primary keywords for the R language
359 (patch by Jon Senior, thanks).
362 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
365 Add more detailed hints about reloading configuration
366 (thanks to Tony Rick).
367 * data/filetypes.javascript:
368 Correct the keyword list for JavaScript (thanks to Jonas).
371 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
373 * New release: Geany 0.18.1 "Balfour".
376 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
379 Add special cases for handling the Select All keybinding (Ctrl-A) in
380 the toolbar search and goto line text entries (closes #2948040).
381 Strip trailing spaces after reflowing a paragraph, patch by
382 Dominik Wagenfuehr, thanks (closes #2945497).
385 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
387 * src/geanymenubuttonaction.c, src/templates.c:
388 Partly revert last commit:
389 Unref the new files toolbar menu when freeing templates as it
390 was done before but unref it *after* the menu has been removed
391 from the GeanyMenuButtonAction.
393 Fix possible endless loop when trying to detect the encoding of
394 non-text files (patch by Alexey Antipov, thanks).
397 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
400 Allow saving remote files using g_file_set_contents() as well
401 (patch by Алексей Антипов, thanks).
402 * data/filetypes.python:
403 Adjust style for secondary keywords to be less aggressive.
404 Add Python 2.5 builtins keywords.
405 * src/geanymenubuttonaction.c, src/templates.c:
406 Unref the new files toolbar menu when setting a new menu to fix
407 possible crashes when reloading configuration.
409 When reloading configuration, process the current document at last
410 so the symbol list will be updated correctly.
413 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
416 Explicitly read filetype configuration files before generating
417 global tags to get settings for custom filetypes.
420 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
423 Fix GLib warning when toggling 'no plugins available' item.
426 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
429 Include geany.ico in the distribution tarball.
431 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
432 * scripts/create_py_tags.py:
433 Make the script a bit more robust with newer Python versions.
435 Use utils_spawn_sync() instead of g_spawn_sync().
438 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
441 Close meta tag for export date properly.
444 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
447 Update RPM Spec file (patch by Dominic Hopf, thanks).
450 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
453 Fix renaming sci_send_message(), sci_send_command() function pointers.
456 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
458 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
459 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
460 plugins/geanyfunctions.h, plugins/Makefile.am,
461 plugins/pluginmacros.h, plugins/genapi.py, ChangeLog, wscript:
462 Use full function name for GeanyFunctions function pointers. This
463 avoids naming conflicts e.g. with C++'s 'new' keyword.
464 Remove deprecated header pluginmacros.h - use geanyfunctions.h instead.
467 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
469 * src/utils.c, src/utils.h, src/vte.c:
470 Add utils_copy_environment() and make use of it.
471 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
472 src/editor.c, src/templates.c, src/templates.h:
473 Add new special template wildcard "{command:...}" to use the
474 output of a command in templates.
475 Adjust template functions to mostly work with GeanyDocuments.
476 Minor cleanups in the template code.
478 Replace the old icons with smiley icons from the Rodent icon theme.
479 Fix showing the same icon for two or more slots.
481 * src/editor.c, src/editor.h, src/keybindings.c:
482 Rename fold_symbol_click() to editor_toggle_fold().
483 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
484 was used to respect the 'Fold/unfold all children' preference
488 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
491 Prevent possible segfault in get_build_group().
493 Fix GLib warning & beep if trying to insert multiline comment for a
494 filetype that doesn't support it.
497 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
500 Add gcc commands to build a plugin to the HowTo.
501 * src/search.c, src/document.c, src/document.h:
502 Show 'Replaced X matches in Y documents' message when using Replace in
506 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
508 * scripts/plugin_test.c:
509 Add a little test program which can load and test Geany plugins to
510 verify it is loadable at runtime and all necessary symbols are
512 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
514 Add new signal: "geany-startup-complete" which is sent once all
515 initialization and startup tasks has been done.
516 * README.I18N, configure.ac, wscript, po/LINGUAS:
517 Remove po/LINGUAS from the repository.
518 Generate it automatically if needed by reading available
519 message catalogs from the po directory.
520 Also respect the LINGUAS environment variable properly.
523 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
526 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
530 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
532 * src/editor.c, src/templates.c, src/templates.h:
533 Refactor templates_replace_all() into templates_replace_valist()
534 to save some code duplication.
537 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
539 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
540 src/plugindata.h, src/plugins.c:
541 Add editor_insert_text_block() to plugin API.
544 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
547 Update copyright information.
548 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
549 doc/geany.txt, doc/geany.html:
550 Add keybinding to open the last closed tab (closes #2912692).
553 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
555 * autogen.sh, configure.in, configure.ac:
556 Rename configure.in to configure.ac.
557 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
559 Add sci_find_text() to the plugin API.
560 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
561 src/interface.c, src/prefs.c:
562 Add a checkbox in the preferences dialog to explicitly toggle
563 the visibility of the sidebar (closes #2923340).
566 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
568 * src/editor.c, src/plugins.c, src/plugindata.h,
569 plugins/geanyfunctions.h:
570 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
571 editor_get_eol_char() to the plugin API.
572 * src/callbacks.c, src/plugins.c, src/plugins.h:
573 Fix sensitivity of the Edit->Plugin Preferences menu item
574 if plugins are loaded which do not provide a configuration dialog.
575 * scripts/create_py_tags.py:
576 Rewrite and extend the Python tags parsing script to use
577 Python's inspect module to read symbols from Python modules
578 including scope information.
579 * data/filetypes.restructuredtext:
580 Add the default comment character sequence for reStructuredText.
582 Show the Find/Goto dialogs if the corresponding toolbar buttons are
583 clicked but their text fields are not part of the toolbar (#2920807).
584 * data/filetypes.common, doc/geany.html, doc/geany.txt,
586 Add new style to change foreground and background colours for
587 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
589 Remember the window position of the Find, Replace and Find in Files
590 dialogs (closes #2877988).
593 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
596 Fix a minor typo inside plugin API reference.
599 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
601 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
602 Make dialogs_show_prompt() more flexible to take up to three
603 button/response code pairs to be shown.
604 Add a close button to the dialog when asking to Re-Save a
606 (closes #2916954, based on a patch by Dominik Stadler, thanks).
608 Fix LaTeX environment auto completion with CR/LF line endings.
609 Add some sanity checks.
611 When closing a document after it was deleted from the filesystem,
612 don't ask whether it should be saved first.
613 Mark the document only as changed if it is not closed afterwards.
614 Prevent possible segfaults if the document was closed when it is
615 missing from the filesystem.
616 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
617 src/msgwindow.h, src/prefs.c:
618 Add MessageWindow::scribble and use it instead of searching the
619 widget pointer everytime.
620 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
621 Add preferences for hiding single tabs from the messages window
622 (no GUI preferences yet, still to be implemented).
623 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
624 Set the correct parent window for the toolbar editor
625 dialog (closes #2913334).
626 * src/win32.c, src/win32.h, src/ui_utils.c:
627 Rename win32_show_project_folder_dialog() to
628 win32_show_folder_dialog() as it is not related and not used by any
629 project management related code.
630 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
631 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
632 as it is specialised for opening documents.
633 Implement win32_show_file_dialog() as a generic file open dialog and
634 use it with ui_path_box_new().
637 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
640 Extend auto_latex() function to check whether an environment has been
641 closed within the next lines to avoid auto adding double \end{}.
643 Remove LaTeX tags from SVN. Can be found at
644 http://download.geany.org/contrib/tags/ if needed.
647 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
649 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
650 Add document_need_save_as().
651 Show the Save As also for documents created from filetype templates
652 instead of saving them directly with the untitled filename.
655 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
657 * geany.glade, src/interface.c:
658 Move 'Send Selection to Terminal' menu item from Format to Commands
661 When going to a build error, try the current document's path if
662 the parsed filename doesn't exist. (This can happen when we receive
663 build messages in the wrong order - after the 'Leaving directory'
666 Refactor msgwin_goto_compiler_file_line().
667 * src/interface.c, src/keybindings.c, geany.glade:
668 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu item
671 Refactor/reformat on_replace_dialog_response().
674 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
677 Improve geany.spec (split the package into a binary and devel
678 package, update BuildRequires and other minor improvements).
679 Patch by Dominic Hopf, thanks.
682 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
684 * src/filetypes.c, src/filetypes.h:
685 Make group for custom filetypes.
686 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
687 Add custom filetype Genie.
690 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
692 * src/highlighting.c:
693 Highlight D & Java types from a global tags file.
694 * src/highlighting.c, doc/geany.txt, doc/geany.html:
695 Add debug message warning if recursive lexer_filetype is set.
696 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
697 Remove duplicate sci_set_keywords(), make argument const.
698 * src/highlighting.c:
699 Only show debug message once if recursive lexer_filetype is set.
700 Tidy highlighting_init_styles code for filetype None handling.
701 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
702 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
703 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
704 tagmanager/parsers.h, tagmanager/makefile.win32,
705 tagmanager/verilog.c, tagmanager/Makefile.am,
706 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
707 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
708 * src/highlighting.c:
709 Fix segfault on startup (oops).
710 * data/filetypes.verilog:
711 Fix using common style colours for Verilog.
714 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
716 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
717 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
718 Move C-like filetype properties into configuration files.
719 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
721 Remove now unnecessary "styling_within_preprocessor" C style key.
722 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
723 data/filetypes.glsl, data/filetypes.cs:
724 Use lexer_filetype=C configuration file key instead of duplicate
725 styleset functions for C++, C#, GLSL, Vala.
728 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
730 * doc/geany.txt, doc/geany.html:
731 Warn about not using BOM for configuration files (confuses GKeyFile
732 parser, at least on my system).
734 Add/improve debug messages for custom filetypes.
737 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
740 Add a couple of further latex-beamer commands to list of LaTeX tags.
743 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
745 * plugins/filebrowser.c:
746 Add an in-entry clear icon to the filebrowser plugin's filter
747 entry (patch by Dominic Hopf, thanks).
748 * src/prefs.c, src/ui_utils.c:
749 Fix two compiler warnings about possibly uninitialised variables.
752 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
754 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
755 plugins/geanyfunctions.h:
756 Add main_is_realized() to the plugin API.
757 * tagmanager/include/tm_tagmanager.h:
758 Update partly outdated and wrong doc comment.
759 * src/main.c, src/main.h, src/socket.c:
760 Allow opening Geany projects remotely.
761 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
762 Add a hidden pref to allow executing text which was sent to the
763 terminal directly, i.e. do not strip trailing newline characters.
764 Also fix the stripping of trailing newline characters if there was
768 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
770 * src/about.c, THANKS:
771 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
772 Kurt de Bree into section of previous translators.
775 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
777 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
778 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
782 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
784 * src/highlighting.c:
785 Make stylesets take a ft_id argument so they can be reused fully with
786 custom filetypes, so custom styles and keywords can be set.
787 * src/highlighting.c:
788 Fix setting filetype properties when both the system and the user file
790 * src/symbols.c, tagmanager/vhdl.c:
792 * src/highlighting.c:
793 Fix lexer settings for custom filetypes.
796 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
799 Remove duplicate regular expression for parsing classes.
800 Fix and improve parsing of constants (patch by Harold Aling, thanks).
801 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
802 src/main.h, THANKS, src/about.c:
803 Add new command line option "--socket-file" to be able to specify
804 separate socket filenames for instances
805 (closes #2896027, patch by Jörn Reder, thanks).
806 * src/keybindings.c, src/keybindings.h:
807 Add keybindings_check_event() to manually check GdkKeyEvents against
809 * src/callbacks.c, src/utils.c, src/utils.h:
810 Add and use utils_get_help_url().
811 * geany.glade, src/interface.c, src/prefs.c:
812 Add a Help button to the preferences dialog.
813 Handle Help keybinding events for the preferences dialog especially
814 and open the manual with the corresponding anchor link to the current
815 preferences page (same goes for the new Help button).
818 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
820 * src/toolbar.c, src/geanymenubuttonaction.c,
821 src/geanymenubuttonaction.h:
822 Use separate tooltips for toolbar menu buttons and their attached
824 * tagmanager/latex.c:
825 Improve parsing of sections and chapters by ignoring shortnames
826 like \section[shortname]{label} (closes #2890477).
829 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
831 * src/geanymenubuttonaction.c:
832 Try to fix Gtk warning when using Tools->Reload Configuration.
835 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
837 * src/highlighting.c, doc/geany.txt, doc/geany.html,
838 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
839 data/filetypes.pascal, data/filetypes.docbook,
840 data/filetypes.python, data/filetypes.conf:
841 Use filetypes.foo [lexer_properties] group instead of hardcoding
842 lexer properties (more flexible e.g. for custom filetypes).
843 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
844 Replace filetypes.xml html_asp_default_language key with
845 filetypes.html asp.default.language property in [lexer_properties]
849 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
851 * doc/geany.txt, doc/geany.html:
852 Fix slightly wrong description of how to insert Unicode characters.
854 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
855 ui_setup_open_button_callback().
856 * src/prefs.c, src/prefs.c, src/vte.c:
857 Refactor color and font button callback functions in the
858 preferences dialog. Move the VTE related callback functions
860 Make use of ui_setup_open_button_callback().
862 Improve printing status texts (patch by Dominic Hopf, thanks).
863 * src/prefs.c, src/vte.c:
864 Use the default dialog title set by ui_setup_open_button_callback()
865 to be more consistent and to save one string.
868 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
871 Separate DKinds from CKinds.
872 Don't generate macro tags for D, Java.
875 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
877 * tagmanager/ctags.c, tagmanager/general.h:
878 Make TagManager Assert statements cause g_warning on failure.
880 Fix reflow paragraph command when cursor < anchor using
884 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
887 Fix Geany segfault with constant tags (#2895168).
889 Fix invalid tree iter access when using tv_iters.tag_other but not
890 using tv_iters.tag_variable.
891 * HACKING, tagmanager/perl.c:
892 Fix parsing Perl format statements ("other" type doesn't seem to work).
893 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
894 Fix using "other" tag type.
897 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
900 Remove useless comment about applying settings only when libvte.so
901 could be loaded which is only displayed *if* libvte.so is loaded.
903 Allow autocompletion for HTML entities even within a word.
904 * src/geanymenubuttonaction.c:
905 Only set the menu of the button if a non-empty GtkMenu is passed to
906 geany_menu_button_action_set_menu() so the menu arrow keeps
910 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
913 Fix parsing some Java code (e.g. filetypes.java) after r4407.
916 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
919 Parse D functions with contracts (fixes #1885480).
920 Parse D alias statement like typedef.
921 (Ignore some more D keywords).
923 Fix creating D interface tags properly.
925 Parse contents of D extern{} and version{} blocks.
928 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
934 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
936 * src/plugindata.h, HACKING:
937 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
940 Show number of files saved on status bar when using Save All.
941 * src/highlighting.c:
942 Use default color scheme if pref color scheme file doesn't exist.
944 Fix moving correct lines after selecting whole line(s).
947 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
949 * tagmanager/makefile.win32:
950 Fix broken build on Windows because of a typo
951 (patch by Timothy Boronczyk, thanks).
954 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
956 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
958 Add 'View->Editor->Color Schemes' menu, for now only shown if color
959 scheme files exist in a colorschemes config directory. Color scheme
960 files must end in ".conf" and currently only the [named_styles]
962 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
963 Add utils_get_config_files().
964 * src/highlighting.c:
965 Fix issue with default color not being reset if overridden with a
966 system default color.
967 * src/highlighting.c:
968 Only reload filetype files when changing color scheme, not all
970 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
971 Deprecate documents_foreach() as it looks more like a function; use
972 foreach_document() instead.
973 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
976 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
978 * src/stash.c, src/stash.h:
979 Use typedef instead of pointer for widget_id function arguments.
982 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
985 Don't expand Plugin Preferences page spacing vertically to fill the
986 height of the dialog.
987 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
988 geany.glade, plugins/splitwindow.c:
989 Allow GeanyKeyBinding label field to contain underscores, which won't
990 be displayed by Geany. This saves adding near-duplicate translation
992 Add mnemonics for 3 Edit->Format menu items.
993 Add keybindings_get_label().
994 * src/interface.c, geany.glade:
995 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
999 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1002 Desensitize Edit->Commands menu item when no docs are open.
1003 * src/interface.c, src/keybindings.c, src/callbacks.c,
1004 src/callbacks.h, geany.glade:
1005 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
1006 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
1007 Add general function sci_get_string() that works with any string
1008 buffer messages that follow the Windows message convention.
1009 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
1010 src/keybindings.h, src/callbacks.c, src/callbacks.h,
1011 src/pluginutils.c, src/pluginutils.h, geany.glade:
1012 Add 'Edit->Plugin Preferences' menu item and keybinding.
1013 Don't include plugindata.h in pluginutils.h because it redefines the
1014 GEANY() macro for plugin use.
1015 * doc/geany.txt, doc/geany.html:
1016 Update for Plugin Preferences keybinding.
1019 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1022 Sort document word completion list.
1023 * src/interface.c, src/keybindings.c, src/callbacks.c,
1024 src/callbacks.h, geany.glade:
1025 Add some useful commands to editor popup menu under "Commands"
1026 submenu (thanks to Lex).
1027 Move 'Duplicate line or selection' from Format -> Commands submenu.
1028 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1029 Enable switching the sidebar to the right on Windows again, as it
1030 apparently works after all.
1032 Fix using tab to autocomplete in some other situations that word part
1033 completion doesn't apply in.
1034 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
1035 Add Edit->Commands submenu which is shared with the editor popup menu.
1036 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1037 Change editor popup Commands submenu to start as child of menubar Edit
1038 menu, as this is more usual e.g. for keybindings initialization.
1039 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
1041 Share a single Format submenu for menubar Edit and popup menu.
1044 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1047 Fix a compiler warning about an uninitialised variable.
1049 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1050 sciwrappers.h, build.h (for the Waf build system,
1051 accordingly to r4366).
1054 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1056 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
1057 src/toolbar.c, src/toolbar.h:
1058 Add missing dox for types/files in the API.
1059 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
1060 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1061 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
1062 of functions not in the API).
1063 Warning: any plugins that include these headers should remove them.
1064 * src/build.c, src/build.h:
1065 Move function doc-comments to build.c so they stay in sync. Note:
1066 these functions are still not in the API.
1068 Add 'Doc-comments' plugin API subsection.
1069 * plugins/filebrowser.c:
1070 Fix packing configure widgets equally.
1071 Use spacing multiples of 6 as recommended by Gnome HIG.
1072 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1073 Disable switching the sidebar to the right on Windows as it will
1074 probably fail like the Split Window plugin.
1076 Improve 'Detect from file' indentation pref by ignoring lines with
1077 indentation wider than 24 characters as this is more likely to be
1078 alignment than indentation.
1081 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1083 * plugins/saveactions.c:
1084 Fix adding the filetype's default extension when using the
1085 Instant Save plugin (closes #2885142).
1087 Before looking for line and column numbers specified as part
1088 of a filename, ensure the file doesn't exist on disk. This allows
1089 opening of files like "test:0".
1091 Rename "select" variables into "selection" to avoid shadowed names.
1092 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
1093 Add ui_widget_modify_font_from_string() and sci_goto_line()
1095 * plugins/filebrowser.c:
1096 Rename "select" variables into "selection" to avoid shadowed names.
1097 Make use of ui_widget_modify_font_from_string().
1100 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1102 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
1103 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
1105 Add sidebar position interface pref.
1108 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
1110 * doc/geany.txt, doc/geany.html:
1111 Add missing underscores to links.
1114 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1116 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1117 Add 'Move line(s) up/down' keybindings.
1120 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
1122 * src/build.c, src/build.h, src/filetypes.h:
1123 Include code for project filetype execute commands and fix bug in
1124 saving project filetypes list.
1125 * src/project.c, src/build.c, doc/geany.txt:
1126 Make non-project execute configuration save to filetypes not geany.conf.
1127 Fix closing of project failing to remove build commands dialog entry.
1130 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1132 * src/project.c, src/ui_utils.c:
1133 Set border width for project properties build table.
1134 * geany.glade, src/interface.c:
1135 Don't expand hard tab width alignment.
1138 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1140 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
1141 doc/geany.txt, doc/geany.html:
1142 Support loading global tags files for custom filetypes.
1143 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
1144 doc/geany.txt, doc/geany.html:
1145 Add 'Word part completion' keybinding so keys other than Tab can be
1146 used, or to clear/change the combination so Tab does full completion
1148 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1149 Add 'Select to previous/next word part' keybindings.
1150 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1151 Add 'Switch to Messages' focus keybinding.
1154 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1156 * doc/geany.txt, doc/geany.html:
1157 Add 'Custom filetypes' section.
1158 * src/filetypes.c, src/filetypes.h, src/document.c,
1159 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
1160 tagmanager/include/tm_source_file.h:
1161 Add filetype "tag_parser" key so custom filetypes can use an existing
1163 Add tm_source_file_get_named_lang().
1164 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
1166 Add filetype "lexer_filetype" key so custom filetypes can use an
1170 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1172 * THANKS, src/about.c:
1173 Add Xhacker Liu for his work at zh_CN translation to long list of
1177 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1179 * src/sciwrappers.c:
1180 Remove unnecessary line number margin padding.
1181 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
1182 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
1184 Improve word part autocompletion so AC list is not cancelled and
1185 reshown (this also stops the selection changing).
1186 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
1188 Improve CamelCase word part autocompletion for runs of capital letters.
1190 Don't complete snippets if there's a selection.
1193 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
1196 Fix crash opening project when Geany started with no geany.conf.
1199 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1201 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
1202 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
1204 Add word part autocompletion for the current selected item when
1205 pressing Tab - Enter still completes normally.
1206 Add foreach_str() API macro.
1207 Temporarily modify scintilla to say if tab was used for
1209 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1210 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1211 plugins/classbuilder.c:
1212 Revert r4301 - utils_free_pointers() taking 4 arguments.
1213 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
1214 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
1215 plugins/splitwindow.c:
1216 Add highlighting_set_styles() to API, use for Split Window plugin so
1217 filetypes.common settings get set too.
1218 Make highlighting_set_styles() take GeanyFiletype pointer instead of
1220 * src/document.c, src/editor.c, plugins/splitwindow.c:
1221 Call editor_apply_update_prefs() from editor_create_widget() so
1222 correct tab width and other settings are applied for Split Window
1226 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1228 * src/keybindings.c:
1229 Don't include trailing newlines when using reflow command.
1231 Add stock close buttons to notebook tab popup menu.
1232 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
1233 plugins/geanyfunctions.h:
1234 Add document_get_notebook_page() to API.
1236 * data/templates/files/file.html, data/templates/files/file.php:
1237 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
1238 * src/interface.c, src/ui_utils.c, geany.glade:
1239 Move Tools configuration items to top of menu.
1240 * src/keybindings.c, src/search.c:
1241 Fix warning when using Find in Files with no documents open; make
1242 keybinding work in this case.
1245 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1247 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
1248 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
1249 Make Split Window 'Show current document' button have a drop-down menu
1250 to select the other documents.
1251 Add new API function ui_menu_add_document_items().
1254 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
1257 Fix sensitivity settings for compile and build toolbar items.
1260 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1263 Don't use filetype submenus for templates (slower to navigate, often
1264 only 1 per-filetype anyway).
1266 Put old filetype template menu items in 'Old' submenu as they should
1267 be removed after the 0.19 release.
1268 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
1269 Add GeanyKeyGroup callback support, which allow keybinding callbacks
1270 to be ignored if inappropriate so a later keybinding with the same
1271 key combination can intercept it. (Also group callbacks are usually
1272 tidier than separate callbacks).
1273 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
1274 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1275 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1276 plugins/classbuilder.c:
1277 Make utils_free_pointers() take 4 arguments, add to API.
1278 * src/templates.c, src/tools.c, src/ui_utils.c:
1279 Fix memory leaks with gtk_container_get_children().
1282 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
1285 Ensure that old style build config is not loaded if it does not exist.
1288 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1290 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
1291 Added Galician translation. Thanks to José Manuel Castroagudín Silva.
1294 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1296 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
1298 Apply set default encoding for existing files only if the files are
1299 non-Unicode (patch by Alexey Antipov, thanks).
1302 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1304 * src/highlighting.c:
1305 Move new_styleset() and preprocessor setup code into styleset_c_like().
1306 * src/highlighting.c:
1307 Call apply_filetype_properties() from styleset_c_like().
1310 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1312 * doc/geany.txt, doc/geany.html:
1313 Improve information about predefined keybindings which are
1314 commonly used across applications (patch by Lex Trotman, thanks).
1316 Enable embedded page setup properties in the (Unix) Print dialog
1317 on newer GTK versions (closes #2870596).
1318 * src/highlighting.c:
1319 Map global types (read from tags files) to keyword style for
1323 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1326 Fix wrong creation of filetype template menu items for custom
1328 * src/highlighting.c:
1329 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
1331 Group 'New with template' items by filetype submenu (currently only for
1333 Show custom file template items before filetype template items.
1334 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
1336 Only use one 'New with template' submenu - reparent as needed.
1338 Don't create templates/filetype.none either.
1340 Warn if custom template file no longer exists.
1343 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1346 Add missing icon for Java packages in the Symbol List.
1349 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1351 * src/highlighting.c, data/filetypes.vala:
1352 Add Vala keywords to conf file.
1353 * src/templates.c, doc/geany.txt, doc/geany.html:
1354 Read custom file templates from $prefix/share/geany/templates/files as
1356 * src/templates.c, data/templates, data/templates/files,
1357 data/templates/files/file.rb, data/templates/files/file.html,
1358 data/templates/files/main.java, data/templates/files/main.c,
1359 data/templates/files/main.cxx, data/templates/files/file.php,
1360 data/templates/files/main.d, data/templates/files/program.pas,
1361 data/templates/files/main.py, data/templates/files/file.tex,
1362 wscript, Makefile.am:
1363 Move filetype template defaults into custom file template files.
1366 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1368 * src/symbols.c, tagmanager/perl.c:
1369 Change Perl tag parser to ctags SVN r601. This removes support for
1370 buggy local/my/our but it parses constant/format/labels and should
1371 be less buggy overall (closes #2861232).
1372 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
1373 Add utils_get_file_list_full() which can optionally sort or include
1374 a full path for each list item.
1375 * src/utils.c, src/plugindata.h, src/plugins.c:
1376 Add utils_get_file_list_full() to API.
1379 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1381 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
1382 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
1383 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
1384 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
1385 po/POTFILES.in, wscript:
1386 Rename treeviews.[hc] -> sidebar.[hc].
1387 * data/filetypes.common:
1388 Remove unused [styling] arguments.
1389 * src/highlighting.c, data/filetypes.markdown,
1390 data/filetypes.restructuredtext:
1391 Remove style defaults from the code - just read them from
1392 configuration files.
1393 * src/highlighting.c, HACKING:
1394 Add apply_style_entries() to simplify implementing styleset_foo().
1395 * src/highlighting.c:
1396 Remove filetype keyword defaults from the code - just read them from
1397 configuration files.
1398 * src/highlighting.c:
1399 Add sci_set_keywords() wrapper.
1402 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1404 * scripts/create_py_tags.py:
1405 Make the code a bit more pythonic.
1406 * doc/images/build_menu_commands_dialog.png,
1407 doc/images/main_window.png:
1408 Add new images referenced in the documentation.
1409 * doc/geany.html, doc/geany.txt:
1410 Several documentation improvements (patch by Lex Trotman, thanks).
1411 * src/pluginutils.c:
1412 Fix setting the appropriate page of the combined plugins
1416 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1418 * src/keybindings.c:
1419 Only focus toolbar goto line entry when pressing keybinding if it's
1420 visible (patch by Eugene Arshinov, thanks).
1422 Focus editor after entering a number in the goto line toolbar entry.
1424 Use AC_PATH_PROG instead of which for portability (patch by Erik
1425 Southworth, thanks).
1427 Show plugins that only implement plugin_configure_single() in the
1428 multiple-configure dialog as a page with a configure button on it.
1429 Add padding for multiple-configure dialog.
1430 Make the multiple-configure dialog notebook tabs scrollable.
1431 * src/pluginutils.c, src/pluginutils.h:
1432 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
1433 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
1434 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
1435 plugins/geanyfunctions.h, plugins/filebrowser.c:
1436 Add plugin_show_configure() API utility function.
1437 Add File Browser popup menu 'Preferences' item.
1438 * src/highlighting.c:
1439 Add get_keyfile_ints() instead of using tmp_style hack.
1440 * src/highlighting.c, data/filetypes.xml:
1441 Change new html_asp_default_language markup pref to use integer,
1442 not hex in config file.
1443 Fix minor issue with changing pref back to 0.
1444 * src/highlighting.c:
1445 Fix possible segfault in get_keyfile_int() if key value is malformed.
1448 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1450 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
1451 Add "html_asp_default_language" pseudo style to filetypes.xml
1452 to allow setting the used language in embedded ASP code
1453 (patch by Ross McKay, thanks).
1454 * src/filetypes.xml:
1455 Update VBScript keywords (patch by Ross McKay, thanks).
1458 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1460 * src/keybindings.c, THANKS:
1461 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
1462 keybinding use line breaking column when enabled.
1464 Fix showing the document before reload dialog when opening an
1466 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
1467 Add plugin_configure_single() plugin symbol which is easier to
1468 implement than plugin_configure() but won't support a
1469 multiple-plugin configure dialog.
1471 Show multiple plugins in the 'Configure Plugins' dialog.
1474 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1476 * doc/geany.txt, doc/geany.html:
1477 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
1479 * doc/geany.txt, doc/geany.html:
1480 Add 'Toolbar entries' section.
1481 * doc/geany.txt, doc/geany.html:
1482 Update 'Go to line' keybinding description.
1483 * doc/geany.txt, doc/geany.html:
1484 Split keybinding table into group tables; update KB links.
1487 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1490 Fix compiler warnings about uninitialised variables.
1491 * src/callbacks.c, src/document.c:
1492 When reloading files, use the previously set encoding instead of
1493 detecting it again (closes #2862041).
1495 Turn on automake silent rules if supported.
1498 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1501 Speed up sorting in utils_get_file_list(). This reduces the file
1502 browser delay on displaying a big directory, e.g. /usr/bin.
1504 Expand command entry width when expanding Build Commands dialog.
1506 Split Build Commands dialog notes label and edit text.
1508 Add padding for Build Commands dialog separators.
1509 Add colons for regex field labels; fix 1 capitalisation.
1511 Fix none filetype Build Commands dialog label.
1512 Make group labels bold.
1513 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
1515 Add & use ui_label_set_markup(), ui_label_new_bold().
1516 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
1517 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
1518 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
1519 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
1520 * src/keybindings.c:
1521 Make 'Go to Line' keybinding focus the toolbar entry if visible.
1524 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1526 * src/filetypes.c, src/filetypes.h, src/symbols.c,
1527 tagmanager/parsers.h, tagmanager/makefile.win32,
1528 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
1529 data/filetype_extensions.conf, wscript:
1530 Add new filetype: Abc (patch by Eric Forgeot, thanks).
1532 Merge recent changes from the CTags project to further improve
1536 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1539 Fix wrong alignment of printed pages when page headers are
1540 disabled (closes #2856822).
1541 Plug a small memory leak and improve function signature of
1544 Save an if expression.
1546 After clearing a text field using the embedded clear icon, put the
1547 input focus into this text field.
1550 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1552 * plugins/filebrowser.c:
1553 Free file list memory whilst iterating the list.
1554 Minor formatting fixes.
1555 * src/utils.c, src/utils.h:
1556 Add foreach_dir() API macro.
1557 Update API docs for utils_get_file_list().
1558 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
1560 Remove queue.[hc] - use GQueue instead of GeanyQueue.
1561 Beep if there are no more snippet positions.
1562 Limit length of snippet positions queue to 20.
1565 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1567 * src/keybindings.c, src/callbacks.c, src/search.c:
1568 Make Goto Tag commands use the current selection if present (useful
1569 for selecting part of a tag or for ReST section names with spaces
1572 Don't move the cursor when reloading.
1573 * src/plugindata.h, src/editor.c, src/editor.h:
1574 Make editor_prefs.snippets hash table private (not a pref).
1577 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1580 Remove deprecated --debug flag. Please use --verbose/-v instead.
1583 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1586 Show Find in Files stderr output in messages window instead of
1587 debug window so that invalid regex messages can be seen easily.
1588 Combine FIF stdout and stderr callback code.
1591 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1594 Fix opening filenames beginning with two dots (closes #2858487).
1595 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
1596 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
1597 data/filetypes.common, geany.glade:
1598 Update syntax highlighting after changing the 'Invert syntax
1599 highlighting colors' pref, instead of requiring a restart.
1600 Remove filetypes.common invert_all option - use 'Invert syntax
1601 highlighting colors' pref instead (closes #2854525).
1602 * src/prefs.c, src/dialogs.c, src/dialogs.h:
1603 Add 'Allow' button when showing the conflicting keybinding dialog.
1604 Make dialogs_show_question_full() use GTK dialog on Windows if
1605 button text is not the stock yes/no items.
1606 Add dialogs_show_prompt() which also has an 'Apply' button.
1607 * src/queue.c, src/queue.h:
1608 Add warning that GeanyQueue may be removed.
1609 * src/keybindings.c, src/editor.c, src/editor.h:
1610 Change snippet_goto_next_cursor() to
1611 editor_goto_next_snippet_cursor() as it's in editor.h.
1612 Avoid using GPOINTER_TO_INT macro.
1615 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1617 * src/keybindings.c:
1618 Fix 'Reflow block' command when at the last paragraph and there's
1619 no last newline (patch by Eugene Arshinov, thanks).
1621 Add 'Compiler options & warnings' section.
1622 Update Style section to be clearer about code alignment and show
1627 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1629 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
1630 src/plugindata.h, src/plugins.c, src/editor.c,
1631 plugins/geanyfunctions.h:
1632 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
1633 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
1635 Add sci_toggle_marker_at_line().
1636 Fix SciFuncs alignment.
1639 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
1642 Fix erroneous free of returned string in prepare_run_script.
1645 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1647 * data/filetypes.latex:
1648 Changing default value for showing pdf and dvi to ensure to take
1649 *.pdf and *.dvi file.
1652 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1654 * src/about.c, THANKS:
1655 Change language string for Slovenian translation.
1658 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1660 * tagmanager/txt2tags.c:
1661 Fix multi-byte character constant comparison.
1663 Fix Gtk warning when trying to update documents popup menu item
1664 sensitivity before they exist.
1667 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1670 Improve the opening string in the plugin manager dialog.
1672 Use "max-width" to set the document width of the generated
1673 HTML documentation to let the text be auto-wrapped.
1674 * src/prefs.c, src/tagmanager/include/guregex.h,
1675 src/tagmanager/include/tm_tagmanager.h:
1676 Remove trailing spaces (patch by André Hentschel, thanks).
1678 Fix a compiler warning.
1680 Fix crash when opening documents.
1681 * src/build.c, src/build.h, src/project.c:
1682 Adjust coding style (no code changes).
1683 * src/build.c, src/project.c:
1684 Use NZV() macro instead of strlen() to check for empty strings.
1685 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
1686 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
1687 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
1688 src/plugins.c, THANKS:
1689 Add new plugin signal: "document-before-save".
1690 Add get_line_end_position(), set_target_start(), set_target_end(),
1691 replace_target() to the plugin API
1692 (patch by Eugene Arshinov, thanks).
1693 Add new plugin signal: "document-filetype-set" (closes #2852286).
1694 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
1695 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
1696 tagmanager/Makefile.am, tagmanager/makefile.win32,
1697 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
1699 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
1702 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1704 * src/treeviews.c, src/document.c:
1705 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
1706 Use gtk_notebook_set_current_page() instead of
1707 document_open_file_full() when choosing an item from the documents
1709 Avoid using goto in document_open_file_full().
1712 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1714 * src/treeviews.c, src/document.c, src/document.h, THANKS:
1715 Enable type-ahead find for sidebar symbols and documents tabs
1716 (patch by Thomas Martitz, thanks).
1718 Fix 2 free's of possibly uninitialized pointers.
1721 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
1723 * src/build.c, src/filetypes.h, src/filetypes.c
1724 Only write filetype config files when build command or regex is
1725 actually changed. Removed commented code in src/filetypes.c.
1727 Ensure uses of filename are protected against nulls when running
1728 a build command and give status message if not.
1731 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1734 Remove plugin from plugin manager dialog on unloading if it no
1735 longer exists or is incompatible.
1738 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1741 Add warning if only one of the plugin_key_group[_info] symbols is
1742 defined for a plugin.
1743 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
1744 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
1746 Merge custom-filetypes branch:
1747 Support adding custom filetype files e.g. filetypes.Foo.conf.
1749 Allow GeanyFiletype::extension to be NULL.
1750 Add note about using GeanyFiletype pointer instead of filetype_id
1751 for filetypes.c function arguments.
1752 Replace styleset_none() with styleset_default().
1755 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1758 Show the sidebar if either the documents or the symbols list are
1759 enabled (related to #1876107).
1762 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1764 * src/build.c, src/filetypes.c:
1765 Fix compiler warnings.
1767 Fix removing leading double slashes in filenames which are used for
1768 network resources on Windows (closes #2844085).
1771 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1773 * src/keybindings.c:
1774 Fix Make keybindings (patch by Lex Trotman, thanks).
1776 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
1778 Mention Files link at top for header files; demoplugin.c.
1779 Minor edits; remove 'far from being complete'.
1780 * src/keyfile.c, src/keyfile.h, src/main.c,
1781 data/filetype_extensions.conf, HACKING:
1782 Remove --generate-data-files argument & code - just edit
1783 filetype_extensions.conf by hand (filetype order was broken
1785 Add *.H extension for C++ (useful for non-Windows systems).
1788 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
1791 Fix implementation of loading old project files with base
1792 directories. Use project_make_base_path instead of re-
1793 implementing. Now depends on project.c reading base dir
1794 prior to calling load_build_menu.
1796 Change usage of project base directory to conform with
1797 previous documented behavior when loading old project files.
1799 Change make custom and make object to ignore make in base path
1800 when reading old project file settings. Changed some indent
1801 spaces to tabs. Fix missing compile menu accelerator.
1804 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1807 Add warning about not using undocumented features.
1808 Add reference to HACKING for plugin API development.
1810 Add section 'Plugin API/ABI design'.
1811 * src/keybindings.h, src/makefile.win32, src/project.h,
1812 src/filetypes.h, src/Makefile.am, wscript:
1813 Use GEANY_PRIVATE to hide some fields from plugins.
1815 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
1816 * src/build.c, src/build.h, src/project.c:
1817 Use build_ prefix for 3 functions in build.h; add a static modifier.
1820 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1823 Improve parsing of PHP functions by requiring a valid modifier or
1824 whitespace before the 'function' keyword to ignore some false
1825 positives like function tags inside comments
1826 (patch by Harold Aling, thanks).
1827 * tagmanager/python.c:
1828 Don't parse comments after import statements and other tags
1829 (closes #2838938, patch by Huandari Lopez, thanks).
1832 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1834 * data/filetypes.markdown:
1835 Add filetypes.markdown for configuration (thanks to Jon Strait).
1836 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
1837 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
1838 plugins/geanyfunctions.h:
1839 Remove GeanyKeyGroup struct from the API - plugins should not set
1841 Make keybindings_set_item() duplicate the name and label fields
1842 (needed by GeanyLua) and return a keybinding pointer.
1843 Add keybindings_get_item() to the API (in case it's useful).
1844 Move some keybinding code out of plugin source files.
1847 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1849 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
1850 Don't generate build.h API docs until everything is approved and
1851 functions are actually in geany_functions.
1852 Move new GeanyFiletype and GeanyProject field(s) to end of struct
1853 as they may be changed or made private later.
1854 Break ABI for fields removed.
1857 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
1859 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
1860 src/keyfile.c, src/project.c
1861 Changed names of symbols visible in build API to GEANY_xxx.
1864 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
1866 * src/project.h, src/project.c, src/build.c
1867 Remove make_in_base_dir and run_cmd fields from project structure.
1868 Replaced by build functionality. Remove incorrect use in src/build.c
1869 build_run_cmd function.
1872 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
1874 * src/project.h, src/project.c
1875 Removed unused project_get_make_dir function, this is now per
1879 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
1881 * src/build.c, src/build.h, src/project.c, src/keyfile.c, src/filetypes.c
1882 Fix some more warnings.
1883 Fix commented out execute/stop toolbar code in build.c.
1884 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
1885 Changed build.h api so all functions prefixed with build_.
1888 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1890 * src/build.c, src/build.h, src/project.c:
1891 Fix some gcc warnings with '-Wall -W -ansi' enabled.
1894 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
1897 Fixed leaks and crashes due to inconsistent use of static vs dynamic strings
1898 when reading old format configuration & project files.
1899 * src/build.c, src/project.c
1900 Fixed GLib array assertion warnings when no project filetypes are
1901 available to be saved.
1903 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
1909 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
1911 * src/build.h, src/build.c, src/project.c
1912 Created and documented plugins interface to build menu.
1913 Factored out new get_cmd_group function.
1914 Changed name of remove_command function to be consistent with the rest
1915 of the interface & changed calls in project.c.
1916 * src/Makefile.am, wscript
1917 Added build.h to installed files lists.
1919 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
1922 Updated manual to match build-menu capability.
1925 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
1927 * src/build.c, src/build.h
1928 Added set_build_non_ft_wd_to_proj() for use by project dialog.
1929 Improved interpretation of run_in_base_dir from old [build-settings]
1930 Added spacing to build commands dialog
1932 Removed run in base path option from project dialog and added button to
1933 set working directories to d the same.
1936 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
1939 Re-incorporated toolbar changes in trunk accidently excluded in merge
1941 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
1944 Fixed substitute %f etc in commands
1945 Fixed potential leak in build_replace_placeholder
1946 Fixed leak in prepare_run_script (Thanks for patch Thomas)
1947 Fixed build_replace_placeholder to not require document.
1949 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
1951 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c
1952 Fixed crash and lots of warnings, deleted some commented out code.
1953 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c
1954 Removed make command from preferences and associated code
1956 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
1958 * src/build.c, src/build.h
1959 Incorporated patch for working directory field (thanks Thomas)
1960 Removed run_in_base_dir option and associated code that it replaces
1961 Improved handling of old config files and mapping to new ones.
1963 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
1965 * src/build.h, src/build.c
1966 Changed to itterate over entries in build commands dialog to allow
1967 additional fields to be added
1968 Implement support for multiple run commands
1969 * data/filetypes.latex
1970 Implement configured commands and labels for latex.
1973 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
1975 * src/build.h, src/build.c
1976 added dialog support for error regular expressions from multiple sources
1977 and storing and loading them
1978 fixed some typos and memory leaks
1979 * src/filetypes.c, src/filetypes.h, project.c
1980 added support for using error regexes from multiple sources
1983 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
1985 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
1987 Removal of build menu item source made redundant by the following fix
1989 Corrected priority oreder and loading of filetype dependent build
1990 menu items saved in the project file. Added print routine for
1991 debugging command sources and priorities set compile symbol
1992 PRINTBUILDCMDS true to enable
1994 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
1997 fixed problem loading old format filetype files, some formatting fixes
1998 fixed saving new format files
1999 added operation for clear button on build commands dialog
2001 fixed loading and saving filetype files
2004 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
2006 Configurable Build Menu Changes
2008 * doc/geany.html, doc/geany.txt:
2009 Updated build menu section to new functionality
2010 * src/build.h, src/build.c:
2011 Largly re-written, configurability added, Latex code removed
2012 * src/filetypes.h, src/filetypes.c:
2013 Filetype structure updated to add new command pointers, configuration
2014 load and store changed
2015 * src/keybindings.h, src/keybindings.c:
2016 Changed to address new command storage structure.
2018 Changed to load/store new configuration.
2020 Minor change to initialisation order.
2022 Changed to address new menu item storage structure.
2023 * src/project.h, src/project.c:
2024 Changed to load/store the new configuration info.
2026 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2028 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
2029 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2030 doc/pluginsymbols.c, plugins/geanyfunctions.h,
2031 plugins/splitwindow.c:
2032 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
2033 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
2034 the ABI when adding fields to them.
2035 Add plugin_set_key_group() for plugins to dynamically set a
2036 keybinding group (e.g. for the Lua script plugin). Used in Split
2037 Window plugin as an example.
2038 Improve keybinding docs a little.
2041 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2043 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
2044 Add geanyfunctions.h to API docs.
2045 * plugins/splitwindow.c:
2046 Set the cursor color for the split window.
2049 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2052 Fix 'Open Selected File' for unsaved new documents.
2053 * src/keybindings.c, src/keybindings.h, src/prefs.c:
2054 Fix updating main menu accelerators after changing keybindings
2055 (thanks to Lex Trotman).
2057 Fix using 'Insert date' keybinding when a custom date string has
2059 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2060 Merge Plugin and GeanyPluginPrivate structs.
2063 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2065 * src/keybindings.c:
2066 Fix non-working Home and End keys on numpads.
2069 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2071 * doc/geany.txt, doc/geany.html, NEWS:
2072 Add 'Scope autocompletion' section.
2073 Add 'Tools menu items' section to explain configuration files
2074 submenu, reload configuration item.
2075 Minor updates/fixes.
2078 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2081 Add a translation hint to an ambiguous format string.
2083 Add missing include path to fix 'make distcheck'.
2085 Fix opening of local files in the browser on Windows.
2086 * New release: Geany 0.18 "Kaine".
2087 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
2088 src/geany.h, doc/geany.html, doc/geany.txt:
2089 Post-release version bump.
2092 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2095 Temporarily disable reshowing calltips when the autocompletion
2096 list was closed implicitly by not choosing an item to fix
2097 problems with wrongly displayed calltips.
2099 Add missing 'coding' cookie to the Python filetype template.
2100 * doc/images/pref_dialog_edit_completions.png,
2101 doc/images/pref_dialog_toolbar.png:
2102 Update images for Geany 0.18.
2105 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2108 Add command '--hackingdoc' to create the HTML form of the
2112 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2114 * po/pt_PT.po, po/LINGUAS:
2115 Added a first Portugese (Portugal) translation based on work done at
2116 launchpad by e.g. André Glória and Alexandre Jesus.
2117 * src/main.c: Fix a minor typo on --help call.
2120 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2122 * src/highlighting.c:
2123 Call get_keyfile_wordchars() in highlighting_init_styles().
2126 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2128 * data/filetypes.ada:
2130 * src/keybindings.c:
2131 Switching notebook tabs now works for the currently used notebook
2132 widget instead of always using the documents notebook.
2133 * src/document.c, src/document.h, src/documentprivate.h,
2135 Small corrections to some API docs.
2138 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2140 * src/build.c, src/win32.h, src/win32.c:
2141 Expand system environment variables (%variableName%) on Windows when
2142 running Build commands.
2145 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2147 * src/keybindings.c:
2148 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
2149 future using an indent block is more useful e.g. for ChangeLog
2151 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
2152 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
2153 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
2154 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
2155 tagmanager/parsers.h, tagmanager/makefile.win32,
2156 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
2157 Add Markdown filetype (patch by Jon Strait, thanks).
2158 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2159 Fix disconnecting plugin signal id when not using geany_object.
2161 Add filetype_make_title() instead of using:
2162 ft->title = g_strdup_printf(_("%s source file"), ft->name);
2163 It also supports "%s file" strings.
2166 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2168 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
2169 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2170 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
2171 plugins/filebrowser.c:
2172 Add plugin_signal_connect() for connecting plugin signals at
2173 runtime and also for connecting to any GObject signal.
2174 Add 'Plugin Utility Functions' on main page.
2175 Add foreach_array() macro.
2176 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2177 src/document.c, src/editor.c:
2178 Rename 3 sci functions to sci_set_target_start(),
2179 sci_set_target_end(), sci_replace_target() to match the SCI_
2183 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2185 * wscript: Fix compiling error with waf.
2188 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2190 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
2191 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2192 src/Makefile.am, wscript:
2193 Move plugin_* utility functions to pluginutils.c.
2194 Add pluginprivate.h.
2196 Fix reshowing calltip in the wrong document.
2199 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2201 * doc/geany.txt, doc/geany.html:
2202 Add some general information about auto-completion capabilities
2203 (patch by Lex Trotman, thanks).
2206 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2208 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
2209 Added a first Slovenian translation. Thanks to Joze Klepec.
2212 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2214 * src/highlighting.c:
2215 Use full styleset_foo[_init] function name as argument to
2216 init_styleset_case() and styleset_case() macros so it's easier to
2217 understand the code.
2218 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
2219 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
2220 doc/geany.txt, doc/geany.html:
2221 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
2222 Heavily based on a patch by Eugene Arshinov (thanks).
2223 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
2224 editor_strip_line_trailing_spaces().
2227 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2230 Attempt to fix reshowing calltips after the autocompletion list
2232 Reshow calltips also when the autocompletion list was closed
2233 implicitly by not choosing an item.
2235 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2237 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
2238 plugins/splitwindow.c:
2239 Change utils_str_remove_chars() to work in place; fix allocating on
2240 the stack (the string length could exhaust the stack size).
2241 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2242 src/printing.c, src/callbacks.c:
2243 Rename utils_str_replace() utils_str_replace_all(), setting a
2244 'gchar **haystack' argument instead of returning a new string.
2246 For the Tabs indent type, remove spaces when unindenting (only) if
2247 there are no tabs on the line.
2248 Group undo actions for (un)indenting of multiple lines.
2249 * src/document.c, src/editor.c:
2250 Fix scrolling horizontally after finding a search match with the
2251 search bar or Find Next/Previous which is off-screen.
2252 * src/keybindings.c:
2253 Fix GLib warning when pressing a key with no documents open.
2256 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2259 Start unifying usage of @a and @c markup elements in API docs,
2261 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2262 Show/hide the toolbar without a restart when the setting in the
2263 preferences dialog is changed (closes #2824785).
2264 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
2265 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
2266 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
2268 Continue unifying usage of @a and @c markup elements in API docs.
2271 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2274 Remove relative/untidy path elements when creating new documents
2275 with a filename (e.g. from the command-line) (#2823998).
2278 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2281 Disable 'Recent Projects' menu item if the list of recent projects
2284 Fix some harmless compiler warnings.
2285 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
2286 src/plugins.c, src/utils.c, src/utils.h:
2287 Move utils_str_remove_chars() from the plugins/splitwindow.c to
2288 src/utils.c and add it to the plugin API.
2289 Make utils_str_remove_chars() work on a new copy of the input string
2290 instead of modifying it in place.
2292 Remove underscores from the toolbar items labels.
2295 * plugins/splitwindow.c:
2296 Fix broken 'Show the current document' tool button icon.
2299 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2301 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
2303 Add stash_group_add_widget_property() so we can save any widget's
2304 read/write properties.
2305 Use Stash for ui_prefs.sidebar_page setting.
2306 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
2307 Make foreach_ptr_array() use an integer argument for its
2308 implementation, as this is more useful potentially than a gpointer*
2309 argument, and more straightforward.
2310 Add foreach_c_array(), foreach_ptr_array() to API.
2311 * src/utils.c, src/utils.h, src/document.c:
2312 Remove relative/untidy path elements when opening documents (closes
2315 Fix showing project name for documents list files with no
2316 subdirectory (oops).
2318 Fix checking whether to overwrite when using the Rename button in
2319 the 'Save As' dialog.
2322 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2325 Don't use the main window as parent for dialog boxes if it is not
2327 Set titles for message dialogs.
2330 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2333 Display item labels instead of raw names in the toolbar editor.
2334 Apply changes in the toolbar editor instantly.
2335 Show icons in the toolbar editor.
2336 Speed up toolbar editor dialog creation.
2338 Improve inserting of comment templates like File header or licence
2339 notices. The comment information are now read from the filetype
2340 configuration files.
2342 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2345 Enable file monitoring for files which are written to disk by Geany
2348 Fix broken special case handling when detecting filetypes from a
2349 shebang or other special file headers.
2352 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2355 Make Mark All keybinding clear search highlighting when there's no
2358 Fix wrong match length when using Mark with regex.
2359 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
2360 src/keyfile.c, src/main.c:
2361 Add 'Show Paths' documents list popup item.
2362 Add "load_settings" core-only signal emitted just after loading
2363 main keyfile settings; useful to delay building UI elements until
2364 settings have been read.
2366 Fix GTK warning when right-clicking on default tag tree.
2367 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
2368 Add treeviews_finalize().
2369 Remove tv.popup_openfiles field.
2372 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2374 * src/highlighting.c:
2375 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
2378 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2381 Quote the uri before passing it to the browser when opening a
2382 website (closes #2818635).
2384 Fix broken 'builtin' Run command for HTML files on Windows.
2387 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2390 Properly fix wrong brace highlighting of non-brace character.
2392 Allow autocompletion in Perl double-quoted strings.
2393 Don't autocomplete in Perl single-quoted strings (closes #2821061).
2394 Don't autocomplete in Perl q() strings.
2395 * data/filetypes.common:
2396 Make Mark highlighting brighter.
2397 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
2398 Use hyphen for auto-feature terms.
2399 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
2400 src/document.h, src/main.c:
2401 Add documents_foreach() API macro that skips invalid docs.
2402 Make filetypes[], documents[] part of the API again.
2403 Add GEANY() macro for sharing geany symbols between API and core.
2404 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
2405 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
2406 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
2407 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
2408 plugins/classbuilder.c, wscript:
2409 Add geanyplugin.h single include for plugin API; update all core
2411 Add sci_set_font() to API.
2412 Update plugin howto.
2413 * src/filetypes.c, src/filetypes.h:
2414 Remove filetypes_foreach_named().
2417 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2419 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
2420 src/document.h, src/main.c, THANKS:
2421 Apply patch from Eugene Arshinov to reload color schemes via menu
2424 Reload filetypes.common after saving it.
2426 Improve wrong brace highlighting of non-brace character.
2429 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2432 Delay highlighting matching braces by 100ms, which speeds up
2433 scrolling with the arrow keys.
2434 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
2435 Add 'Mark All' keybinding.
2436 * tagmanager/diff.c:
2437 Show relative paths in diff filename tags.
2440 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2442 * src/highlighting.c:
2443 Fix setting keyword list 'classes' for Haxe
2444 (pointed out by Andreas Mokros, thanks).
2447 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2449 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2450 doc/geany.txt, doc/geany.html, geany.glade:
2451 Add 'Drop rest of word on completion' pref.
2452 * src/editor.c, doc/geany.txt, doc/geany.html:
2453 If autocompletion is already visible when forcing completion, show
2454 document word completion instead of tag completion.
2455 Docs: Minor edits of related prefs items.
2456 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
2457 Add warning when printing and editor font is not monospaced.
2458 Fix using GtkMessageType instead of gint param for
2459 dialogs_show_msgbox*().
2460 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
2462 Support 'tab indents, space aligns' style for auto-indentation
2466 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2468 * src/document.c, src/documentprivate.h:
2469 Rework the GIO based file monitoring code. Now it is used only
2470 to indicate a possible change of the file, the real check if the
2471 file has been changed is performed by stat().
2472 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
2473 Add style 'line_height' to increase the line height.
2474 Add style 'marker_mark' and change style 'marker_search' to
2475 define the style used for marked search results.
2476 * doc/geany.txt, doc/geany.html:
2477 Add the new 'Autocomplete all words in document' pref to the docs.
2480 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2482 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2483 doc/geany.txt, doc/geany.html, geany.glade, TODO:
2484 Add 'Autocomplete all words in document' pref.
2485 Use 'autocompletion' in dialog and docs, not 'auto completion'.
2487 Fix limiting number of word completion entries too much.
2488 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
2489 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
2490 Show autocompletion icons for tag symbols - for now only tags with
2491 an arglist have the 'function/method' icon, all others have the
2493 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
2495 * src/highlighting.c:
2496 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
2500 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2502 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
2503 Fix removing underscores in translated string using no_underscore()
2505 Set a tooltip for the Split Window plugin's Show Current tool button.
2506 Add utils_strdupa() macro.
2507 * src/interface.c, geany.glade:
2508 Use stock Select All icon now we have >= GTK 2.8.
2510 Fix using project name for document items that start with the
2511 project base path but don't match it e.g. ".../geany-plugins"
2512 instead of ".../geany" when project name is 'geany'.
2515 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2518 Fix warnings when the toolbar does not contain the Run button.
2520 Fix wrong parsing of complex expressions in the Lua parser.
2521 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
2523 Remove unnecessary enums.
2524 * scintilla/*, scintilla/include/*, src/plugindata.h:
2525 Update Scintilla to version 1.79.
2526 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
2528 Use the new Scintilla struct names prefixed with 'Sci_'.
2529 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
2531 Add second argument to the 'line_wrap_indent' styling setting to
2532 control the new Scintilla indentation mode for wrapped lines.
2534 Properly close the toolbar editor on delete-events.
2535 Fix warnings and possible crashes in the toolbar editor when the list
2536 of displayed toolbar items is empty.
2537 * data/filetypes.tcl:
2538 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
2540 Make the plugin manager dialog a bit bigger.
2543 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2545 * doc/geany.html, doc/geany.txt:
2546 Fix wrong default values for the 'Show Calltip' keybinding.
2549 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2551 * data/filetypes.tcl, src/symbols.c:
2552 Fix duplicate "context_action_cmd" key.
2553 Use different icons for "Methods" and "Procedures" in the symbol
2556 Fix a small memory leak.
2557 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
2558 src/keybindings.h, src/plugindata.h:
2559 Make the Scintilla keybindings 'Delete to end of line' and
2560 'Go to end of display line' configurable.
2562 Fix a typo (closes #2813624).
2565 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2567 * tagmanager/tcl.c, src/symbol.c:
2568 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
2569 methods and namespaces).
2570 Patch by Witek Mozga, thanks.
2573 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2575 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
2576 src/toolbar.c, src/toolbar.h:
2577 Remove ui_toolbar.xml Configuration Files menu item.
2578 Add a real toolbar editor dialog.
2579 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
2581 Add a button in the preferences dialog and an item for the toolbar
2582 popup menu to run the toolbar editor dialog.
2585 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2588 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
2589 Fix using locale encoding for default Save As dialog path.
2591 Beep when trying to activate the '...' autocompletion item.
2592 Limit (forced) document word completion to
2593 autocompletion_max_entries.
2594 Beep if no completions are shown when forcing autocompletion.
2597 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2599 * data/ui_toolbar.xml, src/toolbar.c:
2600 Add 'Build' toolbar button to the default layout.
2603 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2606 If forcing autocompletion and there's nothing else to show, complete
2607 from words in the current document (using code from Enrico's
2608 'AutoComplete Test' plugin).
2611 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2614 Add debug message if plugin has not set a name for its keybinding
2616 * data/filetype_extensions.conf:
2617 Add *.m4 for shell scripts.
2620 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2622 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2623 data/filetypes.common, TODO:
2624 Make filetypes.common named styles use the "default" named style for
2625 all missing style fields.
2626 Set named styles to usually leave the background style empty. This
2627 currently allows C-like filetypes to have a common default
2629 Allow hard-coded colors to use -1 for the default color.
2630 Add some highlighting style examples to the manual.
2633 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2636 Create initial template files with proper platform-specific line
2640 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2642 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
2643 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
2644 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
2645 src/ui_utils.c, src/ui_utils.h:
2646 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
2648 Refactor some related code.
2649 * tagmanager/conf.c:
2650 Strip trailing spaces from "Key" tags.
2652 Quote the full filename to the Geany executable when creating the
2653 "Open with Geany" context menu item.
2654 * plugins/splitwindow.c:
2655 Avoid using deprecated GTK API.
2656 * src/log.c, src/main.c:
2657 Properly clean up the logging mechanism.
2659 Fix LaTeX view commands on Windows (part of #2807688).
2661 Add a popup menu for the keybinding list in the preferences dialog
2662 to easily expand and collapse all groups.
2663 Refactor the keybindings code for the preferences dialog, prefix all
2665 * src/main.c, src/ui_utils.c, src/ui_utils.h:
2666 Init stock items before creating the toolbar (closes #2809324).
2668 Generate the geany.pc file also on Windows.
2670 Invert the logic to determine which Save All we want to use:
2671 Use the Tango like icon only for the Tango theme and the Gnome / GTK
2672 like icon for any other themes.
2675 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2677 * src/highlighting.c, README.Packagers, HACKING:
2678 Remove gsd_* default styles, use named styles instead.
2679 Note: this relies on filetypes.common being installed.
2680 Add load_style_entries(), which makes style initialization
2681 simpler, used in styleset_c_like_init().
2684 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2687 Prevent possible crash on Windows when not setting an initial
2688 directory for native File Open/Save dialogs.
2689 * data/filetypes.xml, src/highlighting.c:
2690 Add style 'jscript_regex' for filetype HTML
2691 (patch by Chris Macksey, thanks).
2694 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2696 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
2697 Make GeanyDocument::file_type always be non-NULL, even for a new
2698 document with no filetype set.
2700 Only autocomplete scope for scopes matching the current filetype's
2702 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
2703 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
2704 data/filetypes.actionscript, data/filetypes.cs,
2705 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
2706 data/filetypes.javascript, HACKING:
2707 Make C++, D lexer filetypes use named styles (apart from uuid,
2708 verbatim, regex styles).
2711 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2714 Don't explicitly change the current directory of the Save As dialog
2715 so that it uses the last used directory.
2718 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2720 * src/encodings.c, src/encodings.h, src/plugindata.h:
2721 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
2724 When completing from the macro list, put the cursor after
2728 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2730 * tagmanager/pascal.c:
2731 Fix type definitions being parsed as functions.
2733 Don't autocomplete in unterminated strings as well.
2734 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
2735 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
2736 Remove data_ptr argument to foreach_[s]list() macros, as using
2737 node->data is enough sometimes; this makes the macro a bit more
2739 Add foreach_[s]list() macros to the plugin API docs.
2742 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2744 * scintilla/LexPascal.cxx:
2745 Backport fix from Scintilla CVS:
2746 Pascal lexer hanging on file that starts with 'interface' after
2750 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2753 Update Waf to 1.5.7.
2755 Overwrite installation prefix on Windows only if it wasn't
2756 specified explicitly.
2759 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2762 Display calltips for Pascal symbols in the Pascal way (#2803945).
2763 * tagmanager/pascal.c:
2764 Fix wrongly set return values for procedures (closes #2803945).
2765 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
2766 tagmanager/include/tm_source_file.h,
2767 tagmanager/include/tm_workspace.h:
2768 Fix doxygen warnings.
2771 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2773 * src/editor.c, tagmanager/include/tm_workspace.h,
2774 tagmanager/tm_workspace.c, TODO:
2775 Autocomplete scoped fields like struct members when typing '.' (and
2776 also '->' or '::' in C/C++).
2777 Save all tag types for C/C++ when generating a global tags file, so
2778 we can use autocompletion for structs also.
2779 Merge tm_workspace_find_scope_members(),
2780 tm_workspace_find_namespace_members() (currently not built) from
2781 Anjuta 2.24.1 tagmanager.
2784 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2786 * tagmanager/pascal.c:
2787 Parse Pascal calltips (closes #2802640).
2790 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2792 * src/filetypes.c, src/ui_utils.c:
2793 Add filetypes.common Configuration Files menu item.
2796 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2799 Add backslash to the wordchars on Windows when using
2800 'Open Selected File'.
2802 Add support (configure, build and install) for building on Windows
2803 and cross-compiling for Windows using the Waf build system.
2806 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2809 Set status bar text instead of showing a dialog when saving
2810 ui_toolbar.xml because the user might save several times.
2812 Fix redrawing due to colourising just after the document is first
2813 drawn. Now colourising should happen before the first draw.
2814 * src/utils.c, src/highlighting.c, data/filetypes.common:
2815 Fix segfault on parsing a filetypes.* style definition that has < 4
2817 Allow style definitions to have missing fields to use the default
2821 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2823 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
2824 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
2825 * plugins/classbuilder.c:
2826 Fix wrongly created header guards when the class filenames contains
2827 dashes (patch by PCMan, thanks).
2828 * data/filetypes.matlab:
2829 Add build_settings section to allow executing Matlab scripts.
2831 When closing a document, mark it as invalid before removing it from
2832 the documents notebook (this fixes wrong Save All button state when
2833 closing an unsaved document because the "switch-page" signal handler
2834 was using old data).
2837 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2839 * src/highlighting.c, doc/geany.txt, doc/geany.html:
2840 Support toggling bold/italic when using a named style, e.g.:
2841 commentdockeyword=commentdoc,bold,italic
2842 Improve named style docs.
2845 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2847 * src/build.c, src/editor.c:
2848 Fix crashes when parsing the output of a compiler which reports
2852 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2854 * src/highlighting.c:
2855 Support named styles also for filetypes.common [styling] entries.
2856 * doc/geany.txt, doc/geany.html, HACKING:
2857 Update docs for named styles in filetypes.* files.
2859 Fix grouping symbol list children when parent name has "." character
2860 in for reStructuredText and Conf filetypes.
2861 * tagmanager/python.c:
2862 Fix grouping functions/classes under a nested function.
2865 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2868 Adjust icon paths (patch by Dominic Hopf, thanks).
2869 * doc/geany.txt, doc/geany.html, src/toolbar.c:
2870 Add 'Replace' toolbar button (closes #2798225).
2873 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2875 * src/utils.c, src/highlighting.c, TODO:
2876 Implement named styles support for filetypes.* using a
2877 filetypes.common [named_styles] section e.g.:
2878 foo=0xc00000;0xffffff;false;true
2880 These can be used in e.g. filetypes.c as:
2884 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2887 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
2890 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2892 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
2893 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
2896 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2899 Remove quote_executable() as it is not used anymore.
2900 When creating the geany_run_script.bat use the "%0" variable
2901 expansion and quote it for the "del" command (closes #2797172).
2903 On Windows, fallback to the literal build command line if searching
2904 for the command in the system path failed (related to #2795923).
2905 Properly terminate the resulting strings when reading the stdout
2906 and stderr of any spawned commands on Windows.
2909 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2912 Use the wide character versions of native Windows File dialogs.
2914 Fix wrong initialisation of the default project path button callback
2915 in the preferences dialog.
2916 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
2917 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
2918 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
2919 icons/Makefile.am, icons/geany.ico, icons/scalable,
2920 icons/scalable/Makefile.am, icons/scalable/geany.svg,
2922 Move the icons geany.png and geany.ico into the icons directory.
2923 Add a 16x16 pixel Geany icon and the scalable SVG icon.
2924 Drop the pixmaps directory.
2927 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2929 * src/keybindings.c:
2930 Improve MRU document switching so there are no duplicates in the
2931 list and documents switched to whilst the dialog is open are
2932 ignored. Also beep when cycling through to the first document in the
2936 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2939 Fix broken 'Cancel' button in the Save As dialog.
2942 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2945 Fix multiline indent when selection covers text on the last line.
2947 Show current document in bold in tab popup menu.
2948 * src/editor.c, tagmanager/python.c, TODO:
2949 Parse Python calltips.
2952 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2954 * src/symbols.c, tagmanager/python.c:
2955 Parse Python import statements to get symbol completion for the
2956 imported module names.
2957 * src/editor.c, src/editor.h:
2958 Make some only locally used functions static.
2959 Fix wrong sanity check.
2961 Fix quoting the build command string on Windows (closes #2791769).
2962 This broke when we made build commands run synchronously on Windows,
2963 now we don't need to special quote the commands anymore.
2966 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2969 Drop rest of word to the right of cursor when autocompleting (do we
2970 need a pref for this?).
2973 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2975 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
2976 Add sci_set_selection().
2977 * doc/geany.txt, doc/geany.html:
2978 Update manual for MRU switching.
2979 * src/callbacks.c, src/editor.c, src/editor.h:
2980 Make indenting with the Tabs indent type preserve spaces on the line,
2981 so it works for the 'tab indents, space aligns' formatting style.
2984 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2986 * tagmanager/python.c:
2987 Fix missing symbols for variables when an equal sign is used
2988 in a comment on the same line as the variable declaration.
2989 Backport change from CTags SVN to keep the parser more in sync:
2990 Add support for Cython constructs to the Python parser.
2992 Remember the additional Find in Files search flags at startup.
2994 Don't close the Save As dialog when saving the file didn't succeed.
2997 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3000 Remember scribble cursor position.
3001 * src/keybindings.c, TODO:
3002 Implement Most-Recently-Used document switching when pressing
3003 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
3006 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3008 * data/latex.tags: Added some more commands from unit.sty and
3012 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3014 * src/symbols.c, doc/geany.txt, doc/geany.html,
3015 tagmanager/makefile.win32, tagmanager/nestlevel.c,
3016 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
3017 tagmanager/Makefile.am, wscript:
3018 Merge unstable branch:
3019 Add reStructuredText scope information for tags (for symbol list
3021 Read custom system global tags files from $prefix/share/geany/tags;
3023 Show the number of tags in a user global tags file (instead of the
3024 running total) in the debug message.
3025 Also print debug messages when loading a tag file manually or for
3026 default global tags files e.g. python.tags.
3028 Move NestingLevel tags code into a separate file, add functions.
3030 Add 'Installation prefix' section instead of quoting '/usr/local'
3032 Update for custom system global tags files.
3035 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3037 * src/highlighting.c:
3038 Unset maybe previously keywords when setting up Scintilla for
3039 XML files. This fixed wrong highlighting after switching back to
3040 filetype XML from another one.
3042 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
3043 is only used when explicitly requested.
3045 Remove unnecessary call to g_intern_string() to fix build with
3046 GLib 2.8 (closes #2790051).
3049 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3052 Make the clear icon of entry fields act on the release event, not
3053 on the press event like for other buttons.
3055 Refactor some multiple used code into get_multiline_comment_style().
3057 Create parent directories if necessary when checking for the
3058 configuration directory on startup (closes #2784577).
3061 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3063 * plugins/filebrowser.c:
3064 When a filter is set, apply it only to files, not directories and
3065 apply the filter to the UTF-8 name of the file as the filter string
3066 itself is also UTF-8.
3067 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
3068 Add utils_color_invert() and use it in highlighting.c and printing.c.
3069 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
3070 Backport change from Scintilla CVS:
3071 Change capitalisation of header file to suit cross-compilation on
3075 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3077 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
3078 Update Scintilla to version 1.78.
3079 * src/editor.c, src/highlighting.c:
3080 Update Pascal styles as they changed in Scintilla.
3083 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3086 Ignore the invert syntax highlighting colours setting when printing
3087 to not print characters on a dark background (closes #2785244).
3088 * New release: Geany 0.17 "Wessex".
3089 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3090 src/geany.h, doc/geany.html, doc/geany.txt:
3091 Post-release version bump.
3094 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3096 * src/callbacks.c, src/callbacks.h, src/main.c:
3097 Update the View->Fullscreen menu item when fullscreen state is
3098 changed externally (e.g. by the window manager).
3100 Fix passing wrong pointer to the File Open dialog for the Run
3101 command in the Project Properties dialog.
3104 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3106 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
3108 Remember the active sidebar page between sessions.
3110 Add a recent project item after creating a new project.
3111 * tagmanager/ruby.c:
3112 Fix wrong parsing of string literals (closes #2781264).
3114 Fix setting focus to the editor widget after changing the selection
3118 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3121 Prevent crashes when two or more top level items in the symbol
3122 list have the same name (closes #2778246).
3125 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3127 * src/keybindings.c:
3128 Manually show the main notebook tab bar menu when Shift-F10 is
3129 pressed. This broke when we disabled the default GTK tab bar menu.
3131 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
3132 which was reloaded shortly before.
3134 When the editor menu is opened by the Menu key, use the text cursor
3135 position for retrieving the current word. This fixes disabled
3136 Go to Tag items in the menu (#2780044).
3138 Set the "ellipsize" property of GtkCellRendererText to automatically
3139 shorten the path and file names in the Documents list.
3140 * doc/geany.html, doc/geany.txt, src/build.h:
3141 Increase the amount of highlighted build error messages to 100.
3142 At least for LaTeX we need higher values as there is a lot of
3143 informative output before any errors are reported.
3144 * src/filebrowser.c:
3145 Use the startup path as the initial directory for the filebrowser
3146 plugin when no project and no files are opened
3147 (patch by Matias Gea, thanks; closes #2780521).
3150 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3152 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
3153 src/utils.c, src/utils.h:
3154 Ellipsize tab labels and some status messages for very long
3155 filenames (closes #2777348).
3156 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
3157 Add utils_str_middle_truncate() and
3158 document_get_basename_for_display() to the plugin API.
3159 * doc/geany.html, doc/geany.txt, src/toolbar.c:
3160 Add new toolbar element: Print (patch by Roland Baudin, thanks).
3161 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
3163 Add a hidden preference 'use_safe_file_saving' to save files to disk
3164 by creating a temporary file first. This has serious side effects,
3165 please read the documentation before enabling this.
3167 Make build commands on Windows run synchronously to avoid problems
3168 with reading build commands' output.
3169 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
3170 Limit the amount of highlighted build error messages in the
3171 Compiler window to 50 for performance reasons.
3174 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3176 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
3178 Replace our own GEANY_KEYS_MODIFIER_MASK by
3179 gtk_accelerator_get_default_mod_mask() which gives the same result.
3180 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3181 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
3182 Add a trivial symbol parser for NSIS files.
3185 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3188 Hide the extra file open dialog options in an expander to make the
3189 dialog more compact by default and to provide more space for the
3191 Remove the filename field as it is also provided by GTK itself with
3192 more features like auto-completion.
3193 Watch the 'show-hidden' property of the file chooser widget using
3194 GObject's "notify" signal which gives accurate results and remove
3195 the hack using the "selection-changed" signal.
3198 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3200 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
3201 Prevent double execution of radio menu item "activate" or "toggled"
3203 Move 'Set Encoding' callback function into encodings.c.
3206 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3209 Add some missing 'void's in function definitions.
3210 If the project base path is './', just use the path of the project
3211 config file instead of appending './'.
3212 * src/treeviews.c, src/project.c:
3213 When a project is loaded, replace the project base path with the
3214 project name in the Documents sidebar for parent items
3218 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3220 * src/keyfile.c, src/keyfile.h, src/project.c:
3221 Fix duplicating the recent files and projects lists when closing
3223 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3224 src/editor.c, src/encodings.c, src/filetypes.c,
3225 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3226 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
3227 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
3228 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
3229 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
3230 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
3231 Remove all G_LIKELY macros inside g_return_if_fail() statements as
3233 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
3234 sense to keep the code more readable.
3237 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3240 When updating global type definitions for opened documents, take
3241 also C++ namespace symbols into account and don't ignore symbols
3242 which are defined inside a scope.
3245 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3248 Don't show 'plugin is not binary compatible' messages on the status
3249 bar, only the status window.
3252 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3255 When opening files from a remote instance on X11, set the window
3256 server time to encourage window managers to pop up the main window
3257 (related to #2735467 and #2276179).
3259 When finished sending filenames to a remote instance, notify the
3260 environment that we finished starting up.
3263 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3265 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
3266 Sort Configuration Files menu.
3267 Add ui_menu_sort_by_label().
3268 Add foreach_list() macro.
3273 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3276 Fix setting a wrong default window size when starting without an
3277 existing configuration.
3278 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
3279 Make editor_highlight_braces() static.
3280 Remove unused wrapper functions.
3281 * src/editor.c, src/symbols.c, src/symbols.h:
3282 Prevent showing an empty macro list.
3283 Show only macros of the same filetype instead of all macros of all
3286 Don't add opened project files to the GtkRecentManager.
3289 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3292 Add Configuration Files item for snippets.conf.
3293 * src/highlighting.c, src/symbols.c:
3294 Fix 2 old uses of filetype IDs.
3297 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3299 * src/interface.c, src/printing.c, geany.glade:
3300 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
3303 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3306 Add sanity checks in ui_lookup_widget() just to be safe.
3307 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
3308 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
3309 src/project.h, src/ui_utils.c, src/ui_utils.h:
3310 Add "Recent Projects" menu to the Project menu
3311 (#2728630, patch by Elias Pschernig, thanks).
3312 * doc/geany.txt, doc/geany.html:
3313 Describe how to build Geany using the Waf build system.
3314 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3315 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
3316 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3317 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
3318 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
3319 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
3320 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
3321 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
3322 src/utils.c, src/utils.h, src/vte.c:
3323 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
3324 performance when building the code with gcc.
3325 * src/highlighting.c:
3326 Fix typo in the G_LIKELY checks, introduced in last commit.
3327 Fix the size of the styles array.
3329 Show a message dialog when renaming a file fails.
3332 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3335 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
3336 (as we did for all other files in SVN r3382).
3339 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3341 * src/filetypes.c, doc/geany.txt:
3342 Move ActionScript to the Script group.
3344 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
3345 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
3346 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
3347 plugins/htmlchars.c:
3348 Merge reorder-filetypes branch:
3349 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
3350 append randomly without breaking the ABI).
3351 Make None filetype name = title = _("None").
3352 Add foreach_slist() macro.
3353 Add filetypes_by_title list to GeanyData for plugin API access
3354 - a list of filetype pointers, which includes the None filetype
3355 first. This list stays constant by the time plugins are initialized,
3356 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
3357 index the sorted list.
3360 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3362 * doc/geany.txt, doc/geany.html, src/main.c:
3363 Add widget names for the menubar and toolbar.
3365 When hiding the messages window, set the input focus back to the
3366 editor widget (part of #1910393).
3369 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3371 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
3372 Backport recent changes from Scintilla CVS to add partial support
3373 for RFC2822 styled text using the Properties lexer.
3374 Ignore leading whitespace for config files and RFC2822 text.
3375 * data/filetypes.actionscript:
3376 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
3377 * THANKS, src/treeviews.c:
3378 Display file/directory icons in the Documents sidebar
3379 (patch by Simon Treny, thanks).
3382 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3384 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3385 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
3386 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
3387 Add an option to allow appending the toolbar to the main menu bar
3388 to save some vertical space.
3389 Allow setting toolbar icon size to very small (menu icon size).
3392 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3394 * src/keyfile.c, src/utils.c, src/utils.h:
3395 Add utils_path_skip_root(), a relative path safe variant of
3396 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
3397 * src/keyfile.c, src/main.c:
3398 Allow negative window coordinates when saving and restoring the
3399 position of the main window.
3400 Restore the main window position and size *after* the window has
3401 been realised to get it positioned accordingly
3402 (this affects at least Windows).
3405 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3407 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
3408 Use g_win32_get_package_installation_directory_of_module() on Windows
3409 with newer GLib versions instead of deprecated API.
3410 * src/keybindings.c:
3411 Don't manage the last used documents list when quitting to prevent
3412 errors by accessing invalid memory (may close #2533990).
3415 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3418 Delete the geany_run_script.sh immediately after execution
3419 to prevent leaking old copies when the script was quit unexpectedly
3420 (closes #2710482, patch by Martin Olsson, thanks).
3422 Check whether skipping the root element of a document's filename
3423 succeeded and use the filename itself if not (e.g. on relative
3424 filenames, #2702844).
3425 Use the locale encoded filename when saving session files.
3427 Re-set the quitting status after all documents have been closed on
3431 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3433 * plugins/htmlchars.c:
3434 Remove usage of deprecated sci_get_selected_text() from plugin.
3437 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3440 Delay disk file checks when switching between documents a little
3441 bit to avoid fast, unintentional page switching in some cases.
3442 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
3443 src/sciwrappers.c, src/sciwrappers.h:
3444 Deprecate sci_get_text(), sci_get_selected_text() and
3445 sci_get_text_range().
3446 Add sci_get_contents(), sci_get_contents_range() and
3447 sci_get_selection_contents() as replacement functions to provide
3448 an easier and cleaner API (initial patch by Frank).
3451 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3454 Fix wrong parsing of CSS tags when the definition block starts on
3455 a new line (reported by Dominic Hopf, thanks).
3458 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3460 * plugins/htmlchars.c:
3461 Extend plugin by feature to bulk replace and replace on input for
3462 special characters to their HTML entities.
3465 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3468 Update build menu items after changing anything in the
3469 'Set Includes and Arguments' dialog.
3470 Disable Compile/Run buttons/menu items when Compile/Run commands are
3472 Reset current build directory to the base directory after reading a
3473 "Leaving directory" message when parsing Make output
3474 (closes #2694479, patch by Andrea Mazzoleni, thanks).
3476 Fix wrong display of the filename in the tab bar menu for new files.
3478 Set the initial directory for the Save As dialog only once on
3480 Add a shortcut of the project's base directory to the
3481 File Open/Save As dialogs when a project is open for faster access.
3482 * src/splitwindow.c:
3483 Add keybindings for the split actions.
3486 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3489 When using Find All in the Find dialog (in Session and Document),
3490 display the right amount of matches.
3491 Fix the display of the matches once per line (I broke the original
3494 Fix wrong directory selection behaviour in all Open Folder dialogs
3495 (closes #2688020, patch by Marcel Stimberg, thanks).
3497 Don't present the main window of a running instance when starting
3498 a second instance separately.
3501 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3504 Reduce default file permissions on the Unix Domain socket file
3505 (reported by Jörg Sommer, thanks).
3508 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3510 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
3511 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
3513 Add an option to set an additional plugin lookup path.
3515 When using Find All in the Find dialog, display matches only once
3516 per line in the messages window (patch by Bert Vermeulen, thanks).
3519 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3521 * data/filetype_extensions.conf, data/filetypes.actionscript,
3522 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
3523 src/highlighting.c, src/plugindata.h, src/symbols.c,
3524 tagmanager/Makefile.am, tagmanager/actionscript.c,
3525 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
3526 Add filetype ActionScript (patch by Chris Macksey, thanks).
3527 Update type keywords only for real C-like languages.
3528 Fix wrong sorting of Assembler and Ada filetypes.
3529 * plugins/classbuilder.c:
3530 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
3531 Other minor cleanups.
3534 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3537 Don't use menu item images for the tab bar menu to save some
3539 * data/filetypes.fortran, tagmanager/fortran.c:
3540 Add keyword 'extends' and fix Fortran parser to support the
3541 'extends' keyword (closes #2654492).
3542 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
3543 src/search.c, src/toolbar.c:
3547 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3549 * src/about.c, THANKS:
3550 Added Jari Rahkonen to list of Finnish translators.
3553 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3556 Adjust minimum required GTK version.
3557 * src/Makefile.am, wscript:
3558 Add main.h to the list of installed header files.
3559 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
3560 src/notebook.c, src/ui_utils.c:
3561 Remove GeanyDocumentPrivate::tabmenu_label.
3562 Disable the default tab bar menu for the main notebook widget and
3563 use a custom menu instead which lists all open files as usual plus
3564 'Close Other Documents' and 'Close All' menu items.
3567 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3569 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
3570 Move ui_set_search_entry_background() into ui_utils.c.
3571 Change the background colour of the search entries in the Find
3572 and Replace dialogs according to the search results like in the
3573 toolbar search field.
3574 Add images to the 'Replace' and 'Replace and Find' buttons in the
3576 Minor cleanups in search.c.
3577 * tagmanager/tm_source_file.c:
3578 Update source files upon creation.
3580 Update C tags for glibc 2.9.
3581 * src/callbacks.c, src/toolbar.c:
3582 Fix broken non-incremental search with the toolbar search entry when
3583 pressing Enter (closes #2638180).
3584 * plugins/splitwindow.c:
3585 Fix possible crash on non-32-bit systems (patch by
3586 Wolfgang Ocker, thanks).
3588 Update the Packager tag due to Dominic's various contributions.
3589 Update description and feature list.
3590 Change Source tag to the gzip'ed tarball to be in sync with the
3591 Makefile target (thanks to Wolfgang Ocker for reporting).
3594 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3596 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
3597 Removed deprecated plugin VC Diff
3600 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3603 Fix wrong Fortran 90 comment characters when inserting templates.
3604 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3605 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
3606 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
3608 Add 'Send Selection to Terminal' command to the Edit->Format menu
3609 (initial patch by David Gleich, thanks).
3610 * geany.glade, src/interface.c:
3611 Fix mnemonic for the Edit->Preferences menu item.
3614 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3616 * configure.in, plugins/Makefile.am:
3617 Enable socket support when cross-compiling.
3618 Enable plugin compilation when cross-compiling.
3620 Fix missing NULL checks when reading the colour value of compiler
3622 * src/main.c, src/win32.c, src/win32.h:
3623 On Windows, change the working directory to the Geany installation
3624 path at startup to avoid unwanted directory locking(closes #2626124).
3626 Fix broken selection of "Document->Set Encoding" menu items.
3627 * src/document.c, tagmanager/include/tm_source_file.h,
3628 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
3629 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
3630 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
3631 Don't let the tagmanager automatically reparse files if they
3632 seem to be changed on disk (affects all files in the current session,
3633 not the current one). This should speed up file saving a little bit,
3634 especially with remote files.
3635 Remove now unnecessary calls to tm_workspace_update().
3637 Allow an empty value for the date format in the print settings to
3638 omit the date/time string in the print header.
3641 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3643 * src/editor.c: Set cursor for LaTeX at auto closing of environment
3647 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3650 Add missing header include (closes #2615808).
3653 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3656 Fix a possible crash when comparing symbol names
3657 (could be related to Ubuntu bug #147151).
3658 Fix broken symbol list tooltips when tag names contain ampersands.
3661 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3663 * plugins/makefile.win32:
3664 Don't build Split Window plugin on Windows (doesn't work).
3667 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3669 * ChangeLog, Makefile.am: Rotate ChangeLog.
3670 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
3671 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
3672 Post-release version bump.
3675 *** See ChangeLog.pre-0-17 for earlier changes ***