1507 Commits

Author SHA1 Message Date
ccarlen%netscape.com
2fc0a652f0 Bug 105445 - Difficult to process PLEvents without either latency or CPU hogging. r=pink/sr=sfraser/a=asa
git-svn-id: svn://10.0.0.236/trunk@117623 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 07:16:12 +00:00
sfraser%netscape.com
2db23ca1c5 Fix Mach-O static build. Bug 127186. r=cls, sr=scc, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@117567 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 03:15:58 +00:00
sdagley%netscape.com
30cd0f8c2d Fix #133319 - Passing NULL for clientData parameter for NavServices dialogs not a good idea since it's supposed to be self. r=bnesse, a=smoketestblocker
git-svn-id: svn://10.0.0.236/trunk@117416 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 20:49:06 +00:00
sdagley%netscape.com
a7953d7749 Fix #132467 - Now that the Mac PutFile dialogs support a format menu allow pre-selecting the menu item. r=ccarlen,sr=sfraser,a=scc
git-svn-id: svn://10.0.0.236/trunk@117395 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 01:15:42 +00:00
sfraser%netscape.com
28db6d30eb Fix for bug 115698 -- crashes when sounds are playing and a window is closed. Create QuickTime movies using a permanent, singleton GWorld port, rather than using the current port, to ensure that they always have a valid port. Also fix some loop logic, and a problem where a time was not cancelled because base and derived classes erroneously duplicated some member variables. r=pinkerton, sr=beard/scc, a=scc
git-svn-id: svn://10.0.0.236/trunk@117386 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 20:22:25 +00:00
dbaron%fas.harvard.edu
4d91361814 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117345 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:26:36 +00:00
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
sfraser%netscape.com
0d51bd1709 Fix for bug 130753 -- avoid ugly page-flash when going Back to a scrolled page by not redrawing widgets which have a hidden parent. r=pinkerton, sr=hyatt, a=scc
git-svn-id: svn://10.0.0.236/trunk@116936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 01:37:02 +00:00
timeless%mac.com
69ae314807 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa


git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +00:00
danm%netscape.com
f396b39b90 remove redundant zoomwindow and switch to user state on resize. 125711 r=pinkerton,scc a=asa
git-svn-id: svn://10.0.0.236/trunk@116680 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 02:25:18 +00:00
danm%netscape.com
2ee3be6e37 stop reentrant window zooming and switch to user state after sizing. bug 125711 r=pinkerton,scc a=asa
git-svn-id: svn://10.0.0.236/trunk@116679 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 02:24:13 +00:00
sdagley%netscape.com
4aeb1e81fd Fix #116774 - when in background Moz shouldn't directly test mouse button state to decide if it needs to process events (was causing Moz to peg CPU when mouse was down and it was in background). r=ccarlen,pinkerton,sr=sfraser,a=asa
git-svn-id: svn://10.0.0.236/trunk@116613 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 03:33:10 +00:00
sdagley%netscape.com
1d5596c99d Fix #107521 - support Format popup menu in Mac PutFile dialogs. r=pinkerton,ccarlen,sr=scc,a=asa
git-svn-id: svn://10.0.0.236/trunk@116611 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 03:24:50 +00:00
rjc%netscape.com
fd6b38a620 Fix bug # 130218: Mac OS X: support resizable sheets. r=pink sr=sfraser a=asa
git-svn-id: svn://10.0.0.236/trunk@116515 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 01:13:52 +00:00
bryner%netscape.com
01634657fa - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.


