Sigil-0.9.9/ 0000775 0000000 0000000 00000000000 13216764125 0012607 5 ustar 00root root 0000000 0000000 Sigil-0.9.9/3rdparty/ 0000775 0000000 0000000 00000000000 13216764125 0014357 5 ustar 00root root 0000000 0000000 Sigil-0.9.9/3rdparty/CMakeLists.txt 0000664 0000000 0000000 00000003105 13216764125 0017116 0 ustar 00root root 0000000 0000000 cmake_minimum_required(VERSION 3.0)
project(3rdparty)
# Note: All files in the cmake dir will be included as if they were in this file.
# The paths in each .cmake file are relative to this directory not the
# cmake directory.
IF(MSVC)
add_definitions( /D_CRT_SECURE_NO_WARNINGS /DUNICODE /D_UNICODE )
ENDIF()
if( NOT USE_SYSTEM_LIBS OR NOT ZLIB_FOUND )
MESSAGE(STATUS "Using Bundled ZLIB")
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/zlib.cmake)
else ()
MESSAGE(STATUS "Using System ZLIB")
endif()
if( NOT USE_SYSTEM_LIBS OR NOT MINIZIP_FOUND )
MESSAGE(STATUS "Using Bundled MiniZip")
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/minizip.cmake)
else ()
MESSAGE(STATUS "Using System MiniZip")
endif()
if( NOT USE_SYSTEM_LIBS OR NOT HUNSPELL_FOUND )
MESSAGE(STATUS "Using Bundled Hunspell")
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/hunspell.cmake)
else ()
MESSAGE(STATUS "Using System Hunspell")
endif()
if( NOT USE_SYSTEM_LIBS OR NOT PCRE_FOUND OR APPLE )
MESSAGE(STATUS "Using Bundled PCRE")
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/pcre.cmake)
else ()
MESSAGE(STATUS "Using System PCRE")
endif()
if (SYSTEM_LIBS_REQUIRED)
if (NOT ZLIB_FOUND OR NOT MINIZIP_FOUND OR NOT HUNSPELL_FOUND OR (NOT APPLE AND NOT PCRE_FOUND))
#if (NOT ZLIB_FOUND OR NOT MINIZIP_FOUND OR (NOT APPLE AND NOT PCRE_FOUND))
MESSAGE(FATAL_ERROR "Could not find all required system libraries...")
endif()
endif()
if( (UNIX AND NOT APPLE) AND BUILD_PATCHED_LIBXML2 )
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/ext_libxml2.cmake)
endif()
Sigil-0.9.9/3rdparty/about.md 0000664 0000000 0000000 00000001420 13216764125 0016010 0 ustar 00root root 0000000 0000000 3rdparty
========
Bundled copies of 3rd party libraries.
To prevent using bundled copies in favor of system libraries use the build flag:
USE_SYSTEM_LIBS
To require the use of System libraries and not allow falling back to bundled
copies if a system library is not found use the build flag:
SYSTEM_LIBS_REQUIRED
Both of the above libraries should be constructed like so:
-D...=1
Each copy is a pristine (unchanged) copy without any modification. Any files
that need to be or are modified will be in the extra directory.
Versions
========
hunspell - 1.3.3
minizip - 1.1
pcre - 8.37
python - 3.4.3
zlib - 1.2.8
extra
=====
The extra directory is for files that are custom files and not part of the
3rdparty source directly. Such as preconfigured .config files.
Sigil-0.9.9/3rdparty/cmake/ 0000775 0000000 0000000 00000000000 13216764125 0015437 5 ustar 00root root 0000000 0000000 Sigil-0.9.9/3rdparty/cmake/ext_libxml2.cmake 0000664 0000000 0000000 00000003355 13216764125 0020700 0 ustar 00root root 0000000 0000000 include(ExternalProject)
MESSAGE(STATUS "The git, libtool, autoconf, and automake packages are required for compiling libxml2")
find_program(GIT git)
if(NOT GIT)
message(FATAL_ERROR "The git program is needed for compiling libxml2. Install the git package.")
endif()
find_program(LIBTOOL libtoolize)
if (NOT LIBTOOL)
message(FATAL_ERROR "The libtoolize program is needed for compiling libxml2. Install the libtool package.")
endif()
find_program(AUTOCONF autoreconf)
if (NOT AUTOCONF)
message(FATAL_ERROR "The autoreconf program is needed for compiling libxml2. Install the autoconf package.")
endif()
find_program(AUTOMAKE automake)
if (NOT AUTOMAKE)
message(FATAL_ERROR "The automake program is needed for compiling libxml2. Install the automake package.")
endif()
ExternalProject_Add(
libxml2
GIT_REPOSITORY "https://github.com/GNOME/libxml2.git"
GIT_TAG "d8083bf77955b7879c1290f0c0a24ab8cc70f7fb"
SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/libxml2
UPDATE_COMMAND ""
PATCH_COMMAND patch < ${CMAKE_CURRENT_SOURCE_DIR}/extra/libxml2/libxml2_bug_fix.patch
CONFIGURE_COMMAND ${CMAKE_CURRENT_BINARY_DIR}/libxml2/autogen.sh --prefix=${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libxml2 --disable-static --enable-shared --without-python
TEST_COMMAND ""
INSTALL_COMMAND ""
BUILD_IN_SOURCE 1
)
ExternalProject_Add_Step(
libxml2 CopyToLib
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/libxml2/.libs/libxml2.so.2.9.4 ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libsigilxml2.so.2.9.4
COMMAND strip --strip-unneeded ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libsigilxml2.so.2.9.4
COMMAND ln -sfr ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libsigilxml2.so.2.9.4 ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libxml2.so.2
DEPENDEES build
)
Sigil-0.9.9/3rdparty/cmake/hunspell.cmake 0000664 0000000 0000000 00000002626 13216764125 0020301 0 ustar 00root root 0000000 0000000 cmake_minimum_required( VERSION 3.0 )
PROJECT(hunspell CXX)
set( HUNSPELL_LIBRARIES ${PROJECT_NAME} CACHE INTERNAL "" )
set( HUNSPELL_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME} CACHE INTERNAL "" )
SET(PROJECT_C_FLAGS "")
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/extra/hunspell/config.h
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/config.h COPYONLY)
SET(SOURCES
${PROJECT_NAME}/src/hunspell/affentry.cxx
${PROJECT_NAME}/src/hunspell/affixmgr.cxx
${PROJECT_NAME}/src/hunspell/csutil.cxx
${PROJECT_NAME}/src/hunspell/dictmgr.cxx
${PROJECT_NAME}/src/hunspell/filemgr.cxx
${PROJECT_NAME}/src/hunspell/hashmgr.cxx
${PROJECT_NAME}/src/hunspell/hunspell.cxx
${PROJECT_NAME}/src/hunspell/hunzip.cxx
${PROJECT_NAME}/src/hunspell/phonet.cxx
${PROJECT_NAME}/src/hunspell/replist.cxx
${PROJECT_NAME}/src/hunspell/suggestmgr.cxx
)
if( APPLE )
set(CMAKE_MACOSX_RPATH 1)
endif()
ADD_LIBRARY(${PROJECT_NAME} SHARED ${SOURCES})
target_include_directories(${PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}
${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}/src/hunspell
)
# Special compiler and linker flags for MSVC
if( MSVC )
set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS /DBUILDING_LIBHUNSPELL)
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /MP")
set( CMAKE_C_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /Oi /GL" )
endif()
Sigil-0.9.9/3rdparty/cmake/minizip.cmake 0000664 0000000 0000000 00000002141 13216764125 0020116 0 ustar 00root root 0000000 0000000 cmake_minimum_required(VERSION 3.0)
project(minizip C)
set( MINIZIP_LIBRARIES ${PROJECT_NAME} CACHE INTERNAL "" )
set( MINIZIP_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME} CACHE INTERNAL "" )
SET(PROJECT_C_FLAGS "")
SET(SOURCES
${PROJECT_NAME}/ioapi.c
${PROJECT_NAME}/mztools.c
${PROJECT_NAME}/unzip.c
${PROJECT_NAME}/zip.c
)
if(WIN32)
list(APPEND SOURCES
${PROJECT_NAME}/iowin32.c
)
endif()
# OS X doesn't have fopen64.
if(APPLE)
set(PROJECT_C_FLAGS "${PROJECT_C_FLAGS} -DUSE_FILE32API")
endif()
add_library(${PROJECT_NAME} ${SOURCES})
target_include_directories(${PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}
${ZLIB_INCLUDE_DIRS}
)
target_link_libraries( ${PROJECT_NAME} ${ZLIB_LIBRARIES} )
set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "${PROJECT_C_FLAGS}")
# Special compiler and linker flags for MSVC
if( MSVC )
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /MP")
set( CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /Oi /GL" )
set_target_properties( ${PROJECT_NAME} PROPERTIES STATIC_LIBRARY_FLAGS "/LTCG" )
endif()
Sigil-0.9.9/3rdparty/cmake/pcre.cmake 0000664 0000000 0000000 00000007626 13216764125 0017405 0 ustar 00root root 0000000 0000000 cmake_minimum_required(VERSION 3.0)
project(pcre C)
INCLUDE(CheckIncludeFile)
INCLUDE(CheckIncludeFileCXX)
INCLUDE(CheckFunctionExists)
INCLUDE(CheckTypeSize)
set( PCRE_LIBRARIES ${PROJECT_NAME} CACHE INTERNAL "" )
set( PCRE_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME} CACHE INTERNAL "" )
SET(PROJECT_C_FLAGS "-DHAVE_CONFIG_H")
CHECK_INCLUDE_FILE(dirent.h HAVE_DIRENT_H)
CHECK_INCLUDE_FILE(stdint.h HAVE_STDINT_H)
CHECK_INCLUDE_FILE(inttypes.h HAVE_INTTYPES_H)
CHECK_INCLUDE_FILE(sys/stat.h HAVE_SYS_STAT_H)
CHECK_INCLUDE_FILE(sys/types.h HAVE_SYS_TYPES_H)
CHECK_INCLUDE_FILE(unistd.h HAVE_UNISTD_H)
CHECK_INCLUDE_FILE(windows.h HAVE_WINDOWS_H)
CHECK_INCLUDE_FILE_CXX(type_traits.h HAVE_TYPE_TRAITS_H)
CHECK_INCLUDE_FILE_CXX(bits/type_traits.h HAVE_BITS_TYPE_TRAITS_H)
CHECK_FUNCTION_EXISTS(bcopy HAVE_BCOPY)
CHECK_FUNCTION_EXISTS(memmove HAVE_MEMMOVE)
CHECK_FUNCTION_EXISTS(strerror HAVE_STRERROR)
CHECK_FUNCTION_EXISTS(strtoll HAVE_STRTOLL)
CHECK_FUNCTION_EXISTS(strtoq HAVE_STRTOQ)
CHECK_FUNCTION_EXISTS(_strtoi64 HAVE__STRTOI64)
CHECK_TYPE_SIZE("long long" LONG_LONG)
CHECK_TYPE_SIZE("unsigned long long" UNSIGNED_LONG_LONG)
# Prepare build configuration
SET(pcre_have_type_traits 0)
SET(pcre_have_bits_type_traits 0)
IF(HAVE_TYPE_TRAITS_H)
SET(pcre_have_type_traits 1)
ENDIF(HAVE_TYPE_TRAITS_H)
IF(HAVE_BITS_TYPE_TRAITS_H)
SET(pcre_have_bits_type_traits 1)
ENDIF(HAVE_BITS_TYPE_TRAITS_H)
SET(pcre_have_long_long 0)
SET(pcre_have_ulong_long 0)
IF(HAVE_LONG_LONG)
SET(pcre_have_long_long 1)
ENDIF(HAVE_LONG_LONG)
IF(HAVE_UNSIGNED_LONG_LONG)
SET(pcre_have_ulong_long 1)
ENDIF(HAVE_UNSIGNED_LONG_LONG)
# Our configuration
SET(PCRE_LINK_SIZE "2")
SET(PCRE_POSIX_MALLOC_THRESHOLD "10")
SET(PCRE_MATCH_LIMIT "10000000")
SET(PCRE_MATCH_LIMIT_RECURSION "MATCH_LIMIT")
SET(PCRE_PARENS_NEST_LIMIT "250")
SET(SUPPORT_PCRE16 1)
SET(SUPPORT_UTF 1)
SET(SUPPORT_UCP 1)
SET(PCRE_SUPPORT_UTF ON)
SET(SUPPORT_JIT 1)
SET(NEWLINE "10") # LF
# Output files
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}/config-cmake.h.in
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/config.h @ONLY)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}/pcre.h.generic
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/pcre.h COPYONLY)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}/pcre_chartables.c.dist
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/pcre_chartables.c COPYONLY)
SET(SOURCES
${PROJECT_NAME}/pcre16_byte_order.c
${PROJECT_NAME}/pcre16_chartables.c
${PROJECT_NAME}/pcre16_compile.c
${PROJECT_NAME}/pcre16_config.c
${PROJECT_NAME}/pcre16_dfa_exec.c
${PROJECT_NAME}/pcre16_exec.c
${PROJECT_NAME}/pcre16_fullinfo.c
${PROJECT_NAME}/pcre16_get.c
${PROJECT_NAME}/pcre16_globals.c
${PROJECT_NAME}/pcre16_jit_compile.c
${PROJECT_NAME}/pcre16_maketables.c
${PROJECT_NAME}/pcre16_newline.c
${PROJECT_NAME}/pcre16_ord2utf16.c
${PROJECT_NAME}/pcre16_refcount.c
${PROJECT_NAME}/pcre16_string_utils.c
${PROJECT_NAME}/pcre16_study.c
${PROJECT_NAME}/pcre16_tables.c
${PROJECT_NAME}/pcre16_ucd.c
${PROJECT_NAME}/pcre16_utf16_utils.c
${PROJECT_NAME}/pcre16_valid_utf16.c
${PROJECT_NAME}/pcre16_version.c
${PROJECT_NAME}/pcre16_xclass.c
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/pcre_chartables.c
)
add_library(${PROJECT_NAME} ${SOURCES})
target_include_directories(${PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}
${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}
)
set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "${PROJECT_C_FLAGS}")
# Special compiler and linker flags for MSVC
if( MSVC )
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /MP")
set( CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /Oi /GL" )
set_target_properties( ${PROJECT_NAME} PROPERTIES STATIC_LIBRARY_FLAGS "/LTCG" )
endif()
Sigil-0.9.9/3rdparty/cmake/zlib.cmake 0000664 0000000 0000000 00000004161 13216764125 0017403 0 ustar 00root root 0000000 0000000 cmake_minimum_required( VERSION 3.0 )
PROJECT(zlib C)
set( ZLIB_LIBRARIES ${PROJECT_NAME} CACHE INTERNAL "" )
set( ZLIB_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME} CACHE INTERNAL "" )
SET(PROJECT_C_FLAGS "")
include(CheckTypeSize)
include(CheckFunctionExists)
include(CheckIncludeFile)
include(CheckCSourceCompiles)
check_include_file(sys/types.h HAVE_SYS_TYPES_H)
check_include_file(stdint.h HAVE_STDINT_H)
check_include_file(stddef.h HAVE_STDDEF_H)
check_type_size(off64_t OFF64_T)
check_function_exists(fseeko HAVE_FSEEKO)
check_include_file(unistd.h Z_HAVE_UNISTD_H)
if(HAVE_SYS_TYPES_H)
SET(PROJECT_C_FLAGS "${PROJECT_C_FLAGS} -DHAVE_SYS_TYPES_H")
endif()
if(HAVE_STDINT_H)
set(PROJECT_C_FLAGS "${PROJECT_C_FLAGS} -DHAVE_STDINT_H")
endif()
if(HAVE_STDDEF_H)
set(PROJECT_C_FLAGS "${PROJECT_C_FLAGS} -DHAVE_STDDEF_H")
endif()
if(HAVE_OFF64_T)
set(PROJECT_C_FLAGS "${PROJECT_C_FLAGS} -D_LARGEFILE64_SOURCE=1")
endif()
if(NOT HAVE_FSEEKO)
set(PROJECT_C_FLAGS "${PROJECT_C_FLAGS} -DNO_FSEEKO")
endif()
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}/zconf.h.cmakein
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/zconf.h @ONLY)
set(SOURCES
${PROJECT_NAME}/adler32.c
${PROJECT_NAME}/compress.c
${PROJECT_NAME}/crc32.c
${PROJECT_NAME}/deflate.c
${PROJECT_NAME}/gzclose.c
${PROJECT_NAME}/gzlib.c
${PROJECT_NAME}/gzread.c
${PROJECT_NAME}/gzwrite.c
${PROJECT_NAME}/inflate.c
${PROJECT_NAME}/infback.c
${PROJECT_NAME}/inftrees.c
${PROJECT_NAME}/inffast.c
${PROJECT_NAME}/trees.c
${PROJECT_NAME}/uncompr.c
${PROJECT_NAME}/zutil.c
)
ADD_LIBRARY(${PROJECT_NAME} ${SOURCES})
target_include_directories(${PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}
${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}
)
set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "${PROJECT_C_FLAGS}")
if( MSVC )
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /MP")
set( CMAKE_C_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /Oi /GL" )
set_target_properties( ${PROJECT_NAME} PROPERTIES STATIC_LIBRARY_FLAGS "/LTCG" )
endif()
Sigil-0.9.9/3rdparty/extra/ 0000775 0000000 0000000 00000000000 13216764125 0015502 5 ustar 00root root 0000000 0000000 Sigil-0.9.9/3rdparty/extra/hunspell/ 0000775 0000000 0000000 00000000000 13216764125 0017334 5 ustar 00root root 0000000 0000000 Sigil-0.9.9/3rdparty/extra/hunspell/config.h 0000664 0000000 0000000 00000001225 13216764125 0020752 0 ustar 00root root 0000000 0000000 /* Name of package */
#define PACKAGE "hunspell"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "nemeth@openoffice.org"
/* Define to the full name of this package. */
#define PACKAGE_NAME "hunspell"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "hunspell 1.3.3"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "hunspell"
/* Define to the home page for this package. */
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "1.3.3"
/* Version number of package */
#define VERSION "1.3.3"
Sigil-0.9.9/3rdparty/extra/libxml2/ 0000775 0000000 0000000 00000000000 13216764125 0017053 5 ustar 00root root 0000000 0000000 Sigil-0.9.9/3rdparty/extra/libxml2/libxml2_bug_fix.patch 0000664 0000000 0000000 00000000551 13216764125 0023151 0 ustar 00root root 0000000 0000000 --- parser.c.orig 2016-07-13 09:25:04.312703211 -0400
+++ parser.c 2016-07-13 10:13:34.475133927 -0400
@@ -7420,6 +7420,10 @@
}
if (ent->checked == 0)
ent->checked = 2;
+
+ /* Prevent entity from being parsed and expanded twice (Bug 760367). */
+ was_checked = 0;
+
} else if (ent->checked != 1) {
ctxt->nbentities += ent->checked / 2;
}
Sigil-0.9.9/CMakeLists.txt 0000664 0000000 0000000 00000006770 13216764125 0015361 0 ustar 00root root 0000000 0000000 ########################################################
#
# This is a CMake configuration file.
# To use it you need CMake which can be
# downloaded from here:
# http://www.cmake.org/cmake/resources/software.html
#
#########################################################
cmake_minimum_required( VERSION 3.0 )
project( Sigil )
set( CMAKE_DEBUG_POSTFIX "d" )
# Avoid the whole Release/Debug folder creation with Visual Studio
if (MSVC_IDE)
set( CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG "${PROJECT_BINARY_DIR}/bin")
set( CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE "${PROJECT_BINARY_DIR}/bin")
set( CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG "${PROJECT_BINARY_DIR}/lib")
set( CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE "${PROJECT_BINARY_DIR}/lib")
set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG "${PROJECT_BINARY_DIR}/lib")
set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE "${PROJECT_BINARY_DIR}/lib")
endif()
set( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin )
set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib )
set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib )
set( PACKAGE_DIRECTORY ${PROJECT_BINARY_DIR}/package )
set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake_extras" )
set( SIGIL_MAJOR_VERSION 0 )
set( SIGIL_MINOR_VERSION 9 )
set( SIGIL_REVISION_VERSION 9 )
set( SIGIL_FULL_VERSION ${SIGIL_MAJOR_VERSION}.${SIGIL_MINOR_VERSION}.${SIGIL_REVISION_VERSION} )
if( UNIX AND NOT APPLE )
# Make sure the correct rpath is set for the sigil executable
# on Linux -- for both the build and the installed versions.
# Needed to make sure the installed shared hunspell and gumbo
# libraries are found/used at runtime.
# use, i.e. don't skip the full RPATH for the build tree
SET(CMAKE_SKIP_BUILD_RPATH FALSE)
# when building, don't use the install RPATH already
# (but later on when installing)
SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib/sigil")
# add the automatically determined parts of the RPATH
# which point to directories outside the build tree to the install RPATH.
# This will ensure the Qt5 lib directory is always included after install.
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
endif()
# Check if platform is 64 bit
if( NOT APPLE )
if( CMAKE_SIZEOF_VOID_P EQUAL 4 )
set( 64_BIT_PLATFORM 0 )
else()
set( 64_BIT_PLATFORM 1 )
endif()
endif()
# Profiler configuration for GCC
if( CMAKE_COMPILER_IS_GNUCXX )
set( CMAKE_BUILD_TYPE profiling )
set( CMAKE_CXX_FLAGS_PROFILING "-O2 -DNDEBUG -pg -g -fno-omit-frame-pointer -fno-inline-functions -fno-inline-functions-called-once -fno-optimize-sibling-calls" )
# After creating the new build type,
# we clear the default back to empty
set( CMAKE_BUILD_TYPE )
endif()
if (USE_SYSTEM_LIBS)
MESSAGE(STATUS "Trying to use System Libraries...")
find_package( ZLIB )
find_package( PkgConfig )
find_package( MiniZip )
pkg_check_modules( HUNSPELL hunspell )
if ( NOT APPLE )
pkg_check_modules( PCRE libpcre16 )
endif()
endif()
if ( WIN32 OR APPLE )
find_package(PythonInterp 3.5)
find_package (PythonLibs 3.5)
else()
find_package(PythonInterp 3.4)
find_package (PythonLibs 3.4)
endif()
# gumbo-parser it is our main xhtml/html5 parser.
# We have an internal version because it diverges from Google's and GitHub's
# versions and neither want's our epub specific changes.
add_subdirectory( internal/gumbo )
add_subdirectory( 3rdparty/ )
add_subdirectory( src/ )
Sigil-0.9.9/COPYING.txt 0000664 0000000 0000000 00000104513 13216764125 0014464 0 ustar 00root root 0000000 0000000 GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Copyright (C)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
Copyright (C)
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
.
Sigil-0.9.9/ChangeLog.txt 0000664 0000000 0000000 00000316312 13216764125 0015205 0 ustar 00root root 0000000 0000000 Sigil-0.9.9
Bug Fixes
- Add python_3.5_fixes3.patch to Python build and update build docs on OSX to fix missing symbols
- Fix crash caused by Preview holding pointer to user removed resource when front tab is non-html resource
- Fix crash in FlowTab destructor due to re-entering flowtab during Syntax Highlighting and signals
- Fix issue with file icons disappearing when reordering in Book Browser (commit ecb56b1f)
- Fix missing epub3 Manifest cover-image property setting/unsetting with BookBrowser
- Fix issue where cancelling the SaveAs dialog disconnected an existing epub from its saved path
- Fix assertion error in sigil-gumbo when handling extraneous script end tags
- Apply multiple fixes for gumbo from upstream
- Fix segfault in Split at Cursor when not an html file
- Make sure Add Cover tool properly handles existing manifest cover properties in EPUB3s
- Correct error dialog to say "Sigil may need to close."
- Prevent Images and Misc items from being dragged to the Text folder in Book Browser (commit 30bb96d)
- Fix Linux bug that prevents rich text from other programs being pasted into Book View (issue #320)
- Fix bug where index entries inside em and dfn tags were ignored during index generation
- Fix bug on Windows in spell checking when smart right single quotes are used for apostrophes
- Fix bug in simple well-formed check to handle generic xml processing instructions
- Fix bug in epub3 MetaEditor with title-type and collection-type properties
- Fix plugin code to prevent book href vs manifest id clashes
- Fix bug in Plugin Runner to allow it to delete non-manifested files properly
- Fix bug in SourceUpdates to handle properly handle css properties with multiple urls
- Fix bugs in well-formed check to better handle missing doctypes
New Features
- Add SIGIL_DISABLE_CURSOR_BLINK environment variable to disable text cursor to aid Accessibility on OSX
- Better use semantic information (guide types and Landmarks) to allow the user finer control of index generation
- Attempt to improve Metadata Editor placeholder text to help beginners
- Preview Window Title bar will now show height and width of the Preview Window
- Allow users to limit/disable clipboard history saving via General Preferences
- Convert br tags in header text to linebreaks for toc/ncx/nav generation routines
- Support spell checking of words with numbers controlled by Preference settings
- Add two additional Quick Lauch Icons for Plugins
Sigil-0.9.8
Bug Fixes
- Make sure when new empty epub3's are created that the toc does not use a doctype (Issue # 250)
- Make GetUniqueFilenameVersion work even on Case-Insensitive filesystems (Issue #247)
- Properly urlencode/decode all hrefs in plugin's ResultXML in launcher/PluginRunner to prevent parse errors
- Enable Basic Cut Copy Paste Icons/Actions in OPF, NCX, XML, SVG, and other Misc Text Tabs
- Add proper detection for minimum service pack requirements in Windows installer
- Include workaround for bug in KDE Qt5 plugin on Linux that keep plugins from launching from menu
- Prevent splitting Section0001.xhtml (Split at Cursor) needlessly rewrite the file's manifest id with a uuid
- Fix issue where merging files when non-xhtml tabs were open was causing Python errors or crashes
- Fix segfault in Image Reports when deleting unused image files
- Fix bug in prettyprint_xhtml in sigil_bs4 (put back inadvertently dropped is_void_tag routine)
- Fix gumbo serialize to better handle injected newlines
- Harden bundled Python isolation on Windows and add subset of PyQt5 to bundled modules
- Harden plugin interface code to properly unquote/quote hrefs
- Stop Sigil from nagging about unsupported mimetypes when epubs with Adobe xpgt page-templates are opened
- Fix Book Browser highlighting issue when editable XML files from the "Misc" folder are opened
- Pull upstream bug fixes from google's gumbo parser for Sigil
- Force formatting buttons in BookView to generate inline-styled spans instead of "strike", "b", etc
- Fix bug from deprecated use of jquery $.browser.msie introduced when jQuery was updated
- Fix temp folder specification on Windows systems that delete the system temp folder for every login (Issue #285)
- Fix typos in metadata descriptions to allow better translations
New Features
- New preference setting (Appearance section) which allows user to adjust the size of the main menu icons
- Add manifest properties to Book Browser tooltips and to All Files Reports Widget for epub3
- Make Sigil's UI and spellchecker language settings available to plugins
- Add support for PyQt5 for plugin gui widgets
- Internal builds now use Qt 5.6.2 with Webkit added back
- Major compiler tool change and update for Windows build to sync Qt/Python/Sigil on Windows
- Update all build it yourself from source documentation for new requirements
Sigil-0.9.7
Bug Fixes
- Allow tags in the svg and mathml namespace to automtically self-close if empty to help work around
a bug in Kindlegen that will not seem to accept a closing svg image tag even though image is non-void
- Prevent TextTab from constantly recentering page when focus is lost
- Fix bugs in plugin basename_to_id when used with xpgt files or any unrecognized extensions
- Fix typos in pls mimetype in plugins
- Fix code synchronization issues among 3 places where file extensions are mapped to mimetypes
- Fix plugin readotherfile interface to rebuild the opf on the fly only if it has been modified
- Fix plugin validation issues with integer vs string representations of line number and character offsets
- Fix duplicate filename in multiple directories bug when updating CSS urls
- Fix bug in page-map.xml mimetype when "Add Existing ..." is used
- Fix undefined behaiviour shifting signed negative values in 3rdparty libs and fix many warnings
- Fix text vs binary file type recognition in the plugin interface (CSS and js files are text not binary)
- Fix too small toolbar icons on high dpi displays
- Fix bug that caused text highlighting to get lost on some systems when doing a CSS Find & Replace.
- Fix bug in plugin interface basename_to_id to recognize .htm extensions
- Fix bug in epub3 semantic popups to always refect the local name of epub:type setting
- Fix bug where creation on an HTML TOC could overwrite an existing Nav under epub3
- Fix manifest id not starting with alpha character bug
New Features
- Extend validation plugin interface with add_extended_result() method to allow better cursor positioning
- Extend TextTab and Tabs derived by it to position cursor based on offset
- Allow editing of page-map.xml files, xpgt files and other misc xml based files inside Sigil
- Update Windows builds use Python 3.5, VS2015
- Update Mac OS X builds and build instructions to use Python-3.5.2
- Remove support for python2.7 *only* plugins and simply Manage Plugins settings
- Update to Qt 5.6.1-1 with QtWebKit added back for release builds for Windows (VS2015) and Mac OSX
- Update Mac OS X and Linux build instruction documentation for recent changes
- Allow Linux Dictionaries to look up default paths for dictionaries passed in by build cmake settings
- Mke the columns in the Manage Plugins table be sortable by the user
- Better detect undefined and non-existing url fragments to prevent issues when splitting or merging files
- Make tooltips for Run Plugin Icons show the name of the selected plugin on hover
- Upgrade from jquery 1.6.2 to version 2.2.4
- Upgrade from jquery.scrollTo 1.4.2 to version 2.1.2
- Upgrade to double sized 48x48 pixel icons for High DPI displays, Special Thanks to PatNY for creating our icons
Sigil-0.9.6
Bug Fixes
- Make StdWarningDialog resizeable when "Show Details" is used
- Fix CleanSource svg prefix removal bug that sometimes broke valid svg code
- Remove svg image and html5 menuitem from the list of void elements in the Sigil and plugin code
- Properly xml escape "&" in metadata attribute values
- Properly perform source updates on epub load even when they do not follow recommended spec
- Make handling of comments in both xhtml and xml more roubst
- Properly url escape css file names to handle css files with spaces in them
- Try to make direct editing of content.opf more safe by auto-fixing errors when possible
- Properly handle WellFormed checks for pure XML in XMLResource.cpp by using embedded python3 lxml
- Make opf_newparser.py and xmlprocessor.py more robust to broken user input in content.opf
- Make ProcessXML (repairXML in xmlprocessor.py) - leave untouched anything well-formed
- Fix thinko in plugin bookcontainer.py and outputcontainer.py contributed by wrCisco
- Fix for improper encoding in plugins on Mac OS X due to missing inherited plugin environment
- Fix for typos in epub xmlns when splitting epub3 ebooks in BookView
- Update testplugin_v012.zip to testplugin_v013.zip to handle sgc-nav.css new feature
- Fix bugs in DeleteUnusedStyles when selector exists more than once in the same stylesheet
- Fix bugs in DeleteUnusedStyles when group selectors span more than one line
- Fix bugs in Reports: CSS Styles missing cases when selector exists more than once
- Fix bug in Reports: All Files to use Landmark Semantics under epub3 not guide semantics
- Fix bug, slow in loading ini when too large clipboard history, user can delete them via dialog
- Stop cosmetic double-spaces being introduced into OPF manifest, spine and guide entries
- Fix bug when user selects too much in BookView and then tries to change case
- Fix bug in Delete Unused Media when css urls do not use quotes
- Try to set all ways of updating the ncx to use 2 character indentation of head element
- Fix Building Relocatable Python on Mac build instructions to remove BeautifulSoup4 requirement
- Fix for generating empty guide for epub3 when in plugins
New Features
- create sgc-nav.css stylesheet for nav and allow templates in Prefs Dir for user to control it
- Add General Setting to allow user to set own temporary directory location
- Add Qt Stylesheet support - Recognize and load "qt_styles.qss" file if stored in Sigil Preferences folder
- Extended the plugin interface to add support for epub3 bindings elements
- Add option + forward delete shortcut to active Metadata Editor remove
Sigil-0.9.5
Bug Fixes
- Fix regression when ImportHTML in gathering HTML based DC. metadata
- Fix regression - remove incorrect use of opf:scheme from dc:creator and dc:contributor under epub2
- Fix regression - the guide reference tag is always a void tag
- Fix issues with hunspell spell checking under Windows when non-ascii paths to dictionaries
- Fix issues with overridding the prefs directory on Windows with non-ascii paths
- Fix broken manual "Check" button on W3C stylesheet validation's generated html form.
- Fix media-type recognition for .m4a and .m4v file extenstions in main Sigil and plugin code
- Treat ruby and rt as inline tags when pretty-printing in Sigils and for plugins
New Features
- Allow user to choose what level of CSS gets used in the "Validate Stylesheets
With W3C" tool via user preference (General).
Sigil-0.9.4
Bug Fixes
- Prevent the use of zero length key fields when obfuscating fonts
- IDPF font obfuscation key accepts all input except as specified
- Fix typo in main.ui accelerator assignment
- Update Transifex project URL
- Prevent NCX Weirdness with ampersand added when editing NCX in codeview and TOC widget showing
- Fix lost namespace attributes on metadata tag
- Allow auto conversion from package version 1.0 to 2.0
- Remove unused parameter from gumbo create_text_node
- Fix bug that hits package version when no xml declaration on opf on import
- Add id to Heading structure to greatly speed up NCX/TOC creation even more
- Only the true nav should ever have the nav manifest property set
- Prevent nav property from being overwritten when updating manifest properties
- Prevent segfault if user add semantics but never chooses one
- Prevent Add Cover from returning the wrong doctype for epub3
- Make sure cover-image and svg (if needed) are added as epub3 manifest properties when adding a cover
- Make sure all referenced resources are found for Delete Unused Media
- Remap non-standard epub namespace prefixes in the opf to those now reserved for epub3
- Make loading epubs with broken opf files more robust
New Features
- Extract all MarcRelators related code into its own class so it can be shared
- Added some missing MARC relators
- Removed obsolete MARC relators (ctb replaced clb, and sng replaces voc)
- Completely redesign MetaEditor gui to work with both epub2 and epub3 metadata
- Add default metadata language and title for the user
- Make the Nav a required part of an epub3 - create an empty one if need be
- Create NavProcessor to use gumbo to update the nav.xhtml
- Add support for Adding/Removing Nav Landmarks
- Better identify the true nav when loading epub3s
- Add ability to generate Nav TOC from Book Headings to CreateTOC tool
- Check for valid nav otherwise create a new default one ready for updates
- Do not allow split markers to be added to nav.xhtml
- Do not allow nav to get merged
- Do not allow the nav to be deleted
- Do not allow plugins to delete the nav under epub3
- Completely Revamp BookBrowser interface to support both Guide and Landmark Semantics
- Create Semantics Dialog to better handle epub2 and epub3 semantics
- Create Separate Guide/Landmarks classes for epub2 and epub3 respectively
- Rename DescriptiveMetaInfo structure to just DescriptiveInfo to work with guide/landmarks elements
- Add a mapping from Landmark to Guide and Back
- Remove old GuideSemantics code
- Make sure Landmarks semantics show up in BookBrowser tooltips
- Update epub3 semantic vocab in Landmarks
- Completely Revamp how the dockable TableOfContents gui widget is built and updated
- Remove strong coupling between TableOfContents widget and NCX
- Allow dockable Table Of Contents to refresh from Nav under epub3
- Large update for translations needed
- Many new strings supporting the MetaEditor GUI and Add Semantics GUI were added
Sigil-0.9.3
Bug Fixes
- Add a python based updatechecker for Sigil updates to prevent Windows OpenSSL build issues
- Stop 'Generate TOC' from introducing unnecessary spaces in front of class attibute values
- Use localeAwareCompare to attempt to add Index Entries to build them sorted
- Fix segfault caused by use of possibly stale htmlresource pointer in FlowTab destructor
- Workaround Qt bug that causes slow selection/highlighting of xhtml on Linux
- Fix multiple typos in sigil_gumbo_bs4_adapter code
New Features
- Add an autostart/autoclose capability for plugin developers
- Add 3 User-assignable ToolBar Buttons for up to 3 plugins - users can an assign key accelerators to them
- Add General Settings Preference for setting default (epub 2 or 3) for new documents
- Merge CleanSource Preference Settings into General Settings Preferences
- Add Setting to control Epub access non-multimedia remote resources
- Completely reworked Sigil internals to support epub version (2 or 3) specific functionality
- ImportHTML, ImportEPUB, Splitting and Merging, Index Generation, Mending, are all now epub version aware
- AddModificationDate upon save is now epub2 and epub3 aware
- Add "Epub3 Tools" to the Tools menu
- Add three new epub3 tools: "Update Manifest Properties", "Generate Nav From NCX" and
"Generate NCX From Nav" to "Epub3 Tools" menu
- Add local-storage support to PV/BV for epub3's that use javascripts
- Added support to recognize and update upon load SMIL files and Adobe page-map.xml files
- Make quoteurl url scheme-aware in both python and for Qt, since epub3 allows external resources
- Extend url address recognition to include track, video, and object elements attributes
- Recognize and store .vtt and .ttml files for video subtitles and captioning
- Prevent attempts from using Metadata Editor gui from hurting epub3 until support is added later
- Many epub3 related bug fixes and changes to make sure all new epub3 href/links are properly updated
- Reworked the plugin_launcher epub3 interface code to allow fallback and media-overlay attributes
- Added support for MathML in Preview via Mathjax.js-single polyfill
- Added the MathML list of void tags to GumboInterface for proper serialization
- Add technique to call long EmbeddedPython calls by using QtConcurrent::run
Sigil 0.9.2
- Update BuildingOnLinux docs
- Update Building on Mac OS X docs
- Fix example clips/searches loading on Linux
- Simplify UseBundledInterpreter Logic
- Preliminary Linux binary installer support added
- Include Pull Request 161 by pinotree "Switch TempFolder to QTemporaryDir" to improve safety
- Fix bug when adding existing html links to stylesheets not being updated
- Fix bug in Well-Formed error messages due to bug inside gumbo's error.c
- Add xmlns="http://www.w3.org/1999/xhtml" attribute to html tag if missing
- Reduce fear of Cleaning ToValidXHTML by using serialize not prettyprint
- Add ability to change Sigil's user preferences directory by specifying a new path
via the SIGIL_PREFS_DIR environment variable (path must be user-writable).
- Fix lost DOCTYPE info when splitting or merging
- Completely rework pretty printing via gumbo to be much more robust
- Make identification and storage of page-map.xml more robust
- Completely revamp Cleaning to use "Mend Code" and remove PrettyPrintGumbo as on option
- Rename PrettyPrintGumbo to "Mend and Prettify" and move to CodeView Right-click menu
- Restore Sigil's update checker that's been broken for a while
- Update sigil_bs4 prettyprint_xhtml and serialize_xhtml routines to use logic of code in GumboInterface
- Update sigil_bs4 to use numeric entities when faced with nbsp so they do not get lost later in Sigil
- Rename "Sanity Check" to "Well-Formed Check EPUB" and remove check icon people confused with FlightCrew
- Fix out of date error message referencing Tidy
- Coerce missing or bad doctypes to meet either epub2 or epub3 standard
- Inject empty title tag if missing from head
- Html escape Index entry text used to create index.html
Sigil 0.9.1
- Fix bug when template sgc_toc.css could be changed to blank on save, since no InitialLoad() was done
- Change order of TextResource m_IsLoaded and m_CacheInUse flags to minimize potential race exposure.
- Fix PluginRunner bug that introduced errors into xhtml files when both the content.opf and xhtml were modified
- Auto XML Decode and Escape Metadata entries created in the Metadata GUI
- Alter pluginhunspell.py so a missing libhunspell doesn't stop ALL plugins from working
- Default to using clean by gumbo vs prettyprint gumbo in new installs
- Fix prettyprint bug with trailing whitespace improperly inserted after inline tags inside div tags
- Fix for bundled interpreter packages PIL and cssutils on Mac OS X that were missing
- Fix for crash when using Find in BV on pages with no text, only images (issue #156)
- Added testplugin_v010.zip to docs to allow Linux packagers to test their plugin implementation
- Fix for prettyprint bug with tables (issue # 158)
- Fix for serialize in gumbo to limit injected returns
- Update to Sigil_Plugin_Framework_rev6.epub
- Make build order of sigilgumbo deterministic in order to help Linux packagers
- Make plugin launcher success and error messages robust to non-utf-8 strings
- Fix for crash bug when comments exist inside manifest of opf
- Fix for Sigil's gumbo - only inject end tags when current token does NOT need to be reprocessed
Sigil 0.9.0 Release
- Add "Use Bundled Python" option to bring sanity and choice to Python3 Interpreter selection
- Merge EmbeddedPython code across platforms and fix python flags for all platforms
- Properly build translation base.ts to prevent blank message fields being generated by tr()
- Allow PrettyPrint_Gumbo to condense whitespace where allowed
- In PluginRunner auto-repair modified xml (opf, ncx), do not check xml with xhtml wellformed check
- Fix bug in plugin epub3 interface, conversion of properties with null strings to None
- Restore ability to override hunspell dictionary locations on Linux with SIGIL_DICTIONARIES env var
- Restore ability to build Sigil against system hunspell libraries on Linux
- Adjust pluginhunspell.py to try to find system hunspell if bundled hunspell is not built/installed
- Fix hang/slowness in TOC creation when huge number of headings all exist in the same file
- Performance speedups for NCX writing to help with slow ToC Creation
- Bug fix for better detecting comments in sanitycheck.py
- Bug fix for Adding Blank xhtml files to an epub3
- Bug fix for Issue 140 - TOC gets cut-off under some platforms (lxml needs utf-8 not unicode)
- Add cmake option INSTALL_BUNDLED_DICTS to enable/disable installation of bundled hunspell dictionaries
- Allow SIGIL_DICTIONARIES env var to specify multiple paths (colon delimited)
- Fix bug in sanitycheck.py error message creation
- Identify woff files as fonts when importing epubs
- Fixes for nbsp being "lost" when linking in stylesheets and when splitting and merging chapters
- Fix for lost whitespace inside text holding tags when pretty printing
- Workaround for broken QShortCut in Qt 5.4.X see Issue 149
- Cleanup up some compiler warnigns
Sigil 0.8.901 Second in the pre-release series - primarily a bug fix release
Fixes
- fix for hang when trying to add a cover
- multiple fixes for segfaults in the TOC creation code
- fixes for blank TOC headings caused by tags nested inside of h1-h6 tags
- workaround for an instability caused by a compiler bug in Visual Studio 2013 on Windows
- fixes for multiple xml header declarations appearing when using sigil_bs4 prettyprint_xhtml() or serialzie_xhtml()
- build fixes to include MSVCR100.DLL for Windows machines that are too new to have it
- fix pretty printing using gumbo to support some mbp: tags
- fixes to deal with self-closing iframe tags which made gumbo stumble
- fixes to more robustly convert from QByteArray types to their char * pointers
- fixes and improvements to the Building on Linux instructions
- protect gumbo parsing with a mutex to prevent unknown issues with potential for non-reentrant code in that library
- workaround Qt QHash operator()= bugs that caused static QHash objects to freed multiple times
- fix for internal opf processing encoding detection being confused by xml header declarations
potentially resulting in missing spine and manifest items.
Features
- new launcher/wrapper code interface to support plugins that operate on epub3 ebooks
- added cssutils, cssselect, and chardet to the site-packages of the embedded Python 3.4 interpreter
- validation plugins that report no errors will now have "No problems found" appear in the Sigil Validation window.
- validation plugins will auto accept/close the plugin runner window no matter the results
- Windows installer now detects whether MS redistributable runtimes are already installed
Primarily Infrastructure Changes Toward Dual Epub2 / Epub3 support:
Sigil 0.8.900 (pre Sigil 0.9.0 series)
- Kill tidy and replace it with a combination of a specially modified Gumbo
parser that supports html5
- Kill Xerces and XercesExtras.
- Kill Boost, replace with C++ 11
- Kill unused bundles.
- Replace all "undefined - behaviour" use of "Null" References with proper
pointers across entire codebase to allow it to work with the latest
clang compilers
- Completely revamp the build process to embed the Python 3.4 Interpreter
inside of Sigil and integrate it in, including as site-packages:
[lxml, bs4, PIL, regex, six, html5lib]. This will allow plugins
that use the internal Python 3.X engine access to all of these
specialized packaes by default with no additional action
needed by end users of their plugin.
- Create our own version of BeautifulSoup4-4.4.0 called sigil_bs4 that
fixes lxml namespace bugs, fixes serialization/prettyprinting of
inline xhtml tags, and modifies the bs4 codebase so that a single
sourcecode works equally well on both Python 2.7 and Python 3.X
- Replace internal opf and ncx xml processing and cleaning with a
combination of embedded Python 3.4, sigil_bs4 / lxml
- Build hunspell as a shared library and then add a ctypes interface to allow
plugins to spellcheck
- Build our modified gumbo html5 parser as a shared library
and provide a bs4 ctypes interface to it for easy xhtml processing
in plugins that use Python 2.7 and Python 3.X
- Allow plugins to auto-fix "text/html" media-types to "application/xhtml+xml"
- Redesign the ebook source updates upon load process to use our modified
gumbo-parser
- Begin the transition to allow for both epub2 and epub3 editing
(Note: epub3 editing is still incomplete)
- Convert Flightcrew to become a Sigil plugin and replace it with
a simple and fast internal sanity checker.
- Update Hunspell dictionaries to be actual dictioanries and not word lists for en_US and en_GB
- Updated other dictionaries to their most current version to match what is used in LibreOffice 5
- Fix issue #54 modified date using local numerials when it should be
using Arabic numerals per the spec.
- Set the book to modified when font's are obfuscated.
- Change FORCE_BUNDLED_COPIES build flag to USE_SYSTEM_LIBS. This flips
the meaning of the flag. Now USE_SYSTEM_LIBS will enable using system
libraries. Also, SYSTEM_LIBS_REQUIRED was added which will fail the
cmake configure if any system libraries are not found instead of
falling back to the bundled copy. Finally, this makes the build more
consistent for Windows and OS X users.
Sigil 0.8.7 2015.06.14
- Update links
- Try to work around clang compiler issues with older C++ codebase
Sigil 0.8.6 2015.04.12
- Fix for crash during merging xhtml files.
- Changed fix for "Create TOC crash in Sigil 0.8.5" to reduce the degree
of disconnecting to prevent lost signals on html resources.
- Fix for missing audio and video mime types in OPFResource and
FolderKeeper.
- Attempt to prevent Tidy from simply deleting all mathml during cleaning.
Sigil 0.8.5 2015.03.29
- Fix text resource not alwalys saving to disk.
- Fix bug in missing CSS.
- Fix create html toc crash bug.
- Update some links in the help menu.
Sigil 0.8.4 2015.02.01
- Fix for removeall plugins bug where all plugins would remove all plugins
regardless if the user clicked no instead of yes.
Sigil 0.8.3 2015.01.31
- 10.9.5 is now the minimum OS X version required. Only 10.10.1 has been tested.
- -DCODE_SIGN_ID=XYZ option has been added to auto sign the app bundle on OS X.
- Validation result plugins will auto close the Plugin Runner
Dialog since the dialog has no real info and openes the
validation pane with the results anyway.
- New Plugin Preferences Support added
- Plugins Manager will now remember last folder used
- Support for building both Linux .deb and .rpm packages
- Lots of Linux build support, compilation, installation, and
documentation improvements
- Qt 5.4 is now a minimum requirement.
- Build changes to support update to latest Qt 5.4.0 and to
use latest C++11 compiler
- Numerous bugs fixed or worked around including:
- Make Invocation of CSS W3C Online Validator more reliable
- Fix to make Preview Window update after BookView to prevent
memory corruption and crashes
- Workaround Qt bug (font cache assertion) when using
clearMemoryCaches() - see https://bugreports.qt.io/browse/QTBUG-43504
- Properly handle loadFinsihed Signal in BookViewPreview to
prevent clashes between BookView and Preview
- Fix for Sigil memory use after it was freed bug
- Workaround to the extent possible Qt bug with memory use after
free using QWebInspectors - see https://bugreports.qt.io/browse/QTBUG-43725
- Workaround to the extent possible Qt bug with memory use
after free when closing MainWindows - see https://bugreports.qt.io/browse/QTBUG-43692
- Bug fix to prevent crashes in KeyboardsShortcuts when accessing
Preferences with multiple MainWindows
Sigil 0.8.2 2014.11.28
- Validator plugin type which can load validation results into
the main window validation panel.
- Corrections to Sigil Plugin Framework Documentation
- Pull request #17: Fix typos in README.md
- Additional python plugin interface features:
- multiple plugin engines now allowed for plugins that
work on both python 2.7 and python 3.4
- launcher revision date interface
- plugin stdout will now appear immediately in Sigil
- Multiple plugin launcher bug fixes:
- make parsing more robust to poorly formed xhtml
- modified text iterator to follow spine order
- bug fixes for readotherfile, and writeotherfile
- bug fixes for guide types and setting the guide
Sigil 0.8.1 2014.10.12
- Set minimum OS X version to 10.9.0 in Info.plist so users trying to
run on older versions of OS X will receive an error dialog instead of
a crash dialog.
- Set minimum Windows version to Vista in Installer so installation will
error when trying to install on XP (which is not supported and Sigil
binary packages won't run on).
- Fix issue #21: Use Hunspell WORDCHARS to help in tokenization of words.
- Pull request #19: Moving plugin description to ToolTips.
- Pull request #20: Preserve current file name for future save as actions
if appropriate.
- Fix bug where save after using input plugin would fail.
Sigil 0.8.0 2014.09.27
- Plugin framework.
- Add the svg image tag as an svg inline element (not a block element) and
add it as an empty element (TidyEmptyTags).
- Allow user defined list of entities to preserve.
- Pull request #16: Hardcode menu Plugins in UI, move it before menu Help.
- Pull request #10: Add ability to move entries in TOC up and down.
- Pull request #8: Allow pasting HTML as HTML or plain text in BookView.
Sigil 0.7.4 2013.10.27
- Use numeric entity for non-breaking spaces (nbsp) instead of named
entity. Fixes issues where files without a doctype won't open properly.
Sigil 0.7.3 2013.08.03
- Fix issue 2309: Compile failure due to case issue on m_lastFolderOpen.
- Fix issue 2269: "Conflicts with:" always in English.
- Fix issue 2186: Sigil 0.7.2 crashes on "Add existing files".
- Fix issue 2232: The nbsp characters in UTF-8 files are converted to normal spaces.
- Fix issue 2201: Save does not prompt for filename if filename not set
after cancelling save operation.
- Fix issue 2193: Incorrect country code used for Serbia.
- Implement issue 2199: Mac, Don't open empty book by default.
Sigil 0.7.2 2013.04.14
- Implement issue 2129: Enhance archive filename encoding handling.
- Implement issue 2128: Warnings for non-ASCII characters in filenames.
- Implement issue 2113: Preview should zoom separately from other views.
- Implement issue 1997: Tool to Add Cover image and file automatically.
- Implement issue 1993: Find & Replace should have a Marked Text option.
- Implement issue 2083: Enhance invalid OPF recovery.
- Implement issue 2082: Improve performance of Book Browser refresh.
- Fix issue 2170: Spellcheck should remember position after changing word.
- Fix issue 2148: Don't delete cover image in "Delete unused media files".
- Fix issue 2147: Doubleclick in Delete Files dialog can cause crash.
- Fix issue 2143: Bulk rename with just a number for filename does not use correct number of 0s.
- Fix issue 2121: Wait cursor shows when dialog is open while saving or opening.
- Fix issue 2107: Heading not accepted due to split at end of file.
- Fix issue 2110: Insert Special Character inserts wrong code for nnbsp.
- Fix issue 2021: Importing UTF-16 encoded files results in empty file.
- Fix issue 2088: Ctrl-click on text files does not work in Code View.
- Fix Issue 2071: Anchor dialog has disabled text field.
- Fix Issue 2077: Rename dialog incorrectly sized.
- Fix issue 2081: Book Browser tooltips are not updated when semantics change or for cover images.
- Fix issue 2080: OPF meta title not updated correctly for Add Semantic.
- Fix issue 2079: UI Language dropdown does not show language names for entries containing _.
Sigil 0.7.1 2013.03.03
- Implement issue 2058: Code View should be able to show resizable image.
- Implement issue 2038: Spellcheck "change selected word to" should remember sorting order.
- Implement issue 2043: Spellcheck should allow case-insensitive sorting.
- Implement issue 2029: Save and open should warn if HTML files are not well formed.
- Implement issue 2009: Add semantic tags to filenames in reports.
- Implement issue 2028: Special characters should work in non-html files.
- Implement issue 2027: Upgrade Boost to Boost 1.53.0.
- Fix issue 2069: Work around for archives where filenames are not utf-8 encoded.
- Fix issue 2068: ZIP general purpose bit 11 (utf-8) filename not set.
- Fix issue 2061: Language code using wrong character to separate country code.
- Fix issue 2057: Text selected across lines using Ctrl-F cannot be found with Find.
- Fix issue 2036: Mark for Index can insert HTML tags into code making it invalid.
- Fix issue 2041: Preview does not sync cursor after using Sigil for a while.
- Fix issue 2030: The character is incorrectly converted to space on open.
- Fix issue 2035: Index Editor entries with nbsp character don't match text.
- Fix issue 2016: Find with wrap off and All HTML Files still wraps on last file.
- Fix issue 2001: Spellcheck does not always highlight a word the first time.
- Fix issue 2017: Clips pasted into some windows does not work correctly.
- Fix issue 2008: Index adds extra comma in some cases.
Sigil 0.7.0 2013.02.17
- Implement issue 1983: Set the tooltips of files in Book Browser to the filename.
- Implement issue 1965: Allow opening files that are missing container.xml.
- Implement issue 1975: HTML TOC and Index should use CSS files instead of inline stylesheet.
- Implement issue 1968: Bookmark location in editing window.
- Implement issue 1963: Table Of Contents window should default to expanded when opened or refreshed.
- Implement issue 1953: Allow entering a list of new words into dictionary preferences.
- Implement issue 1952: Add shortcut for Copy HTML file.
- Implement issue 1951: Doubleclick on Image Report file should find next use of image.
- Implement issue 1949: Add support for multiple active user dictionaries.
- Implement issue 1947: Spellcheck dialog to manage all misspelled words at once.
- Implement issue 62: Add document's css styles to menu.
- Implement issue 1945: Allow editing of CSS while displaying page.
- Implement issue 1661: Report list of all different characters in the book.
- Implement issue 1746: Add Report for Links and Footnotes.
- Implement issue 1941: Add Find & Replace option to wrap or not wrap searches.
- Implement issue 1940: Update Insert Image to Insert File to support insert of audio/video.
- Implement issue 1938: Update Delete Image files to Delete Media files to include audio/video.
- Implement issue 1937: Add Report for All Files.
- Implement issue 1936: Add Clip Bar toolbar with buttons for Clips and shortcuts for Clips.
- Implement issue 1931: Change to QRegularExpression for most regexes.
- Implement issue 1185: Edit Table of Contents without needing Generate TOC.
- Implement issue 1929: Add support for playing audio and video files.
- Implement issue 917: Sigil should support audio and video tags.
- Implement issue 1928: Add well-formed check to HTML File Report.
- Implement issue 1864: Allow Metadata Editor dialog to stay open while editing.
- Implement issue 1871: Code View context menu should show clips even if word is misspelled.
- Implement issue 1870: Saved Searches should use mode settings from Find & Replace.
- Implement issue 1927: Add support for basic replacement Clips (e.g. span) in Book View.
- Implement issue 20: Embedded fonts support.
- Implement issue 1926: Upgrade to Qt5.
- Implement issue 1924: Add dockable Clips window to select clips.
- Implement issue 1925: Don't force well formed checks unless absolutely necessary.
- Implement issue 1843: Preview should be real-time display of Code View.
- Fix issue 1989: Problem with nested index entries.
- Fix issue 1964: Correcting a word using spellcheck does not make file go to "not saved" state.
- Fix issue 1961: Generate TOC should not create IDs for headings when it only points to filenames.
- Fix issue 1857: CSS Highlighting inline styles inconsistent.
- Fix issue 1946: Highlight misspelled words checkbox should be available in Preferences.
- Fix issue 1943: Reports can crash if file has non well-formed xml.
- Fix issue 1883: TOC window does not jump to right location for some entries.
- Fix issue 1906: "Delete unused image files" deleting background images.
- Fix issue 1874: Using Delete Unused Stylesheet Classes deletes pseudo-elements.
- Fix issue 1939: CSS parser does not match wildcard selectors consistently.
- Fix issue 1935: Improve speed of Index Editor autofill by removing progress dialog.
- Fix issue 1891: Opening the Saved Searches expands all groups.
- Fix issue 1934: Go To Style does not work with CSS filenames that have spaces in them.
- Fix issue 1933: No message is displayed if Go To Style can't find a style.
- Fix issue 1932: Replace All needs to be run twice in some cases.
- Fix issue 1930: Fix Metadata language dropdown selection incorrect matching.
- Fix issue 1775: Sigil-0.6.0 edit very slow with Thai e-Pub.
- Fix issue 1764: Sigil crashes on KDE after rearranging text sections.
- Fix issue 1720: Book View highlights text apparently randomly.
- Fix issue 1923: CSS validation should use EPUB 2 profile.
- Fix issue 1922: Invalid EPUB warning dialog is not long enough.
- Fix issue 1918: Support import of tab separated entries for Index Editor.
- Fix issue 1917: Keep selection when deleting unused images if an HTML file was selected.
- Fix issue 1916: Allow Go To Style to work for link type text/x-oeb1-css.
- Fix issue 1869: Backspace in Preferences - Shortcuts causes crash.
- Fix issue 1818: Hyperlink of URL with & causes invalid code.
- Fix issue 1824: Cursor position changes when saving the book.
Sigil 0.6.2 2012.12.06
- Fix issue 1834: Pretty Print should be removed due to formatting issues.
- Fix issue 1821: Audio files missing.
- Fix issue 1816: Height is incorrect in Reports->Image Files.
- Fix issue 1809: Fix crash related to cursor syncing.
- Fix issue 1808: Editing in book view changes DTD to incorrect value.
Sigil 0.6.1 2012.12.02
- Implement issue 1801: Audio and Video tags and files should be supported by Sigil.
- Implement issue 1797: Clean Source should have preference options to set when it should run.
- Implement issue 1768: Add non-destructive pretty printer as an option in addition to the Tidy provided one.
- Implement issue 1770: Change Clean Source to no longer warn about restarting Sigil.
- Implement issue 1767: Change default file extension from html to xhtml.
- Implement issue 1695: Add tooltips to show counts of files in Book Browser and headings in Generate TOC.
- Implement issue 1731: Delete files, Unused Images and Styles dialog should be scrollable and allow unselecting entries.
- Implement issue 1735: Print stylesheets and other non-HTML files.
- Implement issue 1758: Handle importing invalid files with duplicate IDs in OPF file.
- Implement issue 1711: Reports should allow saving to comma separated text file.
- Implement issue 1712: Reports should be non-modal and allow editing book while still open.
- Implement issue 1748: Add a Copy Image context menu option for images.
- Implement issue 1738: Move Generate Table of Contents button to toolbar.
- Implement issue 1743: Insert Image should include an alt tag with filename.
- Implement issue 1717: Allow more control of Author field in Metadata Editor.
- Implement issue 1729: Bulk rename should allow changing file extension.
- Implement issue 1728: Open/add invalid HTML files should show line numbers of error.
- Implement issue 1742: Add context menu option in Preview View for Inspect Element.
- Implement issue 1734: Splitting files and new blank HTML files should use existing file extension.
- Implement issue 1732: Index Editor should support opening/importing .txt files.
- Implement issue 1687: Insert ID should warn if invalid ID names are used.
- Fix issue 1791: All are replaced by normal space when switching from Book View to Code View.
- Fix issue 1798: Files, *-tmp.epub, are left in /tmp/Sigil/scratchpad after closing Sigil.
- Fix issue 1785: Split at Cursor in Book View does not always update href links.
- Fix issue 1759: Zipped files get wrong date and time.
- Fix issue 1757: Spellcheck does not handle one letter misspellings properly.
- Fix issue 1750: Loading HTML file should not automatically generate TOC.
- Fix issue 1749: Right click on SVG images should give same options as other images.
- Fix issue 1730: Changing view or using back button should select file in Book Browser.
- Fix issue 1726: Selecting all text and replacing with a Clip causes crash.
- Fix issue 1707: Application may crash when editing files externally.
- Fix issue 1733: Files edited with Open With are not always updated when externally saved.
- Fix issue 1704: Language dropdown entries have blank entries.
- Fix issue 1740: When dockable windows are stacked the program can give error on close.
Sigil 0.6.0 2012.10.27
- Implement issue 1664: Improve performance of opening and changing tabs.
- Implement issue 1665: Attempt to recover EPUB if it is missing an ncx file.
- Implement issue 1643: Change Clean Source default to Pretty Print instead of Tidy.
- Implement issue 1636: Add shift-click Replace for Replace Current - replace but not find next match.
- Implement issue 1638: Improve performance of Generate TOC.
- Implement issue 1637: Provide more friendly handling of bad EPUBs by not crashing after showing warning.
- Implement issue 1629: Localization of title in contentx.opf semantics.
- Implement issue 1622: Allow Font Obfuscation to work for multiple font files.
- Implement issue 1620: Well-formed check option should be removed and replaced with more appropriate automatic checking.
- Implement issue 1617: Split should split at cursor position not at end of paragraph.
- Implement issue 1619: Generate TOC should show tooltip details for the heading in case title and text is blank.
- Implement issue 1618: Generate TOC should allow changing heading levels in document and TOC.
- Implement issue 1615: Generate TOC should number sigil_toc_id's across all files and delete unused id's before generating.
- Implement issue 1612: Improve performance of merging files.
- Implement issue 1611: Improve performance of switching and closing tabs.
- Implement issue 1610: Use html instead of xhtml as the default extension for new blank HTML files.
- Implement issue 1606: Allow rename of titles in Generate Table Of Contents and show filenames in tooltip.
- Implement issue 1601: Delete unused Images.
- Implement issue 1602: Delete unused Styles.
- Implement issue 1603: Allow formatting buttons to work in Code View.
- Implement issue 1600: Option to delete one line in Code View without selecting text.
- Implement issue 1597: Show HTML tag information for current location in text while in Book View.
- Implement issue 1594: Allow miscellaneous text files to be edited and others to be opened externally.
- Implement issue 1590: Insert image should allow insert from disk.
- Implement issue 1557: Sigil requires Qt 4.8 or above.
- Implement issue 1586: Spellcheck should allow setting a keyboard shortcut for Ignore Word to speed editing.
- Implement issue 1585: Spellcheck should have a menu entry to clear all ignored words.
- Implement issue 1584: Sigil should allow CSS file to be edited while viewing HTML.
- Implement issue 1583: Sigil should remember the current view state when it restarts.
- Implement issue 1573: Improve performance of bulk rename.
- Implement issue 1468: Allow images to be opened externally.
- Implement issue 1571: Display whether classes are used in the HTML or CSS files in a new Reports dialog.
- Implement issue 1572: Add feature to re-format CSS files
- Implement issue 1567: Remove XPGT support.
- Implement issue 755: Support 'code view' for svg images that are loaded as separate files.
- Implement issue 1561: Add Save A Copy option to save file under a different name without renaming current file.
- Implement issue 1559: Add option to insert special characters into document.
- Implement issue 1333: Add Hyperlink editor buttons to select target from existing ids and set id anchor.
- Implement issue 401: Add edit buttons for Uppercase, Lowercase, Propercase, Capitization.
- Implement issue 985: Sigil fonts should be configurable in Preferences.
- Implement issue 1248: Code View/CSS should allow colors to be configurable in Preferences.
- Implement issue 1153: Highlighted Text in Code view Difficult/Impossible to see.
- Implement issue 1511: Prompt to replace an image when adding an image that already exists in the book.
- Implement issue 1542: Add a Go to Style option to jump to the CSS class used by a tag.
- Implement issue 1541: Heading styles should optionally remove/keep attributes in tags.
- Implement issue 1540: Add option to tokenise spaces and numbers in F&R find text.
- Implement issue 1539: Regex should support options for minimal matching, dot includes newlines.
- Implement issue 1535: Add Clipboard History to automatically saved recent cut or copied text.
- Implement issue 1534: Option to toggle Book View or Preview View to Code View and vice versa.
- Implement issue 1528: Shortcut preferences should be simplified.
- Implement issue 1536: Split at Chapter Markers should split all files.
- Implement issue 1530: The heading dropdown should be changed to buttons for quicker selection.
- Implement issue 1529: Code View should support heading/formatting buttons as used in Book View.
- Implement issue 73: External HTML links should be usable but evoke warning dialog.
- Implement issue 1521: Tab headers right click to close other tabs, toggle view state.
- Implement issue 715: Search Editor for saving and executing Find & Replaces searches.
- Implement issue 588: Clip Editor for saving and inserting text.
- Implement issue 1519: Open and go back to links in Code View and Book View.
- Implement issue 167: Index Editor to create a book index.
- Implement issue 1450: View classes used in HTML files.
- Implement issue 102: View details of all HTML files.
- Implement issue 839: Word Count (in View HTML details).
- Implement issue 1392: View details of all images.
- Implement issue 1513: Add progress indicators to various functions.
- Implement issue 1510: Add Existing Files should only open last file not all files.
- Implement issue 1428: Find&Replace should allow Ctrl/Shift key modifiers to set what to search.
- Implement issue 1325: Insert Images support for multiple images, resizing, thumbnails.
- Implement issue 31: Automatically set "date of modification" on save.
- Implement issue 1508: Allow export/saving of individual files.
- Implement issue 1367: Shortcut key to remove code tags from selected text.
- Implement issue 761: Shortcut key to close last open tag (Code View).
- Implement issue 1507: Metadata dialogs should allow double click to select.
- Implement issue 1457: Save should not add heading ids - already done in Generate TOC.
- Implement issue 1444: Sigil should not include .txt or .html in file associations during install.
- Implement issue 1443: Find&Replace should save state on restart.
- Implement issue 1416: Don't add selected text to F&R history and increase selected
text limit for being auto loaded into F&R.
- Implement issue 1414: Cover semantic should not be added automatically.
- Implement issue 1405: Cleared shortcut reset to default after restart.
- Implement issue 1407: Tidy should allow more fine-grained control.
- Implement issue 1393: Add Semantics Text should only apply to one file.
- Implement issue 1369: Add support for \xDD as Regex replacement in F&R.
- Implement issue 1285: Display image properties.
- Implement issue 534: Link to Stylesheets option for HTML files.
- Implement issue 1385: Metadata editor should always display fields
- Implement issue 1311: Metadata support for all RfC 639-2 languages.
- Implement issue 1335: Run Save As automatically if saving new html file.
- Implement issue 1366: TOC window tree support for collapse/expand all.
- Implement issue 759: Auto generate inline TOC HTML file.
- Implement issue 32: Metadata custom "date" options.
- Implement issue 33: Metadata options for creators and contributors.
- Implement issue 1374: Split View is now Preview View with code inspector.
- Implement issue 184: Superscript/subscript buttons.
- Implement issue 443: Book View RTL languages support (right to left rtl tag).
- Implement issue 504: Book View button for normal paragraph.
- Implement issue 1265: Preference to manually set UI language.
- Implement issue 1295: Metadata Editor support for translating descriptions.
- Implement issue 77: Metadata support for multiple language elements.
- Implement issue 1180: Spell Check button/menu to find next misspelled word.
- Implement issue 1045: Better highlighting of misspelled words.
- Implement issue 1301: Preferences for User and Additional Dictionary locations.
- Implement issue 1058: Use ini format for settings on all platforms.
- Implement issue 1376: Change organization name and location of settings to sigil-ebook.
- Implement issue 1381: Switch to using Minizip for 1.1 for ZIP support.
- Remove ZipArchive and Zipios++.
- Implement issue 1380: Update zlib to 1.2.7.
- Implement issue 1383: Remove the use of a precompiled header.
- Implement issue 1377: Update PCRE to 8.31.
- Make PCRE 8.31 with UTF-16 support the minimum required version.
- Bundled PCRE uses PCRE's JIT for faster searching.
- Modify Regex search code to use UTF-16 instead of UTF-8 for all
searches. This brings search in line with the view components
being able to display UTF-16 characters.
- Implement issue 1378: Update Hunspell to 1.3.2.
- Implement issue 1379: Update Boost to Boost 1.49.0.
- Implement issue 1283: Spell check should have an ignore option.
- Fix issue 1694: User dictionary shows duplicate entries and doesn't scroll to new entry when adding.
- Fix issue 1693: Words in user dictionary could be lost if blank entries are saved.
- Fix issue 1692: Code View highlighting incorrectly hides spelling issues if an & is used.
- Fix issue 1674: Batch rename changes filename extension.
- Fix issue 1663: Generate TOC gives heading ids for items not in the TOC.
- Fix issue 1642: Replace sometimes leaves a \1 in the text.
- Fix issue 1635: Replace can replace too much text if manual selection includes extra text.
- Fix issue 1639: Ensure Spellcheck treats single quotes as word boundary appropriately.
- Fix issue 1624: Do not close Sigil if an invalid HTML file was added.
- Fix issue 1623: Do not leave Sigil in an invalid state if an invalid book was opened.
- Fix issue 1605: Sigil cannot read epubs missing mimetypes as first file since container.xml might not be found.
- Fix issue 1621: Change sigilNotInTOC to sigil_not_in_toc for consistency but still recognize legacy value in old files.
- Fix issue 1477: Sigil may crash when loading ePubs containing empty (zero-sized) files.
- Fix issue 1589: Clicking on TOC entry the first time does not scroll to a heading at the top of the page.
- Fix issue 1582: Replace All should be single-threaded to avoid certain crashes.
- Fix issue 1581: Caret position in Book View - Code View syncing is not always correct.
- Fix issue 1580: Chapter split starts new files with suffix _002 instead of 001.
- Fix issue 1579: Generate Headings in TOC should select next item after unchecking an item.
- Fix issue 1563: Split Chapter break can create empty page.
- Fix issue 1284: Image and Stylesheet paths not updated for duplicate references when importing.
- Fix issue 1155: Filename removed from href in anchor tag when importing HTML.
- Fix issue 1553: Rename of one html file should keep file selected, allow rename shortcut, link stylesheets.
- Fix issue 1551: Generate TOC include column scrolls offscreen when headings are long.
- Fix issue 1550: Table of Contents window is not emptied if all TOC entries deleted manually.
- Fix issue 1549: Sigil should not modify source by converting shy/ndash/mdash to entities automatically.
- Fix issue 1345: Adding accented words dictionary doesn't work.
- Fix issue 1546: Find&Replace loses focus when changing tabs or going from Book to Code View.
- Fix issue 425: Shift+ PgUp/PgDn does not work in text editor.
- Fix issue 1390: Image is not updated until restart if deleted and re-added.
- Fix issue 1413: Crashes when opening a particular epub.
- Fix issue 1543: Tabs should only do updates when finished loading to improve performance.
- Fix issue 1395: A type of hyphen, when pasted in code view, crashes Sigil.
- Fix issue 1429: Changes to stylesheets are not seen in book and preview views.
- Fix issue 1406: Typing spaces on a word highlighted by spelling crashes Sigil.
- Fix issue 1524: Replace \s does not always match newlines.
- Fix issue 1538: Sigil can save a corrupted epub file if zip fails.
- Fix issue 1517: Delete selected file should not open another file unnecessarily.
- Fix issue 1474: New lines added in every xhtml file after saving.
- Fix issue 1486: Replace replaces even if text doesn't match if manually changed.
- Fix issue 1483: Add Existing Files adds HTML files in reverse order.
- Fix issue 1479: F&R auto-completer preventing searching for same word different case.
- Fix issue 1424: Spell check does not allow paste next to misspelled word.
- Fix issue 1422: Delete file should not update tab if opened file is not deleted.
- Fix issue 1417: OPF meta tags not updated if Cover image renamed or deleted.
- Fix issue 1408: Book Browser should not translate folder names.
- Fix issue 1308: Allow renaming file extensions.
- Fix issue 1363: Open and Save file directory inconsistent.
- Fix issue 1130: Content.opf edits overwritten by save.
- Fix issue 1354: Chapter Split breaks links in second half of document.
- Fix issue 999: Split does not update file references in TOC.
- Fix issue 1277: Meta-editor will not open.
- Fix issue 1281: Semantics information retained for deleted files.
- Fix issue 1338: F&R Replace All can crash using current file with large replaces.
- Fix issue 1296: F&R Search All crashes if HTML file doesn't have focus.
- Fix issue 1382: Settings not saving to disk.
- Fix issue 1272: Tabs should always use the View state set by the View buttons.
Sigil 0.5.3 2012.02.25
- Fix issue 1254: Bulk rename will stop if one name matches, context menu
needs cleanup and warnings.
- Fix issue 1268: Find/Replace all files does not search in book order,
and other issues.
- Fix issue 1266: Store user dictionary as UTF-8.
- Ensure the checkmarks in add semantic are set correctly when selecting
multiple files.
- Fix issue 1030: Don't close if canceling out of a failed save.
- Fix issue 1258: Find/Replace step by step in All HTML files is broken.
Sigil 0.5.2 2012.02.09
- Fix issue 1253: Replace All in All HTML files adds extra blank lines in
style section.
- Fix issue 1251: Merge does not work if you previously used split chapter.
- Fix issue 1249: Replace All in All HTML Files leaves cursor at the
bottom.
- Fix issue 1247: Cannot rename file extension in book browser and rename
selected should default to first extension name.
- Fix issue 1238: Deleting a file does not go to the next closest entry
in book browser.
- Fix issue 1236: Replace All in Current file does not center cursor.
- Fix issue 1234: Switching from Code View to Split View and SplitCV to
CV does not vertically center the cursor.
- Fix issue 1237: Rename does not keep current selection in book browser.
- Fix issue 1242: Metadata::FreeFormMetadata missing assignment line 360.
- Fix issue 1235: Deleting one file does not give a warning dialog.
- Fix issue 1129: Crash when importing existing image.
Sigil 0.5.1 2012.02.05
- Issue 1225:
* Add searching selected files.
* Add search wrapping.
* Replace in BV automatically goes to CV.
* Fixed bug where in CV if you do a replace of a word and then replace
all when there are the same words on the page, the page view wouldn't
be refreshed.
* Various fixes.
- Add English translation file used for plural strings.
- Implement issue 986: Automatically renumber playorder in TOC NCX.
- Implement issue 1224: F&R modifications to update layout and add Regex Multiline.
- Fix issue 1214: Dictionary files do not include hypen files or GB files.
- Fix issue 1213: Find and Replace does not save file when F&R is already
open and searching all HTML files.
- Remove the ability to use F&R to replace text in BV as it is unfixable in
its current state.
- Fix issue 1215: Book View line/column incorrect in status bar.
- Fix issue 1216: Re-opening a document already in a tab resets the cursor
position back to the top.
- Fix issue 1218: F&R cleanup.
- Fix issue 1212: Remove opf namespace rewriting when opening a file because
it ended up being more trouble than it was wroth.
- Fix issue 1188: New Sigil Regex engine crashes when pressing "replace all",
works fine on pushing "replace" over and over and over again.
- Implement issue 269: Select more than one item in the Book Browser Column.
- Implement issues 792: Add Shortcuts for next/previous HTML file with regard
to reading order, and sync selection in book browser to open tab.
- Implement issue 1135: New blank section must be automatically selected on book browser.
- Implement issue 1148: Allow user to change the order of split view so book view or code
view is first.
- Implement issue 1168: Add ability to sort HTML files alphanumerically.
- Implement issue 1174: Add new blank html section should insert section after selected file.
- Implement issue 1181: Merge Previous when previous file is open in current tab requires
refresh to see merged data.
Sigil 0.5.0 2012.01.21
- Implement issue 533 and 1079: allow user to select which level(s) of to include.
- Fix issue 788: Error saving when the folder the file was in was renamed
outside Sigil.
- Fix issue 998: Don't select file extension on rename in book browser.
- Fix issue 1111: Failure to rename to same name with case change.
- Implement issue 205: Drag and drop for images to book and code views.
- Fix issue 1019: issues with opf-namespace declaration.
- Inline spell check with right click replace in Code View.
- Fix issue 1064: Issues with editing epubs with differing html extensions.
Take mimetype into account when opening the file to help determine how to
deal with the file.
- Fix issue 1055, 1038, 1006: Focus switching causes unwanted cursor jumping
in split view. Don't auto sync cursor position between views.
- Implement issue 375: Add image selection dialog for inserting existing
images into book and code views.
- Add menu items for setting heading, adding new items, show / hide toolbars.
- Organize menu.
- Fix issue 803: Print prints immediately, no dialog box.
- Implement 245: Unify zoom levels (book, text, image) and store the levels.
- i18n capability. Build and load translation files.
- Add keyboard shortcut manager so user can change the keyboard shortcuts. Fixes 966.
- Add preference dialog. Closes 206, 718.
- Refactor Find & Replace into a widget that appears below the editor. Closes issues:
961, 579.
- Windows Installer: Add Sigil as a handler for EPUB and HTML files so that jump lists
will work and it will always show up on the 'Open With...' menu.
- Fix issue 1033, 1034: Implement scroll to fragment for Code View and fix scrolling for
book view.
- Fix issue 1032: Remove '=' from the list of valid characters for ids.
- Fix issue 1001: Valid IDs are now formed by replacing invalid characters with
underscores. Colon removed from the list of valid characters.
- Fix issue 1014: Sigil was erroneously assuming that fragment ids would be unique
across the entire book, whereas they're only required to be unique within a
particular xhtml document. New code implemented to cover those situations where
this assumption is wrong.
- Fix issue 1015: Fix issues with cursor positioning in Split View.
- Fix issue 1022: Added support for Adobe's page-map.xml pagination extension. (Must
use this exact filename).
- Implement issue 183: Use a PCRE regular expression engine instead of QRegExp.
Also fixes issue 498: regex '^' (start of line) broken.
- Implement issue 168: Allow selection of multiple Meta Editor properties.
- Allow for deleting multiple metadata items.
- Implement issue 368: Pressing enter key on item in book browser should open item.
- Fix issue 1005: Regression from change to ensure metdata element has dc namespace.
Sigil v0.4.2 2011.09.02
- Fix issue 993: Split then selection jumps back to top instead of selection point.
- Fix issue 988: fail to scroll properly after chapter split.
- Allow users to disable Well-Formed checks or if they should be auto fixed as they
were in 0.3.x.
- Don't read use tidy setting from disk each time it's checked. Store the setting and
save / load it upon edit and startup. This prevents Sigil from using the wrong value
when multiple instances are open.
- Use Pretty Print when auto fixing well formed errors.
- Added a safety check to LoadTabContent() to ensure that focus changes don't cause a
loss of non-well-formed data that has been entered but not saved.
- Fix an issue where the opf namespace is being written in individual elements in the metadata
section in the OPF. We're now going to clean and write the dc and opf namespaces directly
to the metadata element when loading an OPF to ensure they're present and correct.
- Fix for entities not being displayed when loading a file where they are saved as unicode
in the file itself.
- Fix for typo in code to preserve entities.
- Fix for path encoding issue on reconstructing the opf.
Sigil v0.4.1 2011.08.26
- Fix issue 615: implement undo for Find/Replace in Book View.
- Update Toc section of manual for 0.4 Toc panel.
- Implement issue 80: Select lines when clicking on line number in line number area in
code view.
- Fix issue 770: Incorrect file permissions for some files in archive create on OS X.
- Fix issue 890: Line number mismatch between Code View and Validation Results when
style tag in head section contains CDATA. CDATA was being stripped from the Code View.
- Fix issue 942: Work around for the Nook not being able to deal with cover meta element having
attributes in alphabetic order.
- Fix issue 976: Creation of new Code View tab fails to show all content if the web page's
asynchronous loading is delayed.
- Fix an issue where the line numbers in code view were not aligned to the line they represent.
- Fix issue 871: Update heading combo when putting cursor on block with heading style.
- Fix the formation of an empty paragraph at the top of the new file on doing a chapter split
in Book View.
- Fix issue 967: toc.ncx file keeps erasing manual input.
- Fix issues 657, 661, 694 and 867: The Heading Selector in Book View will now function as
expected and find the correct block-level tag to change rather than attempting to change
inline tags. It will also retain the attributes (including class) of the old tag.
- Fix the entity display for shy, mdash and ndash.
- Set modified state on book when page order is changed.
- Fixed the cursor issues on moving from Book to Code View and vice-versa. The new view should
now always gain keyboard focus and show the cursor properly.
- Insert the xml tag explicitly so that Tidy doesn't insert one without encoding and standalone
attributes.
- Fix issue #877: Invalid xml error prevents Find/Replace window from opening.
- Fix issue where switching between code and book view causes the code view to load old data
from book view.
- Implement issue 364: Go to line #.
- Implement issue 742: Shortcut/menu action to close all tabs except the current one.
- Fix issue 959: Original creator's name is mangled in About dialog.
- Fix for chapter splitting issue involving filenames with spaces.
- Makes sure the cursor is properly displayed on entering Code View.
Sigil v0.4.0 2011.08.15
- Fix issue 650: Convert SVG prefixes into a form that Tidy will tolerate.
- Fix issue 952: Allow compatible extension changes.
- Fix issue 835: File, Close shortcut does not work on OS X due to shortcut conflict.
- Fix issue 793: Don't delete com.apple.ibooks.display-options.xml.
- Fix issue 319: Adding chapter break in code view at end of current chapter creates new
chapter before the current one.
- Fix issue 947: Normalise headings before automatically generating the TOC.
- Build system changes to accomidate the Windows SDK.
- Remove empty styles on body tags when cleaning webkit junk.
- Fix issue 549 : Split on SGF Chapter Markers puts new files (sections) at end of file list.
- Fix issue 869: Right-click in Code View with error in code shows error dialog.
- Fix issue 919 and issue 316: Replace potentially problematic characters with named or
numerical entities.
- Change About to include an authors section.
- Fixed and issue where chapter splitting loses some chapters, places others in wrong order
(issue 836).
- Fixed an issue where language was not being properly detected (issue 923).
- Fixed an issue where font mangling caused file duplication (issue 932).
- Fixed an issue where extra blank lines were left in the STYLE section (issue 937).
- Fixed an issue where FlightCrew was reporting erroneous Resource is reachable but not present
in OPF errors (issue 813).
- Fixed string format compile warnings (issue 892).
- Fixed GCC 4.6 compile failure (issue 864).
- Changed Save As shortcut key to Ctrl+Shift+S (issue 838).
- Fixed an issue where the shortcut keys were not working properly on OS X (issue 838).
- Fixed an issue where metadata changed in metadata editor unsaved if Sigil closed right after
(issue 930).
- OS X minimum version bumped to 10.6.
- on Linux machines, the installer now places a shortcut to Sigil in the Applications->Office
menu instead of in a special "Sigil" folder under the Gnome root menu (issue #162)
Sigil v0.4.0 RC1 2011.04.22.
- fixed an issue with splitting on SGF chapter markers creating the new HTML files in the wrong
order (issue #828)
- fixed a rare crash/memory corruption issue with automatic OPF updates
- made the CSS resource path updates faster and more robust
- updated FlightCrew so that CSS resource use is now far more robustly detected (issue #822)
- fixed a rare hang when opening the Meta Editor on Win XP machines
- a more accurate error message is now displayed for problems with file loading/saving
(issue #772)
- fixed an issue with incorrect font filepath updates in the CSS (issue #736)
- fixed an issue with paths in the OPF not being URL-encoded (issue #823)
Sigil v0.4.0 ß3 2011.03.24
- added a workaround for loading broken epub files that use the incorrect mimetype for the
NCX (issue #815)
- fixed a rare issue with loading epub files with OPF's that had the XML version set to 1.1,
but also had other attributes in the XML declaration (issue #812)
- fixed an issue with entries appearing at random in the TOC after a split on SGF markers
is followed up with "Generate TOC from headings" request (issue #804)
- fixed an issue with files not appearing in the Book Browser after a split on SGF markers
(issue #816)
- fixed a regression that caused the auto-cover-setting heuristics to unset covers when they
are already set (issue #806)
- opening an HTML file now automatically builds a TOC from the headings
- fixed a regression that caused the Add Semantics menu to stop working (issue #807)
Sigil v0.4.0 ß2 2011.03.21.
- fixed an issue with the ID of the manifest item of a resource not being updated when the
resource was renamed
- fixed an issue with chapter splits being created in the wrong reading order (issue #797)
- fixed an issue with some HTML files disappearing after a save/load cycle if chapter splitting
was performed before the save
- fixed an issue with renaming a file and then splitting it causing duplicate ID's in the OPF
manifest (issue #800)
- fixed a validation issue with the Meta Editor not adding the correct namespace prefix to some
Dublin Core metadata element attributes
Sigil v0.4.0 ß1 2011.03.20
- fixed an issue with CSS @import rules in the '@import "something.css"' format not being
recognized and thus not updated on import
- removed the "CustomID" basic metadata entry from the Meta Editor; those wishing to use
custom ID's can now add them directly to the OPF
- Sigil now preserves custom unique identifiers in the OPF (issue #552)
- removed support for the Sigil-proprietary SGF format
- the user can now edit the OPF file by hand (issue #281)
- the user can now edit the NCX file by hand (issue #282)
- the OPF file is now preserved on import (issue #586)
- the NCX file is now preserved on import (issue #283)
- the Table Of Contents editor has been replaced with a new Table of Contents sidebar;
clicking on an item in this sidebar takes the user to the target location, enabling TOC
navigation (issue #100)
- a dialog now informs the user if his XHTML, NCX or OPF documents are not well-formed
XML (with error location and description), thus allowing him to fix the potential problems
by hand instead of leaving them to Tidy to fix (issue #519)
- fixed a rare issue with no tab opened by default when loading epubs
- made the sigil.sh startup script more robust (courtesy of Craig Sanders) (issue #737)
Sigil v0.3.4 2011.01.12.
- fixed a regression ("Not a folder" error) with opening certain epub files on Mac and
Linux systems (issue #731)
Sigil v0.3.3 2011.01.06.
- added a small "Donate" button to the toolbar and a related entry in the Help menu
- added a .desktop file for the make install target (courtesy of Richard Gibert)
- this time *really* worked around a Tidy bug that added blank lines to the start of
and