5827 Commits

Author SHA1 Message Date
Nick Treleaven
6aeefe91c3 Use various_treeview global to tidy code a little.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5943 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-21 16:03:11 +00:00
Nick Treleaven
4d3959ac2f Fix making various prefs tree sync with data values when showing
the prefs dialog (patch by Dimitar Zhekov, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5942 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-21 15:50:36 +00:00
Nick Treleaven
a80bab9e3c Use GTK unsaved file dialog on Windows too because the button names
should be specific.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5941 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-21 15:35:38 +00:00
Nick Treleaven
b4bdd530da Use #ifdef SYNC_SPAWN instead of G_OS_WIN32 for easier testing with
glib's asynchronous spawning (currently doesn't work on Windows).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5940 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-21 13:47:37 +00:00
Nick Treleaven
cae3037d20 Create unstable branch until 0.21 is released from trunk r5938.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5939 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-21 13:43:23 +00:00
Nick Treleaven
fb7bce5894 Update for use_atomic_file_saving change.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5938 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-21 13:31:00 +00:00
Nick Treleaven
4a56c9d19d Rename use_safe_file_saving various pref to use_atomic_file_saving
as it's not 'safe'. Use old pref if new one is missing for 
compatibility with Geany <= 0.20.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5937 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-20 14:29:46 +00:00
Peter Scholtens
16008db9ef nl.po patch for 0.21
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5936 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-19 18:54:29 +00:00
Frank Lanitz
8b887be211 Update of British English translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5935 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-19 16:26:50 +00:00
Frank Lanitz
2af0578217 Update of Brasilian Portuguese translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5934 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-19 16:22:48 +00:00
Frank Lanitz
1c73a54822 Update of Portuguese translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5933 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-19 16:22:30 +00:00
Frank Lanitz
17ee5efdef Update of Spanish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5932 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-19 16:22:10 +00:00
Nick Treleaven
d006224cc1 Remove check-tools target, it causes too much noise.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5931 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-19 14:19:28 +00:00
Frank Lanitz
78ab0f117d Update of German translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5930 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-17 08:01:26 +00:00
Frank Lanitz
9caa4550b6 Update po files for string freeze of Geany 0.21
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5929 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-17 08:01:00 +00:00
Frank Lanitz
602e8ba6d1 Added Persian translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5928 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-17 07:59:11 +00:00
Frank Lanitz
8ccb4113cf Adding Giuliano Manzitti to THANKS-file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5927 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-17 07:58:35 +00:00
Frank Lanitz
1fd7e977e9 Update of Italian translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5926 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-17 07:58:11 +00:00
Colomban Wendling
8b92d08908 Fix document sensitivity of a few menu items
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5925 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-16 21:44:11 +00:00
Nick Treleaven
534ad583ea Change various prefs label to /warn/ the user to read the manual.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5924 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-16 16:23:16 +00:00
Colomban Wendling
0ebc4ed3a6 Minor wording fix
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5923 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-16 14:47:27 +00:00
Nick Treleaven
1cca4b5449 Add info about updating NEWS.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5922 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-15 17:09:38 +00:00
Nick Treleaven
1dcaf5c1d3 clarify build dialog item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5921 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-15 15:09:32 +00:00
Enrico Tröger
c74710d448 eht16's changes
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5920 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-15 08:50:30 +00:00
Colomban Wendling
7af9fc013d Add my 0.21 changes to NEWS
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5919 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-15 02:01:53 +00:00
Colomban Wendling
4151a973dd Ask the user if spawn fails in utils_open_browser()
Ask the user to configure a valid browser command if spawning it fails
rather than falling back to some arbitrary hardcoded defaults.

