mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 08:43:40 -07:00
Removed history section. If someone needs it, it
can always be found in CVS.
This commit is contained in:
parent
98da60f733
commit
f491d78ad8
1 changed files with 0 additions and 378 deletions
378
lisp/tumme.el
378
lisp/tumme.el
|
|
@ -135,384 +135,6 @@
|
|||
;; backup of `tumme-db-file' when testing new versions.
|
||||
;;
|
||||
;;
|
||||
;;; History:
|
||||
;; ========
|
||||
;;
|
||||
;; Version 0.1, 2005-04-16
|
||||
;;
|
||||
;; * First release, only browsing support for now.
|
||||
;;
|
||||
;; Version 0.2, 2005-04-21
|
||||
;;
|
||||
;; * Changed calls to dired-filename-at-point to dired-get-filename
|
||||
;;
|
||||
;; Version 0.3, 2005-04-25
|
||||
;;
|
||||
;; Quite a lot of changes:
|
||||
;;
|
||||
;; * Added basic image tagging support. No commands that make use of
|
||||
;; it yet.
|
||||
;;
|
||||
;; * Added text properties for the thumbnail images to be able to
|
||||
;; track where they came from originally. Used in `tumme-mode'.
|
||||
;;
|
||||
;; * Added `tumme-mode' to be used when navigating the thumbnail
|
||||
;; buffer. Currently, there are commands to mark, unmark, flag and
|
||||
;; jump to the original file in associated dired buffer.
|
||||
;;
|
||||
;; * When moving around in the thumbnail buffer (in `tumme-mode'), the
|
||||
;; user can turn on tracking of the movements and let them be
|
||||
;; mirrored in the associated dired buffer.
|
||||
;;
|
||||
;; * In this version I have been looking at some ideas in thumbs.el,
|
||||
;; for example the image margin and relief and the `thumbs-mode'
|
||||
;; which I copied and made the `tumme-mode' from.
|
||||
;;
|
||||
;; Version 0.4, 2005-05-02
|
||||
;;
|
||||
;; * Renamed the functions that are to be used in `tumme-mode' in the
|
||||
;; thumbnail buffer.
|
||||
;;
|
||||
;; * The mark, unmark and flag commands in `tumme-mode' now also moves
|
||||
;; to next thumbnail, like how dired normally works.
|
||||
;;
|
||||
;; * Added `tumme-mode-line-up', `tumme-display-thumbs-append' and
|
||||
;; `tumme-mode-delete-char'.
|
||||
;;
|
||||
;; * Each thumbnail's tags is now displayed when navigating among the
|
||||
;; thumbnails in the thumbnail buffer.
|
||||
;;
|
||||
;; * Added simple slideshow functionality.
|
||||
;;
|
||||
;; Version 0.4.1, 2005-05-05
|
||||
;;
|
||||
;; * Fixed bug in `tumme-flag-thumb-original-file'
|
||||
;;
|
||||
;; * Added commands to display original image in external viewer
|
||||
;; (`tumme-display-external') and in a Emacs buffer
|
||||
;; (`tumme-display-image').
|
||||
;;
|
||||
;; * Minor code clean-up
|
||||
;;
|
||||
;; * Renamed some functions back again...
|
||||
;;
|
||||
;; * Added rotation of thumbnail images (90 degrees left and right)
|
||||
;;
|
||||
;; Version 0.4.2, 2005-05-06
|
||||
;;
|
||||
;; * Removed need for `tumme-display-image-size' in
|
||||
;; `tumme-display-image'. Now, the maximum image size that fits in
|
||||
;; `tumme-display-buffer' is calculated automatically. Introduced
|
||||
;; two correction variables, `tumme-display-window-width-correction'
|
||||
;; and `tumme-display-window-height-correction' to be used to
|
||||
;; correct width and height depending on width and height of window
|
||||
;; decorations, fringes etc. This works really well!
|
||||
;;
|
||||
;; Version 0.4.3, 2005-05-07
|
||||
;;
|
||||
;; * Added menus to `dired-mode' and `tumme-mode'
|
||||
;;
|
||||
;; * Added `tumme-mark-and-display-next'
|
||||
;;
|
||||
;; * Added `tumme-jump-thumbnail-buffer'
|
||||
;;
|
||||
;; * Bound TAB in `dired-mode-map' and `tumme-mode-map' to
|
||||
;; `tumme-jump-thumbnail-buffer' and
|
||||
;; `tumme-jump-original-dired-buffer', respectively.
|
||||
;;
|
||||
;; * Changed `tumme-display-image' to be more general. Now, it can be
|
||||
;; used from both thumbnail buffer and dired buffer by calling
|
||||
;; `tumme-display-thumbnail-original-image' and
|
||||
;; `tumme-display-dired-image', respectively.
|
||||
;;
|
||||
;; Version 0.4.4, 2005-05-10
|
||||
;;
|
||||
;; * Added `tumme-get-exif-file-name' and
|
||||
;; `tumme-copy-with-exif-file-name'. These commands might not be
|
||||
;; useful for all people because they are very specific. See the
|
||||
;; documentation for each function for more information.
|
||||
;;
|
||||
;; * Added `tumme-display-next-thumbnail-original' and
|
||||
;; `tumme-display-previous-thumbnail-original' to be used for easy
|
||||
;; image browsing in thumbnail buffer.
|
||||
;;
|
||||
;; * Added support for comments. New function
|
||||
;; `tumme-comment-thumbnail' added, to be used in thumbnail buffer.
|
||||
;;
|
||||
;; * Added `tumme-mark-tagged-files'. Use it in dired buffer to mark
|
||||
;; tagged files.
|
||||
;;
|
||||
;; * Added `mouse-face' property `highlight' for mouse highlighting
|
||||
;; and had to add a space between each thumbnail to avoid whole rows
|
||||
;; to be highlighted. Doing this meant that I had to update
|
||||
;; `tumme-line-up' too...
|
||||
;;
|
||||
;; * Added `tumme-mouse-display-image'. Use mouse-2 to display image
|
||||
;; thumbnail when is highlighted.
|
||||
;;
|
||||
;; * As suggested by Ehud Karni on gnu.emacs.help, changed
|
||||
;; `tumme-window-DIMENSION-pixels' to use `frame-char-DIMENSION'
|
||||
;; instead of `frame-pixel-DIMENSION'. Feels better
|
||||
;;
|
||||
;; * Corrected a bug in `tumme-window-height-pixels'. I did not know
|
||||
;; that the mode-line consumed one line. Also, after experimenting, it
|
||||
;; seems that the only correction needed for the image display width
|
||||
;; is one single pixel. I left the corection variables in there, just
|
||||
;; in case someone has a system that differs.
|
||||
;;
|
||||
;; Version 0.4.5, 2005-05-19
|
||||
;;
|
||||
;; * Added `tumme-line-up-dynamic' that calculates the number of
|
||||
;; thumbnails that will fit in the thumbnail buffer's window and
|
||||
;; `tumme-line-up-interactive' that asks the user.
|
||||
;;
|
||||
;; * Changed `tumme-display-thumbs' to call one of the `tumme-line-up'
|
||||
;; functions instead of doing the line-up itself.
|
||||
;;
|
||||
;; * Finally! Added experimental gallery creation. See customizable
|
||||
;; variables `tumme-gallery-dir', `tumme-gallery-image-root-url' and
|
||||
;; `tumme-gallery-thumb-image-root-url' and new command
|
||||
;; `tumme-gallery-generate'. Not beatiful, but it works quite
|
||||
;; well. Probably needs some CSS-stuff in it eventually. Also, I'm not
|
||||
;; sure this is the way I want to generate my image galleries in the
|
||||
;; future. After all, static pages cannot do what dynamic pages using
|
||||
;; PHP et al can do. Serves like a proof-of-concept of the tagging
|
||||
;; though.
|
||||
;;
|
||||
;; * Added option to hide images with certain tags. See
|
||||
;; `tumme-gallery-hidden-tags'.
|
||||
;;
|
||||
;; * Added `tumme-tag-thumbnail' for tagging files from thumbnail
|
||||
;; buffer.
|
||||
;;
|
||||
;; * Added `tumme-tag-remove' and `tumme-tag-thumbnail-remove' so that
|
||||
;; you can remove tags. Sorry if I have kept you waiting for
|
||||
;; this... :)
|
||||
;;
|
||||
;; * Added option `tumme-append-when-browsing' and new command
|
||||
;; `tumme-toggle-append-browsing'.
|
||||
;;
|
||||
;; Version 0.4.6, 2005-05-21
|
||||
;;
|
||||
;; * Changed `tumme-thumb-name' to always use ".jpg" as file extension
|
||||
;; for thumbnail files, instead of using the extension from the
|
||||
;; original file's name. This was a very easy way to open up for
|
||||
;; allowing browsing of all image file types that Emacs support,
|
||||
;; assuming ImageMagick supports it too.
|
||||
;;
|
||||
;; * Fixed bug in `tumme-create-thumb' `tumme-rotate-thumbnail' and
|
||||
;; `tumme-display-image' by adding quotes around the file names. The
|
||||
;; conversion failed if the file name, or path, contained a
|
||||
;; space. Also expanded the file name, as convert (or is it bash?)
|
||||
;; does not work as expected for paths like "~/.tumme...".
|
||||
;;
|
||||
;; * Fixed another "space bug" :) in `tumme-display-external'.
|
||||
;;
|
||||
;; * In call to convert, added "jpeg:" in front of the output file
|
||||
;; name, so that all generated files becomes JPEG files. For now, only
|
||||
;; useful if `tumme-temp-image-file' does not end in .jpg.
|
||||
;;
|
||||
;; Version 0.4.7, 2005-05-26
|
||||
;;
|
||||
;; * Change header line of tumme.el so that it does not wrap and cause
|
||||
;; evaluation problems for people getting the source from Usenet.
|
||||
;;
|
||||
;; * Changed `tumme-write-tag' slightly to get better performance when
|
||||
;; tagging many files.
|
||||
;;
|
||||
;; * Fixed bug in `tumme-create-gallery-lists' that made it puke if
|
||||
;; there was empty lines in the database. Changed the code so that it
|
||||
;; does not car about that. Also, fixed `tumme-remove-tag' so that it
|
||||
;; tries not to add empty lines at the end of the database.
|
||||
;;
|
||||
;; * Changed all commands that execute shell commands to be
|
||||
;; configurable using the `tumme-cmd-x' custom variables. This makes
|
||||
;; it easier to switch among different image conversion tools which
|
||||
;; might use different syntax and options.
|
||||
;;
|
||||
;; * Added `tumme-toggle-dired-display-properties'.
|
||||
;;
|
||||
;; * Added `tumme-thumb-file-name-format' and changed
|
||||
;; `tumme-thumb-name' to make it possible to configure the format of
|
||||
;; thumbnail files. Did not make it customizable yet though. It might
|
||||
;; be a bad idea to be able to switch between formats...
|
||||
;;
|
||||
;; * Changed `tumme-display-window' so that it looks for tumme's
|
||||
;; display window in all frames. Useful if you want to create an own
|
||||
;; frame for displaying the temporary image.
|
||||
;;
|
||||
;; * After changing the call to `get-window-with-predicate' to scan
|
||||
;; all frames for tumme's special buffers in visible windows, and also
|
||||
;; changing the way tumme tracks thumbnail movement in the dired
|
||||
;; buffer (now using `set-buffer' together with `set-window-point'),
|
||||
;; tumme now works quite happily with all three buffers in different
|
||||
;; frames. This empowers the user to setup the special buffers the way
|
||||
;; that best fits his need at the time. Jumping between dired and
|
||||
;; `tumme-thumbnail-buffer' work independent on in which frames they
|
||||
;; are.
|
||||
;;
|
||||
;; * Renamed `tumme-track-movement-in-dired' to
|
||||
;; `tumme-toggle-movement-tracking'.
|
||||
;;
|
||||
;; * Added `tumme-track-thumbnail' for movement tracking from dired
|
||||
;; buffer, analoguous to the tracking done in thumbnail buffer. Both
|
||||
;; uses the same custom variable `tumme-track-movement' which can be
|
||||
;; toggled on and off with `tumme-toggle-movement-tracking'. This is
|
||||
;; neat. :) Changed `tumme-setup-dired-keybindings' to make use of
|
||||
;; this in the best way. Read more about this there.
|
||||
;;
|
||||
;; Version 0.4.8, 2005-06-05
|
||||
;;
|
||||
;; * Changed `tumme-display-dired-image' and
|
||||
;; `tumme-display-thumbnail-original-image' so that when called with a
|
||||
;; prefix argument, the image is not resized in the display
|
||||
;; buffer. This will be useful for later additions of image
|
||||
;; manipulation commands.
|
||||
;;
|
||||
;; * Added `tumme-kill-buffer-and-window' to make it easy to kill the
|
||||
;; tumme buffers.
|
||||
;;
|
||||
;; * Renamed `tumme-mode' to `tumme-thumbnail-mode'.
|
||||
;;
|
||||
;; * `tumme-tag-thumbnail' and `tumme-tag-thumbnail-remove' now
|
||||
;; updates the tags property for the thumbnail.
|
||||
;;
|
||||
;; * Added `tumme-dired-display-external' to display images in
|
||||
;; external viewer from dired buffer.
|
||||
;;
|
||||
;; * Added support for multiple files in `tumme-remove-tag' to
|
||||
;; increase performance.
|
||||
;;
|
||||
;; * Added `tumme-display-image-mode' so that we can add image
|
||||
;; manipulation commands there.
|
||||
;;
|
||||
;; * Added call to `tumme-display-thumb-properties' in
|
||||
;; `tumme-track-thumbnail'.
|
||||
;;
|
||||
;; * Added command `tumme-display-current-image-in-full-size' to be
|
||||
;; used in `tumme-display-image-mode'.
|
||||
;;
|
||||
;; * Changed `tumme-display-image' to call
|
||||
;; `tumme-create-display-image-buffer' so that we are sure that
|
||||
;; `tumme-display-image-buffer' is always available.
|
||||
;;
|
||||
;; * Added optional prefix argument to `tumme-dired-folder' that tells
|
||||
;; it to skip the window splitting and just creates the needed
|
||||
;; buffers.
|
||||
;;
|
||||
;; * Fixed bug somewhere that relied on `tumme-dired-folder' having
|
||||
;; created the `tumme-display-image-buffer'. Now `tumme-dired-folder'
|
||||
;; *should* not be necessary to call at all, just convenient.
|
||||
;;
|
||||
;; * Added tracking to `tumme-mouse-display-image'.
|
||||
;;
|
||||
;; * Added `tumme-mouse-select-thumbnail' and bound mouse-1 to it, so
|
||||
;; that selecting a thumbnail will track the original file.
|
||||
;;
|
||||
;; * Added three new custom variables, `tumme-cmd-ACTION-program' to
|
||||
;; make the command options cleaner and easier to read.
|
||||
;;
|
||||
;; * Added `tumme-display-properties-format' and
|
||||
;; `tumme-format-properties-string' to make it possible to configure
|
||||
;; the display format of the image file's properties.
|
||||
;;
|
||||
;; * Added missing (require 'format-spec)
|
||||
;;
|
||||
;; Version 0.4.9, 2005-09-25
|
||||
;;
|
||||
;; * Fixed bug in `tumme-display-thumbs'. If a thumbnail file could
|
||||
;; not be created for some reason (bad file for example), even if
|
||||
;; several other thumbnails was created sucessfully, the code
|
||||
;; generated an error and never continued doing the line-up.
|
||||
;;
|
||||
;; * Made tumme.el pass the M-x checkdoc test, phew!
|
||||
;;
|
||||
;; * Added `tumme-rotate-original', `tumme-rotate-original-left' and
|
||||
;; `tumme-rotate-original-right' to rotate the original image from
|
||||
;; thumbnail view. By default it uses JpegTRAN to rotate the images
|
||||
;; non-lossy. Only works on JPEG images. The two new commands were
|
||||
;; added to thumbnail mode. Thanks to Colin Marquardt who told me
|
||||
;; about the "-copy all" option to jpegtran.
|
||||
;;
|
||||
;; * Added the functions `tumme-get-exif-data' and
|
||||
;; `tumme-set-exif-data' for reading and writing EXIF data to image files.
|
||||
;;
|
||||
;; * Rewrote `tumme-get-exif-file-name': now uses
|
||||
;; `tumme-get-exif-data'. Slight change to replace spaces with
|
||||
;; underscores (tt seems not all cameras use the exact same format for
|
||||
;; DateTimeOriginal). Added code for handling files that has no
|
||||
;; EXIF-data (use file's timestamp instead).
|
||||
;;
|
||||
;; * Changed from using the exif program to exiftool because exiftool
|
||||
;; also handles writing of EXIF data, which is very useful.
|
||||
;;
|
||||
;; * Added the command `tumme-thumbnail-set-image-description' that
|
||||
;; can be used to set the EXIF tag ImageDescription. Thanks to Colin
|
||||
;; Marquardt for the suggestion.
|
||||
;;
|
||||
;; * Added `tumme-toggle-mark-thumb-original-file' and
|
||||
;; `tumme-mouse-toggle-mark' and changed
|
||||
;; `tumme-modify-mark-on-thumb-original-file' to support toggling of
|
||||
;; mark of original image file in dired, from
|
||||
;; `tumme-thumbnail-mode'. Bound C-down-mouse-1
|
||||
;; `tumme-mouse-toggle-mark' to in `tumme-thumbnail-mode'.
|
||||
;;
|
||||
;; * Changed `tumme-mouse-select-thumbnail' to also display properties
|
||||
;; after the file is selected.
|
||||
;;
|
||||
;; Version 0.4.10, 2005-11-07
|
||||
;;
|
||||
;; * Renamed `tumme-dired-folder' to `tumme-dired'.
|
||||
;;
|
||||
;; * Changed format of the database file slightly, now the full path
|
||||
;; and file name is used. Had to change most of the tag functions
|
||||
;; (writing, reading, searching) slightly to cope with the change. If
|
||||
;; you are an old tumme user, you have to update your database
|
||||
;; manually, probably you only need to prefix all rows with a
|
||||
;; directory name to get the full path and file name.
|
||||
;;
|
||||
;; * Removed `tumme-thumb-file-name-format'. Added
|
||||
;; `tumme-thumbnail-storage' and changed `tumme-thumb-name' to provide
|
||||
;; two different thumbnail storage schemes. It is no longer necessary
|
||||
;; to have unique image file names to use tumme fully.
|
||||
;;
|
||||
;; * As a consequence of the above, gallery generation is currently
|
||||
;; not supported if per-directory thumbnail file storage is used.
|
||||
;;
|
||||
;; * Changed parameters to `tumme-create-thumb'.
|
||||
;;
|
||||
;; * To be included in Emacs 22.
|
||||
;;
|
||||
;;
|
||||
;; Version 0.4.11, 2006-MM-DD
|
||||
;;
|
||||
;; * Changed `tumme-display-thumbs' so that it calls `display-buffer'
|
||||
;; after generating the thumbnails and changed
|
||||
;; `tumme-display-thumbnail-original-image' to display the image
|
||||
;; buffer. These small changes should make it easier for a user to
|
||||
;; start using tumme.
|
||||
;;
|
||||
;; * Added `tumme-show-all-from-dir' to mimic thumbs.el's easy-to-use
|
||||
;; `thumbs' command. A new customize option,
|
||||
;; `tumme-show-all-from-dir-max-files' was added too.
|
||||
;;
|
||||
;; * Renamed `tumme-dired' to `tumme-dired-with-window-configuration'
|
||||
;; and added code to save the window configuration before messing it
|
||||
;; up. The saved window configuration can be restored using the new
|
||||
;; command `tumme-restore-window-configuration'.
|
||||
;;
|
||||
;; * Added `tumme-get-thumbnail-image', created by Chong Yidong. His
|
||||
;; own comments: ..., that just takes the original filename and
|
||||
;; returns a thumbnail image descriptor. Then third-party libraries
|
||||
;; won't have to muck around with tumme.el's internal functions like
|
||||
;; `thumme-thumb-name', `tumme-create-thumb', etc. His code to get
|
||||
;; speedbar display tumme thumbnails, might be integrated soon.
|
||||
;;
|
||||
;; * Changed the default value of `tumme-dir' to "~/.emacs.d/tumme"
|
||||
;; and added a new function, `tumme-dir' to handle the creating of
|
||||
;; it. Code copied from thumbs.el.
|
||||
;;
|
||||
;;
|
||||
;; TODO
|
||||
;; ====
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue