cannot add function in package editor window/dialog
by Sven Schreiber
Hi,
I wanted to add a new function to a function package of mine (under
Windows/GUI), and I can open the dialog (the one with the arrow buttons)
and can move the new function over to the right allright.
But when I click save (or apply?) there seems to be no effect, the
function does not appear in any drop-down or other list of included
functions.
thanks,
sven
7 years, 10 months
crash with function package GUI
by Sven Schreiber
Hi,
I was given (and could confirm) the following crash recipe:
- open the function package list window
- open/execute a package and execute it via the GUI
- while the package is running (so you need to use a package that does
some long-running task, like a bootstrap) close the package list window
(not the window of the running package itself)
- after a while (I guess when the package is done, because I can see
some output) gretl crashes (OS message about terminating unexpectedly)
This was on Windows 7, recent snapshot.
thanks,
sven
7 years, 10 months
gretl git in serious disarray
by Allin Cottrell
Oof, someone (not me!) has done a premature merge of "gentest" into
master and I'm afraid the code base is seriously messed up right now.
Hopefully git is smart enough that we can pull out of this before
long. But if gretl won't build right now, you know what's happening.
Allin
7 years, 10 months
[Windows] drag&drop, open file dialogue
by Schaff, Frederik
Dear gretl developers,
gretl offers the nice opportunity to "drag & drop" files into a window to open them. A very nice feature would be the opportunity to also append files in this way. I.e. if one does have multiple files with the same structure, simply selecting all of them and dragging them to gretl to "open" the first and "append" the latter ones.
Also, I found that the "open file" dialog does allow to search for files, but only if indexation is turned on (which is in general not the case if you do use an ssd) and it is not possible to directly enter a path (or copy&paste from the explorer).
These are, of course, non-substantial suggestions for future implementations. Keep on with this great work!
Kind Regards,
Frederik
7 years, 11 months
gretl git: news, warning, invitation
by Allin Cottrell
Hello all,
News: on Monday I will merge into git master my up-till-now
"experimental" branch that allows arbitrary nesting of the
"member-of" relation in the context of function calls and
assignment. (Thanks to Sven for pointing out the previous lack of
this feature.) There follows a small sample of the sort of thing
that now works:
<hansl>
# matrix in array of matrices in array of bundles
bundles B = array(2)
matrices B[1].M = defarray(I(3), mnormal(2,2))
B[1].M[1][2:3,2:3] += 17
eval B[1].M[1]
eval B[1].M[1][2,2]
# assign to bundle members directly
bundle b
scalar b.num = 3
matrix b.mat = I(2)
# assign to array member with type spec
matrices M = array(2)
matrix M[1] = I(3) # OK
M[2] = I(4) # implicit type, OK
string M[2] = "foo" # error, wrong type for array
</hansl>
After the merge I will consider it a bug if a well-formed instance
of this sort of nesting doesn't work. (Up till now I've claimed it's
just an "unimplemented feature").
Warning: I have tested this quite thoroughly but there's no
guarantee that I haven't missed some problem, so anyone in the habit
of using gretl-git for "real" econometric work should be cautious at
first.
I've checked that the following work OK: all the "practice" scripts
packaged with gretl, all of my large and miscellaneous collection of
scripts gathered from various sources over the years, all current
function packages, and all current addons. I've also put the new
code through its paces under valgrind and have fixed all bad
accesses and memory leaks that I found in earlier drafts. There may
nonetheless be some problems that have not manifested themselves so
far.
Invitation: I'll be glad if some people are willing to test the new
code -- that's the only way we'll be able beat out remaining bugs.
For those on Windows or Mac who regularly use snapshots but don't
build from git: I'm thinking about creating snapshots from the new
code but (for a while) putting them in a new "testing" directory on
sourceforge rather than the regular "snapshots" directory. Please
let me know if this is something you might use.
Allin
7 years, 11 months