Rev 1039: Start working on branch with own, manually written Python bindings for Subversion. in file:///data/jelmer/bzr-svn/cext/
Jelmer Vernooij
jelmer at samba.org
Sat May 31 05:09:22 BST 2008
At file:///data/jelmer/bzr-svn/cext/
------------------------------------------------------------
revno: 1039
revision-id: jelmer at samba.org-20080531040857-iwzal0h1b4jhyz87
parent: jelmer at samba.org-20080531040148-506iktegixl0rpk3
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: cext
timestamp: Sat 2008-05-31 06:08:57 +0200
message:
Start working on branch with own, manually written Python bindings for Subversion.
renamed:
client.pyx => client.c client.pyx-20080313235339-wbyjbw2namuiql8f-1
core.pyx => core.c core.pyx-20080313210413-17k59slolpfe5kdq-1
ra.pyx => ra.c ra.pyx-20080313140933-qybkqaxe3m4mcll7-1
repos.pyx => repos.c repos.pyx-20080314114432-g2b5lqe776tkbl4k-1
wc.pyx => wc.c wc.pyx-20080313142018-10l8l23vha2j9e6b-1
modified:
setup.py setup.py-20060502115218-86950492da22353f
core.c core.pyx-20080313210413-17k59slolpfe5kdq-1
ra.c ra.pyx-20080313140933-qybkqaxe3m4mcll7-1
repos.c repos.pyx-20080314114432-g2b5lqe776tkbl4k-1
wc.c wc.pyx-20080313142018-10l8l23vha2j9e6b-1
=== renamed file 'client.pyx' => 'client.c'
=== renamed file 'core.pyx' => 'core.c'
--- a/core.pyx 2008-05-31 02:14:56 +0000
+++ b/core.c 2008-05-31 04:08:57 +0000
@@ -1,20 +1,22 @@
-# Copyright © 2008 Jelmer Vernooij <jelmer at samba.org>
-# -*- coding: utf-8 -*-
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
+/*
+ * Copyright © 2008 Jelmer Vernooij <jelmer at samba.org>
+ * -*- coding: utf-8 -*-
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
from types cimport svn_error_t, svn_node_kind_t, svn_node_dir, svn_node_file, svn_node_unknown, svn_node_none, svn_error_create, svn_log_message_receiver_t, svn_log_changed_path_t
from apr cimport apr_initialize, apr_status_t, apr_time_t, apr_hash_t, apr_size_t
from apr cimport apr_pool_t, apr_pool_create, apr_pool_destroy
@@ -234,3 +236,8 @@
idx = apr_hash_next(idx)
apr_pool_destroy(pool)
return py_props
+
+void initcore(void)
+{
+
+}
=== renamed file 'ra.pyx' => 'ra.c'
--- a/ra.pyx 2008-05-31 02:14:56 +0000
+++ b/ra.c 2008-05-31 04:08:57 +0000
@@ -1,20 +1,21 @@
-# Copyright © 2008 Jelmer Vernooij <jelmer at samba.org>
-# -*- coding: utf-8 -*-
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
+/* Copyright © 2008 Jelmer Vernooij <jelmer at samba.org>
+ * -*- coding: utf-8 -*-
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
from apr cimport apr_pool_t, apr_pool_destroy, apr_palloc
from apr cimport apr_hash_t, apr_hash_make, apr_hash_index_t, apr_hash_first, apr_hash_next, apr_hash_this, apr_hash_set
from apr cimport apr_array_header_t, apr_array_make, apr_array_push
@@ -1064,3 +1065,8 @@
ret.edit_baton = edit_baton
ret.pool = pool
return ret
+
+void initra(void)
+{
+
+}
=== renamed file 'repos.pyx' => 'repos.c'
--- a/repos.pyx 2008-05-31 02:14:56 +0000
+++ b/repos.c 2008-05-31 04:08:57 +0000
@@ -1,19 +1,21 @@
-# Copyright © 2008 Jelmer Vernooij <jelmer at samba.org>
-# -*- coding: utf-8 -*-
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+/*
+ * Copyright © 2008 Jelmer Vernooij <jelmer at samba.org>
+ * -*- coding: utf-8 -*-
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
from apr cimport apr_pool_t, apr_hash_t, apr_pool_destroy
from types cimport svn_error_t, svn_boolean_t, svn_cancel_func_t, svn_stream_t, svn_node_kind_t, svn_revnum_t, svn_filesize_t
@@ -208,3 +210,8 @@
LOAD_UUID_DEFAULT = 0
LOAD_UUID_IGNORE = 1
LOAD_UUID_FORCE = 2
+
+void initrepos(void)
+{
+
+}
=== modified file 'setup.py'
--- a/setup.py 2008-05-30 02:30:03 +0000
+++ b/setup.py 2008-05-31 04:08:57 +0000
@@ -4,7 +4,6 @@
from distutils.core import setup
from distutils.extension import Extension
-from Pyrex.Distutils import build_ext
import os
def apr_include_dir():
@@ -43,15 +42,14 @@
'bzrlib.plugins.svn.mapping3',
'bzrlib.plugins.svn.tests'],
ext_modules=[
- Extension("core", ["core.pyx"], libraries=["svn_subr-1"],
- include_dirs=[apr_include_dir(), svn_include_dir()]),
- Extension("client", ["client.pyx"], libraries=["svn_client-1"],
- include_dirs=[apr_include_dir(), svn_include_dir()]),
- Extension("ra", ["ra.pyx"], libraries=["svn_ra-1"],
- include_dirs=[apr_include_dir(), svn_include_dir()]),
- Extension("repos", ["repos.pyx"], libraries=["svn_repos-1"],
- include_dirs=[apr_include_dir(), svn_include_dir()]),
- Extension("wc", ["wc.pyx"], libraries=["svn_wc-1"],
+ Extension("core", ["core.c"], libraries=["svn_subr-1"],
+ include_dirs=[apr_include_dir(), svn_include_dir()]),
+ Extension("client", ["client."], libraries=["svn_client-1"],
+ include_dirs=[apr_include_dir(), svn_include_dir()]),
+ Extension("ra", ["ra.c"], libraries=["svn_ra-1"],
+ include_dirs=[apr_include_dir(), svn_include_dir()]),
+ Extension("repos", ["repos."], libraries=["svn_repos-1"],
+ include_dirs=[apr_include_dir(), svn_include_dir()]),
+ Extension("wc", ["wc.c"], libraries=["svn_wc-1"],
include_dirs=[apr_include_dir(), svn_include_dir()])],
- cmdclass = {'build_ext': build_ext},
)
=== renamed file 'wc.pyx' => 'wc.c'
--- a/wc.pyx 2008-05-31 02:14:56 +0000
+++ b/wc.c 2008-05-31 04:08:57 +0000
@@ -1,19 +1,21 @@
-# Copyright © 2008 Jelmer Vernooij <jelmer at samba.org>
-# -*- coding: utf-8 -*-
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+/*
+ * Copyright © 2008 Jelmer Vernooij <jelmer at samba.org>
+ * -*- coding: utf-8 -*-
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
from apr cimport apr_pool_t, apr_initialize, apr_hash_t, apr_pool_destroy, apr_time_t, apr_hash_first, apr_hash_next, apr_hash_this, apr_hash_index_t, apr_array_header_t, apr_array_pop, apr_hash_make, apr_hash_set, apr_palloc
from types cimport svn_error_t, svn_version_t, svn_boolean_t, svn_cancel_func_t , svn_string_t, svn_string_ncreate, svn_node_kind_t, svn_revnum_t, svn_prop_t, svn_lock_t
More information about the bazaar-commits
mailing list