|
Karsten Hopp |
857924 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
857924 |
Subject: Patch 7.3.9
|
|
Karsten Hopp |
857924 |
Fcc: outbox
|
|
Karsten Hopp |
857924 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
857924 |
Mime-Version: 1.0
|
|
Karsten Hopp |
857924 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
857924 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
857924 |
------------
|
|
Karsten Hopp |
857924 |
|
|
Karsten Hopp |
857924 |
Patch 7.3.967 (after 7.3.965)
|
|
Karsten Hopp |
857924 |
Problem: Build fails on Mac OSX. (Greg Novack)
|
|
Karsten Hopp |
857924 |
Solution: Undefine clear().
|
|
Karsten Hopp |
857924 |
Files: src/if_py_both.h
|
|
Karsten Hopp |
857924 |
|
|
Karsten Hopp |
857924 |
|
|
Karsten Hopp |
857924 |
*** ../vim-7.3.966/src/if_py_both.h 2013-05-17 16:39:59.000000000 +0200
|
|
Karsten Hopp |
857924 |
--- src/if_py_both.h 2013-05-17 20:40:47.000000000 +0200
|
|
Karsten Hopp |
857924 |
***************
|
|
Karsten Hopp |
857924 |
*** 474,480 ****
|
|
Karsten Hopp |
857924 |
static PyObject *ConvertToPyObject(typval_T *);
|
|
Karsten Hopp |
857924 |
|
|
Karsten Hopp |
857924 |
static PyObject *
|
|
Karsten Hopp |
857924 |
! VimEvalPy(PyObject *self UNUSED, PyObject *args UNUSED)
|
|
Karsten Hopp |
857924 |
{
|
|
Karsten Hopp |
857924 |
char *expr;
|
|
Karsten Hopp |
857924 |
typval_T *our_tv;
|
|
Karsten Hopp |
857924 |
--- 474,480 ----
|
|
Karsten Hopp |
857924 |
static PyObject *ConvertToPyObject(typval_T *);
|
|
Karsten Hopp |
857924 |
|
|
Karsten Hopp |
857924 |
static PyObject *
|
|
Karsten Hopp |
857924 |
! VimEvalPy(PyObject *self UNUSED, PyObject *args)
|
|
Karsten Hopp |
857924 |
{
|
|
Karsten Hopp |
857924 |
char *expr;
|
|
Karsten Hopp |
857924 |
typval_T *our_tv;
|
|
Karsten Hopp |
857924 |
***************
|
|
Karsten Hopp |
857924 |
*** 547,555 ****
|
|
Karsten Hopp |
857924 |
typedef int (*traversefun)(void *, visitproc, void *);
|
|
Karsten Hopp |
857924 |
typedef int (*clearfun)(void **);
|
|
Karsten Hopp |
857924 |
|
|
Karsten Hopp |
857924 |
! /* Main purpose of this object is removing the need for do python initialization
|
|
Karsten Hopp |
857924 |
! * (i.e. PyType_Ready and setting type attributes) for a big bunch of objects.
|
|
Karsten Hopp |
857924 |
! */
|
|
Karsten Hopp |
857924 |
|
|
Karsten Hopp |
857924 |
typedef struct
|
|
Karsten Hopp |
857924 |
{
|
|
Karsten Hopp |
857924 |
--- 547,555 ----
|
|
Karsten Hopp |
857924 |
typedef int (*traversefun)(void *, visitproc, void *);
|
|
Karsten Hopp |
857924 |
typedef int (*clearfun)(void **);
|
|
Karsten Hopp |
857924 |
|
|
Karsten Hopp |
857924 |
! /* Main purpose of this object is removing the need for do python
|
|
Karsten Hopp |
857924 |
! * initialization (i.e. PyType_Ready and setting type attributes) for a big
|
|
Karsten Hopp |
857924 |
! * bunch of objects. */
|
|
Karsten Hopp |
857924 |
|
|
Karsten Hopp |
857924 |
typedef struct
|
|
Karsten Hopp |
857924 |
{
|
|
Karsten Hopp |
857924 |
***************
|
|
Karsten Hopp |
857924 |
*** 598,603 ****
|
|
Karsten Hopp |
857924 |
--- 598,608 ----
|
|
Karsten Hopp |
857924 |
return 0;
|
|
Karsten Hopp |
857924 |
}
|
|
Karsten Hopp |
857924 |
|
|
Karsten Hopp |
857924 |
+ /* Mac OSX defines clear() somewhere. */
|
|
Karsten Hopp |
857924 |
+ #ifdef clear
|
|
Karsten Hopp |
857924 |
+ # undef clear
|
|
Karsten Hopp |
857924 |
+ #endif
|
|
Karsten Hopp |
857924 |
+
|
|
Karsten Hopp |
857924 |
static int
|
|
Karsten Hopp |
857924 |
IterClear(PyObject *self)
|
|
Karsten Hopp |
857924 |
{
|
|
Karsten Hopp |
857924 |
***************
|
|
Karsten Hopp |
857924 |
*** 3287,3295 ****
|
|
Karsten Hopp |
857924 |
else if (!(next = BufferNew(((BufferObject *)(r))->buf->b_next)))
|
|
Karsten Hopp |
857924 |
return NULL;
|
|
Karsten Hopp |
857924 |
*buffer = next;
|
|
Karsten Hopp |
857924 |
! /* Do not increment reference: we no longer hold it (decref), but whoever on
|
|
Karsten Hopp |
857924 |
! * other side will hold (incref). Decref+incref = nothing.
|
|
Karsten Hopp |
857924 |
! */
|
|
Karsten Hopp |
857924 |
return r;
|
|
Karsten Hopp |
857924 |
}
|
|
Karsten Hopp |
857924 |
|
|
Karsten Hopp |
857924 |
--- 3292,3299 ----
|
|
Karsten Hopp |
857924 |
else if (!(next = BufferNew(((BufferObject *)(r))->buf->b_next)))
|
|
Karsten Hopp |
857924 |
return NULL;
|
|
Karsten Hopp |
857924 |
*buffer = next;
|
|
Karsten Hopp |
857924 |
! /* Do not increment reference: we no longer hold it (decref), but whoever
|
|
Karsten Hopp |
857924 |
! * on other side will hold (incref). Decref+incref = nothing. */
|
|
Karsten Hopp |
857924 |
return r;
|
|
Karsten Hopp |
857924 |
}
|
|
Karsten Hopp |
857924 |
|
|
Karsten Hopp |
857924 |
*** ../vim-7.3.966/src/version.c 2013-05-17 16:39:59.000000000 +0200
|
|
Karsten Hopp |
857924 |
--- src/version.c 2013-05-17 21:19:17.000000000 +0200
|
|
Karsten Hopp |
857924 |
***************
|
|
Karsten Hopp |
857924 |
*** 730,731 ****
|
|
Karsten Hopp |
857924 |
--- 730,733 ----
|
|
Karsten Hopp |
857924 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
857924 |
+ /**/
|
|
Karsten Hopp |
857924 |
+ 967,
|
|
Karsten Hopp |
857924 |
/**/
|
|
Karsten Hopp |
857924 |
|
|
Karsten Hopp |
857924 |
--
|
|
Karsten Hopp |
857924 |
ARTHUR: What does it say?
|
|
Karsten Hopp |
857924 |
BROTHER MAYNARD: It reads ... "Here may be found the last words of Joseph of
|
|
Karsten Hopp |
857924 |
Aramathea." "He who is valorous and pure of heart may find
|
|
Karsten Hopp |
857924 |
the Holy Grail in the aaaaarrrrrrggghhh..."
|
|
Karsten Hopp |
857924 |
ARTHUR: What?
|
|
Karsten Hopp |
857924 |
BROTHER MAYNARD: "The Aaaaarrrrrrggghhh..."
|
|
Karsten Hopp |
857924 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
857924 |
|
|
Karsten Hopp |
857924 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
857924 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
857924 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
857924 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|