Skip to content

Commit

Permalink
V27.1 (#9)
Browse files Browse the repository at this point in the history
* exclude .vscode folder from git publish

* bugfix: handle <Separator> in paramlist

* bugfix: handle <Separator> in paramlist (#7)

bugfix: handle <Separator> in paramlist

* set gdl-xml language based on root tag

* new GSID_INFO request

* release notes

* snippet fix: ui_pict_radiobutton

* v27.1
  • Loading branch information
pbaksa authored Apr 29, 2024
1 parent 86154e8 commit fcb0e50
Show file tree
Hide file tree
Showing 149 changed files with 4,524 additions and 4,483 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,8 @@ dist
# TernJS port file
.tern-port

# vscode config
.vscode/

# packaged extension
*.vsix
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Development environment for Archicad 27 GDL language (XML, HSF and GDL source co

[You can get the extension from the marketplace.](https://marketplace.visualstudio.com/items?itemName=GRAPHISOFT.gdl)

.xml files will be automatically detected as GDL-XML, .gdl files as GDL-HSF language.
.xml files with \<Symbol> root tag will be automatically detected as GDL-XML, .gdl files as GDL-HSF language.
* To switch between XML and GDL-XML syntax coloring, use context menu commands: "Switch language to GDL-XML" or "Switch language to XML"
* Change unknown file types to GDL-XML or GDL-HSF by using the context menu.
* Or just use VS Code's language selector, in the lower right of the status bar.
Expand Down Expand Up @@ -166,6 +166,11 @@ Some valid syntaxes won't be highlighted, and some invalid syntaxes will be high

# Release Notes

## 1.27.1
* new GSID_INFO request
* bugfix: parameter list wasn't processed after \<Separator>
* GDL-XML language is auto-detected by \<Symbol> root tag in file

## 1.27.0
* Reference guide 27
* Snippet fixes (keywords at end of line)
Expand Down
508 changes: 254 additions & 254 deletions VSCodeRef/002.004.html

Large diffs are not rendered by default.

510 changes: 255 additions & 255 deletions VSCodeRef/002.005.html

Large diffs are not rendered by default.

522 changes: 261 additions & 261 deletions VSCodeRef/002.006.html

Large diffs are not rendered by default.

648 changes: 324 additions & 324 deletions VSCodeRef/002.007.html

Large diffs are not rendered by default.

518 changes: 259 additions & 259 deletions VSCodeRef/002.008.html

Large diffs are not rendered by default.

516 changes: 258 additions & 258 deletions VSCodeRef/002.009.html

Large diffs are not rendered by default.

516 changes: 258 additions & 258 deletions VSCodeRef/002.010.html

Large diffs are not rendered by default.

534 changes: 267 additions & 267 deletions VSCodeRef/002.011.html

Large diffs are not rendered by default.

534 changes: 267 additions & 267 deletions VSCodeRef/002.012.html

Large diffs are not rendered by default.

538 changes: 269 additions & 269 deletions VSCodeRef/002.013.html

Large diffs are not rendered by default.

524 changes: 262 additions & 262 deletions VSCodeRef/002.014.html

Large diffs are not rendered by default.

1,064 changes: 542 additions & 522 deletions VSCodeRef/002.015.html

Large diffs are not rendered by default.

512 changes: 256 additions & 256 deletions VSCodeRef/002.016.html

Large diffs are not rendered by default.

508 changes: 254 additions & 254 deletions VSCodeRef/002.017.html

Large diffs are not rendered by default.

510 changes: 255 additions & 255 deletions VSCodeRef/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion VSCodeRef/reference/ADD.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<p>Replaces the sequence ADDX dx: ADDY dy: ADDZ dz.</p>

<div class="example"><a id="id496178"/><p class="title"><b>Example:
<div class="example"><a id="id495068"/><p class="title"><b>Example:
</b></p><div class="example-contents"><pre class="programlisting">ADD a, b, c</pre><div style="text-align: center"><img src="Images/GDL_Images/cordtrans_add.png" style="text-align: middle" alt="Images/GDL_Images/cordtrans_add.png"/></div></div></div>
<hr/><a href="002.006.html#ADD_gdlcommand">Related in Coordinate Transformations</a><p>
<span class="bold"><strong>GDL Reference Guide</strong></span>
Expand Down
2 changes: 1 addition & 1 deletion VSCodeRef/reference/ADD2.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><base href="../"/><title>ADD2</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"/><meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8"/><meta http-equiv="content-language" content="en-US"/><meta name="author" content="Graphisoft SE"/><link rel="stylesheet" href="reference.css" type="text/css"/><link rel="stylesheet" href="print.css" type="text/css" media="print"/></head><body class="gdlcommand"><h3 id="ADD2_gdlcommand">ADD2</h3>

<pre class="programlisting"><b id="ADD2_keyword_2.6.6.3.4.1">ADD2</b> x, y</pre>
<div class="example"><a id="id495824"/><p class="title"><b>Example:
<div class="example"><a id="id496971"/><p class="title"><b>Example:
</b></p><div class="example-contents"><pre class="programlisting">ADD2 a, b</pre><div style="text-align: center"><img src="Images/GDL_Images/cordtrans_add2.png" style="text-align: middle" alt="Images/GDL_Images/cordtrans_add2.png"/></div></div></div>
<hr/><a href="002.006.html#ADD2_gdlcommand">Related in Coordinate Transformations</a><p>
<span class="bold"><strong>GDL Reference Guide</strong></span>
Expand Down
2 changes: 1 addition & 1 deletion VSCodeRef/reference/ARMC.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
r1 &lt;= l*sin(alpha) - r2*cos(alpha)</pre>


<div class="example"><a id="id516031"/><p class="title"><b>Example:
<div class="example"><a id="id515686"/><p class="title"><b>Example:
</b></p><div class="example-contents"><div class="informaltable"><table border="0"><colgroup><col/><col/></colgroup><tbody><tr><td>
<pre class="programlisting">ROTY 90
CYLIND 10,1
Expand Down
2 changes: 1 addition & 1 deletion VSCodeRef/reference/ARME.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
l &gt;= h*sqrt(1-(r2-d)2/r12)</pre>


<div class="example"><a id="id516054"/><p class="title"><b>Example:
<div class="example"><a id="id515771"/><p class="title"><b>Example:
</b></p><div class="example-contents"><div class="informaltable"><table border="0"><colgroup><col/><col/></colgroup><tbody><tr><td>
<pre class="programlisting">ELLIPS 3,4
FOR i=1 TO 6
Expand Down
2 changes: 1 addition & 1 deletion VSCodeRef/reference/BEAM.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div style="text-indent: -1em"><code><b>top_material, bottom_material: </b></code>top and bottom materials.</div>
</div>

<div class="example"><a id="id515527"/><p class="title"><b>Example:
<div class="example"><a id="id515180"/><p class="title"><b>Example:
</b></p><div class="example-contents"><div style="text-align: center"><img src="Images/GDL_Images/3Dshapes_beam_ex.png" style="text-align: middle" alt="Images/GDL_Images/3Dshapes_beam_ex.png"/></div><pre class="programlisting">BEAM 1, 1, 1, 1, 1,
0.3,
0.0, 7.0, 7.0, 0.0,
Expand Down
2 changes: 1 addition & 1 deletion VSCodeRef/reference/BODY.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</p>
</div>

<div class="example"><a id="id526809"/><p class="title"><b>Example:
<div class="example"><a id="id530954"/><p class="title"><b>Example:
</b></p><div class="example-contents"><div style="text-align: center"><img src="Images/GDL_Images/3Dshapes_body_ex.png" style="text-align: middle" alt="Images/GDL_Images/3Dshapes_body_ex.png"/></div><p>1: Complete description</p><pre class="programlisting">VERT 0.0, 0.0, 0.0 !#1
VERT 1.0, 0.0, 0.0 !#2
VERT 1.0, 1.0, 0.0 !#3
Expand Down
2 changes: 1 addition & 1 deletion VSCodeRef/reference/BPRISM_.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<span class="italic">See <a class="xref" href="002.010.html#StatusCodes_chapter" title="Chapter 7. Status Codes">Chapter 7, <i>Status Codes</i></a> for details.</span>
</p>

<div class="example"><a id="id513261"/><p class="title"><b>Example:
<div class="example"><a id="id512795"/><p class="title"><b>Example:
Curved prisms with the corresponding straight ones</b></p><div class="example-contents"><div class="informaltable"><table border="0"><colgroup><col/><col/></colgroup><tbody><tr><td>
<pre class="programlisting">BPRISM_ "Glass - Blue",
"Glass - Blue",
Expand Down
4 changes: 2 additions & 2 deletions VSCodeRef/reference/BWALL_.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<span class="italic">See also <a class="xref" href="reference/CWALL_.html">the CWALL_ command</a> for details.</span>
</p>

<div class="example"><a id="id514310"/><p class="title"><b>Example 1:
<div class="example"><a id="id513799"/><p class="title"><b>Example 1:
a BWALL_ and the corresponding CWALL_</b></p><div class="example-contents"><div class="informaltable"><table border="0"><colgroup><col/><col/></colgroup><tbody><tr><td style="text-align: center">
<div style="text-align: center"><img src="Images/GDL_Images/3Dshapes_bwall_.png" style="text-align: middle" alt="Images/GDL_Images/3Dshapes_bwall_.png"/></div>
</td><td style="text-align: center">
Expand All @@ -35,7 +35,7 @@
</td><td style="text-align: center">
<div style="text-align: center"><img src="Images/GDL_Images/3Dshapes_bwall_ex1_2.png" style="text-align: middle" alt="Images/GDL_Images/3Dshapes_bwall_ex1_2.png"/></div>
</td></tr></tbody></table></div></div></div>
<div class="example"><a id="id514390"/><p class="title"><b>Example 2:
<div class="example"><a id="id513886"/><p class="title"><b>Example 2:
</b></p><div class="example-contents"><div class="informaltable"><table border="0"><colgroup><col/><col/></colgroup><tbody><tr><td>
<pre class="programlisting">ROTZ -60
BWALL_ 1, 1, 1,
Expand Down
2 changes: 1 addition & 1 deletion VSCodeRef/reference/CALL.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
but you will get a warning from the program.
</p>

<div class="example"><a id="id555528"/><p class="title"><b>Example:
<div class="example"><a id="id559498"/><p class="title"><b>Example:
</b></p><div class="example-contents"><pre class="programlisting">CALL "leg" 2, , 5 ! A = 2, B = 0, C = 5 leg 2, , 5
CALL "door-1" PARAMETERS height = 2, a = 25.5,
name = "Director"
Expand Down
2 changes: 1 addition & 1 deletion VSCodeRef/reference/CONE.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<pre class="programlisting">0 &lt; alpha1 &lt; 180° and 0 &lt; alpha2 &lt; 180°</pre>


<div class="example"><a id="id512626"/><p class="title"><b>Example:
<div class="example"><a id="id512106"/><p class="title"><b>Example:
A regular cone</b></p><div class="example-contents"><pre class="programlisting">CONE h, r, 0, 90, 90</pre></div></div>
<hr/><a href="002.007.html#CONE_gdlcommand">Related in 3D Shapes</a><p>
<span class="bold"><strong>GDL Reference Guide</strong></span>
Expand Down
4 changes: 2 additions & 2 deletions VSCodeRef/reference/COONS.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<pre class="programlisting">n &gt; 1, m &gt; 1</pre>


<div class="example"><a id="id520711"/><p class="title"><b>Example 1:
<div class="example"><a id="id525059"/><p class="title"><b>Example 1:
</b></p><div class="example-contents"><div class="informaltable"><table border="0"><colgroup><col/><col/></colgroup><tbody><tr><td>
<pre class="programlisting">COONS 6, 6, 4+8+16+32+64,
! 1st boundary, n=6
Expand Down Expand Up @@ -63,7 +63,7 @@
</td><td style="text-align: center">
<div style="text-align: center"><img src="Images/GDL_Images/3Dshapes_coons_ex1.png" style="text-align: middle" alt="Images/GDL_Images/3Dshapes_coons_ex1.png"/></div>
</td></tr></tbody></table></div></div></div>
<div class="example"><a id="id520779"/><p class="title"><b>Example 2:
<div class="example"><a id="id525071"/><p class="title"><b>Example 2:
</b></p><div class="example-contents"><div class="informaltable"><table border="0"><colgroup><col/><col/></colgroup><tbody><tr><td>
<pre class="programlisting">COONS 7, 6, 4+8+16+32+64,
! 1st boundary, n=7
Expand Down
2 changes: 1 addition & 1 deletion VSCodeRef/reference/COOR.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<p>Use a minus sign (-) before VERT indices if they are used only for defining the local coordinate system.</p>
<div style="text-align: center"><img src="Images/GDL_Images/3Dshapes_coor.png" style="text-align: middle" alt="Images/GDL_Images/3Dshapes_coor.png"/></div>

<div class="example"><a id="id526250"/><p class="title"><b>Example:
<div class="example"><a id="id530380"/><p class="title"><b>Example:
For custom texture axes:</b></p><div class="example-contents"><pre class="programlisting">CSLAB_ "Brick-White", "Brick-White", "Brick-White",
4, 0.5,
0, 0, 0, 15,
Expand Down
2 changes: 1 addition & 1 deletion VSCodeRef/reference/COOR3.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<div style="text-indent: -1em"><code><b>endOfZ_X, endOfZ_Y, endOfZ_Z: </b></code>node in the x-y-z space, defined by three coordinates, texture mapping Z direction.</div>
</div>

<div class="example"><a id="id526722"/><p class="title"><b>Example:
<div class="example"><a id="id530837"/><p class="title"><b>Example:
COOR{3} and equivalent COOR{2} parametrisation</b></p><div class="example-contents"><pre class="programlisting">
COOR{3} wrapping_method, wrap_flags,
origin_X, origin_Y, origin_Z,
Expand Down
2 changes: 1 addition & 1 deletion VSCodeRef/reference/CPRISM_.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<span class="italic">See <a class="xref" href="002.010.html#StatusCodes_chapter" title="Chapter 7. Status Codes">Chapter 7, <i>Status Codes</i></a> for details.</span>
</p>

<div class="example"><a id="id512978"/><p class="title"><b>Example:
<div class="example"><a id="id512515"/><p class="title"><b>Example:
Material referencing a predefined material by name, index and global variable</b></p><div class="example-contents"><div style="text-align: center"><img src="Images/GDL_Images/3Dshapes_cprism_ex.png" style="text-align: middle" alt="Images/GDL_Images/3Dshapes_cprism_ex.png"/></div><pre class="programlisting">CPRISM_ "Mtl-Iron", 0, SYMB_MAT,
13, 0.2,
0, 0, 15,
Expand Down
4 changes: 2 additions & 2 deletions VSCodeRef/reference/CPRISM_3.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<div><code>j<sub>4</sub></code>side edge and surface is smooth in curved sections of the profile. <span class="italic">Compatibility: introduced in Archicad 21.</span></div>
</div>

<div class="example"><a id="id513104"/><p class="title"><b>Example 1:
<div class="example"><a id="id512639"/><p class="title"><b>Example 1:
</b></p><div class="example-contents"><div class="informaltable"><table border="0"><colgroup><col/><col/></colgroup><tbody><tr><td>
<pre class="programlisting">PEN 1
mat = IND (MATERIAL, "Metal-Aluminium")
Expand All @@ -45,7 +45,7 @@
</td><td style="text-align: center">
<div style="text-align: center"><img src="Images/GDL_Images/3Dshapes_sprism_3_ex.png" style="text-align: middle" alt="Images/GDL_Images/3Dshapes_sprism_3_ex.png"/></div>
</td></tr></tbody></table></div></div></div>
<div class="example"><a id="id513119"/><p class="title"><b>Example 2:
<div class="example"><a id="id512659"/><p class="title"><b>Example 2:
</b></p><div class="example-contents"><div class="informaltable"><table border="0"><colgroup><col/><col/></colgroup><tbody><tr><td>
<pre class="programlisting">PEN 1
mat = IND (MATERIAL, "Metal-Aluminium")
Expand Down
4 changes: 2 additions & 2 deletions VSCodeRef/reference/CROOF_.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<pre class="programlisting">n &gt;= 3</pre>


<div class="example"><a id="id515693"/><p class="title"><b>Example 1:
<div class="example"><a id="id515350"/><p class="title"><b>Example 1:
</b></p><div class="example-contents"><div style="text-align: center"><img src="Images/GDL_Images/3Dshapes_croof_ex1.png" style="text-align: middle" alt="Images/GDL_Images/3Dshapes_croof_ex1.png"/></div><pre class="programlisting">CROOF_ 1, 1, 1, ! materials
9,
0, 0,
Expand All @@ -68,7 +68,7 @@
8, 5, 0, 15,
5, 15, 0, 15,
2, 5, 0, -1</pre></div></div>
<div class="example"><a id="id515670"/><p class="title"><b>Example 2:
<div class="example"><a id="id515345"/><p class="title"><b>Example 2:
</b></p><div class="example-contents"><div class="informaltable"><table border="0"><colgroup><col/><col/></colgroup><tbody><tr><td>
<pre class="programlisting">L=0.25
r=(0.6^2+L^2)/(2*L)
Expand Down
2 changes: 1 addition & 1 deletion VSCodeRef/reference/CROOF_3.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<div><code>j<sub>4</sub></code>side edge and surface is smooth in curved sections of the profile. <span class="italic">Compatibility: introduced in Archicad 21.</span></div>
</div>

<div class="example"><a id="id515809"/><p class="title"><b>Example:
<div class="example"><a id="id515502"/><p class="title"><b>Example:
</b></p><div class="example-contents"><div class="informaltable"><table border="0"><colgroup><col/><col/></colgroup><tbody><tr><td>
<pre class="programlisting">PEN 1
mat = IND (MATERIAL, "Metal-Aluminium")
Expand Down
8 changes: 4 additions & 4 deletions VSCodeRef/reference/CUTPLANE3.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
For CUTPLANE{3}, this parameter has effect independently from the 5th parameter.
</div>

<div class="example"><a id="id527966"/><p class="title"><b>Example 1:
<div class="example"><a id="id532082"/><p class="title"><b>Example 1:
</b></p><div class="example-contents"><div class="informaltable"><table border="0"><colgroup><col/><col/></colgroup><tbody><tr><td>
<pre class="programlisting">CUTPLANE 2, 2, 4
CUTPLANE -2, 2, 4
Expand All @@ -81,7 +81,7 @@
</td><td>
<div style="text-align: center"><img src="Images/GDL_Images/3Dshapes_cutplane_ex1.png" style="text-align: middle" alt="Images/GDL_Images/3Dshapes_cutplane_ex1.png"/></div>
</td></tr></tbody></table></div></div></div>
<div class="example"><a id="id528009"/><p class="title"><b>Example 2:
<div class="example"><a id="id532123"/><p class="title"><b>Example 2:
</b></p><div class="example-contents"><div class="informaltable"><table border="0"><colgroup><col/><col/></colgroup><tbody><tr><td>
<div style="text-align: center"><img src="Images/GDL_Images/3Dshapes_cutplane_ex2_1.png" style="text-align: middle" alt="Images/GDL_Images/3Dshapes_cutplane_ex2_1.png"/></div>
</td><td>
Expand All @@ -95,7 +95,7 @@
SPHERE 2
CUTEND</pre>
</td></tr></tbody></table></div></div></div>
<div class="example"><a id="id528034"/><p class="title"><b>Example 3:
<div class="example"><a id="id532176"/><p class="title"><b>Example 3:
</b></p><div class="example-contents"><div class="informaltable"><table border="0"><colgroup><col/><col/></colgroup><tbody><tr><td>
<div style="text-align: center"><img src="Images/GDL_Images/3Dshapes_cutplane_ex3_1.png" style="text-align: middle" alt="Images/GDL_Images/3Dshapes_cutplane_ex3_1.png"/></div>
</td><td>
Expand All @@ -109,7 +109,7 @@
SPHERE 2
CUTEND</pre>
</td></tr></tbody></table></div></div></div>
<div class="example"><a id="id528066"/><p class="title"><b>Example 4:
<div class="example"><a id="id532199"/><p class="title"><b>Example 4:
</b></p><div class="example-contents"><div class="informaltable"><table border="0"><colgroup><col/><col/></colgroup><tbody><tr><td>
<div style="text-align: center"><img src="Images/GDL_Images/3Dshapes_cutplane_ex4_1.png" style="text-align: middle" alt="Images/GDL_Images/3Dshapes_cutplane_ex4_1.png"/></div>
</td><td>
Expand Down
Loading

0 comments on commit fcb0e50

Please sign in to comment.