Branch: Tag:

2020-06-02

2020-06-02 09:03:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Parser.XML: Reduce number of errors thrown from autoconvert().

2019-03-19

2019-03-19 12:33:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '722771973bd' into patches/lyslyskom22891031

* commit '722771973bd': (6177 commits)
Verify that callablep responses are aligned with reality.
...

2019-03-14

2019-03-14 10:39:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '2470270f500c728d10b8895314d8d8b07016e37b' into grubba/typechecker-automap

* commit '2470270f500c728d10b8895314d8d8b07016e37b': (18681 commits)
Removed the old typechecker.
...

2018-11-04

2018-11-04 16:11:11 by Arne Goedeke <el@laramies.com>

Merge remote-tracking branch 'origin/master' into new_utf8

2018-11-03

2018-11-03 14:21:37 by Marcus Comstedt <marcus@mc.pp.se>

Merge remote-tracking branch 'origin/8.1' into gobject-introspection

2018-08-05

2018-08-05 15:04:30 by Martin Nilsson <nilsson@fastmail.com>

Avoid sending function name to get_all_args

2018-03-17

2018-03-17 20:30:13 by Martin Nilsson <nilsson@fastmail.com>

Remove HAVE_CONFIG_H checks.

2018-02-15

2018-02-15 15:54:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '75c9d1806f1a69ca21c27a2c2fe1b4a6ea38e77e' into patches/pike63

* commit '75c9d1806f1a69ca21c27a2c2fe1b4a6ea38e77e': (19587 commits)
...

2018-02-12

2018-02-12 22:22:42 by Marcus Comstedt <marcus@mc.pp.se>

Add more FALLTHRU directives where needed

2018-02-12 21:49:35 by Marcus Comstedt <marcus@mc.pp.se>

Fix spelling of FALLTHRU directive

The non-standard spelling "FALL_THROUGH" is not recognized by gcc 7.3.
Also, the comment must not contain any other text, or be placed inside
braces.

2017-12-31

2017-12-31 23:19:10 by Peter Bortas <bortas@gmail.com>

Merge remote-tracking branch 'origin/8.1' into peter/travis

2017-12-28

2017-12-28 15:42:27 by Martin Nilsson <nilsson@fastmail.com>

Clena up stack in create

2017-05-03

2017-05-03 09:29:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [Parser.XML.Simple]: Removed redundant declaration.

Fixes compilation issues on NT.

2016-12-08

2016-12-08 19:14:27 by Martin Nilsson <nilsson@fastmail.com>

One more o_range -> o_range2 conversion.

2016-12-08 19:09:58 by Martin Nilsson <nilsson@fastmail.com>

Bugfix decoding of UTF-8 encoded BOM.

2016-12-08 19:09:09 by Martin Nilsson <nilsson@fastmail.com>

Bugfix decoding of UTF-8 encoded BOM.

2016-12-08 18:42:55 by Martin Nilsson <nilsson@fastmail.com>

VERBOSE_XMLDEBUG works again.

2016-05-18

2016-05-18 14:16:41 by Tobias S. Josefowitz <tobij@tobij.de>

Build [Parser]: Compilefix for issue with Pike 7.8 precompiler.

This is actually pretty ugly, ideas welcome.

2016-04-11

2016-04-11 14:22:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [Parser.XML]: Use correct storage class.

2016-04-11 14:21:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [Parser.XML]: Use correct storage class.

2016-04-11 14:12:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [Parser]: Fixed issue with Pike 8.0 precompiler.

The symbol Simple_Context_program_fun_num had the wrong storage class
due to DEFAULT_CMOD_STORAGE having been set to empty by global.h.

Thanks to Marcus Comstedt for the report.

Fixes [LysLysKOM 21699014].

2016-04-08

2016-04-08 19:48:49 by Martin Nilsson <nilsson@fastmail.com>

Removed PTRDIFF_T_TO_LONG

2016-02-12

2016-02-12 13:50:54 by Martin Nilsson <nilsson@fastmail.com>

Removed PTRDIFF_T_TO_LONG

2016-01-26

2016-01-26 21:08:15 by Martin Nilsson <nilsson@fastmail.com>

SIMPLE_TOO_FEW_ARGS_ERROR should be SIMPLE_WRONG_NUM_ARGS_ERROR since long ago. Replaced them and tighten up argument control in places.

2016-01-26 19:38:42 by Martin Nilsson <nilsson@fastmail.com>

SIMPLE_BAD_ARG_ERROR is only kept for compatibility, but we still had 500+ uses of it.

2016-01-12

2016-01-12 18:09:27 by Per Hedbor <ph@opera.com>

inline is part of c99

We do have.. excessive amounts of inline, incidentally. :)

2015-12-10

2015-12-10 13:58:04 by Per Hedbor <ph@opera.com>

It turns out that 0 arguments is much more common than 10.

Also, 0-sized mappings do not allocate any mapping data object at all.

This saved 129 of 316Mb when parsing a 30Mb XML file (of the remaining memory most is gc markers when running gc)

2015-11-08

2015-11-08 03:12:23 by Martin Nilsson <nilsson@fastmail.com>

Don't clean up stack before returning from void functions.

2015-10-14

2015-10-14 19:41:28 by Martin Nilsson <nilsson@fastmail.com>

Removed Intel IA64 compiler specific DO_NOT_WARN.

2015-08-22

2015-08-22 18:35:10 by Per Hedbor <ph@opera.com>

Static:ified a lot of strings.

This is more or less all instances of push_text(static data here).

Left to do: make_shared_X_string(static data here). :)

2015-08-18

2015-08-18 18:07:49 by Per Hedbor <ph@opera.com>

Static:ified a lot of strings.

This is more or less all instances of push_text(static data here).

Left to do: make_shared_X_string(static data here). :)

2015-06-02

2015-06-02 12:53:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Survive precompilation with Pike 8.0.

2015-05-25

2015-05-25 15:33:02 by Martin Nilsson <nilsson@opera.com>

Removed trailing spaces.

2015-05-13

2015-05-13 15:10:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Parser.XML: Added fallback marker. Fixes [CID 742611].

2015-04-20

2015-04-20 08:27:10 by Martin Nilsson <nilsson@opera.com>

Add some breaks as a minor optimization. CID 742607

2015-04-19

2015-04-19 06:02:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Parser.XML: Fixed some parser bugs.

Fixes [CID 742608], [CID 742609], [CID 742610] and [CID 742612].

2015-04-19 06:01:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Parser.XML: Fixed some parser bugs.

Fixes [CID 742608], [CID 742609], [CID 742610] and [CID 742612].

2015-04-19 05:59:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Parser.XML: Fixed some parser bugs.

Fixes [CID 742608], [CID 742609], [CID 742610] and [CID 742612].

2015-04-18

2015-04-18 22:24:00 by Martin Nilsson <nilsson@opera.com>

Add some breaks as a minor optimization. CID 742607

2015-04-18 09:03:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Parser.XML: Style change.

Exit a do-while(0) loop with break instead of continue to keep
Coverity happy.

Fixes [CID 1294688].

2014-12-04

2014-12-04 19:26:40 by Martin Nilsson <nilsson@opera.com>

Removed unused defines.

2014-12-04 19:26:26 by Per Hedbor <ph@opera.com>

Binary size: push_constant_text -> push_text when not time-critical.

Especially in error handling, and code that does a lot of other string
operations anyway the speed gain is not wort the 100+ bytes code size
of each instance of push_constant_text

This saves about 20K of code size (main pike binary), while not really
changing the speed much.

push_constant_text that seemed to be in at least pseudo-time-critical
code was kept as they were.

On a related note, push_constant_text(":") four times in a row creates
four different string variables, for obvious reasons.

Some of the remaining push_constant_text really should have a
module/file local string variable, even though that is more bothersome
to create.

It might be nice to have this in .cmod files automatically.

2014-12-04 19:25:25 by Arne Goedeke <el@laramies.com>

removed some declarations of undefined static functions

2014-12-04 19:25:24 by Per Hedbor <ph@opera.com>

Use UNUSED for the extra callback arguments (they are read directly from the stack).

2014-12-04 19:23:45 by Martin Nilsson <nilsson@opera.com>

Rewrite Locale.Charset to Charset

2014-12-04 19:23:40 by Arne Goedeke <el@laramies.com>

