Commit Graph

3469 Commits

Author SHA1 Message Date
pavlov%netscape.com
b07ce9c813 throw out some events cause they don't look too useful. r=alecf 2000-01-05 01:26:55 +00:00
pavlov%netscape.com
19fa1d5043 fix bug 22780 and 20359 2000-01-04 22:17:06 +00:00
ftang%netscape.com
60519a08b4 fix bug 22581, force IME to commit when we lost focus. r=nhotta 2000-01-04 21:04:43 +00:00
Jerry.Kirk%Nexwarecorp.com
ae50d01940 Photon Only
Re-write RawDrawFunc and supporting methods to avoid setting the clipping regions
but instead of limit the damage to the right place. Still not totally
fixed but much better than before.
2000-01-04 15:27:32 +00:00
Jerry.Kirk%Nexwarecorp.com
08543bd1df Photon Only
Adding clip.cpp to the Makefile this fixes/covers up bug in the
native PhTile stuff
2000-01-04 15:26:17 +00:00
Jerry.Kirk%Nexwarecorp.com
a77c12cc29 Photon Only
This fixes up the native Open File dialog box. Its still not finished
but most of the problems seem to be in Photon not Mozilla.
2000-01-04 15:24:29 +00:00
blizzard%redhat.com
920babce0b Make sure that mSuperWin is not null before dereferencing it. Fix from Johnny Stenback <jst@citec.fi>. 1999-12-29 17:50:06 +00:00
blizzard%redhat.com
fb29ef6099 Fix for bug #21375. Don't assume that a not null mWidget means that mMozBox is valid. 1999-12-29 17:38:52 +00:00
Jerry.Kirk%Nexwarecorp.com
c7b2b94bf1 Fixed PHOTON only problem where nsAppShell could not be shutdown and
restarted properly when the user created a brand new profile.
1999-12-28 21:18:47 +00:00
Jerry.Kirk%Nexwarecorp.com
1622a83b57 Re-worked nsAppShell to more closely correspond to the GTK version of
nsAppShell. This caused me to have to move the PtInit call to nsToolkit,
the PtModalStart/PtModalEnd to nsWindow and the creation of the PhWidLog
to nsWidgetFactory. This is the PHOTON UI only.
1999-12-27 17:55:20 +00:00
Jerry.Kirk%Nexwarecorp.com
f58f2535ae Fix up Text cut and paste again. It had previously been taken out because
it was so broken. This only effects the PHOTON UI.
1999-12-27 17:52:43 +00:00
briano%netscape.com
726ab6fb1c Use unsigned int instead of useconds_t in the usleep prototype. 1999-12-24 08:27:31 +00:00
sspitzer%netscape.com
127ef3aa9b fix warings for pavlov and mcafee 1999-12-24 03:48:08 +00:00
briano%netscape.com
ca56ccdd40 Fix for build breakage on Solaris 2.5.1, which doesn't provide a prototype for usleep in unistd.h. 1999-12-24 01:08:57 +00:00
blizzard%redhat.com
1c903819e1 clean up nsWindow::DestroyNativeChildren(). this seems to leak one less widget per toplevel. 1999-12-23 20:09:38 +00:00
ftang%netscape.com
6450be0547 fix bug 7521. make the default font face listen to pref. r=erik. a=chofmann 1999-12-22 20:54:54 +00:00
briano%netscape.com
1301410dcc Workaround for the build bustage on Solaris when using the Workshop compiler. a=leaf 1999-12-22 19:38:28 +00:00
ftang%netscape.com
982fa55c82 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 1999-12-22 07:56:40 +00:00
syd%netscape.com
6803a372d3 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
1999-12-22 06:25:04 +00:00
Jerry.Kirk%Nexwarecorp.com
ea7d518d39 Adding new files for PHOTON only.....
These files are mostly a place holder and will be finished up as time
permits.
1999-12-21 20:17:01 +00:00
bryner%uiuc.edu
53890d7014 Fix a leak of an nsWindow reference every time you scroll with the mouse
wheel on Windows.  Oops.  r=syd, a=sdagley.
1999-12-21 19:32:43 +00:00
pinkerton%netscape.com
fb5b637d44 fix bug #20610 where we were always placing xif on the clipboard twice. r=shaver a=sdagley. 1999-12-21 19:26:10 +00:00
dcone%netscape.com
a8a44f76e2 Added an IsPrinter() call. Checkin ok'd by Hoffman. r=karnaze. Bug=21759 (dogfood) 1999-12-21 18:19:05 +00:00
sdagley%netscape.com
ba870b56b1 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 1999-12-20 23:33:42 +00:00
dougt%netscape.com
7f2c881b39 Fix to ensure events go to the right eventQ. r=blizzard@mozilla.org. 1999-12-20 23:10:23 +00:00
pavlov%netscape.com
166a7492b6 patch from tor@cs.brown.edu. fixes bustage on lots of silly compilers (bug 22133) r=me a=chofmann 1999-12-19 14:50:00 +00:00
alecf%netscape.com
c50b17e1b3 fixing pav's bustage :) 1999-12-18 01:02:34 +00:00
pavlov%netscape.com
a66bc4d3ca 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 1999-12-17 23:46:56 +00:00
syd%netscape.com
9ad549aeef 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.
1999-12-17 06:11:45 +00:00
dcone%netscape.com
1f8912b0ea 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 1999-12-16 15:18:36 +00:00
blizzard%redhat.com
1a02225abf 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 1999-12-16 04:27:22 +00:00
pinkerton%netscape.com
1502e9a406 File Removed. 1999-12-15 20:05:41 +00:00
dmose%mozilla.org
2731e16c98 bracketed code that broke non-debug builds with #ifdef NS_DEBUG. r=blizzard@redhat.com, a=leaf@mozilla.org. 1999-12-14 18:54:17 +00:00
Jerry.Kirk%Nexwarecorp.com
163cea3d85 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
1999-12-14 15:00:56 +00:00
pavlov%netscape.com
0c1c6b3f11 get drags starting from the browser. r=blizzard a=brendan 1999-12-14 05:29:05 +00:00
blizzard%redhat.com
dadb777881 fix solaris build bustage. accidentally checked in a c++ comment into a c file. my bad! 1999-12-14 05:21:58 +00:00
blizzard%redhat.com
cc09a38608 Start on DND for gtk. This is part of bug #9642. r=pavlov a=brendan 1999-12-14 05:15:30 +00:00
blizzard%redhat.com
a989bf4b43 Fix scrolling flashing in GTK. Fixes bug #12860. r=syd,pavlov a=brendan,chofman
n
1999-12-14 05:08:17 +00:00
syd%netscape.com
5cf291106d 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.
1999-12-14 02:16:17 +00:00
sdagley%netscape.com
2392df4ef0 Implement Flash() method of nsWindow on Mac in support of #18518. r=brade.amusil a=chofmann 1999-12-13 19:17:35 +00:00
mjudge%netscape.com
048737c6ed meant to use the define. sorry 1999-12-11 00:35:10 +00:00
mjudge%netscape.com
6272aad61e fix for vc5.0 bustage. wierd. bill law will follow up 1999-12-11 00:19:17 +00:00
ftang%netscape.com
3a6268b3b5 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 1999-12-10 20:37:50 +00:00
blizzard%redhat.com
14dd92d9b0 Implement nsIWidget::Flash() for unix. This is part of bug #18518. r=pavlov,a=chofmann 1999-12-10 20:23:21 +00:00
pavlov%netscape.com
9f7527d771 fix mem leak when typing r=slamm a=leaf 1999-12-10 18:08:49 +00:00
law%netscape.com
ba6a71d25e 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 1999-12-10 07:20:51 +00:00
pinkerton%netscape.com
f161200a79 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.
1999-12-09 19:50:50 +00:00
ftang%netscape.com
4d569432ff 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. 1999-12-09 17:56:41 +00:00
akkana%netscape.com
90fdb1abbc 21208: Fix pasting of unicode. r=pinkerton, a=brendan 1999-12-09 01:35:48 +00:00
pavlov%netscape.com
f1041d91f7 #ifdef DEBUG_CLIPBOARD a printf a=leaf 1999-12-08 20:00:28 +00:00
syd%netscape.com
c9a9ef9e09 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
1999-12-08 07:43:39 +00:00
hyatt%netscape.com
ad6f143c94 Fixing MAC menu accelerators. r=saari 1999-12-08 04:58:23 +00:00
ftang%netscape.com
7233577f1b remove front end hacky mouse down call to ResetInputState. This will be replaced by xp call in nsEditor ForceCompositionEnd() r=erik. fix bug 12090 1999-12-08 03:39:53 +00:00
pinkerton%netscape.com
116603af29 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).
1999-12-07 22:45:01 +00:00
blizzard%redhat.com
eff13fbde3 add a debugging window utility for gtk 1999-12-07 22:02:40 +00:00
ftang%netscape.com
5d9824b4bd 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 1999-12-07 01:29:00 +00:00
blizzard%redhat.com
20f60b8a1e 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 1999-12-06 20:24:36 +00:00
blizzard%redhat.com
b0b86e55c8 remove all of the #ifdef USE_SUPERWIN defines since it's the default now. a=leaf 1999-12-06 16:23:34 +00:00
Jerry.Kirk%Nexwarecorp.com
1e4e38bfc3 Change Play from a nsIFileSpec to a nsIURL so it would compile
r=kedl
1999-12-06 16:01:25 +00:00
Jerry.Kirk%Nexwarecorp.com
7848537860 Simplified InvalidateRegion for Photon, but left the old code for
a little while in case I was wrong..
r=kedl
1999-12-06 14:01:59 +00:00
Jerry.Kirk%Nexwarecorp.com
d4cb5e4cd7 Fixed some warning messages that started showing up when I moved to
the real compiler.
r=kedl
1999-12-06 13:45:33 +00:00
Jerry.Kirk%Nexwarecorp.com
c717ba238b Fixed InvalidateRegion, brought it uptodate with GTK version.
r=kedl
1999-12-06 04:54:59 +00:00
syd%netscape.com
4191af6fdd Move structure in Windows implementation over to mac and gtk. r=pavlov. All
#if 0 for now. r=Pavlov
1999-12-05 02:48:27 +00:00
blizzard%redhat.com
b86aaee71d 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 ).
1999-12-05 00:19:04 +00:00
pierre%netscape.com
1a9674be44 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". 1999-12-04 13:52:15 +00:00
syd%netscape.com
21828da804 Fix build bustage. 1999-12-04 13:27:45 +00:00
syd%netscape.com
ebe85d2591 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.
1999-12-04 12:36:10 +00:00
pierre%netscape.com
4f50d9041f 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. 1999-12-04 02:17:45 +00:00
ramiro%fateware.com
6be284e2ae Take out some debuggin printf noise dumbness left in there by me last nite. 1999-12-03 23:44:47 +00:00
dcone%netscape.com
f6b5ff74f3 Fixed and invalidate in showwindow. r=sfraser,rods. Bug=18971 (pdt+) 1999-12-03 15:55:37 +00:00
ramiro%fateware.com
260b97a3c4 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.
1999-12-03 07:23:22 +00:00
danm%netscape.com
37efc8b384 fix inGoAway event to dispatch the corresponding nsGUIEvent directly to the top-level window. fixes bug 20538. pinkerton suggested the change. 1999-12-03 01:14:57 +00:00
ftang%netscape.com
1d639795f4 add Mac implmenetation of nsIFontEnumerator r=erik 1999-12-02 23:27:16 +00:00
pinkerton%netscape.com
4aa8604576 Fix for bug 18409. clipboard/d&d now converts incoming text to DOM linebreaks. r=saari 1999-12-02 23:18:23 +00:00
pinkerton%netscape.com
691d9f5e03 Removed a bunch of duplicated code. r=saari 1999-12-02 23:17:31 +00:00
blizzard%redhat.com
017db4ae15 Clean up Destroy() and focus handling. fix bug #19302 1999-12-02 22:09:25 +00:00
tbogard%aol.net
e7a23f774b Added the FocusAvailable() method to nsIBaseWindow.idl. 1999-12-02 09:41:21 +00:00
pavlov%netscape.com
0a0f0e4ad9 make scrolling suck less r=brendan 1999-12-02 05:16:13 +00:00
pinkerton%netscape.com
aa0f374185 using new linebreak helper class to convert mac cr's to linefeeds expected by the dom. fixes 18409 for macOS. r=sfraser. 1999-12-02 03:40:29 +00:00
pinkerton%netscape.com
c1f9a0e78f added nsLinebreakHelper class so clipboard and d&d can easily convert linefeeds from native to DOM. bug 18409, r=sfraser 1999-12-02 03:39:41 +00:00
erik%netscape.com
9db50de711 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
1999-12-02 02:27:00 +00:00
pavlov%netscape.com
98bc938328 intersect expose rects with the width and height of the window and unqueue draws and reset update area on scrolls r=mcafee 1999-12-02 00:51:13 +00:00
danm%netscape.com
8597b304fe hooking up 'close' xul event handler. bug 13695. r:hyatt@netscape.com 1999-12-01 22:38:06 +00:00
danm%netscape.com
d25d8e587a adding 'close' xul event handler. part of bug 13695. r:hyatt@netscape.com 1999-12-01 22:35:33 +00:00
ftang%netscape.com
63207c4249 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 1999-12-01 22:10:13 +00:00
colin%theblakes.com
3a73202d76 Print support for OpenVMS. r=dcone 1999-12-01 11:58:21 +00:00
saari%netscape.com
459d3260eb Making the mac focus event flow the same as windows. This is a Good Thing. 1999-12-01 09:07:52 +00:00
syd%netscape.com
e6898ffccd 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.
1999-12-01 06:39:36 +00:00
pavlov%netscape.com
f48e085901 remove a line i checked in that i didn't mean to check in in my last checkin 1999-11-30 23:29:03 +00:00
sspitzer%netscape.com
1c23dd946e fix warning for pavlov 1999-11-30 23:01:10 +00:00
sspitzer%netscape.com
5f3b8fd9a2 fix warning. r=pavlov 1999-11-30 22:42:54 +00:00
pavlov%netscape.com
f00a100615 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 1999-11-30 22:33:56 +00:00
brade%netscape.com
79dac66830 ObscureCursor (bug #19593; r=sfraser) 1999-11-30 22:19:04 +00:00
ftang%netscape.com
db02c5c083 fix bug 12253. clean up some ime code. r=erik 1999-11-30 22:09:28 +00:00
pinkerton%netscape.com
b541197943 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. 1999-11-30 22:07:29 +00:00
ftang%netscape.com
701dd6cd4a 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 1999-11-30 22:05:47 +00:00
akkana%netscape.com
75604f8367 Removing my name from a debug printf 1999-11-30 21:56:09 +00:00
dougt%netscape.com
f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
pinkerton%netscape.com
ce08dd58a5 added debug ifdefs around printfs to reduce output during drags. 1999-11-30 00:24:06 +00:00
pinkerton%netscape.com
ff458c6b00 exporting nsBaseWindow.idl for travis. 1999-11-30 00:15:10 +00:00
Jerry.Kirk%Nexwarecorp.com
9974c09f4e Added debug code to try and track down extra draws..
r=kedl
1999-11-29 21:37:43 +00:00
blizzard%redhat.com
7d61e2c568 code to prevent creating a window that is a child of an nsIWidget that has already been destroyed 1999-11-29 21:28:57 +00:00
rods%netscape.com
e9fbd27192 changes to make the XP wheel tracker code work for windows.
Code is from bryner@uiuc.edu, reviewed by self. I don't think there was a bug
but there should have been.
1999-11-29 21:14:43 +00:00
blizzard%redhat.com
359d777b1c make sure that windows are destroyed when the Destroy() method is called. fix for bug #18801. r=syd 1999-11-29 07:44:22 +00:00
tor%cs.brown.edu
fcd6a5cce2 Fix timers with interval greater than a second. r=blizzard 1999-11-28 19:12:10 +00:00
warren%netscape.com
96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
blizzard%redhat.com
3880998712 make the grab a little more idiot proof 1999-11-27 20:08:18 +00:00
tbogard%aol.net
53da43affb Added getPositionAndSize() to nsIBaseWindow. 1999-11-27 02:49:57 +00:00
beard%netscape.com
a53ac014c7 bug #13331, implemented nsWindow::InvalidateRegion(). r=mcafee 1999-11-25 02:06:16 +00:00
waqar%netscape.com
e3fa61d822 # 17102
r mcafee@netscape.com
d Need to have a dialog box when replacing a file. Make sure that user
  really wants to overwrite the existing file.
1999-11-25 00:05:32 +00:00
tbogard%aol.net
af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
akkana%netscape.com
3228fa667d Define semicolon as well as colon. r=pavlov 1999-11-24 00:04:20 +00:00
pinkerton%netscape.com
531ae8e977 fix for bug 19590, writing to nil during a drag. Also fixed a memory corruptor with deleting bad memory when there was no flavor mapping table (no bug filed). r=sfraser. 1999-11-23 22:19:26 +00:00
blizzard%redhat.com
4dfa689322 fix bug #14131. popup windows on modal dialogs should work now. 1999-11-23 20:55:57 +00:00
Jerry.Kirk%Nexwarecorp.com
a3621538e6 nsAppShell: Added some NS_WARNING calls.
nsWidget: Aded support for numeris keys on the numeric keypad.
1999-11-23 13:10:03 +00:00
Jerry.Kirk%Nexwarecorp.com
1818bf2c2a Overloaded more methods in the ChildWindow for destruction.
Added GetFrameSize method to the Window.
r=kedl
1999-11-23 13:08:46 +00:00
kmcclusk%netscape.com
aa722dfbae Applied patch for improving event dispatching on WIN32. bug=17881. r=rods@netscape.com,michael.lowe@bigfoot.com 1999-11-22 22:51:39 +00:00
jdunn%netscape.com
b8c088c4dd Link against superwin even if monolithic
r=pepper@netscape.com
1999-11-22 21:35:33 +00:00
joki%netscape.com
e51265f992 Fix for 17683, add key events for alt+numpad character generation. r:vidur 1999-11-22 19:45:13 +00:00
beard%netscape.com
bc79c613d5 implements InvalidateRegion(). r=kmcclusk 1999-11-20 22:33:42 +00:00
dcone%netscape.com
dc37e13dec Reworked the flashing for porkjockey's. r=rods 1999-11-19 14:56:24 +00:00
fur%netscape.com
28b5452ab6 In support of #8305 (implement cache).
Add Truncate() method to nsIFileSpec and implement in nsFileSpecImpl
1999-11-19 01:44:54 +00:00
ftang%netscape.com
bc94b9f589 fix 19132 19135 ane partial fix 12090. implement nsIKBStateContorl for gtk. call ResetInputState from mouse button press. force ime to commit in ResetInputState and send the uncommitted text by using composition start/end and text event. move unicode conversion for IME into nsGtkIMEHelper class. r=erik 1999-11-19 01:14:23 +00:00
colin%theblakes.com
5eeae9d6cc Add MOZ_COMPONENT_LIBS. r=jdunn 1999-11-18 20:23:31 +00:00
colin%theblakes.com
19b8c75f3a build gtksuperwin if MOZ_ENABLE_GTK and MOZ_MONOLITHIC_TOOLKIT are both set. r=jdunn 1999-11-18 19:50:45 +00:00
blizzard%redhat.com
30bc193c27 we don't need to listen to events on the top level window 1999-11-18 19:36:28 +00:00
Jerry.Kirk%Nexwarecorp.com
9e268e3cca Added some debug info to UpdateWidgeDamage , still tryin to track down
the reason for the extra draws I see under Photon.
r=kedl
1999-11-18 12:49:43 +00:00
Jerry.Kirk%Nexwarecorp.com
bb1ad0f46e Check for mContext != NULL in RawDraw.. This fixes a crash that occurs
because we try to do a draw of a window after it is destroyed. Not sure
why this is happening, I think its Photon that wants the draw.

Also took out mFrame changes to size of the dialog in GetClientBounds. This
was causing several dialog to be clipped.
r=kedl
1999-11-18 12:48:43 +00:00
Jerry.Kirk%Nexwarecorp.com
f773015ce3 Added new static memer mModalCount to be used when a modal dialog
is created. Now calling PtModalStart/End, this fixed the problem with
widgets not highlighting properly when the mouse moved over them on a
modal dialog.
r=kedl
1999-11-18 12:43:43 +00:00
sfraser%netscape.com
52048a286b Fix for 19170 -- yield to NSPR threads in our main event loop, to service the necko thread more promptly. r=sdagley 1999-11-18 05:26:59 +00:00
blizzard%redhat.com
7d9acb8b25 fix for modal dialogs. fixes bug #16310. r=pavlov 1999-11-18 03:19:43 +00:00
jdunn%netscape.com
4ef899ac32 Only include SUPER_WIN includes if it is on. HPUX and AIX compilers fail
if they can't find the include file
1999-11-18 03:08:19 +00:00
pinkerton%netscape.com
463575d692 Fix for bug #18998. strip nulls off the end of unicode text strings. (r=danm). 1999-11-18 02:40:49 +00:00
blizzard%redhat.com
f3a59db492 fix bug #19075 and #19080. make sure to handle the 2 + 3 button press events in nsWidget::HandleEvent(). 1999-11-17 22:04:03 +00:00
pavlov%netscape.com
58a743b49e fix for blizzard's editor making a mistake typing what he typed and not what he thought r=blizzard 1999-11-17 20:18:07 +00:00
duncan%be.com
687da26536 BeOS only fixes to keep Mozilla building on BeOS. Still doesn't really run. 1999-11-17 15:18:02 +00:00
bryner%uiuc.edu
f6edbd1e1b Checking in some widget changes to support scrolling with the mouse
wheel.  Layout changes (to make it actually work) will follow soon,
and also a Windows implementation.  r=blizzard.
1999-11-17 06:54:02 +00:00
pavlov%netscape.com
23101c395a fix for bug 17936 making windows smaller after they have become visible r=waterson 1999-11-17 05:47:45 +00:00
pavlov%netscape.com
6ebc2715a6 added files: mozilla/widget/public/nsIBaseWindow.idl 1999-11-17 05:10:11 +00:00
pavlov%netscape.com
cd732e72cf add nsIBaseWindow.idl to the build 1999-11-17 05:08:56 +00:00
blizzard%redhat.com
808efc0995 land SUPERWIN 1999-11-17 04:06:21 +00:00
blizzard%redhat.com
fe1e7ebb00 add gtksuperwin directory to the build 1999-11-17 04:00:00 +00:00
pavlov%netscape.com
5eeb9d4a75 add nsIBaseWindow (not built) r=travis 1999-11-17 03:19:56 +00:00
danm%netscape.com
47ac2f70bb add additional release of parent reference to twitchy destruction code. fixes bug 16310. r:pavlov@netscape.com 1999-11-17 03:15:31 +00:00
erik%netscape.com
c4db96ef5b commenting out a change that caused a regression in paste-as-quote
r=akkana
1999-11-17 00:44:29 +00:00
ftang%netscape.com
fa5afb5f10 clean up nsWindow IME code to use nsCString and nsString to do buffer management. r=cata 1999-11-16 23:45:44 +00:00
jdunn%netscape.com
4965157f93 finish unresolved symbol checkins.
r dp@netscape.com
# 18896
1999-11-16 23:23:55 +00:00
ftang%netscape.com
c6b37fe45e fix bug 12090. Implement nsIKBStateControl for nsMacWindow . Call ResetInputState when mouse down in GoAway or Content. 1999-11-16 22:35:02 +00:00
sspitzer%netscape.com
7962f1f036 fix warning. 1999-11-16 19:24:35 +00:00
Jerry.Kirk%Nexwarecorp.com
97044a6c33 Fix SetTitle method for Photon Windows
r=kedl
1999-11-16 19:06:45 +00:00
jdunn%netscape.com
e871be6de2 Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
pavlov%netscape.com
bd55669dd7 More work on making widget idlified. merged from branch. (not built) r=travis 1999-11-16 05:03:09 +00:00
pavlov%netscape.com
957a1ae5e3 you are going to a branch, not HEAD 1999-11-16 04:49:59 +00:00
pavlov%netscape.com
a90db69ba1 merge from head 1999-11-16 04:47:00 +00:00
pavlov%netscape.com
280c3bd3b3 make nsFilePicker inherit from nsBaseFilePicker and add it to the build r=smfr 1999-11-16 01:52:19 +00:00
pavlov%netscape.com
3842ca1f17 add nsBaseFilePicker and have it built on unix r=smfr 1999-11-16 01:51:39 +00:00
danm%netscape.com
9083dc5eb0 update rev 1.166 to handle stacks of modal dialogs. r:pavlov@netscape.com 1999-11-16 01:10:46 +00:00
sspitzer%netscape.com
b2af7730f6 ignore generated Makefile 1999-11-16 00:41:01 +00:00
Jerry.Kirk%Nexwarecorp.com
ff926654b9 Fixes for pulldown windows and on screen image drawing.
r=kedl
1999-11-15 22:11:48 +00:00
erik%netscape.com
1f0f8bb2c1 bugs 15496 and 15520; put the input method window at the right location
when the user focusses a window and when the user types into the window;
coded by tajima@eng.sun.com; r=erik
1999-11-15 21:14:05 +00:00
ftang%netscape.com
b125de60fe add nsIKBStateControl for IME force commit and password field disable. Change window implementation to implement nsIKBStateControl in nsWindow. Fix 12250 by filtering out the composition window flag in OnIMESetContext. r=erik 1999-11-15 20:57:41 +00:00
pavlov%netscape.com
221d930585 I suck. 1999-11-15 11:40:00 +00:00
pavlov%netscape.com
9ba39e01cd add GetDefaultString() r=mozbot 1999-11-15 11:16:06 +00:00
pavlov%netscape.com
5c6132303f unix nsIFilePicker implimentation r=travis 1999-11-15 10:36:10 +00:00
pavlov%netscape.com
1c08119ec7 show returns a short instead of a boolean r=travis 1999-11-15 10:19:00 +00:00
pavlov%netscape.com
6c82995254 added files: mozilla/widget/public/nsIFilePicker.idl 1999-11-15 09:34:26 +00:00
pavlov%netscape.com
a7b19f43de add nsIFilePicker.idl to the manifest 1999-11-15 09:33:34 +00:00
pavlov%netscape.com
1561439e1a leave nsIFileWidget, add nsIFilePicker as the one true file picker. add this to the build. r=travis 1999-11-15 09:32:51 +00:00
pavlov%netscape.com
d7186f075a create one true scriptable file picker interface r=travis 1999-11-15 08:13:40 +00:00
tbogard%aol.net
c1c0a44226 Changed references to nsIContentViewerContainer to nsISupports in the march to get rid of nsIContentViewerContainer. r=pavlov 1999-11-15 07:29:23 +00:00
sfraser%netscape.com
417c837351 Removed nsKeyBindMgr.cpp from teh project. 1999-11-15 06:44:04 +00:00
tbogard%aol.net
cfa842722b Removed these two files which are no longer used. r=pavlov. 1999-11-15 05:09:39 +00:00
blizzard%redhat.com
91b79bb677 return GDK_FILTER_REMOVE for ConfigureNotify events on the bin_window. this will prevent ConfigureNotify event compression from occuring with older versions of gtk. 1999-11-13 15:05:40 +00:00
law%netscape.com
88626d4e62 Fixes for #10737 (ftp download), overhauled to work better with Necko; r=valeski 1999-11-13 05:37:00 +00:00
saari%netscape.com
1cfbe7d9a6 Landing focus changes. R: joki 1999-11-13 05:16:33 +00:00
saari%netscape.com
587863609c gtk widget changes to facilitate new focus work. R: pavlov 1999-11-13 04:53:18 +00:00
sspitzer%netscape.com
176ee42b41 fix for #17954
before, if "mail.directory" was set, we'd assume the mail wasn't in the standard
default place, so we'd migrate Mail -> Mail5
now, we check if "mail.directory" == the default place.  if so, we migrate
it like we would if it wasn't set.
Mail -> Users50/<profile>/Mail

to help do this, I added Equals() to the nsIFileSpec interface, to compare
two nsIFileSpec's, it does this by comparing the nsFileSpecs.
1999-11-13 02:02:22 +00:00
danm%netscape.com
02f484a99c Gut modal event filtering (relying instead on glib modal window flag). part of fix for bug 14131. r:rods@netscape.com. 1999-11-12 23:46:36 +00:00
danm%netscape.com
7935f83bdc Add ModalEventFilter (originally nsAppShell::EventIsForModalWindow) and add parameter to SetModal. part of fix for bug 14131. r:rods@netscape.com. 1999-11-12 23:46:30 +00:00
danm%netscape.com
321a047de5 add (unimplemented) parameter to SetModal. part of fix for bug 14131. r:rods@netscape.com. 1999-11-12 23:46:23 +00:00
danm%netscape.com
108a065b67 moved nsAppShell::EventIsForModalWindow to nsWidget::ModalEventFilter, teach latter to accept events for modal window and any active rollup widget window. part of fix for bug 14131. r:rods@netscape.com. 1999-11-12 23:46:11 +00:00
danm%netscape.com
38ffc870e6 moved nsAppShell::EventIsForModalWindow to nsWidget::ModalEventFilter. part of fix for bug 14131. r:rods@netscape.com 1999-11-12 23:45:59 +00:00
blizzard%redhat.com
8964cbc3e9 add the gtksuperwin library. this is not part of the build. a=granrose 1999-11-12 20:12:02 +00:00
warren%netscape.com
7f04320416 Added NS_NewGenericModule. Made NS_IMPL_NSGETFACTORY use it to save space. r=dp,alecf 1999-11-12 09:07:26 +00:00
sdagley%netscape.com
562c627456 Fix for #17694 - nsFileSpecWithUIImpl.cpp::ChooseOutputFile should preset the directory if one has been specified as a starting point. Code from vxir@concentric.net, r=sdagley 1999-11-12 04:27:57 +00:00
sdagley%netscape.com
46a4b9382b Fix for #17666 - nsFileSpecWithUIImpl.cpp::ChooseOutputFile was returning NS_OK when user actually canceled the file selection. Code from vxir@concentric.net, r=sdagley 1999-11-12 04:09:40 +00:00
syd%netscape.com
da7af98876 Don't flash window if paint message is ignored. r=kmcclusk@netscape.com 1999-11-12 02:49:48 +00:00
Jerry.Kirk%Nexwarecorp.com
72599041bf This fixes some clipping and sizing problems. Also converts the
drop down menus from containers to windows.
r=kedl
1999-11-12 02:20:07 +00:00
kmcclusk%netscape.com
4395520780 (Paint flashing debug option)Don't flash window if the paint is ignored. bug 16435; r=buster@netscape.com 1999-11-12 02:06:52 +00:00
ftang%netscape.com
6b48488199 add OnIMExx handler. Move IME code from case: block into OnIMExx handler. Change the IME ofset from 35 to 0 since nsCaret now return the bottom of the cursor instead of the top. r=cata 1999-11-11 22:28:52 +00:00
pinkerton%netscape.com
594c1f0c93 better stab at native system colors, provided by mpt26@student.canterbury.ac.nz. bug #1004, r=pavlov 1999-11-11 22:01:43 +00:00
pavlov%netscape.com
c31d7f52dc remove ifdef gtk_fixed test stuff r=dmose 1999-11-11 20:47:10 +00:00
pinkerton%netscape.com
f83ca3629c correctly send dragExit events when the mouse leaves the window (bug# 18356) r=saari. 1999-11-11 20:28:23 +00:00
Jerry.Kirk%Nexwarecorp.com
481eb99dd7 Removed code that kept us from creating timers with a delay of
more than 10 seconds.
r=kedl
1999-11-11 15:23:09 +00:00
Jerry.Kirk%Nexwarecorp.com
9ad39fd6a1 Added debug code to track my clipping. I am about to re-arrange some guts
so I wanted a fail-safe backup working version to be checked in.
r=kedl
1999-11-11 15:21:51 +00:00
Jerry.Kirk%Nexwarecorp.com
6f824c9d8e Adding static data member and accessor that keeps track of what the
PhDrawContext_t for Photon was when the program is first started.
r=kedl
1999-11-11 15:19:25 +00:00
syd%netscape.com
e7eb8f50e5 Wire up margin settings from dialog. r=dcone 1999-11-11 14:20:19 +00:00
saari%netscape.com
7511475ad8 part of previous checkin 1999-11-11 03:09:16 +00:00
saari%netscape.com
f448552385 Turning gFocusHandler into gEventDispatchHandler, a Mac event dispatch change. Should be fine without the rest of the focus changes, commiting to facilitate pink's need to change this file. R: pink 1999-11-11 03:08:31 +00:00
saari%netscape.com
39d29f17d7 Just checking in nsGUIEvent.h changes to start the focus landing... can't finish it without more reviews, but this change is reviewed and harmless. r: joki 1999-11-11 01:33:48 +00:00
ftang%netscape.com
5c0c5ef12e adjust XIM spot location code scince we change the nsCaret to return the bottom of the cursor intead of the top of the cursor ow. It look a little bit weired since the GFX didn't alight Japanese text base line right. r=erik 1999-11-11 00:58:14 +00:00
sfraser%netscape.com
41aec2efae Use OS call to get caret blink time on Windows, bug 15422. r=kin 1999-11-11 00:08:49 +00:00
ftang%netscape.com
5603e379d5 fix bug 17710, 12253, 18286. r=erik. hide the mIMEIsComposition into HandlStart/EndComposition method. +1 for size checking. remove startCompostion after we receive result. Add StartComposition if we have not start composition 1999-11-10 23:43:46 +00:00
ftang%netscape.com
92db3f78b1 1. fix 7571. review by ftang/pierre/saari 2. rewrite Mac IME code r=brade 1999-11-10 23:41:21 +00:00
pavlov%netscape.com
9729a5200f fixes for pasting unicode text for bug 18276 r=akkana 1999-11-10 07:26:06 +00:00
pavlov%netscape.com
de083ed17b fix for bug 1004 (native system colors) r=blizzard,smfr 1999-11-10 07:20:33 +00:00
blizzard%redhat.com
4b0bcc72c9 include ctype.h so isprint() is defined. a=choffman 1999-11-09 19:20:24 +00:00
beard%netscape.com
fd8a0a6599 implementing InvalidateRegion. r=sfraser, a=chofmann, bug=porkjockey painting 1999-11-08 04:05:26 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
dmose%mozilla.org
2270b25a3c updated license boilerplated to xPL 1.1, a=chofmann 1999-11-06 02:06:26 +00:00
waterson%netscape.com
d9a983939b Fix leak with nsCOMPtr. r=brendan, a=brendan 1999-11-05 00:52:23 +00:00
blizzard%redhat.com
8512fddc14 patch to fix backspacing from quy@igelaus.com.au. a=choffman 1999-11-03 20:25:19 +00:00
pavlov%netscape.com
ac4d4dc3e0 work on nsIWidget r=alecf 1999-11-03 08:04:59 +00:00
pavlov%netscape.com
21250b2278 work on scrolling, CSS2 native system colors, etc. r=mcafee 1999-11-03 07:34:50 +00:00
joki%netscape.com
1675be15e0 Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur 1999-11-03 07:11:45 +00:00
pinkerton%netscape.com
7bb51a30d4 turn off very verbose debug output. r=saari 1999-11-02 21:39:47 +00:00
pinkerton%netscape.com
5a870d01c1 set event struct type for drag events. previously uninitialized and caused random things to occur during drags (r=saari). 1999-11-02 21:04:40 +00:00
ftang%netscape.com
21f53bdfa9 add debuggin message for bug 7571. r=nhotta 1999-11-02 06:54:37 +00:00
pavlov%netscape.com
e7a37bf97c break in the switch, don't fall through *doh* r=duncan@be.com 1999-11-02 01:25:00 +00:00
alecf%netscape.com
649ac66265 cleanup NS_IMPL_MODULE and friends
- define new nsModuleComponentInfo and use it instead of components_t
- use size_t instead of unsigned int
- add some docs
- allow user to define own module name
1999-11-02 01:12:32 +00:00
putterman%netscape.com
78f2d9a8b7 Release mNativeDragTarget to fix leaks. no bug. reviewed by rods. 1999-11-01 21:53:06 +00:00
beard%netscape.com
e843778401 changed gInstanceClassName from char[256] to const char* to save space. r=sfraser 1999-10-30 04:02:54 +00:00
beard%netscape.com
8e7466a63f changed gInstanceClassName from char[256] to const char* to save space. added NS_IF_RELEASE(mFontMetrics) to destructor to fix memory leak. bug=15380, r=sfraser 1999-10-30 04:02:50 +00:00
Jerry.Kirk%Nexwarecorp.com
413c60e824 Changing mClipSibling to False in preparation to popup change
Pavlov is working on/thinking about... I'm sure he will see it my
way eventually...
r=kedl
1999-10-29 23:16:57 +00:00
akkana%netscape.com
17ebdf8aaa Remove one GDK_question. Trivial one-line fix 1999-10-29 22:37:18 +00:00
akkana%netscape.com
9816376095 17305: Add ? to the list of fakie-shifted keycodes. r=pavlov 1999-10-29 19:33:57 +00:00
pavlov%netscape.com
5ee5cd78a8 remove some tabs and add a check for null (bug 17252) r=syd 1999-10-29 09:03:53 +00:00
dp%netscape.com
ed4f0afe1a Converting to module. r=kipp 1999-10-28 20:59:49 +00:00
dp%netscape.com
be197fa7d8 Convering to nsIModule. r=kipp 1999-10-28 20:57:29 +00:00
dp%netscape.com
9db4e471e0 Remove delete on nsISupports. r=kipp 1999-10-28 20:44:45 +00:00
ftang%netscape.com
73e97ab329 remove unnecessary #ifdef USE_XIM. r=pavlov 1999-10-28 13:16:07 +00:00
Jerry.Kirk%Nexwarecorp.com
53fd291dfa Call PtAppAddFd instead of PtAppAddFdPri because of redraw bugs it
was causing.
r=kedl
1999-10-28 12:43:46 +00:00
dougt%netscape.com
c33e86ffb9 Fix for this mornings crasher (17352) r=pavlov, mscott 1999-10-28 06:44:36 +00:00
braddr%puremagic.com
ea13be0a26 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
r=scc
1999-10-28 03:16:48 +00:00
ftang%netscape.com
7b8cfeb611 fix the delete last IME text problem. bug13494 . There are another fix in nsHTMLEditRules.cpp related this but I forget to put the bug # there. r=tague 1999-10-27 23:05:24 +00:00
akkana%netscape.com
5c1fcb1d22 17305: Fix ? handling. Also add myself to a debug ifdef. r=pavlov 1999-10-27 22:53:52 +00:00
mscott%netscape.com
0e7559139c Bug #17352 --> temporarily hide this crasher by inserting an extra
ref count of the event queue. this is horrible since we are introducing
a leak. we need to examine the ownership model of event queues for the app
shell. I'm going to get pavlov to help me look at fixing this bug for real.
r=dougt
a=gramps,granrose
1999-10-27 22:00:54 +00:00
braddr%puremagic.com
341c8b0054 Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00
braddr%puremagic.com
55276cc3c4 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +00:00
Jerry.Kirk%Nexwarecorp.com
f8ec83c7ec Finished implementing ListenToEventQueue.
r=kedl
1999-10-27 11:36:21 +00:00
saari%netscape.com
bc126bc260 Making popups not steal activation on MacOS. r: pinkerton, no bug number that I'm aware of 1999-10-27 03:32:35 +00:00
ftang%netscape.com
2dadb6ad3a add debugging code. change code so we won't call MapDBCSAttributeArrayToUnicodeOffsets when we are not composition. Sent length == 0 TextEvent if we got nothhing in IME_COMPOSITION. This is needed to delete the last unconverted text in IME. r=tague 1999-10-27 00:14:46 +00:00
pinkerton%netscape.com
ed6895a1a4 add case for unicode flavor, which i guess was forgotten before. now apps that request unicode get unicode. bug# 16267 r=hyatt/pav. thanks to VYV03354@nifty.ne.jp for pointing this out. 1999-10-26 20:33:30 +00:00
pinkerton%netscape.com
dcfbdbd8cc Cleaned up the code and fixed a bug where data was not being null terminated on winNT.
partial fix for bug #16267 (r=hyatt/pav).
1999-10-26 20:31:54 +00:00
ftang%netscape.com
008f2c879c change #ifdef DEBUG_tague to #if defined(DEBUG_tague) || defined(DEBUG_ftang) 1999-10-26 20:17:36 +00:00
Jerry.Kirk%Nexwarecorp.com
f09a8af084 Trying to fix complex clipping to reduce redraws in apprunner.
Also fixed key handling for CTRL-keys.
r=kedl
1999-10-26 01:13:20 +00:00
scc%netscape.com
c84b487139 Don't |delete| interface pointers. Use |AddRef()| and |Release()| instead. Bug #16762, r=pinkerton. 1999-10-26 00:49:33 +00:00
Jerry.Kirk%Nexwarecorp.com
a0da8522a0 Pulling out changes that made nsAppShell inherit from nsIObserver
that danm thought I should make cause he changed his mind.
r=kedl
1999-10-26 00:42:08 +00:00
ftang%netscape.com
41a327641b delete nsTextRange array after dispatch the text event. fix wrong array indexing. Fix platform to NS attribute mapping problem. r=tague 1999-10-25 22:17:09 +00:00