profile/ivi/qtbase.git
13 years agoClean up DnD code
Lars Knoll [Mon, 30 May 2011 20:20:15 +0000 (22:20 +0200)]
Clean up DnD code

Some cleanups of the DnD code to prepare for
creating a platform API.

13 years agoRemove some QWidget autotest that have become irrelevant with -qpa.
Samuel Rødal [Tue, 31 May 2011 14:02:54 +0000 (16:02 +0200)]
Remove some QWidget autotest that have become irrelevant with -qpa.

We can't use windowing system specific checks on Lighthouse because the
windowing system is now plugin-dependent.

13 years agoFix the egl path for xcb and wayland plugins
Jørgen Lind [Tue, 31 May 2011 13:47:02 +0000 (15:47 +0200)]
Fix the egl path for xcb and wayland plugins

Reviewed-by: Samuel Rødal
13 years agoHave a sensible default double click interval.
Laszlo Agocs [Tue, 31 May 2011 12:18:47 +0000 (14:18 +0200)]
Have a sensible default double click interval.

Having 0 as default would disable double clicks completely which
is not really good.

Reviewed-by: Samuel Rødal
13 years agoFix for excess creation of QWindow instances.
Laszlo Agocs [Tue, 31 May 2011 11:38:42 +0000 (13:38 +0200)]
Fix for excess creation of QWindow instances.

topData() is called from various functions for any kind of widgets,
not just for top-levels. Therefore createTLSysExtra cannot assume
that the widget is top-level. Previously QWindows were created
for desktop widget, toolbars, mdi subwindows, etc. which is
wrong. The patch will avoid this, and will also fix drawing
isses when dragging mdi windows.

Reviewed-by: Samuel Rødal
13 years agoFix QWidget::windowHandle().
Laszlo Agocs [Tue, 31 May 2011 10:36:46 +0000 (12:36 +0200)]
Fix QWidget::windowHandle().

The window member in extra should remain null for widgets
that do not have a native window. The change introduced
in an earlier commit is clearly wrong.

13 years agoNew configure.exe binary: Qt 5 with QT3_SUPPORT removed.
Friedemann Kleint [Tue, 31 May 2011 09:11:43 +0000 (11:11 +0200)]
New configure.exe binary: Qt 5 with QT3_SUPPORT removed.

13 years agoconfigure.exe: Remove QT3_SUPPORT.
Friedemann Kleint [Tue, 31 May 2011 09:10:44 +0000 (11:10 +0200)]
configure.exe: Remove QT3_SUPPORT.

As it is causing compile problems.

13 years agoWindows: Bring back the HDC to the raster engine, Q_OS_WIN.
Friedemann Kleint [Tue, 31 May 2011 08:22:55 +0000 (10:22 +0200)]
Windows: Bring back the HDC to the raster engine, Q_OS_WIN.

13 years agoFix isTopLevel() in QWindow.
Laszlo Agocs [Tue, 31 May 2011 08:04:04 +0000 (10:04 +0200)]
Fix isTopLevel() in QWindow.

This also makes modal hints set properly for dialogs so the
additional checks during active window change are not needed
anymore.

Reviewed-by: Samuel Rødal
13 years agoSet xcb size hints properly avoid strange behaviour.
Laszlo Agocs [Tue, 31 May 2011 07:26:55 +0000 (09:26 +0200)]
Set xcb size hints properly avoid strange behaviour.

Strange behaviour means incorrect dialog sizes, inability to resize,
X crashes, etc. These were caused by not properly filling the size
hint structure, leaving possibly random garbage in it.

Reviewed-by: Samuel Rødal
13 years agoMade QXcbConnection::atomName() more fail safe.
Laszlo Agocs [Mon, 30 May 2011 13:48:22 +0000 (15:48 +0200)]
Made QXcbConnection::atomName() more fail safe.

Reviewed-by: Samuel Rødal
13 years agoExamples: QPA window example does not require widgets.
Friedemann Kleint [Mon, 30 May 2011 13:08:33 +0000 (15:08 +0200)]
Examples: QPA window example does not require widgets.

13 years agoDo not scroll in QXcbWindowSurface when m_image is not yet created.
Laszlo Agocs [Mon, 30 May 2011 12:58:55 +0000 (14:58 +0200)]
Do not scroll in QXcbWindowSurface when m_image is not yet created.

Reviewed-by: Samuel Rødal
13 years agocompile with QT_NO_CUPS
Lars Knoll [Mon, 30 May 2011 12:43:56 +0000 (14:43 +0200)]
compile with QT_NO_CUPS

13 years agoCleanup code for copy/paste of text
Lars Knoll [Sun, 29 May 2011 19:20:28 +0000 (21:20 +0200)]
Cleanup code for copy/paste of text

Remove support for COMPOUND_TEXT. All apps should
these days support UTF8_STRING. If not they'll have to live
with STRING or TEXT.

ICCCM states that TEXT is in the encoding of choice. Make this
latin1 instead of local8bit. XA_STRING is defined to be latin1,
so don't use local8bit here neither.

13 years agocorrectly decode pasted text
Lars Knoll [Thu, 26 May 2011 01:11:13 +0000 (03:11 +0200)]
correctly decode pasted text

13 years agopartially working paste
Lars Knoll [Thu, 26 May 2011 00:47:32 +0000 (02:47 +0200)]
partially working paste

We now paste something from the clipboard,
but the format conversion seems to be
still off at times.

13 years agoadd an xcb based clipboard implementation
Lars Knoll [Wed, 25 May 2011 23:35:29 +0000 (01:35 +0200)]
add an xcb based clipboard implementation

Copying from the app to somewhere else works
fine, but pasting into the app is still broken.

13 years agoDon't leak xcb events
Lars Knoll [Wed, 25 May 2011 19:50:18 +0000 (21:50 +0200)]
Don't leak xcb events

Correctly free the xcb events delivered to
the xcb plugin.

13 years agoCorrectly define standard XA_FOO atoms
Lars Knoll [Sun, 22 May 2011 21:50:32 +0000 (23:50 +0200)]
Correctly define standard XA_FOO atoms

13 years agoAdd xcb based mime type handling
Lars Knoll [Sun, 22 May 2011 20:23:48 +0000 (22:23 +0200)]
Add xcb based mime type handling

Reworked the code from the xlib lighthouse
plugin to remove most of the Xlib dependencies.

The code originally comdes from qdnd_x11.cpp

13 years agoHave proper warnings shown when xcb window surface creation fails.
Laszlo Agocs [Mon, 30 May 2011 12:18:52 +0000 (14:18 +0200)]
Have proper warnings shown when xcb window surface creation fails.

Reviewed-by: Samuel Rødal
13 years agoAvoid dialog and other widgets with non-adjusted window flags.
Laszlo Agocs [Mon, 30 May 2011 12:17:40 +0000 (14:17 +0200)]
Avoid dialog and other widgets with non-adjusted window flags.

Reviewed-by: Samuel Rødal
13 years agoAdd focus and modal dialog support.
Laszlo Agocs [Mon, 30 May 2011 12:16:43 +0000 (14:16 +0200)]
Add focus and modal dialog support.

Reviewed-by: Samuel Rødal
13 years agoThe proper fix for subwindow parenting issues.
Laszlo Agocs [Fri, 27 May 2011 14:06:53 +0000 (16:06 +0200)]
The proper fix for subwindow parenting issues.

