logo       

[patch #5704] Data New/Open/Save: msg#00056

statistics.pspp.devel

Subject: [patch #5704] Data New/Open/Save


URL:
<http://savannah.gnu.org/patch/?5704>

Summary: Data New/Open/Save
Project: PSPP
Submitted by: jmd
Submitted on: Tuesday 01/23/2007 at 20:28
Category: None
Item Group: None
Status: Ready For Test/Review
Assigned to: blp
Originator Email:
Open/Closed: Open
Discussion Lock: Any

_______________________________________________________

Details:

This patch re-enables the data new, open and save items in the data editor's
file menu. This time, they simply call the relevant syntax, rather than
using their own nefarious code like before.

Things to note:

0 As discussed previously, I've changed the signature of parse_cmd and added
a parse_cmd_in_state function.

0 The gui now has its own function (in helper.c) for executing syntax. It
does a couple of special things after running any syntax: a) if there's no
source (eg because the final command was NEW FILE), it generates an empty
one; b) it appends an implicit EXECUTE command. These things ensure that
there is always a source, and that the source is a flexifile and not any
other kind of source.



_______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tuesday 01/23/2007 at 20:28 Name: new-file.patch Size: 64kB By: jmd

<http://savannah.gnu.org/patch/download.php?file_id=11824>

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/patch/?5704>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise