Commit Graph

2597 Commits

Author SHA1 Message Date
Karl Tomlinson
a133e3e367 b=444870 correct clip rects for tab widgets r=roc 2010-07-15 10:31:41 +12:00
Karl Tomlinson
7a684b9a42 b=444870 no need to increase the cliprect for scrollbar thumbs because the cliprect already includes the extra size r=roc 2010-07-15 10:29:54 +12:00
Karl Tomlinson
6980b3ff48 b=444870 include overflow in the dirty rect passed to DrawWidgetBackground() r=roc 2010-07-15 10:25:41 +12:00
timeless@mozdev.org
31762e1fb7 Bug 577232 protected functions nsFilePicker::GetLocalFolder/nsFilePicker::PutLocalFile should not try to validate input
r=josh
2010-07-07 12:48:17 +03:00
Neil Rashbrook
a50cec31b6 Follow up to bug 568691 - Fix some of the static windows build bustage that is due to various dependencies in layour widget and chrome. r=roc. 2010-07-08 09:01:28 -07:00
Michael Wu
6f1ad4ef8e Bug 575839 - Simple magnify gesture event support on Android, r=dougt 2010-07-07 14:34:12 -07:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald
9b15b69a1b Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Simon Montagu
a883004a9e Don't drop keypress messages with character codes > U+FFFF. Bug 297943, r=karlt 2010-07-04 15:42:04 +03:00
Mitchell Field
eb1e793da7 Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Timothy Nikkel
976046bf62 Bug 563878. Part 5. Rename nsIFrame::GetWindow(Offset) to GetNearestWidget. r=mats 2010-07-02 14:11:04 -05:00
Vladimir Vukicevic
3024b2c682 b=568591; fix Android widget backend for manifest reg; r=mwu 2010-07-02 11:19:50 -07:00
Oleg Romashin
9aa2d49089 Bug 568691 followup - Fix the Qt remote service and widget registration, r=bsmedberg 2010-07-02 09:51:58 -04:00
Markus Stange
dfe957ea33 Merge backout of changeset ad7f9821597e, bug 573973. 2010-07-02 08:23:34 +02:00
Markus Stange
277a5f67fb Back out changeset ad7f9821597e (bug 573973, calling SetDrawsInTitlebar on nsXULWindow load) because it caused bug 576394. 2010-07-02 08:22:54 +02:00
Karl Tomlinson
2f99c17a8c backing out dacb2bc379ad due to assertions in 419737-1 and 435223-1 reftests 2010-07-02 17:45:17 +12:00
Karl Tomlinson
1b71189884 b=444870 include overflow in the dirty rect passed to DrawWidgetBackground() r=roc 2010-07-02 16:08:06 +12:00
Markus Stange
d08453bb3d Bug 573973 - Handle the drawintitlebar attribute in nsXULWindow, too. r=Neil
--HG--
extra : rebase_source : ba2a3384b23d7f697fbe20cda11ab83b2575ba4d
2010-07-01 18:40:39 +02:00
Karl Tomlinson
a33e5a1d24 b=574220 refactor gfxXlibNativeRenderer and make sure the surface matches the requested visual r=roc
--HG--
rename : gfx/thebes/cairo-xlib-utils.c => gfx/thebes/gfxXlibNativeRenderer.cpp
2010-07-02 16:04:09 +12:00
Karl Tomlinson
efa9fe2155 b=573626 provide an API to create Pixmap gfxXlibSurfaces with a Drawable hint for XCreatePixmap r=vlad sr=roc 2010-07-02 15:55:24 +12:00
Kouhei Sutou
233a6712b5 Bug572385 some special keys (e.g., IME related keys) can't be handled on Linux r=masayuki, sr=smaug 2010-07-02 11:15:15 +09:00
Doug Turner
a8d2b069bc Bug 571166 - merge from e10s to m-c. r=various. sr=bz. CLOSED TREE. 2010-06-30 23:27:52 -07:00
Doug Turner
c92986c46a Merge from mc 2010-06-29 14:39:57 -07:00
Doug Turner
901e02b2de Merging with mozilla-central. Manually merged: content/canvas/src/nsCanvasRenderingContext2D.cpp ipc/ipdl/Makefile.in toolkit/toolkit-tiers.mk toolkit/xre/nsEmbedFunctions.cpp
--HG--
rename : gfx/thebes/src/gfxSharedImageSurface.cpp => gfx/thebes/gfxSharedImageSurface.cpp
rename : gfx/thebes/public/gfxSharedImageSurface.h => gfx/thebes/gfxSharedImageSurface.h
2010-06-28 16:33:19 -07:00
Michael Wu
01a2cef59b Bug 574120 - Add support for IPC on Android to everything else, r=dougt 2010-06-25 13:29:43 -07:00
Oleg Romashin
b8ab8239cd Auto-merge with m-c b51803f3fdef 2010-06-25 08:30:40 -04:00
Doug Turner
4719dd0705 Automerge w mozilla-central 2010-06-24 14:06:13 -07:00
Jim Mathies
3acff8a5ed Bug 575493 - Convert HTTOP to HTCAPTION when window is maximized. r=robarnold. 2010-06-30 17:59:33 -05:00
Masayuki Nakano
61245dcd5e Bug 572385 backout 2e74d29bd943 due to bustage 2010-06-30 13:24:38 +09:00
Kouhei Sutou
8818aab839 Bug 572385 some special keys (e.g., IME related keys) can't be handled on Linux r=masayuki, sr=smaug 2010-06-30 13:07:07 +09:00
Jason Duell
1b0fefc8aa Merged again from m-c to get latest bits and avoid deleted branch issue. 2010-06-22 17:57:09 -07:00
Jason Duell
d194b9d486 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Michael Wu
b7dd46921f Bug 573799 - Always process IME events, r=vlad 2010-06-22 17:15:29 -07:00
Michael Wu
cd844832b5 Bug 573796 - gFocusedWindow should be cleared on window destruction, r=blassey 2010-06-22 17:14:19 -07:00
Michael Wu
ce1e7d37df Bug 573153 - Opening links from other apps is broken on Android; error in getMostRecentBookmarkForURI, r=blassey 2010-06-22 17:13:23 -07:00
Olli Pettay
41b6035eee Bug 568955 - Optimize nsDOMEvent::SetEventType, r=sicking
--HG--
extra : rebase_source : e98c945ce5e7b494bd2046efd6dc7b8379fabc51
2010-06-22 21:12:12 +03:00
Johnny Stenback
b5ac9ee398 Backed out changeset 82a21d443b5e 2010-06-21 22:39:53 -07:00
Johnny Stenback
6268e31519 Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc 2010-06-21 19:58:50 -07:00
Bas Schouten
b7d3735757 Bug 573507: Make D2D work with transparent (layered) windows by using interop to get a DC from. r=jmathies 2010-06-22 03:10:36 +02:00
Ms2ger
95dbe01a92 Bug 573239 - Shouldn't treat NS_HexToRGB, NS_ColorNameToRGB as nsresult. r=roc 2010-06-22 02:01:43 +02:00
Jacek Caban
bd598c1f03 Bug 573507 - Added missing CAIRO_HAS_D2D_SURFACE ifdefs [r=jimm] 2010-06-22 01:40:00 -05:00
Matt Woodrow
a527dd8f71 Bug 565833: Required changes to the GTK widget to support GL accelerated rendering. r=vlad 2010-06-17 16:23:00 -05:00
Brad Lassey
44be81b353 bug 573669 - Suspend Gecko's event loop when onPause() is called by Android r=vlad 2010-06-22 11:22:31 -04:00
Doug Turner
ded51c1c5f Merging with M-C.
Hand merged the following files:

