Releases: Blesmol/pfscf
v0.14.0
Changelog
Added
- New content type
line
to draw lines. Can be used to configure item strikeouts in chronicle templates. - New content type
strikeout
to draw crosses to the chronicle. These can either be done by providing the center coordinates of the cross in percent and a size in points for things like checkboxes, or by providing two sets of coordinates to span an area for striking out other things like, e.g. a boon. - Generated CSV files now contain the example values for each parameter in the last column
- First templates for PFS2 Season 02 using the old season 01 layout
Changed
- Content type
rectangle
now supports an additional fieldstyle
. Currently this accepts two values,filled
andstrikeout
. Withfilled
you get the previous behavior where the rectangle area is filled with the color. Withstrikeout
a cross is placed on the area, e.g. to strike out boons. Default isfilled
if no value for fieldstyle
was provided. - All content types that can directly generate output (i.e. everything except
choice
andtrigger
) will no longer report validation errors in case they have coordinates and sizes that imply no output should be generated. For example arectangle
with a width or height of zero will generate no output. Same if e.g. thefontsize
for atextentry
is zero. This can be used to have "inactive" content entries in a parent template that will only become active if viable values are provided in a template that inherits from that one, e.g. by providing appropriate preset entries.
Commits
3fcea07 bump version to v0.14.0
7a317df templates: pfs2.s1-25
a79e7e8 templates: First templates for pfs2.s2 with old layout
b0c35dd templates: pfs2.s1-01
0e31b97 templates: pfs2.s1-00
5c276b0 print example values in CSV file in last column
bdd2dfb content: fix wrong condition on when to draw strikeout content
a4270b1 stamp: use thinner linewidth for cellbox border
3d6a91a templates: finish first feature-complete version of template pfs2.layout1
189cd0f content: rename 'checkbox' to 'strikeout'
0cb26a0 templates: content and presets for striking out pfs2 items
be29ba3 template: draw canvas borders as last action
e743363 stamp: generalize drawing strikeout areas
263e6a7 content: fix bug where resolving was finished early instead of generating
26816f7 content: unify variable naming
adbba2d content: allow more inactive content entries
524839d content: new content type 'checkbox'
40e777a content: allow inactive lines
3fbdf45 templates: strike out boons and items by crossing them off
d2d3865 content: add style support for type 'rectangle'
0d908c2 stamp: simplify saving and restoring of output style values
54ad874 stamp: functionality to draw lines
7f0c139 content: move common functionality into separate file
c867dde content: sort entryYaml switch case alphabetically
acae604 content: new content type 'line'
7b6a393 templates: rename sheet_layout1 to layout1
9bbefd3 Merge pull request #110 from tdhsmith/patch-1
fcadacf Add Mac instructions for extracting chronicle page
3a35161 param: fix multiline value explanation
v0.12.0
Changelog
Added
- Templates can now have flags. Added
hidden
flag to be able to add technical layout layers in the inheritance hierarchie that should not be displayed with thetemplate list
command. Will make things easier to handle when different layouts are in place for different seasons (else things would get messy starting with season 3 (yes, 3, not 2)) - New parameter type and content type
multiline
. Currently the content is not automatically split at line end, so this has to be done manually for the moment.
Changed
- Parameter and content entries of type
choice
can now handle multiple selections. Arguments need to be provided as comma-separated list, e.g.remove-boons=1,3
. Consequently, the field with namechoice
inside such entries was renamed tochoices
. - Added layout template
pfs2.sheet_layout1
in hierarchie between templatespfs2
andpfs2.s1
,pfs2.quests
andpfs2.specials
. This new template contains the description of the "old" layout that was used in PFS2 season 01. For season 02 and others there will be a new layout templatepfs2.sheet_layout2
. - Output of
template describe
is now grouped and sorted in a similar way to what was already done for the generated CSV files - Canvases (and their subcanvases) are now considered being "inactive" if their width or height is 0, i.e. if their
x
andx2
coordinates ory
andy2
coordinates are equal. This can be used to define inactive canvases with well-defined names in a parent template, e.g. for striking out boons, that can then easily be filled with the correct coordinates in other templates that inherit from the parent template.
Fixed
- When calling
pfscf template describe -v <template>
, then the example value for param typechoice
was missing.
Commits
a76d5bc templates: fix rightbar coordinates for last missing chronicles ofs PFS2 S1
5867de6 bump version to v0.12.0
fd3917b Merge pull request #107 from Blesmol/multiline
cf14b10 templates: Update PFS2 templates with multiline boxes
b9aabde content: new type 'multiline'
06cf0eb stamp: experimental support for multiline areas with auto-break
3274c42 param: new type 'multiline'
970fd58 prepare for parameters with multiple arg entries
72f9968 template: Improve error message when inheriting other template
66753cd param: print allowed choices when describing parameter of type 'choice'
1f358c0 param: when describing a parameter, call getter functions instead of fields
ec0cda6 preset: simplify deepCopy()
04121ec content: simplify deepCopy()
8bf9d1d content: minor code improvements
45eae62 fix code comments
9f7dbc8 content: rename choice.choice to choice.choices
445ba78 templates: striking out boons for pfs2
c04c1cc content: entries of type 'choice' now map choices to content lists, not to single content entries
c44f7d9 stamp: canvases can now be inactive
3b66f22 param: output of parameter description now grouped and sorted
03045ea templates: Add new layout-only layer to PFS2 templates
82fcfaf template: Add optional 'hidden' flag to hide technical layout inheritance
3d5a37f param: add variant of society id without first digit
363898d template: refactor and cleanup template inheritance
937e423 content: support multi-value choices
6f8f541 update 3rd party dependencies
v0.11.3
Changelog
Added
- New command line action
open
to have an easy way to open files (e.g. PDF or CSV) with their default application
Fixed
- Generated CSV files had some typos in comments
Commits
0f4f420 bump version to v0.11.3
1803829 csv: add TODO hint
6121f88 cmd: add hidden 'open' command
7320270 template: remove leftovers
v0.11.2
Changelog
Added
- New parameter type
choice
. Mostly to be used in combination with content typechoice
. - New command line flags
--offset-x <value>
and--offset-y <value>
for thefill
andbatch fill
commands to fine-tune results in case the result is slightly off.
Changed
- Template validation now happens in deterministic order, with parent templates being evaluated first
- Renamed content type
textCell
totext
for simplicity - Renamed cmd line flag
--exampleValues
to--examples
- Renamed cmd line flag
--cellBorder
to--cell-border
Fixed
- Cyclic parent relations in
canvas
entries are now recognized and lead to error messages
Commits
1792825 bump version to v0.11.2
32bc602 templates: fixed some pfs2 template coordinates
cd39e5d cmd: aligned cmd line flag naming pattern
34a437e additional cmd flags to fine-tune page offsets if necessary
596e990 canvas: align variable naming with other packages
452b3ea canvas: recognize cyclic dependencies
64235d5 template: remove debug output
6583663 content: rename 'textCell' to 'text'
b4fe7ea template: stable validation order
a2f9c23 args: align variable naming with other packages
93c3c42 args: align file naming scheme
93ae1a8 param: refactor out common non-public fields
6d5af5b param: align file naming scheme
bf5c492 templates: convert some parameters to the new 'choice' type
73e5d8f param: New parameter type 'choice'
4974c90 template: print accepted values instead of param type
01ed885 param: new interface fct AcceptedValues()
v0.11.1
Changelog
Added
- Generated CSV files now include an alphabetically sorted list of all parameters at the end of the file, including the description and example text.
pfscf batch fill
now automatically creates the specified output dir if it does not already exist.
Changed
- Generated CSV file now containes an additional column labelled "GM"
Commits
b5c99c0 Bump version to v0.11.1
62fd9b5 templates: rename param 'chronicle' to 'chronicle_nr' for clarity
1d4cc04 align naming
78bac22 template: rename WriteToCsvFile() and add GM column
95eec06 cmd: auto-create output dir for batch fill command
261b181 template: Write parameter legend to created csv files
86e2a2d templates: add scenario-specific villain to pfs2.s1-14
cfcec49 update build dependencies
v0.11.0
Changelog
Added
- CSV files generated by the batch command are now auto-opened with the program registered in the OS for CSV files. This behavior can be suppressed with a new command line switch, but is active by default.
- New parameters for pfs2 template for everything in the right chronicle bar.
Changed
- Parameter configuration in the template files has changed:
- An additional layer has been introduced to put each parameter entry into a group. For example, parameters
player
andsocietyid
are now part of group "Player Information", while parametergold
is part of group "Rewards". - Parameter entries are o longer sorted alphabetically, but by order of appearance within the CSV file.
- Together, this should greatly enhance the user experience when filling out a CSV file generated by the pfscf batch mode.
- An additional layer has been introduced to put each parameter entry into a group. For example, parameters
Fixed
- Coordinates for "sfs" template were broken
Commits
30ae185 templates: commit changes that somehow slipped through
cb1d442 bump version to v0.11.0
efa62fb templates: New parameters for PFS2
2f3b3fd templates: remove unnecessary canvases from pfs2 template again
7535bce templates: fix coordinates for Starfinder
ec70309 content: make deepCopy() easier to maintain and more robust
944624f cmd: auto-open generated CSV file
8c401ec templates; add parameter group information for pfs2
2fb2f34 param: Add group information to seriously improve generated csv files
385d49a templates: reorder PFS2 parameters
387a218 param: Entries are sorted now by order in the csv file, useful for batch mode
v0.10.1
v0.10.0
Changelog
Added
- Content type
rectangle
now has a new fieldtransparency
to allow semi-transparent regions. Accepted values are from 0.0 (0%, fully opaque) to 1.0 (100%, fully transparent). - Documentation is now automatically generated out of the MD files using mkdocs and published to https://blesmol.github.io/pfscf
- The
pfscf fill
command will now automatically open the resulting filled chronicle PDF in the systems default PDF viewer. This can be suppressed with the new--no-auto-open
command line switch.
Changed
- The canvas concept. Now totally different than before.
- The option to draw a coordinate grid across the entire page was replaced. Now it is possible to draw a coordinate grid on the canvas with the specified name.
Commits
03c5a83 Bump version to v0.10.0
018deab cmd: minor corrections
721ea98 Merge pull request #75 from Blesmol/canvas
f1e72a9 templates: adapt pfs2 templates to new canvas concept
3ec2fec stamp: add option to draw a grid for the specified canvas
a59e6e7 introduce new canvas concept
ecf5afa utils: IsSet() now recognizes non-nil pointers as set
ef5fbfa utils: AddMissingValues should now also work with fields of type pointer
5bcee1e stamp: manage parameters for drawing rectangles with helper object
26b8522 stamp: replace opacity with transparency. for reasons!
a2eaedd preset: move functionality to fill public fields from presets to here from content
e38c39e cmd: align var naming style
768b343 content: extract helper functions and move to utils package
0ffbc3d template: rename ChronicleTemplate to Chronicle
9889eb7 automatically open generated PDF file
e09888e actions: trigger mkdocs action also for branch 'doc'
ce78814 content: add param.Store as parameter to isValid() to be able to validate param usage
06b59ed content: new field 'opacity' for type 'rectangle'
v0.9.2
Changelog
Added
- Release now includes a batch file that, when executed via clicking from windows explorer, will open a cmd prompt in the current directory. This should make it easier for windows users to use a command line application like pfscf.
- New subcommand
template search
to search for templates based on search terms. - New content type
choice
for things like choosing the subtier - New and improved documentation on usage
Changed
- Releases for macOS now have "macOS" in their name instead of "Darwin" for clarification
Commits
cb57be8 Bump version to v0.9.2
839513b content: rename Store to ListStore
8f1cf93 templates: Add 'tier' parameter to pfs2
6cc5c28 content: new content type 'choice'
d309a0b content: add MapStore
bd81d9f cmd: print filenames of batch-generated files (#62)
982dcb3 Merge pull request #60 from Blesmol/search
13d00ff cmd: add template search functionality
e1e1b56 cmd: deactivate unused command stubs
66b12b6 add batch file for windows to make it easier for users to have a prompt in the pfscf dir (#59)
be48b9a templates: add config for pathfinder special
eb55455 goreleaser: change changelog generation settings for (hopefully) chronological sorting
fbc9ba7 goreleaser: rename macOS release
5796433 goreleaser: include LICENSE file in releases
ba1d099 Merge pull request #54 from Blesmol/primer
1e4fb64 Set theme jekyll-theme-leap-day
a906d6c Update title in help text to official project name
v0.9.1
Changelog
Added
- Basic stubs for all PFS2 season 1 scenarios plus quests
- Templates now try to do some basic auto-guessing on possible page margins to reduce the number of cases where values on the produced sheet are misaligned.
- Text is now also automatically shrunk if a textcell is not high enough
Changed
- Template listing (
pfscf template list
) now shows inheritance relations