The previous patch tried to work around the fact that Qt::SubWindow
accidentally pulled in Qt::Window. This patch corrects the root
cause of the problem.

13 years agoCompile on Mac.
Morten Sorvig [Thu, 26 May 2011 12:36:15 +0000 (14:36 +0200)]
Compile on Mac.

Use the unix QPrinterInfo implementation.

13 years agoAdd QPlatformPrinterSupport.
Friedemann Kleint [Mon, 30 May 2011 09:18:46 +0000 (11:18 +0200)]
Add QPlatformPrinterSupport.

Add QPlatformPrinterSupport which provides functionality for
obtaining QPrinterInfo and creating native printer engines.

Rubber-stamped-by: Lars Knoll <lars.knoll@nokia.com>
13 years agoRevert "Have subwindows parented properly."
Laszlo Agocs [Fri, 27 May 2011 13:49:20 +0000 (15:49 +0200)]
Revert "Have subwindows parented properly."

This reverts commit bb2986f165a51b0aee254c3e7217c3912c29e3f3.

13 years agoHave subwindows parented properly.
Laszlo Agocs [Fri, 27 May 2011 11:38:47 +0000 (13:38 +0200)]
Have subwindows parented properly.

Reviewed-by: Samuel Rødal
13 years agoXCB: Fix moveToScreen to use QWindow instead of QWidget.
Friedemann Kleint [Thu, 26 May 2011 15:25:27 +0000 (17:25 +0200)]
XCB: Fix moveToScreen to use QWindow instead of QWidget.

13 years agoRemove OpenVG from qtbase.
Friedemann Kleint [Thu, 26 May 2011 08:55:57 +0000 (10:55 +0200)]
Remove OpenVG from qtbase.

Acked-by: Samuel Rødal <samuel.rodal@nokia.com>
13 years agoCompile fix Linux.
Friedemann Kleint [Thu, 26 May 2011 07:19:18 +0000 (09:19 +0200)]
Compile fix Linux.

13 years agoCompile fix for QtGui when configure with -qpa on Windows
Olli Werwolff [Wed, 25 May 2011 08:11:58 +0000 (10:11 +0200)]
Compile fix for QtGui when configure with -qpa on Windows

Reviewed-by: Friedemann Kleint
13 years agoDeclaration of QEventDispatcherWin32Private in private header file
Olli Werwolff [Wed, 25 May 2011 07:52:25 +0000 (09:52 +0200)]
Declaration of QEventDispatcherWin32Private in private header file

As the class will be used as a base class for QEventDispatcherQPA
its declaration has to be accessible from there.

Reviewed-by: Friedemann Kleint
13 years agoExamples: Fix compilation.
Friedemann Kleint [Wed, 25 May 2011 07:15:14 +0000 (09:15 +0200)]
Examples: Fix compilation.

13 years agoMerge remote branch 'staging/master' into refactor
Paul Olav Tvete [Tue, 24 May 2011 13:22:06 +0000 (15:22 +0200)]
Merge remote branch 'staging/master' into refactor

