]> git.scottworley.com Git - picsort/log
picsort
10 years ago'e'xtra. Mostly like delete, but doesn't rm.
Scott Worley [Sun, 21 Dec 2014 20:05:41 +0000 (12:05 -0800)]
'e'xtra.  Mostly like delete, but doesn't rm.

Set EXTRADIR appropriately.

10 years agoEmit 'rm' commands for deleted pictures
Scott Worley [Sun, 21 Dec 2014 20:01:48 +0000 (12:01 -0800)]
Emit 'rm' commands for deleted pictures

10 years agoGeneralize mark_deleted
Scott Worley [Sun, 21 Dec 2014 19:49:08 +0000 (11:49 -0800)]
Generalize mark_deleted

For multiple flavors of delete

10 years agoChange 'e'xposure key to 'B'rightness
Scott Worley [Sun, 21 Dec 2014 19:37:28 +0000 (11:37 -0800)]
Change 'e'xposure key to 'B'rightness

10 years agoA manually-callable cleanup utility
Scott Worley [Sat, 13 Sep 2014 16:23:59 +0000 (09:23 -0700)]
A manually-callable cleanup utility

10 years agoThis became racy
Scott Worley [Sat, 13 Sep 2014 05:19:16 +0000 (22:19 -0700)]
This became racy

TODO: Actually fix the problem rather than just increasing the sleep time.

10 years ago'0' and '$' to jump to beginning and end
Scott Worley [Sat, 13 Sep 2014 05:15:51 +0000 (22:15 -0700)]
'0' and '$' to jump to beginning and end

10 years agomkdir -p sm
Scott Worley [Sun, 11 May 2014 07:23:48 +0000 (00:23 -0700)]
mkdir -p sm

10 years agoundelete_all()
Scott Worley [Sun, 11 May 2014 07:22:34 +0000 (00:22 -0700)]
undelete_all()

No key binding, as a precaution against bumping it accidentally that's
easier than implementing confirmation.

10 years agoDon't re-download or re-rename-to-date seen files
Scott Worley [Thu, 24 Apr 2014 06:23:00 +0000 (23:23 -0700)]
Don't re-download or re-rename-to-date seen files

Allow files in . to be moved away and not just put back in the next
slurp-pics run.

10 years agoKeep files under two names
Scott Worley [Thu, 24 Apr 2014 06:18:42 +0000 (23:18 -0700)]
Keep files under two names

Keep files under their original name in slurp-$host/ and keep a second
link to the same file in . named by the modification date.  This allows
slurp-pics to be run multiple times without re-fetching the same files
because they have been renamed.

10 years agoAutomate fetching from remote hosts
Scott Worley [Sun, 6 Apr 2014 07:06:01 +0000 (00:06 -0700)]
Automate fetching from remote hosts

Do an already-exists check instead of just using rsync because some
impoverished hosts like Android phones that don't have rsync.

I'm using this with
https://play.google.com/store/apps/details?id=com.icecoldapps.sshserver

10 years agoEscape . in .gitignore
Scott Worley [Sun, 6 Apr 2014 06:01:37 +0000 (23:01 -0700)]
Escape . in .gitignore

10 years agoEditing scripts to use them is lame
Scott Worley [Sun, 6 Apr 2014 05:12:08 +0000 (22:12 -0700)]
Editing scripts to use them is lame

10 years agoBe verbose about skipping work
Scott Worley [Sun, 9 Mar 2014 06:49:03 +0000 (22:49 -0800)]
Be verbose about skipping work

Also, move the exposure calculation inside need-to-do-anything?
conditional, reducing the do-nothing case from two forks to one.

10 years ago'e' to show current exposure level
Scott Worley [Thu, 6 Mar 2014 08:50:52 +0000 (00:50 -0800)]
'e' to show current exposure level

10 years ago'i' to show Info (number, name) for current pic
Scott Worley [Wed, 5 Mar 2014 07:18:04 +0000 (23:18 -0800)]
'i' to show Info (number, name) for current pic

10 years ago'C' to repeat the previous name given with 'c'
Scott Worley [Wed, 5 Mar 2014 07:10:50 +0000 (23:10 -0800)]
'C' to repeat the previous name given with 'c'

10 years ago'f' to show current filename
Scott Worley [Wed, 5 Mar 2014 07:05:02 +0000 (23:05 -0800)]
'f' to show current filename

10 years agopic-mv chmod's to 644
Scott Worley [Mon, 3 Mar 2014 00:38:00 +0000 (16:38 -0800)]
pic-mv chmod's to 644

