ChangeLog 7.07 KB
Newer Older
1 2 3 4 5
2006-07-02  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* src/nautilus-python.c (nautilus_module_shutdown): Re-enable
	shutting down python to fix bug #345754.

6 7
2006-02-19  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

8 9 10 11 12 13 14 15 16
	* src/Makefile.am: Update to use PYTHON_LIBS/PYTHON_LIB_LOC.

	* m4/python.m4: Define also PYTHON_LIB_LOC.

	* configure.in: Use AM_CHECK_PYTHON_LIBS and remove a large chunk
	of code that is not really needed.

	* m4/python.m4: Copy-paste AM_CHECK_PYTHON_LIBS from gnome-python.

17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
	* configure.in: Fix PY_LIB_LOC to point to $PY_EXEC_PREFIX/lib,
	which is where a normal (i.e. not distribution patched) python
	installation puts the shared library.

	* src/nautilus-python.c (nautilus_python_init_python): Use
	PY_LIB_LOC here to open the correct python library (for cases of
	prefix != /usr).

	* src/Makefile.am (PYTHON_LIBS): Use PY_LIB_LOC here.

	* configure.in: Remove -L from $PY_LIB_LOC.

	* src/nautilus-python.c (np_init_pygobject): Add a missing
	PyErr_Print(); for the case when _PyGObbject_API is not found.
	(np_init_pygtk): idem.

33 34
2006-02-18  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
	* src/nautilus-python.c (np_init_pygnomevfs): Copy-paste of
	init_pygnomevfs from pygnomevfs.h, but changing error handling to
	avoid Py_FatalError, so we don't crash nautilus if gnomevfs module
	is missing.
	(np_init_pygnomevfs): Convert macro to inline function, make it
	return TRUE/FALSE on success/failure.  Update rest of code to
	reflect these changes.
	(np_init_pygtk): idem.
	(np_init_pygobject): idem.
	(nautilus_python_init_python): Call np_init_pygnomevfs instead of
	init_pygnomevfs.

	* src/nautilus-python.h: Moved np_init_pygobject and
	np_init_pygtk to src/nautilus-python.c.

50 51 52 53
	* src/nautilus-python.c: Refactor to initialize nautilus-python on
	demand: python/pygtk/pygnomevfs are not initialized if no python
	extension is actually found.

54 55 56 57 58 59 60
=== 0.4.3 ===
2006-02-15  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* NEWS: Update.

	* configure.in: Bump version.

61 62 63 64 65
2006-02-15  Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>

	* src/nautilus-python.c (nautilus_module_shutdown): Don't shutdown
	Python to avoid a bug that causes nautilus to crash.  We should
	fix this eventually, but for now...
66 67 68 69 70
	(nautilus_python_load_dir): Add directory to sys.path here.
	(nautilus_python_init_python): Don't manipulate sys.path here,
	except to add path for 'nautilus' module, everything else now
	taken care in nautilus_python_load_dir.  Should fix loading
	extensions from the nautilus system dir.
71

72 73 74 75 76 77 78
2006-02-14  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* src/nautilus-python.c,
	* src/nautilus-python.h: Make debugging messages be activated
	through the environment variable NAUTILUS_PYTHON_DEBUG, instead of
	the DEBUG preprocessor macro.

79 80 81 82 83 84 85
=== 0.4.2 ===
2006-02-10  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* NEWS: Update.

	* configure.in: Bump version to 0.4.2.

86 87 88 89 90 91 92 93 94 95
2006-02-10  Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>

	* src/nautilus-python.c (nautilus_python_init_python):
	g_module_open libpythonX.Y.so, to make the symbols visible in
	global namespace.  Fixes #327739.

	* src/Makefile.am (INCLUDES): Define PYTHON_VERSION.

	* src/nautilusmodule.c: Missing #include <pygobject.h>.

96 97 98 99 100 101 102 103
2006-01-24  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* src/nautilus-python.h (np_init_pygobject): Don't try to set an
	exception if PyImport_ImportModule returns NULL.  Instead, print
	the current exception and issue a g_warning.
	(np_init_pygtk): idem.  PS: macros that return values behind your
	back are _EVIL_.

104
=== 0.4.1 ===
Johan Dahlin's avatar
Johan Dahlin committed
105 106 107 108 109 110
2005-09-22  Johan Dahlin  <johan@gnome.org>

	* configure.in:
	* examples/Makefile.am:
	Release 0.4.1

111 112 113 114 115
2005-08-28  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* examples/README.in: Indicate how you can also install extensions
	in the home dir.

