1. 22 Nov, 2002 5 commits
    • Michael Natterer's avatar
      keep a pointer to the nav_ebox in the GimpDisplayShell struct. · 72d496e6
      Michael Natterer authored
      2002-11-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell.[ch]: keep a pointer to the
      	nav_ebox in the GimpDisplayShell struct.
      
      	* app/display/gimpdisplayshell-handlers.c: connect to
      	notify::navigation-preview-size and set the button insensitive for
      	GIMP_PREVIEW_SIZE_NONE. Also destroy an existing nav_popup so it
      	will be automatically re-created on the next click.  Connect to
      	notify::image-title-format and notify::image-status-format and
      	update them accordingly.
      
      	* app/display/gimpnavigationview.c: don't try any voodoo in
      	gimp_navigation_view_init(). Removed the notify handler.
      	Set the popup's size in gimp_navigation_view_new_private().
      
      	* app/gui/preferences-dialog.c: removed the #if 0'ed combo boxes
      	and added an own sub-page for the image title and status format.
      	Select the possible values using a GtkTreeView.  Some more
      	cleanup.
      72d496e6
    • Michael Natterer's avatar
      added gimp_prop_entry_new(), factored lots of stuff out to local utility · 8f21668f
      Michael Natterer authored
      2002-11-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimppropwidgets.c: added gimp_prop_entry_new(),
      	factored lots of stuff out to local utility functions, added some
      	comments to the header, cleanup.
      8f21668f
    • Sven Neumann's avatar
      allow to configure whether tips are shown on startup. · ac940f2c
      Sven Neumann authored
      2002-11-22  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/preferences-dialog.c: allow to configure whether tips
      	are shown on startup.
      
      	* app/gui/tips-dialog.c: threw out lots of code and use
      	gimp_prop_check_button_new() instead.
      ac940f2c
    • Sven Neumann's avatar
      changed the comment to say gimp-1.3, not gimp-1.2. · 7ed530d0
      Sven Neumann authored
      2002-11-22  Sven Neumann  <sven@gimp.org>
      
              * cs.po: changed the comment to say gimp-1.3, not gimp-1.2.
      7ed530d0
    • Michal Bukovjan's avatar
      Updated Czech translation. · bcae1554
      Michal Bukovjan authored
      bcae1554
  2. 21 Nov, 2002 5 commits
    • Maurits Rijk's avatar
      a64029ba
    • Sven Neumann's avatar
      app/config/gimpdisplayconfig.[ch] moved navigation_preview_size to · 2a37c9e6
      Sven Neumann authored
      2002-11-21  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpdisplayconfig.[ch]
      	* app/config/gimpguiconfig.[ch]: moved navigation_preview_size to
      	GimpDisplayConfig.
      
      	* app/gui/preferences-dialog.c: offer the full choice of
      	GimpPreviewSizes for the navigation preview size.
      
      	* app/display/gimpnavigationview.c: multiply the preview size by 3
      	to get reasonable values. Added some broken code that connects to
      	notify::navigation-preview-size.
      
      	* etc/gimprc.in: updated accordingly.
      2a37c9e6
    • Michael Natterer's avatar
      added tile_cache_init() and tile_cache_exit() as public functions. · 024061d9
      Michael Natterer authored
      2002-11-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/tile-cache.[ch]: added tile_cache_init() and
      	tile_cache_exit() as public functions.
      
      	* app/base/base.c: call them. Connect to GimpBaseConfig's
      	notify::tile-cache-size.
      
      	* app/core/gimpimage.c: connect to notify::transparency-type and
      	notify::transparency-size and call
      	gimp_image_invalidate_layer_previews() in the callback.
      
      	* app/display/gimpdisplay-foreach.[ch]: removed
      	gdisplays_expose_full().
      
      	* app/display/gimpdisplayshell-handlers.c: connect to
      	notify::transparency-type and notify::transparency-size and expose
      	the shell in the callback.
      
      	* app/display/gimpdisplayshell-render.[ch]: added render_init()
      	and render_exit() functions and connect to
      	notify::transparency-type and notify::transparency-size for
      	setting up the render buffers.
      
      	* app/gui/gui.c: call the new functions instead of render_setup().
      	Connect to notify::show-tool-tips.
      
      	* app/gui/preferences-dialog.c: copy values between the global
      	config object and its local clone only when they have changed.
      	Wrap setting of lots of values in g_object_[freeze|thaw]_notify().
      	Added lots of mnemonics.
      
      	* app/gui/resolution-calibrate-dialog.c: added mnemonics.
      
      	* app/widgets/gimppropwidgets.c: g_object_set() the values edited
      	by the gimp_prop_coordinates() much less often by remembering the
      	old values and setting them only when they have changed.
      024061d9
    • Sven Neumann's avatar
      libgimpmath/libgimpmath-sections.txt bye, bye G_MAXRAND. · e37e9184
      Sven Neumann authored
      2002-11-21  Sven Neumann  <neo@wintermute>
      
      	* libgimpmath/libgimpmath-sections.txt
      	* libgimpmath/tmpl/gimpmath.sgml: bye, bye G_MAXRAND.
      e37e9184
    • Sven Neumann's avatar
      don't set the default resolution from the monitor resolution entry. · bef28d23
      Sven Neumann authored
      2002-11-21  Sven Neumann  <neo@wintermute>
      
      	* app/gui/preferences-dialog.c (prefs_dialog_new): don't set the
      	default resolution from the monitor resolution entry.
      
      	* app/gui/user-install-dialog.c: use the new GimpPropWidgets. The
      	monitor resolution setup may need some more tweaking ...
      bef28d23
  3. 20 Nov, 2002 15 commits
    • Maurits Rijk's avatar
      Made a start at factoring out lots of common plug-in code into libgimp.... · 1a4dd501
      Maurits Rijk authored
      Made a start at factoring out lots of common plug-in code into libgimp. libgimpmisc.[ch] were created to hold the routines, until they are properly documented and put into their 'right' file, for example color functions into libgimpcolor, etc.
      1a4dd501
    • Maurits Rijk's avatar
    • Sven Neumann's avatar
      made object properties from the gimprc filenames. Use NULL to set to the · 3f201df9
      Sven Neumann authored
      2002-11-20  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimprc.c: made object properties from the gimprc
      	filenames. Use NULL to set to the default values.
      
      	* app/app_procs.c
      	* app/gui/user-install-dialog.[ch]: don't pass a gimp pointer to
      	the user installation dialog. All it needs to know are the
      	alternative gimprc names if such are given on the command-line.
      3f201df9
    • Michael Natterer's avatar
      app/widgets/Makefile.am new files containing constructors for views on · 0005b5d2
      Michael Natterer authored
      2002-11-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimppropwidgets.[ch]: new files containing
      	constructors for views on GObject properties.
      
      	* app/gui/Makefile.am: the build preferences-dialog again.
      
      	* app/gui/dialogs-constructors.c
      	* app/gui/dialogs.c
      	* app/gui/menus.c: added it back to the dialog system (as a non
      	signleton to get the new model <-> view stuff some testing).
      
      	* app/gui/preferences-dialog.c: here it is again, using property
      	view widgets. Lots of stuff removed & simplified. Some things
      	still #if 0'ed and/or non-working. No saving yet, stuff...
      0005b5d2
    • Sven Neumann's avatar
      store the gimprc filenames in the GimpRc object; will become properties · 72625823
      Sven Neumann authored
      2002-11-20  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimprc.[ch]: store the gimprc filenames in the
      	GimpRc object; will become properties later.
      
      	* app/app_procs.c: use the new GimpRc API and added the
      	functionality back that allows to specify different gimprc
      	files on the command-line.
      
      	* app/gui/user-install-dialog.c: don't work on the real gimprc
      	object but create one for the install procedure and save it.
      72625823
    • Michael Natterer's avatar
      added *_new_with_values() and *_new_with_values_valist() variants to make · 018dae53
      Michael Natterer authored
      2002-11-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpenummenu.[ch]: added *_new_with_values() and
      	*_new_with_values_valist() variants to make enum menu creation
      	even more customizable.
      018dae53
    • Michael Natterer's avatar
      added GIMP_PARAM_RESTART and GIMP_PARAM_CONFIRM flags and changed all · 8b6ec3b3
      Michael Natterer authored
      2002-11-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-params.h: added GIMP_PARAM_RESTART and
      	GIMP_PARAM_CONFIRM flags and changed all param spec macros
      	to have a "flags" parameter.
      
      	* app/config/gimpbaseconfig.c
      	* app/config/gimpcoreconfig.c
      	* app/config/gimpdisplayconfig.c
      	* app/config/gimpguiconfig.c: tag the values which need restart or
      	confirmation with the resp. flags. Changed all macro calls
      	accordingly.
      
      	* app/core/gimpcontext.c
      	* app/widgets/gimpdeviceinfo.c: changed macro calls accordingly.
      8b6ec3b3
    • Michael Natterer's avatar
      s/gimp_config_equal/gimp_config_is_equal_to/ to match the implementation. · c3391322
      Michael Natterer authored
      2002-11-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig.h:
      	s/gimp_config_equal/gimp_config_is_equal_to/ to match the
      	implementation.
      c3391322
    • Sven Neumann's avatar
    • Dave Neary's avatar
      plug-ins/maze/maze.[ch] plug-ins/maze/algorithms.c Changed occurreces of · 0a4c338e
      Dave Neary authored
      
      
      2002-11-20  Dave Neary  <bolsh@gimp.org>
      
              * plug-ins/maze/maze.[ch]
              * plug-ins/maze/algorithms.c
              * plug-ins/maze/maze_face.c: Changed occurreces of
              timeseed to defaultseed to more accurately reflect what
              happens with the g_rand* functions. Sorry for missing one
              earlier & temporarily breaking the build :~}
      0a4c338e
    • Sven Neumann's avatar
      Reverted bolsh's change which broke my fix. · 7bdf56a6
      Sven Neumann authored
      7bdf56a6
    • Dave Neary's avatar
      Fixed a silly mistake that broke the build. Sorry. · b48d3997
      Dave Neary authored
      
      
      2002-11-20  Dave Neary  <bolsh@gimp.org>
      
      	* maze_face.c: Fixed a silly mistake that broke the build. Sorry.
      b48d3997
    • Sven Neumann's avatar
      date fixed · 227bc4c3
      Sven Neumann authored
      227bc4c3
    • Sven Neumann's avatar
      make it compile · 2394271e
      Sven Neumann authored
      2394271e
    • Dave Neary's avatar
      configure.in app/core/gimpbrushpipe.c app/gui/about-dialog.c · cd28dee8
      Dave Neary authored
      
      
      2002-11-20  Dave Neary  <bolsh@gimp.org>
      
              * configure.in
              * app/core/gimpbrushpipe.c
              * app/gui/about-dialog.c
              * app/paint-funcs/paint-funcs-generic.h
              * app/paint-funcs/paint-funcs.c
              * libgimpmath/gimpmath.h
              * libgimpwidgets/gimpwidgets.c
              * plug-ins/common/CML_explorer.c
              * plug-ins/common/blur.c
              * plug-ins/common/cubism.c
              * plug-ins/common/gee.c
              * plug-ins/common/gee_zoom.c
              * plug-ins/common/gqbist.c
              * plug-ins/common/jigsaw.c
              * plug-ins/common/lic.c
              * plug-ins/common/noisify.c
              * plug-ins/common/nova.c
              * plug-ins/common/papertile.c
              * plug-ins/common/plasma.c
              * plug-ins/common/randomize.c
              * plug-ins/common/sample_colorize.c
              * plug-ins/common/scatter_hsv.c
              * plug-ins/common/shift.c
              * plug-ins/common/sinus.c
              * plug-ins/common/smooth_palette.c
              * plug-ins/common/snoise.c
              * plug-ins/common/sparkle.c
              * plug-ins/common/spheredesigner.c
              * plug-ins/common/spread.c
              * plug-ins/common/warp.c
              * plug-ins/common/wind.c
              * plug-ins/flame/cmap.c
              * plug-ins/flame/flame.c
              * plug-ins/flame/libifs.c
              * plug-ins/gflare/gflare.c
              * plug-ins/gimpressionist/gimpressionist.c
              * plug-ins/gimpressionist/gimpressionist.h
              * plug-ins/gimpressionist/plasma.c
              * plug-ins/gimpressionist/repaint.c
              * plug-ins/ifscompose/ifscompose_utils.c
              * plug-ins/maze/algorithms.c
              * plug-ins/maze/maze.c
              * plug-ins/maze/maze.h
              * plug-ins/mosaic/mosaic.c: Change all occurrences of RAND_MAX,
              G_MAXRAND, rand(), srand(), lrand48(), srand48(), random(),
              srandom(), RAND_FUNC and SRAND_FUNC to the appropriate g_rand*
              equivalent. Programs which require seed setting for reproducible
              results, and anything in the core, gets a dedicated GRand * for
              the lifetime required. Programs which only ever used random
              numbers for tossing a coin, rolling a dice, etc use g_random
              functions. For the rest, judgement was used. Where it was easy, a
              GRand * object was used and g_rand_* functions were
              preferred. This fixes bug #67386 in HEAD.
      cd28dee8
  4. 19 Nov, 2002 4 commits
  5. 18 Nov, 2002 11 commits
    • Manish Singh's avatar
      really fix a comment · 61945563
      Manish Singh authored
      2002-11-19  Manish Singh  <yosh@gimp.org>
      
              * data/environ/Makefile.am: really fix a comment
      61945563
    • Sven Neumann's avatar
      added a missing include. · 2e55b969
      Sven Neumann authored
      2002-11-18  Sven Neumann  <sven@gimp.org>
      
      	* app/app_procs.c: added a missing include.
      2e55b969
    • Sven Neumann's avatar
      app/Makefile.am we don't need these any longer. · 26c591f2
      Sven Neumann authored
      2002-11-18  Sven Neumann  <sven@gimp.org>
      
      	* app/Makefile.am
      	* app/general.[ch]: we don't need these any longer.
      26c591f2
    • Sven Neumann's avatar
      Finally landed the new GimpConfig based gimprc parser. It's not finished · 073e533a
      Sven Neumann authored
      2002-11-18  Sven Neumann  <sven@gimp.org>
      
      	Finally landed the new GimpConfig based gimprc parser. It's not
      	finished yet but we need to start somewhere. This release removes
      	the old gimprc.[ch] files. The gimprc format changes slightly, but
      	the changes are minimal. The Preferences dialog is temporarily
      	disabled since it still needs to be ported. If you are are afraid,
      	stay away from CVS for a few days ;-)
      
      	* app/Makefile.am
      	* app/gimprc.[ch]: removed the old gimprc system.
      
      	* app/base/Makefile.am
      	* app/base/base-config.[ch]: removed these files in favor of
      	config/gimpbaseconfig.[ch].
      
      	* app/core/Makefile.am
      	* app/core/gimpcoreconfig.[ch]: removed these files in favor of
      	config/gimpcoreconfig.[ch].
      
      	* app/config/Makefile.am
      	* app/config/config-types.h: moved typedefs into this new file.
      
      	* app/config/gimpbaseconfig.[ch]
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimpdisplayconfig.[ch]
      	* app/config/gimpguiconfig.[ch]
      	* app/config/gimprc.[ch]
      	* app/config/test-config.c: brought into shape for real use.
      
      	* app/base/base-types.h: include config/config-types.h here. Added
      	a global GimpBaseConfig *base_config variable to ease migration.
      
      	* app/gui/Makefile.am: temporarily disabled the preferences dialog.
      
      	* app/app_procs.c
      	* app/undo.c
      	* app/undo_history.c
      	* app/base/base.[ch]
      	* app/base/gimphistogram.c
      	* app/base/pixel-processor.c
      	* app/base/temp-buf.c
      	* app/base/tile-cache.c
      	* app/core/core-types.h
      	* app/core/gimp-documents.c
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagefile.c
      	* app/core/gimpmodules.c
      	* app/core/gimppattern.c
      	* app/display/Makefile.am
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/display/gimpdisplayshell-selection.c
      	* app/display/gimpdisplayshell.[ch]
      	* app/display/gimpnavigationview.c
      	* app/file/file-save.c
      	* app/gui/device-status-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/paths-dialog.c
      	* app/gui/resize-dialog.c
      	* app/gui/session.c
      	* app/gui/test-commands.c
      	* app/gui/tips-dialog.c
      	* app/gui/tips-dialog.h
      	* app/gui/user-install-dialog.c
      	* app/gui/view-commands.c
      	* app/paint/gimppaintcore.c
      	* app/plug-in/plug-in.c
      	* app/plug-in/plug-ins.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimptexttool.[ch]
      	* app/tools/selection_options.c
      	* app/tools/tools.c
      	* app/tools/transform_options.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpitemfactory.c
      	* app/widgets/gimpselectioneditor.c
      	* app/xcf/xcf-load.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gimprc.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: use the new config system
      	instead of the old gimprc stuff.
      
      	* etc/gimprc.in
      	* etc/gimprc_user.in: adapted to the new gimprc format. Will update
      	the man-page later...
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/transform_tools_cmds.c
      	* libgimp/gimpgimprc_pdb.c: regenerated.
      073e533a
    • Sven Neumann's avatar
      improved error message for the special case of store_unknown_tokens == · 6e5f6a0b
      Sven Neumann authored
      2002-11-18  Sven Neumann  <neo@wintermute>
      
      	* app/config/gimpconfig-deserialize.c
      	(gimp_config_deserialize_properties): improved error message for
      	the special case of store_unknown_tokens == TRUE.
      6e5f6a0b
    • Sven Neumann's avatar
      try to substitute paths of the form ${foo} in the unknown token value. · 79101957
      Sven Neumann authored
      2002-11-18  Sven Neumann  <neo@wintermute>
      
      	* app/config/gimpconfig.c (gimp_config_add_unknown_token): try to
      	substitute paths of the form ${foo} in the unknown token value.
      
      	* data/environ/Makefile.am: fixed a comment.
      79101957
    • Sven Neumann's avatar
      allow numbers when deserializing enum values. · e90728cf
      Sven Neumann authored
      2002-11-18  Sven Neumann  <neo@wintermute>
      
      	* app/config/gimpconfig-deserialize.c (gimp_config_deserialize_enum):
      	allow numbers when deserializing enum values.
      e90728cf
    • Sven Neumann's avatar
      data/images/Makefile.am removed old animated splash. · 2b01d397
      Sven Neumann authored
      2002-11-18  Sven Neumann  <sven@gimp.org>
      
      	* data/images/Makefile.am
      	* data/images/gimp_splash.gif: removed old animated splash.
      
      	* data/images/gimp_splash.png: a new splash screen for 1.3.11
      	created by Jakub Steiner <jimmac@ximian.com>.
      2b01d397
    • Michael Natterer's avatar
      removed public function gimp_transform_tool_transform_tiles() and made it · c8a98076
      Michael Natterer authored
      2002-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptransformtool.[ch]: removed public function
      	gimp_transform_tool_transform_tiles() and made it the default
      	implementation of the transform() virtual function. Added
      	"const gchar *progress_text" to GimpTransformTool so it is
      	available for the new default implementation. Cleanup.
      
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c: removed transform() implementations
      	and set transform_tool->progress_text accordingly. Even more
      	cleanup.
      c8a98076
    • Sven Neumann's avatar
      try automake-1.7 if automake-1.6 is not available. · fdf3d233
      Sven Neumann authored
      2002-11-18  Sven Neumann  <sven@gimp.org>
      
      	* autogen.sh: try automake-1.7 if automake-1.6 is not available.
      fdf3d233
    • Michael Natterer's avatar
      forgot to remove the "_delete_event_" stuff's documentation. · 9fb41c87
      Michael Natterer authored
      2002-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpdialog.c: forgot to remove the
      	"_delete_event_" stuff's documentation.
      9fb41c87