| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Without this change, I get an error when building plug QODBC:
drivers\odbc\qsql_odbc.cpp: In function 'QString qODBCWarn(const QODBCPrivate*, int*)':
drivers\odbc\qsql_odbc.cpp:264: error: 'class QStringBuilder<QStringBuilder<QStringBuilder<QStringBuilder<QString, QLatin1Char>, QString>, QLatin1Char>, QString>' has no member named 'simplified'
drivers\odbc\qsql_odbc.cpp: In function 'QString qODBCWarn(const QODBCDriverPrivate*, int*)':
drivers\odbc\qsql_odbc.cpp:270: error: 'class QStringBuilder<QStringBuilder<QString, QLatin1Char>, QString>' has no member named 'simplified'
drivers\odbc\qsql_odbc.cpp: In function 'QString qGetStringData(void*, int, int, bool)':
drivers\odbc\qsql_odbc.cpp:403: warning: comparison between signed and unsigned integer expressions
drivers\odbc\qsql_odbc.cpp:444: warning: comparison between signed and unsigned integer expressions
Env:
Windows XP SP2
MinGW (GCC 4.4.0 from trolls ftp)
Merge-request: 2402
Reviewed-by: Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
src/openvg/qpaintengine_vg.cpp
src/script/bridge/qscriptqobject_p.h
tests/auto/bic/tst_bic.cpp
|
| |
| |
| |
| |
| | |
Task-number: QTBUG-7988
Reviewed-by: Justin McPherson
|
|\ \
| |/
| |
| |
| |
| |
| | |
Conflicts:
mkspecs/common/symbian/symbian.conf
qmake/generators/symbian/symmake.cpp
src/3rdparty/webkit/WebCore/WebCore.pro
|
| |
| |
| |
| |
| | |
Task-number: QTBUG-8488
Reviewed-by: Justin McPherson
|
| |
| |
| |
| |
| |
| |
| |
| | |
Better unicode handling detection, plus turn off unicode if FreeTDS,
plus handling of returning strings under non-unicode scenarios.
Task-number: QTBUG-8846
Reviewed-by: Justin McPherson
|
|\ \
| |/
| |
| |
| | |
Conflicts:
src/gui/styles/qs60style_s60.cpp
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The original CLOB was being truncated at 4000 bytes, even though the
CLOB can hold up to 4gig, this ensures that its possible to get the
whole thing. There is already a test in qsqlquery for this.
Task-number: QTBUG-3875
Reviewed-by: Bill King
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
configure.exe
examples/multimedia/audioinput/audioinput.cpp
src/corelib/io/qfsfileengine.cpp
src/gui/egl/qegl_wince.cpp
src/gui/egl/qeglproperties.cpp
src/gui/egl/qeglproperties_p.h
src/gui/embedded/directfb.pri
src/gui/kernel/qapplication_win.cpp
src/gui/painting/qdrawutil.cpp
src/opengl/qgl_p.h
src/sql/drivers/odbc/qsql_odbc.cpp
src/sql/drivers/odbc/qsql_odbc.h
tests/auto/auto.pro
tests/auto/qgl/tst_qgl.cpp
translations/assistant_adp_ru.ts
|
| |
| |
| |
| | |
Task-number: QTBUG-5765
|
| |
| |
| |
| |
| |
| | |
Stupid inconsistent constness/overall api
Task-number: QTBUG-6928
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fixed ODBC to use SQLTCHAR type and not assume that wchar's are 2
bytes wide.
Task-number: QTBUG-6928
Reviewed-by: Justin McPherson
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/berlin-staging-1: (22 commits)
optimize qstring::simplified()
Revert optimizations to QString::append
unbreak QList::append() and co. again
Implement bookmark manager widget.
optimization: use QList::reserve() and QVector::reserve()
amend "purge msvc.net and msvc2002 makespecs"
Added QPlainTextEditor::anchorAt(const QPoint &pos)
Fix memmory leak.
Fix spacing.
Prevent renaming the bookmarks menu root item, it's just a placeholder.
Fix broken set last shown pagen when the last page was about:blank.
Move launch with external app in base class.
Make sure the bookmarks menu updates on add/ remove as well.
Fix broken Drag&Drop, reset and clear the model if we set new bookmarks.
avoid double reallocations in appending operations
avoid double reallocation in string-growing replace() case
optimize qHash() some more
optimize QList::mid()
optimization: use QList::reserve() in QSet::toList()
add QList::reserve()
...
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
QString::fromUtf16() is slow - it does a BOM check and optionally byte
swapping, which is utterly irrelevant when converting internal data
structures which are raw utf16 in host byte order. so replace it with
QString::fromUnicode() where possible (which seems to be everywhere).
the reasoning is the same as in commit e0fda52f, so not getting further
reviews.
Reviewed-by: denis
Reviewed-by: joao
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QT_LFLAGS_PSQL can introduce -lz. To respect qt-zlib, this must be
be removed so that zlib will come from -lQtCore4. Otherwise, linking
can fail due to there being two different libraries providing zlib.
This affects building shared Qt.
This patch fixes the problem for win32-g++ and also unix. Assumed
that QT_LFLAGS_PSQL is set in configure step if -lpq is not enough.
Not sure why parallel logic is in src/sql/drivers/drivers.pri but
I fixed that too.
Merge-request: 405
Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
|
|\ \
| |/ |
|
| |
| |
| |
| | |
This reverts commit 4935ec52fc07d4aaa7ae594cfe9986e25ca62dcb.
|
| |
| |
| |
| |
| |
| | |
On some platforms, especially iODBC, wchar_t is a 32bit value, not 16
Task-number: QTBUG-6928
|
| |
| |
| |
| |
| |
| |
| | |
This modification is needed to allow performance optimisations
necessary for QML.
Reviewed-by: Warwick Allison
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
examples/assistant/simpletextviewer/findfiledialog.cpp
qmake/generators/symbian/symmake.cpp
tools/assistant/lib/qhelpgenerator.cpp
tools/assistant/lib/qhelpsearchquerywidget.cpp
translations/translations.pri
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QString::fromUtf16() is slow - it does a BOM check and optionally byte
swapping, which is utterly pointless when converting internal data
structures which are raw utf16 in host byte order anyway. so replace
it with QString::fromRawData() (for short-lived strings) or
QString(const QChar *, int) (otherwise) if possible.
Reviewed-by: axis
Reviewed-by: mariusSO
Reviewed-by: Bill King
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of git@scm.dev.nokia.troll.no:qt/oslo-staging-2:
build fix for mingw
Build fix for MSVC2005 and older SDK
QStyleSheetStyle: Fixed some text croped when having padding with native border.
Remove obsolete code for unsupported platforms
Character spacing when drawing a QPicture to a high DPI device.
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This code was apparently put in for OSX10.3. ODBC2 is over 10 years
old now, and even microsoft doesn't support any fashion to link to the
ansi versions of the functions. Remove the #define so that we don't
have to support it any more.
Reviewed-by: Justin McPherson
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (71 commits)
QNAM HTTP Code: Cache socket state inside ensureConnection()
tst_qhttpnetworkconnection: Test also HEAD in some tests
tst_qhttpnetworkconnection: Relax condition in getMultipleWithPriorities
QNAM HTTP Code: When starting new request, prefer connected sockets.
typo fix
Added the 'framecapture' WebKit example to the default build.
Fix code example
fix typo in qreadwritelock's documentation
QNAM HTTP: Don't call d_func() so often
QNAM HTTP: Fix readBuffer maximum size.
QNAM HTTP: Optimize eatWhitespace()
QNAM HTTP: Check if socket already tries to connect.
network internals: fix build on S60
[syncqt] Make -separate-module work with WebKit's directory structure
doc: Corrected explanation of when append() does nothing.
doc: Added clarification about allocating space for the 0 terminator.
Add a way to access the normalised URL in QUrl.
[syncqt] Make it possible to synchronize headers for a separate module
[syncqt] Make it possible to override the base directory
network internals: start HTTP GET requests right away when called
...
|
| |\ \ \
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
QIODevice: Fix readAll()
Temporary hackiesh solution to prevent BOM in the xml data.
Fixed qxmlstream autotest when using shadow builds.
Attempt at readding the capital P headers for Phonon
Remove special Phonon processing from syncqt.
Use the lowercase/shortname.h headers for Phonon includes
Fixes a crash when setting focus on a widget with a focus proxy.
Update copyright year to 2010
doc: Clarified activeSubControls and subControls.
Remove warning "statement with no effect"
doc: Clarified that .lnk files are System files on Windows.
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Trust Me
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Forgot to port the fix over to sqlite2 which seems to also be affected
by the setForwardOnly caching bug as well.
Task-number: QTBUG-6421
Reviewed-by: Justin McPherson
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Most drivers return SQL_SUCCESS when executing a delete statement for
example, but FreeTDS returns SQL_NO_DATA, which is technically correct,
but doesn't follow the practice of other drivers.
Task-number: QTBUG-4896
Reviewed-by: Justin McPherson
|
| |
| |
| |
| |
| |
| |
| | |
CLOB/NCLOB/LONG are actually strings, so treat them as such.
Task-number: QTBUG-4461
Reviewed-by: Justin McPherson
|
|/
|
|
|
|
|
|
|
|
| |
SqlServer can throw custom error messages (via RaiseError) that can be
up to 8000 chars long. Fixed this with a pre-query as to the length of
the error string, then allocating enough space to retrieve the whole
error string at once.
Task-number: QTBUG-6618
Reviewed-by: Derick Hawcroft
|
|
|
|
|
|
|
| |
fixes setForwardOnly() for both OCI and SQLite
Task-number: QTBUG-6421
Reviewed-by: Justin McPherson
|
|
|
|
|
| |
Task-number: QTBUG-5298
Reviewed-by: Justin McPherson
|
|
|
|
| |
Task-number: QTBUG-6387
|
|
|
|
|
|
|
| |
Add additional error handling
Task-number:QTBUG-5758
Reviewed-by: trustme
|
|\
| |
| |
| |
| |
| | |
Conflicts:
tests/auto/qsqlquery/tst_qsqlquery.cpp
tests/auto/qtextlayout/tst_qtextlayout.cpp
|
| |
| |
| |
| |
| |
| |
| |
| | |
PostgreSQL can store/retieve the millisecond part of type "TIME" , so
allow it in the API level.
Task-number: QTBUG-5251
Reviewed-by: Bill King
|
| |
| |
| |
| |
| |
| |
| | |
syntax errors, bad column names, etc.
Merge-request: 1987
Reviewed-by: Bill King <bill.king@nokia.com>
|
| |
| |
| |
| | |
Reviewed-by: Bill King <bill.king@nokia.com>
|
| |
| |
| |
| |
| |
| |
| | |
replaces strtod call with locale aware QString::toDouble()
Task-number: QTBUG-5179
Reviewed-by: Justin McPherson
|
| |
| |
| |
| |
| |
| | |
reserve() affects capacity(), not length().
Task-number: QTBUG-551
|
| |
| |
| |
| |
| |
| | |
For non-unicode databases, use ascii.
Task-number: QTBUG-3736
|
|\ \
| |/
| |
| |
| |
| |
| | |
Conflicts:
src/3rdparty/webkit/WebCore/generated/CSSGrammar.cpp
src/3rdparty/webkit/WebCore/generated/CSSGrammar.h
(merged webkit files with -s ours)
|
| |
| |
| |
| | |
Task-number: QT-754
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This fixes an issue where a forwardonly result set would force
forwardonly on the next query, despite what the user had explicitly set.
Reviewed-by: Justin McPherson
|
| |
| |
| |
| |
| |
| | |
adds MYSQL_OPT_RECONNECT to the mysql driver options.
Task-number: QTBUG-4510
|
|\ \
| |/
| |
| |
| |
| |
| | |
Conflicts:
tests/auto/qimagereader/tst_qimagereader.cpp
tests/auto/qpainter/tst_qpainter.cpp
tests/auto/qtwidgets/tst_qtwidgets.cpp
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously you had to set forward only on non-scrollable datasets
explicitly. This queries ODBC, to determine if it's a scrollable
dataset, and sets forwardOnly to false if it isn't.
Task-number: QT-353
Reviewed-by: Justin McPherson
|