Ivailo Monev
ce596653e4
remove some Q_WS_WIN, Q_WS_MAC, Q_CC_MSVC, etc. leftovers
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-09-11 17:38:50 +00:00
Ivailo Monev
a4e1e9b33b
cleanup and fixup
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-09-11 03:44:45 +00:00
Ivailo Monev
1370130551
build system cleanup
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-09-11 03:36:48 +00:00
Ivailo Monev
3131357af2
remove Windows, Mac and other proprietary OS files
2016-09-11 03:34:17 +00:00
Ivailo Monev
f661c97828
fix some compiler warnings
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-08-29 15:54:06 +00:00
Ivailo Monev
11c0d478fb
getting QTextBoundaryFinder to behave like I want it (theoretically)
...
Grapheme - all-in-one, everything that is not a letter or a number - marks,
punctuations, space, etc.
Word - stop at space, illogical but right because when one wants to word-
wrap (which this is mostly used for I assume) punctuation should be on the
same row which means that a split must happen after the punctuation, e.g.
"hey,<split> joe!"
Sentence - that's very questionable, usually a punctuation (e.g. comma) can
be used to split a sentence into few sentences but that does not mean that
the sentence boundary was found (e.g. full stop, question mark, etc.) in
the current implementation
Line - obviously just line ending, that would be \n for UNIX (x000A in
Unicode) and whatever else someone comes up into his own "standard".
In any case the whole text-boundary finder class looks wrong for any use
case to me, while I was working on KHTML I found that it's much faster and
more reliable to just test if the UChar/QChar is space (via isSpace()) or
whatever the case needs rather then use the finder. I do not want to botch
it out of the toolkit yet but I suppose a class that looks for a QChar
category(ies) would be far more usefull then a boundry type specific to the
boundry finder with assumptions that are not obvious at first glance.
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-08-29 05:04:31 +00:00
Ivailo Monev
4f7e7882d6
re-implement QTextBoundryFinder via QChar
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-08-28 17:06:32 +00:00
Ivailo Monev
31ccaee366
core component can be build as all-in-one now
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-08-26 14:36:42 +00:00
Ivailo Monev
42f492cf7c
preparations to support all-in-one targets build
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-08-25 02:56:09 +00:00
Ivailo Monev
90f41f16a4
QStringList must be exported now
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-08-23 17:45:06 +00:00
Ivailo Monev
ec7b25649c
mostly QStringList cleanup
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-08-23 14:05:34 +00:00
Ivailo Monev
49fc1b6222
merge qMemEquals and ucstrncmp
...
some of the changes are my own, the first hunk did not apply clean too
upstream commits:
2cfdb35269
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-08-23 04:29:21 +00:00
Ivailo Monev
2b41db9326
various cleanups
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-08-23 01:19:49 +00:00
Ivailo Monev
f8897622dc
various cleanups
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-08-21 18:37:25 +00:00
Ivailo Monev
91f2876f14
get rid of some SIMD remains
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-08-09 20:19:41 +00:00
Ivailo Monev
b3ae735d42
make it possible to disable all CPU features usage via "all" keyword
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-08-09 19:19:39 +00:00
Ivailo Monev
b28ce55a43
fix some compiler warnings
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-07-26 12:18:18 +00:00
Ivailo Monev
ca541d5076
fix some compiler warnings
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-07-26 11:40:31 +00:00
Ivailo Monev
9069f13ef6
various cleanups
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-07-26 03:02:11 +00:00
Ivailo Monev
046a819ce5
QSharedPointer cleanup
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-07-24 06:51:18 +00:00
Ivailo Monev
c03d7d64bd
various cleanups
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-07-23 22:49:45 +00:00
Ivailo Monev
431615fd1f
make ICU support non-runtime
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-07-23 22:49:32 +00:00
Ivailo Monev
b1176f7089
do not use Q_PACKED
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-07-22 09:27:36 +00:00
Ivailo Monev
51c8eeea81
minor cleanups
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-07-11 13:00:53 +00:00
Ivailo Monev
9bdda0cd5e
fix some compiler warnings
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-06-30 02:44:25 +00:00
Ivailo Monev
2a4f0d5598
Fix a "warning: 'operator+=' is deprecated" when building with clang
...
upstream commits:
191c0e300b
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-06-30 01:06:27 +00:00
Ivailo Monev
cfcbfd88ac
do not try to alighn the QHash and QMap data
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-06-28 19:45:49 +00:00
Ivailo Monev
bdd0890588
do not add private classes/structs to class map
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-06-27 22:26:22 +00:00
Ivailo Monev
84de3298df
move common functions to qlocale tools header and inline them
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-06-25 17:36:18 +00:00
Ivailo Monev
28352e4477
remove obsolete MSVC workaround
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-06-25 07:28:33 +00:00
Ivailo Monev
36229d5039
some bootstrap fixes for MSVC
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-06-24 13:54:01 +03:00
Ivailo Monev
18398add06
fix some pedantic compiler warnings
...
upstream commits:
fc4d45d97d
d730e07d01
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-06-20 14:09:41 +00:00
Ivailo Monev
115ecd24da
workaround the annoying compiler warning for QList
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-06-15 18:09:05 +00:00
Ivailo Monev
26c1c1937e
remove redundant type changes from QByteArray
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-06-15 02:27:29 +00:00
Ivailo Monev
3c3a4ef13a
fix some compiler warnings about ASCII casts
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-06-12 04:34:53 +00:00
Ivailo Monev
86d4449f84
manually inline the template for free'ing QList data
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-06-12 02:19:10 +00:00
Ivailo Monev
523aa6136e
minor QString header cleanup
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-06-11 23:18:07 +00:00
Ivailo Monev
be38b9e99e
workaround the annoying compiler warning for QByteArray
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-06-11 23:17:38 +00:00
Ivailo Monev
d60906e627
remove leftovers of reserved bits
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-06-08 01:19:47 +00:00
Ivailo Monev
729126ff1f
remove reservations from containers
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-06-07 23:49:58 +00:00
Ivailo Monev
bae37f7940
correct identation in qstrncpy()
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-06-07 23:19:47 +00:00
Ivailo Monev
06e6ca8c4d
Revert "fix compiler warnings about non-heap free"
...
even tough the fix was for bogus compiler warning and gets the job
done the LLVM address sanitizer will bail out when it encounters it.
This reverts commit 947b385fa6
.
2016-06-06 22:30:25 +00:00
Ivailo Monev
47fe296357
minor QStringMatcher cleanup
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-06-04 15:17:37 +00:00
Ivailo Monev
48a45d0cd4
build fixes for the QT_STRICT_ITERATORS conditional
...
the only thing left to fix is the dbus component which requires the
pointer operator backported from 9c5a77f0ef
but it messes up the erase and insert templates and causes source
incompatibilities so it has to investigated further.
upstream commits:
fad1fa65ed
7c1e0fef8e
c4fbe872be
0412ad3513
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-06-04 14:15:26 +00:00
Ivailo Monev
42ab80dc7d
cleanup QByteArrayMatcher
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-06-04 14:09:34 +00:00
Ivailo Monev
af86abe7bb
various cleanups
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-05-31 19:27:38 +00:00
Ivailo Monev
22b0ec7f43
do not try to alighn the QVector data
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-05-29 14:49:40 +00:00
Ivailo Monev
ef9ef0da73
fix ###'es in qrect.h (2)
...
I missed those
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-05-28 20:27:51 +00:00
Ivailo Monev
e6d4eb5454
fix ###'es in qrect.h
...
upstream commits:
3b973971fb
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-05-28 20:02:00 +00:00
Ivailo Monev
da9223c3fc
fix ### comments in QSet
...
upstream commits:
bb5ae21c41
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-05-28 19:40:17 +00:00