Commit graph

21 commits

Author SHA1 Message Date
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