[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.6.1-1822-g5a6b
From: |
Ben Pfaff |
Subject: |
[Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.6.1-1822-g5a6b751 |
Date: |
Sat, 20 Nov 2010 04:36:13 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU PSPP".
The branch, master has been updated
via 5a6b751888278c8c849ab0f4adf99f1be610e610 (commit)
via 325168fb62e51d5154e932abec91ba40dd081f3f (commit)
via b19d2d4b3a4176869c6ba164f7a67ed3b11146ca (commit)
via d8493b3b0617cc447446a70b031a69079bc19002 (commit)
via 4b8c6191f0204d6a0b62650490ef2794d62ec79c (commit)
from 85511a4716efe359d50a21b2869f1d14f6b18731 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5a6b751888278c8c849ab0f4adf99f1be610e610
Author: Ben Pfaff <address@hidden>
Date: Thu Nov 18 22:19:58 2010 -0800
command: Factor command name matching out of command.c.
Making command parsing into a library will allow other code to use
the same functionality, which will be useful later in the lexer.
It also simplifies parsing command names and allows us to easily
add tests for command name parsing.
The new command name parsing code supports UTF-8. This is not useful yet,
because its only client does not feed it UTF-8 strings, but it will be
useful later when the rest of the lexer is rewritten, where it will gain
another client that does feed it UTF-8.
commit 325168fb62e51d5154e932abec91ba40dd081f3f
Author: Ben Pfaff <address@hidden>
Date: Thu Nov 18 21:30:24 2010 -0800
identifier: Add some functions for Unicode syntax.
commit b19d2d4b3a4176869c6ba164f7a67ed3b11146ca
Author: Ben Pfaff <address@hidden>
Date: Thu Nov 18 21:25:39 2010 -0800
str: Add some functions for handling UTF-8.
commit d8493b3b0617cc447446a70b031a69079bc19002
Author: Ben Pfaff <address@hidden>
Date: Wed Nov 17 20:03:26 2010 -0800
str: Change "char" to "byte" in function names.
As PSPP moves toward using UTF-8 pervasively for command syntax, a
character is no longer always a byte, so this naming is clearer.
commit 4b8c6191f0204d6a0b62650490ef2794d62ec79c
Author: Ben Pfaff <address@hidden>
Date: Thu Nov 18 22:17:31 2010 -0800
str: Inline some trivial functions.
-----------------------------------------------------------------------
Summary of changes:
Smake | 4 +
src/data/data-in.c | 76 +++---
src/data/dictionary.c | 2 +-
src/data/format-guesser.c | 18 +-
src/data/identifier.c | 82 ++++++-
src/data/identifier.h | 9 +-
src/data/settings.c | 10 +-
src/data/sys-file-writer.c | 16 +-
src/language/command.c | 385 +++++-------------------------
src/language/control/repeat.c | 8 +-
src/language/data-io/data-list.c | 4 +-
src/language/data-io/data-parser.c | 14 +-
src/language/data-io/data-reader.c | 6 +-
src/language/data-io/get-data.c | 4 +-
src/language/data-io/print.c | 6 +-
src/language/expressions/operations.def | 2 +-
src/language/expressions/parse.c | 4 +-
src/language/lexer/automake.mk | 5 +-
src/language/lexer/command-name.c | 235 ++++++++++++++++++
src/language/lexer/command-name.h | 46 ++++
src/language/lexer/format-parser.c | 10 +-
src/language/lexer/lexer.c | 18 +-
src/language/syntax-string-source.c | 2 +-
src/language/utilities/host.c | 2 +-
src/language/utilities/set.q | 14 +-
src/language/utilities/title.c | 4 +-
src/libpspp/argv-parser.c | 8 +-
src/libpspp/message.c | 2 +-
src/libpspp/model-checker.c | 4 +-
src/libpspp/str.c | 306 ++++++++++++++----------
src/libpspp/str.h | 59 ++++-
src/output/ascii.c | 4 +-
src/ui/gui/text-data-import-dialog.c | 36 ++--
src/ui/syntax-gen.c | 20 +-
tests/automake.mk | 17 ++-
tests/language/command.at | 2 +-
tests/language/data-io/inpt-pgm.at | 4 +-
tests/language/lexer/command-name-test.c | 149 ++++++++++++
tests/language/lexer/command-name.at | 234 ++++++++++++++++++
39 files changed, 1200 insertions(+), 631 deletions(-)
create mode 100644 src/language/lexer/command-name.c
create mode 100644 src/language/lexer/command-name.h
create mode 100644 tests/language/lexer/command-name-test.c
create mode 100644 tests/language/lexer/command-name.at
hooks/post-receive
--
GNU PSPP
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.6.1-1822-g5a6b751,
Ben Pfaff <=