Skip to content
C C++ Objective-C Assembly HTML Makefile Other
Branch: master
Clone or download

Latest commit

Latest commit 74e19d5 May 31, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows github ci: dump env for debugging; add build-ramicro-pre-rel webhook … May 7, 2020
.vscode update includePath for vscode May 14, 2020
appx start on appx Jan 1, 2020
bin add bin\pigz.exe Oct 29, 2019
do fix build script Jun 1, 2020
docs delete obsolete docs Apr 18, 2020
ext add forgotten lcms2 files May 28, 2020
gfx start on ramicro installer Jan 28, 2020
mupdf update mupdf May 29, 2020
scripts update copyright year in a code generator script Apr 16, 2020
src don't offer to open non-pdf embedded files (for #1361) May 31, 2020
strings update translations May 22, 2020
tools tweak dump_annots.js Apr 18, 2020
vs2019 extract WndProcCanvasAbout() and related code into CanvasAboutUI.cpp May 31, 2020
website update backers May 31, 2020
.clang-format tweak clang format style and reformat Nov 8, 2019
.editorconfig refactor LabelWithCloseWnd Dec 23, 2018
.gitattributes disable git's LF normalization Aug 20, 2015
.gitignore update to latest mupdf Apr 17, 2020
AUTHORS merge latest jbig2dec update Sep 24, 2015
BACKERS.md update backers May 31, 2020
COPYING update the license to GPLv3, to match mupdf's license change Jul 3, 2009
COPYING.BSD allow seeking in Rar file (and add IStream support) Jun 15, 2014
TRANSLATORS update documentation URLs for github.com switch Dec 3, 2014
asan.supp add asan.supp (even though they don't seem to work) Dec 9, 2019
doit.bat add separate x32_xp target Oct 23, 2019
drmem-sup.txt fix typo in comments Oct 4, 2015
premake5.files.lua extract WndProcCanvasAbout() and related code into CanvasAboutUI.cpp May 31, 2020
premake5.lua update wdl May 27, 2020
premake5.opt.lua disable a warning to fix 32-bit build May 5, 2020
premake5.unix.lua change c++ standard from c++17 to c++-latest (currently c++20) Dec 26, 2019
readme.md tweak Vec so that Append() won't crash if resizing fails Dec 9, 2019
winget-manifest.yaml fix typo in winget manifest May 22, 2020

readme.md

SumatraPDF Reader

SumatraPDF is a multi-format (PDF, EPUB, MOBI, FB2, CHM, XPS, DjVu) reader for Windows under (A)GPLv3 license, with some code under BSD license (see AUTHORS).

More information:

To compile you need Visual Studio 2019. Free Community edition works.

I tend to update to the latest release of Visual Studio. Lately C++ evolves quickly and Visual Studio constantly adds latest capabilities. If things don't compile, first make sure you're using the latest version of Visual Studio.

Open vs2019/SumatraPDF.sln when using Visual Studio 2019

You need at least version 16.4 of Visual Studio 2019.

Notes on targets:

Asan notes

Flags: https://github.com/google/sanitizers/wiki/SanitizerCommonFlags Can be set with env variable:

  • ASAN_OPTIONS=allocator_may_return_null=1:verbosity=1:check_malloc_usable_size=false:suppressions="C:\Users\kjk\src\sumatrapdf\asan.supp"

In Visual Studio, this is in Debugging, Environment section.

Supressing issues: https://clang.llvm.org/docs/AddressSanitizer.html#issue-suppression Note: I couldn't get supressing to work.

You can’t perform that action at this time.