Граф коммитов

1557 Коммитов

Автор SHA1 Сообщение Дата
Luc Genetier 78a89aa05b
Connectors - support error scenarios (#528) 2022-08-11 11:38:33 +02:00
bryancroteau-MSFT d6dc34951f
Update DateValue_UO and DateTimeValue_UO to use TS semantics (#527)
* Update DateValue_UO and DateTimeValue_UO to use TS semantics

* PR feedback

* Update regex

* Fix test formatting

* Add negative tests

* Remove time zone specific tests

* Revert "Remove time zone specific tests"

This reverts commit aa50bc653f.

* Fix tests which contain Z
2022-08-10 14:48:20 -07:00
Luc Genetier 224debff48
Power Fx connector improvements (#526) 2022-08-08 23:38:30 +02:00
Malek a77b63ba4c
Malek/udf grammar changes (#521)
* tested and seems to work with parser changes, actually doing imperitive stuff isn't fully implemented yet

* imperative seems to be working for UDFs

* removed unused TexlStrings for errors for UDFs

* some nit changes for UDFs

* removed parse level parameter conflict checking

* some nit changes and tests for exceesive whitespace and comments for UDFs

* removed TokPlainEat, changed Args hashset to use out and changed flags to use a Stack.

* removed second stack push and pop.

* changed where the pop happens

* nit changes
2022-08-08 14:05:32 -07:00
Kartik K R d8b91bbda2
scalar in table optionset (#522)
* scalar in table optionset

* make scalar in multiselectTable nondelegable

* update InopDelegationStrategy

Co-authored-by: Kartik K R <karr@microsoft.com>
2022-08-08 10:23:59 -07:00
Luc Genetier 5ab96a44e0
Make connector GetAuthToken async (#525) 2022-08-08 18:16:39 +02:00
BruceHaley 25e9106435
Fix bugs in API validation for forks (#517)
* Remove condition from generate_multiconfig_var

* Fix feed setup, fix tag build
2022-08-03 22:07:22 -07:00
BruceHaley b9872d1449
Remove skip API validation for forks (#514)
* Add a skip validation for forks

* Fix var packageFeed

* Remove skip validation

* Cleanup
2022-08-03 14:04:31 -07:00
Kartik K R ea23975413
prevent support scalar in MultiselectOptionset table (#510)
* do not support scalar in MultiselectOptionset

* add comments
2022-08-02 17:06:44 -07:00
BruceHaley c0499cf822
Add a skip API validation for forks (#512)
* Add a skip validation for forks

* Fix var packageFeed
2022-08-02 12:07:34 -07:00
Mitu Goswami 915d0a216a
Added testcase files for Sort, SortByColumns functions (#430)
* Added testcase files for Sort, SortByColumns functions

* Updating the files based on review comments

* More review comment changes in Sort.txt file

* Updating sort test cases

Co-authored-by: Luc Genetier <69138830+LucGenetier@users.noreply.github.com>
Co-authored-by: Carlos Figueira <carlosff@microsoft.com>
2022-08-01 15:42:28 -07:00
Mitu Goswami 77d4a904b5
Adding text testcase files for Find and Search functions (#443)
* Adding text testcase files for Find and Search functions

* Updating Find tests

* Updating Search tests

Co-authored-by: Luc Genetier <69138830+LucGenetier@users.noreply.github.com>
Co-authored-by: Carlos Figueira <carlosff@microsoft.com>
2022-08-01 15:03:05 -07:00
bryancroteau-MSFT 48f4875dbc
Add recursive type contains function (#508)
* Add recursive type contains function

* PR feedback
2022-08-01 14:46:51 -07:00
Mitu Goswami 57cb340225
Added testcase files for IfError and IsEmpty functions (#429)
* Added testcase files for IfError and IsEmpty functions

* Updated files based on PR review comments

Updated IfError.txt and IsEmpty.txt files based on review comments

* Updating IsEmpty.txt based on review comments

* Updating tests

Co-authored-by: Luc Genetier <69138830+LucGenetier@users.noreply.github.com>
Co-authored-by: Carlos Figueira <carlosff@microsoft.com>
2022-08-01 10:21:02 -07:00
Mitu Goswami b0e018361f
Adding text testcase file for Coalesce function (#449)
* Adding text testcase file for Coalesce function

* Update error tests for Coalesce with real errors

Co-authored-by: Luc Genetier <69138830+LucGenetier@users.noreply.github.com>
Co-authored-by: Carlos Figueira <carlosff@microsoft.com>
2022-08-01 09:11:25 -07:00
Akshar V Patel 9c92fd2799
adding dropped curly braces back in interpolated string when formatting (#501)
* adding dropped curly braces back in interpolated string when formatting

* deleting handleescapedcurlybrances function and moving the code inside it directly under case statements
2022-07-29 16:36:56 -07:00
Jas Valgotar 1f64f8d880
Rouding error fixed (#488) (#499)
* Rouding error fixed (#488)

* Adding comments for future refrences

* Revert "Adding comments for future refrences"

This reverts commit bbaa68eb6d.

Co-authored-by: Mike Stall <mikestall@hotmail.com>
2022-07-28 15:27:38 -07:00
Malek ab8e2a732b
Changed 'As' to ':' for type annotations (#498) 2022-07-28 09:51:07 -07:00
Malek 9ba3b21d68
Integration changes working (#496)
* Integration changes working

* added change

* changed naming and added FunctionInfo returns for UDFs

* changed return type of define funciton

* changed to property for texlfunction in lazybinder

* Changed some small things

* fixed public surface tests

* changed errors
2022-07-27 16:24:41 -07:00
McCall Saltzman e7287a255d
Add view/nv to Bin Op Matrix (#494) 2022-07-27 10:23:56 -07:00
McCall Saltzman 91e16efc59
Add internalsvisibleto for DataflowAnalysis (#495) 2022-07-27 10:05:19 -07:00
Malek 4ed833009c
Parser Changes for UDF (#480)
* parser changes

* made changes to stop weird breaking from happening

* Mostly renaming

Renamed some things, removed .ToString, added an error if you defined the same argument name twice.
2022-07-26 12:21:23 -07:00
McCall Saltzman b6bcc2eca5
Add obsolete API back to temporarily fix diamond dependency (#492) 2022-07-25 19:41:55 -07:00
McCall Saltzman b6b080441a
Add back missing condition (#491) 2022-07-25 18:23:34 -07:00
Ananya-Gupta24 5202033a01
Add new resource strings for improving formula columns error messages (#486)
* add new resource strings for specfic error messages replacing FormulaColumns_NotSupported

* updated virtual table message

* nit update

* updated unsupported op message

* updated argtype message

* added new string for argtypenotsupported for back compat
2022-07-25 13:32:06 -07:00
Luc Genetier 4b52e613c2
Add a test case demonstrating example of heterogenous array (#490) 2022-07-25 22:11:33 +02:00
Mike Stall 86fc81f540
Extend ReflectionFunction to handle SetProperty(). (#487)
* Extend ReflectionFunction to handle SetProperty().

Binds as:
   SetProperty(source.Prop, newValue)

But invokes as:
  SetProperty(source, "Prop", newValue)

This is tactical and avoids new public surface, but should be handled by TypeRules.

* pr feedback
2022-07-25 10:33:28 -07:00
Luc Genetier b7e83cc72e
Prevent adding the same function multiple times (#484) 2022-07-22 20:23:11 +02:00
Malek 7f50d99f67
Preliminary support for user-defined functions in RecalcEngine (#485)
* main implementation of UDF

* fixed nit changes.

* Defining a function twice now throws an exception

* nit changes
2022-07-21 14:05:52 -07:00
Luc Genetier 57e1469130
[Breaking] Consistent output name for single column tables (#473) 2022-07-21 16:08:31 +02:00
McCall Saltzman 1a8591d365
Add support for Lazy Type Marshalling via virtual RecordValue (#471)
Adds support for overriding RecordType to do lazy type marshalling, updates the C# host marshalling interfaces, and extends DType with LazyRecord and LazyTable DKinds.

The intent here is not only to provide support for hosts to lazily marshal types, but also to provide a path towards unifying the one-off DKinds that do similar type expansion today: Control, DataEntity, Attachment.

The lazy type support is implemented through LazyTypeProvider, which contains a callback to retrieve the type of each field.

Closes #225
2022-07-20 17:47:28 -07:00
BruceHaley 85764a89eb
Add task to delete outdated API compat results (#478)
* Add task delete old comment

* Tweak

* Tweak 2

* Tweak 3

* Add userNameToMatch filter

* Tweak

* Tweak

* Another dummy tweak

* Debug

* Debug 2

* Debug 3

* Debug 4

* Tweak 4

* Cleanup

* Cleanup 2
2022-07-19 16:56:58 -07:00
Luc Genetier 6416143a11
Add Variable support in Intellisense (#460) 2022-07-19 22:50:07 +02:00
McCall Saltzman ecf4679a73
Mark TableType and RecordType empty constructors as obsolete (#481) 2022-07-18 21:31:05 -07:00
McCall Saltzman 74a063ea39
Separate out BinaryOp IR Matrix to be sharable with JS Translator (#479) 2022-07-18 16:40:19 -07:00
BruceHaley 9e7b6f6a82
Define vars PackagesToValidate, ApiContractVersion in Azure (#477)
* Move vars to Azure: PackagesToValidate, ApiContractVersion

* Tweak
2022-07-18 09:45:28 -07:00
Luc Genetier 1893bf35b8
Preventing C#10 in VS 2022 as <LangVersion> defaults to latest (#475) 2022-07-18 11:54:37 +02:00
Malek bfb2502b51
Functions now have a maximum call depth at runtime. (#470)
* max call depth is implemented.

* changed interface to properly match how it should be used

* refactored to use a tuple for parameter instead of two seperate parameters

* refactored everything from using tuples to using new EvalVistorContext struct

* small changes to EvalVistorContext and removed redundant Exception class

* removed some unsed usings and changed where StackMarker is located.

* removed some unused usings

* Update RecalcEngineTests.cs

now test uses a boolean.

* Made changes per pr.

* Small changes per PR.

* Removed the set ability from properties in EVC
2022-07-13 09:29:26 -07:00
BruceHaley dda9307738
Add CI pipeline having API compat checks (#474)
* Add .yml for api compat checking pipeline

* Increase wait time

* Tweaks

* Add comment

* Upgrade ApiCompatVersion: 0.2.2-preview

* Rename vars

* Add Publish compat results to Artifacts

* Fix copy results

* Drop MSBuild args -p:SignAssembly=false

* Drop task 'Verify publish compat results success'

* Tweak artifacts folder name

* Fix DownloadPipelineArtifact to only download one file

* Rename var ApiContractVersion

* Add queue time feed option

* Debug api compat stage

* Debug 2

* Debug 3

* Debug 4

* Debug 4b

* Debug 5

* Debug 6

* Debug 7

* Debug 8

* Try full monte

* Do tagging

* Fix feed

* Parameters test

* Pass param

* Fix quotes

* Tweak condition

* Twesk

* Change var ContractVersion

* add Display env vars

* Add Display env vars 2

* Tweaks

* Tweaks 2

* Pass ContractVersion to api validation steps

* Bug fix

* Fix parameters.ContractVersion

* Fix ${{ parameters.ContractVersion }}

* Fix 11

* Fix apiContractVersion

* Add quotes

* Fix feed setup

* Fix powerfx-feed-setup-step.yml call

* Fix copy cov

* Add -Source to get contract

* Cleanup

* Clean up feed-setup-step

* Tweak comment
2022-07-12 18:05:01 -07:00
bryancroteau-MSFT b00f2e0c9b
Fix missing overrides in new UO functions (#472) 2022-07-12 12:12:16 -07:00
McCall Saltzman d583c4380e
Remove DType unused members and port tests (#468) 2022-07-10 14:37:00 -07:00
Mike Stall f5ae90e0b7
Fix a breaking change from #444. (#469) 2022-07-09 16:56:26 -07:00
bryancroteau-MSFT 6b4273f043
Initial work on Color and Color_UO (#464)
* Initial work on Color and Color_UO

* Add ColorValue tests

* Add Color_UO tests

* Add empty string handling to ColorValue

* Add GUID impl

* Add GUID_UO

* Fix bug in GUID_UO

* Add TimeValue_UO

* Add Regex.Compiled option

* Remove ColorValue C#

* Update GUID print output
2022-07-08 15:21:32 -07:00
Kartik K R 57e2e4bb9d
remove max selects limit (#465) 2022-07-08 10:22:10 -07:00
McCall Saltzman 484608aae7
Add InternalsVisibleTo for DataverseParser project (#467) 2022-07-08 10:09:27 -07:00
Luc Genetier c6d6a2af68
[.Net Analyzers] CA1001, CA2000 - Fix disposable objects (#461) 2022-07-08 18:54:35 +02:00
Luc Genetier 4c3005b3db
Add default feature to TexlBinding.Run (#466) 2022-07-08 18:10:46 +02:00
Luc Genetier 78dd7dbc6f
[ { a: 1 } ] - [Breaking Change] Do not add "Value:" for arrays of records (#444) 2022-07-08 09:23:42 +02:00
jack-work bdb25ee6c7
Expose internals to CanvasEngine project (#459) 2022-07-06 22:57:25 -07:00
Luc Genetier e4f137b2d0
Fix 'in' (#458) 2022-07-06 14:35:16 -07:00