2007-12-05 08:16:32 +00:00
|
|
|
[0.3.3]
|
|
|
|
|
|
|
|
* enhanced the AWK interpreter to allow multiple BEGIN/END blocks.
|
2007-12-06 00:46:49 +00:00
|
|
|
* enhanced the parser to handle ("abc" ++ k) as ("abc" . ++k) when
|
|
|
|
ASE_AWK_IMPLICIT is on.
|
2007-12-05 08:16:32 +00:00
|
|
|
|
2007-12-07 20:48:09 +00:00
|
|
|
* fixed a memory leak bug in the following context.
|
|
|
|
BEGIN {
|
|
|
|
d = 90;
|
|
|
|
x[30] = d;
|
|
|
|
/* Reference count for d was not properly decremented
|
|
|
|
* when a map slot is assigned with the same value as
|
|
|
|
* the previous value. */
|
|
|
|
x[30] = d;
|
|
|
|
}
|
|
|
|
|
2007-12-07 21:05:04 +00:00
|
|
|
* fixed a control-flow bug in the following context.
|
|
|
|
function error() { exit (1); }
|
|
|
|
function getx()
|
|
|
|
{
|
|
|
|
if (x == 2) error();
|
|
|
|
return x++;
|
|
|
|
}
|
|
|
|
function gety() { return y++; }
|
|
|
|
BEGIN {
|
|
|
|
x = 0;
|
|
|
|
y = 0;
|
|
|
|
print getx() + gety();
|
|
|
|
print getx() + gety();
|
|
|
|
/* this following line should not have been printed as
|
|
|
|
* exit() is executed in getx(). */
|
|
|
|
print getx() + gety();
|
|
|
|
print getx() + gety();
|
|
|
|
}
|
|
|
|
|
2007-12-22 03:59:19 +00:00
|
|
|
* redefined the variable scope
|
|
|
|
* removed ASE_AWK_UNIQUEFN and ASE_AWK_SHADING
|
2007-12-24 01:54:04 +00:00
|
|
|
* fixed a bug in handle >> when ASE_AWK_SHIFT is off
|
2007-12-22 03:59:19 +00:00
|
|
|
|
2007-11-18 00:52:00 +00:00
|
|
|
[0.3.2]
|
|
|
|
|
|
|
|
* fixed a build problem for x64 target in MSVC2005
|
|
|
|
|
2007-09-23 13:20:00 +00:00
|
|
|
[0.3.1]
|
|
|
|
|
2007-09-25 20:25:00 +00:00
|
|
|
* added to the awk interpreter the capibility to manipulate global variables
|
2007-09-27 20:33:00 +00:00
|
|
|
- added ase_awk_addglobal, ase_awk_delglobal (awk/parse.c)
|
|
|
|
- added Awk::addGlobal, Awk::deleteGlobal (awk/Awk.hpp, awk/Awk.cpp)
|
|
|
|
- added Awk::Run::setGlobal, Awk::Run::getGlobal (awk/Awk.hpp, awk/Awk.cpp)
|
2007-10-12 00:13:00 +00:00
|
|
|
- added Awk::AddGlobal, Awk::DeleteGlobal (net/Awk.hpp, net/Awk.cpp)
|
|
|
|
- added Awk::Run::SetGlobal, Awk::Run::GetGlobal (net/Awk.hpp, net/Awk.cpp)
|
2007-09-27 20:33:00 +00:00
|
|
|
- enhanced ase_awk_getglobalname
|
2007-10-12 00:13:00 +00:00
|
|
|
* added three new options - ASE_AWK_RESET, ASE_AWK_MAPTOVAR, ASE_AWK_PABLOCK
|
2007-09-25 00:12:00 +00:00
|
|
|
|
2007-09-25 20:25:00 +00:00
|
|
|
* enhanced Awk::dispatchFunction to set a more accurate error code (awk/Awk.cpp)
|
2007-11-05 23:59:00 +00:00
|
|
|
* enhanced the JNI binding to integrate most of the changes so far.
|
2007-09-25 00:12:00 +00:00
|
|
|
|
2007-09-25 20:25:00 +00:00
|
|
|
* fixed a bug
|
|
|
|
- memory leak if a null statement or a block with no statements are
|
|
|
|
present in an AWK program. (awk/parse.c)
|
2007-11-05 23:59:00 +00:00
|
|
|
- memery leak if a return value is set by an intrinsic function
|
|
|
|
but it ends up with an error. (awk/run.c - eval_call)
|
2007-09-25 00:12:00 +00:00
|
|
|
|
2007-09-25 20:25:00 +00:00
|
|
|
* changed the access modifier for the Awk::Source::Source from public
|
|
|
|
to protected.
|
2007-09-25 00:12:00 +00:00
|
|
|
* renamed ase_awk_addbfn & ase_awk_delbfn to ase_awk_addfunc & ase_awk_delfunc
|
|
|
|
respectively.
|
2007-09-23 13:20:00 +00:00
|
|
|
|
2007-09-25 20:25:00 +00:00
|
|
|
* started the source code documentation of awk/Awk.hpp.
|
2007-11-14 17:37:00 +00:00
|
|
|
* enhanded test programs.
|
2007-09-25 20:25:00 +00:00
|
|
|
|
2007-09-07 23:14:00 +00:00
|
|
|
[0.3.0]
|
2007-06-18 00:31:00 +00:00
|
|
|
|
2007-06-19 13:14:00 +00:00
|
|
|
* added ase_awk_setword to enable customization of keywords and
|
2007-06-20 13:24:00 +00:00
|
|
|
intrinsic function names.
|
2007-08-26 23:33:00 +00:00
|
|
|
* added ase_awk_seterrmsg to set the error message to be any string given
|
2007-06-29 20:40:00 +00:00
|
|
|
* added setWord/unsetWord method to the awk c++ class (awk/Awk.cpp)
|
2007-06-25 23:15:00 +00:00
|
|
|
* added setErrorString method to the awk c++ class (awk/Awk.cpp)
|
2007-06-29 20:40:00 +00:00
|
|
|
* added setWord/unsetWord method to the awk java class (awk/Awk.java)
|
2007-07-02 23:04:00 +00:00
|
|
|
* added the error code ASE_AWK_ELXDIG to indicate a wrong digit in
|
|
|
|
octal number tokenization.
|
2007-07-10 01:07:00 +00:00
|
|
|
* added setWord/unsetWord method to the awk com module (com/Awk.cpp)
|
2007-08-22 22:56:00 +00:00
|
|
|
* added the .NET interface to the awk interpreter (net/Awk.cpp net/StdAwk.cpp)
|
2007-06-20 22:29:00 +00:00
|
|
|
|
|
|
|
* changed the wrong macro name WIN32 to _WIN32 in utl/stdio.h
|
|
|
|
* changed test/awk/Awk.cpp to include an option(-w) to utilize
|
|
|
|
the setWord method.
|
2007-06-25 23:15:00 +00:00
|
|
|
* changed test/awk/AseAwk.java to include an option(-w) to utilize
|
|
|
|
the setWord method.
|
2007-06-18 00:31:00 +00:00
|
|
|
|
2007-07-29 23:42:00 +00:00
|
|
|
* enhanced awk/map.c to support automatic rehashing
|
|
|
|
|
2007-05-15 01:21:00 +00:00
|
|
|
[0.2.0]
|
|
|
|
|
|
|
|
* fixed bug (nextofile shown as nextfile in source output)
|
|
|
|
* fixed bug (nextofile not allowed in the BEGIN and END block)
|
2007-05-29 00:42:00 +00:00
|
|
|
* fixed bug (ASE_MALLOC/ASE_FREE defined wrongly causing sample programs
|
2007-05-15 01:21:00 +00:00
|
|
|
to crash in the debug mode when compiled with MSVC/C++.
|
2007-05-20 01:45:00 +00:00
|
|
|
* fixed bug (the first character of the next record lost when RS are
|
|
|
|
multiple characters)
|
|
|
|
* fixed bug (the last field of the last record lost when RS are
|
|
|
|
multiple characters)
|
2007-05-15 01:21:00 +00:00
|
|
|
|
|
|
|
* added awk c++ classes (awk/Awk.hpp awk/Awk.cpp awk/StdAwk.hpp awk/StdAwk.cpp)
|
2007-05-29 00:42:00 +00:00
|
|
|
* added c++ sample program (test/awk/Awk.cpp)
|
2007-05-26 21:41:00 +00:00
|
|
|
|
2007-05-29 00:42:00 +00:00
|
|
|
* changed test/awk/AseAwk.java to be funtionally identical to test/awk/Awk.cpp
|
2007-05-18 01:21:00 +00:00
|
|
|
* changed the way to invoke the main function (utl/main.h utl/main.c)
|
|
|
|
|
2007-05-15 01:21:00 +00:00
|
|
|
[0.1.0]
|
|
|
|
|
|
|
|
* initial release
|