3233 Commits

Author SHA1 Message Date
dcone%netscape.com
55c6b6e2bd Fixed a problem with the calculation of the resolution constants for the creation of a printer DeviceContext.. and return the correct page size in the GetGetDeviceSurfaceDimension call. r=kmclusk
git-svn-id: svn://10.0.0.236/trunk@56091 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 15:18:36 +00:00
blizzard%redhat.com
2ee7529119 Paint the damaged region right after a scroll instead of polling for the event. Also, don't repaint those areas we know we took care of already. r=pavlov, a=shaver,brendan
git-svn-id: svn://10.0.0.236/trunk@56081 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 04:27:22 +00:00
pinkerton%netscape.com
d96f4bc7b2 File Removed.
git-svn-id: svn://10.0.0.236/trunk@56047 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 20:05:41 +00:00
dmose%mozilla.org
039b0c1d4b bracketed code that broke non-debug builds with #ifdef NS_DEBUG. r=blizzard@redhat.com, a=leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@55985 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 18:54:17 +00:00
Jerry.Kirk%Nexwarecorp.com
72861fe226 Convert Pop-Up Menus from PtWindow to PtRegion, for PHOTON only.
Changing to PtRegions fixs some z-order problems, clipping problems
and focus issues.
a=chofman r=kedl


git-svn-id: svn://10.0.0.236/trunk@55983 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 15:00:56 +00:00
pavlov%netscape.com
2ad268d5ae get drags starting from the browser. r=blizzard a=brendan
git-svn-id: svn://10.0.0.236/trunk@55977 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 05:29:05 +00:00
blizzard%redhat.com
101979f25b fix solaris build bustage. accidentally checked in a c++ comment into a c file. my bad!
git-svn-id: svn://10.0.0.236/trunk@55976 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 05:21:58 +00:00
blizzard%redhat.com
11a7886ad8 Start on DND for gtk. This is part of bug #9642. r=pavlov a=brendan
git-svn-id: svn://10.0.0.236/trunk@55975 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 05:15:30 +00:00
blizzard%redhat.com
42525acf35 Fix scrolling flashing in GTK. Fixes bug #12860. r=syd,pavlov a=brendan,chofman
n


git-svn-id: svn://10.0.0.236/trunk@55974 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 05:08:17 +00:00
syd%netscape.com
a90bf72a3b Partial fix for 18083. Grab page size preference from user and use it to
compute page size for layout. Previously, it was assumed that page was
8x10, ignoring user choice made in the printer dialog. r=dcone, a=chofmann.


git-svn-id: svn://10.0.0.236/trunk@55965 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 02:16:17 +00:00
sdagley%netscape.com
3000b1086d Implement Flash() method of nsWindow on Mac in support of #18518. r=brade.amusil a=chofmann
git-svn-id: svn://10.0.0.236/trunk@55929 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 19:17:35 +00:00
mjudge%netscape.com
0c869fbdc6 meant to use the define. sorry
git-svn-id: svn://10.0.0.236/trunk@55883 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 00:35:10 +00:00
mjudge%netscape.com
29a679225a fix for vc5.0 bustage. wierd. bill law will follow up
git-svn-id: svn://10.0.0.236/trunk@55882 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 00:19:17 +00:00
ftang%netscape.com
2426564a47 fix bug 21205. Make nsMacTSMMessagePump a singleton so it won't install and remove TSM AEHandler when modle dialogbox appShell create/destroy. r=pinkerton/waterson
git-svn-id: svn://10.0.0.236/trunk@55860 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 20:37:50 +00:00
blizzard%redhat.com
94bdfd96ef Implement nsIWidget::Flash() for unix. This is part of bug #18518. r=pavlov,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@55859 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 20:23:21 +00:00
pavlov%netscape.com
64692d9456 fix mem leak when typing r=slamm a=leaf
git-svn-id: svn://10.0.0.236/trunk@55852 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 18:08:49 +00:00
law%netscape.com
f6869e82d6 18518; Add nsIWidget::Flash with null default implementation in nsBaseWidget and real functionality in Windows version of nsWindow; r=syd@netscape.com, a=chofmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@55844 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 07:20:51 +00:00
pinkerton%netscape.com
ecc5dfb4b0 Partial fix for bug 18409. I wasn't actually ever converting the CRLF to LF. now i am. also fixes a memory leak.
r=akkana a=chofmann.


