Commit graph

20 commits

Author SHA1 Message Date
asau
5eae6a18a3 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-28 06:30:00 +00:00
obache
3a05fba945 Update asp2php to 0.77.3.
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.
2011-04-08 12:23:04 +00:00
joerg
c569c6a51f Mark packages as MAKE_JOBS_SAFE=no that failed in a bulk build with
MAKE_JOBS=2 and worked without.
2009-06-30 00:07:09 +00:00
joerg
3b0d97b0de Add DESTDIR support. 2008-06-20 01:09:05 +00:00
wiz
2f2166a0fb Reset maintainer -- shell@ is inactive. 2007-09-30 17:45:23 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
809ad6f2f7 Add RMD160 checksums. 2005-02-24 14:08:26 +00:00
salo
b8860b30eb Convert to bl3, obey CFLAGS et al., rework install target. 2004-07-11 00:31:25 +00:00
martti
33e2a02324 COMMENT should start with a capital letter. 2003-07-22 04:14:17 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
wiz
55e8d707c4 Update to 0.76.17, based on PR 20506 by Todd Vierling (which contained
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.
2003-06-10 06:55:15 +00:00
shell
605a638865 Updated to asp2php-0.76.10
Changes :
- Updated my email address
- Updated master_sites
- Regen patch
- fmt on DESCR
2002-06-10 02:05:04 +00:00
agc
87ac49f950 Update asp2php to version 0.75.25.
- 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)
2001-12-21 10:48:15 +00:00
agc
02ba17e66e Upgrade this package from version 0.73.4 to 0.75.24
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.
2001-11-22 12:06:45 +00:00
agc
ff632b280a Upgrade this package from version 0.73.4 to 0.75.24
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.
2001-11-22 11:26:59 +00:00
zuntum
431e7a7dda Move pkg/ files into package's toplevel directory 2001-11-01 02:15:23 +00:00
skrll
aa3c03b75a Move to sha1 digests, and add distfile sizes. 2001-04-20 12:02:30 +00:00
agc
8f972b049a + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 12:12:16 +00:00
wiz
a0745845b3 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:21:28 +00:00
agc
baec34e3fa Initial import of asp2php, a utility which can convert WWW Active
Server Pages (ASP) files that run on the Microsoft IIS Web Server into
PHP pages to run on Apache, into the NetBSD packages collection.
2000-01-17 14:13:42 +00:00