U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h

--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
rename : netwerk/cookie/src/nsCookieService.cpp => netwerk/cookie/nsCookieService.cpp
rename : netwerk/cookie/src/nsCookieService.h => netwerk/cookie/nsCookieService.h
rename : netwerk/dns/src/nsIDNKitInterface.h => netwerk/dns/nsIDNKitInterface.h
rename : netwerk/protocol/http/src/nsHttp.h => netwerk/protocol/http/nsHttp.h
rename : netwerk/protocol/http/src/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannel.cpp
rename : netwerk/protocol/http/src/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannel.h
rename : netwerk/protocol/http/src/nsHttpChunkedDecoder.h => netwerk/protocol/http/nsHttpChunkedDecoder.h
rename : netwerk/protocol/http/src/nsHttpHandler.cpp => netwerk/protocol/http/nsHttpHandler.cpp
rename : netwerk/protocol/http/src/nsHttpHeaderArray.h => netwerk/protocol/http/nsHttpHeaderArray.h
rename : netwerk/protocol/http/src/nsHttpRequestHead.h => netwerk/protocol/http/nsHttpRequestHead.h
rename : netwerk/protocol/http/src/nsHttpResponseHead.h => netwerk/protocol/http/nsHttpResponseHead.h
rename : netwerk/protocol/http/src/nsHttpTransaction.cpp => netwerk/protocol/http/nsHttpTransaction.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.cpp => netwerk/protocol/res/nsResProtocolHandler.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.h => netwerk/protocol/res/nsResProtocolHandler.h
2010-06-07 13:38:02 -07:00
Matt Woodrow
0444dac3c3 Bug 573929: Prevent GLX textures from being released after the window supplying the GLContext from which they were allocated dies. r=vlad 2010-06-23 18:37:00 -05:00
Dão Gottwald
b314909c2e Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Zack Weinberg
cdb43c9602 Bug 571989 part 1: Move the contents of gfx/src/psshared into widget/src/gtk2, which is the sole user.
--HG--
rename : gfx/src/psshared/nsCUPSShim.cpp => widget/src/gtk2/nsCUPSShim.cpp
rename : gfx/src/psshared/nsCUPSShim.h => widget/src/gtk2/nsCUPSShim.h
rename : gfx/src/psshared/nsPSPrinters.cpp => widget/src/gtk2/nsPSPrinters.cpp
rename : gfx/src/psshared/nsPSPrinters.h => widget/src/gtk2/nsPSPrinters.h
rename : gfx/src/psshared/nsPaperPS.cpp => widget/src/gtk2/nsPaperPS.cpp
rename : gfx/src/psshared/nsPaperPS.h => widget/src/gtk2/nsPaperPS.h
2010-06-28 10:36:17 -07:00
Jacek Caban
3470e16e4e Bug 513162 - Fix for MOZ_WINSDK_TARGETVER < MOZ_NTDDI_LONGHORN r=jmathies 2010-06-28 11:41:01 +02:00
Jim Mathies
d7da9f3152 Bug 575044 - Fix busted windows styles and disable chromemargins for fullscreen mode. r=robarnold. 2010-06-28 01:04:20 -05:00
Felipe Gomes
6a58c784dc Bug 555081 - Add support for titlebar mouse interaction and address missing aero features. r=jmathies, smaug, vlad. 2010-06-28 01:04:05 -05:00
Jim Mathies
88975ffbdf Bug 574821 - Fix for incorrect maximized window non-client margins and remove excess xpcom overhead from metric lookups. r=robarnold. 2010-06-28 00:57:07 -05:00
Robert O'Callahan
8bb35355c5 Bug 573946. Move include of prlog.h to the start of files. r=mstange 2010-06-28 12:25:04 +12:00
Geoff Lankow
cc4019ac75 Bug 300992 - implement readystatechange event. r=smaug, sr=jst 2010-06-24 13:12:07 +12:00
Bas Schouten
dc1c6c1729 Bug 574599: Make sure WS_CLIPCHILDREN is set if the windowstyle is reset. r=robarnold 2010-06-26 06:32:13 +02:00
Vladimir Vukicevic
245c95c82b b=573181; clean up render path on Android and prepare for GL layers rendering; r=mwu 2010-06-25 17:52:37 -07:00
Jim Mathies
3f234789d8 Bug 574599 - Parent windows should have the clip children style to avoid parent level paints when children invalidate. r=robarnold. 2010-06-25 17:50:36 -05:00
Timothy Nikkel
23de1bbb81 Bug 572622. Make all content command events sent to the focused element. r=masayuki 2010-06-25 16:51:17 -05:00
Timothy Nikkel
32158fa7f0 Bug 572294. Make sure the refpoint is relative to the widget we use on the drop event. r=roc 2010-06-25 16:51:17 -05:00
Timothy Nikkel
04076faed4 Bug 567702. Walking the sametype parent chain of our docshell is not guaranteed to lead to a widget, so walk the parent chain instead. This fixes printing on Linux and opening a file dialog everywhere with bug 130078. r=roc 2010-06-25 16:51:17 -05:00
Timothy Nikkel
32420a6886 Bug 567702. Factor out duplicated DOMWindowToWidget. r=roc 2010-06-25 16:51:17 -05:00
Jim Mathies
424b735d79 Bug 574635 - Undo changes to HideChromeWindow and SetWindowTranslucencyInner which messed up popup visiblility. Also, don't ignore invalidate requests on a widget in Resize calls when window bounds have not changed. r=tellrob. 2010-06-25 12:56:39 -05:00
Mats Palmgren
2d0555e421 Plug leak in nsTransferable::GetTransferData. b=565392 r=dbaron 2010-06-06 16:25:48 +02:00
Neil Rashbrook
9270d2e6b4 Bug 569490 Don't build D3D9 layer if we can't find d3d9.h r=ted,jmuizelaar 2010-06-06 11:37:44 +01:00
Timothy Nikkel
3cf7abcc45 Bug 563878. Part 1b. Make nsIPresShell::RenderNode and nsIRenderingContext::SetClipRegion take an nsIntRegion. r=mats
(transplanted from d5ca465f42381d777adcc468c8fdf96942f1fcfe)

