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

223 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
=
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
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
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
Pangoraw
fde8bfcc5d Update functions descriptions for regexp 2018-10-06 09:53:44 +02: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
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
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
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
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
esell
0b6639fdaf
add unit tests for runtime/core - function 2018-10-05 10:30:54 -06:00
esell
3c78bca385
swap magic numbers for enums in errors_test.go 2018-10-05 10:07:31 -06:00
esell
54a8c0f81b
more unit test for runtime/core - errors 2018-10-05 09:51:43 -06:00
Tim Voronov
abec033649 Reorganized CLI 2018-10-04 22:13:52 -04:00
Tim Voronov
99cd9d3f83 Commented out debug test 2018-10-04 21:38:27 -04:00
Tim Voronov
c650d28b29 Added support to open blank page 2018-10-04 21:37:28 -04:00
esell
94f8398255
fix package name in errors_test.go 2018-10-04 13:46:34 -06:00
esell
0c5c4ebb91
add unit tests for runtime/core - errors 2018-10-04 13:43:04 -06:00
Tim Voronov
08b5f53451 Removed redundant nil check 2018-10-04 10:38:42 -04:00
Tim Voronov
d92d97da89
Merge pull request #35 from krishnakarthik1309/travis-ci
fix travis-ci(#28): use shell script instead of aliases
2018-10-04 10:32:44 -04:00
Tim Voronov
74fb7566ac Fixed parsing nil 2018-10-04 08:08:57 -04:00
krishnakarthik1309
acc48b5631 fix json_test.go: Parsing none(nil)
:
json should parse as (values) None if input is nil.
2018-10-04 17:30:33 +05:30
Tim Voronov
91fc6a1f4a #11 Added params 2018-09-28 21:04:16 -04:00
Tim Voronov
74c03367cc Extended range operator 2018-09-28 13:56:25 -04:00
Tim Voronov
e427efd74e #27 Added logging 2018-09-28 00:28:33 -04:00
Tim Voronov
4d4c6ceadd Renamted non-safe methods 2018-09-27 22:10:17 -04:00
Tim Voronov
533f868b85 Added new methods 2018-09-27 22:03:35 -04:00
Tim Voronov
a8813f8b03 #26 Updated INPUT 2018-09-27 21:41:41 -04:00
Tim Voronov
f43d6fe870 #26 implemented INPUT 2018-09-27 19:24:58 -04:00
Tim Voronov
8b2e210317 Added possibility to use FOR loop in ternary expression 2018-09-27 19:05:56 -04:00
Tim Voronov
ef29241aa6 Added dynamic Element.value 2018-09-27 17:19:55 -04:00
Tim Voronov
61c81fa03b Reverted generation 2018-09-27 17:03:49 -04:00
Tim Voronov
f8973aa504 Changed parser generation 2018-09-27 14:36:16 -04:00
Tim Voronov
69a7295da5 Added .Clone() method to runtime Value 2018-09-27 11:53:26 -04:00
Tim Voronov
eeee30856e Improved events handling 2018-09-27 11:32:52 -04:00
Tim Voronov
38478e45eb Fixed synchonization 2018-09-27 00:45:07 -04:00
Tim Voronov
447f9504a9 Added element syncrhonization 2018-09-27 00:26:56 -04:00
Tim Voronov
825c33010c Refactored dynamic elements 2018-09-26 22:03:06 -04:00
Tim Voronov
a6b51a1f40 #23 Added NAVIGATE 2018-09-25 19:04:07 -04:00
Tim Voronov
81d70fc1f8 Fixed dead lock 2018-09-25 18:06:45 -04:00
Tim Voronov
ea6007b99e #22 Added WAIT_NAVIGATION 2018-09-25 17:58:57 -04:00
Tim Voronov
64d0f585b4 Added possibility to dispatch events on node 2018-09-25 11:43:58 -04:00
Tim Voronov
2a1bac6650 #25 Added incognito mode 2018-09-23 21:11:13 -04:00
Tim Voronov
4df1949b91 #13 Added WAIT_ELEMENT function 2018-09-23 04:33:20 -04:00
Tim Voronov
23b97c95b9 #18 Added possiblitiy to read query string from the stdin 2018-09-23 02:05:05 -04:00
Tim Voronov
aa5667f10b #2 Added IN operator 2018-09-22 21:06:19 -04:00
Tim Voronov
8436fa7425 Updated operators 2018-09-22 20:28:33 -04:00
Tim Voronov
bbb9f7b68f #4 Added range operator 2018-09-22 19:18:10 -04:00
Tim Voronov
d2484b8bfd #3 added ternary operator 2018-09-22 11:24:35 -04:00
Tim Voronov
52250214ed Removed unused string methods 2018-09-22 00:47:33 -04:00
Tim Voronov
e6d692010c stdlib.strings
Added string functions to standard library
2018-09-21 20:37:09 -04:00
Tim Voronov
b700d17ac5 Updated README 2018-09-18 21:41:16 -04:00
Tim Voronov
e02e861240 Hello world 2018-09-18 16:42:38 -04:00