Commit graph

5852 commits

Author SHA1 Message Date
Michael Natterer 0164596064 app/core/Makefile.am app/core/core-types.h added an "application object"
2001-07-04  Michael Natterer  <mitch@gimp.org>

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimp.[ch]: added an "application object" called Gimp.

	Currently, it contains the image list, the clipboard, the data
	factories, the procedural hashtable and the tool info list.  It's
	the toplevel object of the core object system. Finally, creating a
	Gimp object will return a standalone gimp core engine instance
	with no other global states/variables involved.

	* app/app_procs.[ch]: allocate a "Gimp" instance called "the_gimp" :)
	Removed stuff which is now done by the "Gimp" object. Merged
	gimp_init() into app_init() because gimp_init() is taken now.

	* app/context_manager.[ch]: removed stuff done by "Gimp".

	* app/batch.[ch]
	* app/gimage.[ch]
	* app/xcf/xcf-load.[ch]
	* app/xcf/xcf.[ch]
	* app/core/gimpedit.[ch]
	* app/tools/tool_manager.[ch]: pass around an additional "Gimp"
	argument.

	* app/pdb/procedural_db.[ch]: pass a "Gimp" pointer as first
	parameter to all internal procedures and to all procedural_db_*
	functions.

	* app/core/gimpcontext.[ch]
	* app/core/gimpimage.[ch]: added a "Gimp" pointer to the structs.

	* app/devices.c
	* app/errors.c
	* app/file-open.c
	* app/file-save.c
	* app/gimphelp.c
	* app/gimpunit.c
	* app/image_new.c
	* app/main.c
	* app/nav_window.c
	* app/plug_in.c
	* app/base/base.c
	* app/core/gimpdatafactory.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage-mask.c
	* app/core/gimptoolinfo.[ch]
	* app/gui/brush-select.c
	* app/gui/convert-dialog.c
	* app/gui/dialogs-constructors.c
	* app/gui/edit-commands.c
	* app/gui/file-open-dialog.c
	* app/gui/file-save-dialog.c
	* app/gui/gradient-editor.c
	* app/gui/gradient-select.c
	* app/gui/gui.c
	* app/gui/image-commands.c
	* app/gui/info-window.c
	* app/gui/menus.c
	* app/gui/palette-editor.c
	* app/gui/palette-import-dialog.c
	* app/gui/palette-select.c
	* app/gui/paths-dialog.c
	* app/gui/pattern-select.c
	* app/gui/preferences-dialog.c
	* app/gui/test-commands.c
	* app/gui/toolbox.c
	* app/gui/tools-commands.c
	* app/tools/gimpbezierselecttool.c
	* app/tools/gimpbucketfilltool.c
	* app/tools/gimppainttool.h
	* app/tools/gimptexttool.c
	* app/tools/gimptransformtool.h
	* app/widgets/gimpbufferview.c
	* app/widgets/gimpcontainerview-utils.c
	* app/widgets/gimpcursor.c
	* app/widgets/gimpdnd.c
	* app/widgets/gimpimagedock.c: changed accordingly. Cleaned up
	lots of includes. Many files still access the global "the_gimp"
	variable exported by app_procs.h.

	* tools/pdbgen/app.pl
	* tools/pdbgen/pdb/brush_select.pdb
	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/convert.pdb
	* tools/pdbgen/pdb/edit.pdb
	* tools/pdbgen/pdb/fileops.pdb
	* tools/pdbgen/pdb/gradient_select.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/palette.pdb
	* tools/pdbgen/pdb/pattern_select.pdb
	* tools/pdbgen/pdb/patterns.pdb
	* tools/pdbgen/pdb/procedural_db.pdb: changed accordingly. Don't
	use "the_gimp" here because all procedures get passed a "Gimp"
	pointer now.

	* app/pdb/*: regenerated.
2001-07-04 19:31:35 +00:00
David Neary de24019ff2 2001-07-04 Dave Neary <dneary@eircom.net
2001-07-04  Dave Neary  <dneary@eircom.net

	* po/POTFILESin: Changed to reflect some moved/removed files.
2001-07-04 14:06:48 +00:00
David Neary 80874150d0 Changed POTFILES.in to reflect some moved/removed files.
Changed POTFILES.in to reflect some moved/removed files.
2001-07-04 14:03:41 +00:00
Michael Natterer 3e36b8f54b new directory app/xcf/
2001-07-03  Michael Natterer  <mitch@gimp.org>

	* configure.in: new directory app/xcf/

	* app/Makefile.am
	* app/global_edit.[ch]
	* app/xcf.[ch]: removed.

	* app/core/Makefile.am
	* app/core/gimpedit.[ch]: added here...

	* app/xcf/.cvsignore
	* app/xcf/Makefile.am
	* app/xcf/xcf-load.[ch]
	* app/xcf/xcf-private.h
	* app/xcf/xcf-read.[ch]
	* app/xcf/xcf-save.[ch]
	* app/xcf/xcf-seek.[ch]
	* app/xcf/xcf-write.[ch]
	* app/xcf/xcf.[ch]: ...and here (chopped up).

	* app/app_procs.c
	* app/disp_callbacks.c
	* app/floating_sel.c
	* app/gui/edit-commands.c
	* app/gui/toolbox.c
	* app/pdb/edit_cmds.c
	* app/widgets/gimpbufferview.c
	* tools/pdbgen/pdb/edit.pdb: changed accordingly.
2001-07-03 18:38:56 +00:00
Sven Neumann 1b8ef8b50e applied patch from Peter Kirchgessner <peter@kirchgessner.net> that fixes
2001-07-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/xwd.c: applied patch from Peter Kirchgessner
	<peter@kirchgessner.net> that fixes bug #56830.

	* app/global_edit.c: attach default comment to image created by
	gimp_edit_paste_as_new().

	Both changes merged from stable branch.
2001-07-02 23:18:10 +00:00
Michael Natterer e94f175120 allow a NULL gimage argument for gimp_edit_paste_as_new() (don't set
2001-07-02  Michael Natterer  <mitch@gimp.org>

	* app/global_edit.c: allow a NULL gimage argument for
	gimp_edit_paste_as_new() (don't set resolution and unit).

	* app/disp_callbacks.[ch]
	* app/interface.c: allow dropping of a GimpBuffer (pastes the
	buffer).

	* app/gui/toolbox.c: ditto (creates a new image).
2001-07-02 20:57:58 +00:00
Michael Natterer 05f02449fe Makefile.am configure.in removed all help files. They will be distributed
2001-07-02  Michael Natterer  <mitch@gimp.org>

	* Makefile.am
	* configure.in
	* help/*: removed all help files. They will be distributed as a
	separate package in the future.
2001-07-02 17:59:26 +00:00
Nick Lamb /GIMP d7f355b1a3 Change PNG defaults (no 1.0 gamma chunk) 2001-07-02 17:27:29 +00:00
Sven Neumann 5d643ac88a lost connection during my last commit, here are the missing changes 2001-07-02 17:08:20 +00:00
Sven Neumann 34fc96790c gimptool-1.4.in plug-ins/*/Makefile.am merged fixes from stable branch
2001-07-02  Sven Neumann  <sven@gimp.org>

	* gimptool-1.4.in
	* plug-ins/*/Makefile.am
	* plug-ins/common/mkgen.pl: merged fixes from stable branch
2001-07-02 17:07:03 +00:00
Michael Natterer 8a6f5a104d app/gui/dialogs-commands.[ch] added dialogs_toggle_auto_cmd_callback()
2001-07-02  Michael Natterer  <mitch@gimp.org>

	* app/gui/dialogs-commands.[ch]
	* app/gui/menus.c: added dialogs_toggle_auto_cmd_callback() which
	toggles GimpImageDock's "Auto" button.

	* app/gui/dialogs.c: ref/sink the global dialog factories.

	* app/widgets/gimpdialogfactory.[ch]: added some comments, some
	cleanups and additional checks. Factored out the "aux-info" stuff
	to separate functions.

	* app/widgets/gimpdockbook.c: set the state of the "Auto Follow
	Active Image" menu item.

	* app/widgets/gimpimagedock.[ch]: added a gboolean for
	"show_image_menu" so we don't need to fiddle around with the
	widgets to get this info. Added
	gimp_image_dock_set_auto_follow_active().
2001-07-02 14:58:02 +00:00
Sven Neumann 70afac3290 file add_point.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann 2b32d379f6 file anchor_layer.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann 1dafca0c1f file channel_to_selection.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann 2a8fe98f66 file delete_channel.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann 31f4e56dcd file delete_directory.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann 6ba089a8df file delete_layer.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann 351f025b45 file delete_path.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann e3021fe89a file dotted_square.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann 2c6cbce5b1 file duplicate_channel.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann 8d039c5a04 file duplicate_layer.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann eac05ef103 file duplicate_path.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann f4f98cceb5 file edit_point.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann d4e89da507 file geezoom.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann f310c792b2 file lower_channel.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann 0608f7439a file lower_directory.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann 498297a1a6 file lower_layer.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann fbb8f3461f file new_channel.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann 8da9a97af6 file new_directory.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann 5051867d21 file new_path.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann f7c7cb5bb1 file new_point.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann 86a77fbe57 file note.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann 254b1c378e file path_to_selection.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann 3feb26d8fd file preview_box.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann e9d825467a file raise_channel.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann c8c08cd0f4 file raise_directory.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann 580bae2c5c file raise_layer.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann 73f10d00ee file red_square.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann b05cea10f2 file remove_point.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann 88b6281ea3 file selection_to_path.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann 2dc63c7c78 file stroke_path.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann 71a9a78a20 file tip.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann 4393ccd543 file warning.png was initially added on branch gimp-1-2. 2001-07-02 00:08:11 +00:00
Sven Neumann 1a9f2411e8 file ditherize.html was initially added on branch gimp-1-2. 2001-07-02 00:08:00 +00:00
Sven Neumann a6d47f1d9f file dust.html was initially added on branch gimp-1-2. 2001-07-02 00:08:00 +00:00
Sven Neumann 4986fe4ce0 file fade-alpha.html was initially added on branch gimp-1-2. 2001-07-02 00:08:00 +00:00
Sven Neumann 675f7be03e file fit-text.html was initially added on branch gimp-1-2. 2001-07-02 00:08:00 +00:00
Sven Neumann c3b79f62ec file frame_filter.html was initially added on branch gimp-1-2. 2001-07-02 00:08:00 +00:00
Sven Neumann 197430ebc8 file gee_zoom.html was initially added on branch gimp-1-2. 2001-07-02 00:08:00 +00:00
Sven Neumann 83a1b007be file guide_remove.html was initially added on branch gimp-1-2. 2001-07-02 00:08:00 +00:00