1. 25 Nov, 2002 1 commit
    • Manish Singh's avatar
      moved FINITE definition to $extra code. Changed to use #elif, much · 2b16283b
      Manish Singh authored
      2002-11-24  Manish Singh <yosh@gimp.org>
      
              * tools/pdbgen/pdb/image.pdb: moved FINITE definition to $extra
              code. Changed to use #elif, much cleaner.
      
              * app/pdb/image_cmds.c: regenerated
      
              * app/core/gimpenvirontable.[ch]: added support for app internal
              environment variable settings. These override any *.env files if
              there are collisions. Not sure on that policy. Also, envp is now
              generated on the first get_envp call.
      
              * app/gui/gui.[ch]: added gui_environ_init, which uses
              gimp_environ_table_add. Moved the setting of DISPLAY to here.
              Added setting of GDK_DISPLAY instead for the fb backends. Hm,
              perhaps GDK should do this itself...
      
              * app_procs.c: call gui_environ_init.
      
              * libgimpwidgets/gimpcolorscale.c
              * libgimpwidgets/gimpcolorscales.c: #include <string.h> for
              strlen and memcpy.
      
      -Yosh
      2b16283b
  2. 24 Nov, 2002 11 commits
    • Sven Neumann's avatar
      README updated · 086cf578
      Sven Neumann authored
      2002-11-24  Sven Neumann  <sven@gimp.org>
      
      	* README
      	* README.gtkdoc: updated
      086cf578
    • Jan Morén's avatar
      Updated Swedish translation. · da888cfb
      Jan Morén authored
      2002-11-24  Jan Morén  <jan.moren@lucs.lu.se>
      
              * sv.po: Updated Swedish translation.
      da888cfb
    • Sven Neumann's avatar
      libgimpwidgets/libgimpwidgets-sections.txt updated. · 3ba4105a
      Sven Neumann authored
      2002-11-24  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/libgimpwidgets-sections.txt
      	* libgimpwidgets/tmpl/gimpwidgets.sgml: updated.
      3ba4105a
    • Dave Neary's avatar
      libgimpwidgets/gimpwidgets.c libgimpwidgets/gimpwidgets.h · da5b08e8
      Dave Neary authored
      
      2002-11-24  Dave Neary  <bolsh@gimp.org>
      
              * libgimpwidgets/gimpwidgets.c
              * libgimpwidgets/gimpwidgets.h
              * plug-ins/common/blur.c
              * plug-ins/common/plasma.c
              * plug-ins/common/randomize.c
              * plug-ins/common/sinus.c
              * plug-ins/common/snoise.c
              * plug-ins/gflare/gflare.c
              * plug-ins/maze/algorithms.c
              * plug-ins/maze/maze.c
              * plug-ins/maze/maze.h
              * plug-ins/maze/maze_face.c: Changed the gimp random seed
              widget's behaviour and made associated changes in
              plug-ins that use it.
      da5b08e8
    • Dave Neary's avatar
      libgimpwidgets/gimpwidgets.c libgimpwidgets/gimpwidgets.h · ba9c7fe9
      Dave Neary authored
      
      
      2002-11-24  Dave Neary  <bolsh@gimp.org>
      
              * libgimpwidgets/gimpwidgets.c
              * libgimpwidgets/gimpwidgets.h
              * plug-ins/common/blur.c
              * plug-ins/common/plasma.c
              * plug-ins/common/randomize.c
              * plug-ins/common/sinus.c
              * plug-ins/common/snoise.c
              * plug-ins/gflare/gflare.c
              * plug-ins/maze/algorithms.c
              * plug-ins/maze/maze.c
              * plug-ins/maze/maze.h
              * plug-ins/maze/maze_face.c: Changed the gimp random seed
              widget's behaviour and made associated changes in
              plug-ins that use it.
      ba9c7fe9
    • Jan Morén's avatar
      Updated Swedish translation. · 5f28cddf
      Jan Morén authored
      2002-11-24  Jan Morén  <jan.moren@lucs.lu.se>
      
              * sv.po: Updated Swedish translation.
      5f28cddf
    • Jan Morén's avatar
      Updated Swedish translation. · 53e321e9
      Jan Morén authored
      2002-11-24  Jan Morén  <jan.moren@lucs.lu.se>
      
              * sv.po: Updated Swedish translation.
      53e321e9
    • Daniel Yacob's avatar
      Fixed Amharic translation. · f752dd8f
      Daniel Yacob authored
      f752dd8f
    • Sven Neumann's avatar
      fixed menu path. · b23e1fb5
      Sven Neumann authored
      2002-11-24  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_color_button_press): fixed menu path.
      b23e1fb5
    • Sven Neumann's avatar
      08eb304a
    • Michael Natterer's avatar
      removed GIMP_PARAM_RESTART from "marching-ants-speed". · bf53c3b2
      Michael Natterer authored
      2002-11-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpdisplayconfig.c: removed GIMP_PARAM_RESTART from
      	"marching-ants-speed".
      
      	* app/display/gimpdisplayshell-selection.[ch]: removed the "speed"
      	parameter from the constructor and get the speed from
      	GimpDisplayConfig when starting the ants.
      
      	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.
      
      	* app/display/gimpdisplayshell-handlers.c: connect to
      	notify::marching-ants-speed and restart the ants in the handler.
      
      	* app/gui/preferences-dialog.c: Added an own frame for the
      	canvas padding color. Even more cleanup.
      
      	* themes/Default/images/preferences/Makefile.am
      	* themes/Default/images/preferences/image-title.png: new image
      	for the new page. copied image-windows.png
      bf53c3b2
  3. 23 Nov, 2002 3 commits
    • Michael Natterer's avatar
      removed gimp_config_values_equal(). · 4ce4adf8
      Michael Natterer authored
      2002-11-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-utils.[ch]: removed
      	gimp_config_values_equal().
      
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpconfig.c: use g_param_values_cmp() instead so
      	our registered compare methods are used.
      
      	* app/config/gimpdisplayconfig.[ch]: added "canvas_padding_mode"
      	and "canvas_padding_color" properties.
      
      	* app/display/display-enums.[ch]: added enum GimpDisplayPaddingMode
      	which can be one of { theme, light check, dark check, custom }.
      
      	* app/display/gimpdisplay.h
      	* app/display/gimpdisplay-handlers.c: removed cached monitor
      	resolution values...
      
      	* app/display/gimpdisplayshell.[ch]: ...and added them here. Added
      	padding state as in GimpDisplayConfig. Added utility function
      	gimp_display_shell_set_padding() which hides all the details.
      	Added the new padding modes to the padding color button's context
      	menu.
      
      	* app/display/gimpdisplayshell-callbacks.[ch]: don't fiddle
      	with colors manually but use gimp_display_shell_set_padding()
      	in realize() and in the color button callbacks.
      
      	* app/display/gimpdisplayshell-handlers.c: connect to
      	notify::monitor-[xy]resolution and
      	notify::canvas-padding-[mode|color] and update accordingly.
      
      	* app/widgets/gimppropwidgets.[ch]: added
      	gimp_prop_color_button_new().
      
      	* app/widgets/gimpdialogfactory.[ch]: added
      	gimp_dialog_factories_session_clear() (unimplemented).
      
      	* app/gui/preferences-dialog.c: added widgets for padding mode and
      	color. Removed some callbacks by connecting the functions they
      	called directly. Cleanup.
      4ce4adf8
    • Daniel Yacob's avatar
      Updated Amharic translation. · c6188401
      Daniel Yacob authored
      c6188401
    • Jakub Steiner's avatar
      replace the generic folder · 3b188be6
      Jakub Steiner authored
      2002-11-23  Jakub Steiner <jimmac@ximian.com>
      
              * themes/Default/images/preferences/folders-environ.png:
              replace the generic folder
      3b188be6
  4. 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
  5. 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
  6. 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