diff options
author | Taco Hoekwater <taco@elvenkind.com> | 2009-06-08 08:58:07 +0000 |
---|---|---|
committer | Taco Hoekwater <taco@elvenkind.com> | 2009-06-08 08:58:07 +0000 |
commit | 5adefaa278f30813af94c423bed99d1628b23a2c (patch) | |
tree | 76b0edd887559dcea0be9d28a569d8191f3e8307 /Build/source/texk/web2c/luatexdir/utils | |
parent | be2021a8a7f377786a2fba684fd950975c892533 (diff) |
source code for luatex 0.40.3
git-svn-id: svn://tug.org/texlive/trunk@13669 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/utils')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/utils/avlstuff.c | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/utils/synctex.c | 32 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/utils/utils.c | 14 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/utils/writezip.c | 2 |
4 files changed, 26 insertions, 26 deletions
diff --git a/Build/source/texk/web2c/luatexdir/utils/avlstuff.c b/Build/source/texk/web2c/luatexdir/utils/avlstuff.c index 363eb15088f..080c18f112c 100644 --- a/Build/source/texk/web2c/luatexdir/utils/avlstuff.c +++ b/Build/source/texk/web2c/luatexdir/utils/avlstuff.c @@ -24,8 +24,8 @@ #include "avl.h" static const char __svn_version[] = - "$Id: avlstuff.c 2329 2009-04-18 14:25:30Z hhenkel $ " - "$URL: http://foundry.supelec.fr/svn/luatex/tags/beta-0.40.2/source/texk/web2c/luatexdir/utils/avlstuff.c $"; + "$Id: avlstuff.c 2448 2009-06-08 07:43:50Z taco $ " + "$URL: http://foundry.supelec.fr/svn/luatex/tags/beta-0.40.3/source/texk/web2c/luatexdir/utils/avlstuff.c $"; static struct avl_table **PdfObjTree = NULL; diff --git a/Build/source/texk/web2c/luatexdir/utils/synctex.c b/Build/source/texk/web2c/luatexdir/utils/synctex.c index 45a1c060946..081e02ef597 100644 --- a/Build/source/texk/web2c/luatexdir/utils/synctex.c +++ b/Build/source/texk/web2c/luatexdir/utils/synctex.c @@ -673,8 +673,8 @@ void synctex_vlist(halfword this_box) synctex_ctxt.tag = SYNCTEX_TAG_MODEL(this_box,box_node_size); synctex_ctxt.line = SYNCTEX_LINE_MODEL(this_box,box_node_size); pos = synch_p_with_c(cur); - synctex_ctxt.curh = pos.h; - synctex_ctxt.curv = pos.v; + synctex_ctxt.curh = pos.h - ((SYNCTEX_OFFSET_IS_PDF != 0) ? 0 : 4736287); + synctex_ctxt.curv = cur_page_size.v - ((SYNCTEX_OFFSET_IS_PDF != 0) ? 0 : 4736287) - pos.v; synctex_record_vlist(this_box); } @@ -699,8 +699,8 @@ void synctex_tsilv(halfword this_box) synctex_ctxt.tag = SYNCTEX_TAG_MODEL(this_box,box_node_size); synctex_ctxt.line = SYNCTEX_LINE_MODEL(this_box,box_node_size); pos = synch_p_with_c(cur); - synctex_ctxt.curh = pos.h; - synctex_ctxt.curv = pos.v; + synctex_ctxt.curh = pos.h - ((SYNCTEX_OFFSET_IS_PDF != 0) ? 0 : 4736287); + synctex_ctxt.curv = cur_page_size.v - ((SYNCTEX_OFFSET_IS_PDF != 0) ? 0 : 4736287) - pos.v; synctex_ctxt.recorder = NULL; synctex_record_tsilv(this_box); } @@ -724,8 +724,8 @@ void synctex_void_vlist(halfword p, halfword this_box) synctex_ctxt.tag = SYNCTEX_TAG_MODEL(p,box_node_size); synctex_ctxt.line = SYNCTEX_LINE_MODEL(p,box_node_size); pos = synch_p_with_c(cur); - synctex_ctxt.curh = pos.h; - synctex_ctxt.curv = pos.v; + synctex_ctxt.curh = pos.h - ((SYNCTEX_OFFSET_IS_PDF != 0) ? 0 : 4736287); + synctex_ctxt.curv = cur_page_size.v - ((SYNCTEX_OFFSET_IS_PDF != 0) ? 0 : 4736287) - pos.v; synctex_ctxt.recorder = NULL; /* reset */ synctex_record_void_vlist(p); } @@ -750,8 +750,8 @@ void synctex_hlist(halfword this_box) synctex_ctxt.tag = SYNCTEX_TAG_MODEL(this_box,box_node_size); synctex_ctxt.line = SYNCTEX_LINE_MODEL(this_box,box_node_size); pos = synch_p_with_c(cur); - synctex_ctxt.curh = pos.h; - synctex_ctxt.curv = pos.v; + synctex_ctxt.curh = pos.h - ((SYNCTEX_OFFSET_IS_PDF != 0) ? 0 : 4736287); + synctex_ctxt.curv = cur_page_size.v - ((SYNCTEX_OFFSET_IS_PDF != 0) ? 0 : 4736287) - pos.v; synctex_ctxt.recorder = NULL; /* reset */ synctex_record_hlist(this_box); } @@ -777,8 +777,8 @@ void synctex_tsilh(halfword this_box) synctex_ctxt.tag = SYNCTEX_TAG_MODEL(this_box,box_node_size); synctex_ctxt.line = SYNCTEX_LINE_MODEL(this_box,box_node_size); pos = synch_p_with_c(cur); - synctex_ctxt.curh = pos.h; - synctex_ctxt.curv = pos.v; + synctex_ctxt.curh = pos.h - ((SYNCTEX_OFFSET_IS_PDF != 0) ? 0 : 4736287); + synctex_ctxt.curv = cur_page_size.v - ((SYNCTEX_OFFSET_IS_PDF != 0) ? 0 : 4736287) - pos.v; synctex_ctxt.recorder = NULL; /* reset */ synctex_record_tsilh(this_box); } @@ -807,8 +807,8 @@ void synctex_void_hlist(halfword p, halfword this_box) synctex_ctxt.tag = SYNCTEX_TAG_MODEL(p,box_node_size); synctex_ctxt.line = SYNCTEX_LINE_MODEL(p,box_node_size); pos = synch_p_with_c(cur); - synctex_ctxt.curh = pos.h; - synctex_ctxt.curv = pos.v; + synctex_ctxt.curh = pos.h - ((SYNCTEX_OFFSET_IS_PDF != 0) ? 0 : 4736287); + synctex_ctxt.curv = cur_page_size.v - ((SYNCTEX_OFFSET_IS_PDF != 0) ? 0 : 4736287) - pos.v; synctex_ctxt.recorder = NULL; /* reset */ synctex_record_void_hlist(p); } @@ -857,8 +857,8 @@ void synctex_math(halfword p, halfword this_box) synctex_ctxt.tag = SYNCTEX_TAG_MODEL(p,medium_node_size); synctex_ctxt.line = SYNCTEX_LINE_MODEL(p,medium_node_size); pos = synch_p_with_c(cur); - synctex_ctxt.curh = pos.h; - synctex_ctxt.curv = pos.v; + synctex_ctxt.curh = pos.h - ((SYNCTEX_OFFSET_IS_PDF != 0) ? 0 : 4736287); + synctex_ctxt.curv = cur_page_size.v - ((SYNCTEX_OFFSET_IS_PDF != 0) ? 0 : 4736287) - pos.v; synctex_ctxt.recorder = NULL;/* no need to record once more */ synctex_math_recorder(p);/* always record synchronously */ } @@ -892,8 +892,8 @@ void synctex_horizontal_rule_or_glue(halfword p, halfword this_box) } synctex_ctxt.node = p; pos = synch_p_with_c(cur); - synctex_ctxt.curh = pos.h; - synctex_ctxt.curv = pos.v; + synctex_ctxt.curh = pos.h - ((SYNCTEX_OFFSET_IS_PDF != 0) ? 0 : 4736287); + synctex_ctxt.curv = cur_page_size.v - ((SYNCTEX_OFFSET_IS_PDF != 0) ? 0 : 4736287) - pos.v; synctex_ctxt.recorder = NULL; switch(SYNCTEX_TYPE(p)) { case rule_node: diff --git a/Build/source/texk/web2c/luatexdir/utils/utils.c b/Build/source/texk/web2c/luatexdir/utils/utils.c index 0765f26408e..feb71d3183c 100644 --- a/Build/source/texk/web2c/luatexdir/utils/utils.c +++ b/Build/source/texk/web2c/luatexdir/utils/utils.c @@ -41,17 +41,17 @@ #include "png.h" #ifdef POPPLER_VERSION -#define xpdfString "poppler" -#include "poppler-config.h" -#define xpdfVersion POPPLER_VERSION +# define xpdfString "poppler" +# include "poppler-config.h" +# define xpdfVersion POPPLER_VERSION #else -#define xpdfString "xpdf" -#include "xpdf/config.h" /* just to get the xpdf version */ +# define xpdfString "xpdf" +# include "xpdf/config.h" /* just to get the xpdf version */ #endif static const char __svn_version[] = - "$Id: utils.c 2384 2009-05-08 14:09:14Z taco $ " - "$URL: http://foundry.supelec.fr/svn/luatex/tags/beta-0.40.2/source/texk/web2c/luatexdir/utils/utils.c $"; + "$Id: utils.c 2448 2009-06-08 07:43:50Z taco $ " + "$URL: http://foundry.supelec.fr/svn/luatex/tags/beta-0.40.3/source/texk/web2c/luatexdir/utils/utils.c $"; #define check_nprintf(size_get, size_want) \ if ((unsigned)(size_get) >= (unsigned)(size_want)) \ diff --git a/Build/source/texk/web2c/luatexdir/utils/writezip.c b/Build/source/texk/web2c/luatexdir/utils/writezip.c index e853275897e..18650807d50 100644 --- a/Build/source/texk/web2c/luatexdir/utils/writezip.c +++ b/Build/source/texk/web2c/luatexdir/utils/writezip.c @@ -23,7 +23,7 @@ #include <assert.h> static const char __svn_version[] = - "$Id: writezip.c 2271 2009-04-12 23:42:21Z oneiros $ $URL: http://foundry.supelec.fr/svn/luatex/tags/beta-0.40.2/source/texk/web2c/luatexdir/utils/writezip.c $"; + "$Id: writezip.c 2271 2009-04-12 23:42:21Z oneiros $ $URL: http://foundry.supelec.fr/svn/luatex/tags/beta-0.40.3/source/texk/web2c/luatexdir/utils/writezip.c $"; #define ZIP_BUF_SIZE 32768 |