NiLuJe
e04cb9a66b
We don't need those two in EMU ;).
12 years ago
NiLuJe
0790190af5
Slightly nicer fix for building mupdf's .host stuff with CFLAGS in the env.
12 years ago
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).
12 years ago
NiLuJe
d55138113f
Split the backward compat stuff between CFLAGS/CXXFLAGS
12 years ago
NiLuJe
c35b5d2d56
Don't use the backward compat flags on the host. Move to a dedicated
...
variable, with a few comments to explain ;).
12 years ago
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).
12 years ago
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.
12 years ago
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.
12 years ago
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).
12 years ago
NiLuJe
e29052dbbc
Mention open_noshell in the README
12 years ago
NiLuJe
679fce3df4
Make sure we're building for the softfp float ABI, and not in Thumb.
...
Might fix #359
12 years ago
NiLuJe
b5134ee4f2
Honor toplevel settings re: CC/FLAGS when building libdjvu. Define
...
_GNU_SOURCE to fix build with CS/MG TC. Fixes #341
12 years ago
NiLuJe
51345c6f08
Let's do a distclean, actually. Less noise in git status that way.
12 years ago
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
12 years ago
Dobrica Pavlinušić
40bdee5c1f
Merge pull request #361 from houqp/new_ui_code
...
merge latest changes from master branch
12 years ago
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
12 years ago
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.
12 years ago
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
12 years ago
Qingping Hou
6c0670740d
revert wrong conflict merge for New InfoMessage Concept
12 years ago
Qingping Hou
e82121b72e
add HOSTAR for emu mode complie
12 years ago
Qingping Hou
9a1e581f7a
add popennslib to cleanthirdparty
12 years ago
NiLuJe
30c3497654
Slight syntax tweak
12 years ago
NiLuJe
6041e5c0eb
Forgot to revert that too, useless now :).
12 years ago
NiLuJe
4c5341fb30
Hello, tiny stupid typo!
12 years ago
NiLuJe
9f5cd9d021
Actually, no that's wrong, it's not the parent process, it's a fork.
12 years ago
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
12 years ago
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
12 years ago
NiLuJe
4310b68b3b
Don't checkout popen_noshell twice (it reverts parts of our patch)
12 years ago
NiLuJe
84e107313c
Don't patch popen-noshell twice
12 years ago
NiLuJe
8250d77390
Properly fix the luajit *FLAGS mess
12 years ago
NiLuJe
3672d79fef
Restore Makefiles tweaks
12 years ago
NiLuJe
0a14cf7eac
Ignore untracked popen_noshell stuff
12 years ago
NiLuJe
10c9b3a58c
Fetch popen_noshell during fetchthirdparty, don't bundle it in our repo
12 years ago
NiLuJe
18ed67ba2c
Fix a stupid typo
12 years ago
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
12 years ago
NiLuJe
cb03b33052
Add a small makefile to build popen_noshell as a static lib
12 years ago
NiLuJe
ee7122d6c4
Revert Makefile changes potentially unsuitable for upstream
12 years ago
NiLuJe
7ce8ff58f8
Update the standalone testcase, too.
12 years ago
NiLuJe
1d29b53b84
Kill debug printf
12 years ago
NiLuJe
26e10c6069
Fix input device closing, and fix lipc-wait-event handling (using
...
popen-noshell from http://code.google.com/p/popen-noshell/ )
Conflicts:
input.c
12 years ago
NiLuJe
acae9e618b
Makefile tweaks for my TC
12 years ago
Dobrica Pavlinusic
c6ead8690e
use git describe to generate version
...
Last release had git annotate tag (added with git -a) so this is
now much better alternative to just git sha1
12 years ago
Tigran Aivazian
47e5065d6a
Be minimalistic wrt LDFLAGS
...
Passing CFLAGS and LDFLAGS to kpdfview link stage has no effect in our
particular case, so I ripped it out, leaving it only for the crengine.
12 years ago
Tigran Aivazian
d5fb6c846f
Enable LTO for kpdfview and crengine
...
Enaling link time optimizations for kpdfview binary and crengine library
causes another slight performance increase --- almost negligible (1-2ms
per page) but still noticeable by precise measurements.
12 years ago
Tigran Aivazian
15baa52889
ARM-specific optimizations
...
Thanks to NiLuJe who pointed out that our generic -march=armv6 can be
replaced (for K2/K3/DX/DXG) with a more specific optimization:
-march=armv6j -mtune=arm1136jf-s -mfpu=vfp. This I have now done and
also passed ARM_CFLAGS value to CXXFLAGS which is then passed to
crengine build. Tested, works fine. The performance improvement is
negligible (a few ms per page, but seems to be consistently better, i.e.
not just plus/minus fluctuations).
12 years ago
Tigran Aivazian
5dc488e8c8
Build mupdf in release mode, not debug.
...
Thanks to NiLuJe who pointed out that we are building mupdf in debug
mode. Switching to "release" build reduced the size of the kpdfview
binary and did not cause any performance degradation (but no noticeable
improvement either --- the page handling times seem to be exactly the
same, i.e. fluctuating a couple of ms in both directions).
12 years ago
Tigran Aivazian
b7a763cefe
Comment out debug printf() in pdf.c
...
The printf() about the number of links on a page is very useful, but
only for debugging. As other instances of debugging printf() in djvu.c
and pdf.c are commented out, it seemed consistent to do the same with
this one.
12 years ago
Tigran Aivazian
69d293a6cc
Get rid of the compilation warning.
12 years ago
Dobrica Pavlinusic
0230ccfb59
add LF to end of debug message
12 years ago
Dobrica Pavlinusic
05e0647b9c
getPageLinks implementation for mupdf #72
...
This is rough first draft, and provides just dump of all links
available on pdf page. Binding to Shift+L is temporary and just for
debugging!
Conflicts:
pdfreader.lua
unireader.lua
12 years ago