Commit Graph

3461 Commits

Author SHA1 Message Date
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
pinkerton%netscape.com
2d93e7b4bb added nsLinebreakHelper class so clipboard and d&d can easily convert linefeeds from native to DOM. bug 18409, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@55014 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 03:39:41 +00:00
erik%netscape.com
d1024dbfb0 bug 15496; cannot see Japanese text when entering it after focussing text
field for the first time; fixed by initializing Y coordinate to better
value; r=ftang


git-svn-id: svn://10.0.0.236/trunk@55001 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 02:27:00 +00:00
pavlov%netscape.com
aea7bfee72 intersect expose rects with the width and height of the window and unqueue draws and reset update area on scrolls r=mcafee
git-svn-id: svn://10.0.0.236/trunk@54971 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 00:51:13 +00:00
danm%netscape.com
22cd501286 hooking up 'close' xul event handler. bug 13695. r:hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54951 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:38:06 +00:00
danm%netscape.com
9bfb5a41b9 adding 'close' xul event handler. part of bug 13695. r:hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54950 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:35:33 +00:00
ftang%netscape.com
9fea4ab9f9 1. remove unnecessary IME_FROM_CHAR code. 2. make mCurrentKeyboardLayout global 3. add gKeyboardLayout 4. use ToAsciiEx instead of ToAscii. 5. fix bug 6053 18986. r=erik
git-svn-id: svn://10.0.0.236/trunk@54934 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:10:13 +00:00
colin%theblakes.com
751f006ee2 Print support for OpenVMS. r=dcone
git-svn-id: svn://10.0.0.236/trunk@54903 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 11:58:21 +00:00
saari%netscape.com
fe665bdefe Making the mac focus event flow the same as windows. This is a Good Thing.
git-svn-id: svn://10.0.0.236/trunk@54890 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 09:07:52 +00:00
syd%netscape.com
41d67eae8d Throughout mozilla, we call gtk_rgb_get_visual() and In gdk_window_new(), called
by superwin, the visual is being obtained by calling gdk_visual_get_system().
This was causing match errors when gdk_rgb picked a visual having a depth that
was different from the server default visual. r=pavlov, fixes bugs 20153 and
19263.


git-svn-id: svn://10.0.0.236/trunk@54878 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 06:39:36 +00:00
pavlov%netscape.com
3c27adc72c remove a line i checked in that i didn't mean to check in in my last checkin
git-svn-id: svn://10.0.0.236/trunk@54810 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 23:29:03 +00:00
sspitzer%netscape.com
8912637526 fix warning for pavlov
git-svn-id: svn://10.0.0.236/trunk@54800 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 23:01:10 +00:00
sspitzer%netscape.com
228e53e8c6 fix warning. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@54796 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:42:54 +00:00
pavlov%netscape.com
7fe2f970fd add comment to scrollbar about a bug and fix for stupid drawing code on unix that goes along with beard's checking for 13131. removes some unneeded duplication of code. r=blizzard,paulmac,beard
git-svn-id: svn://10.0.0.236/trunk@54790 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:33:56 +00:00
brade%netscape.com
2aae6549e1 ObscureCursor (bug #19593; r=sfraser)
git-svn-id: svn://10.0.0.236/trunk@54779 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:19:04 +00:00
ftang%netscape.com
06c8b34cbd fix bug 12253. clean up some ime code. r=erik
git-svn-id: svn://10.0.0.236/trunk@54773 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:09:28 +00:00
pinkerton%netscape.com
f4bcc3e32f fix for bug #19571, where we assumed text from the drag manager or clipboard was null terminated when placing it into a nsISupportsPrimitive, when it obviously wasn't. r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@54772 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:07:29 +00:00
ftang%netscape.com
e7bea855b6 change the base font for XIM to a XLFD which can be fulfilled by all the locale. Fix hanIM problem w/ Korean locale. r=erik
git-svn-id: svn://10.0.0.236/trunk@54770 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:05:47 +00:00
akkana%netscape.com
82db77d4fb Removing my name from a debug printf
git-svn-id: svn://10.0.0.236/trunk@54762 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 21:56:09 +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
pinkerton%netscape.com
ff77d6d7c3 added debug ifdefs around printfs to reduce output during drags.
git-svn-id: svn://10.0.0.236/trunk@54645 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:24:06 +00:00
pinkerton%netscape.com
0a4e786ad8 exporting nsBaseWindow.idl for travis.
git-svn-id: svn://10.0.0.236/trunk@54639 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:15:10 +00:00
Jerry.Kirk%Nexwarecorp.com
67a7e9e385 Added debug code to try and track down extra draws..
r=kedl


git-svn-id: svn://10.0.0.236/trunk@54600 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 21:37:43 +00:00