git-svn-id: svn://10.0.0.236/trunk@116029 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 03:34:29 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
brade%netscape.com
e952c115b4 bug 124393; r=pink, sr=sfraser, a=asa; convert from ns_vk* to nsIDOMKeyEvent constants, use VK_HELP instead of VK_insert, tab cleanup
git-svn-id: svn://10.0.0.236/trunk@115815 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 14:00:13 +00:00
danm%netscape.com
83a2d3351f filter mousedown and drag events depending on target window's enabled state. bug 126786 r=hyatt,rginda a=asa
git-svn-id: svn://10.0.0.236/trunk@115524 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 23:27:20 +00:00
danm%netscape.com
640add85a6 implement new method nsIWidget::IsEnabled and gut ModalEventFilter. bug 126786 r=hyatt,rginda a=asa
git-svn-id: svn://10.0.0.236/trunk@115517 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 23:16:16 +00:00
danm%netscape.com
9cc420a417 basic implementation of new method nsIWidget::IsEnabled. b ug 126786 r=hyatt,rginda a=asa
git-svn-id: svn://10.0.0.236/trunk@115516 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 23:10:04 +00:00
rjc%netscape.com
4073594551 Fix bug # 127763: on Mac OS X, sheets shouldn't deactivate their parent window's frame. r=pink sr=sfraser a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@115442 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 21:40:32 +00:00
pinkerton%netscape.com
865e375f71 fix scrollwheel issues for os9. we can't rely on the mouse location from GetMouse() because of os hackery w/in the mouse drivers. just fake the mouse position local to the widget we're using. r=brade/sr=sfraser/a=shaver.
git-svn-id: svn://10.0.0.236/trunk@115423 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 14:57:48 +00:00
pinkerton%netscape.com
fc183b1c37 fix scrollwheel issues. make sure we reset origin before calling GlobalToLocal() and xlate local mouse coord into widget-relative coords for gecko. r=bryner/sr=sfraser/a=shaver. bug#125570
git-svn-id: svn://10.0.0.236/trunk@115173 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 23:09:13 +00:00
jst%netscape.com
0604f64bed Checking in Boris Zbarsky's <bzbarsky@mit.edu> fix for bug 117269. Making mozilla not invent silly file extensions when saving files. r=law@netscape.com, rs=jaggernaut@netscape.com, jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@115098 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:50:52 +00:00
rjc%netscape.com
8934664f7b Fix bug # 125158: force focus on Mac OS X sheets. code from saari, r=bryner sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@115049 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:42:24 +00:00
pinkerton%netscape.com
01a14f6fd6 Rollup popups before dragging a window. patch by ajfeldman@brown.edu. r=pink/sr=sfraser. bug# 99987
git-svn-id: svn://10.0.0.236/trunk@114812 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:41:59 +00:00
dbaron%fas.harvard.edu
ac6b721449 Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag
git-svn-id: svn://10.0.0.236/trunk@114693 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:18:13 +00:00
sfraser%netscape.com
db9f7a2020 Debug-only changes for better paint/invalidate debugging on Mac. Moved some code around, so the diff looks bigger than it is. Bug 120167, r=pinkerton.
git-svn-id: svn://10.0.0.236/trunk@114232 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 02:07:08 +00:00
sfraser%netscape.com
61f5de4022 Fix for bug 122012 -- make sure we use the correct WIndowRef for offsetting the event coords, so that moving the mouse over a background window does not mess up scrolling or autoselect. r=pinkerton, sr=beard.
git-svn-id: svn://10.0.0.236/trunk@114227 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 01:29:32 +00:00
sfraser%netscape.com
9422faf1cf Fix bug 124517 -- double delete caused by making more than one nsMacMemoryCushion object (one for each event loop). This should fix a ton of random crashes on Mac. r=pinkerton, sr=beard
git-svn-id: svn://10.0.0.236/trunk@114224 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 01:22:23 +00:00
danm%netscape.com
afb0987891 reset sizemode to normal when window is sized using the mouse. bug 107937 r=ben,jag
git-svn-id: svn://10.0.0.236/trunk@114066 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:35:15 +00:00
sfraser%netscape.com
929edac5f1 Fix #include file case so that Mac builds on UFS volumes work. Bug 116709. r=tigger.
git-svn-id: svn://10.0.0.236/trunk@113845 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 00:03:06 +00:00
rjc%netscape.com
6ee0e210e2 Fix bug # 112860: trivial null check for PPEmbed. r=ccarlen
git-svn-id: svn://10.0.0.236/trunk@113381 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 00:03:25 +00:00
pinkerton%netscape.com
533bae36a4 if label attribute changes, set the parent menu to dirty. r=sdagley/sr=blake. bug#122826, bugscape#11829
git-svn-id: svn://10.0.0.236/trunk@113357 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 20:43:17 +00:00
sfraser%netscape.com
67a35c1a08 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +00:00
nhotta%netscape.com
b4d63c4658 For Carbon only, changed to use Navigation Services 3.0 for GetLocalFile, GetLocalFolder, PutLocalFile,
bug 95478, r=ccarlen, sr=sfraser.


