Michael Natterer
211d05d1d7
Bug 759288 - Unfocused Zoom In/Out in Rotated Canvas View
...
gimp_display_shell_scale_to(): calculate the point that should not
move with GimpDisplayShell's untransform/transform functions before
and after scaling, then scroll to the right point. Just using the
scale functions doesn't work any longer when a rotation is
active. Other functions are affected too, but this most important
issue can be fixed by fixing just this function.
2016-01-05 14:01:57 +01:00
Michael Natterer
2a43ab240b
app: don't access GimpSamplePoint members directly
...
Use the new accessors instead. Clean up guide and sample point code in
image crop and resize a bit.
2016-01-04 22:06:27 +01:00
Michael Natterer
d7bf9de526
Bug 759104 - Allow coordinates of sample points to be accessed from scripts
...
Add PDB sample point API similar to how the guide API works. Add core
API similar to the core guide API to make guide and sample point APIs
as similar as possible.
2016-01-04 21:24:44 +01:00
Michael Natterer
37de341099
Bug 759194 - Unified Transform Tool fails when layer is hidden
...
For the lack of a proper transform preview, add a HACK that allows to
make the transformed layer invisible while the tool is active.
2016-01-04 19:37:14 +01:00
Michael Natterer
a0c1d72be6
Bug 759316 - "Recently used" menu not updated with gegl filters
...
Implement RUN_WITH_LAST_VALS in GimpGeglProcedure, using the first
item in the MRU list of the op's gimp-gegl-config-proxy container.
2016-01-04 17:28:48 +01:00
Michael Natterer
3831f62495
Bug 759316 - "Recently used" menu not updated with gegl filters
...
Add GimpGeglProceure to keep track of recently used GEGL operations in
the filter history. The new procedure also takes care of running the
op in the GEGL tool, so filters-commands.c is almost empty now.
Change gimp-filter-history.c to find procedures by name instead of
comparing pointers.
The only thing missing now is rerunning a GEGL op with the last
settings (not just showing its UI).
2016-01-04 15:07:30 +01:00
Michael Natterer
31a15570eb
app: use less weird paths for creating the test icon theme
2016-01-04 00:10:30 +01:00
Michael Natterer
5455b8bfd0
app: move some stuff out of app/file/
...
file-procedure.[ch] is gone and its functions moved to
GimpPlugInManager where they belong (the manager keeps around the
lists of load, save and export procedures).
Utility functions from file-utils.[ch] that have nothing to do with
image files moved to core/gimp-utils.[ch].
2016-01-03 23:38:08 +01:00
Daniel Sabo
17da79ef28
app: Allow myb files with missing icons
2016-01-02 18:30:02 -08:00
Mukund Sivaraman
6a6604871f
windows: Add support for generating crash backtraces using Dr. MingW
2016-01-02 18:55:37 +05:30
Michael Natterer
80f713c9b8
pdb, libgimp: add gimp_context_set/get_mypaint_brush()
2016-01-02 13:40:38 +01:00
Michael Natterer
72f9bea765
app: create nicer object names from MyPaint brush filenames
2016-01-02 13:23:40 +01:00
Michael Natterer
784b37d115
app: allow plug-ins to register procedures in the <MyPaintBrushes> menu
2016-01-02 00:53:32 +01:00
Michael Natterer
dda06ac065
app: move some code in actions/ to new utility file procedure-commands.c
2016-01-02 00:39:20 +01:00
Michael Natterer
926dd1dffb
app: add GimpProcedure::get_sensntive()
...
to replace gimp_plug_in_procedure_get_seisitive().
2016-01-01 23:24:53 +01:00
Michael Natterer
a998175289
app: use gimp_procedure_get_label() in file-save-dialog.c
2016-01-01 22:55:37 +01:00
Michael Natterer
78f5dbeac3
app: add GimpProcedure::get_menu_label()
...
which returns a procedure's *menu* label (not stripped of mnemonics
and ellipses). Use it to further reduce dependencies on
GimpPlugInProcedure.
2016-01-01 22:41:42 +01:00
Michael Natterer
1d3bf65934
app: turn get_label() and get_blurb() into virtual functions of GimpProcedure
2016-01-01 20:52:45 +01:00
Michael Natterer
4c3c69e145
app: set the sensitivity of the "filters-value-propagate" action
2016-01-01 20:12:56 +01:00
Michael Natterer
d5255dc133
app: derive GimpProcedure from GimpViewable
...
and remove redundant icon managing code from GimpPlugInProcedure
2016-01-01 20:05:32 +01:00
Michael Natterer
e0ab721361
app: rename GimpPlugInAction to GimpProcedureAction
...
and make the filter history keep around a list of GimpProcedures
instead of GimpPlugInProcedures. Still WIP and unfinished...
2016-01-01 20:05:32 +01:00
Michael Natterer
ac50da2ad4
Bug 759316 - "Recently used" menu not updated with gegl filters
...
This preparation commit only moves code around and renames it, the
history is still a list of plug-ins only:
- move app/core/gimp-filter-history.c
to app/plug-in/gimppluginmanager-history.c and clean it up
- move the actions that create the submenus under "Filters"
from the "plug-in" to the "filters" action group
- move the code that creates and updates the history actions
to the "filters" action group
- add menu setup code for the "filters" menu
- move the "history-changed" signal from GimpPlugInManager to Gimp
2015-12-30 20:04:58 +01:00
Michael Natterer
8e08f7c06e
app: emit "profile-changed" when undoing/redoing a gray image conversion
...
So the cached display profile transform is reliably recreated.
2015-12-30 19:07:19 +01:00
Daniel Sabo
78cdbdb794
app: mypaint: Remove inaccurate comment
2015-12-30 08:21:30 -08:00
Jehan
ad8716316e
app: show example icon of icon themes in preferences.
2015-12-30 15:54:45 +01:00
Daniel Sabo
dd0b253fea
app: mypaint: Add some hacky code to allow line drawing
2015-12-29 14:30:28 -08:00
Daniel Sabo
6d9aee3d73
app: mypaint: Remove another stray #if 0
2015-12-29 14:30:28 -08:00
Daniel Sabo
ea66a7a974
app: mypaint: Include offset_by_random in the cursor calculation
2015-12-29 09:56:38 -08:00
Daniel Sabo
b48ac23690
app: mypaint: Remove #if 0'ed code for libmypaint-gegl
2015-12-29 09:56:38 -08:00
Alexia Death
ee9e0da72d
app: correct outline calculation to match mypaint and add fallback
2015-12-29 19:37:45 +02:00
Michael Natterer
99b7fa851a
app: no frames with borders, use GimpFrame instead in GimpSaveDialog
2015-12-29 17:23:14 +01:00
Michael Natterer
660a7aed16
app: formatting cleanup in the last commit
2015-12-29 17:08:51 +01:00
Alexia Death
53eb8677ea
app: Allow for mypaint tool to differentiate extended and non-extended events
...
This adds a boolean to GimpCoords struct that is true for enabled
extended non-mouse devices and false for all the rest allowing
the mypaint brush to override the the pressure sent to the paint library.
2015-12-29 15:44:53 +02:00
Michael Natterer
e415b1cfab
Bug 759939 - Ghost brush outline in FG Select tool
...
Undraw the outline when the pointer leaves the canvas.
2015-12-29 12:57:17 +01:00
Michael Natterer
2e40af5dcf
app: remove virtual function GimpToolOptions::reset()
...
and use GimpConfig::reset() instead.
2015-12-29 12:47:04 +01:00
Daniel Sabo
eec556f614
app: mypaint: Use GimpConfig->reset instead of GimpToolOptions->reset
2015-12-28 17:07:45 -08:00
Daniel Sabo
d6b52b7f0c
app: mypaint: Fix missing chain up in gimp_mybrush_options_reset
2015-12-28 16:47:45 -08:00
Daniel Sabo
cba2f07854
app: mypaint: Make the reset-to-defaults button reset to the current myb's defaults
2015-12-28 16:02:36 -08:00
Daniel Sabo
677b1f2d82
app: mypaint: Add a toggle to change between erase & paint mode
2015-12-28 15:25:47 -08:00
Michael Natterer
9e6f995488
app: gdk_pixbuf_new_from_inline() -> from_resource()
2015-12-28 23:20:21 +01:00
Daniel Sabo
e0fc362b12
app: mypaint: Add colorize mode
2015-12-28 13:58:38 -08:00
Daniel Sabo
315972fea8
app: mypaint: Get rid of mixbuf, fix transparent pixel color when masking is active
2015-12-28 13:42:04 -08:00
Alexia Death
fa46ef11f1
app: add the point of code removed in previous commit back in
2015-12-28 23:06:04 +02:00
Alexia Death
a5fbe2d33a
app: remove some pointless code
2015-12-28 22:23:35 +02:00
Michael Natterer
8fa6e261d0
app: add a brush selector to the MyPaint brush options
2015-12-28 20:04:29 +01:00
Daniel Sabo
c97a529968
app: Change mypaint dependency from libmypaint-gegl to just libmypaint
2015-12-28 09:18:46 -08:00
Michael Natterer
6281d130e4
app: load the mypaint brushes on startup, and do much more error checking
...
Everything expects that a data object can simply be used, so make it
behave like all other data objects and reject broken files.
2015-12-28 18:09:37 +01:00
Michael Natterer
15183c210b
app: move GimpMybrushPrivate to its own header, perparation for more hacking
...
Also, return the error message if the preview can't be loaded.
2015-12-28 16:48:50 +01:00
Michael Natterer
0ee649629e
app: GimpDataFactory: get the data's mtime in the function where it's needed
2015-12-28 16:46:08 +01:00
Michael Natterer
0cabc21c77
app: remove some useless g_object_freeze/thaw_notify() from gimpcurve.c
...
We only need that when more than one property changes and we must
delay notification until the object is in a consistent state.
2015-12-28 13:12:25 +01:00