Skip to content
This repository has been archived by the owner on Apr 7, 2018. It is now read-only.

Commit

Permalink
Add all news entries, provide ant build.xml script that grabs all dep…
Browse files Browse the repository at this point in the history
…endencies, add patch for feed sphinx-contrib
  • Loading branch information
beberlei committed Oct 14, 2011
1 parent 55c6340 commit bf5d7d9
Show file tree
Hide file tree
Showing 194 changed files with 13,611 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
pages/build
build
*.pyc
28 changes: 28 additions & 0 deletions build.xml
@@ -0,0 +1,28 @@
<?xml version="1.0" ?>
<project name="Doctrine Website" default="build">
<target name="install-sphinx">
<exec executable="easy_install">
<arg value="sphinx" />
</exec>
<mkdir dir="build" />
<exec executable="hg">
<arg value="clone" />
<arg value="https://bitbucket.org/birkenfeld/sphinx-contrib"/>
<arg value="build/sphinx-contrib" />
</exec>
<exec executable="python" dir="build/sphinx-contrib/feed">
<arg value="setup.py" />
<arg value="install" />
</exec>
</target>

<target name="build" depends="install-sphinx">
<exec executable="make" dir="pages/">
<arg value="html" />
</exec>
</target>

<target name="clean">
<delete dir="pages/build" />
</target>
</project>
93 changes: 93 additions & 0 deletions pages/source/_exts/configurationblock.py
@@ -0,0 +1,93 @@
#Copyright (c) 2010 Fabien Potencier
#
#Permission is hereby granted, free of charge, to any person obtaining a copy
#of this software and associated documentation files (the "Software"), to deal
#in the Software without restriction, including without limitation the rights
#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
#copies of the Software, and to permit persons to whom the Software is furnished
#to do so, subject to the following conditions:
#
#The above copyright notice and this permission notice shall be included in all
#copies or substantial portions of the Software.
#
#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
#IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
#FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
#AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
#LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
#OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
#THE SOFTWARE.

from docutils.parsers.rst import Directive, directives
from docutils import nodes
from string import upper

class configurationblock(nodes.General, nodes.Element):
pass

class ConfigurationBlock(Directive):
has_content = True
required_arguments = 0
optional_arguments = 0
final_argument_whitespace = True
option_spec = {}
formats = {
'html': 'HTML',
'xml': 'XML',
'php': 'PHP',
'yaml': 'YAML',
'jinja': 'Twig',
'html+jinja': 'Twig',
'jinja+html': 'Twig',
'php+html': 'PHP',
'html+php': 'PHP',
'ini': 'INI',
'php-annotations': 'Annotations',
}

def run(self):
env = self.state.document.settings.env

node = nodes.Element()
node.document = self.state.document
self.state.nested_parse(self.content, self.content_offset, node)

entries = []
for i, child in enumerate(node):
if isinstance(child, nodes.literal_block):
# add a title (the language name) before each block
#targetid = "configuration-block-%d" % env.new_serialno('configuration-block')
#targetnode = nodes.target('', '', ids=[targetid])
#targetnode.append(child)

innernode = nodes.emphasis(self.formats[child['language']], self.formats[child['language']])

para = nodes.paragraph()
para += [innernode, child]

entry = nodes.list_item('')
entry.append(para)
entries.append(entry)

resultnode = configurationblock()
resultnode.append(nodes.bullet_list('', *entries))

return [resultnode]

def visit_configurationblock_html(self, node):
self.body.append(self.starttag(node, 'div', CLASS='configuration-block'))

def depart_configurationblock_html(self, node):
self.body.append('</div>\n')

def visit_configurationblock_latex(self, node):
pass

def depart_configurationblock_latex(self, node):
pass

def setup(app):
app.add_node(configurationblock,
html=(visit_configurationblock_html, depart_configurationblock_html),
latex=(visit_configurationblock_latex, depart_configurationblock_latex))
app.add_directive('configuration-block', ConfigurationBlock)
13 changes: 13 additions & 0 deletions pages/source/blog/0-10-2-released.rst
@@ -0,0 +1,13 @@
:author: jwage <jonwage@gmail.com>
:date: 2008-03-01 08:53:18

===============
0.10.2 Released
===============

Today we have released Doctrine 0.10.2. This is a bug fix only
release. It brings many new bugs fixes to the 0.10 branch. We will
continue with point releases on the 0.10 branch until the 0.9
branch is completely phased out. Thanks for using Doctrine :)


18 changes: 18 additions & 0 deletions pages/source/blog/0-10-3-released.rst
@@ -0,0 +1,18 @@
:author: jwage <jonwage@gmail.com>
:date: 2008-03-18 21:03:17

===============
0.10.3 Released
===============

A few days late, but the 0.10.3 release has been packaged and
released. This release contains nearly 40 closed tickets, and is a
huge step towards bringing the 1st generation of Doctrine to a
stable release. We have already begun development on the 0.10.4
release, and have a few dozen tickets associated to it already. If
you have a ticket associated to the 0.10.4 milestone or any other
release then it is likely their is not a failing test case for it,
as the 0.10 branch now only has 1 failing test case. Make our job
easier and provide a failing test case for your issues. Thanks.


