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
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
780908f777 Refactor some code and replace the only RichTextLabel use with Label 2016-07-04 03:53:44 +02:00
88e5681155 Add import, export, and reset buttons to FormSettings 2016-07-03 23:12:41 +02:00
bc197e6942 Allow Settings and Plugins context options to show up even when not logged in 2016-07-03 23:05:41 +02:00
662ee7382c Add ActiveButton property to TabPanel 2016-07-03 23:01:26 +02:00
12144a2bda Always display example notification if the Settings Notifications tab is active 2016-07-03 18:25:31 +02:00
e11f2e54b4 Push automatic designer file changes in TabSettingsNotifications 2016-07-03 18:22:33 +02:00
1ca3541b34 Redesign and rewrite FormSettings to use TabPanel 2016-07-03 14:56:56 +02:00
e209085960 Fix errors in ControlExtensions.InvokeSafe after the previous commit 2016-07-03 14:16:14 +02:00
d1a90612c2 Change ControlExtensions.InvokeSafe to use Control instead of Form 2016-07-03 14:11:42 +02:00
0a21c61535 Rewrite FormPlugins to use the new TabPanel and remove PluginListControl 2016-07-03 03:43:42 +02:00
8583a55424 Add TabPanel and TabButton user controls 2016-07-03 03:34:22 +02:00
3a7a0f63de Redo external link handling using ILifeSpanHandler instead of hacky JS code 2016-07-02 22:39:16 +02:00
f13515ba16 Add includeDisabled parameter to PluginManager.ExecutePlugins and update calls 2016-07-02 00:05:22 +02:00
d9321a9acb Split plugins.js into separate browser and notification scripts and refactor notification script execution code 2016-07-01 23:53:08 +02:00
19f9614c74 Add ScriptLoader.GetRootIdentifier and PluginManager.HasAnyPlugin(environment) and use them 2016-07-01 23:47:06 +02:00
66ce355571 Update Plugins Form (change default size, store state, fix title) 2016-06-30 20:00:00 +02:00
9308478a59 Make WindowState.Restore firstTimeFullscreen argument required 2016-06-30 19:48:57 +02:00
97d778c31c Add a firstTimeFullscreen parameter to WindowState.Restore 2016-06-30 19:47:28 +02:00
740195146b Update FormBrowser and configuration to use WindowState 2016-06-30 19:43:38 +02:00
6e0717bf22 Add a WindowState class for easier Form saving and restoring 2016-06-30 19:39:49 +02:00
b6a683dfe1 Rewrite plugins.js, plugin state handling and script execution (separate instead of combining) 2016-06-30 16:31:02 +02:00
8e01d5ec84 Minor refactoring of ScriptLoader.ExecuteFile to generate identifier automatically 2016-06-30 15:34:54 +02:00
b531016c7b Refactor ScriptLoader for easier script identifier handling 2016-06-30 03:15:46 +02:00
6729b597c0 Restore program from tray if ran twice
Closes #39
2016-06-26 22:28:48 +02:00
d955713335 Finish plugin reloading and add plugin counts to the UI 2016-06-25 19:42:20 +02:00
13d0e10dcd Implement basic plugin loading and management 2016-06-25 18:53:03 +02:00
4283403f0e Add a base for plugin management including basic UI 2016-06-04 23:24:46 +02:00
40e534090d Refactor MigrationManager and FormBackgroundWork 2016-05-28 22:53:35 +02:00
973e0c489e Address code analysis issues 2016-05-28 22:34:40 +02:00
5648e9e806 Add 'Copy quoted tweet address' to context menu
Closes #29
2016-05-27 14:30:11 +02:00
2a65e20fb9 Rewrite update handling and add an update check button to Settings 2016-05-26 14:13:30 +02:00
1162e9b655 Reorganize layout elements in Settings Form for easier modifications 2016-05-25 18:49:11 +02:00
ee282713f8 Fix program not closing when updating if 'Close to tray' is enabled
Closes #34
2016-05-22 15:12:45 +02:00
c5edad9c4b Add a button to clear cache to the Settings Form 2016-05-14 15:18:57 +02:00
162bbc3221 Add option to disable HTML5 hardware acceleration
Closes #30
2016-05-13 14:01:11 +02:00
fd97c20d37 Add second tray icon for unread tweets when notifications are muted
Closes #7
2016-05-12 15:46:39 +02:00
7238e17b86 Add link expanding and tooltip support to popup notifications 2016-05-12 15:10:22 +02:00
bea158b0d9 Fix example notification not running notification.js script (breaking links) 2016-05-11 17:40:41 +02:00
40acb49011 Add scrollbar to large popup notifications and display quoted tweets in the notification
Closes #9
2016-05-11 16:59:06 +02:00
cc7fc7e994 Resize notification Form based on font size 2016-05-10 18:21:56 +02:00
ddec715dda Add support for back/forward mouse buttons 2016-05-10 13:31:18 +02:00
a1365a98c0 Pause notification timer when context menu is open, and optimize Settings notification tick 2016-05-09 20:14:23 +02:00
9a29d4ff18 Add context menu item to copy tweet address without focusing date link
Closes #24
2016-05-09 20:00:36 +02:00
39816eae76 Fix case in 'Mute notifications' context menu item 2016-05-09 18:13:01 +02:00
45a38d9570 Add tooltip for collapsed links when expanding is disabled
Closes #25
2016-05-09 14:44:04 +02:00
a230258bec Remove FormBrowser.InvokeSafe and use extension method instead 2016-05-09 13:32:20 +02:00
1d169005da Hide default icon in Forms that do not have custom one properly 2016-05-08 20:57:53 +02:00
f5212d88f3 Redesign the About screen 2016-05-08 20:53:08 +02:00
03a93ad3f3 Move native methods to a NativeMethods class 2016-05-08 18:33:42 +02:00
3a66fa28ab Do minor code refactoring 2016-05-08 14:59:01 +02:00
f6a4e39cfc Add 'Skip tweet' and 'Freeze' context menu options to notifications 2016-05-08 14:24:53 +02:00
24d8444043 Tweak context menu (fix and add separators) 2016-05-08 13:08:56 +02:00
d33d65031c Add a minimum size to the browser Form 2016-04-30 18:21:28 +02:00
8fe4aa386d Fix icons again by using proper resource files for Forms 2016-04-30 17:02:14 +02:00
16ef1b3a34 Make sure simulated mouse clicks use correct button when user swaps them 2016-04-30 11:13:32 +02:00
fd350528a9 Add CTRL+V image paste functionality when writing tweets
Closes #23
2016-04-29 17:55:00 +02:00
b63224a218 Add Expand Links When Hovered config option 2016-04-28 23:28:28 +02:00
3223b3e78e Fix not saving window location when moving maximized window to another screen and maximizing again without letting go 2016-04-28 23:26:32 +02:00
8da95496bd Fix UI icon and anchors in settings Form 2016-04-28 23:02:12 +02:00
2e2ad4edcf Redo icon handling, add 256x icon, and hopefully fix volume mixer properly
Closes #20
2016-04-27 17:26:03 +02:00
4142206b65 Fix icon in Volume Mixer
Closes #20
2016-04-26 16:04:02 +02:00
6105658602 Temporarily re-add default sound notification, but make it work with Mute function 2016-04-26 15:49:24 +02:00
a6e40be79e Fix maximization resetting restore location and size 2016-04-26 15:19:54 +02:00
aa2e4c9845 Implement multiple tray options and refactor tray icon handling 2016-04-26 02:41:19 +02:00
f4cfc40244 Redo locations and margins in settings Form 2016-04-26 01:01:16 +02:00
6c50bdba06 Rename 'Update Notifications' setting to 'Check for Updates' 2016-04-26 00:44:49 +02:00
1f6fc491ef Add a WIP sound notification hook 2016-04-26 00:43:44 +02:00
b04e260fb7 Fix focus stealing issues when showing or hiding the notification Form 2016-04-25 17:58:10 +02:00
dd4c89b9dd Add notification Form title changing with enqueued tweets 2016-04-25 16:12:58 +02:00
ddbf6da061 Fix double-clicking maximizing notification Form by setting MaximizeBox to false (thanks Microsoft...) 2016-04-25 16:06:07 +02:00
f85e0030a7 Add Mute Notifications setting (required changes to notification focus handling)
Closes #13
2016-04-25 15:51:14 +02:00
2a1dc8beab Bypass t.co links in context menu and hide url options for # links 2016-04-24 22:13:48 +02:00
c5b3bc1a0b Fix context menu not running any actions in notification Form 2016-04-24 22:04:41 +02:00
24edcc3402 Rewrite notification system to improve reliability and future extensibility
Closes #18
2016-04-24 16:37:27 +02:00
b94a6acee6 Add address check to notification form before running notification.js 2016-04-24 14:15:04 +02:00
b2892cc834 Rewrite font size handling 2016-04-24 14:10:29 +02:00
82a3cd8df2 Add a simple context menu to the tray icon (Restore, Close) 2016-04-23 20:59:23 +02:00
b39a3a05fe Move update notification code to update.js and make the notification display without needing the app div 2016-04-23 17:54:15 +02:00
92ac138183 Make sure tray icon brings the window to front
Closes #14
2016-04-23 17:06:59 +02:00
4cef0fb60d Fix clipboard text formatting
Closes #19
2016-04-23 16:29:51 +02:00
f064912ac9 Prevent notifications from stealing focus from the client app 2016-04-17 17:42:00 +02:00
462aebb115 Fix notification height and sent DMs showing up in notifications 2016-04-17 16:49:49 +02:00
2ef4f28740 Move Update form labels to the left 2016-04-17 16:19:15 +02:00
b02fb0934f Add version tag to About form 2016-04-17 16:10:10 +02:00
de363c982f Add update downloader and installer 2016-04-17 16:06:56 +02:00
f0132f59e5 Add ControlExtensions.MoveToCenter 2016-04-17 15:44:04 +02:00
dc32285454 Add ControlExtensions with Form.InvokeSafe and ProgressBar.SetValueInstant 2016-04-17 12:49:53 +02:00
e170172870 Add BrowserUtils.GetFileNameFromUrl and use it in ContextMenuBase 2016-04-17 01:35:27 +02:00
eba47a8196 "Fix" RichTextLabel being a fucking idiot and not working with URLs properly
Closes #10
2016-04-17 00:48:11 +02:00
907543a7cf Add WIP update notifications, currently no downloading 2016-04-16 23:22:23 +02:00
e8dea023ac Rename links and references in code to match new repository setup 2016-04-16 16:38:46 +02:00
707b4b4ba2 Update the example notification (change my username) 2016-04-16 14:25:29 +02:00
9e5a39e9fc Add Save image as... option to context menu 2016-04-15 23:04:28 +02:00
8c21011ac7 Add BrowserUtils with header getters and OpenExternalBrowser method 2016-04-15 22:42:35 +02:00
5f5013f021 Add ContextMenuBase that handles links and media (open in browser, copy url) 2016-04-15 18:44:48 +02:00
fe093475dc Rename ContextMenuHandler to ContextMenuBrowser and add ContextMenuNotification 2016-04-15 17:30:33 +02:00
1c4e03ebea Make the notification timer config affect example notification, and fix its height 2016-04-15 16:05:09 +02:00
bd54da85a8 Add a Display Notification Timer option 2016-04-15 15:57:22 +02:00
86165b3529 Add Minimize to Tray option and improve window state and position saving 2016-04-15 15:06:42 +02:00
09d028a3af Fix minimizing issues again but properly 2016-04-15 14:39:38 +02:00
82934878cc Fix minimizing causing issues with saved window position 2016-04-15 14:35:10 +02:00
2c3849bc43 Change namespace to TweetDck 2016-04-15 13:23:40 +02:00
c53636c013 Disable moving the notification window if not in Settings menu & having Custom pos enabled 2016-04-13 11:22:45 +02:00
81c29ab50c Fix some issues with multi-monitor setups (change default loc, fix config saving before window loaded) 2016-04-13 02:33:21 +02:00
f99435ff6a Add a null check to FlatProgressBar.brush 2016-04-13 02:24:24 +02:00
39f554693d Address static code analysis issues (disposing objects, neutral language and CLSCompliant attribute) 2016-04-12 23:33:37 +02:00
3115ccc896 Redo build configurations and add a TweetDuck variant 2016-04-12 01:50:21 +02:00
65d1201bbb Tweak notification progress bar to finish slightly quicker 2016-04-11 22:57:48 +02:00
c5a15709e7 Remove unused using directives 2016-04-11 21:33:37 +02:00
ffe430a4a5 Add notification.js to run for notification browser instance (fixes links) 2016-04-11 21:33:24 +02:00
cf58ac5665 Move code.js loading to ScriptLoader 2016-04-11 21:25:32 +02:00
69dcfe17a7 Make popup notifications go into foreground 2016-04-11 21:13:37 +02:00
564199592b Fix icons in forms... 2016-04-11 20:59:38 +02:00
a452bec190 Update forms to use the app icon 2016-04-11 20:52:14 +02:00
377f9602d0 Fix browser reload causing JS to not load, and add exception handling to code.js reading 2016-04-11 20:20:47 +02:00
95c68785af Fix flickering when switching to next notification 2016-04-11 19:52:53 +02:00
5c91dec62a Fix the notification form showing too early and not loading in Settings Form 2016-04-11 16:47:48 +02:00
dfe2e91012 Show the notification in Settings when a checked radio is clicked 2016-04-11 16:47:24 +02:00
d29315e78e Change the Settings Form layout to a table 2016-04-11 16:26:16 +02:00
797b7e8ead Add notification display selection 2016-04-11 16:25:43 +02:00
6773d69e07 Tweak notification timer duration 2016-04-11 16:07:49 +02:00
a4e86e55ae Fix missing browser.Load("about:blank") which apparently breaks stuff 2016-04-11 16:07:38 +02:00
17645a88cf Implement notification timer pause on mouse hover 2016-04-11 15:58:36 +02:00
113247a06c Fix notification closing in the Settings Form 2016-04-11 15:38:18 +02:00
939fef42d6 Make links open in the user's browser instead of a new window 2016-04-11 14:58:48 +02:00
7db3c4fcba Fix missing case for custom notification position 2016-04-11 14:27:34 +02:00
8d7a55e6ed Add a notification duration indicator 2016-04-11 14:12:09 +02:00
3b10bc9c7c Add an example tweet to the Settings Form 2016-04-11 14:11:47 +02:00
496c1a91a3 Add a FlatProgressBar control 2016-04-11 14:01:53 +02:00
f81d332d8f Implement configurable popup notification duration 2016-04-11 12:27:04 +02:00
340cee3354 Add a Settings Form with notification window position setting 2016-04-11 03:26:58 +02:00
d235ea85ef Fix the About Form not starting centered to parent 2016-04-11 02:16:39 +02:00
e4853b6697 Add a basic About Form 2016-04-11 02:08:37 +02:00
383a7c8aac Update RichTextLabel to use RichTextBox v5 and add URL wrapper 2016-04-11 01:50:38 +02:00
0c7d625391 Move RichTextLabel and FormBackgroundWork to different namespaces 2016-04-11 00:55:52 +02:00
f7265405d7 Minor tweaks (remove unused using directives, tweak JS formatting) 2016-04-11 00:39:55 +02:00
2834a9a443 Add a WIP notification system (buggy startup, missing navigation, bad UI and UX) 2016-04-11 00:37:28 +02:00
b9c93bfe20 Add FormBrowser.InvokeSafe and use it for CEF callbacks 2016-04-10 23:09:45 +02:00
9d8cda9b6d Add triggers for Settings and About menus (via context menu and JS injection) 2016-04-10 19:08:39 +02:00
d89c51a1d3 Move TweetDeckBridge to Core.Handling namespace 2016-04-10 18:08:06 +02:00
d7a0f577d6 Add javascript injection with a bridge object to the website 2016-04-10 17:21:11 +02:00
6c53f10810 Change default RichTextLabel font size and update layout of Forms that used it 2016-04-10 15:24:11 +02:00
33ef0d06f7 Add window state saving to FormBrowser and display it only when the browser is ready 2016-04-10 11:55:24 +02:00
f375c74503 Add a background work Form with a pointless progress bar 2016-04-09 20:39:17 +02:00
5e5343b7d6 Add RichTextLabel.Wrap for default RTF text formatting 2016-04-09 17:48:45 +02:00
8961421d92 Add RichTextLabel control 2016-04-09 17:19:09 +02:00
99baa53d33 Rename Forms namespace to Core 2016-04-09 16:30:32 +02:00