1. 25 Nov, 1999 1 commit
    • Michael Natterer's avatar
      Removed the definitions of the tearoff menu items and build them on the · 720518b3
      Michael Natterer authored
      1999-11-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/menus.c: Removed the definitions of the tearoff menu items
      	and build them on the fly. Added N_()-marked submenus instead so
      	they get properly translated. Removed N_() from all separators.
      
      	Hacked menu_translate(): Don't try to translate separators,
      	tearoffs and the /File/MRUxx entries. Avoid multiple lookups in
      	the "gimp-std-plugins" domain. Translating plug-in menu entries is
      	still broken.
      
      	Defined all filter categories for proper translation and a first
      	try to order them and to add separators (please comment...).
      
      	New Category /Filters/Web.
      
      	(Did 'make update-po' in the po* directories and updated the
      	german translations.)
      
      	* app/about_dialog.c
      	* app/brush_select.c
      	* app/drawable.c
      	* app/errors.c
      	* app/free_select.c
      	* app/gradient.c
      	* app/info_dialog.c
      	* app/plug_in.c
      	* app/tool_options.c: minor i18n updates like removing _() from
      	some error messages.
      
      	* app/context_manager.c: a private context for the Xinput Airbrush.
      
      	* plug-ins/common/video.c: Register under /Filters/Distorts
      
      	* plug-ins/imagemap/imap_main.c: Register under /Filters/Web
      	(Marc, what about putting "prepare for gif" and "webify" there?)
      
      	* plug-ins/perl/po/de.po: s/Xtn/Xtns/g
      720518b3
  2. 04 Oct, 1999 1 commit
    • Manish Singh's avatar
      use G_OS_WIN32 and G_HAVE_CYGWIN #defines · d0519fd3
      Manish Singh authored
      * app/app_procs.c
      * app/gdisplay_color.[ch]
      * app/gdisplay_color_ui.c: make the ui usable
      
      * app/gdisplay.c: enable cdisplay support
      
      * modules/Makefile.am
      * modules/cdisplay_gamma.c: moved gamma functionality to separate
      
      -Yosh
      d0519fd3
  3. 27 Sep, 1999 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/gimphelp.[ch] new files · 002aa905
      Michael Natterer authored
      1999-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimphelp.[ch]
      	* app/gimpui.[ch]: new files
      
      	* app/interface.[ch]
      	* app/preferences_dialog.[ch]
      
      	The GIMP Help System part 1: Press "F1" in any dialog to pop up
      	the help page for this dialog.
      
      	Moved the widget constructors from preferences_dialog.[ch] and the
      	query boxes from interface.[ch] to gimpui.[ch].
      
      	The dialog constructors take a help_func and a help_data
      	parameter and install the "F1" accelerator which emits the new
      	"help" signal.
      
      	The "help" signal callback calls help_func(help_data) which finally
      	has to call gimp_help() which in turn invokes the help browser.
      
      	Still have to find a proper way to (1) prevent "F1" being assigned
      	to some menu item and (2) to catch "F1" while browsing the menu
      	trees in order to pop up the help for the selected item.
      
      	* app/menus.c: a <Toolbox>/File/Help... menu item.
      	* app/commands.[ch]: a command callback for the "Help..." menu item.
      
      	* app/gimprc.[ch]: new boolean gimprc variable "use_help".
      
      	* app/info_dialog.[ch]: pass a help function and data to the info
      	dialog constructor.
      
      	* app/tools.[ch]: store the tools help page names in the tool info
      	structure. Export a special tools_help_func() which shows the help
      	page for the active tool.
      
      	* app/[all files calling a dialog constructor]: pass the dialog's
      	help page to the constructor.
      
      	Most dialogs are now created by gimp_dialog_new() which also sets
      	up the action_area and the WM delete event callback, so I removed
      	the resp. code from these files.
      
      	Fixed some minor bugs and did some other stuff but didn't change
      	any logic except dialog creation.
      
      	* plug-ins/helpbrowser/helpbrowser.c: don't try to call a running
      	help browser and don't install any menu path (all done in
      	app/gimphelp.[ch] now).
      002aa905
  4. 01 Sep, 1999 1 commit
    • Tor Lillqvist's avatar
      app/appenv.h New file. Includes <math.h>. Move G_PI, RINT(), ROUND() etc · 6ef23d98
      Tor Lillqvist authored
      1999-09-01  Tor Lillqvist  <tml@iki.fi>
      
      * app/appenv.h
      * libgimp/gimpmath.h: New file. Includes <math.h>. Move G_PI,
      RINT(), ROUND() etc from app/appenv.h here, so plug-ins can
      use them, too. Remove some commented-out old stuff in appenv.h.
      
      * libgimp/gimp.h: Include gimpmath.h.
      
      * libgimp/gimp.c (gimp_main): Win32: Don't install signal
      handlers, we can't do anything useful in the handler ourselves
      anyway (it would be nice to print out a backtrace, but that seems
      pretty hard to do, even if not impossible). Let Windows inform the
      user about the crash. If the plug-in was compiled with MSVC, and
      the user also has it, she is offered a chance to start the
      debugger automatically anyway.
      
      * app/*several*.c: Include gimpmath.h for G_PI etc. Don't include
      <math.h>, as gimpmath.h includes it.
      
      * plug-ins/*/*many*.c: Include config.h. Don't include <math.h>.
      Remove all the duplicated definitions of G_PI and rint(). Use
      RINT() instead of rint().
      
      * app/app_procs.[ch]: app_exit() takes a gboolean.
      
      * app/batch.c
      * app/commands.c
      * app/interface.c: Call app_exit() with FALSE or TRUE.
      
      * app/main.c (on_error): Call gimp_fatal_error. (main): Don't
      install any signal handler on Win32 here, either.
      
      * app/errors.c (gimp_fatal_error, gimp_terminate): Win32: Format
      the message and call MessageBox with it.  g_on_error_query doesn't
      do anything useful on Win32, and printf'ing a message to stdout or
      stderr doesn't do anything, either, in a windowing application.
      6ef23d98
  5. 22 Jul, 1999 1 commit
    • Michael Natterer's avatar
      new ui for the "Layer Offset" dialog. · a4c1e8a5
      Michael Natterer authored
      1999-07-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/channel_ops.[ch]: new ui for the "Layer Offset" dialog.
      
      	* app/channels_dialog.c
      	* app/layers_dialog.c: major code cleanup: Folded some callbacks
      	into common ones, "widget" instead of "w", indentation, ...
      
      	* app/commands.c
      	* app/interface.[ch]
      	* app/global_edit.c: the query boxes must be shown by the caller
      	now. There's no need to split up the string for the message box
      	manually as the Gtk 1.2 label widget handles newlines corectly.
      	Added the "edge_lock" toggle to the "Shrink Selection" dialog.
      	Nicer spacings for the query and message boxes.
      
      	* app/ink.c: tried to grab the pointer in the blob preview but
      	failed. Left the code there as a reminder (commented out).
      
      	* app/menus.c: reordered <Image>/Select.
      
      	I was bored and grep-ed the sources for ancient or deprecated stuff:
      
      	* app/about_dialog.[ch]
      	* app/actionarea.[ch]
      	* app/app_procs.c
      	* app/brush_edit.c
      	* app/brush_select.c
      	* app/color_select.c
      	* app/convert.c
      	* app/devices.c
      	* app/gdisplay.c
      	* app/gdisplay_ops.c
      	* app/histogram_tool.[ch]
      	* app/info_window.c
      	* app/install.c
      	* app/ops_buttons.c
      	* app/palette.c
      	* app/palette_select.c
      	* app/paths_dialog.c
      	* app/pattern_select.c
      	* app/resize.c
      	* app/scale_toolc.c
      	* app/text_tool.c:
      	s/container_border_width/container_set_border_width/g,
      	s/sprintf/g_snprintf/g, replaced some constant string lengths with
      	strlen(x).
      
      	* app/bezier_select.c
      	* app/blend.c
      	* app/boundary.c
      	* app/errors.[ch]
      	* app/free_select.c
      	* app/gimpbrushlist.c
      	* app/gimprc.c
      	* app/iscissors.c
      	* app/main.c
      	* app/patterns.[ch]
      	* app/text_tool.c: namespace fanaticism: prefixed all gimp error
      	functions with "gimp_" and formated the messages more uniformly.
      
      	* app/gradient.c
      	* app/gradient_select.c: same stuff as above for the ui
      	code. There are still some sub-dialogs which need cleanup.
      
      	Did some cleanup in most of these files: prototypes, removed tons
      	of #include's, i18n fixes, s/w/widget/ as above, indentation, ...
      a4c1e8a5
  6. 05 Jun, 1999 1 commit
  7. 07 Mar, 1999 1 commit
  8. 20 Feb, 1999 1 commit
  9. 24 Aug, 1998 1 commit
    • Manish Singh's avatar
      make xdelta not built by default, so poor users aren't confused · 72848df0
      Manish Singh authored
      * configure.in: make xdelta not built by default, so poor users aren't confused
      
      * libgimp/gimp.c
      * app/blob.c
      * app/errors.c
      * plug-ins/script-fu/script-fu-server.c: fixes for glib changes with
      s/g_debug/g_on_error_debug/ and s/g_vsprintf/g_strdup_vprintf/
      
      -Yosh
      72848df0
  10. 28 Jul, 1998 1 commit
    • Manish Singh's avatar
      app/Makefile.am app/errors.c app/errorconsole.[ch] app/app_procs.c · 36357280
      Manish Singh authored
      * app/Makefile.am
      * app/errors.c
      * app/errorconsole.[ch]
      * app/app_procs.c
      * app/appenv.h
      * app/menus.c: error console implementation from Nuke <nuke@bayside.net>
      Hooks to g_message
      
      * app/fileops.c: honor message_handler while still setting filesel widget
      sensitivity properly
      
      -Yosh
      36357280
  11. 19 Jun, 1998 1 commit
  12. 30 May, 1998 1 commit
    • Manish Singh's avatar
      more g_message changes · 6ddbb705
      Manish Singh authored
      * more g_message changes
      
      * CEL plugin update
      
      * INSTALL: info on why plugins don't get built
      
      -Yosh
      6ddbb705
  13. 28 May, 1998 1 commit
    • Manish Singh's avatar
      gimp_message. libgimp also overrides g_message for all plugins. Converted · 1d95a05a
      Manish Singh authored
      * redid the error message handling. g_message now calls message_box or prints
      to console depending on whether the no_interface is set or not. gimp-message
      is also exported to the PDB as a wrapper to g_message, and libgimp has a new
      API: gimp_message. libgimp also overrides g_message for all plugins. Converted
      lots of messages in app/* to g_message. Made script-fu a little friendlier.
      
      * updated the regex code from grep 2.2
      
      * said goodbye to the old script-fu logo in script-fu.h
      
      -Yosh
      1d95a05a
  14. 21 Apr, 1998 1 commit
  15. 13 Apr, 1998 1 commit
  16. 12 Apr, 1998 1 commit
  17. 11 Apr, 1998 1 commit
    • Manish Singh's avatar
      fixed up idle handler for file open (look like testgtk idle demo) · 0ed01919
      Manish Singh authored
      * app/app_procs.c: fixed up idle handler for file open (look like testgtk
      idle demo)
      
      * app/colomaps.c: fixup for visual test and use of gdk_color_alloc for some
      fixed colors (from Owen Taylor)
      
      * app/errors.h
      * app/errors.c
      * app/main.c
      * libgimp/gimp.c: redid the signal handlers so we only get a debug prompt on
      SIGSEGV, SIGBUS, and SIGFPE.
      
      * applied gimp-jbuhler-980408-0 and gimp-joke-980409-0 (warning fixups)
      
      * applied gimp-monnaux-980409-0 for configurable plugin path for multiarch
      setups
      
      -Yosh
      0ed01919
  18. 24 Nov, 1997 1 commit