Commit graph

12,852 commits

Author SHA1 Message Date
Joey Yakimowich-Payne
b233ce0f23 Fix travis errors with undefined consts and add correct wait.h procs 2018-06-27 18:36:13 +09:00
Joey Yakimowich-Payne
bec2c96730 Update docs for nintendo switch 2018-06-27 10:30:59 +09:00
Joey Yakimowich-Payne
66c0ed945c Add separate switch consts file 2018-06-27 10:04:21 +09:00
Joey Yakimowich-Payne
b525bccc88 Remove Result type alias 2018-06-27 10:02:58 +09:00
Joey Yakimowich-Payne
25ae23a84b Make PR extccomp changes 2018-06-27 10:02:37 +09:00
Joey Yakimowich-Payne
3561f83e33 Remove DEVKITPRO references from nim.cfg 2018-06-26 11:12:19 +09:00
Joey Yakimowich-Payne
c137097e9c Merge branch 'devel' into nintendo_switch_support 2018-06-24 14:22:43 +09:00
Oscar Nihlgård
371f87e962 Change inconsistent paramaters in times.nim (#8091) 2018-06-23 09:01:55 -04:00
Joey Yakimowich-Payne
cd42369dce Make nintendoswitch == posix 2018-06-23 16:03:07 +09:00
Joey Yakimowich-Payne
06ba653488 Add what's not supported for Nintendo Switch docs 2018-06-23 09:34:58 +09:00
Joey Yakimowich-Payne
de8eb3d838 Remove old comment 2018-06-22 10:54:02 +09:00
Joey Yakimowich-Payne
d3cf79e3e7 Add more defined sections for nintendo switch 2018-06-22 10:47:37 +09:00
Joey Yakimowich-Payne
9b300a5c9c Add posix defs for nintendo switch 2018-06-22 10:44:28 +09:00
Andreas Rumpf
0c683d28bb Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-06-22 03:19:36 +02:00
Andreas Rumpf
cc11aa9698 varints module: critical bugfix 2018-06-22 03:19:30 +02:00
Andreas Rumpf
6015749720
Merge pull request #8062 from LemonBoy/fix-7825
Fix constant folding for shl/not
2018-06-21 00:35:17 +02:00
Araq
1be82d96a6 nimpretty: bugfixes; refs #8078 2018-06-20 11:35:36 +02:00
Araq
9adfaa7f07 fixes #8076 2018-06-20 10:20:42 +02:00
Andreas Rumpf
2dab490ec1 Merge branch 'araq-nimpretty' into devel 2018-06-20 01:03:41 +02:00
Andreas Rumpf
2a662250d4 nimpretty: added more code claimed to not be working 2018-06-20 00:59:01 +02:00
Andreas Rumpf
0725003a8c nimpretty: fixes more reported issues 2018-06-20 00:56:29 +02:00
Andreas Rumpf
26568dff00 nimpretty: also test on Windows/Appveyor 2018-06-19 23:48:27 +02:00
Andreas Rumpf
c3090fcb48 nimpretty: don't produce trailing whitespace; fixes the rendering of unary operators 2018-06-19 23:45:11 +02:00
LemonBoy
fb62dd1fae Fix constant folding for shl/not
Since the source and destination types are the same the result should be
trimmed to fit.
2018-06-19 22:32:15 +02:00
Andreas Rumpf
837d0c7270 nimpretty: proper command line handling; added tests; travis ensures these stay green 2018-06-19 20:06:04 +02:00
gemath
db68bbe4f7 Pegs AST read access (#8050)
* Make PEG AST nodes readable from outside the module.

* Added a test module for the pegs stdlib module.

* Edited changelog.

* Renamed ``sons`` iterator to ``items``, added ``pairs``, inlined both.

* Updated entry and moved it to the right category.
2018-06-19 18:13:33 +01:00
Andreas Rumpf
3ca11def6d
Merge pull request #7771 from nim-lang/nim-in-action-fixes
Higher Nim in Action coverage plus regression fix.
2018-06-19 17:52:05 +02:00
Dominik Picheta
0da87939d1
Merge pull request #8047 from kaushalmodi/add-styledWrite
Add styledWrite macro
2018-06-19 12:13:12 +01:00
Andreas Rumpf
0c33244c23 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-06-19 12:43:21 +02:00
Joey Yakimowich-Payne
3afe34468f Reuse code in linux and amd64 2018-06-19 19:38:05 +09:00
Joey Yakimowich-Payne
f7ec3438f2 Fix installer.ini 2018-06-19 19:37:37 +09:00
Joey Yakimowich-Payne
1935c1695c Remove armv8a57 2018-06-19 19:35:44 +09:00
Joey Yakimowich-Payne
0cf2e68648 Rename aarch64NoneElfGcc to nintendoSwitchGCC 2018-06-19 19:35:14 +09:00
Joey Yakimowich-Payne
ed18079e8a Relocate docs for Switch 2018-06-19 19:23:58 +09:00
Joey Yakimowich-Payne
14ebe3e4cf Cleaned up GC memory management a bit 2018-06-19 19:07:57 +09:00
Joey Yakimowich-Payne
e4dff3a441 Update changelog with more info about fixed paths 2018-06-19 17:33:16 +09:00
Joey Yakimowich-Payne
c8e0c5a5bb Update changelog for Nintendo Switch 2018-06-19 17:21:43 +09:00
Joey Yakimowich-Payne
c3490830e4 Add GC support for Nintendo Switch 2018-06-19 17:12:07 +09:00
Joey Yakimowich-Payne
8a0bff973f Add specific lib code for Nintendo Switch 2018-06-19 17:11:22 +09:00
Joey Yakimowich-Payne
c40ececccb Add compiler configuration for Nintendo Switch and it's CPU 2018-06-19 17:07:10 +09:00
Joey Yakimowich-Payne
4874be967c Add config section for Nintendo Switch 2018-06-19 16:58:09 +09:00
Andreas Rumpf
dd81d9d5b7 nimpretty improvements 2018-06-19 09:42:33 +02:00
Kaushal Modi
abbf9ba9f7 Convert styledWriteLine and styledEcho to templates
This also fixes a bug in the styledWriteLine behavior where the background color
leaked onto the next newline if that command did not end with resetStyle.

Now it is not necessary to end styledWriteLine calls that set BackgroundColor to
end in resetStyle.
2018-06-18 09:09:23 -04:00
Kaushal Modi
3b5b3deecd Add styledWrite macro
Also:

- Move the tests block to the end of the file
- Fix the older tests
- Add tests for existing styledEcho
- Add new tests for styledWrite

Fixes https://github.com/nim-lang/Nim/issues/8046.
2018-06-18 09:09:23 -04:00
mboratko
70664bd1a2 Changed tutorial documentation referring to 'constant' to 'immutable' (#8056)
* Changed tutorial documentation referring to 'constant' to 'immutable'

* Clarification regarding side-effect free procedures fo:r multiple assignments
2018-06-18 02:05:35 -04:00
Dominik Picheta
03b073d541 Workaround VM bug in strutils 2018-06-17 23:26:18 +01:00
Kaushal Modi
4616b28c7b Add support for italic and strikethrough ANSI escape codes (#8048)
\e[3m -> italic
    \e[9m -> strikethrough

On terminals not supporting italic text, the text is shown in reverse instead,
and on terminals not supporting strikethrough text, the text is shown as is.
2018-06-17 12:37:41 -04:00
Andreas Rumpf
98f3daea65 nimpretty: don't touch dense binary operators 2018-06-17 14:25:23 +02:00
Andreas Rumpf
dbcdc4331a testament: minor code formating change 2018-06-17 14:16:01 +02:00
Andreas Rumpf
c70706f4bd nimpretty: fixes pragma rendering 2018-06-17 14:15:42 +02:00