sbdl 1.19.2__tar.gz → 1.19.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sbdl
3
- Version: 1.19.2
3
+ Version: 1.19.4
4
4
  Summary: System Behaviour Description Language (Compiler)
5
5
  Home-page: https://sbdl.dev
6
6
  Author: Michael A. Hicks
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sbdl
3
- Version: 1.19.2
3
+ Version: 1.19.4
4
4
  Summary: System Behaviour Description Language (Compiler)
5
5
  Home-page: https://sbdl.dev
6
6
  Author: Michael A. Hicks
@@ -224,8 +224,8 @@ _A=True
224
224
  import argparse,base64,datetime,csv,functools,getpass,hashlib,importlib,io,json,os,pathlib,pickle,platform,re,shlex,string,subprocess,sys,tarfile,tempfile,textwrap,threading,time,traceback,types,unittest,urllib.request,urllib.parse,warnings,zlib,zipfile
225
225
  warnings.filterwarnings(_A1,category=DeprecationWarning)
226
226
  __NAME=_b
227
- __VERSION='1.19.2'
228
- __VERSION_DEV='225704b'
227
+ __VERSION='1.19.4'
228
+ __VERSION_DEV='b7e483a'
229
229
  __VERSION_DSL='25.6'
230
230
  __VERSION_REST_API='1.1.0'
231
231
  __AUTHOR='contact@sbdl.dev'
@@ -460,7 +460,10 @@ def lsp_start(_,__,___,arguments,print_l):
460
460
  class SBDL_LSP(LanguageServer):
461
461
  def __init__(self,*args,**kwargs):super().__init__(*args,**kwargs);self.diag_timers={}
462
462
  sbdl_lsp=SBDL_LSP(name(),version())
463
- def uri_to_file_path(uri_arg):return str(pathlib.Path(urllib.parse.urlparse(uri_arg).path))
463
+ def uri_to_file_path(uri_arg):
464
+ path=pathlib.Path(urllib.parse.unquote(urllib.parse.urlparse(uri_arg).path))
465
+ if sys.platform.startswith('win')and str(path).startswith('/'):path=pathlib.Path(str(path)[1:])
466
+ return str(path)
464
467
  def file_path_to_uri(path):return pathlib.Path(path).resolve().as_uri()
465
468
  @sbdl_lsp.feature('initialize')
466
469
  def initialize(*_,**__):return InitializeResult(capabilities=ServerCapabilities(text_document_sync=TextDocumentSyncKind.Full))
@@ -2,7 +2,7 @@ from setuptools import setup
2
2
 
3
3
  setup(
4
4
  name='sbdl',
5
- version='1.19.2',
5
+ version='1.19.4',
6
6
  description = "System Behaviour Description Language (Compiler)",
7
7
  author = "Michael A. Hicks",
8
8
  author_email = "michael@mahicks.org",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes