Skip to content

Commit

Permalink
0.8.1 release
Browse files Browse the repository at this point in the history
- Updated tags and functions to match latest cfdocs.org data
- minor syntax file updates (tag and function lists, typo fixes, tweaked
a regex)
  • Loading branch information
jcberquist committed Apr 4, 2016
1 parent 8829bf0 commit 5e31f98
Show file tree
Hide file tree
Showing 8 changed files with 528 additions and 413 deletions.
5 changes: 3 additions & 2 deletions messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"0.5.1": "messages/0.5.1.txt",
"0.6.0": "messages/0.6.0.txt",
"0.7.0": "messages/0.7.0.txt",
"0.8.0": "messages/0.8.0.txt"
}
"0.8.0": "messages/0.8.0.txt",
"0.8.1": "messages/0.8.1.txt"
}
5 changes: 5 additions & 0 deletions messages/0.8.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CFML v0.8.1 Changelog:

- Updated function and tag completions to use latest cfdocs.org data

- Minor syntax file updates (tag and function lists, typo fixes, tweaked a regex)
21 changes: 12 additions & 9 deletions src/basecompletions/json/cfml_functions.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"arrayContainsNoCase": "(${1:array array}, ${2:any object})",
"arrayDelete": "(${1:array array}, ${2:any object}${3:, ${4:string scope}})",
"arrayDeleteAt": "(${1:array array}, ${2:numeric position})",
"arrayDeleteNoCase": "(${1:array array}, ${2:any object})",
"arrayEach": "(${1:array array}, ${2:closure closure}${3:, ${4:boolean parallel}}${5:, ${6:boolean maxThreads}})",
"arrayEvery": "(${1:array array}, ${2:closure closure}${3:, ${4:boolean parallel}}${5:, ${6:boolean maxThreads}})",
"arrayFilter": "(${1:array array}, ${2:closure function}${3:, ${4:boolean parallel}}${5:, ${6:boolean maxThreads}})",
Expand All @@ -35,7 +36,7 @@
"arrayMerge": "(${1:array array1}, ${2:array array2}${3:, ${4:boolean leaveIndex}})",
"arrayMid": "(${1:array array}, ${2:number start}${3:, ${4:number count}})",
"arrayMin": "(${1:array array})",
"arrayNew": "(${1:numeric dimension})",
"arrayNew": "(${1:numeric dimension}${2:, ${3:boolean unsynchronized}})",
"arrayPrepend": "(${1:array array}, ${2:object value})",
"arrayReduce": "(${1:array array}, ${2:any function}, ${3:any initialValue})",
"arrayResize": "(${1:array array}, ${2:numeric size})",
Expand Down Expand Up @@ -63,10 +64,11 @@
"bitShln": "(${1:numeric number}, ${2:numeric count})",
"bitShrn": "(${1:numeric number}, ${2:numeric count})",
"bitXor": "(${1:numeric number1}, ${2:numeric number2})",
"booleanFormat": "(${1:numeric number})",
"cacheClear": "(${1:string filter}${2:, ${3:string cacheName}})",
"cacheCount": "(${1:string cacheName})",
"cacheDelete": "(${1:string id}${2:, ${3:boolean throwOnError}}${4:, ${5:string cacheName}})",
"cacheGet": "(${1:string id})",
"cacheGet": "(${1:string id}${2:, ${3:string region}})",
"cacheGetAll": "(${1:string filter}${2:, ${3:string cacheName}})",
"cacheGetAllIds": "()",
"cacheGetDefaultCacheName": "(${1:string type})",
Expand Down Expand Up @@ -207,7 +209,7 @@
"fileSetAttribute": "(${1:string filePath}, ${2:string attribute})",
"fileSetLastModified": "(${1:string filePath}, ${2:datetime date})",
"fileSkipBytes": "(${1:variablename file}, ${2:numeric bytes})",
"fileUpload": "(${1:string destination}${2:, ${3:string fileField}}${4:, ${5:string accept}}${6:, ${7:string nameConflict}})",
"fileUpload": "(${1:string destination}${2:, ${3:string fileField}}${4:, ${5:string nameConflict}}${6:, ${7:string accept}}${8:, ${9:boolean strict}})",
"fileUploadAll": "(${1:string destination}${2:, ${3:string accept}}${4:, ${5:string nameConflict}})",
"fileWrite": "(${1:string filePath}, ${2:string data}${3:, ${4:string charset}})",
"fileWriteLine": "(${1: file}, ${2: content})",
Expand All @@ -216,6 +218,7 @@
"findOneOf": "(${1:string set}, ${2:string string}${3:, ${4:numeric start}})",
"firstDayOfMonth": "(${1:datetime date})",
"fix": "(${1:numeric number})",
"floor": "(${1:numeric number})",
"formatBaseN": "(${1:numeric number}, ${2:numeric radix})",
"generatePBKDFKey": "(${1:string algorithm}, ${2:string passphrase}, ${3:string salt}, ${4:numeric iterations}, ${5:numeric keysize})",
"generateSecretKey": "(${1:string algorithm})",
Expand Down Expand Up @@ -289,7 +292,7 @@
"hmac": "(${1:string message}, ${2:string key}${3:, ${4:string algorithm}}${5:, ${6:string encoding}})",
"hour": "(${1:datetime date})",
"HTMLCodeFormat": "(${1:string String}${2:, ${3:numeric version}})",
"HTMLEditFormat": "(${1:string String}${2:, ${3:numeric version}})",
"HTMLEditFormat": "(${1:string string}${2:, ${3:numeric version}})",
"HTMLParse": "(${1:string html}${2:, ${3:boolean caseSensitive}})",
"iIf": "(${1:boolean condition}, ${2:string expression1}, ${3:string expression2})",
"imageAddBorder": "(${1:string name}, ${2:string thickness}${3:, ${4:string color}}${5:, ${6:string bordertype}})",
Expand Down Expand Up @@ -574,7 +577,7 @@
"second": "(${1:datetime date})",
"sendGatewayMessage": "(${1:string gatewayID}, ${2:struct data})",
"serialize": "(${1: objToBeSerialized}, ${2: type}, ${3: useCustomSerializer})",
"serializeJSON": "(${1:variablename var}${2:, ${3:boolean serializeQueryByColumns}}, ${4:boolean useCustomSerializer})",
"serializeJSON": "(${1:variablename var}${2:, ${3:boolean serializeQueryByColumns}}${4:, ${5:boolean useCustomSerializer}})",
"serializeXML": "(${1: objToBeSerialized}, ${2: useCustomSerializer})",
"sessionGetMetadata": "(${1: region})",
"sessionInvalidate": "()",
Expand Down Expand Up @@ -662,7 +665,7 @@
"structKeyList": "(${1:struct structure}${2:, ${3:string delimiter}})",
"structKeyTranslate": "(${1:struct structure}${2:, ${3:boolean deepTranslation}}${4:, ${5:boolean leaveOriginalKey}})",
"structMap": "(${1:struct struct}, ${2:any function})",
"structNew": "()",
"structNew": "(${1:string structType})",
"structReduce": "(${1:struct struct}, ${2:any function}, ${3:any initialVal})",
"structSome": "(${1:struct struct}, ${2:function closure}${3:, ${4:boolean parallel}}${5:, ${6:number maxThreads}})",
"structSort": "(${1:struct base}, ${2:string sorttype}, ${3:string sortorder}, ${4:string pathtosubelement})",
Expand All @@ -672,7 +675,7 @@
"tan": "(${1:numeric number})",
"threadJoin": "(${1: Param1})",
"threadTerminate": "(${1:string threadname})",
"throw": "(${1:string type}${2:, ${3:string message}}${4:, ${5:string detail}}${6:, ${7:string errorcode}}${8:, ${9:string extendedinfo}}${10:, ${11:object object}})",
"throw": "(${1:string message}${2:, ${3:string type}}${4:, ${5:string detail}}${6:, ${7:string errorcode}}${8:, ${9:string extendedinfo}}${10:, ${11:object object}})",
"timeFormat": "(${1:datetime time}${2:, ${3:string mask}})",
"toBase64": "(${1:object string_or_object}${2:, ${3:string encoding}})",
"toBinary": "(${1:object base64_or_object})",
Expand Down Expand Up @@ -701,7 +704,7 @@
"writeBody": "()",
"writeDump": "(${1:variablename var}${2:, ${3:boolean expand}}${4:, ${5:string format}}${6:, ${7:boolean abort}}${8:, ${9:string hide}}${10:, ${11:numeric keys}}${12:, ${13:string label}}${14:, ${15:boolean metainfo}}${16:, ${17:string output}}${18:, ${19:string show}}${20:, ${21:boolean showUDfs}}${22:, ${23:numeric top}})",
"writeLog": "(${1:string text}${2:, ${3:string log}}${4:, ${5:string file}}${6:, ${7:string type}}${8:, ${9:boolean application}})",
"writeOutput": "(${1:string String})",
"writeOutput": "(${1:string string}${2:, ${3:string encodeFor}})",
"WSGetAllChannels": "(${1: channelName})",
"WSGetSubscribers": "(${1: channel})",
"WSPublish": "(${1: channel}, ${2: message}${3:, ${4: filterCriteria}})",
Expand All @@ -716,5 +719,5 @@
"XMLTransform": "(${1:string xml}, ${2:string xsl}${3:, ${4:struct parameters}})",
"XMLValidate": "(${1:object xmlDoc}${2:, ${3:string validator}})",
"year": "(${1:datetime date})",
"yesNoFormat": "(${1:boolean value})"
"yesNoFormat": "(${1:object value})"
}
25 changes: 15 additions & 10 deletions src/basecompletions/json/cfml_tags.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@
"cfcalendar": {
"attributes": [["name"], ["daynames", "disabled", "enabled", "endrange", "firstdayofweek", "height", "mask", "monthnames", "onblur", "onchange", "onfocus", "selecteddate", "startrange", "style", "tooltip", "visible", "width"]],
"attribute_values": {
"daynames": ["S,M,T,W,Th,F,S", "Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday", "Sun,Mon,Tue,Wed,Thu,Fri,Sat"],
"daynames": ["S, M, T, W, Th, F, S", "Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday", "Sun, Mon, Tue, Wed, Thu, Fri, Sat"],
"disabled": ["true", "false"],
"enabled": ["true", "false"],
"firstdayofweek": ["0", "1", "2", "3", "4", "5", "6"],
"mask": ["MM/DD/YYYY", "DD/MM/YYYY", "MM/YYYY", "MM/YY", "YYYY-MM-DD", "EEE DD. MMM YYYY"],
"monthnames": ["January,February,March,April,May,June,July,August,September,October,November,December", "Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec"],
"monthnames": ["January, February, March, April, May, June, July, August, September, October, November, December", "Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec"],
"style": ["haloBlue", "haloGreen", "haloOrange", "haloSilver"],
"visible": ["true", "false"]
}
Expand Down Expand Up @@ -145,7 +145,7 @@
}
},
"cfcomponent": {
"attributes": [[], ["accessors", "attribute", "batchsize", "bindingname", "cacheName", "cacheUse", "catalog", "discriminatorColumn", "discriminatorValue", "displayname", "dynamicinsert", "dynamicupdate", "embedded", "entityname", "extends", "hint", "implements", "initmethod", "joinColumn", "lazy", "namespace", "optimisticlock", "output", "persistent", "porttypename", "readonly", "rowid", "saveMapping", "schema", "selectbeforeupdate", "serializable", "serviceaddress", "serviceportname", "style", "table", "wsdlfile"]],
"attributes": [[], ["accessors", "attribute", "batchsize", "bindingname", "cacheName", "cacheUse", "catalog", "discriminatorColumn", "discriminatorValue", "displayname", "dynamicinsert", "dynamicupdate", "embedded", "entityname", "extends", "hint", "implements", "initmethod", "joinColumn", "lazy", "mappedSuperClass", "namespace", "optimisticlock", "output", "persistent", "porttypename", "readonly", "rowid", "saveMapping", "schema", "selectbeforeupdate", "serializable", "serviceaddress", "serviceportname", "style", "table", "wsdlfile"]],
"attribute_values": {
"accessors": ["true", "false"],
"attribute": ["true", "false"],
Expand All @@ -154,6 +154,7 @@
"dynamicupdate": ["true", "false"],
"embedded": ["true", "false"],
"lazy": ["true", "false"],
"mappedSuperClass": ["true", "false"],
"optimisticlock": ["none", "dirty", "all", "version"],
"output": ["true", "false"],
"persistent": ["true", "false"],
Expand Down Expand Up @@ -392,13 +393,14 @@
}
},
"cfftp": {
"attributes": [["action"], ["actionparam", "asciiextensionlist", "attributes", "buffersize", "connection", "directory", "existing", "failifexists", "fingerprint", "item", "key", "localfile", "name", "new", "passive", "passphrase", "password", "port", "proxyserver", "remotefile", "result", "retrycount", "secure", "server", "stoponerror", "timeout", "transfermode", "username"]],
"attributes": [["action"], ["actionparam", "asciiextensionlist", "attributes", "buffersize", "connection", "directory", "existing", "failifexists", "fingerprint", "item", "key", "localfile", "name", "new", "passive", "passphrase", "password", "port", "proxyserver", "remotefile", "result", "retrycount", "secure", "server", "stoponerror", "systemtype", "timeout", "transfermode", "username"]],
"attribute_values": {
"action": ["open", "close", "changedir", "createdir", "listdir", "removedir", "getfile", "putfile", "rename", "remove", "getcurrentdir", "getcurrenturl", "existsdir", "existsfile", "exists", "quote", "site", "allo", "acct"],
"failifexists": ["true", "false"],
"passive": ["true", "false"],
"secure": ["true", "false"],
"stoponerror": ["true", "false"],
"systemtype": ["WINDOWS", "UNIX"],
"transfermode": ["auto", "ascii", "binary"]
}
},
Expand Down Expand Up @@ -468,7 +470,7 @@
"select": ["true", "false"],
"textcolor": ["black", "red", "blue", "magenta", "cyan", "orange", "darkgray", "pink", "white", "lightgray", "yellow"],
"type": ["string_noCase", "Boolean", "numeric", "date", "combobox", "image"],
"valuesdelimiter": [", ", ";", "|", ":"]
"valuesdelimiter": [", ", ";", "|", ":"]
}
},
"cfgridrow": {
Expand Down Expand Up @@ -510,14 +512,16 @@
}
},
"cfhttp": {
"attributes": [["url"], ["charset", "clientcert", "clientcertpassword", "columns", "compression", "delimiter", "file", "firstrowasheaders", "getasbinary", "method", "multipart", "name", "password", "path", "port", "proxypassword", "proxyport", "proxyserver", "proxyuser", "redirect", "resolveurl", "result", "textqualifier", "throwonerror", "timeout", "useragent", "username"]],
"attributes": [["url"], ["authType", "charset", "clientcert", "clientcertpassword", "columns", "compression", "delimiter", "domain", "file", "firstrowasheaders", "getasbinary", "method", "multipart", "multipartType", "name", "password", "path", "port", "proxypassword", "proxyport", "proxyserver", "proxyuser", "redirect", "resolveurl", "result", "textqualifier", "throwonerror", "timeout", "useragent", "username", "workstation"]],
"attribute_values": {
"authType": ["BASIC", "NTLM"],
"charset": ["utf-8", "iso-8859-1", "windows-1252", "us-ascii", "shift_jis", "iso-2022-jp", "euc-jp", "euc-kr", "big5", "euc-cn", "utf-16"],
"delimiter": [",", ";", "|", ":"],
"firstrowasheaders": ["true", "false"],
"getasbinary": ["auto", "false", "true"],
"method": ["get", "post", "put", "delete", "head", "trace", "options"],
"method": ["get", "post", "put", "delete", "head", "trace", "options", "patch"],
"multipart": ["false", "true"],
"multipartType": ["form-data", "related"],
"redirect": ["true", "false"],
"resolveurl": ["true", "false"],
"textqualifier": ["\"", "'"],
Expand Down Expand Up @@ -697,7 +701,7 @@
"attribute_values": {}
},
"cfloop": {
"attributes": [[], ["array", "characters", "collection", "condition", "delimiters", "endrow", "file", "from", "index", "item", "list", "query", "startrow", "step", "to"]],
"attributes": [[], ["array", "characters", "collection", "condition", "delimiters", "endrow", "file", "from", "group", "groupcasesensitive", "index", "item", "list", "query", "startrow", "step", "to"]],
"attribute_values": {
"delimiters": [",", ";", "|", ":"]
}
Expand Down Expand Up @@ -826,8 +830,9 @@
}
},
"cfoutput": {
"attributes": [[], ["group", "groupcasesensitive", "maxrows", "query", "startrow"]],
"attributes": [[], ["encodefor", "group", "groupcasesensitive", "maxrows", "query", "startrow"]],
"attribute_values": {
"encodefor": ["html", "htmlattribute", "javascript", "css", "xml", "xmlattribute", "url", "xpath", "ldap", "dn"],
"groupcasesensitive": ["true", "false"]
}
},
Expand Down Expand Up @@ -1042,7 +1047,7 @@
"encryption": ["128-bit", "40-bit", "none"],
"format": ["PDF", "FlashPaper", "Excel", "RTF", "HTML", "XML"],
"overwrite": ["true", "false"],
"permissions": ["AllowPrinting,AllowCopy,AllowScreenReaders", "AllowPrinting", "AllowModifyContents", "AllowCopy", "AllowModifyAnnotations", "AllowFillIn", "AllowScreenReaders", "AllowAssembly", "AllowDegradedPrinting", "AllowPrinting,AllowModifyContents,AllowCopy,AllowModifyAnnotations,AllowFillIn,AllowScreenReaders,AllowAssembly,AllowDegradedPrinting"],
"permissions": ["AllowPrinting, AllowCopy, AllowScreenReaders", "AllowPrinting", "AllowModifyContents", "AllowCopy", "AllowModifyAnnotations", "AllowFillIn", "AllowScreenReaders", "AllowAssembly", "AllowDegradedPrinting", "AllowPrinting, AllowModifyContents, AllowCopy, AllowModifyAnnotations, AllowFillIn, AllowScreenReaders, AllowAssembly, AllowDegradedPrinting"],
"type": ["standard", "netscape", "microsoft"]
}
},
Expand Down
Loading

0 comments on commit 5e31f98

Please sign in to comment.