2789 Commits

Author SHA1 Message Date
Nick Treleaven
f56cad490e Remove data_ptr argument to foreach_[s]list() macros, as using
node->data is enough sometimes; this makes the macro a bit more
efficient too.
Add foreach_[s]list() macros to the plugin API docs.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3862 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-12 15:32:35 +00:00
Nick Treleaven
6dc41e053e Don't autocomplete in unterminated strings as well.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3861 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-12 15:22:32 +00:00
Nick Treleaven
72b7390e6c Fix type definitions being parsed as functions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3860 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-12 12:21:29 +00:00
Nick Treleaven
d0b4f550d1 Backport fix from Scintilla CVS:
Pascal lexer hanging on file that starts with 'interface' after
whitespace.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3859 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-11 14:25:20 +00:00
Enrico Tröger
ed63abb871 Overwrite installation prefix on Windows only if it wasn't specified explicitly.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3858 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-11 09:48:09 +00:00
Enrico Tröger
0b79e13674 Update Waf to 1.5.7.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3855 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-11 09:01:11 +00:00
Enrico Tröger
2e0a48e9a4 Fix doxygen warnings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3854 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-10 20:36:21 +00:00
Enrico Tröger
cbe71f145e Fix wrongly set return values for procedures (closes #2803945.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3853 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-10 18:42:13 +00:00
Enrico Tröger
f0a4e5cdc0 Display calltips for Pascal symbols in the Pascal way (#2803945).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3852 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-10 18:24:44 +00:00
Nick Treleaven
380cb1fc6b Autocomplete scoped fields like struct members when typing '.' (and
also '->' or '::' in C/C++).
Save all tag types for C/C++ when generating a global tags file, so
we can use autocompletion for structs also.
Merge tm_workspace_find_scope_members(),
tm_workspace_find_namespace_members() (currently not built) from
Anjuta 2.24.1 tagmanager.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3850 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-10 12:36:13 +00:00
Enrico Tröger
dcc89a6f61 Parse Pascal calltips (closes #2802640).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3849 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-09 21:02:46 +00:00
Nick Treleaven
aa4e9831c4 Add filetypes.common Configuration Files menu item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3848 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-09 14:39:28 +00:00
Enrico Tröger
583c4bdd09 Add support (configure, build and install) for building on Windows and cross-compiling for Windows using the Waf build system.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3847 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-08 19:59:48 +00:00
Enrico Tröger
17657b71c9 Add backslash to the wordchars on Windows when using 'Open Selected File'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3846 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-08 19:16:23 +00:00
Nick Treleaven
60c7d9e5cf Fix segfault on parsing a filetypes.* style definition that has < 4
fields.
Allow style definitions to have missing fields to use the default
style fields.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3843 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-05 15:59:58 +00:00
Enrico Tröger
6f0d6d79ab When closing a document, mark it as invalid before removing it from the documents notebook (this fixes wrong Save All button state when closing an unsaved document because the "switch-page" signal handler was using old data).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3842 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-05 15:57:01 +00:00
Nick Treleaven
1ec6e31584 Fix redrawing due to colourising just after the document is first
drawn. Now colourising should happen before the first draw.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3841 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-05 15:49:55 +00:00
Nick Treleaven
e719cecd24 Set status bar text instead of showing a dialog when saving
ui_toolbar.xml because the user might save several times.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3840 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-05 15:45:44 +00:00
Enrico Tröger
2555d3ba1c Add build_settings section to allow executing Matlab scripts.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3839 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-05 15:35:47 +00:00
Enrico Tröger
5de4dc54e8 Fix wrongly created header guards when the class filenames contains dashes (patch by PCMan, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3838 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-05 15:09:04 +00:00
Enrico Tröger
459d9e2962 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3837 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-05 14:00:08 +00:00
Nick Treleaven
e01537fe3e Support toggling bold/italic when using a named style, e.g.:
commentdockeyword=commentdoc,bold,italic
Improve named style docs.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3836 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-03 15:42:01 +00:00
Nick Treleaven
94025e5f89 Only use ":::" context separator for Conf, ReST, not all Misc group.
(Minor edit of yesterday's changelog.)


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3835 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-02 14:45:23 +00:00
Enrico Tröger
09f5851d79 Fix crashes when parsing the output of a compiler which reports errors on line 0.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3834 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-01 21:51:33 +00:00
Nick Treleaven
34a67a9269 Fix grouping functions/classes under a nested function.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3831 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-01 15:41:24 +00:00
Nick Treleaven
221b3fda3a Fix grouping symbol list children when parent name has "." character
in for reStructuredText and Conf filetypes (and any in the Misc
group).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3830 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-01 15:21:55 +00:00
Nick Treleaven
fd2f43911d Update docs for named styles in filetypes.* files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3829 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-01 14:37:53 +00:00
Nick Treleaven
f678ee105a Support named styles also for filetypes.common [styling] entries.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3828 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-01 13:46:21 +00:00
Enrico Tröger
11cb3f9efe Add 'Replace' toolbar button (closes #2798225).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3827 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-30 14:09:55 +00:00
Enrico Tröger
5f54fba3a2 Adjust icon paths (patch by Dominic Hopf, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3826 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-30 13:48:33 +00:00
Nick Treleaven
9d0abef4ee Implement named styles support for filetypes.* using a
filetypes.common [named_styles] section e.g.:
foo=0xc00000;0xffffff;false;true
bar=foo
These can be used in e.g. filetypes.c as:
comment=foo



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3825 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-30 11:57:56 +00:00
Enrico Tröger
a073209940 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3822 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-28 20:22:12 +00:00
Frank Lanitz
e82f8d512f Add Luxembourgian translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3821 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-28 19:45:23 +00:00
Enrico Tröger
89c442d38a Properly terminate the resulting strings when reading the stdout and stderr of any spawned commands on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3819 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-27 18:34:39 +00:00
Enrico Tröger
538f2f5d25 On Windows, fallback to the literal build command line if searching for the command in the system path failed (related to #2795923).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3818 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-27 18:00:05 +00:00
Enrico Tröger
60797701e5 Remove quote_executable() as it is not used anymore.
When creating the geany_run_script.bat use the "%0" variable expansion and quote it for the "del" command (closes #2797172).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3817 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-27 17:21:51 +00:00
Enrico Tröger
8abccc9bea Move the icons geany.png and geany.ico into the icons directory.
Add a 16x16 pixel Geany icon and the scalable SVG icon.
Drop the pixmaps directory.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3816 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-26 20:45:36 +00:00
Enrico Tröger
801d9f831b Fix wrong initialisation of the default project path button callback in the preferences dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3814 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-26 19:49:18 +00:00
Nick Treleaven
2364b504fe Improve MRU document switching so there are no duplicates in the
list and documents switched to whilst the dialog is open are
ignored. Also beep when cycling through to the first document in the
list.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3811 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-22 14:50:34 +00:00
Enrico Tröger
c27b3a5caa Fix broken 'Cancel' button in the Save As dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3810 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-21 19:19:12 +00:00
Nick Treleaven
5acdfaf4e0 Parse Python calltips.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3809 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-20 15:38:04 +00:00
Nick Treleaven
3b9840dafb Show current document in bold in tab popup menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3808 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-20 15:01:04 +00:00
Nick Treleaven
9164411390 Fix multiline indent when selection covers text on the last line.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3807 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-20 14:42:55 +00:00
Enrico Tröger
b0b8c0c91c Fix quoting the build command string on Windows (closes #2791769). This broke when we made build commands run synchronously on Windows, now we don't need to special quote the commands anymore.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3806 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-19 21:06:04 +00:00
Enrico Tröger
cf531e4347 Make some locally only used functions static.
Fix wrong sanity check.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3805 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-19 20:17:37 +00:00
Enrico Tröger
bf179fa14d Parse Python import statements to get symbol completion for the imported module names.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3804 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-19 20:17:21 +00:00
Nick Treleaven
9f7e908624 Drop rest of word to the right of cursor when autocompleting (do we
need a pref for this?).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3803 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-19 11:21:18 +00:00
Nick Treleaven
2edecade6b Make indenting with the Tabs indent type preserve spaces on the line,
so it works for the 'tab indents, space aligns' formatting style.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3802 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-18 15:17:48 +00:00
Nick Treleaven
14479d1729 Update manual for MRU switching.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3801 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-18 15:01:21 +00:00
Nick Treleaven
2f31df28f7 Add sci_set_selection().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3800 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-18 14:51:37 +00:00