- 22 Nov, 2001 8 commits
-
-
Sven Neumann authored
2001-11-23 Sven Neumann <sven@gimp.org> * configure.in: bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. Removed GDK_DISABLE_COMPAT_H and GTK_DISABLE_COMPAT_H from our default CFLAGS since they don't exist any longer. * RELEASE-TO-CVS.patch: removed since the glib/gtk+ API is supposed to be frozen now. * HACKING: removed reference to RELEASE-TO-CVS.patch * app/gui/menus.c * app/tools/gimptexttool.c: applied RELEASE-TO-CVS.patch to conform to the new GTK+/Pango API. * app/core/Makefile.am: generate marshallers with gimp_marshal prefix. * app/core/gimpmarshal.list: added all marshallers we use. * app/core/gimpmarshal.[ch]: regenerated. * app/[lots of .c files]: use gimp_marshal_* for all marshallers. * data/images/ * app/app_procs.c * app/gui/splash.c: * libgimpbase/Makefile.am * libgimpbase/gimpbase.h * libgimpbase/gimputils.[ch]: removed since they are no longer needed. * app/gimprc.c * plug-ins/common/ps.c * plug-ins/gdyntext/gdyntext.c * plug-ins/gdyntext/gdyntextcompat.c * plug-ins/gfig/gfig.c * plug-ins/gflare/gflare.c * plug-ins/script-fu/script-fu-scripts.c: use glib functions instead of gimp_strescape() and gimpstrcompress(). * cleaned up all header files: use G_BEGIN_DECLS/G_END_DECLS, declared all _get_type function as G_GNUC_CONST. * tools/pdbgen/enumcode.pl * tools/pdbgen/lib.pl: make them generate header files using G_BEGIN_DECLS/G_END_DECLS. * pixmaps/Makefile.am * pixmaps/wilber3.xpm: removed ... * data/images/tips_wilber.png: ... and added here as PNG * app/gui/tips-dialog.c: load the Wilber on demand using GdkPixbuf. * data/images/gimp_splash.ppm: removed ... * data/images/gimp_splash.png: ... and added as PNG * app/app_procs.c * app/gui/splash.[ch]: load the splash image using GdkPixbuf. * app/gui/about-dialog.c: sink the GtkPreview.
-
Michael Natterer authored
2001-11-22 Michael Natterer <mitch@gimp.org> * app/devices.c: made device_status_update() static as declared. * app/core/gimpobject.h: don't include <gobject/gobject.h> as this is forbidden now (doesn't hurt as we need to include glib or gtk+ before gimp headers in .c files anyway). * app/widgets/gimpcontainerlistview.c: better handling of "button_press" of list items: don't let a selected item being deselected, fixed context menu popup.
-
Tor Lillqvist authored
-
Michael Natterer authored
2001-11-22 Michael Natterer <mitch@gimp.org> * app/tools/gimpclonetool.c * app/tools/gimpconvolvetool.c * app/tools/gimpcroptool.c * app/tools/gimpdodgeburntool.c * app/tools/gimpmagnifytool.c * app/tools/paint_options.c * app/tools/transform_options.c: removed the remaining cases of we-rely-on-the-radio-buttons-being-in-the-same-order-as-the-enum and use gimp_radio_group_set_active() instead. Use GINT_TO_POINTER(gint) instead of (gpointer)gint all over the place.
-
Simon Budig authored
2001-11-23 Simon Budig <simon@gimp.org> * de.po: reverted one message.
-
Michael Natterer authored
2001-11-22 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpstock.c: added stock *items* (not only icons) for all tools so they can be used as action buttons. * app/tools/gimptransformtool.[ch]: added transform_tool->use_center so subclasses can switch on/off center detection/cursor_update . Added an oper_update() implementation and figure the current handle out there. Reordered button_press() so we don't need to call it recursively. * app/tools/gimpperspectivetool.c * app/tools/gimprotatetool.c * app/tools/gimpscaletool.c * app/tools/gimpsheartool.c: use the new stock items instead of _("Rotate") etc. * app/tools/gimpperspectivetool.c * app/tools/gimpscaletool.c: allow the whole thing being dragged around by handling the center separately. * app/tools/gimpdrawtool.c: gimp_draw_tool_on_handle(): need to use the radius, not the diameter to check if being over a GIMP_HANDLE_CIRCLE handle.
-
Michael Natterer authored
2001-11-22 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpwidgets.[ch]: use "gimp-item-data" instead of "user_data" as data key when attaching values to radio buttons or menu items. (For backward compat, attach "user_data" additionally, but don't use it to _get_data()). Added gimp_radio_group_set_active() which works like gimp_options_menu_set_history() and sets the active item by attached "gimp-item-data" value. * app/gui/brush-select.c * app/gui/file-new-dialog.c * app/gui/info-window.c * app/gui/preferences-dialog.c * app/gui/resolution-calibrate-dialog.c * app/tools/gimpbucketfilltool.c * app/tools/gimpselectiontool.c * app/tools/paint_options.c * app/tools/selection_options.c * app/widgets/gimplayerlistview.c: removed all kinds of "user_data" stuff and evil hacks to find a radio button by the value it represents (simply call gimp_radio_group_set_active()). * app/tools/gimpdrawtool.c: added a g_return_if_fail(). * app/tools/gimpfliptool.c: don't set draw_tool_class->draw to NULL, * app/tools/gimptransformtool.[ch]: fixed some stuff i broke when removing the old "interactive" boolean (there is no non-interactive transform tool any more). Put the info_dialog pointer and the old_trans_info array into the GimpTransformTool instance. Added gimp_transform_tool_info_dialog_connect(). Don't include any subclasses any more. * app/tools/gimpperspectivetool.c * app/tools/gimprotatetool.c * app/tools/gimpscaletool.c * app/tools/gimpsheartool.c: use gimp_transform_tool_info_dialog_connect() to create and connect the info dialogs' action_area.
-
Simon Budig authored
2001-11-22 Simon Budig <simon@gimp.org> * de.po: updated german translation.
-
- 21 Nov, 2001 8 commits
-
-
Marc Lehmann authored
-
Sven Neumann authored
2001-11-21 Sven Neumann <sven@gimp.org> * app/gui/splash.c: sink the GtkPreview created for the splash. * libgimpwidgets/gimphelpui.c: ref and sink the tooltips on creation.
-
Sven Neumann authored
2001-11-21 Sven Neumann <sven@gimp.org> * libgimpwidgets/gimpfileselection.c: set the window title for file selection dialogs as we do for directory selection dialogs. Provide fallbacks if gimp_file_selection_new() is called with a NULL title. * plug-ins/script-fu/script-fu-enums.h * plug-ins/script-fu/script-fu-scripts.c * plug-ins/script-fu/siod-wrapper.c: applied a modified version of a patch from Matteo Nastasi <nastasi@tiscalinet.it> that adds the new Script-Fu parameter type SF-DIRNAME. * plug-ins/script-fu/scripts/test-sphere.scm: use SF-DIRNAME.
-
Michael Natterer authored
2001-11-21 Michael Natterer <mitch@gimp.org> * RELEASE-TO-CVS.patch: regenerated with the stuff below included.
-
Michael Natterer authored
2001-11-21 Michael Natterer <mitch@gimp.org> * app/tools/gimptexttool.c: seems I've comitted something which should only be in RELEASE-TO-CVS.patch. Sorry...
-
Michael Natterer authored
2001-11-21 Michael Natterer <mitch@gimp.org> * app/display/gimpdisplayshell-callbacks.c: key press and release events were sent swapped to tools. * app/tools/selection_options.[ch]: added radio buttons for the selection operation (REPLACE, ADD, ...). Partly fixes #51108. * app/tools/gimpselectiontool.[ch]: honor the new tool options stuff. Do evil things in gimp_selection_tool_modifier_key(). * app/tools/gimpbycolorselecttool.[ch]: removed most of the widgets from the by_color_select window because they are all in the selection_options now. * libgimpwidgets/gimpstock.[ch]: added new stock items for the buttons. * themes/Default/Makefile.am * themes/Default/images/Makefile.am * themes/Default/images/stock-button-selection-add.png * themes/Default/images/stock-button-selection-intersect.png * themes/Default/images/stock-button-selection-replace.png * themes/Default/images/stock-button-selection-subtract.png: new stock images.
-
Michael Natterer authored
2001-11-21 Michael Natterer <mitch@gimp.org> * app/tools/selection_options.c: added "reset" code for the new auto_shrink tool options.
-
Marc Lehmann authored
-
- 20 Nov, 2001 10 commits
-
-
Michael Natterer authored
2001-11-21 Michael Natterer <mitch@gimp.org> * pixmaps/Makefile.am * pixmaps/anchor.xpm * pixmaps/edit.xpm * pixmaps/eye.xpm * pixmaps/linked.xpm * pixmaps/paste-as-new.xpm * pixmaps/paste-into.xpm * pixmaps/refresh.xpm: felt like i had to remove some cruft, so these unused pixmaps had to go to the Attic.
-
Michael Natterer authored
2001-11-21 Michael Natterer <mitch@gimp.org> * RELEASE-TO-CVS.patch: regenerated after the text tool changes.
-
Michael Natterer authored
2001-11-20 Michael Natterer <mitch@gimp.org> * app/tools/tools-types.h: added GimpToolRegisterFunc, GimpToolRegisterCallback and GimpToolOptionsNewFunc typedefs which are used to register tools. * app/tools/tools.c: put the register funcs in an array of GimpToolRegisterFuncs. Pass a Gimp pointer *plus* a GimpToolRegisterCallback (which is tool_manager_register_tool()) to the tools' register functions. * app/tools/tool_manager.[ch]: added a GimpToolOptionsNewFunc to the parameters of tool_manager_register_tool(). Create the tool options here, not in each tool. * app/tools/paint_options.[ch] * app/tools/selection_options.[ch] * app/tools/tool_options.[ch] * app/tools/transform_options.[ch]: all _init() and _new() functions take a GimpToolInfo pointer now. The _reset() func needs to be set manually now. * app/tools/[all_tools].[ch]: changed accordingly: - pass GimpToolOptionsNewFuncs to the register callback. - don't create the tool options in the tools' _init() function. - removed all static tool options variables. - get the options from the tool system in the cases i missed in my last commit. - added minor hacks to get rid of the static options pointer in some pathological cases :) (i.e. the ink tool).
-
David Neary authored
2001-11-20 David Neary <dneary@eircom.net> * app/core/gimppalette.c: Included errno,h
-
Rebecca Walter authored
2001-11-20 Rebecca Walter <rjp@mail.tele.dk> * app/core/gimpedit.c * app/core/gimpimagefile.c * app/core/gimpmoduleinfo.c * app/core/gimpmodules.c * app/core/gimppalette.c * app/core/gimppattern.c: More of the extensive proofing. Fun fun fun!
-
Sven Neumann authored
-
Sven Neumann authored
2001-11-20 Sven Neumann <sven@gimp.org> * app/gui/preferences-dialog.c * plug-ins/common/gif.c * plug-ins/common/jpeg.c * plug-ins/common/mail.c: don't strip last character off when retrieving text from a GtkTextBuffer. There used to be a bug in GTK+ that made this necessary. It has been fixed in the meantime. * plug-ins/gimpressionist/size.c: merged string fix from stable branch.
-
Michael Natterer authored
2001-11-20 Michael Natterer <mitch@gimp.org> * app/tools/gimpdrawtool.[ch] * app/tools/gimppainttool.[ch] * app/tools/gimprectselecttool.[ch] * app/tools/gimptool.[ch] * app/tools/gimptransformtool.[ch]: use simple virtual functions instead of signals for all tools because they are much faster and don't need to be signals at all.
-
Michael Natterer authored
2001-11-20 Michael Natterer <mitch@gimp.org> * app/core/gimp.c: put a g_object_ref() on a different line. * app/core/gimpdrawable-bucket-fill.c * app/core/gimpmodules.c: ne need to #include "core/..." here. * app/display/gimpdisplay-handlers.c: added debugging output because we have an image refcounting problem :( * app/display/gimpdisplayshell-handlers.c: fixed a signal disconnection. * app/tools/gimpbezierselecttool.[ch] * app/tools/gimpblendtool.c * app/tools/gimpbucketfilltool.c * app/tools/gimpbycolorselecttool.c * app/tools/gimpclonetool.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcroptool.c * app/tools/gimpellipseselecttool.c * app/tools/gimpfreeselecttool.c * app/tools/gimpfuzzyselecttool.c * app/tools/gimpinktool.c * app/tools/gimpiscissorstool.c * app/tools/gimpmagnifytool.c * app/tools/gimpmeasuretool.c * app/tools/gimprectselecttool.c * app/tools/gimpsmudgetool.c: get the tool's options via tool->tool_info->tool_options, not from the local statis pointer. Some minor cleanups & function reordering. * app/widgets/gimpdockbook.c: return TRUE from the notebook tabs' "button_press" handler, connect DND before cnnecting to "button_press" because we now stop it's emission.
-
Marc Lehmann authored
-
- 19 Nov, 2001 9 commits
-
-
Daniel Egger authored
2001-11-19 Daniel Egger <degger@fhm.edu> * app/paint-funcs/paint-funcs.h: Added magic comment to prevent enums from being exported.
-
Daniel Egger authored
2001-11-19 Daniel Egger <degger@fhm.edu> * app/paint-funcs/paint-funcs-mmx.h * app/paint-funcs/paint-funcs.c: Fixed typoes and brought the code back to compileland. Now the code IS tested. :)
-
Michael Natterer authored
2001-11-19 Michael Natterer <mitch@gimp.org> Some moving of unused files so they don't clutter app/... * app/gdisplay_color.[ch] * app/gdisplay_color_ui.[ch]: removed... * app/display/gimpdisplayshell-filter.[ch] * app/display/gimpdisplayshell-filter-dialog.[ch]: ...added here.
-
Michael Natterer authored
-
Michael Natterer authored
2001-11-19 Michael Natterer <mitch@gimp.org> * app/display/gimpdisplay-foreach.c: forgot to commit last time. Transform stuff cleanup: * app/core/Makefile.am * app/core/core-types.h * app/core/gimpdrawable-transform.[ch]: new files implementing the actual transform functions cut from tools/gimptransformtool.*. * app/core/gimpdrawable-transform-utils.[ch]: new files implementing transform matrix assembly utility functions. * app/tools/gimptransformtool.[ch]: removed the stuff here. cleanup. * app/tools/transform_options.[ch]: removed all stuff which does not belong here, e.g. the transform_tool_* functions and the global "transform_options" variable. Works like all other tool options now. * app/tools/gimpfliptool.[ch] * app/tools/gimpperspectivetool.[ch] * app/tools/gimprotatetool.[ch] * app/tools/gimpscaletool.[ch] * app/tools/gimpsheartool.[ch]: massive code removal because we can use core/gimpdrawable-fransform* functions now. cleanup. * tools/pdbgen/Makefile.am * tools/pdbgen/groups.pl: added new PDB group "transform_tools". * tools/pdbgen/pdb/tools.pdb: removed the transform stuff here... * tools/pdbgen/pdb/transform_tools.pdb: and added *much* simplified versions which use the new core/gimpdrawable-transform* utilities. * app/pdb/Makefile.am * app/pdb/transform_tools_cmds.c: new file. * app/pdb/internal_procs.c * app/pdb/tools_cmds.c: regenerated. * libgimp/Makefile.am * libgimp/gimp_pdb.h * libgimp/gimptransformtools_pdb.[ch]: new files. * libgimp/gimptools_pdb.[ch]: regenerated.
-
Daniel Egger authored
2001-11-19 Daniel Egger <degger@fhm.edu> * app/paint-funcs/paint-funcs.c * app/paint-funcs/paint-funcs-generic.h * app/paint-funcs/paint-funcs.h: - Statified a few functions so they can be inlined. - Simplified function calls. - Unsignified variables and parameters where possible. - Reduced lookuptable size for add_pixels from 256*256*4 bytes to 2*256-1 bytes and O(n*n) function in paint_funcs_setup to O(n). Should reduce memory consumption by almost 1/4 Mb. This needs much more cleanup....
-
Daniel Egger authored
2001-11-19 Daniel Egger <degger@fhm.edu> * app/paint-funcs/paint-funcs-mmx.h: New file. Added glue code for the assembly MMX functions. * app/paint-funcs/paint-funcs-generic.h: Moved MMX code from here ... * app/paint-funcs/paint-funcs-mmx.h: ... to here. Cleaned up a bit and don't check for use_mmx on every single call but ... * app/paint-funcs/paint-funcs.c: (paint_funcs_setup): ... here and register MMX functions if CPU has those capabilities. Code is untested for the MMX case due no available Intel-Machine right now but should't be to far away from a working state.
-
Sven Neumann authored
2001-11-19 Sven Neumann <sven@gimp.org> * RELEASE-TO-CVS.patch: changes to the text tool to make it compile with the new PangoFT2 API.
-
Daniel Egger authored
2001-11-19 Daniel Egger <degger@fhm.edu> * app/paint-funcs/paint-funcs.c * app/paint-funcs/paint-funcs-generic.h: Split generic (read: C) code for pixelmanipulation and most of the code that belongs to it into new file. (apply_layer_funcs): Gone. The correct layer function is now dispatched from the layer_mode_funcs table and the table is per default initialised with the generic functions. Arguments will be passed by a struct apply_layer_mode_struct instead of directly per stack to avoid parameter typying madness. It's now cleanly possible to check for availabilty of MMX/AltiVec/(insert your favourite brew here) in paint_funcs_setup () and change the table to use faster routines. The old MMX cruft which is temporaribly in paint-funcs-generic.h will soon be gone but I'm to tired now. * app/paint-funcs/paint-funcs.c: Braind dead code for temporary buffer (which never shrunk only grew) gone and replaced by straightforward code. * app/paint-funcs/paint-funcs-generic.h: Applied a bunch of obvious optimisations to reduce code size and avoid parameter madness. * paint-funcs-[gray|graya|indexed|rga|rgba].[c|h]: Gone. I lost several days of work on these files and came to the conclusion that there has to be an easier way anyway. :) Everything well tested on PPC and producing exactly the same results as the code before so this has good odds to be the first major change that won't break GIMP. :)
-
- 18 Nov, 2001 3 commits
-
-
Michael Natterer authored
2001-11-18 Michael Natterer <mitch@gimp.org> * app/display/gimpdisplay-foreach.c: fixed a comment. * app/gui/file-open-dialog.c: no need to declare "extern GSList *display_list;". * app/gui/brush-select.c * tools/pdbgen/pdb/brush_select.pdb: pass opacity as [0.0..100.0] through the PDB and as [0.0..1.0] to the app. * app/pdb/brush_select_cmds.c: regenerated. * plug-ins/gfig/gfig.c: full opacity is 100.0, not 1.0. (GFig and script-fu may still be broken after this change).
-
Valek Frob authored
-
Valek Frob authored
-
- 17 Nov, 2001 2 commits
-
-
Fatih Demir authored
-
Michael Natterer authored
2001-11-17 Michael Natterer <mitch@gimp.org> Made --no-interface not calling gtk_init() (and thus not contacting the X server) any more. (Fixes #58961). * app/core/gimp.[ch]: added two new function pointers "gui_main_loop_func" and "gui_main_loop_quit_func" and an own stack of GMainLoops which is used if they are not set. * app/gui/gui.[ch]: added main loop functions here and set them as pointers in the Gimp instance. Separated gui_libs_init() from gui_themes_init() so it can be used as replacement for gtk_init() and be called before command line parsing. * app/main.c: check for "--no-interface" before initializing anything. Added a "--g-fatal-warnings" option (cut'n'paste from gtkmain.c). Added a check for "--" (end of options). * app/app_procs.c: call the new gimp_main_loop() functions, call gui_themes_init(). * app/devices.[ch]: reduce usage of "the_gimp" by passing "Gimp" pointers to some functions. * app/plug_in.c: some ugly checks for the_gimp->no_interface which will go away once this file is core/ui chopped. Call gimp_main_loop() stuff instead of gtk_main(). * app/core/gimptoolinfo.c: allow passing a NUL GdkPixbuf pointer.
-