Граф коммитов

3513 Коммитов

Автор SHA1 Сообщение Дата
Jerry.Kirk%Nexwarecorp.com 6551450be4 Forgot to subtract offset from the lr of a Rect when I hand coded
PtDeTranslateRect. This is Photon only.
r=kedl
2000-01-14 14:44:17 +00:00
Jerry.Kirk%Nexwarecorp.com cd02687711 Photon UI Only
Fix Drawing problem in RawDrawFunc, there was a case where the routine
could be exited from without resetting the graphics context correctly.
Also did some general cleanup.
r=kedl
2000-01-14 13:47:55 +00:00
pavlov%netscape.com 93cbefbfb3 fix for bug 13161 2000-01-14 09:52:46 +00:00
danm%netscape.com 2a34c1c86b implement GetScreenBounds. fixes gtk version of bug 5998. r:pavlov@netscape.com 2000-01-13 23:28:29 +00:00
ftang%netscape.com 3df7c0b3ac fix bug 7614. call the xterm keysym2ucs function to convert keysym which
XmbLookupString do not understand to unicode. r=pavlov
2000-01-13 05:20:51 +00:00
pinkerton%netscape.com cebe5a092d Fix for 23757. I over-zealously removed OnPaint() which was relied upon to actually paint native widgets. Doh! Anyway, all should be back to normal again. 2000-01-13 02:59:37 +00:00
pinkerton%netscape.com 266f783682 Fixes for 23716. Remove AOLMAIL as a flavor we advertise through the converter to improve performance. Don't do the charset conversion when we want text/unicode. 2000-01-13 02:02:47 +00:00
law%netscape.com 839d36a74a Fix for clobber build bustage 2000-01-12 23:12:12 +00:00
law%netscape.com 5b8cd272cc Adding #include for that picky Solaris compiler; this will head off a future red cycle 2000-01-12 22:37:21 +00:00
law%netscape.com c0d0a4cbdb Fix for #5708; add parent window attribute and use as nsIFileWidget parent when opening file chooser; r=danm@netscape.com 2000-01-12 22:06:42 +00:00
kin%netscape.com dab1c2d95d Fix for bug #22422: Textfields in mail news wizard only display first few characters.
Modified nsWindow::Update() to force it's child windows to update too.
r=blizzard@redhat.com,pavlov@netscape.com
2000-01-12 21:50:03 +00:00
jefft%netscape.com 1d1e279544 Fixed bug 21116 -- [PP] [Regression] Save attachement doesn't correctly set the default name; r=ducarroz 2000-01-12 21:46:23 +00:00
jefft%netscape.com 447398d394 fixed bug 21116 -- Save attachment, default name not set correctly; linux only; r=rhp 2000-01-12 15:27:39 +00:00
ftang%netscape.com c5c9bb02de check in the keysym2ucs function from xterm-122 source . Thanks
Markus G. Kuhn <mkuhn@acm.org> and Richard Verhoeven <river@win.tue.nl>
The intergration part will be check in later after reviewed by pavlov
2000-01-12 02:12:49 +00:00
bryner%uiuc.edu 9dab65aacc Removing unused code that is #ifdef LOSER. r=pavlov. 2000-01-12 00:27:01 +00:00
blizzard%redhat.com 5b7b371474 fix for bug #23420. make sure that when checking the xlate queue that we compare against the rect as well as the serial of the Expose event. 2000-01-11 21:11:23 +00:00
pp%ludusdesign.com 698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
pavlov%netscape.com b72546b14a fix for 23559 r=waterson 2000-01-11 07:57:36 +00:00
pavlov%netscape.com 3b3bbf1e53 fix memory leak when handling expose events r=bruce 2000-01-11 07:18:00 +00:00
pinkerton%netscape.com bab6b72ea0 Removing ifdefs for TARGET_CARBON code. Using inline functions in Universal Headers and nsCarbonHeaders.h. 2000-01-11 05:20:12 +00:00
pinkerton%netscape.com 62e9d2db5e fixing bug 21414 the right way, reverting api's to their previous ways. 2000-01-10 23:04:24 +00:00
pavlov%netscape.com e69060e804 removed unneeded Union to the region r=jerrykirk 2000-01-10 22:12:47 +00:00
pavlov%netscape.com 4deb50263d s/UTF8/UTF8_STRING/ on the atom r=ftang 2000-01-10 22:11:36 +00:00
ftang%netscape.com d7cad2f52a fix window title conversion bug. r=jshin@pantheon.yale.edu convert PRUnichar* to
the locale encoding before pass to gtk.
2000-01-09 23:52:02 +00:00
danm%netscape.com b301f353f5 use nsMacWindow::MoveToGlobalPoint when moving a window after dragging. bug 23395. 2000-01-08 04:29:22 +00:00
danm%netscape.com a28fb84e28 new method MoveToGlobalPoint. part of bug 23395. 2000-01-08 04:28:29 +00:00
danm%netscape.com 79a69d5ff9 Fix stupid leak in previous checkin. I blame the hour. 2000-01-08 03:47:06 +00:00
danm%netscape.com 9e23e55eb0 get current event queue each time events are processed, rather than reusing a cached one. fixes bug 23379. 2000-01-08 03:35:25 +00:00
ftang%netscape.com 2fd1c82e85 fix 22311 again. r=nhotta 2000-01-08 01:49:12 +00:00
pinkerton%netscape.com cae2c15f23 Added a new param to the HTML->Text sink stream to take the charset so that we can convert to plain text with the correct charset for the platform. Enhanced the XIFFormatConverter to take advantage of this, fixing bug 21414. r=akkana, nhotta. 2000-01-08 01:48:39 +00:00
amusil%netscape.com 0cbcb4cc1a Mac implementation for nsSound. Utilizes QT APIs. Checking in for syd, r=sdagley,amusil 2000-01-08 01:35:35 +00:00
pavlov%netscape.com f31d1a8829 fix for bug 20907 and 20902 r=sdagley 2000-01-08 01:22:57 +00:00
pinkerton%netscape.com 34b54669c6 Fix for bug 23383 where we were using OleFlushClipboard() to clear the clipboard b4 replacing it. The correct thing to use is OleSetClipboard(NULL) or bad things (performance-wise) happen. r=penny 2000-01-08 00:28:32 +00:00
ftang%netscape.com b92682dfa6 temp turn off AIMM to fix bustage due to conflict define 2000-01-07 01:48:27 +00:00
ftang%netscape.com bc6eaeface fix bug 22331. contributed by m_kato@ga2.so-net.ne.jp r=ftang 2000-01-07 00:34:34 +00:00
ftang%netscape.com 9479ee54da Add ActiveIME interface file so we won't break build environment which do not have
Platform SDK installed
need to fix bug 22311
2000-01-07 00:29:23 +00:00
dougt%netscape.com dd0e047b8e Fix for 22943. r=sdagley 2000-01-06 20:05:55 +00:00
danm%netscape.com 7e86489156 added GetScreenBounds. part of bug 5998. r:pierre 2000-01-06 16:01:15 +00:00
colin%theblakes.com cd12022687 Add MOZ_TIMER_LIBS. r=jdunn 2000-01-06 11:11:38 +00:00
danm%netscape.com afc43c4cd4 base implementation of new method GetScreenBounds. part of bug 5998. r:pierre. 2000-01-06 01:29:19 +00:00
danm%netscape.com d2ec27a11f new method GetScreenBounds. part of bug 5998. r:pierre. 2000-01-06 01:28:41 +00:00
jdunn%netscape.com 39b8d6e504 specifying that nsIKBStateControl is public since by default it is private
r= <noone>
2000-01-06 00:45:48 +00:00
jdunn%netscape.com 5cf8e0cb33 on there is no == method for (char*) and AIX doesn't like it.
r= syd@netscape.com
2000-01-06 00:45:01 +00:00
akkana%netscape.com e2fb54a9cd Make the 'Transferable didn't support the data flavor' message more helpful 2000-01-05 01:31:40 +00:00
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