Commit Graph

8142 Commits

Author SHA1 Message Date
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
joshmoz@gmail.com
142f22c12a Make the "About" menu item in the Mac OS X application menu work like the Prefs and Quit menu item. Fixes non-functional about menu item in Venkman. b=369767 r=smorgan sr=pinkerton 2007-03-27 15:40:27 -07:00
dbaron@dbaron.org
d98d9fdec5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
joshmoz@gmail.com
fa87850812 Implement CoreGraphics NPAPI Drawing Model. NPAPI plugins now have the option to render using CoreGraphics instead of Quickdraw. b=344427 r=sfraser sr=jst 2007-03-26 18:07:57 -07:00
enndeakin@sympatico.ca
3662802f55 Bug 374832, lower opacity on drag images, Bug 375038, dragging doesn't work on blocks inside inlines, r+sr=roc 2007-03-25 20:27:53 -07:00
joshmoz@gmail.com
b7dce54bb8 allow DOM to unhide menus and menu items whether or not their initial state is hidden. fixes bidi menu items. b=364994 r=mano sr=roc 2007-03-22 17:57:45 -07:00
joshmoz@gmail.com
4e9b6921e3 fix crash, suspend native events when instantiating plugins. patch by Steven Michaud. b=345627 r=josh sr=roc 2007-03-22 16:04:51 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
enndeakin%sympatico.ca
fd7aa05db5 Bug 178513, fix Windows build 2007-03-20 13:58:11 +00:00
enndeakin%sympatico.ca
6f52b34723 Bug 178513, add missing semicolon 2007-03-20 12:35:14 +00:00
enndeakin%sympatico.ca
6ccc9fa0b8 Bug 178513, support translucent drag feedback when dragging nodes and selections on Mac and GTK, r=vlad,josh,roc,sr=roc 2007-03-20 12:14:52 +00:00
surkov.alexander%gmail.com
eb4780207e Bustage fix for bug 373532 2007-03-15 02:57:04 +00:00
surkov.alexander%gmail.com
603ec4f531 Fix bustage for bug 373532 2007-03-15 02:46:45 +00:00
joshmoz%gmail.com
2c64916444 don't mark methods as NS_METHOD when they are not. b=364994 r=mano sr=pav 2007-03-14 20:12:21 +00:00
joshmoz%gmail.com
e9a5dbab0c Quit menu-item/Cmd+Q is broken in windows which don't have their own menu_FileQuitItem set. b=368911 r=mano sr=pav 2007-03-13 23:09:36 +00:00
joshmoz%gmail.com
5d744b5cf8 Fixes a visibility logic bug. Also extends support for the collapsed attribute to all menu node types (menu, menu item, and separator). Apparently there was a previous assumption that collapsed would only be used on the menu type, but that is nonsense. In XUL collapsed=true is the same as visibility:collapsed, and according to CSS2 visibility:collapsed outside the context of a table is the same as hidden:true. Cleans up the code for hidden and collapsed attribute checks. b=373730 r=mano sr=pav 2007-03-13 22:28:08 +00:00
joshmoz%gmail.com
64777640f2 remove theme constant overrides. b=372996 r=smorgan sr=vlad 2007-03-13 21:07:41 +00:00
joshmoz%gmail.com
4f0e283f00 null check native data pointer from GetNativeData. b=364994 r=mano sr=pav 2007-03-12 20:58:02 +00:00
pedemont%us.ibm.com
1cd1221722 Bug 371828 - Need to generate events for midifer keys. r=mento. 2007-03-12 16:04:40 +00:00
emaijala%kolumbus.fi
d686bd3ae4 Fix for Bug 372177: No focus event fired when a window "gets focus" because another one has been minimized
Patch by Oliver Yeoh
r=emaijala
sr=roc
2007-03-10 19:08:21 +00:00
tor%cs.brown.edu
b2cfdf8301 Build bustage fix for 373089. 2007-03-10 14:03:09 +00:00
mozilla%weilbacher.org
b0726d8c99 [OS/2] Bug 371302: fix build break due to export library changes, p=wuno, r=benjamin 2007-03-10 07:23:01 +00:00
joshmoz%gmail.com
99a71edd01 don't claim to be in menu construction when we're not. b=373378 r=mento 2007-03-09 21:08:58 +00:00
vladimir%pobox.com
512ced2f1b b=using opacity with windows native widgets causes bogus rendering/lack of rendering; r=stuart 2007-03-03 00:18:34 +00:00
pavlov%pavlov.net
53ed21afcb fixing build bustage 2007-03-01 00:29:39 +00:00
pavlov%pavlov.net
5033ec7891 enabling PDF surface on windows. bug 369930. r/sr=vlad 2007-03-01 00:02:27 +00:00
pavlov%pavlov.net
f0acef1585 fixing build bustage 2007-02-28 21:29:53 +00:00
joshmoz%gmail.com
b6cf50d6dd fix chrome button heights, fix some native button rendering issues, clean up some CSS. b=371080 r=mano sr=vlad 2007-02-27 21:54:52 +00:00
joshmoz%gmail.com
707be801d6 Replace convertLocation with other ways of doing the same thing. The name didn't make much sense, the code was messy, and it was inefficient. b=371902 r=smorgan sr=pav 2007-02-27 21:36:40 +00:00
emaijala%kolumbus.fi
2b4fe62751 Fix for bug 371564: Disabled keyboard until focus set with mouse, on Alt-Tab to Error Console (or Browser or MailNews)
Patch by Oliver Yeoh
r=emaijala
sr=roc
2007-02-27 17:50:16 +00:00
joshmoz%gmail.com
79144dedec optimize and clean up child view event handling. b=371902 r=smorgan sr=pinkerton 2007-02-27 17:23:58 +00:00
joshmoz%gmail.com
2d605f0b32 can't open libmozz dynamic library referenced from libthebes. b=370672 r=mento 2007-02-23 18:57:19 +00:00
joshmoz%gmail.com
b98c3294ac nsScreenManagerCocoa::ScreenForRect won't match any screen when window partly offscreen. Patch by Sylvain Pasche. b=370107 r=josh sr=pav 2007-02-23 03:35:59 +00:00
joshmoz%gmail.com
b9495cf989 Need to translate from Cocoa to Gecko coordinates in nsScreen[Manager]Cocoa. Original patch by Sylvain Pasche. b=370106 r=josh sr=pav 2007-02-22 21:56:50 +00:00
mozilla.mano%sent.com
7c840e8620 Bug 365405 - the xbl binding for a menupopup is attached only once the menu is opened, after popupshowing is dispatched. r=josh, sr=jst. 2007-02-21 23:37:34 +00:00
joshmoz%gmail.com
27de6bcf01 various colors in cocoa look and feel are incorrectly implemented. b=371053 r=smorgan sr=pinkerton 2007-02-20 21:52:04 +00:00
emaijala%kolumbus.fi
7d1609380e Fix for bug 261074: OnFocus fires twice when window restored
Patch by Oliver Yeoh
r=emaijala
sr=roc
2007-02-20 19:45:17 +00:00
joshmoz%gmail.com
048b1a5212 followup for 370659, all popups started overflowing because we were assigning overflow to too many widgets. Thanks to Mano for figuring out what the problem was. b=370769 r=cbarrett 2007-02-20 19:33:20 +00:00
joshmoz%gmail.com
c788fbc2c2 use correct flags for drawing disabled widgets, patch by Colin Barrett. b=370679 r=josh sr=pinkerton 2007-02-20 19:07:50 +00:00
sharparrow1%yahoo.com
d04aa717c3 Bug 370029: Stop using gParentWnd in nsDeviceContextSpecWin. r=emaijala, sr=roc 2007-02-18 10:48:47 +00:00
joshmoz%gmail.com
42d26b7841 more Mac OS X native theme work, cocoa native buttons draw outside bounds, have incorrect border/padding setup. b=370659 r=smorgan sr=pav 2007-02-17 02:48:58 +00:00
joshmoz%gmail.com
da0f6afca1 cocoa native text fields draw outside bounds, have incorrect border/padding setup. b=370593 r=smorgan sr=dbaron 2007-02-16 18:18:48 +00:00
joshmoz%gmail.com
7c16179182 add some useful debug code, no bug. r/sr=sparky 2007-02-16 07:18:56 +00:00
joshmoz%gmail.com
ad35697de6 extend nsITheme to support native focus drawing. b=370549 r=dbaron sr=roc 2007-02-16 01:53:43 +00:00
sharparrow1%yahoo.com
91c3a26c2e Bug 370185: clean up view header includes (trivial). rs=bzbarsky. 2007-02-12 19:38:10 +00:00
sharparrow1%yahoo.com
d19f64369b Bug 370185: clean up view header includes (trivial). rs=bzbarsky. 2007-02-12 19:17:33 +00:00
dietrich%mozilla.com
fa67774439 Backing out the patch for bug 342885 per comment #34 2007-02-12 03:07:55 +00:00
roc+%cs.cmu.edu
5b7c185f8e Bug 223492. Support the freedesktop startup notification API for Linux/Unix. r=caillon/mats,sr=tor 2007-02-09 01:40:03 +00:00
roc+%cs.cmu.edu
f5c47d9d22 Bug 223492. Support the freedesktop startup notification API for Linux/Unix. r=caillon/mats,sr=tor 2007-02-09 01:33:26 +00:00
mozilla%weilbacher.org
d3c8f04eb0 [OS/2] Bug 333235: Get Thebes to work on OS/2. r=mkaply
Changes to widget, including heavy whitespace cleanup in nsWindow::Destroy and nsWindow::OnPaint.
Temporary compilation workaround for nsObjectFrame.
2007-02-08 23:38:51 +00:00
pavlov%pavlov.net
288e7d96f0 fixing build bustage 2007-02-08 22:45:57 +00:00
pavlov%pavlov.net
3d677fcdf6 fixing build bustage 2007-02-08 22:32:25 +00:00
pavlov%pavlov.net
3211a9ab37 thebes API cleanup. bug 368910. r/sr=vlad 2007-02-08 22:19:41 +00:00
pavlov%pavlov.net
ce19cdccaa thebes API cleanup. bug 368910. r/sr=vlad 2007-02-08 22:01:26 +00:00