Commit Graph

30462 Commits

Author SHA1 Message Date
Mukund Sivaraman 9ab50f28e3 help-browser: Delete dead variable and assignment 2011-10-10 09:57:58 +05:30
Mukund Sivaraman 6fe92ac75b file-ps: Change list of ifs to switch 2011-10-10 09:56:32 +05:30
Mukund Sivaraman 0a5954d8e0 screenshot: Delete dead variable 2011-10-10 09:54:08 +05:30
Mukund Sivaraman e18430e118 app (actions): Remove dead variables and code 2011-10-10 09:53:24 +05:30
Mukund Sivaraman 7b25fdc298 sphere-designer: Remove dead variable and assignment 2011-10-10 09:49:54 +05:30
Mukund Sivaraman 1d1fd1a35d blinds: Remove dead variables and assignments 2011-10-10 09:46:57 +05:30
Mukund Sivaraman 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
Michael Natterer 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
Michael Natterer 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
Michael Natterer 6c660e7ad5 app: add property GimpDataFactoryView:action-group
and remove the public gimp_data_factory_view_construct().
2011-10-09 22:12:32 +02:00
Michael Natterer 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
Michael Natterer 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
Michael Natterer 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
Michael Natterer 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
Michael Natterer 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
Michael Natterer 3bf3b55536 app: add property GimpDataFactoryView:data-factors
and remove it from the evil public construct() function.
2011-10-09 19:08:31 +02:00
Michael Natterer 1aa75af9bf app: fix indentation in dialogs-constructors.c 2011-10-09 17:46:00 +02:00
ipraveen 3f68280f4a Added Telugu Translation 2011-10-09 15:00:30 +05:30
ipraveen bfab2d44d1 Updated Telugu Translation 2011-10-09 15:00:07 +05:30
Michael Natterer 11239c4b17 app: don't use g_list_length() to check if a list is empty 2011-10-09 00:27:53 +02:00
Michael Natterer d310dacbb1 app: remove "foo && " from "foo && GTK_IS_FOO (foo)" 2011-10-09 00:18:56 +02:00
Michael Natterer 94d2ee7bcb pdb: restore the ability to reset the dither matrix to default 2011-10-08 20:28:38 +02:00
Michael Natterer 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
Mukund Sivaraman 42756159b5 pdb: Mark more pdb args as dead, and regen code 2011-10-08 19:25:32 +05:30
Mukund Sivaraman 61660b33d0 pdb: Mark various pdb args as dead, and regen code 2011-10-08 19:13:03 +05:30
Mukund Sivaraman 6469290439 pdb: Add functionality to drop codegen for dead args 2011-10-08 19:02:09 +05:30
Mukund Sivaraman c8eac767e6 file-xwd: Indent code 2011-10-08 18:38:14 +05:30
Mukund Sivaraman ba71d7b40f file-xwd: Don't bother with return value of set_pixelmap() 2011-10-08 18:37:58 +05:30
Mukund Sivaraman 7693791223 curve-bend: Remove redundant assignment and move variable to local block 2011-10-08 18:33:04 +05:30
Mukund Sivaraman 16f7aafdbb file-jp2-load: Delete dead variable and assignment 2011-10-08 18:30:21 +05:30
Mukund Sivaraman 58252b23d3 app (vectors): Remove redundant assignment 2011-10-08 18:28:00 +05:30
Mukund Sivaraman f18946484f color-rotate: Remove dead assignment 2011-10-08 18:25:58 +05:30
Mukund Sivaraman 9a3ee43ff6 app: Remove redundant assignment 2011-10-08 18:24:55 +05:30
Mukund Sivaraman e05af3cafb app (vectors): Delete dead assignments 2011-10-08 18:22:06 +05:30
Mukund Sivaraman 1b52b1d3fa nl-filt: Remove inline from functions 2011-10-08 18:19:25 +05:30
Mukund Sivaraman ea88059cf4 nl-filter: Remove dead assignment 2011-10-08 18:18:02 +05:30
Mukund Sivaraman dd33ca10ea tile: Delete dead variables and assignments 2011-10-08 18:15:40 +05:30
Mukund Sivaraman a7e218ba51 file-psd: Delete dead variable and assignment 2011-10-08 18:12:57 +05:30
Mukund Sivaraman 875043dbb4 warp: Delete dead variable and assignment 2011-10-08 18:11:36 +05:30
Mukund Sivaraman b7c303e5c2 app (fonts-actions): Delete dead variables and code 2011-10-08 18:10:09 +05:30
Mukund Sivaraman 9a86ba6393 flame: Remove static condition 2011-10-08 18:07:31 +05:30
Mukund Sivaraman 68704eeb0b flame: Remove dead assignment 2011-10-08 18:05:39 +05:30
Mukund Sivaraman 2712cb1109 file-ps: Delete dead variable and assignment 2011-10-08 18:03:03 +05:30
Mukund Sivaraman 54b0e41479 despeckle: Rename variables for better clarity 2011-10-08 08:19:57 +05:30
Massimo Valentini ca650844c2 xcf: use only one bit to save expanded state 2011-10-07 20:05:52 +02:00
Michael Natterer 89d3869760 app: update GimpBlendTool's status when Alt is pressed/released 2011-10-07 01:39:53 +02:00
Michael Natterer 374f4e5628 app: let GimpContainerTreeView's parent class handle MOD2-click 2011-10-07 01:02:54 +02:00
Michael Natterer e5edb1188d app: more s/GDK_CONTROL_MASK/gimp_get_toggle_behavior_mask()/ 2011-10-07 01:02:54 +02:00
Michael Natterer 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
Michael Natterer efd9906e85 app: remove gimp_get_mod_separator(), it's unused now 2011-10-07 00:34:43 +02:00