summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/synctexdir
diff options
context:
space:
mode:
authorJérôme Laurens <jerome.laurens@u-bourgogne.fr>2017-10-11 19:29:05 +0000
committerJérôme Laurens <jerome.laurens@u-bourgogne.fr>2017-10-11 19:29:05 +0000
commit8c9a2bdde3cb2fac4d29e55976983c3806bc3a07 (patch)
tree54a94029e6aff693a75a5780d2ebe911f7b2410e /Build/source/texk/web2c/synctexdir
parent0024b39df19531ab14ba86fefe53eb7993a1eb5e (diff)
SyncTeX parser 1.20. Initialisations fixes.
git-svn-id: svn://tug.org/texlive/trunk@45521 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/synctexdir')
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex_main.c2
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex_parser.c18
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex_parser.h2
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex_parser_advanced.h2
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex_parser_readme.md6
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex_parser_utils.c2
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex_parser_utils.h2
7 files changed, 20 insertions, 14 deletions
diff --git a/Build/source/texk/web2c/synctexdir/synctex_main.c b/Build/source/texk/web2c/synctexdir/synctex_main.c
index 173d7897da3..7b28bd6db4b 100644
--- a/Build/source/texk/web2c/synctexdir/synctex_main.c
+++ b/Build/source/texk/web2c/synctexdir/synctex_main.c
@@ -4,7 +4,7 @@
This file is part of the __SyncTeX__ package.
[//]: # (Latest Revision: Fri Jul 14 16:20:41 UTC 2017)
- [//]: # (Version: 1.19)
+ [//]: # (Version: 1.20)
See `synctex_parser_readme.md` for more details
diff --git a/Build/source/texk/web2c/synctexdir/synctex_parser.c b/Build/source/texk/web2c/synctexdir/synctex_parser.c
index 58fcb590924..edca5ce8c7c 100644
--- a/Build/source/texk/web2c/synctexdir/synctex_parser.c
+++ b/Build/source/texk/web2c/synctexdir/synctex_parser.c
@@ -3,8 +3,8 @@
This file is part of the __SyncTeX__ package.
- [//]: # (Latest Revision: Fri Jul 14 16:20:41 UTC 2017)
- [//]: # (Version: 1.19)
+ [//]: # (Latest Revision: Wed Oct 11 19:19:08 UTC 2017)
+ [//]: # (Version: 1.20)
See `synctex_parser_readme.md` for more details
@@ -59,7 +59,7 @@
* \file synctex_parser.c
* \brief SyncTeX file parser and controller.
* - author: Jérôme LAURENS
- * \version 1.19
+ * \version 1.20
* \date Mon Apr 24 07:08:56 UTC 2017
*
* Reads and parse *.synctex[.gz] files,
@@ -186,7 +186,7 @@ static const synctex_data_model_s synctex_data_model_none = {
-1, /* depth_V */
-1, /* name */
-1, /* page */
- 0
+ 0 /* size */
};
typedef const synctex_data_model_s * synctex_data_model_p;
@@ -1688,7 +1688,9 @@ static const synctex_data_model_s synctex_data_model_ref = {
-1, /* width_V */
-1, /* height_V */
-1, /* depth_V */
- synctex_data_ref_thv_max
+ -1, /* name */
+ -1, /* page */
+ synctex_data_ref_thv_max /* size */
};
static synctex_class_s synctex_class_ref = {
NULL, /* No scanner yet */
@@ -6706,7 +6708,7 @@ SYNCTEX_INLINE static synctex_point_s _synctex_data_set_point(synctex_node_p nod
return old;
}
SYNCTEX_INLINE static synctex_box_s _synctex_data_box(synctex_node_p node) {
- synctex_box_s box = {0,0,0,0};
+ synctex_box_s box = {{0,0},{0,0}};
int n;
n = synctex_node_width(node);
if (n<0) {
@@ -6722,7 +6724,7 @@ SYNCTEX_INLINE static synctex_box_s _synctex_data_box(synctex_node_p node) {
return box;
}
SYNCTEX_INLINE static synctex_box_s _synctex_data_xob(synctex_node_p node) {
- synctex_box_s box = {0,0,0,0};
+ synctex_box_s box = {{0,0},{0,0}};
int n;
n = synctex_node_width(node);
if (n>0) {
@@ -6738,7 +6740,7 @@ SYNCTEX_INLINE static synctex_box_s _synctex_data_xob(synctex_node_p node) {
return box;
}
SYNCTEX_INLINE static synctex_box_s _synctex_data_box_V(synctex_node_p node) {
- synctex_box_s box = {0,0,0,0};
+ synctex_box_s box = {{0,0},{0,0}};
int n;
n = _synctex_node_width_V(node);
if (n<0) {
diff --git a/Build/source/texk/web2c/synctexdir/synctex_parser.h b/Build/source/texk/web2c/synctexdir/synctex_parser.h
index 3d58885efb5..7375ebd4d60 100644
--- a/Build/source/texk/web2c/synctexdir/synctex_parser.h
+++ b/Build/source/texk/web2c/synctexdir/synctex_parser.h
@@ -4,7 +4,7 @@
This file is part of the __SyncTeX__ package.
[//]: # (Latest Revision: Fri Jul 14 16:20:41 UTC 2017)
- [//]: # (Version: 1.19)
+ [//]: # (Version: 1.20)
See `synctex_parser_readme.md` for more details
diff --git a/Build/source/texk/web2c/synctexdir/synctex_parser_advanced.h b/Build/source/texk/web2c/synctexdir/synctex_parser_advanced.h
index 758cfb57e5e..dd7172937a1 100644
--- a/Build/source/texk/web2c/synctexdir/synctex_parser_advanced.h
+++ b/Build/source/texk/web2c/synctexdir/synctex_parser_advanced.h
@@ -4,7 +4,7 @@
This file is part of the __SyncTeX__ package.
[//]: # (Latest Revision: Fri Jul 14 16:20:41 UTC 2017)
- [//]: # (Version: 1.19)
+ [//]: # (Version: 1.20)
See `synctex_parser_readme.md` for more details
diff --git a/Build/source/texk/web2c/synctexdir/synctex_parser_readme.md b/Build/source/texk/web2c/synctexdir/synctex_parser_readme.md
index 7dae3a97d90..29db9695e75 100644
--- a/Build/source/texk/web2c/synctexdir/synctex_parser_readme.md
+++ b/Build/source/texk/web2c/synctexdir/synctex_parser_readme.md
@@ -2,11 +2,15 @@
This file is part of the __SyncTeX__ package.
-[//]: # (Version: 1.19)
+[//]: # (Version: 1.20)
[//]: # (Date: Fri Jul 14 16:20:41 UTC 2017)
## Important
+* Changes in version `1.20`
+
+ One bug fixed in some initialization and different syntax to make some compilers happy.
+
* Changes in version `1.19`
A long standing bug affecting only pdftex has been fixed by adding support to pdf forms. As a side effect, the synchronization algorithm gains in accuracy for all the engines, especially from pdf to source. Of course, there is a small cost in both memory footprint and computational time, but none is noticeable.
diff --git a/Build/source/texk/web2c/synctexdir/synctex_parser_utils.c b/Build/source/texk/web2c/synctexdir/synctex_parser_utils.c
index 1a735cccc19..59c47bbb301 100644
--- a/Build/source/texk/web2c/synctexdir/synctex_parser_utils.c
+++ b/Build/source/texk/web2c/synctexdir/synctex_parser_utils.c
@@ -4,7 +4,7 @@
This file is part of the __SyncTeX__ package.
[//]: # (Latest Revision: Fri Jul 14 16:20:41 UTC 2017)
- [//]: # (Version: 1.19)
+ [//]: # (Version: 1.20)
See `synctex_parser_readme.md` for more details
diff --git a/Build/source/texk/web2c/synctexdir/synctex_parser_utils.h b/Build/source/texk/web2c/synctexdir/synctex_parser_utils.h
index f276b3c5b17..7c4966888b3 100644
--- a/Build/source/texk/web2c/synctexdir/synctex_parser_utils.h
+++ b/Build/source/texk/web2c/synctexdir/synctex_parser_utils.h
@@ -4,7 +4,7 @@
This file is part of the __SyncTeX__ package.
[//]: # (Latest Revision: Fri Jul 14 16:20:41 UTC 2017)
- [//]: # (Version: 1.19)
+ [//]: # (Version: 1.20)
See `synctex_parser_readme.md` for more details