repo.or.cz
/
delight
/
core.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Disable not-null type checks when compiling D code
2008-09-28
Thomas Leonar
d
D
i
sable n
o
t-null type ch
e
cks
w
hen
co
m
piling D code
commit
|
commitdiff
|
tree
2008-09-28
Thom
a
s Leon
a
rd
Spe
c
i
al un
c
hec
k
ed
n
ulls
f
or d
commit
|
commitdiff
|
tree
2008-09-28
Th
o
mas Leona
r
d
Added str
e
rror_r to make pho
b
os
c
ompil
e
commit
|
commitdiff
|
tree
2008-09-28
T
h
o
mas Leonar
d
VarDec
l
aration
default
s
to not req
u
iri
n
g
p
oi
n
ters to
.
.
.
commit
|
commitdiff
|
tree
2008-09-28
Thomas Le
o
na
r
d
Some
par
s
ing fixes for D source
commit
|
commitdiff
|
tree
2008-09-28
Thomas L
e
onard
Fi
x
ed buil
d
pro
b
lem
w
ith ho
s
t_a
l
ias
not getting set
commit
|
commitdiff
|
tree
2008-09-28
Thomas
L
eon
a
rd
A
l
so
accept D source
file
s
f
or com
p
i
lati
o
n
.
commit
|
commitdiff
|
tree
2008-09-28
Thomas Leon
a
rd
Make
comma o
p
tion i
n
e
n
u
m
s i
f
f
ollow
e
d by a newline
commit
|
commitdiff
|
tree
2008-09-28
Thomas
Leonard
Removed old dm
d
and phobos d
i
re
c
tories to
a
v
oid confusio
n
commit
|
commitdiff
|
tree
2008-09-28
Thomas Leon
a
rd
Merg
e
d Delight changes t
o
D1 into D2
commit
|
commitdiff
|
tree
2008-09-27
Thom
a
s Leon
a
rd
Add
e
d su
p
p
o
rt
f
or anony
m
ous funct
i
ons
commit
|
commitdiff
|
tree
2008-09-27
Thomas
Leona
r
d
Bet
t
er
e
rror if
the user tr
i
es to
m
ake an anonymous
.
.
.
commit
|
commitdiff
|
tree
2008-09-27
T
ho
m
as Leonard
The exp
r
ession "x in
dict"
is
now
a
maybe type
commit
|
commitdiff
|
tree
2008-09-27
T
h
o
m
as Leona
r
d
Reject s
t
atic v
a
riables
d
u
ring the
sema
n
tic pass
,
not
.
.
.
commit
|
commitdiff
|
tree
2008-09-26
T
h
omas
L
eo
n
ard
Disal
l
ow
old style array declaration
s
in Delight
commit
|
commitdiff
|
tree
2008-09-26
Thomas Leonard
Fixed pars
i
ng of mixin e
x
pressions
.
commit
|
commitdiff
|
tree
2008-09-26
Thomas Leonard
Allow
static inn
e
r class
e
s
commit
|
commitdiff
|
tree
2008-09-26
Tho
m
a
s Leona
r
d
Allow nested cl
a
s
ses
commit
|
commitdiff
|
tree
2008-09-26
Thomas
L
eonard
Matched
object
i
n an if is
n
ever n
u
l
l
commit
|
commitdiff
|
tree
2008-09-26
Thomas Leonard
Fixed warning for "if
Foo f = expr:"
commit
|
commitdiff
|
tree
2008-09-26
Thom
a
s
Leo
n
ard
"cast(Fo
o
) f
o
o
" has
t
ype "Foo?"
commit
|
commitdiff
|
tree
2008-09-25
T
h
omas Leo
n
a
r
d
Warn about "assert
X,Y"
commit
|
commitdiff
|
tree
2008-09-24
Thomas Leonard
Allow
implicit conversion "foo*?" to "void*"
commit
|
commitdiff
|
tree
2008-09-24
Tho
m
as Leonard
Skip not-null
c
h
e
cks for _argptr and _argu
m
ents
commit
|
commitdiff
|
tree
2008-09-23
Thomas Leon
a
rd
Move
d
_ex
t
ernal
s
module to dl
t
.
_
exte
r
n
als
commit
|
commitdiff
|
tree
2008-09-23
Thomas Le
o
nard
Updated setup pat
h
s to use gcc/dlt
,
not
g
cc/d
commit
|
commitdiff
|
tree
2008-09-22
Thomas Leonard
Accept
"is
not
"
for "!is"
commit
|
commitdiff
|
tree
2008-09-22
Thomas
Leo
n
ard
A
l
l
ow log statements to
b
e
u
sed in te
m
plates
commit
|
commitdiff
|
tree
2008-09-22
Thomas
Le
o
nard
In
D
elig
h
t, "override" m
u
st a
l
ways be used when o
v
e
r
riding
.
.
.
commit
|
commitdiff
|
tree
2008-09-22
Thomas Leonard
Fixed semi-
c
olon parsing in
C
-style for
l
oops
commit
|
commitdiff
|
tree
2008-09-20
Thomas Leona
r
d
Generate valid nam
e
s for TypeInfo_Maybe types
commit
|
commitdiff
|
tree
2008-09-20
Tho
m
as Leonard
Im
p
rov
e
d some error mess
a
ges
.
commit
|
commitdiff
|
tree
2008-09-19
T
h
o
m
as L
e
o
nard
Delay
in
c
rement
i
ng t
h
e line numbe
r
until afte
r
sending
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
Thoma
s
Leonard
Fixed some lexing pro
b
lems w
i
th
D
OS line-en
d
ings
commit
|
commitdiff
|
tree
2008-09-19
Tho
m
as Leonard
Parse "impl
e
ment
s
"
commit
|
commitdiff
|
tree
2008-09-19
Thom
a
s Le
o
nard
C
atch Sy
s
t
e
m
E
x
it f
r
o
m ma
i
n and p
a
ss to External
s
for
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
Tho
m
as L
e
on
a
rd
Disa
l
low
'
&
&
' and '
|
|' in dlt
.
Must use 'and'
a
nd
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
T
homas Leonard
Adde
d
Del
i
ght "no
r
m
a
l" mode restrictio
n
s
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
Merge in maybe type checkin
g
branch
commit
|
commitdiff
|
tree
2008-09-19
Th
o
ma
s
Le
o
nard
Simplify non-nu
l
l name mangin
g
commit
|
commitdiff
|
tree
2008-09-19
Tho
m
as Leonard
Copy mayb
e
f
l
ag when copying sy
n
tax
f
o
r a Ty
p
e
Identifier
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
Support c
o
v
a
r
iant
may
b
e ret
u
rn types
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
A
l
low implicit conv
e
r
s
at
i
on from
Subclass
?
t
o
Sup
e
r?
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
Err
o
r on
p
o
in
t
less
ma
y
be
a
n
n
o
t
ations
commit
|
commitdiff
|
tree
2008-09-19
Thomas L
e
o
n
ard
Delay wrapping
a
TypeId
e
ntifie
r
i
n
a
TypeM
a
y
be un
t
il
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas
L
eonard
Don't merge TypeMaybe if it depends on an unresolved
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
T
homas Leonard
Fi
x
p
arsin
g
proble
m
with arr
a
y initialis
e
rs
commit
|
commitdiff
|
tree
2008-09-18
Thomas Le
o
nar
d
Ignore
m
aybe at
t
ributes
when ma
t
c
hin
g
tem
p
lat
e
s
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
S
trip
n
ot-null char
a
c
te
r
s
f
rom sym
b
ol names
commit
|
commitdiff
|
tree
2008-09-18
T
h
oma
s
Leonard
Give a better e
r
r
o
r when doing pointe
r
arithmetic on
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
T
homas Leonard
Keep
track of
w
hen we
are
i
n
s
t
a
ntiating D templates
commit
|
commitdiff
|
tree
2008-09-18
T
h
o
mas Leona
r
d
Work
h
arder to prevent getting void*
?
commit
|
commitdiff
|
tree
2008-09-18
Tho
m
as Leonar
d
DArray
.
ptr gets
maybe ty
p
e
"
ch
a
r *?"
commit
|
commitdiff
|
tree
2008-09-18
Thomas L
e
onard
Fo
r
templ
a
t
e
s keep track of whethe
r
they
came from
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
T
hom
a
s Leonard
Do
n
'
t add
mayb
e
qualifier
s
to
aliases
i
n D source
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leona
r
d
Check tha
t
all non-null fields in a
c
lass get initialised
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leo
n
a
rd
Use maybe rules for po
i
nters
.
commit
|
commitdiff
|
tree
2008-09-18
T
homas Leonard
D
on't include
d
ynamic arrays
i
n non-null checks
commit
|
commitdiff
|
tree
2008-09-18
T
hom
a
s Le
o
nard
Still generate a n
e
wlin
e
token
a
fter a "
#
"
com
m
ent
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thom
a
s Leonard
E
r
ror if you d
o
n
'
t initialise a non-n
u
ll
ty
p
e
commit
|
commitdiff
|
tree
2008-09-18
Th
o
mas Leonar
d
Fix
m
angled name
o
f TypeInfo
i
nit functi
o
n
s
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas
Leonard
Don't
a
llow "a~b" if
e
ither coul
d
be null
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
S
u
ppo
r
t m
a
y
b
e dynamic arrays
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas L
e
onard
Do
n
't allow
i
mplici
t
conv
e
r
sio
n
o
f
n
u
ll to a class
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leo
n
ard
Better error message w
h
e
n
at
t
emp
t
ing
t
o access
a
proper
t
y
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas L
e
onard
Fix
e
d parsi
n
g of
maybe typ
e
s
i
n
statements
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leona
r
d
Deleg
a
te most maybe oper
a
tions to base typ
e
.
commit
|
commitdiff
|
tree
2008-09-17
Tho
m
as Leonard
Allow "T[]" ->
"T[]?"
commit
|
commitdiff
|
tree
2008-09-17
T
homas
Leonard
Allow implicit cast f
r
om null
t
o
maybe types ("Type?")
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leona
r
d
Added Maybe type
commit
|
commitdiff
|
tree
2008-09-17
Thomas Le
o
na
r
d
Fixed parsing for Delight
"
for
(
)" st
a
temen
t
s
commit
|
commitdiff
|
tree
2008-09-17
T
homa
s
Leonar
d
"static if (X)" to "static if X"
commit
|
commitdiff
|
tree
2008-09-17
Th
o
m
as Leonard
C
ope wi
t
h
Main n
o
t
being a class
.
commit
|
commitdiff
|
tree
2008-09-17
Thoma
s
Leonard
Fi
x
ed par
s
ing
of D return sta
t
eme
n
ts
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
"enu
m
A:B
{}" ->
"
enum A extends B:"
commit
|
commitdiff
|
tree
2008-09-17
Thomas
Leonard
Use Tango log lev
e
ls a
n
d
n
ames
commit
|
commitdiff
|
tree
2008-09-17
T
h
oma
s
Leona
r
d
Us
e
dlt
.
core
.
__log() for log
g
i
n
g
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Auto-import dlt
.
core
in
t
o all modules
commit
|
commitdiff
|
tree
2008-09-17
Thomas L
e
onard
D
o
n
't
i
mport _extern
a
l
s
from every mod
u
le
commit
|
commitdiff
|
tree
2008-09-17
Thoma
s
Le
o
nard
Al
l
ow log_ statements outside
of a class
commit
|
commitdiff
|
tree
2008-09-17
Tho
m
as
Leonard
Add
e
d
LogSta
t
eme
n
t
commit
|
commitdiff
|
tree
2008-09-17
Thomas
Leonard
Implicitl
y
a
d
d
a
l
l
"i
n
" instance variabl
e
s to each
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Delay auto-
g
enera
t
ing
t
he main functi
o
n until
the end
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
T
h
omas Leonard
Accept "in" i
n
stance
v
ar
i
abl
e
s
commit
|
commitdiff
|
tree
2008-09-17
Th
o
mas L
e
o
nard
Include log level in
log m
e
ssa
g
es
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Include classinfo in log messages
.
commit
|
commitdiff
|
tree
2008-09-17
T
h
o
m
as Leo
n
a
rd
A
d
ded lo
g
_
* statemen
t
s
commit
|
commitdiff
|
tree
2008-09-17
Thom
a
s Leon
a
rd
Added
a
n
_externals
.
Exte
r
nals class
commit
|
commitdiff
|
tree
2008-09-17
Th
o
m
a
s
L
e
o
nard
Also supply arguments automat
i
cally to
m
ain method
commit
|
commitdiff
|
tree
2008-09-17
T
homas Leo
n
ard
Minor refactor
i
ng
commit
|
commitdiff
|
tree
2008-09-17
Th
o
mas Le
o
nard
After con
s
tructing Main,
c
all it
s
main()
m
ethod
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
P
ass args as a
Mai
n
cons
t
ructor
a
rgu
m
ent if
needed
commit
|
commitdiff
|
tree
2008-09-17
Thoma
s
Leonard
Pa
s
ses argument
s
to Main constr
u
ctor
commit
|
commitdiff
|
tree
2008-09-17
T
h
omas Leon
a
r
d
Parse
D brea
k
and th
r
ow statements correctly again
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Auto
m
a
tic
a
lly construct M
a
in cla
s
s on startup
commit
|
commitdiff
|
tree
2008-09-17
Thom
a
s Leon
a
r
d
"con
d
? ye
s
: no
"
to "yes if con
d
else no
"
commit
|
commitdiff
|
tree
2008-09-17
T
h
o
mas L
e
onar
d
D i
m
port syn
t
ax
w
orks ag
a
in
commit
|
commitdiff
|
tree
2008-09-17
T
homa
s
Leonard
"
class A : B {}" -> "class A exte
n
ds B:
"
commit
|
commitdiff
|
tree
2008-09-17
T
homa
s
L
eonard
Updated
parser to support Delig
h
t's
"
:" and newline
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leona
r
d
Added su
p
port for lexing Dlt
f
iles
commit
|
commitdiff
|
tree
next