Commit Graph

98 Commits

Author SHA1 Message Date
pinkerton%netscape.com
bf647de1f0 rollup popups when a toplevel window hides. makes popups go away about the same time in destruction sequences as on win32. r=pchen/sr=sfraser/a=asa. bug 89373.
git-svn-id: svn://10.0.0.236/trunk@101674 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-23 00:23:30 +00:00
danm%netscape.com
2df78d7028 always adjust maximized ("standard") window size before zooming. some code by rjc@rjcdb.com. bugs 80431,95740 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@101570 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 00:17:04 +00:00
ftang%netscape.com
247d10ef12 fix bug 92503, use the CFString version of api to set window title on MacOSX and later. r/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@100657 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-09 12:07:56 +00:00
pinkerton%netscape.com
5ae12bd0b8 fix phantom scrollbar for kensington scrollmouse. r=pchen/sr=hyatt. bug# 63463.
git-svn-id: svn://10.0.0.236/trunk@99435 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 21:00:57 +00:00
pinkerton%netscape.com
c45921a59d Under carbon, don't use the modal dialog proc for all dialogs since that enforces modality and we may not want that. r=pchen/sr=scc. bug# 88709
git-svn-id: svn://10.0.0.236/trunk@99318 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 18:41:27 +00:00
pinkerton%netscape.com
4ee168066e last bit of 87911, default action is move, not 'none'
git-svn-id: svn://10.0.0.236/trunk@98480 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-02 22:22:01 +00:00
pinkerton%netscape.com
46b0a8e530 Adding scrollwheel support for OSX via carbon events. Turning off phantom scrollbar hack under carbon. refactoring scrollwheel event dispatch so both can co-exist. r=beard/sr=sfraser bug 71045
git-svn-id: svn://10.0.0.236/trunk@98133 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-28 02:47:07 +00:00
pinkerton%netscape.com
e282f2d020 change cursor to show action feedback when keys held down. r=saari/sr=sfraser. bug# 87911
git-svn-id: svn://10.0.0.236/trunk@98092 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-27 23:38:42 +00:00
pinkerton%netscape.com
08edecb694 init the window proc id to something valid so we don't get bit if it's not set (such as the hidden window). r=sdagely/sr=blake/a=asa. bug# 70355
git-svn-id: svn://10.0.0.236/trunk@97552 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 05:28:39 +00:00
danm%netscape.com
f249b5b45f increase slop size when forcing newly opened windows onscreen, and force it onto the closest monitor, rather than the grayrgn's rect. bug 76790 r=hyatt,pchen a=blizzard
git-svn-id: svn://10.0.0.236/trunk@97379 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 00:21:17 +00:00
pinkerton%netscape.com
bd26e1a800 remove window tweaking and the hacks for it in the stub wdef. gets rid of negative width/height on windows when moving which OSX didn't like. prevent infinite recursion in live-resize code from us calling SizeWindow() ourselves. r=saari/sr=sfraser/a=asa, bugs 83629, 85110)
git-svn-id: svn://10.0.0.236/trunk@97126 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 04:56:32 +00:00
pinkerton%netscape.com
d0f45dcc19 when responding to window change events, make sure that we're resizing the window before invalidating it. solves perf regression with moving windows. r=pchen/sr=sfraser/a=asa. bug# 84574
git-svn-id: svn://10.0.0.236/trunk@96993 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 23:21:26 +00:00
pinkerton%netscape.com
f6f5aed0bc create a new window type for the hidden window so that we can recognize it from Widget. On MacOSX, override the carbon event that repositions windows on-screen for the hidden window only. Let normal windows pass-through. r=danm/sr=sfraser/a=asa. bug 84023.
git-svn-id: svn://10.0.0.236/trunk@96761 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-09 00:16:13 +00:00
pinkerton%netscape.com
79e43e38c2 add live-resizing for macosx. expose update/resize in the event handler to avoid having to hack up EventRecords to fake events. r=saari/sr=smfr/a=asa.
git-svn-id: svn://10.0.0.236/trunk@96197 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-01 23:38:27 +00:00
pinkerton%netscape.com
6f9f66996a popups now appear in the modal layer on osx, added more slop to fix osx bug where moving windows near their current location would move them to -1,-1. r=pchen/sr=smfr/a=asa. bug# 58226.
git-svn-id: svn://10.0.0.236/trunk@95921 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 18:45:43 +00:00
pinkerton%netscape.com
71f84b05bc switch to using reset() to set auto_ptr's. not sure why we did it the
other way. r=saari/sr=hyatt. bug# 75653


