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
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