Conflicts:
examples/animation/animatedtiles/animatedtiles.pro
examples/animation/appchooser/appchooser.pro
examples/animation/easing/easing.pro
examples/animation/easing/window.h
examples/animation/moveblocks/moveblocks.pro
examples/animation/states/states.pro
examples/animation/stickman/stickman.pro
examples/dbus/dbus-chat/dbus-chat.pro
examples/dbus/dbus.pro
examples/dbus/remotecontrolledcar/car/car.pro
examples/dbus/remotecontrolledcar/controller/controller.pro
examples/dbus/remotecontrolledcar/remotecontrolledcar.pro
examples/desktop/desktop.pro
examples/desktop/screenshot/screenshot.pro
examples/dialogs/classwizard/classwizard.pro
examples/dialogs/configdialog/configdialog.pro
examples/dialogs/dialogs.pro
examples/dialogs/extension/extension.pro
examples/dialogs/findfiles/findfiles.pro
examples/dialogs/licensewizard/licensewizard.pro
examples/dialogs/sipdialog/sipdialog.pro
examples/dialogs/standarddialogs/standarddialogs.pro
examples/dialogs/tabdialog/tabdialog.pro
examples/dialogs/trivialwizard/trivialwizard.pro
examples/draganddrop/draggableicons/draggableicons.pro
examples/draganddrop/draggabletext/draggabletext.pro
examples/draganddrop/dropsite/dropsite.pro
examples/draganddrop/fridgemagnets/fridgemagnets.pro
examples/draganddrop/puzzle/puzzle.pro
examples/effects/blurpicker/blurpicker.pro
examples/effects/fademessage/fademessage.pro
examples/effects/lighting/lighting.pro
examples/examples.pro
examples/gestures/imagegestures/imagegestures.pro
examples/graphicsview/anchorlayout/anchorlayout.pro
examples/graphicsview/basicgraphicslayouts/basicgraphicslayouts.pro
examples/graphicsview/collidingmice/collidingmice.pro
examples/graphicsview/diagramscene/diagramscene.pro
examples/graphicsview/dragdroprobot/dragdroprobot.pro
examples/graphicsview/elasticnodes/elasticnodes.pro
examples/graphicsview/flowlayout/flowlayout.pro
examples/graphicsview/graphicsview.pro
examples/graphicsview/simpleanchorlayout/simpleanchorlayout.pro
examples/graphicsview/weatheranchorlayout/weatheranchorlayout.pro
examples/ipc/ipc.pro
examples/ipc/sharedmemory/sharedmemory.pro
examples/itemviews/addressbook/addressbook.pro
examples/itemviews/basicsortfiltermodel/basicsortfiltermodel.pro
examples/itemviews/chart/chart.pro
examples/itemviews/coloreditorfactory/coloreditorfactory.pro
examples/itemviews/combowidgetmapper/combowidgetmapper.pro
examples/itemviews/customsortfiltermodel/customsortfiltermodel.pro
examples/itemviews/dirview/dirview.pro
examples/itemviews/editabletreemodel/editabletreemodel.pro
examples/itemviews/fetchmore/fetchmore.pro
examples/itemviews/frozencolumn/frozencolumn.pro
examples/itemviews/itemviews.pro
examples/itemviews/pixelator/pixelator.pro
examples/itemviews/puzzle/puzzle.pro
examples/itemviews/simpletreemodel/simpletreemodel.pro
examples/itemviews/simplewidgetmapper/simplewidgetmapper.pro
examples/itemviews/spinboxdelegate/spinboxdelegate.pro
examples/itemviews/stardelegate/stardelegate.pro
examples/ja_JP/linguist/hellotr/hellotr.pro
examples/layouts/basiclayouts/basiclayouts.pro
examples/layouts/borderlayout/borderlayout.pro
examples/layouts/dynamiclayouts/dynamiclayouts.pro
examples/layouts/flowlayout/flowlayout.pro
examples/layouts/layouts.pro
examples/linguist/arrowpad/arrowpad.pro
examples/linguist/hellotr/hellotr.pro
examples/linguist/linguist.pro
examples/linguist/trollprint/trollprint.pro
examples/mainwindows/application/application.pro
examples/mainwindows/dockwidgets/dockwidgets.pro
examples/mainwindows/mainwindows.pro
examples/mainwindows/mdi/mdi.pro
examples/mainwindows/menus/menus.pro
examples/mainwindows/recentfiles/recentfiles.pro
examples/mainwindows/sdi/sdi.pro
examples/network/network.pro
examples/opengl/opengl.pro
examples/openvg/openvg.pro
examples/painting/basicdrawing/basicdrawing.pro
examples/painting/concentriccircles/concentriccircles.pro
examples/painting/fontsampler/fontsampler.pro
examples/painting/imagecomposition/imagecomposition.pro
examples/painting/painterpaths/painterpaths.pro
examples/painting/painting.pro
examples/painting/transformations/transformations.pro
examples/qtconcurrent/imagescaling/imagescaling.pro
examples/qtconcurrent/map/map.pro
examples/qtconcurrent/progressdialog/progressdialog.pro
examples/qtconcurrent/qtconcurrent.pro
examples/qtconcurrent/runfunction/runfunction.pro
examples/qtconcurrent/wordcount/wordcount.pro
examples/qtestlib/qtestlib.pro
examples/qtestlib/tutorial1/tutorial1.pro
examples/qtestlib/tutorial2/tutorial2.pro
examples/qtestlib/tutorial3/tutorial3.pro
examples/qtestlib/tutorial4/tutorial4.pro
examples/qtestlib/tutorial5/tutorial5.pro
examples/qws/dbscreen/dbscreen.pro
examples/qws/framebuffer/framebuffer.pro
examples/qws/mousecalibration/mousecalibration.pro
examples/qws/simpledecoration/simpledecoration.pro
examples/qws/svgalib/svgalib.pro
examples/richtext/calendar/calendar.pro
examples/richtext/orderform/orderform.pro
examples/richtext/richtext.pro
examples/richtext/syntaxhighlighter/syntaxhighlighter.pro
examples/sql/sql.pro
examples/statemachine/eventtransitions/eventtransitions.pro
examples/statemachine/rogue/rogue.pro
examples/statemachine/trafficlight/trafficlight.pro
examples/statemachine/twowaybutton/twowaybutton.pro
examples/threads/mandelbrot/mandelbrot.pro
examples/threads/queuedcustomtype/queuedcustomtype.pro
examples/threads/threads.pro
examples/tools/codecs/codecs.pro
examples/tools/completer/completer.pro
examples/tools/contiguouscache/contiguouscache.pro
examples/tools/customcompleter/customcompleter.pro
examples/tools/customtype/customtype.pro
examples/tools/customtypesending/customtypesending.pro
examples/tools/echoplugin/echoplugin.pro
examples/tools/echoplugin/echowindow/echowindow.pro
examples/tools/echoplugin/plugin/plugin.pro
examples/tools/i18n/i18n.pro
examples/tools/inputpanel/inputpanel.pro
examples/tools/plugandpaint/plugandpaint.pro
examples/tools/plugandpaintplugins/basictools/basictools.pro
examples/tools/plugandpaintplugins/extrafilters/extrafilters.pro
examples/tools/plugandpaintplugins/plugandpaintplugins.pro
examples/tools/regexp/regexp.pro
examples/tools/settingseditor/settingseditor.pro
examples/tools/styleplugin/plugin/plugin.pro
examples/tools/styleplugin/styleplugin.pro
examples/tools/styleplugin/stylewindow/stylewindow.pro
examples/tools/tools.pro
examples/tools/treemodelcompleter/treemodelcompleter.pro
examples/tools/undoframework/undoframework.pro
examples/touch/dials/dials.pro
examples/touch/fingerpaint/fingerpaint.pro
examples/touch/knobs/knobs.pro
examples/touch/pinchzoom/pinchzoom.pro
examples/tutorials/addressbook-fr/addressbook-fr.pro
examples/tutorials/addressbook-fr/part1/part1.pro
examples/tutorials/addressbook-fr/part2/part2.pro
examples/tutorials/addressbook-fr/part3/part3.pro
examples/tutorials/addressbook-fr/part4/part4.pro
examples/tutorials/addressbook-fr/part5/part5.pro
examples/tutorials/addressbook-fr/part6/part6.pro
examples/tutorials/addressbook-fr/part7/part7.pro
examples/tutorials/addressbook/addressbook.pro
examples/tutorials/addressbook/part1/part1.pro
examples/tutorials/addressbook/part2/part2.pro
examples/tutorials/addressbook/part3/part3.pro
examples/tutorials/addressbook/part4/part4.pro
examples/tutorials/addressbook/part5/part5.pro
examples/tutorials/addressbook/part6/part6.pro
examples/tutorials/addressbook/part7/part7.pro
examples/tutorials/modelview/1_readonly/1_readonly.pro
examples/tutorials/modelview/2_formatting/2_formatting.pro
examples/tutorials/modelview/3_changingmodel/3_changingmodel.pro
examples/tutorials/modelview/4_headers/4_headers.pro
examples/tutorials/modelview/5_edit/5_edit.pro
examples/tutorials/modelview/6_treeview/6_treeview.pro
examples/tutorials/modelview/7_selections/7_selections.pro
examples/tutorials/modelview/modelview.pro
examples/tutorials/widgets/childwidget/childwidget.pro
examples/tutorials/widgets/nestedlayouts/nestedlayouts.pro
examples/tutorials/widgets/toplevel/toplevel.pro
examples/tutorials/widgets/windowlayout/windowlayout.pro
examples/uitools/multipleinheritance/multipleinheritance.pro
examples/uitools/textfinder/textfinder.pro
examples/uitools/uitools.pro
examples/widgets/analogclock/analogclock.pro
examples/widgets/calculator/calculator.pro
examples/widgets/calendarwidget/calendarwidget.pro
examples/widgets/charactermap/charactermap.pro
examples/widgets/codeeditor/codeeditor.pro
examples/widgets/digitalclock/digitalclock.pro
examples/widgets/groupbox/groupbox.pro
examples/widgets/icons/icons.pro
examples/widgets/imageviewer/imageviewer.pro
examples/widgets/lineedits/lineedits.pro
examples/widgets/movie/movie.pro
examples/widgets/scribble/scribble.pro
examples/widgets/shapedclock/shapedclock.pro
examples/widgets/sliders/sliders.pro
examples/widgets/softkeys/softkeys.pro
examples/widgets/spinboxes/spinboxes.pro
examples/widgets/styles/styles.pro
examples/widgets/stylesheet/stylesheet.pro
examples/widgets/tablet/tablet.pro
examples/widgets/tetrix/tetrix.pro
examples/widgets/tooltips/tooltips.pro
examples/widgets/validators/validators.pro
examples/widgets/widgets.pro
examples/widgets/windowflags/windowflags.pro
examples/xml/xml.pro
mkspecs/qws/freebsd-generic-g++/qplatformdefs.h
mkspecs/qws/linux-arm-g++/qplatformdefs.h
mkspecs/qws/linux-arm-gnueabi-g++/qplatformdefs.h
mkspecs/qws/linux-armv6-g++/qplatformdefs.h
mkspecs/qws/linux-avr32-g++/qplatformdefs.h
mkspecs/qws/linux-cellon-g++/qplatformdefs.h
mkspecs/qws/linux-dm7000-g++/qplatformdefs.h
mkspecs/qws/linux-dm800-g++/qplatformdefs.h
mkspecs/qws/linux-generic-g++-32/qplatformdefs.h
mkspecs/qws/linux-generic-g++/qplatformdefs.h
mkspecs/qws/linux-ipaq-g++/qplatformdefs.h
mkspecs/qws/linux-lsb-g++/qplatformdefs.h
mkspecs/qws/linux-mips-g++/qplatformdefs.h
mkspecs/qws/linux-nacl-g++/qplatformdefs.h
mkspecs/qws/linux-powerpc-g++/qplatformdefs.h
mkspecs/qws/linux-sh-g++/qplatformdefs.h
mkspecs/qws/linux-sh4al-g++/qplatformdefs.h
mkspecs/qws/linux-sharp-g++/qplatformdefs.h
mkspecs/qws/linux-x86-g++/qplatformdefs.h
mkspecs/qws/linux-x86_64-g++/qplatformdefs.h
mkspecs/qws/linux-zylonite-g++/qplatformdefs.h
mkspecs/qws/macx-generic-g++/qplatformdefs.h
mkspecs/qws/macx-iphonedevice-g++/qplatformdefs.h
mkspecs/qws/macx-iphonesimulator-g++/qplatformdefs.h
mkspecs/qws/macx-nacl-g++/qplatformdefs.h
mkspecs/qws/solaris-generic-g++/qplatformdefs.h
src/gui/dialogs/qprintdialog_qws.cpp
src/gui/egl/qegl_qws.cpp
src/gui/embedded/qcopchannel_qws.cpp
src/gui/embedded/qcopchannel_qws.h
src/gui/embedded/qdecoration_qws.cpp
src/gui/embedded/qdecoration_qws.h
src/gui/embedded/qdecorationdefault_qws.cpp
src/gui/embedded/qdecorationdefault_qws.h
src/gui/embedded/qdecorationfactory_qws.cpp
src/gui/embedded/qdecorationfactory_qws.h
src/gui/embedded/qdecorationplugin_qws.cpp
src/gui/embedded/qdecorationplugin_qws.h
src/gui/embedded/qdecorationstyled_qws.cpp
src/gui/embedded/qdecorationstyled_qws.h
src/gui/embedded/qdecorationwindows_qws.cpp
src/gui/embedded/qdecorationwindows_qws.h
src/gui/embedded/qdirectpainter_qws.cpp
src/gui/embedded/qdirectpainter_qws.h
src/gui/embedded/qkbd_defaultmap_qws_p.h
src/gui/embedded/qkbd_qws.cpp
src/gui/embedded/qkbd_qws.h
src/gui/embedded/qkbd_qws_p.h
src/gui/embedded/qkbddriverfactory_qws.cpp
src/gui/embedded/qkbddriverfactory_qws.h
src/gui/embedded/qkbddriverplugin_qws.cpp
src/gui/embedded/qkbddriverplugin_qws.h
src/gui/embedded/qkbdintegrity_qws.cpp
src/gui/embedded/qkbdintegrity_qws.h
src/gui/embedded/qkbdlinuxinput_qws.cpp
src/gui/embedded/qkbdlinuxinput_qws.h
src/gui/embedded/qkbdqnx_qws.cpp
src/gui/embedded/qkbdqnx_qws.h
src/gui/embedded/qkbdtty_qws.cpp
src/gui/embedded/qkbdtty_qws.h
src/gui/embedded/qkbdum_qws.cpp
src/gui/embedded/qkbdum_qws.h
src/gui/embedded/qkbdvfb_qws.cpp
src/gui/embedded/qkbdvfb_qws.h
src/gui/embedded/qlock.cpp
src/gui/embedded/qlock_p.h
src/gui/embedded/qmouse_qws.cpp
src/gui/embedded/qmouse_qws.h
src/gui/embedded/qmousedriverfactory_qws.cpp
src/gui/embedded/qmousedriverfactory_qws.h
src/gui/embedded/qmousedriverplugin_qws.cpp
src/gui/embedded/qmousedriverplugin_qws.h
src/gui/embedded/qmouseintegrity_qws.cpp
src/gui/embedded/qmouseintegrity_qws.h
src/gui/embedded/qmouselinuxinput_qws.cpp
src/gui/embedded/qmouselinuxinput_qws.h
src/gui/embedded/qmouselinuxtp_qws.cpp
src/gui/embedded/qmouselinuxtp_qws.h
src/gui/embedded/qmousepc_qws.cpp
src/gui/embedded/qmousepc_qws.h
src/gui/embedded/qmouseqnx_qws.cpp
src/gui/embedded/qmouseqnx_qws.h
src/gui/embedded/qmousetslib_qws.cpp
src/gui/embedded/qmousetslib_qws.h
src/gui/embedded/qmousevfb_qws.cpp
src/gui/embedded/qmousevfb_qws.h
src/gui/embedded/qscreen_qws.cpp
src/gui/embedded/qscreen_qws.h
src/gui/embedded/qscreendriverfactory_qws.cpp
src/gui/embedded/qscreendriverfactory_qws.h
src/gui/embedded/qscreendriverplugin_qws.cpp
src/gui/embedded/qscreendriverplugin_qws.h
src/gui/embedded/qscreenintegrityfb_qws.cpp
src/gui/embedded/qscreenintegrityfb_qws.h
src/gui/embedded/qscreenlinuxfb_qws.cpp
src/gui/embedded/qscreenlinuxfb_qws.h
src/gui/embedded/qscreenmulti_qws.cpp
src/gui/embedded/qscreenmulti_qws_p.h
src/gui/embedded/qscreenproxy_qws.cpp
src/gui/embedded/qscreenproxy_qws.h
src/gui/embedded/qscreenqnx_qws.cpp
src/gui/embedded/qscreenqnx_qws.h
src/gui/embedded/qscreentransformed_qws.cpp
src/gui/embedded/qscreentransformed_qws.h
src/gui/embedded/qscreenvfb_qws.cpp
src/gui/embedded/qscreenvfb_qws.h
src/gui/embedded/qsoundqss_qws.cpp
src/gui/embedded/qsoundqss_qws.h
src/gui/embedded/qtransportauth_qws.cpp
src/gui/embedded/qtransportauth_qws.h
src/gui/embedded/qtransportauth_qws_p.h
src/gui/embedded/qtransportauthdefs_qws.h
src/gui/embedded/qunixsocket.cpp
src/gui/embedded/qunixsocket_p.h
src/gui/embedded/qunixsocketserver.cpp
src/gui/embedded/qunixsocketserver_p.h
src/gui/embedded/qvfbhdr.h
src/gui/embedded/qwindowsystem_p.h
src/gui/embedded/qwindowsystem_qws.cpp
src/gui/embedded/qwindowsystem_qws.h
src/gui/embedded/qwscommand_qws.cpp
src/gui/embedded/qwscommand_qws_p.h
src/gui/embedded/qwscursor_qws.cpp
src/gui/embedded/qwsdisplay_qws.h
src/gui/embedded/qwsdisplay_qws_p.h
src/gui/embedded/qwsembedwidget.cpp
src/gui/embedded/qwsevent_qws.cpp
src/gui/embedded/qwsevent_qws.h
src/gui/embedded/qwslock.cpp
src/gui/embedded/qwslock_p.h
src/gui/embedded/qwsmanager_p.h
src/gui/embedded/qwsmanager_qws.cpp
src/gui/embedded/qwsmanager_qws.h
src/gui/embedded/qwsproperty_qws.cpp
src/gui/embedded/qwsproperty_qws.h
src/gui/embedded/qwsprotocolitem_qws.h
src/gui/embedded/qwssharedmemory.cpp
src/gui/embedded/qwssharedmemory_p.h
src/gui/embedded/qwssignalhandler.cpp
src/gui/embedded/qwssignalhandler_p.h
src/gui/embedded/qwssocket_qws.cpp
src/gui/embedded/qwssocket_qws.h
src/gui/embedded/qwsutils_qws.h
src/gui/image/qpixmap_qws.cpp
src/gui/inputmethod/qwsinputcontext_p.h
src/gui/inputmethod/qwsinputcontext_qws.cpp
src/gui/kernel/qapplication_qpa.cpp
src/gui/kernel/qapplication_qws.cpp
src/gui/kernel/qclipboard_qws.cpp
src/gui/kernel/qcursor_qws.cpp
src/gui/kernel/qdesktopwidget_qws.cpp
src/gui/kernel/qeventdispatcher_glib_qws.cpp
src/gui/kernel/qeventdispatcher_glib_qws_p.h
src/gui/kernel/qeventdispatcher_qws.cpp
src/gui/kernel/qeventdispatcher_qws_p.h
src/gui/kernel/qplatformintegration_qpa.cpp
src/gui/kernel/qplatformwindowformat_qpa.cpp
src/gui/kernel/qplatformwindowformat_qpa.h
src/gui/kernel/qsessionmanager_qws.cpp
src/gui/kernel/qsound_qws.cpp
src/gui/kernel/qwidget_qws.cpp
src/gui/painting/qcolormap_qws.cpp
src/gui/painting/qgraphicssystem.cpp
src/gui/painting/qgraphicssystem_mac.cpp
src/gui/painting/qgraphicssystem_mac_p.h
src/gui/painting/qgraphicssystem_p.h
src/gui/painting/qgraphicssystem_qws.cpp
src/gui/painting/qgraphicssystem_qws_p.h
src/gui/painting/qgraphicssystem_raster.cpp
src/gui/painting/qgraphicssystem_raster_p.h
src/gui/painting/qgraphicssystem_runtime.cpp
src/gui/painting/qgraphicssystem_runtime_p.h
src/gui/painting/qgraphicssystemfactory.cpp
src/gui/painting/qgraphicssystemfactory_p.h
src/gui/painting/qgraphicssystemplugin.cpp
src/gui/painting/qgraphicssystemplugin_p.h
src/gui/painting/qpaintdevice_x11.cpp
src/gui/painting/qprintengine_ps.cpp
src/gui/painting/qprintengine_ps_p.h
src/gui/painting/qprintengine_qws.cpp
src/gui/painting/qprintengine_qws_p.h
src/gui/painting/qregion_qws.cpp
src/gui/painting/qunifiedtoolbarsurface_mac.cpp
src/gui/painting/qunifiedtoolbarsurface_mac_p.h
src/gui/painting/qwindowsurface_mac.cpp
src/gui/painting/qwindowsurface_qws.cpp
src/gui/painting/qwindowsurface_qws_p.h
src/gui/painting/qwindowsurface_raster.cpp
src/gui/painting/qwindowsurface_raster_p.h
src/gui/painting/qwindowsurface_s60.cpp
src/gui/painting/qwindowsurface_s60_p.h
src/gui/painting/qwindowsurface_x11.cpp
src/gui/painting/qwindowsurface_x11_p.h
src/gui/painting/qwmatrix.h
src/gui/text/qabstractfontengine_qws.cpp
src/gui/text/qabstractfontengine_qws.h
src/gui/text/qfont_qws.cpp
src/gui/text/qfontdatabase_qws.cpp
src/gui/text/qfontengine_qws.cpp
src/opengl/qgl_qpa.cpp
src/opengl/qgl_qws.cpp
src/opengl/qglscreen_qws.cpp
src/opengl/qglscreen_qws.h
src/opengl/qglwindowsurface_qws.cpp
src/opengl/qgraphicssystem_gl.cpp
src/opengl/qgraphicssystem_gl_p.h
src/openvg/qpaintengine_vg.cpp
src/openvg/qpaintengine_vg_p.h
src/openvg/qpixmapdata_vg.cpp
src/openvg/qpixmapdata_vg_p.h
src/openvg/qpixmapfilter_vg.cpp
src/openvg/qpixmapfilter_vg_p.h
src/openvg/qvg.h
src/openvg/qvg_p.h
src/openvg/qvg_symbian.cpp
src/openvg/qvgcompositionhelper_p.h
src/openvg/qvgfontglyphcache_p.h
src/openvg/qvgimagepool.cpp
src/openvg/qvgimagepool_p.h
src/openvg/qwindowsurface_vg.cpp
src/openvg/qwindowsurface_vg_p.h
src/openvg/qwindowsurface_vgegl.cpp
src/openvg/qwindowsurface_vgegl_p.h
src/plugins/decorations/default/main.cpp
src/plugins/decorations/styled/main.cpp
src/plugins/decorations/windows/main.cpp
src/plugins/gfxdrivers/ahi/qscreenahi_qws.cpp
src/plugins/gfxdrivers/ahi/qscreenahi_qws.h
src/plugins/gfxdrivers/ahi/qscreenahiplugin.cpp
src/plugins/gfxdrivers/directfb/qdirectfbkeyboard.cpp
src/plugins/gfxdrivers/directfb/qdirectfbkeyboard.h
src/plugins/gfxdrivers/directfb/qdirectfbmouse.cpp
src/plugins/gfxdrivers/directfb/qdirectfbmouse.h
src/plugins/gfxdrivers/directfb/qdirectfbpaintdevice.cpp
src/plugins/gfxdrivers/directfb/qdirectfbpaintdevice.h
src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.h
src/plugins/gfxdrivers/directfb/qdirectfbpixmap.cpp
src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h
src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
src/plugins/gfxdrivers/directfb/qdirectfbscreen.h
src/plugins/gfxdrivers/directfb/qdirectfbscreenplugin.cpp
src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp
src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h
src/plugins/gfxdrivers/eglnullws/eglnullwsscreen.cpp
src/plugins/gfxdrivers/eglnullws/eglnullwsscreen.h
src/plugins/gfxdrivers/eglnullws/eglnullwsscreenplugin.cpp
src/plugins/gfxdrivers/eglnullws/eglnullwsscreenplugin.h
src/plugins/gfxdrivers/eglnullws/eglnullwswindowsurface.cpp
src/plugins/gfxdrivers/eglnullws/eglnullwswindowsurface.h
src/plugins/gfxdrivers/linuxfb/main.cpp
src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwsdrawable.c
src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwsdrawable.h
src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwsdrawable_p.h
src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwswsegl.c
src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglscreen.cpp
src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglscreen.h
src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglscreenplugin.cpp
src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglwindowsurface.cpp
src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglwindowsurface.h
src/plugins/gfxdrivers/qvfb/main.cpp
src/plugins/gfxdrivers/transformed/main.cpp
src/plugins/gfxdrivers/vnc/main.cpp
src/plugins/gfxdrivers/vnc/qscreenvnc_p.h
src/plugins/gfxdrivers/vnc/qscreenvnc_qws.cpp
src/plugins/gfxdrivers/vnc/qscreenvnc_qws.h
src/plugins/graphicssystems/meego/dithering.cpp
src/plugins/graphicssystems/meego/qmeegoextensions.cpp
src/plugins/graphicssystems/meego/qmeegoextensions.h
src/plugins/graphicssystems/meego/qmeegographicssystem.cpp
src/plugins/graphicssystems/meego/qmeegographicssystem.h
src/plugins/graphicssystems/meego/qmeegographicssystemplugin.cpp
src/plugins/graphicssystems/meego/qmeegographicssystemplugin.h
src/plugins/graphicssystems/meego/qmeegolivepixmapdata.cpp
src/plugins/graphicssystems/meego/qmeegolivepixmapdata.h
src/plugins/graphicssystems/meego/qmeegopixmapdata.cpp
src/plugins/graphicssystems/meego/qmeegopixmapdata.h
src/plugins/graphicssystems/meego/qmeegorasterpixmapdata.cpp
src/plugins/graphicssystems/opengl/main.cpp
src/plugins/graphicssystems/openvg/qgraphicssystem_vg.cpp
src/plugins/graphicssystems/openvg/qgraphicssystem_vg_p.h
src/plugins/graphicssystems/shivavg/main.cpp
src/plugins/graphicssystems/shivavg/shivavggraphicssystem.cpp
src/plugins/graphicssystems/shivavg/shivavggraphicssystem.h
src/plugins/graphicssystems/shivavg/shivavgwindowsurface.cpp
src/plugins/graphicssystems/shivavg/shivavgwindowsurface.h
src/plugins/graphicssystems/trace/main.cpp
src/plugins/graphicssystems/trace/qgraphicssystem_trace.cpp
src/plugins/graphicssystems/trace/qgraphicssystem_trace_p.h
src/plugins/kbddrivers/linuxinput/main.cpp
src/plugins/mousedrivers/linuxtp/main.cpp
src/plugins/mousedrivers/pc/main.cpp
src/plugins/mousedrivers/tslib/main.cpp
src/widgets/kernel/qwidget_qpa.cpp

