1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-16 11:37:36 +02:00
Commit Graph

148 Commits

Author SHA1 Message Date
3timeslazy
809a51b217 Added objects 'Has' and 'Keys' function (#69)
* add pkg/stdlib/objects Length function

* rename lenght.go -> length.go

* fix tests according to other tests

* add new tests to length tests

* delete objects method Length

* add objects method Has

* add objects function Keys

* small fixes in Keys and Has functions

* change Has function

* unit tests for Keys function
2018-10-07 17:53:41 -04:00
Tim Voronov
3a834d9a0e
Merge pull request #70 from 3timeslazy/feature/values_object_get
change Object.Get(key values.String) (core.Value, bool) to Object.Get…
2018-10-07 17:03:42 -04:00
=
a51faf8d05 change Object.Get(key values.String) (core.Value, bool) to Object.Get(key values.String) (core.Value, values.Boolean) for consistency. 2018-10-07 23:55:12 +03:00
Tim Voronov
2c67482467
Merge pull request #66 from SumLare/like-implementation
strings.Like() implementation
2018-10-07 13:30:27 -04:00
SumLare
c97e12d90f Add like function test 2018-10-07 15:29:09 +03:00
SumLare
0a3e488af9 Add like function implementation 2018-10-07 15:22:04 +03:00
Tim Voronov
1db9082085
Update static-page.fql 2018-10-07 02:24:29 -04:00
Tim Voronov
e3ff06be4d
Merge pull request #64 from MontFerret/refactoring/return-distinct
Added DISTINCT clause as an iterator
2018-10-07 01:32:06 -04:00
Tim Voronov
3f1ca554e2 Added DISTINCT clause as an iterator 2018-10-07 01:23:35 -04:00
Tim Voronov
e0a7a8e6a1 Refactored types lib 2018-10-07 01:07:44 -04:00
Tim Voronov
e64ad4ec0e
Feature/#33 wait class function (#63)
* #33 Lib cleanup. Added WAIT_CLASS and WAIT_CLASS_ALL functions

* #33 Fixed attr update

* #33 HTMLElement.WaitForClass

* #33 Updated HTMLDocument.WaitForClass
2018-10-06 22:33:39 -04:00
Tim Voronov
79b8171fd8
Merge pull request #58 from Pangoraw/master
Update functions descriptions for regexp
2018-10-06 19:50:37 -04:00
Pangoraw
fde8bfcc5d Update functions descriptions for regexp 2018-10-06 09:53:44 +02:00
Tim Voronov
e8d82d9396 Moved exmples folder 2018-10-05 23:36:23 -04:00
Tim Voronov
ec2d6a659b
Feature/#9 array functions (#57)
* #9 Added 'APPEND' function

* #9 Added 'FIRST' function

* #9 Added 'FLATTEN' function

* #9 Added 'INTERSECTION' function

* #9 Added 'LAST' function

* #9 Added 'MINUS' function

* #9 Added 'NTH' function

* #9 Added 'OUTERSECTION' function

* #9 Added 'POP' function

* #9 Added 'POSITION' function

* #9 Added 'PUSH' function

* Fixed nil pointer exception in value parser

* #9 Added 'REMOVE_NTH' function

* #9 Added 'REMOVE_VALUE' function

* #9 Added 'REMOVE_VALUES' function

* #9 Added 'REVERSE' function

* #9 Added 'SHIFT' function

* #9 Added 'SLICE' function

* Removed meme

* #9 Added 'SORTED' function

* #9 Added SORTED_UNIQUE function

* #9 Added 'UNION' function

* #9 Added 'UNION_DISTINCT' function

* #9 Added 'UNIQUE' function

* #9 Added 'UNSHIFT' function

* #9 Made more strict optional arg validation

* #9 Fixed linting errors
2018-10-05 21:27:34 -04:00
Tim Voronov
9e947ea9c4 Updated dep lock file 2018-10-05 21:04:47 -04:00
Tim Voronov
4c272b4f6e
Merge pull request #56 from davad/master
Exclude vendor folder from linter
2018-10-05 21:04:00 -04:00
David Landry
ffb0fef70e Don't lint vendor folder 2018-10-05 20:56:15 -04:00
David Landry
12889b7b1f Fix path to revive config 2018-10-05 20:54:27 -04:00
Tim Voronov
7fef5f3eb2
Merge pull request #55 from davad/cleanup/fix-naming-convention
Cleanup linting errors
2018-10-05 20:48:57 -04:00
David Landry
24b20f308f Fix variable name 2018-10-05 20:42:23 -04:00
David Landry
a460cfcf6c Merge remote-tracking branch 'upstream/master' into cleanup/fix-naming-convention 2018-10-05 20:35:55 -04:00
David Landry
2f6ef58cb4 Merge branch 'master' into cleanup/fix-naming-convention 2018-10-05 20:31:36 -04:00
Tim Voronov
54fb111040 Added custom type as a context key 2018-10-05 20:29:42 -04:00
David Landry
8942a5e584 Missed updating a bunch of identifiers 2018-10-05 19:40:09 -04:00
David Landry
ff0d9c667b Update lockfile 2018-10-05 19:00:22 -04:00
David Landry
0d43a37880 Swap golint for revive 2018-10-05 18:59:42 -04:00
David Landry
737016dcd2 Merge remote-tracking branch 'upstream/master' 2018-10-05 18:42:33 -04:00
David Landry
a7ecc90973 Missed renaming some identifiers 2018-10-05 18:30:03 -04:00
David Landry
86083df180 Merge branch 'cleanup/fix-naming-convention' of github.com:davad/ferret into cleanup/fix-naming-convention 2018-10-05 18:27:09 -04:00
David Landry
5188c243f6 Swap var -> const 2018-10-05 18:26:49 -04:00
David Landry
138f39d727
Merge branch 'master' into cleanup/fix-naming-convention 2018-10-05 17:42:28 -04:00
David Landry
5f201de7f9 Use custom type for keying Context
See https://blog.golang.org/context#TOC_3.2
2018-10-05 17:38:12 -04:00
David Landry
b970bf5a2b Fix unused-parameter errors 2018-10-05 17:38:12 -04:00
David Landry
a4ce880d9c Actually, let's just disable the check for Type 2018-10-05 17:38:12 -04:00
David Landry
31c31247ac Remove var-declaration errors 2018-10-05 17:38:12 -04:00
David Landry
31cb7c2762 Fix increment-decrement errors 2018-10-05 17:38:12 -04:00
David Landry
a7f8443d7d Revert changes to autogenerated code 2018-10-05 17:38:12 -04:00
David Landry
90c2c702e4 Rename variables and methods to match styleguide 2018-10-05 17:38:12 -04:00
David Landry
8e2006b73c Actually, let's just disable the check for Type 2018-10-05 17:00:37 -04:00
David Landry
423939af57 Change this to 'warning' because we're using a redefined 'Type' all over the place 2018-10-05 16:52:41 -04:00
David Landry
e0ca4065d7 Ignore parser files that are generated by antlr 2018-10-05 16:41:14 -04:00
David Landry
87faec998e
Run linting during CI
Install and run revive for linting
2018-10-05 16:11:28 -04:00
David Landry
0ea007f68f Add revive config file for linting 2018-10-05 16:00:04 -04:00
Tim Voronov
51d794d6c1
Merge pull request #52 from esell/param-test
add unit tests for runtime/core - param
2018-10-05 15:49:46 -04:00
Tim Voronov
1b4c7abe2a
Merge pull request #51 from MontFerret/bug/invalid-hashing
Fixed hashing
2018-10-05 15:47:18 -04:00
esell
1167d74ed3
add unit tests for runtime/core - param 2018-10-05 13:34:31 -06:00
Tim Voronov
3cb811c636 Fixed hashing 2018-10-05 15:17:22 -04:00
Tim Voronov
1b2a765569
Merge pull request #50 from esell/runtime-tests2
add unit tests for runtime/core - function
2018-10-05 13:42:59 -04:00
Tim Voronov
631f452d2a
Merge pull request #49 from esell/runtime-tests
more unit test for runtime/core - errors
2018-10-05 12:56:21 -04:00