7094 Commits

Author SHA1 Message Date
Matthew Brush
87f5781258 Improve Docutils (and friends) support in Autotools
* Add `--enable-html-docs` and `--enable-pdf-docs` arguments
  (off by default)
* Add `RST2HTML`, `RST2LATEX` and `PDFLATEX` to override path to these
  tools.
* Add HTML and PDF doc status messages to configure summary
2014-04-27 18:04:39 -07:00
Colomban Wendling
5eb526f9d0 Improve implementation of utils_str_equal() 2014-04-27 22:36:25 +02:00
Colomban Wendling
8befd03b7c Force enabling API docs on distcheck 2014-04-27 19:02:31 +02:00
Colomban Wendling
1794be565c Remove unnecessary $(builddir) prefixes 2014-04-27 18:41:36 +02:00
Colomban Wendling
bde741ab43 Fix doc/Doxyfile.stamp rule portability
$< is only portable in suffix rules, so don't use it there.
2014-04-27 18:37:59 +02:00
Colomban Wendling
63a2f075f6 Merge branch 'ntrel/doc-macro-examples' 2014-04-27 18:06:01 +02:00
Colomban Wendling
d769e51e97 Fail if Doxygen is enabled but not found 2014-04-27 17:50:48 +02:00
Nick Treleaven
c67caf03a5 Fix unsigned >= 0 comparison warning 2014-04-27 16:39:08 +01:00
Nick Treleaven
916b65b661 Fix sign comparison warning 2014-04-27 16:38:37 +01:00
Nick Treleaven
5758b9ca67 Add foreach_document(), documents[] examples 2014-04-27 16:14:09 +01:00
Matthew Brush
5475d15b87 Remove comment noise from doc/plugins.dox and make it a build depend 2014-04-27 03:53:59 -07:00
Matthew Brush
747be883cd Re-enable Markdown support now that major bugs are fixed
I went through each link from the API docs and everything seems fine
since the extra leading whitespaces were removed in commits
`edaa6f713f1b8e037a56652da15032aac56e2227` and
`67ae7707364ecc09da8675803b48575d61b82fcf`.
2014-04-27 03:16:48 -07:00
Matthew Brush
206cc158a8 Remove some redundant path info from doc/Makefile.am 2014-04-27 03:06:07 -07:00
Matthew Brush
c5cefd20df Use improved Doxygen Autotools support 2014-04-26 23:29:43 -07:00
Matthew Brush
595b445984 Improve Doxygen support in Autotools build system
* Add `m4/geany-doxygen.m4` file
* Support `DOXYGEN` environment variable setting which Doxygen to use
* Support `--enable-api-docs` to activate building Doxygen docs
    (off by default)
2014-04-26 23:29:43 -07:00
Matthew Brush
93560c5e53 Support out-of-tree builds by not hardcoding paths 2014-04-26 23:29:43 -07:00
Colomban Wendling
67ae770736 Strip more double leading spaces 2014-04-27 04:31:28 +02:00
Colomban Wendling
edaa6f713f Strip double leading spaces
These are weird and break Doxygen Markdown support.
2014-04-27 04:11:31 +02:00
Colomban Wendling
82f556d2a5 Disable Markdown support in our Doxyfile
At least the "Plugin Writing Guidelines" and "Plugin HowTo" sections
are displaying undesirable side effects of Markdown support, so disable
it at least for now.
2014-04-27 04:05:07 +02:00
Colomban Wendling
bc4e76582b Merge branch 'scriptum/sidebar-middle-button-close' 2014-04-27 02:43:20 +02:00
Pavel Roschin
b28e5db7ce Close documents in sidebar with middle mouse button 2014-04-26 23:02:38 +04:00
Colomban Wendling
6cba1e0a47 Merge branch '1.24' 2014-04-16 18:58:31 +02:00
Colomban Wendling
b77e810199 Re-generate HTML manual 2014-04-16 17:19:22 +02:00
Colomban Wendling
b0cdf31d90 Set release date 2014-04-16 17:19:06 +02:00
Colomban Wendling
d775d28c22 Small update of the French translation 2014-04-15 15:59:23 +02:00
Colomban Wendling
5217d683ca Reword "Detect from file extension" from the open dialog
We don't actually detect from file extension only, and other references
of the feature always use "Detect from file", so use it also in the
open dialog.
2014-04-15 15:58:08 +02:00
Colomban Wendling
bb61dfcdc3 Add a translation context to the open dialog's "View" button
The "View" button string is the same as the View menu one, but one is
an action (verb) and the other a noun, and as such might need to be
translated differently.
2014-04-15 15:58:04 +02:00
Colomban Wendling
45f193a17a Merge branch 'cleaner-filetype-combo-box' 2014-04-15 15:57:26 +02:00
Colomban Wendling
aeab183ef2 Merge branch 'unified-encoding-combo-boxes' 2014-04-15 15:57:13 +02:00
Colomban Wendling
420891ae81 Group filetypes in the Open dialog filetype combo box
Display the filetypes in the Open dialog filetype combo box grouped,
as they are in the filetypes menu.

