sfraser%netscape.com
c6bd477fa4
Back out an old change by dcone which attempted to fix a redraw bug that has since been fixed a different way. r=beard.
2000-02-04 01:51:49 +00:00
pp%ludusdesign.com
26646663e1
Conversion of ::GetIID() to NS_GET_IID(). Bug #20232 , r=scc@netscape.com
2000-02-04 00:39:15 +00:00
rods%netscape.com
dfa3e0b569
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
2bd07e9ad6
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
b243274fc7
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
684f8014e8
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
3dde541d05
Added charset conversin from unicode to file system charset, bug 23384, r=ftang.
2000-02-02 23:04:12 +00:00
brade%netscape.com
b174bf571d
fix access paths for move to CW5 (bug #25949 )
2000-02-02 22:45:39 +00:00
brade%netscape.com
e610b0720f
reorder processor directives so this file will compile on Mac
2000-02-02 22:39:43 +00:00
rods%netscape.com
0cd1cb6052
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
7067b76284
<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
682f19f24f
Disabled assertsions for charset conversion failure.
2000-02-02 00:01:53 +00:00
alecf%netscape.com
4995c69dad
fix xlib bustage (not part of build)
2000-02-01 23:51:46 +00:00
pinkerton%netscape.com
02674553b8
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
6b45b35877
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
348e46e17c
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
0b56a604b6
reviewing native widgets from build
...
r kmcclusk, bug 17029 (windows only)
2000-01-31 22:53:35 +00:00
nhotta%netscape.com
8a6713d391
Added conversion from unicode to file systme charset, bug 24948, r=ftang.
2000-01-31 21:23:04 +00:00
nhotta%netscape.com
e3925d85c7
Added charset conversion between unicode and file systme charset, bug 23384, r=ftang.
2000-01-31 21:22:10 +00:00
ftang%netscape.com
6387deb651
fix leakage of the widget in OnKey
2000-01-30 23:52:35 +00:00
blizzard%redhat.com
987779af71
add new drag session for gtk
2000-01-30 09:59:57 +00:00
pinkerton%netscape.com
9ca8e6d4bf
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
7da336eb8c
Fix for bug 25582. r=pinkerton
2000-01-29 03:58:47 +00:00
danm%netscape.com
406d001525
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
327008c81c
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
9772313b35
Final Windows timer optimisation work, for now
2000-01-28 14:01:42 +00:00
ftang%netscape.com
c133d4d9f2
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
8842f692fd
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
3b0a00629a
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
4d5c598d36
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
3faf9eaa7d
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
7ce4f57ec3
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
be7bc2a39f
Updated some comments/ documentation.
2000-01-26 06:24:04 +00:00
pavlov%netscape.com
dd13b6d07e
"oops" -- leak found by Jerry Kirk r=me,blizzard,etc
2000-01-26 02:43:32 +00:00
danm%netscape.com
f1c0465fc9
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
4d547cefa1
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
f0282b3110
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
905f6fb574
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
5a235919d0
Landing nsIFile.
2000-01-25 03:24:36 +00:00
pinkerton%netscape.com
621f1b7c28
removing a printf in SetBounds() i left in somehow.
2000-01-25 03:11:49 +00:00
syd%netscape.com
abb22e6041
Minor structural changes to nsSound, r=sfraser
2000-01-25 03:01:35 +00:00
syd%netscape.com
e592e71f70
Reorganization of nsSound, r=sfraser
2000-01-25 03:00:57 +00:00
sfraser%netscape.com
26fb5f95ba
Fix sound playing to be more efficient. r=syd
2000-01-25 03:00:03 +00:00
syd%netscape.com
a4469c3384
Changes for nsSound mods. r=sfraser
2000-01-25 02:58:40 +00:00
Jerry.Kirk%Nexwarecorp.com
e930415de5
Add the eMetric_SubmenuDelay option.
...
r=kedl
2000-01-25 02:50:00 +00:00
Jerry.Kirk%Nexwarecorp.com
9f1fcafe15
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
e06af7004e
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
fd69a2f423
Landing nsIFile.
2000-01-24 21:28:28 +00:00
michael.lowe%bigfoot.com
189782120c
Further optimisation to Windows timers. Some more to come later
2000-01-24 13:35:21 +00:00
brade%netscape.com
2fe0f424a3
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
3326c2959e
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
60576d43b8
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
c01230e649
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
b845d59ee6
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
29d98fb1fb
bulletproofing fix for #24266 , crash because there is no superwin.
...
r=mscott
2000-01-18 23:22:11 +00:00
waqar%netscape.com
e2683299a5
# 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
141e688f18
Checking for null. r=rods
2000-01-18 14:48:17 +00:00
beard%netscape.com
56390be244
fixes an M13 crasher, bug=24124, r=saari
2000-01-18 01:04:43 +00:00
colin%theblakes.com
858a67f883
My preprocessor needs directives to start on column 1. r=pinkerton
2000-01-18 00:45:29 +00:00
pavlov%netscape.com
7fa20d3f02
fix for 21873, 20907 r=blizzard
2000-01-17 04:11:58 +00:00
pinkerton%netscape.com
f429232a33
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
ee0cc7785f
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
e1091d8b09
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
8fe1340044
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
a41cf74f77
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
caf920b3a1
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
b24ca28975
fix for bug 13161
2000-01-14 09:52:46 +00:00
danm%netscape.com
d10ac39463
implement GetScreenBounds. fixes gtk version of bug 5998. r:pavlov@netscape.com
2000-01-13 23:28:29 +00:00
ftang%netscape.com
a015c0ef96
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
7947f7cad6
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
446e54b33b
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
f0dc460345
Fix for clobber build bustage
2000-01-12 23:12:12 +00:00
law%netscape.com
3f48a2a62a
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
8b9e371f8e
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
23cfc23005
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
8d7a8e5195
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
08e178732a
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
96c65c750e
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
1869d08630
Removing unused code that is #ifdef LOSER. r=pavlov.
2000-01-12 00:27:01 +00:00
blizzard%redhat.com
94d5b2a52e
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
13efd9e8c6
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
52b1ce2e02
fix for 23559 r=waterson
2000-01-11 07:57:36 +00:00
pavlov%netscape.com
3300fc48da
fix memory leak when handling expose events r=bruce
2000-01-11 07:18:00 +00:00
pinkerton%netscape.com
1d26b9e828
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
8a5bbf46f5
fixing bug 21414 the right way, reverting api's to their previous ways.
2000-01-10 23:04:24 +00:00
pavlov%netscape.com
daee79fe90
removed unneeded Union to the region r=jerrykirk
2000-01-10 22:12:47 +00:00
pavlov%netscape.com
9e3bf31cf7
s/UTF8/UTF8_STRING/ on the atom r=ftang
2000-01-10 22:11:36 +00:00
ftang%netscape.com
2251c6a2d3
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
d57b109338
use nsMacWindow::MoveToGlobalPoint when moving a window after dragging. bug 23395.
2000-01-08 04:29:22 +00:00
danm%netscape.com
399ae925cc
new method MoveToGlobalPoint. part of bug 23395.
2000-01-08 04:28:29 +00:00
danm%netscape.com
01a569ef32
Fix stupid leak in previous checkin. I blame the hour.
2000-01-08 03:47:06 +00:00
danm%netscape.com
6794d9b85d
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
981c509dd8
fix 22311 again. r=nhotta
2000-01-08 01:49:12 +00:00
pinkerton%netscape.com
938b7c8db0
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
a1774e9cfd
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
e91564d2d9
fix for bug 20907 and 20902 r=sdagley
2000-01-08 01:22:57 +00:00
pinkerton%netscape.com
4a70826479
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
cbc5ae03cc
temp turn off AIMM to fix bustage due to conflict define
2000-01-07 01:48:27 +00:00
ftang%netscape.com
0ba2d72334
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
6ad531c18b
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
8d2d0d324d
Fix for 22943. r=sdagley
2000-01-06 20:05:55 +00:00
danm%netscape.com
e5211eb69b
added GetScreenBounds. part of bug 5998. r:pierre
2000-01-06 16:01:15 +00:00
colin%theblakes.com
1d33fda9b3
Add MOZ_TIMER_LIBS. r=jdunn
2000-01-06 11:11:38 +00:00
danm%netscape.com
dd33b62621
base implementation of new method GetScreenBounds. part of bug 5998. r:pierre.
2000-01-06 01:29:19 +00:00
danm%netscape.com
9163e63ea5
new method GetScreenBounds. part of bug 5998. r:pierre.
2000-01-06 01:28:41 +00:00
jdunn%netscape.com
25882f1bb1
specifying that nsIKBStateControl is public since by default it is private
...
r= <noone>
2000-01-06 00:45:48 +00:00
jdunn%netscape.com
8dce3c9e08
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
a271a299aa
Make the 'Transferable didn't support the data flavor' message more helpful
2000-01-05 01:31:40 +00:00
pavlov%netscape.com
4211239628
throw out some events cause they don't look too useful. r=alecf
2000-01-05 01:26:55 +00:00
pavlov%netscape.com
9c3911c25a
fix bug 22780 and 20359
2000-01-04 22:17:06 +00:00
ftang%netscape.com
244a55396c
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
e313ecfd95
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
2600e25e75
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
61a6e9728b
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
7e71cdd43a
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
7667d64212
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
1fb60afe76
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
4eee8b3786
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
3648dc4bf3
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
6263ea116e
Use unsigned int instead of useconds_t in the usleep prototype.
1999-12-24 08:27:31 +00:00
sspitzer%netscape.com
b98da87f84
fix warings for pavlov and mcafee
1999-12-24 03:48:08 +00:00
briano%netscape.com
796deba95c
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
6b983f4970
clean up nsWindow::DestroyNativeChildren(). this seems to leak one less widget per toplevel.
1999-12-23 20:09:38 +00:00
ftang%netscape.com
0b2fd49f36
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
b8d5f380d6
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
1986cf104e
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
c48609eae8
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
72a032393e
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
b34e26f745
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
12b802c245
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
202d6d8287
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
107dee0d0c
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
6eda24cf1d
Fix to ensure events go to the right eventQ. r=blizzard@mozilla.org.
1999-12-20 23:10:23 +00:00
pavlov%netscape.com
c7e6d5b5b4
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
f5987692bf
fixing pav's bustage :)
1999-12-18 01:02:34 +00:00
pavlov%netscape.com
3d933328d4
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
76d39e5500
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
8095672837
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
8b64ac4bfc
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
3d5a508733
File Removed.
1999-12-15 20:05:41 +00:00
dmose%mozilla.org
ac3286820e
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
e9c9ff1aac
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
40d5be8938
get drags starting from the browser. r=blizzard a=brendan
1999-12-14 05:29:05 +00:00
blizzard%redhat.com
d791d5755b
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
85a6313e9f
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
3e8c0376b9
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
a1fd50730e
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
2a004b959e
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
2153ce5cd1
meant to use the define. sorry
1999-12-11 00:35:10 +00:00
mjudge%netscape.com
22c4fd1a78
fix for vc5.0 bustage. wierd. bill law will follow up
1999-12-11 00:19:17 +00:00
ftang%netscape.com
85555b0688
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
666571fef3
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
736eb6e756
fix mem leak when typing r=slamm a=leaf
1999-12-10 18:08:49 +00:00
law%netscape.com
aa0a1b34e0
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
a2963e837d
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
36e9a8378c
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
b9b8ecf5e1
21208: Fix pasting of unicode. r=pinkerton, a=brendan
1999-12-09 01:35:48 +00:00
pavlov%netscape.com
e48c46c742
#ifdef DEBUG_CLIPBOARD a printf a=leaf
1999-12-08 20:00:28 +00:00
syd%netscape.com
d2f3288af4
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
1e1f4de5d2
Fixing MAC menu accelerators. r=saari
1999-12-08 04:58:23 +00:00
ftang%netscape.com
a7b00b6d2f
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
ba5e6cf9fb
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
7cfde8d68e
add a debugging window utility for gtk
1999-12-07 22:02:40 +00:00
ftang%netscape.com
723af171cd
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
6fdb0078cb
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
47cd1361f7
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
e7bb5d09ce
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
1bda5d8b05
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
161227d500
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
7527aabb92
Fixed InvalidateRegion, brought it uptodate with GTK version.
...
r=kedl
1999-12-06 04:54:59 +00:00
syd%netscape.com
29aed3b5c8
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
d2b3fa8d6f
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
2e91e607c0
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
190ba77382
Fix build bustage.
1999-12-04 13:27:45 +00:00
syd%netscape.com
04e0368758
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
98fa585872
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
35ea8f2f1d
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
c382db6ddf
Fixed and invalidate in showwindow. r=sfraser,rods.
Bug=18971 (pdt+)
1999-12-03 15:55:37 +00:00
ramiro%fateware.com
2e34393484
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
83967b6151
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
e4c5a0077b
add Mac implmenetation of nsIFontEnumerator r=erik
1999-12-02 23:27:16 +00:00
pinkerton%netscape.com
6a0d20417f
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
08200dac55
Removed a bunch of duplicated code. r=saari
1999-12-02 23:17:31 +00:00
blizzard%redhat.com
94905ac6a0
Clean up Destroy() and focus handling. fix bug #19302
1999-12-02 22:09:25 +00:00
tbogard%aol.net
783d124f26
Added the FocusAvailable() method to nsIBaseWindow.idl.
1999-12-02 09:41:21 +00:00
pavlov%netscape.com
82c57c5d63
make scrolling suck less r=brendan
1999-12-02 05:16:13 +00:00
pinkerton%netscape.com
0de3c034b5
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
8d8eb7dc75
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
4a9e703f28
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
f705f1f50f
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
c136879a5f
hooking up 'close' xul event handler. bug 13695. r:hyatt@netscape.com
1999-12-01 22:38:06 +00:00
danm%netscape.com
a9db94dfe7
adding 'close' xul event handler. part of bug 13695. r:hyatt@netscape.com
1999-12-01 22:35:33 +00:00
ftang%netscape.com
a38f6b6bf6
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
cd9671e988
Print support for OpenVMS. r=dcone
1999-12-01 11:58:21 +00:00
saari%netscape.com
9b0e025113
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
b0f8a35bbe
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
f8be1d3657
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
459023769b
fix warning for pavlov
1999-11-30 23:01:10 +00:00
sspitzer%netscape.com
30516ea248
fix warning. r=pavlov
1999-11-30 22:42:54 +00:00
pavlov%netscape.com
55a09919ce
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
7ac09e35d7
ObscureCursor (bug #19593 ; r=sfraser)
1999-11-30 22:19:04 +00:00
ftang%netscape.com
cb17c6d839
fix bug 12253. clean up some ime code. r=erik
1999-11-30 22:09:28 +00:00
pinkerton%netscape.com
4de90fdade
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
6dec90fe38
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
2e88f2b03e
Removing my name from a debug printf
1999-11-30 21:56:09 +00:00
dougt%netscape.com
1da7d3868d
fix for 18078. r=mstoltz,warren
1999-11-30 00:32:43 +00:00
pinkerton%netscape.com
15c3a8c126
added debug ifdefs around printfs to reduce output during drags.
1999-11-30 00:24:06 +00:00
pinkerton%netscape.com
75415b85bc
exporting nsBaseWindow.idl for travis.
1999-11-30 00:15:10 +00:00
Jerry.Kirk%Nexwarecorp.com
e444847ab7
Added debug code to try and track down extra draws..
...
r=kedl
1999-11-29 21:37:43 +00:00
blizzard%redhat.com
99e6fc82e3
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
4047685baf
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
0816f40bb7
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
ea9d345f2e
Fix timers with interval greater than a second. r=blizzard
1999-11-28 19:12:10 +00:00
warren%netscape.com
4ab4ee4d4e
Eliminated the libs build pass.
1999-11-28 03:05:01 +00:00
blizzard%redhat.com
b524887648
make the grab a little more idiot proof
1999-11-27 20:08:18 +00:00
tbogard%aol.net
dafd034c01
Added getPositionAndSize() to nsIBaseWindow.
1999-11-27 02:49:57 +00:00
beard%netscape.com
c7400d902d
bug #13331 , implemented nsWindow::InvalidateRegion(). r=mcafee
1999-11-25 02:06:16 +00:00
waqar%netscape.com
b4ed01d118
# 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
a0640b60c4
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
e513fcdd8a
Define semicolon as well as colon. r=pavlov
1999-11-24 00:04:20 +00:00
pinkerton%netscape.com
eaa95c2535
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
fa38f78ee9
fix bug #14131 . popup windows on modal dialogs should work now.
1999-11-23 20:55:57 +00:00
Jerry.Kirk%Nexwarecorp.com
594ab03a6a
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
87b4eae3c4
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
da68112960
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
8fb7825ce9
Link against superwin even if monolithic
...
r=pepper@netscape.com
1999-11-22 21:35:33 +00:00
joki%netscape.com
e3b049c197
Fix for 17683, add key events for alt+numpad character generation. r:vidur
1999-11-22 19:45:13 +00:00
beard%netscape.com
1606902969
implements InvalidateRegion(). r=kmcclusk
1999-11-20 22:33:42 +00:00
dcone%netscape.com
b5f54048f1
Reworked the flashing for porkjockey's. r=rods
1999-11-19 14:56:24 +00:00
fur%netscape.com
e5fdfdb24e
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
fab29310c5
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
42ea84eb8c
Add MOZ_COMPONENT_LIBS. r=jdunn
1999-11-18 20:23:31 +00:00
colin%theblakes.com
3c9a2f9dc0
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
fe6ea0009c
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
7c670eea64
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
2b96bf0f1e
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
f9e83d2356
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
415c3552fe
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
777df93afd
fix for modal dialogs. fixes bug #16310 . r=pavlov
1999-11-18 03:19:43 +00:00
jdunn%netscape.com
7a1cf0fd83
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
879684e61d
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
ca8225cc20
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
23943d24bc
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
04f6e914ef
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
01424c1159
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
8d96949509
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
9742c67df1
added files: mozilla/widget/public/nsIBaseWindow.idl
1999-11-17 05:10:11 +00:00
pavlov%netscape.com
5401440afc
add nsIBaseWindow.idl to the build
1999-11-17 05:08:56 +00:00
blizzard%redhat.com
beeafe604a
land SUPERWIN
1999-11-17 04:06:21 +00:00
blizzard%redhat.com
b85852d775
add gtksuperwin directory to the build
1999-11-17 04:00:00 +00:00