Re: [fossil-users] fossil sqlite3

2012-12-30 Thread Edward Berner
On 12/30/2012 10:43 PM, Michael Richter wrote: Is there any way to execute SQL statements from the command line using fossil sqlite3? The docs for this http://www.fossil-scm.org/xfer/help?cmd=sqlite3 are a bit skimpy (to say the least). Like what are the /?OPTIONS?/ mentioned, precisely?

[fossil-users] Minor changes for Check-in Names page

2012-12-31 Thread Edward Berner
Hello, A few minor suggestions for the Check-in Names wiki page (http://www.fossil-scm.org/index.html/doc/trunk/www/checkin_names.wiki): * Should it mention that prev is also accepted as a special name? * I think ckout doesn't work anymore and should be removed from the list. (See check-in

Re: [fossil-users] fossil sqlite3

2012-12-31 Thread Edward Berner
On 12/31/2012 12:24 AM, Michael Richter wrote: On 31 December 2012 15:53, Edward Berner e...@bernerfam.com mailto:e...@bernerfam.com wrote: fossil info calls it project-code but it seems to be the same thing that fossil new and fossil clone call project-id. Waitwhat? My version

[fossil-users] Fix some typos

2013-01-26 Thread Edward Berner
Hello, Here is a patch to fix a few typos. Edward Berner Index: auto.def == --- auto.def +++ auto.def @@ -195,7 +195,7 @@ define-append EXTRA_CFLAGS $cflags define-append EXTRA_LDFLAGS $ldflags define

[fossil-users] Fossil on Windows NT 4.0

2013-01-26 Thread Edward Berner
the patch with mingw32 and a few different versions of MSVC, and verified that the fossil winsrv command still works. (I sent in a contributor agreement earlier this month.) Edward Berner Index: src/winhttp.c == --- src/winhttp.c

[fossil-users] _set_errno and older MSVC

2013-01-26 Thread Edward Berner
Hello, It appears that _set_errno() was introduced in Visual C++ 2005. Here is a patch for dirent.h to keep it from using _set_errno on older Microsoft compilers. Edward Berner Index: win/include/dirent.h == --- win/include

Re: [fossil-users] I suggest a lite release of fossil so --static could be used

2013-01-31 Thread Edward Berner
libc libraries (musl libc, uclibc, dietlibc, etc.) have static linking as an explicit design goal. -- Edward Berner ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-02-01 Thread Edward Berner
(and in the files created by the fossil zip and fossil tarball commands). But they're removed by fossil close. Fossil requires the manifest and manifest.uuid files to build, so you'll need to get them back. Running fossil open again would probably do it. -- Edward Berner

Re: [fossil-users] Fossil on Windows NT 4.0

2013-02-01 Thread Edward Berner
On 1/29/2013 1:00 AM, Jan Nijtmans wrote: 2013/1/27 Edward Berner e...@bernerfam.com: I had been just commenting out the offending code, but finally got around implementing a better fix. The attached patch modifies winhttp.c to load the offending functions at run time and only call them

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-02-05 Thread Edward Berner
On 2/1/2013 3:15 PM, K. Fossil user wrote: Hello, 1/ Thank you very much Edward Berner. You rock my world. Of course, embedded system must use light libc... I've seen that some software uses dietlibc. In my point of view, static linking can be done in this area, so it will be easier to spread

[fossil-users] Statically linking Fossil with musl libc

2013-02-05 Thread Edward Berner
compat/zlib $ chmod +x ./configure $ CC=musl-gcc ./configure --static $ make $ cd ../.. $ ./configure --with-openssl=none --with-zlib=compat/zlib --static CC=musl-gcc $ make # Done. -- Edward Berner ___ fossil-users mailing list fossil-users

Re: [fossil-users] Rename --limit to --count and --test to --nochange

2013-04-24 Thread Edward Berner
On 4/23/2013 2:09 AM, Jan Nijtmans wrote: If there are other suggestions or remarks for command-line improvements, they are welcomed! Well... I've noticed that some commands use --verbose and some use --detail. Is that an accidental inconsistency or is there a deeper design principle

Re: [fossil-users] System problem leads to Fossil problem on OpenBSD/sparc64

2013-05-02 Thread Edward Berner
On 2/6/2013 3:35 AM, Richard Hipp wrote: On Wed, Feb 6, 2013 at 3:48 AM, Edward Berner e...@bernerfam.com mailto:e...@bernerfam.com wrote: (I should mention that SQLite's test suite (make test) does catch the problem. In fact it gives up after 1000 errors.) SQLite (and Fossil

Re: [fossil-users] System problem leads to Fossil problem on OpenBSD/sparc64

2013-05-02 Thread Edward Berner
On 5/2/2013 1:26 AM, Steve Bennett wrote: On 02/05/2013, at 4:54 PM, Edward Berner wrote: [...] The cc-run.tcl file allows the configure script to run code snippets at configure time. It looks like a lot of new code but it isn't really -- it is basically a lightly modified version

[fossil-users] 64 bit rowid bug?

2013-06-14 Thread Edward Berner
db_last_insert_rowid() should issue a warning or fail an assertion if the rowid is greater than INT_MAX? -- Edward Berner ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Re: [fossil-users] Problems with Fossil 1.26 for Windows

2013-06-18 Thread Edward Berner
for targeting XP from the command line. (Note that I haven't used VS2012 myself.) Windows XP Targeting with C++ in Visual Studio 2012 http://blogs.msdn.com/b/vcblog/archive/2012/10/08/10357555.aspx -- Edward Berner ___ fossil-users mailing list fossil

Re: [fossil-users] cloning / opening fails on WinXP SP3

2013-06-18 Thread Edward Berner
not successfully clone to a Windows XP SP3 system. On the Windows system it finished much faster and the resulting fossil file was only about 60 KB. I'm afraid that's all the debugging I have time to do at the moment. -- Edward Berner ___ fossil-users

Re: [fossil-users] cloning / opening fails on WinXP SP3

2013-06-19 Thread Edward Berner
On 6/18/2013 7:56 PM, Richard Hipp wrote: On Tue, Jun 18, 2013 at 10:52 PM, Edward Berner e...@bernerfam.com mailto:e...@bernerfam.com wrote: I was able to reproduce a similar behavior, and I think it has to do with the size of those files. I created a 200 MB file and a 150 MB

Re: [fossil-users] RFC: new config option

2013-06-21 Thread Edward Berner
the script access to the project-id so it could limit itself to certain repositories if desired. One drawback is that you'd have to setup your scripts by hand on each system you develop on. Just a thought. -- Edward Berner ___ fossil-users mailing

Re: [fossil-users] cloning / opening fails on WinXP SP3

2013-06-21 Thread Edward Berner
On 6/19/2013 1:25 AM, Edward Berner wrote: On 6/18/2013 7:56 PM, Richard Hipp wrote: On Tue, Jun 18, 2013 at 10:52 PM, Edward Berner e...@bernerfam.com mailto:e...@bernerfam.com wrote: I was able to reproduce a similar behavior, and I think it has to do with the size of those

Re: [fossil-users] cloning / opening fails on WinXP SP3

2013-06-21 Thread Edward Berner
On 6/21/2013 3:29 PM, Edward Berner wrote: I think I figured out part of the problem. Way down in http_socket.c, there is no error handling in socket_receive() and socket_send(). In socket_receive(), I'm seeing a -1 return from recv(), and WSAGetLastError() returns 10055 which is WSAENOBUFS

[fossil-users] Closing the diff --tk window

2013-06-22 Thread Edward Berner
-command {.t yview} -orient vertical @ pack .sb -side left -fill y @ wm deiconify . ; -- Edward Berner ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

[fossil-users] fossil new bus error on Solaris 10 SPARC with gcc

2013-07-18 Thread Edward Berner
provided gcc 3.4.3 and a locally built gcc 4.8.1. The error does not occur when using the Solaris Studio C compiler. -- Edward Berner ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo

Re: [fossil-users] fossil new bus error on Solaris 10 SPARC with gcc

2013-07-18 Thread Edward Berner
On 7/17/2013 11:24 PM, B Harder wrote: On 7/17/13, Edward Berner e...@bernerfam.com wrote: Hello, Using a recent trunk version of fossil, built with gcc on Solaris 10 on an UltraSPARC system, I get a bus error from fossil new: $ ./fossil new t.fossil Bus Error (core dumped) $ ./fossil

Re: [fossil-users] fossil new bus error on Solaris 10 SPARC with gcc

2013-07-18 Thread Edward Berner
On 7/18/2013 5:22 AM, Richard Hipp wrote: On Thu, Jul 18, 2013 at 2:12 AM, Edward Berner e...@bernerfam.com mailto:e...@bernerfam.com wrote: Hello, Using a recent trunk version of fossil, built with gcc on Solaris 10 on an UltraSPARC system, I get a bus error from fossil new

Re: [fossil-users] fossil new bus error on Solaris 10 SPARC with gcc

2013-07-18 Thread Edward Berner
On 7/18/2013 7:07 AM, Richard Hipp wrote: On Thu, Jul 18, 2013 at 9:54 AM, Edward Berner e...@bernerfam.com mailto:e...@bernerfam.com wrote: Core was generated by `./fossil new t.fossil'. Program terminated with signal 10, Bus error. #0 0x00177584 in whereLoopAddAll (pBuilder

Re: [fossil-users] fossil new bus error on Solaris 10 SPARC with gcc

2013-07-18 Thread Edward Berner
On 7/18/2013 7:54 AM, Richard Hipp wrote: On Thu, Jul 18, 2013 at 2:12 AM, Edward Berner e...@bernerfam.com mailto:e...@bernerfam.com wrote: Hello, Using a recent trunk version of fossil, built with gcc on Solaris 10 on an UltraSPARC system, I get a bus error from fossil new

Re: [fossil-users] Random thoughts on Fossil v2

2013-07-24 Thread Edward Berner
at the shunning code, though, so it is entirely possible that the above would not be feasible.) -- Edward Berner ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Re: [fossil-users] Random thoughts on Fossil v2

2013-07-24 Thread Edward Berner
. -- Edward Berner ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Re: [fossil-users] Random thoughts on Fossil v2

2013-07-24 Thread Edward Berner
to describing its traps and pitfalls (C Traps and Pitfalls by Andrew Koenig). Although an Amazon search reveals a book titled Java Puzzlers: Traps, Pitfalls, and Corner Cases so this may no longer be true. -- Edward Berner ___ fossil-users mailing list

Re: [fossil-users] Random thoughts on Fossil v2

2013-07-24 Thread Edward Berner
don't think any of them are a good fit for Fossil. -- Edward Berner ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Re: [fossil-users] Random thoughts on Fossil v2

2013-07-24 Thread Edward Berner
if (as I hope it does) Fossil chooses to remain at C89. -- Edward Berner ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Re: [fossil-users] Random thoughts on Fossil v2

2013-07-24 Thread Edward Berner
to be a usable target. -- Edward Berner ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Re: [fossil-users] Linux/Windows USB

2013-07-26 Thread Edward Berner
it to an absolute path but that changed some time ago). Also, some aspects of Windows can handle forward-slashes in filenames. So... try keeping your repository one directory above your checkout and opening it as fossil open ../repo.fossil and see if both platforms are happy with that. -- Edward

Re: [fossil-users] Memorable names for ticket IDs

2013-09-06 Thread Edward Berner
On 9/5/2013 1:39 PM, Doug Franklin wrote: These are going to get long, fast, as someone else already noted. However, in the past I've seen algorithms to generate random words that are still pronounceable, one character at a time. The trouble here is likely to be the comparative lack of vowels.

Re: [fossil-users] Memorable names for ticket IDs

2013-09-06 Thread Edward Berner
On 9/5/2013 2:41 PM, David Given wrote: I think, without a mathematical proof, that maintaining the ability to take prefixes of an encoded name will require us to use a dictionary that fits into a precise number of bits. Truncating the dictionary to 2^10 entries would be the simplest approach,

Re: [fossil-users] Fossil internal error: not found: pr

2013-09-12 Thread Edward Berner
. As an aside, in your example above you can probably open the c.fossil repository by explicitly giving the version to open, in this case trunk. ie: fossil open c.fossil trunk. Hope that helps. -- Edward Berner ___ fossil-users mailing list fossil-users

Re: [fossil-users] Intent to release version 1.29

2014-06-11 Thread Edward Berner
On 6/11/2014 8:33 AM, Stephan Beal wrote: On Wed, Jun 11, 2014 at 4:09 PM, JR jr...@saintlyreverend.com mailto:jr...@saintlyreverend.com wrote: Alternatively, you can add the location of Fossil to your PATH or the system PATH. I use chocolatey as package manager, and it creates a