1790 Commits

Author SHA1 Message Date
Nick Treleaven
5bb7a8ecd2 Add 'Current chars' indentation mode, rename 'Advanced' indentation
to 'Match braces' (closes #1726880).
For 'Match braces' indentation, if a brace could not be matched,
fall back to 'Current chars' indentation.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1836 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-29 15:14:07 +00:00
Nick Treleaven
af91a8185a Add more complete information for adding a filetype.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1835 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-28 16:15:26 +00:00
Nick Treleaven
fd161f582d Add hidden editor preference 'use_gtk_word_boundaries'.
Add docs appendix 'Hidden preferences'.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1834 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-28 15:45:54 +00:00
Nick Treleaven
1882e29768 Group settings in load_dialog_prefs() by dialog tab.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1833 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-28 15:10:13 +00:00
Enrico Tröger
501c01aeb4 Remove useless callback wrapper function.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1832 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-28 10:50:18 +00:00
Enrico Tröger
4c3d5d8072 Fix comment for PLUGIN_INFO.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1831 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-28 10:48:52 +00:00
Nick Treleaven
ccc27ac11b Refactor configuration_load().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1830 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-27 16:54:15 +00:00
Nick Treleaven
8d2b262224 Group prefs in order for save_dialog_prefs().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1829 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-27 16:39:49 +00:00
Nick Treleaven
8e12775cb6 Clear PluginInfo fields in PLUGIN_INFO macro for future extensions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1828 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-27 16:29:28 +00:00
Nick Treleaven
1c36ba9ae5 Add Prefs dialog 'Editor tabs' frame in Interface tab and group
related preferences.
Change some table spacing to multiples of 3.
Rename Misc., Behaviour -> Miscellaneous.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1827 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-27 16:10:19 +00:00
Enrico Tröger
edc0ceaad6 Add version to plugin info fields and two other fields for future use.
Add option to show/hide the small crosses on each file tab (closes #1757680).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1826 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-25 14:16:52 +00:00
Enrico Tröger
b7de9b3d3b Remove wrong new line character.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1825 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-25 13:39:00 +00:00
Frank Lanitz
540022fc11 Update of German translation and catalog
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1824 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-25 08:13:45 +00:00
Nick Treleaven
b401b698ea Move file-related fields from EditorPrefs -> GeanyPrefs.
Rename line_breaking -> line_wrapping for EditorPrefs and document.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1823 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-24 16:20:33 +00:00
Nick Treleaven
b7a32149e9 Refactor configuration_save() to group new struct settings together.
Move 'Enable plugin support' keyfile pref to the 'geany' group.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1822 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-24 15:44:07 +00:00
Nick Treleaven
ade8718241 Add pos description for document_open_file(), rewrite warning about opening multiple files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1821 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-24 12:06:59 +00:00
Nick Treleaven
225e404db5 Fix wrong // comment spacing.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1820 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-24 11:48:37 +00:00
Nick Treleaven
719c2131cf Fix wrong brace formatting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1819 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-24 11:31:27 +00:00
Nick Treleaven
b234bf160a Fix saving the wrong document when using Save All with unnamed
documents.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1818 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-24 11:19:26 +00:00
Enrico Tröger
7b14228f62 Fix invalid filetype setting when using Save All and files with filetype None (thanks to Omair Eshkenazi for reporting).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1817 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-23 17:59:22 +00:00
Nick Treleaven
52e8b9f27d Apply patch from blackdog to add "document-activate" plugin signal,
which is sent when switching notebook pages (thanks).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1816 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-23 15:22:13 +00:00
Nick Treleaven
ef1399e000 Rename MyApp -> GeanyApp.
Move most GeanyApp fields into:
GeanyPrefs for (most) Preferences dialog fields;
UIPrefs for non-Prefs dialog visual settings;
UIWidgets for less commonly used widgets such as menuitems and
dialogs;
GeanyStatus for various states the application can be in.
Move some GeanyApp fields into EditorPrefs (and one into each of
CommandLineOptions and SidebarTreeviews).
Add plugin API prefs field.
Move disabling build widgets on Windows to build_init().
Make build callbacks static.
Add treeviews_init() to prepare popup menus and open files treeview.
Replace treeviews_find_node() with treeviews_select_openfiles_item().
Make utils_isbrace() and utils_is_opening_brace() take an
'include_angles' argument (to separate from editor_prefs).
Make 'Goto matching brace' keybinding include <> angle brackets.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1815 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-23 11:34:06 +00:00
Enrico Tröger
2425b99e42 Fix some minor LaTeX code errors.
Add generation date to HTML header and as comment in the generated LaTeX code.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1814 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-22 18:04:37 +00:00
Enrico Tröger
f6f44f8917 Remove unused struct.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1813 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-21 17:43:42 +00:00
Enrico Tröger
ad9aff7fb5 Include error code string in the debug message if a file could not be written.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1812 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-19 17:59:15 +00:00
Enrico Tröger
704940dcdf New plugin: Export as HTML and LaTeX.
Add some functions to the plugin API needed by the Export plugin.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1811 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-19 17:40:19 +00:00
Nick Treleaven
92b94aed5f Fix parsing C macro argument list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1810 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-17 14:50:55 +00:00
Nick Treleaven
9268f74e2f Apply patch from Jeff Pohlmeyer to fix warning when unloading plugins
that use signals when quitting (thanks).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1809 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-17 11:48:30 +00:00
Nick Treleaven
c00de9cdf6 Fix symbol list sort by appearance order for e.g. geany.txt.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1808 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-16 17:19:16 +00:00
Nick Treleaven
5402da7a0d Use sci_assign_cmdkey() to set GtkEntry-like word boundary handling.
Clear unnecessary default Scintilla Ctrl-D duplicate keybinding.
Add SCI_DELWORDRIGHTEND command (patch sent to Scintilla ML).
Remove previous ScintillaGTK::KeyCommand override.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1807 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-16 16:56:17 +00:00
Nick Treleaven
b1b36a9bf3 Don't use double if statements.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1806 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-16 16:49:17 +00:00
Nick Treleaven
fc3a74e7f6 Add 'Enable plugin support' Prefs checkbox.
Minor edit of load VTE option text.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1805 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-16 15:20:38 +00:00
Nick Treleaven
6883934fce Apply patch from Jon Senior to fix parsing Apache Ant compiler
error messages (thanks).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1804 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-16 14:54:31 +00:00
Enrico Tröger
f78578e4d1 Apply patch from Scintilla ML to fix problems with selections including the first and second character of a line.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1803 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-16 13:53:06 +00:00
Enrico Tröger
4f74783fb1 Add menu items for different sorting of the symbol list to the symbol list popup menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1802 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-15 17:58:58 +00:00
Nick Treleaven
8525cc95eb Add support for Java Apache Ant compiler error messages.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1801 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-15 16:00:43 +00:00
Nick Treleaven
9f46d083c5 Move #define PLAT_GTK to geany.h.
Move filetype typedef to geany.h.
Don't #include any src/*.h files from headers.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1800 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-15 15:37:21 +00:00
Nick Treleaven
9fcc4997ac Disconnect plugin callback signals when unloading plugins, to prevent
a segfault when emitting signals.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1799 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-15 12:29:57 +00:00
Nick Treleaven
2fa7ce5794 Apply patch from Jeff Pohlmeyer to add document_remove() to the
plugin API (thanks).
Add document_open_files() to plugin API.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1798 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-15 11:52:06 +00:00
Nick Treleaven
5f2dbfc520 Remove unnecessary include.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1797 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-15 11:51:05 +00:00
Nick Treleaven
d8d971ea9f Apply patch from blackdog to add document_save_file() to the plugin
API (thanks).
Add document_open_file() to plugin API.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1796 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-14 16:29:03 +00:00
Nick Treleaven
0f3ffc3b79 Add more information for adding a filetype.
2 minor edits.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1795 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-14 16:00:13 +00:00
Nick Treleaven
51f619f0ec Rewrite filetypes_get_from_uid() for easier maintenance.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1794 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-14 15:36:12 +00:00
Nick Treleaven
5be30988c8 Add comment about generating filetype_extensions.conf.
Update filetype_extensions.conf.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1793 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-14 15:24:01 +00:00
Nick Treleaven
b9c0dcdc8b Sort filetype groups alphabetically.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1792 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-14 15:11:54 +00:00
Nick Treleaven
2e454f7af5 Add reStructuredText filetype and parser.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1791 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-14 11:50:03 +00:00
Enrico Tröger
114b39994e Fix wrong debug message if a session file couldn't be loaded.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1790 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-13 18:27:19 +00:00
Enrico Tröger
66c2972afc Increase border space in credits tab and align developer names left.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1789 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-13 15:17:38 +00:00
Enrico Tröger
61a42e108f Don't use output redirection since the reST tools accept output filenames.
Apply patch from John Gabriele to add some tweaks/fixes (thanks).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1788 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-12 19:30:45 +00:00
Enrico Tröger
1077a80c0d Fix a runtime warning.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1787 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-12 09:20:52 +00:00