Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 45bb530

Browse files
committed
Merge branch 'develop' into feature-canvas_path_arc_to
Conflicts: engine/src/canvas.mlc
2 parents 7c3159d + 95347f2 commit 45bb530

File tree

114 files changed

+3719
-674
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+3719
-674
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
*.xml text
1616
*.md text
1717
*.livecodescript text
18+
*.lcdoc text
19+
*.mlc text
20+
*.lcb text
1821

1922
# Declare files that will always have CRLF line endings on checkout.
2023
*.sln text eol=crlf

docs/dictionary/property/metadata_of_field.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<doc> <legacy_id></legacy_id> <name>metadata of field</name> <type>property</type> <syntax> <example>set the metadata of <i>fieldChunk</i> to <i>string</i></example> </syntax> <synonyms> </synonyms> <summary>The <b>metadata</b> property of a field chunk specifies additional information stored with the field chunk but not visible to the user.</summary> <examples><example>set the metadata of word 6 of field 1 to &quot;extra information hidden from the user&quot;</example><example>get the metadata of char 1 to 100 of field 1</example><example>set the metadata of line 3 field "description" to &quot;extra information&quot;</example><example><p>put &quot;ben is 5 years old&quot; into field 1</p><p>set the metadata of word 1 of field 1 to &quot;noun&quot;</p><p>repeat with x = 1 to the number of words of field 1</p><p> if the metadata of word x of field 1 is &quot;noun&quot; then </p><p> put toUpper(word x of field 1) into word x of field 1</p><p> end if</p><p>end repeat</p></example> </examples> <history> <introduced version="5.5">Added.</introduced> <changed version="6.0">Changed</changed> <deprecated version=""></deprecated> <removed version=""></removed> </history> <objects> <field/> </objects> <platforms> <mac/> <windows/> <linux/> <ios/> <android/> </platforms> <classes> <desktop/> <server/> <web/> <mobile/> </classes> <security> </security> <classification> <category>Text and Data Processing</category> </classification> <references> <property tag="styledText">styledText Property</property> <property tag="flagged">flagged Property</property> </references> <description> <overview>Use the <b>metadata</b> property to store additional information in a field that is not visible to a user. Metadata can be specified for any field chunk; char, word and line as well as ranges (e.g. word 2 to 5).</overview> <parameters> <parameter> <name>string</name> <description>A string of text.</description> </parameter> </parameters> <value></value> <comments><p>The ability to add metadata at the paragraph level was added in version 6.0. Like metadata at the char level, you can now 'set the metadata of line ... of ...' and it will be attached to the paragraph, a level above the char properties. This means if you want to set the metadata on the char level for a whole line you must do 'set the metadata of char 1 to -1 of line .. of ...', rather than just 'of line'.</p></comments> </description></doc>

docs/dictionary/property/metadata_of_image.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<doc> <legacy_id></legacy_id> <name>metadata of image</name> <type>property</type> <syntax> <example>put the metadata of <i>imageObject</i> into <i>metadataArray</i></example> </syntax> <synonyms> </synonyms> <summary>The <b>metadata</b> property of an image is a read only array of metadata from the image file.</summary> <examples><example><p>put the metadata of image 1 into metadataArray</p><p>set the width of image 1 to the width of image 1 div (medatadaArray["density"] / 72)</p><p>set the height of image 1 to the height of image 1 div (medatadaArray["density"] / 72)</p></example> </examples> <history> <introduced version="6.7">Added.</introduced> <deprecated version=""></deprecated> <removed version=""></removed> </history> <objects> <image/> </objects> <platforms> <mac/> <windows/> <linux/> <ios/> <android/> </platforms> <classes> <desktop/> <server/> <web/> <mobile/> </classes> <security> </security> <classification> <category>Images &amp; Multimedia</category> </classification> <references> <command tag="export">export Command</command> <command tag="export snapshot">export snapshot Command</command> <command tag="export with palette">export with palette Command</command> </references> <description> <overview>Use the <b>metadata</b> property to access the metadata of the image as an array. Currently the only key supported is "density" with a value in pixels per inch (ppi) for JPEG and PNG files. Other types of image and JPEG and PNG images without metadata will return empty.</overview> <comments><p>The metadata array is the same form used for the image export commands. The image metadata property is read only.</p></comments> </description></doc>

docs/lcb/15111.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# LiveCode Builder Host Library
2+
3+
## Handling of mouse wheel events
4+
5+
* If a widget does not have a 'OnMouseScroll' handler then mouse-wheel events will bypass the widget and filter through rawKey messages as usual.
6+
7+
# [15111] Widgets eat mouse-wheel events meaning nothing else can handle them.

docs/lcb/notes/14541.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# LiveCode Builder Host Library
2+
3+
## Ability to display a popup menu
4+
5+
* New syntax has been added to popup a menu constructed from a provided menu text.
6+
* `popup menu <MenuText> at <Point>`
7+
8+
# [14541] Widgets should be able to popup system menus

docs/lcb/notes/14805.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# LiveCode Builder Host Library
2+
3+
# [14805] LCB-Canvas: close path on mPath example is incorrect

docs/lcb/notes/14916.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# LiveCode Builder Language
2+
3+
## Case-Sensitivity
4+
5+
* All identifiers are now case-insensitive - i.e. a handler Main can be called as mAin, MAIN and main.
6+
7+
# [14933] Make identifiers case-insensitive.

docs/lcb/notes/14938.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# LiveCode Tools
2+
3+
# [14938] The compiler now checks a property get handler does not return nothing.
4+
5+

docs/lcb/notes/14939.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# LiveCode Builder Tools
2+
3+
## Compiler generates an error if integer literal too big
4+
5+
The compiler will generate an error if an integer literal is too big to fit into the (current) unsigned 32-bit integer representation.
6+
7+
# [14939] Compiler truncates integer literals if too big.

docs/lcb/notes/14950.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# LiveCode Builder Tools
2+
3+
# [14950] Integer literal pattern is too general.

0 commit comments

Comments
 (0)