Commit Graph

3697 Commits

Author SHA1 Message Date
dcone%netscape.com
f23294b6b7 Changed the SelectPallete attribute for the forground from true to false, it will
now select a palette that is not a background palette.  r=rods b=25979
2000-03-13 03:38:52 +00:00
pavlov%netscape.com
181152fec7 remove useless #include's 2000-03-12 09:28:10 +00:00
rickg%netscape.com
ffe78e83e5 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
pavlov%netscape.com
4c5654e663 use a comptr for the nsIRegion in nsWidget, fix a leak with lookandfeel objects in widget that both dbaron@fas.harvard.edu and I found at about the same time. and clean up more carefully and avoid processing events if we are destroyed or being destroyed to avoid those natsty lil crashes. fixes bug 20291 and 29342 2000-03-12 07:26:04 +00:00
pavlov%netscape.com
6833dbc93d remove pointless #if 1 2000-03-11 10:38:09 +00:00
pavlov%netscape.com
ce094b4cfc changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
tbogard%aol.net
225c10c319 Remove dependency on nsIBrowserWindow. 2000-03-11 00:21:27 +00:00
tbogard%aol.net
4464d0aad3 Changed to retrieve the contentViewer from the docShell APIs instead of the webShell's. 2000-03-11 00:13:10 +00:00
tbogard%aol.net
5b6f1f3d6a Removed nsMenuItem.cpp as it is no longer used. 2000-03-11 00:12:08 +00:00
tbogard%aol.net
e6c80aa9de Remove nsMenuItem.cpp as it is no longer needed. 2000-03-11 00:10:50 +00:00
tajima%eng.sun.com
3ecba57c7d Fix for 17419. a=bobj@netscape.com, r=ftang@netscape.com 2000-03-10 01:30:07 +00:00
pinkerton%netscape.com
8dd96dfa11 fix for 31267. call oncreate handler for the help menu as well. r=don, a=jar. 2000-03-10 00:28:32 +00:00
danm%netscape.com
89df8369bc propagate zoom event to xp window. bug 30116 r=scc a=jevering 2000-03-09 01:58:04 +00:00
danm%netscape.com
31e7466b73 adding methods to set and get the size mode (normal,minimized...). bug 30116 r=scc a=jevering 2000-03-09 01:55:48 +00:00
danm%netscape.com
dac20e5933 adding definition for new sizemode event. bug 30116 r=scc a=jevering 2000-03-09 01:54:14 +00:00
Jerry.Kirk%Nexwarecorp.com
8027929b6d Remove #if DEBUG condition for some functions that really should be debug
but need to be included/excluded some other way, when I have time.
PHOTON ONLY
2000-03-08 13:42:46 +00:00
Jerry.Kirk%Nexwarecorp.com
ed9cd36d1f Remove the -DDEBUG lines that were keeping builds from working without
debug. PHOTON ONLY
2000-03-08 13:40:11 +00:00
saari%netscape.com
658f4bee32 windows fix for 26834, windows need sanity checks to keep them on screen. r=hyatt, a=jar 2000-03-08 04:41:12 +00:00
saari%netscape.com
ab22d3d1e9 GTK fix for PDT+ 26834, windows need sanity checks on positioning to stay on screen. r=pavlov, a=jar 2000-03-08 04:33:59 +00:00
saari%netscape.com
7a32d781a3 Mac fix for PDT+ 26834, placing sanity checks on resizing and moving of windows to make sure things stay on screen. r=danm, a=jar 2000-03-08 04:32:37 +00:00
Jerry.Kirk%Nexwarecorp.com
3cc27d1a4c Remove -DDEBUG from the Makefile
Fix the numeric keypad keys under PHOTON.
2000-03-07 13:57:43 +00:00
jim_nance%yahoo.com
fd067ebe58 This is xptcall code for Tru64 Unix (Formerly Digital Unix, Formerly OSF/1).
It was written by Steve Streeter <streeter@zk3.dec.com> of Compaq.
r=jlnance a=shaver
2000-03-07 00:15:07 +00:00
Jerry.Kirk%Nexwarecorp.com
37ed498f42 Fix some compiler warning and turn off some DEBUG code.
PHOTON ONLY
2000-03-06 13:54:57 +00:00
Jerry.Kirk%Nexwarecorp.com
8c3e931bab Fix problems with pop-up password dialogs. Fix a compiler warning.
PHOTON ONLY
2000-03-06 13:53:54 +00:00
pavlov%netscape.com
39be5bb072 fix memory leak bug 29942 r=blizzard 2000-03-04 05:29:23 +00:00
blizzard%redhat.com
918d3b4c4e fix memory leak documented in bug #29945. actually use refcnting the way it is supposed to be. r=pavlov 2000-03-04 05:04:33 +00:00
mjudge%netscape.com
4aa93745ce a=jar r=ftang 28852 2000-03-04 00:27:16 +00:00
blizzard%redhat.com
a6af9b1075 fix the x/y coords of drag drops, just like drag motion events. part of bug #29578 r=pavlov 2000-03-04 00:24:49 +00:00
cls%seawood.org
192e307283 Finally following warren's lead from "last year", the libs phase has been removed from the build. Directories had to be ordered and in some cases, traversed after a subsequent module was built.
Fixed the recursive makes into GtkMozilla so that they will report build failures like the other dirs.
Removed LIBS_NEQ_INSTALL variable and associated ifdefs.
2000-03-02 13:29:03 +00:00
blizzard%redhat.com
663ba93044 fix problems with drag and drop x/y coords in panel area. this was actually a problem in any areas that did not start at 0/0 in the toplevel window. this fixes bug #29578. r=pavlov 2000-02-29 23:38:06 +00:00
tajima%eng.sun.com
c9ae62ecfa Contributors:
Masaki Katakai	  (katakai@japana.sun.com)
	Hidetoshi Tajima  (tajima@eng.sun.com)
