1594 Commits

Author SHA1 Message Date
Enrico Tröger
73c841c79f Fix compiler warnings.
Improve Save As dialog usability problems.      


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2254 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-12 15:50:22 +00:00
Enrico Tröger
29d1102f76 Don't force unique line ending characters when saving files to avoid unexpected saving behaviour.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2252 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-12 12:30:41 +00:00
Enrico Tröger
fe728b7c88 Allow start of Geany with given files on the command line but whithout a writable temporary directory and without a writable configuration directory.
Improve filename of created symlink to the socket file.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2251 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-12 12:04:55 +00:00
Frank Lanitz
bd52faecba Added Nikita E. Shalaev to list of Russian translators
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2249 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-11 19:17:36 +00:00
Enrico Tröger
b922aae8d0 Apply patch from Daniel Richard G. to include the hostname in the socket filename (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2247 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-10 17:55:00 +00:00
Enrico Tröger
d60378dd98 Add support for getting hostname on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2246 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-10 17:53:18 +00:00
Enrico Tröger
feb118c8bf Use a random integer as part of socket file name instead of current time stamp.
Before creating a new socket, delete a maybe existing socket and its symlink.	    


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2244 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-10 12:36:32 +00:00
Enrico Tröger
875d5b214f Fix wrong placement of long line marker (closes #1889392).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2239 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-08 11:22:36 +00:00
Enrico Tröger
05bff8f53d Fix crash on Windows when a project could not be opened. Remove prefix from win32_get_file_filters() and win32_get_filters(). Fix some encoding problems with filenames retrieved from the native Windows file dialogs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2238 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-08 11:19:45 +00:00
Enrico Tröger
ba8fc7de0e Include display number for the filename of the symbolic link to the real Unix Domain Socket file (closes #1888565).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2236 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-07 17:27:05 +00:00
Enrico Tröger
10fb8c2047 Create the Unix Domain Socket for detecting a running instance in system's tmp directory and create a symlink to it in Geany's configuration directory (closes #1888561).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2235 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-07 15:53:02 +00:00
Enrico Tröger
cba15f61ad Use a better check for PLAT_GTK_WIN32 (backport from Scintilla CVS).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2234 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-07 14:49:01 +00:00
Enrico Tröger
79cccc68d9 Fix typo (thanks Slava Semushin for reporting).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2233 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-07 14:19:45 +00:00
Enrico Tröger
7b9ba876c1 Make forgotten strings translatable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2232 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-06 16:02:00 +00:00
Enrico Tröger
25dc10c65c Post-release version bump.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2231 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-05 15:01:07 +00:00
Enrico Tröger
3e4368ed22 Fix definition of PLAT_GTK_WIN32 on Windows to fix Copy&Paste problems.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2226 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-05 11:24:26 +00:00
Nick Treleaven
43704d8ebe Add ui_button_new_with_image() to plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2223 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-04 13:40:14 +00:00
Nick Treleaven
b8f92279c3 Show default shortcuts in Keybindings section.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2222 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-04 13:28:51 +00:00
Nick Treleaven
4c747131c1 Add sci_get_current_line() to plugin API.
Add ui_table_add_row(), ui_path_box_new() to plugin API (thanks to
Yura Siamashka).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2221 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-04 12:49:14 +00:00
Nick Treleaven
39f97b19f4 List Cut, Copy, Paste keybinding descriptions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2220 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-04 12:36:43 +00:00
Enrico Tröger
a0990ce7f6 Reduce minimum window size to 550x350 (closes #1883367).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2218 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-04 08:48:20 +00:00
Enrico Tröger
1222e1ec8c Update images for 0.13.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2216 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-04 08:27:29 +00:00
Nick Treleaven
732d1a5945 Update Project section for project-based session support.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2208 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-01 13:37:58 +00:00
Nick Treleaven
eeba2ac25d Add Indentation subsection under Editor section.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2207 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-01 13:16:32 +00:00
Frank Lanitz
d8a79b09b6 Fixed a little typo
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2204 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-31 19:02:52 +00:00
Nick Treleaven
6539446a4f Update for GTK+ 2.12.5.
This also adds return type modifiers like const and *.
Command used (on Fedora 8):
'CFLAGS=-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   geany -g gtk-2.12.c.tags
/usr/include/gtk-2.0/gtk/gtk.h'


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2203 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-31 17:45:44 +00:00
Nick Treleaven
4825bfc10f Fix saving project session from a 2nd instance of Geany.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2202 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-31 16:31:19 +00:00
Enrico Tröger
dc9ee75785 Fix losing line breaks when printing a file with LF line endings and a non-Ascii character at the end of a line.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2201 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-31 15:18:13 +00:00
Enrico Tröger
b858a3e3e1 Open a new, empty file when closing a project and no session files are available or when opening a project without stored session files.
Close all open files when opening projects.	 


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2200 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-31 14:35:03 +00:00
Nick Treleaven
667126d7f6 Factor out get_search_flags() from Find, Replace dialog response
code.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2199 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-29 16:34:16 +00:00
Nick Treleaven
fb167ce4dc Rename binding type KeyBinding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2198 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-29 16:11:18 +00:00
Nick Treleaven
5994857b42 Allow case sensitive replace when the replace string varies only
in case.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2196 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-29 12:21:02 +00:00
Nick Treleaven
cdf447647f Add new macros for plugin API functions that use a 'p_' prefix to
prevent conflicts with other tags whilst keeping the same first word
as core function names, and update plugins to use them.
The old plugin macros are still available, but will be removed
after the next release.
Compiling with -DGEANY_DISABLE_DEPRECATED in CFLAGS will disable
the old macros.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2195 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-28 17:27:39 +00:00
Enrico Tröger
0bf9496a97 Fix crash on Windows when printing an untitled file.
Fix black line number margin when printing by using also pre-defined styles.	 


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2194 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-27 18:27:33 +00:00
Nick Treleaven
28ee2d71f0 Close any project before closing all documents so the project
session files are saved.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2190 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-25 13:14:38 +00:00
Nick Treleaven
217bf8be3c Remove unnecessary save of project keyfile.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2189 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-25 13:09:14 +00:00
Enrico Tröger
a377002f4e Rename ui_treeviews_show_hide() in ui_sidebar_show_hide().
Don't hide sidebar when symbol and document lists are hidden but other notebook tabs are still there.	 


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2186 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-23 14:12:08 +00:00
Enrico Tröger
26cf56ffc0 Fix wrong placement of descriptive texts in Templates and Tools tabs in the preferences dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2185 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-23 13:36:53 +00:00
Enrico Tröger
69f7c43626 Move class and label structs to geanywraplabel.c.
Override widget functions instead of using event handlers (trying to fix #1869399).	 


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2184 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-23 13:35:08 +00:00
Enrico Tröger
609567552b Add Greek translation (thanks to Stavros Temertzidis).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2183 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-22 15:19:36 +00:00
Nick Treleaven
51cfe5c125 Split up Prefs dialog General tab options into Startup, Shutdown
and Projects frames.
Rename 'Load and save session files...' option 'Use project-based
session files'.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2180 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-18 17:36:08 +00:00
Enrico Tröger
012622a209 Add two missing highlight styles to filetype Ruby.
Enable comment/uncomment for POD-like comments for filetypes Ruby and Perl.	 


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2179 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-17 14:30:40 +00:00
Nick Treleaven
264a7e449e Fix parsing D constructor tags.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2178 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-16 16:54:09 +00:00
Enrico Tröger
7b85b02f93 Add encodings_get_charset_from_index() and make it available through plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2177 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-16 16:50:10 +00:00
Enrico Tröger
5a1b51bc84 Add option for project session files support.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2176 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-16 16:30:34 +00:00
Nick Treleaven
62c0ad1493 Fix hidden lines after deleting a line that is a collapsed fold
point.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2175 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-16 13:07:04 +00:00
Nick Treleaven
f446def461 Don't unlink the old file if renaming failed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2174 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-15 17:04:31 +00:00
Nick Treleaven
6eceb83d41 Make 'Open Selected File' first try the current file's directory,
falling back to the project base path if no file was found.
Add editor_get_default_selection() from get_default_text() in
search.c, to get the current selection or current word.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2172 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-14 17:30:59 +00:00
Enrico Tröger
748d552168 Save project session file list when project is closed.
Don't load default session files in a second instance after a project was closed.
Fix not updating symbol list (and other things) when changing tabs after a project was opened or closed in a second instance.	       


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2171 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-13 17:50:04 +00:00
Enrico Tröger
bc180f0545 Don't add '>' when auto completing HTML tags when it's already there.
Fix wrong indentation when '{' and '}' are on the same line.      


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2169 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-12 13:01:43 +00:00