Michael Natterer
16aae588b9
app: no need to move that assignment
...
and no need to initialize the entire struct explicitly.
2011-10-13 11:30:02 +02:00
Mukund Sivaraman
a8dd4b39f2
Revert "app (histogram): Fix bad loop condition"
...
This reverts commit 23907a297f
.
2011-10-13 10:43:09 +05:30
Mukund Sivaraman
23907a297f
app (histogram): Fix bad loop condition
2011-10-13 10:39:59 +05:30
Mukund Sivaraman
d047b1ca41
app (widgets): Init child_allocation, or garbage is added to action_allocation.y
2011-10-13 10:32:12 +05:30
Michael Natterer
846392b66c
app: move the "exclusive visible" logic to the core
...
but don't fix it for item trees yet (refactoring only). Kill the
"exclusive liked" function which only existed because it was so easy
to have, but was always utterly useless. Prove me wrong and I will
revive it.
2011-10-12 16:05:57 +02:00
Mukund Sivaraman
abaf846578
Revert "app (selectiontool): Drop dead code"
...
This reverts commit c0083d24e6
. It was
decided that although this code doesn't have an effect, it needs to be
modified to be fixed.
2011-10-12 19:30:58 +05:30
Mukund Sivaraman
d9f1a9eec6
app: Drop redundant assignment
2011-10-12 19:02:49 +05:30
Mukund Sivaraman
46e1e6ec1d
app (histogram): Drop redundant assignment
2011-10-12 18:29:39 +05:30
Mukund Sivaraman
e0a60f0e23
Revert "app (histogram): Delete redundant assignments"
...
This reverts commit 3793c1f1ec
.
2011-10-12 18:28:55 +05:30
Mukund Sivaraman
c0083d24e6
app (selectiontool): Drop dead code
2011-10-12 17:15:04 +05:30
Mukund Sivaraman
3793c1f1ec
app (histogram): Delete redundant assignments
2011-10-12 17:11:39 +05:30
Mukund Sivaraman
6e4a5b1996
app (display): Drop redundant assignments
2011-10-11 10:29:55 +05:30
Mukund Sivaraman
fb4747b832
app (actions): Rewrite code to conditionally declare vars
2011-10-11 10:08:59 +05:30
Massimo Valentini
ab2dad4640
Bug 639630: Windows builds can not use >4GB tile cache
...
on Win64 gulong -> unsigned long is not wide enough
to contain GimpBaseConfig:tile-cache-size which is a
guint64
2011-10-10 18:24:02 +02:00
Mukund Sivaraman
1c9231a44a
app (plug-in): Remove duplicate assignment
2011-10-10 10:08:12 +05:30
Mukund Sivaraman
e18430e118
app (actions): Remove dead variables and code
2011-10-10 09:53:24 +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
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
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
58252b23d3
app (vectors): Remove redundant assignment
2011-10-08 18:28:00 +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
b7c303e5c2
app (fonts-actions): Delete dead variables and code
2011-10-08 18:10:09 +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
Michael Natterer
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
Michael Natterer
a38faefba7
app: use toggle_behavior_mask not CONTROL to trigger zoom-on-scroll
2011-10-07 00:00:42 +02:00
Michael Natterer
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
Michael Natterer
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
Michael Natterer
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
Michael Natterer
6d1b5c4241
app: pull virtual modifier replacement into gimp_get_mod_string()
...
and remove it from all other places. We only want to have the virtual
modifiers when displaying a modifier string (and in some other cases,
but these are all handled internally by GTK+).
2011-10-06 22:56:05 +02:00
Michael Natterer
38b8f0596d
app: use the new modifier API instead of constants in all tools
...
There are still many uses of literal SHIFT and MOD1 left, but all uses
of CONTROL are gone. Should work exactly as before on Win/X11, and
still has some glitches on OSX.
2011-10-06 21:59:07 +02:00