Project

General

Profile

Activity

From 05 Mar 2019 to 03 Apr 2019

03 Apr 2019

17:14 Support #1268: Documentation for how to write a CoCoA package
I can make some notes based on the questions I've been asked.
These notes could form a basis for a better guide; b...
John Abbott
17:12 Support #1268 (Closed): Documentation for how to write a CoCoA package
Some students here in Passau have been given the task of writing a CoCoA package, and have asked me for guidance. It... John Abbott
17:11 Design #474 (In Progress): Eliminate package BinRepr
What is the status of this issue?
The package still exists, and there is a *@BinRepr@* builtin function.
Can we d...
John Abbott
17:08 Feature #1012 (Closed): Chebyshev polynomials
This has already been done. Closing. John Abbott

02 Apr 2019

21:52 Feature #1262: Split BuiltinFunctions-CoCoALib.C into smaller files
Anna has just sent me some code with redundant @#include@ directives removed.
Most compilation times are the same. ...
John Abbott
11:50 Feature #1262: Split BuiltinFunctions-CoCoALib.C into smaller files
I believe that built-in functions (for extlibs, at least) are "registered" by constructing a global object. So the a... John Abbott

01 Apr 2019

17:30 Feature #1262: Split BuiltinFunctions-CoCoALib.C into smaller files
Indeed "duplication" is generally undesirable (as is the use of @goto@), but it may still be a good idea in certain "... John Abbott
15:27 Feature #1262: Split BuiltinFunctions-CoCoALib.C into smaller files
John Abbott wrote:
> I am very tempted to suggest modifying the macro *@DECLARE_MISSING_EXTLIB@* so that it is *inde...
Anna Maria Bigatti
11:36 Feature #1262: Split BuiltinFunctions-CoCoALib.C into smaller files
Yesterday I ran the compiler with the *@-E@* option, which just does the preprocessing steps. Since currently I do n... John Abbott

29 Mar 2019

