ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
472
|
Fri Feb 13 21:50:59 2004 |
| Fergus Lynch | flynch@alternativenetworks.com | | Linux | Windows | Mac OSX | ELOG V2.5.0 | Re: Behaviour of text when using "quote marks" in header fields |
> Like this one ^^^ ???
>
> I'm joking! I fixed the bug and updated the elogd server. Please find the new
> version under CVS.
>
> - Stefan
Blimey! That was quick!
Many thanks for amending this. You'll be pleased to hear that my IT Operations
Team think this is the best thing since sliced bread...its going to replace a
blizzard of spreadsheets.
Cheers
Fergus |
471
|
Fri Feb 13 21:50:09 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | | Linux | 2.5.0 | Re: segmentation fault |
This problem has been fixed recently. The new code is
/* special case: "Change %s" */
if (strstr(orig, "Change ") && strcmp(orig, "Change %s") != 0) {
sprintf(result, loc("Change %s"), orig + 7);
return result;
}
Alternatively you can get the updated version from CVS.
- Stefan |
470
|
Fri Feb 13 21:34:57 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | | Linux | Windows | Mac OSX | ELOG V2.5.0 | Re: Behaviour of text when using "quote marks" in header fields |
Like this one ^^^ ???
I'm joking! I fixed the bug and updated the elogd server. Please find the new
version under CVS.
- Stefan |
469
|
Fri Feb 13 12:25:15 2004 |
| Heiko Scheit | h.scheit@mpi-hd.mpg.de | | Linux | 2.5.0 | -W -Wall options (using gcc) |
Maybe consider using the options -W -Wall when compiling elogd.
There are several warning messages. |
468
|
Fri Feb 13 12:21:25 2004 |
| Heiko Scheit | h.scheit@mpi-hd.mpg.de | | Linux | 2.5.0 | elog (not elogd) submit does not work anymore |
Somehow elog does not use the -s option (subdir) anymore,
resulting in a 'HTTP/1.1 404 Not Found' error.
For now I am using elog from version 2.3.9 together with elogd v2.5.0,
which seems to work OK. |
467
|
Fri Feb 13 12:18:19 2004 |
| Heiko Scheit | h.scheit@mpi-hd.mpg.de | | Linux | 2.5.0 | segmentation fault |
Around line 2240 (in loc()) in elogd.c the following is written,
which results in an infinite loop, since loc() recursively with
the same argument "Change %s".
/* special case: "Change %s" */
if (strstr(orig, "Change ")) {
sprintf(result, loc("Change %s"), orig + 7);
return result;
}
For now I just commented these lines. |
466
|
Wed Feb 11 15:06:38 2004 |
| Fergus Lynch | flynch@alternativenetworks.com | | | ELOG V2.5.0 | Behaviour of text when using quote marks in header fields |
Hi,
First off let me say what an excellent program, simple yet powerful...
I've noticed some erratic behaviour when using "quote marks" in header
fields. Basically all text to the right of a " disappears. Try adding an
entry with quote marks or replying to this post.
Presume this is a bug.
Keep up the good work
Fergus |
465
|
Wed Feb 4 12:00:14 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | Other | Linux | Windows | Mac OSX | Other | 2.5.0 | Re: Javascript for Bookmark Link for one-click submission to elog |
I find this script very nice. Indeed JavaScript can be very powerful to do such
things. I added some JavaScript support to the elogd server itself. If one opens
the "New" page like
http://localhost/demo/?cmd=New&js=test.js
then the JavaScript "test.js" (which has to be present in
themes/default/test.js) gets inserted into the page header and executed. This
can be used to add custom form validation, which is more powerful than the built
in checking if required attributes are present.
Then I tried to redo the bookmark script with the new method. A server-side
script has of course more space than just a bookmark. I started with a bookmark
like:
javascript:window.open("http://localhost/demo/?cmd=New&js=test.js");
which even works on IE6. The script "test.js" contains:
function a()
{
var d=opener.document;
alert("test.js");
alert(d.location.href);
alert(d.getSelection());
}
a();
While the first alert() works, the others fail. It seems like the "opener"
method does not correctly dereference the right window. If anybody has some
idea, please let me know.
The new version of elogd which supports the "js=" command can be found here:
http://midas.psi.ch/cgi-bin/cvsweb/elog/src/elogd.c?rev=1.235 |