Commit Graph

30407 Commits

Author SHA1 Message Date
1d1fd1a35d blinds: Remove dead variables and assignments 2011-10-10 09:46:57 +05:30
e922a7bfda app: Update Jarvis march implementation
The output of transforms can result in the transformed points being
passed out of order to gimp_transform_resize_crop().  The Jarvis march
method is used to find the convex hull of the points to get them in a
known order, before performing the crop operation.

Static analysis found a bug in the Jarvis march algorithm, but when we
looked at the code, we could no longer follow it. So a slightly
rewritten version is committed here without the static analysis bug.
2011-10-10 09:19:49 +05:30
fffd1920e2 app: don't hardcode MOD2 in GimpContainerTreeView either
Add new utility function gimp_get_all_modifiers_mask() which returns
all modifiers used for "useful" things on the current platform, like
in the commit below.
2011-10-10 00:17:20 +02:00
6bee9df474 libgimpwidgets: don't hardcode GDK_MOD2_MASK for extended clicked
Instead, check for all sorts of modifiers from the new
gtk_widget_get_modifier_mask(), which are always right
on the current platform.
2011-10-09 23:59:40 +02:00
6c660e7ad5 app: add property GimpDataFactoryView:action-group
and remove the public gimp_data_factory_view_construct().
2011-10-09 22:12:32 +02:00
b3db7e6c4e app: rename all tool-preset dialog related things to "tool presets"
not just "tool preset". It's also "brushes", "patterns" etc. and not
just "brush" or "pattern".
2011-10-09 21:55:58 +02:00
04e8ae8435 app: add menu-related properties to GimpContainerEditor
and remove the public gimp_container_editor_construct(), so this class
behaves like a proper object now.
2011-10-09 21:45:02 +02:00
4ba905052b app: remove most code from the public gimp_container_editor_construct()
and move it to GObject::constructed().
2011-10-09 21:19:14 +02:00
5f3b3dafb9 app: add view-size and view-border-width props to GimpContainerEditor
and remove them from the various public construct() functions.
2011-10-09 21:04:49 +02:00
bef55fbb66 app: add view-type, container and context props to GimpContainerEditor
and remove them from the various public construct() functions. Had to
change construction in GimpDataFactoryView slightly because of GObject
construct property constraints.
2011-10-09 20:40:56 +02:00
3bf3b55536 app: add property GimpDataFactoryView:data-factors
and remove it from the evil public construct() function.
2011-10-09 19:08:31 +02:00
1aa75af9bf app: fix indentation in dialogs-constructors.c 2011-10-09 17:46:00 +02:00
3f68280f4a Added Telugu Translation 2011-10-09 15:00:30 +05:30
bfab2d44d1 Updated Telugu Translation 2011-10-09 15:00:07 +05:30
11239c4b17 app: don't use g_list_length() to check if a list is empty 2011-10-09 00:27:53 +02:00
d310dacbb1 app: remove "foo && " from "foo && GTK_IS_FOO (foo)" 2011-10-09 00:18:56 +02:00
94d2ee7bcb pdb: restore the ability to reset the dither matrix to default 2011-10-08 20:28:38 +02:00
02038d5dd3 pdb: set_dither_matrix(): check that the matrix array has the right size
Fixes a way to easily crash GIMP.
2011-10-08 16:40:44 +02:00
42756159b5 pdb: Mark more pdb args as dead, and regen code 2011-10-08 19:25:32 +05:30
61660b33d0 pdb: Mark various pdb args as dead, and regen code 2011-10-08 19:13:03 +05:30
6469290439 pdb: Add functionality to drop codegen for dead args 2011-10-08 19:02:09 +05:30
c8eac767e6 file-xwd: Indent code 2011-10-08 18:38:14 +05:30
ba71d7b40f file-xwd: Don't bother with return value of set_pixelmap() 2011-10-08 18:37:58 +05:30
7693791223 curve-bend: Remove redundant assignment and move variable to local block 2011-10-08 18:33:04 +05:30
16f7aafdbb file-jp2-load: Delete dead variable and assignment 2011-10-08 18:30:21 +05:30
58252b23d3 app (vectors): Remove redundant assignment 2011-10-08 18:28:00 +05:30
f18946484f color-rotate: Remove dead assignment 2011-10-08 18:25:58 +05:30
9a3ee43ff6 app: Remove redundant assignment 2011-10-08 18:24:55 +05:30
e05af3cafb app (vectors): Delete dead assignments 2011-10-08 18:22:06 +05:30
1b52b1d3fa nl-filt: Remove inline from functions 2011-10-08 18:19:25 +05:30
ea88059cf4 nl-filter: Remove dead assignment 2011-10-08 18:18:02 +05:30
dd33ca10ea tile: Delete dead variables and assignments 2011-10-08 18:15:40 +05:30
a7e218ba51 file-psd: Delete dead variable and assignment 2011-10-08 18:12:57 +05:30
875043dbb4 warp: Delete dead variable and assignment 2011-10-08 18:11:36 +05:30
b7c303e5c2 app (fonts-actions): Delete dead variables and code 2011-10-08 18:10:09 +05:30
9a86ba6393 flame: Remove static condition 2011-10-08 18:07:31 +05:30
68704eeb0b flame: Remove dead assignment 2011-10-08 18:05:39 +05:30
2712cb1109 file-ps: Delete dead variable and assignment 2011-10-08 18:03:03 +05:30
54b0e41479 despeckle: Rename variables for better clarity 2011-10-08 08:19:57 +05:30
ca650844c2 xcf: use only one bit to save expanded state 2011-10-07 20:05:52 +02:00
89d3869760 app: update GimpBlendTool's status when Alt is pressed/released 2011-10-07 01:39:53 +02:00
374f4e5628 app: let GimpContainerTreeView's parent class handle MOD2-click 2011-10-07 01:02:54 +02:00
e5edb1188d app: more s/GDK_CONTROL_MASK/gimp_get_toggle_behavior_mask()/ 2011-10-07 01:02:54 +02:00
e2feb0c16f app: use gtk_widget_get_modifier_mask() in GimpWindow
to figure the primary accel modifier, so this code is now generic.
2011-10-07 01:02:54 +02:00
efd9906e85 app: remove gimp_get_mod_separator(), it's unused now 2011-10-07 00:34:43 +02:00
23dca3b522 app: don't use gimp_get_mod_reparator() for the source tool status
The new code is just as broken from an i18n point of view, but at
least looks right if translated right. Add translator comments to the
used strings in the clone and heal tools.
2011-10-07 00:34:43 +02:00
a38faefba7 app: use toggle_behavior_mask not CONTROL to trigger zoom-on-scroll 2011-10-07 00:00:42 +02:00
1bff8224ad app: use the toggle_behavior_mask instead of CONTROL to pick BG
And don't use gimp_get_mod_separator().
2011-10-07 00:00:42 +02:00
2ee5dbb98c app: use toggle_behavior_mask instead of CONTROL in GimpThumbBox
Also, don't use gimp_get_mod_separator() but a translatable "-"
because the separator is empty on OSX.
2011-10-07 00:00:42 +02:00
c7d9988a7f app: make gimp_suggest_modifiers() work on OSX
by checking for gimp_get_toggle_behavior_mask() instead of
GDK_CONTROL_MASK. This is a total hack but happens to simply
do the right thing on all platforms.
2011-10-06 22:56:05 +02:00