18 changes: 18 additions & 0 deletions pages/source/blog/0-10-4-released-46-closed-tickets.rst
@@ -0,0 +1,18 @@
:author: jwage <jonwage@gmail.com>
:date: 2008-03-28 19:32:21

===================================
0.10.4 Released - 46 Closed Tickets
===================================

Today we would like to announce the 0.10.4 release. This release
addresses 46 tickets and is a major step in stabilizing the 1st
generation of Doctrine for the 1.0 release. We will continue with
bug fix only releases until we feel the 0.10 branch is ready for a
1.0 title. Give it a try and give us some tickets and failing test
cases to fix :)

You can checkout the change log for the 0.10.4 release as well as
previous releases here.


14 changes: 14 additions & 0 deletions pages/source/blog/0-11-0-rc3-released.rst
@@ -0,0 +1,14 @@
:author: jwage <jonwage@gmail.com>
:date: 2008-05-31 03:06:01

===================
0.11.0-RC3 Released
===================

A little late, but the third release candidate of the 0.11.0
version of Doctrine has been released. This will be the last
scheduled release candidate before 0.11 becomes the latest stable
version of Doctrine. This release contains dozens of bug fixes and
a few small enhancements. The change log can be read here.


83 changes: 83 additions & 0 deletions pages/source/blog/0-11-0-release-candidate-1.rst
@@ -0,0 +1,83 @@
:author: jwage <jonwage@gmail.com>
:date: 2008-04-21 21:53:08

==========================
0.11.0 Release Candidate 1
==========================


.. raw:: html

<p>

Today I am happy to announce the first release candidate for the
next major version of Doctrine, 0.11. The 0.11 version of Doctrine
brings over 50 addressed tickets, a few new features, a few
performance improvements and lots of updates to the
documentation/manual.

.. raw:: html

</p><p>



.. raw:: html

</p><p>

Here are the highlights:

.. raw:: html

</p><p>


- \*Table.php classes are no longer generated by default when
generating models from an existing database schema. This also means
that ATTR\_AUTOLOAD\_TABLE\_CLASSES now defaults to FALSE

.. raw:: html

</p><p>


- Fixed some serious hydration bugs.

.. raw:: html

</p><p>


- Improved the hydration performance for large (joined) result
sets.

.. raw:: html

</p><p>


- Application-level cascading deletes are back.

.. raw:: html

</p><p>

We encourage everyone to test this release candidate thoroughly.
Please report any issues through trac.

.. raw:: html

</p><p>

You can view the complete changelog for this release here.

.. raw:: html

</p>






15 changes: 15 additions & 0 deletions pages/source/blog/0-11-0-release-candidate-2.rst
@@ -0,0 +1,15 @@
:author: jwage <jonwage@gmail.com>
:date: 2008-04-30 22:51:18

==========================
0.11.0 Release Candidate 2
==========================

Quick! Come and get it! The second release candidate of the latest
Doctrine version, 0.11.0, has just been released. This release
includes a few dozen fixed tickets and a few new features required
in order to address existing issues/tickets. The complete changelog
as always can be found in the CHANGELOG file included with the
source or online here.


65 changes: 65 additions & 0 deletions pages/source/blog/0-11-0-stable-released.rst
@@ -0,0 +1,65 @@
:author: jwage <jonwage@gmail.com>
:date: 2008-06-24 01:24:51

======================
0.11.0 Stable Released
======================


.. raw:: html

<p>

Today, I would like to introduce the latest stable version of
Doctrine, 0.11.0. This release is a major release but it contains
bug fixes only. It contains a few BC enhancements that were
required in order to fix some bugs. We recommend everyone upgrade
to 0.11. Below are some highlights of this release.

.. raw:: html

</p><ul><li>

131 Tickets Closed

.. raw:: html

</li><li>

[4433] Introduced preDql\*() Hooks

.. raw:: html

</li><li>

Introduced SoftDelete Behavior

.. raw:: html

</li><li>

Introduced Application Level Cascading Deletes

.. raw:: html

</li><li>

Many fixes to Behavior system, primarily Nesting Behaviors.

.. raw:: html

</li></ul> <p>

Another item worth mentioning about the 0.11 release is that the
integration between Doctrine and symfony has evolved quite well
over the first quarter of 2008 as symfony 1.1 is coming out and
0.11 is released. The integration between symfony 1.1 and Doctrine
with sfDoctrinePlugin is now officially supported by the symfony
core team and we will slowly be introducing more documentation over
the coming months.

.. raw:: html

</p>


14 changes: 14 additions & 0 deletions pages/source/blog/1000th-ticket-closed.rst
@@ -0,0 +1,14 @@
:author: jwage <jonwage@gmail.com>
:date: 2008-06-29 09:35:24

====================
1000th Ticket Closed
====================

Tonight I have closed the 1000th ticket in the Doctrine Trac. This
is a big milestone for Doctrine and it has taken the work of many
people to reach this. Thanks to all the users who took the time to
report issues to us (test case or not ;) ), it is much appreciated
and Doctrine would not be able to move forward without it.


0 comments on commit bf5d7d9

Please sign in to comment.