1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2024-11-23 17:42:46 +01:00
Commit Graph

897 Commits

Author SHA1 Message Date
663d0a633e Remove redundant Config.Save() call in TabSettingsGeneral 2017-08-22 03:44:13 +02:00
c6190db918 Rewrite update event args and update dismissal handling 2017-08-22 03:22:44 +02:00
3d4cec3b22 Remove update code that handles unsupported system check 2017-08-22 02:45:51 +02:00
68dca6e3d9 Fix spacebar not toggling video pause when the main app was focused 2017-08-21 14:14:38 +02:00
2a3dca4467 Rewrite video player to use duplex pipe for process communication 2017-08-13 17:52:46 +02:00
b967b1288f Move process communication to a separate project 2017-08-13 13:54:34 +02:00
5e9ed5d713 Improve video player startup and ensure it's always closed with the main app 2017-08-12 23:36:14 +02:00
14a9edeb73 Fix various focus issues with video player and fix double-clicking control panel 2017-08-12 15:12:54 +02:00
1e86a33ceb Hide video player overlay when video process exits gracelessly 2017-08-12 03:12:50 +02:00
551dd229f5 Make back mouse button hide video player and overlay 2017-08-12 03:04:24 +02:00
91bb2f4df0 Fix video player control panel not disappearing & improve error handling 2017-08-12 01:02:09 +02:00
ae3a0ae83d Fix crash when trying to update with 'Edit CSS' or 'Edit CEF Arguments' open 2017-08-12 00:05:56 +02:00
63ce7523de Fix oversight from previous commit 2017-08-12 00:01:13 +02:00
9e3b92bfc1 Move PluginManager initialization and move Form manipulation to FormManager 2017-08-11 23:57:44 +02:00
bc1767fb84 Change namespace of BrowserProcesses, MemoryUsageTracker, VideoPlayer 2017-08-11 23:50:16 +02:00
f917096cc7 Refactor plugin execution code 2017-08-11 23:32:47 +02:00
308926a2ae Add video player volume sync with user config 2017-08-11 20:58:37 +02:00
2c00c6bb81 Expand the video player control panel and add progress bar 2017-08-11 16:21:31 +02:00
8ceb70e67d Fix back button and context menu handling with a video playing 2017-08-11 15:22:45 +02:00
924065c26e Change video play icon color and handle playback errors 2017-08-11 13:59:05 +02:00
8b676fe6ce Implement video player in TweetDeck 2017-08-11 11:56:19 +02:00
f832e04e9e Remove unnecessary resx files and cleanup csproj 2017-08-10 15:09:15 +02:00
a5aa396fda Fix image quality setting not working in columns with large previews 2017-08-09 18:48:36 +02:00
f53a9f05e3 Fix image download filename for avatars and add more unit tests 2017-08-07 14:48:20 +02:00
48c38f6e1d Include tweet author and quality in image download filename 2017-08-05 21:32:07 +02:00
37c5fba162 Change text color of sound notification file option for invalid paths 2017-08-05 19:50:30 +02:00
23e99b1d44 Update GC memory threshold defaults, also GC reload is enabled by default 2017-08-05 19:42:10 +02:00
8432240a47 Update HW acceleration & GC reload tooltips to note they won't be exported 2017-08-05 19:37:14 +02:00
a4bab743d6 Remove notification warning in GC reload option tooltip 2017-08-05 19:34:20 +02:00
60766789ab Move GC reload options to SystemConfig 2017-08-05 19:27:20 +02:00
65b7167b5f Rewrite browser reload to save column notification state in session data 2017-08-05 18:36:17 +02:00
54ac54aba6 Add session data that persists across browser reloads 2017-08-05 18:08:22 +02:00
1b90e0f65e Slightly increase default notification height 2017-08-01 17:05:31 +02:00
f04cdb6a13 Fix PropertyBridge not updating properly 2017-08-01 16:58:46 +02:00
77e656d8e4 Tweak JS prompt dialog layout on high DPI 2017-08-01 15:06:09 +02:00
a673957bd0 Tweak JS prompt dialog layout 2017-08-01 14:54:21 +02:00
a51b34b48f Move CommandLineArgsParser code to CommandLineArgs 2017-07-31 22:26:48 +02:00
1b239bada1 Delay screenshots again due to iframes 2017-07-31 21:17:31 +02:00
f181f1fadc Refactor PropertyBridge 2017-07-31 19:58:23 +02:00
973ae8cb5d Move twitter account regex to TwitterUtils 2017-07-31 14:31:32 +02:00
a4747b0d7b Add JS dialog handler to notifications 2017-07-31 14:25:00 +02:00
f07640cc84 Reorganize CEF handlers 2017-07-31 14:24:42 +02:00
c235c55b19 Add option to show media previews in notification 2017-07-31 14:12:24 +02:00
485ef684be Prevent notification keyboard controls from triggering in dev tools 2017-07-31 13:36:44 +02:00
7caca22e57 Remove 'TweetDuck' from JS dialog captions 2017-07-31 01:42:22 +02:00
f1d9e32bf5 Add keyboard controls to notifications
Closes #153
2017-07-31 01:23:57 +02:00
4e7d8aba1c Improve FormMessage to match MessageBox closer and look better on high DPI 2017-07-30 23:50:24 +02:00
2a0461a76f Add safeguards for accessing TweetDeckBridge.LastHighlightedTweetImages 2017-07-21 12:43:10 +02:00
85f923a6fc Add StringUtils.EmptyArray and use it instead of new string[0] 2017-07-21 12:37:30 +02:00
b35e4d4d01 Add "Save all images as..." context menu option for tweets with multiple images 2017-07-21 12:14:15 +02:00
cb24a859f4 Fix file type description in Save image dialog 2017-07-21 11:16:47 +02:00
aebe82e3a7 Add context menu for image previews that use background-image 2017-07-21 10:46:28 +02:00
7c87856b4d Show waiting cursor while taking a tweet screenshot 2017-07-20 16:29:39 +02:00
d1b1dd539f Add an option to use :orig image links in context menu 2017-07-17 05:39:59 +02:00
55eea88ace Add twitter image link & download methods to TwitterUtils 2017-07-17 05:10:06 +02:00
a70f64e1f6 Move some stuff from BrowserUtils to a new TwitterUtils class 2017-07-17 02:09:20 +02:00
4a0d72d2cc Fix FormMessage icon position on high DPI 2017-07-09 17:24:01 +02:00
fe3fc5c9f7 Add WindowsUtils.CreateDirectoryForFile and use it 2017-07-09 14:12:27 +02:00
441228e2b0 Stop using BrandName in msg dialogs, update msg titles, fix mistakes from prev commits 2017-07-09 04:21:33 +02:00
7538aee4f2 Replace all MessageBox.Show calls with FormMessage 2017-07-09 03:50:04 +02:00
acf809268e Add many helper methods to FormMessage 2017-07-09 03:45:35 +02:00
4ebc0c10b6 Forgot something! 2017-07-09 02:55:48 +02:00
a453888ca2 Tweak new lines in FormMessage, add ControlType enum for FormMessage buttons 2017-07-09 02:40:37 +02:00
530b44762b Make \n the only new line character in FormMessage 2017-07-09 01:52:44 +02:00
e47aeb37f0 Designer, why 2017-07-08 20:19:22 +02:00
776e9968dc Fix tab order in Advanced tab in Options 2017-07-08 19:25:20 +02:00
1898bf4731 Add a tooltip to browser GC reload checkbox 2017-07-08 19:21:36 +02:00
dbb2f10754 Update from master 2017-07-08 02:49:21 +02:00
0ded03ab92 Fix more analysis violations (exceptions, native method pointers, form disposal) 2017-07-08 00:21:41 +02:00
14d44528b0 Fuck CultureInfo some more and fix analysis violations (dispose pattern, lang features) 2017-07-07 23:53:04 +02:00
eb8159ca0f Add a tooltip to text box in the Sounds tab in Options 2017-07-07 23:49:57 +02:00
9811f40a53 Go fuck yourself CurrentCulture and stop messing with string interpolation 2017-07-07 22:56:36 +02:00
5a21d2cb10 Add StringUtils with unit tests and use it 2017-07-07 15:52:13 +02:00
4c610ea32d Move TweetDeck URL into a constant 2017-07-06 20:58:40 +02:00
4bff006743 Refactor (move files into different namespaces) 2017-07-06 20:58:06 +02:00
1645079bc0 Allow plugins to modify screenshot css and include a 'td-screenshot' body class 2017-07-06 03:47:59 +02:00
9afb58e4a7 Remove unused 'using' statement 2017-07-06 03:30:15 +02:00
4d77a498f6 Add a WIP memory tracker that runs GC reload, and fix config 2017-07-04 22:00:03 +02:00
d77de3bb12 Remove debug code 2017-06-30 23:53:36 +02:00
29e7ad6ce6 Add a way to track browser process IDs 2017-06-30 23:46:52 +02:00
1712b5120e Merge remote-tracking branch 'refs/remotes/origin/master' into memory 2017-06-30 20:47:22 +02:00
06c0153cf5 Fix tray restoration from another process if the original process is hung 2017-06-30 20:44:39 +02:00
44f7ecda6d Merge remote-tracking branch 'refs/remotes/origin/master' into memory 2017-06-30 20:17:21 +02:00
fb94bf1b80 Add WindowsUtils.IsChildProcess to check process parent 2017-06-30 20:14:49 +02:00
4818652582 Add current PID into WindowsUtils.CurrentProcessID and use it 2017-06-30 17:07:37 +02:00
c69b9784fc Add option to enable GC reload with a custom memory threshold (currently unused) 2017-06-30 16:47:31 +02:00
0ac244a3ea Merge remote-tracking branch 'refs/remotes/origin/master' into memory 2017-06-30 00:00:33 +02:00
19a445fdab Add a NumericUpDown control with a text suffix 2017-06-30 00:00:20 +02:00
c90a18a2c0 Merge remote-tracking branch 'refs/remotes/origin/master' into memory 2017-06-29 23:47:00 +02:00
502310c413 Prevent TrackBar from stealing focus when scrolling 2017-06-29 23:34:00 +02:00
6f9424d4ec Force GC cleanup when clicking 'Reload browser' 2017-06-29 18:21:09 +02:00
bb379fe667 Expose gc() in JS 2017-06-29 04:01:50 +02:00
0fd86bf214 Move CEF argument setup to BrowserUtils 2017-06-29 03:52:55 +02:00
a7124e5449 Fix FormMessage not scaling well with high DPI 2017-06-29 02:21:39 +02:00
a714f3480a Refactor Program.Restart and UpdaterSettings initialization 2017-06-28 23:09:49 +02:00
fba734fd5a Fix new lines not being recognized in CEF argument parser 2017-06-27 20:28:55 +02:00
27e2372097 Add an option for custom notification window size 2017-06-27 17:54:52 +02:00
7f5b99495c Move some code (config, notifications, settings) 2017-06-27 16:49:37 +02:00
1efe2a56af Fix Win+Arrow and Win+Shift+Arrow not saving new window location
Closes #135
2017-06-26 20:23:32 +02:00
850873aec8 Add a delay to notification duration option to fix example notification flicker
Closes #136
2017-06-26 19:40:20 +02:00
d9e6afbf36 Replace Math.Round calls with a more convenient custom method 2017-06-26 17:33:07 +02:00
7f3bd2715c Enable high DPI support and fix all known DPI-related UI issues
Closes #99
2017-06-26 17:08:51 +02:00
c81cb393e9 Allow scroll speed option to use increments of 5 instead of 25 2017-06-26 16:22:52 +02:00
4800faa783 Fix a race condition crash in update checker events 2017-06-24 12:10:25 +02:00
28eb7d0810 Fix scrollbar in Options not working after focusing certain controls 2017-06-23 19:01:09 +02:00
8becef3e45 Reorganize Notifications tab in Options 2017-06-22 08:31:24 +02:00
3237634e3b Tweak button positions in Options 2017-06-22 08:11:59 +02:00
fcaa47c0a8 Move 'Custom' notification location option 2017-06-21 17:52:02 +02:00
68ea17ccbd Move some notification options into a separate panel 2017-06-21 13:59:49 +02:00
80308c7102 Redesign and cleanup parts of Options 2017-06-21 11:27:56 +02:00
ac245f5128 Fix retarded scroll bar behavior in Options 2017-06-21 09:07:50 +02:00
7f9e9e27a0 Move import/export/restore to a single dialog in FormSettings 2017-06-21 08:33:36 +02:00
abf58a4aec Add an option to change notification scroll speed 2017-06-21 05:56:10 +02:00
5d9a700a6e Move TrackBar value alignment code to ControlExtensions 2017-06-21 05:52:40 +02:00
34449da2b8 Redo Options tabs to fit the new layout 2017-06-20 20:42:17 +02:00
42f367f822 Fix mouse wheel not working in Options form 2017-06-20 20:40:37 +02:00
781ca0bb77 Tweak Options form design 2017-06-20 18:37:46 +02:00
ebe5d50dae Remove TabButton and TabPanel 2017-06-20 16:36:29 +02:00
00d6dc5626 Rewrite Options form to have tabs on the left 2017-06-20 16:29:50 +02:00
a1648c307f Remove (now) redundant call to plugin panel resize event 2017-06-20 14:35:54 +02:00
b8f170ae39 Fix visual issues in Plugins form 2017-06-20 13:02:34 +02:00
073f1da5b4 Redesign Plugins form 2017-06-20 11:58:33 +02:00
6310711136 Add a vertical label control 2017-06-20 11:48:44 +02:00
c2b1aef810 Show official & custom plugins on one page 2017-06-20 09:50:11 +02:00
11fa13f0bb Tweak google analytics detection to work on twitter.com 2017-06-08 18:43:46 +02:00
21400d72b3 Block TweetDeck's google analytics script 2017-06-08 18:39:40 +02:00
a753806d7b Fix 'Edit CEF arguments' restart prompt and tweak dialog text 2017-06-03 18:03:34 +02:00
bd1692cea3 Rename Settings to Options 2017-06-03 17:24:43 +02:00
b7ce089f08 Fix audio playback error leading to the wrong tab in Settings 2017-06-03 17:03:33 +02:00
8a6b47c5db Fix naming and tooltips in profile export/import UI 2017-06-03 16:37:23 +02:00
c018a2a7bc Move sound notification handling to a separate library 2017-06-03 15:32:18 +02:00
5929067a3d Add a function to code.js that checks if an object contains a nested property 2017-05-24 18:52:55 +02:00
9d048efe06 Cleanup code in TweetNotification 2017-05-24 18:31:42 +02:00
6a379bc2cd Make hardware acceleration setting use a new system config file
Closes #123
2017-05-24 14:06:10 +02:00
867c2d1632 Make static regexes lazily initialized 2017-05-19 15:53:26 +02:00
5447afc3f5 Make dev tools work in release if devtools_resources.pak is present 2017-05-19 15:14:46 +02:00
4c7660ee65 Restire browser window when the browser process is killed 2017-05-19 13:23:52 +02:00
c1b9bde7b0 Add an abstract request handler 2017-05-19 04:14:58 +02:00
0e8c6c066f Rewrite update system to predownload update installers 2017-05-17 18:21:06 +02:00
9e44a86be0 Make BrowserUtils.DownloadFileAsync return WebClient and delete the file when cancelled 2017-05-17 17:25:44 +02:00
b61479f84f Add WindowsUtils.TryDeleteFolderWhenAble for async folder deletion 2017-05-17 15:09:07 +02:00
e3c709b005 Add success action parameter to BrowserUtils.DownloadFileAsync 2017-05-17 14:19:35 +02:00
b2b3dba504 Make 'Edit CEF' and 'Edit CSS' dialogs not block the browser window 2017-05-17 14:05:23 +02:00
4d05441aa8 Rename root namespace to TweetDuck 2017-05-17 13:00:17 +02:00
1fc1370d41 Prevent notification windows from showing in Alt+Tab menu on Win 8/10 2017-05-16 02:04:43 +02:00
39687171e9 Close all dialog windows after starting an update download
Closes #120
2017-05-13 16:34:11 +02:00
f8678d2515 Add a GetIdleSeconds method to the bridge object 2017-05-13 14:58:30 +02:00
fcd1f76cff Fix background color in example notification when not logged in 2017-04-29 01:58:56 +02:00
e400d86d75 Add an option to toggle Shift key switch in account selectors
Closes #119
2017-04-28 20:06:53 +02:00
dca3410a5b Change border style on Windows 8/10 2017-04-28 19:08:10 +02:00
5635daf66d Update 'Restore Defaults' button dialog 2017-04-28 18:26:31 +02:00
7e2e1645e9 Move plugin config into a separate file
Closes #121
2017-04-28 17:29:08 +02:00
c11f36dfef Remove and sort usings in the whole project 2017-04-28 13:51:06 +02:00
abddf61c88 Update TweetDuck codebase to C# 7.0 2017-04-28 13:29:45 +02:00
6e78ba1e7b Add forward/back mouse button handling to notifications (skip/close function) 2017-04-21 23:21:02 +02:00
39e0dedf27 Make magic WndProc values constants in NativeMethods 2017-04-21 22:42:57 +02:00
586b31b63e Show notification duration tooltip on the trackbar control too 2017-04-21 22:02:17 +02:00
041abe6d7e Add an option to change the zoom level 2017-04-21 22:01:56 +02:00
a69b3cd05f Fix the NO_HIDE_SCREENSHOTS debug flag not moving screenshot window into view 2017-04-21 21:43:53 +02:00
5bbc14aca5 Fix trackbar heights and Display combo box location in Notifications tab 2017-04-21 20:28:11 +02:00
c426ca97e2 Fix label position in Notifications tab in Settings 2017-04-21 20:02:34 +02:00
d9eef86a8b Increase screenshot timeout interval 2017-04-21 17:48:58 +02:00
3fed921748 Add exception handling to SoundPlayerImplWMP.Play 2017-04-20 19:37:18 +02:00
02827d53a2 Add a reset prompt to Notifications tab if custom location is out of view 2017-04-18 19:05:18 +02:00
1ad5fde9ae Fix broken custom notification location in Settings
Closes #118
2017-04-18 18:29:44 +02:00
909d5ed99c Move the check if a Form is not visible anywhere to ControlExtensions 2017-04-18 18:06:09 +02:00
1137485c55 Fix not remembering position and not closing into tray when moved/closed before browser loads 2017-04-15 16:02:27 +02:00
61b1155a03 Completely rewrite all image pasting code 2017-04-15 14:29:55 +02:00
6e262334ed Refactor -1 in hook to NativeMethods.HOOK_HANDLED & include example.html in project file 2017-04-14 14:24:37 +02:00
829d69485a Add an option to skip current notification when clicking a link inside it 2017-04-13 19:42:07 +02:00
38d6d93f65 Fix recently introduced crash when opening dev tools in notification window 2017-04-13 19:10:14 +02:00
9a280492c2 Refactor PropertyBridge and remove empty BaseTabSettings designer file 2017-04-13 18:09:07 +02:00
d49ee79c90 Increase height of Settings window 2017-04-13 17:41:49 +02:00
73b83af6b1 Remove an unused class from notification body element 2017-04-12 14:26:26 +02:00
064673ef23 Rewrite notification handling (better URL and duration handling, remove hacky code) 2017-04-12 00:56:28 +02:00
81bf93e5ab Use custom ResourceHandler for notifications and tweak notification code 2017-04-12 00:08:01 +02:00
26d5a8ce08 Remove debug code 2017-04-11 21:02:25 +02:00
63a1928468 Update mouse hook to respect nCode value and also to stop further processing 2017-04-10 17:55:50 +02:00
27c2aee8b9 Add tweet queue trimming when it exceeds a set size 2017-04-09 14:59:02 +02:00
5219d29aca Tweak child form handling in FormBrowser 2017-04-09 13:30:25 +02:00
6f98bcafec Remove empty designer files 2017-04-08 14:02:16 +02:00
df4c4e443d Customize login and logout pages 2017-04-06 23:16:58 +02:00
aca06ee805 Add an option to display column name in the notification title 2017-04-06 18:11:52 +02:00
0ea07016b4 Fix TabIndex, Margin, and Location of controls in forms and dialogs 2017-04-06 14:57:27 +02:00
616421db9a Remove the 'Include Border In Screenshots' option 2017-04-06 14:29:22 +02:00
13945ec937 Minor code refactoring (remove TD_APP_READY, remove a TODO, fix formatting) 2017-04-06 13:40:26 +02:00
8f67d69325 Rewrite notification scrolling to work around a strange CEF scrolling bug 2017-04-04 16:50:44 +02:00
9ac133b605 Move TweetNotification.FixedCSS to code.js 2017-04-04 16:46:47 +02:00
538b2d26cd Tweak notification scroll hook to not trigger when main window is focused 2017-04-04 16:43:22 +02:00
cc3895c423 Remove the browser container panel from FormNotificationBase 2017-04-04 05:22:11 +02:00
79454bfc3b Remove 1px border on top of the notification (fixes empty space between scrollbar and the top) 2017-04-04 05:17:00 +02:00
c78c63285e Add a "splash screen" (show window immediately and seamlessly display browser when ready)
Closes #114
2017-04-03 18:03:46 +02:00
2b116d6756 Revert "Revert "Update CefSharp to 57.0.0-pre01""
This reverts commit da611153cf.
2017-04-03 03:05:03 +02:00
da611153cf Revert "Update CefSharp to 57.0.0-pre01"
This reverts commit dbfebf6a32.
2017-04-02 20:26:19 +02:00
dbfebf6a32 Update CefSharp to 57.0.0-pre01 2017-04-02 18:16:44 +02:00
7b91e31485 Update screenshot border setting tooltip to point out possible glitchiness 2017-04-02 18:11:37 +02:00
5a54195cac Add code to help with screenshot debugging 2017-04-02 17:52:07 +02:00
38466878db Dispose screenshot windows after using them to save memory 2017-04-02 17:22:31 +02:00
cddce8596f Add an option to pause new notifications when idle
Closes #96
2017-04-02 01:27:56 +02:00
1a73fcdb39 Allow plugins to inject HTML into notifications before they're shown
Closes #112
2017-04-01 19:27:05 +02:00
51e2791cc7 Add InnerValues property to TwoKeyDictionary 2017-04-01 19:14:36 +02:00
130159f06c Add InjectedHTML utility class with unit tests 2017-04-01 18:43:23 +02:00
dee99caa7d Fix some dialogs not having default enter/escape actions 2017-03-30 23:24:00 +02:00
cf525a3929 Fix JS dialogs to focus on a default button (and text input for prompts) 2017-03-30 23:13:57 +02:00
18d658f7e1 Add window.prompt support to JavaScriptDialogHandler 2017-03-30 22:35:49 +02:00
1c42ab77d8 Fix up FormMessage again (increase leftmost btn margin, use client width, fix calculations) 2017-03-30 22:26:43 +02:00
33d5638bb0 Add a fallback sound notification impl if WMP is unavailable 2017-03-30 01:55:07 +02:00
8ce92df87a Make sure SoundNotification doesn't release null COM references 2017-03-30 01:06:42 +02:00
4c54876ecf Increase the delay before taking a screenshot 2017-03-29 16:11:51 +02:00
48ed0e01d1 Remove 'internal' modifier on NativeCoreAudio class 2017-03-27 04:02:17 +02:00
dca31dedde Synchronize SoundNotification volume with sound mixer volume 2017-03-27 03:59:31 +02:00
ab7356b991 Make sure COM objects in SoundNotification event handlers are released 2017-03-27 03:58:14 +02:00
a46a673cf8 Rename 'sound' to 'soundNotification' in TabSettingsSounds 2017-03-27 03:52:54 +02:00
ed9267b6ba Move sound settings to a separate tab, add a Play button, update sound file dialog 2017-03-26 17:47:48 +02:00
b7c02d1cf8 Rewrite SoundNotification to use WMPLib 2017-03-26 15:56:49 +02:00
fb66beb29f Move SoundNotification error handling into an event 2017-03-26 00:13:03 +01:00
8c3bf6bbc3 Fix notification settings tab event not triggering after a recent change 2017-03-26 00:06:36 +01:00
b943078132 Rewrite example tweet in TweetNotification to use a file resource 2017-03-25 21:47:14 +01:00
0e4c923c23 Move regexes in WindowsUtils into an inner class to delay their construction 2017-03-24 16:25:46 +01:00
63835b9f99 Dispose TrayIcon object properly 2017-03-24 16:10:19 +01:00
ff17f7c132 Tweak TrayIcon to load (and reset) icon only when becoming visible 2017-03-24 16:00:44 +01:00
35931023ae Refactor plugin events and config reloading, fix config reset not reloading plugins 2017-03-24 13:24:20 +01:00
29a02db07d Fix button positioning in FormMessage 2017-03-23 20:34:56 +01:00
f1db1ba708 Refactor FormMessage uses with the new DialogResult parameter 2017-03-23 16:11:42 +01:00
c1420bac88 Add optional DialogResult for FormMessage buttons 2017-03-23 16:01:44 +01:00
5ec1bcfe3f Add plugin execution event with an error message if the script files fail to load 2017-03-23 15:33:32 +01:00
342f74646e Replace the only remaining use of WindowsUtils.CreateSingleTickTimer 2017-03-22 23:31:54 +01:00
fe5191d3b5 Remove NativeMethods.SimulateMouseClick 2017-03-22 23:28:47 +01:00
504cf97c6c Replace hacky code that unfocuses Settings notification with better code 2017-03-22 23:09:59 +01:00
f8c494c9c1 Remove NotificationFlags and tweak handling of the Settings notification 2017-03-22 22:44:55 +01:00
b90d7f721a Prevent 'Aborted' code from showing up as a connection error 2017-03-22 22:29:35 +01:00
7936af6c9a Rewrite notification hook to scroll without stealing cursor and focus 2017-03-22 18:35:40 +01:00
52d01e3dd7 Fix typos and disable some warnings in NativeMethods 2017-03-22 18:33:56 +01:00
d30d70395a Reorder conditions in notification mouse hook to improve performance 2017-03-22 18:06:17 +01:00
491a3ae525 Add 'Copy account username' to context menu for Twitter account links 2017-03-22 16:57:09 +01:00
f091b2526e Refactor Settings tabs (replace IsReady, remove SelectTab with no parameters) 2017-03-22 13:19:19 +01:00
7548e2e202 Fix timer checkbox being updated instead of non-intrusive popups checkbox in Settings 2017-03-22 13:15:47 +01:00
d9b9afbf2d Refactor UpdateHandler to not expose UpdaterSettings 2017-03-22 12:49:10 +01:00
8036659003 Remove isLoaded check from several events in FormBrowser 2017-03-22 12:35:01 +01:00
f9fb4668c2 Refactor browser reloading in ContextMenuBrowser to use ReloadToTweetDeck 2017-03-21 22:45:16 +01:00
8f6be3911a Rename 'Non-Intrusive Popup' to 'Non-Intrusive Popups' 2017-03-21 20:35:22 +01:00
0d95b8eb44 Rewrite hacky link handling for the error page to be not as hacky 2017-03-21 20:24:41 +01:00
61d2d124ff Add a custom load error screen to FormBrowser 2017-03-21 19:05:42 +01:00
87ac7daf76 Add BrowserUtils.ConvertPascalCaseToScreamingSnakeCase with unit tests 2017-03-21 18:56:22 +01:00
6b4817df36 Minor FormBrowser code cleanup 2017-03-21 17:32:48 +01:00
606c9512f8 Move debug.js into the debug plugin 2017-03-21 16:39:02 +01:00
71f67e9191 Fix new TweetDeck Settings context menu position 2017-03-21 14:50:59 +01:00
636f2b3017 Rewrite TrayIcon to use ContextMenu instead of ContextMenuStrip for native rendering 2017-03-21 02:03:38 +01:00
2de5b5c6e4 Make the TweetDuck entry in TweetDeck Settings show the context menu 2017-03-21 01:28:13 +01:00
0cbcc8c9f3 Move the 'Updates' tab into 'General' 2017-03-21 00:17:43 +01:00
96146e3dc8 Add a setting for non-intrusive popups to avoid accidental clicks 2017-03-21 00:11:13 +01:00
09a748e9dc Remove legacy cache cleanup code 2017-03-20 12:26:30 +01:00
f39e668f8d Make BrowserUtils.OpenExternalBrowser ignore empty urls 2017-03-19 10:13:24 +01:00
6ea95342a0 Add a 'Restart with Arguments' button with a dialog to pick command line args
Closes #109
2017-03-18 15:51:40 +01:00
cd3b198c6f Disable minimize and maximize buttons on the Import/Export Profile dialog 2017-03-18 13:43:16 +01:00
b249b5f46e Rewrite handling of program arguments & add Program.RestartWithArgs 2017-03-18 12:57:42 +01:00
bbe3b48bcc Replace restart warning when importing session with "Import & Restart" button text 2017-03-18 11:20:37 +01:00
6387ab41b3 Delay initial tab selection in the Plugin form until after the window is fully shown 2017-03-16 20:50:57 +01:00
4df16b7f15 Fix 'Reload All' button in Plugins form hiding the panel scrollbar resized 2017-03-16 20:42:18 +01:00
ed387a2873 Add a validity check when opening URLs from the internet and plugins 2017-03-16 18:37:24 +01:00
9e225530a6 Add BrowserUtils.IsValidUrl for http(s)/ftp/mailto url checking with unit tests 2017-03-16 18:36:31 +01:00
7b23686dc6 Remove a mailto TODO comment as it's no longer necessary 2017-03-16 18:02:29 +01:00
4c59526e39 Minor code refactoring, fix potential event memory leaks 2017-03-14 23:47:30 +01:00
563c856dd3 Rewrite tweet screenshot functionality to use native methods 2017-03-13 21:40:15 +01:00
69ea242408 More refactoring of notifications, cache notification scripts 2017-03-13 16:13:32 +01:00
d6e0e0726f Completely refactor FormNotification into multiple classes 2017-03-13 02:06:31 +01:00
ec2e26752a Fix link clicking bug caused by a CefSharp bug 2017-03-10 16:50:41 +01:00
e71e1c853f Refactor FormBrowser.ReloadBrowser 2017-03-09 20:39:12 +01:00
ee9d9196f5 Rewrite image paste click simulation to use CEF events instead of WinAPI 2017-03-09 19:46:12 +01:00
7f7b6b1e2a Minor code changes, including InvokeAsyncSafe in a couple more places 2017-03-09 19:08:33 +01:00
405777e0f5 Fix tray restoration code to no longer restore windows of all existing TweetDuck processes
Closes #108
2017-03-09 13:59:37 +01:00
c55ee71442 Add WindowsUtils.TrySleepUntil to make timeoutable waiting easier 2017-03-09 13:23:13 +01:00
67a2e40622 Ninja fix deadlock when exiting after update 2017-03-08 22:10:06 +01:00
1e4f673f9e Add a TwoKeyDictionary collection with unit tests 2017-03-07 17:45:13 +01:00
1e538d2b28 Move sound notification code to a separate class 2017-03-05 14:27:47 +01:00
7d7bfb7b01 Refactor FormSettings to take initial tab index in constructor and remove public SelectTab 2017-03-05 14:27:35 +01:00
a50d6e8f47 Disable resizing for the settings export dialog 2017-02-25 19:07:21 +01:00
6081e5b9c1 Add & use ControlExtensions.InvokeAsyncSafe for improved performance 2017-02-20 13:02:24 +01:00
a838e89695 Fix custom sound notification textbox not setting color when the control is created 2017-01-28 18:12:30 +01:00
b22289a8b9 Work around Alt freezing the app since W10 Anniversary Update
Get fucked, Microsoft
2017-01-28 17:44:30 +01:00
45b3ff52c6 Tweak FormBrowser.ShowChildForm to use VisibleChanged instead of Shown event for reliability 2017-01-28 01:08:31 +01:00
4464991f4c Prevent automatic Settings tab selection from triggering autoclick in Notification tab 2017-01-28 01:07:57 +01:00
8823016d2c Make custom sound notification textbox font red when the file doesn't exist 2017-01-27 23:56:51 +01:00
859fdc7ec1 Rewrite custom sound notification to show an error message on failure instead of hiding it 2017-01-27 23:56:00 +01:00
5fd5a2a436 Use and test RegisterAsyncJsObject in FormBrowser 2017-01-27 18:51:14 +01:00
79a7e7470c Use and test RegisterAsyncJsObject in FormNotification 2017-01-27 17:00:09 +01:00
9ecef78aed Fix DismissedUpdate not being set after toggling updates 2017-01-27 16:21:36 +01:00
65a837a6e1 Move TweetDeckBridge properties to a separate JS object 2017-01-27 16:13:17 +01:00
6e4db4acea Rewrite custom CSS injection and automatically inject it while typing 2017-01-26 15:35:40 +01:00
26fb977d05 Remove unnecessary properties from TweetDeckBridge 2017-01-26 06:51:51 +01:00
b42cd1c048 Tweak screenshot notification script (minor edit) 2017-01-26 06:46:19 +01:00
467f7cd12f Rewrite update system to use RegisterAsyncJsObject 2017-01-26 06:41:20 +01:00
cf7d903932 Move updater event args to a separate namespace 2017-01-26 04:09:04 +01:00
a7ab67925c Allow moving the notification window when holding Alt in debug builds 2017-01-23 01:13:15 +01:00
09e5636e86 Remove unused 'using' statement 2017-01-23 00:59:19 +01:00
2295a875be Fix 'Copy' context menu item (separator in wrong place in browser, missing in notification) 2017-01-23 00:53:15 +01:00
268de676ee Add NativeMethods.GetIdleSeconds for idle time detection 2017-01-22 16:00:54 +01:00
8fe26c07f1 Preserve plaintext when stripping HTML styles from clipboard text 2017-01-17 18:29:09 +01:00
da3921b1ca Add safeguards for clipboard update methods
Closes #91
2017-01-17 18:19:39 +01:00
1513f46a11 Add a safety net to CombinedFileStream.Entry.WriteToFile with createDirectory 2017-01-17 02:27:03 +01:00
82d70b2d7f Stealthfix a bug with CommandLineArgs.ToString causing an exception if there are no args 2017-01-10 21:58:17 +01:00
fc77b85083 Remove HTML styles after copying selected text to clipboard 2017-01-08 16:36:49 +01:00
50a8893f4f Add an option to disable screenshot window border 2017-01-08 02:47:47 +01:00
9252b3040e Fix screenshot functionality broken by previous refactoring 2017-01-08 02:26:09 +01:00
d5141ed020 Redo OnNotificationReady call to use LoadingStateChanged with a delay 2017-01-08 02:16:40 +01:00
7ff9e23283 Remove legacy notification loading option 2017-01-08 01:33:48 +01:00
89854d527c Fix notification position config after changing namespace and remove TweetNotification.Duration 2017-01-03 18:43:36 +01:00
349cfbd2d5 Set FormNotification.Visible to false if the form is out of view 2017-01-03 17:08:15 +01:00
40303ef74a Move FormBrowser.CreateNotificationForm next to other notification related methods 2017-01-03 00:34:45 +01:00
6c652122c2 Replace FormBrowser notification property with methods and use pause in TweetScreenshotManager 2017-01-03 00:30:36 +01:00
2b20fcfcd1 Pause notifications while the Settings window is open 2017-01-02 20:17:53 +01:00
554d427fef Improve notification muting by pausing instead of clearing it 2017-01-02 20:17:35 +01:00
7cf5b23306 Add debug.js and implement notification simulation in it 2017-01-02 18:29:28 +01:00
b26a6098eb Add a HORRIBLE HACK to unfocus example notification in Settings 2017-01-02 15:44:18 +01:00
7ad927bdaf Use CreateSingleTickTimer in TweetScreenshotManager 2017-01-02 04:29:45 +01:00
4ed30b3619 Add WindowsUtils.CreateSingleTickTimer 2017-01-02 04:28:57 +01:00
edfa9264d5 Add a timeout to TweetScreenshotManager in case of failure 2017-01-01 23:36:18 +01:00
f7516b593f Add JavaScript dialog handler that uses FormMessage for alerts and confirmations 2017-01-01 21:38:46 +01:00
83ff998f9d Rename DialogHandlerBrowser to FileDialogHandler 2017-01-01 21:34:24 +01:00
47381e0df4 Fix alignment of FormMessage text with no message icon 2017-01-01 21:30:45 +01:00
ba62d57485 Fix invalid context menu items due to bridge properties not being cleared after reload 2017-01-01 00:34:52 +01:00
c014c4bc24 Refactor notifications (move namespaces, move screenshot methods to a separate class) 2016-12-29 02:50:16 +01:00
5d1a3fede2 Fix the export/import button not getting disabled if no option is selected 2016-12-29 00:47:05 +01:00
53b584fe45 Add a button to open wiki to CSS dialog 2016-12-29 00:32:46 +01:00
f53d974400 Add tooltip to export/import dialog and uncheck session export by default 2016-12-29 00:18:03 +01:00
c4b4ef19cd Add profile import file flag detection 2016-12-29 00:01:55 +01:00
3bfc360362 Add a SkipFile method to CombinedFileStream to skip through key names 2016-12-29 00:00:36 +01:00
584f16d375 Fix export dialog design and event handling 2016-12-28 23:59:41 +01:00
dd14ad470e Add WIP export/import selection dialog 2016-12-28 21:16:53 +01:00
31f1546483 Make TweetNotification properties constants instead 2016-12-25 13:02:56 +01:00
d8a88a19af Separate notification CSS fixes (fixes badge and urls in screenshots) 2016-12-25 12:58:02 +01:00
12af79de05 Refactor tweet screenshot code to a separate class and work around window disposal issues 2016-12-24 20:35:13 +01:00
921294eeb3 Add support for custom wav notification sounds
Closes #3
2016-12-24 15:59:29 +01:00
272877d0ed Add Open Data Folder button and fix log tooltip in Advanced Settings tab 2016-12-24 00:53:14 +01:00
da29811b16 Fix td-hover class missing after clicking the Skip button and not moving the cursor 2016-12-24 00:44:34 +01:00
eb4ce18e31 Refactor -32000 location to a static Point object 2016-12-23 23:27:37 +01:00
d116ac5e56 Reorder notification context menu to place relevant items on top
Closes #81
2016-12-23 16:15:43 +01:00
28db1f4253 Add NotificationFlags.TopMost and disable it for Settings form 2016-12-23 16:00:59 +01:00
034312e676 Add dev tools to context menus when debugging 2016-12-23 15:43:11 +01:00
da83d73ba6 Merge pull request #85 from chylex/screenshot
Add tweet screenshot functionality & update CEF
2016-12-23 15:31:15 +01:00
cac6d1f889 Swap notification windows when taking a screenshot, and make screenshot window unmovable 2016-12-23 15:13:34 +01:00
9b983de8c9 Ensure notification window visibility when taking screenshots, refactor MoveToVisibleLocation 2016-12-23 14:52:48 +01:00
61359c2faa Refactor NotificationFlags and inner screenshot bridge class to a separate namespace 2016-12-23 14:26:59 +01:00
a1b483d20a Implement printscreen simulation and a timeout to screenshot notification 2016-12-23 13:40:30 +01:00
391a90e1df Add a -debugupdates command line argument to allow prereleases in update checker 2016-11-23 02:08:33 +01:00
e0fe39195d Add HasValue method to CommandLineArgs 2016-11-23 02:06:41 +01:00
45e6ec8b0f Fix FormMessage fonts 2016-11-18 20:28:00 +01:00
a3fbaa0b34 Make program restarts as reliable as possible
Closes #80
2016-11-18 19:59:21 +01:00
c3db3ce0f2 Push WIP tweet screenshot functionality 2016-11-16 18:39:30 +01:00
7a1e7637ff Add a parameter to toggle custom CSS in TweetNotification.GenerateHtml 2016-11-16 18:33:30 +01:00