This avoid spawning an unexpected browser when the configured one is
wrong, and gives the user a chance to correctly fix the preference.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5918 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-15 02:01:38 +00:00
Nick Treleaven
9d365be4cd Add ntrel's changes for 0.21.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5917 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-14 14:38:06 +00:00
Nick Treleaven
233f36a603 Fix uninitialized font size & other fields.
Remove unhooked font dialog apply button.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5916 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-14 12:01:29 +00:00
Nick Treleaven
d9d9c0697e Add item: async build commands on Windows.
Lower priority of independent run commands.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5915 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-14 11:57:51 +00:00
Peter Scholtens
233bb8c67a updated Dutch translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5914 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-13 18:37:50 +00:00
Colomban Wendling
6c616e4bff Fix a few typos in the docs
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5913 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-12 23:11:49 +00:00
Colomban Wendling
d31baeab56 Add missing MIME type to a few filetypes
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5912 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-12 23:04:53 +00:00
Colomban Wendling
e5e5d43dbb Add Markdown extensions from Shared MIME-Info database
Closes #3405321.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5911 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-12 22:49:03 +00:00
Colomban Wendling
aace32fb69 Fix updating symbol list for overloaded C++ symbols
When searching for an old entry to reuse when updating an existing
symbol list, take into account the symbol's argument list not to
always match the same entry for overloaded symbols.

Closes #3406644.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5910 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-12 16:58:31 +00:00
Colomban Wendling
5d687aad27 Cleanup code in utils_open_browser()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5909 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-11 17:06:11 +00:00
Colomban Wendling
490867eb4e Plug a few memory leaks
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5908 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-02 21:45:20 +00:00
Colomban Wendling
64d632ba29 Fix check for enabling MIME type based icons
gtk_icon_theme_lookup_by_gicon() requires GTK >= 2.14, and since
GTK 2.14 requires the GIcon API, drop the GLib check.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5907 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-02 21:45:02 +00:00
Colomban Wendling
57bca3ba25 Fix foreach_ptr_array() not to crash on arrays with 0 elements
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5906 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-02 21:44:44 +00:00
Frank Lanitz
cca0d7f5a9 Minor update of German translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5905 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-27 19:03:21 +00:00
Colomban Wendling
e3bf851784 Add menu items to detect indentation settings from document's content
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5904 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-25 20:15:02 +00:00
Colomban Wendling
3440b6770f Add and use editor_set_indent_width() to only set indentation width
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5903 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-25 20:14:40 +00:00
Colomban Wendling
18388077e6 Add support for filetype-specific indentation settings
Closes #3339420 and #3390435.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5902 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-25 20:14:17 +00:00
Colomban Wendling
4685112df3 Support for non-ASCII characters in word completion
Closes #3386129.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5901 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-25 20:12:56 +00:00
Colomban Wendling
28056ce711 Cleanup code duplication in editor_start_auto_complete()
Use read_current_word() in editor_start_auto_complete() not to
duplicate some code.  This also brings non-ASCII characters as
part of a word, first step for non-ASCII word completions.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5900 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-25 20:12:36 +00:00
Colomban Wendling
0ecab5791f Use gsize instead of C99 type size_t in Geany's core
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5899 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-25 20:12:20 +00:00
Colomban Wendling
079b1689e3 Fix checks for non-ASCII characters not to rely on signed char
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5898 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-25 20:11:59 +00:00
Colomban Wendling
ba09987d10 Cleanup word search for word completion
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5897 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-25 20:11:43 +00:00
Colomban Wendling
4652b74203 Use utils_get_setting() to cleanup filetypes.c:load_settings()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5896 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-25 20:11:25 +00:00
Colomban Wendling
fc6dc88772 Fix search for the current word if it isn't composed of only GEANY_WORDCHARS
Use Scintilla's definition of a "word" when fetching the current word
to perform a search.  This is needed when we perform a whole-word
search for Scintilla to find the matches.

Closes #3386129.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5895 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-21 17:15:19 +00:00
Colomban Wendling
a63a3a3570 Fix tags for one-letter Haskell symbols
The tokens were not properly terminated when they were 1 character long,
leading them to contain parts of the previous token.

Closes #3289160.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5894 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-19 22:15:59 +00:00