Commit Graph

6925 Commits

Author SHA1 Message Date
Paul Chiusano
7979190405 Added caching flag to Evaluate1 command 2021-03-25 15:07:31 -05:00
Paul Chiusano
4e19a6837d filled in more of DisplayValues, just have eval left 2021-03-23 19:12:26 -05:00
Paul Chiusano
d57ff32fd1 fill in more of DisplayValues 2021-03-18 17:16:25 -05:00
Paul Chiusano
216c653cdc stubbed out goSpecial 2021-03-18 08:22:47 -05:00
Paul Chiusano
d6d912a95b ColorText supports background colors and inverted colors (untested) 2021-03-17 16:22:58 -05:00
Paul Chiusano
625c85c5b9 Fix incorrect type and constructor name 2021-03-16 11:46:03 -05:00
Paul Chiusano
30c47ba4d9 Finished all the boilerplate to make pattern matching on Pretty nicer
Now can start filling in goConsole and goSpecial
2021-03-16 11:40:50 -05:00
Paul Chiusano
7d213d8798 Some tweaks to Doc representation
Embedded evaluation type can't include the evaluated result, since that won't be recomputed when the dependencies are updated. Correct approach is to use the watch cache when evaluating embedded expressions in a doc.
2021-03-16 09:42:23 -05:00
Paul Chiusano
3c46801cfc Stub out implementation of DisplayValues for Pretty 2021-03-15 16:22:30 -05:00
Paul Chiusano
bb993626d2 Fix some compile errors after merge w/ trunk 2021-03-15 15:47:06 -05:00
Paul Chiusano
42bc5d55aa Merge remote-tracking branch 'origin/trunk' into topic/doc2 2021-03-15 15:34:58 -05:00
Paul Chiusano
95f8bba90c Noncompiling WIP 2021-03-15 15:34:19 -05:00
Paul Chiusano
cb8bfd57fa Filled in Haskell vals to reference doc-related types and ctors 2021-03-15 13:32:27 -05:00
Paul Chiusano
fe64df4d19 New text alignment functions align{Left,Right,Center}With
These use new calling conventions wordBoxDirect and wordWordBox direct.

Also added foreign convention for chars.
2021-03-15 12:09:54 -05:00
Paul Chiusano
4540cac968 IOSource finally compiles with new docs 2021-03-15 11:19:22 -05:00
Arya Irani
0a45ac194a
Merge pull request #1833 from samgqroberts/1800-followon
minor update to `run.md` transcript
2021-03-15 12:18:06 -04:00
Arya Irani
490e71213f
Merge pull request #1837 from unisonweb/macos-11.10-check
does the macOS-11.0 CI image work yet?
2021-03-15 11:31:31 -04:00
Arya Irani
4eb572d9e4
Merge pull request #1834 from ceedubs/explicit-branch
Tests: explicit branch name in git init
2021-03-14 22:41:11 -04:00
Arya Irani
d9cd17110d
Update ci.yaml 2021-03-14 22:02:37 -04:00
Arya Irani
abe9ecd5b1
Update ci.yaml 2021-03-14 11:46:33 -04:00
Arya Irani
d754361665
does the macOS-11.10 CI image work yet? 2021-03-13 16:31:40 -05:00
Cody Allen
334fa29607
Tests: explicit branch in git init
Before this change, when I ran the tests I got the following "hints"
printed to the console:

```
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
```

I think that this means that the tests could potentially fail, depending
on the user's local git config and/or version.

I tried using the `trunk` branch and the tests failed. It seems that
the tests are dependent on the `master` branch being used, so I figured
it was probably be best to explicitly specify that branch name.
2021-03-13 07:50:32 -08:00
Sam Roberts
fca1a59201 minor update to run transcript 2021-03-11 10:44:23 -05:00
Paul Chiusano
1c6f9cc4ed Avoid loading IOSource unless necessary in old runtime 2021-03-09 16:08:04 -06:00
Paul Chiusano
2258c26a8b Pretty.map implementation 2021-03-09 11:22:50 -06:00
Paul Chiusano
8aa09b4082 Filled in the rest of doc rendering
Done with draft of pure Unison side of doc rendering
2021-03-09 10:33:38 -06:00
Paul Chiusano
a06af31566 Filled in a bunch of rendering function 2021-03-08 16:10:22 -06:00
Paul Chiusano
f941687229
Merge pull request #1827 from nini-faroux/seq-list 2021-03-06 06:51:38 -06:00
Paul Chiusano
4f0267ce79
Merge pull request #1831 from unisonweb/topic/restore-git-test
update git test after #1817
2021-03-05 12:32:44 -06:00
Arya Irani
a5eee694d4
Merge pull request #1832 from seagreen/comments
Add some Haddocks for key declarations
2021-03-05 12:44:25 -05:00
Ian Grant Jeffries
7ee453af18 Add some Haddocks for key declarations 2021-03-04 18:14:23 -05:00
Paul Chiusano
bf395e573e Fix inline term and type links 2021-03-04 16:41:42 -06:00
Paul Chiusano
bd4275aeea Add ConsoleText type and stub out doc renderer 2021-03-04 14:28:47 -06:00
Paul Chiusano
e3e59320f4 WIP on pure Unison doc rendering
Rejiggered Doc type to have special forms separate from the doc structure, and filled in pretty-printer implementation. This allows the bulk of doc rendering to happen in pure Unison.
2021-03-04 13:42:12 -06:00
Rúnar
4ae71ac9f1
Merge pull request #1829 from unisonweb/topic/codebaseserver-listingtags
Codebase server: indicate in namespace listing whether a term is a doc or a test, and if a type is an ability
2021-03-04 11:14:58 -05:00
Arya Irani
2785610aad update git test after #1817 2021-03-04 10:55:32 -05:00
runarorama
2f12f86642 add comments 2021-03-04 09:57:31 -05:00
runarorama
de9dd75998 Repair merge 2021-03-03 23:04:46 -05:00
runarorama
458574e6b3 oops 2021-03-03 22:56:36 -05:00
runarorama
c766837e3e Merge branch 'trunk' of github.com:unisonweb/unison into topic/codebaseserver-listingtags 2021-03-03 22:39:13 -05:00
runarorama
9225ee6ef1 Distinguish docs, tests, and abilities in listing 2021-03-03 22:30:56 -05:00
Paul Chiusano
aa47117512 Porting pretty-printer to Unison
WIP. In prep for having all the rendering logic for docs be written in Unison.
2021-03-03 16:16:57 -06:00
ninifaroux
f4b8e87258 add consistent list naming 2021-03-03 19:19:47 +00:00
Paul Chiusano
97deaf5ff3 Fix issue with lexing/parsing of eval blocks 2021-03-03 11:35:45 -06:00
Paul Chiusano
8465458625 sync with trunk 2021-03-02 10:20:28 -06:00
Paul Chiusano
94f18027bd Fix @source parsing bug; down to 1 parse bug that I know of 2021-03-02 10:18:48 -06:00
Paul Chiusano
3dcfeb1686 fixed several lexer/parser bugs; only 2 remain that I'm aware of 2021-03-01 16:12:51 -06:00
Paul Chiusano
2b83c963f4
Merge pull request #1826 from unisonweb/topic/codebaseserver-morenames 2021-02-28 08:53:16 -06:00
Paul Chiusano
9623ef6471
Merge pull request #1825 from stew/bugfix/1824 2021-02-28 08:50:23 -06:00
runarorama
ceba095354 Fix merge 2021-02-27 20:30:21 -05:00