13 years agoUpdate licenseheader text in source files for qtbase Qt module
Jyri Tahtela [Tue, 24 May 2011 09:34:08 +0000 (12:34 +0300)]
Update licenseheader text in source files for qtbase Qt module

Updated version of LGPL and FDL licenseheaders.
Apply release phase licenseheaders for all source files.

Reviewed-by: Trust Me
13 years agoFix build from scratch on Windows.
Friedemann Kleint [Tue, 24 May 2011 09:01:33 +0000 (11:01 +0200)]
Fix build from scratch on Windows.

idc needs corelib (should be moved to ActiveQt later).

13 years agoBuild from scratch, use correct version number in Widgets.
Friedemann Kleint [Tue, 24 May 2011 07:27:50 +0000 (09:27 +0200)]
Build from scratch, use correct version number in Widgets.

Order in src.pro needs to be correct since qtbase.pro forces
ordered.

Acked-by: Samuel Rødal <sroedal@trolltech.com>
13 years agoMake QtCore compile with on Windows when -qpa is used
Olli Werwolff [Tue, 24 May 2011 07:14:43 +0000 (09:14 +0200)]
Make QtCore compile with on Windows when -qpa is used

Core functionality almost never is window system dependent.

Reviewed-by: Friedemann Kleint
13 years agoTests: Compile.
Friedemann Kleint [Mon, 23 May 2011 14:49:06 +0000 (16:49 +0200)]
Tests: Compile.

