Qingping Hou
e3b567b2b1
fix kerning for Utf8Text family methods from tigran123
...
refer to master pullrequest #386 and #383 , related
commits are (all in master(kpv) tree):
cb25029ddd
c7b4cf71f8
379cba7b68
2012-10-09 16:08:34 -04:00
Tigran Aivazian
604f635c46
Cleanup of getUsedBBox() function.
...
The function getUsedBBox() does not need to perform any operations on
the DjvuPage structure, so there is no need to obtain it from Lua.
2012-10-09 14:54:17 -04:00
Tigran Aivazian
cbfa0d5344
Generate git-rev file at compile time.
...
The file git-rev containing the program's version should be generated at
kpdfview compile time rather than package generation time.
Conflicts:
Makefile
2012-10-09 14:41:00 -04:00
Qingping Hou
78c7007f43
add todo for kerning in text widgets
2012-10-09 12:39:09 -04:00
Tigran Aivazian
e191930684
Mention patch in the pre-requisites for building.
...
On FC17 patch(1) command is not installed by default.
2012-10-06 22:55:41 +08:00
Tigran Aivazian
5fd9aac780
Display DjVu info in the status line.
...
The DjVu info shown in the status line includes:
1. Physical page dimensions.
2. Current value of gamma and (in square brackets) the value of the
display for which the page was designed.
3. Page resolution (in dpi).
4. Page type.
For the end-user probably the most useful bit is the page type as it
helps him decide which rendering mode to choose for this page (and also
explains why he can't see anything on the page --- e.g. when rendering
some COMPOUND or PHOTO pages in B&W mode). For the developer the
physical page dimensions are also interesting as they allow to estimate
the amount of time needed for page decoding and cache efficiency.
Conflicts:
djvureader.lua
2012-10-04 18:24:22 -04:00
Tigran Aivazian
e3d02cd578
First stage of improving the DjVu status info.
...
Conflicts:
djvureader.lua
2012-10-04 18:23:51 -04:00
Tigran Aivazian
9e786e0eed
Small typo that wasted millions of instructions.
...
Now that #define CRENGINE_DEBUG is handled correctly, all those pesky
messages from crengine are gone and so the performance of crereader
should be much better --- remember that under some circumstances
crengine generates literally THOUSANDS of debug messages per second
(e.g. when complaining about corrupt TOC nodes and there are _plenty_ of
fb2 files out there which have an invalid structure).
2012-10-04 09:09:18 -04:00
Dobrica Pavlinušić
812d52c1fa
Merge pull request #365 from houqp/new_ui_code
...
merge latest changes from master branch
2012-10-03 10:17:34 -07:00
Tigran Aivazian
d551e7fb63
Cleanup crereader fonts initialization.
...
Don't try to register the two fonts Dingbats.cff and StandardSymL.cff
with crengine because it will reject them anyway. But we cannot simply
remove these two fonts because they are used internally by mupdf to
emulate "builtin" fonts which are mandated by Adobe PDF specification to
be present in every valid implementation.
2012-10-03 13:08:27 -04:00
NiLuJe
d60504ef83
More comments on the whole unaligned access mess on FW 2.x. Don't even
...
think about setting the alignment trap to a mode that includes warn,
that simply kills the performance because of the storm of faults the
syslog gets...
2012-10-03 13:03:27 -04:00
NiLuJe
42e66cc605
Yep, -mno-unaligned-access is definitely needed with a GCC 4.7
...
ToolChain, the kernel used on FW 2.x is too old to handle unaligned
accesses properly.
2012-10-03 13:02:04 -04:00
NiLuJe
24b9678dc6
It's a spaaaaace!
2012-10-03 13:01:25 -04:00
NiLuJe
3e47fe8e01
Quote that to avoid potential issues...
2012-10-03 12:57:20 -04:00
NiLuJe
3f945b8d93
We don't need you, either, in EMU...
2012-10-03 12:57:08 -04:00
NiLuJe
e04cb9a66b
We don't need those two in EMU ;).
2012-10-03 12:56:57 -04:00
NiLuJe
0790190af5
Slightly nicer fix for building mupdf's .host stuff with CFLAGS in the env.
2012-10-03 12:55:26 -04:00
NiLuJe
c68ac9c8c8
Add a note about -mno-unaligned-access (check my x-compile.sh script for
...
more details, I'll revisit this once Linaro 2012.10 comes out).
2012-10-03 12:54:58 -04:00
NiLuJe
d55138113f
Split the backward compat stuff between CFLAGS/CXXFLAGS
2012-10-03 12:54:34 -04:00
NiLuJe
c35b5d2d56
Don't use the backward compat flags on the host. Move to a dedicated
...
variable, with a few comments to explain ;).
2012-10-03 12:53:19 -04:00
NiLuJe
9520c9b662
Add -fno-finite-math-only (after -ffast-math) to the ARM flags to avoid
...
MG 2012.03 pulling GLIBC_2.15 symbols from libm (because -ffast-math asks
for it).
I didn't see this on my own TC because it's using a much older glibc version (2.9).
2012-10-03 12:53:09 -04:00
NiLuJe
b0f7ea5d81
revert the whole 'let's use ld' thing. It's useless, and might wreak
...
havoc on EMU builds picking up system libs instead of the bundled ones.
2012-10-03 12:52:39 -04:00
NiLuJe
9169ac7541
Make sure we're always building luajit statically, so ld doesn't pick a
...
shared version. Of course that explained the size difference :D.
2012-10-03 12:52:18 -04:00
NiLuJe
5a2e4dec99
Fix the luajit clean fix (forgot to quote *_*).
...
Let ld do its job when linking, don't pass the static libs as object
files (we end up with a smaller native binary).
2012-10-03 12:51:27 -04:00
NiLuJe
e29052dbbc
Mention open_noshell in the README
2012-10-03 12:50:48 -04:00
NiLuJe
679fce3df4
Make sure we're building for the softfp float ABI, and not in Thumb.
...
Might fix #359
2012-10-03 12:50:17 -04:00
NiLuJe
b5134ee4f2
Honor toplevel settings re: CC/FLAGS when building libdjvu. Define
...
_GNU_SOURCE to fix build with CS/MG TC. Fixes #341
2012-10-03 12:49:50 -04:00
NiLuJe
51345c6f08
Let's do a distclean, actually. Less noise in git status that way.
2012-10-03 12:49:27 -04:00
NiLuJe
9173f0a549
Don't require a cross-tc for cleanthirdparty (still confuzzled about why
...
luajit needs CFLAGS for a clean target, but, hey!). Fixes #357
2012-10-03 12:48:38 -04:00
Dobrica Pavlinušić
40bdee5c1f
Merge pull request #361 from houqp/new_ui_code
...
merge latest changes from master branch
2012-10-03 06:36:40 -07:00
Tigran Aivazian
334bedee97
Mention dependency on svn as required for popen_noshell.c
...
When we run make fetchthirdparty it does svn co of popen-noshell
2012-10-03 05:41:33 -04:00
Qingping Hou
7352ff8a65
revert commit 9127d1c9a1
...
As NiLuJe points out, that line is not needed, clean
stage of the popen Makefile will take care of it.
2012-10-03 05:36:59 -04:00
NiLuJe
bccccba794
Reimplement kpdf.sh changes from PR#348 after the PR#352 merge, and fix
...
customupdate to actually bundle kpdf.sh in the new location
Conflicts:
launchpad/kpdf.sh
2012-10-02 21:40:05 -04:00
Qingping Hou
6c0670740d
revert wrong conflict merge for New InfoMessage Concept
2012-10-02 21:21:59 -04:00
Qingping Hou
e82121b72e
add HOSTAR for emu mode complie
2012-10-02 21:15:37 -04:00
Qingping Hou
9a1e581f7a
add popennslib to cleanthirdparty
2012-10-02 21:14:21 -04:00
NiLuJe
30c3497654
Slight syntax tweak
2012-10-02 21:05:05 -04:00
NiLuJe
6041e5c0eb
Forgot to revert that too, useless now :).
2012-10-02 21:04:55 -04:00
NiLuJe
4c5341fb30
Hello, tiny stupid typo!
2012-10-02 21:04:45 -04:00
NiLuJe
9f5cd9d021
Actually, no that's wrong, it's not the parent process, it's a fork.
2012-10-02 21:04:24 -04:00
NiLuJe
2572dd0657
Kill a bit of cruft, explain the reasonning behind the kill/traps, and
...
fix a potential buffering issue eating the first slider event
2012-10-02 21:04:15 -04:00
NuPogodi
0eaf2671fd
New InfoMessage Concept
...
Part I (still no unireader, crereader, filesearcher & fileinfo)
Conflicts:
commands.lua
dialog.lua
filechooser.lua
filehistory.lua
font.lua
inputbox.lua
reader.lua
resources/info-i.png
screen.lua
selectmenu.lua
2012-10-02 21:03:56 -04:00
NiLuJe
4310b68b3b
Don't checkout popen_noshell twice (it reverts parts of our patch)
2012-10-02 20:57:06 -04:00
NiLuJe
84e107313c
Don't patch popen-noshell twice
2012-10-02 20:56:58 -04:00
NiLuJe
8250d77390
Properly fix the luajit *FLAGS mess
2012-10-02 20:56:46 -04:00
NiLuJe
3672d79fef
Restore Makefiles tweaks
2012-10-02 20:56:37 -04:00
NiLuJe
0a14cf7eac
Ignore untracked popen_noshell stuff
2012-10-02 20:54:50 -04:00
NiLuJe
10c9b3a58c
Fetch popen_noshell during fetchthirdparty, don't bundle it in our repo
2012-10-02 20:53:42 -04:00
NiLuJe
18ed67ba2c
Fix a stupid typo
2012-10-02 20:52:59 -04:00
NiLuJe
ead342926c
Use popen_noshell as a static lib instead of an object file. Use CHOST
...
instead of HOST (and allow it to be set from the env), use $(MAKE)
instead of make to allow using the jobserver properly, and remove the
dash from commands where we do care about the return code (or inhibit
errors the usual way: rm -f instead of -rm)
Conflicts:
Makefile
2012-10-02 20:52:49 -04:00