git-svn-id: svn://10.0.0.236/trunk@92501 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 03:19:32 +00:00
pinkerton%netscape.com
684c7dab18 remove special-case activation code for hidden window, let the OS do it. punts hidden window offscreen on mac so it can be visible yet of non-zero width/height for osx. bugs 70355/70388. r=danm/sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@92013 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 23:04:28 +00:00
pinkerton%netscape.com
dafd939478 forgot to wrap something in !TARGET_CARBON. fixes bustage.
git-svn-id: svn://10.0.0.236/trunk@91376 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 23:58:35 +00:00
pinkerton%netscape.com
87cf0f67a6 new borderless wdef to bring in line with win32 windows. clean up mdef code to be in line with wdef code.
git-svn-id: svn://10.0.0.236/trunk@91336 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 21:42:42 +00:00
pinkerton%netscape.com
7567a54abf make ownership of phantomScrollbarData more explicit to help out the GC. r=beard/sr=sfraser bug# 73774.
git-svn-id: svn://10.0.0.236/trunk@90675 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 20:55:34 +00:00
pinkerton%netscape.com
b2ed0ffb1f to work around a bug in OSX, check first if we're already at the location we're trying to move a popup to and if so, don't call MoveWindow. r=danm/sr=sfraser. bug#58226.
git-svn-id: svn://10.0.0.236/trunk@90624 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 04:33:08 +00:00
danm%netscape.com
36261977ee it's another shot at being happy on multiple-monitor machines. man tweaks and various. bug 67523 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@89056 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 02:17:37 +00:00
pinkerton%netscape.com
13f476bd27 fix for menus being unresponsive in classic build when no windows are available. commented out a bit added for fizzilla where the two platforms are at odds. sr=sfraser. bug# 68766
git-svn-id: svn://10.0.0.236/trunk@88126 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 23:35:46 +00:00
pinkerton%netscape.com
4c94bdb338 carbon changes. r=pink/sdagley/beard. a=sfraser.
git-svn-id: svn://10.0.0.236/trunk@86937 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 21:48:26 +00:00
pinkerton%netscape.com
7a02550a14 fix for 67406, re-instate the drag handlers for carbon, make them UPPs, make them per-window, not static. r=pchen/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@86860 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 23:39:50 +00:00
pinkerton%netscape.com
6ccbd64690 fix for 66823. we weren't correctly setting the port before calling LocalToGlobal, which would cause ::MoveWindow() to be skipped in some situations (2nd browser window). r=danm/sr=ben.
git-svn-id: svn://10.0.0.236/trunk@85661 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-28 02:12:58 +00:00
rods%netscape.com
5ed9424e7c Removing unneeded code
Bug 52279 r=kmcclusk sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@84724 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 14:34:00 +00:00
pinkerton%netscape.com
6ae938a280 more work for bug 7347 (mac scrollwheel). now works with logitech, but still requires a click. we have code that doesn't, but there are still some issues. r=saari/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@83931 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 01:31:23 +00:00
danm%netscape.com
cf972c5562 implement SetSizeMode. bug 32148 r=brendan,pinkerton
git-svn-id: svn://10.0.0.236/trunk@83659 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:36:56 +00:00
pinkerton%netscape.com
5df2a80199 add scroll-wheel support bug 7347. r=beard/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@82996 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 00:30:46 +00:00
saari%netscape.com
e752b34f33 more fixes for 53017. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@79509 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 03:37:09 +00:00
saari%netscape.com
02474ba699 fix for 49975. r=pinkerton and hyatt
git-svn-id: svn://10.0.0.236/trunk@79286 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:28:26 +00:00
danm%netscape.com
11b37438fb add 'activate' parameter to nsIWidget::PlaceBehind. bug 22658 r=rods,kmcclusk
git-svn-id: svn://10.0.0.236/trunk@77643 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:21:39 +00:00
sfraser%netscape.com
670f652127 Fix for 41741, allow resizable dialogs on Mac. Note that we now have a stricter matching between XUL dialog attributes, and the window type. This means that some dialogs that used to have a titlebar now won't have one on Mac, so you should add "titlebar" where appropriate. r=danm
git-svn-id: svn://10.0.0.236/trunk@77023 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 01:36:46 +00:00
pinkerton%netscape.com
c90a093e1b part of fix for 47105, clear canDrop every time we dispatch a dragOver event. it will be set accordingly if it is meant to be.
git-svn-id: svn://10.0.0.236/trunk@76339 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 18:22:39 +00:00
pinkerton%netscape.com
c77e714dae stop using dragTracker (bug 43428).
git-svn-id: svn://10.0.0.236/trunk@75872 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 07:40:54 +00:00
danm%netscape.com
2c3b51f21e implement new method ConstrainPosition. bug 31516 r=saari@netscape.com
git-svn-id: svn://10.0.0.236/trunk@75586 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 14:48:33 +00:00
pinkerton%netscape.com
486c5bf240 for bug 39326, don't send the drop event to gecko if the canDrop is false on the drag session.
git-svn-id: svn://10.0.0.236/trunk@75270 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 22:54:03 +00:00
pinkerton%netscape.com
c68de33028 Add drag auto-scrolling to trees. bug#28226, r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@72916 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 08:40:37 +00:00
beard%netscape.com
225060e4fa bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser
git-svn-id: svn://10.0.0.236/trunk@72686 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 23:10:06 +00:00
danm%netscape.com
85c6799dd2 another tweak for bug 34631
git-svn-id: svn://10.0.0.236/trunk@65398 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:37:51 +00:00
danm%netscape.com
4a69fa07d1 implementing z-level control. not polished, but functional.
git-svn-id: svn://10.0.0.236/trunk@65306 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:48:29 +00:00
sfraser%netscape.com
e2a8691944 Remove an extraneous char* from mac widgets in non-debug builds. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@63613 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:36:33 +00:00
pavlov%netscape.com
1fdd348954 changes to let us build on MacOS X
git-svn-id: svn://10.0.0.236/trunk@62619 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 03:08:04 +00:00
saari%netscape.com
2524430720 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
git-svn-id: svn://10.0.0.236/trunk@62377 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 04:32:37 +00:00
beard%netscape.com
8932999a96 fix nsIToolkit leak. r=smfr
git-svn-id: svn://10.0.0.236/trunk@59904 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 23:11:20 +00:00
sfraser%netscape.com
9a725f9715 Back out an old change by dcone which attempted to fix a redraw bug that has since been fixed a different way. r=beard.
git-svn-id: svn://10.0.0.236/trunk@59713 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 01:51:49 +00:00
pp%ludusdesign.com
637edb15e8 Conversion of ::GetIID() to NS_GET_IID(). Bug #20232, r=scc@netscape.com
git-svn-id: svn://10.0.0.236/trunk@59703 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 00:39:15 +00:00
scc%netscape.com
11bee2e856 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
git-svn-id: svn://10.0.0.236/trunk@59312 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:43:56 +00:00
nhotta%netscape.com
491121684d Added conversion from unicode to file systme charset, bug 24948, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@59266 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 21:23:04 +00:00