133 Commits

Author SHA1 Message Date
jwalden%mit.edu
9a106749e3 Bug 346690 - Add support for the 'none' keyword for the CSS cursor property. r=dbaron, sr=mats, a=schrep
git-svn-id: svn://10.0.0.236/trunk@243468 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-18 18:46:38 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
masayuki%d-toybox.com
1137179404 Bug 377478 Implement a way to get the toggled keyboard states (e.g., Caps Lock, Num Lock and Scroll Lock). patch by Mats(gtk2 part) and me (other parts) r=ere+josh+me, sr=roc
git-svn-id: svn://10.0.0.236/trunk@228171 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-16 19:19:47 +00:00
masayuki%d-toybox.com
d515ed1ef1 Bug 358899 [Cocoa] Improve nsIKBStateControl implementation r=josh+ere+masaki.katakai+roc, sr=roc
git-svn-id: svn://10.0.0.236/trunk@224544 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-15 13:43:58 +00:00
enndeakin%sympatico.ca
1c4cf263de Bug 375681, use drag event names from what-wg spec, also implement new drag and dragend events, r=smaug,sr=roc
git-svn-id: svn://10.0.0.236/trunk@224430 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-12 04:37:41 +00:00
Olli.Pettay%helsinki.fi
08df7735f7 Consolidate NS_MOUSE_***_UP/DOWN/CLICK/DBLCLICK events, r=jst,roc,josh,sergei_d,emaijala,mkaply
git-svn-id: svn://10.0.0.236/trunk@215370 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 21:35:39 +00:00
cbiesinger%web.de
ce7c8b219e Bug 357616 Remove remaining traces of nsIPref from widget/
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@213999 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-23 15:29:09 +00:00
maxf%magma.ca
49e5aae497 Photon-only changes. These only affect QNX builds, which are not part of
Tinderbox. Fix compile errors introduced by jst%mozilla.jstenback.com
(missing parenthesis) and others.  My QNX email address is mfeil@qnx.com.
r=briane@qnx.com


git-svn-id: svn://10.0.0.236/trunk@181681 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-05 21:44:17 +00:00
masayuki%d-toybox.com
0c2ffc505d Bug 276727 Implement disable/enable IME API r=roc, timeless, pinkerton, amardare and katakai, sr=roc
git-svn-id: svn://10.0.0.236/trunk@178687 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 14:32:09 +00:00
roc+%cs.cmu.edu
5525e0f045 Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman
git-svn-id: svn://10.0.0.236/trunk@178666 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 03:57:07 +00:00
masayuki%d-toybox.com
8265a09ab3 backing out previous my check-in b=276727
git-svn-id: svn://10.0.0.236/trunk@178162 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 14:53:14 +00:00
masayuki%d-toybox.com
76b018712e Bug 276727 Implement disable/enable IME API r=roc, timeless, pinkerton, amardare and katakai, sr=roc
git-svn-id: svn://10.0.0.236/trunk@178008 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 04:09:13 +00:00
jst%mozilla.jstenback.com
ebed1ee784 Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
maxf%magma.ca
4460ae5c00 Photon-only changes. These only affect QNX builds, which are not part of
Tinderbox. See QNX PR23898. The input group for clipboard copy/paste was
always hard coded to 1. To support other input groups, the real input group
being used by the user must be passed from the gui client (i.e. from voyager
via PtWeb to mozserver) or taken from the mouse/keyboard event. My QNX
email address is mfeil@qnx.com. r=amardare@qnx.com


git-svn-id: svn://10.0.0.236/trunk@172033 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-12 16:03:14 +00:00
aaronleventhal%moonset.net
26c4323c6c Bug 167145. When PreventDefault() called for onkeydown event, do the same for onkeypress that follows. r=bryner, sr=neil
git-svn-id: svn://10.0.0.236/trunk@167966 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-19 02:38:59 +00:00
jshin%mailaps.org
2df25b6683 bug 163572 : converted string is inserted every time space key is pressed patch by masayuki@d-toybox.com (r=pinkerton,bryner,amardare,emaijala,sfraser,roc, sr=bryner,sfraser,roc)
git-svn-id: svn://10.0.0.236/trunk@165335 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-13 11:27:09 +00:00
timeless%mozdev.org
65a16a548d Bug 265336 GetService klookandfeel instead of CreateInstance
r=biesi sr=dmose


