9400 Commits

Author SHA1 Message Date
Thomas Martitz
78644a8260 msgwin: improve doxygen comments
Make the brief text be distinct between msgwin_*_add and msgwin_*_add_string().
Also add @see directives where appropriate. Lastly, add @since to
msgwin_status_add() for completeness.
2018-04-05 15:44:43 -04:00
Thomas Martitz
cb179943ad msgwin: beautify doxygen comments a bit 2018-04-05 15:44:43 -04:00
Thomas Martitz
d3417b7b37 api: add non-variadic variants of msgwin_*_add to the API
The variadic variants cannot be gobject-introspected, i.e. are not available
in  Peasy.

In fact, msgwin_compiler_add_string() and msgwin_msg_add_string() already
existed and have just been exported. msgwin_status_add_string() is new but
msgwin_status_add() becaume a wrapper around it in the same fashion as the
other two pairs.
2018-04-05 15:44:43 -04:00
Colomban Wendling
4d252c7a19 Merge pull request #1799 from b4n/plugin-manager/selection-on-double-click
Fix PM button desynchronization and possible crash
2018-04-03 17:52:19 -04:00
Colomban Wendling
11da5557a0 Skip the format specifier when loading a global tag file
This prevents loading a spurious tag for the format specifier line, as
well as fixing loading of CTags format with a format specifier line.

Before this change, the file pointer was rewound after reading a format
specifier line; but this had various unwanted side effects depending on
the recognized format:

* For TagManager and Pipe formats, it led to loading a tag named after
  the format specifier (e.g. a literal "# format=tagmanager").  This
  was fairly harmless and only introduced a spurious tag seldom even
  used because "#" isn't usually considered for looking up completions.
* For CTags format, having an explicit specifier led to failure to load
  the file in most cases because the specifier line would be parsed but
  doesn't usually follow the format's requirements, leading to early
  abortion loading that file.  On some very specific specifier lines
  actually following CTags format, it could have led to loading a
  spurious tag instead.

