Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

5267 lines (3685 sloc) 198.961 kb
2007-05-21 Enrico Tröger <>
* NEWS, geany_private.rc, win32-config.h, doc/,
doc/geany.docbook, doc/geany.txt, doc/images/*, doc/html/*:
Updated for Geany 0.11.
* New release: Geany 0.11 "Bandor".
2007-05-16 Enrico Tröger <>
* THANKS, src/about.c, po/LINGUAS, po/bg.po:
Added Bulgarian translation (Thanks to Dilyan Rusev).
2007-05-16 Nick Treleaven <>
* src/highlighting.c:
Fix bug when loading custom filetypes.common styles.
* src/sci_cb.c:
Add workaround for PHP/TCL closing brace de-indenting.
2007-05-15 Nick Treleaven <>
* src/highlighting.c, data/filetypes.common:
Show fold line by default (so it's clearer there are hidden lines).
2007-05-15 Enrico Tröger <>
* scintilla/ScintillaGTK.cxx:
Fixed wrong clipboard target (closes #1711483).
* doc/geany.docbook, src/callbacks.c:
Hide notebooks tabs instead of sidebar when toggling additional
* doc/geany.docbook, src/about.c, src/build.c, src/dialogs.c,
src/keybindings.c, src/project.c, src/symbols.c, src/tools.c,
src/ui_utils.c: Added many widget names to different dialogs for use
with custom styles. Menu items still don't work.
* data/filetypes.common, doc/geany.docbook, src/highlighting.c:
Applied patch from Michal Kurgan to disable separately use of global
white space foreground and background colours (thanks).
2007-05-14 Nick Treleaven <>
* src/filetypes.c, src/filetypes.h:
Add some menu separators to group filetype menu items.
Reorder Haskell, O-Matrix, VHDL filetypes.
* src/document.c:
Fix removing indent spaces after switching back to tab indenting.
* scintilla/LexHTML.cxx:
Hopefully fix #1718532 - 'Crashes when open a special file';
backported from Scintilla 1.73.
2007-05-12 Nick Treleaven <>
* tagmanager/sql.c:
Fix #1717418, Hang on SQL file load.
2007-05-11 Nick Treleaven <>
* src/utils.c, src/utils.h, src/search.c:
Move search_get_file_list() to utils.c.
* src/highlighting.c, src/highlighting.h, src/symbols.c:
Load global tag files stored in ~/.geany/tags when needed.
* doc/geany.docbook:
Update docs for loading user tags at startup.
* doc/geany.docbook:
Rename 'confdialog' to 'prefs'.
Move compile time options section into an appendix (most users
shouldn't change these options).
* src/highlighting.c:
Prevent double loading of common styles when filetype none is used
before other filetypes.
Replace init_styles() with direct initialization of style_sets.
* src/ui_utils.h, src/project.c, src/search.c, src/ui_utils.c:
Use open folder dialog for project base path instead of create folder
dialog (better for choosing existing directories, and can still
create new folders).
Add optional title parameter for open dialog with ui_path_box_new()
and ui_setup_open_button_callback().
Use Windows folder dialog in ui_path_box_open_clicked().
* src/utils.c:
Wrap notebook pages when switching tabs.
* src/utils.c:
Fix bug when directory doesn't exist in utils_get_file_list().
2007-05-10 Nick Treleaven <>
* data/global.tags:
Update C global tags for GTK+ 2.10 and it's dependencies.
2007-05-09 Nick Treleaven <>
* src/document.c:
Make backspace unindent when using spaces for indentation.
2007-05-08 Nick Treleaven <>
* src/sci_cb.c:
Fix auto-indentation when the filetype is not set.
2007-05-08 Enrico Tröger <>
* src/sciwrappers.c, src/sciwrappers.h:
Added sci_get_line_indentation() and sci_set_line_indentation().
* src/callbacks.c: Fixed broken increase/decrease indentation when
using only spaces for indentation.
2007-05-07 Enrico Tröger <>
* data/filetypes.haskell: Added build instructions.
* geany.nsi: Prevent installation in a directory without proper
write permissions under Windows.
Display an error message instead.
2007-05-06 Enrico Tröger <>
* data/filetypes.haskell, scintilla/KeyWords.cxx,
scintilla/LexHaskell.cxx, scintilla/,
scintilla/makefile.win32, src/filetypes.c, src/filetypes.h,
src/highlighting.c, src/highlighting.h, src/sci_cb.c, THANKS:
Added new filetype Haskell (patch by Guillaume Hoffmann, thanks).
*, doc/geany.docbook, src/callbacks.c, src/callbacks.h,
src/interface.c, src/keybindings.c, src/keybindings.h:
Added menu item to hide or show all additional widgets and renamed
keybinding to menu_toggleall.
2007-05-05 Nick Treleaven <>
* src/keybindings.c:
Make marker and matching brace keybindings global.
(Also indent some case statement bodies).
* src/sci_cb.c:
Add brace indenting support for Perl and TCL.
2007-05-05 Enrico Tröger <>
* doc/geany.docbook: Applied patch from John Gabriele which adds some
text to the preferences section, thanks.
2007-05-04 Enrico Tröger <>
* doc/geany.docbook, src/main.c, src/prefs.c:
Set widget names for the main widgets to allow users to define custom
styles in .gtkrc-2.0.
* doc/geany.docbook, src/keybindings.c, src/keybindings.h, src/prefs.c,
src/ui_utils.c, src/ui_utils.h:
Added keybinding to show and hide all additional widgets(statusbar,
toolbar, sidebar and messages window).
2007-05-03 Nick Treleaven <>
* src/keybindings.c, src/keybindings.h:
Add keybinding to show project properties dialog.
* src/keybindings.c:
Merge file menu keybinding callbacks into cb_func_file_action().
2007-05-02 Frank Lanitz <>
* THANKS, src/about.c: Update of e-mail of Jean-Philippe Moal.
2007-05-01 Nick Treleaven <>
* geany.gladep:
Don't regenerate the support.[hc] files, to prevent unnecessary
rebuilding of files dependent on support.h.
* src/project.c:
Hide the unused File Patterns field in the project properties dialog.
* src/build.c, src/project.c:
Allow run for any file (with a path) when a valid project run command
is set.
* src/project.c:
Allow a blank project base path to use the default Make All command.
Update the 'project already open' & 'base path not found' dialogs.
2007-04-30 Nick Treleaven <>
* src/symbols.c:
Use g_printerr (if necessary) when generating global tags to convert
UTF-8 automatically; mark error messages for translation.
* src/search.c:
Allow replacing identical text if case sensitive is not checked.
* src/document.c:
Fix reloading of read-only documents.
* src/document.c:
Make replace all commands report no matches for read-only documents.
* src/search.c:
Switch to status window when using Replace In Session to show which
documents had replacements made.
* src/search.c:
Show number of matches when using Mark command.
* src/utils.h:
Add NZV() macro for checking a char* points to a non-empty string.
* src/build.c:
Disable the Build Includes run command field when there is a project
open with a valid run command set.
2007-04-29 Nick Treleaven <>
* src/interface.c,
Rename 'tabulators' 'tabs'.
* src/ui_utils.h, src/search.c, src/ui_utils.c:
Add ui_path_box_new() for creating a path text entry with an open
button, which runs a file chooser to set the text entry.
Add ui_setup_open_button_callback() for setting up a button callback
that behaves like the open button in ui_path_box_new().
Use ui_path_box_new() in FIF dialog setup.
* src/interface.c, src/project.c, src/project.h, src/prefs.c,
Add project file path preferences option in General tab.
2007-04-29 Enrico Tröger <>
* src/geany.h: Changed default browser to firefox.
2007-04-26 Nick Treleaven <>
* tagmanager/tm_source_file.c, tagmanager/include/tm_source_file.h:
Add tm_source_file_get_lang_name() as a wrapper for getLanguageName()
in parse.c.
* src/main.c, src/symbols.c, tagmanager/tm_workspace.c,
Add support for generating global tags files for non-C-like
* doc/geany.docbook:
Update Global Tags section now all filetypes can be generated.
Comment out 'should be written' from Preferences section.
* doc/geany.docbook:
Add Project Management section.
2007-04-25 Nick Treleaven <>
* src/filetypes.c, src/filetypes.h, src/main.c:
Separate filetype menu item creation from filetypes_init_types() so
it can be called without initializing GTK (for non-GUI commands).
2007-04-24 Nick Treleaven <>
* src/search.c:
Disable FIF extra options entry when checkbox is not checked.
* src/sci_cb.c:
Remove duplicate calltips (e.g. from function def and prototype).
2007-04-23 Nick Treleaven <>
* src/build.c:
When linking (or using Make Custom), remove error indicators in all
documents (should fix #1705374).
* src/symbols.c:
Sort symbol list tags also by line number (fixes #1703575).
* src/utils.c, src/utils.h:
Add G_GNUC_NULL_TERMINATED to ensure variable arglists are NULL
terminated (for GLib >= 2.8).
2007-04-21 Nick Treleaven <>
* src/project.c, src/project.h, src/keyfile.c, src/main.c:
Restore the current project when restarting Geany.
* src/project.c:
Fix no response with Project dialogs when the user enters invalid
information (oops).
2007-04-20 Nick Treleaven <>
* doc/geany.docbook:
Update generating global tags section.
* src/keyfile.c:
Move save_recent_files(), save_session_files() code out of
Move load_file_lists() code out of configuration_load().
2007-04-19 Enrico Tröger <>
* doc/geany.docbook, src/vte.c:
Fixed handling of command line arguments within the shell command for
the VTE to enable use of shells as login shells.
2007-04-18 Nick Treleaven <>
* doc/geany.docbook:
Update Search section: escape sequences, Find All, Mark, Replace All.
* src/filetypes.c, src/filetypes.h, src/document.c:
Split filetypes_get_from_filename() into filetypes_detect_from_file()
and filetypes_detect_from_filename().
* tagmanager/tm_tag.c:
Use the usual TM parser for all langTypes except pascal, php, latex
when loading global tags files.
* tagmanager/tm_workspace.c:
Keep tag names with different argument lists when loading global
Prevent segfault if using tm_workspace_find_scoped() with global
* src/interface.c, src/callbacks.c, src/callbacks.h, src/symbols.c,
Add Load Tags command in the File menu.
2007-04-16 Enrico Tröger <>
* src/build.c, src/dialogs.c, src/document.c, src/utils.c:
Use g_stat() instead of stat() to prevent file read errors on Win32.
Prevent unnecessary filename encoding conversions on Win32.
2007-04-16 Nick Treleaven <>
* src/filetypes.c:
Remove wrong UTF-8 conversion in filetypes_get_from_filename().
2007-04-15 Enrico Tröger <>
*, data/filetypes.*, doc/geany.docbook, src/callbacks.c,
src/callbacks.h, src/filetypes.c, src/filetypes.h, src/geany.h,
src/interface.c, src/keybindings.c, src/keybindings.h, src/keyfile.c,
src/main.c, src/prefs.c:
Added context actions to run custom commands on current selection or
the current word below cursor.
* src/document.c, src/keyfile.c:
Run print command asynchronously to prevent blocking of the main
process (closes #1695786).
2007-04-15 Nick Treleaven <>
* src/sci_cb.c:
Prevent D module tag lookup for D constructor calltips.
* tagmanager/tm_workspace.c:
Allow overloaded argument lists in global tag files.
* tagmanager/tm_workspace.c:
Add tm_tag_function_t tags in global tags files, so that inline C++
methods (and D functions) get parsed.
* src/keyfile.c, src/search.c, src/search.h:
Save FIF extra options string in the keyfile.
* src/search.c:
Move 'Recurse in subfolders' FIF option below the others.
Add tooltip for extra options entry.
2007-04-13 Enrico Tröger <>
* src/sci_cb.c: Fixed missing calltip display when using a space after
a symbol name (thanks to Anh Phạm for reporting).
2007-04-13 Nick Treleaven <>
* src/sci_cb.c, tagmanager/tm_tag.c, tagmanager/tm_workspace.c:
Show up and down arrows when there are multiple calltip matches.
2007-04-10 Enrico Tröger <>
*, src/document.c, src/geany.h, src/interface.c,
src/keyfile.c, src/main.c, src/prefs.c, src/ui_utils.c:
Added options to show or hide the statusbar as well as the editor
* src/sciwrappers.c, src/sciwrappers.h:
Added sci_set_scrollbar_mode() to easily show or hide the scrollbars.
2007-04-08 Enrico Tröger <>
*,, doc/, scintilla/,
src/, tagmanager/
Made "distcheck" working.
2007-04-06 Nick Treleaven <>
* src/sci_cb.c:
Only insert a space if construct completion occurs, to prevent
unusual undo history.
* doc/geany.docbook:
Add Construct completion in the Editing section.
Add Tags section, including how to generate a replacement global.tags
2007-04-05 Nick Treleaven <>
* tagmanager/tm_workspace.c:
Write tm_tag_enumerator_t and tm_tag_macro_t (e.g. for GTK_STOCK_*)
tags when creating a global tags file, and store the pointerOrder.
* doc/geany.docbook:
Add filtering out version control files with Extra options info to
Find in Files section.
* src/keybindings.c:
Only construct-complete when the editor widget has focus.
* src/symbols.c, tagmanager/tm_workspace.c:
Make \" filename quoting optional when creating a global tags file
(quoting is useful if glob matching is needed). Run geany -g for
example usage.
2007-04-03 Nick Treleaven <>
* src/search.c:
Add recursive option to Find in Files dialog.
* src/search.c:
Add 'Extra options' field and checkbox to FIF dialog.
Don't allow arguments appended to Grep command.
Prevent warning when using relative paths with open directory button.
Refactor FIF options code into get_grep_options(), remove
fif_options, fif_match_type.
2007-03-31 Nick Treleaven <>
* src/templates.c, doc/geany.docbook:
Make file header optional for filetype templates - use the string
'{fileheader}' to mark where the file header should be placed, which
can be anywhere in the filetype template.
2007-03-30 Nick Treleaven <>
Added MimeTypes: C++ header, Pascal, Perl, Python, httpd-PHP, XML;
thanks to Iñaki Rodriguez.
* src/search.c:
Prevent Find in Files directory combo being vertically stretched.
2007-03-30 Enrico Tröger <>
* src/sci_cb.c: Fixed warning about shadowing a local variable.
* doc_geany.docbook, src/keybindings.c, src/keybindings.h:
Add keybinding for switching to the search bar
(as suggested by Nikolas Arend).
2007-03-29 Nick Treleaven <>
* src/sci_cb.c:
Check size of construct completion buffer, remove unneeded static in
Reorder some of sci_cb_close_block().
* src/keybindings.c, src/keybindings.h:
Add headings for the Keyboard Shortcuts dialog to group related
Shorten the 'Send to custom command' labels slightly.
2007-03-28 Nick Treleaven <>
* src/sci_cb.c:
Don't auto-indent {} braces for filetypes that don't use them.
Add lexer_has_braces(), do_indent() for in place buffer indentation.
Rewrite some of get_indent().
2007-03-27 Nick Treleaven <>
* src/keybindings.c, src/keybindings.h, src/sci_cb.c, src/sci_cb.h,
Add keybinding for construct completion, and set the default to tab.
Separate complete_constructs() code from sci_cb_auto_forif().
2007-03-26 Nick Treleaven <>
* src/keybindings.c, TODO:
Change comment/uncomment keybinding to Ctrl-G/Ctrl-Shift-G.
Change duplicate KB to Ctrl-D (Scintilla default).
Change goto line KB to Ctrl-J (so Ctrl-L line cut Sci KB works).
Remove default goto matching brace KB (doesn't work on all
* src/sci_cb.c, src/symbols.c, src/symbols.h:
Load HTML-entities when the PHP lexer is first needed, instead of
when typing outside of PHP styles.
* src/sci_cb.c:
Separate on_margin_click(), on_update_ui(), on_char_added()
Scintilla notifications.
2007-03-25 Enrico Tröger <>
* doc/geany.docbook, src/keybindings.c, src/keybindings.h,
src/sci_cb.c, src/sci_cb.h, src/utils.c, src/utils.h:
Use Ctrl+Shift+Space always for showing calltips because Alt+Space is
used often by window managers (not only under Windows).
Added keybinding for inserting alternative whitespace characters.
2007-03-24 Nick Treleaven <>
* src/sci_cb.c, src/symbols.c:
Fix segfault when pressing ctrl-enter when there are no workspace
tags (thanks to R8Rooy for reporting).
* src/build.c, src/build.h, src/dialogs.c, src/dialogs.h,
src/callbacks.c, src/callbacks.h:
Move dialogs_show_includes_arguments_*() to build.c.
Move on_includes_arguments_*dialog_response() to build.c.
Make several build functions static.
* src/keybindings.c:
Ignore Caps Lock in keybindings_got_event() (could cause problems
with e.g. Shift-F9).
* src/search.c:
Don't beep when pressing escape to close the Find or Replace dialogs.
2007-03-23 Nick Treleaven <>
* src/dialogs.c:
Add Edit button to Keyboard Shortcuts dialog.
* src/keybindings.c, src/keybindings.h, src/dialogs.c, src/dialogs.h,
Move dialogs_show_keyboard_shortcuts() to keybindings.c.
* src/keybindings.c, src/prefs.c, src/prefs.h, src/callbacks.c,
Rename dialogs_show_prefs_dialog() to prefs_show_dialog().
2007-03-22 Enrico Tröger <>
* THANKS, doc/geany.docbook, src/keybindings.c, src/keybindings.h,
src/sci_cb.c, src/sci_cb.h:
Applied patch from Anh Phạm to add a keybinding for selecting the
current word under the cursor (thanks).
2007-03-21 Nick Treleaven <>
* src/project.c:
Made all project dialogs modal.
* src/main.c, src/symbols.c, src/symbols.h, tagmanager/tm_workspace.c:
Add option --generate-tags (-g) to generate a global tags file from
a list of source files. Currently this is only likely to work
correctly for C source files. Run 'geany -g' for syntax info.
Remove short option for hidden option --generate-data-files.
Update tm_workspace_create_global_tags() from Anjuta 1.2.4a.
* tagmanager/tm_tag.c, tagmanager/include/tm_tag.h
Separate alternative PHP/LaTeX global tags parser into
tm_tag_init_from_file_alt() (for easier diff with Anjuta).
2007-03-20 Enrico Tröger <>
* data/filetypes.common, doc/geany.docbook, src/highlighting.c:
Added option to change the caret width.
2007-03-15 Nick Treleaven <>
* src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
Add Goto Previous/Next Marker keybindings (Ctrl-, and Ctrl-.).
Make sci_marker_next() and sci_marker_previous() return marker line
* src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
Add Toggle Marker keybinding (Ctrl-M).
* THANKS, doc/geany.docbook:
Add bookmarks section written by John Gabriele (thanks).
Group some subsections into an 'Editing' section.
2007-03-14 Nick Treleaven <>
* src/callbacks.c:
Delay updating interface items when switching notebook tabs until
after the page has changed, so it appears to switch pages faster.
* src/treeviews.c, src/notebook.c:
Don't recreate the open files items when DnD reordering tabs, now
that the open files treeview is sorted alphabetically.
* src/project.c:
Make suggested New Project filename use the projects/ directory as
parent directory, instead of projects/name/.
2007-03-13 Enrico Tröger <>
* src/highlighting.c: Fixed wrong margin colours for filetype All/None.
* src/highlighting.c: Init the default styles before first usage.
2007-03-13 Nick Treleaven <>
* src/ui_utils.c:
Use tab stops for status bar line, column and selection data to stop
the other fields being moved so often when browsing code or typing.
Rearrange status bar statistics to be clearer/more concise.
* src/document.c:
Count total replacements made when replacing in a rectangular
* src/keybindings.c, src/keybindings.h, src/callbacks.c,
src/callbacks.h, doc/geany.docbook:
Add 'Switch to last used document' keybinding.
2007-03-12 Enrico Tröger <>
* doc/geany.docbook: Added description for disable-server command line
option for Xfce Terminal.
* src/project.c: Added missing whitespace (found by Frank).
2007-03-12 Nick Treleaven <>
* src/build.c:
Switch to Compiler window when using Next Error command.
* src/utils.c, src/document.c:
Update the status bar after setting the document file type, if it
has changed.
Update the status bar after colourising open files, so the current
tag is accurate.
2007-03-10 Nick Treleaven <>
* src/project.c:
Separate New Project dialog from Project Properties dialog.
Make Properties Filename field read-only, below Name field.
Capitalize dialog titles.
* src/utils.c, src/utils.h, src/project.c:
Make New Project dialog create parent directories of the chosen base
path if necessary.
Prevent warnings when setting open dialog directory to a path whose
parent directory doesn't exist.
Add create_parent_dirs argument for utils_mkdir().
2007-03-09 Enrico Tröger <>
* src/callbacks.c, src/encodings.c, src/encodings.h, highlighting.c,
src/msgwindow.c, src/notebook.c, src/project.c, src/sci_cb.c,
src/search.c, src/tools.c, src/ui_utils.c, src/utils.c:
Fixed several compiler warnings (mainly shadowing local variables
and unreachable code).
* src/sci_cb.c: Auto completion of multi line comments is now (again)
configurable with the auto complete constructs option.
* src/highlighting.c:
Set default highlighting style for filetype None to get it also
inverted if invert_all is set.
Reset all previously defined styles when switching filetype to None.
* data/filetypes.common, doc/geany.docbook, src/highlighting.c:
Added style "default" to filetypes.common to be able to change the
default style for files without a filetype set.
2007-03-09 Nick Treleaven <>
* src/interface.c, doc/geany.docbook, data/filetypes.*,
Fix indentation spelling.
2007-03-08 Nick Treleaven <>
* src/document.c:
Fix not setting existing project typenames for C-like files if they
don't contain typenames themselves (bug introduced in r1323).
* doc/geany.docbook:
Updated Templates section for filetype templates and added some
subsection titles.
2007-03-08 Enrico Tröger <>
*, src/interface.c: Fixed wrong tooltip.
*, doc/geany.docbook, src/document.c, src/document.h,
src/geany.h, src/interface.c, src/keyfile.c, src/main.c, src/prefs.c,
src/sci_cb.c, src/ui_utils.c:
Added different auto indention modes to select how should Geany
indent new lines (closes #1615605).
2007-03-06 Nick Treleaven <>
* src/win32.c, src/callbacks.c, src/keyfile.c, src/document.c,
src/document.h, src/main.c, src/socket.c:
Speed up loading multiple C-like files when existing documents are
open (by ensuring documents are only colourised once).
Add document_open_files(), document_colourise_new().
Add some missing function parameter names to document.h.
2007-03-05 Enrico Tröger <>
* doc/geany.docbook:
Added single line comment examples for clarification.
2007-03-05 Nick Treleaven <>
* src/build.c, src/project.c, src/project.h:
Add project run command support. Run command is a custom command-line
and can include arguments.
Make 'Choose project filename' dialog use a Save button.
2007-03-03 Nick Treleaven <>
* src/build.c:
Moved all code for checking and creating the geany run script
temporary file from build_run_cmd() to prepare_run_script().
* src/build.c, src/utils.c:
Fix memory leak with utils_remove_ext_from_filename().
* src/build.c:
Fix memory leak, remove unused build_create_shellscript() argument.
* src/build.c:
Use UTF-8 for missing executable error message.
2007-03-02 Enrico Tröger <>
* src/win32.c:
Added new file filter for Open File dialog to only show supported
source files (for native Win32 dialog).
* src/main.c: Changed location of translation files to lib\locale
on Win32.
* geany.nsi: Added NSIS installer script for the Win32 installer.
* data/filetypes.c, data/filetypes.cpp, src/highlighting.c:
Added support for secondary keywords for filetypes C and C++.
* doc/geany.docbook: Fixed typo (thanks to John Gabriele).
2007-03-01 Nick Treleaven <>
* src/build.c, src/project.c, src/project.h:
Run Make All and Make Custom from the project base directory, if set.
Add project_get_make_dir().
2007-03-01 Enrico Tröger <>
* src/tools.c, src/utils.c:
Applied patch from Jeff Pohlmeyer to improve the custom command
execution code(thanks).
* src/sciwrappers.c, src/sciwrappers.h:
Added sci_get_selection_mode(), sci_set_selection_mode(),
sci_get_pos_at_line_sel_start(), sci_get_pos_at_line_sel_end().
* src/document.c:
Improved replacing in rectangle selections (closes #1665571).
* src/build.c, src/tools.c, src/utils.c, src/utils.h:
Set IO channels for custom commands to blocking mode
(thanks to Jeff Pohlmeyer).
* data/filetypes.python, src/highlighting.c:
Added missing keywords: as, with, False, None and True.
* src/dialogs.c, src/filetypes.c, src/filetypes.h:
Added new file filter for Open File dialog to only show supported
source files (list of all defined filename extensions).
2007-02-28 Nick Treleaven <>
* src/msgwindow.c, src/msgwindow.h, src/search.c:
Show number of matches when using Find All or Find in Files.
Add msgwin_msg_add_fmt().
* src/build.c:
Make build_spawn_cmd() take a command string instead of joining an
array of strings.
2007-02-27 Nick Treleaven <>
* src/filetypes.c:
Use utils_strv_new() for all filetype patterns.
2007-02-26 Enrico Tröger <>
* src/tools.c: Fixed wrong sensitiveness of custom commands menu items.
Applied patch from Slava Semushin to improve SVN checks (thank you).
2007-02-25 Enrico Tröger <>
*, doc/geany.docbook, src/geany.h, src/interface.c,
src/keybindings.c, src/keybindings.h, src/keyfile.c, src/main.c,
src/tools.c, src/tools.h:
Added custom commands to send selected text through some definable
commands and replace the selection with the output.
* data/filetype_extensions.conf, src/filetypes.c:
Added *.pod to Perl file patterns.
* src/sci_cb.c: Auto complete multi line comments only when auto
completion of constructs is enabled.
2007-02-25 Nick Treleaven <>
* src/build.c:
Prevent undefined behaviour when using the Stop command that can kill
X when Geany is run from the KDE or Xfce menu (not from a terminal).
Should close #1668017.
2007-02-24 Enrico Tröger <>
*,, README.I18N, po/, po/LINGUAS:
Moved list of available translations to new file po/LINGUAS.
Added readme file for translation information.
Added little shell script to display some basic
translation statistics.
2007-02-24 Nick Treleaven <>
* src/*.c:
Add descriptions for all .c source files below the file header.
2007-02-23 Nick Treleaven <>
* src/keyfile.c, src/document.c, src/document.h, src/main.c:
Speed up loading multiple C-like files when restoring session or
loading command-line files at startup by ensuring documents are
only colourised once.
Also prevent re-colourising C-like documents after saving a file
unless the list of typenames has changed.
Add document_delay_colourise(), document_colourise_all().
* src/dialogs.c, src/document.c, src/document.h:
Fixed switching to the wrong tab when showing the unsaved dialog.
* src/templates.c:
Don't include filetype.none in the new file template menus.
2007-02-20 Enrico Tröger <>
* src/sci_cb.c, src/sci_cb.h:
Made auto_close_bracket() static and auto close brackets only when
auto completion of constructs is enabled (closes #1665015).
* doc/ Fixed typo.
*, src/interface.c: Improved tooltip for auto completion.
2007-02-20 Nick Treleaven <>
* src/document.c:
Remove the yellow error line marker also when using 'Remove Error
2007-02-19 Enrico Tröger <>
* src/search.c: Fixed compiler warning.
* src/project.c, src/win32.c, src/win32.h:
Added Windows dialogs for Project new and Project open actions.
Fixed some mem leaks in the Windows code.
2007-02-19 Nick Treleaven <>
* src/templates.c, src/templates.h, src/highlighting.c,
src/callbacks.c, src/callbacks.h, src/filetypes.c, src/main.c:
Support filetype templates for all filetypes (scan
~/.geany/templates/filetype.* at startup).
Default filetype templates are now created in init_ft_templates().
Move on_new_with_template() to templates.c.
Move on_filetype_change() to filetypes.c.
2007-02-18 Enrico Tröger <>
* data/filetypes.ruby, src/highlighting.c:
Added several missing style types for filetype Ruby.
* doc/geany.docbook: Added notice about contributing to the docs
(patch from John Gabriele, thanks).
2007-02-17 Nick Treleaven <>
* src/ui_utils.c:
Scroll Compiler and Messages window in view when using Next Error
or Next Message.
* src/search.c:
Add Mark button as a Find All option in the Find dialog.
* src/interface.c, src/callbacks.c, src/callbacks.h, src/document.c,
Add Remove Markers item to the Document menu.
Remove Error Indicators no longer removes current tag marker.
2007-02-16 Nick Treleaven <>
* src/sciwrappers.c, src/sciwrappers.h, src/sci_cb.c, src/document.c:
Rename sci_get_line_end_from_position() with line argument, not
Don't autocomplete for/if constructs when editing an existing line.
* src/document.c:
Set single undo action when using document_strip_trailing_spaces().
* src/search.c:
Show grep command and directory when using Find in Files.
2007-02-15 Enrico Tröger <>
* data/filetypes.perl, src/highlighting.c:
Added several missing style types for filetype Perl
(thanks to John Gabriele for reporting).
* src/treeviews.c: Aligned "No symbols found" label to top.
* src/callbacks.c, src/document.c, src/document.h, src/keybindings.c,
src/main.c, src/socket.c:
Added possibility to create and open non-existent files from command
line (closes #1635094 and #1652917).
2007-02-14 Frank Lanitz <>
*, src/interface.c: Fixed a typo.
2007-02-14 Nick Treleaven <>
Add MimeType text/x-diff.
* scintilla/ScintillaGTK.cxx:
Redraw instead of scrolling in ScintillaGTK::ScrollText if there is
an existing update region.
Revert earlier ScintillaGTK::ExposeTextThis change.
* tagmanager/c.c:
Fix wrong D function return type after a class definition.
2007-02-13 Nick Treleaven <>
* src/treeviews.c:
Allow popup Symbols menu when the current document has no tags, so
the sidebar can be hidden.
Use a GtkLabel to display 'No tags found'.
2007-02-12 Enrico Tröger <>
* src/main.c: Convert config, application and documentation dir paths
to locale encoding before using it.
2007-02-08 Nick Treleaven <>
* src/utils.c, src/utils.h, src/filetypes.c,
Add *.rej as a Diff filename pattern.
Add utils_strv_new() to duplicate a va_list of strings.
2007-02-07 Frank Lanitz <>
* data/pascal.tags, THANKS: Fixed a wrong autocompletion. Thanks to
Dirk Weber for reporting.
2007-02-06 Nick Treleaven <>
* src/symbols.c:
Fix missing global tags for C files when a C++ source file was
loaded first.
2007-02-05 Nick Treleaven <>
* src/treeviews.c:
Prevent right click in Symbol list from selecting a tag.
* src/ui_utils.h, src/treeviews.c, src/callbacks.c, src/treeviews.h,
src/document.c, src/main.c, src/ui_utils.c:
Move ui_update_tag_list() to treeviews.c.
Make treeviews_prepare_taglist() static.
2007-02-03 Nick Treleaven <>
* src/document.c:
Prevent scroll bar from moving when using document_find_text() and
no match is found.
* tagmanager/c.c:
Make anonymous typenames use anon_typename_n instead of
typename_anon_n (it seems we can't use <> brackets because of
missing scope problem).
* src/build.c:
Allow Make for files with no extension - prevent Build when the
output filename would be the same as the source file.
2007-02-01 Nick Treleaven <>
* src/ui_utils.c:
Show file path on window title after file name.
2007-02-01 Enrico Tröger <>
* src/build.c: Prevent compiling or executing of files without a
filename extension(closes #1642029).
* src/document.c: Made --line and --column also working for already
open files (thanks to Mark Knoop for his help).
* THANKS, src/treeviews.c:
Applied patch from Tomás Vírseda to sort the list of open files in
the sidebar alphabetically (thanks).
2007-01-31 Enrico Tröger <>
* scintilla/ScintillaGTK.cxx, src/document.c, src/document.h,
src/keybindings.c, src/sci_cb.c, src/sciwrappers.c,
src/sciwrappers.h, src/utils.c:
Improved the auto scrolling of documents (actually done by Nick).
2007-01-30 Frank Lanitz <>
*, THANKS, src/about.c, po/fi.po:
Added Finnish translation (Thanks to Harri Koskinen).
2007-01-27 Enrico Tröger <>
* src/callbacks.c, src/document.c, src/document.h, src/keyfile.c,
src/sci_cb.c, src/sciwrappers.c, src/sciwrappers.h:
Fixed some scrolling issues with session files and files remotely
open via the socket. Added need_scrolling flag to document struct.
2007-01-26 Enrico Tröger <>
* src/document.c: Applied patch from Jeff Pohlmeyer to clear the line
marker when clearing the compile error markers.
*, src/geany.h, src/interface.c, src/keyfile.c,
src/prefs.c, src/sci_cb.c:
Added an option to disable auto completion of known symbols while
typing (still can be forced by pressing the keybinding).
2007-01-25 Enrico Tröger <>
* src/vte.c: Applied patch from Jeff Pohlmeyer to improve loading of
the VTE library.
* src/ui_utils.c: Applied patch from Jeff Pohlmeyer to make the
window title Gnome HIG compatible.
2007-01-24 Enrico Tröger <>
* data/filetype_extensions.conf, src/filetypes.c:
Added *.xsd to XML file patterns.
*, src/callbacks.c, src/callbacks.h, src/geany.h,
src/interface.c, src/keybindings.c, src/keybindings.h, src/main.c,
src/sci_cb.c, src/sci_cb.h, src/search.c:
Added keybinding and menu entry to open a file which is selected
in current tab.
Made Insert Special HTML characters insensitive if there are no
open tabs.
Removed Zoom items from popup menu.
* tagmanager/latex.c: Allow \section*{} and other commands with *.
* doc/, doc/geany.docbook, src/document.c, src/main.c,
src/main.h, src/socket.c:
Added command line option --column to allow setting the initial
column for the first opened file on command line.
Don't apply the --line and --column options to the first opened
session file.
Make --line and --column options work for opening files in an already
running instance.
* src/document.c: Oops. Revert the change to ignore --line setting when
opening session files.
2007-01-24 Nick Treleaven <>
* src/callbacks.c, src/search.c:
Setup Find Next/Previous to use the same search text after using
Find Selected/Prev Selected.
2007-01-23 Nick Treleaven <>
* src/interface.c, src/keybindings.c, src/keybindings.h,
src/callbacks.c, src/callbacks.h, src/search.c, src/search.h,
Applied patch from Jeff Pohlmeyer to add 'Find Selected' and
'Find Prev Selected' Search commands and keybindings (thanks).
2007-01-21 Enrico Tröger <>
* src/project.c: Implemented loading and saving of the project file
and minor improvements.
* src/build.c, src/msgwindow.c, src/msgwindow.h:
Applied patch from Jeff Pohlmeyer to avoid parsing of compiler errors
by the va_list system.
* src/project.c: Replaced the New button by a Create button.
2007-01-20 Enrico Tröger <>
* scintilla/makefile.win32: Fixed typo.
* scintilla/*, src/sci_cb.c: Updated Scintilla to version 1.72.
* doc/geany.docbook:
Added a notice of changed DnD behaviour in Scintilla 1.72.
2007-01-19 Enrico Tröger <>
* src/build.c: Use "rm" to delete the run script because unlink is not
available on all systems.
* Added more mimetypes supplied by Nick Schermer.
* doc/geany.docbook: Documented GEANY_PROJECT_EXT.
* src/dialogs.c, src/prefs.c, src/prefs.h, src/search.c:
Fixed crashes when using some dialogs after they were closed before.
2007-01-18 Enrico Tröger <>
* src/project.c: Do not auto complete project filename and base path
when they were changed manually.
* src/geany.h, src/project.c:
Implemented project open dialog, but open doesn't do anything yet.
*, src/interface.c:
Removed unintended keybindings for the project menu items.
* Added MimeType entry as suggested by Nick Schermer.
2007-01-18 Nick Treleaven <>
* src/keybindings.c:
Change default keybinding for Close All to Ctrl-Shift-W to avoid
conflict with Document menu (thanks to Jeff Pohlmeyer).
Remove Alt-P default KB for Preferences to avoid conflict with
Project menu.
2007-01-17 Enrico Tröger <>
* src/project.c, src/project.h:
Added properties dialog (still far away from state ready).
Added file_patterns field.
* src/utils.c, src/utils.h: Added utils_mkdir().
2007-01-17 Nick Treleaven <>
* src/callbacks.c, doc/geany.docbook:
Make Go to Tag Definition work for all tags except forward
declarations and externs.
2007-01-16 Enrico Tröger <>
* src/vte.c: Use g_shell_quote to avoid problems with special
characters in the path of a filename.
2007-01-16 Nick Treleaven <>
* tagmanager/c.c:
Backport improvements from Anjuta 2.02.
Parse anonymous struct and enums (using contextual_fake_count).
Add better C99 support, e.g. wchar_t variables.
* tagmanager/include/tm_symbol.h, tagmanager/tm_symbol.c:
Add tm_arglist_compare().
Fix comparison in tm_symbol_tag_compare().
2007-01-15 Enrico Tröger <>
* src/vte.c:
Fixed changing directories when the path contains whitespace.
* src/callbacks.c: When using Save As the returned filename needs to be
converted into UTF-8.
*, po/, src/callbacks.c, src/callbacks.h,
src/geany.h, src/interface.c, src/main.c, src/makefile.win32,
src/, src/project.c, src/project.h:
Started to implement project management (still unusable).
Added project.[c|h].
2007-01-15 Nick Treleaven <>
* src/symbols.c:
Reorder symbol list by Namespaces, Classes, Functions, Members,
Structs, Macros, Variables.
Add D Variables, rename D Methods -> Functions.
2007-01-14 Enrico Tröger <>
*, src/build.c, src/document.c, src/geany.h,
src/highlighting.c, src/interface.c, src/keyfile.c, src/prefs.c,
src/sci_cb.c, src/sci_wrappers.c, src/sciwrappers.h, src/utils.c,
Added sci_set_use_tabs().
Fixed mem leak in sci_cb_auto_forif().
Moved free_pointers() to utils.c.
Applied patch from Jeff Pohlmeyer to add an option for using spaces
or tabulators when inserting some whitespace.
* src/about.c: Updated copyright information.
* geany_private.rc, README, src/*.c, src/*.h:
Updated copyright information.
* data/filetype_extensions.conf, src/filetypes.c:
jsp is a Java extension.
* src/sci_cb.c:
Enabled auto completion of constructs for filetype JavaScript.
2007-01-14 Nick Treleaven <>
* src/treeviews.c, src/treeviews.h, src/symbols.c, po/
Move treeviews_init_tag_list() and symbol list GtkTreeIters to
* src/highlighting.c:
Fix segfault when setting Lua filetype.
2007-01-13 Enrico Tröger <>
* data/filetype_extensions.conf, data/filetypes.javascript,
data/filetypes.lua, scintilla/KeyWords.cxx, scintilla/LexLua.cxx,
scintilla/, scintilla/makefile.win32, src/filetypes.c,
src/filetypes.h, src/highlighting.c, src/highlighting.h,
src/sci_cb.c, src/templates.c, tagmanager/js.c, tagmanager/lua.c,
tagmanager/, tagmanager/makefile.win32,
tagmanager/parsers.h: Added new filetypes Javascript and Lua.
*, THANKS, src/geany.h, src/interface.c, src/keyfile.c,
src/prefs.c, src/sci_cb.c:
Applied patch from Jeff Pohlmeyer to add an option for disabling DnD
in the editor widget.
2007-01-13 Nick Treleaven <>
* src/main.c, src/socket.c, po/
Print an error message (instead of debug message) when a
command-line file cannot be loaded.
* src/utils.c, src/utils.h, src/geany.h, src/symbols.c,
src/ui_utils.c, src/symbols.h:
Move utils_compare_symbol(), GeanySymbol, recreate_tag_list()
to symbols.c.
* src/document.c:
Update the symbol list when starting a new document.
2007-01-12 Nick Treleaven <>
* src/sci_cb.c, src/symbols.c, src/symbols.h:
Use '::' context separator for C also (so C/C++ share the same
syntax, and C++ .h headers use correct syntax).
Add symbols_get_context_separator() and use for calltips and the
symbol list.
* src/treeviews.c, src/document.c:
Don't select the current document when reordering tabs (fixes
* src/utils.c:
Fix g_strconcat leaks in utils_make_settings_dir().
2007-01-11 Nick Treleaven <>
* src/sci_cb.c:
Fix commenting multiple lines (oops).
Set single undo action when toggling multiple lines.
2007-01-09 Enrico Tröger <>
* src/callbacks.c:
Try to fix paste problems on Windows (should close #1628951).
2007-01-09 Nick Treleaven <>
* src/utils.c, src/sci_cb.c, src/sciwrappers.c:
Prevent some possible buffer overflows.
2007-01-08 Enrico Tröger <>
* doc/geany.docbook, src/keybindings.c, src/keybindings.h:
Added keyboard shortcut for Save As.
Added missing documentation for some keyboard shortcuts.
* src/vte.c: Improved tool tip for terminal emulation.
2007-01-07 Nick Treleaven <>
* src/utils.c, src/utils.h, src/encodings.c, src/document.c,
src/encodings.h, src/dialogs.c, src/ui_utils.c:
Fix memory leak when using utils_scan_unicode_bom().
Prevent invalid memory read in utils_scan_unicode_bom() when text
length is < 4.
Move utils_scan_unicode_bom(), utils_is_unicode_charset() to
Read the BOM length in handle_bom().
2007-01-07 Enrico Tröger <>
*, src/interface.c: Fixed typo.
2007-01-06 Enrico Tröger <>
* src/callbacks.c, src/sci_cb.c, src/sci_cb.h, src/templates.c,
Removed multiline template because it makes not much sense, instead
just comment three lines using the general comment functionality.
Removed special templates for Pascal and some other filetypes using
"#" as comment char. The comment characters for fileheader and GPL
templates are now added dynamically according to the current
*, doc/geany.docbook, src/callbacks.c, src/callbacks.h,
src/interface.c, src/templates.c, src/templates.h:
Added template for BSD licence.
* src/document.c: Fixed missing colouring of tab menu label.
* doc/geany.docbook, src/geany.h, src/utils.c, src/templates.c:
Save template files in a subdirectory "templates" inside Geany's
configuration directory.
2007-01-06 Nick Treleaven <>
* src/keybindings.c:
Ensure the VTE visual settings are applied when switching to VTE
when the Message Window is hidden.
Show the Message Window when switching to Scribble.
* src/document.c:
Use load_text_file() in document_open_file() to read, verify and
handle encoding using FileData struct.
Refactored handle_[forced_]encoding with FileData* argument.
Update data length after removing BOM chars in handle_bom().
2007-01-04 Nick Treleaven <>
* src/build.c, src/build.h:
Make build_parse_make_dir() more efficient.
2007-01-03 Nick Treleaven <>
* src/sci_cb.c, tagmanager/entry.h, tagmanager/tm_tag.c,
tagmanager/include/tm_tag.h, tagmanager/c.c:
Parse pointers in function return type for C-like files.
Show scope in calltips.
Made tm_tag_destroy() static.
* src/treeviews.c:
Fix for C89 compatibility.
* src/templates.c, src/build.c, src/templates.h, src/build.h,
src/highlighting.c, src/filetypes.h:
Added filetype_id typedef so that GEANY_FILETYPES_* can be shown
when debugging (also renamed some filetype_id variable names).
2006-12-31 Enrico Tröger <>
* src/treeviews.c: When opening a file, set the current selected
entry in the open files list to the file's filename.
2006-12-30 Nick Treleaven <>
* src/ui_utils.c:
Don't use gtk_rc_get_style() in ui_update_tab_status() because it
can cause an invalid memory read on some systems.
* src/build.c, src/build.h, src/msgwindow.c, src/msgwindow.h:
Applied patch from Josef Whiter to parse 'Entering directory' build
messages so that subsequent error messages are handled correctly
Assume gcc-style error messages when filetype is not set.
2006-12-26 Nick Treleaven <>
* tagmanager/tm_tag.c, tagmanager/include/tm_tag.h:
Fix missed matches in tm_tags_find().
* src/sci_cb.c, tagmanager/tm_workspace.c,
Add calltip support for D constructors.
Add tm_workspace_find_scoped() (adapted from Anjuta 2.02
2006-12-24 Nick Treleaven <>
* src/utils.c, src/sci_cb.c:
Only call SCI_BRACEMATCH once in sci_cb_highlight_braces().
Separate find_calltip() from sci_cb_show_calltip().
* src/sciwrappers.c:
Improve accuracy of sci_scroll_to_line() when line wrapping and/or
folding is used.
2006-12-22 Nick Treleaven <>
* src/utils.c:
Don't reparse the current function when fold level is higher than
the function fold level (when the line has only changed by 1).
2006-12-21 Enrico Tröger <>
* doc/, doc/, doc/geany.docbook, doc/images/*,
Fixed encoding of generated PDF file.
Deleted all jpg images and replaced them by png images.
Updated date in documentation and manpage.
* src/callbacks.c: Fixed wrong paste behaviour under Windows with some
* src/ui_utils.c: Start column count from 0 in the statusbar display.
* New release: Geany 0.10 "Sander".
*, src/geany.h, geany_private.rc:
Version bump and updated codename for the next release.
2006-12-20 Enrico Tröger <>
* src/keyfile.c: Changed default values:
Confirm exit -> disabled by default
Use tab to indent -> disabled by default.
2006-12-20 Nick Treleaven <>
* src/keyfile.c:
Fix strv leak in configuration_open_files().
* src/treeviews.c, src/ui_utils.c:
Fix tag treeview not being freed (because of g_object_ref).
Separate recreate_tag_list() from ui_update_tag_list().
* src/vte.c:
Stop Valgrind complaining about a vc->emulation leak.
* src/callbacks.c, src/search.c:
Remove unneeded static from current word strings.
2006-12-18 Enrico Tröger <>
* src/tools.c: Completed list of special characters, implemented
expanding and collapsing of categories at double click.
* src/geany.h: Updated codename (not really important).
2006-12-18 Nick Treleaven <>
* src/callbacks.c, src/search.c, src/document.c:
Don't log simple error messages like 'No text to find'.
* src/keyfile.c:
Open tabs left to right by default.
* src/keyfile.c:
Scroll cursor to 50% of the view for session files at startup.
* src/callbacks.c, src/dialogs.c:
Always switch to the tab when showing the unsaved file dialog.
* src/document.c:
Don't set the cursor to the start of the document when attempting to
open an already open file.
* src/utils.c, src/utils.h, src/callbacks.c, src/sci_cb.c,
Force a file changed check when attempting to open an already open
* src/sciwrappers.c, src/sciwrappers.h, src/document.c:
Scroll cursor to 50% of the view when reloading a file.
Rename sci_goto_pos() argument 'unfold'.
2006-12-17 Enrico Tröger <>
*, src/interface.c:
Made the sidebar notebook tabs scrollable.
*, src/callbacks.c, src/callbacks.h, src/interface.c,
Fixed wrong insert position when the cursor was moved by keyboard
and comments, includes or a date was inserted.
Also fixed some segfault when inserting comments, dates and includes
at a position prior to some deleted text.
* src/document.c: Fixed disabled build menu items after opening the
first file of a filetype.
2006-12-17 Nick Treleaven <>
* src/search.c:
Fix using the current word on first use of the Find in Files dialog.
* src/document.c:
Don't log 'replaced 0 occurrences' status messages.
* src/search.c:
Remove unneeded 'missing response' debug messages.
2006-12-16 Nick Treleaven <>
* src/utils.c:
Fix memory leak in utils_check_disk_status().
* src/highlighting.c, src/sci_cb.c, src/sci_cb.h, src/document.c,
src/symbols.c, src/symbols.h:
Colourise C enum, union and D/Java interface typenames.
Add sci_cb_lexer_get_type_keyword_idx() for use when finding if a
lexer supports typename colouring.
2006-12-15 Enrico Tröger <>
* src/main.c, src/sci_cb.c, src/sci_cb.h, src/symbols.c,
Moved html_entities array to symbols.c.
Fixed some checks for the new D lexer and improved detection of
comments when auto completing or showing calltips.
* src/search.c: Bring the Find, Replace and FIF dialog back to top if
they are already shown but lost focus.
2006-12-15 Nick Treleaven <>
* src/sci_cb.c:
Only remove extra space indent after a multiline comment if the
indent contains one too many spaces.
* src/highlighting.c, data/filetypes.d:
Show D typedefs in bold.
* src/sci_cb.c, src/sci_cb.h, src/document.c:
Fix setting project typenames for the new D lexer.
Add sci_cb_lexer_is_c_like() which returns TRUE for C++/D lexers.
Only recolourise C-like files when updating project typename
2006-12-14 Frank Lanitz <>
* src/about.c: Fixed a typo.
2006-12-14 Nick Treleaven <>
* src/document.c:
Fix updating the symbol list when a file is saved.
Update C-like typedef keywords when reloading a file.
* src/sci_cb.c:
Fix adding a multiline comment character after pressing enter on the
last line of a multiline comment.
Remove multiline comment indent after pressing enter on last line.
Prevent invalid memory reads in auto_multiline().
2006-12-13 Frank Lanitz <>
* THANKS: Small update of contact data and small fix of translated
2006-12-13 Nick Treleaven <>
* src/ui_utils.h, src/about.c, src/treeviews.c, src/msgwindow.c,
src/callbacks.c, src/keyfile.c, src/document.c, src/prefs.c,
src/main.c, src/ui_utils.c:
Fix memory leaks when using GdkPixbuf, PangoFontDescription and some
Capitalize main window title.
Add ui_widget_modify_font_from_string().
* src/build.c, src/keybindings.c, src/msgwindow.c, src/msgwindow.h,
src/vte.c, src/main.c:
Add 'Hide Message Window' popup menu item for each window in the
message window area.
Add msgwin_menu_add_common_items().
Move remaining message window setup code to msgwin_init().
* src/interface.c,
Add 'Invert syntax highlighting colours' Preferences dialog option
(hidden for now).
2006-12-12 Enrico Tröger <>
* src/document.c, src/geany.h, src/keyfile.c, src/sciwrappers.c,
src/sciwrappers.h: Added option to toggle usage of Tab button for
*, po/, src/callbacks.c, src/callbacks.h,
src/interface.c, src/keybindings.c, src/keybindings.h,
src/, src/makefile.win32, src/tools.c, src/tools.h:
New files tools.c and tools.h.
Added a dialog to insert HTML special characters.
2006-12-12 Nick Treleaven <>
* src/build.c, src/interface.c, src/callbacks.c, src/ui_utils.c,
Use GNOME HIG Header style capitalization for all menu items.
* src/main.c:
Make files loaded from the command-line at startup get added to the
recent files menus.
2006-12-11 Enrico Tröger <>
* data/filetypes.vhdl: Fixed typo in "number" and "string" styles.
2006-12-11 Nick Treleaven <>
* src/main.c:
Show GTK+, GLib runtime version debug message after socket_init().
* src/callbacks.c:
Make indenting and unindenting keep the same cursor position when
the cursor is within the indentation characters.
Link with libsocket if necessary to fix building on Solaris.
2006-12-10 Enrico Tröger <>
* src/build.c, src/callbacks.c, src/document.c, src/keyfile.c,
src/prefs.c, src/vte.c, src/vte.h:
Added option to execute programs in the VTE instead of executing
them in a terminal emulation window (closes #1594456).
* src/dialogs.c: Use a table to layout the word count dialog.
2006-12-09 Nick Treleaven <>
* src/build.c:
Fix building on win32; also fix some warnings.
* src/document.c:
Read the file's modification timestamp after saving because on
Windows it can be later than expected (closes #1611530).
* src/keybindings.c:
Show the Message window when switching to the vte.
* src/build.c, src/keybindings.c, src/keybindings.h:
Add keybindings for Next Message and Next Error commands.
2006-12-08 Nick Treleaven <>
* src/build.c, src/interface.c, src/ui_utils.h, src/build.h,
src/keybindings.c, src/msgwindow.c, src/callbacks.c,
src/msgwindow.h, src/callbacks.h, src/main.c, src/ui_utils.c,
Add Next Message and Next Error menu items.
Don't select the last build message on completing a build.
Change build_get_menu_items(-1) to return current build menu.
Add Copy popup menu item for Status and Messages windows.
Move on_message_treeview_clear_activate(),
on_compiler_treeview_copy_activate() to msgwindow.c.
Create the Recent files submenu item manually because Glade 2.10
removes empty menus.
* src/dialogs.c, src/ui_utils.c:
Use ui_button_new_with_image() in dialogs_show_unsaved_file().
2006-12-08 Enrico Tröger <>
* src/build.c: Made the created run script for command execution a bit
more portable to other shells than bash (thanks to
Nacho Cabanes for reporting).
* src/document.c, src/document.h, src/sciwrappers.c, src/ui_utils.h,
Fixed broken overtype update in the statusbar.
Removed unused field do_overwrite in document struct.
* src/msgwindow.c: Removed compiler warning.
* src/sci_cb.c, src/sci_cb.h:
Made sci_cb_get_indent and sci_Cb_auto_multiline static.
Improved auto completion of multi line comments and support
/+ +/ for D files.
* src/msgwindow.c: Fixed wrong check button state in view menu if
message window was shown automatically.
2006-12-07 Frank Lanitz <>
* src/about.c, THANKS,, po/fr.po:
Added French translation (Thanks to Jean-Philippe Moal).
2006-12-07 Enrico Tröger <>
* src/document.c: Create new tm file object when changing the filetype
of a document to avoid a confused tagmanager.
* data/filetypes.d, scintilla/KeyWords.cxx, scintilla/LexD.cxx,
scintilla/, scintilla/makefile.win32,
scintilla/include/SciLexer.h, src/highlighting.c:
Added new scintilla lexer for D. It needs testing and there is more
work to do to get it working properly.
* src/about.c, src/build.c, src/callbacks.c, src/document.c,
src/encodings.c, src/gb.c, src/keyfile.c, src/prefs.c, src/sci_cb.c,
src/search.c, src/symbols.c, src/ui_utils.c, src/utils.c,
src/utils.h, src/dialogs.c, src/vte.c:
Revert the last change to utils_str_equal() and use it again because
g_str_equal() is not NULL-safe.
2006-12-06 Enrico Tröger <>
* src/sci_cb.c: Don't insert extra indentation in Python files after a
colon if the line is a comment (closes #1609761).
* src/about.c, src/build.c, src/callbacks.c, src/document.c,
src/encodings.c, src/gb.c, src/keyfile.c, src/prefs.c, src/sci_cb.c,
src/search.c, src/symbols.c, src/ui_utils.c, src/utils.c,
src/utils.h: Removed utils_str_equal() and use g_str_equal() from
GLib because it does exactly the same.
2006-12-05 Enrico Tröger <>
* src/treeviews.c, tagmanager/latex.c:
Let the LaTeX parser recognise the keyword \chapter.
2006-12-05 Nick Treleaven <>
* src/socket.c:
Prevent Valgrind warning with unlink(NULL).
* src/ui_utils.h, src/treeviews.c, src/callbacks.c, src/notebook.c,
src/treeviews.h, src/notebook.h, src/document.c, src/document.h,
Show read-only notebook tabs in green.
Add document_get_status() to get the tab colour for the document.
Use ui_update_tab_status() to update notebook tabs and open files
treeview items.
Avoid using GtkTreeIter struct as treeviews function arguments.
Remove unneeded arguments for treeviews_openfiles_add(),
2006-12-04 Nick Treleaven <>
* src/highlighting.c, data/filetypes.d:
Move C/C++ styling_within_preprocessor code out of C-like styles.
Use styleset_c_like() when applying C-like Scintilla styles.
Synchronize gsd_reserved_word, gsd_system_word and data/filetypes.d
with styles in data/filetypes.c.
2006-12-04 Enrico Tröger <>
* src/document.c: Use default GTK foreground colour for filenames on
notebook tabs instead of hardcoded colour black.
* src/sci_cb.c: Fixed broken auto completion for LaTeX files.
2006-12-03 Enrico Tröger <>
* data/filetypes.c, data/filetypes.cpp, data/filetypes.d,
data/filetypes.ferite, data/, src/highlighting.c:
Added new style for doc keyword error and added some doc key words
for Doxygen and Javadoc.
*, src/geany.h, src/interface.c, src/keyfile.c,
src/prefs.c, src/sci_cb.c:
Added new preference to unfold all children of a fold point if the
fold point is unfolded.
* src/msgwindow.c: Applied patch from Bob Doan to ignore libtool
messages when parsing the output of make (thanks).
* src/sci_cb.c, src/sci_cb.h:
Made handle_xml() static.
Fixed wrong XML auto completion in PHP files when inserting '>',
thanks to Bob Doan for reporting.
2006-12-02 Enrico Tröger <>
* src/highlighting.c: Use the same style for unknown doc keywords
(/** @something */) as for known keywords.
2006-12-01 Enrico Tröger <>
*, src/interface.c, src/geany.h, src/main.c,
Removed invisible place holder menu item in recent files menu.
Create separate sub menu for the recent files menu in the toolbar to
prevent GTK warnings when using GTK >= 2.10.
2006-12-01 Nick Treleaven <>
* src/vte.c:
Make the switch to vte menu shortcut override work before the VTE
has been realized.
2006-11-30 Nick Treleaven <>
* src/main.c:
Disable open toolbutton recent files menu for now because on
GTK+2.10 packing the recent files menu twice causes warnings.
* src/build.c, src/build.h, src/keybindings.c, src/callbacks.c,
src/filetypes.c, src/filetypes.h, src/dialogs.c:
Make all filetypes except LaTeX use the same build menu, disabling
any items that don't apply for the current document.
Move BuildMenuItems struct type to build.h.
2006-11-29 Nick Treleaven <>
* src/build.c, src/build.h, src/keybindings.c, src/filetypes.c,
Make stop button only apply for killing running programs.
Disable build commands when building is in progress.
Make build_menu_update() detect how to call set_stop_button().
Make build_menu_update() also update the LaTeX build menu.
Make build keybindings only active when the equivalent menu item
is also active.
2006-11-27 Nick Treleaven <>
* src/build.c:
Show build result on status bar if Compiler window is not selected.
2006-11-25 Nick Treleaven <>
* src/msgwindow.c, src/notebook.c, src/msgwindow.h, src/notebook.h:
Add some const char* argument modifiers, remove unneeded static from
some local vars.
* src/vte.c:
Remove vte_char_size_changed() workaround, not needed since r988;
this also fixes an issue where the VTE is limited to 30x5 chars.
* src/search.c, src/document.c, src/document.h:
When replacing in session, use notebook page order and show a count
of the files changed.
Show the filename when replacing text over a range.
Add DOC_FILENAME() null-safe macro to get the filename at doc_idx.
* src/build.c, src/ui_utils.h, src/msgwindow.c, src/search.c,
src/document.c, src/ui_utils.c:
Make ui_set_statusbar() use printf-style arguments & assume the
message should not be overridden.
* data/filetypes.python:
Change python default compile command to create a compiled python
.pyc file (thanks to Bajusz Tamás).
2006-11-24 Nick Treleaven <>
* src/ui_utils.h, src/prefs.c, src/dialogs.c, src/ui_utils.c:
Add frame for VTE Preferences tab, update packing.
Replace ui_frame_new() with ui_frame_new_with_alignment().
* src/callbacks.c, src/callbacks.h, src/vte.c, src/vte.h, src/prefs.c,
Move VTE preferences GUI code to vte.c.
Move on_pref_tools_button_clicked() to prefs.c.
2006-11-23 Enrico Tröger <>
* src/vte.c: Fixed segfault when opening the preferences dialog for
the first time from the VTE widget.
2006-11-23 Nick Treleaven <>
* src/highlighting.c, src/geany.h, doc/geany.docbook,
Only use [a-zA-Z0-9] chars for default wordchars, to avoid problems
with word matching when using Find & Replace functions.
* src/keybindings.c:
Add switching to a notebook tab number using Alt-1 to Alt-9; Alt-0
switches to the last tab.
* src/geany.h, data/filetypes.*:
Add underscore to default wordchars again (oops).
2006-11-22 Frank Lanitz <>
* po/hu.po, src/about.c, THANKS,
Added Hungarian translation (Thanks to Gabor Kmetyko aka
kilo <>).
2006-11-22 Nick Treleaven <>
* src/notebook.c, src/notebook.h, src/document.c:
Ensure tab DnD is enabled when tabs are added; use
notebook_remove_page() instead of gtk_notebook_remove_page().
Unified notebook_[en|dis]able_dnd_for_dropping_files() in
2006-11-21 Enrico Tröger <>
* src/callbacks.c, src/callbacks.h, src/document.c, src/main.c,
src/notebook.c, src/notebook.h:
Removed DnD handler for the main window (not very useful).
Fixed broken tab reordering by only enabling DnD for dropping files
when there are no open file tabs, otherwise disable it and enable
DnD for moving file tabs. Dropping files into Geany when file tabs
are open still works because then it is handled by the Scintilla
* src/msgwin.c: Applied patch from Bob Doan to parse PHP compile
errors better (thanks).
2006-11-18 Nick Treleaven <>
* src/sciwrappers.c, src/sciwrappers.h:
Added sci_get_first_visible_line().
* src/interface.c, src/geany.h, src/sci_cb.h, src/keyfile.c,
src/vte.c, src/search.c, src/document.c, src/prefs.c,
Applied patch from Bob Doan to prevent scrolling when wrap searching
around a document, and to add a preference for suppressing search
dialogs when wrapping or after Find Next.
Rearranged some Preferences dialog options, added Files tab.
Disable tab position when file tabs are hidden (not new file tab
placement option, it still affects order of pages).
* src/interface.c,
Add Preferences frame alignment for Tools, Templates, Keybindings.
Revert tab placement label text.
2006-11-17 Enrico Tröger <>
* src/build.c, src/main.c:
Fixed compile error under Win32.
Ignore pressed Stop button under Win32 (at least for the moment,
not yet implemented).
2006-11-17 Nick Treleaven <>
* src/search.c:
Change Find Next/Previous buttons to use better stock icons.
* src/callbacks.c, src/sci_cb.c, src/document.c, src/document.h:
Fix sign comparison warnings.
2006-11-16 Enrico Tröger <>
* src/main.c: Enabled DnD also for the main notebook widget to drop
files in the main area of Geany.
2006-11-15 Enrico Tröger <>
* src/vte.c: Don't unload the VTE module on exit to avoid crashes on
some systems.
* src/main.c: Fixed small memory leak.
* src/callbacks.c, src/callbacks.h, src/document.c, src/document.h,
src/main.c, src/sci_cb.c:
Enabled drag and drop for the whole main window to be able to drop
files even if no tabs are open.
Moved code for getting the file list to document_open_file_list().
2006-11-15 Frank Lanitz <>
* src/about.c,, THANKS, po/zh_TW.po:
Added tranditional Chinese translation (Thanks to KoViCH
2006-11-15 Nick Treleaven <>
* src/ui_utils.h, src/search.c, src/ui_utils.c:
Add search history for Find in Files.
Add ui_combo_box_add_to_history() and use to prevent blocks of
duplicates (but not all duplicates) from search history combo boxes,
and limit history to 30 entries.
* src/build.c:
Remove the stop button in build_exit_cb() when using Make commands.
Fix set_stop_button() when using Make when the current file has no
2006-11-14 Enrico Tröger <>
* scintilla/LexPascal.c: Tried to fix wrong styling at "end.".
2006-11-14 Frank Lanitz <>
* po/zh_CN.po, src/about.c,, THANKS:
Added simple Chinese (zh_CN) translation (Thanks to
Dormouse Young <>).
2006-11-14 Nick Treleaven <>
* src/templates.c, src/templates.h, src/callbacks.c, src/filetypes.c,
src/filetypes.h, src/document.c, src/document.h:
Add NULL-safe FILETYPE_ID macro to get filetype::id from pointer.
Allow insertion of GPL notice and file header when the filetype is
not set.
Add commenting for PHP & HTML GPL notice and file header templates.
Add make_comment_block() to templates.c.
Move document_prepare_template(), filetypes_get_template() to
2006-11-13 Enrico Tröger <>
* src/filetypes.c, src/filetypes.h, src/highlighting.c,
src/highlighting.h, src/treeviews.c, scintilla/,
scintilla/makefile.win32, scintilla/KeyWords.cxx,
scintilla/LexVHDL.cxx, tagmanager/vhdl.c, tagmanager/parsers.h,
tagmanager/, tagmanager/makefile.win32,
data/filetype_extensions.conf, data/filetypes.vhdl:
Added new filetype VHDL.
*, src/interface.c, src/keybindings.c:
Use plural for line commentation description labels.
* src/build.c: Added missing inclusion of signal.h.
2006-11-13 Nick Treleaven <>
* src/sci_cb.c: Fix invalid memory read in sci_cb_get_indent().
* src/callbacks.c: Fix invalid memory write in on_exit_clicked().
2006-11-12 Nick Treleaven <>
* src/vte.c: Fix message window horizontal scrollbar being too tall on
some systems (thanks to Rob van der Linde).
2006-11-11 Enrico Tröger <>
* src/vte.c: Probe different versions of, not only
* src/keyfile.c: Fixed a segfault when closing preferences dialog and
loading VTE was enabled after it was disabled.
* src/build.c, src/build.h, src/main.c:
Extended the build_info struct with useful information of the
current running command.
Added stop button(using the Run button) to cancel the execution of a
command like Run, Compile or Build.
Fixed a typo in an error message.
* doc/geany.docbook:
Described new folding_horiz_line setting in filetypes.common.
Added documentation for stopping of running processes.
2006-11-09 Enrico Tröger <>
* src/highlighting.c, data/, data/filetypes.cpp,
data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
data/filetypes.pascal, data/filetypes.sql, data/filetypes.xml:
Changed commentdoc(used for javadoc and Doxygen, /** */) colour to a
light blue.
2006-11-09 Nick Treleaven <>
* src/keyfile.c, src/main.c:
Fix a possible bug with g_file_test when opening files at startup.
Show warning message on status bar if some session files couldn't be
loaded, showing debug messages for each session file that fails.
2006-11-08 Nick Treleaven <>
* src/utils.c, src/highlighting.c, src/utils.h, src/callbacks.c,
src/sci_cb.c, src/document.c, src/symbols.c, src/ui_utils.c,
Move utils_get_tag_list() to symbols.c, make utils_find_tm_tag()
Move symbols_get_global_keywords() to get_global_typenames() in
Add symbols_find_tags_as_string(), symbols_get_tag_list(),
symbols_get_macro_list(), symbols_find_in_workspace() from various
tag-related existing code.
* src/ui_utils.c:
Never show the Sidebar if app->show_sidebar is false (prevents
showing Sidebar after setting Preferences, when user has chosen to
hide the Sidebar).
* src/utils.c, src/utils.h, src/about.c, src/callbacks.c,
src/sci_cb.c, src/keyfile.c, src/search.c, src/encodings.c,
src/document.c, src/prefs.c, src/gb.c, src/symbols.c:
Rename utils_strcmp() utils_str_equal() (to avoid return value
confusion with strcmp()).
2006-11-07 Enrico Tröger <>
* src/treeviews.c: Fixed unintentional appearance of sidebar after it
was hidden and the preferences dialog was closed.
* data/filetypes.common, src/highlighting.c:
Added an option to draw an horizontal line above or below folded
* src/dialogs.c: Don't set width of file open dialog.
2006-11-07 Nick Treleaven <>
* src/win32.c, src/win32.h, src/callbacks.c, src/keyfile.c,
src/dialogs.c, src/dialogs.h:
Don't close any tabs when quitting until all unsaved changes have
been accounted for; switch to each unsaved file before showing the
unsaved dialog.
Remove limit of ~256 chars for session filenames.
Make dialogs_show_unsaved_file() fail if the Save As dialog was
2006-11-06 Enrico Tröger <>
* data/, src/highlighting.c:
Added Java keywords true and false.
Converted "NULL" to lower case.
* src/sci_cb.c: Little code cleanup in brace_match().
2006-11-05 Enrico Tröger <>
* src/sci_cb.c: Fixed (hopefully) wrong indentation in some cases when
inserting '}'.
2006-11-04 Enrico Tröger <>
* src/highlighting.c, src/highlighting.h:
Applied patch from Bob Doan to do not set keywords for XML
Made styleset_markup() static.
2006-11-04 Nick Treleaven <>
* src/search.c: Fix pressing enter to search from the Find dialog.
* src/keyfile.c, src/keyfile.h, src/main.c:
Make filetype_extensions.conf generation only available with a debug
build of Geany.
* src/filetypes.c, data/filetype_extensions.conf:
Recognise *.xsl, *.xslt filenames for XML filetype.
Recognise 'GNUmakefile' filename for Make filetype.
2006-11-03 Nick Treleaven <>
* src/msgwindow.c:
Don't set error indicators when clicking on an error message if the
document has been modified.
* src/notebook.c: Focus the current document after clicking on a tab.
* src/utils.c, src/keybindings.c, src/callbacks.c, src/sci_cb.c,
src/sciwrappers.c, src/search.c, src/sciwrappers.h, src/document.c,
Scroll matching selection to 1/3 of the view when searching.
Add sci_scroll_to_line(); remove sci_goto_line_scroll().
Show 'not found' message on status bar also when enter is pressed in
the search bar.
2006-11-02 Enrico Tröger <>
* src/callbacks.c, src/dialogs:
Run set includes build dialogs for LaTeX files modally, too.
2006-11-02 Nick Treleaven <>
* src/highlighting.c, data/filetypes.perl, data/filetypes.pascal,
data/, data/filetypes.makefile, data/filetypes.ruby,
Make all remaining 0xff0000 comment styles darker using a common
default comment style.
Add some other generic styles (used only by C-like filetypes for
2006-11-01 Enrico Tröger <>
* src/search.c: Changed tooltip of checkbox "Close dialog" to be more
* src/keybindings.c: Changed keybinding for Print to Ctrl+P.
* scintilla/LexBash.cxx: Fixed wrong detection of some words.
2006-11-01 Nick Treleaven <>
* src/document.c: Prevent possible invalid memory read.
* src/ui_utils.h, src/search.c, src/search.h, src/ui_utils.c,
Add Find Previous, Find All in File/Session buttons to the Find
Move Find Usage code from on_find_usage1_activate to search.c.
Add ui_button_new_with_image(), ui_hbutton_box_copy_layout().
* src/utils.c: Prevent end of line char showing for current function.
* src/search.c: Update Save All state after Replace in Session.
* src/callbacks.c: Update Undo items when switching notebook pages.
2006-10-30 Enrico Tröger <>
* src/sci_cb.c: Add extra indentation for Python after a colon.
* tagmanager/latex.c, src/treeviews.c:
Removed "begin" section in symbol list and sort it at environment.
2006-10-29 Enrico Tröger <>
*, src/interface.c, src/prefs.c, src/geany.h,
src/keyfile.c, src/ui_utils.c, src/main.c:
Added an Apply button to preferences dialog.
New setting to show/hide the Quit toolbar item.
New setting to show/hide notebook tabs.
* src/document.c, src/treeviews.c, src/treeviews.h:
Colour also the open files list items according to their changed
* src/callbacks.c, src/callbacks.h, src/msgwindow.c, src/msgwindow.h,
src/treeviews.c, src/treeviews.h, src/geany.h:
Moved all treeview related callback functions from callbacks.c to
msgwindow.c and treeviews.c.
* src/document.c: Fixed bug when setting colour of open files list
entry on new, unnamed files.
2006-10-28 Nick Treleaven <>
* src/ui_utils.c:
Add temporary fix for sci infinite loop in Document::GetColumn(int)
when current pos is beyond document end (can occur when removing
blocks of selected lines especially brace sections near end of
2006-10-28 Enrico Tröger <>
* doc/geany.docbook:
Some small updates.
Got rid of &app; entitity.
Extended description of encoding support.
2006-10-27 Nick Treleaven <>
* src/highlighting.c, src/filetypes.c, src/filetypes.h,
data/, data/filetypes.cpp, data/filetypes.ferite,
data/filetypes.c, data/filetypes.d:
Add filetypes_get_conf_extension() and use in highlighting.c.
Fix a memory leak in load_keyfiles().
Group C-like default syntax in init_c_like_styleset().
Make C-like comment colour darker; make globalclass brighter to
distinguish it from word colour.
Make Java use same default syntax highlighting colours as C.
* src/utils.c:
Limit parse depth to 500 chars when parsing C-like function name.
* src/sci_cb.c:
Find last unmatched open bracket for Show Calltip so nested matched
brackets are ignored (except LaTeX).
2006-10-26 Nick Treleaven <>
* src/keybindings.c, src/keybindings.h:
Only accept editing keybindings when the current Scintilla widget
has focus.
Group editing keybindings together in cb_func_edit.
Change keybinding callbacks to pass keybinding index as an argument.
2006-10-25 Nick Treleaven <>
* src/document.c:
When replacing tabs by space, prevent the scroll position changing,
and fix a possible change of cursor position.
2006-10-25 Enrico Tröger <>
* src/dialogs.c, src/dialogs.h, src/build.c, src/prefs.c, src/win32.c
Added warning message dialog, united dialogs_show_info() and
dialogs_show_error() to dialogs_show_msgbox().
* src/document.c: Added warning message when opening files that cannot
be handled correctly and set them to read-only mode.
* src/document.c, src/encodings.c, src/encodings.h, src/utils.c,
src/utils.h: Moved utils_convert_to_utf8() and
utils_convert_to_utf8_from_charset() to encodings.c.
2006-10-24 Enrico Tröger <>
* src/build.c, src/socket.c: Fixed compiler warnings under Windows.
* win32-config.h, src/dialogs.c:
Use GTK's file open dialog also under Windows to have the extended
options(kept old dialog code for optional use).
* win32-config.h, src/dialogs.c, src/geany.h:
Removed unneeded macro GEANY_MAX_TAGS_COUNT.
Moved macro GEANY_USE_WIN32_DIALOG to geany.h.
2006-10-24 Nick Treleaven <>
* src/sciwrappers.h, src/sciwrappers.c, src/document.h,
Fix setting document unchanged state when using Undo/Redo for
encoding or BOM changes.
Add sci_is_modified().
Added useful doc() function used only when debugging.
* src/search.c:
Reorder Replace All buttons.
* src/msgwindow.c src/callbacks.c:
Change Messages and Compiler window to go to line with a single
click instead of double click.
2006-10-23 Enrico Tröger <>
* src/encodings.c, src/encodings.h, src/document.c, src/callbacks.c,
src/dialogs.c: Added new encoding "None" to open files without any
character conversions (fixes #1580456).
* src/callbacks.c: Don't allow changing the encoding or setting a BOM
if the file is read only.
2006-10-22 Enrico Tröger <>
* src/geany.h, src/keyfile.c, src/main.c:
Added configuration option for the alignment of toolbar quit button.
*, src/interface.c, src/geany.h, src/keyfile.c,
src/main.c: Removed previously added configuration option and
removed the right alignment of the toolbar quit button.
* src/sci_cb.c, src/sci_cb.h, src/search.c:
Let the Find, Replace and FIF dialogs use the word at current cursor
position if there is no selection.
* src/filetypes.c: Added shebang detection for D files (dmd).
* src/callbacks.c, src/dialogs.c, src/document.c:
Added drop down box to the file open dialog to select an encoding.
Added possibility to open a file without any character set
conversions (could already fix #1580456, have to be continued).
2006-10-22 Nick Treleaven <>
* src/ui_utils.h, src/search.c, src/document.c, src/dialogs.c,
src/document.h, src/ui_utils.c:
Add separate Replace button, rename old button Replace & Find.
Add expander to group Replace All options for Replace dialog.
Use Replace All In Session button instead of checkbox.
Add border, update packing for all dialogs in search.c.
Add ui_dialog_vbox_new() for consistent dialog borders.
2006-10-21 Nick Treleaven <>
* src/document.c:
Make search bar automatically wraparound if necessary.
Detect when Find has searched all text and display a 'not found'
message on the status bar.
* src/build.c: Remove unused argument.
* src/callbacks.c, src/document.c, src/document.h:
Rename document_find_next() document_search_bar_find().
* src/msgwindow.h, src/dialogs.h, src/main.h:
Add G_GNUC_PRINTF checks for variable argument function prototypes.
* src/build.c, src/utils.c, src/highlighting.c, src/geany.h,
src/callbacks.c, src/sci_cb.c, src/vte.c, src/search.c, src/main.h:
Move geany_debug prototype to geany.h so that all files can use it
without a dependency on main.h.
* src/callbacks.c, src/main.c, src/main.h:
Moved finalization code from destroyapp() to main_quit().
2006-10-20 Nick Treleaven <>
* src/interface.c, src/main.c,
Add drop-down recent files menu to Open toolbar button.
Align quit toolbar button on the right.
Move Colour Chooser, Word Count to Tools menu.
Reorder Format, add Indent icons, edit Remove Indicators items.
2006-10-19 Nick Treleaven <>
* src/build.c, src/about.c, src/dialogs.c:
Added 6pt border, changed padding for all dialogs in dialogs.c;
also allow ESC to close cancellable dialogs.
Updated unsaved, LaTeX Set Arguments dialogs.
2006-10-18 Enrico Tröger <>
* src/utils.c, src/treeviews.c, tagmanager/c.c:
Use "::" as context separator only for C++, otherwise use ".".
Detect module declarations in D and put them in the symbol list.
* src/callbacks.c, src/geany.h, src/msgwindow.c, src/treeviews.c:
Use enum values to reference different treeview widgets
(code cleanup).
2006-10-18 Nick Treleaven <>
* src/build.c, src/build.h, src/ui_utils.h, src/ui_utils.c,
src/keybindings.c, src/callbacks.c, src/callbacks.h, src/document.c,
Move build menu related functions and callbacks to build.c.
Renamed ui_update_build_menu -> build_menu_update.
2006-10-17 Nick Treleaven <>
* src/callbacks.c, src/filetypes.h, src/ui_utils.c:
Disable Make All, Make Custom menu items for unnamed files.
Allow Run and Make Object for C header files.
* src/document.c:
Fixed Undo/Redo setting the wrong document changed state when making
edits after saving a file.
2006-10-17 Enrico Tröger <>
* THANKS,, src/about.c:
Added Italian translation (thanks to M. Baldinelli and
Dario Santomarco).
2006-10-16 Nick Treleaven <>
* src/keybindings.c: Change goto matching brace default keybinding to
CTRL-SHIFT-< (requires shift on some keyboards).
* src/build.c, src/build.h, src/geany.h, src/callbacks.c:
Don't overwrite Make Custom string when using Make Object.
Move app->build_make_custopt to build_options struct in build.c.
* src/build.c, src/build.h, src/msgwindow.c, src/callbacks.c,
Move build_info struct to build.c and merge with build_options.
2006-10-13 Enrico Tröger <>
* src/ui_utils.c, src/treeviews.c:
Improved symbol list view for filetype Java.
2006-10-13 Nick Treleaven <>
* src/utils.c: Fix infinite loop from parsing current function name.
2006-10-12 Enrico Tröger <>
* src/utils.c: Improved function name parsing to fix some invalid
parsed function names.
2006-10-12 Nick Treleaven <>
* src/utils.c:
Fix parsing the current function name for Java.
When the document is unedited, get the current function name from
the previous function tag parsed by tagmanager.
Don't update the current function if the cursor is 1 line from the
previous call and the fold level is unchanged.
* tagmanager/tm_workspace.c, tagmanager/include/tm_workspace.h:
Backported tm_get_current_function() from Anjuta.
* src/sciwrappers.c, src/sciwrappers.h:
Added sci_get_last_child(), sci_get_fold_parent().
* src/keyfile.c: Small fix for sign warning.
2006-10-11 Enrico Tröger <>
* src/keyfile.c, src/geany.h: Removed hard limit of session files.
* doc/geany.docbook: Updated section about session files limit.
* tagmanager/makefile.win32, tagmanager/,
tagmanager/parsers.h, tagmanager/diff.c, src/filetypes.c,
src/treeviews.c: Added simple parser for filetype Diff to create
tags for each patched file in a diff file.
* src/sci_wrappers.c: Added sci_find_bracematch().
* src/keybindings.c: Added keyboard shortcut Ctrl+< to jump between
matching braces(closes #1571283).
* doc/geany.docbook: Updated missing keybindings.
2006-10-10 Enrico Tröger <>
* src/document.c: Connect only once to the "sci-notify" signal.
* scintilla/CellBuffer.cxx, scintilla/Document.cxx,
Applied patch from Armel Asselin (thanks). It adds SC_START_ACTION
notification which is required for Geany's new Undo system.
* src/document.c, src/sci_cb.c, src/callbacks.c:
Finished new Undo system. Now some more actions can be undone and
also redone.
* src/sci_cb.c: Got rid of goto usage and added auto completion for
monitor construct for filetype Ferite.
* src/highlighting.c, data/filetypes.css:
Fixed several highlighting errors, added new styles: identifier2,
important and id.
2006-10-09 Nick Treleaven <>
* src/win32.c, src/geany.h, src/callbacks.c, src/search.c,
src/document.c, src/document.h, src/prefs.c, src/dialogs.c,
src/main.c, src/ui_utils.c:
Removed the GEANY_MAX_OPEN_FILES limit, using a dynamic array.
2006-10-09 Enrico Tröger <>
* src/dialogs.c:
Made string "Permissions" in the file property dialog translatable.
2006-10-08 Enrico Tröger <>
* src/highlighting.c, data/filetypes.ferite: Added some new keywords.
* src/sci_cb.c:
Added auto completion for iferr construct for filetype Ferite.
* src/socket.c:
Added additional header files for compatibility with FreeBSD.
2006-10-08 Nick Treleaven <>
* tagmanager/tm_source_file.c:
Only parse tags once for simple parsers.
2006-10-06 Enrico Tröger <>
* tagmanager/python.c: Improved Python parser to support nested classes.
* src/filetypes.c, src/document.c:
Implemented simple "shebang" detection. It is used prior to the
filename extension detection.
* src/highlighting.c, data/filetypes.latex:
Changed foreground colour for LaTeX style "math" to differentiate it
from the "comment" style.
2006-10-04 Enrico Tröger <>
* src/ui_utils.c, src/main.c, src/document.c, src/callbacks.c:
Renamed ui_build_show_hide() in ui_update_build_menu().
* src/filetypes.c, src/ui_utils.c:
Fixed crash when using "Make object" on new files(closes #1570818).
2006-10-03 Enrico Tröger <>
* src/callbacks.c: Save configuration(i.e. list of open files) as late
as possible and save the filetype build commands
first shortly before quitting.
* doc/geany.docbook, doc/, src/main.c, src/document.c:
Reordered command line options alphabetically.
Added new command line option --line to set the initial line for the
first opened file.
* data/, src/highlighting.c: Added keyword "until".
2006-10-02 Nick Treleaven <>
* src/templates.c:
Added a blank line indent for templates D, HTML, PHP.
* src/symbols.c, src/symbols.h, src/highlighting.c,
src/makefile.win32, src/, po/
Move global tags code to symbols.c.
Added symbols_global_tags_loaded(), symbols_get_global_keywords().
* src/callbacks.c, src/sci_cb.c, src/sciwrappers.c, src/sciwrappers.h,
Change sci_get_line to return a NULL terminated string.
Fix memory leak and possible invalid read in sci_cb_auto_latex().
2006-10-01 Enrico Tröger <>
* Use datarootdir for defining paths to fix autoconf
2.60 problems(thanks to Christoph Berg for reporting).
2006-10-01 Nick Treleaven <>
* src/callbacks.c, src/filetypes.c, src/filetypes.h, TODO:
Save the build includes and arguments on quitting.
2006-09-30 Nick Treleaven <>
* src/highlighting.c, src/highlighting.h:
Changed StyleSet struct to use Style array, which can use less
memory. Added separate struct for the common style set. Also
use a struct for tracking the loaded global tags files. Renamed
some static functions.
* src/document.c, src/ui_utils.c:
Clear the symbol list when opening a file with no tags.
2006-09-29 Enrico Tröger <>
* src/filetypes.c, data/filetype_extensions.conf:
Added pattern *.agi for filetype Perl (closes #1567355).
* doc/geany.docbook:
Updated information for Debian and Gentoo packages.
* New release: Geany 0.9 "Kintaro".
* THANKS, src/about.c: Changed credits of topi.
2006-09-27 Nick Treleaven <>
* src/vte.c: Change VTE word selection chars to include paths.
* src/highlighting.c, data/filetypes.common:
Only override the default Scintilla selection style if foreground
and/or background flags are set in filetypes.common.
Also increase the current line background brightness.
2006-09-27 Enrico Tröger <>
* src/sci_cb.c: Fixed broken autocompletion for filetype PHP.
2006-09-26 Enrico Tröger <>
* win32-config.h: Enabled socket code on Windows.
* src/socket.c: Re-enabled the gtk_window_present() call for Windows
to pop up the main window.
* src/utils.c, src/sci_cb.c:
Enabled notification if file on disk has changed under Windows, it
seems to work (closes #1557689).
2006-09-26 Frank Lanitz <>
* po/nl.po, THANKS,, src/about.c:
Added Dutch translation (Thanks to Kurt De Bree).
2006-09-22 Nick Treleaven <>
* src/main.c: Apply toolbar style on startup (Fixes #1563125).
* src/build.c, src/geany.h:
Prevent a segfault if the Terminal tool is not set.
Use cmd.exe as default Terminal tool on Windows.
* scintilla/makefile.win32, src/makefile.win32,
tagmanager/makefile.win32, makefile.win32:
Let make clean continue when a file can't be deleted.
2006-09-21 Nick Treleaven <>
* src/ui_utils.c:
Fix a bug when clicking on a recent file.
* src/callbacks.c, src/sciwrappers.c:
Prevent a partial selection on a line being deleted when using
CTRL-I to indent; also improve CTRL-Shift-I unindenting. Closes
2006-09-20 Enrico Tröger <>
* src/sci_cb.c: Don't start autocompletion in strings and comments.
2006-09-20 Nick Treleaven <>
* src/search.c, src/search.h:
Add whole word only matching option for Find in Files.
Add fixed string matching option for Find in Files.
Make fixed string, case sensitive matching default for efficiency.
Sort filenames passed to Grep alphabetically.
* src/socket.c:
Don't move Geany to the current desktop when opening files remotely.
2006-09-18 Enrico Tröger <>
* src/dialogs.c, src/callbacks.c:
Fixed compiler warnings and removed unnecessary signal handler.
2006-09-17 Nick Treleaven <>
* src/templates.h, src/templates.c:
Move all static strings from templates.h to templates.c.
* src/sci_cb.c: Fix sign comparison warning.
* src/utils.c, src/msgwindow.c:
Improve utils_get_current_time_string().
* src/ui_utils.c:
Only reorder recent files menu when recent file loaded correctly.
Reorder the recent file menu instead of recreating it.
2006-09-15 Nick Treleaven <>
* src/ui_utils.h, src/ui_utils.c, src/callbacks.c, src/dialogs.c:
Add ui_frame_new().
Run set includes build dialogs modally, keeping the same filetype.
Updated set includes & arguments dialog layout & text.
* src/build.c: Don't print the g_spawn argv strings in build_run_cmd()
on the status bar.
2006-09-12 Enrico Tröger <>
*, src/interface.c, src/callbacks.c, src/keybindings.c:
Added menu items for toggle line commentation.
Changed some mnemonics in the "format" submenu.
* src/callbacks.c, src/keybindings.c:
Added keyboard shortcuts for "Convert Selection to lower-case".
2006-09-12 Frank Lanitz <>
* data/pascal.tags: Adding data for unit x86.
2006-09-11 Enrico Tröger <>
* src/socket.c: Made socket code for detecting running instances
working under Windows.
* src/win32.c, src/ui_utils.c, src/dialogs.c:
Fixed compile warnings under Windows.
* src/highlighting.c: Fixed a typo.
* src/callbacks.c, src/build.c, src/main.c, src/prefs.c,
src/ui_utils.c: Implemented Run command (from the build menu) under
Windows, the other commands will follow somewhen.
2006-09-10 Enrico Tröger <>
* src/sci_cb.c, src/keybindings.c, src/callbacks.c:
Added comment toggle functionality to easily comment and uncomment a
line with one shortcut (default Ctrl+B) (closes #1552184).
2006-09-09 Nick Treleaven <>
* src/document.c, src/ui_utils.c:
Reorder the recent files list if necessary when a file is
(re)opened - closes #1552178.
* src/msgwindow.c: Check msgwin visible before scrolling.
* src/ui_utils.h, src/ui_utils.c, src/callbacks.c,
src/callbacks.h, src/dialogs.c, src/dialogs.h, src/main.c:
Move on_recent_file_activate, dialogs_create_recent_menu,
dialogs_create_build_menu_gen, dialogs_create_build_menu_tex to
ui_utils.c. Also make some functions static.
2006-09-08 Nick Treleaven <>
* src/build.c, src/msgwindow.c, src/msgwindow.h:
Show parsable errors in red; stderr and compile failure in dark red.
* src/callbacks.c: Fix compilation problem with sci_cb_do_comment.
* src/document.c: Quick fix for C89 compatibility.
* src/msgwindow.c:
Make C, C++, Ruby and Java error message parsing more tolerant so
that linker errors are also parsed if debug line info is available.
Group all gcc-like error message parsing information together.
* src/msgwindow.c, src/msgwindow.h:
Allow compiler and find messages to be added when the messages
window is hidden.
Add msgwin_show().
* src/build.c:
Show messages window on build failure.
Show build success message on status bar if messages window hidden.
* src/document.c:
Use handle_forced_encoding(), handle_encoding() and handle_bom()
when opening files.
2006-09-07 Enrico Tröger <>
* src/socket.c, src/main.c, src/callbacks.c:
Moved the socket code from main.c to socket.c.
* src/document.c: Remove an unchanged empty document when loading a
new file (closes #1545129).
2006-09-06 Enrico Tröger <>
* src/callbacks.c, src/document.c, src/ui_utils.c, src/sci_cb.c:
Added own implementation of an Undo stack (not yet working).
* src/utils.c, src/document.c:
Convert tag names to UTF-8 before showing them in the sidebar.
* src/document.c:
Fixed a crash when a compiler output reports an error in a blank
line(can happen in LaTeX). Thanks to Frank for reporting.
2006-09-05 Enrico Tröger <>
* src/templates.c, src/document.c, src/filetypes.c:
Added new file template for filetype HTML.
* src/document.c, src/dialogs.c:
Don't quit when an error occurs while saving changed files.
2006-09-05 Nick Treleaven <>
* src/utils.c, src/utils.h, src/ui_utils.c, src/ui_utils.h,
src/keybindings.c, src/about.c, src/treeviews.c, src/msgwindow.c,
src/callbacks.c, src/notebook.c, src/sci_cb.c, src/keyfile.c,
src/vte.c, src/document.c, src/prefs.c, src/main.c,
po/, src/, src/makefile.win32:
Moved UI related utils from utils.c to ui_utils.c.
2006-09-04 Nick Treleaven <>
* src/keyfile.c, src/main.c, src/main.h:
Rename --no-socket, -s command-line option to --new-instance, -i.
Add --no-session, -s command-line option to not load session files.
Only save session when session files were loaded at startup.
* doc/geany.docbook:
Update command-line options and running instance behaviour.
* src/callbacks.c, src/callbacks.h, src/sci_cb.c, src/sci_cb.h,
src/keybindings.c, src/document.c:
Move current_word and clickpos to editor_info struct in sci_cb.c.
Move on_editor_button_press_event to sci_cb.c.
2006-09-03 Nick Treleaven <>
* src/main.c: Open a new instance without loading session files if
socket already exists and no filenames are specified
on the command-line.
2006-09-03 Enrico Tröger <>
* src/utils.c: Save All button is also active when only one file is
changed(improves usability).
2006-09-02 Enrico Tröger <>
* src/document.c, src/search.c:
Escape special characters when shown in the status window after
"Replace All" or replacing a selection.
Set the focus to the replace entry widget when pressing the
tabulator key in the find entry widget in the replace dialog.
Set the focus to the find entry widget when pressing the tabulator
key in the directory entry widget in the FIF dialog.
2006-09-02 Nick Treleaven <>
* src/utils.c, src/sci_cb.c, src/main.c:
Fixed C89 variable declaration and two sign comparison warnings.
* src/document.c, src/document.h: Add document_get_current().
* src/msgwindow.c:
Use parse_file_line() for grep and compiler error messages.
Add error message support for D, also for the GDC frontend.
2006-09-01 Enrico Tröger <>
* src/document.c, src/dialogs.c, src/prefs.c, src/callbacks.c,
src/interface.c, Fixed some typos.
* src/filetypes.c, src/highlighting.c, src/keybindings.c,
src/sci_cb.c, data/filetypes.html, data/filetype_extensions.conf,
src/callbacks.c, src/msgwindow.c:
Split filetype PHP/HTML into PHP and HTML.
2006-09-01 Frank Lanitz <>
*, po/vi.po:
Added Vietnamese translation (Thanks Clytie Siddall).
* THANKS, src/about.c: Added translator credits.
2006-08-31 Enrico Tröger <>
* src/msgwindow.c, data/filetypes.ferite:
Improved parsing compiler messages when using the ferite compiler.
Added some primitives and improved compiler settings for Ferite.
2006-08-30 Enrico Tröger <>
*, src/callbacks.c, src/geany.h, src/main.c:
Removed the whole FIFO code and replaced it with support for
(Unix Domain) Sockets(including Windows support, but not yet done).
* src/vte.c, src/callbacks.c, src/document.c:
Change the current working directory within the VTE also when a new
file is saved.
2006-08-29 Enrico Tröger <>
* src/sci_cb.c: Added auto completion for LaTeX command "begin".
2006-08-28 Enrico Tröger <>
*, src/interface.c: Fixed typo in a tooltip text.
* THANKS, src/about.c: Added translator credits.
* src/treeviews.c, src/utils.c:
Fixed a crash when switching between several filetypes.
2006-08-27 Frank Lanitz <>
*, po/cs.po:
Added Czech translation (Thanks Petr Messner).
2006-08-27 Enrico Tröger <>
* tagmanager/parsers.h, tagmanager/c.c, data/filetype_extensions.conf,
data/filetypes.diff, data/filetypes.ferite, src/highlighting.c,
src/filetypes.c, src/msgwindow.c:
Added new filetypes Diff and Ferite.
* src/search.c: Applied patch from Stefan Oltmanns to add the
possibility to keep the Replace dialog open.
2006-08-26 Enrico Tröger <>
* src/geany.h, src/main.c, src/utils.c:
Fixed weird behaviour of Save all tool button and menu item.
* src/document.c:
Fixed missing styling settings on new files (needs to be tested).
Now the filetype sub menu in the document file menu will be updated
when the filetype is set by the filename on new files.
2006-08-23 Enrico Tröger <>
* src/prefs.c, src/vte.c:
Added new VTE settings to the preferences dialog.
Improved ignore menu bar accelerator setting.
Keep current working directory when restarting the VTE
(happens when hitting Ctrl+C).
* src/document.c: Added counter when using "Replace All" and display
the count of replacements in the status window.
2006-08-23 Frank Lanitz <>
* src/highlighting.c, data/pascal.tags:
Added auto completion for PASCAL.
* data/latex.tags: Update of catalog.
2006-08-22 Nick Treleaven <>
* src/callbacks.c: Fix quit confirmation message with no files open.
2006-08-22 Enrico Tröger <>
* src/vte.c, src/prefs.c, src/keyfile.c, src/utils.c:
Save all VTE settings in an own VTE section in the configuration
file instead of using an unhandy string list.
Added new settings: ignore menu bar accelerator and define the shell
which is started within the VTE.
(Code not yet complete, might be buggy, GUI stuff is missing)
* tagmanager/pascal.c: Added recognition for keyword "type".
2006-08-21 Enrico Tröger <>
* src/images.c, src/notebook.c:
Applied patch from Củ Văn Chuối to enlarge the tab close icon. This
should fix some display issues.
* scintilla/*: Updated Scintilla to version 1.71.
2006-08-20 Enrico Tröger <>
* src/build.c, src/document.c, src/document.h, src/geany.h,
src/highlighting.c, src/main.h, src/sci_cb.c, src/search.c,
src/templates.c, src/utils.c, src/vte.c:
Moved prototype for geany_debug() to main.h.
Moved declaration of document struct to document.h.
* src/sci_cb.c: Keep selection when commenting and uncommenting code.
2006-08-20 Nick Treleaven <>
* src/callbacks.c, src/main.c:
Fix opening more than one file from the command-line (with fifo).
* src/geany.h, src/callbacks.c, src/, src/main.c,
Moved HAVE_FIFO MyApp fields to fifo_info struct in src/main.c.
Prevent unnecessary 'does not look like a filename' debug messages.
Added fifo_finalize().
* src/geany.h, src/filetypes.h, document.h, src/highlighting.h,
src/sci_cb.h, src/highlighting.c, src/sciwrappers.c:
Remove filetypes.h and Scintilla includes from geany.h.
* src/document.h: Add VALID_DOC_IDX macro.
* src/utils.h, src/utils.c, src/callbacks.c, src/keybindings.c,
src/sci_cb.h, src/sci_cb.c, src/dialogs.c, src/filetypes.h,
Move utils_brace_match to sci_cb.c.
Move utils_find_current_word to sci_cb.c.
Move utils_create_file_filter to filetypes.c.
2006-08-19 Enrico Tröger <>
*, src/interface.c, src/keybindings.c, src/utils.c,
src/geany.h, src/callbacks.c, src/main.c, src/keyfile.c:
Added menu items to insert configurable date/time strings.
* src/dialogs.c, src/callbacks.c:
Replaced dialogs_show_make_target() by dialogs_show_input() to have
a general input dialog.
* src/sci_cb.c:
Comment already commented lines, too (re-closes #1521714).
2006-08-19 Nick Treleaven <>
* src/callbacks.c: Fix a segfault at startup if terminal follow path
setting is enabled.
* src/geany.h, src/callbacks.c, src/keyfile.c, src/vte.c, src/vte.h,
src/prefs.c, src/main.c:
Move HAVE_VTE MyApp settings to vte_info struct in src/vte.c.
* src/vte.c, src/vte.h:
Add vte_get_working_directory adapted from Terminal by os-cillation.
* src/vte.c, src/keyfile.c: Remember the VTE current directory.
* src/callbacks.c: Only send VTE cd command if directory is different.
2006-08-18 Enrico Tröger <>
* src/document.c: Use codepage SC_CP_UTF8 because we use always
GTK even under Windows.
2006-08-18 Nick Treleaven <>
* src/keyfile.c: Fix a small memory leak in configuration_load.
* src/dialogs.c: Change Don't save button icon and add mnemonic.
* src/main.c: Fix building on win32 - thanks to Củ Văn Chuối.
* src/dialogs.c, src/dialogs.h:
Add dialogs_show_question_full for custom buttons and extra text.
Don't show message dialogs in the window manager taskbar.
* src/utils.c: Use Reload button for utils_check_disk_status dialog.
* src/callbacks.c: Improve Reload and Quit dialog.
Share on_reload_as_activate code for reloading.
* tagmanager/d.c, tagmanager/c.c, tagmanager/
Merged tagmanager/d.c with tagmanager/c.c, which also adds user
function calltips support for D.
2006-08-17 Nick Treleaven <>
* src/callbacks.c, src/callbacks.h, src/main.c:
Move signal_cb to main.c.
* src/main.c:
Move main_init command line settings to parse_command_line_options.
Use setup_paths, locale_init, parse_command_line_options,
setup_config_dir in main().
* src/msgwindow.c: Reorder widget lookup; ensure FIF dir is set.
* src/main.c: Fix Show messages window checkbox state when -m used.
2006-08-15 Nick Treleaven <>
* tagmanager/c.c: Backported calltips workspace support for C-like
user files from Anjuta.
* src/keybindings.c, src/sci_cb.c, src/sci_cb.h:
Return to showing calltips after successful autocompletion.
Use separate functions for html and tag autocompletion.
2006-08-15 Enrico Tröger <>
* src/callbacks.c:
Made increase/decrease indentation working with selections.
Keep the old cursor position when working on a single line
(do not jump to line start).
* src/sci_cb.c: Fixed "while" and "switch" autocompletion.
* src/highlighting.c, data/filetypes.common, doc/geany.docbook:
Use the filetype's default style(SCE_*_DEFAULT) as the main default
* src/sci_cb.c: Improved HTML "<table>" auto completion to use the
indentation better.
* src/filetypes.c, src/highlighting.c, src/msgwindow.c,
data/filetypes.fortran, data/filetype_extensions.conf,
scintilla/, scintilla/LexFortran.cxx,
scintilla/KeyWords.cxx, tagmanager/fortran.c,
tagmanager/, tagmanager/parsers.c:
Added new filetype Fortran 77.
2006-08-14 Nick Treleaven <>
* src/sci_cb.c: Applied patch from Jens Granseuer to fix build with
gcc 2.95 (closes #1539502).
* src/build.c, src/geany.h, src/msgwindow.c, src/msgwindow.h,
src/callbacks.c, src/search.c, src/search.h, src/main.c:
Store build information instead of using app->cur_idx.
Assume C-like warning messages when running make when the current
file is a Makefile.
Moved some msgwin setup and cleanup code to msgwindow.c.
* src/utils.c, src/utils.h:
Moved utils_parse_compiler_error_line to msgwindow.c.
2006-08-13 Enrico Tröger <>
* src/document.c:
Use wrappers for converting between utf8 and locale encoding.
Fixed small memory leak.
* src/vte.c: Added the GTK IM menu items to the VTE popup menu.
* src/utils.c, src/dialogs.c, src/build.c, src/callbacks.c,
src/search.c, src/keyfile.c: Use utf8/locale encoding wrappers.
* data/filetypes.common, src/highlighting.c, src/geany.h,
src/keyfile.c, src/prefs.c, src/document.c, src/interface.c,, doc/geany.docbook:
Added colour values for indentation guides and white space.
Made hard coded SCI_AUTOCSETMAXHEIGHT changeable and added an option
in the preferences dialog.
* src/sciwrappers.c: Added sci_set_autoc_max_height().
2006-08-12 Enrico Tröger <>
* src/document.c:
Removed unnecessary code in document_replace_tabs().
Really take tab width when replacing instead of using width = 4.
* src/ Applied patch from Fryderyk Dziarmagowski to fix
build problem with linker flag "-Wl,--as-needed"
(closes #1539239).
2006-08-12 Nick Treleaven <>
* src/search.c: Enable case sensitive when regex search enabled.
Some label text changes for the dialogs.
Use hbox packing in Find and Find in files dialogs.
Add select directory button for Find in files.
* src/utils.c, src/utils.h:
Add wrappers for converting between utf8 and locale encoding.
2006-08-11 Nick Treleaven <>
* src/keybindings.c, src/geany.h, src/callbacks.c, src/callbacks.h,
src/search.c, src/search.h, src/dialogs.c, src/main.c,
src/dialogs.h: Group search related code.
2006-08-11 Enrico Tröger <>
* src/document.c:
Fixed possible segfault when replacing tabs by spaces.
* tagmanager/python.c: Fixed wrong classification of local functions
as methods(thanks to Sebastian Koch).
* src/sci_cb.c: Fixed segfault when try to (un)comment some code and
no filetype is set(reported by John Gabriele).
2006-08-09 Enrico Tröger <>
* doc/geany.docbook:
Removed section about global ctags, the information were obsolete.
Added section about file encodings and the Unicode Byte-Order-Mark.
* doc/images/*: Updated screenshots.
* New release: Geany 0.8 "Kadir".
2006-08-09 Nick Treleaven <>
* src/main.c: Add startup debug message showing GTK+ runtime version.
* src/notebook.c: Use native tab DnD reordering on GTK+ 2.10; closes
2006-08-08 Nick Treleaven <>
* src/notebook.c: Fixed GTK 2.6 workaround for DnD tab reordering so
it works on the first attempt.
* src/utils.c, src/highlighting.c, src/geany.h, src/treeviews.c,
src/callbacks.c, src/keyfile.c, src/encodings.c, src/dialogs.c:
Fixed all sign comparison warnings.
2006-08-07 Enrico Tröger <>
* src/callbacks.c: Applied patch from Củ Văn Chuối to re-enable
XIM support. Thanks!
2006-08-07 Nick Treleaven <>
* src/callbacks.c: Allow Find even when the replace text is the same.
Place the cursor in "" for insert blank include.
* src/utils.c, src/utils.h, src/callbacks.c, src/document.c:
Move recent file item to the top when it is clicked on.
2006-08-06 Nick Treleaven <>
* doc/geany.docbook:
Improved search section; added all find and go to commands.
Added Filetype extensions section.
Grouped configuration file sections into a chapter.
2006-08-05 Nick Treleaven <>
* src/callbacks.c: Allow partial word selection for Find Usage.
* src/keyfile.c, src/filetypes.c, src/filetypes.h:
Use unique filetype id in geany.conf to avoid new filetype problems.
Make unique id numbers compatible with Geany 0.7 filetype order.
* src/highlighting.c: Fix loading Perl, TCL system config files first.
2006-08-04 Nick Treleaven <>
* src/callbacks.c, src/callbacks.h, src/dialogs.c:
Disable word and word start matching when regexes are enabled.
Don't hide the Find dialog after searching; use Close button.
* src/filetypes.c: Set radio item None for new files.
2006-08-03 Enrico Tröger <>
*, src/callbacks.c, src/filetypes.c, src/filetypes.h,
src/encodings.c, src/encodings.h, src/interface.c, src/utils.c:
Made document related submenus(filetype, encoding, line endings)
radio buttons for better usability.
2006-08-03 Nick Treleaven <>
* src/utils.c, src/utils.h, src/sci_cb.c:
Wrap calltip and prevent it obscuring the current line.
2006-08-02 Enrico Tröger <>
* src/callbacks.c:
Don't set file as changed when changing encoding to the same one.
* src/document.c, src/callbacks.c, dialogs.c:
Fixed wrong behaviour of Save As on unchanged files.
2006-08-01 Enrico Tröger <>
*, src/interface.c, src/callbacks.c, src/keybindings.c,
src/main.c, src/sciwrappers.c:
Added some menu items to the edit menu for editing tasks.
Added keyboard shortcuts for increase/decrease of line indentation
(closes #1521717).
2006-08-01 Nick Treleaven <>
* src/interface.c, src/utils.c, src/utils.h, src/callbacks.c,
src/keyfile.c, src/document.c, src/prefs.c,
Added Auto indentation and Line wrapping options to Preferences
dialog. Split up Miscellaneous items into Display and Features.
Renamed Change Selection and Run toolbutton.
* src/keyfile.c: Change default for removing trailing spaces to off.
* src/callbacks.c: Clear search flags when using find toolbar entry.
Removed some unnecessary static variables.
* document.c, document.h, prefs.c:
Apply the tab width setting for new documents.
* src/keyfile.c, data/filetype_extensions.conf,
Install a system filetype_extensions.conf which can be overridden.
* src/filetypes.c data/filetype_extensions.conf:
Add Make pattern to recognise makefile*.
* src/keyfile.c, src/keyfile.h, src/main.c:
Add hidden option -g to generate filetype_extensions.conf.
2006-07-31 Enrico Tröger <>
* src/keybindings.c, src/sci_cb.c:
Added functionality to uncomment code and added keyboard shortcut
Ctrl+Shift+D for this (closes #1521714).
2006-07-30 Enrico Tröger <>
* doc/geany.docbook, data/filetypes.common, src/.c:
Added style to change the colour of the caret(closes #1530486).
2006-07-29 Nick Treleaven <>
* src/msgwindow.c, src/msgwindow.h, src/callbacks.c, src/search.c:
Remember Find in files directory for opening grep results.
* Add win32 build files to EXTRA_DIST.
2006-07-28 Enrico Tröger <>
* src/search.c, src/callbacks.c, src/dialogs.c:
Added some options to the Find in files dialog, made search
directory editable.
2006-07-28 Nick Treleaven <>
* src/sciwrappers.h: Set PLAT_GTK before including ScintillaWidget.h.
* src/, Correct a typo.
* scintilla/makefile.win32, src/makefile.win32, makefile.win32,
tagmanager/makefile.win32, win32-config.h, geany_private.rc:
Add makefiles for building on win32.
2006-07-27 Enrico Tröger <>
* src/sciwrappers.c, src/callbacks.c, src/utils.c, src/dialogs.c,
Removed unused colour parsing functions.
Let the colour chooser pick the colour under the cursor.
* data/filetypes.*, src/highlighting.c, src/utils.c:
Fixed bug in parsing strings containing hex values, modified the
styles to keep the syntax highlighting consistent.
* src/main.c: Removed startup warning.
* src/geany.h, src/main.c: Added Select All item to sensitive buttons.
* src/win32.c, src/dialogs.c, src/callbacks.c:
Let the colour chooser pick the colour under the cursor(Win32 code).
Added some sanity checks.
2006-07-26 Enrico Tröger <>
* src/ Added target to remove geany_res.res when cleaning.
* src/geany.h, src/main.c, src/callbacks.c, src/highlighting.c,
src/document.c, src/dialogs.c, src/prefs.c, src/utils.c,
src/win32.c, src/keybindings.c, src/gb.c, src/about.c:
Removed macro GEANY_WIN32, use G_OS_WIN32 instead.
Introduced global variables for PACKAGE_DATA_DIR and
(these changes are important for the Windows port).
2006-07-26 Nick Treleaven <>
* src/win32.c: Don't add .c extension for All files filter.
Only set open tool dialog path if it exists.
* src/keybindings.c: Use CTRL-SHIFT-space for Windows show calltips.
* src/prefs.c: Never show compile & run toolbuttons on Windows and
hide the prefs option to show them.
* src/main.c: Disable the Compiler tab instead of hiding it so that
messages window tabs have the right index on switching.
* src/utils.c: Only replace untitled.x within the first 2 lines.
2006-07-25 Enrico Tröger <>
* src/encodings.c, src/document.c, src/keyfile.c, src/main.c:
Save default encoding for new files as charset string.
* src/filetypes.c: Reordered the filetypes (just a cosmetic change).
* src/win32.c, src/utils.c:
Removed title argument from win32_message_dialog because it is
defined by the dialog type.
Added simple wrapper function win32_open_browser().
* src/dialogs.c, src/main.c, src/document.c, src/callbacks.c:
Removed some unneeded functions to avoid duplicate code.
* src/callbacks.c:
Fixed broken Find usage.
Put "No matches" message also in the message window.
*, geany_windres.rc,, src/,
scintilla/, src/callbacks.c, tagmanager/tm_work_object.c,
tagmanager/ctags.c, tagmanager/get.c:
Small changes to get cross compiling using mingw32 suite working.
* tagmanager/get.c: Applied patch to fix building with gcc 2.95
(closes #1528516, thanks).
2006-07-24 Enrico Tröger <>
* src/geany.h, tagmanager/strlist.c, tagmanager/tm_project.c,
tagmanager/parse.c, tagmanager/general.h, tagmanager/ctags.c,
tagmanager/tm_workspace.c: Fixed some cross compiling/Win32 issues.
*, src/callbacks.c, src/document.c, src/interface.c,
Added menu item to the document menu to add/remove BOM.
Replaced switch_notebook_page by ignore_callback flag.
* src/win32.c, src/dialogs.c:
Convert Unicode strings to wide characters to avoid weird display.
* src/document.c: Set CR/LF as EOL mode on new files on Windows.
2006-07-24 Nick Treleaven <>
* src/geany.h: Use generic font names & increase the default size.
* src/notebook.c: Use tab reorder workaround only if GTK runtime <2.8.
* src/utils.c, src/about.c: Change 2 paths to use G_DIR_SEPARATOR_S.
* src/dialogs.c: Wait for Save as dialog to run before closing tab.
2006-07-23 Enrico Tröger <>
* src/build.c: Search terminal program in PATH (closes #1527203).
* src/documents.c: Fixed some mistakes from last commit.
* src/dialogs.c, src/utils.c, src/document.c, src/geany.h:
Renamed document element unicode_bom in has_bom.
* src/callbacks.c:
Let Find usage search for the current selection if there is one.
2006-07-22 Nick Treleaven <>
* src/dialogs.c: Make Find and Replace dialogs more compact.
* src/treeviews.c: Fix a warning when updating open files treeview.
2006-07-22 Enrico Tröger <>
* src/callbacks.c, src/utils.c, src/document.c, src/encodings.c,
src/geany.h, src/main.c, src/dialogs.c,,
src/interface.c, src/sci_cb.c, src/keyfile.c:
Added Unicode BOM detection.
Added "Reload as" menu item to force opening a file with a specified
encoding(both were patches from Stefan Oltmanns).
* src/callbacks.c: Fixed two issues when showing / hiding the sidebar.
* src/filetypes.c: Added *.cfg as extension for config files.
* src/treeviews.c, src/notebook.c:
Keep the list of open files in sync when reordering notebook tabs.
2006-07-21 Nick Treleaven <>
* src/dialogs.c: Prevent using Find in files for unnamed files.
2006-07-21 Enrico Tröger <>
* src/geany.h, src/main.c, src/callbacks.c:
Introduced app->ignore_callback to ignore callback actions when
changing the state of GUI elements.
*, src/interface.c, src/main.c, src/callbacks.c,
src/utils.c, src/prefs.c, src/keybindings.c:
Added menu item View->Show Sidebar and improved code around it.
2006-07-20 Enrico Tröger <>
* src/highlighting.c: Unset fold.compact setting.
2006-07-20 Nick Treleaven <>
* TODO: Added 3 more items discussed on the ML.
* doc/scikeybinding.docbook: Commented out some keys not working.
* src/dialogs.c: Share find/replace common checkbox setup code.
* src/build.c, src/build.h, src/sciwrappers.h, src/dialogs.c,
src/dialogs.h: Don't include geany.h.
* src/geany.h, src/callbacks.h: Moved GEANY_RESPONSE_* to callbacks.h.
* src/callbacks.c, src/document.c, src/document.h, src/dialogs.c:
Added Find button to Replace dialog to skip a match.
Change Replace button to find first & use current selection.
Ask whether to wraparound when replacing and no next match is found.
2006-07-19 Enrico Tröger <>
* src/highlighting.c, data/filetypes.common:
Highlighting of current line can be disabled.
*, src/interface.c: Fixed typo.
* src/utils.c, src/callbacks.c, src/dialogs.c:
Improved replacing escape sequences in Find and Replace dialog
(thanks to Stefan Oltmanns).
2006-07-18 Nick Treleaven <>
* src/sciwrappers.c, src/sciwrappers.h, src/document.c:
Fix replacing the right length of text matched from a regex.
Add support for back references when replacing with regex.
Improve the speed of replace all/replace in selection.
Don't lose the selection range after replacing in selection.
* src/callbacks.c, src/callbacks.h, src/document.c, src/dialogs.c,
Use more POSIX-like syntax for regular expression bracket matching.
Prevent searching backwards with a regex (unsupported).
Scroll in view after the last replacement for replace all/selection.
2006-07-18 Enrico Tröger <>
* src/dialogs.c, src/callbacks.c:
Added option to replace escape sequences in Find and Replace dialog.
* doc/ Reverted last change, we want to use xmlto.
* src/encodings.c: Restored original order of the encodings, kept the
sorted order in the document menu.
* src/notebook.c:
Compile notebook_motion_notify_event_cb() only with GTK 2.6 (again).
* src/about.c: Made "built on" string translatable.
2006-07-17 Nick Treleaven <>
* doc/scikeybinding.docbook, doc/geany.docbook, doc/geany_gpl.docbook:
Moved external appendix elements to geany.docbook to validate ok.
2006-07-17 Enrico Tröger <>
* src/utils.c, src/document.c, src/callbacks.c:
Moved document related functions from utils.c to document.c.
Keep cursor position when replacing tabs by spaces.
* doc/geany.xsl: Added UTF-8 as default encoding.
* doc/ Replaced xmlto command by xsltproc.
* doc/geany.docbook: Added reference for the GPL appendix.
2006-07-16 Enrico Tröger <>
* src/encodings.c:
Reordered encodings in the file menu, divided into subregions.
*, src/interface.c: Added missing mnemonics to file menu.
* src/document.c: Added filename to an error message.
* src/encodings.c: Removed function encodings_get_encodings().
* src/utils.c: Simplified locale detection and little speed up.
* src/main.c, src/document.c, src/geany.h:
Removed code for alternative scrolling(it was not better).
* src/sci_cb.c, src/callbacks.c, src/utils.c, src/highlighting.c,
src/main.c, data/html_entities.tags,
Moved HTML entities from sci_cb.h to data/html_entities.tags.
2006-07-16 Nick Treleaven <>
* doc/scikeybinding.docbook, doc/geany.docbook:
Added Scintilla keyboard commands appendix taken from the SciTE
documentation section 'Keyboard Commands'.
2006-07-15 Enrico Tröger <>
* src/keybindings.c, src/sci_cb.c:
Show auto completion list immediately when called by a keybinding.
*, src/interface.c, src/prefs.c, src/geany.h,
src/keyfile.c, src/utils.c:
Toolbar items for file operations can also be hidden.
2006-07-15 Nick Treleaven <>
* keybindings.c, keybindings.h: Add keybinding for Find in files.
* doc/geany.docbook: Updated Make command names and keybindings.
* src/vte.c: Fix applying vte settings on startup and prevent the
message window vertical scrollbar being hidden.
2006-07-14 Nick Treleaven <>
* src/search.c: Give accurate message on finishing finding in files.
* src/callbacks.c: Use locale encoding for Find in files and
remember previous searches.
2006-07-14 Enrico Tröger <>
* src/filetypes.c, src/highlighting.c, tagmanager/tm_tag.c,
tagmanager/tm_workspace.c: Fixed autocompletion for filetype C++.
* src/utils.c: Removed unneeded functions:
utils_glist_strings_free() and utils_glist_from_string().
* src/encodings.c: Fixed wrong charset detection on UTF-8
(and maybe other) systems.
2006-07-13 Nick Treleaven <>
* src/build.c, src/interface.c, src/utils.c, src/utils.h, src/geany.h,
src/msgwindow.c, src/msgwindow.h, src/callbacks.c, src/callbacks.h,
src/keyfile.c, src/search.c, src/search.h, src/prefs.c,
src/dialogs.c, src/main.c, src/dialogs.h, src/, Added basic Find in files search functionality.
2006-07-11 Enrico Tröger <>
* src/dialogs.c: Moved dialogs_show_prefs_dialog() to src/prefs.c.
*, src/interface.c, src/vte.c, src/prefs.c, src/dialogs.c,
src/geany.h, src/main.c, src/callbacks.c, src/keybindings.c,
src/keyfile.c, src/utils.c:
Improved toolbar popup menu.
Added new preferences tab for toolbar settings, several toolbar
buttons can be hidden.
Added Undo and Redo toolbar buttons (closes request #1519261).
* src/sci_cb.c, src/keybindings.c:
Added return value and tag name to the calltip.
2006-07-11 Nick Treleaven <>
* src/main.c: Prefix command-line opened files with the current
directory so relative paths will work better.
2006-07-10 Enrico Tröger <>
* src/sci_cb.c: Autocompletion only works on blank lines.
* src/callbacks.c, src/dialogs.c:
Added "Replace in all open files" option in the replace dialog.
2006-07-09 Enrico Tröger <>
* tagmanager/d.c, tagmanager/, tagmanager/parsers.h,
src/filetypes.c, src/highlighting.c, src/utils.c, src/build.c,
src/templates.c, data/filetypes.d:
Added new filetype D(patch by Christoph Berg, thanks).
2006-07-08 Nick Treleaven <>
* src/keyfile.c: Fix saving the terminal tool on quitting.
* src/keyfile.c, src/main.c:
Improve switching out of fullscreen after startup.
2006-07-08 Enrico Tröger <>
* src/encodings.c: Made encoding descriptions translatable.
* src/notebook.c:
Compile notebook_motion_notify_event_cb() only with GTK 2.6.
2006-07-07 Enrico Tröger <>
* src/prefs.c: Fixed bug when saving VTE settings.
* src/keybindings.c, src/utils.c, src/callbacks.c, src/geany.h,
src/prefs.c, src/keyfile.c:
Improved behaviour of toggle sidebar after a restart.
Introduced new flag sidebar_visible, renamed configuration keys.
2006-07-06 Nick Treleaven <>
* src/keybindings.c, src/keybindings.h, src/dialogs.c:
Add keybinding for Make object, update Make descriptions.
2006-07-05 Nick Treleaven <>
* src/sciwrappers.c: Make sci_goto_line_scroll work better with
line wrapping and folding.
* src/callbacks.c, src/dialogs.c:
Add Make object command to compile the current file.
Added some separators and renamed Build with make items.
2006-07-03 Nick Treleaven <>
* src/utils.c, src/dialogs.c:
Fix a problem with the recent files menu.
* src/utils.c, src/sciwrappers.c, src/sciwrappers.h:
Scroll to 1/4 of visible lines when going to a line number.
2006-07-03 Enrico Tröger <>
* doc/ Fixed wrong dependency in target 'install'.
2006-07-02 Enrico Tröger <>
* src/callbacks.c, src/msgwindow.c, src/utils.c:
Improved "Find usage", so it displays not "null" for unsaved files
in the results, and unsaved file are also clickable.
*, src/interface.c, src/geany.h, src/keyfile.c,
src/prefs.c, src/dialogs.c, src/main.c:
Little redesign of the preferences dialog.
New options for setting the placement of notebook tabs.
* doc/ Minor improvements.
* src/keyfile.c, src/geany.h, src/prefs.c, src/vte.c, src/callbacks.c,
src/dialogs.c: Added option to disable the VTE follows path feature.
* THANKS,, src/about.c: Added new Portuguese translation.
2006-07-02 Nick Treleaven <>
* src/callbacks.c: For Find Usage, ignore unnamed files.
2006-07-01 Enrico Tröger <>
* src/document.c, src/keybindings.c: Added shortcut for Select All.
* src/main.c: Deiconify the main window when a new file is opened from
the named pipe.
* src/geany.h, src/keyfile.c: Moved some default values to geany.h.
* doc/geany.docbook.c, doc/html/*:
Added documentation for indicators and printing support.
Updated keybindings actions and compile time options.
2006-07-01 Nick Treleaven <>
* src/notebook.c: Don't prevent notebook tab focus because this
disables the notebook arrows.
* src/callbacks.c: Prevent a segfault if the VTE has not been loaded.
* src/utils.c, src/utils.h, src/msgwindow.c:
Add utils_get_current_time_string and fix getting the time string.
* src/utils.c, src/utils.h, src/callbacks.c:
Fix a segfault on Go to tag defn/decl if no files have tags.
Add utils_find_tm_tag.
* src/keyfile.c: Save the toolbar icon size when quitting.
Set large toolbar icons by default.
* src/keyfile.c: Use the user settings for toolbar icon size & style.
2006-06-30 Enrico Tröger <>
* src/vte.c, src/callbacks.c:
Change the path in the VTE widget when switching between files
according to the path of the current file.
Process the switch_page callback only once.
* src/callbacks.c: Finally fixed the second call of the switch_page
*, src/interface.c, src/callbacks.c, src/sci_wrappers.c:
Added "Select All" menu item.
*, src/interface.c, src/document.c, src/sci_wrappers.c,
src/prefs.c, src/geany.h:
Improved settings for the long line marker, it can now be easily
disabled or set to highlight the background of too long lines.
2006-06-29 Nick Treleaven <>
* src/utils.c, src/utils.h, src/win32.c, src/callbacks.c,
src/document.c, src/prefs.c:
Apply fonts in Preferences when they are set and only if they have
changed. Rename utils_set_font to utils_set_editor_font.
2006-06-29 Enrico Tröger <>
* src/geany.h, src/build.c, src/callbacks.c, src/keyfile.c,
src/utils.c, src/prefs.c:
Renamed tools settings from build_* in tools_*.
* src/main.c:
Ignore SIGPIPE to prevent crashes when running external programs.
* src/geany.h, src/dialogs.c, src/callbacks.c, src/keyfile.c,
src/utils.c, src/prefs.c,, src/interface.c,
src/keybindings.c, src/document.c:
Implemented simple printing support.
* src/utils.c: Added function is_opening_brace().
* src/sci_cb.c:
Use is_opening_brace() for better handling of calltips.
* src/callbacks.c:
Create a new tm_source_file object if a file is renamed, otherwise
tagmanager won't work correctly.
2006-06-28 Enrico Tröger <>
* src/utils.c, src/keyfile.c: Fixed weird behaviour of the recent
files list.
* src/document.c:
Fixed a small typo.
Skip converting from UTF-8 in UTF-8 when saving.
Show an error messages dialog if the conversion into an encoding
2006-06-27 Enrico Troeger <>
* data/filetypes.php, data/filetypes.pascal, src/callbacks.c,
src/build.c: Parse stdout of compiler output too.
* src/utils.c, data/filetypes.latex:
Add support for parsing compiler output for LaTeX with latex's
--file-line-error-style command line argument.
Removed unneeded function utils_free_ptr_array().
* src/sci_cb.c: Fixed a crash when auto completion or call tips are
used if no filetype was set. Added some sanity checks.
2006-06-27 Nick Treleaven <>
* src/geany.h, src/keyfile.c:
Add recent files items in the same order as they were saved.
Remove app->recent_files and use g_strfreev in keyfile.c.
* src/utils.c, src/utils.h, src/msgwindow.c:
Make Status messages override the document statistics using
utils_set_statusbar; don't use a fixed buffer for statistics.
2006-06-26 Enrico Troeger <>
* src/sci_cb.c: Fixed broken auto completion for switch().
* src/document.c: Reload also the symbol list when reloading a file.
* src/treeviews.c: Changed some titles to plural. Added own
definitions for filetype Python.
* src/filetypes.c, tagmanager/make.c: Add mk pattern for Makefile.
* tagmanager/tm_source_file.c: Fixed bug which prevented tag creation
for the first opened file.
* src/document.c, src/callbacks.c: Removed unused code.
* tagmanager/sh.c: Fixed missing tags beginning with underscore.
* tagmanager/get.c: Fixed problem in preprocessor directive handling.
* tagmanager/c.c: Fixed identification of prototypes of functions
returning wchar_t * without the extern keyword.
2006-06-26 Nick Treleaven <>
* src/document.c: Fix a possible segfault on quitting caused by
processing GTK messages before status messages.
2006-06-25 Enrico Troeger <>
* README, doc/geany.docbook: Added license notice Scintilla.
* src/callbacks.c, src/keybindings.c:
Remember the active page when toggling the sidebar. Simplified code
for toggling messages window.
* tagmanager/tm_tag.c, tagmanager/tm_workspace.c:
Fixed wrong line numbers for found tags.
2006-06-25 Nick Treleaven <>
* src/notebook.c, src/notebook.h, src/document.c, src/callbacks.c,
Enable drag reordering of tabs for GTK+2.8, and a temporary
workaround for GTK+2.6.
Add notebook_new_tab and update document_create_new_sci to use it;
also remove on_tab_close_clicked.
* src/notebook.c: Fix close tab button bug introduced in last commit.
* src/callbacks.c, src/utils.c:
Add clipboard functionality for find and go to line widgets,
and Scribble widget.
2006-06-24 Enrico Troeger <>
* src/utils.c: Replaced 'blank' by 'include "..."'. Fixed a bug in
utils_brace_match() which prevents correctly matching.
* src/document.c, src/sci_cb.c, src/filetypes.c:
Made auto completion work only for the current filetype
(i.e. it hides symbols from other filetypes).
* tagmanager/options.c, tagmanager/parse.c: Removed unneeded code.
* tagmanager/tm_workspace.c, tagmanager/tm_source_file
tagmanager/tm_tag.c, tagmanager/tm_project, tagmanager/parsers.h,
tagmanager/tm_file_entry.c, tagmanager/entry.c, src/highlighting.c,
data/latex.tags, data/php.tags,
Added global auto completion tags for PHP and LaTeX.
* src/keybindings.c, src/callbacks.c, src/sci_cb.c, src/main.c,
src/geany.h, src/dialogs.c:
Added some sanity checks to prevent crashes.
* src/sci_cb.c, src/highlighting.c:
Removed URL highlighting code(useless feature, never was enabled).
* src/treeviews.c: Set policy settings for the scolledwindow.
* scintilla/License.txt, scintilla/, doc/
Added Scintilla license file.
2006-06-23 Nick Treleaven <>
* src/msgwindow.c: Add a timestamp to messages in the Status window
(closes request #1509908).
2006-06-22 Enrico Troeger <>
* src/utils.c: Reorganised C include file items, added C++ headers.
* src/callbacks.c: Insert include statements and comment templates at
mouse pointer position instead of cursor position.
2006-06-21 Enrico Troeger <>
* src/keybindings.c: Added missing shortcut for "Close".
*, src/interface.c, src/prefs.c, src/keyfile.c,
src/document.c, src/dialogs.c, src/encodings.h:
Added option in the preferences dialog to replace tabs by spaces
when saving a file.
Added option for default encoding for new files.
* scintilla/*: Updated Scintilla to version 1.70.
2006-06-20 Nick Treleaven <>
* src/utils.c, src/utils.h, src/callbacks.c, src/document.c,
src/document.h: Go back to the same line when reloading.
Fix start selection bug when clicking in the
current file if it has changed.
* src/msgwindow.c, src/document.c:
Also show status messages on the status bar.
2006-06-19 Enrico Troeger <>
* THANKS, src/about.c: Added translator credits.
* src/callbacks.c, src/encodings.c, src/utils.c, src/document.c,, src/interface.c:
Implemented encoding support to switch between different encodings.
2006-06-19 Frank Lanitz <>
* Added Spanish translation. More info at
2006-06-19 Nick Treleaven <>
* src/build.c, src/utils.c, src/utils.h, src/callbacks.c:
Don't open files or go to errors automatically whilst compiling.
Rename utils_goto_workspace_tag to utils_goto_file_line.
2006-06-18 Enrico Troeger <>
* src/keybindings.c: Fixed a segfault when pressing shortcut for
"Find Usage" and there is no open file.
* src/dialogs.c: Removed unneeded label padding.
2006-06-18 Nick Treleaven <>
* src/dialogs.c: Make Keyboard shortcuts dialog scrollable.
* src/interface.c,
Set toolbar button Compile text, Execute icon and insert separators
before Quit and before Revert, Close.
Move popup item Goto definition above declaration (used more often).
Move recent files menu up to Open item.
In prefs use 'Recent files' instead of 'MRU'.
Correct indentation spelling.
* src/keybindings.c: Show shortcut keys for Undo/Redo and popup items.
* src/keybindings.c, src/geany.h, src/callbacks.c, src/sci_cb.c,
src/callbacks.h: Use correct current_word buffer for popup menu item
keybindings; also use GEANY_MAX_WORD_LENGTH.
2006-06-17 Nick Treleaven <>
* src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
doc/geany.docbook: Made Duplicate Line command duplicate selection
if present.
* src/highlighting.c: Fixed styling for unmatched braces.
* src/keybindings.h, doc/geany.docbook:
Group toggle sidebar keybinding with toggle messages.
* src/keybindings.c: Set keyboard shortcuts for switching tab pages.
* src/keybindings.c, src/keybindings.h:
Add keybindings for Find Usage, Go to definition/declaration,
based on the current cursor position.
* src/utils.c: Ensure null termination in utils_find_current_word.
2006-06-16 Enrico Troeger <>
* src/build.c: Delete all indicators when starting a new compilation.
* src/highlighting.c, data/filetypes.common:
Added keys for linenumber and folding margin, added key for
inverting all colours(if you like dark background).
2006-06-16 Nick Treleaven <>
* src/notebook.c, src/notebook.h, src/main.c, src/
Added currently disabled drag reordering of notebook tabs.
* src/callbacks.c: Execute: only save file if the run command uses it.
* src/templates.c, src/templates.h, src/utils.c, src/utils.h,
src/callbacks.c: Cache the current function name for efficiency in
utils_get_current_function, other related fixes.
* src/geany.h, src/callbacks.c, src/prefs.c, src/dialogs.c:
src/main.c: Don't include keybindings.h in geany.h.
2006-06-15 Enrico Troeger <>
* src/utils.c: Fixed a bug at opening files when clicking on compiler
error messages(thanks Yura Semashko).
* doc/ Fixed a bug which breaks "make install" when xmlto
is not installed.
2006-06-13 Enrico Troeger <>
* doc/ Renamed target html/index.html in htmldoc, added
geany.xsl to EXTRA_DIST.
* doc/geany.docbook: Removed appendix for keybindings, updated section
keybindings to new action identifiers.
* src/utils.c: Improved and finished switching between files when
clicking on compiler error messages.
* src/sciwrappers.c, src/document.c, src/highlighting.c, src/build.c,
src/keyfile.c, src/prefs.c, src/interface.c,,
Implemented code for setting indicators while compiling.
2006-06-12 Enrico Troeger <>
* THANKS, src/about.c: Added translator credits.
* src/main.c: Defined N_() again, so command line args are really
*, src/interface.c: Added missing mnemonic to build menu
2006-06-12 Frank Lanitz <>
* Added Belarusian and Russian language support.
More Information at po/ChangeLog
2006-06-11 Enrico Troeger <>
*, src/interface.c: Added some mnemonics in the file menu.
* src/highlighting.c: Replaced "/" by G_DIR_SEPARATOR_S.
* src/utils.c: Fixed an issue, which let the build menu item
insensitive once a new file w/o template was opened.
* src/document.c: Fixed a segfault in document_find_by_filename().
* src/geany.h, src/callbacks.c, src/main.c:
Improved the handling of GIOChannels(for named pipes), ensure they
are closed in a proper way.
* src/document.c: document_open_file() returns the index of the opened
* src/utils.c: Open or switch to files when clicking on compiler error
messages and the error message mentions another file
than the opened one.
2006-06-10 Enrico Troeger <>
* src/main.c: Made command line options translatable, hide compiler
message treeview under Win32.
* src/filetypes.c: Added additional patterns to detect configure
scripts as Shell scripts.
* src/dialogs.c: Made preferences dialog transient for the main window
2006-06-08 Enrico Troeger <>
* src/keybindings.c, src/prefs.c, src/dialogs.c:
Added labels for each defined shortcut to have a nicer
representation in the dialogs.
* Removed duplicate entry for Encoding, now
desktop-file-validate processes with no errors.
*, doc/
Renamed geany.1 to to let it be processed by configure.
* doc/, doc/geany.xsl:
Removed unneeded code for generating geany.1. Added man_MANS to get
installed the manpage. Changed build command for HTML documentation.
Added new file doc/geany.xsl.
* Some improvements, corrected download URL.
* src/prefs.c: Hide make and terminal settings under Windows.
2006-06-07 Nick Treleaven <>
* src/callbacks.c: Fixed segfault when inserting comments and no
filetype is set.
* src/callbacks.c, src/sciwrappers.c, src/sciwrappers.h:
Use the character position under the mouse click for Go to
definition/declaration and for overridden middle click text paste.
* src/utils.c, src/utils.h, src/callbacks.c, src/document.c,
src/document.h: Fix bug with Go to tag defn/decl when the filename
is a link (TagManager dereferences linked filenames)
2006-06-06 Enrico Troeger <>
* src/highlighting.c: Enabled folding for markup filetypes
(HTML, XML, PHP, DocBook).
* src/treeviews.c: Replaced "Members" by "Methods" to make it clearer.
2006-06-05 Nick Treleaven <>
* doc/geany.docbook: Added save current file behaviour when building.
* src/sci_cb.c: Fix empty white box glitch with tag autocompletion,
also improves typing response efficiency.
2006-06-05 Enrico Troeger <>
* src/dialog.c, src/callbacks.c: Added dialog to show defined keyboard
shortcuts, this replaces the previous
link to the documentation.
* src/main.c, src/document.c: Fixed wrong setting of filetype when
using "All files" as filetype.
* src/dialogs.c: Fixed compiler warning "not enough variable arguments
to fit a sentinel".
2006-06-04 Enrico Troeger <>
* README, NEWS: updated for Geany 0.7
* src/keybindings.c: Changed default keybinding for menu_replace to
* new release: Geany 0.7 "Ravik"
* Fixed svn detection code, changed version to 0.8.
2006-06-03 Enrico Troeger <>
* src/sci_cb.c: Fixed bug in auto completion of constructs.
* doc/geany.docbook: Added documentation for filetype definition files
and definable keyboard shortcuts.
2006-06-03 Nick Treleaven <>
* doc/geany.docbook: More minor corrections/rewording.
Added Build System section.
Some corrections to the Filetypes section.
2006-06-02 Enrico Troeger <>
* src/highlighting.c, data/filetypes.css: improved colouring
* src/utils.c: Added some sanity checks if filetype is NULL.
* src/utils.c: Corrected readme text for filedefs/filetypes.README.
2006-06-02 Nick Treleaven <>
* src/dialogs.c: Fix dialog path warnings for command-line files.
* src/callbacks.c: Fix Go to tag declaration/definition.
* tagmanager/docbook.c: Fix a segfault with missing id in element.
* doc/geany.docbook: Minor changes to chapter 1.
2006-05-31 Nick Treleaven <>
* scintilla/PlatGTK.cxx:
Backport a Scintilla fix for crashes with recent GTK+ font issue.
* src/keyfile.c: Discard old session files also for unsaved documents.
2006-05-30 Nick Treleaven <>
* src/keyfile.c, src/sciwrappers.c, src/sciwrappers.h, src/document.c:
Scroll session files in view after all resizing of the Scintilla
widget and rename sci_scroll_to_line.
* data/filetypes.pascal: Updated identifier styling as highlighting.c.
2006-05-30 Enrico Troeger <>
* src/dialogs.c, src/main.c:
Removed unneeded function dialogs_show_fifo_error(), fixed small
memory leak in dialogs_show_question()
* src/utils.c: Fixed a wrong(non ISO-C) array size allocation,
improved utils_replace_tabs().
* src/keybindings.c: Added shortcut for Replace Tabs by Space,
extend usage of GEANY_ADD_ACCEL macro.
* src/prefs.c: Detect duplicate shortcuts and prevent saving them.
* tagmanager/css.c: Fixed a crash when opening malformed CSS files.
2006-05-29 Enrico Troeger <>
* src/about.c: Added Jacek Wolszczak and Frank Lanitz to the credits.
2006-05-28 Enrico Troeger <>
*, po/pl.po: Added Polish translation contributed by
Jacek Wolszczak.
* src/dialogs.c, src/utils.c: Made recent files menu item insensitive
when the list is empty.
2006-05-26 Nick Treleaven <>
* src/interface.c, src/callbacks.c, src/callbacks.h,
Fixed nasty hang when closing a tab and both the next tab and the
first tab files have been externally modified.
* src/dialogs.c: Add mnemonics to Replace dialog buttons, reorder.
* src/document.c: Fix incremental find and replace of back to back
2006-05-25 Nick Treleaven <>
* src/document.c: On loading use SCI_SETTEXT instead of SCI_ADDTEXT
to avoid Scintilla text changed signal.
* src/callbacks.c, src/document.c, src/document.h:
Make Replace in selection non-incremental and use single Undo
blocks for this and for Replace All.
2006-05-24 Nick Treleaven <>
* src/keybindings.c, src/keybindings.h:
Add shortcuts for Find Previous, Go to line
* src/keybindings.c:
Set shortcut for Replace and split keybindings_init code
2006-05-23 Nick Treleaven <>
* src/utils.c: check if file has been closed in
* src/interface.c, src/callbacks.c, src/callbacks.h,
created Search menubar item with Find items from Edit menu, added
Find Previous and Go to line commands
* src/vte.c: remove vte middle click override to allow X paste and
update popup preferences item for Terminal tab number
2006-05-22 Nick Treleaven <>
* src/callbacks.c, src/templates.c:
insert the file type extension and fix a warning when inserting a
fileheader in a new document
2006-05-22 Enrico Troeger <>
* src/keybindings.c, src/utils.c: improved toggle visibility of
sidebar when toggled by keyboard
2006-05-21 Enrico Troeger <>
* src/keybindings.c: added menu_messagewindow and toggle_sidebar
* src/highlighting.c, data/filetypes.c, data/filetypes.cpp:
added option to disable styling within preprocessor directives
* src/dialogs.c, src/about.c, src/callbacks.c,
rewrote about dialog to reduce code size, added subversion revision
* src/vte.c: declared some functions static
* src/dialogs.c: do not create VTE settings in the preferences dialog
if VTE is disabled at runtime
*, src/interface.c, src/callbacks.c, src/keyfile.c,
src/main.c, src/prefs.c:
added option to disable load of VTE at startup
* src/highlighting.c, src/utils.c: applied sanity check patch from
Pierre(posted on mailing list)
2006-05-20 Nick Treleaven <>
* src/dialogs.c: fix pressing enter to open more than one file in
the open file dialog
* src/sci_cb.c: fix a segfault when commenting out lines with ctrl-d
when no filetype is set
* src/utils.c: fix a segfault clicking on a compile error if the
compiled file has been closed
2006-05-19 Enrico Troeger <>
* src/sci_cb.c: fix a small bug in sci_cb_show_calltip() to prevent an
endless loop
* src/keybindings.c, src/dialogs.c, src/callbacks.c, src/main.c,
src/, src/geany.h, src/prefs.c,
make keyboard shortcuts user-definable
* src/document.c, src/utils.c: fixed a crash when clicking on the run
button and no file is opened
2006-05-17 Enrico Troeger <>
* src/utils.c: added code for creation of filedefs subdirectory
* src/document.c: fixed compiler warning
* src/keyfile.c: removed obsolete and commented code
2006-05-16 Enrico Troeger <>
* tagmanager/, tagmanager/tcl.c, tagmanager/parsers.h,
scintilla/, scintilla/LexTCL.cxx, scintilla/KeyWords.cxx,
src/filetypes.c, src/highlighting.c, data/filetypes.tcl:
new filetype Tcl/Tk
* src/sci_cb.c: enabled autocompletion for all filetypes (fine tuning
still needed)
* src/document.c: removed mmap()-code, use at the moment only
g_file_get_contents, fixed memory leak
* scintilla/ScintillaGTK.cxx: updated to CVS version
* data/filetypes.*: quoted filename wildcards for filenames with
2006-05-15 Enrico Troeger <>
* src/utils.c, src/callbacks.c:
added previously code to prevent opening of non-text files, fixed
detection of C++-destructors and other improvements in
2006-05-14 Enrico Troeger <>
*, po/ca.po, THANKS, src/dialogs.c:
added catalan translation contributed by Topi
* data/filetypes.php, data/filetypes.perl, data/filetypes.ruby,
data/filetypes.pascal, src/utils.c:
added compiler commands to run a syntax check and parse the output,
so it is clickable in compiler message window
2006-05-12 Enrico Troeger <>
* src/utils.c. src/callbacks.c: added code for parsing python error
messages when clicked in compiler
message window
* tagmanager/ruby.c, src/treeviews.c: improved parser to detect
variables and members
* src/highlighting.c, data/filetypes.ruby: added missing keywords
2006-05-11 Enrico Troeger <>
* src/utils.c: show appropriate error code when use(i.e. write access)
of configuration directory fails
* src/highlighting.c, src/filetypes.c:
read the filetype definitions first from the configuration directory
and then from the datadir (%prefix/share/geany)
2006-05-10 Enrico Troeger <>
* src/document.c, src/filetypes.c, src/templates.c, src/callbacks.c:
added template support for filetypes with comment character #,
updated GPL to the current address of the FSF
* tagmanager/python.c: fixed wrong identification of keyword class in
''' comments
* tagmanager/parse.c, tagmanager/python.c:
added code from anjuta to parse methods and functions separately
* tagmanager/ruby.c: applied patch from ctags Sourceforge site to
recognise things like Foo::Bar (ctags #1213512)
* tagmanager/perl.c, src/treeviews.c:
improved symbol list for filetype Perl, improved parser
* src/document.c, src/callbacks.c: improved tag list updating, should
be a bit faster on opening files
2006-05-09 Enrico Troeger <>
* scintilla/ScintillaGTK.cxx: fixed encoding problem which causes many
problems with non-Ascii characters
* src/document.c: fixed a strange segfault at creating new file tabs
2006-05-08 Enrico Troeger <>
* src/callbacks.c: save current file if it is executed
(e.g. shell scripts)
* src/highlighting.c: fixed a typo which prevented highlighting of
variables in Perl
* src/filetypes.c, tagmanager/, tagmanager/parsers.h,
tagmanager/css.c: added parser for CSS filetype
* tagmanager/ruby.c, tagmanager/, tagmanager/parsers.h,
scintilla/LexRuby.cxx, scintilla/, scintilla/KeyWords.cxx
src/filetypes.c, src/highlighting.c: added new filetype Ruby
2006-05-05 Enrico Troeger <>
* src/callbacks.c: fix a crash when clicking in the compiler output
* src/dialogs.c: improved file permission display if they cannot be
read (e.g. on Windows)
2006-05-03 Enrico Troeger <>
* src/win.c, src/utils.c, src/highlighting.c:
moved my_strtod() from win32.c to utils.c, use it always, not only
on Win32 systems
2006-05-01 Enrico Troeger <>
* data/filetypes.perl: added two compiler commands
* data/filetypes.cpp, src/highlighting.c: added some C++ keywords
* src/sci_cb.c: added try-catch-auto completion
2006-04-30 Enrico Troeger <>
* src/main.c: fixed a crash when starting Geany without debug messages
* sci_cb.c: fixed a small issue when dragging files to Geany
* new release: Geany 0.6 "Nivers"
2006-04-29 Enrico Troeger <>
* src/keyfile.c, src/callbacks.c:
applied two patches from Nick Treleaven to fix invalid memory read
and improve the ordering of file tabs while loading session files
* src/vte.c: applied patch from Nick Treleaven to improve removing the
vte widget, fixed also a bug with disappearing scrollbars
2006-04-28 Enrico Troeger <>
* src/treeviews.c, src/msgwindow.c:
disabled interactive search function since it never worked and is
unnecessary and confusing
* src/utils.c: added small check for NULL pointer
* src/document.c: fixed some inconsistency with the read only check
box in the file menu
2006-04-27 Enrico Troeger <>
* src/callbacks.c: improved key press handling to avoid that cursor
rans out of editor widget when pressing F8
* src/sciwrappers.c: applied two little patches from Nick Treleaven
* tagmanager/tex.c: fixed naming of the parser to get recognised again
for parsing LaTeX files
2006-04-26 Enrico Troeger <>
* src/document.c: applied patch from Nick Treleaven to right-align the
close buttons on each tab, reload the symbol list at
reloading a file
* src/dialogs.c, src/callbacks.c:
applied patch from Nick Treleaven which improves the file open
dialog, make it more compact, replaced read-only checkbox by a
button, fixed memory leak
* src/sci_cb.c: applied patch from Nick Treleaven to fix a small bug
in auto commenting lines with CTRL+D
* src/document.c: applied patch from Nick Treleaven to switch to the
new opened tab if placement of new file tabs is set
to Right
* src/utils.c: applied patch from Nick Treleaven to fix a bug in
utils_get_current_tag() with C++ methods
2006-04-25 Enrico Troeger <>
* src/sci_cb.c: added support for complete do while loops
* src/highlighting.c, data/filetypes.cpp: added keywords this, public,
private and protected
* scintilla/ScintillaGTK.cxx, scintilla/PlatGTK.cxx:
applied patches from John Ehresmann (posted on the Scintilla ML)
* src/dialogs.c: improved the file properties dialog
* src/gb.c: translated comments into English and fixed some bugs
2006-04-24 Enrico Troeger <>
* src/main.c, src/geany.h: removed unneeded time variables
2006-04-23 Enrico Troeger <>
* scintilla/LexBash.cxx: fixed crash when typing "\" as last character
in a bash file (patch from Scintilla ML)
2006-04-20 Enrico Troeger <>
*, src/keyfile.c, src/document.c, src/interface.c
src/prefs.c, src/geany.h: added option to place new file tabs to the
right or left of the tab list
* src/utils.c, src/keyfile.c, src/prefs.c, src/build.c, src/vte.c,
src/filetypes.c: replaced lots of g_new() by g_new0()
* src/dialogs.c: at saving a new file, the extension of the file is
guessed based on the default extension in filetypes.c
* src/build.c, src/msgwindow.c: improved scrolling of compiler
messages at building
* src/build.c, src/dialogs.c, src/callbacks.c:
rewrote most of the building code, get compiler settings from
filetype definition files, handle non-UTF8 filenames better and much
more things
2006-04-18 Enrico Troeger <>
* src/geany.h, src/keyfile.c, src/utils.c:
added option to match < and > to, but disabled by default
2006-04-09 Enrico Troeger <>
* src/sci_cb.c: added handler for dragged file URIs in the editor
widget, so they will get opened
2006-04-07 Enrico Troeger <>
* src/dialogs.c: now the file save dialog returns when pressing Enter,
too, also fixed a bug if path of current file
contains non-UTF8 characters, added question dialog,
to ask for various things, so removed
* src/callbacks.c: added a check for overwriting files when using file
save dialog
* src/document.c: default charset encoding for new files is set to UTF-8
* src/highlighting.c, data/filestypes.common:
added setting folding_style to define the style of the folding icons
2006-04-06 Enrico Troeger <>
* src/build.c: fixed some errors with non-UTF8 filenames and paths
* bugfix: src/dialogs.c: fixed an error when changing the current
directory in the file open dialog and the
path contains non-UTF8 characters
* src/document.c: removed useless for loop in document_set_filetype
2006-04-05 Enrico Troeger <>
* bugfix: src/document.c: fixed a segfault when opening a file and
filename is NULL
2006-04-04 Enrico Troeger <>
* bugfix: src/callbacks.c: fixed potentially segfault when opening a
file from the recent file menu
2006-04-03 Enrico Troeger <>
* src/vte.c: applied three patches from Nick Treleaven to improve
usage of the VTE component
2006-04-01 Enrico Troeger <>
* tagmanager/general.h: added inclusion of unistd.h to avoid compile
errors on MacOSX
* src/document.c: fixed memory allocation while opening files, so that
empty files (size = 0 byte) can also be opened
2006-03-29 Enrico Troeger <>
*, src/interface.c: let the editor widget also be resized,
so resizing the main window is nicer
* src/keyfile.c, src/main.c:
moved some code from configuration_open_files to
configuration_apply_settings, because configuration_open_files is
not called every time
2006-03-28 Enrico Troeger <>
* src/utils.c, src/sci_cb.c, src/callbacks.c:
applied patch from Nick Treleaven to avoid segmentation faults on
long words(>120 characters)
* src/main.c, src/sci_cb.c: applied patch from Nick Treleaven to fix a
possible segmentation fault
2006-03-22 Enrico Troeger <>
* src/utils.c: added error messages to utils_write_file()
* src/keyfile.c: rewrote the code for reading the session files
2006-03-19 Enrico Troeger <>
* src/highlighting.c, src/sci_cb.c, data/filetypes.*:
added definable comment characters to all filetypes
2006-03-18 Enrico Troeger <>
* src/highlighting.c, data/filetypes.*:
added wordchars key to all filetypes
* src/main.c: improved reading and writing of the named pipe, so Geany
does not go into in an endless loop after opening a file
2006-03-17 Enrico Troeger <>