- 05 Feb, 2003 6 commits
-
-
Michael Natterer authored
2003-02-05 Michael Natterer <mitch@gimp.org> Made GimpToolOptions a GimpContext subclass and objectified all tool options types. * app/core/core-types.h: replaced GimpToolOptionsNewFunc by GimpToolOptionsGUIFunc. * libgimpproxy/gimpproxytypes.h: regenerated. * app/core/gimppaintinfo.[ch]: added "GType paint_options_type". * app/core/gimptoolinfo.[ch]: added "GType tool_options_type", removed tool_info->context since GimpToolOptions are a GimpContext now. Added "gboolean use_context" as a temp_hack. * libgimptool/gimptooltypes.h: added the tool_options_type to the tool registering callback. * app/tools/tool_options.[ch]: is a real GimpContext subclass now. * app/paint/paint-types.h * app/paint/paint.c: added the paint_options_type to the paint registering stuff. * app/paint/gimppaintoptions.[ch]: is a real GimpToolOptions subclass now. * app/paint/Makefile.am * app/paint/gimpairbrushoptions.[ch] * app/paint/gimpcloneoptions.[ch] * app/paint/gimpconvolveoptions.[ch] * app/paint/gimpdodgeburnoptions.[ch] * app/paint/gimperaseroptions.[ch] * app/paint/gimpsmudgeoptions.[ch]: new files holding GimpPaintOptions subclasses. * app/paint/gimpairbrush.[ch] * app/paint/gimpclone.[ch] * app/paint/gimpconvolve.[ch] * app/paint/gimpdodgeburn.[ch] * app/paint/gimperaser.[ch] * app/paint/gimppaintbrush.c * app/paint/gimppaintcore.c * app/paint/gimppencil.[ch] * app/paint/gimpsmudge.[ch]: removed paint options stuff, lots of related changed & cleanups. * tools/pdbgen/pdb/paint_tools.pdb: changed accordingly. * app/pdb/paint_tools_cmds.c: regenerated. * app/tools/Makefile.am * app/tools/gimpblendoptions.[ch] * app/tools/gimpbucketfilloptions.[ch] * app/tools/gimpcolorpickeroptions.[ch] * app/tools/gimpcropoptions.[ch] * app/tools/gimpflipoptions.[ch] * app/tools/gimpinkoptions.[ch] * app/tools/gimpmagnifyoptions.[ch] * app/tools/gimpmeasureoptions.[ch] * app/tools/gimpmoveoptions.[ch] * app/tools/gimptextoptions.[ch] * app/tools/gimpvectoroptions.[ch]: new files holding the various tool options classes. * app/tools/selection_options.[ch] * app/tools/transform_options.[ch]: made them objects. * app/tools/paint_options.[ch]: contains only the paint_options GUI and reset stuff. * app/tools/tools-types.h: removed SelectionOptions typedef for now. * app/tools/[all tools]: removed the tool options stuff except some GUI constructors. Tons of related changes. * app/tools/tool_manager.[ch]: changed tool registration / restore / switching accordingly. * app/widgets/gimpdrawablelistview.c * app/widgets/gimpselectioneditor.c: changed accordingly.
-
Sven Neumann authored
2003-02-05 Sven Neumann <sven@gimp.org> * app/text/gimptext.c: added some blurbs that will show up as tooltips in the text tool options. Tweaked default values. * app/text/gimptextlayout.c (gimp_text_layout_position): if gravity is none (the default), position the layout according to its justification. * app/widgets/gimpenummenu.[ch]: added new functions that create a hbox of radio buttons with icons from an enum type. * app/widgets/gimppropwidgets.[ch]: added a property widget constructors for the new enum_stock_box.
-
Kwok-Koon Cheung authored
-
Sven Neumann authored
2003-02-05 Sven Neumann <sven@gimp.org> * app/text/text-enums.[ch] * app/text/gimptext.[ch]: replaced GimpTextAlignment with GimpTextJustification. Added indentation property. * app/text/gimptextlayout.c: implemented text justification, indentation and line spacing as far as supported by Pango.
-
Sven Neumann authored
2003-02-05 Sven Neumann <sven@gimp.org> * app/text/gimptextlayer.c * app/tools/gimptexttool.c: fixed includes.
-
Sven Neumann authored
2003-02-05 Sven Neumann <sven@gimp.org> * app/paint/Makefile.am: fixed rules for generated sources. * app/text/Makefile.am * app/text/text-enums.[ch]: added new files with text-related enums. * app/text/gimptext.[ch]: added text alignment property. * app/text/gimptext-render.[ch]: removed * app/text/text-types.h * app/text/gimptextlayout.[ch]: added new files that define GimpTextLayout, a wrapper around PangoLayout. Moved render code to this file. * app/text/gimptextlayer.c: changed accordingly.
-
- 04 Feb, 2003 4 commits
-
-
Sven Neumann authored
2003-02-04 Sven Neumann <sven@gimp.org> * app/widgets/gimpitemfactory.c (gimp_item_factory_item_key_press): made the ugly hack that prevents users from reassigning the F1 shortcut even more ugly but fixed bug #105068.
-
Sven Neumann authored
2003-02-04 Sven Neumann <sven@gimp.org> * plug-ins/gimpressionist/gimpressionist.h * plug-ins/gimpressionist/*.c * plug-ins/imagemap/imap_rectangle.c: fixed includes to make it compile again.
-
Maurits Rijk authored
-
Sven Neumann authored
2003-02-04 Sven Neumann <sven@gimp.org> * app/widgets/gimpfontselection-dialog.c: use gtk_window_present() to raise the dialog; some code cleanup.
-
- 03 Feb, 2003 14 commits
-
-
Sven Neumann authored
2003-02-04 Sven Neumann <sven@gimp.org> * app/display/gimpdisplayshell-selection.[ch] * app/tools/gimpblendtool.c * app/tools/gimpcolorpickertool.c * app/tools/gimplevelstool.c * app/tools/gimpthresholdtool.c * app/tools/gimptransformtool.c: misc trivial changes and cleanup. * app/widgets/gimppropwidgets.[ch]: added gimp_prop_unit_menu_new() and removed the scale widget again. * app/tools/gimptexttool.c: replaced the size scale entry with a spinbutton and made the unit menu working. * app/text/gimptext.c: increased the upper boundary for the font size again now that we don't use a scale any longer.
-
Sven Neumann authored
-
Jan Morén authored
2003-02-03 Jan Morén <jan.moren@lucs.lu.se> * sv.po: Updated Swedish translation.
-
Ole Laursen authored
2003-02-03 Ole Laursen <olau@hardworking.dk> * da.po: Updated Danish translation.
-
Sven Neumann authored
2003-02-03 Sven Neumann <sven@gimp.org> * de.po: updated german translation.
-
Sven Neumann authored
2003-02-03 Sven Neumann <sven@gimp.org> * app/widgets/gimpfontselection-dialog.c: changed the text used in the preview. * app/widgets/gimpfontselection.[ch]: removed the yes/no image that used to signal a valid font but stopped working a long time ago. * app/widgets/gimppropwidgets.c: added a property widget for fonts. * app/tools/gimptexttool.c: use the new prop_widget.
-
Daniel Yacob authored
-
Michael Natterer authored
2003-02-03 Michael Natterer <mitch@gimp.org> * app/display/gimpdisplayshell-callbacks.c: fixed the "TAB toggles dialogs" feature. (gimp_display_shell_get_event_coords,device_coords): CLAMP() all extended axes to be safe against crappy XInput drivers and provide default values for not existing axes.
-
Michael Natterer authored
2003-02-03 Michael Natterer <mitch@gimp.org> * app/config/gimpscanner.c (gimp_scanner_parse_int): handle negative integers. (gimp_scanner_parse_string[no_validate]): return NULL for empty strings (don't simply leave the return location untouched).
-
Sven Neumann authored
2003-02-03 Sven Neumann <sven@gimp.org> * app/config/gimpconfig-deserialize.c (gimp_config_deserialize_fundamental): handle negative integers. * app/core/gimp.c (gimp_edit_config_notify): commented out debugging output.
-
Sven Neumann authored
2003-02-03 Sven Neumann <sven@gimp.org> * plug-ins/ifscompose/ifscompose.c: applied another patch from David Necas <yeti@physics.muni.cz> that fixes #82470. Added some stock icons and mnemonics.
-
Michael Natterer authored
2003-02-03 Michael Natterer <mitch@gimp.org> * app/undo.c: unified some comments, some cleanup. * app/pdb/procedural_db.c: some cleanup & comments to clarify what GIMP_PDB_PASS_THROUGH does.
-
Michael Natterer authored
2003-02-03 Michael Natterer <mitch@gimp.org> * app/display/Makefile.am: removed the "truly ugly hack"... * app/Makefile.am: ...and changed the linking order instead. * app/base/Makefile.am * app/core/Makefile.am * app/paint/Makefile.am * app/widgets/Makefile.am: fixed typo.
-
Michael Natterer authored
2003-02-03 Michael Natterer <mitch@gimp.org> * app/core/gimp.[ch]: removed gimp_main_loop() and gimp_main_loop_quit() because they were a temp_hack until plug-ins have their own main loops. Added gimp_threads_enter() and gimp_threads_leave() instead. * app/gui/gui.c: ditto: removed the main loop stuff and added functions which call GDK_THREADS_ENTER() and GDK_THREADS_LEAVE() instead. * app/app_procs.c: create the main GMainLoop here and use gimp_threads_enter,leave(). * app/plug-in/plug-in.[ch]: added a ref_count per plug-in so the plug-in is not destroyed under our feet while running a recursive main loop. Added plug_in_ref(). Changed plug_in_destroy() to plug_in_unref(). Don't destroy the plug-in if plug_in_open() fails. Call gimp_threads_enter,leave() around g_main_loop_run(). Changed the way plug_in_push,pop() are used: "current_plug_in" is no longer the plug-in which currently uses the wire, but the plug-in which currently preforms a PDB call (the former meaning was needed when wire callbacks had no plug-in context but needed to get the plug-in from the global "current_plug_in" variable). Removed all calls to plug_in_push,pop() from this file. * app/plug-in/plug-in-message.c (plug_in_handle_proc_run): added plug_in_push,pop() around procedural_db_execute(). No need to construct an error return value if the procedure was not found because procedural_db_execute() already does this. Removed all other plug_in_push,pop(). Added more checks to plug-in message handlers and kill the plug-in if it misbehaves. Cleanup. * app/plug-in/plug-in-progress.c (plug_in_progress_cancel): if the plug-in runs synchronously, provide a GIMP_PDB_CANCEL return value so we don't see error messages about the "failed" procedure. * app/plug-in/plug-in-run.c: removed plug_in_push,pop() stuff. Set the new plug_in->starting_ext boolean while starting an extension so the extension_ack handler knows that it wasn't called from a buggy plug-in. Cleanup. * app/plug-in/plug-ins.c: Cleanup.
-
- 02 Feb, 2003 5 commits
-
-
Sven Neumann authored
2003-02-03 Sven Neumann <neo@wintermute> Some code cleanup while trying to fix bug #105062: * libgimp/gimpmisc.[ch]: moved the declaration of the GimpPixelFetcher struct to the .c file since noone should ever access it directly. * libgimp/gimpmiscui.c: cosmetics. * plug-ins/common/plasma.c: code cleanup, doesn't fix #105062.
-
Sven Neumann authored
2003-02-02 Sven Neumann <sven@gimp.org> * plug-ins/ifscompose/ifscompose.c: fixed some issues (mainly coding style) with the new load and save routines.
-
Sven Neumann authored
2003-02-02 Sven Neumann <sven@gimp.org> * plug-ins/ifscompose/ifscompose.c: applied a large patch from David Necas <yeti@physics.muni.cz> that fixes a couple of bugs and adds some additional features. Fixes bugs #82466, #82472 and #82473 and addresses bug #82470.
-
Pablo Saratxaga authored
-
Sven Neumann authored
2003-02-02 Sven Neumann <sven@gimp.org> * libgimpwidgets/gimpcolorbutton.c (gimp_color_button_clicked): fixed usage of gtk_color_selection_set_has_opacity_control().
-
- 01 Feb, 2003 7 commits
-
-
Sven Neumann authored
-
Maurits Rijk authored
-
Sven Neumann authored
2003-02-01 Sven Neumann <sven@gimp.org> * app/config/gimpconfig.[ch] * app/config/gimpconfig-utils.[ch]: added a reset method to GimpConfigInterface. Added the new function gimp_config_reset() * app/text/gimptext.c: added a GimpConfigInterface to GimpText. * app/widgets/Makefile.am * app/widgets/gimptexteditor.[ch]: new files that hold the simple text editor dialog used by the text tool. * app/widgets/gimppropwidgets.[ch]: added new widget constructor gimp_prop_scale_entry_new(). * app/tools/gimptexttool.[ch]: replaced old-style ToolOptions with a GimpText object. Connect text layers to the text tool by means of their GimpText objects. Still work in progress ...
-
Christophe Merlet authored
-
Sven Neumann authored
2003-02-01 Sven Neumann <sven@gimp.org> * app/text/gimptextlayer.c (gimp_text_layer_position_layout): handle GIMP_GRAVITY_NONE.
-
Michael Natterer authored
2003-02-01 Michael Natterer <mitch@gimp.org> * libgimpmodule/gimpmodule.c: fixed a comment.
-
Manish Singh authored
2003-01-31 Manish Singh <yosh@gimp.org> * app/text/gimptextlayer.c: #include <string.h>
-
- 31 Jan, 2003 4 commits
-
-
Sven Neumann authored
2003-01-31 Sven Neumann <sven@gimp.org> * app/core/core-enums.[ch]: added GIMP_GRAVITY_NONE. 2003-01-31 Sven Neumann <sven@gimp.org> * libgimpwidgets/Makefile.am (HTML_IMAGES) * libgimpwidgets/libgimpwidgets-sections.txt * libgimpwidgets/tmpl/gimpstock.sgml: added new icons.
-
Kwok-Koon Cheung authored
-
Sven Neumann authored
2003-01-31 Sven Neumann <sven@gimp.org> * app/text/gimptextlayer.c: don't use gimp_drawable_configure() to resize the text layer, it should only ever be called once. Take the logical rectangle into account when calculating the layer size and text position. * app/tools/gimptexttool.[ch]: added basic text editing functionality. Needs more work ... * themes/Default/images/Makefile.am * themes/Default/images/stock-gravity-east-24.png * themes/Default/images/stock-gravity-north-24.png * themes/Default/images/stock-gravity-north-east-24.png * themes/Default/images/stock-gravity-north-west-24.png * themes/Default/images/stock-gravity-south-24.png * themes/Default/images/stock-gravity-south-east-24.png * themes/Default/images/stock-gravity-south-west-24.png * themes/Default/images/stock-gravity-west-24.png: added new icons for yet-to-written GimpGravityChooser(?) widget. Artwork shamelessly taken from Jimmac's XFree cursors. * libgimpwidgets/gimpstock.[ch]: added stock items for the new icons.
-
Michael Natterer authored
2003-01-31 Michael Natterer <mitch@gimp.org> * app/core/gimpitem.[ch]: added gimp_item_configure() and gimp_item_copy(). * app/core/gimpdrawable.c (gimp_drawable_configure,copy): use them. * app/vectors/gimpvectors.[ch]: added gimp_vectors_new(), gimp_vectors_copy() and gimp_vectors_copy_points(). Use the new GimpItem functions just as GimpDrawable does. Added a get_memsize() implementation. * app/vectors/gimpstroke.[ch]: made it a GimpObject and added a get_memsize() implementation. * app/undo.c: implemented vectors undo as if the new GimpVectors functions above worked. * app/gui/dialogs-constructors.c * app/gui/vectors-commands.c * app/tools/gimpvectortool.c: use gimp_vectors_new,copy().
-