13 years agoQTestlib: Compile.
Friedemann Kleint [Mon, 23 May 2011 14:48:29 +0000 (16:48 +0200)]
QTestlib: Compile.

13 years agosrc.pro: Add dependencies of widget module
Friedemann Kleint [Mon, 23 May 2011 14:47:16 +0000 (16:47 +0200)]
src.pro: Add dependencies of widget module

13 years agoNew configure.exe binary
Marius Storm-Olsen [Mon, 23 May 2011 14:24:19 +0000 (09:24 -0500)]
New configure.exe binary

13 years agoAdd -qpa option on Windows
Marius Storm-Olsen [Mon, 23 May 2011 14:19:56 +0000 (09:19 -0500)]
Add -qpa option on Windows

Done-by: owolff
Done-by: Friedemann Kleint
13 years agoUse qglobal.h's VERSION number instead of hardcoded current version
Marius Storm-Olsen [Mon, 23 May 2011 14:11:59 +0000 (09:11 -0500)]
Use qglobal.h's VERSION number instead of hardcoded current version

Done-by: Friedemann Kleint
13 years agoMore examples adjusted to Symbian and Maemo5.
David Boddie [Mon, 23 May 2011 13:10:51 +0000 (15:10 +0200)]
More examples adjusted to Symbian and Maemo5.
(cherry picked from commit a97b9620a584c9b1a2e006873183526b3d7e001e)

