PDA

View Full Version : (split from) s3pe Package Editor - Updated 12 January -- reverted to 13 December


pljones
10th Jan 2010, 11:56 AM
1001-10-1133 -- latest rev: 429

(Note, this has a minor fix since the dbc test version. Please download it again if you were using that earlier version.)

VPXY Resource Editor:
Start centred on screen
Use s3pi.DemoPlugins.RunHelper.Run()
Improve a couple of error messages
Don't lose the FTPT TGI Block for modular resources!
Only first BoundingBox field had a value changed handler - fixed
OK Button disabled until (a) the resource changes, (b) there are some TGI blocks and (c) if it's Modular, there a TGI selected for the FTPT
Don't crash if FTPT TGI index is invalid
Remove resource change handler whilst saving, as saving updates the resource, causing a call to the change handler, which then corrupts the save
Get Linked Part entry IDs correct (they start from 1, not zero)
Always add the FTPT TGI to the end of the list, regardless of whether it's in there elsewhere and set the FTPT index to point to it
When renumbering the lists of parts, keep the numbers pointing to the right TGI blocks and keep the Tab order correct
Provide a means to renumber the list of linked parts
Enabled status of move buttons tracks whether they can be used
Common Move Up/Down routines to move entries in the lists of parts
Adding or deleting a linked part renumbers the list of linked parts
Bounding box value changes were handled wrongly (given how the VPXY wrapper is coded) - have to assign an array, rather than indivual elements
The input boxes store Decimal rather than Single/float values, so may round - check whether the float value as a Decimal matches the Decimal, rather than vice versa


OBJK Resource Editor:
Use s3pi.DemoPlugins.RunHelper.Run()
Use TGIBlockCombo

STBL Resource Editor:
Use s3pi.DemoPlugins.RunHelper.Run()

ViewDDS
Rewrite Program.cs to follow RunHelper.cs model.

Grid:
NewGridForm.cs: NewGridForm(AApiVersionedFields) constructor to call NewGridForm(AApiVersionedFields, bool).
NewGridForm.cs: Only the Add button's visibility is dependent upon being able to add to a list.
NewGridForm.cs: new Copy button's Enabled state to track the Delete button's.
NewGridForm.cs: new Copy button Click handler (similar to Add button)
NewGridForm.cs: Add button click handler: remove unused "count"
NewGridForm.cs: Add button click handler: select the newly added resource
NewGridForm.cs: Add button click handler: fix display of Exceptions
NewGridForm.cs: Correct link to devel forum
NewGridForm.Designer.cs: New Copy button
S3PIPropertyGrid.cs: Expandable lists should also have [...] button.
S3PIPropertyGrid.cs: IDictionaryCTD: IDictionaryEditor: EditValue: call Add(..) with "bare" constructor arguments (do not create an object)
S3PIPropertyGrid.cs: AsKVP: tidy up "contentFields" - do not need a static class constructor
S3PIPropertyGrid.cs: AsKVP: Standardize AHandlerElement constructor argument lists and add a constructor that accepts an AsKVP
S3PIPropertyGrid.cs: AsKVP: amend Clone(..) to call constructor passing "this"
S3PIPropertyGrid.cs: AsKVPList: amend Add() to call Add(..) with "bare" constructor arguments (not create an object)

MainForm
Fix display of Exceptions in the preview pane.
Resource->Import->As dbc... feature added.

Inge Jones
10th Jan 2010, 12:05 PM
In English, this addresses the following main issues:

1) the request for copying blocks in the Grid has been implemented
2) data is no longer passed to external editors on the clipboard, by default. This has changed some syntax in helpers.txt, so if you maintain your own version, please read the Help to see how it has changed.

pljones
10th Jan 2010, 05:50 PM
1001-10-1727 -- latest rev: 430

Oops: infinite loop in catch{} code; fix and update to provide stack trace.

pljones
12th Jan 2010, 05:37 PM
Apologies. Due to problems with the s3pi library, s3pe has been reverted to an earlier version. Please use 0912-13-1729 - redownload (if needed) and reinstall.

Inge Jones
12th Jan 2010, 05:39 PM
And you should redo any work yuo made with the faulty release, sorry.