Commit graph

34727 commits

Author SHA1 Message Date
Michael Natterer
69f6d7fc8a app: don't ref the tool options GUI in gimp_tool_options_editor_dispose()
They are kept alive by a ref owned by GimpToolOptions, refing them
here made them all being leaked on exit.
2014-10-09 00:35:57 +02:00
Michael Natterer
88e8fbce17 app: remove unclear fix from gimp_tool_options_editor_tool_changed()
It was introduced in e7ade3f8ec. The
g_return_if_fail() is IMO useless, the actual fix (which I kept) was
pulling the call to gimp_tool_options_editor_presets_update() inside
the if().
2014-10-09 00:33:33 +02:00
Michael Natterer
ba065a31ec app: don't leak the GFileInfo in file_open_image() and file_save() 2014-10-07 15:23:19 +02:00
Michael Natterer
cd505dbd02 app: don't leak "display_file" in gimp_image_format_display_uri() 2014-10-07 15:22:49 +02:00
Michael Natterer
fe8cb9788b Bug 738037 - Wrong order of parameters in the Sobel plugin
Get the parameters from the right PDB arguments (parameter index was
off-by-one).
2014-10-07 13:22:19 +02:00
Michael Natterer
e6ce0dda9d app: free the default brush, pattern etc in gimp_finalize()
and print a warning if there are any contexts left in gimp->context_list.
2014-10-06 20:35:24 +02:00
Michael Natterer
2aec36a899 app: don't leak "buffer" in gimp_interpreter_db_add_binfmt_misc() 2014-10-06 20:34:56 +02:00
Michael Natterer
aa6024dc93 app: don't leak all results from separate_uline_pattern() in GimpSpinScale 2014-10-06 20:34:22 +02:00
Michael Natterer
230e03ac40 app: don't leak the gimpdir GFile in app_run() 2014-10-06 20:33:47 +02:00
Michael Natterer
23d3f5aa47 libgimpconfig: don't leak "expanded" in gimp_config_path_expand_to_files() 2014-10-06 20:33:09 +02:00
Michael Natterer
d0608fce22 libgimpmodule: disconnect from the modules' "modified" signal
when GimpModuleDB is finalized.
2014-10-06 20:32:20 +02:00
Michael Natterer
7cbb04c0f9 libgimpwidgets: don't leak the empty_iter in GimpIntStore 2014-10-06 20:31:51 +02:00
Michael Natterer
fa070d4cf9 modules: plug leak in color-selector-cmyk
Don't leak the RGB profile if the CMYK profile can't be loaded
2014-10-06 20:29:58 +02:00
Michael Natterer
d9cebfadb0 plug-ins: 64bit double saving support for file-fits
Quickly hacked up, loads again using the plug-in.
2014-10-06 13:37:00 +02:00
Michael Natterer
2e79dfc8da plug-ins: port file-xbm-save to GIO 2014-10-05 18:06:03 +02:00
Michael Natterer
aed2742bdb plug-ins: remove obsolete includes from file-html-table 2014-10-05 17:04:44 +02:00
Michael Natterer
86345dc0aa plug-ins: port file-html-table to GIO 2014-10-05 16:59:16 +02:00
Michael Natterer
b831ab72c4 plug-ins: merge 4 entry callbacks into one in file-html-table
And some general cleanup.
2014-10-05 16:42:31 +02:00
Michael Natterer
849481a861 Clean up code around calls to g_file_replace()
- use G_FILE_CREATE_NONE instead of 0
- don't put "Could not open <file> for writing: <error>" around the
  returned error, the returned message is already verbose
