This repository has been archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 220
[[ LCB ]] [[ Docs ]] Add OS and Platforms to LCB Metadata #6623
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Added new metadata keys to *LiveCode Builder Language Reference* Spelling correction in *LiveCode Builder Style Guide* Add metadata OS key to LCB files: - androidaudiorecorder - androidbgaudio - toast - android-utils - androidbutton - androidfield - html5button - iosbutton - macbutton - mactextfield
Added new metadata keys to `generate.g` file Added `revSBNormalizePlatforms` to `revSBLibrary`. This new handler will take a list of OSs in the dictionary format and convert them to the standard names that used by the SB. If no OSs are specified, then the list of Platforms will be used. As a fall back, if the list remains empty (due to invalid data in the OS or Platforms lists), then it will revert to the previous behavior and supply a list of all platforms. Add `metadata` to the `revDocsExtractDocBlocks` handler of `revDocsParser`. This block will add the metadata keys to the library comment block so that they get included in the dictionary. The initial list of keys is `author, os, platforms, version` but only OS and Platforms are in the actual dictionary (the other 2 are in the generated lcdoc files). Updated Element lists for `revDocsParseDocText` to inherit `os` and `platforms` from Library. Updated Library elements to add `os`, `platforms`, and `associations`. Added case statements for `os` and `platforms` and removed trailing white space in the area. Updated `extensionFetchMetadata` in `extension-utils` to parse the platforms and os keys that were added.
bwmilby
changed the title
[[Feature]] Add OS and Platforms to LCB Metadata
[[ LCB ]] [[ Docs ]] Add OS and Platforms to LCB Metadata
Aug 4, 2018
@livecode-vulcan review ok 0c18c26 Thanks again @bwmilby ! |
💙 review by @montegoulding ok 0c18c26 |
livecode-vulcan
added a commit
that referenced
this pull request
Aug 21, 2018
[[ LCB ]] [[ Docs ]] Add OS and Platforms to LCB Metadata Added new metadata keys to `generate.g` file (os and platforms) Added `revSBNormalizePlatforms` to `revSBLibrary`. This new handler will take a list of OSs in the dictionary format and convert them to the standard names that are used by the SB. If no OSs are specified, then the list of Platforms will be used. As a fall back, if the list remains empty (due to invalid data in the OS or Platforms lists), then it will revert to the previous behavior and supply a list of all platforms. Add `metadata` case block to the `revDocsExtractDocBlocks` handler of `revDocsParser`. This block will add the metadata keys to the library comment block so that they get included in the dictionary. The initial list of keys is `author, os, platforms, version` but only OS and Platforms are in the actual dictionary (the other 2 are in the generated lcdoc files). Updated Element lists for `revDocsParseDocText` to inherit `os` and `platforms` from Library. Updated Library elements to add `os`, `platforms`, and `associations`. Added case statements for `os` and `platforms` and removed trailing white space in the area. Updated `extensionFetchMetadata` in `extension-utils` to parse the platforms and os keys that were added. Added new metadata keys to *LiveCode Builder Language Reference* Spelling correction in *LiveCode Builder Style Guide* Add metadata OS key to LCB files: - androidaudiorecorder - androidbgaudio - toast - android-utils - androidbutton - androidfield - html5button - iosbutton - macbutton - mactextfield Requires livecode/livecode-ide#1988 for full functionality. Initial discussion here: http://forums.livecode.com/viewtopic.php?f=93&t=31255
😎 test success 0c18c26
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added new metadata keys to
generate.g
file (os and platforms)Added
revSBNormalizePlatforms
torevSBLibrary
. This new handler willtake a list of OSs in the dictionary format and convert them to the
standard names that are used by the SB. If no OSs are specified, then the
list of Platforms will be used. As a fall back, if the list remains
empty (due to invalid data in the OS or Platforms lists), then it will
revert to the previous behavior and supply a list of all platforms.
Add
metadata
case block to therevDocsExtractDocBlocks
handler ofrevDocsParser
. This block will add the metadata keys to the librarycomment block so that they get included in the dictionary. The initial
list of keys is
author, os, platforms, version
but only OS andPlatforms are in the actual dictionary (the other 2 are in the generated
lcdoc files).
Updated Element lists for
revDocsParseDocText
to inheritos
andplatforms
from Library. Updated Library elements to addos
,platforms
, andassociations
. Added case statements foros
andplatforms
and removed trailing white space in the area.Updated
extensionFetchMetadata
inextension-utils
to parse theplatforms and os keys that were added.
Added new metadata keys to LiveCode Builder Language Reference
Spelling correction in LiveCode Builder Style Guide
Add metadata OS key to LCB files:
Requires livecode/livecode-ide#1988 for full functionality.
Initial discussion here: http://forums.livecode.com/viewtopic.php?f=93&t=31255