Commit Graph

7850 Commits

Author SHA1 Message Date
hwaara%gmail.com
7a95915e2c (Last fix was for bug 350018.) 2006-09-21 16:25:01 +00:00
hwaara%gmail.com
894c4a4cec Take account of the fact that NSView's convertRect:toView:nil does not respect that our custom view (ChildView) is flipped. We do this by adding the height of the view's rect, to correctly place the view's origin in the top-left.
This fixes WidgetToScreen() and in effect makes nsIFrame::GetScreenRect() and nsIFrame::GetScreenRectExternal() behave correctly on cocoa widgets.
r=josh, sr=pinkerton
2006-09-21 16:22:44 +00:00
vladimir%pobox.com
0e0cc83741 build fix for gtk1 for 344323 2006-09-20 22:01:16 +00:00
vladimir%pobox.com
80e42601ba b=344323, allow nsCocoaWindow instances to be displayed on secondary monitors [correctly determine the screen for a given window under Cocoa], sr=stuart 2006-09-20 21:08:24 +00:00
martijn.martijn%gmail.com
dd78e2b9c0 Bug 352936 - Download manager window not focused properly when already open and using Do this automatically, patch by Adam Guthrie, r+sr=roc 2006-09-20 19:16:19 +00:00
martijn.martijn%gmail.com
d26cfa8f62 Bug 350766 - Need to move scrollbar width/height code into widget/, patch by Adam Guthrie, r+sr=roc 2006-09-20 19:12:06 +00:00
hwaara%gmail.com
8bd6cd94b4 Make ChildView use the new |isRoot| method to see if its associated mozAccessible is the root accessible. b=352327, r=josh 2006-09-19 08:44:03 +00:00
dbaron%dbaron.org
af1c0a6a6b Pick up dynamic changes in screen size (although some other things still cache them per-window). b=256646 r+sr=roc 2006-09-18 23:37:21 +00:00
bzbarsky%mit.edu
9e96ce4079 Initialize both x and y, not just y. Bug 334782, patch by Bruno 'Aqualon'
Escherl <aqualon@aquachan.de>, r+sr=roc
2006-09-15 19:55:09 +00:00
pavlov%pavlov.net
22b21deaf6 reverting changes from bug 347208 due to regression 357208 2006-09-14 22:39:58 +00:00
joshmoz%gmail.com
dda64c23fb unimplemented functions shouldn't return NS_OK (mac menu code). b=294317 r=hwaara 2006-09-14 17:47:24 +00:00
pedemont%us.ibm.com
3804955158 Bug 351479 - Make nsIChangeObserver and nsIChangeManager be non-scriptable. r=joshmoz 2006-09-14 15:33:53 +00:00
hwaara%gmail.com
7712a19aee Address additional review comments for bug 342146. Remove DispatchAccessibleEvent(), and fix some spacing nits. r=mento 2006-09-14 09:29:28 +00:00
pavlov%pavlov.net
08f0ea13d6 fixing cocoa widget painting too often bug 34708. r=mento sr=vlad 2006-09-13 21:45:47 +00:00
scott%scott-macgregor.org
8d329e6a55 Bug #223909 --> widget support for copying and pasting windows clipboard images.Add code to decode windows bitmaps from the clipboard, encoding them into jpegs using the new encoding APIs and passing them back to clipboard consumers as nsIInputStreams.
r=pav
sr=vlad
2006-09-13 19:52:44 +00:00
joshmoz%gmail.com
42d7142b7b make popup windows slightly transparent in Cocoa widgets. b=351656 2006-09-13 17:26:58 +00:00
hwaara%gmail.com
d8424ef3c7 #DEBUG-only change. r=josh 2006-09-13 16:07:14 +00:00
flamingice%sourmilk.net
b8f73f5f01 Bug 297636, crash on dnd to self-closing window, r+sr=roc 2006-09-12 03:22:00 +00:00
joshmoz%gmail.com
96613c0808 fix up some ugly bracing for clarity. 2006-09-11 17:09:47 +00:00
hwaara%gmail.com
1c6b969cf5 Hookup cocoa widgets to new accessibility support. r=josh, b=342146
Off by default, and cocoa-only.
2006-09-11 15:47:35 +00:00
sayrer%gmail.com
da7c598cf6 Bug 348669. use delete[]. r+sr=biesi 2006-09-10 22:42:19 +00:00
sayrer%gmail.com
664c3c7226 Bug 348669. use delete, not nsCRT::free. Thanks to Alfred Kayser <alfredkayser@nl.ibm.com> for spotting this. r+sr=biesi 2006-09-10 19:17:10 +00:00
cbiesinger%web.de
18a14d01d3 Bug 352049 Kill the font download dialog
r=smontagu sr=bz
2006-09-10 19:15:09 +00:00
Olli.Pettay%helsinki.fi
302031f738 Back out Bug 344986 to fix tp regression 2006-09-10 11:53:55 +00:00
Olli.Pettay%helsinki.fi
72a64308b9 Bug 344986, Simplify nsEventListenerManager, r=sicking, sr=jst 2006-09-09 17:28:57 +00:00
masayuki%d-toybox.com
a27a1c2b4c Bug 347875 Support WM_MOUSEHWHEEL for tilt wheel mouse. the patch based on the patch of Masatoshi Kimura (:emk) <VYV03354@nifty.ne.jp>. r=ere+Kimura-san, sr=roc 2006-09-08 06:04:44 +00:00
sayrer%gmail.com
9395f31ee3 bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron 2006-09-08 04:35:17 +00:00
hwaara%gmail.com
669fb20ece * Share some code to flip a bottom-left (cocoa) point to a top-left screen point.
* Rename some existing utility functions to clarify that no coordinate conversion is done.
r=josh, b=350018
2006-09-07 18:53:59 +00:00
joshmoz%gmail.com
b20e41e8c4 reduce some logging in debug builds. b=349651 2006-09-06 17:35:02 +00:00
Olli.Pettay%helsinki.fi
64e491c833 Bug 351036, Combine NS_IMAGE_ERROR and NS_SCRIPT_ERROR, r+sr=jst 2006-09-02 10:00:26 +00:00
ginn.chen%sun.com
55ce289e98 Bug 349522 all dialogs fires no a11y events
patch by evan.yan at sun.com r=arronlev
2006-09-01 09:33:12 +00:00
mark%moxienet.com
4c6acdfe3b 350647 Tinderbox orange, can't launch trunk universal suite builds on 10.4 ppc, link order needs fixing. Move system libs after Mozilla libs. r=bsmedberg 2006-08-31 21:24:43 +00:00
Olli.Pettay%helsinki.fi
a42613e4f6 Bug 350846, Combine NS_***_LOAD events, r+sr=jst 2006-08-31 19:33:01 +00:00
enndeakin%sympatico.ca
4e649bfc71 Bug 348614, support dropmarker theming, r=roc 2006-08-31 18:51:18 +00:00
vladimir%pobox.com
9571eb2e31 10.3.9 cocoa hitheme fix 2006-08-30 23:35:41 +00:00
vladimir%pobox.com
0b0af5db8b b=348645, part of cocoa-cairo native theme stuff, just enough to get cairo builds working, r=me 2006-08-30 22:06:44 +00:00
vladimir%pobox.com
38f00a50f6 b=350763, add IsFirstTab/IsLastTab predicates to native theme xpwidget code, r=stuart 2006-08-30 21:47:16 +00:00
ginn.chen%sun.com
d115062c9f Bug 332660 GTK file picker as used in Firefox is not accessibile for GOK
r=aaronleventhal sr=roc
2006-08-30 05:19:06 +00:00
mark%moxienet.com
9f633cdda0 349189 Can't change Page Setup from portrait to landscape on x86 Mac. (Other Page Setup changes might have been a problem on ppc Macs, too.) Encode length of frozen page setup data to avoid decoding too much when thawing. r=josh sr=pink 2006-08-29 19:01:31 +00:00
mark%moxienet.com
4704c916ed 345388 Crashes frequently on 10.3, often related to manipulating popup windows. Crashes [@ CoreGraphics.203.30.0 + 0x13ceb0] [@ nsImageMac::DrawToImage] [@ CGImageGetData] [@ CGImageEPSRepRelease] due to memory corruption. Don't fade out pop-ups to hide them on 10.3. r=josh 2006-08-29 18:00:32 +00:00
masayuki%d-toybox.com
e09105ffab Bug 349727 random crash due to trashed nsWindow::mIMEData r=masaki.katakai, sr=roc 2006-08-29 16:05:49 +00:00
mark%moxienet.com
dc2469abcc Tree closed, backing out 2006-08-29 15:31:07 +00:00
mark%moxienet.com
d4fbdca261 345388 Crashes frequently on 10.3, often related to manipulating popup windows. Crashes [@ CoreGraphics.203.30.0 + 0x13ceb0] [@ nsImageMac::DrawToImage] [@ CGImageGetData] [@ CGImageEPSRepRelease] due to memory corruption. Don't fade out pop-ups to hide them on 10.3. r=josh 2006-08-29 15:28:33 +00:00
timeless%mozdev.org
6d112f0859 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:17:01 +00:00
mark%moxienet.com
edbdeffd4b 347626 Touchpad (two-finger) scrolling too fast in trees, lists, and web apps. Disable pixel-scrolling until we can come up with a better plan. r=roc sr=roc 2006-08-28 15:31:07 +00:00
joshmoz%gmail.com
af1859d5a0 do native widget visibility check in addition to gecko widget, use that when deciding if plugin views are visible. b=350140 r=mento 2006-08-25 20:36:18 +00:00
pedemont%us.ibm.com
a759f14f5b Bug 350080 - make nsPIWidgetMac non-scriptable. r=mento/josh 2006-08-24 21:05:49 +00:00
jst%mozilla.jstenback.com
fafe836f5a Fixing bug 349790. Make the file picker not fail if some optional function symbols can't be found in the GTK libraries on the system. r+sr=roc@ocallahan.org. 2006-08-24 20:21:50 +00:00
ginn.chen%sun.com
2ab89c3bde Bug 347983 [atk]Build properly when libatk < 1.12.1 on build platform
r=aaronlev, bsd, Frank Hecker
2006-08-24 03:22:00 +00:00
mark%moxienet.com
c4ca5ed6ec 339346 Proper CJK input in Flash impossible (NS_KEY_DOWN events sent during IME input). Watch the TSM document during keydown. If it doesn't belong to the window, send events to TSM before dispatching keydown to give plugins a crack at the data. Send keydowns if TSM doesn't handle the event. r=josh sr=pink 2006-08-22 20:04:11 +00:00
mark%moxienet.com
9adc1883b9 348398 Double-clicking deselected tree item in background window opens previously selected item. Kill double-clicks when activating or deactivating a window, or on keypresses or text input. r=josh sr=pink 2006-08-22 19:48:36 +00:00
joshmoz%gmail.com
6739ff99a6 clean up nsDeleteObserver, fix comment. no actual code changes. 2006-08-22 15:56:41 +00:00
timeless%mozdev.org
7a76f300c2 Bug 203307 Implement drag/drop via IStream interface
fix 64bit longs
r=cls
2006-08-20 09:20:23 +00:00
joshmoz%gmail.com
e3a5021823 we should check for changes to the label on menu item nodes so if people are messing with that via js we pick it up. fixes menu item labels in Places. b=347672 r=mento 2006-08-17 21:21:57 +00:00
pavlov%pavlov.net
bf2b049668 fixing copy image on windows. bug 329564. r=vlad 2006-08-17 19:10:40 +00:00
flamingice%sourmilk.net
dc3cd411d5 Bug 68804: Properly parse WAV files, r+sr=roc 2006-08-17 16:52:41 +00:00
timeless%mozdev.org
16e85ae52a Bug 203307 Implement drag/drop via IStream interface
patch by kovalchuk77@list.ru r=roc sr=roc
2006-08-15 07:16:10 +00:00
joshmoz%gmail.com
a4a1afa3ec Rollup code for native menu interaction is sensitive to runloop changes. Adding this code isn't really necessary right now, but it ensures the correct behavior even if native runloop handling changes. b=348371 r=mark sr=pinkerton 2006-08-15 05:59:37 +00:00
sergei_d%fi.tartu.ee
a86d4c8b4f [BeOS]Bug 347825, p=sergei_d r=thesuckiestemal, BeOS-only 2006-08-12 12:12:29 +00:00
silver%warwickcompsoc.co.uk
af498e5927 Bug 300689 - Focus next window on trim-protected minimze r=ere sr=bryner 2006-08-12 11:39:05 +00:00
vladimir%pobox.com
9f7d59a803 b=348223, form controls have lines through them (win32 native theme rendering), r=stuart 2006-08-10 21:56:15 +00:00
pavlov%pavlov.net
b552339ce7 fixing build bustage 2006-08-09 21:54:52 +00:00
pavlov%pavlov.net
34966248fd speed up windows text rendering by avoiding using cairo when possible. also avoid save/restore dc when doing native themes. bug 342366. r=vlad 2006-08-09 20:25:07 +00:00
joshmoz%gmail.com
f702836638 kill unnecessary cast. no bug. 2006-08-09 01:51:49 +00:00
joshmoz%gmail.com
2f44d052c5 When resizing a window, top-left of window should be left in the same place, not bottom left. plus cleanup. b=346085 r=mento 2006-08-09 01:50:21 +00:00
sayrer%gmail.com
43a051200d Bug 340314. Sound is played to random file descriptors, corrupting mailboxes, address books, cert DBs. Patch by Michael Wu <michael.wu@mozilla.com>. r+sr=roc 2006-08-08 15:43:27 +00:00
gavin%gavinsharp.com
41ce74b835 Bug 284550: Firefox scroll bar positioning goes against Fitts' Law (Windows XP/Luna), patch by Simon B�nzli <zeniko@gmail.com>, r=neil, sr=roc 2006-08-07 22:45:56 +00:00
roc+%cs.cmu.edu
25b9139239 Bug 341218. Use GTK's builtin overwrite checking for save dialogs, when available. r+sr=bryner 2006-08-06 21:40:03 +00:00
dbaron%dbaron.org
9f89f6f417 Backing out since gdk_screen_get_default, gdk_screen_get_width, and gdk_screen_get_height don't exist on older version of GTK+ (lhasa tinderbox). 2006-08-03 06:32:31 +00:00
dbaron%dbaron.org
db7bb7fe29 Pick up dynamic changes in screen size (although some other things still cache them per-window). b=256646 r+sr=roc 2006-08-03 05:18:49 +00:00
aaronleventhal%moonset.net
a8676968d1 Bug 347022. Use ATK_ROLE_EMBEDDED for wairole:application. r=evan.yan 2006-08-03 03:25:37 +00:00
mark%moxienet.com
6c3d64a966 344006, 344150, 338642 Activate and deactivate events can come in strange sequences and quantities, causing bad effects such as loss of text input. Maintain state and fill in the gaps. r=josh sr=pink 2006-08-01 17:37:24 +00:00
mark%moxienet.com
d264b05e10 Cocoa widget bustage fix following bug 46177 2006-08-01 01:25:43 +00:00
mark%moxienet.com
1e3450a87b 46177 Address review comment by fixing spelling in a comment. 2006-08-01 00:36:00 +00:00
mark%moxienet.com
999c892099 46177 Show icons in native Mac menu items. r=josh sr=bryner 2006-08-01 00:13:24 +00:00
mark%moxienet.com
b477aa3ae7 Fixing comment after checkin of bug 337545. 2006-07-31 21:10:58 +00:00
mark%moxienet.com
d7da99eba0 337545 Images can draw in the wrong location immediately after resizing a window. Don't call LockPortBits in an update. Optimize update handling. Should also fix 314900. r=josh sr=bryner 2006-07-31 20:53:01 +00:00
joshmoz%gmail.com
4c066075d5 clean up memory mgmt for rollup widgets. no bug. r=mento 2006-07-31 19:19:39 +00:00
joshmoz%gmail.com
c0f3908420 rename "getFoo" methods in mozView protocol to "foo". b=343542 r=mento 2006-07-30 22:55:37 +00:00
jag%tty.nl
686ea4b1a9 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
2006-07-28 17:39:35 +00:00
mark%moxienet.com
e2d02752d9 26269 Remvoe bogus assertions to fix debug build bustage. 2006-07-27 23:41:26 +00:00
mark%moxienet.com
6867f90f55 26269 Send NS_KEY_DOWN and NS_KEY_UP events when modifier keys are pressed and released on the Mac. r=josh sr=pink 2006-07-27 21:36:29 +00:00
joshmoz%gmail.com
5cd013946e fix missing return introduced by the patch for bug 332917. no bug. r=sparky 2006-07-27 14:42:28 +00:00
nick.kreeger%park.edu
338ab57f26 Fixing bug 343892, context menu windows flash in bottom left of screen before opening. patch by me <nick.kreeger@park.edu>, r=josh,mento, sr=pink. 2006-07-26 21:08:42 +00:00
gavin%gavinsharp.com
182f0345f7 Bug 345538: Can no longer drag extensions or themes into Add-ons manager to install them (drags from outside Mozilla don't work), patch by Michael Wu <michael.wu@mozilla.com>, r+sr=roc 2006-07-25 21:32:26 +00:00
dougt%meer.net
cce9f77509 fix for 343003. r=dveditz 2006-07-25 18:53:38 +00:00
pavlov%pavlov.net
383ebc4c64 fixing cocoa widget bug causing popup menus to not draw. bug 332917. r=mento sr=roc 2006-07-25 18:51:41 +00:00
mark%moxienet.com
5294628a7b 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 2006-07-23 15:22:16 +00:00
mark%moxienet.com
0cddb44ae1 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 2006-07-20 19:03:52 +00:00
mark%moxienet.com
a8750b5d4b 319078 Handle smooth mousewheel (and two-finger touchpad) scrolling. r=josh sr=darin r,sr=roc 2006-07-20 15:38:43 +00:00
emaijala%kolumbus.fi
60c3bf77d8 Additional fixes for bug 259816: Browser steals focus from program selected in 'Open With' dialog
r=neil
sr=roc
2006-07-20 04:01:52 +00:00
martijn.martijn%gmail.com
df01f0db44 Bug 345141 - arrows on scrollbars do nothing. Patch by Adam Guthrie, r+sr=roc 2006-07-19 22:13:18 +00:00
gavin%gavinsharp.com
a33c51bdb1 Bug 133527: New mail notification banner at wrong place (always pops up at bottom right hand corner), patch by Jens Bannmann <jens.b@web.de>, r=biesi, r=bsmedberg, sr=neil 2006-07-19 19:47:19 +00:00
gavin%gavinsharp.com
482fd4661d Bug 335068: Firefox and Thunderbird windows grouped under "Mozilla" rather than in separate groups, patch by Tuukka Tolvanen <tuukka.tolvanen@gmail.com>, r+sr=roc 2006-07-19 12:56:40 +00:00
gavin%gavinsharp.com
adb66d1d62 Bug 303048: GTK scrollbar does not have normal GTK right-click behavior, patch by Adam Guthrie <ispiked@gmail.com>, r=neil, sr=roc 2006-07-18 17:13:21 +00:00
gavin%gavinsharp.com
f3fc1fbda9 Bug 303048: GTK scrollbar does not have normal GTK right-click behavior, patch by Adam Guthrie <ispiked@gmail.com>, r=neil, sr=roc 2006-07-18 17:01:40 +00:00
smontagu%smontagu.org
0e27f0f606 Never display a bidi caret marker if all installed keyboards have the same principal directionality. Bug 288839, r+sr=roc 2006-07-17 15:30:09 +00:00
masayuki%d-toybox.com
7241a787d2 Bug 339723 Ctrl++ doesn't work with JIS keyboard (second patch, this fixes Bug 341308 Tilde (~) key broken when using German keyboard layout, Bug 342197 Can't type '}' with a french keyboard) r=ere, sr=roc 2006-07-17 14:08:27 +00:00
masayuki%d-toybox.com
d905828651 back out previous patch because the tree is closed, sorry. 2006-07-17 09:30:49 +00:00
masayuki%d-toybox.com
bcde17e0f9 Bug 339723 Ctrl++ doesn't work with JIS keyboard (second patch, this fixes Bug 341308 Tilde (~) key broken when using German keyboard layout, Bug 342197 Can't type '}' with a french keyboard) r=ere, sr=roc 2006-07-17 09:22:22 +00:00