git-svn-id: svn://10.0.0.236/trunk@164547 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-28 07:25:57 +00:00
mats.palmgren%bredband.net
3b5f384b21 Remove -moz-count-* and (unused) eCursor_arrow_* cursors. b=259639 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162532 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-19 19:49:29 +00:00
jshin%mailaps.org
2b60749067 bug 16940: need an XP API to disable input methods for password fields (r/sr : various people : see bugzilla), patch by Masayuki Nakano <masayuki@d-toybox.com>
git-svn-id: svn://10.0.0.236/trunk@162153 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-12 05:00:57 +00:00
mats.palmgren%bredband.net
d613fa7dee Add CSS3 cursors, bug 163174, r=lordpixel@mac.com r=pinkerton@aol.net sr=dbaron@dbaron.org
git-svn-id: svn://10.0.0.236/trunk@162144 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 23:24:30 +00:00
smontagu%smontagu.org
e23a460903 Backout last checkin because of build bustage
git-svn-id: svn://10.0.0.236/trunk@162140 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 07:48:29 +00:00
smontagu%smontagu.org
eab0baf7ca Bug 16940, XP API to disable input methods for password fields. Patch by Masayuki Nakano, masayuki@d-toybox.com; see bug for reviewers.
git-svn-id: svn://10.0.0.236/trunk@162139 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 07:13:12 +00:00
amardare%qnx.com
4e5e609c4b Changes for qnx(photon) platform only. It should not affect runtime/building other platforms.
Dnd related changes - pack all the flavours of data and select the appropiate one at the target.


git-svn-id: svn://10.0.0.236/trunk@159104 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-12 21:52:20 +00:00
amardare%qnx.com
3e0e457510 Changes for qnx(photon) platform only. They should not affect building/running other platforms.
Dnd related...


git-svn-id: svn://10.0.0.236/trunk@158922 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-08 19:34:47 +00:00
amardare%qnx.com
3473a3eefe Changes for qnx(photon) platform only. They should not affect building/running other platforms.
Some Dnd related work. It relies on a change in libph and the Photon server, available in the 630 patch.
The changes don't break anything if runned on 630 ( no patch ).
Mainly it allows to cancel a previously PhInitDrag operation when mozilla decides to invoke a drag and drop session.


git-svn-id: svn://10.0.0.236/trunk@158909 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-08 15:35:14 +00:00
amardare%qnx.com
43f173fd76 Changes for qnx(photon) platform only.
All eWindowType_child widgets should have a valid ( nonNULL ) parent ( problem with msnbc.com ).


git-svn-id: svn://10.0.0.236/trunk@158756 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-05 14:01:18 +00:00
amardare%qnx.com
66184adea7 Changes for the qnx(photon) platform only. They should not affect building/runtime other platforms.
Focus changes ( needed because of pop-up problem with www.hotmail.com ).


git-svn-id: svn://10.0.0.236/trunk@157916 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-15 20:41:04 +00:00
amardare%qnx.com
c91228097a Changes for qnx(photon) platform only. They should not affect building/runtime other platforms.
Set PHOTON_DND in Makefile.in so that we include the Dnd service in the build. Firefox bookmarks
check for the Dnd service, and are affected if it's missing.

Focus related changes: when the window loses focus, the window must be deactivated ( cursor should stop blinking ).
When the window is given focus again by the window manager, the window must be activated ( the same cursor should start blinking ).

GetParent should check for mIsDestroying - this fixes a crash in 1.7 ( no crash before )
with http://java.sun.com/j2se/1.3/docs/api/. Click on java.awt and keep the cursor moving.

In nsPhMozRemoteHelper.cpp, create the connector name based on the aProgram. Use mozilla-xremote-client
to send commands.


git-svn-id: svn://10.0.0.236/trunk@157597 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-08 18:54:16 +00:00
amardare%qnx.com
b96cad5b13 Changes for qnx(photon) platform only. They should not affect runtime/building other platforms.
Further changes for keyboard compose sequences.


