7970 Commits

Author SHA1 Message Date
Colomban Wendling
1d9bb56c4a Fix incorrect safety check in non-regex search code
Only warn if MULTILINE is passed *together* with REGEX, but simply
ignore if it not.
2015-04-21 15:12:44 +02:00
Colomban Wendling
97ab68244c Fix "select-all" to work with any GtkTextView, not only the scribble
This makes the code more generic and allows the "select-all" keybinding
to work in any GtkTextView, e.g. potentially plugin's ones.
2015-04-20 22:24:50 +02:00
Colomban Wendling
2110fc785d Merge pull request #467 from pik/splitwindow
Fix basic callbacks to work with splitwindow

Closes #460 and #467.
2015-04-20 22:19:49 +02:00
pik
4c504c2be2 Reorganize select callback
* select_all now works with splitwindow
* select_all now works with file-browser pane
* menu_select_all now works everywhere select_all hotkey does
2015-04-20 22:16:35 +02:00
pik
c214056ea1 Fix callbacks to scintilla functions to work with splitwindow
* Use Scintilla focus object instead of notebook document to fix
  splitwindow behaviour for cut, copy, paste and delete callbacks.
* move else-if to same line (style)
2015-04-20 22:16:07 +02:00
Colomban Wendling
b839611e51 Merge branch 'ctags/make'
Import make parser improvements from fishman/ctags#272
2015-04-20 20:04:47 +02:00
Colomban Wendling
04c721c3b4 make: Avoid reading an uninitialized value on empty target names
Fixing this is however only theoretically useful, as:
* no actual code paths can currently lead to it;
* even if the code actually ended up reading the uninitialized value,
  it would still have a fully defined behavior as the result of the
  check is irrelevant in the only case the uninitialized read can
  happen.

Anyway, fix this to avoid any possible bad surprises in the future.
2015-04-20 20:01:18 +02:00
Colomban Wendling
39f359b09a make: Add support for GNU make pattern rules 2015-04-20 19:59:06 +02:00
Colomban Wendling
a11d67bb0b make: Fix handling comments inside rules
A line consisting only of blanks or comments should not end a rule,
even if it doesn't start with a tabulation character.
2015-04-20 19:53:28 +02:00
Colomban Wendling
2d31d8f836 make: Support for combined targets 2015-04-20 19:48:30 +02:00
Colomban Wendling
5bed3b58f3 make: Support for variable expansions in target names 2015-04-20 19:42:38 +02:00
Colomban Wendling
0d60359428 make: Fix incorrectly generating tags for rules content 2015-04-20 19:29:24 +02:00
Frank Lanitz
5e8c17eea2 Update of Portuguese translation 2015-04-20 07:43:57 +02:00
Dimitar Zhekov
c1db044b30 Separate spawn_read_cb() condition into input_cond and failure_cond 2015-04-19 19:17:44 +03:00
Enrico Tröger
26a417d04d Fix typo 2015-04-19 16:09:09 +02:00
Enrico Tröger
e3ef006d59 Drop the paragraph about self-hosted GTK API docs
We assume that the GTK 2.24 API docs will remain online in the long-term
so there is no reason why we should self-host those docs any longer.
This is the last missing bit of #245.
2015-04-19 16:04:26 +02:00
Enrico Tröger
3f89d8d6a3 Add translation block to properly set version information
This seems necessary to properly display version information
in the Windows Explorer file properties dialog.
I think it worked on older Windows versions without but
at least on Windows 7 this seems necessary.
2015-04-18 10:46:54 +00:00
Dimitar Zhekov
d8ad369f8e Merge branch 'master' of https://github.com/geany/geany into spawn
Conflicts:
	src/build.c
	src/tools.c