--HG--
extra : transplant_source : %D5%CAF_B8%1Dwz%DC%C4h%C8%FD%F9iB%F1%FC%FE
2010-06-05 15:29:49 -05:00
Michael Wu
63f56cde6f Bug 575421 - Improve 2D drawing path on Android, r=vlad 2010-06-28 23:42:28 -07:00
Oleg Romashin
b36fb69349 Merge with latest mozilla central r 42802:ffbc3baf03ae 2010-05-25 15:19:33 -04:00
Olli Pettay
58b4f71840 m-c to e10 merge 2010-05-24 17:45:59 +03:00
Mark Banner
2012b9193e Backed out changeset c85016f47efa / incorrect bustage fix
--HG--
extra : rebase_source : 27a6ce185d82841769d8e9a679b28a05d05f03b3
2010-05-24 21:37:53 +01:00
Mark Banner
f178643104 Fix shared build Windows bustage from bug 546515. 2010-05-24 19:44:17 +01:00
Doug Turner
3ad0032930 Merged with MC. Hand merged netwerk/protocol/http/src/nsHttpHandler.cpp
also removed modules/plugin/default*
2010-05-17 08:59:15 -07:00
Oleg Romashin
f3e3f66a11 Bug 566118 - nsAppShell initialized earlier than QApplication. 2010-05-15 17:46:18 -04:00
Oleg Romashin
9ab0d2640e Bug 565893 - With MOZ_QT_GL=1 option Qt port does not render anything. r=dougt 2010-05-15 06:37:51 -04:00
Oleg Romashin
08597bd39e Bug 565898 - Qt Fennec not resized correctly on desktop. r=dougt 2010-05-14 11:13:36 -07:00
Chris Jones
9327ed8dcc Merged m-c 2010-05-13 18:04:53 -05:00
Oleg Romashin
1f6582fa3c Bug 560537 - Qt build bustage due to missing change. r=bas.schouten. 2010-06-24 09:16:27 -04:00
Oleg Romashin
95d0c298e6 Bug 560537 - Implement Top level GL layer manager for Qt widget port. r=vladimir. 2010-06-24 06:07:57 -04:00
Johnny Stenback
841261676e Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc 2010-06-23 14:35:57 -07:00
Felipe Gomes
ccf46b30df Bug 570267 - [OOPP] Firefox 3.6.4 bug: When a flash file has a focus, window.onblur event does not happen as expected.
r=jimm
2010-06-23 10:08:56 -07:00
Masayuki Nakano
8c29c9bf4e Bug 519974 When we use IME, ASSERTION is printed at each key input (ASSERTION: nsEditor doesn't support wide caret: 'selectionStart == selectionEnd', editor/libeditor/base/IMETextTxn.cpp line 322 r=smichaud 2010-06-23 15:05:51 +09:00
Doug Turner
fe405e740c merge with m-c. resolved conflicts in:
U chrome/src/nsChromeRegistry.cpp
U content/base/src/Makefile.in
U dom/base/nsDOMClassInfo.cpp
U toolkit/toolkit-tiers.mk

--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug541420.js => toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js
2010-05-11 11:09:54 -07:00
Karl Tomlinson
f48d8a05cd b=564972 Add NS_IS_MOUSE_EVENT_STRUCT to test event class and use it to correct assert r=smaug 2010-05-13 14:33:16 +12:00
Mike Kristoffersen
86c80047ba Bug 564402 - slots #define in Qt, prevents Qt builds on trunk
--HG--
extra : rebase_source : 0dc2793cb28294addd9781bd9ca76a3e049ec110
2010-05-07 13:20:04 +02:00
Doug Turner
8f97a20153 Merge with m-c. no hand edits 2010-04-29 21:04:50 -07:00
Felipe Gomes
dc65d64e68 Bug 555081 - Fix for mouse capture now that ChildWindow is gone from the main window. r=jmathies. 2010-06-24 21:01:07 -05:00
Jim Mathies
d814f747d4 Bug 513162 - nsAttrValue margin parsing and chromemargin chrome tests. r=smaug, gavin. 2010-06-24 21:01:07 -05:00
Jim Mathies
2b04ded189 Bug 513162 - Win support for custom chrome margins on windows. r=tellrob. 2010-06-24 21:01:07 -05:00
Jim Mathies
d4d35e6f18 Bug 513162 - Widget additions for setting custom chrome margins. r=vlad. 2010-06-24 21:01:07 -05:00
Jim Mathies
1b2fab1b2b Bug 513162 - Widget support for view event mirroring. r=vlad. 2010-06-24 21:01:06 -05:00
Jim Mathies
b895004e45 Bug 513162 - Widget additions for recycling top level widgets as content containers. r=vlad. 2010-06-24 21:01:06 -05:00
Jim Mathies
bd6651b892 Bug 513162 - Cleanup unused widget code and CID statics. r=vlad. 2010-06-24 21:01:06 -05:00
Mats Palmgren
ee279c96dc Backout bug 530070 due to Tinderbox orange. 2010-05-21 18:33:28 +02:00
Mats Palmgren
21ecbae3c1 Bug 530070. r=jmathies 2010-05-21 15:52:07 +02:00
Brandon Sterne
bcab21793a Bug 515460 - enforce CSP during image redirects, r=joe 2010-05-20 13:08:02 -07:00
Mounir Lamouri
869533b09b Bug 377624 - "Implement the accept attribute for the form and file upload controls form "image/*"" [r=enndeakin,roc] 2010-05-19 22:28:01 -04:00
Ehsan Akhgari
a87b134220 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Michael Wu
3f6dca2086 Bug 568249 - Support geolocation on Android, r=dougt 2010-06-04 14:14:43 -07:00
Michael Wu
f7ea7a8b12 Bug 565142 - Support startup on Android, patch by vlad, blassey, alexp, and me. r=dougt
--HG--
extra : rebase_source : 1153c0a4fb1d73f29d8c9da78c66bf4bf21b8142
2010-06-03 18:16:20 -07:00
Edmund Wong
3f9353b789 Bug 232691 - replace nsString() nsAutoString() and friends with EmptyC?String(). r=jonas 2010-05-18 09:50:14 +02:00