Branch: Tag:

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-04-08

2018-04-08 18:11:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Stat: Added lfun::_equal().

2018-02-25

2018-02-25 05:56:53 by Martin Nilsson <nilsson@fastmail.com>

Remove base_sp argument from bad_arg_error

2018-02-22

2018-02-22 19:21:47 by Martin Nilsson <nilsson@fastmail.com>

Calculate base_sp in bad_arg_error.

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)
...

2017-01-25

2017-01-25 15:22:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Break out sprintf-related stuff from stralloc.h to sprintf.h.

Minor header file cleanup.

2016-02-07

2016-02-07 17:02:21 by Martin Nilsson <nilsson@fastmail.com>

Removed DEBUG_FILE.

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.

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-05-25

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

Removed trailing spaces.

2015-04-20

2015-04-20 16:05:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Stat: Fixed potential use of uninitialized integer.

Fixed [CID 1294670].

2014-12-04

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

Improved cast.

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

Added nano-second resolution file-timestamp support to stat

2014-12-04 19:26:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Stat: Survive casts to subtyped arrays (and mappings).

When casting an object to eg array(int), lfun::cast() gets the string
"array(int)". This used to cause Stdio.Stat::cast() to fail.

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

Removed a few casts

2014-12-04 19:26:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Stat: Fixed static reference leak of 22 strings.

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:26:24 by Per Hedbor <ph@opera.com>

Removed another 50% of the size by rewriting some more code.

This is actually faster than the old code.
Also added support for (mapping)stat, mainly for debugging convenience.

On a somewhat related topic values(stat) could be optimized rather significantly if so desired.

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

Save about 10Kb of code size by doing smarter inlining.

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

Changed a few push_constant_text to push_text

push_constant_text generates a lot of code, and the speed difference
is basically zero in this case. In fact, a benchmark loop doing
_sprintf(O) on a stat-object is fairly consistently 1% faster now.

This about halves the size of _stat_index.

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

memset takes void* as first argument, no casting needed.

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

Removed auto bignum checks.

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

files -> _Stdio with minimal changes.

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

Changed some identifiers from files to stdio.

2014-09-05

2014-09-05 10:15:59 by Arne Goedeke <el@laramies.com>

strings: create static strings in more places

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 17:53:37 by Martin Nilsson <nilsson@opera.com>

memset is C89 and 4.3BSD

2014-08-26

2014-08-26 12:10:32 by Per Hedbor <ph@opera.com>

Stricter return types for cast.

This, if nothing else, makes the documentation cleaner.

2014-08-25

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

More consistent use of error macros.

2014-08-23

2014-08-23 12:13:36 by Arne Goedeke <el@laramies.com>

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

2014-08-23 12:00:37 by Martin Nilsson <nilsson@opera.com>

While having lfun::cast as private WORKS JUST FINE, it also allows us to get rid of some argument checking. As protected we can't do that.

2014-08-23 09:28:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Stat: Make casting work again.

lfun::cast() was declared private, which:

* Disables it (as lfuns must be protected or public).

* Breaks code that inherits Stdio.Stat, overloads cast(), and
wants to call ::cast() (eg Sitebuilder.SBStat).

2014-08-22

2014-08-22 18:02:24 by Arne Goedeke <el@laramies.com>

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

2014-08-21

2014-08-21 20:54:11 by Martin Nilsson <nilsson@opera.com>

Added void to zero argument functions.

2014-08-18

2014-08-18 15:38:59 by Martin Nilsson <nilsson@opera.com>

Improved cast.

2014-07-29

2014-07-29 12:58:57 by Per Hedbor <ph@opera.com>

Added nano-second resolution file-timestamp support to stat

2014-07-03

2014-07-03 14:58:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Stat: Survive casts to subtyped arrays (and mappings).

When casting an object to eg array(int), lfun::cast() gets the string
"array(int)". This used to cause Stdio.Stat::cast() to fail.

2014-05-26

2014-05-26 15:31:21 by Per Hedbor <ph@opera.com>

Removed a few casts

2014-05-22

2014-05-22 20:39:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Stat: Fixed static reference leak of 22 strings.

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-05-20

2014-05-20 15:35:32 by Per Hedbor <ph@opera.com>

Removed another 50% of the size by rewriting some more code.

This is actually faster than the old code.
Also added support for (mapping)stat, mainly for debugging convenience.

On a somewhat related topic values(stat) could be optimized rather significantly if so desired.

2014-05-20 14:22:53 by Per Hedbor <ph@opera.com>

Changed a few push_constant_text to push_text

push_constant_text generates a lot of code, and the speed difference
is basically zero in this case. In fact, a benchmark loop doing
_sprintf(O) on a stat-object is fairly consistently 1% faster now.

This about halves the size of _stat_index.

2014-05-20 14:15:30 by Per Hedbor <ph@opera.com>

Save about 10Kb of code size by doing smarter inlining.

2014-05-12

2014-05-12 19:48:29 by Arne Goedeke <el@laramies.com>

Stdio.Stat: use local variable for file mode

2014-05-12 19:48:29 by Arne Goedeke <el@laramies.com>

Stdio.Stat: de-inline some macros

The manually unrolled loop took about 60% of code size.

2014-04-27

2014-04-27 21:18:05 by Martin Nilsson <nilsson@opera.com>

memset takes void* as first argument, no casting needed.

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 21:40:00 by Martin Nilsson <nilsson@opera.com>

Removed auto bignum checks.

2013-06-11

2013-06-11 23:50:34 by Arne Goedeke <el@laramies.com>

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

2013-06-11 10:52:09 by Martin Nilsson <nilsson@opera.com>

Changed some identifiers from files to stdio.

2013-06-11 09:36:48 by Martin Nilsson <nilsson@opera.com>

files -> _Stdio with minimal changes.