2003-07-30  Sven Neumann  <sven@gimp.org>

	* configure.in: use AM_PATH_GIMP_2_0, changed gettext domain to
	gimp20-gap.

2003-07-14  Wolfgang Hofer <hof@gimp.org>
        Minor fixes: compiler warnings signed/unsigned comparisons,
	types of parameters in the GimpPlugInInfo.run procedure
	changed to fit gimp-1.3.17
	gimp_interactive_selection_font was renamed to:  gimp_font_select_new
        * gap/gap_main.c
        * gap/gap_arr_dialog.c [.h]
	* gap/gap_filter_iterators.c
	* gap/gap_filter_main.c
	* gap/gap_filter.h	
	* gap/gap_timeconv.c
        * gap/gap_frontends_main.c
	* gap/gap_name2layer_main.c
	* gap/gap_navigator_dialog.c
	* gap/gap_onion_main.c
	* gap/gap_player_main.c
	
2003-07-14  Sven Neumann  <sven@gimp.org>

	* gap/gap_mpege.c
	* gap/gap_name2layer_main.c
	* gap/gap_onion_base.c
	* gap/gap_onion_dialog.c	
	* gap/gap_split.c: removed whitespace from messages (bugs #117205
	and #117206) and fixed a typo (bug #117207). Removed trailing
	whitespaces from the code.

2003-07-12 Wolfgang Hofer <hof@gimp.org>
     Onionskin Configuration Dialog:
     added Close Button, Auto Create after Load, Auto Delete before Save
     (suggestions from Richard Van Den Boom),
     Scope of Onionskin Settings changed from "Global for GIMP Session"
     to "Permanent for the current Animation"
     (Settings are now stored in the *_vin.gap files)
          
     Some Internal Reorganisations, more general video_info file handling
     (added processing of the onionskin Settings here)  
     
     Bugfixes Navigator Dialog: video paste now working again,
                                scale slider now reflects visible size
                                del_button, dup_button sensitvity depends on selections
     
     * gap/gap_onion_base.c [.h]   (newly created modules, spliited of from gap_onion_worker)
     * gap/gap_onion_worker.c [.h]
     * gap/gap_onion_main.c [.h]
     * gap/gap_onion_dialog.c
     * gap/gap_lib.c [.h]
     * gap/gap_vin.c [.h]
     
     * gap/gap_navigator_dialog.c
     * gap/gap_arr_dialog.c
     * gap/gap_mov_dialog.c    // removed deprecated GtkKPreview widget (replaced by drawing_area based gap_pview_da calls)

     * gap/README:          updated GAP-specific gimpc config
     * gap/Makefile.am
     
2003-07-07  Sven Neumann  <sven@gimp.org>

	* gap/README_developers: updated the example code. It was still
	refering to GIMP-1.0 API.

2003-07-06 Wolfgang Hofer <hof@gimp.org>
      bugfixes in onionskinlayer non-interactive PDB api, 
      bugfixes in onionskinlayer dialog  
      spinbutton values were ignored when typed into the entry 
       (connect to "value_changed" of the ajustment 
        rather than "changed" of spinbutton)
      added new parameter farn_opaque for ascending opacity.
      (useful for cross-fading)
      
      gap/gap_onion_main.c [.h]
      gap/gap_onion_worker.c

2003-07-04 Wolfgang Hofer <hof@gimp.org>
      bugfixes in the Navigator Dialog
       - Smart Thumbnail update
       - drop cached thumbnails (deafult icons) after Thumbnail update
      * gap/gap_navigator_dialog.c
      
2003-07-04 Wolfgang Hofer <hof@gimp.org>
       new Feature Change Framedensity
       Confirm Dialog for Frame Delete Operations

       should depend on new gimprc Paramter:
          (video-confirm-frame-delete no)  // defaults to yes.
          
          ==> does not work. (gimprc was edited by hand)
              ?? maybe gimprc does not support foreign keywords
                 (unknown to the gimp-core) any longer
       
       * gap/gap_main.c
       * gap/gap_bae_ops.c [.h]
       * gap/gap_arr_dialog.c [.h]

2003-07-02 Wolfgang Hofer <hof@gimp.org>
        Navigator Dialog: bugfix for highlighting of selected items.
        minor Tooltips helptext fixes
        * gap/gap_navigator_dialog.c
        * gap_onion_dialog.c

2003-06-30  Abel Cheung  <maddog@linux.org.hk>

	* configure.in: Added "hr" "it" "lt" "nn" "ro" "sl" "zh_CN" to ALL_LINGUAS.

2003-06-30  Sven Neumann  <sven@gimp.org>

	* gap/gap_decode_mpeg_main.c
	* gap/resize.c: removed these unused files from CVS.

2003-06-29 Wolfgang Hofer <hof@gimp.org>
        - VCR Navigator Redesign
          - replaced all the scrolled_window stuff by a gtk_table
            and add/remove rows on significant window height changes.
              now the navigator can handle unlimited number of animframes
              uses less resources and works faster.
          - use gap_pview_da instead of deprecated gtk_preview
          - mtime checking now based on framefilename
            (checking the thumbnailfilename is not a good idea since we support
             2 thumbnail standards)
          - added Select All / Select None menu_items
            to the PopUp Menu
          - manage scroll and selection in navigator code.
            
            HIGHLIGHTING of the selected frame_widgets does not work yet.
            (need to learn more about gtk to fix that)

        * gap/gap_navigator_dialog.c
        * gap/gap_pview_da.c [.h]
        * gap/Makefile.am
2003-06-26 Wolfgang Hofer <hof@gimp.org>
        - Player: layout bugfix preview drawing_area size did not math surrounding frame
                  (now using an aspect_frame, required some changes in resizing)
                  query gimprc for "show-tool-tips"
        * gap/gap_pview_da.c [.h]
        * gap/gap_player_main.c [.h]
        * gap_player_dialog.c
        
        - no textsplitting across multiple lables (for translation)
        * gap/gap_mpege.c
        * gap/gap_decode_xanim.c

-- gimp-gap-1.3.15a_pre52 --

2003-06-22 Wolfgang Hofer <hof@gimp.org>
       - downloaded CVS-snapshot gimp-gap-2003-06-20.tar.gz and
         merged changes from mitch with my local copy of gimp-gap
         (could not test the merged version, because gimp-1.3.16 was not availabe
         for download, and i have no CVS)

        * ChangeLog                   (added merge comments)
          configure.in                (using CVS 1:1 no changes needed)
          gap/gap_decode_mpeg_main.c  (using CVS 1:1 no changes needed this is DEAD code)
          gap/gap_filter_codegen.c    (using CVS 1:1 no changes needed)
          gap/gap_filter_iterators.c  (using CVS 1:1 no changes needed)
          gap/gap_filter_main.c       (using CVS 1:1 no changes needed)
          gap/gap_filter_pdb.c        (using CVS 1:1 no changes needed)
          gap/gap_frontends_main.c    (using CVS 1:1 no changes needed)
        * gap/gap_stock.c             (initilized bug was already fixed local)
       
2003-06-21 Wolfgang Hofer <hof@gimp.org>
       - cleanup texts with leading/trailing spaces (textspacing)
         (changes applied to all po/*.po files)
        * gap/gap_array_dialog.c
        * gap/gap_base_ops.c
        * gap/gap_decode_xanim.c
        * gap/gap_mod_layer
        * gap/gap_mpege.c
        * gap/gap_range_ops.c
         
       - bugfixes and performance tweaks for the Playback Module
          (use a seperate new module for rendering drawing_area with GDK routines,
          and handle expose events in my own handler)
        * gap/gap_player_main.c [.h]
        * gap/gap_player_dialog.c [.h]
        * gap/gap_pview_da.c [.h]
        
       - VCR Navigator bugfix for OPS-Button handler makes SHIFT modifier work again.
       - gap_name2layer_main.c bugfix: MenuPath is language dependent string
       - gap_mov_dialog.c:  attempt to remove some deprecated calls (no success)
       
2003-06-15 Wolfgang Hofer <hof@gimp.org>
       - (hopefully temporary) Workaround in gap_pd_calls.c: p_gimp_image_thumbnail
          gimp_image_thumbnail  cant handle size bigger than 128x128
          but return success and NULL data pointer on bigger sizes
          (The workaround tries a 2.nd call with reduced size in such cases)
         
      - VCR Navigator:
          now use new gap_player  Plug-In as new playback standard,
                SHIFT: use gimp animation play (on temp_image)
      - new modules for gap common use in playback and naviagator
        
	* gap/Makefile.am
        * gap/gap_pview.c [.h]
        * gap/gap_timeconv.c [.h]
      
2003-06-09 Wolfgang Hofer <hof@gimp.org>
      - Start Implementation of video playback modules
	* gap/Makefile.am
        * gap/gap_player_main.c [.h]
        * gap/gap_player_dialog.c [.h]
        
      - gap_stock.c:gap_stock_init  bugfix: must set initialized = TRUE; to avoid double init problems
	* images/Makefile.am
	* images/gap-play-reverse.png
	* images/gap-pause.png
         
    
2003-06-20  Michael Natterer  <mitch@gimp.org>

	* configure.in: require autoconf 2.52 and GIMP 1.3.16.

	* gap/gap_decode_mpeg_main.c
	* gap/gap_filter_codegen.c
	* gap/gap_filter_iterators.c
	* gap/gap_filter_main.c
	* gap/gap_filter_pdb.c
	* gap/gap_frontends_main.c: made all GIMP_EXTENSION procedures
	normal GIMP_PLUGIN ones to follow the latest GIMP API change.

2003-06-20  Michael Natterer  <mitch@gimp.org>

	* gap/gap_stock.c (gap_stock_init): set initialized to TRUE
	before returning.

2003-06-04  Sven Neumann  <sven@gimp.org>

	* gap/gap_navigator_dialog.c
	* gap/gap_stock.[ch]: use GIMP and GTK+ stock icons instead of
	duplicating them.

	* images/Makefile.am
	* images/gap-delete.png
	* images/gap-duplicate.png
	* images/gap-first.png
	* images/gap-last.png
	* images/gap-next.png
	* images/gap-prev.png: removed duplicates of GIMP and GTK+ stock
	icons.

	* images/gap-*.png: replaced with versions from Jimmac's web-site
	that have full transparency.

2003-06-03 Wolfgang Hofer <hof@gimp.org>
      - switched to PNG stock-icons 
          added gap_stock.c [.h]
          added images directory
          removed pixmaps directory
          (gap_navigator_dialog.c, gap_mov_dialog.c)
      - gap_vin.c : using setlocale independent float conversion procedures  g_ascii_strtod() and g_ascii_dtostr()
      - gap_thumbnail.c:  check only for thumbnail-size "none" (suggested by sven see #113033)
                          removed p_gimp_file_has_valid_thumbnail

       ### unstable prerelease: gimp-gap-1.3.14a_pre37  (http://sven.gimp.org/gimp-gap-2003-05-30.tar.gz)

2003-05-27 Wolfgang Hofer <hof@gimp.org>
       - GAP thumbnail handling procedures are now in module gap_thumbnail
         - support for new PNG thumbnail standard
           (old .xvpics standard is supported too 
           but only at read, copy, rename and delete file operations)
         - conditional thumbnail creation depends on gimprc
           keywords: thumbnail-size, video-thumbnails
           value strings for video-thumbnails are "none", "standard"
         
       - gap_lib  conditional save now depends on
             GIMP standard gimprc keyword "trust-dirty-flag"
             (removed support for old GAP private keyword "video-unconditional-frame-save")
       - gap_navigator_dialog 
          - replaced scale widgets by spinbuttons
          - check gimprc for layer-preview-size  (tiny to gigantic)
            (old keyword was just "preview-size")
       - gap_split_image 
          - bugfix: force default name (without numberpart) for unnamed image
                    (otherwise split would be rejected as "is already an animframe")
          - added parameter: digits and only_visible 
         
       - gap_mov_dialog.c some layout changes suggested by Jakub Steiner
         - added pixmap to buttons (many thanks to Jakub for the Icons)
         - Moved the preview Frame slider right below the preview
         - Clear point and Clear all points was renamed to
           Reset point/Reset all points.
           
       - p_set_video_info: now keeps unkown keyword lines in 
         'videoinfo (_vin.gap) files
         (to be compatible to future expansions)
         
       - internal sourcecode reorganisations:
         -new module  gap_base_ops.c [.h]       split off from  gap_lib.c [.h]
         -new module  gap_mov_render.c [.h]     split off from  gap_mov_dialog.c [.h]
         -new module  gap_vin.c [.h]            split off from  gap_pdb_calls.c [.h]
         -new module  gap_thumbnail.c [.h]      from  gap_lib.c [.h] and gimp/app/core/gimpimagefile.c

2003-05-22 Wolfgang Hofer <hof@gimp.org>
       - added onionskin modules
	 gap_onion_main.c	\
	 gap_onion_main.h	\
	 gap_onion_dialog.c	\
	 gap_onion_dialog.h	\
	 gap_onion_worker.c	\
	 gap_onion_worker.h	\

        (this is the integration of the onionskin stand alone package
         plus porting to gimp-1.3.14, gtk+-2.2)

2003-05-21 Wolfgang Hofer <hof@gimp.org>
       - added gap/gap_resi_dialog.c [h] again.
         The code was completly rewritten inspired by gimp/app/resize.c
         and provides dialogs for scale/resize/crop Frames
         (now using the GimpOffsetArea widget.)
         
2003-05-16 Wolfgang Hofer <hof@gimp.org>
       - gap_array_dialog  
          - new WGT_FONTSEL
          - gap_array_dialog  new WGT_DEFAULT_BUTTON 
            moved to action area, now using button from stock GIMP_STOCK_RESET
          - changed WGT_INT, and WGT_FLT from entry to spinbutton
          - put OK button rightmost (new GUI standard)
       - Added new Plug-In gap_name2layer_main.c
         create a textlayer from imagename (or its number part)
         optional renders on active drawable.
       - Put OK Button right (Gnome GUI Standard)
         gap_array_dialog.c, gap_mov_dialog.c, gap_mod_layer.c
            
2003-05-09  Sven Neumann  <sven@gimp.org>

	Merged a large patch from Wolfgang Hofer.

	Did some cleanup after applying the patch:
        - Removed all calls to _gimp_help_init().
	- Replaced all calls to gtk_init() with gimp_ui_init().
	- Added back G*_DISABLE_DEPRECATED to the CPPFLAGS.
	- Replaced newly added deprecated code with non-deprecated
	  variants.

------- Wolfgang Hofer  2003.05.03 -------

Removed Files: 
  # (those files are no longer part of GAP, dont include them in distributions
  # but keep them in CVS for older GAP versions)

  gap/gap_resi_dialog.c
  gap/gap_resi_dialog.h
  gap/resize.c
  gap/resize.h
  gap/gap_exchange_image.c
  gap/gap_exchange_image.h
  gap/gap_decode_mpeg_main.c

Removed Dir:
  gap/gimp_1.0.2_src
  
 

New Files:
  gap/gap_lock.c
  gap/gap_lock.h
  gap/gap_lastvaldesc.c
  gap/gap_lastvaldesc.h
  gap/gimplastvaldesc.c
  gap/gimplastvaldesc.h
  
------- 

------------------
Porting Change Log
__________________

2003.05.03

x- filter all layers
  o- gimplastvaldesc will not be added to libgimp in gimp-1.3.x
     need more general solution for gimp 2.0
  x- add the old Iterator_ALT stuff (that was removed in the current port)
     - still need to check all interfaces

?- Tooltips does not work because gimp_help_init was removed ( was renamed to _gimp_help_init)
     gap_std_dialog (pid:2252): Gtk-CRITICAL **: file gtktooltips.c: line 244 (gtk_tooltips_set_tip): assertion `GTK_IS_TOOLTIPS (tooltips)' failed

   i changed gap to use _gimp_help_init instead of  gimp_help_init to keep 
   to keep calls to gimp_help_set_help_data working with gimp-1.3.12 . 

   ==> maybe this has to be changed because the name _gimp_help_init does not sound like a public interface ??,
       another idea to fix that, is to remove all calls to gimp_help_set_help_data
       and use native gtk_tooltips instead.
   (i also tried to use gimp_widgets_init but this did not work
    becuse it sometimes will be called twice.
    leads to crash in MovePath-> Animated preview where more dialog windows
    (MovePath dialog and array_dialog) are opened.

x- merge in (upto)6-digit framenumber support feature (from gap_vid_enc project)
x- implement renumber feature
x- merge in existing gap port into gimp-gap CVS version provided by sven   
x- Remove  gap_decode_mpeg  (gap_decode_mpeg_main.c)

   The obsolete plug-in gap_decode_mpeg uses the old unmaintained libmpeg
   and crashed in most of the tests...

   


2003.04.xx
 ------------------------------------
 GAP has moved to a seperate CVS project. "gimp-gap"
 Automake Makefiles configuration was created by Sven.
 The old GAP sourcecode (that was part of gimp-1.2.x) 
 with its complete history was used to create the new project.
 Sven did some little modifications (gap-intl.h) to comiple standalone with gimp-1.3.x
 ------------------------------------

2003.01.19
 x- use gimp_directory  (replace gimp_gimprc_query for "gimp_dir")
 
 x- GAP conditional save (based on gimp_image_is_dirty)
     The USER can turn ON unconditional Save (old behavior)
     by adding the following Line to .gimp-1.3/gimprc file:

      (video-unconditional-frame-save "yes")
      
 x- gap_arr_dialog   merged in changes of the gap_vid_enc project
                     added WGT_OPT_ENTRY (entry comined with Optionmenu) and WGT_DEFAULT_BUTTON
  
2002.09.21
 x- added gap_lastvaldesc
     (as wrapper for gimplastvaldesc that may (or may not) be part of libgimp
      depending on HAVE_LASTVALDESC_H )

2002.04.21
  API cleanup 

  x- redesign of gap_locking
     The new gap_locking uses a locktable with only one identifier 
     (used in gimp_set_data) and overwrites unused records in the locktable.
     
     (the old algorithm used the image_id with constant prefix as Locking key.
     But with the new methode gimp_displays_reconnect the image_id changes on
     each image exchange, and would leave a lot of useless locks.)

  x- removed all calls to gimp_drawable_set_image (obsolete)
    and use p_gimp_layer_new_from_drawable to copy layers from other images.
    (as recommanded by mitch -- see #77508 )
  
  x- GAP VCR Navigator must notice changes of the active_image_id



2002.03.23

 x- removed iter_ALT (subdir and all iter_ALT PDB Procedures, were replaced by Common Iterator)
 
 x- removed 
    gap_filter_codegen.c  (old codegeneraor stuff for iter_ALT procedures)
    gap_exchange_image.h .c  (now using gimp_displays_reconnect -- see #77508)


 x- gap_decode_xanim.c  (merged in bugfix 1.2.2c from stable branch; xanim call fails if . not in PATH or no write permission for current dir)


2002.03.12  gap-1.3.4_pre09

 x- Bugreport #74485: GAP crashes the GIMP-1.3.4 in the final call of gimp_displays_flush

    ==> The layer stealing strategy does not use clean API
        and will be replaced by a new clean Concept.



-------------------------------------------------------------

Open Bugs/TODO's


    
x- array_dialog
    x- default button should use STOCK button and should move to button box where cancel, ok buttons are located.
       ==> fixed in gimp-gap-1.3.14a

- gap_navigator_dialog.c 
     port not finished yet  using: #undef  GTK_DISABLE_DEPRECATED

     the code yet has some workarounds and needs much more work/redesign
      - relace polling by event handling (if possible)
      - needs a list widget that can handle thousands of thumbnails
        (should only render the visible part)
      - selction of items does not work correct
      - .xvpics thumbnails have very low quality
        (thumbnails in jpeg could give better quality with same diskspace usage.)



- gap_mov_dialog.c 

   -  port not finished yet  using: #undef  GTK_DISABLE_DEPRECATED
     (needs port to a new preview widget -- not yet available ?) )
   x- layout needs some redesign
      ==> fixed in gimp-gap-1.3.14a
   x- using icons provided by jakub steiner
      ==> fixed in gimp-gap-1.3.14a





x- gap_array_dialog:
   x- text entry widget (filebrowser)  is displayed as line
     (cant enter text, dont shows selected files from browser)
   x- same problem for single text entry
     
   o- add features (merge default feature from gap_vid_enc project)
      ==> New feature not needed here

x- frames_to_image does not work.
   ==> error found in gap_array_dialog
       radio Button shows default "All Visible" (item6)
       but returns Pattern equal Layername (item0)
       if no explicite selection is clicked !!!
   
       (the new gtk fires radio button callback to early !)
       see gap_array_dialog.c:radio_create_value
       for workaround



- mov_path_dialog:
  x- rotate follow button  is not clickable (active) and does not WORK
    ==> new GLIB/GTK calls only the 1.st signal function for button_press_event
        (the old GTK 1.2 gtk_signal_connect did fire both callback functions)
        g_signal_connect "button_press_event"  
        g_signal_connect  "clicked"
  
  
  - show path checkbox  --> SOMETIMES crashes plug-in when clicked (cant reproduce)
  - update preview fails if Rotate is not 0 !! and ?? not reproduceable any more
    POPUP "Unable to cut or copy because the selected region is empty"
     AnimPreview can do rotation
     


x- crop (array dialog seems OK, but does not work -- no crop is done !!)
     ==> PDB name  changed gimp_crop   to gimp_image_crop


o- scale and resize dialog  endless loop ? (hangs if contraint flag on)
  ==> no longer support for copy of old gimp scale/resize widget
 
      temporary use array dialog for CROP/SCALE/RESIZE
      until gimp provides widget
  

x- scale and resize does not work !
     ==> apply limit width/heigth down to image_size only for crop.
     
    

x- gap_pdb_calls.c and other gap sources
   removed lots of duplicate PDB wrappers that are available
   in libgimp too.
   (those wrappers are old code and were needed in gimp-1.0
    or earlier releases)