Reviewers:
	Yung-Fong Tang	  (ftang@netscape.com)
	Stuart Parmenter  (pavlov@netscape.com)
	Erik van del Poel (erik@netscape.com)
Submitter of code changes:
	Hidetoshi Tajima  (tajima@eng.sun.com)
Approver:
	Chris Waterson (waterson@eng.sun.com)
Bugs fixed:
	17916, 28022, 28875, 20983
2000-02-29 21:51:20 +00:00
mkaply%us.ibm.com
c8c934127b # 25555
r= slamm@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-02-29 15:48:10 +00:00
Jerry.Kirk%Nexwarecorp.com
ba3712e1ae Initial check-in to deal with mozilla sending unicode instead of
plain text.
2000-02-29 12:58:28 +00:00
pinkerton%netscape.com
bccacc140a fix for 29564, pasting > 32K text. used wrong data type (OSErr vs. long) for result of GetScrap(). r=sfraser, a=jevering. 2000-02-28 23:28:07 +00:00
pinkerton%netscape.com
e1c6e4a936 fix for 29349, not being able to disable a submenu by setting disabled on parent node. also extensive nsCOMPtr'ization and fixing of a memory leak in the process. r=saari, a=jevering. 2000-02-28 23:23:13 +00:00
blizzard%redhat.com
c616ebd613 a real fix for #28216 instead of the previous work around. also fixes the unix part of bug #27791. 2000-02-28 06:13:27 +00:00
pavlov%netscape.com
f39eff5714 fix for bug 28216 r=mcafee a=jar 2000-02-27 08:02:54 +00:00
rjc%netscape.com
7ba13725d3 Part of fix for bug # 25876: bookmarks drag&drop behavior modification. Approval: jevering Review: pinkerton 2000-02-26 01:27:29 +00:00
beard%netscape.com
02cd474c2e bug #29022, don't prevent overridden methods from getting called, r=sfraser, a=jar 2000-02-26 01:24:53 +00:00
pinkerton%netscape.com
e7440e6a23 fix for 29257, onDestroy being called after the window had gone away. also calling onDestroy when menu item is selected. r=saari, a=jar. 2000-02-26 00:52:56 +00:00
Jerry.Kirk%Nexwarecorp.com
37af83984a Fix Test11, fix the location of the pop-up menu when a user right clicks
Fix Virtual Consoles (again), fix up combo-boxes and the problem where
Mozilla would ignore a mouse click sometimes.
2000-02-25 13:38:32 +00:00
law%netscape.com
e32d7603ee Fix to get program icon loading properly (goes with updates to splash.rc file in mozilla/xpfe/bootstrap); r=jband@netscape.com, a=jevering@netscape.com 2000-02-25 02:25:00 +00:00
bryner%uiuc.edu
c0db891fd9 Making mousewheel events go to the correct nsWindow on Win32. Fixes bug
28426.  r=dougt, a=waterson.
2000-02-25 01:52:08 +00:00
pinkerton%netscape.com
13f8f6685c Fix for 27947, oncreate/ondestroy handlers implemented. r=saari, a=rickg 2000-02-25 01:03:06 +00:00
pinkerton%netscape.com
aa20242622 fix for 29016. tell the rollup listener to rollup xul popups when the user clicks in the menubar or a DA. r=sfraser a=jar. 2000-02-25 00:51:51 +00:00
bruce%cybersight.com
d46d088b36 Fix a GC leaking from nsToolkit. r=Pavlov,a=waterson 2000-02-24 04:47:57 +00:00
syd%netscape.com
87b82297df Fixes for 28360, 385798. a=mcafee, r=phil 2000-02-24 01:12:37 +00:00
syd%netscape.com
2eb6048957 Fix for PDT+ bug 28861. r=leaf,a=leaf. 2000-02-23 22:27:10 +00:00
pinkerton%netscape.com
48df7ebae8 fix for 28967, don't include things that include waste or other native widgets. r=sfraser, a=jar. 2000-02-23 21:51:48 +00:00
pinkerton%netscape.com
06aa74a079 fix for 28967, don't use IC yet. r=sfraser, a=jar. 2000-02-23 21:51:10 +00:00
pinkerton%netscape.com
53a91c6119 Fix for 26668. Wasn't correctly advertising text/plain because of a logic
error with strcmp. r=hyatt a=jar.
2000-02-22 22:40:38 +00:00
pinkerton%netscape.com
ac21e5ccd0 Fix for bug 26150, implementing radio behavior in mac native menus. also some minor cleanup and dead code removal. r=saari, a=jar. 2000-02-22 04:47:12 +00:00
pinkerton%netscape.com
dde273df34 cleanup tabs r=saari, a=jar. 2000-02-22 04:45:53 +00:00
bruce%cybersight.com
6f83a7fc25 Fixes a free memory read due to premature destruction of the timer object. Thanks Pavlov. a=waterson. r=bruce,pavlov 2000-02-21 21:56:49 +00:00
pavlov%netscape.com
15549f7685 fix for bug 25150 r=mcafee a=jar 2000-02-18 23:28:38 +00:00
hyatt%netscape.com
88b9a0adac Popup fixes. r=saari 2000-02-18 09:38:59 +00:00
danm%netscape.com
40a6eb38f9 allocate hashtable keys on the stack, not the heap. fixes leak (bug 28288). r=dp a=jar 2000-02-18 05:53:59 +00:00
ftang%netscape.com
8b30736e04 fix 26441. comment out annoying assertion for now. r=akkana. a=bobj 2000-02-17 00:56:00 +00:00
Jerry.Kirk%Nexwarecorp.com
44e1fa9af6 Comment out a hack that offset the damage rects. I no longer need this
it was causing a off by one error which caused the blue header to draw
over top of the menu. PHOTON ONLY
a=leaf
2000-02-17 00:41:09 +00:00
cls%seawood.org
8b30dc934f BeOS specific tweaks to allow the browser to compile.
Fixed configure.in to properly set developer specific debug flag under BeOS.
Added UNIX_CRASH_ON_ASSERT ifdef to stop BeOS from bring up debugger on non-abort assertions.
2000-02-16 08:06:00 +00:00
pavlov%netscape.com
7e740cf4c6 fix wrong placement of windows on linux r=alecf 2000-02-16 07:13:26 +00:00
blizzard%redhat.com
1b59c05e7b make sure that we aren't doing an extra server round trip for every paint event because of debugging code. this adds an extra check box to the debugging window to enable debugging feedback in addition to having the caps lock key down for debugging paint events. r=pavlov 2000-02-16 02:15:28 +00:00
ftang%netscape.com
ddb0159abd fix bad assertion. Move the assertion down . fix bug 26441 2000-02-16 01:15:56 +00:00
blizzard%redhat.com
d527596e7a don't set the background color to a default gray. this gets rid of the incredible hulk effect for text areas. also, get rid of the extra XQueryPointer() in motion events. this gets rid of another server round trip. documented in bug #27380. r=pavlov 2000-02-15 23:51:03 +00:00
sfraser%netscape.com
e4ba353ad2 Comment out a couple more printfs that saari missed yesterday. r=pinkerton 2000-02-15 23:32:44 +00:00
pavlov%netscape.com
0be3cbafce fix for bug 27734 r=saari 2000-02-15 22:36:19 +00:00
beard%netscape.com
bc2c174423 bug 27180, make nsIWidget::Resize() consistently invalidate on Mac, Windows and Linux. r=pavlov 2000-02-15 21:40:31 +00:00
Jerry.Kirk%Nexwarecorp.com
df3b362766 Bring WidgetFactory up to date with GTK version and fix nsWindow to
always put the pop-up menus on the right virtual console.
2000-02-15 21:26:45 +00:00
Jerry.Kirk%Nexwarecorp.com
1790143585 Final fix for virtual console support
try to fix the binary character that was in the version previous to this.
2000-02-15 21:24:22 +00:00
Jerry.Kirk%Nexwarecorp.com
9a6436685a Added suppprt for Virtual Consoles under Photon.� These changes make
almost everything work correctly no matter what console mozilla is
started on or it moved to. PHOTON ONLY
2000-02-15 14:15:03 +00:00
hyatt%netscape.com
3c8e2b7817 No error check retrieving submenu delay on Win32. r=rods 2000-02-15 11:51:12 +00:00
ftang%netscape.com
df717fdad7 fix 26441, 24464(r=tajima@sun.eng.com) remove unnecessary assertion condition
and make sure 0,0 also get set for XIC
2000-02-15 10:55:48 +00:00
mscott%netscape.com
a45320a479 Add icon notifications to GetAttention(). Now, the mozilla icon will flash if gaetattention is called and the app is in the background. r=sfraser. 2000-02-15 09:31:11 +00:00
pavlov%netscape.com
64fce3f2d8 grab the keyboard as well as the mouse r=hyatt 2000-02-15 09:14:33 +00:00
pinkerton%netscape.com
37bab53f32 fix for bug #27766, selection still happening while tracking mouse for context click. fixed by always converting control-click to the gecko right-mouse button event before we pass it to gecko. r=saari. 2000-02-15 07:16:43 +00:00
danm%netscape.com
954229d4ea modal event filter largely relies on OS now. bug 19221. r:hyatt 2000-02-15 05:05:19 +00:00
pinkerton%netscape.com
46f8adccd3 fixes for event handling around popup windows. bugs #27285 and 27257. don't propagate the event that closes a popup and don't pass events to a normal window if the top window is a popup. r=saari,sfraser. 2000-02-15 02:03:07 +00:00
saari%netscape.com
8b90059b17 Fix for regression 27682, Mac menus and selects behaving badly. r=pinkerton 2000-02-14 22:44:51 +00:00
mkaply%us.ibm.com
490394c65a # 25555
r= jdunn@netscape.com
OS/2 changes for Mozilla
2000-02-14 15:57:53 +00:00
Jerry.Kirk%Nexwarecorp.com
a126ee782e Fix positioning code for combo boxes and other pop-ups.
PHOTON ONLY
2000-02-14 13:20:21 +00:00
danm%netscape.com
dac10da9e6 force application resume event into modal window. bug 21297. r:saari 2000-02-14 05:28:44 +00:00
dbaron%fas.harvard.edu
2c48f94bb4 Fix a small leak of an nsBaseWidget (when clicking the mouse on the Start Mozilla button in the profile manager, and probably some other cases).
r=pavlov
2000-02-13 14:59:55 +00:00
hyatt%netscape.com
a8e49ae62f Submenu delay is incorrect for Win32 default. Patching in look and feel. 2000-02-13 07:20:22 +00:00
blizzard%redhat.com
71a332ac94 fix for printing crash, bug #24735. make sure that mAdjustment is initialized in the constructor. r=tor 2000-02-12 19:11:47 +00:00
pavlov%netscape.com
36d492029b quiet down saari's debugging output for the rest of us. 2000-02-12 00:42:57 +00:00
ftang%netscape.com
4cf396264c fix bug 23665. make OnKeyUp same behavior as OnKeyDown. Clean up old old unused code. r=rods 2000-02-12 00:10:22 +00:00
hyatt%netscape.com
8558ec21de Landing focus memory. r=saari 2000-02-11 23:35:14 +00:00
saari%netscape.com
d1c10da5d3 Changes for focus, too many bugs to list, look at my PDT+ list if you care. r=hyatt 2000-02-11 23:32:13 +00:00
saari%netscape.com
3cb469be8c Changes for focus landing that is now commencing.
Too many bugs to list, look at my PDT+ list if you care. r=hyatt
2000-02-11 23:31:18 +00:00
Jerry.Kirk%Nexwarecorp.com
20cb441e5a Remove the -DPHOTON2_ONLY flag since everything has been converted over to Photon 2 2000-02-11 22:30:44 +00:00
dcone%netscape.com
1a03ad51ce Fixed the invalidate for the Palette. r=rods 2000-02-11 14:35:01 +00:00
danm%netscape.com
074744be4b pass all keyboard events in modal event filter. bug 27296. r:pinkerton. 2000-02-11 08:05:35 +00:00
danm%netscape.com
4cbfb93c9c nsToolkit destructor was decrementing the refcount on the global event queue handler; a prelude to stopping event handling. It now does this only if it had previously incremented the refcount: a thing done in Init, not the constructor. bug 21596. r:pinkerton,scc. 2000-02-11 06:56:57 +00:00
dcone%netscape.com
4718f286f3 fixed some palette code. r=kmclusk 2000-02-10 13:59:45 +00:00
dveditz%netscape.com
64795ccc50 Resurrect VC5 build 2000-02-10 07:09:18 +00:00
blizzard%redhat.com
e32f6bfee2 first pass at DND for gtk since superwin. fixes bug #9642. r=pavlov,pinkerton 2000-02-10 04:19:52 +00:00
pinkerton%netscape.com
8cdc9e4a08 removal of WasteLib from viewer and un-necessary native widgets from Mac build. r=sfraser. 2000-02-10 04:18:55 +00:00
pinkerton%netscape.com
8fd6fb259a fix build bustage. 2000-02-09 23:24:28 +00:00
dmose%mozilla.org
c7242f57cd fix solaris build bustage. a=leaf@mozilla.org; r=mcafee@netscape.com 2000-02-09 22:29:57 +00:00
rods%netscape.com
691c453135 cleaning up widget library and removing uneeded widgets
fixed ALT key issue for windows
bug 17027,27041; carpool a=leaf; r=kmcclusk
2000-02-09 19:30:25 +00:00
Jerry.Kirk%Nexwarecorp.com
9596415386 Checking in changes that fix the pop-up menus under Photon allowing them
to close if the user clicks outside the application. Also fix
DestroyNativeChildren method. PHOTON ONLY
r=kedl
2000-02-09 13:47:23 +00:00
Jerry.Kirk%Nexwarecorp.com
ff5736ce70 Clear out a structure, that if not cleared causes the FileWidget to be
weird sizes. PHOTON ONLY.
2000-02-09 13:03:45 +00:00
pierre%netscape.com
9d43a2fef1 fixed the flashing mode in debug builds 2000-02-09 10:05:25 +00:00
pavlov%netscape.com
323b03267a remove some code cruft and remove the code to do expose events on timers that wasn't working in modal dialogs and replace it with a more efficient, direct, and just better method. we're getting pretty fast now. r=bryner@uiuc.edu 2000-02-09 01:43:04 +00:00
pinkerton%netscape.com
d60baf2c15 remove un-necessary stream stuff. 2000-02-09 01:29:10 +00:00
sfraser%netscape.com
676f672bae Remove ICGlueCFM-PPC.lib, which is not needed. r=mozbot 2000-02-09 01:24:52 +00:00
tbogard%aol.net
0748bd20c6 GetWebShell has been replaced by GetDocShell. You also can go directly from a docshell to a presShell without having to walk the content viewer etc. This should fix Linux bustage. 2000-02-08 14:22:19 +00:00
tbogard%aol.net
840c8350e1 GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur 2000-02-08 13:40:10 +00:00
danm%netscape.com
ad40fd5e77 disable expose event coalescing while nsTimers are broken in modal windows. bug 26283. r:pavlov 2000-02-08 08:30:40 +00:00
pavlov%netscape.com
3a8ef3d85e Flush mouse motion events to make scrolling snappier. r=beard 2000-02-08 07:33:18 +00:00
pavlov%netscape.com
2c2bf523c0 fix bug 14513 by saving the widths and heights r=waterson 2000-02-08 03:02:32 +00:00
scc%netscape.com
73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
scc%netscape.com
7592f488ec Pro5 update; eliminate dependcies on PowerPlant r=beard 2000-02-07 22:32:40 +00:00
pavlov%netscape.com
6e1f084bb4 convert UTF8_STRING to unicode in the clipboard. add some nsCOMPtr goodness. remove code cruft. only draw each part of the updated region if there are less than 10 rects making up the region. fix not being able to move windows to where you want them (bug 17703). r=bryner@uiuc.edu 2000-02-07 03:43:42 +00:00
beard%netscape.com
82260bc061 fix nsIToolkit leak. r=smfr 2000-02-05 23:11:20 +00:00
rods%netscape.com
fb2b061f27 commenting out widgets from the build they have been moved to the viewer app
r kmcclusk, b =17027
2000-02-04 15:59:57 +00:00
rods%netscape.com
383ee53e96 commenting out widgets from the build they have been moved tothe viewer app
r kmcclusk, b =17027
2000-02-04 15:59:31 +00:00
sspitzer%netscape.com
81ed4fd313 ignore generated makefiles 2000-02-04 04:32:00 +00:00
pinkerton%netscape.com
584cebb54d Fixing bug 26468, gtk clipboard regression with plain text. Forgot to set the flavor when doing conversion to unicode from text/plain. doh! r=akkana 2000-02-04 03:38:27 +00:00
pavlov%netscape.com
33d806b82f remove bogus comments. 2000-02-04 02:03:36 +00:00
sfraser%netscape.com
75b7087995 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
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