Commit Graph

1876 Commits

Author SHA1 Message Date
jag%tty.nl
0b760cec48 Bug 339576: [Modern theme] No arrows at end of scrollbars
Assumptions were broken by a recent change. Drop assumptions for an explicit mapping. r=josh, sr=Neil


git-svn-id: svn://10.0.0.236/trunk@205054 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-28 17:39:35 +00:00
mark%moxienet.com
77a930be66 26269 Remvoe bogus assertions to fix debug build bustage.
git-svn-id: svn://10.0.0.236/trunk@205006 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-27 23:41:26 +00:00
mark%moxienet.com
43d2d55415 26269 Send NS_KEY_DOWN and NS_KEY_UP events when modifier keys are pressed and released on the Mac. r=josh sr=pink
git-svn-id: svn://10.0.0.236/trunk@204986 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-27 21:36:29 +00:00
mark%moxienet.com
3819af939b 345425 onDragExit in tabbrowser.xml is called with aDragSession.sourceNode null when a tab is dropped on itself. Eliminate extra call to EndDragSession. r=josh sr=pink
git-svn-id: svn://10.0.0.236/trunk@203469 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-23 15:22:16 +00:00
mark%moxienet.com
555c30774f 338642 Minimized window doesn't expand when opened from external app when Gecko is the foreground app. Expand collapsed windows on Show(PR_TRUE). r=josh
git-svn-id: svn://10.0.0.236/trunk@203278 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 19:03:52 +00:00
mark%moxienet.com
ddab7ffe6e 319078 Handle smooth mousewheel (and two-finger touchpad) scrolling. r=josh sr=darin r,sr=roc
git-svn-id: svn://10.0.0.236/trunk@203254 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 15:38:43 +00:00
mark%moxienet.com
a14134498c 344238 <marquee> causes contextual menu highlight to flicker. Share event dispatch handler between top-level windows and their associated pop-up windows. r=josh sr=bryner
git-svn-id: svn://10.0.0.236/trunk@202174 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 20:23:46 +00:00
mark%moxienet.com
03b0992e57 344570 Make contextual menus look more native on the Mac. r=josh sr=bryner
git-svn-id: svn://10.0.0.236/trunk@202171 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 19:54:08 +00:00
mark%moxienet.com
b90a3015d8 344701 Leaking nsMacWindow objects for top-level windows. r=josh
git-svn-id: svn://10.0.0.236/trunk@202157 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 18:27:44 +00:00
enndeakin%sympatico.ca
70a7c556c0 bug 155053, add spinbuttons widget, with native theming, r+sr=neil and roc
git-svn-id: svn://10.0.0.236/trunk@202039 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 17:40:49 +00:00
joshmoz%gmail.com
9eb169a524 fix a comment in mac window code. r=mento
git-svn-id: svn://10.0.0.236/trunk@201878 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 16:08:53 +00:00
joshmoz%gmail.com
222b8d126d followup to 222488 - instead of making default dialog windows use kMovableModalWindowClass, use kDocumentWindowClass so we're not forcing modality on people.
git-svn-id: svn://10.0.0.236/trunk@201853 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-10 23:56:52 +00:00
joshmoz%gmail.com
34ff25f754 dialogs with the default style mask bit set (and only that bit) should have a reasonable window class. b=222488 r=mento
git-svn-id: svn://10.0.0.236/trunk@201841 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-10 22:22:57 +00:00
joshmoz%gmail.com
93bb7c45a6 actively update native menu items based on command node content instead of menu item node content. makes menu blinking work when using keyboard commands. also, remove some old native help menu code. b=50590 r=mento sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@201824 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-10 17:50:30 +00:00
cvshook%sicking.cc
aba7c6ff77 Bug 342062: Add nsIMutationObserver which has the ability to get notifications for just mutations happening in a subtree under a given node. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@201460 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-02 07:23:10 +00:00
mark%moxienet.com
88f4d80a0f 342361 NS_DRAGDROP_ENTER/EXIT events should be sent as drags enter and exit widgets. r=josh sr=bryner
git-svn-id: svn://10.0.0.236/trunk@200926 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 20:50:33 +00:00
mark%moxienet.com
afb188ffba 342229 NS_DRAGDROP_OVER/ondragover should fire repeatedly when performing a drag, even when the mouse is not moving. r=josh sr=bryner
git-svn-id: svn://10.0.0.236/trunk@200924 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 20:45:55 +00:00
dveditz%cruzio.com
f869942298 Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
simplify OOM checks when growing an nsAString. r/sr=darin