Added new block allocator. It dramatically speeds up free, when
allocating many blocks and deallocation happens non linearly.

2014-12-04 19:23:02 by 0

Wrap unused parameters in UNUSED(), and debug-only parameters in DEBUGUSED(), to cut
down on compiler warnings. The macro also renames parameters to catch accidental use.
(There are more places to clean up but I don't want to modify code that isn't compiling
on my machine.)

2014-11-17

2014-11-17 01:08:56 by Stephen R. van den Berg <srb@cuci.nl>

Reinstate legacy XML parsing modes until further notice.

2014-11-17 01:05:21 by Stephen R. van den Berg <srb@cuci.nl>

Reinstate legacy XML parsing modes until further notice.

2014-11-15

2014-11-15 13:42:52 by Stephen R. van den Berg <srb@cuci.nl>

Remove superfluous legacy compat support prior to 7.8.

2014-09-04

2014-09-04 15:57:43 by Arne Goedeke <el@laramies.com>

Merge remote-tracking branch 'origin/8.0' into string_alloc

Conflicts:
src/stralloc.c

2014-09-03

2014-09-03 20:51:16 by Martin Nilsson <nilsson@opera.com>

memcmp is C89 and 4.3BSD

2014-08-25

2014-08-25 18:29:35 by Martin Nilsson <nilsson@opera.com>

More consistent use of error macros.

2014-06-20

2014-06-20 20:50:48 by Martin Nilsson <nilsson@opera.com>

Removed unused defines.

2014-05-22

2014-05-22 16:49:17 by Per Hedbor <ph@opera.com>

Binary size: push_constant_text -> push_text when not time-critical.

Especially in error handling, and code that does a lot of other string
operations anyway the speed gain is not wort the 100+ bytes code size
of each instance of push_constant_text

This saves about 20K of code size (main pike binary), while not really
changing the speed much.

push_constant_text that seemed to be in at least pseudo-time-critical
code was kept as they were.

On a related note, push_constant_text(":") four times in a row creates
four different string variables, for obvious reasons.

Some of the remaining push_constant_text really should have a
module/file local string variable, even though that is more bothersome
to create.

It might be nice to have this in .cmod files automatically.

2014-02-26

2014-02-26 12:41:33 by Per Hedbor <ph@opera.com>

Merge branch '8.0' into per/rdrnd

2014-02-26 10:29:32 by Arne Goedeke <el@laramies.com>

removed some declarations of undefined static functions

2014-02-25

2014-02-25 14:37:06 by Per Hedbor <ph@opera.com>

Use UNUSED for the extra callback arguments (they are read directly from the stack).

2014-01-05

2014-01-05 15:14:13 by Marcus Comstedt <marcus@mc.pp.se>

Merge branch '8.0' into gobject-introspection

2013-06-21

2013-06-21 09:18:55 by Arne Goedeke <el@laramies.com>

Merge remote-tracking branch 'origin/7.9' into pdf

2013-06-17

2013-06-17 14:15:28 by Martin Nilsson <nilsson@opera.com>

Rewrite Locale.Charset to Charset

2013-06-12

2013-06-12 20:04:24 by Arne Goedeke <el@laramies.com>

Added new block allocator. It dramatically speeds up free, when
allocating many blocks and deallocation happens non linearly.

2013-06-12 19:01:37 by Arne Goedeke <el@laramies.com>

new block alloc

2013-06-12 18:34:31 by Arne Goedeke <el@laramies.com>

new block alloc

2013-06-11

2013-06-11 21:51:01 by Arne Goedeke <el@laramies.com>

ammend this

2012-12-30

2012-12-30 15:37:27 by 0

Wrap unused parameters in UNUSED(), and debug-only parameters in DEBUGUSED(), to cut
down on compiler warnings. The macro also renames parameters to catch accidental use.
(There are more places to clean up but I don't want to modify code that isn't compiling
on my machine.)

2011-11-05

2011-11-05 15:02:44 by Martin Nilsson <nilsson@opera.com>

Removed $Id$.

2011-10-28

2011-10-28 13:04:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Atomic megapatch: Use svalue accessor macros everywhere.

2011-04-25

2011-04-25 16:41:40 by Martin Stjernholm <mast@lysator.liu.se>