2015-04-18 12:31:41 +03:00
Dimitar Zhekov
902681d260 Fix for the broken I/O watch conditions on child exit under OSX
Under OSX, after child death, the read watches receive input
conditions instead of error conditions, so we convert the termination
statuses (ERROR and EOF) into their respective conditions. Should not
hurt the other OS.
2015-04-18 11:47:31 +03:00
Frank Lanitz
b8684a00f0 Merge pull request #472 from huth/fixes
Fix typos in comments
2015-04-18 09:43:07 +02:00
Thomas Huth
e9f4365a37 Fix typos in comments (discovered with the codespell utility) 2015-04-18 08:25:59 +02:00
Colomban Wendling
723f4302e0 autotools: Avoid building non-shared versions of the object files
libtool apparently builds every object twice by default when shared and
static objects need to be build differently.  As we never use the
statically linked objects, avoid building them at all.
2015-04-17 15:11:00 +02:00
Colomban Wendling
a98c9d5084 Merge pull request #468 from techee/link_warning
Compile prefix.c and osx.c only when needed to avoid warnings
2015-04-15 14:01:40 +02:00
Frank Lanitz
331a2bbab9 Update of Portuguese translation 2015-04-15 00:56:46 +02:00
Jiří Techet
83f261fd64 filebrowser: Add a flag to the tree model to indicate whether en entry is a directory
Used by the subsequent patch which changes "stock-id" to GIcon and
disables row type detection using FILEVIEW_COLUMN_ICON.
2015-04-14 23:49:22 +02:00
Jiří Techet
db4bf54b2f Compile prefix.c and osx.c only when needed to avoid warnings
When mac integration or binary relocation are disabled, the compiled
object file contains no symbols because the guards in the source files
hide all code. On OS X there's a warning during compilation saying:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
file: .libs/libgeany.a(libgeany_la-prefix.o) has no symbols

If these features are disabled, don't compile the corresponding
sources to avoid the warnings.

Interestingly, waf compilation works without warnings - it appears
linking is done through g++ which doesn't produce these warnings.
2015-04-14 22:21:34 +02:00
Enrico Tröger
b0f7f2859b Add a filter entry in the plugin manager dialog
Let the user filter plugins by searching the plugin names and descriptions.
While at it, group the plugin buttons into the dialog's action area to
save some space.
Rename OK button to Close in the plugin manager dialog
Set the input focus to the filter entry and set initial plugin button state
2015-04-14 22:18:28 +02:00
Enrico Tröger
31ae06f7e5 Merge pull request #466 from techee/waf_build_tree
waf: explicitly set the location of signallist.i and geany.html in the b...
2015-04-14 20:01:45 +00:00
Jiří Techet
f6fbda768e waf: explicitly set the location of signallist.i and geany.html in the build tree
On OS X signallist.i is always rebuilt because waf looks for it in the build
tree but generates it inside the source tree for some reason so it's
always missing in the build tree. Set the target explicitly to the
build tree to fix the problem.

Similarly, set the target for geany.html to the build tree. Thanks to this
waf also creates the 'doc' directory in the build tree which is otherwise
missing and the cwd command fails for this reason (e.g. when the
_build_ directory is removed).