This makes it easier to select a filetype, because they are better
sorted and follows the filetypes menu layout.
2014-04-15 15:52:59 +02:00
Colomban Wendling
8c5e198cf1 Unify encoding combo boxes
Make all encoding combo box display a list with encodings grouped by
categories into sub-menus, making it easier to find the appropriate
encoding than in a big single-level list.

This is what was used in the Open dialog, but not in the Preferences
dialog or the Find in Files dialog.  This also makes the encoding
combo boxes behave more like the encoding menus.
2014-04-15 15:51:49 +02:00
Colomban Wendling
a851f87a62 Update NEWS 2014-04-15 14:59:07 +02:00
Matthew Brush
64bc67916d Distribute geany.gtkrc and geany.css files
Maybe they aren't dist'ed if they are in Automake conditional?
This probably makes both GTK2 and GTK3 files installed unconditionally.
2014-04-15 14:59:07 +02:00
Colomban Wendling
15a2366e36 Revision bump 2014-04-15 14:59:07 +02:00
Colomban Wendling
a96a2b08ce Cleanup documentation files installation
Don't use wildcards to select files to install, nor manually perform
the installation when Automake could do it for us.
2014-04-15 14:43:34 +02:00
Colomban Wendling
451d58a2dd Cleanup data files installation
Don't use wildcards to select files to install, nor manually perform
the installation when Automake could do it for us.

Using wildcards makes it hard to know what will really be installed,
and may results in installing files not part of the distribution.
2014-04-15 14:43:25 +02:00
Matthew Brush
d11066561e Merge pull request #242 from codebrainz/dist-gtkrc
Distribute `geany.gtkrc` and `geany.css` files
2014-04-14 19:50:50 -07:00
Matthew Brush
157b44f443 Distribute geany.gtkrc and geany.css files
Maybe they aren't dist'ed if they are in Automake conditional?
This probably makes both GTK2 and GTK3 files installed unconditionally.
2014-04-14 19:42:22 -07:00
Colomban Wendling
54f3c0a904 Merge branch 'wip/configurable-mime-type-gicon' 2014-04-14 20:32:59 +02:00
Colomban Wendling
1abee90434 Plug a memory leak 2014-04-14 20:27:35 +02:00
Colomban Wendling
3ec0369f47 Merge branch 'wip/configurable-mime-type--gicon' into wip/configurable-mime-type-gicon 2014-04-14 20:27:20 +02:00
Colomban Wendling
0b4ec549fc Merge branch 'scintilla-update-341' 2014-04-14 16:46:30 +02:00
Colomban Wendling
06068d38d8 Fix a typo in the update script 2014-04-14 16:37:29 +02:00
Colomban Wendling
9a41f919c1 Update mappings for new Scintilla 2014-04-14 16:36:05 +02:00
Colomban Wendling
b81c35e4e3 Fix const promotion with updated Scintilla 2014-04-14 16:34:19 +02:00
Colomban Wendling
6c5a0dd717 Update Scintilla to version 3.4.1 2014-04-14 16:25:01 +02:00
Colomban Wendling
d32ae83202 Apply filetype-specific indentation settings for newly opened files
Fix the check enabling filetype-specific indentation settings to also
pass if the document has no filetype set yet, e.g. when opening it.
2014-04-14 02:46:11 +02:00
Colomban Wendling
8f713377c4 Merge branch '1.25/safer-plugin_signal_connect' 2014-04-13 20:07:26 +02:00
Colomban Wendling
75542c6d3c Add defensive checks on plugin_signal_connect()'s sensitive arguments 2014-04-13 19:59:37 +02:00
Colomban Wendling
27a073f1a6 Make plugin_signal_connect() safe on any object
Watch the lifetime of objects referenced in plugin->signal_ids and
remove our references to them if they get destroyed.  This avoids
possibly trying to disconnect signals on destroyed objects when the
plugin is unloaded.

Supporting this case is safer, and is useful for objects that may or
may not outlive the plugin (like ScintillaObjects), because in such
cases plugin_signal_connect() is handy to make sure the signals are
disconnected if the object is still alive, but used to crash if the
object was destroyed.
2014-04-13 19:59:37 +02:00