Commit Graph

5658 Commits

Author SHA1 Message Date
Dave Neary 94dbfa071e Removed some C89 & gcc extention stuff which broke the build on some
2001-07-06  Dave Neary  <dneary@eircom.net>

	* app/gimprc.c: Removed some C89 & gcc extention stuff which broke
	the build on some platforms.
2001-07-06 21:44:08 +00:00
Dave Neary b9740b411e Changed app/image_new.c to app/core/gimpimage-new.c in po/POTFILES.in to
2001-07-06  Dave Neary  <dneary@eircom.net>

        * Changed app/image_new.c to app/core/gimpimage-new.c
        in po/POTFILES.in to get the build working.
2001-07-06 16:05:12 +00:00
Michael Natterer a84d697b93 don't add the image to the image container, don't call undo_free().
2001-07-05  Michael Natterer  <mitch@gimp.org>

	* app/gimage.c: don't add the image to the image container,
	don't call undo_free().

	* app/core/gimp.[ch]: add new images to gimp->images, optionally
	attach the comment parasite.

	* app/core/gimpedit.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage-new.c
	* app/gui/file-open-dialog.c
	* app/gui/toolbox.c
	* tools/pdbgen/pdb/image.pdb
	* app/pdb/image_cmds.c
	* app/xcf/xcf-load.c: call gimp_create_image() and/or
	gimp_create_display(), don't attach a comment parasite.

	* app/core/gimpimage.c: call undo_free() in "destroy".

	* app/file-open.c
	* app/gui/palette-import-dialog.c
	* app/xcf/xcf-save.c: don't #include "gimage.h"
2001-07-05 16:21:36 +00:00
Michael Natterer a0014f7e8e app/Makefile.am removed...
2001-07-05  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* app/image_new.[ch]: removed...


	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpimage-new.[ch]: ...and (partly) added here.

	* app/core/gimp.[ch]: added gimp_create_image() which will be the
	_only_ place to get new images from soon.
	Added  a "create_display_func" function pointer...

	* app/gui/gui.[ch]: ...which gets initialized here.

	This way the core can create displays without depending on the
	interface.

	* app/app_procs.c
	* app/apptypes.h
	* app/core/gimpedit.c
	* app/gui/file-commands.c
	* app/gui/file-new-dialog.[ch]: changed accordingly.
2001-07-05 15:34:26 +00:00
Michael Natterer 31a0ad017a Fixed my latest log entry. 2001-07-04 23:01:11 +00:00
Michael Natterer f7c69b072b renamed gimp_initialize() to gimp_restore() because it loads all kinds of
2001-07-05  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp.[ch]: renamed gimp_initialize() to gimp_restore()
	because it loads all kinds of data. Added gimp_shutdown() to save
	the data. Added the global parasite list.

	* app/apptypes.h: removed ParasiteList.

	* app/core/core-types.h: added GimpParasiteList.

	* app/gimpparasite.[ch]: removed the global parasite list.

	* app/parasitelist.[ch]: s/ParasiteList/GimpParasiteList/
	s/parasite_list_*/gimp_patasite_list_*/

	* app/widgets/gimpdatafactoryview.c: don't save the data in
	gimp_data-factory_data_free().

	* app/app_procs.c
	* app/gimprc.c
	* app/undo.c
	* app/core/gimpchannel.c
	* app/core/gimpdatafactory.c
	* app/core/gimpdrawable.[ch]
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage.[ch]
	* app/core/gimplayer.c
	* app/pdb/brushes_cmds.c
	* app/pdb/parasite_cmds.c
	* app/xcf/xcf-save.c
	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/parasite.pdb: changed accordingly.
2001-07-04 22:59:25 +00:00
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