Commit graph

64 commits

Author SHA1 Message Date
Mark Jerde
1eef30cbd1 Move saveForgotten settings from FlycutOperator to AppController since they are reasonable to have different preference on different platform. Ensure that they are disabled on iOS for now, since they would be inaccessible files. 2018-10-30 23:05:03 -05:00
Mark Jerde
4d11c5e934 Add mechanism to prompt user only if necessary, after receiving first sync pull, to merge or overwrite existing lists or disable sync. Include support for merge at initial pull, seubsequent pulls, and conflict resolution. Ask user if they would like to enable iCloud Sync on first iOS launch since preferences are not yet implemented on that platform. 2018-10-30 23:05:03 -05:00
Mark Jerde
5a81af5942 Move pollPBTimer to a run loop and mode that allows it to keep firing while the menu is open. 2018-10-30 23:05:03 -05:00
Mark Jerde
c125b4de17 Connect AppController as delegate for FlycutStore to complete a proper MVC pattern to dynamically update the menu and bezel if displayed. Previously, changes from pollPB: would be received but not reflected in the displayed bezel until the user navigated, producing a confusing experience. Now pollPB: and iCloud Sync changes are reflected in what is seen real time. 2018-10-30 23:05:03 -05:00
Mark Jerde
13ceb8d7d0 Add support for iCloud Sync. 2018-10-30 23:05:03 -05:00
Mark Jerde
5fdf4dd742 Move displayNum and displayLen back to AppController since they are UI-specific. 2018-10-22 22:47:25 -05:00
Mark Jerde
f383482e4a Divide AppController into two files, one for UI and one for management of clipping stores. 2018-10-22 22:47:24 -05:00
Alex Richardson
d9d4e4e823 Fix pointer to interger conversion errors 2017-10-08 12:11:44 +01:00
Gennadiy Potapov
fe5bb2130e Add delay for searchbox focus as workaround on Sierra 2016-12-21 19:48:32 +08:00
Jeff Whiting
50b2cb7051 Fixed some whitespace problems (the project seems to prefer tabs). 2016-08-09 00:37:56 -06:00
Jeff Whiting
63e95e399a Flycut no longer activates its application when showing the bezel. To make the bezel continue to show up and not steal focus we now create a NSPanel with NSNonactivatingPanelMask and set the NSPanel level to be above all other windows. This should hopefully prevent issue #45 with multiple monitors.
https://github.com/TermiT/Flycut/issues/45
2016-08-09 00:30:02 -06:00
Gennadiy Potapov
6a0fa2f359 changed header comments; changed classes name 2016-04-09 23:18:45 +08:00
Gennadiy Potapov
d583141f90 mouse scroll to choose clippings and double click to paste 2016-04-03 15:59:19 +08:00
Gennadiy Potapov
5e259802d9 for now removed pop up animation (need to rewrite it using NSAnimationContext) 2016-04-03 15:39:44 +08:00
Gennadiy Potapov
b3c1c5b14b fixed: bezel not updating values after switching to favorites and back from favorites 2016-04-03 14:34:21 +08:00
Gennadiy Potapov
18de0ac22e added DEBUG preprocessor macro for Debug build configuration; added DLog macro to pch file 2016-04-03 13:50:05 +08:00
Gennadiy Potapov
d44887e790 got rid of DropBox syncing, will add iCloud support later 2016-04-03 13:20:57 +08:00
Mark Jerde
d51dadeb26 Add Preferences option to disable / enable bezel display of clipping source and timestamp. 2016-01-28 22:05:52 -06:00
Mark Jerde
c6ea7b49e3 Convert Preferences panel for Appearance to programmatic creation for better team development. 2016-01-28 22:05:52 -06:00
Mark Jerde
7a067ceff2 Display source and timestamp in bezel. 2016-01-28 22:05:52 -06:00
Mark Jerde
f068db6b03 Add 'source' and 'timestamp' to clipping objects so that it can be displayed in the bezel along with the clipping. 2016-01-28 22:05:43 -06:00
Mark Jerde
d1cd8508c2 Add the ability to retrieve and add entire JumpcutClipping objects from JumpcutStore rather than having to extract each member via repeated lookups. Also consolidate many repeated copies of the bezel content update code into a single method. 2016-01-28 22:05:43 -06:00
Mark Jerde
a2d0e2a1a6 Bezel animation has demonstrated problems on 10.10 Retina and any 10.11 setup. Until the problems are solved, default to not animate on installs where it would be problematic. 2016-01-28 22:05:43 -06:00
Mark Jerde
b235835336 OS X 10.10 Yosemite got a bit too crafty and would apply it's own "disabled" styling if the NSStatusItem image is an image that has "disabled" in its name. Changed to xout to keep it looking colorful. 2016-01-28 22:05:42 -06:00
Mark Jerde
52374a4fb0 Add support for searching clippings via a search box in the Flycut menu. 2015-09-08 06:18:05 -05:00
Mark Jerde
4d5ad27178 Performance fix. The loadOnStartup status was being determined after the user had requested the Preferences be opened. This was taking five seconds on an i7 2.66 GHz with an SSD, during which the Preferences were not displayed. This code was moved to an async block run when Flycut loads, which should be fine since only the Flycut preferences change that setting. 2015-09-01 22:09:06 -05:00
Mark Jerde
dae35d914c Add option to auto-save clippings (with distinctive filename when they fall off the end of the remember length. 2015-08-05 22:50:56 -05:00
Mark Jerde
63b90b0284 Recognize specific length strings of lower, upper, number, and symbol or punctuation but nothing else as passwords. Add preferences panel controls for password avoidance via type or length. 2015-07-04 15:43:57 -05:00
Mark Jerde
12a5cc0299 Add a 'favorites' clipping store, accessed via the 'f' key in the bezel, with items added via the 'F' key in the bezel. Saved in the same fasion as the regular store. Adjustable capacity available separately from the regular store. 2015-07-03 21:02:01 -05:00
Mark Jerde
08774925eb Use the 'disabled' icon to indicate when a large copy from Remote Desktop Connection is being transferred so the user knows that switching applications will result in a null copy. 2015-07-14 15:47:38 -05:00
Gennadiy Potapov
e1c9851f77 Merge pull request #76 from MarkJerde/saveClippingToFile
Save clipping to file/ Limiting the amount given to the Bezel to something closer to the actual Bezel display capacity
2015-06-14 19:02:50 +03:00
Mark Jerde
8f855230e6 Save / save-and-delete clippings from the Bezel to the Desktop. 2015-06-12 06:20:40 -05:00
Mark Jerde
8827ed9887 Add 'Black Flycut icon' option for the icon in the menu bar since some prefer this look. Consolidate multiple-maintenance paths related to this into one. 2015-05-17 21:29:46 -05:00
Mark Jerde
1080a73fd6 Option-click Flycut menu icon to disable/enable adding newly-copied items to the Flycut history. 2015-05-16 10:29:09 -05:00
Hank Brekke
57c97db79b Bezel appears in center of current active display 2015-03-27 08:06:43 -05:00
David Personette
3dcda827a1 Target 10.7, Apple doesn't support 10.6; Enable App Sandbox; Fix warnings 2014-03-15 07:26:06 -04:00
Gennadiy Potapov
0b79c1fafd Merge pull request #50 from dperson/master
Fix Issue #49 - Blanking the terminal
2014-03-15 12:52:29 +08:00
Gennadiy Potapov
56cabdead6 Merge pull request #40 from MarkJerde/issue36
Bug fix for Issue 36 - "Preferences not saving".
2014-03-15 12:51:48 +08:00
Gennadiy Potapov
d5d106afcd Merge pull request #31 from fiddlerwoaroof/master
Minor changes to bezel
2014-03-15 12:49:20 +08:00
dperson
02a730c2a8 Issue #49 - Blanking the terminal
Bring back the "veeCode", resolves issue.
2014-03-07 16:01:51 -05:00
Deniz Türkoglu
92508e0b9e Add 'Merge all' functionality
Add a new menu item to merge all the clips in the list, in the
order they were copied, adding a new line for each item that
was merged.
2013-10-25 20:31:37 +02:00
Mark Jerde
62f351278d Bug fix for Issue 36 - "Preferences not saving". Defect originated in revision 8 of Jumpcut, which added use of NSUserDefaults without a call to NSUserDefaults's synchronize function on exit. NSUserDefaults documentation states that synchronize is automatically invoked at periodic intervals but not automatically at exit and thus was unreliable without an explicit call. The problem was masked by a call to synchronize whenever a clipping was added if save is enabled. 2013-07-19 15:02:29 -05:00
Ed L
0f32b35e00 Changed bezel hotkeys so that "Enter" pastes and "Return" just changes the stack position 2012-11-22 13:15:21 -05:00
Nate Jones
d221961cc5 move pasted item to top of stack 2012-08-11 21:27:28 -07:00
Tim
b3f012cd60 fix problem with Emacs 24 event loop 2012-06-11 22:55:45 -04:00
Gennadiy Potapov
232f1cf1ef Merget with dropbox-sync 2011-11-24 23:13:48 +08:00
Gennadiy Potapov
7cbb5f75b6 Merge branch 'dropbox-sync' 2011-11-24 22:58:24 +08:00
Richard Mondello
6306e6a6d0 New: Ability to delete clippings from the bezel with the delete key. Improved: Consolidated the logic for updating the bezel's content. 2011-11-21 02:44:58 -05:00
Richard Mondello
c268fa20ab New: Use j and k to move up and down the stack in the bezel. Thanks, vi. 2011-11-20 02:03:40 -05:00
Richard Mondello
70132d5cf3 New: Bezel accepts cmd+, to open the application preferences. 2011-11-20 01:55:24 -05:00