No more foreign_idents.

More pain than they are worth.

2011-04-25 16:11:00 by Martin Stjernholm <mast@lysator.liu.se>

No more foreign_idents.

2008-11-30

2008-11-30 16:45:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed bug in parsing of DTD enumerations.
White-space is now allowed after the '|'-separator.

Rev: src/modules/Parser/xml.cmod:1.107

2008-11-26

2008-11-26 00:02:15 by Marcus Comstedt <marcus@mc.pp.se>

Made the callback for <![IGNORE[ return only the stuff between the brackets as content, like <![CDATA[ does it.

Rev: src/modules/Parser/xml.cmod:1.106

2008-11-22

2008-11-22 13:05:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Several robustness fixes related to end of file handling.

Rev: src/modules/Parser/xml.cmod:1.105

2008-11-22 12:16:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed missing type-check in previous commit.

Rev: src/modules/Parser/xml.cmod:1.104

2008-11-21

2008-11-21 20:36:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added optional argument to parse(), parse_dtd(), push_string() and create() to allow for specifying a source context for the data to be parsed.
The source context will be in the entry "context" in the callbackinfo mapping sent to the callback function.
Updated the Autodoc mk II markup.

Rev: src/modules/Parser/xml.cmod:1.103

2008-11-18

2008-11-18 12:51:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed issue with parsing of pe-references in entity declarations (LysLysKOM 17064930).
Fixed some error messages.

Rev: src/modules/Parser/xml.cmod:1.102

2008-07-11

2008-07-11 14:22:54 by Martin Stjernholm <mast@lysator.liu.se>

Removed an unused variable.

Rev: src/modules/Parser/xml.cmod:1.101
Rev: src/post_modules/GL/auto.c.in:1.55

2008-06-29

2008-06-29 20:48:57 by Marcus Comstedt <marcus@mc.pp.se>

Use p_wchar2 instead of unsigned int.

Rev: src/modules/Parser/xml.cmod:1.100

2008-06-28

2008-06-28 23:06:02 by Martin Nilsson <mani@lysator.liu.se>

ID_STATIC -> ID_PROTECTED

Rev: src/modules/Gdbm/gdbmmod.c:1.34
Rev: src/modules/Gmp/mpf.cmod:1.39
Rev: src/modules/Gmp/mpq.cmod:1.31
Rev: src/modules/Gmp/mpz_glue.c:1.181
Rev: src/modules/Math/matrix_code.h:1.20
Rev: src/modules/Math/transforms.cmod:1.15
Rev: src/modules/Mysql/mysql.c:1.114
Rev: src/modules/Parser/html.c:1.181
Rev: src/modules/Parser/xml.cmod:1.99
Rev: src/modules/SANE/sane.c:1.26
Rev: src/modules/_Charset/charsetmod.c:1.66
Rev: src/modules/_Charset/iso2022.c:1.48
Rev: src/modules/_Regexp_PCRE/pcre_glue.cmod:1.20
Rev: src/modules/_Roxen/roxen.c:1.51
Rev: src/modules/files/stat.c:1.34
Rev: src/modules/files/udp.c:1.80
Rev: src/post_modules/Nettle/nettle.cmod:1.46
Rev: src/post_modules/Nettle/nt.cmod:1.19
Rev: src/post_modules/SQLite/sqlite.cmod:1.21
Rev: src/post_modules/Shuffler/Shuffler.cmod:1.46

2008-05-29

2008-05-29 21:58:44 by Martin Stjernholm <mast@lysator.liu.se>

Added gc_trivial to some EXIT functions.

Rev: src/backend.cmod:1.215
Rev: src/builtin.cmod:1.202
Rev: src/iterators.cmod:1.68
Rev: src/modules/Gmp/mpf.cmod:1.37
Rev: src/modules/Gmp/mpq.cmod:1.29
Rev: src/modules/Kerberos/kerberos.cmod:1.3
Rev: src/modules/Math/transforms.cmod:1.14
Rev: src/modules/Parser/xml.cmod:1.98
Rev: src/modules/_Regexp_PCRE/pcre_glue.cmod:1.19

2008-01-26

2008-01-26 22:34:27 by Martin Stjernholm <mast@lysator.liu.se>

Eradicated all instances of setting type to T_INT without also setting the
subtype in an svalue. From now on one should either set the subtype or use
the new svalue type PIKE_T_FREE (see svalue.h).

Rev: src/OCPikeInterpreter.m:1.3
Rev: src/apply_low.h:1.32
Rev: src/array.c:1.198
Rev: src/array.h:1.71
Rev: src/bignum.c:1.42
Rev: src/builtin.cmod:1.193
Rev: src/builtin_functions.c:1.650
Rev: src/configure.in:1.1038
Rev: src/cpp.c:1.164
Rev: src/encode.c:1.250
Rev: src/error.c:1.151
Rev: src/interpret.c:1.385
Rev: src/interpret_functions.h:1.197
Rev: src/iterators.cmod:1.64
Rev: src/las.c:1.403
Rev: src/main.c:1.228
Rev: src/mapping.c:1.195
Rev: src/module.c:1.47
Rev: src/modules/Gmp/mpz_glue.c:1.170
Rev: src/modules/HTTPLoop/accept_and_parse.c:1.39
Rev: src/modules/HTTPLoop/requestobject.c:1.31
Rev: src/modules/Image/colortable.c:1.130
Rev: src/modules/Java/jvm.c:1.84
Rev: src/modules/Parser/html.c:1.178
Rev: src/modules/Parser/xml.cmod:1.97
Rev: src/modules/Postgres/postgres.c:1.55
Rev: src/modules/_math/math.c:1.87
Rev: src/modules/files/sendfile.c:1.78
Rev: src/modules/spider/spider.c:1.134
Rev: src/multiset.c:1.106
Rev: src/object.c:1.281
Rev: src/operators.c:1.226
Rev: src/pike_error.h:1.42
Rev: src/post_modules/Shuffler/Shuffler.cmod:1.45
Rev: src/post_modules/_ADT/circular_list.cmod:1.18
Rev: src/post_modules/_ADT/sequence.cmod:1.19
Rev: src/program.c:1.642
Rev: src/signal_handler.c:1.331
Rev: src/sscanf.c:1.170
Rev: src/svalue.c:1.234
Rev: src/svalue.h:1.149

2008-01-21

2008-01-21 22:39:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added lots of missing void.

Rev: src/modules/Parser/xml.cmod:1.96

2006-09-19

2006-09-19 13:35:01 by Martin Nilsson <mani@lysator.liu.se>

Fixed typo

Rev: src/modules/Parser/xml.cmod:1.95

2006-08-09

2006-08-09 00:47:49 by Marek Habersack <mhabersack@novell.com>

Fix for a typo

Rev: src/modules/Parser/xml.cmod:1.94

2006-07-21

2006-07-21 16:19:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed support for PEReferences in the DOCTYPE internal subset.
Now saves a verbatim copy of the internal subset in the attribute "internal_subset" for the DOCTYPE tag.

Rev: src/modules/Parser/xml.cmod:1.93

2006-06-15

2006-06-15 15:26:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed type in forward decl.

Rev: src/modules/Parser/xml.cmod:1.92

2006-06-15 14:02:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Introduced Simple.Context.

Rev: src/modules/Parser/xml.cmod:1.91

2006-05-06

2006-05-06 13:54:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Minor optimization.
VERBOSE_XMLDEBUG should now work again.

Rev: src/modules/Parser/xml.cmod:1.90

2006-05-05

2006-05-05 17:29:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>

A few more of the same.

Rev: src/modules/Parser/xml.cmod:1.89

2006-05-05 17:24:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Bugfix for obscure case.
Minor optimization.

Rev: src/modules/Parser/xml.cmod:1.88

2006-05-05 16:46:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Some cleanups.

Rev: src/modules/Parser/xml.cmod:1.87

2006-05-03

2006-05-03 14:17:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Parser.XML.Simple is now a PIKECLASS.

Rev: src/modules/Parser/xml.cmod:1.86

2006-05-03 13:36:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Made a cmod out of xml.c.

Rev: src/modules/Parser/Makefile.in:1.11
Rev: src/modules/Parser/xml.c:1.85(DEAD)
Rev: src/modules/Parser/xml.cmod:1.85