2007-07-24 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/imap_main.c (main_set_title): use
g_filename_display_basename() instead of g_path_get_basename().
svn path=/trunk/; revision=22983
2007-05-30 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/imap_file.c (do_file_save_as_dialog): set a
filename based on the image name. Based on a patch from Kevin
Hurewitz (bug #317916).
* plug-ins/twain/tw_mac.c: don't use C++ style comments.
svn path=/trunk/; revision=22658
2007-05-25 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/imap_main.c
* plug-ins/imagemap/imap_object.[ch]: applied patch from Kevin
Hurewitz that adds keyboard control for resizing an area (bug
#439226).
svn path=/trunk/; revision=22609
2007-05-23 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/imap_cmd_move_sash.c (sash_move): applied
patch from Kevin Hurewitz that fixes resizing an area while being
zoomed in (bug #439222).
svn path=/trunk/; revision=22593
2007-05-10 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/imap_main.[ch]
* plug-ins/imagemap/imap_menu.c
* plug-ins/imagemap/imap_command.c: finished port of Undo and
Redo
menus to GtkAction. Closes bug #138841.
svn path=/trunk/; revision=22468
2007-02-18 Michael Natterer <mitch@gimp.org>
* app/text/gimptext-parasite.c
* plug-ins/flame/libifs.c: use g_strtod() instead of atof()
because these files have to parse strings that never had a clearly
specified format.
* plug-ins/script-fu/tinyscheme/scheme.c
* plug-ins/imagemap/imap_cern.l
* plug-ins/imagemap/imap_csim.l
* plug-ins/imagemap/imap_csim.y
* plug-ins/imagemap/imap_ncsa.l: use g_ascii_strtod() instead of
atof() because scheme code and imagemap files with wrong decimal
separators are clearly broken and should be rejected.
* plug-ins/imagemap/imap_cern_lex.c
* plug-ins/imagemap/imap_csim_lex.c
* plug-ins/imagemap/imap_csim_parse.c
* plug-ins/imagemap/imap_ncsa_lex.c: regenerated.
* plug-ins/common/sample_colorize.c: round numbers using sane code
instead of sprintf() and atod().
* plug-ins/Lighting/lighting_ui.c: removed some dead code.
svn path=/trunk/; revision=21942
2007-02-12 Mukund Sivaraman <muks@mukund.org>
* plug-ins/imagemap/imap_cmd_guides.c
* plug-ins/imagemap/imap_main.c
* plug-ins/imagemap/imap_main.h
* plug-ins/imagemap/imap_menu.c
* plug-ins/imagemap/imap_object.c
* plug-ins/imagemap/imap_preferences.h
* plug-ins/imagemap/imap_object.h: Cleaned up some warnings in
the imagemap plug-in; also fixed many function declarations.
svn path=/trunk/; revision=21904
2007-01-03 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/imap_about.c: make the About dialog
transient
to the main window and close it when the Close button is
pressed.
* plug-ins/imagemap/imap_cmd_guides.c: use a GimpHintBox.
* plug-ins/imagemap/imap_menu.c: marked menu labels and tooltips
for
translation.
svn path=/trunk/; revision=21629
2007-01-03 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/images/Makefile.am
* plug-ins/imagemap/images/stock-map-info.png
* plug-ins/imagemap/imap_stock.[ch]: removed custom info icon.
* plug-ins/imagemap/imap_menu.c: use GTK_STOCK_INFO instead.
* plug-ins/imagemap/imap_main.c
* plug-ins/imagemap/imap_default_dialog.c: make dialogs
transient
to the main window and the main window transient to the image
window.
svn path=/trunk/; revision=21628
2006-08-05 Raphael Quinet <raphael@gimp.org>
* plug-ins/imagemap/imap_ncsa.l: Do not declare a symbol "link"
because this conflicts with the system call declared in
<unistd.h>. Renamed that symbol "imap_link". Fixes bug #349589.
* plug-ins/imagemap/imap_ncsa_lex.c: Updated by hand in order to
avoid large changes introduced by more recent versions of flex.
2006-07-14 Maurits <m.rijk@chello.nl>
* plug-ins/imagemap/imap_grid.c
* plug-ins/imagemap/imap_main.c
* plug-ins/imagemap/imap_menu.c: fixed problem with zoom menu
2006-06-23 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/imap_preview.[ch]: moved rulers out of the
scrolled window and update them when the scroll adjustments
change. Fixes bug #341149.
* plug-ins/imagemap/imap_about.c
* plug-ins/imagemap/imap_menu.c: unrelated cleanups.
2006-05-20 Manish Singh <yosh@gimp.org>
Fixes to address -ansi -pedantic compilation (bug #342390).
Thanks goes to Daniel Richard G. for noticing and suggesting
fixes.
* libgimpbase/gimpsignal.c: #include "config.h" and define
__POSIX_SOURCE for sigaction stuff.
* app/base/tile-swap.c (tile_swap_test): use more portable
S_IRUSR and S_IWUSR, instead of S_IREAD and S_IWRITE.
* plug-ins/common/ripple.c
* plug-ins/imagemap/imap_main.c: use C89 comments.
* plug-ins/Lighting/lighting_preview.h: don't define spin widget
variables here...
* plug-ins/Lighting/lighting_ui.[ch]: ... and instead take care
of them here.
2006-05-12 Michael Natterer <mitch@gimp.org>
* plug-ins/imagemap/imap_csim.y: fix warning about unused return
value of g_list_append().
* plug-ins/imagemap/imap_csim_parse.[ch]: regenerated (using
bison 2.1 instead of 2.0, lots of things changed, please test).
2006-03-09 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/imap_main.c (button_press): do not attempt to
use a NULL function pointer.
* plug-ins/imagemap/imap_preview.c: added some sanity checks.
2005-09-09 Michael Natterer <mitch@gimp.org>
Added parent window API to the GimpProgress interface and to
the libgimp progress stuff. Might look strange, but does
the right thing in almost all cases (image window, file dialog,
script-fu dialog etc). Fixes bug #62988.
* app/core/gimpprogress.[ch]: added GimpProgress::get_window()
which should return a toplevel window ID if the progress is in a
window that wants to be the transient parent of plug-in dialogs.
* app/widgets/gimpwidgets-utils.[ch] (gimp_window_get_native): new
function which returns the window handle of a GtkWindow's GdkWindow.
* app/widgets/gimpfiledialog.c: implement ::get_window().
* app/display/gimpdisplay.[ch]: ditto. Removed window handle API.
* app/gui/gui-vtable.c: changed accordingly.
* libgimpbase/gimpbaseenums.[ch] (enum GimpProgressCommand):
added GIMP_PROGRESS_COMMAND_GET_WINDOW.
* app/plug-in/plug-in-progress.[ch] (plug_in_progress_get_window):
new function. Also renamed some functions to match the
GimpProgress interface, and not the legacy PDB procedure names.
* tools/pdbgen/pdb/progress.pdb
* app/core/gimppdbprogress.c: implement get_window() on both
sides of the wire, keeping backward compatibility (hopefully).
* libgimp/gimpprogress.[ch]: deprecated gimp_progress_install()
and added gimp_progress_install_vtable() which takes a vtable with
padding to be extensible. Added get_window() vtable entry and
dispatch it accordingly. Also added pulse() which was implemented
in a hackish way before. Everything is of course backward
compatible.
* libgimp/gimpprogressbar.c: inmplement the get_window() stuff
so a plug-in dialog containing a progress can be the transient
parent of another dialog in another plug-in.
* libgimp/gimpui.[ch] (gimp_ui_get_progress_window): new function
which returns a foreign GdkWindow of this plug-ins progress
window.
Renamed gimp_window_set_transient_for_default_display() to
gimp_window_set_transient() and make it use the progress' window
handle instead of the display's (which is the right thing to do in
almost all cases).
* libgimp/gimp.def
* libgimp/gimpui.def: add the new functions.
* tools/pdbgen/enums.pl
* app/pdb/internal_procs.c
* app/pdb/progress_cmds.c
* libgimp/gimpprogress_pdb.[ch]: regenerated.
* libgimp/gimpexport.c
* plug-ins/*/*.c: follow API change.
2005-09-05 Sven Neumann <sven@gimp.org>
* plug-ins: Call gimp_window_set_transient_for_default_display()
for most plug-in dialogs. Not yet done are load and save dialogs
and dialogs created from language bindings.