1
0
mirror of https://github.com/moparisthebest/FireTray synced 2024-08-13 15:53:47 -04:00
Commit Graph

460 Commits

Author SHA1 Message Date
foudfou
6973e7f449 Use awk-compatible statements only (not gawk). 2014-05-07 10:58:30 +02:00
foudfou
639bf7a914 * fix and imporve inclusion of all images into .xpi
* fix additional locales declarations
2014-04-30 16:19:15 +02:00
foudfou
eeec77a242 Fix typo leading to remove-icon-leaves-empty-space (#124). 2014-04-15 22:22:05 +02:00
foudfou
d61c3e1f86 Add pl-PL localization (thx AreYouLoco!). 2014-04-15 20:19:39 +02:00
foudfou
6557aff83f Log level to 'Warn' to enable building. 2014-04-14 09:18:17 +02:00
foudfou
cc4ee0351c Add croatian/hr-HR localization (thx gogo!). 2014-04-13 20:58:39 +02:00
foudfou
c268bbf672 Acknowledge russian translation by VitalD. 2014-04-13 20:26:56 +02:00
foudfou
5426a629ab Merge pull request #122 from VitalD/patch-1
Added Russian localization. (VitalD)
2014-04-13 20:17:54 +02:00
foudfou
dab586c76a Fix: chat icon doesn't dissapear if disabled (#124). 2014-04-12 15:36:14 +02:00
foudfou
9d08b8203f Merge branch 'winnt' 2014-04-12 15:35:19 +02:00
foudfou
f1c5c02c8f Add 'start_hidden' capability for winnt. 2014-04-12 15:16:09 +02:00
foudfou
74ac8d54d7 Add popup menu items for hidden windows.
Still need to handle 'hides_single_window' switching.
2014-04-05 17:10:55 +02:00
foudfou
46ceaec9d0 Fix popup menu separator placing. 2014-04-02 22:49:10 +02:00
foudfou
ad5a1a5941 * Renamed custom icons filename preferences for consistency.
* bump version to v0.5.0b1
2014-04-02 22:16:51 +02:00
foudfou
8a3de9e343 Add basic popup menu on tray icon. 2014-03-31 23:17:03 +02:00
foudfou
2480ffbf85 * Handle custom icons on winnt.
* cleaning (createTextIcon() on winnt)

Harmonize custom icon handling (setIconImageDefault(), setIconImageCustom()).
Harmonize preference handling in prefwindow regardless if instantApply.
2014-03-22 01:15:19 +01:00
foudfou
9b2f2016aa Overcome titlebar buttons not firing expected events. 2014-03-16 18:40:59 +01:00
foudfou
25bc039a6d * hides_on_minimize for winnt
* explicit removeEventListener('close') in overlay.js

Them titlebar is preventing fake close/minimize buttons to fire needed events
(close, WM_SYSCOMMAND). So, until Bug 827880 is fixed, hides_on_minimize
doesn't work with the menubar hidden.
2014-03-15 17:38:00 +01:00
foudfou
25af98f911 Replace deprecated mutation events with mutation observers. 2014-03-10 00:23:03 +01:00
foudfou
c8985732e3 * Rely further on the preference system for options (leverage onsynctopreference)
* Fix listeners on ui_tree_mail_accounts.

This is for moving away from the instantApply=true assomption.
2014-03-09 10:42:39 +01:00
foudfou
3246da7624 Just define more WM_ constants. 2014-03-03 14:58:09 +01:00
VitalD
6dd229829b Create overlay.dtd
Added Russian translation.
2014-02-28 11:43:58 +03:00
VitalD
6585aed716 Create overlay.properties
Added Russian translation.
2014-02-28 11:43:09 +03:00
VitalD
b19e0fed7a Create options.properties
Added Russian translation.
2014-02-28 11:40:46 +03:00
VitalD
1ecf3405e8 Create options.dtd
Added Russian translation.
2014-02-28 11:37:05 +03:00
foudfou
1b8d9c3653 Hide unsupported prefs in preference window for winnt. 2014-02-23 21:54:04 +01:00
foudfou
6d4c0040f7 fix window unregistration 2014-02-22 23:19:19 +01:00
foudfou
cee5d24e71 rename mail_urgency_hint pref to mail_get_attention 2014-02-18 00:36:41 +01:00
foudfou
17889beac6 add icon tooltip 2014-02-17 22:54:41 +01:00
foudfou
347eb1e720 iron out text icon creation 2014-02-17 22:24:36 +01:00
foudfou
c52b9da609 * fix re-creation of text icon
* fix: unload gdi32.dll
2014-02-16 20:14:53 +01:00
foudfou
70f0c0a8e0 * creation of basic icon with text
* load .bmp in addition to .ico (and load them LR_SHARED)
* use ctypes pointer.isNull()
2014-02-14 00:22:46 +01:00
foudfou
a10b63a8b2 * fix firetray's chat support policy handling
* implement windowGetAttention(), setIconImageDefault(), setIconImageNewMail()

At this stage, we must consider adapting the preferences' UI.
2014-02-08 22:41:47 +01:00
foudfou
70a362a9e4 move linux-ish FiretrayChat.jsm to linux/.
We'll probably create a FiretrayChat.prototype when/if we support chat in
winnt.
2014-02-08 16:34:19 +01:00
foudfou
408116489e display new mail ico (first steps) 2014-02-08 15:04:16 +01:00
foudfou
23f4bc3014 Revert "attempt to use gtk3"
This reverts commit 769105c59b.
2014-02-07 11:36:24 +01:00
foudfou
769105c59b attempt to use gtk3 2014-02-07 11:36:07 +01:00
foudfou
20d137bd28 * fix (Chat) imports for Thunderbird
* fix Window.attachWndProc

NOTE: WndProc crashes fixed in TB27+
2014-02-07 00:17:17 +01:00
foudfou
42a8dac1ed cleaning 2014-02-06 23:02:12 +01:00
foudfou
705b0ffb59 don't cache and update windows[wid].visible, windowsCount, visibleWindowsCount
Because the number of windows will generally be small, this is not worth the
effort.
2014-02-06 00:17:28 +01:00
foudfou
7a0ff56cd1 show/hide mechanism in place: clicking on tray icon or closing a window.
NOTE: a WndProc on each mozilla window is not needed for this.
2014-02-05 22:48:14 +01:00
foudfou
8f8fad3afc * adapt to Log4Moz -> Log renaming (FF 27+)
* fix typo (Cu.reportError)
2014-01-22 22:39:31 +01:00
foudfou
b453b4fa74 * actually use a WndProc on moz windows
* include winnt files to .xpi

WndProc crashes, mentioned in bugs 598679 and 671266, were recently fixed by
915613 (thx bholley!).
2014-01-19 23:06:02 +01:00
foudfou
40cf41e97d fix SendMessage'ing to any window
still crashes for FF windows with our hook registered
2013-12-04 23:49:50 +01:00
foudfou
258ddbfbe0 failed attempt to use a hook (WH_CALLWNDPROC) instead of a window procedure.
This works well until we try to SendMessage from our proxy window to Firefox
windows. SendMessage crashes when sending to a Firefox window with our hook
registered, or to *any* window (tested on our proxy window and arbitrary
launched programs).
2013-12-02 00:31:45 +01:00
foudfou
2e234064bb * refactoring
* attempt to set our WndProc on Moz windows
* store window Id as a string

Calling CallWindowProc or ctypes.FuncType from a WNDPROC added to a Firefox
window crashes. See
https://bugzilla.mozilla.org/show_bug.cgi?id=598679
https://bugzilla.mozilla.org/show_bug.cgi?id=671266

The problem does not seem to occur on non-Firefox windows (for ex. a a hidden
window that we created).

We'll try to test Hooks instead of WndProcs.
2013-12-01 18:26:36 +01:00
foudfou
d52245cc87 * un-/register windows (begin) => refactoring
* filter icon events (begin)
2013-11-24 14:25:57 +01:00
foudfou
5eaf647633 fix icon definition 2013-11-23 02:04:18 +01:00
foudfou
8e78f45d56 destroy tray icon, hidden window and window class on shutdown 2013-11-23 01:37:57 +01:00
foudfou
083304cd56 * refactor testing code
* create hidden proxy window (corresponding to our unique tray icon)
2013-11-22 23:05:43 +01:00