3930 Commits

Author SHA1 Message Date
Colomban Wendling
ee2ff42071 Add myself as an author in the docs
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5983 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-02 13:13:10 +00:00
Enrico Tröger
cd6b2f8540 Update documentation for new images.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5978 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-01 10:44:17 +00:00
Enrico Tröger
53419b001c Update documentation images.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5977 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-01 10:43:03 +00:00
Colomban Wendling
a89fcc2cc4 Fix utils_string_replace_all() to accept a NULL replacement again
Support of NULL as the replacement was lost in the code refactoring
introduced by revision 5730, and it broke a few plugins.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5965 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-28 19:49:28 +00:00
Nick Treleaven
36a8459cbb Fix not indenting snippet contents for documents with non-\n line
endings.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5959 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-26 16:31:32 +00:00
Nick Treleaven
0e89b9e2e8 Fix not converting \n to document line endings in snippets.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5958 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-26 16:18:36 +00:00
Frank Lanitz
3921732c9a Fix a wrong file reference inside ChangeLog
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5953 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-23 18:31:58 +00:00
Nick Treleaven
c2b8bc1c4f Fix \0 char in format string - save as dialog filter bug.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5946 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-22 15:53:14 +00:00
Nick Treleaven
1afb825ec8 Add configuration_add_various_pref_group().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5944 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-22 11:52:58 +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
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
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
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
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
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
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
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
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
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
Colomban Wendling
5ee037bfc0 Don't make tags for /dev/null in diff files but for the new file instead
Based on a patch by Yang Hong, thanks.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5893 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-19 13:12:53 +00:00
Frank Lanitz
d501e1ccda Extend list of primary keywords for Cython.
Patch by Alexander Eberspächer. Thanks.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5892 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-19 10:07:26 +00:00
Frank Lanitz
a2ef453ea3 Update of wording to fix some grammatical issues etc. on plugin howto.
Patch provided by Matthew Brush. Thanks.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5891 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-19 06:55:34 +00:00
Colomban Wendling
9d2975b8fa Fix generating global tags (geany -g) when the configdir doesn't exist
When creating temporary files for generating global tag files, use
the system directory for temporary files rather than the configuration
directory, so it works even if the configuration directory doesn't
already exist.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5890 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-19 00:07:41 +00:00
Colomban Wendling
02dcab4b14 Add Cython filetype
Patch by Matthew Brush, thanks.

Also remove the Cython keywords from Python filetype.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5889 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-18 23:01:45 +00:00
Frank Lanitz
4db82ba7fa Update API version used inside plugin howto to a more recent version (API v211).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5888 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-15 19:26:36 +00:00
Colomban Wendling
24583dc507 Focus the editor upon double click on the message and compiler windows
Also improve the code a bit by using a boolean to know whether to focus
the editor rather than always pass the key value and check it against
enter-or-return in the callee side.

Patch by Dimitar Zhekov, thanks!

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5887 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-13 20:44:39 +00:00
Colomban Wendling
5bad25e2ab Only include config.h when building Geany
config.h is not distributed, and we includ it from geany.h.  Even
though it was only included it HAVE_CONFIG_H was defined, an Autotools
based build system is likely to define it, and it becomes a problem if
that very build system uses another header name than config.h.

Closes #3384026

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5882 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-03 15:20:26 +00:00
Frank Lanitz
9aaeea1fd6 Adding a hint to main_locale_init() to plugin HowTo
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5879 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-07-31 17:37:12 +00:00
Frank Lanitz
e582590136 Adding some content about PLUGIN_SET_TRANSLATABLE_INFO() into plugin HowTo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5877 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-07-31 17:35:22 +00:00
Colomban Wendling
09f8e4cc03 Add myself to various prefs credits as asked by Dimitar
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5876 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-07-31 13:35:59 +00:00
Colomban Wendling
018170c130 Improve indentation width detection to better deal with Java and Vala files
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5873 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-07-28 17:59:58 +00:00
Colomban Wendling
44e5687e0b Allow editing of formerly hidden preferences in the preferences dialog
Patch by Dimitar Zhekov, thanks! (closes P#3313315)

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5871 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-07-28 17:59:22 +00:00
Colomban Wendling
461253e005 Fix indentation brace matching (closes #3309606)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5864 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-26 21:47:47 +00:00
Colomban Wendling
af1cc6dc14 Recognize C# and Vala raw and verbatim strings as string styles
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5863 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-26 21:47:28 +00:00
Enrico Tröger
dac3d64413 More GTK 2.8 => GTK 2.12 transition.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5862 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-26 21:28:20 +00:00
Colomban Wendling
5914176970 Completely drop HAVE_GIO checks
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5861 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-20 16:11:46 +00:00
Colomban Wendling
d61dea84ed Add an hidden pref to choose between GIO and plain C unsafe file saving.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5860 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-20 16:11:18 +00:00
Colomban Wendling
83527f798c Make StashWidgetID map to gconstpointer rather than gpointer
This allows to use constant strings (e.g. string literals) as the
widget ID without triggering tons of compiler warnings.  In cases
widgets or non-constant strings are used, this just don't change
anything, since anyway we don't really need the widget pointer not
to be constant.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5857 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-17 22:53:01 +00:00
Colomban Wendling
3bd6a01525 Fix a few signed vs. unsigned and differently-sized integer problems
Most notably, utils_get_line_endings() and document_open_file_list()
don't support -1 as the size anymore.  If the size should be computed
from null-terminated data, the caller code must take care of doing so.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5855 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-17 22:52:17 +00:00