1878 Commits

Author SHA1 Message Date
Enrico Tröger
6532339f1a Use a modifiers mask to ignore unwanted modifiers(caps lock, num lock) when handling key presses (maybe fixes #1891276).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2253 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-12 15:49:54 +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
Enrico Tröger
e4edda0fa2 Allow using Find In Files dialog even if no files are open (closes #1891818).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2250 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-12 12:04:21 +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
e1edb51104 Add workaround for a Scintilla bug in HTML/PHP lexer which styles the last line of document wrong when in PHP mode.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2242 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-10 12:35:11 +00:00
Enrico Tröger
9a2be912fc Apply patch from Yura Siamashka to fix wrong navigation queue items (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2241 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-10 12:34:28 +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
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
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
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
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
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
Enrico Tröger
70bdbb491b Fix crash on Windows when printing an untitled file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2193 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-27 17:44:18 +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
81dfe5aeeb Don't include utils.h to avoid the need to include geany.h for GTK 2.6 compatibility defintion of G_GNUC_NULL_TERMINATED.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2187 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-23 14:32:52 +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
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
Enrico Tröger
3775f8f551 Avoid double status message if print dialog was cancelled.
Print status messages in status-changed handler.      


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2167 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-12 11:03:52 +00:00
Enrico Tröger
8977c301a7 Try to fix changing message window height when using full screen (closes #1869415).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2166 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-12 10:14:58 +00:00
Nick Treleaven
ff9c673ed2 Apply patch from Yura Siamashka to speed up removing several
workspace object's tags without updating the workspace until
necessary (thanks).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2164 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-11 17:09:23 +00:00
Nick Treleaven
d4764a2bc9 Add 'Make in base path' project file preference, on by default.
Add project_get_base_path(), separated from project_get_make_dir().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2163 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-11 16:53:25 +00:00
Enrico Tröger
fd4f40e48d Fix crash while reading Scintilla styles.
Add GTK's progress dialog when printing large documents which also provides the ability to cancel a print operation.	 


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2161 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-11 14:23:29 +00:00
Enrico Tröger
8751272b25 Fix broken Rename functionality (closes #1868621).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2160 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-11 13:17:00 +00:00
Nick Treleaven
f2ab079305 Add 'Override Geany keybindings' VTE prefs dialog option (replaces
hidden pref), and make it off by default.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2158 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-10 17:11:19 +00:00