13 years agoDoc: Added some details to the accessibility events API documentation.
David Boddie [Thu, 19 May 2011 12:26:36 +0000 (14:26 +0200)]
Doc: Added some details to the accessibility events API documentation.

Reviewed-by: Frederik Gladhorn
13 years agoDoc: Fixed qdoc warnings.
David Boddie [Thu, 12 May 2011 18:24:33 +0000 (20:24 +0200)]
Doc: Fixed qdoc warnings.

13 years agoDoc: Fixed qdoc warnings.
David Boddie [Wed, 11 May 2011 16:36:31 +0000 (18:36 +0200)]
Doc: Fixed qdoc warnings.

13 years agoDoc: Made an additional change for clarity.
David Boddie [Wed, 11 May 2011 13:03:52 +0000 (15:03 +0200)]
Doc: Made an additional change for clarity.

Task-number: QT-4891

13 years agoDoc: Noted that the example will not work as expected with a mouse.
David Boddie [Wed, 11 May 2011 12:41:24 +0000 (14:41 +0200)]
Doc: Noted that the example will not work as expected with a mouse.

Task-number: QT-4891

13 years agoDoc: Fixed qdoc warnings.
David Boddie [Wed, 11 May 2011 12:36:34 +0000 (14:36 +0200)]
Doc: Fixed qdoc warnings.

13 years agoDoc: Applying a pending change from previous merges.
David Boddie [Wed, 11 May 2011 12:35:09 +0000 (14:35 +0200)]
Doc: Applying a pending change from previous merges.

13 years agoDoc: Fixed qdoc warning.
David Boddie [Wed, 11 May 2011 12:25:36 +0000 (14:25 +0200)]
Doc: Fixed qdoc warning.

13 years agoDoc: Fixed qdoc warnings.
David Boddie [Wed, 11 May 2011 12:19:37 +0000 (14:19 +0200)]
Doc: Fixed qdoc warnings.

13 years agoDoc: Applied pending fixes to API documentation.
David Boddie [Tue, 10 May 2011 17:52:50 +0000 (19:52 +0200)]
Doc: Applied pending fixes to API documentation.

