182 Commits

Author SHA1 Message Date
Enrico Tröger
2b0740a5fa 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.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1186 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-14 17:09:17 +00:00
Enrico Tröger
b54b45ea42 Applied patch from Jeff Pohlmeyer to add an option for disabling DnD in the editor widget.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1182 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-13 20:50:36 +00:00
Enrico Tröger
3312f6b3b2 Changed default values:
Confirm exit -> disabled by default
Use tab to indent -> disabled by default.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1132 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-20 22:52:10 +00:00
Nick Treleaven
6624c10a1e Fix strv leak in configuration_open_files().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1128 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-20 10:42:12 +00:00
Nick Treleaven
cf28714548 Scroll cursor to 50% of the view for session files at startup.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1116 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-18 12:24:39 +00:00
Nick Treleaven
180069bc6c Open tabs left to right by default.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1115 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-18 12:10:58 +00:00
Nick Treleaven
533d61fb68 Fix memory leaks when using GdkPixbuf, PangoFontDescription and some
strings.
Capitalize main window title.
Add ui_widget_modify_font_from_string().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1089 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-13 15:18:49 +00:00
Enrico Tröger
7dda3569ee Added option to toggle usage of Tab button for indentation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1087 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-12 21:52:48 +00:00
Enrico Tröger
33425f1a5d Added option to execute programs in the VTE instead of executing them in a terminal emulation window (closes #1594456).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1078 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-10 21:29:04 +00:00
Enrico Tröger
37c230845a Revert the last change to utils_str_equal() and use it again because g_str_equal() is not NULL-safe.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1059 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-07 16:09:45 +00:00
Enrico Tröger
c461da68f1 Removed utils_str_equal() and use g_str_equal() from GLib because it does exactly the same.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1056 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-06 20:44:32 +00:00
Enrico Tröger
956e5ad179 Added new preference to unfold all children of a fold point if the fold point is unfolded.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1044 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-03 22:33:46 +00:00
Nick Treleaven
bfd785b72a 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).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1012 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-18 15:47:28 +00:00
Enrico Tröger
420011adc6 Fixed a segfault when closing preferences dialog and loading VTE was enabled after it was disabled.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@985 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-11 00:24:04 +00:00
Nick Treleaven
ad74b0bc87 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.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@980 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-09 15:52:31 +00:00
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