5890c67d86 2007-09-21 jnc: Notes: Porting fossil to win32 5890c67d86 2007-09-21 jnc: ====================================================================== 5890c67d86 2007-09-21 jnc: 5890c67d86 2007-09-21 jnc: Setting up my build environment: 5890c67d86 2007-09-21 jnc: ---------------------------------------------------------------------- 5890c67d86 2007-09-21 jnc: 5890c67d86 2007-09-21 jnc: Install: 5890c67d86 2007-09-21 jnc: MinGW 5.1.3 5890c67d86 2007-09-21 jnc: MSYS 1.0.10 5890c67d86 2007-09-21 jnc: 5890c67d86 2007-09-21 jnc: Download/compile/install zlib (configure --prefix=/mingw) 5890c67d86 2007-09-21 jnc: Download/compile/install tclsh (configure --prefix=/) (for tests) 5890c67d86 2007-09-21 jnc: 5890c67d86 2007-09-21 jnc: All commands were issued in the MSYS shell, not a cmd.exe 5890c67d86 2007-09-21 jnc: c7278fd013 2007-09-22 jnc: c7278fd013 2007-09-22 jnc: c7278fd013 2007-09-22 jnc: Outstanding Issues: c7278fd013 2007-09-22 jnc: ---------------------------------------------------------------------- c7278fd013 2007-09-22 jnc: c7278fd013 2007-09-22 jnc: * server is totally non-functional - #if/#end'd out of the code c7278fd013 2007-09-22 jnc: * remote network operations are reporting: can't resolve host name: xyz c7278fd013 2007-09-22 jnc: c7278fd013 2007-09-22 jnc: Winsock must be initialized before using: c7278fd013 2007-09-22 jnc: c7278fd013 2007-09-22 jnc: WSADATA info; c7278fd013 2007-09-22 jnc: if (WSAStartup(MAKEWORD(1,1), &info) != 0){ c7278fd013 2007-09-22 jnc: fossil_panic("can't initialize winsock"); c7278fd013 2007-09-22 jnc: } c7278fd013 2007-09-22 jnc: c7278fd013 2007-09-22 jnc: c7278fd013 2007-09-22 jnc: c7278fd013 2007-09-22 jnc: Commands status: c7278fd013 2007-09-22 jnc: ---------------------------------------------------------------------- c7278fd013 2007-09-22 jnc: c7278fd013 2007-09-22 jnc: add OK c7278fd013 2007-09-22 jnc: cgi Not tested c7278fd013 2007-09-22 jnc: changes OK c7278fd013 2007-09-22 jnc: checkout BAD #1 c7278fd013 2007-09-22 jnc: clean OK c7278fd013 2007-09-22 jnc: clone Local Only #2 c7278fd013 2007-09-22 jnc: close OK c7278fd013 2007-09-22 jnc: commit OK (not tested with gpg signing yet) c7278fd013 2007-09-22 jnc: config OK c7278fd013 2007-09-22 jnc: deconstruct OK c7278fd013 2007-09-22 jnc: del OK c7278fd013 2007-09-22 jnc: descendents OK c7278fd013 2007-09-22 jnc: diff OK c7278fd013 2007-09-22 jnc: extra OK c7278fd013 2007-09-22 jnc: help OK c7278fd013 2007-09-22 jnc: http Not Tested c7278fd013 2007-09-22 jnc: info OK c7278fd013 2007-09-22 jnc: leaves OK c7278fd013 2007-09-22 jnc: ls OK c7278fd013 2007-09-22 jnc: merge OK c7278fd013 2007-09-22 jnc: new OK c7278fd013 2007-09-22 jnc: open OK c7278fd013 2007-09-22 jnc: pull BAD #2 c7278fd013 2007-09-22 jnc: push BAD #2 c7278fd013 2007-09-22 jnc: rebuild OK (didn't have a corrupt file to try on though) c7278fd013 2007-09-22 jnc: redo BAD #3 c7278fd013 2007-09-22 jnc: rm OK c7278fd013 2007-09-22 jnc: server BAD #2,#4 c7278fd013 2007-09-22 jnc: status OK c7278fd013 2007-09-22 jnc: sync BAD #2 c7278fd013 2007-09-22 jnc: timeline OK c7278fd013 2007-09-22 jnc: tkdiff OK c7278fd013 2007-09-22 jnc: undo OK c7278fd013 2007-09-22 jnc: update OK c7278fd013 2007-09-22 jnc: user capabilities OK c7278fd013 2007-09-22 jnc: user default OK c7278fd013 2007-09-22 jnc: user list OK c7278fd013 2007-09-22 jnc: user new OK c7278fd013 2007-09-22 jnc: user password OK c7278fd013 2007-09-22 jnc: c7278fd013 2007-09-22 jnc: #1 Have a repo where I removed a file. I did a fossil checkout 123abc, c7278fd013 2007-09-22 jnc: which is the last version that had the file. The file does not c7278fd013 2007-09-22 jnc: appear. fossil checkout --force 123abc does things, but still the c7278fd013 2007-09-22 jnc: file does not appear. c7278fd013 2007-09-22 jnc: c7278fd013 2007-09-22 jnc: Make a new dir, fossil open ../repo.fsl && fossil checkout 123abc and c7278fd013 2007-09-22 jnc: the file appears. c7278fd013 2007-09-22 jnc: c7278fd013 2007-09-22 jnc: Is that normal operation? c7278fd013 2007-09-22 jnc: c7278fd013 2007-09-22 jnc: #2 No socket operations are functioning yet c7278fd013 2007-09-22 jnc: c7278fd013 2007-09-22 jnc: #3 In test1/ I edited a file, test2/ I updated, type file.txt changes c7278fd013 2007-09-22 jnc: were there. I then did fossil undo file.txt. The changes were gone c7278fd013 2007-09-22 jnc: and fossil status said I had edited file.txt. A fossil redo did not c7278fd013 2007-09-22 jnc: print anything to the screen and the changes for file.txt are not c7278fd013 2007-09-22 jnc: in the file. fossil status still reports that the file was edited. c7278fd013 2007-09-22 jnc: There was no commit/update or any other command inbetween these c7278fd013 2007-09-22 jnc: actions. c7278fd013 2007-09-22 jnc: c7278fd013 2007-09-22 jnc: #4 There were various difficulties in this function beyond simple socket c7278fd013 2007-09-22 jnc: problems. The major one being fork. This will probably be the last c7278fd013 2007-09-22 jnc: command to be functional in fossil on windows.