[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-1560-g3da4
From: |
Ben Pfaff |
Subject: |
[Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.6.1-1560-g3da4935 |
Date: |
Fri, 24 Sep 2010 16:35:27 +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 3da49359c52cb783db907cc197847bbd5e721c97 (commit)
via 38993354cabb6fc37bb882be92f9a49e9aeb4c88 (commit)
via 00129e248ab4ce96af72d380d8a0ccfad2f5d776 (commit)
via 4e8efdc4acb80fc1a3735228d29fca0cf86fee6d (commit)
via 6549c9aced0949b16abb372257772fc0893e02bb (commit)
via 7d34380bb2fddca820a6f414564738cc2f70afc9 (commit)
via 638a86001fe7a237bd6c19a181d796305290d72a (commit)
via ab662a7bd2b9118befbf4c65785d5762bb1d1899 (commit)
via ecef385b0191afa4c27927146ac1f6c5a1852119 (commit)
via 94a7e63351c5eb4fe0d0507dfe4537ece935d134 (commit)
via 774441e68b4d2e3a4b5c6975e9614dcd4369955e (commit)
via 26cf8513279553aae8551afc69353151d88a8043 (commit)
via 751d7694b0904b580fad3903205341c85c04d421 (commit)
via a45fa3f76f32c391c756b7e4334330458d74a1ab (commit)
via 5933892c21c6166b5714be979116d3aa70219c57 (commit)
via cf43c539407ac9a76154605d83247aa98d712426 (commit)
via 8a92de555939887bbb784e44f4e3c901698a2dd4 (commit)
via a27e454d1a65872d0b1147f320ba8cc42aa9275f (commit)
via d01cc07b11b5919369bf4e8989360c2b4fe0380c (commit)
via 7f7e4dc8457c408269e94307d9545fd504891afc (commit)
via 131ca96f8e1b8675e80b37ad6cedca1b21b87e87 (commit)
from 49c02dd0d35698fd43528c4422b3b5202b481a11 (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 3da49359c52cb783db907cc197847bbd5e721c97
Author: Ben Pfaff <address@hidden>
Date: Thu Sep 23 21:03:36 2010 -0700
data-in: Get rid of first_column, last_column arguments.
Most callers can't provide this arguments, and so in the interest of
making the data_in() interface simpler, it seems better to put the
callers in charge of dealing with error messages, since they better
know their own context.
commit 38993354cabb6fc37bb882be92f9a49e9aeb4c88
Author: Ben Pfaff <address@hidden>
Date: Sun Sep 19 21:36:58 2010 -0700
data-in: Make data_in() parameters more uniform.
data_in() essentially takes an input encoding and an output encoding but
the parameters were in inconsistent order, inconsistently named, and had
inconsistent types. This commit changes all that to, I hope, be easier to
understand.
commit 00129e248ab4ce96af72d380d8a0ccfad2f5d776
Author: Ben Pfaff <address@hidden>
Date: Thu Sep 23 20:56:50 2010 -0700
data-in: Rewrite logic for recoding input, and get rid of src_enc member.
The logic used here seemed actually wrong for non-binary numeric formats
and AHEX format: we want these translated into the native encoding so that
we can interpret digits and letters properly without additional work.
The only case where we care about the output encoding is A format.
commit 4e8efdc4acb80fc1a3735228d29fca0cf86fee6d
Author: Ben Pfaff <address@hidden>
Date: Sun Sep 19 20:55:06 2010 -0700
data-in: Eliminate "implied_decimals" parameter from data_in().
This parameter is usually 0, so break out the associated functionality into
a new function that callers can use if they really need it.
commit 6549c9aced0949b16abb372257772fc0893e02bb
Author: Ben Pfaff <address@hidden>
Date: Fri Sep 17 17:10:44 2010 -0700
calendar: Use sensible error reporting in calendar_gregorian_to_offset().
commit 7d34380bb2fddca820a6f414564738cc2f70afc9
Author: Ben Pfaff <address@hidden>
Date: Sun Sep 19 11:07:09 2010 -0700
message: Add column range to struct msg_locator.
data_in() can specify a range of columns for the messages that it outputs,
but until now these were not output in the format specified by the GNU
Coding Standards. This commit fixes that.
commit 638a86001fe7a237bd6c19a181d796305290d72a
Author: Ben Pfaff <address@hidden>
Date: Sun Sep 19 11:04:41 2010 -0700
message: Consistently initialize locator; use 0 for "no line number".
A few of the callers of msg_emit() did not initialize the "where" member
of the struct msg, because they expect that msg_emit() will do it for them.
This is currently correct, but I intend to soon introduce the ability for
msg_emit()'s caller to specify a location. With that change, it will be
important for the caller to initialize this member, so this commit makes
sure of that.
At the same time, some callers were using -1 as the default value that
means "no line number" and others were using 0. This commit standardizes
on the latter.
commit ab662a7bd2b9118befbf4c65785d5762bb1d1899
Author: Ben Pfaff <address@hidden>
Date: Sun Jul 18 21:12:10 2010 -0700
command: Add specific DATASET unimplemented commands.
commit ecef385b0191afa4c27927146ac1f6c5a1852119
Author: Ben Pfaff <address@hidden>
Date: Sun Jul 18 14:57:02 2010 -0700
command: Remove superfluous trailing spaces from command names.
These spaces made user messages look a little funny but they were otherwise
harmless.
commit 94a7e63351c5eb4fe0d0507dfe4537ece935d134
Author: Ben Pfaff <address@hidden>
Date: Sun Jul 18 14:55:55 2010 -0700
command: Remove INSERT from list of unimplemented commands.
This command is implemented, so this was a duplicate entry.
commit 774441e68b4d2e3a4b5c6975e9614dcd4369955e
Author: Ben Pfaff <address@hidden>
Date: Sun Sep 12 14:05:36 2010 -0700
lexer: Use lex_is_string() more consistently.
The lexer has this function, so we might as well use it consistently.
commit 26cf8513279553aae8551afc69353151d88a8043
Author: Ben Pfaff <address@hidden>
Date: Sun Jul 11 22:04:17 2010 -0700
lexer: Remove DUMP_TOKENS debugging feature.
This feature is not very useful anymore. I have not used it in years.
commit 751d7694b0904b580fad3903205341c85c04d421
Author: Ben Pfaff <address@hidden>
Date: Sat Sep 11 13:54:25 2010 -0700
lexer: Improve translatability of lex_error().
In general I believe that it is easier to translate full sentences or
clauses. It seems likely that "Syntax error %s at %s." where the first
%s is an arbitrary English phrase would be impossible to translate
grammatically into some languages, so this changes the general form to
"Syntax error at %s: %s." which seems more likely to be translatable while
not changing the English meaning.
commit a45fa3f76f32c391c756b7e4334330458d74a1ab
Author: Ben Pfaff <address@hidden>
Date: Thu Sep 16 20:59:13 2010 -0700
Make translation easier.
Many of the invocations of lex_error() were easy to rephrase to be more
easily translated, or to rewrite as calls to other functions.
commit 5933892c21c6166b5714be979116d3aa70219c57
Author: Ben Pfaff <address@hidden>
Date: Tue Jul 6 16:17:19 2010 -0700
HOST: Use more modern syntax.
An old SPSS paper manual I have describes the syntax that PSPP
implemented for HOST up until this commit, but newer versions
describe the syntax that this commit adopts.
commit cf43c539407ac9a76154605d83247aa98d712426
Author: Ben Pfaff <address@hidden>
Date: Sun Sep 12 14:06:55 2010 -0700
AGGREGATE: Simplify code.
ds_chomp() returns whether it trimmed off a character, and we might as well
use that instead of doing a redundant check.
commit 8a92de555939887bbb784e44f4e3c901698a2dd4
Author: Ben Pfaff <address@hidden>
Date: Sun Sep 12 14:05:59 2010 -0700
PERMISSIONS: Add missing check for string token.
commit a27e454d1a65872d0b1147f320ba8cc42aa9275f
Author: Ben Pfaff <address@hidden>
Date: Fri Sep 17 16:50:44 2010 -0700
syntax-string-source: Fix format string problems.
create_syntax_string_source() treated its argument as a printf-style format
string but wasn't annotated properly. Most of the callers did not pass
string literals and were not escaped, so change it not to format its string
and add a new function create_syntax_format_source() with the previous
behavior.
commit d01cc07b11b5919369bf4e8989360c2b4fe0380c
Author: Ben Pfaff <address@hidden>
Date: Thu Sep 23 20:45:28 2010 -0700
i18n: New function recode_substring_pool().
Occasionally it is necessary to recode a string that might contain a null
byte. This function is useful in such a case.
commit 7f7e4dc8457c408269e94307d9545fd504891afc
Author: Ben Pfaff <address@hidden>
Date: Thu Sep 23 20:40:03 2010 -0700
i18n: Use UTF8 macro instead of "UTF8" literal string.
I think that this was just a typo.
commit 131ca96f8e1b8675e80b37ad6cedca1b21b87e87
Author: Ben Pfaff <address@hidden>
Date: Fri Sep 10 21:07:00 2010 -0700
str: Make ss_alloc_substring() allocate null-terminated strings.
This has little cost and it is occasionally valuable.
-----------------------------------------------------------------------
Summary of changes:
NEWS | 4 +-
doc/utilities.texi | 7 +
perl-module/PSPP.xs | 14 +-
src/data/calendar.c | 18 +-
src/data/calendar.h | 5 +-
src/data/data-in.c | 705 +++++++++++++++---------------
src/data/data-in.h | 27 +-
src/data/por-file-reader.c | 4 +
src/data/psql-reader.c | 5 +-
src/data/sys-file-reader.c | 2 +
src/language/command.c | 158 +------
src/language/command.def | 16 +-
src/language/control/repeat.c | 10 +-
src/language/data-io/data-list.c | 2 +-
src/language/data-io/data-parser.c | 75 +++-
src/language/data-io/data-reader.c | 18 +-
src/language/data-io/data-reader.h | 8 +-
src/language/data-io/file-handle.q | 2 +-
src/language/data-io/get-data.c | 2 +-
src/language/data-io/get.c | 2 +-
src/language/data-io/print.c | 2 +-
src/language/dictionary/attributes.c | 2 +-
src/language/dictionary/missing-values.c | 7 +-
src/language/dictionary/variable-label.c | 3 +-
src/language/expressions/evaluate.c | 2 +-
src/language/expressions/helpers.c | 35 +-
src/language/expressions/operations.def | 14 +-
src/language/expressions/parse.c | 9 +-
src/language/lexer/lexer.c | 112 +----
src/language/lexer/q2c.c | 2 +-
src/language/lexer/value-parser.c | 12 +-
src/language/stats/aggregate.c | 31 +-
src/language/stats/crosstabs.q | 16 +-
src/language/stats/flip.c | 11 +-
src/language/syntax-string-source.c | 40 ++-
src/language/syntax-string-source.h | 8 +-
src/language/tests/format-guesser-test.c | 4 +-
src/language/utilities/automake.mk | 1 +
src/language/utilities/echo.c | 4 +-
src/language/utilities/host.c | 167 +++++++
src/language/utilities/include.c | 12 +-
src/language/utilities/permissions.c | 3 +
src/language/utilities/set.q | 2 +-
src/language/xforms/recode.c | 19 +-
src/libpspp/getl.c | 8 +-
src/libpspp/i18n.c | 65 ++-
src/libpspp/i18n.h | 33 +--
src/libpspp/message.c | 42 ++-
src/libpspp/message.h | 8 +-
src/libpspp/str.c | 6 +-
src/ui/gui/helper.c | 7 +-
src/ui/gui/psppire-data-store.c | 6 +-
src/ui/gui/psppire-data-window.c | 8 +-
src/ui/gui/text-data-import-dialog.c | 19 +-
src/ui/syntax-gen.c | 12 +-
tests/bugs/overwrite-input-file.sh | 2 +-
tests/bugs/signals.sh | 4 +-
tests/command/missing-values.sh | 2 +-
tests/command/rank.sh | 4 +-
tests/language/data-io/data-list.at | 8 +-
tests/language/expressions/evaluate.at | 8 +-
tests/language/utilities/set.at | 6 +-
62 files changed, 958 insertions(+), 892 deletions(-)
create mode 100644 src/language/utilities/host.c
hooks/post-receive
--
GNU PSPP
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.6.1-1560-g3da4935,
Ben Pfaff <=