git-svn-id: svn://10.0.0.236/trunk@113147 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:34:21 +00:00
pinkerton%netscape.com
8cfab27071 make control-space send a context-menu event into gecko. r=brade/sr=sfraser. bug# 81727
git-svn-id: svn://10.0.0.236/trunk@113134 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:01:42 +00:00
pinkerton%netscape.com
b8d6fb4e39 rebuild the parent menu when the title of the parent of a hierarchical menu changes (text-zoom%, for example). the old code would only work if the parent was the menubar. r=sdagley/sr=sfraser. bug#106394
git-svn-id: svn://10.0.0.236/trunk@113133 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:00:16 +00:00
bzbarsky%mit.edu
2c3103bd6c Correct case of some includes so we build on UFS. Bug 108300, patch by
leaf@mozilla.org, r=beard, sr=darin


git-svn-id: svn://10.0.0.236/trunk@112709 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 18:49:11 +00:00
gordon%netscape.com
b983639064 fix bug 120833 "default value of nsICacheEntryInfo::expirationTime should be PRUint32(-1)". r=gagan, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@112640 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 03:06:28 +00:00
rjc%netscape.com
b821e260fb Fix bug # 83643: Mac OS X sheets. r=pinkerton sr=ben
git-svn-id: svn://10.0.0.236/trunk@112602 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 01:17:48 +00:00
sfraser%netscape.com
640467f11a Fix for bug 107827 -- avoid excess repainting on Mac when the paint-suppressed page is loading by ignoring widgets belonging to a widget hierarchy whose root is hidden. Improves page load time by 16-20%. r=pinkerton, sr=hyatt, a=asa
git-svn-id: svn://10.0.0.236/trunk@112550 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-23 00:48:19 +00:00
pinkerton%netscape.com
020dc70554 use setWindowGroup to put popups in the tooltip layer on osx and make it so they don't get activate events r=sdagley/sr=sfraser. bug# 108804
git-svn-id: svn://10.0.0.236/trunk@112216 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 23:06:20 +00:00
sfraser%netscape.com
f5ca579709 Fix port/GDevice management issues in Mac code, fixes bugs 113480, 103234, 105946, and 104781. Changes ensure that the current graphics device is set correctly when SetPort is used to change the current graphics port (to window or GWorld). r=pinkerton, rs=brendan
git-svn-id: svn://10.0.0.236/trunk@112119 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 23:26:49 +00:00
sdagley%netscape.com
ceb91748c9 Fix #104765 - Cleanup nsMacWindow::WindowEventHandler result code reporting. r=pinkerton,sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@112084 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 20:14:46 +00:00
cathleen%netscape.com
ea31156ed0 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
pinkerton%netscape.com
0206c2babf invisible windows need the windowConstrain event handler. It was left out by mistake for those windows in my last checkin. Pull the invisible window code out in its own case so this doesn't happen again. r=sdagley, sr=sfraser. bug#118198
git-svn-id: svn://10.0.0.236/trunk@111839 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 15:40:33 +00:00
danm%netscape.com
7bd003b61f implement new 'aAllowSlop' parameter to nsIWidget::ConstrainPosition. bug 113283 r=hyatt,pavlov
git-svn-id: svn://10.0.0.236/trunk@111616 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 01:30:06 +00:00
danm%netscape.com
2ba1541624 adding parameter to nsIWidget::ConstrainPosition. bug 113283r=hyatt,pavlov
git-svn-id: svn://10.0.0.236/trunk@111613 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 01:29:18 +00:00
bryner%netscape.com
8dc6e7c11c Fixing mach-o bustage.
git-svn-id: svn://10.0.0.236/trunk@111272 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 00:25:45 +00:00