89 Commits

Author SHA1 Message Date
dbaron%dbaron.org
4513a082d6 Make NS_MOUSE_ENTER and NS_MOUSE_EXIT events behave the same way on X11 platforms as they do on Windows and Mac. b=20022 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@158286 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-22 04:29:59 +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
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
bzbarsky%mit.edu
a2b2b6f817 GTK1 and xlib versions of the patch for bug 102578.
For xlib, patch by Andrej Czapszys (czapszys@comcast.net), r=blizzard,
sr=bryner

For GTK1, patch by Kenneth Herron (kjh-5727@comcast.net), r=blizzard,
sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@149436 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-17 17:03:24 +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
jaggernaut%netscape.com
3b5f6ab5aa Bug 198333: Get rid of nsDispatchListener. r=darin, sr=bryner, a=Asa
git-svn-id: svn://10.0.0.236/trunk@142363 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-13 04:25:01 +00:00
timeless%mozdev.org
0e5f07166f Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose


git-svn-id: svn://10.0.0.236/trunk@140130 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:15:34 +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
bryner%netscape.com
da718f1470 Bug 104371 - shiftKey not set correctly for keypress events, breaking shift+space binding. r=brade, bzbarsky, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@133250 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 03:34:13 +00:00
timeless%mac.com
b623a65319 Bug 117472 [Xlib] Crash in HandleQueueXtProc()
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless a=asa


git-svn-id: svn://10.0.0.236/trunk@112501 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-21 21:05:54 +00:00
timeless%mac.com
99e64ff6d9 Bug 112635 [Xlib] XXlibRgb revamp ..
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timecop@network.email.ne.jp rs=attinasi


git-svn-id: svn://10.0.0.236/trunk@112223 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 23:30:16 +00:00
dbaron%fas.harvard.edu
785de1f5f1 Remove duplicate initialization of nsDeviceContext reference count by derived class constructor (which is dangerous since it could be incremented during the base class constructor). Various other cleanup, mostly in xlib port. b=111088 r=rbs sr=jag
git-svn-id: svn://10.0.0.236/trunk@111451 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 18:37:27 +00:00
mcafee%netscape.com
5b91673b2e Changing to long hashtable tag (113175). code=gisburn, r=mcafee
git-svn-id: svn://10.0.0.236/trunk@109506 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 02:31:46 +00:00
timeless%mac.com
b438be51f6 Bugzilla Bug 111922ÿ[Xlib] Fatal crash at shutdown in nsAppShellService destructor
Roland.Mainz@informatik.med.uni-giessen.de r=leaf


git-svn-id: svn://10.0.0.236/trunk@108911 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-26 19:52:29 +00:00
timeless%mac.com
11936d43d6 Bugzilla Bug 111508 [xlib] Xlib timer code is scary
by Roland.Mainz@informatik.med.uni-giessen.de (xlib peer)
r=timeless


git-svn-id: svn://10.0.0.236/trunk@108892 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-26 10:18:14 +00:00
timeless%mac.com
211df66276 Bugzilla Bug 110643ÿ[xlib] Minor Xlib toolkit cleanup ...
work by Roland.Mainz@informatik.med.uni-giessen.de (de facto module owner)
r=timeless


git-svn-id: svn://10.0.0.236/trunk@108698 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 14:33:08 +00:00
seawood%netscape.com
0542162dad Removing obsolete MOZ_MONOLITHIC_TOOLKIT code.
git-svn-id: svn://10.0.0.236/trunk@106939 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 07:31:42 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com
54a31f5907 Bug 92581: [xlib] Implement Xlib error handler for Xlib-toolkit. Patch by Roland Mainz (aka gisburn) <Roland.Mainz@informatik.med.uni-giessen.de>, r=syd, sr=kin
git-svn-id: svn://10.0.0.236/trunk@102293 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 11:34:29 +00:00
rjesup%wgate.com
b34b6c7f2d Bug 94569: Move xlib & xprint over to xxlibrgb* api. Patch by gisburn, I'm
just checking it in for him.  a=asa, r=jag, r=Tomi.Leppikangas@oulu.fi,
r=cls (Makefile changes), sr=kin


git-svn-id: svn://10.0.0.236/trunk@101825 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 06:45:49 +00:00
mkaply%us.ibm.com
bc212864e6 #91851
r=r=roland.mainz@informatik.med.uni-giessen.de, sr=blizzard
Checkin code for Tomi.Leppikangas@oulu.fi - fixup event handling in xlib


git-svn-id: svn://10.0.0.236/trunk@99859 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 01:15:59 +00:00
mkaply%us.ibm.com
d1958cf497 #89900
r=r=roland.mainz@informatik.med.uni-giessen.de, sr=blizzard
Checkin code for Tomi.Leppikangas@oulu.fi - fixup xlib nsAppShell::Run


git-svn-id: svn://10.0.0.236/trunk@99858 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 01:11:49 +00:00
timeless%mac.com
a4eba82ce8 Bugzilla Bug 86259 widget/src/xlib/nsAppShell.cpp uses non-standard for init scope
r=jrgm, sr=tor, a=asa


git-svn-id: svn://10.0.0.236/trunk@97325 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 17:31:26 +00:00
mkaply%us.ibm.com
8d8d2e2ce5 #66082
r=blizzard, sr=kin@netscape.com, a=asa for drivers
XLIB only - Checkin for timecop@network.email.ne.jp - adding gc-cache to xlib port