git-svn-id: svn://10.0.0.236/trunk@157028 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-27 20:16:07 +00:00
amardare%qnx.com
b96a167307 Changes for the qnx(photon) platform. They should not affect building/runtime other platforms.
Changes in the key event handling code to fix the problem with the keyboard compose sequences
( Alt followed by ' followed by o should compose only one symbol ( ó ) ).


git-svn-id: svn://10.0.0.236/trunk@157021 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-27 18:40:38 +00:00
amardare%qnx.com
81cfe43029 Changes for qnx/photon platform only. They should not affect building/runtime other platforms.
Define PHOTON_DND to enable/disable photon's nsDragService from the default build.


git-svn-id: svn://10.0.0.236/trunk@156726 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-21 20:07:33 +00:00
amardare%qnx.com
54fe4b22f3 Changes for qnx ( photon ) platform onlu. They should not affect runtime/building other platforms.
Added the correct handling of the numeric keypad keys.


git-svn-id: svn://10.0.0.236/trunk@155221 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-20 16:32:45 +00:00
gerv%gerv.net
586f796c2a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
amardare%qnx.com
09046f2881 Changes for qnx ( photon ) platform only - they should not affect runtime/building other platforms.
More menu related changes ( menus not being rolled up when switching consoles or window lose focus or Alt key pressed ).
Removed unused files.


git-svn-id: svn://10.0.0.236/trunk@154417 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-31 22:39:01 +00:00
amardare%qnx.com
53abc86701 Changes for the qnx ( photon ) platform. It should not affect runtime/building other platforms.
Fixed the problem with the mouse cursor not being set correctly when crossing region boundaries.


git-svn-id: svn://10.0.0.236/trunk@154310 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-26 17:22:58 +00:00
amardare%qnx.com
04bcd23aa6 Changes for qnx ( photon ) platform. They should not affect runtime/building other platforms.
mListenForResizes was not set properly ( noticed resize problem when displaying the Eclipse IDE help front page ).


git-svn-id: svn://10.0.0.236/trunk@154095 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-18 16:24:23 +00:00
amardare%qnx.com
e281720784 Changes for the qnx(photon ) platform. It should not affect building/runtime other platforms.
git-svn-id: svn://10.0.0.236/trunk@153500 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 22:03:22 +00:00
amardare%qnx.com
d1b037b955 Changes for the qnx platform only. These changes should not affect runtime/building
other platforms.


git-svn-id: svn://10.0.0.236/trunk@153046 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 22:53:40 +00:00
dbaron%dbaron.org
707d55e1d1 Remove users of deprecated, no-op, NS_INIT_ISUPPORTS macro from tree. b=178643 r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@151780 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-23 23:12:44 +00:00
bryner%brianryner.com
3d8a7179f8 Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@151191 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-12 08:25:18 +00:00
amardare%qnx.com
241622eda8 Changes for the photon platform - it should not affect ( building/runtime ) other platforms.
git-svn-id: svn://10.0.0.236/trunk@150895 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-05 23:04:07 +00:00
danm-moz%comcast.net
b835fecf26 learn how to make an eWindowType_invisible widget. bug 207742 r=brendan,bryner
git-svn-id: svn://10.0.0.236/trunk@145192 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 14:53:37 +00:00
jaggernaut%netscape.com
f34216bf2d Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144992 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:47:59 +00:00
amardare%qnx.com
2e64ccc927 Changes for the photon platform - they should not affect build/runtime on other platforms.
nsWidget.cpp
	- fixed the problem with context menus not showing up in the Mail&News client.
nsWindow.cpp
	- fixed a problem with the PtRegion underneath the menus not being realized in some cases
	( not related to the change in nsWidget.cpp ).


git-svn-id: svn://10.0.0.236/trunk@144151 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 16:23:28 +00:00
varga%netscape.com
9a018ee06d Fix for bug 189719. Automatic image sizing: Use a custom magnifying glass cursor.
r=dbaron, sr=roc, a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@142076 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-02 22:23:55 +00:00
amardare%qnx.com
1726f20f26 Changes for the photon platform - they should not affect build/runtime on the other platforms
The menus now have a region covering the whole screen for dismissal outside of the main window canvas.
Cleaned up the code.
Tried to speed it up.


git-svn-id: svn://10.0.0.236/trunk@141534 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 22:34:28 +00:00
amardare%qnx.com
2afe271f65 Changes for the photon platforms.
These changes should not affect the building on other platforms or the runtime on other platforms.

Allow the filepicker widget to have multiple selection.
Modified nsSound to allow playing of system sound file.
Look for Pt_REALIZED flag when building a list of tiles for the widgets in front of the canvas.


git-svn-id: svn://10.0.0.236/trunk@140724 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 22:51:18 +00:00
kyle.yuan%sun.com
b164fbee07 Bug 196388 crash when using shift-F10 in composer to bring up context menu
using NS_IF_RELEASE instead of NS_RELEASE


git-svn-id: svn://10.0.0.236/trunk@139433 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 05:12:48 +00:00
amardare%qnx.com
d5a868a00e Photon specific changes.
Added a nsFilePicker for photon.


git-svn-id: svn://10.0.0.236/trunk@137958 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-19 00:16:42 +00:00
dbaron%dbaron.org
6ed727cbe8 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00