Commit Graph

841 Commits (182ef900d74aef818eaad1488acbcdb3f818a6a4)
 

Author SHA1 Message Date
Salvo 'LtWorf' Tomaselli 182ef900d7
Full path to pyw
Or windows fucks it up
2020-09-02 23:54:18 +07:00
Salvo 'LtWorf' Tomaselli e3214def4c
Merge pull request #37 from ltworf/windows
Windows fixes
2020-09-02 19:18:20 +07:00
Salvo 'LtWorf' Tomaselli f26a55ee1e
Useless file 2020-09-02 18:18:25 +07:00
Salvo 'LtWorf' Tomaselli d11f87067d
Windows README 2020-09-02 18:18:20 +07:00
Salvo 'LtWorf' Tomaselli bf21ff1121
New installer 2020-09-02 18:18:20 +07:00
Salvo 'LtWorf' Tomaselli bf4a113f0c
Merge pull request #38 from ltworf/win_patches
Pick some fixes from the windows branch
2020-08-30 19:47:52 +07:00
Salvo 'LtWorf' Tomaselli 482704be81
Only show the tuple, not the full context 2020-08-30 19:42:06 +07:00
Salvo 'LtWorf' Tomaselli 821b96c6e8
Force \n as endline
Closes: #15

On windows python uses \r\n when saving, but \n when loading so it is a mess.

So i need to force it.
2020-08-30 19:42:00 +07:00
Salvo 'LtWorf' Tomaselli c44a9abff4
No sip 2020-08-30 19:15:40 +07:00
Salvo 'LtWorf' Tomaselli 1a5e78d6d4
Fix crash on empty text 2020-08-27 15:03:57 +07:00
Salvo 'LtWorf' Tomaselli 8270e6517c
Merge pull request #34 from ltworf/colourstr
Pretty printing
2020-08-26 21:22:22 +07:00
Salvo 'LtWorf' Tomaselli 9620b24536
Merge pull request #36 from ltworf/disable_cast
Disable cast when loading json
2020-08-26 21:22:01 +07:00
Salvo 'LtWorf' Tomaselli c279996aa2
Colorize failed test output 2020-08-26 21:17:05 +07:00
Salvo 'LtWorf' Tomaselli 20c921218b
Remove spaces 2020-08-26 21:17:05 +07:00
Salvo 'LtWorf' Tomaselli 8ef54855d7
Better help 2020-08-26 21:17:05 +07:00
Salvo 'LtWorf' Tomaselli 15026ddb0d
Make mypy happy 2020-08-26 21:17:04 +07:00
Salvo 'LtWorf' Tomaselli 925c238f02
Use pretty print in cli 2020-08-26 21:17:04 +07:00
Salvo 'LtWorf' Tomaselli 96404b4d98
Add pretty print function 2020-08-26 21:17:04 +07:00
Salvo 'LtWorf' Tomaselli ea1d5f9752
Load json without casting
It will avoid json stuff cast as string.

It is a workaround for this https://github.com/ltworf/typedload/pull/140

But anyway cast is not needed so it is fine to disable it.
2020-08-26 21:16:36 +07:00
Salvo 'LtWorf' Tomaselli ea22350463
Merge pull request #35 from ltworf/multiline_optimization
Fix and test multiline optimizer
2020-08-26 17:39:53 +07:00
Salvo 'LtWorf' Tomaselli 9d6402b48c
Make a bunch of stuff private
Only export the entry points, not all the inner functions.
2020-08-26 17:26:55 +07:00
Salvo 'LtWorf' Tomaselli a727c51e75
Handle new parser nodes 2020-08-26 17:16:14 +07:00
Salvo 'LtWorf' Tomaselli 1181042ee0
Handle empty context 2020-08-26 17:15:51 +07:00
Salvo 'LtWorf' Tomaselli 0af82fb225
Python test for multiline 2020-08-26 17:15:24 +07:00
Salvo 'LtWorf' Tomaselli 7228c86d72
I had completely forgotten about multiline optimizations 2020-08-26 17:14:22 +07:00
Salvo 'LtWorf' Tomaselli 8755236f94
Merge pull request #31 from ltworf/column_types
Types per column, not per cell. Cast when loading.
2020-08-24 19:31:55 +07:00
Salvo 'LtWorf' Tomaselli a6898697a6
CHANGELOG 2020-08-24 19:09:20 +07:00
Salvo 'LtWorf' Tomaselli ae2e838df2
Fix cli for the double format 2020-08-24 19:09:20 +07:00
Salvo 'LtWorf' Tomaselli a110f3f2c5
GUI manage json files 2020-08-24 19:09:20 +07:00
Salvo 'LtWorf' Tomaselli 5a271dce1d
Usual mypy workaround
https://github.com/ltworf/typedload/issues/132

https://github.com/python/mypy/issues/9003
2020-08-24 19:08:52 +07:00
Salvo 'LtWorf' Tomaselli 177ca5a3ee
Values can be None 2020-08-24 18:42:18 +07:00
Salvo 'LtWorf' Tomaselli 0920559a82
Make mypy happy 2020-08-24 18:38:10 +07:00
Salvo 'LtWorf' Tomaselli 4d280e02b0
Keep tests in json format
So the results are typed
2020-08-24 18:37:55 +07:00
Salvo 'LtWorf' Tomaselli d592cc3050
Fix json loading
With some small amount of error detection.
2020-08-24 18:37:19 +07:00
Salvo 'LtWorf' Tomaselli dac2d47246
Depend on typedload 2020-08-24 18:02:39 +07:00
Salvo 'LtWorf' Tomaselli 4d81858c8b
Make Rdate into something typedload can handle 2020-08-24 18:02:11 +07:00
Salvo 'LtWorf' Tomaselli c4bc74d612
Add a new json format 2020-08-24 18:02:11 +07:00
Salvo 'LtWorf' Tomaselli 2e5d18f418
Switch to dataclass
NamedTuple has some bug that makes dumping broken
2020-08-24 18:02:11 +07:00
Salvo 'LtWorf' Tomaselli ff9f0c10b6
Do not crash when editing relations containing None 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli 5869f5d421
Visually show the different types 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli 4c101526e6
Use None instead o a special string 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli 33a2a21617
Fix types 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli 18d6f5ebfb
Remove add and sub from Rdate
They were not symmetrical, better to remove them.
2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli 4dc7f131f3
Only use eq 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli 774c8eed67
Compare to anything 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli b69fd0980b
Do not clash names 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli b86c0c6a61
Remove leftover print 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli 69f7e83626
Fix printing 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli 90b3163e32
Add the --- token bare 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli 5c8cbde27a
No autocasts needed
All casting is done when loading
2020-08-24 18:02:10 +07:00