10 years agoExtra newline at the end for easier copy/paste
Scott Worley [Sun, 2 Mar 2014 08:57:10 +0000 (00:57 -0800)]
Extra newline at the end for easier copy/paste

Getting the trailing newline makes the final command actually run.

10 years agoInsert rotations in order, not reverse order
Scott Worley [Sun, 2 Mar 2014 08:38:01 +0000 (00:38 -0800)]
Insert rotations in order, not reverse order

10 years agoshell_out shouldn't list deleted pics
Scott Worley [Sun, 2 Mar 2014 08:05:07 +0000 (00:05 -0800)]
shell_out shouldn't list deleted pics

10 years agoCopy the NEF's timestamp to the final .jpeg
Scott Worley [Sun, 2 Mar 2014 07:44:05 +0000 (23:44 -0800)]
Copy the NEF's timestamp to the final .jpeg

10 years agoSupport NEF rotation in pic-mv
Scott Worley [Sat, 1 Mar 2014 08:33:30 +0000 (00:33 -0800)]
Support NEF rotation in pic-mv

Move ufraw-batch invocation out into a separate file: pics-run-ufraw

10 years agopic-mv tool to do the last few steps
Scott Worley [Sat, 1 Mar 2014 08:23:03 +0000 (00:23 -0800)]
pic-mv tool to do the last few steps

10 years ago'esc' to dismiss UI elements
Scott Worley [Sat, 1 Mar 2014 06:40:46 +0000 (22:40 -0800)]
'esc' to dismiss UI elements

This isn't ideal -- it doesn't work if an input has focus.
It's just better than nothing.

10 years agoOutput commands for named pictures
Scott Worley [Sat, 1 Mar 2014 06:39:54 +0000 (22:39 -0800)]
Output commands for named pictures

10 years ago#namecontainer -> .inputcontainer
Scott Worley [Sat, 1 Mar 2014 06:02:20 +0000 (22:02 -0800)]
#namecontainer -> .inputcontainer

10 years ago'%' to see progress
Scott Worley [Sat, 1 Mar 2014 05:50:29 +0000 (21:50 -0800)]
'%' to see progress

10 years agoReduce jank
Scott Worley [Fri, 28 Feb 2014 21:42:59 +0000 (13:42 -0800)]
Reduce jank