2014-10-04 02:44:54 +02:00
Michael Natterer
98c184f0ad plug-ins: rename output_printf() to simply print() in file header 2014-10-04 02:30:37 +02:00
Michael Natterer
b971b5b316 plug-ins: port file-header to GIO 2014-10-03 23:40:13 +02:00
Mukund Sivaraman
bcf16161e6 file-bmp: Use cleaner serialization (sign) 2014-10-03 11:58:42 +05:30
Mukund Sivaraman
db18c1f172 file-bmp: Fix final bfSize patched into BMP header (#737669) 2014-10-03 11:10:26 +05:30
Thomas Manni
dbfbc221a5 Bug 736232 - Strange result using transparent layer, blending modes...
...and layer opacity

Use a temporary variable to store intermediate result instead of
writting 2 times to the output buffer, because input and output
buffer might be the same.
2014-10-03 00:17:49 +02:00
Michael Natterer
7ee69c3053 Bug 737583 - Fix static placement of Chinese IME window
Call gtk_im_context_set_cursor_location() whenever we draw the text
tool cursor or start a preedit sequence.
2014-10-03 00:04:24 +02:00
Michael Natterer
6c2b0c66bb etc: s/tools-value-1-*/tools-opacity-*/ in the default controllerrc
The actions were renamed a while ago, this change fixes the default
mapping.
2014-09-29 21:57:33 +02:00
Jehan
56c2e19733 Removes various easy compilation warnings. 2014-09-28 18:18:00 +02:00
Michael Natterer
c5ed3e56c9 Bug 735505 - Weird Characters in Zoom Button
On windows, use a normal space instead of U+2009 THIN SPACE for
separating the scale percentage from the percent sign.
2014-09-27 23:48:39 +02:00
Michael Natterer
4fdfe10b29 app: move the XCF version logic to gimpimage.[ch]
Add gimp_image_get_xcf_version() and use it when saving XCFs. The
function also returns GIMP versions in integer (comparable) and string
form to be used by GUI logic that allows to save compatible files.
2014-09-27 20:38:43 +02:00
Mukund Sivaraman
be45ec02dc Revert "file-gif-save: Export images in non-interactive run mode (Bug #698450)"
This reverts commit 197280311a.
2014-09-26 16:39:49 +05:30
Mukund Sivaraman
197280311a file-gif-save: Export images in non-interactive run mode (Bug #698450) 2014-09-26 13:36:32 +05:30
Mukund Sivaraman
2821d77e0c file-gif-load: Fix proto (Bug #737375) 2014-09-26 09:01:47 +05:30
Mukund Sivaraman
68cb57d97e file-gif-load: Try to use as much as possible of broken GIF file (Bug #737375) 2014-09-26 08:49:59 +05:30
Michael Natterer
1671955655 app: allow to change the affected channels on a running filter
Connect GimpImageMap to the GimpImage's "component-active-changed" signal
and update the channels affected by the filter.
2014-09-25 23:40:05 +02:00
Michael Natterer
fe3c0e4020 Bug 732787 - Posterize doesn't work as expected with alpha channel
GimpOperationPosterize: also posterize the alpha channel. Seems like a
no-brainer to me, and is actually useful (see bug). The old behavior
is still available by simply disabling the alpha channel in the
channels dialog.
2014-09-25 23:12:35 +02:00
Mukund Sivaraman
7d3aafe323 file-pdf-save: Fix param index (Bug #736281) 2014-09-26 00:20:01 +05:30
Mukund Sivaraman
2377c8c2a9 file-gif-load: Fail early in several other places if GetDataBlocks() fails (Bug #737375) 2014-09-25 23:51:35 +05:30
Mukund Sivaraman
55150487ff file-gif-load: Fail early if GetCode() fails (Bug #737375) 2014-09-25 22:48:42 +05:30
Michael Natterer
fa92203dd0 Bug 601139 - Gifg no longer usable with the new brush behavior
Call gimp_context_set_brush_default_size() after each
gimp_context_set_brush() which restores the original
behavior of the plug-in.
2014-09-25 00:24:34 +02:00
Dimitris Spingos
824b334702 Updated Greek translation 2014-09-22 08:40:58 +03:00
Michael Natterer
90c967a39f Bug 737008 - Curve color always black
Don't hardcode "black" for the "Value" curve in GimpCurvesTool.
Instead, pass a NULL color to GimpCurveView, which is then interpreted
as the theme's text color (the curve's background is the theme's text
background color). We still hardcode pure red, green and blue for the
other curves.
2014-09-21 12:32:23 +02:00
Andika Triwidada
c491b4f6ef Updated Indonesian translation 2014-09-21 07:52:27 +00:00
Andika Triwidada
39af85d96d Updated Indonesian translation 2014-09-20 15:00:54 +00:00
Christian Kirbach
c00a30689f Updated German translation 2014-09-18 17:37:34 +00:00
Michael Natterer
e2630ae322 app: argh, fix last fix... 2014-09-17 22:31:43 +02:00
Michael Natterer
16f6b57a5d app: link test-config against Z_LIBS 2014-09-17 12:57:55 +02:00
Michael Natterer
0cceaff828 Bug 721482 - Make language codes relocatable
Manually picked one line of ef0ef921b8
that makes parse_iso_codes() find the iso-codes package in the bundle
on OS X.
2014-09-17 12:47:21 +02:00
Michael Natterer
98dddc3866 app: OS X specific "About" menu label
Manally picked that change from commit 7a75d4df from gimp-2-8.
2014-09-17 12:22:25 +02:00
Michael Natterer
9095f8998d app: link against Z_LIBS 2014-09-17 00:21:41 +02:00
Jehan
ce2bb29605 app: do not use g_error() for non-fatale errors...
and g_warning() for programming errors only.
Use g_printerr() for "normal" errors which may happen in a program
lifetime (in particular corrupted XCF file errors are not necessarily
programming errors).
2014-09-17 00:18:15 +02:00