1740 Commits

Author SHA1 Message Date
Enrico Tröger
2f6420a13e Fix make distcheck.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1736 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-24 09:24:14 +00:00
Nick Treleaven
a2ea943ffe Fix warning.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1735 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-23 16:06:07 +00:00
Nick Treleaven
109a7aee67 Convert 'Insert Special HTML Characters' tool into a plugin;
keybinding support will be added later.
Add plugin functions for inserting text into the current document.
Add plugin support for disabling a menu item when no documents are
open.
Destroy plugin_fields->menu_item on unloading if set by a plugin.
Use G_MODULE_BIND_LOCAL for plugins to prevent symbol shadowing by
other modules, and to help detect unresolved symbols at loading time.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1734 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-23 15:41:08 +00:00
Enrico Tröger
17f33318e0 Adjust symbol list icon path on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1733 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-23 09:26:05 +00:00
Enrico Tröger
33814377cd Clarified description of white_space setting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1732 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-22 14:57:26 +00:00
Enrico Tröger
a7975ccc93 Extend icon search path to get symbol list icons working when using a non-standard installation prefix.
Query default icon theme only once to improve startup speed.
Store the line number separately in the tree store.
Remove utils_get_local_tag().	       


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1731 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-22 14:38:47 +00:00
Frank Lanitz
9f7ee051c3 Update of Polish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1730 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-21 19:46:32 +00:00
Frank Lanitz
471ca6f9c7 Added British English translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1729 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-20 18:38:19 +00:00
Nick Treleaven
0994c76194 Apply patch to add symbol list icons from Jean-François Wauthy
(thanks). Also thanks to KDevelop for the icons.
Add list of projects to THANKS.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1728 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-20 16:33:16 +00:00
Nick Treleaven
2178c7c887 Rename ui_close_buttons_toggle() ui_document_buttons_update().
Move app->sensitive_buttons to ui_utils.c for easier maintenance,
rename to document_buttons.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1727 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-20 12:06:51 +00:00
Nick Treleaven
a27b84475c Tidy up plugin code to make their structure more consistent.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1726 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-19 11:54:02 +00:00
Nick Treleaven
ae6de4f5c6 Use extern 'app' and 'filetypes' global variables in headers, so that
G_MODULE_BIND_LOCAL can later be used when loading plugins to detect
any unresolved symbols.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1725 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-19 11:49:53 +00:00
Nick Treleaven
367465ba51 Prevent warning when clicking on symbol list parent items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1724 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-19 11:15:42 +00:00
Nick Treleaven
fc9e92cf0f Make pressing escape focus the editor when using incremental search
or the Goto Line entries.
Add keybindings_cmd() to mimic a keybinding action.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1723 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-18 15:35:52 +00:00
Nick Treleaven
46282107f8 Oops, prevent fencepost bug.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1722 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-18 12:25:18 +00:00
Nick Treleaven
96727cd21d Fix possible segfault when a file is closed and using go forward.
Fix 2 possible memory leaks when files have been closed.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1721 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-18 12:20:13 +00:00
Nick Treleaven
721bd8eaa4 Fix gcc warning, add comment for editor_scroll_to_line().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1720 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-18 12:16:07 +00:00
Enrico Tröger
34a760d549 Add keybinding for scroll to current line.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1719 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 16:27:49 +00:00
Nick Treleaven
048a5e40fa Add a navigation queue position when clicking on symbol list items.
Prevent duplicates in the navigation queue.
Add navqueue_append() which adds the current document position to the
queue before adding the new position.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1718 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 16:11:38 +00:00
Enrico Tröger
4c8764dd74 Fix broken configure when using autoconf < 2.60.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1717 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 15:48:53 +00:00
Nick Treleaven
73007c11e8 Move font & file open/save dialog callbacks to dialogs.c.
Add document_clone() in document.c (for Save As open in new tab).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1716 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 14:52:57 +00:00
Enrico Tröger
3b00085ae9 Fix compiler warnings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1715 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 12:37:48 +00:00
Enrico Tröger
b54eb0a180 Always use g_fopen() and g_stat() instead of fopen() and stat() to fix several problems with filenames containing special characters on Windows. Use GetFullPathName() instead of lrealpath() to get Tagmanager working on files containing special characters on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1714 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 12:04:46 +00:00
Enrico Tröger
10822e5b75 Fix creation of wrong hex colours when inserting colours from the colour chooser dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1713 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 09:14:13 +00:00
Enrico Tröger
f158ea71a1 Fix compiler warnings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1712 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 08:39:17 +00:00
Enrico Tröger
04d0cab94e Add --disable-deprecated option to configure to build without deprecated GLib and GTK code.
Use intltool to make geany.desktop translatable
Rename geany.desktop.in to geany.desktop.in.in.
Add Makefile.in.in in po/ to get translation status from msgfmt when running make.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1711 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 08:21:19 +00:00
Enrico Tröger
fb6b743358 Fix typo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1710 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 08:11:42 +00:00
Enrico Tröger
ba0fb3e73f Fix warnings about shadowing local variables.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1709 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 08:10:29 +00:00
Enrico Tröger
111f1f0032 Improve selection handling when decreasing indent by one space.
Avoid using SCI_DELETEBACK for simple text removal.
Fix a typo in is_doc_comment_char().	 


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1708 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 08:09:15 +00:00
Frank Lanitz
6752e08cde Update of Finnish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1707 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-16 20:16:28 +00:00
Enrico Tröger
84f96e41b1 Fix failing linking on some systems (needs to be solved cleanly).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1706 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-16 17:01:15 +00:00
Enrico Tröger
3bcd10b0d8 Add keybindings for smart indent and indent/deindent by one space.
Fix possible selection errors on commenting multiple lines when using CR/LF line endings.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1705 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-16 15:42:12 +00:00
Nick Treleaven
3e494fa3f5 Fix segfault (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1704 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-16 14:49:48 +00:00
Nick Treleaven
a4728116bc Use Rename button instead of checkbox for Save As dialog.
Add tooltips for Save As dialog's other options.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1703 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-16 14:42:36 +00:00
Nick Treleaven
3ecd31d9fd Add ui_table_add_row() for easily adding widgets to a GtkTable, and
use it in project_new().
Group 'generic' functions related to GTK+ together at the top of
ui_utils.h.
Make sure G_GNUC_NULL_TERMINATED is defined in geany.h.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1702 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-13 15:54:16 +00:00
Nick Treleaven
5ec03cdc0a Make Class Builder 'Create Class' dialog use Glade-style frames and
remove some unnecessary border width.
Add ui->dialog_vbox_new() and ui->frame_new_with_alignment()
functions to the plugin API.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1701 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-13 14:54:11 +00:00
Nick Treleaven
0529b13442 Remove init_function_pointers(), use static initializers.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1700 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-13 11:22:47 +00:00
Nick Treleaven
9db2a589c5 If -i, --new-instance options are passed, disable loading & saving of
session files.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1699 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-13 11:07:35 +00:00
Nick Treleaven
80e0695bd8 Prevent warning when closing files when Geany is busy (e.g. pressing
Ctrl-W when opening files).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1698 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-13 10:46:11 +00:00
Enrico Tröger
7f1dd7dacc Add shebang-like detection for PHP files starting with "<?php".
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1697 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-12 18:07:49 +00:00
Enrico Tröger
6cb765e374 Use again the usual, previous way of line scrolling and use SCI_SETXCARETPOLICY for horizontal scrolling.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1696 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-12 17:16:44 +00:00
Nick Treleaven
8743d2f994 Apply patch from Jeff Pohlmeyer to add a preference for whether to
use 'smart' home key behaviour (thanks).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1695 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-12 15:44:13 +00:00
Nick Treleaven
8fe0974d8a Capitalize some dialog titles.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1694 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-12 11:59:13 +00:00
Nick Treleaven
55402bbfa6 Make Escape close the 'Grab Key' dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1693 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-12 11:56:17 +00:00
Enrico Tröger
9ff36c9a18 Also change background colour of search bar when using find next/previous after using the search bar.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1692 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-11 17:44:43 +00:00
Enrico Tröger
bc2c3fddf1 Experimental change of scrolling to get horizontal scrolling working.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1691 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-11 17:05:13 +00:00
Nick Treleaven
2a809a5c42 Rearrange some of the Prefs dialog:
Add Indentation frame on Editor tab, with tab width setting.
Add Display tab for visual editor settings.
Move Files tab below Editor tab (not needed so often).
Add frame for toolbar page.
Change some spacing to multiples of 3 (Gnome HIG recommends multiples
of 6).
Minor reordering of some checkbox groups.
Add mnemonic for Keybindings 'Change' button.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1690 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-11 16:08:03 +00:00
Enrico Tröger
2719f6d146 Apply patch from Shiv to make build system more compatible with other compilers than gcc.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1689 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-11 15:27:57 +00:00
Nick Treleaven
8dbbe603c9 Add custom wordchars and whitespace_chars support for Python & Ruby.
Group setting lexer, wordchars, autocompletion height together in
apply_filetype_properties().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1688 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-11 15:01:24 +00:00
Enrico Tröger
8528f95e82 Change the background colour of the search bar in the toolbar according to the search result.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1687 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-09 17:33:31 +00:00