[MERGE] win98 support
Alexander Belchenko
bialix at ukr.net
Wed Jan 31 12:48:37 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This patch provide support for OS Windows 98.
bzr already mostly works on win98 but have some
incompatibility in the methods how bzr determine
some info about platform itself.
This patch change and fix next things:
1) get home location to store .bzr.log. Now it try to store .bzr.log
on any Windows in My Documents folder. I hope it will simplify things a bit.
2) get location to store and retrieve configuration files (bazaar.conf,
locations.conf; default folder with plugins)
3) auto_user_id rely on Win32 API in first place, and only fall back
to environment variables in exclusive case.
4) fix some problems (related to win98) with win32 installers.
As result this patch raise one strong dependency for Windows:
bzr need to have ctypes installed. Note that Python 2.5 ships
with ctypes inside. Also note that Python 2.5 is the last
release that supports Windows 98.
I test it on the win98 machine that I have access to.
On demand I can upload new standalone installer with win98
support for testing by people on their machines.
Here the log of changes:
2246 Alexander Belchenko 2007-01-30
win32utils: Windows-specific functions that use Win32 API via ctypes
2247 Alexander Belchenko 2007-01-30
trace.py: open_tracefile(): win98-compatible detection of location for .bzr.log
It's also change default location of .bzr.log on Windows 2000/XP as well:
now it in user's My Documents folder, so it's much better
for users without administarator priveleges.
Also workaround win32-specific issue with file.tell().
2248 Alexander Belchenko 2007-01-30
config.py: changing _auto_user_id() and config_dir() to use functions from win32utils
2249 Alexander Belchenko 2007-01-30
setup.py: fix plain 'python setup.py install' for win98
2250 Alexander Belchenko 2007-01-30
bzr-win32-bdist-postinstall.py: good win98 support
2251 Alexander Belchenko 2007-01-30
osutils.py: terminal_width() now use win32utils.get_console_size()
2252 Alexander Belchenko 2007-01-31
standalone installer: win98 support
2253 Alexander Belchenko 2007-01-31
bzr_postinstall.py: on win98 path added to autoexec.bat should have 8.3 form
- --
Alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFwJAlzYr338mxwCURAsrzAJ0R/O9ZDmc4ty0HtaP7dpYq2eyaVACdGmsm
bpzcTHYr31iJ8Mkh7yGuKTw=
=Un6z
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: win98.support.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20070131/2faddf12/attachment-0001.diff
More information about the bazaar
mailing list