1 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3 * tagmanager/tcl.c, src/symbol.c:
4 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
5 methods and namespaces).
6 Patch by Witek Mozga, thanks.
9 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
11 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
12 src/toolbar.c, src/toolbar.h:
13 Remove ui_toolbar.xml Configuration Files menu item.
14 Add a real toolbar editor dialog.
15 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
17 Add a button in the preferences dialog and an item for the toolbar
18 popup menu to run the toolbar editor dialog.
21 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
24 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
25 Fix using locale encoding for default Save As dialog path.
27 Beep when trying to activate the '...' autocompletion item.
28 Limit (forced) document word completion to
29 autocompletion_max_entries.
30 Beep if no completions are shown when forcing autocompletion.
33 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
35 * data/ui_toolbar.xml, src/toolbar.c:
36 Add 'Build' toolbar button to the default layout.
39 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
42 If forcing autocompletion and there's nothing else to show, complete
43 from words in the current document (using code from Enrico's
44 'AutoComplete Test' plugin).
47 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
50 Add debug message if plugin has not set a name for its keybinding
52 * data/filetype_extensions.conf:
53 Add *.m4 for shell scripts.
56 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
58 * src/highlighting.c, doc/geany.txt, doc/geany.html,
59 data/filetypes.common, TODO:
60 Make filetypes.common named styles use the "default" named style for
61 all missing style fields.
62 Set named styles to usually leave the background style empty. This
63 currently allows C-like filetypes to have a common default
65 Allow hard-coded colors to use -1 for the default color.
66 Add some highlighting style examples to the manual.
69 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
72 Create initial template files with proper platform-specific line
76 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
78 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
79 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
80 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
81 src/ui_utils.c, src/ui_utils.h:
82 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
84 Refactor some related code.
86 Strip trailing spaces from "Key" tags.
88 Quote the full filename to the Geany executable when creating the
89 "Open with Geany" context menu item.
90 * plugins/splitwindow.c:
91 Avoid using deprecated GTK API.
92 * src/log.c, src/main.c:
93 Properly clean up the logging mechanism.
95 Fix LaTeX view commands on Windows (part of #2807688).
97 Add a popup menu for the keybinding list in the preferences dialog
98 to easily expand and collapse all groups.
99 Refactor the keybindings code for the preferences dialog, prefix all
101 * src/main.c, src/ui_utils.c, src/ui_utils.h:
102 Init stock items before creating the toolbar (closes #2809324).
104 Generate the geany.pc file also on Windows.
106 Invert the logic to determine which Save All we want to use:
107 Use the Tango like icon only for the Tango theme and the Gnome / GTK
108 like icon for any other themes.
111 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
113 * src/highlighting.c, README.Packagers, HACKING:
114 Remove gsd_* default styles, use named styles instead.
115 Note: this relies on filetypes.common being installed.
116 Add load_style_entries(), which makes style initialization
117 simpler, used in styleset_c_like_init().
120 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
123 Prevent possible crash on Windows when not setting an initial
124 directory for native File Open/Save dialogs.
125 * data/filetypes.xml, src/highlighting.c:
126 Add style 'jscript_regex' for filetype HTML
127 (patch by Chris Macksey, thanks).
130 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
132 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
133 Make GeanyDocument::file_type always be non-NULL, even for a new
134 document with no filetype set.
136 Only autocomplete scope for scopes matching the current filetype's
138 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
139 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
140 data/filetypes.actionscript, data/filetypes.cs,
141 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
142 data/filetypes.javascript, HACKING:
143 Make C++, D lexer filetypes use named styles (apart from uuid,
144 verbatim, regex styles).
147 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
150 Don't explicitly change the current directory of the Save As dialog
151 so that it uses the last used directory.
154 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
156 * src/encodings.c, src/encodings.h, src/plugindata.h:
157 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
160 When completing from the macro list, put the cursor after
164 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
166 * tagmanager/pascal.c:
167 Fix type definitions being parsed as functions.
169 Don't autocomplete in unterminated strings as well.
170 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
171 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
172 Remove data_ptr argument to foreach_[s]list() macros, as using
173 node->data is enough sometimes; this makes the macro a bit more
175 Add foreach_[s]list() macros to the plugin API docs.
178 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
180 * scintilla/LexPascal.cxx:
181 Backport fix from Scintilla CVS:
182 Pascal lexer hanging on file that starts with 'interface' after
186 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
191 Overwrite installation prefix on Windows only if it wasn't
192 specified explicitly.
195 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
198 Display calltips for Pascal symbols in the Pascal way (#2803945).
199 * tagmanager/pascal.c:
200 Fix wrongly set return values for procedures (closes #2803945).
201 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
202 tagmanager/include/tm_source_file.h,
203 tagmanager/include/tm_workspace.h:
204 Fix doxygen warnings.
207 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
209 * src/editor.c, tagmanager/include/tm_workspace.h,
210 tagmanager/tm_workspace.c, TODO:
211 Autocomplete scoped fields like struct members when typing '.' (and
212 also '->' or '::' in C/C++).
213 Save all tag types for C/C++ when generating a global tags file, so
214 we can use autocompletion for structs also.
215 Merge tm_workspace_find_scope_members(),
216 tm_workspace_find_namespace_members() (currently not built) from
217 Anjuta 2.24.1 tagmanager.
220 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
222 * tagmanager/pascal.c:
223 Parse Pascal calltips (closes #2802640).
226 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
228 * src/filetypes.c, src/ui_utils.c:
229 Add filetypes.common Configuration Files menu item.
232 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
235 Add backslash to the wordchars on Windows when using
236 'Open Selected File'.
238 Add support (configure, build and install) for building on Windows
239 and cross-compiling for Windows using the Waf build system.
242 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
245 Set status bar text instead of showing a dialog when saving
246 ui_toolbar.xml because the user might save several times.
248 Fix redrawing due to colourising just after the document is first
249 drawn. Now colourising should happen before the first draw.
250 * src/utils.c, src/highlighting.c, data/filetypes.common:
251 Fix segfault on parsing a filetypes.* style definition that has < 4
253 Allow style definitions to have missing fields to use the default
257 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
259 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
260 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
261 * plugins/classbuilder.c:
262 Fix wrongly created header guards when the class filenames contains
263 dashes (patch by PCMan, thanks).
264 * data/filetypes.matlab:
265 Add build_settings section to allow executing Matlab scripts.
267 When closing a document, mark it as invalid before removing it from
268 the documents notebook (this fixes wrong Save All button state when
269 closing an unsaved document because the "switch-page" signal handler
273 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
275 * src/highlighting.c, doc/geany.txt, doc/geany.html:
276 Support toggling bold/italic when using a named style, e.g.:
277 commentdockeyword=commentdoc,bold,italic
278 Improve named style docs.
281 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
283 * src/build.c, src/editor.c:
284 Fix crashes when parsing the output of a compiler which reports
288 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
290 * src/highlighting.c:
291 Support named styles also for filetypes.common [styling] entries.
292 * doc/geany.txt, doc/geany.html, HACKING:
293 Update docs for named styles in filetypes.* files.
295 Fix grouping symbol list children when parent name has "." character
296 in for reStructuredText and Conf filetypes.
297 * tagmanager/python.c:
298 Fix grouping functions/classes under a nested function.
301 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
304 Adjust icon paths (patch by Dominic Hopf, thanks).
305 * doc/geany.txt, doc/geany.html, src/toolbar.c:
306 Add 'Replace' toolbar button (closes #2798225).
309 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
311 * src/utils.c, src/highlighting.c, TODO:
312 Implement named styles support for filetypes.* using a
313 filetypes.common [named_styles] section e.g.:
314 foo=0xc00000;0xffffff;false;true
316 These can be used in e.g. filetypes.c as:
320 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
323 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
326 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
328 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
329 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
332 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
335 Remove quote_executable() as it is not used anymore.
336 When creating the geany_run_script.bat use the "%0" variable
337 expansion and quote it for the "del" command (closes #2797172).
339 On Windows, fallback to the literal build command line if searching
340 for the command in the system path failed (related to #2795923).
341 Properly terminate the resulting strings when reading the stdout
342 and stderr of any spawned commands on Windows.
345 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
348 Use the wide character versions of native Windows File dialogs.
350 Fix wrong initialisation of the default project path button callback
351 in the preferences dialog.
352 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
353 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
354 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
355 icons/Makefile.am, icons/geany.ico, icons/scalable,
356 icons/scalable/Makefile.am, icons/scalable/geany.svg,
358 Move the icons geany.png and geany.ico into the icons directory.
359 Add a 16x16 pixel Geany icon and the scalable SVG icon.
360 Drop the pixmaps directory.
363 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
366 Improve MRU document switching so there are no duplicates in the
367 list and documents switched to whilst the dialog is open are
368 ignored. Also beep when cycling through to the first document in the
372 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
375 Fix broken 'Cancel' button in the Save As dialog.
378 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
381 Fix multiline indent when selection covers text on the last line.
383 Show current document in bold in tab popup menu.
384 * src/editor.c, tagmanager/python.c, TODO:
385 Parse Python calltips.
388 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
390 * src/symbols.c, tagmanager/python.c:
391 Parse Python import statements to get symbol completion for the
392 imported module names.
393 * src/editor.c, src/editor.h:
394 Make some only locally used functions static.
395 Fix wrong sanity check.
397 Fix quoting the build command string on Windows (closes #2791769).
398 This broke when we made build commands run synchronously on Windows,
399 now we don't need to special quote the commands anymore.
402 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
405 Drop rest of word to the right of cursor when autocompleting (do we
406 need a pref for this?).
409 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
411 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
412 Add sci_set_selection().
413 * doc/geany.txt, doc/geany.html:
414 Update manual for MRU switching.
415 * src/callbacks.c, src/editor.c, src/editor.h:
416 Make indenting with the Tabs indent type preserve spaces on the line,
417 so it works for the 'tab indents, space aligns' formatting style.
420 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
422 * tagmanager/python.c:
423 Fix missing symbols for variables when an equal sign is used
424 in a comment on the same line as the variable declaration.
425 Backport change from CTags SVN to keep the parser more in sync:
426 Add support for Cython constructs to the Python parser.
428 Remember the additional Find in Files search flags at startup.
430 Don't close the Save As dialog when saving the file didn't succeed.
433 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
436 Remember scribble cursor position.
437 * src/keybindings.c, TODO:
438 Implement Most-Recently-Used document switching when pressing
439 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
442 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
444 * data/latex.tags: Added some more commands from unit.sty and
448 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
450 * src/symbols.c, doc/geany.txt, doc/geany.html,
451 tagmanager/makefile.win32, tagmanager/nestlevel.c,
452 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
453 tagmanager/Makefile.am, wscript:
454 Merge unstable branch:
455 Add reStructuredText scope information for tags (for symbol list
457 Read custom system global tags files from $prefix/share/geany/tags;
459 Show the number of tags in a user global tags file (instead of the
460 running total) in the debug message.
461 Also print debug messages when loading a tag file manually or for
462 default global tags files e.g. python.tags.
464 Move NestingLevel tags code into a separate file, add functions.
466 Add 'Installation prefix' section instead of quoting '/usr/local'
468 Update for custom system global tags files.
471 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
473 * src/highlighting.c:
474 Unset maybe previously keywords when setting up Scintilla for
475 XML files. This fixed wrong highlighting after switching back to
476 filetype XML from another one.
478 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
479 is only used when explicitly requested.
481 Remove unnecessary call to g_intern_string() to fix build with
482 GLib 2.8 (closes #2790051).
485 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
488 Make the clear icon of entry fields act on the release event, not
489 on the press event like for other buttons.
491 Refactor some multiple used code into get_multiline_comment_style().
493 Create parent directories if necessary when checking for the
494 configuration directory on startup (closes #2784577).
497 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
499 * plugins/filebrowser.c:
500 When a filter is set, apply it only to files, not directories and
501 apply the filter to the UTF-8 name of the file as the filter string
502 itself is also UTF-8.
503 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
504 Add utils_color_invert() and use it in highlighting.c and printing.c.
505 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
506 Backport change from Scintilla CVS:
507 Change capitalisation of header file to suit cross-compilation on
511 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
513 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
514 Update Scintilla to version 1.78.
515 * src/editor.c, src/highlighting.c:
516 Update Pascal styles as they changed in Scintilla.
519 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
522 Ignore the invert syntax highlighting colours setting when printing
523 to not print characters on a dark background (closes #2785244).
524 * New release: Geany 0.17 "Wessex".
525 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
526 src/geany.h, doc/geany.html, doc/geany.txt:
527 Post-release version bump.
530 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
532 * src/callbacks.c, src/callbacks.h, src/main.c:
533 Update the View->Fullscreen menu item when fullscreen state is
534 changed externally (e.g. by the window manager).
536 Fix passing wrong pointer to the File Open dialog for the Run
537 command in the Project Properties dialog.
540 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
542 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
544 Remember the active sidebar page between sessions.
546 Add a recent project item after creating a new project.
548 Fix wrong parsing of string literals (closes #2781264).
550 Fix setting focus to the editor widget after changing the selection
554 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
557 Prevent crashes when two or more top level items in the symbol
558 list have the same name (closes #2778246).
561 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
564 Manually show the main notebook tab bar menu when Shift-F10 is
565 pressed. This broke when we disabled the default GTK tab bar menu.
567 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
568 which was reloaded shortly before.
570 When the editor menu is opened by the Menu key, use the text cursor
571 position for retrieving the current word. This fixes disabled
572 Go to Tag items in the menu (#2780044).
574 Set the "ellipsize" property of GtkCellRendererText to automatically
575 shorten the path and file names in the Documents list.
576 * doc/geany.html, doc/geany.txt, src/build.h:
577 Increase the amount of highlighted build error messages to 100.
578 At least for LaTeX we need higher values as there is a lot of
579 informative output before any errors are reported.
581 Use the startup path as the initial directory for the filebrowser
582 plugin when no project and no files are opened
583 (patch by Matias Gea, thanks; closes #2780521).
586 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
588 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
589 src/utils.c, src/utils.h:
590 Ellipsize tab labels and some status messages for very long
591 filenames (closes #2777348).
592 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
593 Add utils_str_middle_truncate() and
594 document_get_basename_for_display() to the plugin API.
595 * doc/geany.html, doc/geany.txt, src/toolbar.c:
596 Add new toolbar element: Print (patch by Roland Baudin, thanks).
597 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
599 Add a hidden preference 'use_safe_file_saving' to save files to disk
600 by creating a temporary file first. This has serious side effects,
601 please read the documentation before enabling this.
603 Make build commands on Windows run synchronously to avoid problems
604 with reading build commands' output.
605 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
606 Limit the amount of highlighted build error messages in the
607 Compiler window to 50 for performance reasons.
610 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
612 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
614 Replace our own GEANY_KEYS_MODIFIER_MASK by
615 gtk_accelerator_get_default_mod_mask() which gives the same result.
616 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
617 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
618 Add a trivial symbol parser for NSIS files.
621 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
624 Hide the extra file open dialog options in an expander to make the
625 dialog more compact by default and to provide more space for the
627 Remove the filename field as it is also provided by GTK itself with
628 more features like auto-completion.
629 Watch the 'show-hidden' property of the file chooser widget using
630 GObject's "notify" signal which gives accurate results and remove
631 the hack using the "selection-changed" signal.
634 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
636 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
637 Prevent double execution of radio menu item "activate" or "toggled"
639 Move 'Set Encoding' callback function into encodings.c.
642 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
645 Add some missing 'void's in function definitions.
646 If the project base path is './', just use the path of the project
647 config file instead of appending './'.
648 * src/treeviews.c, src/project.c:
649 When a project is loaded, replace the project base path with the
650 project name in the Documents sidebar for parent items
654 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
656 * src/keyfile.c, src/keyfile.h, src/project.c:
657 Fix duplicating the recent files and projects lists when closing
659 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
660 src/editor.c, src/encodings.c, src/filetypes.c,
661 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
662 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
663 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
664 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
665 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
666 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
667 Remove all G_LIKELY macros inside g_return_if_fail() statements as
669 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
670 sense to keep the code more readable.
673 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
676 When updating global type definitions for opened documents, take
677 also C++ namespace symbols into account and don't ignore symbols
678 which are defined inside a scope.
681 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
684 Don't show 'plugin is not binary compatible' messages on the status
685 bar, only the status window.
688 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
691 When opening files from a remote instance on X11, set the window
692 server time to encourage window managers to pop up the main window
693 (related to #2735467 and #2276179).
695 When finished sending filenames to a remote instance, notify the
696 environment that we finished starting up.
699 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
701 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
702 Sort Configuration Files menu.
703 Add ui_menu_sort_by_label().
704 Add foreach_list() macro.
709 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
712 Fix setting a wrong default window size when starting without an
713 existing configuration.
714 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
715 Make editor_highlight_braces() static.
716 Remove unused wrapper functions.
717 * src/editor.c, src/symbols.c, src/symbols.h:
718 Prevent showing an empty macro list.
719 Show only macros of the same filetype instead of all macros of all
722 Don't add opened project files to the GtkRecentManager.
725 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
728 Add Configuration Files item for snippets.conf.
729 * src/highlighting.c, src/symbols.c:
730 Fix 2 old uses of filetype IDs.
733 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
735 * src/interface.c, src/printing.c, geany.glade:
736 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
739 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
742 Add sanity checks in ui_lookup_widget() just to be safe.
743 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
744 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
745 src/project.h, src/ui_utils.c, src/ui_utils.h:
746 Add "Recent Projects" menu to the Project menu
747 (#2728630, patch by Elias Pschernig, thanks).
748 * doc/geany.txt, doc/geany.html:
749 Describe how to build Geany using the Waf build system.
750 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
751 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
752 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
753 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
754 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
755 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
756 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
757 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
758 src/utils.c, src/utils.h, src/vte.c:
759 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
760 performance when building the code with gcc.
761 * src/highlighting.c:
762 Fix typo in the G_LIKELY checks, introduced in last commit.
763 Fix the size of the styles array.
765 Show a message dialog when renaming a file fails.
768 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
771 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
772 (as we did for all other files in SVN r3382).
775 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
777 * src/filetypes.c, doc/geany.txt:
778 Move ActionScript to the Script group.
780 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
781 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
782 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
784 Merge reorder-filetypes branch:
785 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
786 append randomly without breaking the ABI).
787 Make None filetype name = title = _("None").
788 Add foreach_slist() macro.
789 Add filetypes_by_title list to GeanyData for plugin API access
790 - a list of filetype pointers, which includes the None filetype
791 first. This list stays constant by the time plugins are initialized,
792 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
793 index the sorted list.
796 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
798 * doc/geany.txt, doc/geany.html, src/main.c:
799 Add widget names for the menubar and toolbar.
801 When hiding the messages window, set the input focus back to the
802 editor widget (part of #1910393).
805 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
807 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
808 Backport recent changes from Scintilla CVS to add partial support
809 for RFC2822 styled text using the Properties lexer.
810 Ignore leading whitespace for config files and RFC2822 text.
811 * data/filetypes.actionscript:
812 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
813 * THANKS, src/treeviews.c:
814 Display file/directory icons in the Documents sidebar
815 (patch by Simon Treny, thanks).
818 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
820 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
821 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
822 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
823 Add an option to allow appending the toolbar to the main menu bar
824 to save some vertical space.
825 Allow setting toolbar icon size to very small (menu icon size).
828 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
830 * src/keyfile.c, src/utils.c, src/utils.h:
831 Add utils_path_skip_root(), a relative path safe variant of
832 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
833 * src/keyfile.c, src/main.c:
834 Allow negative window coordinates when saving and restoring the
835 position of the main window.
836 Restore the main window position and size *after* the window has
837 been realised to get it positioned accordingly
838 (this affects at least Windows).
841 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
843 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
844 Use g_win32_get_package_installation_directory_of_module() on Windows
845 with newer GLib versions instead of deprecated API.
847 Don't manage the last used documents list when quitting to prevent
848 errors by accessing invalid memory (may close #2533990).
851 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
854 Delete the geany_run_script.sh immediately after execution
855 to prevent leaking old copies when the script was quit unexpectedly
856 (closes #2710482, patch by Martin Olsson, thanks).
858 Check whether skipping the root element of a document's filename
859 succeeded and use the filename itself if not (e.g. on relative
860 filenames, #2702844).
861 Use the locale encoded filename when saving session files.
863 Re-set the quitting status after all documents have been closed on
867 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
869 * plugins/htmlchars.c:
870 Remove usage of deprecated sci_get_selected_text() from plugin.
873 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
876 Delay disk file checks when switching between documents a little
877 bit to avoid fast, unintentional page switching in some cases.
878 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
879 src/sciwrappers.c, src/sciwrappers.h:
880 Deprecate sci_get_text(), sci_get_selected_text() and
881 sci_get_text_range().
882 Add sci_get_contents(), sci_get_contents_range() and
883 sci_get_selection_contents() as replacement functions to provide
884 an easier and cleaner API (initial patch by Frank).
887 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
890 Fix wrong parsing of CSS tags when the definition block starts on
891 a new line (reported by Dominic Hopf, thanks).
894 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
896 * plugins/htmlchars.c:
897 Extend plugin by feature to bulk replace and replace on input for
898 special characters to their HTML entities.
901 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
904 Update build menu items after changing anything in the
905 'Set Includes and Arguments' dialog.
906 Disable Compile/Run buttons/menu items when Compile/Run commands are
908 Reset current build directory to the base directory after reading a
909 "Leaving directory" message when parsing Make output
910 (closes #2694479, patch by Andrea Mazzoleni, thanks).
912 Fix wrong display of the filename in the tab bar menu for new files.
914 Set the initial directory for the Save As dialog only once on
916 Add a shortcut of the project's base directory to the
917 File Open/Save As dialogs when a project is open for faster access.
919 Add keybindings for the split actions.
922 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
925 When using Find All in the Find dialog (in Session and Document),
926 display the right amount of matches.
927 Fix the display of the matches once per line (I broke the original
930 Fix wrong directory selection behaviour in all Open Folder dialogs
931 (closes #2688020, patch by Marcel Stimberg, thanks).
933 Don't present the main window of a running instance when starting
934 a second instance separately.
937 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
940 Reduce default file permissions on the Unix Domain socket file
941 (reported by Jörg Sommer, thanks).
944 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
946 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
947 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
949 Add an option to set an additional plugin lookup path.
951 When using Find All in the Find dialog, display matches only once
952 per line in the messages window (patch by Bert Vermeulen, thanks).
955 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
957 * data/filetype_extensions.conf, data/filetypes.actionscript,
958 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
959 src/highlighting.c, src/plugindata.h, src/symbols.c,
960 tagmanager/Makefile.am, tagmanager/actionscript.c,
961 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
962 Add filetype ActionScript (patch by Chris Macksey, thanks).
963 Update type keywords only for real C-like languages.
964 Fix wrong sorting of Assembler and Ada filetypes.
965 * plugins/classbuilder.c:
966 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
967 Other minor cleanups.
970 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
973 Don't use menu item images for the tab bar menu to save some
975 * data/filetypes.fortran, tagmanager/fortran.c:
976 Add keyword 'extends' and fix Fortran parser to support the
977 'extends' keyword (closes #2654492).
978 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
979 src/search.c, src/toolbar.c:
983 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
985 * src/about.c, THANKS:
986 Added Jari Rahkonen to list of Finnish translators.
989 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
992 Adjust minimum required GTK version.
993 * src/Makefile.am, wscript:
994 Add main.h to the list of installed header files.
995 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
996 src/notebook.c, src/ui_utils.c:
997 Remove GeanyDocumentPrivate::tabmenu_label.
998 Disable the default tab bar menu for the main notebook widget and
999 use a custom menu instead which lists all open files as usual plus
1000 'Close Other Documents' and 'Close All' menu items.
1003 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1005 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
1006 Move ui_set_search_entry_background() into ui_utils.c.
1007 Change the background colour of the search entries in the Find
1008 and Replace dialogs according to the search results like in the
1009 toolbar search field.
1010 Add images to the 'Replace' and 'Replace and Find' buttons in the
1012 Minor cleanups in search.c.
1013 * tagmanager/tm_source_file.c:
1014 Update source files upon creation.
1016 Update C tags for glibc 2.9.
1017 * src/callbacks.c, src/toolbar.c:
1018 Fix broken non-incremental search with the toolbar search entry when
1019 pressing Enter (closes #2638180).
1020 * plugins/splitwindow.c:
1021 Fix possible crash on non-32-bit systems (patch by
1022 Wolfgang Ocker, thanks).
1024 Update the Packager tag due to Dominic's various contributions.
1025 Update description and feature list.
1026 Change Source tag to the gzip'ed tarball to be in sync with the
1027 Makefile target (thanks to Wolfgang Ocker for reporting).
1030 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1032 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
1033 Removed deprecated plugin VC Diff
1036 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1039 Fix wrong Fortran 90 comment characters when inserting templates.
1040 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
1041 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
1042 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
1044 Add 'Send Selection to Terminal' command to the Edit->Format menu
1045 (initial patch by David Gleich, thanks).
1046 * geany.glade, src/interface.c:
1047 Fix mnemonic for the Edit->Preferences menu item.
1050 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1052 * configure.in, plugins/Makefile.am:
1053 Enable socket support when cross-compiling.
1054 Enable plugin compilation when cross-compiling.
1056 Fix missing NULL checks when reading the colour value of compiler
1058 * src/main.c, src/win32.c, src/win32.h:
1059 On Windows, change the working directory to the Geany installation
1060 path at startup to avoid unwanted directory locking(closes #2626124).
1062 Fix broken selection of "Document->Set Encoding" menu items.
1063 * src/document.c, tagmanager/include/tm_source_file.h,
1064 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
1065 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
1066 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
1067 Don't let the tagmanager automatically reparse files if they
1068 seem to be changed on disk (affects all files in the current session,
1069 not the current one). This should speed up file saving a little bit,
1070 especially with remote files.
1071 Remove now unnecessary calls to tm_workspace_update().
1073 Allow an empty value for the date format in the print settings to
1074 omit the date/time string in the print header.
1077 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1079 * src/editor.c: Set cursor for LaTeX at auto closing of environment
1083 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1086 Add missing header include (closes #2615808).
1089 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1092 Fix a possible crash when comparing symbol names
1093 (could be related to Ubuntu bug #147151).
1094 Fix broken symbol list tooltips when tag names contain ampersands.
1097 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1099 * plugins/makefile.win32:
1100 Don't build Split Window plugin on Windows (doesn't work).
1103 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1105 * ChangeLog, Makefile.am: Rotate ChangeLog.
1106 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
1107 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
1108 Post-release version bump.
1111 *** See ChangeLog.pre-0-17 for earlier changes ***