1. 21 Feb, 2001 2 commits
    • Michael Natterer's avatar
      Made the tool system work again and integrated it back with the · 99c52018
      Michael Natterer authored
      2001-02-21  Michael Natterer  <mitch@gimp.org>
      
      	Made the tool system work again and integrated it back with the
      	GimpContext. It's a hack between old, new and freshly hacked
      	stuff. There are still lots of warnings but at least we can switch
      	tools again.
      
      	* app/tools/Makefile.am
      	* app/tools/gimptoolinfo.[ch]: resurrected as real object.
      	The GimpToolInfo objects are derived from GimpData, which gives
      	us the tool icon stuff for free. Also, we need a list of _objects_
      	which is allocated all the time. All tools are required to have
      	a "register" function which registers themselves with the list
      	of GimpToolInfo objects which is maintained by the tool manager.
      
      	* app/tools/tool.[ch]: made a real GtkObject with properly named
      	functions out of it. The former "active_tool_control" is of
      	course not the default implementation of the tool's "control"
      	method but a hack _around_ it, so it went to the tool manager.
      
      	* app/tools/color_picker.[ch]
      	* app/tools/measure.[ch]: ditto. Added "register" functions and
      	"destroy" implementations so the tools go away after use.
      
      	* app/tools/tool_manager.[ch]: badly hacked at the moment to keep
      	both the list of class structures _and_ the tool info list.
      
      	* app/tools/tools.c: call the tools' register functions.
      
      	* app/gimpcontext.[ch]: store a pointer to a GimpToolInfo object
      	as "active_tool" in the context, so we're independent of tools
      	being allocated or not. It's treated just like a brush or pattern
      	now.
      
      	* app/gimpdnd.[ch]: made tool DND work like all other DND types.
      
      	* app/devices.[ch]: also here: the tool is just a normal data object
      	now, resulting in removal of lots of code.
      
      	* app/commands.c
      	* app/context_manager.c: updated the tool select and context stuff
      	to work again.
      
      	* app/toolbox.c: removed the old pixmap buttons and put GimpPreviews
      	inside the tool buttons. Still needs an own preview type to
      	look nice.
      
      	* app/disp_callbacks.c
      	* app/about_dialog.c
      	* app/app_procs.c
      	* app/appenums.h
      	* app/apptypes.h
      	* app/gimage.c
      	* app/gimppalette.c
      	* app/gimppreview.c
      	* app/gimprc.c
      	* app/info_window.c
      	* app/menus.c
      	* app/palette_select.h
      	* app/scale.c
      	* app/scroll.c: lots of changes to make it work again.
      99c52018
    • Daniel Egger's avatar
      New file containing the check types. · abaa110f
      Daniel Egger authored
      2001-02-21  Daniel Egger  <egger@suse.de>
      
      	* app/gimpchecks.h: New file containing the check types.
      
      	* app/image_render.h: ... definitions taken from here.
      	* app/temp_buf.c:
      	* app/temp_buf.h: New function temp_buf_new_check to create
      	a new checked temp_buf.
      abaa110f
  2. 20 Feb, 2001 2 commits
    • Simon Budig's avatar
      app/gdisplay.[ch] app/disp_callbacks.c Added preliminary support for · 9f0abd04
      Simon Budig authored
      2001-02-20  Simon Budig  <simon@gimp.org>
      
              * app/gdisplay.[ch]
              * app/disp_callbacks.c
              * app/interface.c: Added preliminary support for Preview icons.
      
              This is not finished: We need a better way to get previews with
              a specific depth and probably a rendered Checkerboard for the
              alpha channel. Also the update function is now bound to a click
              in the top left menu-button and should go in some idle-stuff.
              Please test this on various window managers and give some
              feedback. The last point is the aspect ratio of the generated
              previews...
      9f0abd04
    • Nick Lamb /GIMP's avatar
      83a9899c
  3. 19 Feb, 2001 7 commits
    • Michael Natterer's avatar
      removed all brush, pattern, gradient and palette DND functions because · 1edef6d1
      Michael Natterer authored
      2001-02-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpdnd.[ch]: removed all brush, pattern, gradient and palette
      	DND functions because there are generic GimpViewable DND functions
      	now.
      
      	* app/disp_callbacks.[ch]
      	* app/interface.c: changed accordingly.
      1edef6d1
    • Michael Natterer's avatar
      app/commands.[ch] first version of the new layers and channels dialogs. · 8710fa89
      Michael Natterer authored
      2001-02-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/commands.[ch]
      	* app/menus.c: first version of the new layers and channels dialogs.
      
      	* app/gimpcontainergridview.c
      	* app/gimpcontainerlistview.c: allow creation with a NULL container.
      
      	* app/gimpdnd.[ch]: added generic DND functions for all drawable
      	types (not just setting the DND icon). Started to remove code
      	duplication.
      
      	* app/gimpdrawablepreview.c: with some magic calculations and ugly
      	assumptions the drawable previews now look exactly like in the old
      	L&C dialog.
      
      	* app/gimpimagepreview.c: no need to say "return" at the end of a
      	void function.
      
      	* app/gimppreview.[ch]: added the "is_popup" boolean also to the
      	default constructor. Call gimp_preview_set_viewable() before
      	calculating the preview size.
      8710fa89
    • Michael Natterer's avatar
      app/Makefile.am new files. The import functions stripped from all UI crap. · adf0ff87
      Michael Natterer authored
      2001-02-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimppalette-import.[ch]: new files. The import functions
      	stripped from all UI crap.
      
      	* app/palette_import.c: removed from here.
      adf0ff87
    • Sven Neumann's avatar
      converted gimage->layers and gimage->channels to GimpLists. · 9e131cb2
      Sven Neumann authored
      2001-02-19  Sven Neumann  <sven@gimp.org>
      
      	* app/gimpimage.[ch]: converted gimage->layers and gimage->channels
      	to GimpLists.
      
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/commands.c
      	* app/convert.c
      	* app/floating_sel.c
      	* app/gdisplay.c
      	* app/gimpdrawable.c
      	* app/layers_dialog.c
      	* app/resize.c
      	* app/undo.c
      	* app/xcf.c
      	* app/pdb/display_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/tools/crop.c
      	* app/tools/edit_selection.c
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly
      9e131cb2
    • Michael Natterer's avatar
      new function. · 6e9296c5
      Michael Natterer authored
      2001-02-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpcontainer.[ch] (gimp_container_insert): new function.
      6e9296c5
    • Michael Natterer's avatar
      app/context_manager.c app/gimpdatafactory.c app/gimpdatalist.[ch] · dbc22713
      Michael Natterer authored
      2001-02-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/context_manager.c
      	* app/gimpdatafactory.c
      	* app/gimpdatalist.[ch]
      	* app/gimplist.[ch]
      	* app/module_db.c: return a GimpContainer from all container
      	subclass constructors.
      
      	* app/gimppalettepreview.c
      	* app/palette.c: changed the preview a bit. Still ugly.
      dbc22713
    • Michael Natterer's avatar
      gimp.m4 removed. · 2beabbaf
      Michael Natterer authored
      2001-02-19  Michael Natterer  <mitch@gimp.org>
      
      	* gimp.m4
      	* gimptool.in: removed.
      
      	* gimp-1.4.m4
      	* gimptool-1.4.in: added modified versions. gimp-1.4.m4 is untested.
      	The m4 macro is now called AM_PATH_GIMP_1_4()
      
      	* .cvsignore
      	* Makefile.am
      	* configure.in: changed accordingly.
      
      	* libgimp/Makefile.am
      	* libgimpcolor/Makefile.am
      	* libgimpmath/Makefile.am
      	* libgimpwidgets/Makefile.am: install the header files in
      	$includedir/gimp-MAJOR.MINOR/<libname>
      
      	* app/brush_edit.c: increased toplevel container border size to 4.
      
      	* app/gimpdatafactoryview.c: don't generate multiple "copy"s when
      	duplicating data objects.
      
      	* app/gradient_editor.c: cleaned up the GUI.
      
      	* app/lc_dialog.c: removed the "Close" button.
      2beabbaf
  4. 18 Feb, 2001 1 commit
    • Michael Natterer's avatar
      added DND source functions which work by GtkType. · a80dd4d0
      Michael Natterer authored
      2001-02-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpdnd.[ch]: added DND source functions which work by
      	GtkType.
      
      	* app/commands.c
      	* app/brush_select.c
      	* app/gradient_select.[ch]
      	* app/pattern_select.c: removed the DND code here because it's all
      	done by the GimpContainerView now.
      
      	* app/gimpbrushpreview.c
      	* app/gimpgradientpreview.c
      	* app/gimppalettepreview.c
      	* app/gimppatternpreview.c: use the DND by-type connect functions.
      
      	* app/gimpbrushgenerated.c: implemented "duplicate", cleanup.
      
      	* app/gimpcontainergridview.c
      	* app/gimpcontainerlistview.c
      	* app/gimpcontainerview.[ch]: added a "activate_item" signal
      	method which is emitted by the subclasses to indicate double click.
      
      	* app/gimpdatafactoryview.c: connect to "activate_item" and show
      	the editor.
      
      	* app/convert.c
      	* app/gimppalette.[ch]
      	* app/palette.c
      	* app/paletteP.h
      	* app/palette_import.c
      	* app/palette_select.[ch]: major cleanup: Behaves like the other
      	datatypes now: DND, context stuff, GimpContainerListViews in
      	the dialogs etc. Mostly just removal of code.
      
      	* app/gradient_editor.c: fixed signal blocking/unblocking.
      
      	* plug-ins/script-fu/scripts/Makefile.am: install the "Test Sphere"
      	script again.
      a80dd4d0
  5. 17 Feb, 2001 3 commits
    • Michael Natterer's avatar
      app/gimpcontainer.[ch] app/gimpcontainergridview.c · 2f6f9bdd
      Michael Natterer authored
      2001-02-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpcontainer.[ch]
      	* app/gimpcontainergridview.c
      	* app/gimpcontainerlistview.c
      	* app/gimpcontainerview.[ch]
      	* app/gimplist.c
      	* app/gimpmarshal.[ch]: the GimpContainer has a new virtual "reorder"
      	method which is much more eficient then the current remove/add
      	braindeadness when renaming data objects.
      	Changed the views to connect to "reorder" and call the
      	GimpContainerView's new "reorder_item" method which then does
      	the right thing in the view subclasses.
      
      	* app/gimpdatafactory.c
      	* app/gimpdatafactoryview.c
      	* app/gimpdatalist.[ch]: removed the data list loading and saving
      	stuff from GimpDataList because that's the job of the
      	GimpDataFactory.
      
      	* app/brush_edit.[ch]
      	* app/brush_select.c: cleanup.
      
      	* app/gradient_editor.[ch]: changed it to work like the brush
      	editor: return a GradientEditor pointer in the constructor
      	and statically store this pointer in the gradient selection file.
      	Removed the global "g_editor" variable and added tons of
      	GradientEditor* variables to function calls so they know their
      	context without the global variable.
      
      	* app/gradient_select.c: changed accordingly.
      2f6f9bdd
    • Stanislav Brabec's avatar
      czech translation update · 61798583
      Stanislav Brabec authored
      61798583
    • Seth Burgess's avatar
      Added in measure tool again · 72e138b7
      Seth Burgess authored
       Modified Files:
       	ChangeLog app/tools/Makefile.am app/tools/measure.c
       	app/tools/measure.h app/tools/color_picker.c
       	app/tools/color_picker.h app/tools/tools.c
      72e138b7
  6. 16 Feb, 2001 1 commit
  7. 15 Feb, 2001 1 commit
  8. 14 Feb, 2001 5 commits
    • Michael Natterer's avatar
      added a note about apptype.h and about not including headers in headers. · 22371de3
      Michael Natterer authored
      2001-02-14  Michael Natterer  <mitch@gimp.org>
      
      	* HACKING: added a note about apptype.h and about not including
      	headers in headers.
      
      	* app/apptypes.h: added GimpTool and BitmapCursor.
      
      	* app/cursorutil.h
      	* app/devices.h
      	* app/draw_core.h
      	* app/tools/color_picker.h
      	* app/tools/tool.h
      	* app/tools/tool_options.h
      	* app/gimpcontext.h: removed includes of "tools/tool.h"
      
      	* app/gimprc.[ch]: indentadion cleanup, added
      	"module_db_load_inhibit".
      
      	* app/module_db.c: removed the above variable here.
      
      	* app/gimpdata.[ch]: added a vitrual "duplicate" method.
      
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpgradient.[ch]
      	* app/gimppalette.[ch]
      	* app/gimppattern.[ch]: all "load", "new" and "get_standard"
      	functions return a GimpData pointer now.
      
      	* app/gimpdatafactory.[ch]: made some stuff const.
      
      	* app/gimpdatafactoryview.c: activate the "duplicate" button and
      	set the initial button sensitivity correctly.
      
      	* app/brush_select.c
      	* app/gradient_select.c
      	* app/pattern_select.c: use the new GimpDataFactoryView.
      
      	* libgimp/Makefile.am: grouped the file to sort out what _may_
      	go to subdirs or separate libs.
      
      	* libgimp/gimpenv.[ch]: added many "const".
      
      	* app/app_procs.c
      	* app/brush_edit.c
      	* app/gimpcontext.c
      	* app/gimpdnd.c
      	* app/gradient_editor.c
      	* app/palette.c
      	* app/palette_import.c
      	* app/user_install.c: many related changes.
      
      	* libgimpmath/gimpmathtypes.h
      	* libgimpmath/gimpvector.[ch]: minor cleanups.
      
      	* plug-ins/script-fu/script-fu.c: gimp_data_directory() is const now.
      22371de3
    • Nate Summers's avatar
      doh! · d234db54
      Nate Summers authored
      d234db54
    • Nate Summers's avatar
      forgot a file · ac6149fb
      Nate Summers authored
      ac6149fb
    • Nate Summers's avatar
      prototype for an extension that allows gmodules as plugins. Known bug: · 35ac032f
      Nate Summers authored
              * plug-ins/plugin-helper/*: prototype for an extension that allows
              gmodules as plugins.  Known bug: crashes on gmodules with a static "query" function
      
              * app/tools/tool.c
              * app/tools/tool.h: created new GimpTool object.  Did away with ToolInfo.
              Most tools still need to be ported over to the new api.
              * plug-ins/script-fu/script-fu-scripts.c: fixed typo in comment.  Pathetic, huh?
      35ac032f
    • Michael Natterer's avatar
      app/Makefile.am po/POTFILES.in app/brushes.[ch] app/gradients.[ch] · a97e433b
      Michael Natterer authored
      2001-02-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* po/POTFILES.in
      	* app/brushes.[ch]
      	* app/gradients.[ch]
      	* app/palettes.[ch]
      	* app/patterns.[ch]: removed.
      
      	* app/gimpdatafactory.[ch]: completely manage the data lists,
      	including loading with different callbacks per extension.
      
      	* app/gimpdatafactoryview.[ch]: enabled "new", "edit", "delete"
      	and "refresh".
      
      	* app/context_manager.c: initisalize the data factories.
      
      	* app/gimpcontext.c: fixed some bad bugs introduced yesterday.
      
      	* app/gradient_editor.[ch]: removed the public "create" function
      	and create the editor implicitly on "set_gradient"
      
      	* app/app_procs.c
      	* app/apptypes.h
      	* app/brush_edit.h
      	* app/brush_select.c
      	* app/commands.c
      	* app/convert.c
      	* app/devices.c
      	* app/gimpbrushpipe.c
      	* app/gimpcontainerview.h
      	* app/gimpgradient.c
      	* app/gimppattern.c
      	* app/gradient_select.c
      	* app/palette.c
      	* app/pattern_select.c
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb: um, much stuff, mostly "changed
      	accordingly" ;-)
      a97e433b
  9. 13 Feb, 2001 8 commits
    • Michael Natterer's avatar
      Argh, forgot these ones too... · a16b4203
      Michael Natterer authored
      a16b4203
    • Michael Natterer's avatar
      forgot this one... · d1d90031
      Michael Natterer authored
      d1d90031
    • Michael Natterer's avatar
      gimprc.in user_install user_install.bat app/gimprc.[ch] removed the · b5d8536f
      Michael Natterer authored
      2001-02-13  Michael Natterer  <mitch@gimp.org>
      
      	* gimprc.in
      	* user_install
      	* user_install.bat
      	* app/gimprc.[ch]
      	* app/preferences_dialog.c: removed the "brush_vbr_path" variable,
      	because all data types will be editable and saveable soon.
      
      	* app/Makefile.am
      	* app/apptypes.h
      	* app/gimpdatafactory.[ch]: new object which holds a data list and
      	knows how to create, edit, duplicate etc. the items in it. Will
      	completely replace the brushes.[ch], patterns.[ch], ... files soon.
      
      	* po/POTFILES.in
      	* app/gimpdatacontainerview.[ch]: removed.
      	* app/gimpdatafactoryview.[ch]: added.
      
      	A view on the GimpDataFactory with a GUI for creating, editing,
      	deleting etc. items (mostly unimplemented).
      
      	* app/context_manager.[ch]: replaced the global data lists by global
      	data factories.
      
      	* app/brush_select.c
      	* app/brushes.[ch]
      	* app/commands.c
      	* app/convert.c
      	* app/devices.c
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.c
      	* app/gimpcontext.c
      	* app/gimpdata.[ch]
      	* app/gimpdatalist.[ch]
      	* app/gimpdnd.c
      	* app/gimpgradient.[ch]
      	* app/gimppalette.[ch]
      	* app/gimppattern.[ch]
      	* app/gradient_editor.c
      	* app/gradient_select.c
      	* app/gradients.[ch]
      	* app/indicator_area.c
      	* app/palette.c
      	* app/palette_import.c
      	* app/palette_select.c
      	* app/palettes.[ch]
      	* app/pattern_select.c
      	* app/patterns.[ch]
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb: changed accordingly.
      b5d8536f
    • Michael Natterer's avatar
      app/Makefile.am po/POTFILES.in new widget which will replace the current · 1501e3cf
      Michael Natterer authored
      2001-02-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* po/POTFILES.in
      	* app/gimpdatacontainerview.[ch]: new widget which will replace the
      	current brush, pattern, ... selections. To really use it, there
      	needs to be a GimpDataFactory object (coming soon...)
      
      	* app/commands.[ch]
      	* app/menus.c: added test data container views.
      
      	* app/paint_funcs_simd.S: #include the implementation with "", not <>
      1501e3cf
    • Seth Burgess's avatar
      Did trivial GimpRGB changes in perl. · 6363145c
      Seth Burgess authored
      6363145c
    • Sven Neumann's avatar
      Makefile.am configure.in cursors/Makefile.am docs/Makefile.am added · 7986a191
      Sven Neumann authored
      2001-02-13  Sven Neumann  <sven@gimp.org>
      
      	* Makefile.am
      	* configure.in
      	* cursors/Makefile.am
      	* docs/Makefile.am
      	* pixmaps/Makefile.am: added Makefiles to cursors, docs and pixmaps
      	directories
      7986a191
    • Sven Neumann's avatar
      new icon · 3a3918b1
      Sven Neumann authored
      --Sven
      3a3918b1
    • Michael Natterer's avatar
      app/gradient_editor.[ch] use GimpContainerListView instead of cooking an · 656d1fae
      Michael Natterer authored
      2001-02-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/gradient_editor.[ch]
      	* app/gradient_select.[ch]: use GimpContainerListView instead of
      	cooking an own list.
      
      	* app/gimpgradient.[ch]: removed the GdkPixmap from the gradient.
      
      	* app/gimpcontainerlistview.c: connect the viewable's "name_changed"
      	signal to the label.
      
      	* app/gimpmarshal.[ch]
      	* app/gimppreview.[ch]: new virtual function "get_size",
      
      	* app/gimpgradientpreview.c: implement "get_size" and return a 3:1
      	aspect ratio.
      
      	* app/gradients.c
      	* app/palette_select.[ch]
      	* app/palettes.c: removed the dialog freeze/thaw functions.
      
      	* app/brush_select.c
      	* app/pattern_select.c
      	* app/plug_in.c: stuff.
      656d1fae
  10. 12 Feb, 2001 3 commits
    • Michael Natterer's avatar
      app/brush_select.[ch] removed almost all code by using the · 26789497
      Michael Natterer authored
      2001-02-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/brush_select.[ch]
      	* app/pattern_select.[ch]: removed almost all code by using
      	the GimpContainerGridView.
      
      	* app/brushes.c
      	* app/patterns.c: brush|pattern_select_freeze|thaw_all() don't
      	exist any more.
      
      	* app/devices.c: made it work again.
      
      	* app/gimpgradientpreview.c: the gradient popup is 128 x 32 again.
      
      	* app/plug_in.c: follow the brush and pattern dialog function
      	renaming.
      
      	* app/gimppalette.[ch]
      	* app/gimppalettepreview.c: added a "Columns" attribute and show
      	the popups accordingly.
      
      	The palette file format has changed again. It now can have an
      	optional "Columns: <n>" line after the palette's name.
      
      	* data/palettes/Bgold.gpl
      	* data/palettes/Borders.gpl
      	* data/palettes/Cascade.gpl
      	* data/palettes/China.gpl
      	* data/palettes/Coldfire.gpl
      	* data/palettes/Dark_pastels.gpl
      	* data/palettes/Ega.gpl
      	* data/palettes/Gold.gpl
      	* data/palettes/Grayblue.gpl
      	* data/palettes/Hilite.gpl
      	* data/palettes/Kahki.gpl
      	* data/palettes/Named_Colors.gpl
      	* data/palettes/News3.gpl
      	* data/palettes/Op2.gpl
      	* data/palettes/Plasma.gpl
      	* data/palettes/Visibone.gpl
      	* data/palettes/Visibone_2.gpl
      	* data/palettes/Web.gpl: added the "Columns" parameter where it
      	makes sense and remove those ugly black colors which were hanging
      	around as first color of may palettes.
      26789497
    • Daniel Egger's avatar
      Fixed wrong phrase. Mentioned by Manuel Ignacio Monge Garca in bug · 097ca647
      Daniel Egger authored
      2001-02-12  Daniel Egger  <egger@suse.de>
      
              * es.po: Fixed wrong phrase. Mentioned by Manuel Ignacio
      	Monge Garca in bug #34595.
      097ca647
    • Michael Natterer's avatar
      took gimpcontextpreview.[ch] out of the build but still left the sources · d6a2d391
      Michael Natterer authored
      2001-02-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am: took gimpcontextpreview.[ch] out of the build
      	but still left the sources there as reference.
      
      	* app/app_procs.c: initialize the render stuff before creating the
      	toolbox (needed for the previews).
      
      	* app/devices.c
      	* app/indicator_area.c: use GimpPreviews instead of
      	GimpContextPreviews.
      
      	* app/context_manager.[ch]: create the global data lists here
      	because they now must exist before any context is created.
      
      	* app/brushes.[ch]
      	* app/gradients.[ch]
      	* app/palettes.[ch]
      	* app/patterns.[ch]: removed them here.
      
      	* app/gimpcontainer.[ch]: added a "freeze_count" and emit the
      	"freeze" and "thaw" signals accordingly.
      
      	* app/gimpcontext.[ch]: greatly simplified the way how the
      	contexts connect to the data lists (simply keep them connected all
      	the time). Also removed all those ugly explicit update functions
      	because "thaw" callbacks do this job now.
      
      	* app/gimpdata.c: a GimpData object now becomes dirty on
      	"name_changed"; "dirty" now triggers "invalidate_preview" because
      	the context does not dispatch these signals any more soon.
      
      	* app/brush_select.c
      	* app/convert.c
      	* app/gimpdnd.c
      	* app/gradient_editor.c
      	* app/gradient_select.c
      	* app/pattern_select.c
      	* app/gradient_editor.c
      	* app/gradient_select.c
      	* app/gradients.[ch]
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb: changed accordingly.
      d6a2d391
  11. 11 Feb, 2001 4 commits
    • Michael Natterer's avatar
      added the datafile loader_func typedefs. · 6fc9702b
      Michael Natterer authored
      2001-02-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/apptypes.h: added the datafile loader_func typedefs.
      
      	* app/datafiles.h: removed from here.
      
      	* app/gimpcontainer.[ch]: emit "freeze" and "thaw" signals to get
      	rid of those blah_select_[freeze|thaw]_all() stuff.
      
      	* app/gimpdatalist.[ch]: new function gimp_data_list_load() which
      	takes a va_list of GimpDataObjectLoaderFuncs and file extensions
      	and is almost a replacement for the four files below.
      
      	* app/brushes.c
      	* app/gradients.c
      	* app/palettes.c
      	* app/patterns.c: very simple now. It may be worth thinking about
      	making all GimpData subclasses managed by a descriptive array in
      	the context_manager.
      6fc9702b
    • Michael Natterer's avatar
      Made a GimpContainer out of the palette list: · 68216c6f
      Michael Natterer authored
      2001-02-11  Michael Natterer  <mitch@gimp.org>
      
      	Made a GimpContainer out of the palette list:
      
      	* app/Makefile.am
      	* app/palettes.[ch]: new files for the global palette list.
      
      	* app/gimpgradientpreview.[ch]
      	* app/gimppalettepreview.[ch]: new widgets.
      
      	* app/gimppalette.[ch]: derive it from GimpData to get all the
      	preview etc. stuff.
      
      	* app/datafiles.[ch]: new function datafiles_check_extension(),
      	added a "loader_data" parameter to datafiles_read_directories()
      	and pass it to the loader function.
      
      	* app/gimpcontext.[ch]: added the palette (not really used yet
      	except by the test dialogs).
      
      	* app/gimpdatalist.[ch]: new function gimp_data_list_save_and_clear()
      	which does everything needed for patterns_free(), brushes_free() ...
      
      	* app/gimpdnd.c: added palette DND.
      
      	* app/app_procs.c
      	* app/brushes.c
      	* app/color_notebook.h
      	* app/commands.c
      	* app/convert.c
      	* app/gimpbrush.h
      	* app/gimpbrushpipe.h
      	* app/gimpgradient.c
      	* app/gimppattern.h
      	* app/gimppreview.c
      	* app/gradients.c
      	* app/module_db.c
      	* app/palette.[ch]
      	* app/paletteP.h
      	* app/palette_import.c
      	* app/palette_select.[ch]
      	* app/patterns.c
      	* app/plug_in.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/palette_cmds.c
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/palette.pdb: lotsa stuff: changed due to the above
      	API changes, #define the file extensions in the GimpData subclasses'
      	header files instead of hardcoding them in several places, ...
      
      	* data/palettes/*: The same file format change as for the gradient
      	files:
      
      	- Save the palette name in a parsable form (as part of the file
      	  format, not in a comment.
      	- Removed unserscores from the palette names.
      	- Added an extension (Gimp PaLettes are ".gpl" files now ;-)
      68216c6f
    • David Monniaux's avatar
      Wrong #ifdef test. · 0f1e1535
      David Monniaux authored
      0f1e1535
    • Michael Natterer's avatar
      app/Makefile.am app/apptypes.h new abstract base class for everything · e4bb2f93
      Michael Natterer authored
      2001-02-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/apptypes.h
      	* app/gimpdata.[ch]: new abstract base class for everything
      	(except images) which has a filename and can become dirty and must
      	be saved.
      
      	* app/gimpbrush.[ch]
      	* app/gimpgradient.[ch]
      	* app/gimppattern.[ch]: all derived from GimpData now.
      
      	* app/gimpbrushgenerated.[ch]
      	* app/brush_select.c
      	* app/brushes.c
      	* app/gimpbrushpipe.c
      	* app/gradient_editor.c
      	* app/gradients.c
      	* app/patterns.c: removed lots of code duplication due to common
      	file save magic.
      
      	The gradient file format has changed: it now contains the
      	gradient's name (no more ugly underscores). The files have the
      	extension ".ggr".
      
      	* app/gimpgradient.[ch]: save new gradients, load new and old
      	gradients.
      
      	* data/gradients/*: removed all old gradients and added the new
      	ones.
      e4bb2f93
  12. 10 Feb, 2001 3 commits