Branch: Tag:

2017-06-25

2017-06-25 01:38:13 by Martin Nilsson <nilsson@fastmail.com>

A first draft of reduction of object C initializers.

2017-04-08

2017-04-08 20:30:39 by Martin Nilsson <nilsson@fastmail.com>

Use Pike_sp instead of sp

2017-02-08

2017-02-08 17:03:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Moved {null,placeholder}_program to pikecompiler.cmod.

Use the CMOD preprocessor for these programs.

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.

2017-01-16

2017-01-16 13:34:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Make #pragma disassemble available --without-debug.

2017-01-10

2017-01-10 16:02:00 by Martin Nilsson <nilsson@fastmail.com>

Changed name from is8bitalnum to isidchar as it contains non-alnum characters (e.g. underscore). Drop 8bit as the wide versions are prefixed as such.

2017-01-10 00:02:49 by Martin Nilsson <nilsson@fastmail.com>

isalnum doesn't recognize characters in Latin-1 supplement, so replace with is8bitalnum. This only matters for CPP prefixes.

2017-01-08

2017-01-08 14:20:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: __ARGS__ is now a macro expanding to __args__.

This ensures that the symbol was reserved in prior versions of Pike,
and also makes it possible to check support via #ifdef.

2016-12-17

2016-12-17 13:56:45 by Martin Nilsson <nilsson@fastmail.com>

Identifiers can no longer contain non-ascii whitespaces. wide_isidchar can now also easily be upgraded to disallow other special characters.

2016-12-17 13:05:44 by Martin Nilsson <nilsson@fastmail.com>

Removed WC_ISSPACE macro indirection.

2016-12-17 01:53:25 by Martin Nilsson <nilsson@fastmail.com>

Corrected WIDE_ISSPACE to actually work on all Unicode white spaces.

2016-10-21

2016-10-21 10:17:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [cpp]: Fixed some memory leaks.

2016-10-01

2016-10-01 11:07:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [cpp]: Reduced code duplication somewhat again.

Join find_end_of_string() and find_end_of_char() into
find_end_quote().

2016-09-30

2016-09-30 13:12:49 by Martin Nilsson <nilsson@fastmail.com>

Let's not have numbers on string-related defines for other stuff than string width.

2016-09-30 10:44:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [cpp]: Removed unused variable.

2016-09-29

2016-09-29 14:11:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [cpp]: Reduced code duplication somewhat.

Add a flags argument to find_end_of_string() and join it
and find_end_of_string2().

2016-09-28

2016-09-28 20:09:35 by Martin Nilsson <nilsson@fastmail.com>

Small simplification.

2016-09-25

2016-09-25 18:38:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [cpp]: More code cleanup.

Adds string_builder_append_cpp_quoted_pcharp().

2016-09-24

2016-09-24 11:24:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [cpp]: Removed some redundant tests.

2016-09-21

2016-09-21 10:23:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [cpp]: Some code clean up.

Adds internal function apply_define().

2016-09-10

2016-09-10 10:12:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [cpp]: Fixed warning generated by example.

2016-09-09

2016-09-09 16:14:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [cpp]: Fixed refcount bug in simple_add_define().

2016-09-08

2016-09-08 12:52:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [cpp]: Renamed field "inside" to "flags".

Also adds CPP_MACRO_* for the valid values.

2016-09-06

2016-09-06 10:13:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [cpp]: Changed API for alloc_empty_defile() some more.

It now no longer steals a reference to the macro name.

2016-09-05

2016-09-05 22:57:17 by Martin Nilsson <nilsson@fastmail.com>

Removed some redundancy in adding defines.

2016-09-04

2016-09-04 13:56:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [cpp]: Use a pike array to hold the macro parts.

Further preprocessor cleanup.

2016-09-03

2016-09-03 09:58:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [hashtable]: hashtable.[ch] are no longer used.

2016-09-03 09:54:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [cpp]: Replace the struct hash_entry with a string.

The struct hash_entry is only used to hold a string, so get rid
of it and store the string directly instead.

2016-09-02

2016-09-02 08:54:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [cpp]: Fixed indentation.

2016-09-02 08:52:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [cpp]: Use the precompiler for the define class.

2016-09-01

2016-09-01 12:41:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [cpp]: Renamed struct define to struct define_struct.

This is in preparation to using the precompiler for the define program.

2016-08-31

2016-08-31 10:12:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [cpp]: Wrap struct define in objects.

The preprocessor macro lookup table is now a standard mapping instead of
a custom hashtable. This is a step in cleaning up the preprocessor code.

2016-08-30

2016-08-30 09:09:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [cpp]: Removed some redundant declarations.

2016-08-24

2016-08-24 10:49:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [CPP]: Fixed missing reference.

Potential fix for precompiler failing on some platforms.

2016-08-21

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

Just use pike_string for args in define magic functions, and get rid of non-generic code.

2016-08-20

2016-08-20 11:08:25 by Martin Nilsson <nilsson@fastmail.com>

binary_findstring_pcharp had one user, so simplify the arguments for both sides.

2016-07-27

2016-07-27 10:14:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

CPP: Use the precompiler to build the preprocessor.

Converts cpp.c into cpp.cmod.

predef::cpp() now uses the precompilers argument checker.