1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2024-11-25 05:42:47 +01:00
Commit Graph

897 Commits

Author SHA1 Message Date
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
04a78a02d3 Add NotificationFlags for easier configuration of the notification window 2016-11-16 18:33:01 +01:00
cb61dc742f Push minor tweak in ExecuteScriptAsync in image pasting code 2016-11-16 18:29:35 +01:00
e70d792654 Fix plugin status not updating from new config after importing profile
Closes #79
2016-11-16 04:10:17 +01:00
e2a34ea28e Remove original CheckFolderPermission and replace it with the lazy workaround 2016-11-15 18:10:25 +01:00
ec8000360e Windows file permissions can go to hell 2016-11-15 01:01:41 +01:00
57b0821e19 Revert "Rewrite folder write permission check to hopefully make it more reliable"
This reverts commit 1f9db3bda6.
2016-11-15 00:47:15 +01:00
1f9db3bda6 Rewrite folder write permission check to hopefully make it more reliable 2016-11-14 23:32:45 +01:00
802f1e3042 Refactor Process.Start uses (missing using statement, use WindowsUtils for elevation) 2016-11-14 19:39:26 +01:00
66db0df45a Add WindowsUtils.StartProcess for easier elevated process starting 2016-11-14 19:38:36 +01:00
650c2e2eb7 Remove redundant null check from WindowsUtils 2016-11-14 18:54:58 +01:00
7cd0b4ad54 Fix highlighted tweets staying in context menu after logging out of TweetDeck 2016-11-14 10:35:58 +01:00
97acb41eee Fix console errors caused by running browser scripts even outside of TweetDeck website 2016-11-14 10:35:42 +01:00
b916b9726e Add a method to check if a frame has a TweetDeck URL to BrowserUtils 2016-11-14 10:34:52 +01:00
32d3990ace Rewrite plugin data export and combined file stream identifiers, add missing plugin warning 2016-11-14 10:15:21 +01:00
b78c4cb8f0 Move PluginEnvironment and PluginGroup to a separate Enums package 2016-11-14 05:08:18 +01:00
e8394b9c08 Add browser console logging to debug output 2016-11-13 13:45:10 +01:00
87fd2a521e Fix quoted tweet link in notification window not resetting
Closes #75
2016-10-21 06:50:34 +02:00
c7c9931f68 Add an extension method to add UAC shield to a button 2016-10-18 16:21:08 +02:00
bb5161eb34 Fix notifications only displaying the last one when multiple were enqueued at the same time 2016-10-09 14:58:11 +02:00
82beb1f5a7 Fix context menu state changing when moving mouse quickly
Closes #70
2016-10-08 17:43:55 +02:00
dc0b7d58e3 Add an Open Program Folder button to Settings - Advanced 2016-10-08 16:20:52 +02:00
28cc60d007 Tweak CommandLineArgsParser to slightly improve reliability with quoted strings 2016-09-27 18:11:50 +02:00
61f6543041 Change Source Code link to Tips & Tricks 2016-09-27 17:37:19 +02:00
fde984d02b Add a hover class to Notification body element and only display skip button when over 2016-09-27 03:48:14 +02:00
f23db31306 Increase default size of Edit CSS dialog 2016-09-26 17:20:25 +02:00
8dce99b8b3 Add support for ctrl+a shortcut in multiline textboxes 2016-09-26 17:20:10 +02:00
6690efc4d9 Address code analysis issues 2016-09-26 15:53:08 +02:00
afa8098463 Add two restart buttons to Settings - Advanced 2016-09-26 14:28:14 +02:00
c064e579d2 Add Program.Restart and fix restarting causing loss of initial program arguments 2016-09-26 14:05:44 +02:00
01dc4e4714 Update CommandLineArgsParser to use CommandLineArgs 2016-09-26 13:58:59 +02:00
1efe2a02f7 Add a CommandLineArgs class for easy arg management 2016-09-26 13:52:55 +02:00
2252d85b27 Add MessageBoxIcon.Question support to FormMessage 2016-09-25 23:09:36 +02:00
6b79c89f42 Add a button to skip current notification 2016-09-25 16:53:00 +02:00
5f249d4603 Add a <body> td-example-notification attribute for example notifications 2016-09-25 16:52:22 +02:00
aa2c60f7e9 Move cookie import code to ExportManager 2016-09-20 17:15:34 +02:00
86aba1eb52 Update all exception handlers 2016-09-20 16:55:51 +02:00
27971e09cd Add new Control related functionality to FormMessage 2016-09-20 16:31:53 +02:00
0dbfa7e101 Improve reliability of directory write perm checking 2016-09-20 16:00:41 +02:00
85d09c4b5e Add a FormMessage class for custom message boxes 2016-09-20 07:47:16 +02:00
4f9bc40476 Update cache clearing for CEF 53 and clear old cache files on first startup 2016-09-19 14:03:37 +02:00
757ccbf9d3 Switch locale to English and add spell check setting
Closes #62
2016-09-19 13:33:44 +02:00
340eaece0f Update CefSharp to 53 and update the readme 2016-09-19 00:12:48 +02:00
c38d507e50 Hopefully fix an occasional crash when importing session and restarting 2016-09-18 21:48:40 +02:00
0cda3702ea Change notification scroll trigger cursor position for windows without side borders 2016-09-18 21:08:09 +02:00
1fdf9bffb6 Disable global context menu items when in textarea or text selection 2016-09-07 21:47:31 +02:00
bfc6822f69 Fix Plugins window title 2016-09-07 14:20:35 +02:00
b0386937d7 Remove lnk updater from the TweetDeck migration system 2016-09-05 21:25:25 +02:00
45b0ece342 Update Plugin sorting and design (separator, colors) 2016-09-05 20:44:58 +02:00
5c147d3648 Fix missing and unfocused scrollbar in Plugins window 2016-09-05 20:44:07 +02:00
8fa68c428f Add 'Open (quoted) tweet in browser' context menu items and move them down 2016-09-05 16:17:23 +02:00
e2be90191e Standardize context menu items using Chrome's style 2016-09-05 14:30:07 +02:00
b2cc5d50bd Address code analysis issues and fix unused parameter in CombinedFileStream.WriteToFile 2016-09-04 19:32:33 +02:00
f38b188046 Add a safety net to plugin file export in case the path is too long 2016-09-04 18:10:50 +02:00
9e45628e87 Rename 'Export/Import Settings' to Profile and add Plugin exporting 2016-09-04 16:58:03 +02:00
bf76398627 Optimize icon loading and size in Forms, fix Plugins Form title inconsistency 2016-09-04 15:32:00 +02:00
81d5728964 Add scrollbars to Edit CSS window 2016-09-04 13:57:38 +02:00
d76027558b Add a custom alert function with customizable icon and no text length limit 2016-09-04 13:19:52 +02:00
1450cc24a3 Reorganize global context menu items into a sub-menu 2016-09-04 13:10:32 +02:00
f41523c1b2 Remove redundant 'using' directives 2016-09-04 04:53:37 +02:00
4019463e68 Fix occasional incorrect location of child windows 2016-09-04 04:52:59 +02:00
5e2e239f5e Force Reload All button in Plugins window to trigger the event even without changes 2016-09-04 04:44:08 +02:00
36473c2df9 Add a global plugins.js file with loadConfigurationFile utility function 2016-09-04 03:59:37 +02:00
44bf7b870e Rewrote notification mouse hook to only be active if the window is visible
Closes #57
2016-09-04 00:59:13 +02:00
44da2e6082 Add debug example notification padding for scrollbar testing 2016-09-04 00:58:47 +02:00
e5223a852e Fix profile picture in example tweet 2016-09-02 20:58:18 +02:00
31a475861b Reformat (missing space after comma), minor code tweaks 2016-09-02 13:34:41 +02:00
506cd52255 Change the Reload context menu action to return to TD website 2016-08-12 22:30:36 +02:00
99ed077dbc Fix missing url word break in notifications 2016-08-10 15:48:50 +02:00
65aeb6656f Add a very basic setting for custom CSS in browser and notifications 2016-08-10 15:45:56 +02:00
e4f5766ffb Change font and check for null in CEF argument dialog 2016-08-10 15:03:15 +02:00
353ac7c76b Add setting for CEF command line args
Closes #52
2016-08-10 14:46:24 +02:00
8073fa206b Add a safety net to track bar value setting in case the config file is faulty 2016-08-10 12:47:56 +02:00
3775b5968d Fix potential memory leaks with FlatProgressBar color brush 2016-08-04 13:43:32 +02:00
ba6242e09d Change notification duration setting to a track bar 2016-07-28 21:58:42 +02:00
f6b0ddddb9 Add FlatButton for generic buttons without double border on focus 2016-07-28 21:51:49 +02:00
9e8d5c6768 Unify group boxes and layout in Settings tab 2016-07-28 15:21:29 +02:00
ef78496d5d Add notification count down toggle option 2016-07-28 14:24:43 +02:00
41a45a14df Change tray highlight to trigger on any notification and reset on window focus
Closes #33
2016-07-27 04:48:09 +02:00
5d3721ad04 Move Import/Export/Reset buttons to Advanced tab and replace them with a hint label 2016-07-26 23:45:20 +02:00
f75bcb505c Unify Settings tab size in Designer for easier manipulation 2016-07-26 23:43:48 +02:00
b9e1dd5950 Add combined tray icon behavior option
Closes #46
2016-07-24 16:48:26 +02:00
56bf33229b Add a legacy notification load system option 2016-07-24 16:30:58 +02:00
d3f205287c Reset Notification Settings example timer when switching tabs 2016-07-24 15:17:08 +02:00
53518cd6e6 Change Notification Settings labels and add edge distance label 2016-07-24 15:13:51 +02:00
0ff3896d51 Add tooltips to Settings items 2016-07-24 14:27:00 +02:00
c64e16471b Add plugin utility bridge with file functionality and a plugin token system 2016-07-23 18:36:58 +02:00
2f2e2b82b8 Reset notification mouse hook variable when disposing 2016-07-11 15:55:18 +02:00
af9a503f3c Fix call order with notification scroll focus 2016-07-10 17:33:21 +02:00
971affa607 Fix unreliable unfocused notification window scroll wheel hook 2016-07-09 21:33:46 +02:00
2de5d6206e Change notification window scrollbar width and remove border radius 2016-07-09 20:54:13 +02:00
34e0bcc56a Focus notification window when mouse wheel is scrolled above it 2016-07-09 19:37:27 +02:00
bb9f09c11f Make sure all Settings controls are disposed when closing 2016-07-09 16:46:08 +02:00
109a330c54 Address ReSharper inspections and refactor FormBrowser constructor 2016-07-06 15:38:47 +02:00
c6aaa4fb04 Revert "Hopefully fix a completely random bug that opened links in notifications in the popup window?"
This reverts commit 2de9570c38.
2016-07-06 02:04:26 +02:00
2de9570c38 Hopefully fix a completely random bug that opened links in notifications in the popup window? 2016-07-06 00:33:00 +02:00
23606f6d6c Prevent Updates Settings tab from triggering the event for update checks with ID 0 2016-07-05 21:37:15 +02:00
ced5a82e07 Fix example notification in Settings not showing up the first time 2016-07-05 19:07:51 +02:00
b4fc522f37 Rewrite notification bridge handling and add OnNotificationReady to show notification after it has loaded 2016-07-05 18:31:29 +02:00
a7e222f2e7 Fix display timer setting that was broken in previous update and optimize notification resizing 2016-07-04 17:23:52 +02:00
511e5c483c Make Settings tab element location consistent 2016-07-04 16:42:40 +02:00