git-svn-id: svn://10.0.0.236/trunk@97230 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-15 19:11:03 +00:00
timeless%mac.com
f3726cacfa Bugzilla Bug 79174 'handling client message' is annoying
r=daa@distributed.net r=cls r/sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@94916 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 02:57:37 +00:00
timeless%mac.com
d88cfc3aa0 Bugzilla Bug 20196 Add Xlib support for --display
r=bz, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@93305 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 21:27:13 +00:00
dbaron%fas.harvard.edu
ebf2296c18 Fix build and runtime bustage in xlib port. b=75125 r=blizzard@mozilla.org sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@91794 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-09 23:16:19 +00:00
dbaron%fas.harvard.edu
bce7ab5e16 Fix bug with menus that went away when they shouldn't by not calling SetFocus (which the comment said we shouldn't do anyway) and sending an NS_LOSTFOCUS event instead of NS_DEACTIVATE when losing focus, as the GTK port does. r=blizzard@mozilla.org b=64791 (xlib changes only)
git-svn-id: svn://10.0.0.236/trunk@89218 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 03:45:16 +00:00
dbaron%fas.harvard.edu
0cc4ea2497 Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83442 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:21:51 +00:00
bryner%uiuc.edu
9621fbe2ab Bug 58589 - groundwork for horizontal mousewheel scrolling. r=jkobal, sr=scc.
git-svn-id: svn://10.0.0.236/trunk@82566 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 18:16:43 +00:00
bryner%uiuc.edu
a84695d770 Bug 50597 - mousewheel nonfunctional if set to full-page scroll. r=mjudge,jkobal,ben. a=ben.
git-svn-id: svn://10.0.0.236/trunk@82218 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 05:15:34 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
4966ad1519 Removing more extra 0 params from NS_IMPL_LOG macro
git-svn-id: svn://10.0.0.236/trunk@81922 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 02:24:24 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
quy%igelaus.com.au
557faac8b4 Updating xlib toolkit. r=a=blizzard. Not part of build. Bug # 54132
git-svn-id: svn://10.0.0.236/trunk@80386 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 00:29:55 +00:00
bryner%uiuc.edu
94fc65619d Adding mousewheel support to xlib toolkit. r=quy@igelaus.com.au. Not
part of build.


git-svn-id: svn://10.0.0.236/trunk@77358 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 14:31:09 +00:00
quy%igelaus.com.au
f05b5669dd Updating xlib. Not part of the build
git-svn-id: svn://10.0.0.236/trunk@77354 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 08:50:03 +00:00
quy%igelaus.com.au
f7b87a9bb8 Updating xlib. Not part of the build
git-svn-id: svn://10.0.0.236/trunk@77340 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 02:35:35 +00:00
dougt%netscape.com
0c53e29d87 fix for 18078. r=mstoltz,warren
git-svn-id: svn://10.0.0.236/trunk@54648 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:32:43 +00:00
danm%netscape.com
5dc1a4f316 moved nsAppShell::EventIsForModalWindow to nsWidget::ModalEventFilter. part of fix for bug 14131. r:rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@53371 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 23:45:59 +00:00
blizzard%redhat.com
6ab2c4bae1 include ctype.h so isprint() is defined. a=choffman
git-svn-id: svn://10.0.0.236/trunk@53006 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-09 19:20:24 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
blizzard%redhat.com
e72f94df90 patch to fix backspacing from quy@igelaus.com.au. a=choffman
git-svn-id: svn://10.0.0.236/trunk@52726 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 20:25:19 +00:00
danm%netscape.com
c4ec5e4d7e moving Push/PopThreadEventQueue to nsIEventQueueService. r:hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50991 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 15:08:45 +00:00
ramiro%netscape.com
869bcbaf43 Removed bogus assertions.
git-svn-id: svn://10.0.0.236/trunk@45351 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 14:36:53 +00:00
blizzard%redhat.com
c13f5948d7 get rid of the focus madness. start tracking focus virtually instead of dealing with X's completely broken focus handling.
git-svn-id: svn://10.0.0.236/trunk@45099 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 00:38:35 +00:00
blizzard%redhat.com
4078f0da04 take out some extra XSync() calls and _Xdebug symbol. should make it a bit faster. also, if an X event is passed in and we don't know anything about the window then don't crash.
git-svn-id: svn://10.0.0.236/trunk@44141 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 12:50:53 +00:00
ramiro%netscape.com
acca485ab8 Remove the TOOLKIT_EXORCISM hack. Make non-monolithic toolkit linking the
default for Linux and Solaris.  Need testing on other platforms (HELP!)
That means that toolkit libraries are not linked into the app - for truly
XP apps such as the apprunner.  The gecko viewer still needs to link in
the toolkit, cause it has toolkit code in its main().
Replace the hack with something more useful.  There is a
--enable-monolithic-toolkit flag for platforms with dumb linkers and runtime
loaders.

Also landed the remainder of Shawn Packwood's qt port.


git-svn-id: svn://10.0.0.236/trunk@43402 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-17 09:33:48 +00:00
blizzard%redhat.com
81067eecc7 expose event compression from aljones@lbl.gov. some refcnt fixes. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@43121 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 02:07:47 +00:00
danm%netscape.com
9c5d3aacc7 modal dialogs from C off the UI thread. a bit premature: works on Win and Mac. Issue addressed on gtk, but not there yet.
git-svn-id: svn://10.0.0.236/trunk@41955 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 07:06:32 +00:00