Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
08317aef
Kaydet (Commit)
08317aef
authored
Eki 21, 2003
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Update to Expat 1.95.7; there are no changes to the Expat sources.
üst
6aedcfcd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
132 additions
and
29 deletions
+132
-29
asciitab.h
Modules/expat/asciitab.h
+2
-3
expat.h
Modules/expat/expat.h
+0
-0
expat.h.in
Modules/expat/expat.h.in
+0
-0
iasciitab.h
Modules/expat/iasciitab.h
+2
-3
internal.h
Modules/expat/internal.h
+9
-9
latin1tab.h
Modules/expat/latin1tab.h
+2
-3
macconfig.h
Modules/expat/macconfig.h
+104
-0
utf8tab.h
Modules/expat/utf8tab.h
+2
-3
winconfig.h
Modules/expat/winconfig.h
+6
-3
xmlparse.c
Modules/expat/xmlparse.c
+0
-0
xmlrole.c
Modules/expat/xmlrole.c
+2
-2
xmltok.c
Modules/expat/xmltok.c
+2
-2
xmltok_impl.c
Modules/expat/xmltok_impl.c
+1
-1
No files found.
Modules/expat/asciitab.h
Dosyayı görüntüle @
08317aef
/*
Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
/* 0x00 */
BT_NONXML
,
BT_NONXML
,
BT_NONXML
,
BT_NONXML
,
...
...
Modules/expat/expat.h
Dosyayı görüntüle @
08317aef
This diff is collapsed.
Click to expand it.
Modules/expat/expat.h.in
deleted
100644 → 0
Dosyayı görüntüle @
6aedcfcd
This diff is collapsed.
Click to expand it.
Modules/expat/iasciitab.h
Dosyayı görüntüle @
08317aef
/*
Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
/* Like asciitab.h, except that 0xD has code BT_S rather than BT_CR */
...
...
Modules/expat/internal.h
Dosyayı görüntüle @
08317aef
...
...
@@ -20,17 +20,20 @@
and therefore subject to change.
*/
#if defined(__GNUC__)
/* Instability reported with egcs on a RedHat Linux 7.3.
Let's comment it out:
#if defined(__GNUC__) && defined(__i386__)
/* We'll use this version by default only where we know it helps.
regparm() generates warnings on Solaris boxes. See SF bug #692878.
Instability reported with egcs on a RedHat Linux 7.3.
Let's comment out:
#define FASTCALL __attribute__((stdcall, regparm(3)))
and let's try this:
*/
#define FASTCALL __attribute__((regparm(3)))
#define PTRCALL
#define PTRFASTCALL __attribute__((regparm(3)))
#endif
#elif defined(WIN32)
/* Using __fastcall seems to have an unexpected negative effect under
MS VC++, especially for function pointers, so we won't use it for
now on that platform. It may be reconsidered for a future release
...
...
@@ -38,11 +41,8 @@
Likely reason: __fastcall on Windows is like stdcall, therefore
the compiler cannot perform stack optimizations for call clusters.
*/
#define FASTCALL
#define PTRCALL
#define PTRFASTCALL
#endif
/* Make sure all of these are defined if they aren't already. */
#ifndef FASTCALL
#define FASTCALL
...
...
Modules/expat/latin1tab.h
Dosyayı görüntüle @
08317aef
/*
Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
/* 0x80 */
BT_OTHER
,
BT_OTHER
,
BT_OTHER
,
BT_OTHER
,
...
...
Modules/expat/macconfig.h
0 → 100644
Dosyayı görüntüle @
08317aef
/*================================================================
** Copyright 2000, Clark Cooper
** All rights reserved.
**
** This is free software. You are permitted to copy, distribute, or modify
** it under the terms of the MIT/X license (contained in the COPYING file
** with this distribution.)
**
*/
#ifndef MACCONFIG_H
#define MACCONFIG_H
/* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */
#define BYTEORDER 4321
/* Define to 1 if you have the `bcopy' function. */
#undef HAVE_BCOPY
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
/* Define to 1 if you have the `getpagesize' function. */
#undef HAVE_GETPAGESIZE
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the `memmove' function. */
#define HAVE_MEMMOVE
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have a working `mmap' system call. */
#undef HAVE_MMAP
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS
/* whether byteorder is bigendian */
#define WORDS_BIGENDIAN
/* Define to specify how much context to retain around the current parse
point. */
#undef XML_CONTEXT_BYTES
/* Define to make parameter entity parsing functionality available. */
#define XML_DTD
/* Define to make XML Namespaces functionality available. */
#define XML_NS
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
/* Define to `long' if <sys/types.h> does not define. */
#define off_t long
/* Define to `unsigned' if <sys/types.h> does not define. */
#undef size_t
#endif
/* ifndef MACCONFIG_H */
Modules/expat/utf8tab.h
Dosyayı görüntüle @
08317aef
/*
Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
...
...
Modules/expat/winconfig.h
Dosyayı görüntüle @
08317aef
...
...
@@ -5,8 +5,6 @@
** This is free software. You are permitted to copy, distribute, or modify
** it under the terms of the MIT/X license (contained in the COPYING file
** with this distribution.)
**
**
*/
#ifndef WINCONFIG_H
...
...
@@ -21,7 +19,12 @@
#define XML_NS 1
#define XML_DTD 1
#define XML_BYTE_ORDER 12
#define XML_CONTEXT_BYTES 1024
/* we will assume all Windows platforms are little endian */
#define BYTEORDER 1234
/* Windows has memmove() available. */
#define HAVE_MEMMOVE
#endif
/* ndef WINCONFIG_H */
Modules/expat/xmlparse.c
Dosyayı görüntüle @
08317aef
This diff is collapsed.
Click to expand it.
Modules/expat/xmlrole.c
Dosyayı görüntüle @
08317aef
...
...
@@ -7,9 +7,9 @@
#elif defined(MACOS_CLASSIC)
#include "macconfig.h"
#else
/* Unused - MvL
#ifdef HAVE_EXPAT_CONFIG_H
#include <expat_config.h>
*/
#endif
#endif
/* ndef COMPILED_FROM_DSP */
#include "internal.h"
...
...
Modules/expat/xmltok.c
Dosyayı görüntüle @
08317aef
...
...
@@ -7,9 +7,9 @@
#elif defined(MACOS_CLASSIC)
#include "macconfig.h"
#else
/* Unused - MvL
#ifdef HAVE_EXPAT_CONFIG_H
#include <expat_config.h>
*/
#endif
#endif
/* ndef COMPILED_FROM_DSP */
#include "internal.h"
...
...
Modules/expat/xmltok_impl.c
Dosyayı görüntüle @
08317aef
...
...
@@ -882,7 +882,7 @@ PREFIX(scanPercent)(const ENCODING *enc, const char *ptr, const char *end,
const
char
**
nextTokPtr
)
{
if
(
ptr
==
end
)
return
XML_TOK_PARTIAL
;
return
-
XML_TOK_PERCENT
;
switch
(
BYTE_TYPE
(
enc
,
ptr
))
{
CHECK_NMSTRT_CASES
(
enc
,
ptr
,
end
,
nextTokPtr
)
case
BT_S
:
case
BT_LF
:
case
BT_CR
:
case
BT_PERCNT
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment