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

Commit c7b53c4

Browse files
committed
lcb: Re-enable namespace case check and update extensions
This patch re-enables the namespace case check, and updates all extensions to use a fully lower-case name. This should not have any effect, as the names of modules is compared case-lessly in libscript.
1 parent fe59218 commit c7b53c4

15 files changed

Lines changed: 24 additions & 27 deletions

File tree

extensions/libraries/iconsvg/iconsvg.lcb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
1919
This is an SVG icon path library.
2020
*/
2121

22-
library com.livecode.library.iconSVG
22+
library com.livecode.library.iconsvg
2323

2424
use com.livecode.engine
2525

extensions/modules/widget-utils/widget-utils.lcb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pTargetRect: The rectangle to fit the path within
3636
xPath: The path to transform
3737

3838
Example:
39-
use com.livecode.library.iconSVG
39+
use com.livecode.library.iconsvg
4040

4141
public handler OnPaint() returns nothing
4242
-- get the 'shopping cart' icon from the icon library

extensions/widgets/colorswatch/colorswatch.lcb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
1818
/*
1919
This widget displays a color with optional alpha channel.
2020
*/
21-
widget com.livecode.widget.colorSwatch
21+
widget com.livecode.widget.colorswatch
2222
--
2323

2424
-- dependency declarations

extensions/widgets/gradientrampeditor/gradientrampeditor.lcb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Handle the <selectedStopChanged> message to perform an operation when the select
5858

5959
**/
6060

61-
widget com.livecode.widget.gradientRampEditor
61+
widget com.livecode.widget.gradientrampeditor
6262

6363
metadata title is "Gradient Ramp Editor"
6464
metadata author is "LiveCode"

extensions/widgets/graph/graph.lcb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ The graph has labelled axes and allows multiple lines to be displayed.
2828
References: graphData(property), graphColors(property), hilitedCoordinates(property)
2929
*/
3030

31-
widget com.livecode.widget.lineGraph
31+
widget com.livecode.widget.linegraph
3232
--
3333

3434
-- dependency declarations
3535
use com.livecode.canvas
3636
use com.livecode.widget
3737
use com.livecode.engine
38-
use com.livecode.library.iconSVG
38+
use com.livecode.library.iconsvg
3939
use com.livecode.library.widgetutils
4040
--
4141

extensions/widgets/header/header.lcb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,13 @@ Related: showBorder (property)
117117
**/
118118

119119
-- declaring the extension as a widget, followed by identifier
120-
widget com.livecode.widget.headerBar
120+
widget com.livecode.widget.headerbar
121121

122122
-- dependency declarations
123123
use com.livecode.canvas
124124
use com.livecode.widget
125125
use com.livecode.engine
126-
use com.livecode.library.iconSVG
126+
use com.livecode.library.iconsvg
127127
use com.livecode.library.widgetutils
128128

129129
-- metadata

extensions/widgets/iconpicker/iconpicker.lcb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
1919
A widget to display icons for picking
2020
*/
2121

22-
widget com.livecode.widget.iconPicker
22+
widget com.livecode.widget.iconpicker
2323

2424
use com.livecode.canvas
2525
use com.livecode.widget
2626
use com.livecode.engine
27-
use com.livecode.library.iconSVG
27+
use com.livecode.library.iconsvg
2828

2929
metadata author is "LiveCode"
3030
metadata version is "1.0.0"
@@ -743,4 +743,4 @@ private handler scrollRatio(in pViewHeight as Real)
743743
return mScrollbarY / tScrollbarSpace
744744
end handler
745745

746-
end widget
746+
end widget

extensions/widgets/navbar/navbar.lcb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ widget com.livecode.widget.navbar
111111
use com.livecode.canvas
112112
use com.livecode.widget
113113
use com.livecode.engine
114-
use com.livecode.library.iconSVG
114+
use com.livecode.library.iconsvg
115115
use com.livecode.library.widgetutils
116116
--
117117

extensions/widgets/paletteactions/paletteactions.lcb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
1919
Palette header bar widget.
2020
*/
2121

22-
widget com.livecode.widget.paletteActions
22+
widget com.livecode.widget.paletteactions
2323

2424
use com.livecode.canvas
2525
use com.livecode.widget
2626
use com.livecode.engine
27-
use com.livecode.library.iconSVG
27+
use com.livecode.library.iconsvg
2828
use com.livecode.library.widgetutils
2929

3030
metadata title is "Palette Actions"

extensions/widgets/segmented/segmented.lcb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ widget com.livecode.widget.segmented
114114
use com.livecode.canvas
115115
use com.livecode.widget
116116
use com.livecode.engine
117-
use com.livecode.library.iconSVG
117+
use com.livecode.library.iconsvg
118118
use com.livecode.library.widgetutils
119119
use com.livecode.library.scriptitems
120120

0 commit comments

Comments
 (0)