67 Commits

Author SHA1 Message Date
Nick Treleaven
bd1137d9e9 Rename utils_strcmp() utils_str_equal() (to avoid return value
confusion with strcmp()).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@978 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-08 16:21:46 +00:00
Nick Treleaven
20637b939b 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
cancelled.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@972 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-07 11:24:22 +00:00
Nick Treleaven
a20ce7ad45 Make filetype_extensions.conf generation only available with a debug
build of Geany.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@966 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-04 12:49:00 +00:00
Enrico Tröger
172558ea10 Added an Apply button to preferences dialog.
New setting to show/hide the Quit toolbar item.
New setting to show/hide notebook tabs.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@943 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-29 01:28:58 +00:00
Enrico Tröger
6e4e05d957 Removed previously added configuration option and removed the right alignment of the toolbar quit button.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@916 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-22 16:38:04 +00:00
Enrico Tröger
596a3c7e0a Added configuration option for the alignment of toolbar quit button.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@915 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-22 16:07:36 +00:00
Nick Treleaven
9755a044dd Small fix for sign warning
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@888 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-12 16:25:11 +00:00
Enrico Tröger
71f1388d67 Removed hard limit of session files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@881 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-11 16:35:21 +00:00
Nick Treleaven
a63fc1e40e Moved UI related utils from utils.c to ui_utils.c
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@790 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-05 14:24:47 +00:00
Nick Treleaven
6a5a3d1d3f 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.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@787 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-04 11:16:07 +00:00
Enrico Tröger
f509afca7e 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)


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@755 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-22 19:03:38 +00:00
Nick Treleaven
ac3d928453 Remember the VTE current directory
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@746 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-19 15:07:11 +00:00
Enrico Tröger
312579d70a Added menu items to insert configurable date/time strings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@744 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-19 12:56:30 +00:00
Nick Treleaven
d111296683 Fix a small memory leak in configuration_load
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@733 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-18 11:23:58 +00:00
Enrico Tröger
e87b87b015 Added colour values for indentation guides and white space.
Made hard coded SCI_AUTOCSETMAXHEIGHT changeable and added an option in the preferences dialog.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@712 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-13 15:04:30 +00:00
Enrico Tröger
0dcbacec1f Use utf8/locale encoding wrappers.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@711 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-13 09:07:10 +00:00
Nick Treleaven
7d8637f549 Fixed all sign comparison warnings
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@684 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-08 13:01:50 +00:00
Nick Treleaven
55edaf557a Use unique filetype id in geany.conf to avoid new filetype problems; Make unique id numbers compatible with Geany 0.7 filetype order
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@672 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-05 12:25:49 +00:00
Nick Treleaven
a591dd027f Add hidden option -g to generate filetype_extensions.conf
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@661 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-01 21:07:46 +00:00
Nick Treleaven
595ebb6670 Install a system filetype_extensions.conf which can be overridden
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@659 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-01 16:12:45 +00:00
Nick Treleaven
8e2b19b48c Change default for removing trailing spaces to off
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@655 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-01 10:30:56 +00:00
Nick Treleaven
35003deb31 Added Auto indentation and Line wrapping options to Preferences dialog; Split up Miscellaneous items into Display and Features; Renamed Change Selection and Run toolbutton.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@654 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-01 10:06:28 +00:00
Enrico Tröger
a7361b6464 Save default encoding for new files as charset string.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@626 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-25 09:12:51 +00:00
Enrico Tröger
4ec2bd121b Added Unicode BOM detection.
Added "Reload as" menu item to force opening a file with a specified encoding(both were patches from Stefan Oltmanns).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@600 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-22 01:29:10 +00:00
Enrico Tröger
0a795b2d82 Toolbar items for file operations can also be hidden.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@564 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-15 18:15:30 +00:00
Nick Treleaven
1c8d62ed5d Added basic Find in files search functionality.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@551 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-13 14:30:44 +00:00
Enrico Tröger
100987ee91 Improved toolbar popup menu.
Added new preferences tab for toolbar settings, several toolbar buttons can be hidden.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@548 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-11 14:15:56 +00:00
Nick Treleaven
82efaa626f Improve switching out of fullscreen after startup
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@542 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-08 17:37:41 +00:00
Nick Treleaven
701929eb2d Fix saving the terminal tool on quitting
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@541 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-08 16:59:08 +00:00
Enrico Tröger
0f061ee31a Improved behaviour of toggle sidebar after a restart. Introduced new flag sidebar_visible, renamed configuration keys.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@538 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-07 14:34:43 +00:00
Enrico Tröger
086aeb4c4c Added option to disable the VTE follows path feature.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@527 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-02 18:34:03 +00:00
Enrico Tröger
f1529b0435 Little redesign of the preferences dialog.
New options for setting the placement of notebook tabs.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@525 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-02 16:21:35 +00:00
Nick Treleaven
7f99c7fd0f Use the user settings for toolbar icon size & style
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@522 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-01 18:49:44 +00:00
Nick Treleaven
8eedcc97e4 Save the toolbar icon size when quitting. Set large toolbar icons by default
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@520 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-01 17:05:29 +00:00
Enrico Tröger
85d8dcaa39 Moved some default values to geany.h.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@519 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-01 15:04:41 +00:00
Enrico Tröger
dc996405a1 Forgot to commit this file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@512 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-01 00:25:34 +00:00
Enrico Tröger
b3dd894a5e Implemented simple printing support.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@505 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 17:14:52 +00:00
Enrico Tröger
852624b60e Renamed tools settings from build_* in tools_*.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@502 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 14:00:09 +00:00
Enrico Tröger
3e54b8798e Fixed weird behaviour of the recent files list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@500 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-28 15:18:23 +00:00
Nick Treleaven
38f92379da Add recent files items in the same order as they were saved. Remove app->recent_files and use g_strfreev in keyfile.c
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@493 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-27 15:24:39 +00:00
Enrico Tröger
f375a6be68 Added missing shortcut for "Close".
Added option in the preferences dialog to replace tabs by spaces when saving a file.
Added option for default encoding for new files.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@470 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-21 18:54:07 +00:00
Enrico Tröger
73384bb248 Implemented code for setting indicators while compiling.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@442 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-13 19:37:21 +00:00
Nick Treleaven
99fa47cb55 Discard old session files also for unsaved documents
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@384 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-31 21:17:30 +00:00
Nick Treleaven
e5f238c232 Scroll session files in view after all resizing of the Scintilla widget and rename sci_scroll_to_line
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@379 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-30 18:03:19 +00:00
Enrico Tröger
daebef5351 - do not create VTE settings in the preferences dialog if VTE is disabled at runtime
- added option to preferences dialog to disable load of VTE at startup


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@354 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-22 00:25:19 +00:00
Enrico Tröger
dec031b3b5 fixed compiler warning, removed obsolete and commented code
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@340 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-17 18:29:29 +00:00
Enrico Tröger
edf31c582c applied two patches from Nick Treleaven to fix invalid memory read and improve the ordering of file tabs while loading session files
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@288 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-04-29 18:15:37 +00:00
Enrico Tröger
4b0f1d69ca removed compiler settings, added new options
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@274 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-04-27 17:57:28 +00:00
Enrico Tröger
504017aeea set minimal size to 620x440, default size to 900x600, added command line option -m or --no-msgwin to disable message window at startup
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@250 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-03-15 23:19:45 +00:00
Enrico Tröger
6409cf8926 implemented folding
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@227 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-26 18:19:28 +00:00