ChangeLog 8.46 KB
Newer Older
1 2 3
2008-05-31  German Poo-Caaman~o  <gpoo@gnome.org>

	* src/nautilus.defs: Sync the binding with libnautilus-extension.
4
	Fixes #518824 (James Westby)
5

Johan Dahlin's avatar
Johan Dahlin committed
6
=== 0.5.0 ===
7 8
2008-01-11  Johan Dahlin  <johan@gnome.org>

Johan Dahlin's avatar
Johan Dahlin committed
9 10
	* NEWS: Update

11 12 13 14 15 16 17 18
	* examples/Makefile.am:
	* src/nautilus-python.c: (nautilus_python_init_python):
	* src/nautilus-python.h:
	* src/nautilus.defs:
	* examples/submenu.py:
	Add Menu wrapper which makes it possible to implement submenus.
	#440026, Lukáš Lalinský, Sylvain Baubeau, Erik Wien

Scott Tsai's avatar
Scott Tsai committed
19 20 21 22 23 24 25 26
2008-01-11  Scott Tsai  <scottt.tw@gmail.com>

	reviewed by: Johan Dahlin

	* src/nautilusmodule.c (DL_EXPORT): 
	Initialize gnomevfs, which will prevent nautilus-python from freezing.
	Fixes #500996

Brian Pepple's avatar
Brian Pepple committed
27 28 29 30 31 32 33
2008-01-01  Brian Pepple  <bpepple@fedoraproject.org>

	reviewed by: Johan Dahlin

	* src/Makefile.am (nautilus_extensiondir): 
	* configure.in (NAUTILUS_LIBDIR): Fetch nautilus
	extension dir from nautilus-extension.pc
Scott Tsai's avatar
Scott Tsai committed
34
	Fixes #506759
Brian Pepple's avatar
Brian Pepple committed
35

Scott Tsai's avatar
Scott Tsai committed
36 37 38 39 40 41
2008-01-11  Scott Tsai  <scottt.tw@gmail.com>

	reviewed by: Johan Dahlin

	* m4/python.m4 (py_exec_prefix): Allowing the PYTHON_LIB_LOC and 
	PYTHON_LIBS configure variables to be overriden.
Scott Tsai's avatar
Scott Tsai committed
42
	Fixes #505589
Scott Tsai's avatar
Scott Tsai committed
43

44 45 46 47 48 49 50 51 52 53
2008-01-11  Jonathan Rogers <jonner@teegra.net>

	reviewed by: Johan Dahlin

	* src/nautilus-python-object.c:
	* src/nautilus-python.c: (nautilus_python_load_file):
	* src/nautilus-python.h:
	Use Py_ssize_t instead of int, so nautilus-python works on Python 2.5
	fixes #444366	

54 55 56 57 58
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.

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

61 62 63 64 65 66 67 68 69
	* 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.

70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
	* 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.

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

88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
	* 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.

103 104 105 106
	* src/nautilus-python.c: Refactor to initialize nautilus-python on
	demand: python/pygtk/pygnomevfs are not initialized if no python
	extension is actually found.

107 108 109 110 111 112 113
=== 0.4.3 ===
2006-02-15  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* NEWS: Update.

	* configure.in: Bump version.

114 115 116 117 118
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...
119 120 121 122 123
	(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.
124

125 126 127 128 129 130 131
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.

132 133 134 135 136 137 138
=== 0.4.2 ===
2006-02-10  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* NEWS: Update.

	* configure.in: Bump version to 0.4.2.

139 140 141 142 143 144 145 146 147 148
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>.

149 150 151 152 153 154 155 156
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_.

157
=== 0.4.1 ===
Johan Dahlin's avatar
Johan Dahlin committed
158 159 160 161 162 163
2005-09-22  Johan Dahlin  <johan@gnome.org>

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

164 165 166 167 168
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.

169 170 171 172 173 174 175
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.

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

178 179 180 181
	* examples/documentation.py: Remove note saying
	FileInfo.get_vfs_file_info was not implemented; it is not true at
	this moment.

182 183 184 185 186 187 188 189
	* 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.

190 191 192 193 194 195 196 197 198
	* 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.

199 200 201 202 203 204 205 206 207 208 209 210 211
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.

212
=== 0.4.0 ===
Johan Dahlin's avatar
Johan Dahlin committed
213 214 215 216 217 218
2005-05-30  Johan Dahlin  <johan@gnome.org>

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

219 220 221 222 223 224 225
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
226 227 228 229 230
2005-05-17  Johan Dahlin  <jdahlin@async.com.br>

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

231 232 233 234
2005-03-21  Johan Dahlin  <johan@gnome.org>

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

Johan Dahlin's avatar
Johan Dahlin committed
235 236 237 238 239 240 241 242 243 244 245 246
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
247 248 249 250 251 252 253 254
2004-12-11  Thomas Vander Stichele  <thomas at apestaart dot org>

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

255 256
2004-10-08  Johan Dahlin  <johan@gnome.org>

257 258 259
	* src/nautilus-python.c (nautilus_python_load_file): Remove unused
	variables. Patch by Ross Burton.

260 261 262 263
	* nautilus-python.pc.in: Remove mono leftovers, and add pythondir
	so external packages know where it can install stuff. Patch by
	Ross Burton

264 265 266 267 268 269 270 271 272
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
	
273
2004-10-04  Johan Dahlin  <johan@gnome.org>
Johan Dahlin's avatar
Johan Dahlin committed
274

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

277
	Imported to GNOME CVS
Johan Dahlin's avatar
Johan Dahlin committed
278