git-svn-id: svn://10.0.0.236/trunk@55805 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 19:50:50 +00:00
ftang%netscape.com
c007a0cb70 fix bug 19358. r=erik,pierre,pinkerton. Move the support of nsIKBStateControl from nsMacWindow to nsWindow. Remove unnecessary ResetInputState in mouse click. That is already been replaced by xp code. Clean up casting compilation error after change the class hier.
git-svn-id: svn://10.0.0.236/trunk@55799 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 17:56:41 +00:00
akkana%netscape.com
cbd61feda9 21208: Fix pasting of unicode. r=pinkerton, a=brendan
git-svn-id: svn://10.0.0.236/trunk@55785 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 01:35:48 +00:00
pavlov%netscape.com
890403cbf7 #ifdef DEBUG_CLIPBOARD a printf a=leaf
git-svn-id: svn://10.0.0.236/trunk@55759 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 20:00:28 +00:00
syd%netscape.com
afa3d3cd7c More fleshing out nsSound for Linux, mirrors windows implementation that
works, replacing call to PlaySound() in Win32 with call to esd sound daemon.
Currently doesn't play, but I will fix that shortly. r=alecf


git-svn-id: svn://10.0.0.236/trunk@55747 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 07:43:39 +00:00
hyatt%netscape.com
f73d070bdf Fixing MAC menu accelerators. r=saari
git-svn-id: svn://10.0.0.236/trunk@55721 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 04:58:23 +00:00
ftang%netscape.com
bdf5ee5913 remove front end hacky mouse down call to ResetInputState. This will be replaced by xp call in nsEditor ForceCompositionEnd() r=erik. fix bug 12090
git-svn-id: svn://10.0.0.236/trunk@55703 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 03:39:53 +00:00
pinkerton%netscape.com
96145b994f Fixes for bug #18409 (again). Don't assume that we can rely on ::GlobalSize() for the
length of the data. We have to figure it out ourselves because of alignment differences
between 98 and NT (r=gimpy).


git-svn-id: svn://10.0.0.236/trunk@55630 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:45:01 +00:00
blizzard%redhat.com
9878fd34ac add a debugging window utility for gtk
git-svn-id: svn://10.0.0.236/trunk@55594 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:02:40 +00:00
ftang%netscape.com
199df01b45 add query composition event which get current curosor position. add timer base IME x y location query for gtk. r=erik. fix bug 17916 20550
git-svn-id: svn://10.0.0.236/trunk@55502 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 01:29:00 +00:00
blizzard%redhat.com
2f490e6acb move the installation of the GDK event handler to the first nsWidget() class constructor so that external applications don't have to know about the event handler. part of bug #20396
git-svn-id: svn://10.0.0.236/trunk@55440 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 20:24:36 +00:00
blizzard%redhat.com
d56aa87800 remove all of the #ifdef USE_SUPERWIN defines since it's the default now. a=leaf
git-svn-id: svn://10.0.0.236/trunk@55426 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 16:23:34 +00:00
Jerry.Kirk%Nexwarecorp.com
3e212de2a9 Change Play from a nsIFileSpec to a nsIURL so it would compile
r=kedl


git-svn-id: svn://10.0.0.236/trunk@55425 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 16:01:25 +00:00
Jerry.Kirk%Nexwarecorp.com
f9cf743937 Simplified InvalidateRegion for Photon, but left the old code for
a little while in case I was wrong..
r=kedl


git-svn-id: svn://10.0.0.236/trunk@55421 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 14:01:59 +00:00
Jerry.Kirk%Nexwarecorp.com
3eb31bbb1e Fixed some warning messages that started showing up when I moved to
the real compiler.
r=kedl


git-svn-id: svn://10.0.0.236/trunk@55420 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 13:45:33 +00:00
Jerry.Kirk%Nexwarecorp.com
272cee0c80 Fixed InvalidateRegion, brought it uptodate with GTK version.
r=kedl


git-svn-id: svn://10.0.0.236/trunk@55397 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 04:54:59 +00:00
syd%netscape.com
565b4458eb Move structure in Windows implementation over to mac and gtk. r=pavlov. All
#if 0 for now. r=Pavlov


