Commit Graph

229 Commits

Author SHA1 Message Date
Robert O'Callahan
e0cfa042e1 Bug 509693. Remove eWindowType_java (unused) and actually use eWindowType_plugin. r=josh 2009-09-24 21:32:20 +12:00
Doug Turner
352b5a31fa Bug 564929 - Qt - Conditional jump or move depends on uninitialised value in nsWindow::MakeFullScreen r=romaxa 2010-05-30 11:35:07 -07:00
Markus Stange
9bd507e985 Bug 515446 - Combine the two Create methods of nsIWidget into one. Also remove nsCocoaWindow's capability of adapting its NSWindow from aNativeParent. r=josh, sr=roc 2009-09-24 18:18:10 +12:00
Markus Stange
780ce62ea5 Bug 514992 - Remove nsIWidget::Invalidate(PRBool aIsSynchronous). r=roc 2009-09-08 09:53:36 +12:00
Markus Stange
a804657bdd Bug 514988 - Remove unused nsIEventListener interface and update users. r=roc 2009-09-08 09:50:22 +12:00
Markus Stange
51db0d2eaa Bug 514987 - Remove unused nsIWidget::Validate. r=roc 2009-09-08 09:48:23 +12:00
Tobias Hunger
db3e28dc59 bug 510872 - Xulrunner fails to build in Qt mode r=mfinkle 2009-08-27 10:48:00 -04:00
Tobias Hunger
1a97660355 Bug 507121. Implement new nsIWidget::Scroll API for Qt. r=mfinkle 2009-08-05 14:39:05 +12:00
Jim Mathies
77c14bc0ca Bug 506103 - Remove mDeferredPositioner and related code. r=roc 2009-07-27 12:27:35 -05:00
Joe Drew
2919d8a083 Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc 2009-07-20 18:50:15 -07:00
Tobias Hunger
f8a17ee3b9 Bug 497858: Clean up Qt's nsWindow, r=mfinkle 2009-07-15 08:20:21 -04:00
Neil Deakin
0bf18a0339 Bug 404766, right click on a bookmark menuitem closes it instead of opening another context menu, r+sr=roc 2009-06-12 14:23:16 -04:00
Neil Deakin
f62906b6b1 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Tobias Hunger
72dc72e5a7 Bug 485579. Fix possible crash when closing tabs using cairo-qt. r=vlad, a=beltzner 2009-03-27 12:35:27 +01:00
Jeremy D. Lea
df181166b0 Bug 431634 - Part 2 - remove unused methods from nsIWidget; r+sr=roc 2009-04-08 11:39:58 -07:00
Makoto Kato
79da69cb9e Bug 480689 - DeCOMtamination patch breaks Qt build. r/sr=roc 2009-03-09 21:46:11 +09:00
Jeremy D. Lea
175c3fd1b3 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc 2009-02-18 16:11:49 -08:00
Steffen Imhof
957af22a6d Bug 464050 - Focus handling prevents text selection by mouse; r=vladimir 2009-02-16 16:27:18 +01:00
Serge Gautherie
dc6ceb811c Backed out changeset: 719dca3419b5 2009-02-15 18:41:16 +01:00
Jeremy Lea
077871caa7 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc 2009-02-15 17:41:06 +01:00
Walter Meinl
87c8c23483 Bug 474187 - Qt port broken in widget follow up to bug448830 split nsIntRect. r=roc 2009-02-11 14:51:06 +01:00
Fred Jendrzejewski
cbc6639bab Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg 2009-01-22 17:15:34 +13:00
Oleg Romashin
81c136393e Fixed bug 449575 - Menus steal focus hard in Qt por, r=vladimir 2008-08-16 03:07:21 -04:00
Oleg Romashin
ba5fcb81d0 Fixed bug 449830 - Window title shows long dash incorrectly r=pavlov 2008-08-09 00:32:31 +03:00
Oleg Romashin
e942f35c5b Fixed bug 433952 - decomtaminate and clean up nsIMenuBar, nsIMenu, nsIMenuItem 2008-08-04 00:10:15 +03:00
Oleg Romashin
f3321f1d99 Disabled force repainting of whole widget area on each scroll event 2008-04-29 17:54:13 +03:00
97f54e5d67 Remove QT_XLIB_SURFACE support (cairo-xlib drawing on QT-widget) 2008-04-29 07:42:08 +03:00
Vladimir Vukicevic
20be687e1e [qt] Don't recreate the surface returned by nsWindow::ThebesSurface() 2008-04-28 18:16:45 -07:00
Vladimir Vukicevic
84fc098eaa Get rid of unnecessary printfs 2008-04-28 18:16:23 -07:00
Vladimir Vukicevic
85b9a24451 [cairo-qpainter] Create QPixmaps with an alpha channel if required 2008-04-28 18:15:30 -07:00
Vladimir Vukicevic
009b35306c [qt] Get rid of mCreated; rename nsWindow event handlers to sync with Qt names 2008-04-22 04:21:18 -07:00
Vladimir Vukicevic
bd07eadc5b [qt] remove NativeResize, NativeCreate, NativeShow 2008-04-22 04:21:18 -07:00
Vladimir Vukicevic
10f325fd59 [qt] rename mDrawingarea -> mDrawingArea 2008-04-22 04:21:18 -07:00
Vladimir Vukicevic
d004fba5ba [qt] Remove old Gtk-style transparency cruft 2008-04-22 04:21:17 -07:00
Vladimir Vukicevic
af2719262e [qt] Get rid of nsCommonWidget; dump everything into nsWindow 2008-04-22 04:21:17 -07:00
Vladimir Vukicevic
12a03be77b Comment out X11-specific code to enable Qt Embedded builds 2008-04-20 06:54:27 -07:00
Vladimir Vukicevic
8e4ede2fb6 [qt] Use Qt for double buffering; let Qt handle events that Gecko doesn't want
In particular, the Update event needs to be passed to QWidget::event so that
a Paint event is generated and we can actually do the painting.
2008-04-20 01:37:07 -07:00
vlad
079a585176 Qt: widget/gfx work
- Fix crash on window close
  - Qt expects the QWidget to remain available even after it has
