Commit Graph

3576 Commits

Author SHA1 Message Date
pp%ludusdesign.com
d8d073bd7c Conversion of ::GetIID() to NS_GET_IID(). Bug #20232, r=scc@netscape.com 2000-02-04 00:39:15 +00:00
rods%netscape.com
ee235a8eed added bool check to make sure the ctrl key was pressed.
b=26400 r=kmcclusk
2000-02-03 23:58:43 +00:00
Jerry.Kirk%Nexwarecorp.com
c661f45176 I had to add back in native buttons and text widgets so viewer would work... 2000-02-03 01:54:39 +00:00
Jerry.Kirk%Nexwarecorp.com
4208980c7f Removing clip.c becuase we no longer have to override the clipping
functions that are built into Photon. Also don't build the native widgets
that mozilla no longer uses.
2000-02-03 01:07:21 +00:00
Jerry.Kirk%Nexwarecorp.com
3f0a372df8 Comment out all the native widgets that mozilla is no longer using
to reduce the size of the shared library.
2000-02-03 00:08:54 +00:00
nhotta%netscape.com
447bdc0536 Added charset conversin from unicode to file system charset, bug 23384, r=ftang. 2000-02-02 23:04:12 +00:00
brade%netscape.com
27ca515c4c fix access paths for move to CW5 (bug #25949) 2000-02-02 22:45:39 +00:00
brade%netscape.com
cf2942660c reorder processor directives so this file will compile on Mac 2000-02-02 22:39:43 +00:00
rods%netscape.com
98b27da727 added back in the label and checkbutton classes to support the viewer's testing dialogs
b=26195 r=dcone
2000-02-02 15:43:54 +00:00
rods%netscape.com
cd2e9f17fe <ctrl>= no generates the correct key code on up and down and is not filtered out
as double byte on press.
r=brade b=5716
2000-02-02 15:00:59 +00:00
nhotta%netscape.com
e3edc771e2 Disabled assertsions for charset conversion failure. 2000-02-02 00:01:53 +00:00
alecf%netscape.com
fddc68ee7c fix xlib bustage (not part of build) 2000-02-01 23:51:46 +00:00
pinkerton%netscape.com
ff5704575e native clipboard/d&d impls now handle text/plain internally, always providing text/unicode to a client. fixes bugs 8427 and 24010. r=scc. 2000-02-01 22:26:21 +00:00
scc%netscape.com
bca9589968 removed errant |QueryInterface()|s in favor of appropriate macros, as part of bug#23737. Changed |NS_DEFINE_IID| to |NS_DEFINE_CID| where appropriate; or else removed it, and fixed up clients to use |NS_GET_IID| in the appropriate spots. Built and ran pre-checkin tests. r=pavlov ... who claims this shouldn't effect other platforms; but I'm watching anyway 2000-01-31 23:43:56 +00:00
Jerry.Kirk%Nexwarecorp.com
59f0c10c58 Removing old version of Photon timers. The new one has been moved
under the unix directory.
2000-01-31 23:17:55 +00:00
rods%netscape.com
9741e0faee reviewing native widgets from build
r kmcclusk, bug 17029 (windows only)
2000-01-31 22:53:35 +00:00
nhotta%netscape.com
7625da2bb8 Added conversion from unicode to file systme charset, bug 24948, r=ftang. 2000-01-31 21:23:04 +00:00
nhotta%netscape.com
74f2070498 Added charset conversion between unicode and file systme charset, bug 23384, r=ftang. 2000-01-31 21:22:10 +00:00
ftang%netscape.com
13e54cc8d1 fix leakage of the widget in OnKey 2000-01-30 23:52:35 +00:00
blizzard%redhat.com
46504af383 add new drag session for gtk 2000-01-30 09:59:57 +00:00
pinkerton%netscape.com
a7c192941f Make it such that clients of the clipboard/d&d only need to work with the text/unicode flavor and not text/plain. The conversion to text/plain for the native OS (in the correct charset encoding for the platform) is now done w/in the native clipboard/d&d implementations. 2000-01-29 20:24:50 +00:00
saari%netscape.com
889fb4dea4 Fix for bug 25582. r=pinkerton 2000-01-29 03:58:47 +00:00
danm%netscape.com
122b4bfa0f continue to suppress activation of the rollup widget window, but don't eat the message. bug 23739. r:kmcclusk 2000-01-28 23:37:36 +00:00
Jerry.Kirk%Nexwarecorp.com
c2cca205df Fix problem where you could not scroll a web page that had a combo
box widget on it. PHOTON UI only.
r=kedl
2000-01-28 15:35:00 +00:00
michael.lowe%bigfoot.com
27bc1aee93 Final Windows timer optimisation work, for now 2000-01-28 14:01:42 +00:00
ftang%netscape.com
7cbe38de99 fix bug 24614 24615 and 20932. Move OnKey to nsWidget from nsWindow and rename it OnInput. Add OnText and OnComposition for text and composition event. remove duplicate XIC spot update code. Make the IME event go through the same code
which deliever key event so the focus will be correct. r=erik
2000-01-28 01:09:26 +00:00
nhotta%netscape.com
7743e8774e Added charset conversin between unicode and file system charset, bug 23384, r=ftang. 2000-01-28 00:30:51 +00:00
Jerry.Kirk%Nexwarecorp.com
1fd44aba9d This switches over from the old style Photon timers to the new
style that have been moved under the unix directory.
r=cls
2000-01-27 03:35:19 +00:00
Jerry.Kirk%Nexwarecorp.com
882f23db3f Took out eMetric_SubmenuDelay by mistake, this re-adds it back in.
This was for Photon UI only
r=kedl
2000-01-27 03:20:46 +00:00
Jerry.Kirk%Nexwarecorp.com
96fe780ab2 Initial check-in of Photon timers that support the new features
like priority and repeatability.
2000-01-27 03:17:18 +00:00
saari%netscape.com
c2981cef58 fix for 14346, 21854, 24380 and other caret bugs. r= hyatt, brade for the mac menu stuff. 2000-01-26 22:41:43 +00:00
tbogard%aol.net
9ff1eab051 Updated some comments/ documentation. 2000-01-26 06:24:04 +00:00
pavlov%netscape.com
eacb46dd30 "oops" -- leak found by Jerry Kirk r=me,blizzard,etc 2000-01-26 02:43:32 +00:00
danm%netscape.com
91ed4c8bbd ensure top-level window's bounds are always reported in local coordinates, even in the middle of a window move. bug 24326. r:pinkerton. 2000-01-26 02:29:50 +00:00
Jerry.Kirk%Nexwarecorp.com
bbcb26e1ab Add the Init method to the class and add some debug for future use
for Photon only.
2000-01-25 14:23:29 +00:00
Jerry.Kirk%Nexwarecorp.com
3783ba1dec Check in some type casts to fix warnings and some changes to support
Photon 2
r=kedl
2000-01-25 04:03:48 +00:00
Jerry.Kirk%Nexwarecorp.com
7ad02737b9 Add some typecasts to eliminate warnings.
Adding some code to optimize performance under PHOTON2
r=kedl
2000-01-25 03:52:53 +00:00
Jerry.Kirk%Nexwarecorp.com
6b9f8405c3 Landing nsIFile. 2000-01-25 03:24:36 +00:00
pinkerton%netscape.com
2b4523cf01 removing a printf in SetBounds() i left in somehow. 2000-01-25 03:11:49 +00:00
syd%netscape.com
382502a6c1 Minor structural changes to nsSound, r=sfraser 2000-01-25 03:01:35 +00:00
syd%netscape.com
02c4cf8433 Reorganization of nsSound, r=sfraser 2000-01-25 03:00:57 +00:00
sfraser%netscape.com
b8db1990f8 Fix sound playing to be more efficient. r=syd 2000-01-25 03:00:03 +00:00
syd%netscape.com
531fc71b25 Changes for nsSound mods. r=sfraser 2000-01-25 02:58:40 +00:00
Jerry.Kirk%Nexwarecorp.com
7711665b92 Add the eMetric_SubmenuDelay option.
r=kedl
2000-01-25 02:50:00 +00:00
Jerry.Kirk%Nexwarecorp.com
feb0fa3839 Remove the Pt_RECTANGULAR flag, its not needed according to Darrin.
r=kedl
2000-01-25 02:47:44 +00:00
Jerry.Kirk%Nexwarecorp.com
7c950a2c2d Checkin simple type cast to eliminate warning/error with the -pedantic
option.
r=kedl
2000-01-25 02:44:18 +00:00
dougt%netscape.com
0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
michael.lowe%bigfoot.com
e8323398fa Further optimisation to Windows timers. Some more to come later 2000-01-24 13:35:21 +00:00
brade%netscape.com
5095152afe call MenuKey if only the cmdKey is pressed (don't call it if the shift key or other modifier keys are pressed). r=saari 2000-01-23 19:02:40 +00:00
michael.lowe%bigfoot.com
6696fa133b Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan 2000-01-21 21:56:09 +00:00
michael.lowe%bigfoot.com
ba464d5c50 Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan 2000-01-21 21:45:50 +00:00
pavlov%netscape.com
eb41125f6f revert last checkin for this file to fix 24414 r=akkana,jar a=jar 2000-01-20 07:27:42 +00:00
pinkerton%netscape.com
8edfe61c6c Fix for 24260, crash trying to put the AOLMAIL flavor on the clipboard. I messed up and didn't totally remove it so we promised it was there but then the conversion didn't happen and trying to free the zero-length data didn't work too well. r=sdagley 2000-01-19 01:44:48 +00:00
sspitzer%netscape.com
a42525a78c bulletproofing fix for #24266, crash because there is no superwin.
r=mscott
2000-01-18 23:22:11 +00:00
waqar%netscape.com
d5e965f8b2 # 24238
r kmcclusk@netscape.com
d Added ScrollWidgets methods to nsWindow. This is same bug as 22067
  for windows.
2000-01-18 21:55:31 +00:00
dcone%netscape.com
cdbc0f6f7a Checking for null. r=rods 2000-01-18 14:48:17 +00:00
beard%netscape.com
7879e912e2 fixes an M13 crasher, bug=24124, r=saari 2000-01-18 01:04:43 +00:00
colin%theblakes.com
1848729135 My preprocessor needs directives to start on column 1. r=pinkerton 2000-01-18 00:45:29 +00:00
pavlov%netscape.com
c80b422504 fix for 21873, 20907 r=blizzard 2000-01-17 04:11:58 +00:00
pinkerton%netscape.com
e3ca705d5f add a comment so that we don't try to reuse the 4.x composer's data flavor (which is binary) by accident. r=brade. 2000-01-17 01:34:58 +00:00
pinkerton%netscape.com
6198164edb Fix for 18240, don't optimize out recalculating regions when mBounds doesn't change on a resize. r=beard, sfraser. 2000-01-17 01:34:26 +00:00
Jerry.Kirk%Nexwarecorp.com
de736503c8 Photon Only change experimenting with getting Mozilla to appear
on the users current virtual console.
r=kedl
2000-01-16 02:02:06 +00:00
kmcclusk%netscape.com
c989755350 Added ScrollWidgets method to nsIWidget. Added stub for ScrollWidgets to nsBaseWidget. Implemented nsScrollWidgets and nsScrollRect on WIN32. bug 22067; r=rods@netscape.com 2000-01-15 01:38:50 +00:00
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