Fixes #1814 and closes #1816.
2018-03-23 00:48:18 -04:00
Frank Lanitz
7c6b4794b1 Small update of German translation 2018-03-17 18:45:20 +01:00
LarsGit223
6e4eece981 manual: added documentation about replacement of 'untitled.ext' with filename (#1804)
On "Save As..." a text in the form 'untitled.ext' will be replaced with the chosen
filename if it is found in the first 3 lines of the document. This PR adds a description
of the feature to the manual. Fixes #753.
2018-03-15 08:46:23 +10:00
LarsDW223
7fd73a06a7 keyfile: Output unescaped filename if session file cannot be opened
Fixes #779.
2018-03-13 18:55:01 -07:00
LarsDW223
08a60e3c7e spawn: Changed confusing macro name, fixes #1256 2018-03-13 20:04:53 +01:00
Frank Lanitz
e4bc8c3de1 Update of Swedish translation 2018-03-12 12:39:39 +01:00
Colomban Wendling
373852c737 Fix plugin manager UI synchronization on double click
When toggling a plugin, we temporarily set the tree store's row entry
for the plugin pointer to NULL as we destroy and reload the selected
plugin, and its pointer would be invalid in the meantime.  This results
in the filter we use to display search results to temporarily hide the
row, changing the actual number of rows and thus, depending on timing,
this will or will not change the selected row (it will when double
clicking, not when single-clicking), in a seemingly more or less random
fashion as we use a sorted model.

Finally, as we manually update the buttons visibility for the toggled
plugin (as we otherwise do only for changing selection, which should
not happen in this case -- well, most of the time as you can see), this
can lead to the buttons to be updated for a now unselected row, getting
those out of sync.

The fix here is not to actually hide rows with a NULL plugin, because
it can only happen in 2 cases, where we actually want to see it:

1. while toggling a plugin, as explained above, in which case it had to
   match the search already.
2. when there is no plugins and we want to display a "No plugins
   available" message, and the search should not affect this.

This incidentally also fix the "No plugins available" so it's actually
visible, instead of always hidden.

Fixes #1781.
2018-03-10 17:37:31 -05:00
Colomban Wendling
99150b0cca Check plugin actually has a help function before invoking it
This should not be needed in normal operation, but is safer if the UI
gets out of sync for some reason.
2018-03-10 17:23:29 -05:00
Colomban Wendling
175e45ab47 spawn: Add debugging information when switching to timeout source 2018-03-09 19:55:04 -05:00
Colomban Wendling
29d14b1c99 Merge pull request #1461 from zhekov/master
Handle continuous G_IO_IN-s without any data.

This fixes spawn clients using recursive sources, like the Scope
plugin.
2018-03-09 19:53:00 -05:00
Colomban Wendling
5a2f4b4010 Remove a double space in a string
Part of #1789
2018-03-01 16:45:45 -06:00
Frank Lanitz
09a1f9df1a Add Danish translation 2018-03-01 19:31:21 +01:00
scootergrisen
65a156f0bc Remove a space (#1790)
Should there not only be one space here?
2018-02-28 17:46:47 +01:00
Frank Lanitz
51d815ff44 Add missing space in string. Fixes #1789 2018-02-28 17:23:45 +01:00
Frank Lanitz
045a92a7a4 Update of Japanese translation 2018-02-28 17:20:27 +01:00
Skif-off
bcc8e70c8a Small fix of Russian translation (#1770) 2018-02-25 22:00:05 +01:00
Enrico Tröger
824b2cb660 Update copyright years 2018-02-25 15:47:55 +01:00
Enrico Tröger
6c531e7143 Post release version bump
Say hello to Geany 1.34 "Keong"!
2018-02-25 15:47:14 +01:00
Enrico Tröger
632575995e Merge branch 'master' of github.com:geany/geany 2018-02-25 14:00:45 +01:00
Frank Lanitz
e001518dcd
Add last minute update of Italian translation 2018-02-25 14:00:35 +01:00
Giuseppe
1bc1227372 updated it.po for 1.33 (#1783) 2018-02-25 13:59:41 +01:00
Enrico Tröger
b1ef8f0ccf Set release date 2018-02-25 13:58:51 +01:00
Enrico Tröger
d61b2b9c16 Update NEWS for 1.33 2018-02-25 13:43:50 +01:00
elextr
7d2e618211
Mention GTK 3 for the first time (#1780)
* Mention GTK 3 for the first time in HACKING and say how to select.
2018-02-25 18:03:50 +10:00
Frank Lanitz
f50e36efb6 Update NEWS with recent translations 2018-02-24 17:32:31 +01:00
Frank Lanitz
68090b9460 Update of Greek translation 2018-02-24 17:32:31 +01:00
agdo
d0ecf3c4d5 Updated tr.po - Fixed some misspellings (#1775)
Fixed misspellings
2018-02-19 18:13:11 +01:00
柳东原 LIU Dongyuan
e5accd6364 Update zh_CN.po (#1773) 2018-02-18 18:39:13 +01:00
Frank Lanitz
fd1d35f178 Update of Spanish translation 2018-02-18 10:33:24 +01:00
Frank Lanitz
d109311d81 Update of Latvian translation 2018-02-18 10:11:22 +01:00
Colomban Wendling
27fd8c25e4 Small update of the French translation 2018-02-15 23:00:09 -06:00
Frank Lanitz
f4f6ea8816 Update NEWS for 1.33 with updated trnaslation for now 2018-02-15 21:25:45 +01:00
Frank Lanitz
d94b4b8402 Update of Portuguese translation 2018-02-15 21:25:45 +01:00
Abel Serrano Juste
58aa099c3e Update of Spanish translation (#1771) 2018-02-14 07:46:38 +01:00
Andrej Herceg
69dd8298c2 Update of Slovak translation (#1769) 2018-02-13 18:52:39 +01:00
Frank Lanitz
8076b0d567 Make po files update for string freeze of Geany 1.33 2018-02-11 17:28:16 +01:00
Skif-off
cb84d1b877 Small update of Russian translation (fix fuzzy-string and other) (#1761) 2018-02-05 22:37:52 +01:00
Matthew Brush
16020ddc6c Add cast to GtkWidget* to match previous behaviour
This fixes minor problem which affected C++ plugins since
3e649dddef93723ebc2487d30023fc5f62d894ca where they would have to add
a the cast themselves.
2018-01-26 17:13:41 +01:00
Frank Lanitz
c3c1921c16 Small update of German translation 2018-01-18 23:35:35 +01:00
elextr
65097208df TravisCI: Remove requirement to fail build on aggregate return (#1740)
Returning large aggregates as values is a potential performance problem, but preventing all aggregate returns is inappropriate because:

1. returning small aggregates that are mostly handled as complete objects as return values often makes code clearer.

2. Modern (well not so modern actually) ABIs allow for small aggregates to be returned in registers, so forcing all returns to memory is actually likely to be slower.

3. if code review does not notice a large aggregate return and nobody notices a performance issue then it doesn't matter
2018-01-12 21:03:22 -08:00
Matthew Brush
cc035ab99d Merge branch 'gcc-warnings' 2018-01-12 14:07:49 -08:00
Matthew Brush
6622574172 Fix double context menu in Terminal tab
This was introduced in 1f71ccd because the VTE widget's existing
button-press handler didn't return `TRUE` and so the event propogated
up to the notebook showing both of their context menus.
2018-01-12 13:55:07 -08:00
Matthew Brush
7e1ab31c18 Return GdkColor via out parameter rather than return value
For some reason the TravisCI build has `-Waggregate-return` enabled as
an error even though it's completely valid code. Also constify the
input `color_name` argument to `load_color` function.
2018-01-12 13:45:38 -08:00
Matthew Brush
6b973bc70b Theme improvements (#1382)
* Improve GTK+3 theme loading

- Merge geany-3.0.css into geany.css
- Load geany-3.20.css to override if runtime version dictates
- Load geany.css from app->configdir if it exists.

* Add initial documentation for GTK+ CSS theming

* Add geany.css file to the `Tools->Configuration Files` menu

Also mark such config files as changed if they don't already exist to
force the user to save or discard any newly created config files.

* Allow customizing message window using GTK+ themes

* Improve GTK+3 CSS docs a bit

State which classes are meant to be overridden by themes.

* Go back to conditionally loading geany-3.0.css

It can't be merged into geany.css since GTK+ CSS parser doesn't ignore
invalid properties when prefixed with vendor extension (ie. -Gtk).

* Don't mark unedited config files as changed

They probably should be marked as changed since they don't exist on
disk yet, but for the time being leave it how it was.

* Fix misuse of CSS ID vs class in manual

* Minor colour value tweaks

Based on feedback from @b4n
2018-01-13 06:46:50 +10:00
Colomban Wendling
385fff7b27 Merge pull request #1642 from LarsGit223/NoActionCmd
Show status message on attempt to execute empty context action.
2018-01-11 22:18:16 -08:00
LarsDW223
01b0fc6a53 Show status message on attempt to execute empty context action.
If a user selects "context action" from the context menu then now the status message
'No context action set.' will be shown. Closes #1641.
2018-01-05 09:41:56 +01:00