1 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3 * plugins/classbuilder.c:
4 Beep if the user hasn't entered a class name on pressing OK.
6 Fix replacing '^' regex.
7 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
8 plugins/geanyfunctions.h:
9 Add Stash widget functions to API.
12 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
15 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
17 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
18 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
19 plugins/geanyfunctions.h, plugins/geanyplugin.h:
20 Add Stash setting functions to API.
21 Remove unnecessary argument to stash_group_load_from_file().
22 * src/geanyobject.c, plugins/classbuilder.c:
23 Don't generate FOO_GET_PRIVATE() macro because caching the result
24 in Foo::priv can be much more efficient.
27 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
30 Fix cursor positioning when toggling comments
31 (patch by Thomas Martitz, thanks).
34 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
36 * src/keybindings.[hc]:
37 Added Control+0 for zoom reset, see suggestion from #2969886.
40 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
42 * src/search.c, src/document.c:
43 Fix wrong selection range after Replace in Selection.
46 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
49 Make CreateChildProcess() working with Unicode strings, e.g.
50 directory names (closes #2972606).
52 Remove reference to already removed latex.tags file.
53 Future releases probably still depend on GTK 2.16.
54 * scintilla/ScintillaGTK.cxx:
55 Backport fix from Scintilla CVS to not paste text beyond the end
56 of lines (closes #2969096).
57 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
59 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
60 to not set Geany's minimum window size anymore (closes #2972992).
61 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
64 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
67 Make adding string and string vector settings initialise the setting
69 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
70 Add stash_group_load_from_file() and stash_group_save_to_file().
73 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
75 * data/filetypes.common:
76 Set default for wrapped lines to show marker at end of line only
77 (more expected and doesn't change line alignment - closes #2972386).
78 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
79 src/pluginutils.c, doc/plugins.dox:
80 Improve API docs contents page by listing all commonly-used files.
81 Fix 'Date' appearing twice on the date line.
82 Don't generate API docs for prefs.h, toolbar.h (unused).
83 Move some '@file' doc-comments to the .c file.
84 * src/interface.c, geany.glade:
85 Add frame for 'Printing' prefs dialog page.
86 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
87 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
89 Rename Stash data types to be independently named from Geany (so
90 Stash can be reused for other projects).
91 Rename GeanyPrefGroup to StashGroup.
94 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
96 * tagmanager/python.c:
97 Apply patch from Colomban Wendling to parse Python lambda functions
98 (thanks) - modified to only parse toplevel or class member lambdas.
99 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
101 Add doc-comments for Stash setting functions.
102 Add an example file showing usage of Stash.
103 (Not enabled yet until added to the plugin API).
106 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
109 Fix using return value without checking return status, caused
110 incorrect sensitivity settings on build dialog.
113 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
116 Add tip about gcc optimization & warnings/debugging.
118 Update Libraries section about synchronizing with other projects.
121 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
124 For now revert the recent patch which set real_path of newly
125 open non-existent configuration files as this seems hackish and
126 causes 'file not found' warnings.
128 Fix/Improve GIT repository detection
129 (patch by Thomas Martitz, thanks).
130 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
132 Add utils_copy_environment() to the plugin API.
135 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
137 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
138 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
140 Use 3rd person for more API dox.
141 Change 'This is a wrapper function for...' to 'Wraps...' in brief
143 Change 'After all...' to 'Afterwards...'.
144 * src/interface.c, geany.glade:
145 Apply patch from Eugene Arshinov to make frame packing/alignment
146 more consistent (thanks).
149 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
152 Fix ui_button_new_with_image() to call gtk_button_set_image() so
153 that gtk_button_[sg]et_label() work as expected.
154 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
155 Make Build Commands dialog show menu item labels as a button (to
156 help show that menu labels don't normally need to be edited &
157 display the mnemonic correctly). Clicking shows an input dialog to
158 set a new menu item label.
159 Split dialogs_show_input() into 2 functions: one simple, one for
161 Fix possible double-destroy of input dialog when closed by user.
163 Fix not destroying 'Make Custom Target' input dialog after first
166 Make Long Line Marker settings for existing projects default to
167 general settings instead of 0 (thanks to Eugene Arshinov).
168 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
169 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
170 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
171 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
172 Use 3rd person (gets not get) for API function brief descriptions.
173 Avoid using 'convenience function' in API brief descriptions.
176 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
178 * doc/geany.txt, doc/geany.html:
179 Warn about some GNU extensions for regular expressions & clarify
181 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
182 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
183 src/editor.h, geany.glade:
184 Apply patch from Eugene Arshinov to add project long line marker
185 customisation (thanks).
186 * src/interface.c, geany.glade:
187 Edit/tidy 'Long line marker' labels.
190 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
192 * src/build.c, src/project.c:
193 Fix crash due to NULL in project build preferences (thanks to
197 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
199 * src/utils.c, src/utils.h, src/search.c, src/search.h,
200 src/document.c, doc/geany.txt, doc/geany.html:
201 Merge gnu-regex branch:
202 Use POSIX system/GNU regex engine for find & replace 'Use regular
203 expressions' option. This alters regex syntax a bit - see the docs
204 for details; we now support '?' operator and replacement backslash
205 escaping is more standard.
206 Make regex search imply replacing escaped chars.
207 Allow \0 backreference replacement for the whole match.
208 Note: Replace All may be slower; if this is a problem please let me
211 Add argument to utils_str_replace_escape() for keeping
212 uninterpreted backslash escapes e.g. '\\', '\e'.
213 * scintilla/LexMarkdown.cxx:
214 Backport minor formatting/style changes from Scintilla project.
215 * doc/geany.txt, doc/geany.html:
216 Remove warning about no visual indication for zero-column-mode
220 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
223 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
226 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
228 * wscript, scintilla/*, scintilla/include/*:
229 Update Scintilla to version 2.03.
230 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
231 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
232 Add preference for virtual spaces.
234 Fix wrong default response for the Debug Messages dialog.
236 Fix crashes when using Save As with no open files (closes #2964406).
238 Fix duplicate mnemonics on 'Resave missing file' dialog, also
239 move the question from the secondary to the main text to be
240 more compatible with the Gnome HIG.
241 Fix broken 'Save' action in 'Resave missing file' dialog.
243 Improve PHP parser to parse also the argument lists of PHP functions.
245 Correctly set the parent widget for the keybinding overwrite
248 Fix setting the icon for some dialogs if the parent itself is also
251 When editing non-existent config files using the Tools->Configuration
252 Files menu, explicitly set the real_path to avoid presenting the Save
253 As dialog when saving the file (patch by Tony Rick, thanks).
255 Focus the editor widget after hiding the sidebar when it had the
256 input focus (patch by Can Koy, thanks).
257 Properly show/hide the mesages window when using the View menu item
259 * plugins/filebrowser.c:
260 After opening files, focus the editor widget
261 (based on a patch by Can Koy, thanks).
262 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
263 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
264 src/ui_utils.h, src/vte.c:
265 Add and use convenience function ui_is_keyval_enter_or_return() and
266 add it to the plugin API.
269 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
271 * src/about.c, THANKS, po/ast.po:
272 Added Asturian translation. Thanks to Marcos Costales for providing.
275 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
278 Fix keyboard accelerators in debug messages window
282 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
284 * scintilla/LexR.cxx:
285 Backport R lexer from Scintilla CVS to fix case sensitive keywords
286 (Scintilla bug #2956543).
287 * src/sidebar.c, src/about.c, THANKS:
288 Make Space on the symbol and document list not focus the editor
289 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
290 * src/document.c, src/document.h:
291 Fix document_try_focus() to make it work with the sidebar document
293 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
294 Make Space on the compiler and messages widgets not focus the editor
295 widget while Enter does (patch by Can Koy, thanks).
297 Fix wrongly auto-detected multiline comments
298 (patch by Eugene Arshinov, thanks).
301 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
304 Show number of lines of current document inside statusbar. Thanks to
305 Can Koy for providing the patch.
308 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
310 * src/keybindings.c, doc/geany.txt, doc/geany.html:
311 Make Switch to Editor keybinding reshow the document statistics
312 line, so user doesn't have to move the cursor.
315 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
318 Update keywords for the R language (patch by Jon Senior, thanks).
321 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
324 Fix the instruction how to insert unicode characters
328 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
330 * scripts/create_py_tags.py:
332 Replace tabs by spaces.
335 Replace tabs by spaces.
336 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
337 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
338 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
339 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
340 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
341 src/plugindata.h, src/sidebar.c, src/sidebar.h:
342 Add keybindings to switch to the sidebar's Document and Symbol list
343 as well as to the Message Window's current tab
344 (patch by Eugene Arshinov, thanks).
346 Update primary keywords for the R language
347 (patch by Jon Senior, thanks).
350 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
353 Add more detailed hints about reloading configuration
354 (thanks to Tony Rick).
355 * data/filetypes.javascript:
356 Correct the keyword list for JavaScript (thanks to Jonas).
359 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
361 * New release: Geany 0.18.1 "Balfour".
364 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
367 Add special cases for handling the Select All keybinding (Ctrl-A) in
368 the toolbar search and goto line text entries (closes #2948040).
369 Strip trailing spaces after reflowing a paragraph, patch by
370 Dominik Wagenfuehr, thanks (closes #2945497).
373 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
375 * src/geanymenubuttonaction.c, src/templates.c:
376 Partly revert last commit:
377 Unref the new files toolbar menu when freeing templates as it
378 was done before but unref it *after* the menu has been removed
379 from the GeanyMenuButtonAction.
381 Fix possible endless loop when trying to detect the encoding of
382 non-text files (patch by Alexey Antipov, thanks).
385 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
388 Allow saving remote files using g_file_set_contents() as well
389 (patch by Алексей Антипов, thanks).
390 * data/filetypes.python:
391 Adjust style for secondary keywords to be less aggressive.
392 Add Python 2.5 builtins keywords.
393 * src/geanymenubuttonaction.c, src/templates.c:
394 Unref the new files toolbar menu when setting a new menu to fix
395 possible crashes when reloading configuration.
397 When reloading configuration, process the current document at last
398 so the symbol list will be updated correctly.
401 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
404 Explicitly read filetype configuration files before generating
405 global tags to get settings for custom filetypes.
408 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
411 Fix GLib warning when toggling 'no plugins available' item.
414 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
417 Include geany.ico in the distribution tarball.
419 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
420 * scripts/create_py_tags.py:
421 Make the script a bit more robust with newer Python versions.
423 Use utils_spawn_sync() instead of g_spawn_sync().
426 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
429 Close meta tag for export date properly.
432 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
435 Update RPM Spec file (patch by Dominic Hopf, thanks).
438 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
441 Fix renaming sci_send_message(), sci_send_command() function pointers.
444 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
446 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
447 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
448 plugins/geanyfunctions.h, plugins/Makefile.am,
449 plugins/pluginmacros.h, plugins/genapi.py, ChangeLog, wscript:
450 Use full function name for GeanyFunctions function pointers. This
451 avoids naming conflicts e.g. with C++'s 'new' keyword.
452 Remove deprecated header pluginmacros.h - use geanyfunctions.h instead.
455 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
457 * src/utils.c, src/utils.h, src/vte.c:
458 Add utils_copy_environment() and make use of it.
459 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
460 src/editor.c, src/templates.c, src/templates.h:
461 Add new special template wildcard "{command:...}" to use the
462 output of a command in templates.
463 Adjust template functions to mostly work with GeanyDocuments.
464 Minor cleanups in the template code.
466 Replace the old icons with smiley icons from the Rodent icon theme.
467 Fix showing the same icon for two or more slots.
469 * src/editor.c, src/editor.h, src/keybindings.c:
470 Rename fold_symbol_click() to editor_toggle_fold().
471 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
472 was used to respect the 'Fold/unfold all children' preference
476 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
479 Prevent possible segfault in get_build_group().
481 Fix GLib warning & beep if trying to insert multiline comment for a
482 filetype that doesn't support it.
485 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
488 Add gcc commands to build a plugin to the HowTo.
489 * src/search.c, src/document.c, src/document.h:
490 Show 'Replaced X matches in Y documents' message when using Replace in
494 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
496 * scripts/plugin_test.c:
497 Add a little test program which can load and test Geany plugins to
498 verify it is loadable at runtime and all necessary symbols are
500 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
502 Add new signal: "geany-startup-complete" which is sent once all
503 initialization and startup tasks has been done.
504 * README.I18N, configure.ac, wscript, po/LINGUAS:
505 Remove po/LINGUAS from the repository.
506 Generate it automatically if needed by reading available
507 message catalogs from the po directory.
508 Also respect the LINGUAS environment variable properly.
511 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
514 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
518 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
520 * src/editor.c, src/templates.c, src/templates.h:
521 Refactor templates_replace_all() into templates_replace_valist()
522 to save some code duplication.
525 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
527 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
528 src/plugindata.h, src/plugins.c:
529 Add editor_insert_text_block() to plugin API.
532 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
535 Update copyright information.
536 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
537 doc/geany.txt, doc/geany.html:
538 Add keybinding to open the last closed tab (closes #2912692).
541 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
543 * autogen.sh, configure.in, configure.ac:
544 Rename configure.in to configure.ac.
545 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
547 Add sci_find_text() to the plugin API.
548 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
549 src/interface.c, src/prefs.c:
550 Add a checkbox in the preferences dialog to explicitly toggle
551 the visibility of the sidebar (closes #2923340).
554 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
556 * src/editor.c, src/plugins.c, src/plugindata.h,
557 plugins/geanyfunctions.h:
558 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
559 editor_get_eol_char() to the plugin API.
560 * src/callbacks.c, src/plugins.c, src/plugins.h:
561 Fix sensitivity of the Edit->Plugin Preferences menu item
562 if plugins are loaded which do not provide a configuration dialog.
563 * scripts/create_py_tags.py:
564 Rewrite and extend the Python tags parsing script to use
565 Python's inspect module to read symbols from Python modules
566 including scope information.
567 * data/filetypes.restructuredtext:
568 Add the default comment character sequence for reStructuredText.
570 Show the Find/Goto dialogs if the corresponding toolbar buttons are
571 clicked but their text fields are not part of the toolbar (#2920807).
572 * data/filetypes.common, doc/geany.html, doc/geany.txt,
574 Add new style to change foreground and background colours for
575 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
577 Remember the window position of the Find, Replace and Find in Files
578 dialogs (closes #2877988).
581 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
584 Fix a minor typo inside plugin API reference.
587 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
589 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
590 Make dialogs_show_prompt() more flexible to take up to three
591 button/response code pairs to be shown.
592 Add a close button to the dialog when asking to Re-Save a
594 (closes #2916954, based on a patch by Dominik Stadler, thanks).
596 Fix LaTeX environment auto completion with CR/LF line endings.
597 Add some sanity checks.
599 When closing a document after it was deleted from the filesystem,
600 don't ask whether it should be saved first.
601 Mark the document only as changed if it is not closed afterwards.
602 Prevent possible segfaults if the document was closed when it is
603 missing from the filesystem.
604 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
605 src/msgwindow.h, src/prefs.c:
606 Add MessageWindow::scribble and use it instead of searching the
607 widget pointer everytime.
608 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
609 Add preferences for hiding single tabs from the messages window
610 (no GUI preferences yet, still to be implemented).
611 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
612 Set the correct parent window for the toolbar editor
613 dialog (closes #2913334).
614 * src/win32.c, src/win32.h, src/ui_utils.c:
615 Rename win32_show_project_folder_dialog() to
616 win32_show_folder_dialog() as it is not related and not used by any
617 project management related code.
618 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
619 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
620 as it is specialised for opening documents.
621 Implement win32_show_file_dialog() as a generic file open dialog and
622 use it with ui_path_box_new().
625 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
628 Extend auto_latex() function to check whether an environment has been
629 closed within the next lines to avoid auto adding double \end{}.
631 Remove LaTeX tags from SVN. Can be found at
632 http://download.geany.org/contrib/tags/ if needed.
635 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
637 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
638 Add document_need_save_as().
639 Show the Save As also for documents created from filetype templates
640 instead of saving them directly with the untitled filename.
643 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
645 * geany.glade, src/interface.c:
646 Move 'Send Selection to Terminal' menu item from Format to Commands
649 When going to a build error, try the current document's path if
650 the parsed filename doesn't exist. (This can happen when we receive
651 build messages in the wrong order - after the 'Leaving directory'
654 Refactor msgwin_goto_compiler_file_line().
655 * src/interface.c, src/keybindings.c, geany.glade:
656 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu item
659 Refactor/reformat on_replace_dialog_response().
662 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
665 Improve geany.spec (split the package into a binary and devel
666 package, update BuildRequires and other minor improvements).
667 Patch by Dominic Hopf, thanks.
670 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
672 * src/filetypes.c, src/filetypes.h:
673 Make group for custom filetypes.
674 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
675 Add custom filetype Genie.
678 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
680 * src/highlighting.c:
681 Highlight D & Java types from a global tags file.
682 * src/highlighting.c, doc/geany.txt, doc/geany.html:
683 Add debug message warning if recursive lexer_filetype is set.
684 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
685 Remove duplicate sci_set_keywords(), make argument const.
686 * src/highlighting.c:
687 Only show debug message once if recursive lexer_filetype is set.
688 Tidy highlighting_init_styles code for filetype None handling.
689 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
690 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
691 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
692 tagmanager/parsers.h, tagmanager/makefile.win32,
693 tagmanager/verilog.c, tagmanager/Makefile.am,
694 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
695 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
696 * src/highlighting.c:
697 Fix segfault on startup (oops).
698 * data/filetypes.verilog:
699 Fix using common style colours for Verilog.
702 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
704 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
705 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
706 Move C-like filetype properties into configuration files.
707 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
709 Remove now unnecessary "styling_within_preprocessor" C style key.
710 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
711 data/filetypes.glsl, data/filetypes.cs:
712 Use lexer_filetype=C configuration file key instead of duplicate
713 styleset functions for C++, C#, GLSL, Vala.
716 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
718 * doc/geany.txt, doc/geany.html:
719 Warn about not using BOM for configuration files (confuses GKeyFile
720 parser, at least on my system).
722 Add/improve debug messages for custom filetypes.
725 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
728 Add a couple of further latex-beamer commands to list of LaTeX tags.
731 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
733 * plugins/filebrowser.c:
734 Add an in-entry clear icon to the filebrowser plugin's filter
735 entry (patch by Dominic Hopf, thanks).
736 * src/prefs.c, src/ui_utils.c:
737 Fix two compiler warnings about possibly uninitialised variables.
740 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
742 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
743 plugins/geanyfunctions.h:
744 Add main_is_realized() to the plugin API.
745 * tagmanager/include/tm_tagmanager.h:
746 Update partly outdated and wrong doc comment.
747 * src/main.c, src/main.h, src/socket.c:
748 Allow opening Geany projects remotely.
749 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
750 Add a hidden pref to allow executing text which was sent to the
751 terminal directly, i.e. do not strip trailing newline characters.
752 Also fix the stripping of trailing newline characters if there was
756 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
758 * src/about.c, THANKS:
759 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
760 Kurt de Bree into section of previous translators.
763 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
765 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
766 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
770 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
772 * src/highlighting.c:
773 Make stylesets take a ft_id argument so they can be reused fully with
774 custom filetypes, so custom styles and keywords can be set.
775 * src/highlighting.c:
776 Fix setting filetype properties when both the system and the user file
778 * src/symbols.c, tagmanager/vhdl.c:
780 * src/highlighting.c:
781 Fix lexer settings for custom filetypes.
784 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
787 Remove duplicate regular expression for parsing classes.
788 Fix and improve parsing of constants (patch by Harold Aling, thanks).
789 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
790 src/main.h, THANKS, src/about.c:
791 Add new command line option "--socket-file" to be able to specify
792 separate socket filenames for instances
793 (closes #2896027, patch by Jörn Reder, thanks).
794 * src/keybindings.c, src/keybindings.h:
795 Add keybindings_check_event() to manually check GdkKeyEvents against
797 * src/callbacks.c, src/utils.c, src/utils.h:
798 Add and use utils_get_help_url().
799 * geany.glade, src/interface.c, src/prefs.c:
800 Add a Help button to the preferences dialog.
801 Handle Help keybinding events for the preferences dialog especially
802 and open the manual with the corresponding anchor link to the current
803 preferences page (same goes for the new Help button).
806 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
808 * src/toolbar.c, src/geanymenubuttonaction.c,
809 src/geanymenubuttonaction.h:
810 Use separate tooltips for toolbar menu buttons and their attached
812 * tagmanager/latex.c:
813 Improve parsing of sections and chapters by ignoring shortnames
814 like \section[shortname]{label} (closes #2890477).
817 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
819 * src/geanymenubuttonaction.c:
820 Try to fix Gtk warning when using Tools->Reload Configuration.
823 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
825 * src/highlighting.c, doc/geany.txt, doc/geany.html,
826 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
827 data/filetypes.pascal, data/filetypes.docbook,
828 data/filetypes.python, data/filetypes.conf:
829 Use filetypes.foo [lexer_properties] group instead of hardcoding
830 lexer properties (more flexible e.g. for custom filetypes).
831 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
832 Replace filetypes.xml html_asp_default_language key with
833 filetypes.html asp.default.language property in [lexer_properties]
837 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
839 * doc/geany.txt, doc/geany.html:
840 Fix slightly wrong description of how to insert Unicode characters.
842 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
843 ui_setup_open_button_callback().
844 * src/prefs.c, src/prefs.c, src/vte.c:
845 Refactor color and font button callback functions in the
846 preferences dialog. Move the VTE related callback functions
848 Make use of ui_setup_open_button_callback().
850 Improve printing status texts (patch by Dominic Hopf, thanks).
851 * src/prefs.c, src/vte.c:
852 Use the default dialog title set by ui_setup_open_button_callback()
853 to be more consistent and to save one string.
856 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
859 Separate DKinds from CKinds.
860 Don't generate macro tags for D, Java.
863 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
865 * tagmanager/ctags.c, tagmanager/general.h:
866 Make TagManager Assert statements cause g_warning on failure.
868 Fix reflow paragraph command when cursor < anchor using
872 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
875 Fix Geany segfault with constant tags (#2895168).
877 Fix invalid tree iter access when using tv_iters.tag_other but not
878 using tv_iters.tag_variable.
879 * HACKING, tagmanager/perl.c:
880 Fix parsing Perl format statements ("other" type doesn't seem to work).
881 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
882 Fix using "other" tag type.
885 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
888 Remove useless comment about applying settings only when libvte.so
889 could be loaded which is only displayed *if* libvte.so is loaded.
891 Allow autocompletion for HTML entities even within a word.
892 * src/geanymenubuttonaction.c:
893 Only set the menu of the button if a non-empty GtkMenu is passed to
894 geany_menu_button_action_set_menu() so the menu arrow keeps
898 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
901 Fix parsing some Java code (e.g. filetypes.java) after r4407.
904 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
907 Parse D functions with contracts (fixes #1885480).
908 Parse D alias statement like typedef.
909 (Ignore some more D keywords).
911 Fix creating D interface tags properly.
913 Parse contents of D extern{} and version{} blocks.
916 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
922 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
924 * src/plugindata.h, HACKING:
925 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
928 Show number of files saved on status bar when using Save All.
929 * src/highlighting.c:
930 Use default color scheme if pref color scheme file doesn't exist.
932 Fix moving correct lines after selecting whole line(s).
935 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
937 * tagmanager/makefile.win32:
938 Fix broken build on Windows because of a typo
939 (patch by Timothy Boronczyk, thanks).
942 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
944 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
946 Add 'View->Editor->Color Schemes' menu, for now only shown if color
947 scheme files exist in a colorschemes config directory. Color scheme
948 files must end in ".conf" and currently only the [named_styles]
950 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
951 Add utils_get_config_files().
952 * src/highlighting.c:
953 Fix issue with default color not being reset if overridden with a
954 system default color.
955 * src/highlighting.c:
956 Only reload filetype files when changing color scheme, not all
958 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
959 Deprecate documents_foreach() as it looks more like a function; use
960 foreach_document() instead.
961 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
964 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
966 * src/stash.c, src/stash.h:
967 Use typedef instead of pointer for widget_id function arguments.
970 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
973 Don't expand Plugin Preferences page spacing vertically to fill the
974 height of the dialog.
975 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
976 geany.glade, plugins/splitwindow.c:
977 Allow GeanyKeyBinding label field to contain underscores, which won't
978 be displayed by Geany. This saves adding near-duplicate translation
980 Add mnemonics for 3 Edit->Format menu items.
981 Add keybindings_get_label().
982 * src/interface.c, geany.glade:
983 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
987 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
990 Desensitize Edit->Commands menu item when no docs are open.
991 * src/interface.c, src/keybindings.c, src/callbacks.c,
992 src/callbacks.h, geany.glade:
993 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
994 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
995 Add general function sci_get_string() that works with any string
996 buffer messages that follow the Windows message convention.
997 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
998 src/keybindings.h, src/callbacks.c, src/callbacks.h,
999 src/pluginutils.c, src/pluginutils.h, geany.glade:
1000 Add 'Edit->Plugin Preferences' menu item and keybinding.
1001 Don't include plugindata.h in pluginutils.h because it redefines the
1002 GEANY() macro for plugin use.
1003 * doc/geany.txt, doc/geany.html:
1004 Update for Plugin Preferences keybinding.
1007 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1010 Sort document word completion list.
1011 * src/interface.c, src/keybindings.c, src/callbacks.c,
1012 src/callbacks.h, geany.glade:
1013 Add some useful commands to editor popup menu under "Commands"
1014 submenu (thanks to Lex).
1015 Move 'Duplicate line or selection' from Format -> Commands submenu.
1016 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1017 Enable switching the sidebar to the right on Windows again, as it
1018 apparently works after all.
1020 Fix using tab to autocomplete in some other situations that word part
1021 completion doesn't apply in.
1022 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
1023 Add Edit->Commands submenu which is shared with the editor popup menu.
1024 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1025 Change editor popup Commands submenu to start as child of menubar Edit
1026 menu, as this is more usual e.g. for keybindings initialization.
1027 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
1029 Share a single Format submenu for menubar Edit and popup menu.
1032 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1035 Fix a compiler warning about an uninitialised variable.
1037 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1038 sciwrappers.h, build.h (for the Waf build system,
1039 accordingly to r4366).
1042 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1044 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
1045 src/toolbar.c, src/toolbar.h:
1046 Add missing dox for types/files in the API.
1047 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
1048 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1049 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
1050 of functions not in the API).
1051 Warning: any plugins that include these headers should remove them.
1052 * src/build.c, src/build.h:
1053 Move function doc-comments to build.c so they stay in sync. Note:
1054 these functions are still not in the API.
1056 Add 'Doc-comments' plugin API subsection.
1057 * plugins/filebrowser.c:
1058 Fix packing configure widgets equally.
1059 Use spacing multiples of 6 as recommended by Gnome HIG.
1060 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1061 Disable switching the sidebar to the right on Windows as it will
1062 probably fail like the Split Window plugin.
1064 Improve 'Detect from file' indentation pref by ignoring lines with
1065 indentation wider than 24 characters as this is more likely to be
1066 alignment than indentation.
1069 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1071 * plugins/saveactions.c:
1072 Fix adding the filetype's default extension when using the
1073 Instant Save plugin (closes #2885142).
1075 Before looking for line and column numbers specified as part
1076 of a filename, ensure the file doesn't exist on disk. This allows
1077 opening of files like "test:0".
1079 Rename "select" variables into "selection" to avoid shadowed names.
1080 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
1081 Add ui_widget_modify_font_from_string() and sci_goto_line()
1083 * plugins/filebrowser.c:
1084 Rename "select" variables into "selection" to avoid shadowed names.
1085 Make use of ui_widget_modify_font_from_string().
1088 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1090 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
1091 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
1093 Add sidebar position interface pref.
1096 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
1098 * doc/geany.txt, doc/geany.html:
1099 Add missing underscores to links.
1102 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1104 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1105 Add 'Move line(s) up/down' keybindings.
1108 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
1110 * src/build.c, src/build.h, src/filetypes.h:
1111 Include code for project filetype execute commands and fix bug in
1112 saving project filetypes list.
1113 * src/project.c, src/build.c, doc/geany.txt:
1114 Make non-project execute configuration save to filetypes not geany.conf.
1115 Fix closing of project failing to remove build commands dialog entry.
1118 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1120 * src/project.c, src/ui_utils.c:
1121 Set border width for project properties build table.
1122 * geany.glade, src/interface.c:
1123 Don't expand hard tab width alignment.
1126 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1128 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
1129 doc/geany.txt, doc/geany.html:
1130 Support loading global tags files for custom filetypes.
1131 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
1132 doc/geany.txt, doc/geany.html:
1133 Add 'Word part completion' keybinding so keys other than Tab can be
1134 used, or to clear/change the combination so Tab does full completion
1136 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1137 Add 'Select to previous/next word part' keybindings.
1138 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1139 Add 'Switch to Messages' focus keybinding.
1142 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1144 * doc/geany.txt, doc/geany.html:
1145 Add 'Custom filetypes' section.
1146 * src/filetypes.c, src/filetypes.h, src/document.c,
1147 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
1148 tagmanager/include/tm_source_file.h:
1149 Add filetype "tag_parser" key so custom filetypes can use an existing
1151 Add tm_source_file_get_named_lang().
1152 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
1154 Add filetype "lexer_filetype" key so custom filetypes can use an
1158 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1160 * THANKS, src/about.c:
1161 Add Xhacker Liu for his work at zh_CN translation to long list of
1165 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1167 * src/sciwrappers.c:
1168 Remove unnecessary line number margin padding.
1169 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
1170 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
1172 Improve word part autocompletion so AC list is not cancelled and
1173 reshown (this also stops the selection changing).
1174 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
1176 Improve CamelCase word part autocompletion for runs of capital letters.
1178 Don't complete snippets if there's a selection.
1181 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
1184 Fix crash opening project when Geany started with no geany.conf.
1187 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1189 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
1190 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
1192 Add word part autocompletion for the current selected item when
1193 pressing Tab - Enter still completes normally.
1194 Add foreach_str() API macro.
1195 Temporarily modify scintilla to say if tab was used for
1197 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1198 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1199 plugins/classbuilder.c:
1200 Revert r4301 - utils_free_pointers() taking 4 arguments.
1201 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
1202 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
1203 plugins/splitwindow.c:
1204 Add highlighting_set_styles() to API, use for Split Window plugin so
1205 filetypes.common settings get set too.
1206 Make highlighting_set_styles() take GeanyFiletype pointer instead of
1208 * src/document.c, src/editor.c, plugins/splitwindow.c:
1209 Call editor_apply_update_prefs() from editor_create_widget() so
1210 correct tab width and other settings are applied for Split Window
1214 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1216 * src/keybindings.c:
1217 Don't include trailing newlines when using reflow command.
1219 Add stock close buttons to notebook tab popup menu.
1220 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
1221 plugins/geanyfunctions.h:
1222 Add document_get_notebook_page() to API.
1224 * data/templates/files/file.html, data/templates/files/file.php:
1225 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
1226 * src/interface.c, src/ui_utils.c, geany.glade:
1227 Move Tools configuration items to top of menu.
1228 * src/keybindings.c, src/search.c:
1229 Fix warning when using Find in Files with no documents open; make
1230 keybinding work in this case.
1233 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1235 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
1236 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
1237 Make Split Window 'Show current document' button have a drop-down menu
1238 to select the other documents.
1239 Add new API function ui_menu_add_document_items().
1242 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
1245 Fix sensitivity settings for compile and build toolbar items.
1248 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1251 Don't use filetype submenus for templates (slower to navigate, often
1252 only 1 per-filetype anyway).
1254 Put old filetype template menu items in 'Old' submenu as they should
1255 be removed after the 0.19 release.
1256 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
1257 Add GeanyKeyGroup callback support, which allow keybinding callbacks
1258 to be ignored if inappropriate so a later keybinding with the same
1259 key combination can intercept it. (Also group callbacks are usually
1260 tidier than separate callbacks).
1261 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
1262 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1263 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1264 plugins/classbuilder.c:
1265 Make utils_free_pointers() take 4 arguments, add to API.
1266 * src/templates.c, src/tools.c, src/ui_utils.c:
1267 Fix memory leaks with gtk_container_get_children().
1270 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
1273 Ensure that old style build config is not loaded if it does not exist.
1276 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1278 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
1279 Added Galician translation. Thanks to José Manuel Castroagudín Silva.
1282 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1284 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
1286 Apply set default encoding for existing files only if the files are
1287 non-Unicode (patch by Alexey Antipov, thanks).
1290 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1292 * src/highlighting.c:
1293 Move new_styleset() and preprocessor setup code into styleset_c_like().
1294 * src/highlighting.c:
1295 Call apply_filetype_properties() from styleset_c_like().
1298 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1300 * doc/geany.txt, doc/geany.html:
1301 Improve information about predefined keybindings which are
1302 commonly used across applications (patch by Lex Trotman, thanks).
1304 Enable embedded page setup properties in the (Unix) Print dialog
1305 on newer GTK versions (closes #2870596).
1306 * src/highlighting.c:
1307 Map global types (read from tags files) to keyword style for
1311 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1314 Fix wrong creation of filetype template menu items for custom
1316 * src/highlighting.c:
1317 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
1319 Group 'New with template' items by filetype submenu (currently only for
1321 Show custom file template items before filetype template items.
1322 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
1324 Only use one 'New with template' submenu - reparent as needed.
1326 Don't create templates/filetype.none either.
1328 Warn if custom template file no longer exists.
1331 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1334 Add missing icon for Java packages in the Symbol List.
1337 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1339 * src/highlighting.c, data/filetypes.vala:
1340 Add Vala keywords to conf file.
1341 * src/templates.c, doc/geany.txt, doc/geany.html:
1342 Read custom file templates from $prefix/share/geany/templates/files as
1344 * src/templates.c, data/templates, data/templates/files,
1345 data/templates/files/file.rb, data/templates/files/file.html,
1346 data/templates/files/main.java, data/templates/files/main.c,
1347 data/templates/files/main.cxx, data/templates/files/file.php,
1348 data/templates/files/main.d, data/templates/files/program.pas,
1349 data/templates/files/main.py, data/templates/files/file.tex,
1350 wscript, Makefile.am:
1351 Move filetype template defaults into custom file template files.
1354 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1356 * src/symbols.c, tagmanager/perl.c:
1357 Change Perl tag parser to ctags SVN r601. This removes support for
1358 buggy local/my/our but it parses constant/format/labels and should
1359 be less buggy overall (closes #2861232).
1360 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
1361 Add utils_get_file_list_full() which can optionally sort or include
1362 a full path for each list item.
1363 * src/utils.c, src/plugindata.h, src/plugins.c:
1364 Add utils_get_file_list_full() to API.
1367 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1369 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
1370 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
1371 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
1372 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
1373 po/POTFILES.in, wscript:
1374 Rename treeviews.[hc] -> sidebar.[hc].
1375 * data/filetypes.common:
1376 Remove unused [styling] arguments.
1377 * src/highlighting.c, data/filetypes.markdown,
1378 data/filetypes.restructuredtext:
1379 Remove style defaults from the code - just read them from
1380 configuration files.
1381 * src/highlighting.c, HACKING:
1382 Add apply_style_entries() to simplify implementing styleset_foo().
1383 * src/highlighting.c:
1384 Remove filetype keyword defaults from the code - just read them from
1385 configuration files.
1386 * src/highlighting.c:
1387 Add sci_set_keywords() wrapper.
1390 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1392 * scripts/create_py_tags.py:
1393 Make the code a bit more pythonic.
1394 * doc/images/build_menu_commands_dialog.png,
1395 doc/images/main_window.png:
1396 Add new images referenced in the documentation.
1397 * doc/geany.html, doc/geany.txt:
1398 Several documentation improvements (patch by Lex Trotman, thanks).
1399 * src/pluginutils.c:
1400 Fix setting the appropriate page of the combined plugins
1404 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1406 * src/keybindings.c:
1407 Only focus toolbar goto line entry when pressing keybinding if it's
1408 visible (patch by Eugene Arshinov, thanks).
1410 Focus editor after entering a number in the goto line toolbar entry.
1412 Use AC_PATH_PROG instead of which for portability (patch by Erik
1413 Southworth, thanks).
1415 Show plugins that only implement plugin_configure_single() in the
1416 multiple-configure dialog as a page with a configure button on it.
1417 Add padding for multiple-configure dialog.
1418 Make the multiple-configure dialog notebook tabs scrollable.
1419 * src/pluginutils.c, src/pluginutils.h:
1420 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
1421 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
1422 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
1423 plugins/geanyfunctions.h, plugins/filebrowser.c:
1424 Add plugin_show_configure() API utility function.
1425 Add File Browser popup menu 'Preferences' item.
1426 * src/highlighting.c:
1427 Add get_keyfile_ints() instead of using tmp_style hack.
1428 * src/highlighting.c, data/filetypes.xml:
1429 Change new html_asp_default_language markup pref to use integer,
1430 not hex in config file.
1431 Fix minor issue with changing pref back to 0.
1432 * src/highlighting.c:
1433 Fix possible segfault in get_keyfile_int() if key value is malformed.
1436 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1438 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
1439 Add "html_asp_default_language" pseudo style to filetypes.xml
1440 to allow setting the used language in embedded ASP code
1441 (patch by Ross McKay, thanks).
1442 * src/filetypes.xml:
1443 Update VBScript keywords (patch by Ross McKay, thanks).
1446 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1448 * src/keybindings.c, THANKS:
1449 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
1450 keybinding use line breaking column when enabled.
1452 Fix showing the document before reload dialog when opening an
1454 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
1455 Add plugin_configure_single() plugin symbol which is easier to
1456 implement than plugin_configure() but won't support a
1457 multiple-plugin configure dialog.
1459 Show multiple plugins in the 'Configure Plugins' dialog.
1462 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1464 * doc/geany.txt, doc/geany.html:
1465 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
1467 * doc/geany.txt, doc/geany.html:
1468 Add 'Toolbar entries' section.
1469 * doc/geany.txt, doc/geany.html:
1470 Update 'Go to line' keybinding description.
1471 * doc/geany.txt, doc/geany.html:
1472 Split keybinding table into group tables; update KB links.
1475 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1478 Fix compiler warnings about uninitialised variables.
1479 * src/callbacks.c, src/document.c:
1480 When reloading files, use the previously set encoding instead of
1481 detecting it again (closes #2862041).
1483 Turn on automake silent rules if supported.
1486 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1489 Speed up sorting in utils_get_file_list(). This reduces the file
1490 browser delay on displaying a big directory, e.g. /usr/bin.
1492 Expand command entry width when expanding Build Commands dialog.
1494 Split Build Commands dialog notes label and edit text.
1496 Add padding for Build Commands dialog separators.
1497 Add colons for regex field labels; fix 1 capitalisation.
1499 Fix none filetype Build Commands dialog label.
1500 Make group labels bold.
1501 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
1503 Add & use ui_label_set_markup(), ui_label_new_bold().
1504 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
1505 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
1506 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
1507 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
1508 * src/keybindings.c:
1509 Make 'Go to Line' keybinding focus the toolbar entry if visible.
1512 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1514 * src/filetypes.c, src/filetypes.h, src/symbols.c,
1515 tagmanager/parsers.h, tagmanager/makefile.win32,
1516 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
1517 data/filetype_extensions.conf, wscript:
1518 Add new filetype: Abc (patch by Eric Forgeot, thanks).
1520 Merge recent changes from the CTags project to further improve
1524 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1527 Fix wrong alignment of printed pages when page headers are
1528 disabled (closes #2856822).
1529 Plug a small memory leak and improve function signature of
1532 Save an if expression.
1534 After clearing a text field using the embedded clear icon, put the
1535 input focus into this text field.
1538 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1540 * plugins/filebrowser.c:
1541 Free file list memory whilst iterating the list.
1542 Minor formatting fixes.
1543 * src/utils.c, src/utils.h:
1544 Add foreach_dir() API macro.
1545 Update API docs for utils_get_file_list().
1546 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
1548 Remove queue.[hc] - use GQueue instead of GeanyQueue.
1549 Beep if there are no more snippet positions.
1550 Limit length of snippet positions queue to 20.
1553 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1555 * src/keybindings.c, src/callbacks.c, src/search.c:
1556 Make Goto Tag commands use the current selection if present (useful
1557 for selecting part of a tag or for ReST section names with spaces
1560 Don't move the cursor when reloading.
1561 * src/plugindata.h, src/editor.c, src/editor.h:
1562 Make editor_prefs.snippets hash table private (not a pref).
1565 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1568 Remove deprecated --debug flag. Please use --verbose/-v instead.
1571 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1574 Show Find in Files stderr output in messages window instead of
1575 debug window so that invalid regex messages can be seen easily.
1576 Combine FIF stdout and stderr callback code.
1579 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1582 Fix opening filenames beginning with two dots (closes #2858487).
1583 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
1584 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
1585 data/filetypes.common, geany.glade:
1586 Update syntax highlighting after changing the 'Invert syntax
1587 highlighting colors' pref, instead of requiring a restart.
1588 Remove filetypes.common invert_all option - use 'Invert syntax
1589 highlighting colors' pref instead (closes #2854525).
1590 * src/prefs.c, src/dialogs.c, src/dialogs.h:
1591 Add 'Allow' button when showing the conflicting keybinding dialog.
1592 Make dialogs_show_question_full() use GTK dialog on Windows if
1593 button text is not the stock yes/no items.
1594 Add dialogs_show_prompt() which also has an 'Apply' button.
1595 * src/queue.c, src/queue.h:
1596 Add warning that GeanyQueue may be removed.
1597 * src/keybindings.c, src/editor.c, src/editor.h:
1598 Change snippet_goto_next_cursor() to
1599 editor_goto_next_snippet_cursor() as it's in editor.h.
1600 Avoid using GPOINTER_TO_INT macro.
1603 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1605 * src/keybindings.c:
1606 Fix 'Reflow block' command when at the last paragraph and there's
1607 no last newline (patch by Eugene Arshinov, thanks).
1609 Add 'Compiler options & warnings' section.
1610 Update Style section to be clearer about code alignment and show
1615 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1617 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
1618 src/plugindata.h, src/plugins.c, src/editor.c,
1619 plugins/geanyfunctions.h:
1620 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
1621 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
1623 Add sci_toggle_marker_at_line().
1624 Fix SciFuncs alignment.
1627 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
1630 Fix erroneous free of returned string in prepare_run_script.
1633 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1635 * data/filetypes.latex:
1636 Changing default value for showing pdf and dvi to ensure to take
1637 *.pdf and *.dvi file.
1640 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1642 * src/about.c, THANKS:
1643 Change language string for Slovenian translation.
1646 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1648 * tagmanager/txt2tags.c:
1649 Fix multi-byte character constant comparison.
1651 Fix Gtk warning when trying to update documents popup menu item
1652 sensitivity before they exist.
1655 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1658 Improve the opening string in the plugin manager dialog.
1660 Use "max-width" to set the document width of the generated
1661 HTML documentation to let the text be auto-wrapped.
1662 * src/prefs.c, src/tagmanager/include/guregex.h,
1663 src/tagmanager/include/tm_tagmanager.h:
1664 Remove trailing spaces (patch by André Hentschel, thanks).
1666 Fix a compiler warning.
1668 Fix crash when opening documents.
1669 * src/build.c, src/build.h, src/project.c:
1670 Adjust coding style (no code changes).
1671 * src/build.c, src/project.c:
1672 Use NZV() macro instead of strlen() to check for empty strings.
1673 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
1674 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
1675 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
1676 src/plugins.c, THANKS:
1677 Add new plugin signal: "document-before-save".
1678 Add get_line_end_position(), set_target_start(), set_target_end(),
1679 replace_target() to the plugin API
1680 (patch by Eugene Arshinov, thanks).
1681 Add new plugin signal: "document-filetype-set" (closes #2852286).
1682 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
1683 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
1684 tagmanager/Makefile.am, tagmanager/makefile.win32,
1685 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
1687 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
1690 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1692 * src/treeviews.c, src/document.c:
1693 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
1694 Use gtk_notebook_set_current_page() instead of
1695 document_open_file_full() when choosing an item from the documents
1697 Avoid using goto in document_open_file_full().
1700 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1702 * src/treeviews.c, src/document.c, src/document.h, THANKS:
1703 Enable type-ahead find for sidebar symbols and documents tabs
1704 (patch by Thomas Martitz, thanks).
1706 Fix 2 free's of possibly uninitialized pointers.
1709 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
1711 * src/build.c, src/filetypes.h, src/filetypes.c
1712 Only write filetype config files when build command or regex is
1713 actually changed. Removed commented code in src/filetypes.c.
1715 Ensure uses of filename are protected against nulls when running
1716 a build command and give status message if not.
1719 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1722 Remove plugin from plugin manager dialog on unloading if it no
1723 longer exists or is incompatible.
1726 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1729 Add warning if only one of the plugin_key_group[_info] symbols is
1730 defined for a plugin.
1731 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
1732 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
1734 Merge custom-filetypes branch:
1735 Support adding custom filetype files e.g. filetypes.Foo.conf.
1737 Allow GeanyFiletype::extension to be NULL.
1738 Add note about using GeanyFiletype pointer instead of filetype_id
1739 for filetypes.c function arguments.
1740 Replace styleset_none() with styleset_default().
1743 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1746 Show the sidebar if either the documents or the symbols list are
1747 enabled (related to #1876107).
1750 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1752 * src/build.c, src/filetypes.c:
1753 Fix compiler warnings.
1755 Fix removing leading double slashes in filenames which are used for
1756 network resources on Windows (closes #2844085).
1759 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1761 * src/keybindings.c:
1762 Fix Make keybindings (patch by Lex Trotman, thanks).
1764 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
1766 Mention Files link at top for header files; demoplugin.c.
1767 Minor edits; remove 'far from being complete'.
1768 * src/keyfile.c, src/keyfile.h, src/main.c,
1769 data/filetype_extensions.conf, HACKING:
1770 Remove --generate-data-files argument & code - just edit
1771 filetype_extensions.conf by hand (filetype order was broken
1773 Add *.H extension for C++ (useful for non-Windows systems).
1776 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
1779 Fix implementation of loading old project files with base
1780 directories. Use project_make_base_path instead of re-
1781 implementing. Now depends on project.c reading base dir
1782 prior to calling load_build_menu.
1784 Change usage of project base directory to conform with
1785 previous documented behavior when loading old project files.
1787 Change make custom and make object to ignore make in base path
1788 when reading old project file settings. Changed some indent
1789 spaces to tabs. Fix missing compile menu accelerator.
1792 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1795 Add warning about not using undocumented features.
1796 Add reference to HACKING for plugin API development.
1798 Add section 'Plugin API/ABI design'.
1799 * src/keybindings.h, src/makefile.win32, src/project.h,
1800 src/filetypes.h, src/Makefile.am, wscript:
1801 Use GEANY_PRIVATE to hide some fields from plugins.
1803 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
1804 * src/build.c, src/build.h, src/project.c:
1805 Use build_ prefix for 3 functions in build.h; add a static modifier.
1808 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1811 Improve parsing of PHP functions by requiring a valid modifier or
1812 whitespace before the 'function' keyword to ignore some false
1813 positives like function tags inside comments
1814 (patch by Harold Aling, thanks).
1815 * tagmanager/python.c:
1816 Don't parse comments after import statements and other tags
1817 (closes #2838938, patch by Huandari Lopez, thanks).
1820 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1822 * data/filetypes.markdown:
1823 Add filetypes.markdown for configuration (thanks to Jon Strait).
1824 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
1825 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
1826 plugins/geanyfunctions.h:
1827 Remove GeanyKeyGroup struct from the API - plugins should not set
1829 Make keybindings_set_item() duplicate the name and label fields
1830 (needed by GeanyLua) and return a keybinding pointer.
1831 Add keybindings_get_item() to the API (in case it's useful).
1832 Move some keybinding code out of plugin source files.
1835 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1837 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
1838 Don't generate build.h API docs until everything is approved and
1839 functions are actually in geany_functions.
1840 Move new GeanyFiletype and GeanyProject field(s) to end of struct
1841 as they may be changed or made private later.
1842 Break ABI for fields removed.
1845 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
1847 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
1848 src/keyfile.c, src/project.c
1849 Changed names of symbols visible in build API to GEANY_xxx.
1852 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
1854 * src/project.h, src/project.c, src/build.c
1855 Remove make_in_base_dir and run_cmd fields from project structure.
1856 Replaced by build functionality. Remove incorrect use in src/build.c
1857 build_run_cmd function.
1860 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
1862 * src/project.h, src/project.c
1863 Removed unused project_get_make_dir function, this is now per
1867 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
1869 * src/build.c, src/build.h, src/project.c, src/keyfile.c, src/filetypes.c
1870 Fix some more warnings.
1871 Fix commented out execute/stop toolbar code in build.c.
1872 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
1873 Changed build.h api so all functions prefixed with build_.
1876 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1878 * src/build.c, src/build.h, src/project.c:
1879 Fix some gcc warnings with '-Wall -W -ansi' enabled.
1882 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
1885 Fixed leaks and crashes due to inconsistent use of static vs dynamic strings
1886 when reading old format configuration & project files.
1887 * src/build.c, src/project.c
1888 Fixed GLib array assertion warnings when no project filetypes are
1889 available to be saved.
1891 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
1897 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
1899 * src/build.h, src/build.c, src/project.c
1900 Created and documented plugins interface to build menu.
1901 Factored out new get_cmd_group function.
1902 Changed name of remove_command function to be consistent with the rest
1903 of the interface & changed calls in project.c.
1904 * src/Makefile.am, wscript
1905 Added build.h to installed files lists.
1907 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
1910 Updated manual to match build-menu capability.
1913 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
1915 * src/build.c, src/build.h
1916 Added set_build_non_ft_wd_to_proj() for use by project dialog.
1917 Improved interpretation of run_in_base_dir from old [build-settings]
1918 Added spacing to build commands dialog
1920 Removed run in base path option from project dialog and added button to
1921 set working directories to d the same.
1924 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
1927 Re-incorporated toolbar changes in trunk accidently excluded in merge
1929 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
1932 Fixed substitute %f etc in commands
1933 Fixed potential leak in build_replace_placeholder
1934 Fixed leak in prepare_run_script (Thanks for patch Thomas)
1935 Fixed build_replace_placeholder to not require document.
1937 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
1939 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c
1940 Fixed crash and lots of warnings, deleted some commented out code.
1941 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c
1942 Removed make command from preferences and associated code
1944 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
1946 * src/build.c, src/build.h
1947 Incorporated patch for working directory field (thanks Thomas)
1948 Removed run_in_base_dir option and associated code that it replaces
1949 Improved handling of old config files and mapping to new ones.
1951 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
1953 * src/build.h, src/build.c
1954 Changed to itterate over entries in build commands dialog to allow
1955 additional fields to be added
1956 Implement support for multiple run commands
1957 * data/filetypes.latex
1958 Implement configured commands and labels for latex.
1961 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
1963 * src/build.h, src/build.c
1964 added dialog support for error regular expressions from multiple sources
1965 and storing and loading them
1966 fixed some typos and memory leaks
1967 * src/filetypes.c, src/filetypes.h, project.c
1968 added support for using error regexes from multiple sources
1971 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
1973 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
1975 Removal of build menu item source made redundant by the following fix
1977 Corrected priority oreder and loading of filetype dependent build
1978 menu items saved in the project file. Added print routine for
1979 debugging command sources and priorities set compile symbol
1980 PRINTBUILDCMDS true to enable
1982 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
1985 fixed problem loading old format filetype files, some formatting fixes
1986 fixed saving new format files
1987 added operation for clear button on build commands dialog
1989 fixed loading and saving filetype files
1992 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
1994 Configurable Build Menu Changes
1996 * doc/geany.html, doc/geany.txt:
1997 Updated build menu section to new functionality
1998 * src/build.h, src/build.c:
1999 Largly re-written, configurability added, Latex code removed
2000 * src/filetypes.h, src/filetypes.c:
2001 Filetype structure updated to add new command pointers, configuration
2002 load and store changed
2003 * src/keybindings.h, src/keybindings.c:
2004 Changed to address new command storage structure.
2006 Changed to load/store new configuration.
2008 Minor change to initialisation order.
2010 Changed to address new menu item storage structure.
2011 * src/project.h, src/project.c:
2012 Changed to load/store the new configuration info.
2014 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2016 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
2017 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2018 doc/pluginsymbols.c, plugins/geanyfunctions.h,
2019 plugins/splitwindow.c:
2020 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
2021 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
2022 the ABI when adding fields to them.
2023 Add plugin_set_key_group() for plugins to dynamically set a
2024 keybinding group (e.g. for the Lua script plugin). Used in Split
2025 Window plugin as an example.
2026 Improve keybinding docs a little.
2029 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2031 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
2032 Add geanyfunctions.h to API docs.
2033 * plugins/splitwindow.c:
2034 Set the cursor color for the split window.
2037 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2040 Fix 'Open Selected File' for unsaved new documents.
2041 * src/keybindings.c, src/keybindings.h, src/prefs.c:
2042 Fix updating main menu accelerators after changing keybindings
2043 (thanks to Lex Trotman).
2045 Fix using 'Insert date' keybinding when a custom date string has
2047 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2048 Merge Plugin and GeanyPluginPrivate structs.
2051 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2053 * src/keybindings.c:
2054 Fix non-working Home and End keys on numpads.
2057 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2059 * doc/geany.txt, doc/geany.html, NEWS:
2060 Add 'Scope autocompletion' section.
2061 Add 'Tools menu items' section to explain configuration files
2062 submenu, reload configuration item.
2063 Minor updates/fixes.
2066 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2069 Add a translation hint to an ambiguous format string.
2071 Add missing include path to fix 'make distcheck'.
2073 Fix opening of local files in the browser on Windows.
2074 * New release: Geany 0.18 "Kaine".
2075 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
2076 src/geany.h, doc/geany.html, doc/geany.txt:
2077 Post-release version bump.
2080 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2083 Temporarily disable reshowing calltips when the autocompletion
2084 list was closed implicitly by not choosing an item to fix
2085 problems with wrongly displayed calltips.
2087 Add missing 'coding' cookie to the Python filetype template.
2088 * doc/images/pref_dialog_edit_completions.png,
2089 doc/images/pref_dialog_toolbar.png:
2090 Update images for Geany 0.18.
2093 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2096 Add command '--hackingdoc' to create the HTML form of the
2100 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2102 * po/pt_PT.po, po/LINGUAS:
2103 Added a first Portugese (Portugal) translation based on work done at
2104 launchpad by e.g. André Glória and Alexandre Jesus.
2105 * src/main.c: Fix a minor typo on --help call.
2108 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2110 * src/highlighting.c:
2111 Call get_keyfile_wordchars() in highlighting_init_styles().
2114 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2116 * data/filetypes.ada:
2118 * src/keybindings.c:
2119 Switching notebook tabs now works for the currently used notebook
2120 widget instead of always using the documents notebook.
2121 * src/document.c, src/document.h, src/documentprivate.h,
2123 Small corrections to some API docs.
2126 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2128 * src/build.c, src/win32.h, src/win32.c:
2129 Expand system environment variables (%variableName%) on Windows when
2130 running Build commands.
2133 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2135 * src/keybindings.c:
2136 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
2137 future using an indent block is more useful e.g. for ChangeLog
2139 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
2140 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
2141 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
2142 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
2143 tagmanager/parsers.h, tagmanager/makefile.win32,
2144 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
2145 Add Markdown filetype (patch by Jon Strait, thanks).
2146 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2147 Fix disconnecting plugin signal id when not using geany_object.
2149 Add filetype_make_title() instead of using:
2150 ft->title = g_strdup_printf(_("%s source file"), ft->name);
2151 It also supports "%s file" strings.
2154 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2156 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
2157 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2158 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
2159 plugins/filebrowser.c:
2160 Add plugin_signal_connect() for connecting plugin signals at
2161 runtime and also for connecting to any GObject signal.
2162 Add 'Plugin Utility Functions' on main page.
2163 Add foreach_array() macro.
2164 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2165 src/document.c, src/editor.c:
2166 Rename 3 sci functions to sci_set_target_start(),
2167 sci_set_target_end(), sci_replace_target() to match the SCI_
2171 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2173 * wscript: Fix compiling error with waf.
2176 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2178 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
2179 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2180 src/Makefile.am, wscript:
2181 Move plugin_* utility functions to pluginutils.c.
2182 Add pluginprivate.h.
2184 Fix reshowing calltip in the wrong document.
2187 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2189 * doc/geany.txt, doc/geany.html:
2190 Add some general information about auto-completion capabilities
2191 (patch by Lex Trotman, thanks).
2194 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2196 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
2197 Added a first Slovenian translation. Thanks to Joze Klepec.
2200 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2202 * src/highlighting.c:
2203 Use full styleset_foo[_init] function name as argument to
2204 init_styleset_case() and styleset_case() macros so it's easier to
2205 understand the code.
2206 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
2207 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
2208 doc/geany.txt, doc/geany.html:
2209 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
2210 Heavily based on a patch by Eugene Arshinov (thanks).
2211 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
2212 editor_strip_line_trailing_spaces().
2215 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2218 Attempt to fix reshowing calltips after the autocompletion list
2220 Reshow calltips also when the autocompletion list was closed
2221 implicitly by not choosing an item.
2223 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2225 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
2226 plugins/splitwindow.c:
2227 Change utils_str_remove_chars() to work in place; fix allocating on
2228 the stack (the string length could exhaust the stack size).
2229 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2230 src/printing.c, src/callbacks.c:
2231 Rename utils_str_replace() utils_str_replace_all(), setting a
2232 'gchar **haystack' argument instead of returning a new string.
2234 For the Tabs indent type, remove spaces when unindenting (only) if
2235 there are no tabs on the line.
2236 Group undo actions for (un)indenting of multiple lines.
2237 * src/document.c, src/editor.c:
2238 Fix scrolling horizontally after finding a search match with the
2239 search bar or Find Next/Previous which is off-screen.
2240 * src/keybindings.c:
2241 Fix GLib warning when pressing a key with no documents open.
2244 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2247 Start unifying usage of @a and @c markup elements in API docs,
2249 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2250 Show/hide the toolbar without a restart when the setting in the
2251 preferences dialog is changed (closes #2824785).
2252 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
2253 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
2254 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
2256 Continue unifying usage of @a and @c markup elements in API docs.
2259 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2262 Remove relative/untidy path elements when creating new documents
2263 with a filename (e.g. from the command-line) (#2823998).
2266 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2269 Disable 'Recent Projects' menu item if the list of recent projects
2272 Fix some harmless compiler warnings.
2273 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
2274 src/plugins.c, src/utils.c, src/utils.h:
2275 Move utils_str_remove_chars() from the plugins/splitwindow.c to
2276 src/utils.c and add it to the plugin API.
2277 Make utils_str_remove_chars() work on a new copy of the input string
2278 instead of modifying it in place.
2280 Remove underscores from the toolbar items labels.
2283 * plugins/splitwindow.c:
2284 Fix broken 'Show the current document' tool button icon.
2287 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2289 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
2291 Add stash_group_add_widget_property() so we can save any widget's
2292 read/write properties.
2293 Use Stash for ui_prefs.sidebar_page setting.
2294 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
2295 Make foreach_ptr_array() use an integer argument for its
2296 implementation, as this is more useful potentially than a gpointer*
2297 argument, and more straightforward.
2298 Add foreach_c_array(), foreach_ptr_array() to API.
2299 * src/utils.c, src/utils.h, src/document.c:
2300 Remove relative/untidy path elements when opening documents (closes
2303 Fix showing project name for documents list files with no
2304 subdirectory (oops).
2306 Fix checking whether to overwrite when using the Rename button in
2307 the 'Save As' dialog.
2310 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2313 Don't use the main window as parent for dialog boxes if it is not
2315 Set titles for message dialogs.
2318 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2321 Display item labels instead of raw names in the toolbar editor.
2322 Apply changes in the toolbar editor instantly.
2323 Show icons in the toolbar editor.
2324 Speed up toolbar editor dialog creation.
2326 Improve inserting of comment templates like File header or licence
2327 notices. The comment information are now read from the filetype
2328 configuration files.
2330 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2333 Enable file monitoring for files which are written to disk by Geany
2336 Fix broken special case handling when detecting filetypes from a
2337 shebang or other special file headers.
2340 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2343 Make Mark All keybinding clear search highlighting when there's no
2346 Fix wrong match length when using Mark with regex.
2347 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
2348 src/keyfile.c, src/main.c:
2349 Add 'Show Paths' documents list popup item.
2350 Add "load_settings" core-only signal emitted just after loading
2351 main keyfile settings; useful to delay building UI elements until
2352 settings have been read.
2354 Fix GTK warning when right-clicking on default tag tree.
2355 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
2356 Add treeviews_finalize().
2357 Remove tv.popup_openfiles field.
2360 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2362 * src/highlighting.c:
2363 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
2366 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2369 Quote the uri before passing it to the browser when opening a
2370 website (closes #2818635).
2372 Fix broken 'builtin' Run command for HTML files on Windows.
2375 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2378 Properly fix wrong brace highlighting of non-brace character.
2380 Allow autocompletion in Perl double-quoted strings.
2381 Don't autocomplete in Perl single-quoted strings (closes #2821061).
2382 Don't autocomplete in Perl q() strings.
2383 * data/filetypes.common:
2384 Make Mark highlighting brighter.
2385 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
2386 Use hyphen for auto-feature terms.
2387 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
2388 src/document.h, src/main.c:
2389 Add documents_foreach() API macro that skips invalid docs.
2390 Make filetypes[], documents[] part of the API again.
2391 Add GEANY() macro for sharing geany symbols between API and core.
2392 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
2393 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
2394 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
2395 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
2396 plugins/classbuilder.c, wscript:
2397 Add geanyplugin.h single include for plugin API; update all core
2399 Add sci_set_font() to API.
2400 Update plugin howto.
2401 * src/filetypes.c, src/filetypes.h:
2402 Remove filetypes_foreach_named().
2405 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2407 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
2408 src/document.h, src/main.c, THANKS:
2409 Apply patch from Eugene Arshinov to reload color schemes via menu
2412 Reload filetypes.common after saving it.
2414 Improve wrong brace highlighting of non-brace character.
2417 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2420 Delay highlighting matching braces by 100ms, which speeds up
2421 scrolling with the arrow keys.
2422 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
2423 Add 'Mark All' keybinding.
2424 * tagmanager/diff.c:
2425 Show relative paths in diff filename tags.
2428 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2430 * src/highlighting.c:
2431 Fix setting keyword list 'classes' for Haxe
2432 (pointed out by Andreas Mokros, thanks).
2435 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2437 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2438 doc/geany.txt, doc/geany.html, geany.glade:
2439 Add 'Drop rest of word on completion' pref.
2440 * src/editor.c, doc/geany.txt, doc/geany.html:
2441 If autocompletion is already visible when forcing completion, show
2442 document word completion instead of tag completion.
2443 Docs: Minor edits of related prefs items.
2444 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
2445 Add warning when printing and editor font is not monospaced.
2446 Fix using GtkMessageType instead of gint param for
2447 dialogs_show_msgbox*().
2448 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
2450 Support 'tab indents, space aligns' style for auto-indentation
2454 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2456 * src/document.c, src/documentprivate.h:
2457 Rework the GIO based file monitoring code. Now it is used only
2458 to indicate a possible change of the file, the real check if the
2459 file has been changed is performed by stat().
2460 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
2461 Add style 'line_height' to increase the line height.
2462 Add style 'marker_mark' and change style 'marker_search' to
2463 define the style used for marked search results.
2464 * doc/geany.txt, doc/geany.html:
2465 Add the new 'Autocomplete all words in document' pref to the docs.
2468 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2470 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2471 doc/geany.txt, doc/geany.html, geany.glade, TODO:
2472 Add 'Autocomplete all words in document' pref.
2473 Use 'autocompletion' in dialog and docs, not 'auto completion'.
2475 Fix limiting number of word completion entries too much.
2476 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
2477 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
2478 Show autocompletion icons for tag symbols - for now only tags with
2479 an arglist have the 'function/method' icon, all others have the
2481 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
2483 * src/highlighting.c:
2484 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
2488 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2490 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
2491 Fix removing underscores in translated string using no_underscore()
2493 Set a tooltip for the Split Window plugin's Show Current tool button.
2494 Add utils_strdupa() macro.
2495 * src/interface.c, geany.glade:
2496 Use stock Select All icon now we have >= GTK 2.8.
2498 Fix using project name for document items that start with the
2499 project base path but don't match it e.g. ".../geany-plugins"
2500 instead of ".../geany" when project name is 'geany'.
2503 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2506 Fix warnings when the toolbar does not contain the Run button.
2508 Fix wrong parsing of complex expressions in the Lua parser.
2509 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
2511 Remove unnecessary enums.
2512 * scintilla/*, scintilla/include/*, src/plugindata.h:
2513 Update Scintilla to version 1.79.
2514 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
2516 Use the new Scintilla struct names prefixed with 'Sci_'.
2517 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
2519 Add second argument to the 'line_wrap_indent' styling setting to
2520 control the new Scintilla indentation mode for wrapped lines.
2522 Properly close the toolbar editor on delete-events.
2523 Fix warnings and possible crashes in the toolbar editor when the list
2524 of displayed toolbar items is empty.
2525 * data/filetypes.tcl:
2526 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
2528 Make the plugin manager dialog a bit bigger.
2531 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2533 * doc/geany.html, doc/geany.txt:
2534 Fix wrong default values for the 'Show Calltip' keybinding.
2537 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2539 * data/filetypes.tcl, src/symbols.c:
2540 Fix duplicate "context_action_cmd" key.
2541 Use different icons for "Methods" and "Procedures" in the symbol
2544 Fix a small memory leak.
2545 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
2546 src/keybindings.h, src/plugindata.h:
2547 Make the Scintilla keybindings 'Delete to end of line' and
2548 'Go to end of display line' configurable.
2550 Fix a typo (closes #2813624).
2553 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2555 * tagmanager/tcl.c, src/symbol.c:
2556 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
2557 methods and namespaces).
2558 Patch by Witek Mozga, thanks.
2561 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2563 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
2564 src/toolbar.c, src/toolbar.h:
2565 Remove ui_toolbar.xml Configuration Files menu item.
2566 Add a real toolbar editor dialog.
2567 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
2569 Add a button in the preferences dialog and an item for the toolbar
2570 popup menu to run the toolbar editor dialog.
2573 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2576 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
2577 Fix using locale encoding for default Save As dialog path.
2579 Beep when trying to activate the '...' autocompletion item.
2580 Limit (forced) document word completion to
2581 autocompletion_max_entries.
2582 Beep if no completions are shown when forcing autocompletion.
2585 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2587 * data/ui_toolbar.xml, src/toolbar.c:
2588 Add 'Build' toolbar button to the default layout.
2591 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2594 If forcing autocompletion and there's nothing else to show, complete
2595 from words in the current document (using code from Enrico's
2596 'AutoComplete Test' plugin).
2599 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2602 Add debug message if plugin has not set a name for its keybinding
2604 * data/filetype_extensions.conf:
2605 Add *.m4 for shell scripts.
2608 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2610 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2611 data/filetypes.common, TODO:
2612 Make filetypes.common named styles use the "default" named style for
2613 all missing style fields.
2614 Set named styles to usually leave the background style empty. This
2615 currently allows C-like filetypes to have a common default
2617 Allow hard-coded colors to use -1 for the default color.
2618 Add some highlighting style examples to the manual.
2621 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2624 Create initial template files with proper platform-specific line
2628 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2630 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
2631 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
2632 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
2633 src/ui_utils.c, src/ui_utils.h:
2634 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
2636 Refactor some related code.
2637 * tagmanager/conf.c:
2638 Strip trailing spaces from "Key" tags.
2640 Quote the full filename to the Geany executable when creating the
2641 "Open with Geany" context menu item.
2642 * plugins/splitwindow.c:
2643 Avoid using deprecated GTK API.
2644 * src/log.c, src/main.c:
2645 Properly clean up the logging mechanism.
2647 Fix LaTeX view commands on Windows (part of #2807688).
2649 Add a popup menu for the keybinding list in the preferences dialog
2650 to easily expand and collapse all groups.
2651 Refactor the keybindings code for the preferences dialog, prefix all
2653 * src/main.c, src/ui_utils.c, src/ui_utils.h:
2654 Init stock items before creating the toolbar (closes #2809324).
2656 Generate the geany.pc file also on Windows.
2658 Invert the logic to determine which Save All we want to use:
2659 Use the Tango like icon only for the Tango theme and the Gnome / GTK
2660 like icon for any other themes.
2663 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2665 * src/highlighting.c, README.Packagers, HACKING:
2666 Remove gsd_* default styles, use named styles instead.
2667 Note: this relies on filetypes.common being installed.
2668 Add load_style_entries(), which makes style initialization
2669 simpler, used in styleset_c_like_init().
2672 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2675 Prevent possible crash on Windows when not setting an initial
2676 directory for native File Open/Save dialogs.
2677 * data/filetypes.xml, src/highlighting.c:
2678 Add style 'jscript_regex' for filetype HTML
2679 (patch by Chris Macksey, thanks).
2682 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2684 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
2685 Make GeanyDocument::file_type always be non-NULL, even for a new
2686 document with no filetype set.
2688 Only autocomplete scope for scopes matching the current filetype's
2690 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
2691 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
2692 data/filetypes.actionscript, data/filetypes.cs,
2693 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
2694 data/filetypes.javascript, HACKING:
2695 Make C++, D lexer filetypes use named styles (apart from uuid,
2696 verbatim, regex styles).
2699 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2702 Don't explicitly change the current directory of the Save As dialog
2703 so that it uses the last used directory.
2706 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2708 * src/encodings.c, src/encodings.h, src/plugindata.h:
2709 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
2712 When completing from the macro list, put the cursor after
2716 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2718 * tagmanager/pascal.c:
2719 Fix type definitions being parsed as functions.
2721 Don't autocomplete in unterminated strings as well.
2722 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
2723 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
2724 Remove data_ptr argument to foreach_[s]list() macros, as using
2725 node->data is enough sometimes; this makes the macro a bit more
2727 Add foreach_[s]list() macros to the plugin API docs.
2730 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2732 * scintilla/LexPascal.cxx:
2733 Backport fix from Scintilla CVS:
2734 Pascal lexer hanging on file that starts with 'interface' after
2738 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2741 Update Waf to 1.5.7.
2743 Overwrite installation prefix on Windows only if it wasn't
2744 specified explicitly.
2747 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2750 Display calltips for Pascal symbols in the Pascal way (#2803945).
2751 * tagmanager/pascal.c:
2752 Fix wrongly set return values for procedures (closes #2803945).
2753 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
2754 tagmanager/include/tm_source_file.h,
2755 tagmanager/include/tm_workspace.h:
2756 Fix doxygen warnings.
2759 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2761 * src/editor.c, tagmanager/include/tm_workspace.h,
2762 tagmanager/tm_workspace.c, TODO:
2763 Autocomplete scoped fields like struct members when typing '.' (and
2764 also '->' or '::' in C/C++).
2765 Save all tag types for C/C++ when generating a global tags file, so
2766 we can use autocompletion for structs also.
2767 Merge tm_workspace_find_scope_members(),
2768 tm_workspace_find_namespace_members() (currently not built) from
2769 Anjuta 2.24.1 tagmanager.
2772 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2774 * tagmanager/pascal.c:
2775 Parse Pascal calltips (closes #2802640).
2778 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2780 * src/filetypes.c, src/ui_utils.c:
2781 Add filetypes.common Configuration Files menu item.
2784 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2787 Add backslash to the wordchars on Windows when using
2788 'Open Selected File'.
2790 Add support (configure, build and install) for building on Windows
2791 and cross-compiling for Windows using the Waf build system.
2794 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2797 Set status bar text instead of showing a dialog when saving
2798 ui_toolbar.xml because the user might save several times.
2800 Fix redrawing due to colourising just after the document is first
2801 drawn. Now colourising should happen before the first draw.
2802 * src/utils.c, src/highlighting.c, data/filetypes.common:
2803 Fix segfault on parsing a filetypes.* style definition that has < 4
2805 Allow style definitions to have missing fields to use the default
2809 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2811 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
2812 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
2813 * plugins/classbuilder.c:
2814 Fix wrongly created header guards when the class filenames contains
2815 dashes (patch by PCMan, thanks).
2816 * data/filetypes.matlab:
2817 Add build_settings section to allow executing Matlab scripts.
2819 When closing a document, mark it as invalid before removing it from
2820 the documents notebook (this fixes wrong Save All button state when
2821 closing an unsaved document because the "switch-page" signal handler
2822 was using old data).
2825 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2827 * src/highlighting.c, doc/geany.txt, doc/geany.html:
2828 Support toggling bold/italic when using a named style, e.g.:
2829 commentdockeyword=commentdoc,bold,italic
2830 Improve named style docs.
2833 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2835 * src/build.c, src/editor.c:
2836 Fix crashes when parsing the output of a compiler which reports
2840 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2842 * src/highlighting.c:
2843 Support named styles also for filetypes.common [styling] entries.
2844 * doc/geany.txt, doc/geany.html, HACKING:
2845 Update docs for named styles in filetypes.* files.
2847 Fix grouping symbol list children when parent name has "." character
2848 in for reStructuredText and Conf filetypes.
2849 * tagmanager/python.c:
2850 Fix grouping functions/classes under a nested function.
2853 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2856 Adjust icon paths (patch by Dominic Hopf, thanks).
2857 * doc/geany.txt, doc/geany.html, src/toolbar.c:
2858 Add 'Replace' toolbar button (closes #2798225).
2861 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2863 * src/utils.c, src/highlighting.c, TODO:
2864 Implement named styles support for filetypes.* using a
2865 filetypes.common [named_styles] section e.g.:
2866 foo=0xc00000;0xffffff;false;true
2868 These can be used in e.g. filetypes.c as:
2872 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2875 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
2878 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2880 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
2881 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
2884 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2887 Remove quote_executable() as it is not used anymore.
2888 When creating the geany_run_script.bat use the "%0" variable
2889 expansion and quote it for the "del" command (closes #2797172).
2891 On Windows, fallback to the literal build command line if searching
2892 for the command in the system path failed (related to #2795923).
2893 Properly terminate the resulting strings when reading the stdout
2894 and stderr of any spawned commands on Windows.
2897 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2900 Use the wide character versions of native Windows File dialogs.
2902 Fix wrong initialisation of the default project path button callback
2903 in the preferences dialog.
2904 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
2905 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
2906 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
2907 icons/Makefile.am, icons/geany.ico, icons/scalable,
2908 icons/scalable/Makefile.am, icons/scalable/geany.svg,
2910 Move the icons geany.png and geany.ico into the icons directory.
2911 Add a 16x16 pixel Geany icon and the scalable SVG icon.
2912 Drop the pixmaps directory.
2915 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2917 * src/keybindings.c:
2918 Improve MRU document switching so there are no duplicates in the
2919 list and documents switched to whilst the dialog is open are
2920 ignored. Also beep when cycling through to the first document in the
2924 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2927 Fix broken 'Cancel' button in the Save As dialog.
2930 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2933 Fix multiline indent when selection covers text on the last line.
2935 Show current document in bold in tab popup menu.
2936 * src/editor.c, tagmanager/python.c, TODO:
2937 Parse Python calltips.
2940 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2942 * src/symbols.c, tagmanager/python.c:
2943 Parse Python import statements to get symbol completion for the
2944 imported module names.
2945 * src/editor.c, src/editor.h:
2946 Make some only locally used functions static.
2947 Fix wrong sanity check.
2949 Fix quoting the build command string on Windows (closes #2791769).
2950 This broke when we made build commands run synchronously on Windows,
2951 now we don't need to special quote the commands anymore.
2954 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2957 Drop rest of word to the right of cursor when autocompleting (do we
2958 need a pref for this?).
2961 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2963 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
2964 Add sci_set_selection().
2965 * doc/geany.txt, doc/geany.html:
2966 Update manual for MRU switching.
2967 * src/callbacks.c, src/editor.c, src/editor.h:
2968 Make indenting with the Tabs indent type preserve spaces on the line,
2969 so it works for the 'tab indents, space aligns' formatting style.
2972 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2974 * tagmanager/python.c:
2975 Fix missing symbols for variables when an equal sign is used
2976 in a comment on the same line as the variable declaration.
2977 Backport change from CTags SVN to keep the parser more in sync:
2978 Add support for Cython constructs to the Python parser.
2980 Remember the additional Find in Files search flags at startup.
2982 Don't close the Save As dialog when saving the file didn't succeed.
2985 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2988 Remember scribble cursor position.
2989 * src/keybindings.c, TODO:
2990 Implement Most-Recently-Used document switching when pressing
2991 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
2994 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2996 * data/latex.tags: Added some more commands from unit.sty and
3000 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3002 * src/symbols.c, doc/geany.txt, doc/geany.html,
3003 tagmanager/makefile.win32, tagmanager/nestlevel.c,
3004 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
3005 tagmanager/Makefile.am, wscript:
3006 Merge unstable branch:
3007 Add reStructuredText scope information for tags (for symbol list
3009 Read custom system global tags files from $prefix/share/geany/tags;
3011 Show the number of tags in a user global tags file (instead of the
3012 running total) in the debug message.
3013 Also print debug messages when loading a tag file manually or for
3014 default global tags files e.g. python.tags.
3016 Move NestingLevel tags code into a separate file, add functions.
3018 Add 'Installation prefix' section instead of quoting '/usr/local'
3020 Update for custom system global tags files.
3023 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3025 * src/highlighting.c:
3026 Unset maybe previously keywords when setting up Scintilla for
3027 XML files. This fixed wrong highlighting after switching back to
3028 filetype XML from another one.
3030 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
3031 is only used when explicitly requested.
3033 Remove unnecessary call to g_intern_string() to fix build with
3034 GLib 2.8 (closes #2790051).
3037 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3040 Make the clear icon of entry fields act on the release event, not
3041 on the press event like for other buttons.
3043 Refactor some multiple used code into get_multiline_comment_style().
3045 Create parent directories if necessary when checking for the
3046 configuration directory on startup (closes #2784577).
3049 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3051 * plugins/filebrowser.c:
3052 When a filter is set, apply it only to files, not directories and
3053 apply the filter to the UTF-8 name of the file as the filter string
3054 itself is also UTF-8.
3055 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
3056 Add utils_color_invert() and use it in highlighting.c and printing.c.
3057 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
3058 Backport change from Scintilla CVS:
3059 Change capitalisation of header file to suit cross-compilation on
3063 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3065 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
3066 Update Scintilla to version 1.78.
3067 * src/editor.c, src/highlighting.c:
3068 Update Pascal styles as they changed in Scintilla.
3071 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3074 Ignore the invert syntax highlighting colours setting when printing
3075 to not print characters on a dark background (closes #2785244).
3076 * New release: Geany 0.17 "Wessex".
3077 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3078 src/geany.h, doc/geany.html, doc/geany.txt:
3079 Post-release version bump.
3082 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3084 * src/callbacks.c, src/callbacks.h, src/main.c:
3085 Update the View->Fullscreen menu item when fullscreen state is
3086 changed externally (e.g. by the window manager).
3088 Fix passing wrong pointer to the File Open dialog for the Run
3089 command in the Project Properties dialog.
3092 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3094 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
3096 Remember the active sidebar page between sessions.
3098 Add a recent project item after creating a new project.
3099 * tagmanager/ruby.c:
3100 Fix wrong parsing of string literals (closes #2781264).
3102 Fix setting focus to the editor widget after changing the selection
3106 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3109 Prevent crashes when two or more top level items in the symbol
3110 list have the same name (closes #2778246).
3113 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3115 * src/keybindings.c:
3116 Manually show the main notebook tab bar menu when Shift-F10 is
3117 pressed. This broke when we disabled the default GTK tab bar menu.
3119 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
3120 which was reloaded shortly before.
3122 When the editor menu is opened by the Menu key, use the text cursor
3123 position for retrieving the current word. This fixes disabled
3124 Go to Tag items in the menu (#2780044).
3126 Set the "ellipsize" property of GtkCellRendererText to automatically
3127 shorten the path and file names in the Documents list.
3128 * doc/geany.html, doc/geany.txt, src/build.h:
3129 Increase the amount of highlighted build error messages to 100.
3130 At least for LaTeX we need higher values as there is a lot of
3131 informative output before any errors are reported.
3132 * src/filebrowser.c:
3133 Use the startup path as the initial directory for the filebrowser
3134 plugin when no project and no files are opened
3135 (patch by Matias Gea, thanks; closes #2780521).
3138 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3140 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
3141 src/utils.c, src/utils.h:
3142 Ellipsize tab labels and some status messages for very long
3143 filenames (closes #2777348).
3144 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
3145 Add utils_str_middle_truncate() and
3146 document_get_basename_for_display() to the plugin API.
3147 * doc/geany.html, doc/geany.txt, src/toolbar.c:
3148 Add new toolbar element: Print (patch by Roland Baudin, thanks).
3149 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
3151 Add a hidden preference 'use_safe_file_saving' to save files to disk
3152 by creating a temporary file first. This has serious side effects,
3153 please read the documentation before enabling this.
3155 Make build commands on Windows run synchronously to avoid problems
3156 with reading build commands' output.
3157 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
3158 Limit the amount of highlighted build error messages in the
3159 Compiler window to 50 for performance reasons.
3162 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3164 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
3166 Replace our own GEANY_KEYS_MODIFIER_MASK by
3167 gtk_accelerator_get_default_mod_mask() which gives the same result.
3168 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3169 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
3170 Add a trivial symbol parser for NSIS files.
3173 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3176 Hide the extra file open dialog options in an expander to make the
3177 dialog more compact by default and to provide more space for the
3179 Remove the filename field as it is also provided by GTK itself with
3180 more features like auto-completion.
3181 Watch the 'show-hidden' property of the file chooser widget using
3182 GObject's "notify" signal which gives accurate results and remove
3183 the hack using the "selection-changed" signal.
3186 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3188 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
3189 Prevent double execution of radio menu item "activate" or "toggled"
3191 Move 'Set Encoding' callback function into encodings.c.
3194 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3197 Add some missing 'void's in function definitions.
3198 If the project base path is './', just use the path of the project
3199 config file instead of appending './'.
3200 * src/treeviews.c, src/project.c:
3201 When a project is loaded, replace the project base path with the
3202 project name in the Documents sidebar for parent items
3206 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3208 * src/keyfile.c, src/keyfile.h, src/project.c:
3209 Fix duplicating the recent files and projects lists when closing
3211 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3212 src/editor.c, src/encodings.c, src/filetypes.c,
3213 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3214 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
3215 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
3216 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
3217 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
3218 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
3219 Remove all G_LIKELY macros inside g_return_if_fail() statements as
3221 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
3222 sense to keep the code more readable.
3225 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3228 When updating global type definitions for opened documents, take
3229 also C++ namespace symbols into account and don't ignore symbols
3230 which are defined inside a scope.
3233 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3236 Don't show 'plugin is not binary compatible' messages on the status
3237 bar, only the status window.
3240 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3243 When opening files from a remote instance on X11, set the window
3244 server time to encourage window managers to pop up the main window
3245 (related to #2735467 and #2276179).
3247 When finished sending filenames to a remote instance, notify the
3248 environment that we finished starting up.
3251 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3253 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
3254 Sort Configuration Files menu.
3255 Add ui_menu_sort_by_label().
3256 Add foreach_list() macro.
3261 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3264 Fix setting a wrong default window size when starting without an
3265 existing configuration.
3266 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
3267 Make editor_highlight_braces() static.
3268 Remove unused wrapper functions.
3269 * src/editor.c, src/symbols.c, src/symbols.h:
3270 Prevent showing an empty macro list.
3271 Show only macros of the same filetype instead of all macros of all
3274 Don't add opened project files to the GtkRecentManager.
3277 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3280 Add Configuration Files item for snippets.conf.
3281 * src/highlighting.c, src/symbols.c:
3282 Fix 2 old uses of filetype IDs.
3285 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3287 * src/interface.c, src/printing.c, geany.glade:
3288 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
3291 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3294 Add sanity checks in ui_lookup_widget() just to be safe.
3295 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
3296 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
3297 src/project.h, src/ui_utils.c, src/ui_utils.h:
3298 Add "Recent Projects" menu to the Project menu
3299 (#2728630, patch by Elias Pschernig, thanks).
3300 * doc/geany.txt, doc/geany.html:
3301 Describe how to build Geany using the Waf build system.
3302 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3303 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
3304 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3305 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
3306 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
3307 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
3308 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
3309 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
3310 src/utils.c, src/utils.h, src/vte.c:
3311 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
3312 performance when building the code with gcc.
3313 * src/highlighting.c:
3314 Fix typo in the G_LIKELY checks, introduced in last commit.
3315 Fix the size of the styles array.
3317 Show a message dialog when renaming a file fails.
3320 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3323 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
3324 (as we did for all other files in SVN r3382).
3327 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3329 * src/filetypes.c, doc/geany.txt:
3330 Move ActionScript to the Script group.
3332 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
3333 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
3334 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
3335 plugins/htmlchars.c:
3336 Merge reorder-filetypes branch:
3337 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
3338 append randomly without breaking the ABI).
3339 Make None filetype name = title = _("None").
3340 Add foreach_slist() macro.
3341 Add filetypes_by_title list to GeanyData for plugin API access
3342 - a list of filetype pointers, which includes the None filetype
3343 first. This list stays constant by the time plugins are initialized,
3344 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
3345 index the sorted list.
3348 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3350 * doc/geany.txt, doc/geany.html, src/main.c:
3351 Add widget names for the menubar and toolbar.
3353 When hiding the messages window, set the input focus back to the
3354 editor widget (part of #1910393).
3357 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3359 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
3360 Backport recent changes from Scintilla CVS to add partial support
3361 for RFC2822 styled text using the Properties lexer.
3362 Ignore leading whitespace for config files and RFC2822 text.
3363 * data/filetypes.actionscript:
3364 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
3365 * THANKS, src/treeviews.c:
3366 Display file/directory icons in the Documents sidebar
3367 (patch by Simon Treny, thanks).
3370 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3372 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3373 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
3374 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
3375 Add an option to allow appending the toolbar to the main menu bar
3376 to save some vertical space.
3377 Allow setting toolbar icon size to very small (menu icon size).
3380 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3382 * src/keyfile.c, src/utils.c, src/utils.h:
3383 Add utils_path_skip_root(), a relative path safe variant of
3384 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
3385 * src/keyfile.c, src/main.c:
3386 Allow negative window coordinates when saving and restoring the
3387 position of the main window.
3388 Restore the main window position and size *after* the window has
3389 been realised to get it positioned accordingly
3390 (this affects at least Windows).
3393 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3395 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
3396 Use g_win32_get_package_installation_directory_of_module() on Windows
3397 with newer GLib versions instead of deprecated API.
3398 * src/keybindings.c:
3399 Don't manage the last used documents list when quitting to prevent
3400 errors by accessing invalid memory (may close #2533990).
3403 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3406 Delete the geany_run_script.sh immediately after execution
3407 to prevent leaking old copies when the script was quit unexpectedly
3408 (closes #2710482, patch by Martin Olsson, thanks).
3410 Check whether skipping the root element of a document's filename
3411 succeeded and use the filename itself if not (e.g. on relative
3412 filenames, #2702844).
3413 Use the locale encoded filename when saving session files.
3415 Re-set the quitting status after all documents have been closed on
3419 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3421 * plugins/htmlchars.c:
3422 Remove usage of deprecated sci_get_selected_text() from plugin.
3425 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3428 Delay disk file checks when switching between documents a little
3429 bit to avoid fast, unintentional page switching in some cases.
3430 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
3431 src/sciwrappers.c, src/sciwrappers.h:
3432 Deprecate sci_get_text(), sci_get_selected_text() and
3433 sci_get_text_range().
3434 Add sci_get_contents(), sci_get_contents_range() and
3435 sci_get_selection_contents() as replacement functions to provide
3436 an easier and cleaner API (initial patch by Frank).
3439 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3442 Fix wrong parsing of CSS tags when the definition block starts on
3443 a new line (reported by Dominic Hopf, thanks).
3446 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3448 * plugins/htmlchars.c:
3449 Extend plugin by feature to bulk replace and replace on input for
3450 special characters to their HTML entities.
3453 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3456 Update build menu items after changing anything in the
3457 'Set Includes and Arguments' dialog.
3458 Disable Compile/Run buttons/menu items when Compile/Run commands are
3460 Reset current build directory to the base directory after reading a
3461 "Leaving directory" message when parsing Make output
3462 (closes #2694479, patch by Andrea Mazzoleni, thanks).
3464 Fix wrong display of the filename in the tab bar menu for new files.
3466 Set the initial directory for the Save As dialog only once on
3468 Add a shortcut of the project's base directory to the
3469 File Open/Save As dialogs when a project is open for faster access.
3470 * src/splitwindow.c:
3471 Add keybindings for the split actions.
3474 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3477 When using Find All in the Find dialog (in Session and Document),
3478 display the right amount of matches.
3479 Fix the display of the matches once per line (I broke the original
3482 Fix wrong directory selection behaviour in all Open Folder dialogs
3483 (closes #2688020, patch by Marcel Stimberg, thanks).
3485 Don't present the main window of a running instance when starting
3486 a second instance separately.
3489 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3492 Reduce default file permissions on the Unix Domain socket file
3493 (reported by Jörg Sommer, thanks).
3496 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3498 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
3499 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
3501 Add an option to set an additional plugin lookup path.
3503 When using Find All in the Find dialog, display matches only once
3504 per line in the messages window (patch by Bert Vermeulen, thanks).
3507 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3509 * data/filetype_extensions.conf, data/filetypes.actionscript,
3510 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
3511 src/highlighting.c, src/plugindata.h, src/symbols.c,
3512 tagmanager/Makefile.am, tagmanager/actionscript.c,
3513 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
3514 Add filetype ActionScript (patch by Chris Macksey, thanks).
3515 Update type keywords only for real C-like languages.
3516 Fix wrong sorting of Assembler and Ada filetypes.
3517 * plugins/classbuilder.c:
3518 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
3519 Other minor cleanups.
3522 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3525 Don't use menu item images for the tab bar menu to save some
3527 * data/filetypes.fortran, tagmanager/fortran.c:
3528 Add keyword 'extends' and fix Fortran parser to support the
3529 'extends' keyword (closes #2654492).
3530 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
3531 src/search.c, src/toolbar.c:
3535 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3537 * src/about.c, THANKS:
3538 Added Jari Rahkonen to list of Finnish translators.
3541 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3544 Adjust minimum required GTK version.
3545 * src/Makefile.am, wscript:
3546 Add main.h to the list of installed header files.
3547 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
3548 src/notebook.c, src/ui_utils.c:
3549 Remove GeanyDocumentPrivate::tabmenu_label.
3550 Disable the default tab bar menu for the main notebook widget and
3551 use a custom menu instead which lists all open files as usual plus
3552 'Close Other Documents' and 'Close All' menu items.
3555 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3557 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
3558 Move ui_set_search_entry_background() into ui_utils.c.
3559 Change the background colour of the search entries in the Find
3560 and Replace dialogs according to the search results like in the
3561 toolbar search field.
3562 Add images to the 'Replace' and 'Replace and Find' buttons in the
3564 Minor cleanups in search.c.
3565 * tagmanager/tm_source_file.c:
3566 Update source files upon creation.
3568 Update C tags for glibc 2.9.
3569 * src/callbacks.c, src/toolbar.c:
3570 Fix broken non-incremental search with the toolbar search entry when
3571 pressing Enter (closes #2638180).
3572 * plugins/splitwindow.c:
3573 Fix possible crash on non-32-bit systems (patch by
3574 Wolfgang Ocker, thanks).
3576 Update the Packager tag due to Dominic's various contributions.
3577 Update description and feature list.
3578 Change Source tag to the gzip'ed tarball to be in sync with the
3579 Makefile target (thanks to Wolfgang Ocker for reporting).
3582 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3584 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
3585 Removed deprecated plugin VC Diff
3588 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3591 Fix wrong Fortran 90 comment characters when inserting templates.
3592 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3593 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
3594 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
3596 Add 'Send Selection to Terminal' command to the Edit->Format menu
3597 (initial patch by David Gleich, thanks).
3598 * geany.glade, src/interface.c:
3599 Fix mnemonic for the Edit->Preferences menu item.
3602 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3604 * configure.in, plugins/Makefile.am:
3605 Enable socket support when cross-compiling.
3606 Enable plugin compilation when cross-compiling.
3608 Fix missing NULL checks when reading the colour value of compiler
3610 * src/main.c, src/win32.c, src/win32.h:
3611 On Windows, change the working directory to the Geany installation
3612 path at startup to avoid unwanted directory locking(closes #2626124).
3614 Fix broken selection of "Document->Set Encoding" menu items.
3615 * src/document.c, tagmanager/include/tm_source_file.h,
3616 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
3617 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
3618 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
3619 Don't let the tagmanager automatically reparse files if they
3620 seem to be changed on disk (affects all files in the current session,
3621 not the current one). This should speed up file saving a little bit,
3622 especially with remote files.
3623 Remove now unnecessary calls to tm_workspace_update().
3625 Allow an empty value for the date format in the print settings to
3626 omit the date/time string in the print header.
3629 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3631 * src/editor.c: Set cursor for LaTeX at auto closing of environment
3635 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3638 Add missing header include (closes #2615808).
3641 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3644 Fix a possible crash when comparing symbol names
3645 (could be related to Ubuntu bug #147151).
3646 Fix broken symbol list tooltips when tag names contain ampersands.
3649 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3651 * plugins/makefile.win32:
3652 Don't build Split Window plugin on Windows (doesn't work).
3655 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3657 * ChangeLog, Makefile.am: Rotate ChangeLog.
3658 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
3659 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
3660 Post-release version bump.
3663 *** See ChangeLog.pre-0-17 for earlier changes ***