Acquire the GIL before running python code.
[jelmer/subvertpy.git] / NEWS
1 0.11.0  UNRELEASED
2
3  API CHANGES
4
5   * ``subvertpy.wc.WorkingCopy`` has been renamed to
6     `` subvertpy.wc.Adm``. (Jelmer Vernooij)
7
8   * ``subvertpy.client.mkdir``, ``subvertpy.client.copy``,
9     ``subvertpy.client.delete``, ``subvertpy.client.commit``
10     no longer return the resulting commit but call an
11     optional callback with commit info.
12     (Jelmer Vernooij)
13
14 0.10.1  2017-07-19
15
16  BUG FIXES
17
18   * Bundle Makefile and subvertpy.cfg. (Jelmer Vernooij)
19
20   * Fix some endianness issues. (Jelmer Vernooij)
21
22 0.10.0  2017-07-17
23
24   CHANGES
25
26    * Drop support for Python versions before 2.7, in preparation of Python3 support.
27      (Jelmer Vernooij)
28
29    * Add support for Python 3.4, 3.5 and 3.6. (Jelmer Vernooij)
30
31    * subvertpy.client methods no longer canonicalize paths and URLs, instead
32      requiring the caller to do so. If uncanonicalized paths/URLs are passed in,
33      a ValueError will be raised. (Jelmer Vernooij)
34
35   IMPROVEMENTS
36
37    * Add Python3 support. (Martin Panter, Yonggang Luo, Jelmer Vernooij).
38
39    * Add constant ERR_RA_CANNOT_CREATE_SESSION. (Jelmer Vernooij)
40
41    * Support `depth` argument to RemoteAccess.get_locks(). (Jelmer Vernooij)
42
43    * Support `no_autoprops` argument to Client.add(). (Jelmer Vernooij)
44
45    * Support `ignore_ancestry` and `send_copyfrom_args` arguments to RemoteAcess.do_switch.
46      (Jelmer Vernooij)
47
48    * Support `old_value` argument to RemoteAccess.change_rev_prop().
49      (Jelmer Vernooij)
50
51    * Support `include_externals` argument to Client.list(). (Jelmer Vernooij)
52
53    * Support `expand_keywords` argument to Client.cat(). (Jelmer Vernooij)
54
55    * Support `revprops` argument to Client.delete(). (Jelmer Vernooij)
56
57  BUG FIXES
58
59    * Avoid using deprecated svn_path_canonicalize(). (Jelmer Vernooij)
60
61 0.9.3   2015-08-23
62
63   BUG FIXES
64
65    * Disable tests probing for nonexistant paths in FS, as this causes
66      a crash in newer versions of libsvn_repos.
67      (Jelmer Vernooij)
68
69 0.9.2   2015-04-25
70
71   BUG FIXES
72
73    * Support failing server certification check. (Mitsuhiro Koga, #1059821)
74
75   CHANGES
76
77    * Drop support for Python versions before 2.6. (Jelmer Vernooij)
78
79   IMPROVEMENTS
80
81    * Support PYDOCTOR_OPTIONS in Makefile. (Jelmer Vernooij)
82
83 0.9.1   2013-05-06
84
85  CHANGES
86
87   * For the moment, disable subvertpy.wc.WorkingCopy when used with Subversion 1.7.
88     Subversion 1.7 has some significant changes in the behaviour of
89     the working copy API because of the WC-NG rewrite.
90
91     Support for the WC API in newer versions of Subversion will be re-added later
92     (help welcome), but since most users (bzr-svn is the only I'm aware of)
93     don't seem to actually rely on it, it seemed better to disable it and
94     support 1.7 than to prevent use of newer svn versions altogether.
95
96     (Jelmer Vernooij)
97
98  TESTS
99
100   * Fix TestClient.test_info when run against Subversion 1.6. (Jelmer Vernooij)
101
102  BUG FIXES
103
104   * Use PyObject_AsFileDescriptor instead of PyFile_AsFile so
105     apr_file_from_object works under Win32. (Yonggang Luo)
106
107 0.9.0   2012-07-08
108
109  IMPROVEMENTS
110
111   * Some fixes to help with porting to Python 3. (Yonggang Luo)
112
113   * Add bindings for svn.client.Client.info(), svn.client.Client.log() and
114     svn.client.Client.cat(). (Mark Lee)
115
116   * Add constant ERR_WC_UPGRADE_REQUIRED. (Jelmer Vernooij)
117
118   * In Client.checkout, default to HEAD revision. (Jelmer Vernooij)
119
120  TESTS
121
122   * Remove readonly files properly in tests.  (Yonggang Luo, #943131)
123
124  DOCUMENTATION
125
126   * Update documentation for building on Windows. (Yonggang Luo)
127
128  BUG FIXES
129
130   * Include *.c files in MANIFEST. (#951060, Shlomi Fish)
131
132 0.8.10  2012-01-23
133
134  BUG FIXES
135
136   * Fix test suite on Cygwin. (Ronald Blaschke)
137
138   * Support windows-cryptoapi on Cygwin. (Ronald Blaschke)
139
140   * Include wc.h in wc.c. FIxes build on NetBSD 5.1/amd64.
141     (#894659)
142
143 0.8.9   2011-10-25
144
145  BUG FIXES
146
147   * Fix compilation with Python 2.4 and 2.5. (Jelmer Vernooij, #860621)
148
149  FEATURES
150
151   * Add constant ERR_WC_NODE_KIND_CHANGE. (Jelmer Vernooij)
152
153 0.8.8   2011-09-27
154
155  BUG FIXES
156
157   * Fix several memory leaks and error checks in subvertpy.client
158     pointed out by Barry Warsaw. (Jelmer Vernooij)
159
160   * Drop broken code to support loading configuration from has.
161     (Jelmer Vernooij)
162
163   * WorkingCopy.prop_set() now accepts None as a value,
164     removing a properties. (Jelmer Vernooij)
165
166  FEATURES
167
168   * Add constant ERR_BAD_FILENAME. (Jelmer Vernooij)
169
170 0.8.7   2011-09-19
171
172  BUG FIXES
173
174   * Fix revnum types in subvertpy.repos.Repos.verify_fs().
175     (Jelmer Vernooij)
176
177 0.8.6   2011-09-19
178
179  FEATURES
180
181   * Allow passing in log_msg_func when creating subvertpy.client.Client.
182     (Jelmer Vernooij)
183
184   * subvertpy.client.Client.update now accepts keyword arguments.
185     (Jelmer Vernooij)
186
187   * Editors will now raise an exception if the protocol is not followed;
188     children have to be closed before their parents are accessed again.
189     (Jelmer Vernooij)
190
191   * Add constant ERR_DIR_NOT_EMPTY. (Jelmer Vernooij)
192
193   * Add constant ERR_FS_ROOT_DIR. (Jelmer Vernooij)
194
195   * Add `subvertpy.repos.Repository.verify_fs`. (Jelmer Vernooij)
196
197   * Add `subvertpy.repos.Repository.pack_fs`. (Jelmer Vernooij)
198
199  BUG FIXES
200
201   * Fix memory leak in subvertpy.client.Client.list.
202     (Wez Furlong)
203
204   * Fix double free of apr pools from subverty.repos.Repos.fs.
205     (Roland Mas, Jelmer Vernooij, #853960)
206
207 0.8.5   2011-08-21 "boomerang arrow"
208
209  BUG FIXES
210
211  * Fix compatibility with python < 2.6, where T_BOOL is not available.
212    (Jelmer Vernooij, #829993)
213
214 0.8.4   2011-08-18 "mimic octopus"
215
216  FEATURES
217
218   * Fix argument count in subvertpy.client.Client.export. (Jelmer Vernooij, #820662)
219
220   * Add subvertpy.wc.WorkingCopy.status. (Mark Lee)
221
222 0.8.3   2011-07-24 "manual override"
223
224  BUG FIXES
225
226   * Fix memory management in subvertpy.ra.Auth. (Jelmer Vernooij)
227
228   * Fix type for revnum in process_committed_queue. (Jelmer Vernooij, #730931)
229
230   * Fix double free when calling close() more than once on editor objects.
231     (Jelmer Vernooij)
232
233   * Fix too early free during iter_log. (Jelmer Vernooij)
234
235   * Prevent freeing the RemoteAccess object before any
236     individual request frees. Thanks very much to Steve Langasek for the help
237     debugging this! (Jelmer Vernooij, #803353)
238
239   * Error out properly when editor objects are used after they are closed.
240     (Jelmer Vernooij)
241
242  FEATURES
243
244   * Add constant ERR_BAD_PROPERTY_VALUE. (Jelmer Vernooij)
245
246 0.8.2   2011-06-17 "mathematically annoying"
247
248  BUG FIXES
249
250   * Abort immediately if a callback raises an exception.
251     (Jelmer Vernooij)
252
253   * Fix leaking of error objects. (Jelmer Vernooij)
254
255 0.8.1   2011-06-02 "ornithologic reptile"
256
257  FEATURES
258
259   * Add subvertpy.wc.WorkingCopy.conflicted. (Jelmer Vernooij)
260
261   * Add subvertpy.wc.WorkingCopy.resolved_conflict. (Jelmer Vernooij)
262
263   * Add subvertpy.client.Client.mkdir. (Jelmer Vernooij)
264
265  BUG FIXES
266
267   * Fix compilation on OS X. (#728574)
268
269   * Keep reference to commit callback in editor. (Jelmer Vernooij, #732120)
270
271   * Properly check return values of PyInt_AsLong() in various places.
272
273   * Convert times and file sizes to 64 bit integer objects.
274     (Jelmer Vernooij, #786156)
275
276 0.8.0   2011-03-02 "("
277
278  FEATURES
279
280   * Add --version option to subvertpy-fast-export. (Jelmer Vernooij)
281
282   * Add basic manual page for subvertpy-fast-export. (Jelmer Vernooij)
283
284   * Automatically convert the appropriate errors to socket.gaierror.
285     (Jelmer Vernooij)
286
287   * Add subvertpy.wc.set_adm_dir(). (Jelmer Vernooij)
288
289   * Add subvertpy.wc.WorkingCopy.has_binary_prop. (Jelmer Vernooij)
290
291   * Add subvertpy.wc.WorkingCopy.get_ancestry. (Jelmer Vernooij)
292
293   * Add subvertpy.wc.WorkingCopy.maybe_set_repos_root.
294     (Jelmer Vernooij)
295
296   * Add subvertpy.wc.WorkingCopy.add_repos_file.
297     (Jelmer Vernooij)
298
299   * Add subvertpy.wc.WorkingCopy.mark_missing_deleted.
300     (Jelmer Vernooij)
301
302   * Add subvertpy.wc.WorkingCopy.remove_from_revision_control.
303     (Jelmer Vernooij)
304
305   * Add subvertpy.wc.WorkingCopy.relocate. (Jelmer Vernooij)
306
307   * Add subvertpy.wc.WorkingCopy.crop_tree. (Jelmer Vernooij)
308
309   * Add subvertpy.wc.WorkingCopy.translated_stream. (Jelmer Vernooij)
310
311   * Add subvertpy.wc.WorkingCopy.text_modified. (Jelmer Vernooij)
312
313   * Add subvertpy.wc.WorkingCopy.props_modified. (Jelmer Vernooij)
314
315   * Add subvertpy.wc.CommittedQueue. (Jelmer Vernooij)
316
317   * Add subvertpy.wc.get_actual_target. (Jelmer Vernooij)
318
319   * Add subvertpy.wc.WorkingCopy.is_wc_root. (Jelmer Vernooij)
320
321   * Add subvertpy.wc.WorkingCopy.transmit_text_deltas. (Jelmer Vernooij)
322
323   * Add subvertpy.wc.WorkingCopy.transmit_prop_deltas. (Jelmer Vernooij)
324
325   * Add subvertpy.wc.WorkingCopy.probe_retrieve, subvertpy.wc.WorkingCopy.retrieve.
326     (Jelmer Vernooij)
327
328   * Add subvertpy.wc.WorkingCopy.probe_try. (Jelmer Vernooij)
329
330   * Add subvertpy.client.export. (Jelmer Vernooij)
331
332  DEPRECATIONS
333
334   * ERR_UNKNOWN_HOSTNAME and ERR_EAI_NONAME are deprecated
335     and will be removed in the next version of subvertpy.
336     Instead, subvertpy will raise socket.gaierror.
337     (Jelmer Vernooij)
338
339   * Use svn_fs_paths_changed2() if available. (Jelmer Vernooij)
340
341  BUG FIXES
342
343   * Fix handling of DST in time_from_cstring. (Max Bowsher, #656226)
344
345   * Re-using a WorkingCopy object after calling close() on it
346     now raises an exception rather than trigger a segfault.
347     (Jelmer Vernooij)
348
349   * Fix type mismatch in svn.ra.get_dir(). (Jelmer Vernooij, #686663)
350
351   * Cope with trailing slash being specified to subvertpy.wc.revision_stats().
352     (Ronny Pfannschmidt)
353
354  API BREAKS
355
356   * WorkingCopy.entry() will now raise KeyError if the specified entry was not found.
357     (Jelmer Vernooij)
358
359 0.7.5   2010-10-26
360
361  BUG FIXES
362
363   * Fix compatibility with Subversion 1.4 and 1.5. (Max Bowsher)
364
365 0.7.4   2010-09-25
366
367  FEATURES
368
369   * Add constants ERR_APR_OS_START_EAIERR and ERR_APR_OS_ERRSPACE_SIZE.
370     (Jelmer Vernooij)
371
372   * Implement subvertpy.wc.match_ignore_list. (Jelmer Vernooij)
373
374   * Add subvertpy.ra.RemoteAccess.iter_log(). (Jelmer Vernooij)
375
376   * Add subvertpy.wc.STATUS_* constants. (Jelmer Vernooij)
377
378   * Add subvertpy.wc.api_version(), subvertpy.ra.api_version().
379     (Dan Villiom Podlaski Christiansen, Jelmer Vernooij)
380
381  DEPRECATION
382
383   * Avoid deprecation warnings for svn.client.Client.copy,
384         svn.client.Client.propset, svn.client.Client.propget,
385         svn.client.Client.do_update.
386     (Jelmer Vernooij)
387
388   * Avoid deprecation warnings for svn.ra.RemoteAccess.do_update,
389         svn.ra.RemoteAccess.do_switch, svn.ra.RemoteAccess.do_diff.
390     (Jelmer Vernooij)
391
392   * Avoid deprecation warnings for svn.wc.WorkingCopy.propset,
393         svn.wc.WorkingCopy.walk_entries,
394         svn.wc.WorkingCopy.add, svn.wc.WorkingCopy.close,
395         svn.wc.WorkingCopy.crawl_revisions,
396         svn.wc.WorkingCopy.update_editor,
397         svn.wc.ensure_adm.
398     (Jelmer Vernooij)
399
400  * Add ERR_ENTRY_NOT_FOUND constant. (Jelmer Vernooij)
401
402  * Add subvertpy.ra.RemoteAccess.get_url(). (Dan Villiom Podlaski Christiansen)
403
404  BUG FIXES
405
406   * Fix compilation using Visual C++. 
407     (Ronald Blaschke, #612056)
408
409   * Return an empty dictionary rather than None when there are no revision
410     properties.  (Jelmer Vernooij)
411
412   * Link against all libraries that are somehow called.
413     (Daniel Johnson, Jelmer Vernooij, #615015)
414
415   * Include check for apr util headers. (Jelmer Vernooij, #615017)
416
417   * Fix reference leaks in Auth and SubversionException handling.
418     (Jelmer Vernooij, #436406)
419
420   * Canonicalize paths in subvertpy.ra.RemoteAccess.get_locations(). 
421     (Jelmer Vernooij)
422
423 0.7.3.1    2010-07-27
424
425  BUG FIXES
426
427   * Fix compilation against Subversion 1.5. (Jelmer Vernooij)
428
429 0.7.3    2010-07-21
430
431  BUG FIXES
432
433   * Canonicalize paths to subvertpy.wc.check_wc. (Ronny Pfannschmidt)
434
435   * Canonicalize paths to subvertpy.repos.Repos. (Dan Villiom Podlaski
436                                                   Christiansen)
437
438   * Cope with leading slashes in paths. (David Wolever, #527239)
439
440   * Various methods are now a bit more liberal in accepting any
441     sort of sequence rather than explicitly requiring lists.
442     (Jelmer Vernooij)
443
444  FEATURES
445
446   * Implement subvertpy.client.Client.diff. (Dan Villiom Podlaski Christiansen,
447                                        Jelmer Vernooij)
448
449   * Support ``revprops`` argument to subvertpy.client.Client.commit. 
450     (Jelmer Vernooij)
451
452   * Implement subvertpy.wc.get_pristine_contents(). (Jelmer Vernooij)
453
454   * Use better error messages when possible. 
455     (Dan Villiom Podlaski Christiansen)
456
457   * Implement subvertpy.ra.get_platform_specific_client_providers().
458     (Dan Villiom Podlaski Christiansen)
459
460 0.7.2    2010-01-03
461
462  BUG FIXES
463
464   * Fix inconsistencies between PyArg_ParseTuple arguments and variables, 
465     which caused crashes on some 64-bit platforms. (Václav Slavík, #488780)
466
467   * Add constant for ERR_NODE_UNKNOWN_KIND. (Dan Villiom Podlaski Christiansen)
468
469   * Add svn.client.proplist() binding. (Dan Villiom Podlaski Christiansen,
470                                         Jelmer Vernooij)
471
472   * Add svn.client.list() binding. (Dan Villiom Podlaski Christiansen, 
473                                     Jelmer Vernooij)
474
475 0.7.1    2009-10-20
476
477  BUG FIXES
478
479   * Fix APR include path on Windows. (Ronald Blaschke, #456321)
480
481 0.7.0    2009-10-20
482
483  FEATURES
484
485   * Add definition for ERR_EAI_NONAME. (John Szakmeister)
486
487   * Add subvertpy.repos.FileSystem methods: youngest_revision, revision_root, 
488     revision_proplist.  (Jelmer Vernooij)
489
490   * Add subvertpy.repos.{delete,Repository.has_capability,hotcopy}.
491     (Jelmer Vernooij)
492
493   * Add subvertpy-fast-export script, based on svn-fast-export.py by Chris Lee 
494     included with bzr-fast-import. (Jelmer Vernooij)
495
496 0.6.9    2009-09-10
497
498  BUG FIXES
499
500   * Cope with leading slashes in paths specified to 
501     subvertpy.ra.RemoteAccess.get_{dir,file}(). Thanks Ronny for the bugreport.
502     (#405713)
503  
504   * Don't send too large svndiff windows as newer versions of libsvn 
505     will barf. (CVE2009-2411, #413113)
506
507 0.6.8    2009-06-18
508
509  FEATURES
510
511   * Support svn.client.Client.delete(keep_local=True)
512
513   * Support svn.wc.WorkingCopy.delete(keep_local=True)
514
515   * Define ERR_RA_DAV_FORBIDDEN.
516
517 0.6.7    2009-06-01
518
519  BUG FIXES
520  
521   * Replace PyExc_ArgumentError with PyExc_TypeError.
522
523   * Fix compilation with MSVC++.
524
525  FEATURES
526
527   * Support RemoteAccess.stat.
528   
529   * Support svn.client.add(parents=false)
530
531   * Support uuid argument to svn.ra.RemoteAccess().
532
533 0.6.6    2009-05-04
534
535  FEATURES
536
537   * wc.Entry.uuid is now provided
538
539   * New error code ERR_MALFORMED_FILE.
540
541  BUG FIXES
542
543   * Fix RemoteAccess against http:// without an auth baton.
544
545   * Cope with invalid arguments to Auth(). (#347155)
546
547   * Support svn.client.resolve.
548
549   * Allow non-canonical paths to some working copy methods
550
551   * Fixed uninitialized memory bug when reading configuration.
552
553 0.6.5    2009-03-07
554
555   FEATURES
556
557    * Add subvertpy.wc.cleanup()
558
559    * Split out subvertpy.delta.txdelta_apply_window.
560
561   Relicensed to LGPLv2.1 or later.
562
563 0.6.4    2009-02-17
564
565  BUG FIXES
566
567   * Fix reference counting for progress callback in RemoteAccess.
568
569   * Fix several (major) object leaks. 
570
571 0.6.3    2009-02-12
572
573   FEATURES
574
575    * Add svn:original-date constant.
576
577 0.6.2    2009-02-10
578
579  BUG FIXES
580
581   * Install Windows binaries to the right directory. (#323276)
582
583   * Fix import of warn().
584
585  FEATUREs
586
587   * Add WorkingCopy.remove_lock(path)
588
589 0.6.1    2009-01-25
590
591  API BREAKS
592
593  * subvertpy.properties.diff() now returns not just the new property value
594    but a tuple with the old property value and the new property value.
595
596  BUG FIXES
597
598  * Fixed bdist_rpm. (#311712)
599
600  * Fixed segfault when unsetting property values. (#319313)
601
602  * Allow non-canonical path arguments in subvertpy.wc.WorkingCopy()
603
604  * Convert APR-based OSError properly. (#323548)
605
606 0.6        2009-01-13
607
608  Initial release.