git-svn-id: svn://10.0.0.236/trunk@55329 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 02:48:27 +00:00
blizzard%redhat.com
c031503852 clean up DestroyNativeChildren() so that it doesn't use an external
hash of children and uses the list of children of the nsIWidget.  clean up some of the ambiguities of the focus window reference counting.  make sure that
the mEventCallback isn't set to null until after the OnDestroy() signal is
sent.  make sure that the OnDestroy() method is called when a
delete_event happens on a native widget ( not that we have any of those left, really ).


git-svn-id: svn://10.0.0.236/trunk@55323 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 00:19:04 +00:00
pierre%netscape.com
6190edd8d7 20747 "[PP] The Font FACE attribute is case-sensitive". FontNameKey now computes the hash-value on lower-case strings. Also added a few out-commented lines in GetScreenResolution that may be useful later for #18136 "Fixing the font size mess".
git-svn-id: svn://10.0.0.236/trunk@55295 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 13:52:15 +00:00
syd%netscape.com
6d45fb32c0 Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@55294 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 13:27:45 +00:00
syd%netscape.com
45612f1413 Convert nsISound to use URIs. On windows (Linux to follow) nsSound uses necko to read the URI data
into a buffer, and then sends it to win32 PlaySound to play asynchronously. r=nisheeth r=hyatt.


git-svn-id: svn://10.0.0.236/trunk@55292 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 12:36:10 +00:00
pierre%netscape.com
d3cd2afa84 20449 "[Mac] scrolling of fixed positioned elements is broken". Fixed ScrollBits() to take into account the visible region when computing the source rect (and thus the dest rect) and the updateRgn.
git-svn-id: svn://10.0.0.236/trunk@55264 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 02:17:45 +00:00
ramiro%fateware.com
471748a3e5 Take out some debuggin printf noise dumbness left in there by me last nite.
git-svn-id: svn://10.0.0.236/trunk@55227 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 23:44:47 +00:00
dcone%netscape.com
8d7b1630df Fixed and invalidate in showwindow. r=sfraser,rods.
Bug=18971 (pdt+)


git-svn-id: svn://10.0.0.236/trunk@55196 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 15:55:37 +00:00
ramiro%fateware.com
119acf2584 Update the paint flashing and event debuggin code. The problem was that it
was leaking an nsIPref thing for "efficiency" reasons (actually, the truth
is I was just lazy when I wrote the code, but dont tell my mom)  The fix was
to register pref changed callbacks to avoid having to keep an nsIPref alive
and thus avoiding some memory leaks which were adding noise to the leak logs.
r=pavlov.


git-svn-id: svn://10.0.0.236/trunk@55170 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 07:23:22 +00:00
danm%netscape.com
930e16ca97 fix inGoAway event to dispatch the corresponding nsGUIEvent directly to the top-level window. fixes bug 20538. pinkerton suggested the change.
git-svn-id: svn://10.0.0.236/trunk@55146 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 01:14:57 +00:00
ftang%netscape.com
6080853d5d add Mac implmenetation of nsIFontEnumerator r=erik
git-svn-id: svn://10.0.0.236/trunk@55111 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:27:16 +00:00
pinkerton%netscape.com
2f528b1160 Fix for bug 18409. clipboard/d&d now converts incoming text to DOM linebreaks. r=saari
git-svn-id: svn://10.0.0.236/trunk@55106 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:18:23 +00:00
pinkerton%netscape.com
2f60faf19d Removed a bunch of duplicated code. r=saari
git-svn-id: svn://10.0.0.236/trunk@55105 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:17:31 +00:00
blizzard%redhat.com
693cc4f3c0 Clean up Destroy() and focus handling. fix bug #19302
git-svn-id: svn://10.0.0.236/trunk@55092 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:09:25 +00:00
tbogard%aol.net
8b5a6209f3 Added the FocusAvailable() method to nsIBaseWindow.idl.
git-svn-id: svn://10.0.0.236/trunk@55059 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 09:41:21 +00:00
pavlov%netscape.com
94867bd9d6 make scrolling suck less r=brendan
git-svn-id: svn://10.0.0.236/trunk@55022 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 05:16:13 +00:00
pinkerton%netscape.com
029e0cffcd using new linebreak helper class to convert mac cr's to linefeeds expected by the dom. fixes 18409 for macOS. r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@55015 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 03:40:29 +00:00