3247 Commits

Author SHA1 Message Date
ftang%netscape.com
b8ee320a9c fix bug 7521. make the default font face listen to pref. r=erik. a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56415 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 20:54:54 +00:00
briano%netscape.com
9322b2110c Workaround for the build bustage on Solaris when using the Workshop compiler. a=leaf
git-svn-id: svn://10.0.0.236/trunk@56390 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 19:38:28 +00:00
ftang%netscape.com
cfa1a18207 partial fix for bug 15533 (size part). 1. change the return value from nsPiont to nsRect. Change widget code to reflect the change. In Gtk, change XIM FontSet based on the rect height. r=cata a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56377 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 07:56:40 +00:00
syd%netscape.com
ed3145f893 Use libaudiofile to parse the sound file for number of channels, rate data,
etc. I was passing these hardcoded into esd. r=pavlov, a=sdagley


git-svn-id: svn://10.0.0.236/trunk@56367 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 06:25:04 +00:00
Jerry.Kirk%Nexwarecorp.com
a9b4b28d43 Adding new files for PHOTON only.....
These files are mostly a place holder and will be finished up as time
permits.


git-svn-id: svn://10.0.0.236/trunk@56297 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 20:17:01 +00:00
bryner%uiuc.edu
71339ec48c Fix a leak of an nsWindow reference every time you scroll with the mouse
wheel on Windows.  Oops.  r=syd, a=sdagley.


git-svn-id: svn://10.0.0.236/trunk@56290 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 19:32:43 +00:00
pinkerton%netscape.com
74f8ac5ecb fix bug #20610 where we were always placing xif on the clipboard twice. r=shaver a=sdagley.
git-svn-id: svn://10.0.0.236/trunk@56288 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 19:26:10 +00:00
dcone%netscape.com
8ebaf9a96c Added an IsPrinter() call. Checkin ok'd by Hoffman. r=karnaze.
Bug=21759 (dogfood)


git-svn-id: svn://10.0.0.236/trunk@56283 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 18:19:05 +00:00
sdagley%netscape.com
692284d503 Fix #18399 - Support selection of Desk Accessories from Apple menu. Still need to do something with the About... menu item but that's another problem. r=saari, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56246 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-20 23:33:42 +00:00
dougt%netscape.com
d4533efec7 Fix to ensure events go to the right eventQ. r=blizzard@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@56240 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-20 23:10:23 +00:00
pavlov%netscape.com
8064935684 patch from tor@cs.brown.edu. fixes bustage on lots of silly compilers (bug 22133) r=me a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56215 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-19 14:50:00 +00:00
alecf%netscape.com
52a7ca5305 fixing pav's bustage :)
git-svn-id: svn://10.0.0.236/trunk@56163 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 01:02:34 +00:00
pavlov%netscape.com
be820323ad more work on drag and drop, fix some leaks and make handling of exposes faster and add a little icon so that if you minimize it in some wm's and apps you see the pretty mozilla star logo (icon patch from andersca@swipnet.se) r=blizzard a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56157 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 23:46:56 +00:00
syd%netscape.com
a9c6930f9b Change calls to Flash(void) in nsIWidget, nsWindow to GetAttention().
r=sdagley a=chofmann. Add support for GetAttention API to nsIDOMWindow.
r=vidur, a=chofmann. To do, make call to WebShell from nsIDOMWindow,
this will come once travis lands some webshell code.


git-svn-id: svn://10.0.0.236/trunk@56140 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 06:11:45 +00:00
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