These two task generators are the only ones that don't use the 'features'
parameter - the features in the other task generators should already
handle the source/build tree problems for us (see the Waf Book section
6.3.3. Nodes, tasks, and task generators).
2015-04-13 23:00:43 +02:00
Colomban Wendling
d97709ff86 Merge pull request #462 from techee/waf_install
waf: Disable build/install phase interleaving
2015-04-13 17:59:54 +02:00
Colomban Wendling
ab6c145d45 Merge pull request #457 from techee/icon2
Two more Geany icon updates
2015-04-13 17:57:54 +02:00
Colomban Wendling
d14ecd68c5 Add a missing accelerator in the French translation 2015-04-13 14:11:45 +02:00
Matthew Brush
d0a431e071 Remove pre-GTK+ 2.24 preprocessor checks and related code 2015-04-12 18:05:28 -07:00
Matthew Brush
bdc082cb77 Bump min. version of GTK2 to 2.24 and GLib to 2.28
Note: This is mostly search and replace. I've only tested with my
GTK+ 2.24.20 and not at all the Waf build system.
2015-04-12 18:05:28 -07:00
Enrico Tröger
a23f4b2d39 Remove deprecated and unnecessary use of GeanyFunctions declaration 2015-04-12 23:11:28 +02:00
Enrico Tröger
b9e090d2c8 Merge branch 'master' of github.com:geany/geany 2015-04-12 22:54:22 +02:00
Enrico Tröger
f032067443 Windows: Compile geany_private.rc into Geany.exe for version data and icon 2015-04-12 22:54:16 +02:00
Enrico Tröger
36f01551b2 Windows Installer: add geany-0.dll to the installer 2015-04-12 22:53:24 +02:00
Jiří Techet
a7ada396e2 icon: regenerate png/ico files based on the svg 2015-04-12 22:44:50 +02:00
Jiří Techet
ccfe8f23c1 waf: Disable build/install phase interleaving
When doing "./waf install" and some source files are modified
so they need to be rebuilt, the build and install phase can be
interleaved so one thread is still performing build while other
thread is already performing install tasks.

This appears to be a problem (at least on OS X) when some of
the Geany plugins are still being built and libgeany is already
being installed in parallel.

Create a separate group for the install phase to eliminate the
problem.
2015-04-12 20:57:17 +02:00
Colomban Wendling
d1a3ec1849 Small update of the French translation 2015-04-12 17:33:55 +02:00
Matthew Brush
87ee835ef2 Export scintilla_get_type() from libgeany
This is useful for plugins to be able to subclass the ScintillaObject
and use its full GObject features. The Overview plugin is one known
plugin that needs this.

Also update scintilla_changes.patch by running update-scintilla.sh
script with patch application commented-out and generating a reverse
diff using `git -R`, and manually remove `a/` and `b/` prefixes from
the resulting diff so it can be used with update-scintilla.sh script.
2015-04-11 13:35:11 -07:00
Matthew Brush
8bbe58cdf7 Fix a compiler warning about const 2015-04-10 18:52:46 -07:00
Colomban Wendling
f3078ebbc6 Merge branch 'kugel-/linkage-cleanup_rebase-for-merge'
This merges PR#429 with only small history cleanup (no code changes),
and ABI bump.

Closes #355, #358 and #429.
2015-04-10 16:54:30 +02:00
Colomban Wendling
5caf2b3e77 Bump ABI version for new linkage mechanism 2015-04-10 16:52:30 +02:00
Colomban Wendling
07dacb66d2 waf: Improve passing of export and visibility flags 2015-04-10 16:16:19 +02:00
Colomban Wendling
7ac4bf3d24 waf: Don't abuse static libraries
Instead of abusing static libraries putting shared objects in them, and
manually setting the flags required to build shared objects, use sets
of objects and Waf's own cshlib/cxxshlib flags.

Also explicitly call the appropriate build context method instead of
only listing features in order to make it clear what is built.

Some references:
* http://docs.waf.googlecode.com/git/book_16/single.html#_predefined_task_generators
* http://docs.waf.googlecode.com/git/book_16/single.html#_local_libraries
* https://code.google.com/p/waf/issues/detail?id=1398
2015-04-10 16:16:19 +02:00
Colomban Wendling
01db7f0cac Add signallist.i to gitignore 2015-04-10 16:16:19 +02:00
Colomban Wendling
5b9bb1d7b2 Include geanyplugin.h from geanyfunctions.h for compatibility
geanyfunctions.h used to bring all function declarations, and some
plugins depend on this side effect instead of properly including
geanyplugin.h directly.  So, reintroduce the behavior for
compatibility with those plugins.
2015-04-10 16:16:19 +02:00
Colomban Wendling
ede1faca54 Move GeanyFunctions declaration back in plugindata.h
This avoids breaking plugins that don't use geanyplugin.h as they
should but include some random headers.
2015-04-10 16:16:19 +02:00