git-svn-id: svn://10.0.0.236/trunk@200610 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 19:07:30 +00:00
joshmoz%gmail.com
e2affb3643 use correct null macros for mach ports. b=342192 r=mento
git-svn-id: svn://10.0.0.236/trunk@200460 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-20 20:38:59 +00:00
hwaara%gmail.com
6c4bc743de Fix bug 335683, Use kThemeMenuItemFont for -moz-pull-down-menu. r=mento, sr=roc, a181=mento. Patch by Stefan (stefanh@bluebottle.com)
git-svn-id: svn://10.0.0.236/trunk@200235 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-18 12:17:32 +00:00
mark%moxienet.com
d0435e7860 Remove PINK_PROFILING_ACTIVATE. No bug, but mentioned in 340592.
git-svn-id: svn://10.0.0.236/trunk@200128 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-16 17:25:26 +00:00
mark%moxienet.com
810a789e25 340592 Make the mouse focus model more Mac-like. r=josh sr=pink
git-svn-id: svn://10.0.0.236/trunk@200127 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-16 17:23:07 +00:00
joshmoz%gmail.com
7737290715 bustage fix, account for api change in 332949 in carbon widgets.
git-svn-id: svn://10.0.0.236/trunk@200123 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-16 16:14:19 +00:00
mark%moxienet.com
c0764f0307 Copy'n'paste (340071) and drag'n'drop (340890) between Mozilla app running natively and Mozilla app running under Rosetta translation does not work [properly]. Byte-swap UTF-16 text in private flavors when running under Rosetta. r=josh sr=pink a/1.8.1=me
git-svn-id: svn://10.0.0.236/trunk@199998 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 17:14:00 +00:00
joshmoz%gmail.com
910e575ee4 selection highlight color changed in 0.5+ to no longer use system selection color. b=240320 r=josh sr=roc
git-svn-id: svn://10.0.0.236/trunk@199742 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 19:33:07 +00:00
leon.sha%sun.com
de00feaf80 Bug 333896 Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
mark: review+
roc: review+
roc: superreview+
Patch by alfred.peng@sun.com


git-svn-id: svn://10.0.0.236/trunk@199580 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-09 06:02:30 +00:00
mark%moxienet.com
e738f72065 336012 Fix typo. Last comment should have specified r=hwaara.
git-svn-id: svn://10.0.0.236/trunk@199539 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 21:34:57 +00:00
mark%moxienet.com
2fd49a104f 336012 Copying content from browser and pasting into Terminal results in URL instead of selected text, URL contains 0-bytes. Part 2: use UTF-8 when copying and pasting 'url ' and 'urld'-flavor data. The URL will still be pasted instead of the copied text (see the "part 1" patch on bug 336012). r=josh sr=pink a/1.8.1=me
git-svn-id: svn://10.0.0.236/trunk@199537 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 21:32:26 +00:00
mark%moxienet.com
73c42ac229 339705 Using the scroll wheel over autocomplete popup closes it. Check whether widgetToScroll is a child of the rollup widget. r=josh a/1.8.1=me
git-svn-id: svn://10.0.0.236/trunk@199528 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 19:04:31 +00:00
gavin%gavinsharp.com
41f949e4db Bug 339192: Readonly textboxes shouldn't look active, patch by Phil Ringnalda <philringnalda@gmail.com>, r=hwaara, sr=pink
git-svn-id: svn://10.0.0.236/trunk@199128 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-06 16:34:16 +00:00
timeless%mozdev.org
50666c89f3 Bug 337917 Make consumers stop using cids from other modules
r=dveditz sr=darin


git-svn-id: svn://10.0.0.236/trunk@198974 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:38:55 +00:00
timeless%mozdev.org
7185e837bc Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin


git-svn-id: svn://10.0.0.236/trunk@198973 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:35:59 +00:00
mark%moxienet.com
4b052141f2 340027 Phantom scrollbars appear after activating/deactivating a window. Don't call HiliteControl on controls that are not supposed to be visible. r=josh a/1.8.1=me
git-svn-id: svn://10.0.0.236/trunk@198845 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 01:07:42 +00:00
joshmoz%gmail.com
d0efbd6274 remove unnecessary code from Carbon sheet impl. b=339866 r=mento
git-svn-id: svn://10.0.0.236/trunk@198785 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 01:48:24 +00:00
joshmoz%gmail.com
a987fe3466 Linking against the Cocoa framework in Carbon widgets is no longer necessary since we don't call NSApplicationLoad() any more. b=339389 r=sparky
git-svn-id: svn://10.0.0.236/trunk@198743 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-31 16:20:41 +00:00
mark%moxienet.com
36167eb25a 339640 Activate/deactivate events being processed twice. r=josh
git-svn-id: svn://10.0.0.236/trunk@198643 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-30 15:55:25 +00:00
joshmoz%gmail.com
5de933a9a5 add the Carbon icon decoder back, alongside the Cocoa icon decoder. Use Carbon decoder for Carbon builds, Cocoa for Cocoa builds. We can't use the Cocoa API from Carbon due to runtime conflicts (that aren't completely resolved by calling NSApplicationLoad). Also, removing call to NSApplicationLoad. b=339389 r=mento sr=stuart
git-svn-id: svn://10.0.0.236/trunk@198642 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-30 15:54:28 +00:00
mark%moxienet.com
5b70f1cc75 337646 Trouble with multiple sheets: going from a parent sheet to a child sheet back to a parent sheet puts the window in a bad state, causes blank sheet to appear and effectively hangs the app. Take care to not call ShowSheetWindow except when absolutely necessary. r=josh
git-svn-id: svn://10.0.0.236/trunk@198640 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-30 15:45:23 +00:00
mark%moxienet.com
b5bb710fae 339370 Scrollbars in popup windows appear inactive. r=josh
339482 Bad app behavior caused by removing event handlers based on random stack garbage.  r=josh


git-svn-id: svn://10.0.0.236/trunk@198639 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-30 15:40:50 +00:00
enndeakin%sympatico.ca
add54323c7 Bug 290255, add xul scale widget, r=mconnor,roc sr=neil,roc
git-svn-id: svn://10.0.0.236/trunk@198629 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-30 13:50:48 +00:00
mark%moxienet.com
9af80ef686 339051 Embedding and plugin users restrict the ability to let the system run the event loop. Always receive and dispatch events manually. Carbon. r=josh sr=darin
git-svn-id: svn://10.0.0.236/trunk@198468 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-26 18:12:46 +00:00
joshmoz%gmail.com
2b11930660 Call NSApplicationLoad() to initialize Cocoa even in Carbon builds because if anyone uses Cocoa without it being called (other components or plugins), the app goes crazy. b=337334 r=mento
git-svn-id: svn://10.0.0.236/trunk@198390 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-25 18:15:01 +00:00
bryner%brianryner.com
9b1feea97a Fix up mac widget callsites for bug 336696, r=pinkerton sr=neil
git-svn-id: svn://10.0.0.236/trunk@198389 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-25 17:52:45 +00:00
mark%moxienet.com
a874e99e1e 54488 Scrollbars in inactive windows should also be inactive. r=josh
git-svn-id: svn://10.0.0.236/trunk@198386 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-25 17:42:40 +00:00
joshmoz%gmail.com
3cde6d1574 make sound work on Intel Macs, endian problems looking at file bytes. b=339124 r=mento sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@198353 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-24 22:06:37 +00:00
mark%moxienet.com
3db1b94744 106695 Rewrite activate/update events as Carbon events. These are implemented a
s window-scope event handlers.  The unnecessary application-scope handlers are r
emoved.  r=josh sr=pink


git-svn-id: svn://10.0.0.236/trunk@198346 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-24 20:29:00 +00:00
mark%moxienet.com
7c773b7052 338759 Remove dead key event/text input code from widget/src/mac following bug 337199. r=josh a/1.8.1=me
git-svn-id: svn://10.0.0.236/trunk@198183 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 19:21:10 +00:00
mark%moxienet.com
42dd78606c 337199 Key event/text input regressions on Mac after bug 332579, RETURN key events double-processed. Also: 337277 Typed characters appear twice after visiting site with Java applet, 337338 Typing special characters (accents) and symbols with Option fails, 337370 Japanese IME broken, 336357 Keystrokes inserted twice into text input fields. Rework key event and TSM handlers. r=josh sr=shaver a/1.8.1=me&shaver
git-svn-id: svn://10.0.0.236/trunk@198132 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 00:34:36 +00:00
mark%moxienet.com
4df1e60501 338153 Frontport bug 332579 to trunk, consolidating the native event improvements made on the 1.8 branch (332579) and trunk (326273). r=josh sr=darin
git-svn-id: svn://10.0.0.236/trunk@197878 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 19:07:05 +00:00
darin%meer.net
50cc2f7a47 re-landing patch for bug 337824 "Profile Manager completely horked in Mac build" with the portion that causes Ts and Txul regressions temporarily disabled
git-svn-id: svn://10.0.0.236/trunk@196718 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 00:25:35 +00:00