Commit Graph

88 Commits

Author SHA1 Message Date
Brian Anderson 5394e34aa4 core: Camel case some lesser-used modules 2012-08-13 18:59:48 -07:00
Ben Blum 42825fbea6 Split libcore/arc.rs: arc -> std::arc; exclusive -> unsafe::exclusive 2012-08-10 20:53:09 -04:00
Ben Blum f2ca54991f Add sync.rs with counting blocking semaphores 2012-08-07 18:18:48 -04:00
Ben Blum fd17d347b0 core.rc export core::util 2012-08-01 19:12:23 -04:00
Ben Blum 90ce3d94e4 Add core::util, with swap, replace, and noncopyable 2012-08-01 19:07:28 -04:00
Graydon Hoare 7f60c56c3e Clean out transitional lint. 2012-08-01 13:35:40 -07:00
Ben Blum 52ed570f1c Move send_map to libcore 2012-07-30 13:56:14 -04:00
Brian Anderson dfbe6976c2 core: Fix compilation of intrinsic ops when testing 2012-07-28 16:06:25 -07:00
Graydon Hoare dbbaa50290 Nomenclature fixes in the lint checker. Fewer double-negatives.
New style is allow(foo), warn(foo), deny(foo) and forbid(foo),
mirrored by -A foo, -W foo, -D foo and -F foo on command line.

These replace -W no-foo, -W foo, -W err-foo, respectively.

Forbid is new, and means "deny, and you can't override it".
2012-07-26 17:08:33 -07:00
Patrick Walton da80bd17c3 rustc: Introduce a lang_items pass, part of coherence and operator overloading.
This will also help us remove kinds.
2012-07-25 18:37:03 -07:00
Graydon Hoare fada46c421 Add core::hash containing SipHash-2-4 implementation. Re: #1616 and #859. 2012-07-24 17:11:13 -07:00
Elliott Slaughter de82a9be61 Move fail upcall into rust libcore. 2012-07-23 10:45:58 -07:00
Michael Sullivan aa5b5ab886 Create some infrastructure for building up @-vectors. Work on #2921. 2012-07-17 17:09:25 -07:00
Ben Blum 0b07a46222 core.rc export dlist 2012-07-14 01:24:26 -04:00
Graydon Hoare aa7b3cc929 Fix some version numbers. 2012-07-11 09:09:08 -07:00
Eric Holk 604f7c66ff Removing locked queue port/chan prototype. 2012-07-06 11:05:28 -07:00
Eric Holk a4838c93aa Enabling pipes for all stages, and updating closure syntax. 2012-07-06 10:42:39 -07:00
Eric Holk 67b0760592 Moved pipes runtime support to libcore, and add a test that will help verify that busy waiting is no longer happening.
Fixing the result of a bad merge.
2012-07-06 10:42:39 -07:00
Brian Anderson 8f92de3ce5 core: Actually build to_bytes 2012-07-05 14:40:45 -07:00
Brian Anderson c199090130 core: Export to_bytes 2012-07-05 14:38:59 -07:00
Gareth Daniel Smith be0141666d convert doc-attributes to doc-comments using ./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498 2012-07-04 19:18:13 -07:00
Ben Blum 3777a14f08 Add doubly-linked list to libcore (to be used in task.rs). 2012-07-02 16:03:38 -04:00
Graydon Hoare 312faf31df Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this. 2012-06-21 16:44:10 -07:00
Eric Holk e4c291530e Basic functionality for new ports and chans
The first benchmark shows about twice the throughput of the old system.
2012-06-21 16:11:11 -07:00
Eric Holk be664ddd29 Moved arc to libcore and added an arc that allows shared mutable state through mutual exclusion. 2012-06-19 10:31:12 -07:00
Tim Chevalier 0276a3376b Revert "Moved arc to libstd and added an arc that allows shared mutable state through mutual exclusion."
This reverts commit 015527b0ce.
2012-06-16 15:21:08 -07:00
Eric Holk 015527b0ce Moved arc to libstd and added an arc that allows shared mutable state through mutual exclusion. 2012-06-15 22:00:58 -04:00
Patrick Walton 7571ee85c4 Merge branch 'incoming' 2012-06-07 18:50:42 -07:00
Patrick Walton 3d7400f3ac Add a Num typeclass 2012-06-07 16:08:38 -07:00
Brian Anderson 5f4837ad6a core: Start on a stack walker 2012-06-06 23:39:56 -07:00
Niko Matsakis 3b4cfdeee2 Merge remote-tracking branch 'mozilla/incoming'
Conflicts:
	src/rustc/middle/tstate/auxiliary.rs
2012-06-06 19:00:34 -07:00
Brian Anderson ef32ffd0b1 core: Remove swappable. Unused 2012-06-06 17:48:45 -07:00
Tim Chevalier a6c92f0a17 Revert "Revert "Merge pull request #2516 from mozilla/incoming" due to failures"
This reverts commit 9fae95860de510f6874810cf43efb83f101246ef.
2012-06-06 15:08:24 -07:00
Patrick Walton d64ff98311 Revert "core: Remove swappable. Unused" due to test failures
This reverts commit ec5cbb4f5e.
2012-06-06 11:40:04 -07:00
Patrick Walton 055158d051 Revert "Merge pull request #2516 from mozilla/incoming" due to failures
This reverts commit adb717b5fa, reversing
changes made to aabf84cdd8.
2012-06-06 11:39:19 -07:00
Patrick Walton d9cdddeb5f stdlib: Introduce ord and eq interfaces. Make std::sort::quick_sort3 use them. i=#2348 2012-06-05 17:26:52 -07:00
Brian Anderson ec5cbb4f5e core: Remove swappable. Unused 2012-06-05 14:47:20 -07:00
Michael Sullivan 6396e2c3c3 Make vecs implicitly copyable for all of our projects. 2012-06-04 19:53:30 -07:00
Niko Matsakis 3f6e6532ac make vec fns/methods take imm slices.
this also repairs the unsoundness in typing of unpack_slice,
which was silently converting a const ptr to an imm one.
2012-06-02 19:14:57 -07:00
Brian Anderson 5281db2bc2 core: Fix capitalization in docs 2012-05-26 00:16:32 -07:00
Niko Matsakis da204e1d73 add swappable/dvec modules 2012-05-18 20:00:50 -07:00
Niko Matsakis fc8e1cb646 missing import 2012-05-16 06:16:55 -07:00
Niko Matsakis 5cd6bb1ed3 correct long line 2012-05-16 06:12:12 -07:00
Brian Anderson 8cc596ceb6 core: Fix typo 2012-05-16 00:03:57 -07:00
Brian Anderson 2adad1f7cd core: Generalize int-string conversions to all int types
Issue #2239
2012-05-15 23:46:40 -07:00
Brian Anderson cb6ed42717 core: Generalize uint-string conversions to all uint types
Issue #2239
2012-05-15 22:50:35 -07:00
Brian Anderson 5b98000279 core: Move global_env mod into os mod 2012-04-30 17:42:41 -07:00
Brian Anderson 46cc11ea88 core: Serialize all access to the environment using a weak global task 2012-04-30 17:34:29 -07:00
Niko Matsakis e348567f77 new, simpler approach to the iter library 2012-04-27 16:57:50 -07:00
Brian Anderson 01e20dd0b3 core: Improve docs 2012-04-19 01:18:37 -07:00