9077 Commits

Author SHA1 Message Date
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
Matthew Brush
1f71ccd40a
Enable popup menu on sidebar and message window notebooks (#1726) 2017-12-21 17:40:57 -08:00
Matthew Brush
681c13841a Work around potentially uninitialized variable warning
Simply zero-initializes the variable.

Requires -O3 optimization level to trigger.
2017-12-20 18:59:16 -08:00
Matthew Brush
c61bc6784b Work around a -Wformat-overflow warning
Requires -O3 optimization level to trigger the warning.

Discussed in and fixes #1683
2017-12-20 18:58:49 -08:00
Matthew Brush
fce58626b1 Add 'fall through' comments and fix actual bug
To document when switch cases fall through intentionally, hiding the
warning by GCC at the same time.

Moved the break statement outside of the if conditional in keybindings.c
as I believe this was an actual bug found by GCC's warnings.
2017-12-20 17:22:51 -08:00
Matthew Brush
1b5deea612 Fix comparison between signed and unsigned integers
Where an enumerator was treated as signed.
2017-12-20 17:22:51 -08:00
Matthew Brush
36f44741b5 Remove some unused variables
These were introduced in #1470 and a fix was also provided in #1554.
2017-12-20 17:22:51 -08:00
Matthew Brush
43122ea7d9 Add more 'fall through' comments for switch cases
TODO: make sure these are actually meant to fall-through.
2017-12-20 17:22:51 -08:00
Matthew Brush
bf28794635 Adjust 'fall through' comments to be recognized by GCC
As per the documentation[0], GCC will silence these warnings when
the comments are formatted correctly.

[0]: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
2017-12-20 17:22:51 -08:00
Matthew Brush
243d55fa58 Fix missing initializer for field warnings in parsers 2017-12-20 17:22:50 -08:00
Matthew Brush
81144dc401 Fix missing initializer for field warnings
This is basically a false-positive by GCC since static variables are
unambiguously zeroed-out per the language standard, but the workaround
is simple enough.
2017-12-20 17:22:50 -08:00
Matthew Brush
dbd0573dd6 Fix comparison between signed and unsigned integers 2017-12-20 17:22:50 -08:00
Matthew Brush
63850b3eb7 Fix pointer and character constant comparison 2017-12-20 17:22:50 -08:00
Colomban Wendling
a46d8752dc Merge pull request #1650 from b4n/project-indent-settings-note
Add a note for applying the indent settings in the project preferences
2017-12-20 16:36:06 -08:00
Colomban Wendling
69a537dbd0 Merge pull request #1598 from b4n/symbols/more-robust-hierarchy
Fix the symbols tree hierarchy when several tags have the same name
2017-12-20 16:34:41 -08:00
Piotr Orzechowski
60b93105cb Fix Polish assembly translation (#1722) 2017-12-19 09:12:35 +01:00
Piotr Orzechowski
22fd1cb06b Update Polish translation (#1721) 2017-12-17 10:52:31 +01:00
Matthew Brush
39b894c3d8 Simplify confusing plugin howto code example 2017-12-04 04:51:49 -08:00
Colomban Wendling
f5fe073586 Merge pull request #1706 from b4n/document-items-tooltip
Add a tooltip showing the full path on menu items representing documents
2017-12-03 23:12:18 -08:00
Colomban Wendling
4a304e983c Fix critical when right-clicking on the document notebook outside a tab 2017-12-03 18:22:52 -08:00
Colomban Wendling
419550ab05 Add a tooltip showing the full path on menu items representing documents 2017-12-03 18:05:00 -08:00
Colomban Wendling
bd22fef060 CSS: Update Grid properties
See:
* https://www.w3.org/TR/css3-grid/#property-index
* https://drafts.csswg.org/css-grid/#property-index
* https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout#CSS_properties

Closes #1705.
2017-12-03 10:53:30 -08:00
Enrico Tröger
ca16aff4c5 Post release version bump
Say hello to Geany 1.33 "Gorgon"!
2017-11-19 13:57:22 +01:00
Enrico Tröger
80f33c8071 Remove spurious colon 2017-11-19 12:44:52 +01:00
Enrico Tröger
918b5f07f5 Set release date 2017-11-19 11:46:31 +01:00
Enrico Tröger
525952cebf Update NEWS for 1.32 2017-11-19 11:44:04 +01:00
Frank Lanitz
26985624ea Update of Greek translation 2017-11-16 23:04:50 +01:00
Colomban Wendling
4a5ccf748a Fix backward compatibility of the geometry saving setting
Keep the previous behavior if the user had disabled saving window
position and geometry, by using the existing setting as default for the
new one.
2017-11-14 23:11:34 +01:00
Colomban Wendling
667d0b5142 Fix indentation 2017-11-14 23:11:34 +01:00
LarsGit223
b0d3b5ed0f Close "Deleted from Disk" Infobar on Reload. (#1628)
Cancel 'MSG_TYPE_RESAVE' info bar if still open in function 'document_reload_force'.
This closes the "Deleted from Disk" message if the user clicks on the reload button.
Fixes #1330.
2017-11-14 23:02:00 +01:00
Frank Lanitz
66abc600f3 Update of Spanish translation 2017-11-13 14:18:33 +01:00