This does not completely eliminate the jank.  :(

10 years ago'r' to Rotate.
Scott Worley [Fri, 28 Feb 2014 21:22:24 +0000 (13:22 -0800)]
'r' to Rotate.

This is janky.  The rotation is applied immediately, but changing the
src attribute to load new image data takes longer, so the two are not
applied at the same time.

10 years agoDisallow scrolling off the beginning and end
Scott Worley [Fri, 28 Feb 2014 21:11:25 +0000 (13:11 -0800)]
Disallow scrolling off the beginning and end

10 years agoForbid exposure adjustment when not available
Scott Worley [Fri, 28 Feb 2014 19:55:31 +0000 (11:55 -0800)]
Forbid exposure adjustment when not available

10 years agomove_to_unnamed()
Scott Worley [Fri, 28 Feb 2014 19:49:24 +0000 (11:49 -0800)]
move_to_unnamed()

Make move_to_nondeleted() generic, allowing the stopping criteria to be
passed in.

move_to_unnamed replaces move-to-deleted's bindings on N, P, H, and L.
Move-to-deleted in turn moves behind an 'm' prefix.

10 years agoSupport .jpeg files mixed in with .NEF files
Scott Worley [Fri, 28 Feb 2014 19:27:11 +0000 (11:27 -0800)]
Support .jpeg files mixed in with .NEF files

10 years agohjkl movement keys
Scott Worley [Fri, 28 Feb 2014 19:26:21 +0000 (11:26 -0800)]
hjkl movement keys

10 years agoI miss ${foo%bar}
Scott Worley [Fri, 28 Feb 2014 17:32:51 +0000 (09:32 -0800)]
I miss ${foo%bar}

10 years agoResumability: Skip processing if output exists
Scott Worley [Fri, 28 Feb 2014 16:56:20 +0000 (08:56 -0800)]
Resumability: Skip processing if output exists

10 years ago'c' to Call a picture something or Change its name
Scott Worley [Fri, 28 Feb 2014 09:57:37 +0000 (01:57 -0800)]
'c' to Call a picture something or Change its name

10 years agosave_picinfo()
Scott Worley [Fri, 28 Feb 2014 09:08:19 +0000 (01:08 -0800)]
save_picinfo()

Name this and call it rather than copy/pasting it around.

Also, fix a bug where change_exposure() should have been saving picinfo
but wasn't.

10 years agoSave per-pic exposures
Scott Worley [Fri, 28 Feb 2014 09:02:02 +0000 (01:02 -0800)]
Save per-pic exposures

10 years agochange_exposure(): Pull exposure logic together
Scott Worley [Fri, 28 Feb 2014 08:54:52 +0000 (00:54 -0800)]
change_exposure(): Pull exposure logic together

10 years agomove_to_nondeleted() calls setpic()
Scott Worley [Fri, 28 Feb 2014 08:52:02 +0000 (00:52 -0800)]
move_to_nondeleted() calls setpic()

10 years agoMove deletion data into a generic 'picinfo' store
Scott Worley [Fri, 28 Feb 2014 08:47:53 +0000 (00:47 -0800)]
Move deletion data into a generic 'picinfo' store

This will also store other data, like name and exposure level.

10 years agoAdd exposure level chattiness
Scott Worley [Fri, 28 Feb 2014 08:00:20 +0000 (00:00 -0800)]
Add exposure level chattiness

10 years agoAdd chattiness
Scott Worley [Fri, 28 Feb 2014 07:52:36 +0000 (23:52 -0800)]
Add chattiness

10 years agoBind keys directly where possible
Scott Worley [Fri, 28 Feb 2014 07:26:11 +0000 (23:26 -0800)]
Bind keys directly where possible

10 years agoDon't start on a deleted picture.
Scott Worley [Fri, 28 Feb 2014 07:22:20 +0000 (23:22 -0800)]
Don't start on a deleted picture.

10 years agoKeep a local picsorter_deleted too.
Scott Worley [Fri, 28 Feb 2014 07:15:59 +0000 (23:15 -0800)]
Keep a local picsorter_deleted too.

Don't unpack it from localStorage every single time it is needed.
Read it in once and write it back when it changes.

Note: This would make updates from multiple tabs running picsorter
on the same domain clobber each other's updates.  So don't run
multiple picsorters.

10 years agoAdd a message-displaying area
Scott Worley [Fri, 28 Feb 2014 07:08:22 +0000 (23:08 -0800)]
Add a message-displaying area

10 years ago'x' for delete, 'X' for undelete
Scott Worley [Fri, 28 Feb 2014 06:32:36 +0000 (22:32 -0800)]
'x' for delete, 'X' for undelete

Where 'delete' just means skip when scrolling with 'n' and 'p'.
Use 'N' and 'P' to navigate to 'deleted' pics to use 'X'.

10 years agoZoom by switching to smaller preprocessed images
Scott Worley [Fri, 28 Feb 2014 03:51:22 +0000 (19:51 -0800)]
Zoom by switching to smaller preprocessed images

Loading the full size images with max-height was too slow.

Move the previous zoom behaviour from 'z' to 'Z'.

10 years ago'b' and 'd' for brighter and darker/dimmer.
Scott Worley [Fri, 28 Feb 2014 03:48:54 +0000 (19:48 -0800)]
'b' and 'd' for brighter and darker/dimmer.

10 years ago'n' and 'p' for next and previous input image
Scott Worley [Fri, 28 Feb 2014 03:23:45 +0000 (19:23 -0800)]
'n' and 'p' for next and previous input image

10 years agoPress 'z' to toggle zoom
Scott Worley [Fri, 28 Feb 2014 03:21:31 +0000 (19:21 -0800)]
Press 'z' to toggle zoom

10 years agoKeep an input_index
Scott Worley [Thu, 27 Feb 2014 19:39:13 +0000 (11:39 -0800)]
Keep an input_index

10 years agoUse $.attr()
Scott Worley [Thu, 27 Feb 2014 02:02:44 +0000 (18:02 -0800)]
Use $.attr()

10 years agoUse the ready shorthand
Scott Worley [Thu, 27 Feb 2014 01:56:18 +0000 (17:56 -0800)]
Use the ready shorthand

10 years agosetpic() function
Scott Worley [Thu, 27 Feb 2014 01:54:01 +0000 (17:54 -0800)]
setpic() function

10 years agoMove exposure to a variable
Scott Worley [Thu, 27 Feb 2014 01:52:43 +0000 (17:52 -0800)]
Move exposure to a variable

10 years agoInitial revision
Scott Worley [Thu, 27 Feb 2014 01:49:15 +0000 (17:49 -0800)]
Initial revision