Commit Graph

13379 Commits

Author SHA1 Message Date
Sven Neumann 5c252e323f app: move duplicated code into a helper function 2010-08-07 00:26:58 +02:00
Barak Itkin df0627c0eb app: Unmark the git version string for translation 2010-08-05 21:39:34 +03:00
Mukund Sivaraman 25be82a04b Substitute target header filename like the rest of the code 2010-08-02 02:40:08 +05:30
Mukund Sivaraman 10d11abcd5 Fix typo 2010-08-02 02:29:34 +05:30
Michael Natterer 7df1a4f3df app: clean up GimpColorBar rendering and add cairo_surface_mark_dirty() 2010-07-30 16:25:08 +02:00
Michael Natterer 208096bc7c app: port GimpColorBar drawing to cairo 2010-07-30 14:58:55 +02:00
Michael Natterer ac80163771 app: draw the statusbar's icon with cairo 2010-07-30 13:14:10 +02:00
Michael Natterer 4466b3a35b app: remove code duplication in the histogram and curve views
by letting the histogram view always draw the background and the outer
borders. Also fix a lot of off-by-one problems in the curve view which
occur due to the 0.5,0.5 offset of cairo line drawing.
2010-07-30 12:51:03 +02:00
Michael Natterer c548a593e5 app: port GimpHistogramView drawing to cairo 2010-07-30 12:18:08 +02:00
Michael Natterer 900fd00c00 app: port GimpTagPopup drawing to cairo 2010-07-29 14:41:50 +02:00
Michael Natterer d28a04ac04 app: port GimpFgBgEditor drawing to cairo 2010-07-29 14:20:37 +02:00
Michael Natterer c5951857e1 app: forgot cairo_destroy() 2010-07-29 14:10:01 +02:00
Michael Natterer 8d67b5b69b app: port GimpFgBgView rendering to cairo 2010-07-29 14:05:51 +02:00
Michael Natterer 06488d03fe app: draw the curve view's background with cairo
and fix focus line drawing by one pixel.
2010-07-28 16:15:54 +02:00
Michael Natterer e1d9a32a83 app: draw the splash's strings with cairo, not gdk_draw_layout() 2010-07-28 16:00:50 +02:00
Michael Natterer 9942d5f692 app: draw the about dialog's animated string with cairo, not gdk_draw_layout() 2010-07-27 18:01:34 +02:00
Michael Natterer c3a4825a8a app: simplify GimpOverlayFrame drawing a lot
Thanks to Benjamin Otte for some tips.
2010-07-27 17:26:40 +02:00
Sven Neumann 8cf801c8e0 app: allow to delete curve points
Pressing Delete in the Curve view now deletes the selected point
on the curve.
2010-07-26 01:08:44 +02:00
Michael Natterer f60d456e61 app: add new parameter check function gimp_pdb_item_is_in_tree()
which makes sure the passed item is part of an item hierarchy
(and not for example a selection or a layer mask)
2010-07-23 22:08:28 +02:00
Barak Itkin 5a9f2f1eac app: Add '/' as a seperator for the rectangle tools options (in the Fixed field) 2010-07-23 19:17:12 +03:00
Michael Natterer 4165dfb217 app: move the alt-click selection feature to GimpItemTreeView
so it works the same for layers, channels and vectors and remove the
separate (and different) implementations from all subclasses.
2010-07-20 23:36:16 +02:00
Michael Natterer 3184c440b3 app: introduce GimpItem::to_selection()
Which replaces all the deparate functions to turn layers, channels,
layer masks and vectors into selections. Use the new virtual function
all over the place instead of calling the functions in
gimpchannel-select.c manually.
2010-07-20 23:09:19 +02:00
Michael Natterer 8b31211639 Fix the bulid after GtkNotebookPage got deprecated in gtk-2-22
In all GtkNotebook::switch_page() callbacks, simply replace
GtkNotebookPage* by gpointer.
2010-07-16 15:24:25 +02:00
Michael Natterer e3f0a6a0d4 tools: generate "Deprecated:" sections according to gtk-doc standards
So the comment about replacement functions appears in the red warning
box in the generated HTML.
2010-07-12 23:11:56 +02:00
Martin Nordholts e55b7f30a3 app: Disable dynamics by default 2010-07-12 16:32:18 +02:00
Nils Philippsen 222ffd2360 app: generate git-version.h regardless of branch
Previously, git-version.h always recorded the latest commit on the
master branch. This change should record the current commit (which is
what gets built) regardless of the branch.

I've checked that it does "the right thing" regarding multi-parent
merges by checking out such a merge commit, generating git-version.h and
comparing it to the commit sha1 in the log.
2010-07-09 16:43:56 +02:00
Michael Natterer 2e81453c75 pdb: some doc fixes 2010-07-09 14:24:31 +02:00
Michael Natterer 3c2dcf2df5 pdb: deprecate drawable API that got replaced by item API 2010-07-09 11:25:35 +02:00
Michael Natterer 7314d3fe4f pdb: deprecate the drawable and vectors parasite APIs 2010-07-09 10:36:17 +02:00
Michael Natterer d0c80bae12 pdb: add parasite API for items 2010-07-09 10:19:30 +02:00
Michael Natterer 0fdf7c6e28 pdb: deprecate vectors API that is now in item 2010-07-09 10:10:55 +02:00
Michael Natterer 20c3dc0df9 pdb: remove drawable's and vector's "lock-content" API
because it's new in 2.8 and doesn't need to be deprecated.
2010-07-09 09:46:31 +02:00
Michael Natterer 1bca2d8eb0 pdb: don't talk about "pixels" in items docs 2010-07-09 09:45:30 +02:00
Michael Natterer 2d6f808ff8 pdb: add a new PDB group "item" and move lots of functions to it
The item groups has all the duplicated functionality from drawable
and vectors (name, visible, linked etc).

Hijack the unused GIMP_PDB_REGION and turn it into GIMP_PDB_ITEM;
change all protocol aware files accordingly and bump the protocol
version number. Change script-fu to handle the new type.
2010-07-09 09:34:44 +02:00
Michael Natterer d303d8c7c1 Revert "pdb: Added a procedure to check how many processors GIMP is configured to use."
This reverts commit b22880c32f.
Adding this procedure was a misunderstanding on IRC.
2010-07-09 02:30:10 +02:00
Barak Itkin b22880c32f pdb: Added a procedure to check how many processors GIMP is configured to use.
Added the procedure get_number_of_processors to gimprc.pdb and regenerated the
other files using pdbgen.
2010-07-09 02:50:13 +03:00
Sven Neumann fb6e561f3f app: update copyright, it's 2010 for a while now ... 2010-07-09 00:16:39 +02:00
Michael Natterer 31d7061e20 app: remove "item_type" parameter from gimp_param_spec_item_id()
and from gimp_value_get_item(). The functions are used nowhere, and
the parameter is now in the way of adding item support to the PDB.
2010-07-08 22:40:48 +02:00
Michael Natterer 14b19ecce8 app: add attached-to checks to all raise and lower functions 2010-07-08 21:08:18 +02:00
Michael Natterer 4097d3c300 app: add check that items passed through the PDB belong to the right image
Add "image" parameter to gimp_pdb_item_is_attached() and if non-NULL,
make sure the item is attached to that image, and not only attached to
any image. Change wrappers to pass an image where it makes sense.
2010-07-08 21:02:58 +02:00
Alexia Death 7609e3d887 app: Fix direction in path stroking 2010-07-08 20:53:25 +03:00
Michael Natterer e23e99e2ab app: add missing translation context for undo descriptions 2010-07-08 18:10:33 +02:00
Michael Natterer 314a6ab926 app: merge the layer, channel and vectors repositioning APIs
into an API based on GimpItem.
2010-07-08 18:08:13 +02:00
Michael Natterer 70a3addcb9 app: harden precondition checks in GimpItemTree
Instead of checking if the item is attached and belon's to the tree's
image (which did miss e.g. passing a channel to the layer tree), we
now check if gimp_item_get_tree(item) returns right tree.
2010-07-08 15:06:19 +02:00
Michael Natterer edbdd4a945 app: one file in pdb/ got regenerated because of a doc fix 2010-07-07 11:46:58 +02:00
Martin Nordholts 6739f6266c Revert "app: Add alpha-to-selection shortcuts in tooltips"
This reverts commit 9378b42922. We
need a translator-friendly solution.
2010-07-06 18:12:09 +02:00
Martin Nordholts 9378b42922 app: Add alpha-to-selection shortcuts in tooltips
Add alpha-to-selection Alt-Click shortcuts in tooltips to make them
discoverable, at least in theory.
2010-07-06 17:04:29 +02:00
Martin Nordholts 01113ffeee app: Handle merge commits for git-version.h
Use

  git show-ref --hash refs/heads/master

instead of

  git log HEAD^..HEAD --pretty=format:%H

so we can handle multi-parent (merge) commits.
2010-07-06 16:02:53 +02:00
Mukund Sivaraman 597b255262 Update Desaturate tool's status text
The existing text is poor English and is confusing.
2010-07-05 19:27:44 +05:30
Martin Nordholts 81925e424b app/tests: Prepare test-core.c for other tests 2010-06-29 19:08:59 +02:00