13 years agoDoc: Various fixes to documentation, some based on changes in master.
David Boddie [Tue, 10 May 2011 17:50:33 +0000 (19:50 +0200)]
Doc: Various fixes to documentation, some based on changes in 

13 years agoDoc: Added missing project and desktop files.
David Boddie [Tue, 10 May 2011 17:37:39 +0000 (19:37 +0200)]
Doc: Added missing project and desktop files.

13 years agoDoc: Documented the value returned when no field can be found.
David Boddie [Mon, 9 May 2011 19:08:59 +0000 (21:08 +0200)]
Doc: Documented the value returned when no field can be found.

Task-number: QTBUG-19115

13 years agoSquashed commit of changes from the 4.8-temp branch.
David Boddie [Wed, 11 May 2011 15:35:46 +0000 (17:35 +0200)]
Squashed commit of changes from the 4.8-temp branch.

13 years agoSquashed commit of the changes from the mobile-examples repository
David Boddie [Wed, 27 Apr 2011 17:16:41 +0000 (19:16 +0200)]
Squashed commit of the changes from the mobile-examples repository
(4.7-generated-declarative branch).

13 years agoCompile fix for -qpa/Linux.
Friedemann Kleint [Mon, 23 May 2011 11:52:38 +0000 (13:52 +0200)]
Compile fix for -qpa/Linux.

Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
13 years agoAdded QWindow::setTransientParent().
Samuel Rødal [Mon, 23 May 2011 11:46:18 +0000 (13:46 +0200)]
Added QWindow::setTransientParent().

Make the transient parent relationship explicit instead of having it
encoded through the window flags.

13 years agoEnablers for TextInput
Eskil Abrahamsen Blomfeldt [Mon, 9 May 2011 07:07:02 +0000 (09:07 +0200)]
Enablers for TextInput

In order to use the scene graph text node in TextInput, we
need enablers. Most of this is to enable selections,
which in turn means we need to be able to extract a certain
set of glyphs from a QTextLine.

13 years agoTrack Wayland changes
Paul Olav Tvete [Mon, 23 May 2011 10:29:54 +0000 (12:29 +0200)]
Track Wayland changes

The wl_display_get_xxxx_visual() functions have been removed, and
are replaced by a compositor event.

Reviewed-by: Samuel
13 years agoRemove superfluous setter / getter for QWindowFormat in QWindow.
Samuel Rødal [Mon, 23 May 2011 07:52:14 +0000 (09:52 +0200)]
Remove superfluous setter  / getter for QWindowFormat in QWindow.

13 years agoAdd task numbers for disabled autotests
Jason McDonald [Mon, 23 May 2011 07:19:55 +0000 (17:19 +1000)]
Add task numbers for disabled autotests

Change-Id: I830cdbf60ad1edf554b19cd7e6fdbd459f3e160f
Reviewed-by: Trust Me
13 years agoclean up unused code
Lars Knoll [Sat, 21 May 2011 19:59:20 +0000 (21:59 +0200)]
clean up unused code

Remove some now unused platform dependent
code. This needs to move into the different
lighthouse plugins.

13 years agoimplement dragging between top levels
Lars Knoll [Sun, 22 May 2011 12:01:33 +0000 (14:01 +0200)]
implement dragging between top levels

Correctly make use of the topLevelAt()
functionality to determine which
QWindow should get the drag events.

13 years agoAdd QGuiApp::topLevelAt and fix visibility flag
Lars Knoll [Sat, 21 May 2011 19:31:46 +0000 (21:31 +0200)]
Add QGuiApp::topLevelAt and fix visibility flag

Add and remove windows to the list of top level windows.
Correctly set the visibility flag for windows and implement
a QGuiApplication::topLevelAt() method that uses the
QPlatformScreen.

13 years agore-add in-process DnD implementation
Lars Knoll [Sat, 21 May 2011 16:02:52 +0000 (18:02 +0200)]
re-add in-process DnD implementation

Get in-process DnD working again. QDragManager
only cares about QWindow's now, and QWidgetWindow
maps this to DnD events inside the widget hierachy.

13 years agoadd qmltestcase.prf for QtQuickTest
Charles Yin [Sat, 21 May 2011 13:50:14 +0000 (23:50 +1000)]
add qmltestcase.prf for QtQuickTest

so that 'CONFIG += qmltestcase' works

13 years agoMerge remote branch 'staging/master' into refactor
Samuel Rødal [Fri, 20 May 2011 17:45:38 +0000 (19:45 +0200)]
Merge remote branch 'staging/master' into refactor

Conflicts:
src/opengl/qgl_qpa.cpp
src/plugins/platforms/glxconvenience/qglxconvenience.cpp
src/plugins/platforms/platforms.pro
src/plugins/platforms/wayland/qwaylandwindow.cpp
src/plugins/platforms/xcb/qxcbwindow.cpp
src/plugins/platforms/xcb/qxcbwindow.h
src/plugins/platforms/xcb/qxcbwindowsurface.cpp
src/widgets/kernel/qwidget_qpa.cpp
tests/auto/qvariant/tst_qvariant.cpp

