James Ahlborn
0dc74ed679
fix handling of certain field validator expressions; add some tests for various expressions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1180 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
62f7289248
handle alternate true/false constant values
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1179 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
17d5d661ac
add more tests; add not like
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1178 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
0a182fbac9
more tests
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1177 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
08d2cf2b83
use common method pattern between ParseContext and EvalConfig
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1176 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
a6f33b99a6
ditch default parse context
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1175 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
1595c573b1
minor code warning cleanups
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1174 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
e820c1aacc
prep for release
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1167 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
f495fcc761
add some tests for functions; fix said functions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1166 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
2faf773bb9
return all values in map so that default values, calc values, etc get returned to caller
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1165 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
0b5f764325
more number format unit tests
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1164 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
94ada64785
add number format unit tests; update tests based on new formatting
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1163 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
eae1835fb7
add unit tests for property expression evaluation features
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1162 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
c8f31f36dd
allow col validator to get this column by name
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1161 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
21300bc9d3
implement floating point number formatting which matches access
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1160 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
6d200f6948
implement floating point number formatting which matches access
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1159 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
73bf6959dd
cleanup some fixmes
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1158 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
0d10040410
handle literal string default values
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1157 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
09d03800ce
use decimal math context which matches access precision; tweak string to number conversion to match access
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1156 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
2ff5d06acd
normalize decimals when used; convert number literals to decimal instead of double; handle int overflow for number literals
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1155 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
bf14911076
do not allow null result for conditions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1154 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
f5659151a3
Create new usage map correctly when adding an index to an existing table. fixes #147
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1152 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
a0e9ce63ee
knock out some fixmes; add support for custom function lookup and custom bindings passed into expression evaluation
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1151 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
bfc70bd618
Add some additional property keys and relevant enums for values
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1150 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
1a8771e555
plug expr evaluation into columns/tables; create Identifier for tracking expression ids; support single quoting in expressions; tweak string to number coercion; implement topo sorter for calc col eval
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1148 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
5a39a80966
start enforcing the required and no-zero len column properties
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1147 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
9908a0afe9
use specific exceptions for expr eval
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1146 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
e7f3aa37a7
fix null handling for string funcs
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1145 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
b8f3fcca02
move rnd logic to RandomContext
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1144 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
d95c415177
prep for release
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1140 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
71d884e1ad
update ddl flag for default properties even if type is explicitly provided. fixes #146
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1138 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
a307c8f58f
Expose the ddl attribute on properties. Set the attribute appropriately for known builtin properties. fixes issue #145
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1137 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
5640f02093
prep for release
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1133 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
d1dcbd5dfb
implement sql type to DataType conversions specific to access 2016 format
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1132 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
25b31c99f9
some more financial funcs, not all fully working
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1131 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
4fb8409266
Add full support for access 2016 databases including the new 'Large Number' (aka Bigint) data type. Fixes feature #37
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1130 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
0e75ed9111
implement some financial functions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1129 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
c84a6dd569
more math unit tests
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1128 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
389a37297d
handle plus as a unary number modifier; handle precedence of plus/minus in more confusing math expressions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1127 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
a5f0ddd082
prep for release
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1123 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
30cd79721f
Fix writing of property maps without any properties. fixes #144
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1122 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
9591a1f121
add support link to main page
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1121 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
774d505946
long type should be int values; implement more date/time and misc other functions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1120 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
8eb5fe91d9
implement some date/time functions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1119 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
e30e81c099
a few more number functions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1118 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
1f7373e77b
split out function groups; implement numeric functions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1117 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
4cac6717d1
bug fixes and unit tests
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1116 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
7f3beb13c5
fix some cast functions; more unit tests
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1115 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
392dfba3ef
add some initial default function unit tests; fix some parse bugs
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1114 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
8368b87ccd
implement a bunch of functions which really need unit tests; add support for calculated field expressions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1113 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago