Commit Graph

8395 Commits

Author SHA1 Message Date
mats.palmgren@bredband.net
7940ebdc50 Use NS_IMPL_ISUPPPORTS macros where possible. b=387211 r=neil sr=dbaron a19=pavlov 2007-08-07 08:18:36 -07:00
sdwilsh@shawnwilsher.com
f9a22dd005 Bug 355789 - Use vista native uxtheme for menu rendering. Patch by Rob Arnold <robarnold@mozilla.com>. r=vladimir, a=[wanted-1.9] 2007-08-06 10:45:57 -07:00
sharparrow1@yahoo.com
09153a88b5 Bug 389754: button themeing goes away when applying full page zoom. r+sr=roc, a=pavlov 2007-08-03 16:43:38 -07:00
joshmoz@gmail.com
4be4ddff3e re-factor and focus event code to make it more clear. also don't do work to calculate return values that we ignore anyway when sending focus events. part 1 of bug 354768, r=cbarrett sr=pav 2007-08-02 16:01:32 -07:00
sharparrow1@yahoo.com
a61c322650 Bug 114171: Leak nsNativeDragTarget. r+sr=biesi,a19=dbaron 2007-08-02 13:55:25 -07:00
joshmoz@gmail.com
09bf2cb250 remove unused font APIs from nsIWidget. b=388369 r/sr=pav a=pav 2007-08-02 12:16:27 -07:00
joshmoz@gmail.com
b294a2e73e Favicons not showing up in history menu (most of the time). Patch by Stan Shebs. b=379660 r=josh sr=pav 2007-08-02 12:08:40 -07:00
enndeakin@sympatico.ca
eef7bc4c09 Bug 385269, no caret in textboxes inside a popup,r=josh,sr=vlad 2007-08-02 11:48:28 -07:00
enndeakin@sympatico.ca
4d66192880 Bug 385535, mac only, views in popups not painted properly, r=mark,sr=roc 2007-08-02 11:43:31 -07:00
jst@mozilla.org
83c8471b91 Adding support for cut, copy, paste events. Patch by mfenniak-moz@mathieu.fenniak.net, r=Olli.Pettay@gmail.com, sr=jst@mozilla.org,jonas@sicking.cc 2007-07-25 21:14:33 -07:00
flamingice@sourmilk.net
39cf9fb12e Bug 250143, Don't send events for unknown buttons, r+sr=roc 2007-07-25 14:26:16 -07:00
asqueella@gmail.com
35fe06e092 Bug 388855 - Kill old gfx code in nsImageClipboard
p=Jonathan Steele <xfsunoles@gmail.com>
r+sr=roc
2007-07-23 18:41:25 -07:00
asqueella@gmail.com
d9beafc5c3 Bug 385168 - Changing input locale leads to sticky ALT key
p=Dainis Jonitis <jonitis@gmail.com>
r=ere, sr=roc
2007-07-23 18:34:13 -07:00
sharparrow1@yahoo.com
955e5d5a58 Implement ScreenToWidget for Bug 388359. patch by Karl Tomlinson, r+sr=roc 2007-07-23 09:40:32 -07:00
enndeakin@sympatico.ca
78765366c2 Bug 388375, menulist dropmarker doesn't highlight, caused by incorrect case for atom,r+sr=roc 2007-07-20 12:55:42 -07:00
mozilla@weilbacher.org
0ba5ac4106 [OS/2] Bug 351167: remove obsolete resource.h, r=mkaply 2007-07-20 09:34:42 -07:00
joshmoz@gmail.com
3d65d920d1 check 380192 in again, b=388384 2007-07-19 12:59:44 -07:00
joshmoz@gmail.com
c16a2f10db back out 380192 to see if it is the cause of a perf regression. b=388384 2007-07-19 11:11:54 -07:00
joshmoz@gmail.com
daca521237 fix dragging URLs to the desktop. don't always claim to have promised file data. b=388522 r=shebs sr=pav 2007-07-19 11:09:43 -07:00
joshmoz@gmail.com
a3bf9f2e5d assorted code style and comment changes, no actual code changes. no bug. sr=sparky 2007-07-18 17:56:33 -07:00
pavlov@pavlov.net
28de9667f6 backing out 378830 due to perf regression. 2007-07-18 11:01:41 -07:00
vladimir@pobox.com
77c5fe6ed4 b=386799, crash with zero-width canvas, r=stuart,sr=roc 2007-07-18 07:40:19 -07:00
joshmoz@gmail.com
b11071d908 remove 10.3-specific code from Cocoa widgets. b=388444 r=cbarrett sr=roc 2007-07-17 17:07:36 -07:00
joshmoz@gmail.com
bcf40f4d0a followup for 358093, take care of some lifetime and null checking issues for the global drag transferables variable. b=388382 r=shebs 2007-07-17 16:02:40 -07:00
mozilla@weilbacher.org
06908ec479 [OS/2] Bug 388143: Restore possibility to copy more than 64kB text to clipboard (add note about it to ReadMe). Patch following suggestion of Andy Willis, r=mkaply 2007-07-17 14:29:54 -07:00
smichaud@pobox.com
1cb5716262 Fix several issues with popup windows in Cocoa widgets. b=387164 r=josh+cbarrett sr=pink 2007-07-17 13:29:39 -07:00
joshmoz@gmail.com
24d12d0ac7 support promised file dragging in cocoa drag service. patch by Stan Shebs. b=358093 r=josh sr=pav 2007-07-16 19:24:05 -07:00
sharparrow1@yahoo.com
f9d6bc573f Bug 381631: Cannot print pages in Landscape mode. patch by Kenneth Herron, r=pavlov, sr=roc 2007-07-16 16:16:48 -07:00
kherron@fmailbox.com
6f2b92eed8 Backing out patch for bug 315687 due to reftest failures on qm-win2k3-01. 2007-07-15 08:03:07 -07:00
kherron@fmailbox.com
7cbecc54cd Bug 315687 - Sanity check paper size prefs created before bug 309988 was fixed. r=vladimir, sr=pavlov. 2007-07-15 05:27:57 -07:00
asqueella@gmail.com
011edc69b1 Bug 378830 - UI operation delay when page contains flash images with high refresh rate
p=Wang Xianzhu <phnixwxz1@yahoo.com>
r=emaijala, sr=roc
2007-07-14 14:52:02 -07:00
kherron@fmailbox.com
6ce19ad50c Back out patch for bug 315687, due to reftest failures on win32. 2007-07-14 10:07:33 -07:00
kherron@fmailbox.com
8eb8ae55dd Bug 337771 - Native -moz-appearance work for menus and toolbars on Windows XP. Patch by Simon Bünzli <zeniko@gmail.com>. r=emaijala, sr=bzbarsky. 2007-07-14 08:11:37 -07:00
kherron@fmailbox.com
27a10e6ab8 Bug 387594 - Kill old gfx code in nsIWidget. Patch by Jonathan Steele <xfsunoles@gmail.com>. r+sr=roc. 2007-07-14 08:04:10 -07:00
kherron@fmailbox.com
0c6bd69b22 Bug 315687 - Sanity check paper size prefs created before bug 309988 was fixed. r=vladimir, sr=pavlov. 2007-07-14 07:42:55 -07:00
cbarrett@mozilla.com
7df01a0df5 Bug 367571 - all themes supporting 'scrollbar' should support 'scrollbar-small'. r=neil sr=roc 2007-07-13 14:46:28 -07:00
sharparrow1@yahoo.com
83621eeae8 Bug 347743 related fix: make SetParent actually change the parent of the widget. r+sr=roc. 2007-07-12 16:19:47 -07:00
bzbarsky@mit.edu
4d53ccf996 Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
flamingice@sourmilk.net
9cbde50d20 Bug 336214, Check all supported flavors, r+sr=roc 2007-07-12 10:20:21 -07:00
mats.palmgren@bredband.net
6680406089 Don't crash when creating a surface or rendering context fails. b=303901 r+sr=vladimir 2007-07-11 17:59:37 -07:00
joshmoz@gmail.com
7a6342321c don't use nsFocusEvent in Mac OS X code. also remove some dead code. b=387526 r=cbarrett sr=pinkerton 2007-07-11 08:40:21 -07:00
jwalden@mit.edu
6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
joshmoz@gmail.com
be05cfa434 fix "window resizing in script causes content to be drawn on top of toolbars and tabstrip chrome". b=380192 r=smorgan sr=jst 2007-07-06 17:28:29 -07:00
joshmoz@gmail.com
de0b084fd4 fix a type in the Mac OS X clipboard code that breaks HasDataMatchingFlavors. followup for bug 386751. 2007-07-05 17:36:49 -07:00
mats.palmgren@bredband.net
8472e864db Remove non-cairo PostScript support. b=385577 r=kherron sr=pavlov 2007-07-05 04:29:51 -07:00
enndeakin@sympatico.ca
59c3596049 Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, attempt 2 with creating widgets later, r=bz,neil,roc,sr=bz 2007-07-04 08:49:38 -07:00
mats.palmgren@bredband.net
42a227c78a Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst 2007-07-03 19:15:31 -07:00
joshmoz@gmail.com
f64b334504 fix a crash when invoking drag sessions and check cached transferables when saying whether or not a drag or paste supports a particular flavor. b=386751 r=cbarrett sr=pav 2007-07-03 16:13:28 -07:00
cbarrett@mozilla.com
f131cd226d bug 380185 (part 2) - Scrollbars should not try to draw their features if there is not enough space. r=josh sr=roc. 2007-07-03 13:05:15 -07:00
joshmoz@gmail.com
6542e94ec0 Scrollbars should not try to draw their features if there is not enough space. b=380185 r=josh sr=roc 2007-07-03 11:49:44 -07:00
joshmoz@gmail.com
2792f72167 rewrite much of the Mac OS X clipboard service to fix several bugs and improve performance. also a lot of cleanup. b=386225 r=smorgan sr=pav 2007-07-03 00:16:19 -07:00
roc+@cs.cmu.edu
ca5eae3b7d Bug 384975. Dispatch input events to windowless X plugins. patch by Karl Tomlinson, r+sr=roc,jst 2007-07-02 20:39:44 -07:00
sharparrow1@yahoo.com
f6656624a1 Backing out UUID change for now 2007-06-30 14:26:13 -07:00
sharparrow1@yahoo.com
2e30bcfdea Updating UUID to test what's breaking windows reftests 2007-06-30 10:59:57 -07:00
kherron@fmailbox.com
f7acb351db Backing out patch for bug 381631 again, due to reftest failures. 2007-06-30 08:01:02 -07:00
kherron@fmailbox.com
f151892264 Bug 381631 - Cannot print pages in Landscape mode. r=pavlov, sr=roc. 2007-06-30 05:02:35 -07:00
philringnalda@gmail.com
d99c752af9 Bug 161600 - Tooltip background color ignores system setting, patch by Nils Maier <MaierMan@web.de>, r=pavlov, sr=roc 2007-06-29 22:00:02 -07:00
joshmoz@gmail.com
1612e09b5a fix a bunch of incorrect keycodes on Mac OS X. b=44259 r=kreeger sr=pinkerton 2007-06-29 20:26:42 -07:00
joshmoz@gmail.com
324d2d014a always release cached drag data as soon as the drag is over, call EndDragSession correctly. b=386226 r=cbarrett sr=pinkerton 2007-06-29 20:19:41 -07:00
dbaron@dbaron.org
d8318fd464 Make nsIWidget::GetToolkit not AddRef, and thus fix leaks at callers who assumed it didn't. b=386297 r+sr=roc 2007-06-29 20:04:32 -07:00
enndeakin@sympatico.ca
8a87437d5f Bug 279703, backing out the popup changes due to performance regressions. sigh. 2007-06-29 15:15:59 -07:00
enndeakin@sympatico.ca
534c14e326 Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz 2007-06-29 12:04:45 -07:00
mconnor@steelgryphon.com
7b552b19cd backing out bug 347743 due to major crasher in 386332 2007-06-29 10:25:41 -07:00
mconnor@steelgryphon.com
1e873a4350 backing out bug 347743 due to major crasher in 386332 2007-06-29 10:21:55 -07:00
joshmoz@gmail.com
69188b92fe fix drag and drop for multiple items, fix a data corruption bug, fix dragging images out of gecko. b=385116 r=shebs sr=dbaron a=mconnor 2007-06-28 12:20:12 -07:00
jst@mozilla.org
b30f4be28c Fixing bug 347743. Delay plugin destruction on windows to get it out of layout frame destruction. r+sr=roc@ocallahan.org 2007-06-27 17:15:11 -07:00
sharparrow1@yahoo.com
5a332b3718 Bug 386108: remove nsIDrawingSurface. rs=pavlov 2007-06-27 14:53:34 -07:00
sharparrow1@yahoo.com
761d1c97af Bug 382458: Fix rounding problems in Windows theme rendering. r+sr=roc. 2007-06-27 09:42:37 -07:00
dbaron@dbaron.org
dde1dded06 Bug 385686, No Focus indicator for radios/checkboxes/textboxes on Linux, Patch by Michael Ventnor, r+sr=roc 2007-06-26 23:41:57 -07:00
dbaron@dbaron.org
1405fe4773 Bug 385686, No Focus indicator for radios/checkboxes/textboxes on Linux, Patch by Michael Ventnor, r+sr=roc 2007-06-26 23:38:51 -07:00
joshmoz@gmail.com
37ee900e61 share more code between clipboard and drag services. original patch by Colin Barrett, more clean up by me. b=358094 r=cbarrett sr=roc 2007-06-26 22:26:18 -07:00
dbaron@dbaron.org
325916e150 Back out bug 385686 to diagnose Tp/Tp2 regression bug 385957. 2007-06-26 15:16:07 -07:00
flamingice@sourmilk.net
f275c2eef0 Bug 385686, No Focus indicator for radios/checkboxes/textboxes on Linux, Patch by Michael Ventnor, r+sr=roc 2007-06-25 21:13:30 -07:00
mats.palmgren@bredband.net
9d3559b3eb Removing obsolete files. b=385638 2007-06-25 11:39:52 -07:00
joshmoz@gmail.com
1fc82e2f45 simplify some things in base native theme so that the difference between listbox and combobox styling is clear. b=385367 r=cbarrett sr=roc 2007-06-25 08:33:51 -07:00
kherron@fmailbox.com
7da20483cd Back out patch for bug 381361 due to ref test failures on Windows. 2007-06-24 08:13:23 -07:00
kherron@fmailbox.com
3af9fe5cfb Fix bustage from bug 381631. 2007-06-24 04:47:08 -07:00
kherron@fmailbox.com
88496fd2b4 Bug 381631 - Cannot print pages in Landscape mode. r=pavlov, sr=roc. 2007-06-24 04:20:34 -07:00
joshmoz@gmail.com
e029c86cf2 Back out fix for bug 385367 because it regresses Windows comboboxes. This code is still wrong but Windows depends on it for now. 2007-06-21 22:22:09 -07:00
smichaud@pobox.com
d684f681db Fix regression caused by and bug unmasked by bug 373122 patch (display
problem and keyboard focus problems). b=384343+383821 r=josh sr=roc
2007-06-21 16:58:16 -07:00
joshmoz@gmail.com
80c890c209 IsWidgetStyled calculates case NS_THEME_DROPDOWN incorrectly. It shouldn't be doing anything with the NS_THEME_DROPDOWN case right now. b=385367 r=cbarrett sr=roc 2007-06-21 14:27:43 -07:00
mats.palmgren@bredband.net
aff6b64607 Remove obsolete file widget/src/gtk2/nsIGdkPixbufImage.h. b=384747 r+sr=roc 2007-06-18 20:09:02 -07:00
stuart.morgan@alumni.case.edu
6b8b9c879b Bug 384509: preserve button end-cap shape when shrinking buttons below HITheme minimums. r=josh sr=pink 2007-06-17 17:29:34 -07:00
kherron@fmailbox.com
b631a0ec0d Bug 382169 - Print Preview overwrites printed file. Part II - removed files. r=pavlov, sr=cbiesinger. 2007-06-17 14:07:40 -07:00
kherron@fmailbox.com
47f2f97a54 Bug 382169 - Print Preview overwrites printed file. r=pavlov, sr=cbiesinger. 2007-06-17 13:17:23 -07:00
emaijala@kolumbus.fi
0f3456a4e7 Backing out patch of bug 261074 (OnFocus fires twice when window restored) due to unfixed regressions. 2007-06-17 03:59:19 -07:00
masayuki@d-toybox.com
59ac08157a Bug 377478 Implement a way to get the toggled keyboard states (e.g., Caps Lock, Num Lock and Scroll Lock). patch by Mats(gtk2 part) and me (other parts) r=ere+josh+me, sr=roc 2007-06-16 12:19:46 -07:00
mats.palmgren@bredband.net
df0f128cb1 Bye bye non-cairo GTK gfx. b=383889 r+sr=vladimir 2007-06-15 19:13:52 -07:00
joshmoz@gmail.com
0b375ade98 mGeckoChild can be null, we need to null check before all uses. b=384448 r=smorgan sr=vlad 2007-06-15 15:34:48 -07:00
joshmoz@gmail.com
ae259a5645 fix typo, bug 384511. 2007-06-14 18:54:44 -07:00
mozilla@weilbacher.org
007c372528 [OS/2] Bug 371505: check in preliminary workarounds for Thebes repaint problems based on ideas from Andy Willis 2007-06-14 13:38:55 -07:00
aaronleventhal@moonset.net
df3ea7e510 Bug 381888. Caret tracking broken with Windows screen readers [Cairo-related]. When a11y active, follow Gecko caret around with invisible system caret. r=surkov 2007-06-14 10:12:50 -07:00
bzbarsky@mit.edu
9ba6252982 Don't create huge surfaces. We need a surface big enough to hold our widget'spixel dimensions, not twip dimensions. Bug 384266, r+sr=roc 2007-06-13 15:34:06 -07:00
mats.palmgren@bredband.net
266f784855 Bye bye Xprint. b=326716 r+sr=dbaron 2007-06-13 11:02:58 -07:00
joshmoz@gmail.com
e706c28243 use a smaller button font size by default on Mac OS X. b=262191 r/sr=roc 2007-06-12 14:51:10 -07:00
joshmoz@gmail.com
0956b1d58d use the correct cg context for drawing buttons all the time, so long as we have a minimum sdk of 10.4. b=382883 r=smorgan sr=roc 2007-06-12 14:48:14 -07:00
joshmoz@gmail.com
8fd7d4c19c clean up child view event handling code. better comments, better method names, better event conversion organization. b=383560 r=cbarrett sr=pinkerton 2007-06-12 13:28:26 -07:00
joshmoz@gmail.com
0a44bb26c4 clean up, consolidate some code. b=383560 r=smorgan sr=pinkerton 2007-06-12 13:26:24 -07:00
dbaron@dbaron.org
e081e40318 Enable native theme drawing for listbox selects. b=329846 Patch by Vassil Stefanov <v.stefanov@jacobs-university.de>. r+sr=roc 2007-06-12 11:29:51 -07:00
sdwilsh@shawnwilsher.com
87db3b3879 Bug 380682 - nsIIdleService should allow observers to specify time in seconds instead of minutes. r=roc, sr=neil 2007-06-12 10:13:24 -07:00
joshmoz@gmail.com
0004ace2b4 back out, tree closed 2007-06-11 12:31:35 -07:00
joshmoz@gmail.com
5e49ddeed9 top-level window code cleanup, b=383560 r=smorgan sr=pinkerton 2007-06-11 12:24:04 -07:00
mozilla@weilbacher.org
58a7060568 Bug 380196: Kill QT graphics code, p=sciguyryan, r/sr=roc 2007-06-10 15:13:08 -07:00
roc+@cs.cmu.edu
0450fa102e Bug 380538. Allow both ononline and onoffline to be specified in the body element. patch by Chris Double, r=Olli.Pettay,sr=jonas 2007-06-06 20:28:04 -07:00
flamingice@sourmilk.net
1976e727e3 Bug 383055, all toplevel windows placed at top left, Patch by Tuukka Tolvanen, r+sr=roc 2007-06-05 12:57:38 -07:00
flamingice@sourmilk.net
86259690a0 Bug 329846, enable native theme in HTML content on Linux, Patch by Michael Ventnor, r+sr=roc 2007-06-04 20:26:43 -07:00
joshmoz@gmail.com
b63a0df8e1 use a smaller system font for eSystemFont_List on Mac OS X. b=262191 r=smorgan sr=roc 2007-06-02 15:17:23 -07:00
philringnalda@gmail.com
48dda27711 Bug 363415 - Toolbar control (toolbar collapse widget) missing in Cocoafox, patch by Colin Barrett <cbarrett@mozilla.com>, r=mento, r=josh, sr=mconnor 2007-05-30 22:07:18 -07:00
joshmoz@gmail.com
0807823da2 don't modify the view hierarchy during drawing. patch by Steven Michaud. b=373122 r=josh sr=pinkerton 2007-05-30 11:25:44 -07:00
joshmoz@gmail.com
d6015ce03e don't let comboboxes render their labels over the native combobox button on Mac OS X. b=382043 r/sr=roc 2007-05-28 22:31:04 -07:00
joshmoz@gmail.com
4b831f86c6 fix "can't drag and drop buttons when customizing toolbars", patch by Stan Shebs. b=358446 r=josh sr=pav 2007-05-28 22:06:12 -07:00
sharparrow1@yahoo.com
6470166948 Bug 382111: Flash animation in top left of page. r+sr=roc/ 2007-05-28 21:53:22 -07:00
roc+@cs.cmu.edu
182c294250 Bug 343430. Reduce the area we scroll on Windows to reduce flicker by excluding areas that shouldn't be moving. On Linux, since we can't control the area we scroll, just disable accelerated scrolling in that case and repaint everything. r+sr=dbaron 2007-05-27 20:17:20 -07:00
joshmoz@gmail.com
56233fb7f8 get rid of extra width and height for native comboboxes on Mac OS X. b=376823 r=cbarrett sr=roc 2007-05-25 11:15:21 -07:00
joshmoz@gmail.com
1342fe5b4c turn on native form controls for Mac OS X again... b=175279 sr=pav 2007-05-24 01:13:04 -07:00
joshmoz@gmail.com
d6d2a9ab08 turn native form controls off again on mac, more reftest problems 2007-05-23 14:50:54 -07:00
joshmoz@gmail.com
0a0d69970c Turn native form controls on again for Mac OS X. b=175279 a=mconnor 2007-05-23 12:49:24 -07:00
mozilla.mano@sent.com
bf260e2b9d Bug 371426 - repaint xul buttons when the default attribute is changed. r=josh, sr=pink. 2007-05-22 17:10:02 -07:00
joshmoz@gmail.com
ab0dbd4bcd turn native form controls off on Mac OS X until reftests pass. b=175279 2007-05-22 14:16:39 -07:00
joshmoz@gmail.com
2d375302cb Turn on native theme for HTML content on Mac OS X. Bugs remain, but this way we'll get better test coverage and move forward more quickly. Should we discover too many issues for Gecko 1.9a5, we'll flip it back off until 1.9a6. b=175279 sr=roc a=mconnor 2007-05-22 13:24:28 -07:00
joshmoz@gmail.com
276bc7a680 clean up combobox borders, preliminary fix for bug 376823. r=cbarrett sr=roc 2007-05-22 12:35:18 -07:00
mats.palmgren@bredband.net
961f2ca8fc Null-check results from PR_Find*Symbol. Fix UMR when the stream is less than 4 bytes. b=241738 r+sr=cbiesinger 2007-05-20 01:56:36 -07:00
joshmoz@gmail.com
79ffe0b1d1 don't put a dropmarker in comboboxes if nsITheme says not to. b=370282 r/sr=roc 2007-05-17 20:04:04 -07:00
joshmoz@gmail.com
481fa7ad36 Contextmenu doesn't disappear correctly when Firefox is in background. Also, Firefox doesn't dismiss context menu when it is in the background and a user clicks on another application. b=339945 r=cbarrett sr=roc 2007-05-17 19:06:59 -07:00
joshmoz@gmail.com
c6dc23535c fix sizing of native checkboxes and radio buttons. be more flexible as well. b=380791 r=cbarrett sr=roc 2007-05-17 19:01:02 -07:00
mats.palmgren@bredband.net
00e4fdb689 Don't bother painting a selection into an empty rect. Avoid using an invalid surface for painting ops. b=380611 r+sr=vladimir 2007-05-17 03:14:35 -07:00
bzbarsky@mit.edu
b7760baaac Remove no longer needed null-check too. Still no bug. 2007-05-16 23:57:52 -07:00
bzbarsky@mit.edu
be90c1955a Remove addref that shouldn't be there and causes leaks. No bug, r=vlad 2007-05-16 23:52:35 -07:00
enndeakin@sympatico.ca
f53073946d Bug 376238, add a pref to disable drag images, r=sr=roc 2007-05-16 11:05:23 -07:00
roc+@cs.cmu.edu
590dcb10fd Bug 379635. Don't return random min-widths for native scrollbars when the scrollbar rect is empty. r=cbarrett, sr=dmose 2007-05-15 15:19:54 -07:00
Olli.Pettay@helsinki.fi
7817abfbca Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
mats.palmgren@bredband.net
b3b5d084fc Make CreateRenderingContext() return error for a null surface and add error handling to callers. b=362201 r+sr=vladimir 2007-05-12 06:06:16 -07:00
Olli.Pettay@helsinki.fi
40178e46a3 backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
7124fdccd2 mac bustage fix 2007-05-11 04:25:59 -07:00
joshmoz@gmail.com
44ffd0da4a Window position is not persisted (persist="screenX screenY" doesn't work). Patch by Colin Barrett. b=376808 r=josh sr=pinkerton 2007-05-10 16:54:05 -07:00
joshmoz@gmail.com
facadd1888 Use small control type for radio buttons and checkboxes in HTML. On Windows and Linux this has no effect because small and normal are the same thing, but it means we can differentiate on Mac OS X where they are not. b=380056 r/sr=roc 2007-05-09 12:17:17 -07:00
joshmoz@gmail.com
78fa2b7308 DrawButton draws more than just push buttons, this fixes some missing/misdrawn button types on Mac OS X. b=379612 b=379993 sr=pinkerton 2007-05-08 05:54:48 -07:00
joshmoz@gmail.com
97037c3c7f HTML content buttons are unnecessarily wide. b=376816 r=mano sr=roc 2007-05-07 19:14:03 -07:00
joshmoz@gmail.com
ac893c90fa remove support for NS_THEME_BUTTON_SMALL, fix up toolkit consumer. b=379542 r=cbarrett r=mano sr=roc 2007-05-07 18:20:11 -07:00
stefanh@inbox.com
cbbcc7812d Bug 371609 - CSS2 system color Highlight should obey color changes in system prefs. r=josh+Mano, sr=vlad. 2007-05-07 13:27:53 -07:00
joshmoz@gmail.com
58a0e676e8 Differentiate between single line and multiline text fields/areas so that we can render them differently. On Mac OS X render multiline text areas as Aqua text areas. b=377331 r=smorgan sr=roc 2007-05-06 19:06:58 -07:00
kjh-5727@comcast.net
8c19e57b2c Bustage fix from 377096. 2007-05-06 04:44:33 -07:00
kjh-5727@comcast.net
bc93bea324 Bug 377096 - Factor out nsIPrintOptions::AvailablePrinters. r=pavlov, sr=biesi. 2007-05-06 04:29:41 -07:00
joshmoz@gmail.com
bc9bc05097 stop using a call that doesn't exist on 10.3, 99% of the time not calling it doesn't matter but I'll have a real fix soon. r=mento 2007-05-03 12:47:33 -07:00
mats.palmgren@bredband.net
781088d843 Bye bye gtk1 and xlib (part 2 of 2). b=326152 r+sr=roc 2007-05-02 17:10:01 -07:00
joshmoz@gmail.com
a9dddfe17f [re-landing] allow buttons to render at smaller sizes than Mac OS X itself will draw using HITheme. Also fixes 376695, allow buttons to accept padding. b=379297 r=cbarrett r=mano sr=pinkerton 2007-05-02 16:47:53 -07:00
asqueella@gmail.com
6395724420 Bug 318331 - Default build does not support Xinerama - detect support at runtimep=Sylvain Pasche <sylvain.pasche@gmail.com>r+sr=roc 2007-05-02 13:07:32 -07:00
joshmoz@gmail.com
f99a2730f1 replace Apple Event Manager macro usage with the contents of the macro so it is more clear what is going on. r=mento 2007-05-02 12:22:18 -07:00
joshmoz@gmail.com
888667744e Remove some files as part of bug 379319. r=enn sr=dbaron 2007-05-02 11:13:18 -07:00
silver@warwickcompsoc.co.uk
f7fb5c2811 Bug 295355 - Play minimize sound when we're hacking the working set. r=emaijala sr=bryner 2007-05-02 02:24:52 -07:00
asqueella@gmail.com
8f692964b7 Bug 379085 - Build with GCC-4.3 fails due to extra semi-colons and '-pedantic'p=Art Haas <ahaas@airmail.net>r+sr=roc 2007-05-02 01:03:46 -07:00
joshmoz@gmail.com
30d491a760 Remove nsINativeScrollbar and nsNativeScrollbarFrame. patch by Colin Barrett. b=379319 r=enn sr=dbaron 2007-05-02 00:46:50 -07:00
roc+@cs.cmu.edu
010e67de84 Backing out patch since it broke 3 mochitests and no-one's around to babysit. 2007-05-01 16:54:55 -07:00
bzbarsky@mit.edu
086c2eb0c0 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
joshmoz@gmail.com
0604497a38 allow buttons to render at smaller sizes than Mac OS X itself will draw using HITheme. Also fixes 376695, allow buttons to accept padding. b=379297 r=cbarrett r=mano sr=pinkerton 2007-05-01 14:52:22 -07:00
mats.palmgren@bredband.net
c712869d45 Bye bye gtk1 and xlib (part 1 of 2). b=326152 r+sr=roc 2007-04-30 16:52:44 -07:00
joshmoz@gmail.com
3bfffb7a8c <input type="button" disabled> not rendered as disabled native widget. sync with forms.css. patch by Stuart Morgan. b=376577 r=josh sr=dbaron 2007-04-30 11:20:27 -07:00
mats.palmgren@bredband.net
dc2e58efd7 Make nsWindow methods assume the caller holds a strong ref on 'this'. b=378273 r+sr=roc 2007-04-29 17:46:47 -07:00
asqueella@gmail.com
aaa5864da0 Bug 301089 - Pressing a key while another key held down does not generate keydown eventp=O. Atsushi (Torisugari) <torisugari@gmail.com>r+sr=roc 2007-04-27 09:34:44 -07:00
mats.palmgren@bredband.net
7fc5c0ffc9 Plug leak of XineramaScreenInfo. b=378621 r+sr=roc 2007-04-27 03:19:41 -07:00
dbaron@dbaron.org
bddd2d4f95 Fix warnings in nsNativeThemeGTK.cpp. b=378698 r+sr=roc 2007-04-25 23:57:37 -07:00
dbaron@dbaron.org
3eac6a113c Use the NS_ARRAY_LENGTH macro rather in place of other macros that existed before it. b=378697 r+sr=roc 2007-04-25 23:56:36 -07:00
joshmoz@gmail.com
a798e754b0 Rework the way we handle mouse move events targeted at popup windows. This behavior is more correct (mimics gtk2) and the impl is cleaner. Fixes bugs 376811, 371405, 354768, 377105, and probably 378316. r=cbarrett sr=sicking 2007-04-24 12:02:31 -07:00
benjamin@smedbergs.us
baab01ada6 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
joshmoz@gmail.com
361cc2ccbb get rid of the rest of PR_Malloc and PR_Free usage from cocoa widgets. Who knows why using it here doesn't cause a linking problem but using it in the menu code does... followup, b=363574 2007-04-22 22:33:57 -07:00
joshmoz@gmail.com
ce69a73bd6 try to fix seamonkey orange, will hopefully revert this change when we figure out what is going on. 2007-04-22 18:35:48 -07:00
enndeakin@sympatico.ca
316ac7ccd9 Bug 375681, fix bustage on os2, patch by Walter Meinl, r=kaply 2007-04-22 10:47:28 -07:00
joshmoz@gmail.com
f01720949e add the ability to show icons in native menus under cocoa widgets. b=363574 r=mento sr=pav 2007-04-21 18:42:17 -07:00
masayuki@d-toybox.com
f3b780182a Bug 376093 When writing in Korean, one has to press enter two times to break the line r=josh, sr=stuart 2007-04-21 17:37:27 -07:00
joshmoz@gmail.com
0e725c6a21 Ctrl-click doesn't select tree items before triggering context menu. fix that. b=368397 r=cbarrett sr=pav 2007-04-19 13:18:46 -07:00
joshmoz@gmail.com
c146840345 followup for bug 376109, fix compile of mac carbon code. r=me, dead code. 2007-04-18 09:50:21 -07:00
joshmoz@gmail.com
5cced8d545 remove unnecessary semicolon in method impl signature. no bug. 2007-04-17 15:32:40 -07:00
joshmoz@gmail.com
89d80a007a use the Cocoa method for hiding cursor, not Quickdraw. b=377807 r=cbarrett sr=pav 2007-04-17 14:41:31 -07:00
dbaron@dbaron.org
9b013dc30a Add missing calls to PR_UnloadLibrary (excluding XPCOM component loader and nsPluginsDir*). b=374332 r=bsmedberg 2007-04-15 15:22:58 -07:00
masayuki@d-toybox.com
ad3d268bbe Bug 358899 [Cocoa] Improve nsIKBStateControl implementation r=josh+ere+masaki.katakai+roc, sr=roc 2007-04-15 06:43:55 -07:00
enndeakin@sympatico.ca
932380f594 Bug 375681, use drag event names from what-wg spec, also implement new drag and dragend events, r=smaug,sr=roc 2007-04-11 21:37:39 -07:00
mozilla.mano@sent.com
0d33adbdac Bug 377181 - 'Jump to here' system preference is not followed by (new) non-native scrollbars. r-cbarrett, sr=roc. 2007-04-11 17:36:40 -07:00
joshmoz@gmail.com
3bce40ec04 add NS_VK_HELP to GUI event macros. no bug. r/sr=pav 2007-04-11 16:44:19 -07:00
marco@gnome.org
f31731326d #376777 Only set text/uri-list from x-moz-url when no uri-list has beenexplicitly set. Patch by Tomeu Vizoso.r=roc sr=roc 2007-04-11 02:06:02 -07:00
joshmoz@gmail.com
6169494daa Draw native scrollbars using nsITheme on Mac OS X. Don't use a cocoa control. Fixes a whole host of clipping and visibility bugs and bugs 339447, 369293, 370439. r=josh sr=roc 2007-04-10 17:25:11 -07:00
joshmoz@gmail.com
8f440ac505 re-work the way we send NS_MOUSE_ENTER and NS_MOUSE_EXIT events to be more robust, don't drop events, and always order events correctly. This fixes 355102 and 332138 for sure, and probably fixes most of 354768 and 357253. The latter two bugs can sometimes have other causes as well. r=shebs sr=pav 2007-04-10 13:07:49 -07:00
enndeakin@sympatico.ca
c248a71ad1 Bug 372047, support reversing scale widget,r=neil,josh 2007-04-09 15:59:42 -07:00
enndeakin@sympatico.ca
c04abaf92b Bug 372047, support reverse direction scales, r=neil,josh 2007-04-09 15:39:57 -07:00
enndeakin@sympatico.ca
40d00b20fb Bug 376245, follow up which removes the scaling as the units for nsIImage:Draw are pixels, r+sr=roc 2007-04-06 04:40:58 -07:00
joshmoz@gmail.com
54c3aa43e5 some cocoa widget cleanup. no bug. r=cbarrett sr=pav 2007-04-05 17:26:53 -07:00
joshmoz@gmail.com
f53c565f6e fix hang on page with five or more Flash objects. patch by Steven Michaud. r=josh r=mento sr=pav 2007-04-05 17:16:07 -07:00
joshmoz@gmail.com
3f442ef602 add native resize animation support to nsIDOMChromeWindow. b=347452 r=mento r=jst sr=pav 2007-04-05 17:11:41 -07:00
enndeakin@sympatico.ca
926214383f Bug 376245, custom drag images not drawn properly, r+sr=roc 2007-04-04 05:46:36 -07:00
surkov.alexander@gmail.com
6f2972fad6 Bustage fix for bug 374790 2007-04-04 02:00:47 -07:00
vladimir@pobox.com
27d4adde0b b=374462, update cairo to 1.4.2, r=stuart 2007-04-03 18:09:15 -07:00
joshmoz@gmail.com
8f60c0aa9c srcdir build bustage fix from bug 349618. r=mento 2007-04-03 15:19:48 -07:00
joshmoz@gmail.com
e106b801fc Package cursor images correctly on Mac OS X so that all CSS cursor values work. b=349618 r=smorgan sr=bsmedberg 2007-04-03 13:19:36 -07:00
roc+@cs.cmu.edu
613ddd50af Bug 368016. Don't XFlush() in SetCursor(), it's slow and can be called often. r=caillon 2007-04-02 20:21:39 -07:00
vladimir@pobox.com
fc0ee382c9 b=374262, fix win32 chromeless window opacity, r=stuart 2007-04-02 11:53:43 -07:00
philringnalda@gmail.com
b8f144ad9c Bug 367658 - implement nsIIdleService on OS X, patch by Shawn Wilsher <comrade693+bmo@gmail.com>, r=josh, sr=pink 2007-03-31 18:51:18 -07:00
bugzilla@standard8.demon.co.uk
f8bbbffb2e Bug 373420 Uppercase the VK_* bits for consistency with the rest of the codebase (Fv1 /widget) comment only change p=Serge Gautherie <sgautherie.bz@free.fr>,r=joshmoz 2007-03-31 01:18:09 -07:00
joshmoz@gmail.com
ed5252f114 remove app-specific code from tier-9 code. add a pref to handle native popup windows on Mac OS X instead. b=323062 r=smorgan sr=bsmedberg 2007-03-30 12:51:51 -07:00
Olli.Pettay@helsinki.fi
c7242adcd9 Bug 375687, nsBaseDragService::GetPresShellForContent leaks r=enndeakin,sr=roc 2007-03-28 14:18:11 -07:00
joshmoz@gmail.com
cdd5ef35a4 Followup for bug 369767. Remove old workaround for the bug in our menu overlay, hide about menu item separator like we do for prefs and quit. b=369767 r=mano 2007-03-27 22:10:53 -07:00
joshmoz@gmail.com
d3787094ec Fix Mac OS X printing, don't just print blank pages. Patch by Stuart Parmenter. b=368933 r=josh sr=pav 2007-03-27 22:04:28 -07:00