Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAQ docs reformat. Minute Typos #3963

Closed
wants to merge 2,022 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2022 commits
Select commit Hold shift + click to select a range
376abe1
[External] [stdlib] Fix `/_math.mojo` examples. (#49264)
helehex Oct 16, 2024
9876805
[stdlib] Remove `Reference` type alias
JoeLoser Oct 16, 2024
7d8e819
[External] [stdlib] Fix `String.format()` to use byte indexing, refac…
modularbot Oct 16, 2024
3ac1f39
[External] [stdlib] Improve readability of `test_python_object` (#49254)
jjvraw Oct 16, 2024
2bd13af
[External] [stdlib] Fix example in `/floatable.mojo` (#49279)
helehex Oct 16, 2024
ec76a2c
[External] [stdlib] Fix `Roundable` example (#49308)
helehex Oct 17, 2024
89360eb
[stdlib] Change `Formatter` struct to `Writer` trait
jackos Oct 17, 2024
d49f5c0
[stdlib] Change `format_sequence` to `write`
jackos Oct 18, 2024
4afa847
[stdlib] Removing _strref_dangerous from String
rparolin Oct 18, 2024
bc09dd3
[stdlib] feat: Add additional minor binding utilities
ConnorGray Oct 18, 2024
f52b16b
[External] [docs] Fix docstring examples in `Variant`. (#49365)
helehex Oct 18, 2024
9a5af9b
[stdlib] Removing `String._strref_dangerous` usage from stdlib.file
rparolin Oct 18, 2024
e52dd71
[stdlib] Buffer output before printing and writing to file
jackos Oct 18, 2024
a95d346
[stdlib] Update the __mojo_debugger_raise_hook
walter-erquinigo Oct 18, 2024
e0df944
[docs] Update debugging docs mentioning new supported breakpoints
walter-erquinigo Oct 18, 2024
82bf838
[stdlib] Add changelog entry for `Writer` and `Writable`
jackos Oct 18, 2024
92da600
[docs] Update changelog after debugger and vscode changes
walter-erquinigo Oct 19, 2024
cbd1c31
[******] Extend llvm_intrinsic to operate on variadic input
abduld Oct 20, 2024
71345cd
[External] [stdlib] Fix `string_slice.mojo` docstrings (#49472)
modularbot Oct 21, 2024
de34c9d
Removing `_strref_dangerous` from String.__eq__
rparolin Oct 22, 2024
484790b
[docs] Clarify meaning of "superset of Python"
williamw Oct 22, 2024
28e3d2a
[External] [stdlib] Add string benchmarking infrastructure and basic …
modularbot Oct 22, 2024
0fb7c31
[stdlib] Removing '_strref_dangerous' from 'python_object' and
rparolin Oct 22, 2024
2a026a7
[External] [stdlib] Fix docstring examples in `Dict` (#49584)
helehex Oct 22, 2024
91d952e
[vscode] Allow cancelling the installation of the internal sdk
walter-erquinigo Oct 22, 2024
1374bfe
[stdlib] Remove system-windows from lit
keith Oct 22, 2024
0dcfe97
[******][sdk] Removing 'String._strref_dangerous' in ****** and MAX
rparolin Oct 23, 2024
7f8b8ae
[stdlib] Various clean-ups in CPython
JoeLoser Oct 24, 2024
10d6f49
[stdlib] Consolidate `builtin/_math.mojo`
JoeLoser Oct 24, 2024
6d92b21
[docs] Remove __mojo_debugger_raise_hook from docs (#49751)
walter-erquinigo Oct 24, 2024
1afe160
[docs] Make doc_private public in the prebuilt libs
walter-erquinigo Oct 25, 2024
ec48f1d
[changelog] More debugger updates
walter-erquinigo Oct 25, 2024
0fc37a5
[stdlib] cleanup: Rename create_wrapper_function =>
ConnorGray Oct 25, 2024
4879c57
[stdlib] cleanup: Follow style guide method order on PythonObject
ConnorGray Oct 25, 2024
8c2fbb1
[******] Delete unuseful broken vectorize benchmark (#49886)
abduld Oct 26, 2024
94f9623
[******][GPU] Expose the element_type in IndexList, NFC (#49814)
abduld Oct 26, 2024
e524832
This avoids having to convert `IntLike` SIMD types to an
jackos Oct 28, 2024
97ec941
[stdlib] Add `__mul__` and `__iadd__` to StringLiteral
jackos Oct 28, 2024
f1b1e1a
[docs] Update changelog for indexing into UnsafePointer with SIMD
jackos Oct 29, 2024
783ad31
[External] [stdlib] Refactor and optimize `String.splitlines()` (#49663)
modularbot Oct 29, 2024
f221e68
[External] [stdlib] Use SIMD to make `b64encode` 4.7x faster (#49573)
gabrieldemarmiesse Oct 29, 2024
d55c4a0
[tests] Remove COMPATIBLE_COMPILER_VERSION check
Ahajha Oct 29, 2024
c8716fc
[stdlib] Fix `run-benchmarks` lit config
JoeLoser Oct 29, 2024
30a2c38
[mojo-stdlib][docs] Updates to Mojo type manual (StringLiteral, UInt,
judyheflin Oct 29, 2024
ef488e0
[External] [stdlib] Make `StringRef` ctor from `UnsafePointer[Byte]` …
soraros Oct 29, 2024
85d204c
[External] [stdlib] Add benchmark for `lcm` and `gcd` (#41811)
bgreni Oct 29, 2024
d3c353a
[CI] Un-ignore lockfiles again
Ahajha Oct 30, 2024
7c2b61a
[Docs] Remove mentions of (now closed) GitHub Discussions from the MAX
carolinefrasca Oct 30, 2024
ad832a8
[******][GPU] Fix the SM90 arch detection
abduld Oct 31, 2024
896032b
[External] [stdlib] Deque implementation: part 1 - life cycle methods…
avitkauskas Oct 31, 2024
777c9ff
[Docs] Update lifetime->origin, related changes.
arthurevans Oct 31, 2024
f79202e
[stdlib] Remove explicit imports of `doc_private`
JoeLoser Oct 31, 2024
6bf3cda
[External] [stdlib] Add `__init__(*, from_bits)` and `to_bits()` to `…
soraros Nov 1, 2024
7d993ac
[External] [stdlib] Clean up `memory.unsafe` (#48797)
soraros Nov 1, 2024
308461a
[stdlib] feat: Add trait for conversion of Python to Mojo values
ConnorGray Nov 1, 2024
175336b
[KGEN][******] Introduce an invariant load into the pop.load op
abduld Nov 4, 2024
7df16d4
[External] [stdlib] Clean up `b64encode` (1/N) (#50262)
soraros Nov 4, 2024
1c9b77b
[stdlib][KGEN] cleanup: Change `VariadicPack.elt_is_mutable` to `Bool…
ConnorGray Nov 4, 2024
6190674
[stdlib] cleanup: Add combined argument check and conversion functions
ConnorGray Nov 4, 2024
21f60e2
[stdlib] Add Stringable and Writeable traits to AddressSpace
sabauma Nov 5, 2024
2b4bfb5
[External] [stdlib] Add `DLHandle.call` and cleanup `_cpython.mojo` (…
modularbot Nov 5, 2024
71b2ee1
[******][GPU] Emit llvm code during compilation for AMD
abduld Nov 5, 2024
3f64646
[stdlib] cleanup: Combine `_LITRefPackHelper` functionality into
ConnorGray Nov 5, 2024
3d0d3e4
[stdlib] hotfix: Fix broken use of `_LITRefPackHelper` due to
ConnorGray Nov 5, 2024
49fba73
[stdlib] Mitigate lifetime issue by capturing value instead of ref.
PeimingLiu Nov 5, 2024
03d3bc4
This change is done to make this pointer type naming consistent with the
ConnorGray Nov 5, 2024
65f5686
[KGEN] Rename hasmore with has_next for iterators, NFC
abduld Nov 6, 2024
5197b9f
[stdlib] Remove SM_90 SIMD specialization
asaadaldien Nov 6, 2024
17531f0
[******][GPU] Optimize the casting for bfloat16 and flaot16 to/from f32
abduld Nov 7, 2024
3e0bf3d
[External] [stdlib] Add `os.path.expandvars` and respective tests (#5…
thatstoasty Nov 7, 2024
6b7d378
[******][GPU] Query the warpsize from the target attr
abduld Nov 7, 2024
ac24211
[stdlib] cleanup: Remove `T: Pythonable` requirement on `PyMojoObject`
ConnorGray Nov 7, 2024
45ae56f
[External] [stdlib] [NFC] Rename `StringSlice` `UnsafePointer` constr…
modularbot Nov 8, 2024
1bf9284
[External] [stdlib] Add `StringLiteral` dynamic `__mul__` (#50564)
modularbot Nov 8, 2024
87bf22d
[stdlib] Format floats using dragonbox algorithm
jackos Nov 8, 2024
0e29dcd
[stdlib] Buffer GPU printing to heap to synch output across threads
jackos Nov 8, 2024
f8953e4
[External] [stdlib] Deque - part 2 - add operator dunders and remaini…
avitkauskas Nov 8, 2024
be15575
[External] [stdlib] Addition of a new constructor and reserve method …
thatstoasty Nov 9, 2024
0b19358
[docs] Add changelog entry for float changes
jackos Nov 9, 2024
3057347
[External] [stdlib] [NFC] Rename `String` `UnsafePointer` constructor…
modularbot Nov 9, 2024
ea6fa59
[External] [stdlib] [NFC] Rename `Span` `UnsafePointer` constructor a…
modularbot Nov 9, 2024
18d584a
[External] [stdlib] [NFC] Rename `List` `UnsafePointer` constructor a…
modularbot Nov 9, 2024
821b39f
[stdlib] Disable the `mov` cast of bf16 to fp32.
hengjiew Nov 9, 2024
dac2b3e
[External] [stdlib] Span slicing with negative step (#50334)
msaelices Nov 9, 2024
9bf287a
[mojo-lang][QoI] Fix error message with inout argument. (#50635)
lattner Nov 10, 2024
78042da
[Stdlib] Fixup the casts to f16 types
abduld Nov 10, 2024
4755b26
Now that we have the right information, we can suppress default
lattner Nov 10, 2024
d5a7082
[mojo-lang][CheckLifetimes] Fix AnyOrigin handling in loops.
lattner Nov 10, 2024
829c2d8
[mojo-lang] Enable `__init__(out self)` syntax.
lattner Nov 11, 2024
d3fdfae
[mojo-stdlib][******] Migrate to `__init__(out self)`
lattner Nov 11, 2024
27c6421
[KGEN] Remove warp_size from targetattr
abduld Nov 11, 2024
c89a60a
[******][GPU] Rename triple_is_nvidia_cuda to is_nvidia_gpu, NFC
abduld Nov 12, 2024
9e9f821
[stdlib] feat: Drop `Pythonable` requirement from argument check
ConnorGray Nov 12, 2024
93a9521
New Mojo manual page on operators and dunder methods
KenJones-Modular Nov 13, 2024
9026293
[******][GPU] Extend the address spaces to be GPU aware
abduld Nov 13, 2024
ea851cf
[stdlib] feat: Add CPython wrapper for `PyType_GenericAlloc()`
ConnorGray Nov 14, 2024
594eb21
[examples] Add trailing slash to max-nightly conda channel for
Ahajha Nov 14, 2024
24bb9d7
[******][GPU] Add a check if the target is AMD GPU
abduld Nov 14, 2024
3a5e96f
[******][GPU] Add the Float8e5m2 and Float8e4m3 scalar types
abduld Nov 14, 2024
cc83560
[******][GPU] Make unsafe_pointer GPU agnostic
abduld Nov 14, 2024
9e87e64
[External] [stdlib] Fix `math.math.mojo` examples (#50830)
soraros Nov 14, 2024
c656c31
[External] [stdlib] Clean up `b64encode` (2/N) (#50831)
soraros Nov 14, 2024
31990b8
[External] [stdlib] Make `StringRef` Representable (#50840)
msaelices Nov 14, 2024
7969c3e
[stdlib] Revert "Clean up b64encode (2/N)"
Ahajha Nov 15, 2024
3d4b14c
[KGEN] Add a new POC for the accelerator arch
abduld Nov 15, 2024
97bfa93
[******][GPU] Revert address space changes introduced in #50730
abduld Nov 15, 2024
83e5da1
[stdlib] feat: Add `_Global` interface for easier to use global
ConnorGray Nov 15, 2024
1cf7172
[External] [stdlib] [NFC] Add docstring comment for `Span` slicing's …
modularbot Nov 15, 2024
ac6478a
[******][GPU][AMD] Make WARP_SIZE accelerator agnostic
abduld Nov 15, 2024
363da90
[stdlib] Remove `UnsafePointer.bitcast` overload for `DType`
JoeLoser Nov 15, 2024
eccdc29
[mojo-lang] Refactor some implicit conversion handling.
lattner Nov 16, 2024
ca81c0c
[External] [stdlib] Fix unsafe `String.write_bytes()` (#50972)
martinvuyk Nov 16, 2024
833f81d
[External] [stdlib] Deque - add remaining methods and tests (#50973)
avitkauskas Nov 16, 2024
b32e9d0
[mojo-stdlib] Start phasing in some markers for `@implicit`
lattner Nov 16, 2024
af4bdc6
[******][GPU] Make compile_function aware of the target accelerator
abduld Nov 16, 2024
ef300aa
[stdlib] Allow passing variables to GPU `debug_assert`
jackos Nov 16, 2024
575640b
[mojo-lang] Allow `ref x: Type` in argument list.
lattner Nov 17, 2024
9f8253d
[mojo-stdlib] Use implicit `Self`, NFC.
lattner Nov 17, 2024
ca86d75
[mojo-tools] Fix mojo-doc printing of ref args and results. (#51016)
lattner Nov 17, 2024
722fc56
[stdlib] Add comparison to StringSlice for StringLiteral
lsh Nov 18, 2024
21563ab
[stdlib] Add implicit decorators to constructors, NFC
jackos Nov 18, 2024
77d26e8
[mojo-lang] Turn on explicit by default constructors
jackos Nov 18, 2024
a933b4d
[docs] Add changelog fix for implicit conversions
jackos Nov 18, 2024
12336a3
[External] [stdlib] Add full unicode support for character casing fun…
mzaks Nov 18, 2024
902d837
[stdlib] Mark `Span` and `StringSlice` as register_passable trivial
lsh Nov 18, 2024
65329a2
[stdlib] Public title
danteisalive Nov 19, 2024
f5e83bd
[stdlib] Fixes memory.mojo
kokrommy Nov 20, 2024
bfea890
[stdlib] Added support for sin and cos on AMD GPUs.
fricc33 Nov 20, 2024
9ff9502
[stdlib] Change `CeilDivable` and `CeilDivableRaises` to just require
lsh Nov 20, 2024
793968a
[stdlib] Makes sleep function more generic for GPUs.
kokrommy Nov 20, 2024
5d231ba
[******][GPU] Generalize the GPU operations to be vendor agnostic
abduld Nov 21, 2024
16f137c
[stdlib] Rename `Arc` to `ArcPointer`
JoeLoser Nov 21, 2024
6095b4a
[External] [stdlib] [NFC] Move Formatter structs to their own module.…
martinvuyk Nov 21, 2024
7396d5b
[External] [stdlib] Add `os.path.splitroot` (#51325)
thatstoasty Nov 21, 2024
728be89
[External] [stdlib] Implement `os.path.basename` (#51331)
bgreni Nov 21, 2024
e95621f
[External] [stdlib] Refactor `atol`: `StringRef` to `StringSlice` and…
jjvraw Nov 21, 2024
1f8fa81
[KGEN] Add ability to construct a string literal from integers and simd
abduld Nov 21, 2024
6238d95
[External] [stdlib] Implement `join()` with variadic params in string…
msaelices Nov 22, 2024
eb27573
[External] [stdlib] Introduce `random.shuffle` for `List` (#51416)
jjvraw Nov 22, 2024
f60b737
[stdlib] Buffer GPU print using dynamic allocations
jackos Nov 22, 2024
b1ad1e7
[******][GPU] Ensure to mark math function as non-side effecting
abduld Nov 22, 2024
9d5feeb
[stdlib] Public title
danteisalive Nov 23, 2024
7fc7311
[mojo-stdlib][KGEN] Expand constrained to work with a `String` parameter
lattner Nov 24, 2024
b7b9394
[mojo-lang] Fix AST doc printing of result types. (#51498)
lattner Nov 24, 2024
781ce0c
[mojo-stdlib] Introduce a new comptime String -> StringLiteral ctor
lattner Nov 24, 2024
dc5fe0e
[stdlib] feat: Make `Origin` wrap an MLIR origin value
ConnorGray Nov 24, 2024
4785724
[KGEN] Remove pop.string.create in favor of StringLiteral.from_string
abduld Nov 24, 2024
008a781
[mojo-stdlib] Mark Origin register passable.
lattner Nov 24, 2024
b964808
[Stdlib] Move the _sub_with_saturation to the b64 module
abduld Nov 25, 2024
993c411
[******][GPU] Move the host side check for the gpu target to sys module
abduld Nov 25, 2024
600e508
[stdlib][docs] Clarify SLA review time
JoeLoser Nov 25, 2024
7ecc973
Reference solution for the new Intro to Mojo tutorial, an implementation
KenJones-Modular Nov 25, 2024
46955d3
Convert Mojo docs from notebooks to MDX
scottamain Nov 25, 2024
10a22ab
[stdlib] Make non-type params for `UnsafePointer` kw only
JoeLoser Nov 26, 2024
e5f32ff
[mojo-lang] Enable binding to inferred-only params with keywords.
lattner Nov 26, 2024
bd72610
[stdlib] Adopt parametric inline_count for source_loc
zyx-billy Nov 26, 2024
e7f116a
Adds basic support for linear types, via the @explicit_destroy keyword
VerdagonModular Nov 26, 2024
af8657f
[******][gpu] add fp8 fnuz variant to dtype
jiex-liu Nov 26, 2024
39a5aa7
Remove unnecessary fstrings
keith Nov 26, 2024
1ab5073
Remove unused python imports
keith Nov 27, 2024
4eaddbb
[******][GPU] Move the default target compile options to the info
abduld Nov 27, 2024
21ec26b
[stdlib] Format float8 types using lookup table
jackos Nov 27, 2024
d8185e2
[Docs] Several small corrections & bug fixes to ownership and lifecycle
arthurevans Nov 27, 2024
04b0382
Format python with ruff
keith Nov 27, 2024
648846d
[stdlib] Remove unused branch from `SIMD.write_to`
jackos Nov 27, 2024
036f29d
[stdlib] Add AMD float8 formatting support
jackos Nov 28, 2024
b503f76
[stdlib] format float consistency changes
jackos Nov 28, 2024
e2f084e
[******] Reformat imports, NFC (#51760)
abduld Nov 28, 2024
c11379a
[mojo-stdlib] Makes Coroutine an explicitly destroyed type.
VerdagonModular Nov 28, 2024
86cdf9c
[******][GPU] Extend the SIMD FloatLiteral constructor support
abduld Nov 29, 2024
9375f0e
[******][GPU] Export the Float8 scalar types, NFC (#51780)
abduld Nov 29, 2024
26224d5
[Stdlib] Use rebind instead of cast in FloatLiteral SIMD init
abduld Nov 29, 2024
e0221d2
[KGEN][******][GPU] Extend atomic operations to operate with a
abduld Nov 29, 2024
8e60728
[mojo-lang] Fix ternary operator to propagate references. (#51773)
lattner Nov 29, 2024
160c6c2
[mojo-lang] Fix origin union mutability handling.
lattner Nov 29, 2024
d58b5e4
[mojo-lang] Allow multiple memory values in a `ref` specification.
lattner Nov 29, 2024
3efc775
[mojo-lang] Improve handling of address spaces in `ref`'s
lattner Nov 29, 2024
0c31529
[mojo-lang] Fix a crash with weird llvm dialect ops.
lattner Nov 29, 2024
dda1e1d
[mojo-lang] Rename `inout` -> `mut` and `borrowed` -> `read`
lattner Dec 1, 2024
2f5a1f1
[******][GPU Enhance FPUtils to support fnuz float types
abduld Dec 1, 2024
ce7cb14
[Stdlib] Simplify the code for powf function, NFC
abduld Dec 1, 2024
03d1d4f
[mojo-docs] Update the documentation to new keywords
lattner Dec 1, 2024
1271958
[mojo-lang][KGEN] Rename argument convention enums
lattner Dec 1, 2024
7347db5
[******][GPU] Introduce a new GridIdx operation
abduld Dec 1, 2024
24d4af8
[stdlib] Simplify `String.split` with isspace
JoeLoser Dec 2, 2024
f16419e
[External] [stdlib] Optimize `_StringSliceIter` to not have branching…
martinvuyk Dec 2, 2024
95046bc
[******][GPU] Disable print functionality on AMD GPUs
abduld Dec 2, 2024
ec43232
[mojo-stdlib] Minor cleanups for `Tuple`, NFC.
lattner Dec 3, 2024
f1fe997
[******][GPU] Simplify definition of sleep function, NFC
abduld Dec 3, 2024
dca52e6
[******] Adjust the section comments
abduld Dec 3, 2024
dbf2711
[Stdlib] Extend StringLiteral import support to work on Stringable
abduld Dec 3, 2024
b03321b
[DRAFT] feat: Use `Origin[..]` instead of `Origin[..].type` in `Span`
ConnorGray Dec 3, 2024
d540214
[stdlib] feat: Use `Origin[..]` in `UnsafePointer` parameter
ConnorGray Dec 3, 2024
028df13
[stdlib] feat: Use `Origin[..]` in `Pointer` and iterator type parameter
ConnorGray Dec 4, 2024
12de160
[External] [docs] Stdlib insider documentation (#51673)
owenhilyard Dec 4, 2024
829f69d
[stdlib] feat: Rename `Origin.type` to `Origin._mlir_type` + migrate
ConnorGray Dec 4, 2024
271b723
[stdlib] Align max_exponent with C/Python and clarify terms
jackos Dec 4, 2024
8a5b198
[stdlib] Clarify the differences for the float8 types
jackos Dec 4, 2024
d58d34c
[External] [Docs] Update the notebook tutorial (#52029)
PunkPun Dec 4, 2024
d0f527b
[Docs] Several small tweaks to parameter docs.
arthurevans Dec 4, 2024
b93e70a
[stdlib] polish: Expose `_lit_mut_cast` as `Origin.cast_from` alias
ConnorGray Dec 4, 2024
ed492e4
[Docs] Add Intro to pointers doc.
arthurevans Dec 4, 2024
094040b
[stdlib] Remove copies in `StaticTuple.getitem`
JoeLoser Dec 4, 2024
0f56379
[External] [Stdlib] Add `PythonObject.__contains__` (#51430)
rd4com Dec 4, 2024
51ce708
[stdlib] Add `__reversed__` to `Span`
lsh Dec 4, 2024
ddd1625
[stdlib] Clean up setting `_is_owned` for destroying packs
JoeLoser Dec 4, 2024
83f10cf
[stdlib] Add tests for `StaticTuple.setitem`
JoeLoser Dec 4, 2024
776e802
[mojo-lang] Fix a bad error message.
lattner Dec 5, 2024
e3e06bd
[******][GPU] Extend the time operations to be GPU generic
abduld Dec 5, 2024
b54f222
[stdlib] Move `strip`,`lstrip`,`rstrip` onto StringSlice (#52118)
lsh Dec 5, 2024
dd3bb6e
[Stdlib] Make time functions return the value as UInt
abduld Dec 5, 2024
fbe418a
[Stdlib] Add string overload for StringLiteral.get, NFC
abduld Dec 5, 2024
33cad35
[******] Extend math.min to support boolean
AustinDoolittle Dec 5, 2024
50d5fb2
[stdlib] Move `Span` from `utils` to `memory`
JoeLoser Dec 5, 2024
1b7911b
[******] Extend math.max to support boolean
AustinDoolittle Dec 5, 2024
3e58f3f
[stdlib] cleanup: Remove `_lit_origin_union`; use `__origin_of(a, b)`
ConnorGray Dec 5, 2024
70bc390
[stdlib] Revert negative step slicing on Span. (#52196)
lsh Dec 5, 2024
85aa863
[stdlib] cleanup: Remove `Stringlike` in favor of using `StringSlice`
ConnorGray Dec 5, 2024
27011d7
[******][GPU] Rename has_nvidia/amd to include accelerator
abduld Dec 6, 2024
1491437
[Stdlib] Remove the time.now function
abduld Dec 6, 2024
8231184
[Stdlib] Add new has_accelerator helper function, NFC
abduld Dec 6, 2024
0dcb1ee
[stdlib] Remove copy in `StaticTuple.setitem[idx]`
JoeLoser Dec 6, 2024
6a0b31f
[mojo-lang] Adds __disable_del keyword, to destroy linear types.
VerdagonModular Dec 6, 2024
8c3c862
Added associated types; we can now have aliases like `alias T: AnyType`,
VerdagonModular Dec 6, 2024
77a5fee
[Docs] Origin updates.
arthurevans Dec 7, 2024
df95c1e
[mojo-lang] Fix bugs related to SRValue -> ref conversion.
lattner Dec 7, 2024
85876e7
[mojo-stdlib] add implicit decorators where required
jackos Dec 7, 2024
c77f9b5
[mojo-lang] Diagnose more implicit conversion without `@implicit` dec…
jackos Dec 7, 2024
a91a171
[******][GPU] Add log log2_floor in the bit module
abduld Dec 8, 2024
2b9db22
[mojo-lang] Add support for named results using `out` syntax.
lattner Dec 8, 2024
75b4b44
[Docs] Implicit conversion updates.
arthurevans Dec 8, 2024
62cf1d4
[******][GPU] Do not run gpu tests with assertions on
abduld Dec 8, 2024
638fdc8
[stdlib] docs: Update changelog to reflect recent changes to `Origin`
ConnorGray Dec 9, 2024
816b3f4
[mojo-stdlib] Minor code cleanups, NFC.
lattner Dec 9, 2024
9c4628a
[stdlib] Skip trivial destructors in `List`
JoeLoser Dec 9, 2024
da5b65f
[External] [stdlib] Micro-optimize string `splitlines` and `isnewline…
martinvuyk Dec 9, 2024
043456b
[External] [stdlib] Snake casing stdlib (#48873)
msaelices Dec 9, 2024
2ed6123
[External] [docs] Prevent unwanted Latex interpretation in `Path` doc…
jjvraw Dec 9, 2024
68efa71
New Get started with Mojo tutorial
KenJones-Modular Dec 9, 2024
bb5fe6e
Updated the Mojo manual's Python types page to reflect support for the
KenJones-Modular Dec 9, 2024
95c2125
[Docs] Origin changes: add suggestions from code review.
arthurevans Dec 10, 2024
fc0f021
[Docs] Add doc on associated aliases. Fixes DOCS-495.
arthurevans Dec 10, 2024
36ce9cf
[Docs] Document named result values
arthurevans Dec 10, 2024
a64ce9c
Updated solution code for the life example to match recent tutorial
KenJones-Modular Dec 10, 2024
7cf601a
[docs] Standardize straight quotation marks and apostrophes
scottamain Dec 12, 2024
77ec5cb
[24.6][Examples] Point to stable conda channel
Ahajha Dec 13, 2024
bd8e9d7
[docs] Update Mojo changelog for 24.6.
arthurevans Dec 16, 2024
fa8d0df
[Release] Update lockfiles to point to latest stable version: 24.6.0
modularbot Dec 17, 2024
b3a199c
FAQ docs reformat - minute typos
rcghpge Jan 23, 2025
25ab22f
FAQ docs reformat - minute typos
rcghpge Jan 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/dev_console_issue.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Developer Console issue
description: Create an issue report to help us improve the Developer Console.
title: "[Dev Console]"
labels:
- dev-console
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out a bug report!

Please provide a descriptive title above and fill in the following fields.

- type: textarea
id: Description
attributes:
label: Issue description
description: Describe the issue you encountered and what you expected to happen.
validations:
required: true

- type: textarea
id: Steps
attributes:
label: Steps to reproduce
description: Provide the specific steps to reproduce the issue.
value: |
- Add screenshots if possible, to help explain the problem.
- Include anything that might help us debug the issue.
validations:
required: true
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/doc_issue.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Documentation issue
description: Report a problem with the Mojo docs
title: "[Docs]"
labels:
- "documentation,mojo-repo"
body:
- type: markdown
attributes:
value: |
Thank you for helping us improve the Mojo docs!

Please add a title above and fill in the following fields so we can understand the problem.

- type: input
id: url
attributes:
label: Where is the problem?
description: Provide a link to the problematic page (with a heading anchor).
validations:
required: true

- type: textarea
attributes:
label: What can we do better?
description: Describe the documentation problem and how you suggest we fix it.
validations:
required: true

- type: textarea
attributes:
label: Anything else?
validations:
required: false

- type: markdown
attributes:
value: |
Thank you!
59 changes: 59 additions & 0 deletions .github/ISSUE_TEMPLATE/magic_cli_issue.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
##===----------------------------------------------------------------------===##
# Copyright (c) 2024, Modular Inc. All rights reserved.
#
# Licensed under the Apache License v2.0 with LLVM Exceptions:
# https://llvm.org/LICENSE.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
##===----------------------------------------------------------------------===##

name: Magic CLI issue
description: Create an issue for the Magic CLI tool.
title: "[Magic CLI]: "
labels:
- magic-cli
- mojo-repo
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out an issue report!

Please provide a descriptive title above and fill in the following fields.

- type: textarea
id: Description
attributes:
label: Issue description
description: Describe the issue you encountered and what you expected to happen.
validations:
required: true
- type: textarea
id: Steps
attributes:
label: Steps to reproduce
description: Provide the specific steps to reproduce the issue.
value: |
- Include relevant code snippet that did not work as expected.
- If applicable, add screenshots to help explain the problem.
- Include anything else that might help us debug the issue.
validations:
required: true

- type: textarea
id: Context
attributes:
label: Version Info
description: Which version of the Magic CLI are you using?
value: |
- Provide magic CLI version by pasting the output of `magic --version`
- What OS did you install the magic CLI on?
- If you're on Linux include the flavor and version e.g. Ubuntu 22.04.
- Include your CPU architecture e.g. x86-64 or arm64.
- If related to unresolvable dependencies, include the contents of your
`magic.lock` file.
render: shell
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/mojo_bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Mojo bug report
description: Create a bug report to help us improve Mojo
title: "[BUG]"
labels:
- "bug,mojo-repo"
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out a bug report!

Please provide a descriptive title above and fill in the following fields.

- type: textarea
id: Description
attributes:
label: Bug description
description: Describe the bug you encountered and what you expected to happen.
validations:
required: true

- type: textarea
id: Steps
attributes:
label: Steps to reproduce
description: Provide the specific steps to reproduce the issue.
value: |
- Include relevant code snippet or link to code that did not work as expected.
- If applicable, add screenshots to help explain the problem.
- If using the Playground, name the pre-existing notebook that failed and the steps that led to failure.
- Include anything else that might help us debug the issue.
validations:
required: true

- type: textarea
id: Context
attributes:
label: System information
description: What version of Mojo are you using?
value: |
- What OS did you do install Mojo on ?
- Provide version information for Mojo by pasting the output of `mojo -v`
- Provide Magic CLI version by pasting the output of `magic -V` or `magic --version`
- Optionally, provide more information with `magic info`.
render: shell
50 changes: 50 additions & 0 deletions .github/ISSUE_TEMPLATE/mojo_feature_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Mojo feature request
description: Suggest an enhancement for Mojo
title: "[Feature Request]"
labels:
- "enhancement,mojo-repo"
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to suggest a Mojo enhancement!

Please enter a concise title above and fill out the following fields.

- type: checkboxes
id: Roadmap
attributes:
label: Review Mojo's priorities
description: Please take a look at our roadmap before you file a new feature request.
options:
- label: I have read the [roadmap and priorities](https://docs.modular.com/mojo/roadmap.html#overall-priorities) and I believe this request falls within the priorities.
required: true

- type: markdown
attributes:
value: |
If the request is out of the published roadmap and priorities, please start an [idea](https://github.com/modularml/mojo/discussions/categories/ideas) in GH Discussions to get feedback from the team.

- type: textarea
id: Request
attributes:
label: What is your request?
description: Describe how you'd like us to improve Mojo.
validations:
required: true

- type: textarea
id: Motivation
attributes:
label: What is your motivation for this change?
description: Describe the problem that your feature seeks to address (what is the value to the product/user?).
validations:
required: true

- type: textarea
id: Description
attributes:
label: Any other details?
description: Perhaps some minimum functional attributes the implementation should include, or other context about your feature.
validations:
required: false
72 changes: 72 additions & 0 deletions .github/workflows/standard_library_tests_and_examples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# ===----------------------------------------------------------------------=== #
# Copyright (c) 2024, Modular Inc. All rights reserved.
#
# Licensed under the Apache License v2.0 with LLVM Exceptions:
# https://llvm.org/LICENSE.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ===----------------------------------------------------------------------=== #

name: Test stdlib and examples
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
workflow_dispatch:

permissions:
contents: read
pull-requests: read

jobs:
test-examples:
name: with ${{ matrix.os }} and assertions=${{ matrix.mojo-enable-assertions }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-14"]
mojo-enable-assertions: [0, 1]

runs-on: ${{ matrix.os }}
timeout-minutes: 30

defaults:
run:
shell: bash
env:
DEBIAN_FRONTEND: noninteractive

steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Download Magic CLI
run: |
curl -ssL https://magic.modular.com/cfba4c92-2390-4b86-93de-04b2f47114d5 | bash

# Add magic to PATH
echo "$HOME/.modular/bin" >> $GITHUB_PATH

# Pin magic to older version to avoid HTTP timeouts and/or client certificate errors
# that manifest as a result of uv/python package solvers from Magic 0.3.0.
"$HOME/.modular/bin/magic" self-update --version 0.2.3

- name: Install build tools (Linux)
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
./stdlib/scripts/install-build-tools-linux.sh

- name: Install build tools (macOS)
if: ${{ matrix.os == 'macos-14' }}
run: |
./stdlib/scripts/install-build-tools-macos.sh

- name: Run standard library tests and examples
env:
MOJO_ENABLE_ASSERTIONS_IN_TESTS: ${{ matrix.mojo-enable-assertions }}
run: |
magic run tests
magic run examples
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Build directory
/build

# Reference: https://github.com/github/gitignore/blob/main/Python.gitignore

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
.magic

# MacOS
.DS_Store
6 changes: 3 additions & 3 deletions docs/oss-material/CODE_OF_CONDUCT.md → CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Code of Conduct
# Code of conduct

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to make participation in our project and
Expand All @@ -7,7 +7,7 @@ body size, disability, ethnicity, gender identity and expression, level of
experience, nationality, personal appearance, race, religion, or sexual
identity and orientation.

## Our Standards
## Our standards

All community forums and spaces are meant for professional interactions that
are friendly, inclusive, helpful, and collaborative. Examples of behavior that
Expand All @@ -32,7 +32,7 @@ participants include:
- Conduct which could reasonably be considered inappropriate for the forum in
which it occurs.

## Our Responsibilities
## Our responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
Expand Down
Loading
Loading