summaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* Added native language and country names (endonyms) to QLocale.Denis Dzyubenko2011-03-292-2/+29
| | | | | | Task-number: QTBUG-17092 Reviewed-by: Zeno Albisser Reviewed-by: Liang Qi
* Merge remote branch 'earth-team/master-i18n' into 4.8-earthDenis Dzyubenko2011-03-244-108/+729
|\ | | | | | | | | Conflicts: src/corelib/tools/tools.pri
| * Merge branch 'master-i18n' of scm.dev.nokia.troll.no:qt/qt-earth-team into ↵Denis Dzyubenko2011-03-172-3/+40
| |\ | | | | | | | | | | | | | | | | | | master-i18n Conflicts: src/corelib/tools/qlocale.h
| | * Using list patterns to get a string from list in QLocale.Liang Qi2011-03-082-3/+40
| | | | | | | | | | | | | | | Reviewed-by: Denis Dzyubenko Task-number: QTBUG-17097
| * | Added convenience script enum values to QLocale.Denis Dzyubenko2011-03-041-0/+2
| |/ | | | | | | | | | | | | | | | | Apparently SimplifiedHan and TraditionalHan are not widely used terms, hence adding convenience names SimplifiedChineseScript and TraditionalChineseScript. Also added the missing documentation for the Script enum. Reviewed-by: trustme
| * Added writing script support to QLocale.Denis Dzyubenko2011-03-023-22/+177
| | | | | | | | | | Task-number: QTBUG-17105 Reviewed-by: trustme
| * Fixed CLDR to QLocale generator.Denis Dzyubenko2011-03-011-3/+3
| | | | | | | | | | | | | | Create temp files on the same device as the QTDIR so that rename() will work properly. Reviewed-by: Liang Qi
| * Fixed the generator script for qlocale after splitting the sources.Denis Dzyubenko2011-02-251-12/+12
| | | | | | | | Reviewed-by: trustme
| * Implemented QLocale::weekendStart and QLocale::weekendEndZeno Albisser2011-02-242-2/+68
| | | | | | | | | | Reviewed-by: Denis Dzyubenko Task-number: QTBUG-17088
| * Implemented QLocale::quoteString(...)Zeno Albisser2011-02-222-3/+27
| | | | | | | | | | Reviewed-by: Denis Dzyubenko Task-number: QTBUG-17096
| * Another improvement to the CLDR parser/QLocale data generatorDenis Dzyubenko2011-02-211-28/+47
| | | | | | | | | | | | Include the CLDR version used in the QLocale documentation. Reviewed-by: trustme
| * In the generated locale data add the version info automatically.Denis Dzyubenko2011-02-182-1/+9
| | | | | | | | Reviewed-by: Zeno Albisser
| * Improved locale data generatorDenis Dzyubenko2011-02-181-103/+193
| | | | | | | | | | | | | | the qlocalexml2cpp.py script takes a path to the Qt source tree and patches all files with newly generated data automatically. Reviewed-by: Zeno Albisser
| * Added currency support for QLocaleDenis Dzyubenko2011-02-173-3/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | REMARK: This commit is missing updated static cldr data in src/corelib/tools/qlocale_data_p.h that has been left out intentionally to avoid repository bloating. Before compiling make sure to update that file using the scripts util/local_database/cldr2qlocalexml.py and util/local_database/qlocalexml2cpp.py. Otherwise you will most likely experience segmentation faults. Task-number: QTBUG-17100 Reviewed-by: Zeno Albisser
| * Implemented QLocale::firstDayOfWeek()Zeno Albisser2011-02-152-2/+45
| | | | | | | | | | | | | | | | | | | | | | | | REMARK: This commit is missing updated static cldr data in src/corelib/tools/qlocale_data_p.h that has been left out intentionally to avoid repository bloating. Before compiling make sure to update that file using the scripts util/local_database/cldr2qlocalexml.py and util/local_database/qlocalexml2cpp.py. Otherwise you will most likely experience segmentation faults. Reviewed-By: Denis Dzyubenko
* | Update copyright year to 2011.Rohan McGovern2011-03-101-1/+1
| | | | | | | | | | Reviewed-by: Trust Me (cherry picked from commit 774a3536b00c4d6e4c4c10b708e31b4373a338e3)
* | Add support for the INTEGRITY RTOS build systemRolland Dudemaine2011-02-221-0/+111
|/ | | | | | | Adds mkspecs and a qmake generator for Green Hills .gpj files Merge-request: 1101 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* Merge branch 4.7 into qt-master-from-4.7Qt Continuous Integration System2011-01-262-0/+2
|\
| * Add util/xkbdatagen/READMEOlivier Goffart2011-01-262-0/+2
| | | | | | | | Reviewed-by: Joao
* | Merge remote branch 'origin/4.7' into qt-master-from-4.7Olivier Goffart2011-01-1776-80/+250
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: examples/webkit/imageanalyzer/imageanalyzer.h examples/webkit/imageanalyzer/mainwindow.h mkspecs/unsupported/qws/linux-x86-openkode-g++/qplatformdefs.h src/corelib/io/qfsfileengine_iterator_unix.cpp src/corelib/io/qfsfileengine_iterator_win.cpp src/corelib/kernel/qcoreapplication.cpp src/network/access/qnetworkaccessdatabackend.cpp src/plugins/bearer/connman/qconnmanservice_linux.cpp src/plugins/platforms/openvglite/qwindowsurface_vglite.h src/s60installs/bwins/QtCoreu.def src/s60installs/eabi/QtCoreu.def src/s60installs/s60installs.pro tools/assistant/tools/assistant/helpviewer_qwv.h tools/qdoc3/test/qt-html-templates.qdocconf
| * Update copyright year to 2011.Jason McDonald2011-01-1075-81/+81
| | | | | | | | Reviewed-by: Trust Me
| * cookie jar code: enhance security by keeping track of effective TLDsPeter Hartmann2011-01-052-0/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was the following: According to the cookie RFC, domains must have at least one dot in their name for setting a cookie (e.g. domain example.com can set a cookie for ".example.com" but not for ".com"). The problem is: Following this rule, one could still set "supercookies" for e.g. ".co.uk". The solution is to generate a table from http://publicsuffix.org which maintains a list of all "effective" TLDs like e.g. ".co.uk". Reviewed-by: Olivier Goffart Task-number: QTBUG-14706
* | make the ArabicShaping parser a bit stricterKonstantin Ritt2010-11-291-13/+56
| | | | | | | | | | | | | | | | | | warn and halt if unassigned or unhandled joining value was met. this doesn't affect on the generated tables but makes the upgrading to the newer UCD versions a bit easier but safer in general. Merge-request: 946 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* | fix a typo in the code rangeKonstantin Ritt2010-11-291-3/+7
| | | | | | | | | | | | | | and add the curly braces to satisfy the coding style Merge-request: 946 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* | define a constant for the expected Properties struct sizeKonstantin Ritt2010-11-291-2/+3
|/ | | | | Merge-request: 946 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* Doc : Fixing typo.Sergio Ahumada2010-10-262-2/+2
|
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into ↵Qt Continuous Integration System2010-10-151-7/+11
|\ | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public: Fix epocroot handling in createpackage.pl script Make s60pixelmetrics harvester utility app more robust Implemented Qt::WA_ShowWithoutActivating for Symbian. Clean up ARM SIMD drawhelper code and make sure it works.
| * Make s60pixelmetrics harvester utility app more robustSami Merila2010-10-151-7/+11
| | | | | | | | | | | | | | There were some exceptional situations where the utility app caused either a memory leak, or outright crashed. Reviewed-by: TrustMe
* | Doc: Fixed the in-repository licenses for the documentation.David Boddie2010-10-041-5/+5
|/ | | | | | In the repository, we should always use the No Commercial license alongside the GNU Free Documentation License for documentation files.
* Compile in C++0x modeThiago Macieira2010-09-211-1/+1
|
* minor clean-upsRitt Konstantin2010-09-211-26/+21
| | | | | improve readability nicer output
* minor improvements for data parsersRitt Konstantin2010-09-211-61/+77
| | | | | improve readability of upperCase/lowerCase/titleCase/caseFolded code paths; additional tests make some parsers more consistent; minor speed-up
* tiny clean-up for generated dataRitt Konstantin2010-09-211-2/+4
|
* move QUnicodeTables:: script() and lineBreakClass() implementationsRitt Konstantin2010-09-211-0/+18
| | | | from qchar.cpp to qunicodetables.cpp
* Doc: Relicensed the documentation under the GNU FDL version 1.3.David Boddie2010-06-211-25/+11
| | | | | Reviewed-by: Trust Me Requested-by: Legal
* Merge remote branch 'origin/4.6' into qt-4.7-from-4.6Olivier Goffart2010-06-082-9/+20
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty/webkit/VERSION src/3rdparty/webkit/WebCore/ChangeLog src/3rdparty/webkit/WebKit/qt/Api/qwebpage.cpp src/3rdparty/webkit/WebKit/qt/ChangeLog src/gui/painting/qpainter.cpp src/gui/painting/qtextureglyphcache.cpp src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp src/opengl/gl2paintengineex/qtextureglyphcache_gl_p.h src/s60installs/bwins/QtGuiu.def src/s60installs/eabi/QtCoreu.def src/s60installs/eabi/QtGuiu.def src/s60installs/eabi/QtNetworku.def src/s60installs/eabi/QtOpenVGu.def tests/auto/qfontmetrics/tst_qfontmetrics.cpp tools/linguist/lupdate/main.cpp
| * Fixes for the s60theme toolAlessandro Portale2010-05-272-9/+20
| | | | | | | | | | | | | | | | | | | | The main app did not return an error code but rather a int-converted boolean. When loading from .tdf files, the tool will now search for .svg files directly, if the part is not found in the .tdf file. Task-number: QTSIM-9
* | Fixed a typo in variable name in qlocale data generator.Denis Dzyubenko2010-05-251-1/+1
| | | | | | | | Reviewed-by: trustme
* | Added default countries for Mongolian and Nepali.Denis Dzyubenko2010-05-191-0/+8
| | | | | | | | | | Task-number: QTBUG-9370 Reviewed-by: trustme
* | Merge remote branch 'origin/4.7' into HEADOlivier Goffart2010-05-191-5/+7
|\ \ | | | | | | | | | | | | Conflicts: src/corelib/tools/qlocale_symbian.cpp
| * \ Merge remote branch 'origin/4.6' into qt-4.7-from-4.6Olivier Goffart2010-05-171-5/+7
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: demos/demos.pro mkspecs/features/resources.prf mkspecs/features/uic.prf src/corelib/io/qurl.cpp src/corelib/tools/qlocale_symbian.cpp src/gui/graphicsview/qgraphicsscene.cpp src/gui/graphicsview/qgraphicswidget_p.cpp src/gui/graphicsview/qgraphicswidget_p.h src/gui/util/qsystemtrayicon_win.cpp src/multimedia/audio/qaudioinput.cpp tests/auto/qhostinfo/qhostinfo.pro
| | * QS60Style: Sliders are too smallSami Merila2010-05-061-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometime back slider graphic in the QS60Style was changed to use the "new" slider graphic available in 5th Edition and newer SDKs (the old SDKs still use the slider graphic). However, at that time nobody noticed that the new slider has different size than the old one in the Nokia LAF document. To fix the sliders, updated the pixel metrics calculation rules to use the new slider LAF data. Also fixed a grpahic start and end part rounding to match native look. Task-number: QTBUG-10454 Reviewed-by: Alessandro Portale
* | | Added support for es_419 locale.Denis Dzyubenko2010-05-182-2/+6
|/ / | | | | | | | | | | | | | | Added a new country code "419" which stands for "Latin America and the Caribbean". This is the first three-letter country code (from UN M.49). Task-number: QT-3312 Reviewed-by: Thiago Macieira
* | Merge remote branch 'origin/4.6' into qt-4.7-from-4.6Thiago Macieira2010-04-292-3/+17
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | All EGL-related changes from 4.6 were discarded. Conflicts: src/gui/egl/egl.pri src/gui/egl/qegl.cpp src/gui/egl/qegl_p.h src/gui/egl/qegl_stub.cpp src/gui/egl/qeglproperties_p.h src/gui/egl/qeglproperties_stub.cpp src/gui/gui.pro src/multimedia/multimedia/audio/qaudioinput_win32_p.h src/s60installs/bwins/QtGuiu.def src/s60installs/eabi/QtGuiu.def
| * fix crash in QXmlStreamReaderPeter Hartmann2010-04-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this fixes a possible off-by-one data corruption which apparently is only triggered in rare circumstances. The problem was: We were checking whether we would need to reallocate the stack (line 1245), but sometimes were incrementing tos (line 1278) and then accessing the state stack at an out-of-bounds position (line 1951). Additionally, adapt the qlalr generator for changes made to qxmlstream_p.h directly and recreate that file with qlalr. Reviewed-by: Frans Englich Reviewed-by: Roberto Raggi Task-number: QTBUG-9196
| * QS60Style: QMenu behaves badly with a lot of menu itemsSami Merila2010-04-261-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to recent change in QS60Style where combobox menu was changed to popup menu, instead of dropdown menu, long QMenus now work sloppily. This is due to that pixel metric PE_MenuScrollerHeight was set to zero to avoid "non-drawn" areas in combobox popups. Of course, QMenu scrolling really needs the scrolling area if it is to make any scrolling. As a solution, scroller height is now zero for combobox popup and in QMenu it is the height of itemview item (for "standard" content), but no any scroller indication is drawn. The menu scrolls automatically when bottom/top part of menu list is highlighted. Task-number: QTBUG-10073 Reviewed-by: Janne Koskinen
* | Convert date/time format to something that Qt understandsDenis Dzyubenko2010-04-162-4/+125
| | | | | | | | | | | | | | | | | | | | The date/time format in QLocale originate from unicode CLDR which has more format patterns that Qt understands, so when generating date for QLocale we remove unsupported patterns and convert some other to something that Qt understands. Task-number: QTBUG-9500 Reviewed-by: Thiago
* | Merge remote branch 'origin/4.6' into qt-4.7-from-4.6Thiago Macieira2010-03-293-6/+18
|\ \ | |/ | | | | | | | | | | Conflicts: mkspecs/common/symbian/symbian.conf qmake/generators/symbian/symmake.cpp src/3rdparty/webkit/WebCore/WebCore.pro
| * QMessageBox is smaller than native MessageBoxSami Merila2010-03-253-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Messageboxes are smaller than native ones. This is due to that native ones have a lot of empty space. To fix this, we define a new custom pixel metrics that is the minimum height of one text line messagebox (aka AknPopUp) on the native side. Then we ensure that the QMessageBox is at least of this height. Additionally we do some minor styling for QMessageBox: - the corners graphics are now as rounded as on native side - the font is set to match the native side - the top margin space is doubled for dialogs, which is rather good approximation of native side Task-number: QTBUG-4875 Reviewed-by: Janne Anttila
* | Upgraded QLocale data to Unicode CLDR 1.8.0Denis Dzyubenko2010-03-223-9224/+64
| | | | | | | | Reviewed-by: Frans Englich