3191 Commits

Author SHA1 Message Date
Nick Treleaven
df3ffab018 Add Expand/Collapse All symbol list popup menu items.
Disable smybol list sort items when there are no tags.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3260 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-21 13:06:09 +00:00
Nick Treleaven
e84d850119 Fix reloading sometimes changing the symbol list sort order.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3259 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-20 17:01:02 +00:00
Nick Treleaven
34a0125b61 Use radio buttons for symbol list popup menu sort items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3258 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-20 16:52:46 +00:00
Enrico Tröger
7ff7cbce72 Fix broken LaTeX view commands (closes #2315014).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3257 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-19 18:41:37 +00:00
Enrico Tröger
5c01423827 Oops, forgot the ChangeLog
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3256 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-19 18:04:16 +00:00
Enrico Tröger
37d476700f Properly support silent installations with the Windows installer (closes #2204671).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3255 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-19 18:03:32 +00:00
Enrico Tröger
b805f7edbe Fix wrong encoding handling when the chosen encoding was UTF-8 and properly skip any conversions in this case.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3254 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-19 17:32:24 +00:00
Enrico Tröger
800780e2b7 Rework search_close_pid() and let it handle the case when the grep command was killed externally.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3253 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-19 17:31:54 +00:00
Frank Lanitz
6e727352f1 Update of Swedish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3252 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-18 23:12:23 +00:00
Enrico Tröger
86b85dce70 Fix doc comment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3251 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-18 20:14:58 +00:00
Enrico Tröger
81ffd05aa1 dd ui_widget_set_tooltip_text() as a convenience function to easily set tooltips for widgets. It uses gtk_widget_set_tooltip_text() on GTK >= 2.12 otherwise the old tooltips API.Use ui_widget_set_tooltip_text().
Use ui_widget_set_tooltip_text() in the plugins.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3250 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-18 20:14:42 +00:00
Enrico Tröger
ffc9c924b0 Fix empty tab labels for new files and cleanup.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3249 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-18 20:13:50 +00:00
Enrico Tröger
ac52e42417 Show the full filename of a document as tooltip on the tab labels.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3248 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-18 20:13:29 +00:00
Enrico Tröger
5f6790f38e Fix some typos.
Add note about the encoding box in the Find in Files dialog.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3247 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-18 17:46:24 +00:00
Nick Treleaven
484f1ea9ab Update utils_free_pointers().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3246 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-18 17:24:10 +00:00
Nick Treleaven
a2ceb60e3a Make utils_free_pointers() take an arg_count argument to prevent
memory leaks.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3245 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-18 17:14:00 +00:00
Enrico Tröger
28ffc1b942 Remove forced size requests for the tab close icon as it seems not necessary and broke the icon on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3244 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-18 17:03:15 +00:00
Nick Treleaven
51e4000038 Move symbol list popup menu code to symbols.c.
Add symbols_init().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3243 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-18 13:29:53 +00:00
Nick Treleaven
97c7ae0e4f Refactor with sidebar_add_common_menu_items().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3242 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-18 12:58:53 +00:00
Enrico Tröger
614fdbd0a7 When passing NULL to utils_str_replace(), also return NULL (fixes broken new file template list).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3241 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-16 17:55:23 +00:00
Enrico Tröger
79ed7d7604 Plug little memory leak.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3240 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-16 17:55:05 +00:00
Enrico Tröger
a63aaef475 Improve layout of the combo box labels in the Find in Files dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3239 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-16 17:54:46 +00:00
Enrico Tröger
18095fca79 Note: this breaks the plugin API for Editor and Scintilla functions.
Rename all functions in editor.c and sciwrappers.c which are related to indicators for more consistency.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3238 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-16 17:54:28 +00:00
Enrico Tröger
9975737eff Add and use ui_combo_box_prepend_text_once() to add project's base_path to the Find in Files dialog even if another project was opened.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3237 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-16 17:53:55 +00:00
Enrico Tröger
0bfd8eb893 Add the project's base_path to the directory list in the Find in Files dialog if a project is open.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3236 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-16 17:53:33 +00:00
Enrico Tröger
631da007a4 Capture command's stderr and log it into the Debug messages window when a Find in Files search fails.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3235 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-16 17:53:13 +00:00
Enrico Tröger
5baacafd6a Add 'waf' to EXTRA_DIST.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3234 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-16 17:52:54 +00:00
Enrico Tröger
ce2dfe1c9f Add note about set permissions to the API docs of utils_mkdir().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3233 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-16 17:52:38 +00:00
Enrico Tröger
4a4e969c2a Change the default values for selection fore- and background colour to some sane values.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3232 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-15 16:51:05 +00:00
Enrico Tröger
8f949362e7 Clear previously set search indicators before when using 'Mark' in the Find dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3231 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-15 15:53:40 +00:00
Enrico Tröger
5178e73699 Fix possible crash when using the Find in Files dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3230 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-15 15:53:05 +00:00
Enrico Tröger
c41f63c0b9 Fix wrong highlighting of search results when using 'Mark' in the Find dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3229 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-15 15:52:36 +00:00
Nick Treleaven
56cf2bc7ef Make auto_table() use editor_insert_text_block().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3228 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-14 18:02:28 +00:00
Nick Treleaven
f07faeb9f7 Add editor_insert_text_block() newline_indent_size argument to add
fixed indentation on each newline, or -1 to read from insert_pos's
line.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3227 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-14 17:24:54 +00:00
Nick Treleaven
0ef7d92782 Fix bug with utils_string_replace_all().
Make utils_str_replace() call utils_string_replace_all() internally
(for better memory management and allowing replacements to match
search string).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3226 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-14 14:15:32 +00:00
Nick Treleaven
44bff7b443 Prompt the user for whether to move the configuration directory or
just quit instead. This is useful if the user is already running an
older binary of Geany and the second instance is newer.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3225 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-14 13:38:59 +00:00
Nick Treleaven
2c8bf0e2a9 Make editor_insert_text_block() transform any \n newline chars with
the correct line ending string.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3224 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-13 17:22:23 +00:00
Nick Treleaven
e244b17676 Make API function utils_string_replace_all() able to make
replacements that match the search string.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3223 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-13 17:19:52 +00:00
Enrico Tröger
44df3a593e Remove a few duplicate keywords.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3222 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-13 16:42:51 +00:00
Enrico Tröger
54a5f200a6 Add an encoding combo box to the Find in Files dialog to choose an encoding to use for searching (i.e. the encoding in which the search text is passed to 'grep').
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3221 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-13 16:29:56 +00:00
Nick Treleaven
0cbbc2ede0 Make function editor_insert_text_block() interpret any \t tab chars
as indent widths when inserting text.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3220 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-13 16:29:10 +00:00
Enrico Tröger
d7caf0f9c0 Follow XDG Base Directory specification and use $XDG_CONFIG_HOME/geany (most often this is ~/.config/geany) as default configuration directory (closes #2166229).
The previous configuration will be moved to the new location if the new directory doesn't exist yet.
Move utils_make_settings_dir() into main.c.
Remove win32_get_appdata_folder() because g_get_user_config_dir() does the same.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3219 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-13 14:37:47 +00:00
Nick Treleaven
a16dd54629 Fix indenting for Tabs & Spaces mode when inserting snippets.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3218 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-13 13:18:02 +00:00
Enrico Tröger
04e41e15a4 Fix indentation to consistently use tabs (patch by Colomban Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3217 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-12 19:37:02 +00:00
Nick Treleaven
a3d18c844b Add other files for last commit (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3216 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-12 17:55:07 +00:00
Nick Treleaven
24c7302f9c Add Split Vertically command (patch by Moritz Barsnick, thanks;
#2219553).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3215 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-12 16:21:32 +00:00
Nick Treleaven
648e9f281f Ignore hacking.html.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3214 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-12 13:39:35 +00:00
Nick Treleaven
7ac0e5f3b3 Fix empty statements and possible memory leaks with
utils_free_pointers() in utils_str_casecmp().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3213 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-12 13:05:33 +00:00
Enrico Tröger
023cf3f325 Add a file template for LaTeX (patch by Herbert Voss, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3212 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-11 19:50:40 +00:00
Enrico Tröger
321b460d10 Remove obsolete tag in Doxyfile.in.
Fix doxygen warnings for undocumented enum in plugindata.h.

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