Commit graph

32417 commits

Author SHA1 Message Date
Michael Natterer
efe01acb5d app: formatting cleanup in the last commits, and a format string fix 2012-12-12 11:29:00 +01:00
Jehan
78b2778357 config: migration infrastructure to update configuration files.
This is a generic system based off regular expressions so it can be used
for any configuration file.
Some of the use cases would be for instance to clean out outdated custom
actions (hence remove some loading burden), or rename them (so that
users don't lose their customization if we rename actions), etc.
2012-12-12 16:48:13 +09:00
Jehan
8a935f05a0 actions: forgot an include which was triggering an "implicit declaration" warning. 2012-12-12 16:08:16 +09:00
Jehan
2ad8634c06 Bug 685559 - view-close action modified to close only an image view.
view-close was closing also toolbox docks if they had the focus. Now
this action will close only the current active image view (if any),
whatever the window which has actual focus.
Additionally all other view actions are available on dock focus.
2012-12-12 15:50:08 +09:00
Jehan
28669b07d1 actions: dock-close had a default shortcut colliding with view-close.
When the accelerator is NULL, gtk_action_group_add_action_with_accel()
would use the default one for the stock icon used. And GTK_STOCK_CLOSE
default accelerator is "<Primary>w" which we already use for view-close.
We must use empty string when we want no default accelerator.
2012-12-12 15:36:16 +09:00
Jehan
20c86f821d Bug 689523: data bootstrap initial values in the text style editor at construction.
This was causing first a visual issue where the style editor UI would
show no default font/size/style at instanciation, but even a crash
when the user would change the font size or style (bold, italic...)
from this UI before selecting a font or writing a text.
2012-12-12 12:36:24 +09:00
Michael Natterer
5629070538 Bug 688547 - Paint tools: preference 'Show pointer for paint tools'...
Change labels and tooltips to say "brush tool" or "brush-based paint
tool" to make clear that only these are affected by the setting.
2012-12-12 00:22:52 +01:00
Marco Ciampa
6db512f91a Updated italian translation. 2012-12-10 23:03:43 +01:00
Michael Natterer
b348678890 app: avoid inadvertent calls to image actions on file -> revert
When reverting, we load a new image into the old image's existing
displays, and replace all references to the old image by the new image
in all GimpContext instances. We used to first update the displays and
then the contexts, which would shortly produce an inconsistent state
where the contexts were out of sync. When updating the displays with
the new image, we sometimes call menu update functions which would
then use that old image from the context when they should use the new
one, and thus triggered callbacks as if the user had activated a menu
(like image -> precision). To fix this, update the contexts before the
displays. It is also more logical to first update model objects and
then view objects.
2012-12-09 22:54:30 +01:00
Kjartan Maraas
4b85c9e2d8 Updated Norwegian bokmål translation 2012-12-09 14:33:27 +01:00
Kjartan Maraas
24de02e3bd Updated Norwegian bokmål translation 2012-12-09 14:21:06 +01:00
Michael Natterer
0cfdf38726 app: port heal to RGBA float 2012-12-08 22:41:33 +01:00
Michael Natterer
084ba8f84f app: port smudge blending to RGBA float 2012-12-08 22:16:05 +01:00
Daniel Sabo
4c7dc6a494 app: cache values to speed up GEGL paintbrush
Cache values in GimpApplicator to avoid the overhead of gegl_node_set().
Don't reallocate paint_core->paint_buffer if it's already the correct size.
2012-12-08 19:54:24 +01:00
Daniel Mustieles
31314584af Updated Spanish translation 2012-12-08 19:18:25 +01:00
Michael Natterer
54618228e3 Bug 689572 - F1 appears remappable but isn't
Make any shortcut involving F1 unchangable in the shortcut editor.
2012-12-06 01:20:07 +01:00
Liam Quin
a268b7e03f Bug 689712 - Change default units of rotate colors plugin (rcm) from...
Degrees makes much more sense as default unit than radians.
2012-12-06 00:39:10 +01:00
Daniel Mustieles
6f878c516e Updated Spanish translation 2012-12-05 19:05:43 +01:00
Mukund Sivaraman
baf856e79d file-tga: Simplify has_alpha expression
Also fix variable name that changed from gimp-2-8 to master. This and
the last commit were cherry-picked from the gimp-2-8 branch.
2012-12-05 09:07:57 +05:30
Mukund Sivaraman
6d09237ca1 file-tga: Handle 16-bit palettes with transparency (#687802)
Primarily, this fixes a buffer overflow in the colormap buffer.

* We promote such images to GIMP_RGBA_IMAGE now.
* The alpha handling for the colormap to RGBA conversion has been
  fixed.
* Inverted transparency in upsampling has been fixed.
2012-12-05 08:51:12 +05:30
Mukund Sivaraman
b1dbfd2567 pdbgen: Regenerate C code 2012-12-05 08:48:54 +05:30
Mukund Sivaraman
914f04dcac pdbgen: Word-wrap return description
Also add punctuation where missing.
2012-12-05 08:46:25 +05:30
Sven Neumann
9b2e301c87 pdbgen: programmatically add hint about using g_strfreev()
Add the note about the need to free the returned string array
to the generated libgimp code. This way it will show up in the
libgimp documentation but not in the general PDB API.
2012-12-04 21:07:34 +01:00
Sven Neumann
c8209ddb4c Revert "pdb: update documentation for all pdb functions whose return can be freed with g_strfreev()."
Such comment should not be included in the general PDB
documentation as it is specific to the C bindings and can
be easily added by the pdbgen infrastructure.

This reverts commit c9888f2222.
2012-12-04 21:07:34 +01:00
Mukund Sivaraman
3477fc0bdd file-tiff-load: Fix loading of TIFFs containing old-style JPEG images (#688761)
This commit also moves the updated section of code, so that based on
worst_case, the image type and layer type are updated.
2012-12-04 13:54:42 +05:30
Michael Natterer
2e54d88ef2 app: fix the babl model of the "A u16" format
makes babl stats crash one line later...
2012-12-03 23:04:52 +01:00
Marco Ciampa
2372ed5e47 Updated italian translation. 2012-12-03 20:54:12 +01:00
Jehan
c9888f2222 pdb: update documentation for all pdb functions whose return can be freed with g_strfreev(). 2012-12-04 00:16:08 +09:00
Michael Natterer
d9280b88f2 app: remove the call to tile_swap_exit() from app_exit_after_callback()
It went unnoticed because its block is only built #ifdef GIMP_STABLE
2012-12-03 00:25:10 +01:00
Jehan
5d668971d7 display - run the file-open command when double-clicking in an empty shell. 2012-12-01 22:31:29 +09:00
Michael Natterer
d8a9804702 app: support GeglParamSpecSeed in generated operation UI
and add a "New Seed" button next to the random seed entry.
2012-11-30 02:58:48 +01:00
Michael Natterer
5f2afe333f plug-ins: port file-ico to GEGL 2012-11-30 01:38:23 +01:00
Nils Philippsen
c97de83080 add Changelog.pre-git to appease make distcheck 2012-11-29 14:03:04 +01:00
Michael Natterer
20477b6c08 plug-ins: port file-mng to GEGL 2012-11-29 01:30:34 +01:00
Michael Natterer
9c371064b7 plug-ins: fix the build in lcms.c 2012-11-28 09:25:34 +01:00
Michael Natterer
97e07e6476 Bug 662739 - Port to lcms2 for icc V4 profile support
Need to copy the alpha channel manually, lcms doesn't touch it.
Fixes converting layers with alpha.
2012-11-28 00:44:46 +01:00
Michael Natterer
c77fc779db libgimp, plug-ins: use g_strfreev() to free PDB string arrays 2012-11-27 21:16:26 +01:00
Michael Natterer
67dda14e77 plug-ins: cleanup in the recently GEGL-ported plug-ins
Mostly formatting consistency paranoia.
2012-11-27 20:58:05 +01:00
Michael Natterer
e61b1f7603 pdb: return NULL terminated stringarrays from libgimp PDB wrappers
so they can be freed with g_strfreev().
2012-11-27 20:50:21 +01:00
Jehan
d8456b5d47 pdb - update documentation comments the right way.
PDB functions must be updated from *.pdb files as *_pdb.c files are
generated by make.
2012-11-28 00:57:23 +09:00
Jehan
5c6c55e50a Bug 685557 - fix closing and saving a new image.
Current implementation had 2 issues, fixed by this commit:
1/ after the file save dialog is closed, the image would not close.
2/ if you switched the visible tab before saving the new image, it
would save and close the visible tab, instead of the expected one.
2012-11-27 23:57:24 +09:00
Jehan
ee71ed65a4 pdb - update documentation comments.
Update various doc comments of pdb functions where returned value has
to be freed with g_free() after usage.
2012-11-27 23:55:09 +09:00
Michael Natterer
3d8341b6e8 app: temp HACK: provide an "RaGaBaA float" buffer to gegl:transform
so we can quickly test the effects proper caching in GEGL itself would
have.
2012-11-27 14:46:42 +01:00
Marek Černocký
057c2b744a Updated Czech translation 2012-11-26 11:00:25 +01:00
Marek Černocký
16c967e502 Updated Czech translation 2012-11-26 10:30:46 +01:00
Michael Natterer
9247c89852 plug-ins: port file-xpm to GEGL 2012-11-26 02:39:44 +01:00
Michael Natterer
0b48c55fc3 plug-ins: port file-pnm to GEGL 2012-11-26 01:32:12 +01:00
Marek Černocký
3be8c68a5d Updated Czech translation 2012-11-26 00:02:58 +01:00
Michael Natterer
0b388d1dde configure: remove all traces of gthread, it's not needed any longer
Thread support moved into GLib and is enabled unconditionally.
2012-11-25 22:40:12 +01:00
Michael Natterer
d7ca2da6ce Bug 662739 - Port to lcms2 for icc V4 profile support
Fix undo in the lcms plugin.
2012-11-25 20:21:11 +01:00