November 26, 2006 -0.77.3
Fixed bugs:
1) A=0.65 now converts properly to $A=0.65;
2) Raised the length of parameters on function calls
Also changed
1) Request.ServerVariables("URL") to convert to $_SERVER["PHP_SELF"]
Not really a bug, but an issue when moving servers.
May 16, 2006 - 0.77.1
Matt Brown made the following additions/changes:
1) fixes key bugs in dictionary object support
2) fixes bug in filesystemobject.GetBaseName
3) fixes a couple of semi-colon generation issues
4) adds some support for filesystemobject.Attributes
5) an equal sign in an expression now gets recognized as a comparison
operator
Michael Kohn made the following changes:
1) fixed FormatCurrency so it adds a dollar sign infront of the number
May 14, 2006 - 0.77.0
Matt Brown made the following additions/changes:
1) support for server.execute
2) support for querystring("a").count and form("a").count
3) changed semantics of -phpx options. These now specify the target version.
Added -php5. Added -chgext option to include php version in the extensions
of the output files.
4) support for class constructors with -php4 and -php5.
5) support for class destructors, public and private with -php5.
6) fixed a few more bugs with single line if/then
7) added #define's for all token types and database types -- just for
readability.
8) changed gettoken so that it only returns single quote tokens when
processing jscript.
9) fixed response.expires
10) support for response.cachecontrol
11) improved "<" detection in parse_for_script
12) rudimentary support for virtual includes: a new -v option can be used to
specify a base path for virtual includes.
13) support for ByVal and ByRef
14) support for "is" in conditionals
15) support for vbSunday, etc constants
16) when parsing "sub(x,y,z)", eval_element is no longer called to process
x, y, and z.
17) support for DateSerial and DatePart functions
18) improved support for Now, Date, and Time functions (can call time() or
strftime depending on context)
19) added a -d option, which specifies a file and works like #include (calls
preparse). Useful for converting include files that depend on other
20) support for dictionary objects!
* several more FileSystemObject methods/properties (files, subfolders, size,
name, DateLastModified, GetBaseName)
* "\" in strings (gets converted to \\)
* some support for the ERR object
* in some cases getobject was getting called multiple times per token --
changed things around so that it is only called once
* limited support when "for each" is called against a collection of objects
(target var gets tracked as an object, just like set). As currently coded,
it correctly detects:
Set colFiles=objFolder.Files
For each objFile in colFiles
But does not detect:
For each objFile in objFolder.Files
Michael Kohn made the following changes:
* Removed double dim array's sessionpool and aspextension.
* Changed the way session's are done by using $_SESSION
April 11, 2006 - 0.76.26
Matt Brown made the following changes:
1) mapped vbscript SPLIT function to php EXPLODE (evalelement.c)
2) added support for vbscript MOD operator (evalelement.c)
3) corrected bug in handling of single-line if/then/else statements
(main_parser.c)
August 17, 2005 - 0.76.25
- Fixed a problem with Now()
June 23, 2005 - 0.76.24
- I was using system() calls to mkdir -p to make directories for a couple
of reasons 1) cause it would automatically create all dirs that didn't exist
and 2) cause it set up file permissions the way the system would want it.
this fails miserably on DOS (aka, Microsoft Windows) so I switched it now
to mkdir(). I'd still rather use mkdir -p, but owell. Anyway, this should
fix problems with people using DOS (aka Microsoft Windows).
September 8, 2004 - 0.76.23
- Fixed a bug with &'s from version 0.76.22
September 6, 2004 - 0.76.22
- mysql.c was modified by Tursi to add a semicolon after mysql_query($arg)
- rnd() with a parameter added an extra ). This is now fixed.
- date function changes
- added new command line switch for changing .asp text in response.write to .php
- hex literals are fixed
August 10, 2004 - 0.76.21
- the postgres conversion code has been updated.
January 11, 2004
Added FRAME to list of tags to change links from .asp to .php
December 8, 2003 - 0.76.19
Along with little bug fixes here and there, fixed a problem in the way functions
were converted. Also added a -fulltags option for creating PHP with tags that
look like this: <?php instead of <?.
May 3, 2002
Fixed a problem parsing functions that didn't have parenthesis around them.
Added some Filesystem conversion code. Added an option to convert DOS path's
with backslashes to Unix forward slashes (-fixwinpaths). Fixed a problem with
preparsing include files.
an update to 0.76.15).
Some changes (from webpage, no ChangeLog included):
Version 0.76.17 of asp2php is released. Fixed a problem with the
_ char in "if" statements.
Version 0.76.15 of asp2php is released. I fixed a problem with
"foreach" and a bug with comments. Also added support for object
oriented classes. If you have problems please let me know.
Fixed a problem parsing functions that didn't have parenthesis
around them. Added some Filesystem conversion code. Added an option
to convert DOS path's with backslashes to Unix forward slashes
(-fixwinpaths). Fixed a problem with preparsing include files.
- add support for CDONTS.NewMail mail object
- add a php command to make variables global
- bugfixed in session not working
Provided in PR 15010 by Shell Hung (shell@shellhung.org)
Differences from previous version:
Fixed a problem with ' and % inside quotes for version 0.75.21.
Fixed a bug whereby line numbers were reported wrongly, introduced
when the recursive directories feature was added to asp2php.
Fixed the gettoken() function so it parses Response.Write"blah"
correctly (not having a space between the Write and " confused it)
Added support for the JMail object so asp2php will send mails now
Added limited support for global.asa
Added/Fixed the problem with parsing Functions and Subs
And other miscellaneous bug fixes
Provided in PR pkg/14568 by Shell Hung (shell@shellhung.org), modified
slightly by me, to place the gtk functionality in a different package,
to be committed soon.
Differences from previous version:
Fixed a problem with ' and % inside quotes for version 0.75.21.
Fixed a bug whereby line numbers were reported wrongly, introduced
when the recursive directories feature was added to asp2php.
Fixed the gettoken() function so it parses Response.Write"blah"
correctly (not having a space between the Write and " confused it)
Added support for the JMail object so asp2php will send mails now
Added limited support for global.asa
Added/Fixed the problem with parsing Functions and Subs
And other miscellaneous bug fixes
Provided in PR pkg/14568 by Shell Hung (shell@shellhung.org), modified
slightly by me, to place the gtk functionality in a different package,
to be committed soon.