13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging
Qt Continuous Integration System [Fri, 20 May 2011 12:04:01 +0000 (22:04 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging:
  Fix inconsistency between Qt and ICU in Shift-JIS codec with regards to ASCII range

13 years agoGet the QWidget auto-test compiling and running.
Samuel Rødal [Fri, 20 May 2011 11:56:11 +0000 (13:56 +0200)]
Get the QWidget auto-test compiling and running.

13 years agoFix inconsistency between Qt and ICU in Shift-JIS codec with regards to ASCII range
Simon Hausmann [Mon, 16 May 2011 12:04:31 +0000 (14:04 +0200)]
Fix inconsistency between Qt and ICU in Shift-JIS codec with regards to ASCII range

Qt's Shift-JIS codec maps the characters 0x5c and 0x7e to unicode yen (0x5a)
and unicode overline (0x203e). ICU and (as it turns out) Symbian's native
Shift-JIS codec preserve 0x5c and 0x7e when converting to Unicode.

Qt's behaviour creates a problem when loading japanese web sites that are
encoded in Shift-JIS. When they reference external JavaScript files, those tend
to inherit the current page encoding (unless the character set is explicitly
specified). Consequently JavaScript tends to contain regular expressions (as a
built-in feature of the language), which in turn uses backslashes for escape
sequences. Therefore it is crucial that the encodings used to decode the script
preserve the ASCII range, i.e. do not convert 0x5c (ascii backslash) to
something else.

This patch corrects the behaviour of Qt's Shift-JIS codec to leave all
characters < 0x80 unaltered in the process of conversion to and from
Unicode.

Task: QTBUG-19335

Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
(cherry picked from commit 8e321cd869da7ff1cf0168da41aa0246b44867cc)

13 years agoAdded QGuiApplication::activeWindow().
Samuel Rødal [Fri, 20 May 2011 11:45:36 +0000 (13:45 +0200)]
Added QGuiApplication::activeWindow().

13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging
Qt Continuous Integration System [Fri, 20 May 2011 10:36:27 +0000 (20:36 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging:
  add test case for ipv6 url parsing

13 years agoremove an unused class
Lars Knoll [Wed, 18 May 2011 21:07:31 +0000 (23:07 +0200)]
remove an unused class

QDrgResponseEvent wasn't used anywhere in Qt anymore.
Get rid of it.

13 years agomove drag handling back to Gui
Lars Knoll [Wed, 18 May 2011 10:56:51 +0000 (12:56 +0200)]
move drag handling back to Gui

Move the DnD related classes back into
QtGui. Parts of the implementation is currently
commented out and needs to be moved to
QWidgetWindow.

SC incompatible change:
APIs taking QWidget * now take QObject *

13 years agoadd test case for ipv6 url parsing
shiroki [Fri, 20 May 2011 08:38:12 +0000 (10:38 +0200)]
add test case for ipv6 url parsing

Reviewed-by: Thiago
(cherry picked from commit fd043eb78212de5935bc101624818070e1b4fb1b)

13 years agoMake Cocoa the default platform plugin on Mac.
Morten Sorvig [Fri, 20 May 2011 09:31:23 +0000 (11:31 +0200)]
Make Cocoa the default platform plugin on Mac.

13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging
Qt Continuous Integration System [Fri, 20 May 2011 09:18:56 +0000 (19:18 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging:
  tst_qhostinfo: Fix IPv6 lookup detection on Windows.
  Fix incorrect hardware address on systems without getifaddrs()
  Make QHostAddress.toString() follow RFC-5952 for IPv6 address format.

13 years agoBuild the cocoa plugin on Mac.
Morten Sorvig [Fri, 20 May 2011 08:59:05 +0000 (10:59 +0200)]
Build the cocoa plugin on Mac.

13 years agoAdd QCocoaNativeInterface.
Morten Sorvig [Fri, 20 May 2011 08:47:59 +0000 (10:47 +0200)]
Add QCocoaNativeInterface.

Supports getting the NSOpenGLContext for now.

13 years agotst_qhostinfo: Fix IPv6 lookup detection on Windows.
Martin Petersson [Fri, 20 May 2011 08:04:18 +0000 (10:04 +0200)]
tst_qhostinfo: Fix IPv6 lookup detection on Windows.

Moved the QTcpServer test to init winsock before we use getaddrinfo.

Reviewed-by: Shane Kearns
(cherry picked from commit 0ccf01368adcabbb25958a55976083f72116a2d5)

13 years agoFix incorrect hardware address on systems without getifaddrs()
Craig Scott [Wed, 11 May 2011 06:51:28 +0000 (16:51 +1000)]
Fix incorrect hardware address on systems without getifaddrs()

On unix systems for which QT_NO_GETIFADDRS is defined, the way that the
hardware address field is extracted from the result of a call to
qt_safe_ioctl() is incorrect. The address of the ifreq.ifr_addr struct
is taken rather than the appropriate member within that struct, sa_data,
resulting in a memory offset and subsequently the hardware address has
garbage in the first two of six fields. This commit modifies the code
to pass the sa_data member instead of the address of the struct as a
whole.

Task-number: QTBUG-19165
Merge-request: 2614
Reviewed-by: Martin Petersson
(cherry picked from commit 004ad12669ef696eeba70fd57d1eb0c67c806d1d)

13 years agoMake QHostAddress.toString() follow RFC-5952 for IPv6 address format.
Martin Petersson [Fri, 6 May 2011 11:00:53 +0000 (13:00 +0200)]
Make QHostAddress.toString() follow RFC-5952 for IPv6 address format.

Task-number: QTBUG-18426
Reviewed-by: Peter Hartmann
(cherry picked from commit ebc134db484eee31491836b619aad1ee86e3070e)

13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging
Qt Continuous Integration System [Fri, 20 May 2011 08:21:33 +0000 (18:21 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging:
  Designer: Extend container extension.

13 years agoDesigner: Extend container extension.
Friedemann Kleint [Fri, 20 May 2011 08:10:32 +0000 (10:10 +0200)]
Designer: Extend container extension.

Make it possible to disable adding/removing pages by
adding respective bool virtual functions.

Useful for implementing containers with fixed, single
children like QScrollArea, QDockWidget, which require
a container extension to work properly in Qt Designer.
Previously, the problem was that the add/remove
page context menu actions were enabled for them,
leading to crashes und undesired behaviour.

Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com>
13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging
Qt Continuous Integration System [Fri, 20 May 2011 02:18:56 +0000 (12:18 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging:
  Allow arthur tests to use private headers.

13 years agoAllow arthur tests to use private headers.
Jason McDonald [Fri, 20 May 2011 01:11:11 +0000 (11:11 +1000)]
Allow arthur tests to use private headers.

The tests include qapplication_p.h, therefore the .pro files need to
specify
    QT += core-private gui-private

Change-Id: Icd6d7ba31f79b8c7b15e0327dd5ce44c7f486221
Reviewed-by: Rohan McGovern
13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging
Qt Continuous Integration System [Fri, 20 May 2011 01:39:07 +0000 (11:39 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging:
  Remove mention of qt3support in makeselftest
  Remove Qt3Support test data from lancelot test
  Remove Qt3Support code from algorithms autotest
  Don't link qt3support lib in QMessageBox autotest

13 years agoRemove mention of qt3support in makeselftest
Jason McDonald [Thu, 19 May 2011 07:53:26 +0000 (17:53 +1000)]
Remove mention of qt3support in makeselftest

Change-Id: Ie081d3a543ff30e3e58e154cbfea57a29bb24210
Task-number: QTBUG-19325
Reviewed-by: Rohan McGovern
13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging
Qt Continuous Integration System [Fri, 20 May 2011 00:37:23 +0000 (10:37 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging:
  Remove Qt3Support code from QVariant autotest.
  Remove obsolete test data
  Remove Qt3Support code from QMenuBar test, part 2.

13 years agoRemove Qt3Support test data from lancelot test
Jason McDonald [Thu, 19 May 2011 06:33:48 +0000 (16:33 +1000)]
Remove Qt3Support test data from lancelot test

The data was already commented out and thus unused.

Change-Id: I234cea542bbacf429b6cb1fc0c9feec4f80e47e5
Task-number: QTBUG-19325
Reviewed-by: Rohan McGovern
13 years agoRemove Qt3Support code from algorithms autotest
Jason McDonald [Thu, 19 May 2011 06:23:00 +0000 (16:23 +1000)]
Remove Qt3Support code from algorithms autotest

qHeapSort and qBubbleSort were Qt3 functions that were replaced by
qSort.  During modularization, the Qt3Support header containing these
routines (q3tl.h) was moved into the algorithms autotest, presumably
because that was the only thing that still included the header.
However, as these routines are not part of Qt5, they don't need to be
tested anymore.  This commit deletes the q3tl.h header and the test
functions that tested it.

Change-Id: I52eed7b4b4db3bd671dc6dbd752642bc9e783c30
Task-number: QTBUG-19325
Reviewed-by: Rohan McGovern
13 years agoDon't link qt3support lib in QMessageBox autotest
Jason McDonald [Thu, 19 May 2011 05:38:30 +0000 (15:38 +1000)]
Don't link qt3support lib in QMessageBox autotest

Change-Id: I0126dc790e88639ad524cdf719ced2a444df9b71
Task-number: QTBUG-19325
Reviewed-by: Rohan McGovern