News

XP Language and compiler, 1.10.2-RELEASE

at 2013-05-20 in ReleasesLanguage by friebe

We are proud to announce the immediate availability of XP Language and compiler, version 1.10.2. This release contains a bugfix for fatal error during compilation of the following:

  class Test {
public
static [:ChangeLogParser] $changeLogs= [
'ChangeLog.md' : new MarkdownChangeLogParser(),
'ChangeLog' : new DefaultChangeLogParser()
];
}
Upgrade using xpi upgrade xp-framework/xp-language.



5.8.14-RELEASE: Finalizing XP 5.8

at 2013-05-17 in Releases5.8-SERIES by friebe

The XP group is proud to announce the immediate availability of XP Framework, version 5.8.14. This is the last planned release on the xp5_8 branch

It includes only two minor changes, a quickfix for issue #302 (Exception when not specifying a context class) and a changed to the REST routing mechanism to allow any character in path segments (see pull request #288).

  $ cd ~/xp
$ wget http://xp-framework.net/setup/5.8.14 -O - | php -- -d ~/bin/



XP Release procedure

at 2013-05-16 in EditorialReleases by friebe

After introducing the new build system a while ago, we've produced quite a number of releases already. Time for some documentation, now that we know the procedure works as expected.

The XP Wiki now contains a step by step howto for creating releases and release candidates. Here it is!



5.9.2-RELEASE

at 2013-05-16 in 5.9-SERIESAnnouncementsReleases by kiesel

The XP Framework group is proud to announce the immediate availability of the 5.9.2-RELEASE. In this release we focussed on refactoring the test suite to use the new unittest parametrization features introduced in 5.9.1 and generally added some fine tuning to the code.

5.9.2 is out and ready to be used:

  $ cd ~/xp
$ wget http://xp-framework.net/setup/5.9.2 -O - | php -- -d ~/bin/

Requires: Any PHP version between 5.3.0 and 5.5.0 - Enjoy!



ChangeLog formatting

at 2013-05-15 in RFCs by friebe

Scope of Change
ChangeLog formatting will be changed to use markdown syntax, and the filename will be changed to ChangeLog.md.

Rationale
Easier viewing on GitHub.

Read the full RFC here



The new util.Objects class

at 2013-05-14 in Announcements by friebe

While going through the "FIXME" comments in the XP Framework's codebase, I discovered a code duplication of the _compare() method from the TestCase class. This method was responsible for comparing two values of any type and returning TRUE if they're equal. Further research revealed quite a bit of places in the XP Framework this kind of helper method existed.

By introducing util.Objects::equal(var $a, var $b) and refactoring the existing code to reuse this new method, we reduced duplication and of course also potential for bugs.



XP Language and compiler, 1.10.1-RELEASE: xcc -e

at 2013-05-14 in ReleasesLanguage by friebe

We are proud to announce the immediate availability of XP Language and compiler, version 1.10.1. This release includes:

  • RFC #0249: Exponentiation operator. See here for details.
  • RFC #0238: xcc -e and xcc -w (command line code evaluation). See here for details.
  • Various bugfixes for PHP syntax
  • A command line option -q which will show only compilation errors
Upgrading / installation is done via XPI.



XP Language and compiler, 1.10.0-RELEASE: Compact syntax

at 2013-05-12 in ReleasesLanguage by friebe

After the release candidate two days ago, the XP group is proud to announce the immediate availability of the XP Language and compiler, version 1.10.0. This release includes:

  • Compact method, assignment and fluent interface syntax (the implementations of RFC #0240, #0241 and #0252. For details, see here
  • A dependency on XP 5.9.1 due to the usage of parameterized unittests. See the release announcement
  • Bugfixes for errors resolving abstract enums, problems with PHP 5.3

Furthermore, the complete code base has been converted to PHP 5.3 namespaces and the new coding standards.

Upgrading / installation is done via XPI. Enjoy:-)



RFC #0238: xcc -e

at 2013-05-12 in RFCsLanguage by friebe

Scope of Change
In conjunction with xp -e and unittest -e, this RFC proposes to add xcc -e.

Rationale
Support what both of the other runners already do, evaluate sourcecode directly as the fastest way to discover "what something does".

Read the full RFC here



RFC #0250: Static import syntax change

at 2013-05-12 in LanguageRFCs by friebe

Scope of Change
The XP language's static import syntax will be changed to be consistent with static member access and use the double colon operator ::

Rationale
Consistency

Read the full RFC here



Subscribe

You can subscribe to the XP framework's news by using RSS syndication.


Categories

News
General
PHP5
Announcements
RFCs
Further reading
Examples
Editorial
EASC
Experiments
Unittests
Databases
5.8-SERIES
Unicode
Language
5.9-SERIES