19:23 Support #290: Which functions are defined in CoCoALibSupplement?
Anna Maria Bigatti wrote:
> @CoCoALibSupplement@ currently contains some functions for external libraries, e.g.
> [...
Anna Maria Bigatti
19:10 Support #290: Which functions are defined in CoCoALibSupplement?
@CoCoALibSupplement@ currently contains some functions for external libraries, e.g.... Anna Maria Bigatti
15:23 Feature #1262: Split BuiltinFunctions-CoCoALib.C into smaller files
I suggest putting @DECLARE_MISSING_EXTLIB@ into a smaller header file (if possible).
Then files such as @BuiltinFu...
John Abbott
14:23 Feature #1262: Split BuiltinFunctions-CoCoALib.C into smaller files
It seems that many includes in @BuiltInFunctions.H@ are useless, or useful for only a few functions. Cleaning them m... Anna Maria Bigatti
14:16 Feature #1262: Split BuiltinFunctions-CoCoALib.C into smaller files
I note also that my compilation test above was without any external libraries.
So the time to compile @BuiltinFuncti...
John Abbott

28 Mar 2019

21:37 Feature #1262: Split BuiltinFunctions-CoCoALib.C into smaller files
Here are the compilations timings for the updated computer:... John Abbott
14:22 Feature #1262: Split BuiltinFunctions-CoCoALib.C into smaller files
John Abbott wrote:
> BTW I noticed that it took quite a long time to compile @BuiltinFunctions-Normaliz.C@ even thou...
Anna Maria Bigatti
14:14 Feature #1262: Split BuiltinFunctions-CoCoALib.C into smaller files
John Abbott wrote:
> I have just checked (using fgrep) and in @BuiltinFunctions-CoCoALib.C@ there are 28 fns with va...
Anna Maria Bigatti
13:30 Feature #1262: Split BuiltinFunctions-CoCoALib.C into smaller files
I have just checked (using fgrep) and in @BuiltinFunctions-CoCoALib.C@ there are 28 fns with variable arity, and 129 ... John Abbott
10:58 Feature #1262: Split BuiltinFunctions-CoCoALib.C into smaller files
The time to compile (and link) @ex-empty.C@ was about 20s.
I tried splitting @BuiltinFunctions-CoCoALib.C@ into qu...
John Abbott

27 Mar 2019

14:39 Feature #1262: Split BuiltinFunctions-CoCoALib.C into smaller files
Do you know how much the overhead for including @library.H@ is? that is quite slow by itself.
(try compiling an @ex...
Anna Maria Bigatti
14:38 Feature #1262: Split BuiltinFunctions-CoCoALib.C into smaller files
Other compilation times:... John Abbott
14:21 Feature #1262 (In Progress): Split BuiltinFunctions-CoCoALib.C into smaller files
I tried splitting @BuiltinFunctions-CoCoALib@ into two more-or-less-equal parts.
File Time to compile...
John Abbott

26 Mar 2019

13:53 Feature #1262: Split BuiltinFunctions-CoCoALib.C into smaller files
I had a look.
I think it would make sense to separate off the functions with variable number of args.
(look for @DE...
Anna Maria Bigatti
11:39 Feature #1262: Split BuiltinFunctions-CoCoALib.C into smaller files
I hope this evening to try compiling again on the small computer, and I'll note which files gave problems with swappi... John Abbott
11:27 Feature #1262 (In Progress): Split BuiltinFunctions-CoCoALib.C into smaller files
Yesterday I tried compiling CoCoA-5 on my small computer (0.5Gbyte RAM), and it had trouble compiling @BuiltinFunctio... John Abbott

25 Mar 2019

13:57 Bug #1261 (In Progress): ASCII function
I have fixed the code in my local copy (@BuiltinFunctions.C@) so that it uses *@unsigned char@* instead of *@char@*. ... John Abbott
13:54 Bug #1261 (Closed): ASCII function
The @ascii@ function returns negative values for characters with code greater than 127.
I think it is better for n...
John Abbott
13:52 Bug #672: Emacs UI: strange string literal causes crash
This is still a bug (in emacs 26.1).
A possible solution could be to print "weird characters" using backslash+octa...
John Abbott

19 Mar 2019

17:04 Support #1258 (Closed): Manual page for CantStop
@CantStop.cpkg5@ now works. There should be a manual page at least for @PlayCantStop@.
Perhaps some of the other fn...
John Abbott
15:16 Feature #1246 (In Progress): Revive old CoCoA4 package called "cocoa5.cpkg"
John Abbott

18 Mar 2019

14:42 Feature #1246: Revive old CoCoA4 package called "cocoa5.cpkg"
Here are the aspects to be addressed next:
* how to serialize rings (_i.e._ follow previous format, but passing ring...
John Abbott
14:38 Feature #1246: Revive old CoCoA4 package called "cocoa5.cpkg"
Anna has cleaned the file so that it is syntactically OK.
Now we must look at the semantics.
John Abbott

15 Mar 2019

17:25 Feature #1236 (Feedback): Add "socket" devices
Anna prefers the longer field names. Code cleaned, and checked-in. Anna will test.
Doc updated.
John Abbott
15:41 Feature #1236: Add "socket" devices
I have updated the CoCoA-5 manual.
I have modified the code so that @OpenSocket@ returns a record with 4 fields: *...
John Abbott

12 Mar 2019

16:40 Bug #545: Compiler g++ 4.2.1 (clang-503.0.40) on MacOSX 10.9: warnings and errors
Problem with PIE (#3) resurfaced because of a line swap in configure.
Just in case it happens again:
this was solve...
Anna Maria Bigatti

07 Mar 2019

09:49 Design #83 (In Progress): C++11 compatibility questions
Anna Maria Bigatti

05 Mar 2019

16:36 Support #1252 (New): ShapeLemma: no manual entry
The CoCoA-5 test file @test-ApproxSolve.cocoa5@ calls the function @ShapeLemma@, but this function is not in the CoCo... John Abbott
 

Also available in: Atom