Commit Graph

55 Commits

Author SHA1 Message Date
timeless%mac.com
18aaee49b0 Bug 125601 ABS()-->PR_ABS() && PR_ABS()-cleanup
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@114554 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:01:06 +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
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +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
ssu%netscape.com
c65e0ec4f8 checking in patch for Roland Mainz. r=ssu. not part of normal build process
git-svn-id: svn://10.0.0.236/trunk@108417 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-18 02:24:45 +00:00
dbaron%fas.harvard.edu
8cfde11cea Bug 69873: remove nsAutoCString. r=jag rs=scc
git-svn-id: svn://10.0.0.236/trunk@105247 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 02:57:59 +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
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
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
timeless%mac.com
34efb12d88 Bugzilla Bug 88457 [xlib] missing some critical cursors / css3 cursors
patch by timecop@network.email.ne.jp r=tor sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@99012 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-10 23:44:03 +00:00
mkaply%us.ibm.com
2a4b8d63f2 #88209
[s]r=tor
xlib only - crash on ZDNet web benchmark


git-svn-id: svn://10.0.0.236/trunk@98610 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-04 03:37:30 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +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
blizzard%redhat.com
b2e5c45110 Fix bug #72313. Focus problems on linux. This adds a flag to nsIWidget::SetFocus() that says to raise the window. We only raise the window from one place, window.focus(). This builds and runs on at least linux and the mac. r=jst,brendan,hyatt a=leaf
git-svn-id: svn://10.0.0.236/trunk@89782 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 17:56:04 +00:00
dbaron%fas.harvard.edu
b4a357b94d Fix leaks in the xlib port (and some problems exposed by fixing those leaks). b=64534, 64767 r=blizzard@mozilla.org (Not part of the build.)
git-svn-id: svn://10.0.0.236/trunk@84694 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 02:49:45 +00:00
dbaron%fas.harvard.edu
a0d33ff362 Allow xlib to build with gcc "2.96". sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@83216 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 15:56:20 +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
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
alecf%netscape.com
650acc9a0f fix xlib bustage from nsString landing
git-svn-id: svn://10.0.0.236/trunk@67934 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:39:56 +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
ramiro%netscape.com
4026eeac36 Fix update event bounds (width and height were reversed). Also set the event
time to PR_Now().


git-svn-id: svn://10.0.0.236/trunk@46177 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 14:11:13 +00:00
ramiro%netscape.com
4f2daafa65 Add Invalidate() and OnPaint() skid marks.
git-svn-id: svn://10.0.0.236/trunk@46083 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 03:22:42 +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
ec844f2a56 fixes for scrolling and layout bounds calculation lameness. a=mcafee, doesn't affect build.
git-svn-id: svn://10.0.0.236/trunk@43019 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 21:14:27 +00:00
ramiro%netscape.com
6cc71e3cc9 Portability fixes.
git-svn-id: svn://10.0.0.236/trunk@41899 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 00:28:55 +00:00
blizzard%redhat.com
ca8f3dc643 fix leaking nsRect in nsWindow::Invalidate()
git-svn-id: svn://10.0.0.236/trunk@41388 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 02:08:17 +00:00
blizzard%redhat.com
a438fe29a0 fix UMRs as reported by the great and powerful bruce. this closes bug 10625.
git-svn-id: svn://10.0.0.236/trunk@41387 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 02:02:21 +00:00
ramiro%netscape.com
fa1f8f7e74 Dispatch crossing events. Remove superflous DispatchFocusEvent() methods.
NOT PART OF BUILD.


git-svn-id: svn://10.0.0.236/trunk@40142 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 20:33:23 +00:00
ramiro%netscape.com
696bf100ad Respond to button motion. Fixes selection.
git-svn-id: svn://10.0.0.236/trunk@40125 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 19:14:16 +00:00
blizzard%redhat.com
51004e5cb3 Fix some scrolling anomolies. This fixes bug #10058.
git-svn-id: svn://10.0.0.236/trunk@39885 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 17:24:04 +00:00
blizzard%redhat.com
91cddf87ec Focus shags, baby. Also tracking visibility and map events so
nsWidget::IsVisible() is now implemented.  This is not part of the
build.


git-svn-id: svn://10.0.0.236/trunk@39239 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 04:34:31 +00:00
ramiro%netscape.com
308efafbce NOT PART OF BUILD. Get key events almost working. Add event debugging.
git-svn-id: svn://10.0.0.236/trunk@39156 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-13 19:30:42 +00:00
blizzard%redhat.com
ac3df8f512 Start on infastructure for Focus events and Keypress events. This is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@39069 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-13 17:50:28 +00:00
blizzard%redhat.com
068ad26a02 Fix clipping problem in nsWindow::Invalidate(). This problem was showing up when using the scrollbar to page up and down. This is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@39065 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-13 16:19:17 +00:00
blizzard%redhat.com
6379db8ae5 native window scrolling fixes. this is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@38976 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-10 23:20:41 +00:00
blizzard%redhat.com
d6274cb4da native widget scrolling implemented. use PR_LOG for debugging messages. this is not part of the build. approved by cyeh.
git-svn-id: svn://10.0.0.236/trunk@38827 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 23:06:50 +00:00
ramiro%netscape.com
2fce16f9cc Cut down on the noise.
git-svn-id: svn://10.0.0.236/trunk@38685 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 11:46:22 +00:00
ramiro%netscape.com
5e5549d77a Final global variable exorcism.
git-svn-id: svn://10.0.0.236/trunk@38563 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 02:11:22 +00:00
ramiro%netscape.com
b356f4a9fd Cleanup the widget api some. Move initialization of evil stuff to the gfx
end.  Dont leak the widget name.  Carry around Display* and friends in the
appshell.


git-svn-id: svn://10.0.0.236/trunk@38469 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 23:28:58 +00:00
zuperdee%penguinpowered.com
261d7bb1ac Implemented the SetTitle function for Xlib. So the Xlib port should now be able to set its window title.
git-svn-id: svn://10.0.0.236/trunk@38215 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 01:24:46 +00:00
blizzard%redhat.com
82ff56b9fc page up and page down
pages that move and reflow
next comes the gaffaw


git-svn-id: svn://10.0.0.236/trunk@37155 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 02:11:22 +00:00
blizzard%redhat.com
cac316b3ec reuse a little code
git-svn-id: svn://10.0.0.236/trunk@37031 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-26 15:06:05 +00:00
blizzard%redhat.com
311b6f1407 cleanup of window creation
git-svn-id: svn://10.0.0.236/trunk@36923 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 20:23:37 +00:00
blizzard%redhat.com
10ef0de896 scrollbar cleanups, share create native window call.
git-svn-id: svn://10.0.0.236/trunk@36916 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 20:10:30 +00:00
blizzard%redhat.com
c5cff30ac8 implement nsWidget::Invalidate, nsWidget::Update, make resizing go
git-svn-id: svn://10.0.0.236/trunk@35901 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-19 20:24:32 +00:00
blizzard%redhat.com
c94ea9d669 xlib renders, baby.
git-svn-id: svn://10.0.0.236/trunk@35624 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:07:55 +00:00
blizzard%redhat.com
5826a92dd7 let mouse events flow...
git-svn-id: svn://10.0.0.236/trunk@35106 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 01:53:52 +00:00
blizzard%redhat.com
14fc1e4601 start on other events
git-svn-id: svn://10.0.0.236/trunk@33401 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 02:54:49 +00:00
blizzard%redhat.com
a815adc7d2 fix some background color settings, remove something from the event mask
git-svn-id: svn://10.0.0.236/trunk@33386 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 01:47:13 +00:00