processed a close event. So, use deleteLater() instead of
deleting outright.
  - Also carry around the MozQWidget pointer (though we need to rework
CreateQWidget and ::Initialize) so that we can call dropReceiver

- Fix screen <-> widget coordinate translation
  - Fixes popup menu positioning

- Honor mayWait in nsAppShell::ProcessNextNativeEvent
  - Prevents massive busy-waiting

- Don't pretend to support translucent windows

- Fix embedding widget build failure

- cairo-qpainter: invert source matrix in paint() to get proper
transform (proper positioning of elements drawn using paint())

- Cleaner event handling in mozqwidget -- return full nsEventStatus,
not just boolean, and decide whether to call QWidget::event() based
on that.
2008-04-20 11:16:40 +03:00
2509f1f911 Fixed missing changes for gfxQtPlatform rename 2008-04-19 20:21:53 +03:00
vlad
b48f9525bb Qt: widget/gfx work
- Fix crash on window close
  - Qt expects the QWidget to remain available even after it has
processed a close event. So, use deleteLater() instead of
deleting outright.
  - Also carry around the MozQWidget pointer (though we need to rework
CreateQWidget and ::Initialize) so that we can call dropReceiver

- Fix screen <-> widget coordinate translation
  - Fixes popup menu positioning

- Honor mayWait in nsAppShell::ProcessNextNativeEvent
  - Prevents massive busy-waiting

- Don't pretend to support translucent windows

- Fix embedding widget build failure

- cairo-qpainter: invert source matrix in paint() to get proper
transform (proper positioning of elements drawn using paint())

- Cleaner event handling in mozqwidget -- return full nsEventStatus,
not just boolean, and decide whether to call QWidget::event() based
on that.
2008-04-19 19:02:53 +03:00
romashin
ebd7f1c9e7 Make optional compilation with Qt cairo-xlib surface (for comparing and bugfixing)
DEFINE QT_XLIB_SURFACE
2008-04-19 18:53:46 +03:00
tero.turtiainen
971b4ef9e5 Some updates to allow drag&dropping to browser window 2008-04-19 18:43:56 +03:00
romashin
b1d44d3931 Disable directo drawing on X11 screen 2008-04-19 18:43:44 +03:00
romashin
6c58df295a Added new cairo-qt surface from Vlad's patch
New created files moved in sandbox/qt_port.. cairo and gfxQPainterSurface
Changes for existing files applyed from 100_qt-qpainter-cairo.diff
Fixed building non deb mozilla with build_non_deb.sh script
Fixed tab-spaces in new created file cairo-qpainter-surface.cpp
2008-04-19 18:43:23 +03:00
romashin
f4c53ad465 Add contributor name 2008-04-19 18:39:38 +03:00
romashin
4011355782 Removed debug info 2008-04-19 18:39:26 +03:00
romashin
8fea8949dc Fixed double buffering for QT widget 2008-04-19 18:39:14 +03:00
romashin
7c67a786d7 Fixed broken key events 2008-04-19 18:38:16 +03:00
romashin
0382b225c5 Fixed proper focus setup 2008-04-19 18:38:12 +03:00
romashin
5bc82f2fe9 Fixed cursor setup on input widgets 2008-04-19 18:38:08 +03:00