Commit 0c0089c0 authored by Atsuhito Kohda's avatar Atsuhito Kohda

Imported Debian patch 0.5~svn1363-1

parents 18ef9398 b16143c8
......@@ -2,7 +2,7 @@ Unless noted otherwise, all files in this directory and are released under the
following terms:
Copyright (C) 2011-2012 Charlie Sharpsteen
Copyright (C) 2011-2014 Charlie Sharpsteen, Stefan Löffler
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
......
......@@ -29,7 +29,7 @@ Mailing list: http://tug.org/mailman/listinfo/texworks
License
=======
TeXworks is copyright (C) 2007-2013 by Jonathan Kew, Stefan Löffler, and Charlie
TeXworks is copyright (C) 2007-2014 by Jonathan Kew, Stefan Löffler, and Charlie
Sharpsteen. Distributed under the terms of the GNU General Public License,
version 2 or (at your option) any later version.
See the file COPYING for details.
......
......@@ -51,7 +51,7 @@
<key>CFBundleIconFile</key>
<string>TeXworks.icns</string>
<key>CFBundleGetInfoString</key>
<string>TeXworks version @VER@ (r.@REV@)&#xA;(C) 2007-2013 Jonathan Kew, Stefan L&#xF6;ffler, Charlie Sharpsteen&#xA;Released under GPL (v2.0 or later)</string>
<string>TeXworks version @VER@ (r.@REV@)&#xA;(C) 2007-2014 Jonathan Kew, Stefan L&#xF6;ffler, Charlie Sharpsteen&#xA;Released under GPL (v2.0 or later)</string>
<key>CFBundleExecutable</key>
<string>TeXworks</string>
<key>CFBundleIdentifier</key>
......
texworks (0.5~svn1363-1) unstable; urgency=medium
* New Upstream Release (rev 1363).
* Adopt new build system with CMake.
- Rewrite debian/rules for it.
- Enabling PythonPlugin with modification of CMakeLists.txt .
- To build texworks-help-en, modify CMakeLists.txt and src/TWUtils.cpp
but should be refined. See debian/patch-cm.
- Set hardened build flags.
* Cleaning lintian warnings.
- Stop installing unnecessary COPYING.
- Bump Standards-Version to 3.9.5 .
-- Atsuhito KOHDA <kohda@debian.org> Wed, 14 May 2014 16:24:12 +0900
texworks (0.5~svn1351-1) unstable; urgency=medium
* New Upstream Release (rev 1351).
......
......@@ -2,14 +2,14 @@ Source: texworks
Section: editors
Priority: extra
Maintainer: Atsuhito KOHDA <kohda@debian.org>
Build-Depends: debhelper (>= 7), libhunspell-dev, qt4-dev-tools, libpoppler-qt4-dev, libdbus-1-dev, liblua5.1-0-dev, python-dev, zlib1g-dev
Standards-Version: 3.8.3
Build-Depends: debhelper (>= 7), pkg-config, cmake (>= 2.8.6), libhunspell-dev, libqt4-dev, libpoppler-qt4-dev, liblua5.2-dev, python-dev, zlib1g-dev
Standards-Version: 3.9.5
Homepage: http://www.tug.org/texworks/
Package: texworks
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Recommends: texlive-latex-base, texworks-help-en
Recommends: gsfonts, poppler-data, texlive-latex-base, texworks-help-en
Suggests: texlive-xetex, texworks-scripting-lua, texworks-scripting-python
Description: Environment for authoring TeX (LaTeX, ConTeXt, etc) documents
An environment for authoring TeX (LaTeX, ConTeXt, etc) documents, with
......@@ -38,7 +38,7 @@ Description: Plugin to bring Python scripting to TeXworks
Package: texworks-help-en
Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends}
Depends: ${misc:Depends}
Recommends: texworks
Description: English help files for TeXworks
For furter information, see http://tug.org/texworks/
--- CMakeLists.txt~ 2014-05-15 10:53:07.125865154 +0900
+++ CMakeLists.txt 2014-05-15 11:02:06.981435376 +0900
@@ -110,7 +110,7 @@
# Options controlling the creation of scripting language plugins.
OPTION(WITH_LUA "Build TeXworks Lua plugin?" ON)
-OPTION(WITH_PYTHON "Build TeXworks Python plugin?" OFF)
+OPTION(WITH_PYTHON "Build TeXworks Python plugin?" ON)
# On OS X we default to linking against the Python libraries provided by Apple
# even if other Pythons are available. This helps when building
@@ -121,7 +121,7 @@
ENDIF ()
IF (UNIX AND NOT APPLE)
- SET(TeXworks_HELP_DIR share/doc/texworks-help CACHE PATH "Path where TeXworks looks for help files")
+ SET(TeXworks_HELP_DIR share/texworks-help CACHE PATH "Path where TeXworks looks for help files")
SET(TeXworks_DIC_DIR /usr/share/myspell/dicts CACHE PATH "Path where TeXworks looks for spellchecking dictionaries")
SET(TeXworks_DOCS_DIR share/doc/texworks CACHE PATH "Path in which documentation files are installed")
SET(TeXworks_ICON_DIR share/pixmaps CACHE PATH "Path in which icons are installed")
--- src/TWUtils.cpp~ 2014-05-14 16:18:49.217408113 +0900
+++ src/TWUtils.cpp 2014-05-15 11:01:26.641465563 +0900
@@ -51,6 +51,8 @@
#endif
#ifndef TW_HELPPATH
#define TW_HELPPATH "/usr/local/share/texworks-help"
+#else
+#define TW_HELPPATH "/usr/share/texworks-help"
#endif
#endif
......@@ -9,78 +9,39 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export PYTHON = $(shell pyversions -d)
USDIR=$(CURDIR)/debian/texworks/usr/share
PLIDIR=plugins-src/TWLuaPlugin
PLIPYT=plugins-src/TWPythonPlugin
# For hardening in case CMake
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
CFLAGS+=$(CPPFLAGS)
CXXFLAGS+=$(CPPFLAGS)
configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
patch -p1 < ./debian/patch-py
# qmake-qt4
patch -p0 < ./debian/patch-cm
mkdir build && cd build && cmake .. -DTW_BUILD_ID='Debian' -DCMAKE_INSTALL_PREFIX='$(CURDIR)/debian/tmp/usr' && cd ..
touch configure-stamp
build: build-arch build-indep
build-arch: build-stamp
build-indep: build-stamp
build-indep:
build-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
# Lua plugin
cd $(PLIDIR) && qmake-qt4 -after \
'QMAKE_CXXFLAGS -= -DTW_BUILD_ID=personal -DTW_HELPPATH=\\\"/usr/local/share/texworks-help\\\" -DTW_PLUGINPATH=\\\"/usr/local/lib/texworks\\\"' \
'QMAKE_CXXFLAGS += -DTW_BUILD_ID=Debian -DTW_HELPPATH=\\\"/usr/share/texworks-help\\\" -DTW_PLUGINPATH=\\\"/usr/lib/texworks\\\"' \
'target.path = /usr/lib/texworks' \
&& $(MAKE)
# Python plugin
cd $(PLIPYT) && qmake-qt4 -after \
'QMAKE_CXXFLAGS -= -DTW_BUILD_ID=personal -DTW_HELPPATH=\\\"/usr/local/share/texworks-help\\\" -DTW_PLUGINPATH=\\\"/usr/local/lib/texworks\\\"' \
'QMAKE_CXXFLAGS += -DTW_BUILD_ID=Debian -DTW_HELPPATH=\\\"/usr/share/texworks-help\\\" -DTW_PLUGINPATH=\\\"/usr/lib/texworks\\\"' \
'target.path = /usr/lib/texworks' \
&& $(MAKE)
qmake-qt4 \
'INSTALL_PREFIX = /usr' \
-after \
'QMAKE_CXXFLAGS -= -DTW_BUILD_ID=personal -DTW_HELPPATH=\\\"/usr/local/share/texworks-help\\\" -DTW_PLUGINPATH=\\\"/usr/local/lib/texworks\\\" -DTW_DICPATH=\\\"/usr/share/myspell/dicts\\\"' \
'QMAKE_CXXFLAGS += -DTW_BUILD_ID=Debian -DTW_HELPPATH=\\\"/usr/share/texworks-help\\\" -DTW_PLUGINPATH=\\\"/usr/lib/texworks\\\" -DTW_DICPATH=\\\"/usr/share/hunspell\\\"' \
TeXworks.pro \
&& $(MAKE)
#docbook-to-man debian/texworks.sgml > texworks.1
cd build && $(MAKE)
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
if [ -f Makefile ]; then $(MAKE) clean; fi
rm -f ./texworks ./Makefile src/DefaultBinaryPaths.h
if [ -d moc ]; then rmdir moc; fi
if [ -d objs ]; then rmdir objs; fi
if [ -d rcc ]; then rmdir rcc; fi
if [ -d ui ]; then rmdir ui; fi
if [ -f $(PLIDIR)/Makefile ]; then cd $(PLIDIR) && $(MAKE) clean; fi
if [ -d $(PLIDIR)/moc ]; then rmdir $(PLIDIR)/moc; fi
if [ -d $(PLIDIR)/objs ]; then rmdir $(PLIDIR)/objs; fi
if [ -d $(PLIDIR)/rcc ]; then rmdir $(PLIDIR)/rcc; fi
if [ -d $(PLIDIR)/ui ]; then rmdir $(PLIDIR)/ui; fi
if [ -f $(PLIPYT)/Makefile ]; then cd $(PLIPYT) && $(MAKE) clean; fi
if [ -d $(PLIPYT)/moc ]; then rmdir $(PLIPYT)/moc; fi
if [ -d $(PLIPYT)/objs ]; then rmdir $(PLIPYT)/objs; fi
if [ -d $(PLIPYT)/rcc ]; then rmdir $(PLIPYT)/rcc; fi
if [ -d $(PLIPYT)/ui ]; then rmdir $(PLIPYT)/ui; fi
patch -NRp1 < ./debian/patch-py || true
rm -rf build build-stamp configure-stamp
rm -f $(PLIDIR)/libTWLuaPlugin.so $(PLIDIR)/Makefile
rm -f $(PLIPYT)/libTWPythonPlugin.so $(PLIPYT)/Makefile
patch -NRp1 < ./debian/patch-py || true
patch -NRp0 < ./debian/patch-cm || true
dh_clean
......@@ -88,55 +49,51 @@ install: build
dh_testdir
dh_testroot
dh_prep
dh_installdirs -A
# Add here commands to install the package into debian/texworks.
qmake-qt4 \
'INSTALL_PREFIX = /usr' \
-after \
'QMAKE_CXXFLAGS -= -DTW_BUILD_ID=personal -DTW_HELPPATH=\\\"/usr/local/share/texworks-help\\\" -DTW_PLUGINPATH=\\\"/usr/local/lib/texworks\\\" -DTW_DICPATH=\\\"/usr/share/myspell/dicts\\\"' \
'QMAKE_CXXFLAGS += -DTW_BUILD_ID=Debian -DTW_HELPPATH=\\\"/usr/share/texworks-help\\\" -DTW_PLUGINPATH=\\\"/usr/lib/texworks\\\" -DTW_DICPATH=\\\"/usr/share/hunspell\\\"' \
TeXworks.pro \
&& $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/texworks install
# unnecessary file(lintial warning)
rm -f $(CURDIR)/debian/texworks/usr/share/doc/texworks/COPYING*
install -m 755 -p "$(PLIDIR)/libTWLuaPlugin.so" \
$(CURDIR)/debian/texworks-scripting-lua/usr/lib/texworks
install -m 755 -p "$(PLIPYT)/libTWPythonPlugin.so" \
$(CURDIR)/debian/texworks-scripting-python/usr/lib/texworks
# Install the manual
rm -rf $(CURDIR)/debian/texworks/usr/share/texworks-help/en
cp -r manual $(CURDIR)/debian/texworks-help-en/usr/share/texworks-help/TeXworks-manual
dh_installdirs
# Build architecture-independent files here.
binary-indep: install
# We have nothing to do by default.
dh_testdir
dh_testroot
dh_prep
dh_installchangelogs
dh_installdirs
dh_installdocs
# Install the manual
# mkdir --parents $(CURDIR)/debian/tmp/usr/share/texworks-help/
# cp -r manual $(CURDIR)/debian/tmp/usr/share/texworks-help/TeXworks-manual
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
# Build architecture-dependent files here.
binary-arch: install
dh_testdir
dh_testroot
cd build && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/tmp install
# rm -r $(CURDIR)/debian/tmp/usr/share/doc/texworks-help
rm $(CURDIR)/debian/tmp/usr/share/doc/texworks/COPYING
dh_installchangelogs
dh_installdocs
dh_installdocs -XCOPYING
dh_installexamples
# dh_install
dh_install
rm -r $(CURDIR)/debian/texworks/usr/share/texworks-help
dh_installmenu
# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_python
# dh_installinit
# dh_installcron
# dh_installinfo
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
# dh_perl
# dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
......
debian/tmp/usr/share/texworks-help
debian/tmp/usr/lib/texworks/libTWLuaPlugin.so
debian/tmp/usr/lib/texworks/libTWPythonPlugin.so
debian/tmp/usr/bin*
debian/tmp/usr/share*
......@@ -69,7 +69,7 @@ If you find a bug, please report it at \%http://code.google.com/p/texworks/issue
Jonathan Kew, Stefan Löffler, Charlie Sharpsteen, and others
.SH COPYRIGHT
Copyright (C) 2007-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2007-2014 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
License GPLv2+: GNU GPL (version 2 or later) <http://gnu.org/licenses/gpl.html>
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2010-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2010-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2010-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2010-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
......@@ -22,7 +22,7 @@ BEGIN
VALUE "FileDescription", "TeXworks editor & previewer"
VALUE "FileVersion", TEXWORKS_VERSION ".r" SVN_REVISION_STR
VALUE "InternalName", "TeXworks"
VALUE "LegalCopyright", "Copyright (C) 2007-2013 Jonathan Kew, Stefan Lffler, Charlie Sharpsteen"
VALUE "LegalCopyright", "Copyright (C) 2007-2014 Jonathan Kew, Stefan Lffler, Charlie Sharpsteen"
VALUE "OriginalFilename", "TeXworks.exe"
VALUE "ProductName", "TeXworks"
VALUE "ProductVersion", "TeXworks " TEXWORKS_VERSION
......
......@@ -16,6 +16,11 @@ FILE(GLOB TEXWORKS_RCS "${TeXworks_SOURCE_DIR}/res/*.qrc")
FILE(GLOB TEXWORKS_TRANS_TS "${TeXworks_SOURCE_DIR}/trans/*.ts")
FILE(GLOB TEXWORKS_TRANS_QM "${TeXworks_SOURCE_DIR}/trans/*.qm")
IF ( WIN32 )
FILE(GLOB TEXWORKS_WIN_RCS "${TeXworks_SOURCE_DIR}/res/*.rc")
LIST(APPEND TEXWORKS_SRCS ${TEXWORKS_WIN_RCS})
ENDIF ( WIN32 )
# These source files along with the `.moc` files generated from some headers
# form the TeXworks scripting API. We export them to variables in the
# `PARENT_SCOPE` (top level CMake file) so that they will be available to the
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2011-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2010-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2010-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2007-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2010-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2008-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2008-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
// Default paths to TeX binaries, for TeXworks
// Generated by /home/atsuhito/misc/pack/TeXworks/texworks-0.5~svn1363/getDefaultBinPaths.sh
#define DEFAULT_BIN_PATHS "/usr/local/texlive/2013/bin/x86_64-linux:/usr/local/texlive/2012/bin/x86_64-linux:/usr/local/texlive/2011/bin/x86_64-linux:/usr/local/texlive/2010/bin/x86_64-linux:/usr/local/texlive/2009/bin/x86_64-linux:/usr/local/texlive/2008/bin/x86_64-linux:/usr/local/texlive/2007/bin/x86_64-linux:/usr/local/bin:/usr/bin"
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2011-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2013 Stefan Löffler
Copyright (C) 2013 Stefan Löffler
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2007-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2009-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2009-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2008-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2008-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2011-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2011-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2010-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2010-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
#define SVN_REVISION 1350
#define SVN_REVISION_STR "1350"
#define SVN_REVISION 1361
#define SVN_REVISION_STR "1361"
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2007-2014 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......@@ -289,7 +289,7 @@ void TWApp::about()
{
QString aboutText = tr("<p>%1 is a simple environment for editing, typesetting, and previewing TeX documents.</p>").arg(TEXWORKS_NAME);
aboutText += "<small>";
aboutText += "<p>&#xA9; 2007-2013 Jonathan Kew, Stefan L&#xF6;ffler, Charlie Sharpsteen";
aboutText += "<p>&#xA9; 2007-2014 Jonathan Kew, Stefan L&#xF6;ffler, Charlie Sharpsteen";
aboutText += tr("<br>Version %1 r.%2 (%3)").arg(TEXWORKS_VERSION).arg(SVN_REVISION).arg(TW_BUILD_ID_STR);
aboutText += tr("<p>Distributed under the <a href=\"http://www.gnu.org/licenses/gpl-2.0.html\">GNU General Public License</a>, version 2 or (at your option) any later version.");
aboutText += tr("<p><a href=\"http://qt.nokia.com/\">Qt application framework</a> v%1 by Qt Software, a division of Nokia Corporation.").arg(qVersion());
......@@ -685,7 +685,7 @@ QObject* TWApp::openFile(const QString &fileName, int pos /* = 0 */)
if (doc != NULL) {
if (pos > 0)
doc->widget()->goToPage(pos - 1);
doc->selectWindow();
QTimer::singleShot(0, doc, SLOT(selectWindow()));
return doc;
}
return NULL;
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2007-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2009-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2009-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2010-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2010-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2009-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2009-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2010-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2007-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2008-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2008-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2008-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2007-2014 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......@@ -2643,6 +2643,7 @@ void TeXDocument::typeset()
}
// ensure the window is visible - otherwise we can't see the output
// panel (and the typeset process appears to hang in case of an error)
consoleTabs->setCurrentIndex(0);
raise();
inputLine->setFocus(Qt::OtherFocusReason);
......
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2007-2012 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2007-2013 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
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
......
/*
This is part of TeXworks, an environment for working with TeX documents