3411 Commits

Author SHA1 Message Date
Nick Treleaven
1fc1a3d31b Make middle-clicking to close tabs and double-clicking to toggle
widgets work also for the gap between the tab label and close
button (shown when there are more tabs than fit on screen), and
when middle-clicking on the close button.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3280 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-26 16:08:42 +00:00
Nick Treleaven
899dce26b6 Add 'Tools->Configuration Files' menu with items to open
filetype_extensions.conf and ignore.tags. These files are also
reloaded automatically when saved.
- Code changes:
Make app->configdir a realpath().
Add ui_add_config_file_menu_item().
Add utils_build_path(), similar to g_build_path() but (re)using a
fixed buffer, so the result is never freed.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3279 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-26 13:15:53 +00:00
Nick Treleaven
d05dca5468 Make 'Reload Configuration' command also reload ignore.tags.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3278 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-25 12:09:08 +00:00
Nick Treleaven
bea7bbab00 Use g_str_has_suffix() instead of utils_str_equal().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3277 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-24 17:57:16 +00:00
Nick Treleaven
f73a652e44 Fix nested namespaces not having parent namespace scope (fixes
#2141317).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3276 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-24 13:35:10 +00:00
Frank Lanitz
8bc8f1c928 Update of Turkish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3275 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-24 11:04:12 +00:00
Enrico Tröger
42ebf4e56e Remember the 'Line breaking' state of documents between sessions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3274 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-23 18:43:09 +00:00
Enrico Tröger
a23e534086 Update the Document menu when Line Breaking/Wrapping were toggled by a keybinding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3273 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-23 16:24:16 +00:00
Enrico Tröger
6f64f53eeb Add previously removed tab close icon sizing code for non-Windows systems.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3272 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-23 16:07:17 +00:00
Enrico Tröger
cb2a89ddd3 Fix wrong menu item labels in the symbol list popup menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3271 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-23 15:42:33 +00:00
Frank Lanitz
46a67b3235 Update of Russian translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3270 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-22 01:10:56 +00:00
Enrico Tröger
7a21c84e8a Fix for r3267
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3269 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-21 18:32:41 +00:00
Enrico Tröger
31a0755c3a Make templates_replace_all() working on GStrings to fix various string replacement problems when using custom file templates.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3268 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-21 18:19:36 +00:00
Enrico Tröger
160e5e8491 Attempt to make utils_get_date_time() UTF-8 safe and add it to the plugin API.
Fix misnamed str_casecmp() function in the plugin API, sorry.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3267 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-21 17:40:04 +00:00
Nick Treleaven
ffffc759b1 Remove now-unnecessary checks for geany_object != NULL.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3266 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-21 17:33:35 +00:00
Nick Treleaven
e6fa252184 Create geany_object in main.c so core functions can use it even
when plugins are disabled.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3265 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-21 17:27:16 +00:00
Nick Treleaven
205070f5c0 Update from file made by Tyler D'Agosta (thanks). This version
includes all character entities defined by HTML 2.0, HTML 3.2, and
HTML 4.0, and one (') defined in XHTML 1.0.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3264 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-21 16:49:38 +00:00
Enrico Tröger
f31899538d Try to fix some problems when opening files with non-Ascii characters on Windows from the command line.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3263 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-21 15:42:26 +00:00
Frank Lanitz
09d2b48ad8 Update of German translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3262 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-21 14:35:57 +00:00
Nick Treleaven
dc8227ad94 Add function ui_image_menu_item_new() to the plugin API, to easily
create a menu item with a stock image and a custom label.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3261 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-21 13:34:58 +00:00
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