116 117 118 119 120 121 122
2005-08-27  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* src/nautilus-python.c: s/np_init_pygnomevfs/init_pygnomevfs/
	 (forgotten from when pygnomevfs.h was removed).  Fix a bug
	 preventing loading of extensions from
	 $HOME/.nautilus/python-extensions.

123 124
2005-08-25  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

125 126 127 128
	* examples/documentation.py: Remove note saying
	FileInfo.get_vfs_file_info was not implemented; it is not true at
	this moment.

129 130 131 132 133 134 135 136
	* src/pygnomevfs.h: Removed.  Now it is installed by gnome-python.

	* src/Makefile.am: Update to use NAUTILUS_PYTHON_{LIBS,CFLAGS}.
	(EXTRA_DIST): Remove pygnomevfs.h.

	* configure.in: Call PKG_CHECK_MODULES only one time, store
	LIBS/CFLAGS in NAUTILUS_PYTHON.

137 138 139 140 141 142 143 144 145
	* examples/Makefile.am: Don't install examples into extensions
	dir; they're only examples, not something the user normally would
	like to run.  Instead, they are installed into the package doc
	dir, along with documentation.py and a README.
	
	* examples/README.in: Add this small file explaining how to
	install the examples and how to run a private instance of nautilus
	for testing.

146 147 148 149 150 151 152 153 154 155 156 157 158
2005-08-25  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	reviewed by: Johan Dahlin

	* src/nautilus-python-object.c:
	(nautilus_python_object_get_property_pages),
	(nautilus_python_object_get_file_items),
	(nautilus_python_object_get_background_items),
	(nautilus_python_object_get_toolbar_items),
	(nautilus_python_object_update_file_info),
	(nautilus_python_object_instance_init): Assorted memory leak
	fixes.

159
=== 0.4.0 ===
Johan Dahlin's avatar
Johan Dahlin committed
160 161 162 163 164 165
2005-05-30  Johan Dahlin  <johan@gnome.org>

	* NEWS:
	* README:
	* configure.in: Bump version to 0.4.0

166 167 168 169 170 171 172
2005-05-30  Johan Dahlin  <johan@gnome.org>

	* src/nautilus-python.c: (nautilus_python_init_python):
	* src/nautilusmodule.c: (initnautilus): Use an environment variable to
	ensure the module is only imported from nautilus-python itself. 
	Fixes bug #161946

Johan Dahlin's avatar
Johan Dahlin committed
173 174 175 176 177
2005-05-17  Johan Dahlin  <jdahlin@async.com.br>

	* src/nautilus-python-object.c
	(nautilus_python_object_get_background_items): Release GIL state.

178 179 180 181
2005-03-21  Johan Dahlin  <johan@gnome.org>

        * src/pygnomevfs.h: Import gnomevfs instead of gnome.vfs

Johan Dahlin's avatar
Johan Dahlin committed
182 183 184 185 186 187 188 189 190 191 192 193
2005-01-08  Johan Dahlin  <johan@gnome.org>

	* src/nautilus.override
	(_wrap_nautilus_file_info_get_vfs_file_info): Wrap.

	* src/pygnomevfs.h: Add from gnome-python, since it's not installed.

	* src/nautilus-python.c (nautilus_python_init_python): Check
	.nautilus/python-extensions-2.	

	* src/nautilus-python-object.c: Thread fixes.

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
194 195 196 197 198 199 200 201
2004-12-11  Thomas Vander Stichele  <thomas at apestaart dot org>

	* Makefile.am:
	* README:
	* configure.in:
	* nautilus-python.spec.in:
	  add spec file

202 203
2004-10-08  Johan Dahlin  <johan@gnome.org>

204 205 206
	* src/nautilus-python.c (nautilus_python_load_file): Remove unused
	variables. Patch by Ross Burton.

207 208 209 210
	* nautilus-python.pc.in: Remove mono leftovers, and add pythondir
	so external packages know where it can install stuff. Patch by
	Ross Burton

211 212 213 214 215 216 217 218 219
2004-10-05  Johan Dahlin  <johan@gnome.org>

	* src/nautilus-python.c (nautilus_python_init_python): Use
	Py_IsInitialized instead of saving our own state.
	Call PySys_Argv, so functions inside python that excepts sys.argv
	to be non NULL work correctly without crashing.
	Also require PyGTK 2.4.0 in here. Should find a way of exporting
	it from configure.in
	
220
2004-10-04  Johan Dahlin  <johan@gnome.org>
Johan Dahlin's avatar
Johan Dahlin committed
221

222
	* examples/test.py: Remove, it shouldn't really be here
Johan Dahlin's avatar
Johan Dahlin committed
223

224
	Imported to GNOME CVS
Johan Dahlin's avatar
Johan Dahlin committed
225