1
0
mirror of https://github.com/Toxblh/MTMR.git synced 2026-01-12 01:48:38 +00:00
Commit Graph

366 Commits

Author SHA1 Message Date
Koen Punt
61d5e8f77e
remove force cast 2019-01-16 11:00:31 +01:00
35a6ceae07 fix tests. Deleted not used code 2018-10-21 00:01:19 +01:00
be1c439867 upd version 2018-10-20 23:22:42 +01:00
9f84b38084 Added pomodoro timer 2018-10-20 23:21:30 +01:00
86954a7981 code format 2018-10-20 17:53:49 +01:00
8554dfeb5e Fix problem with blocked apps if turn off Hide control Strip.
Also for blocked apps available state in Menu
2018-10-20 12:09:33 +01:00
bd2cd6d0b7 fix issue "cant re-open mtmr after closing" close #117 2018-10-14 18:10:38 +01:00
Serg
85d54e4f53 fix reversed "hide control strip" menu checkmark beaviour 2018-10-13 13:22:11 +07:00
644b15ffcd Fix for brightness slider. Correct API for set new level. Used CoreDisplay.framework 2018-10-09 12:28:48 +01:00
b0b10074f8 fix all privacy request in info.plist for fututre 2018-09-26 14:53:08 +01:00
2023ab29f3 fix AppleEvents for Majave 2018-09-26 12:40:48 +01:00
62e87c53f5 added updater 2018-09-26 00:18:27 +01:00
dbab502d14 change preset to without errors on start 2018-09-24 09:01:52 +01:00
d7eddb8484 Migrate to swift 4.2 2018-09-20 12:13:29 +01:00
457fa9481e Ready to autoupdates 2018-09-19 23:53:06 +01:00
ffc101b455 v0.18 2018-08-30 16:40:58 +01:00
71051d7ad0 + DnD Widget 2018-08-30 16:35:41 +01:00
534dbc2284 change upd time for nightshift 2018-08-29 11:14:32 +01:00
9e0f103ba6 + DND icons 2018-08-29 00:57:39 +01:00
c6b6f7bbd5 + Dirty hack for show actual status for NightShift 2018-08-29 00:11:30 +01:00
eee4082a1a + Added NightShift Widget
+ Updated icons for illumination and added icons for NightShift
2018-08-29 00:08:46 +01:00
10d94d65e2 version 0.17 2018-08-26 21:12:18 +01:00
ad27d26c86 Added keyboard illumination buttons #106 2018-08-26 21:10:16 +01:00
1f764d539a longActions 2018-06-29 15:08:09 +01:00
e95c707009 fix for 10.14 2018-06-29 15:07:59 +01:00
9228eaffc8 upd 0.16.2 2018-06-10 11:13:10 +01:00
8e35d38b59 prepare for 10.14 2018-06-08 00:08:15 +01:00
17e023d2d2 correct state in menu 2018-06-08 00:07:25 +01:00
Serg
ec228fddde fix wrong preset on close group 2018-06-03 10:30:03 +07:00
Serg
958f93f440 handy method to open particular preset file, expose bug with wrong preset reload on group close 2018-06-03 00:49:48 +07:00
Serg
d03b16eb89 simplify logic 2018-06-03 00:28:48 +07:00
Serg
7fb936bd1d support compiled applescript files. related to #87 2018-06-01 21:12:48 +07:00
3bc26eae82 Update menu loayout 2018-06-01 10:49:06 +01:00
46c86a71de Parse AS in any encoding. Groups description 2018-06-01 09:26:07 +01:00
Serg
221565f604 fix #87: read any text encoding 2018-06-01 13:39:26 +07:00
ad
8a7de99bce + start at login 2018-05-31 13:20:18 +03:00
Serg
56d64155ae fix broken close/open and toggle control strip 2018-05-26 13:09:24 +07:00
Daniel Apatin
088f141da3
Update music title right after switch to the next track 2018-05-23 19:24:58 +03:00
091208e536 new gestures 2018-05-22 11:33:15 +01:00
Anton Palgunov
c6f6fbc5cd
Merge pull request #84 from Toxblh/gestures
Gestures for Volume (2 fingers) and Brightness (3 fingers) on ScrollView
2018-05-21 11:01:39 +01:00
ad
3cdf44903b Gestures for Volume (2 fingers) and Brightness (3 fingers) on ScrollView 2018-05-21 12:18:04 +03:00
ad
d5483cdd03 * group items "decodeIfPresent" -> "decode" 2018-05-18 09:53:15 +03:00
ad
9f2dd277fb * touchbarNeedRefresh 2018-05-18 00:33:14 +03:00
ad
e7c949209d + Groups 2018-05-17 13:47:53 +03:00
ad
42d3d29e0d Remove "Reload Preset" and fix reloading preset 2018-05-17 13:21:58 +03:00
ad
f83f331a99 + custom title 2018-05-15 15:11:34 +03:00
62a2aa14e1 v0.15 2018-05-14 10:33:17 +01:00
Anton Palgunov
23357816b3
Merge pull request #74 from Toxblh/blackListedApps
+ toggle blacklisted app
2018-05-14 09:26:09 +01:00
Anton Palgunov
877dca7587
Merge pull request #64 from Toxblh/musicWidget
+ music widget
2018-05-14 08:13:59 +01:00
Anton Palgunov
fd537bcdfe
Merge pull request #75 from ReDetection/experimental-private-queue
experimental: run applescript on separate serial queue
2018-05-13 19:35:28 +01:00
e852ab58f8 change stip icon 2018-05-12 20:25:14 +01:00
Serg
5c7be625b6 fix warnings, switch track of only first player running 2018-05-13 00:11:47 +07:00
Serg
475b66c956 Merge branch 'master' into musicWidget and fix hidden property usage
# Conflicts:
#	MTMR/CustomButtonTouchBarItem.swift
#	MTMR/TouchBarController.swift
2018-05-12 21:47:13 +07:00
Serg
19f7ff0103 Merge branch 'master' into experimental-private-queue
# Conflicts:
#	MTMR/AppleScriptTouchBarItem.swift
2018-05-12 20:30:36 +07:00
Serg
3bc75b54c0 naive backport of compact map to old swift 2018-05-12 20:19:11 +07:00
Serg
b29c74ccca Merge branch 'master' into musicWidget
# Conflicts:
#	MTMR/CustomButtonTouchBarItem.swift
2018-05-12 13:21:25 +07:00
Serg
bbea465500 hide button property, cleanup nasty code 2018-05-12 12:02:45 +07:00
Serg
f7eb49e5de public tap/longtap button action hanglers 2018-05-12 11:41:13 +07:00
Serg
e9c69f6461 experimental: run applescript on separate serial queue 2018-05-12 11:11:53 +07:00
Serg
9e1fcb9a35 incapsulate button image handling 2018-05-12 10:49:16 +07:00
ad
7523605d7a + toggle blacklisted app 2018-05-11 16:31:13 +03:00
ad
852df9d6b6 + toggle Control Strip 2018-05-11 14:40:02 +03:00
57e8af90dd close #10 2018-05-11 13:26:52 +02:00
Serg
55177a7f90 fix currency widget updating 2018-05-11 09:32:42 +07:00
Serg
d46827832e another try to fix button titles and images 2018-05-11 00:29:05 +07:00
33efbbebaa switch hidKeys to obj-c realesation 2018-05-10 09:56:04 +02:00
Anton Palgunov
d048ec851e
Merge pull request #65 from ReDetection/fix-width
Fix width for borderless buttons
2018-05-10 09:18:39 +02:00
Serg
1da4e2795f fix taps for borderless buttons 2018-05-10 09:31:37 +07:00
Serg
21bc525a04 fix setting width for borderless buttons 2018-05-10 09:02:30 +07:00
ad
b9ef3cdc35 + music widget 2018-05-09 21:34:44 +03:00
Anton Palgunov
9a34d5bca0
Merge pull request #62 from ReDetection/fix-non-bordered-button
Fixes for borderless buttons
2018-05-09 12:22:01 +02:00
Serg
a3c7fa7464 replace garbage in the app with garbage in the tests (until apple fix that), enable coverage 2018-05-09 13:34:32 +07:00
Serg
20ed827750 fix that borderless buttons in scrollable area were not centered, fix wrong text color for borderless colored buttons 2018-05-09 12:23:02 +07:00
Serg
85aa2c4f2b original key event type 2018-05-07 09:08:39 +07:00
Serg
b761551384 fix imports 2018-05-07 09:04:33 +07:00
cd75be6c26 v0.14 2018-04-30 22:17:04 +01:00
Anton Palgunov
7646c6e89d
Merge pull request #58 from ReDetection/bordered-parameter
WIP: Bordered parameter, background parameter
2018-04-30 19:20:07 +01:00
9c970aff63 if button have only image, change position to .imageonly 2018-04-30 19:19:33 +01:00
Serg
49d7333d5e implement highlight for buttons with no border 2018-04-30 23:18:59 +07:00
Serg
cd69bc341c fix margin for some buttons 2018-04-30 22:54:15 +07:00
Serg
453895f395 fix wrong title while first execution 2018-04-30 18:53:32 +07:00
Serg
12796d6387 fix for colors in non-bordered buttons 2018-04-30 18:40:26 +07:00
Anton Palgunov
df535b2893
Revert "tapAction and longTapAction in config now have nested values" 2018-04-30 11:29:42 +01:00
ad
4a03ba79ec + background option for button
# Conflicts:
#	MTMR/CustomButtonTouchBarItem.swift
#	MTMR/ItemsParsing.swift
2018-04-30 15:43:55 +07:00
ad
907b79965d + hexColor 2018-04-30 15:26:29 +07:00
Serg
fbec803d47 introduce bordered parameter, restore 0.13 borders 2018-04-30 15:14:27 +07:00
ad
3f9574245a more constants from ev_keymap.h 2018-04-30 10:15:07 +03:00
ad
2bf6b90b04 * fix for brightness 2018-04-30 10:11:22 +03:00
ad
175e9edb8c Merge branch 'nestedActions' 2018-04-30 09:51:26 +03:00
ad
8e58bb179a tap and longTap 2018-04-30 09:50:59 +03:00
ad
6b553c4d0d + deinit inputsource observer 2018-04-30 00:57:32 +03:00
ad
788927edb3 + highlighting button background on press 2018-04-30 00:57:09 +03:00
ad
9013779f71 Merge remote-tracking branch 'upstream/master' 2018-04-29 22:51:34 +03:00
a85507c544 upd Readme, upd Default 2018-04-29 19:44:58 +01:00
Serg
2aa602d77d recreate touchbar to clear it's cache (items survive otherwise, still doing their job) 2018-04-29 23:37:09 +07:00
ad
a1b3f13902 Merge remote-tracking branch 'upstream/master' 2018-04-29 14:59:13 +03:00
Serg
77938340d6 fix compiler warnings 2018-04-29 18:03:30 +07:00
ad
93d2f496d0 * first working 2018-04-29 01:18:05 +03:00
ad
0808f0617a * fix 2018-04-28 02:28:09 +03:00
ad
a648402d04 Merge branch 'master' of https://github.com/ad/MTMR 2018-04-28 02:22:24 +03:00
ad
207af6468e * button highlight on touch 2018-04-28 02:22:05 +03:00
479190d12b fix center line for apple script 2018-04-27 23:38:13 +01:00
ad
5ed1790601 * scrollView baseline fix 2018-04-27 21:53:27 +03:00
b95f5af95f lead position for image in image+title button 2018-04-27 19:13:55 +01:00
ad
c76027ca9d * fix for button.image size 2018-04-27 20:18:22 +03:00
ad
55dc551516 * fix for longAction 2018-04-27 19:17:19 +03:00
ad
cf5d8bf546 * staticButton image size 2018-04-27 19:03:58 +03:00
ad
8031108fc9 * font baseline like in original touchbar, styled battery widget (time showing as superscript) 2018-04-27 18:46:29 +03:00
ad
d1a577868b * button background 2018-04-27 16:17:40 +03:00
ad
5f02bb2962 * font style 2018-04-27 14:32:07 +03:00
ad
cc1332dd02 * button font color 2018-04-27 14:05:13 +03:00
ad
a0dbfca828 * input source widget image size 2018-04-27 12:55:54 +03:00
ad
76bdf12745 * fixed switching input source 2018-04-26 22:50:38 +03:00
ad
e1268d0d65 * NSButtonCell 2018-04-26 22:36:12 +03:00
88cde9256a v0.13.2 2018-04-26 14:54:24 +01:00
4b8ef1cd96 Merge remote-tracking branch 'origin/master' 2018-04-24 22:54:12 +01:00
e65c57dbaa If level a battery less 10% it will be red. 2018-04-24 22:53:56 +01:00
Anton Palgunov
aa95d1a1bd
Merge pull request #46 from ad/master
* trying to terminate app before forceTerminate (to prevent loosing of unsaved data)
2018-04-24 13:36:55 +01:00
ad
3fe6c22068 * trying to terminate app before forceTerminate (to prevent loosing of unsaved data) 2018-04-24 13:19:22 +03:00
5ab19ee27b v0.13.1 2018-04-24 11:14:29 +01:00
ad
1e2043ebda * allow multiple instances of currency and weather widgets (different schedulers for one type widget) 2018-04-24 12:49:36 +03:00
ad
8bccbf3834 * dock widget improvements 2018-04-23 20:09:05 +03:00
1b5ae00493 v0.13 2018-04-23 13:09:48 +01:00
22c315d631 Parse JSON with comments. 2018-04-23 13:08:55 +01:00
ffbbafa9d9 Fixed central sort. Close #33 2018-04-23 00:54:29 +01:00
719a212913 disable parse with comments now, need improve speed loading for JSONC 2018-04-22 23:34:32 +01:00
651d883672 + delete button. Close #37 2018-04-22 23:31:05 +01:00
ad
0f41638d0f * file moved to new location 2018-04-22 19:28:23 +03:00
ad
f6e5b3ca09 Merge branch 'inputSourceWidget' 2018-04-22 19:25:49 +03:00
ad
04b821510b + switch input source by tap 2018-04-22 19:22:45 +03:00
ad
d632bd3ee7 + show input source 2018-04-22 17:55:20 +03:00
aa341b818f reorginize project 2018-04-22 15:20:00 +01:00
ad
683cc4c9f4 Weather and Currency timers replaced with NSBackgroundActivityScheduler (more energy efficiency) 2018-04-22 13:38:16 +03:00
ad
b4f62f6be1 + strip comments in config file 2018-04-22 12:15:04 +03:00
ad
3375308386 + reload if default config changed (write event fired) 2018-04-21 20:50:22 +03:00
ad
051a303f96 + persistent app in dock (press for 0.5 sec), close app (press for 2.0 sec) 2018-04-21 16:40:43 +03:00
ad
bb978f2de5 Background color parameter moved to CustomButtonTouchBarItem for future ability to change from config file 2018-04-21 15:01:09 +03:00
ad
641eb18b89 + longAction (action for long press on widgets, now working only with longUrl). TODO: nested options for action/longAction like for image/sourse/actionAppleScript 2018-04-21 10:20:12 +03:00
ad
d76e16b9e6 * action for battery plugin 2018-04-21 08:27:02 +03:00
4b39b000e0 Upd default. Readme. Fixed reload for central scroller. 2018-04-21 01:43:37 +01:00
7874433d9b Added Native Battery 2018-04-21 00:22:45 +01:00
d4108d848e merge stash 2018-04-20 22:57:51 +01:00
f78f82893a merged master 2018-04-20 22:56:47 +01:00
05eabdbd0a Added Button mute { "type": "mute", "width": 40, "align": "right" }, #23 2018-04-20 22:54:38 +01:00
Anton Palgunov
8513ed0fa3
Merge pull request #28 from Toxblh/openUrl
Open url action
2018-04-20 18:42:23 +01:00
Daniel Apatin
ac234aa4bf
Fix for temperature value with decimals 2018-04-20 16:24:00 +03:00
Daniel Apatin
e6d84888ba
Update TouchBarController.swift 2018-04-20 15:21:30 +03:00
Daniel Apatin
2aecb2ffb3
Update ItemsParsing.swift 2018-04-20 15:20:01 +03:00
Daniel Apatin
3e35e03bfb
+ action for currency, weather, battery
It will allow to process custom action on click by widget
2018-04-20 14:25:31 +03:00
Daniel Apatin
92c4eed4ed
Update WeatherBarItem.swift 2018-04-20 13:35:41 +03:00