Commit graph

32 commits

Author SHA1 Message Date
Ivailo Monev
24262a6821 khtml: do not use arenas for rendering for release builds
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-07 04:15:01 +00:00
Ivailo Monev
4e4398ee0c Revert "khtml: do not use arenas for rendering allocations"
This reverts commit 45a85bce5d.
2016-03-07 04:14:03 +00:00
Ivailo Monev
45a85bce5d khtml: do not use arenas for rendering allocations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-07 03:48:04 +00:00
Ivailo Monev
baaae44ee1 khtml: fix debug build after 1159ece1
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-07 01:20:19 +00:00
Ivailo Monev
bb26b6abd8 generic: make KJS KHTML exclusive
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-04 16:07:03 +02:00
Ivailo Monev
e8c09de3c1 khtml: cleanup Java leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-03 04:46:49 +02:00
Ivailo Monev
225eb7a170 generic: remove Java and image plugins for khtml
the Java applet viewer has not been touch for a long time and I
suppose nobody will. the image plugin is useless when gwenview is
installed which is the image viewer for KDE.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-03 03:52:19 +02:00
Ivailo Monev
ad78e5d7b6 khtml: simplify line break handling
for the Thai language it get's it right most of the time, the
point is to avoid dlopen-ing the library and resolving the symbols
at runtime avoiding overheat and dependency on the library by
making use of what Qt4/Katie offers. the actual compile-time check
for libthai was not in place so it was always probed for at
runtime which can cause all kinds of problems and leaves open an
attack vector.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-01 06:17:53 +02:00
Ivailo Monev
ac6aaa5fee khtml: cleanup and fix alpha channel detection regression since 2f72cbbd
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-02-29 03:45:57 +02:00
Ivailo Monev
aef9f7cf16 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-02-25 18:59:51 +02:00
Ivailo Monev
ce25e6a7f9 khtml: get rid of "FastMalloc"
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-02-24 05:21:15 +02:00
Ivailo Monev
16fe7d53bd generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-02-24 04:42:44 +02:00
Ivailo Monev
a5d692d325 khtml: store page caches in memory
they are small enough (usually ~200KB) to not cause major increase
of system requirements as QCache is used and it defaults to not
more than 10 entries. worst case scenario they can be compressed
via qCompress() but that will make things a bit more complicated.

the change prevents exposure of the page caches so that
overwriting them for malicious purposes is less likely to happen.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-02-22 19:23:09 +02:00
Ivailo Monev
f861163435 khtml: do not bother compressing page caches
they are very small and the compression cost is not worth it in most cases

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-02-20 18:01:07 +02:00
Ivailo Monev
ca67972e3f khtml: disable xpath parser debugging for release builds
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-02-20 07:28:15 +02:00
Ivailo Monev
2f72cbbdbe khtml: use QImageReader explicitly
this allows to use char* instead of uchar* to avoid some casts,
also incremental requests are no more and the data is handled in
one go to avoid a lot of small memory allocations and extra array
for each image. it does perform slitely worse but with this a lot
more image formats can be handled with higher quality (slitely)
and even more correct, some images previously did not show
at all because of the broken image handlers.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-02-20 07:03:18 +02:00
Ivailo Monev
106a76e67f generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-02-17 20:49:17 +02:00
Ivailo Monev
b828f19886 khtml: update adblock subscriptions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-01-27 23:54:24 +02:00
Ivailo Monev
91ee52c839 khtml: remove dead code
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-16 04:42:50 +02:00
Ivailo Monev
cf3cf87dfa khtml: remove dead code
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-16 03:23:44 +02:00
Ivailo Monev
ffc882bbde khtml: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-14 00:28:18 +02:00
Ivailo Monev
b9ee8f0585 khtml: fix compiler warning when KJS debugger is not enabled
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-14 00:13:18 +02:00
Ivailo Monev
082c2fe295 khtml: move khtmlrc from kde-baseaapps
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-13 15:59:04 +02:00
Ivailo Monev
beabc2a9ec khtml: remove some platform ifdef's 2015-11-10 02:41:59 +02:00
Ivailo Monev
d96892c084 khtml: fix compiler warning about unsigned -> int
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-10 02:01:49 +02:00
Ivailo Monev
d7678b6e94 khtml: build debugger only when build type is Debug
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-10 01:11:59 +02:00
Ivailo Monev
39f1e04295 generic: add back khtml and kjs with some changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-09 23:23:53 +02:00
Ivailo Monev
089d87392b removed khtml 2014-11-18 13:21:08 +00:00
Ivailo Monev
d1998a1d50 removed static libraries defines (including #if 0, watch out!) 2014-11-18 00:42:37 +00:00
Ivailo Monev
e60c979750 removed some windows and apple cruft 2014-11-17 00:52:07 +00:00
Ivailo Monev
c0f19915b3 removed Qt3 support 2014-11-13 01:20:30 +02:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00