repo.or.cz
/
libserialport
/
gsi.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Generate a config.h rather than passing defines on command line.
2015-03-24
Ma
r
tin Ling
G
e
ner
a
te a confi
g
.
h rather
tha
n
passing def
i
ne
s
on
.
.
.
commit
|
commitdiff
|
tree
2015-02-15
Martin Ling
windows: Fix restart of RX/error
w
ait op
e
r
at
i
on after
.
.
.
commit
|
commitdiff
|
tree
2014-11-01
Martin Li
n
g
linux: Ch
e
ck fo
r
BOTHER macro at co
n
fig
u
r
e
ti
m
e
.
commit
|
commitdiff
|
tree
2014-09-25
M
artin Li
n
g
windows
:
Fix co
m
pile
issues with multiply or not defined
.
.
.
commit
|
commitdiff
|
tree
2014-08-24
M
a
rtin Ling
li
n
ux: Fix warning
b
y markin
g
v
id,
p
id variables unsigned
.
commit
|
commitdiff
|
tree
2014-08-24
Ma
r
t
in Ling
Compile
w
it
h
-pedantic
.
commit
|
commitdiff
|
tree
2014-08-24
Martin Ling
l
i
nux: Define fea
t
ure macros to get req
u
ired
fun
c
tions
.
commit
|
commitdiff
|
tree
2014-08-24
Martin Li
n
g
Revise
d
ebug macros
t
o work in strict C99
.
commit
|
commitdiff
|
tree
2014-08-24
Mar
t
in
L
ing
Sp
e
cialise RETURN_VALUE m
a
cro
i
nto RETURN_{I
N
T,STRING
.
.
.
commit
|
commitdiff
|
tree
2014-06-14
Ma
r
tin Ling
Fi
x
bui
l
d for platforms without enumeratio
n
& port
.
.
.
commit
|
commitdiff
|
tree
2014-06-11
Mart
i
n L
i
n
g
Tidy up and split most O
S
-specific code to
separate
.
.
.
commit
|
commitdiff
|
tree
2014-01-03
Mart
i
n Ling
l
inux_
t
ermio
s
.
c: fix check for termios speed fiel
d
s
.
commit
|
commitdiff
|
tree
2014-01-03
Martin Ling
linux: Spe
e
d fields
m
ay not
b
e
pres
e
nt in kern
e
l termios
.
.
.
commit
|
commitdiff
|
tree
2014-01-03
Ma
r
tin Ling
Remove
n
eed to in
c
l
u
de
linux_termio
s
.
h on non-L
i
n
u
x
.
commit
|
commitdiff
|
tree
2014-01-03
M
a
rtin
L
ing
Onl
y
build
l
inux_te
r
mios
.
c on Linux
.
commit
|
commitdiff
|
tree
2013-12-20
M
a
rtin Ling
Add A
P
I for waiting o
n
port events
.
commit
|
commitdiff
|
tree
2013-12-18
Martin Ling
R
e
move various unuse
d
code
i
n c
o
nfigure
.
ac
.
commit
|
commitdiff
|
tree
2013-12-17
Marti
n
Ling
Windows: clear err
o
rs after por
t
open
.
commit
|
commitdiff
|
tree
2013-12-08
Martin Ling
Remove obsolete comment
.
commit
|
commitdiff
|
tree
2013-12-07
Martin Ling
Remove st
r
a
y
perio
d
s
from debug m
e
s
sages
.
commit
|
commitdiff
|
tree
2013-12-07
Martin Ling
Wi
n
do
w
s nonblocking
w
rit
e
: Dont't return if async I
.
.
.
commit
|
commitdiff
|
tree
2013-12-07
Martin Ling
Check return value of GetOverlappedResul
t
()
.
commit
|
commitdiff
|
tree
2013-12-07
Marti
n
L
i
ng
M
ak
e
RETU
R
N_VALUE macro side ef
f
e
c
t
safe
.
commit
|
commitdiff
|
tree
2013-12-05
M
artin
Ling
F
i
x building for Android
.
commit
|
commitdiff
|
tree
2013-12-05
Martin Ling
Make libu
d
ev optional
.
commit
|
commitdiff
|
tree
2013-11-27
Martin Ling
Handle
EINT
R
f
r
om t
c
drain() in
s
p_drain()
.
commit
|
commitdiff
|
tree
2013-11-27
Martin Lin
g
Cla
r
i
f
y documentatio
n
regard
i
ng signals and EINT
R
.
commit
|
commitdiff
|
tree
2013-11-27
M
a
rtin Ling
Fix error in d
o
cumentati
o
n
.
commit
|
commitdiff
|
tree
2013-11-27
M
artin Ling
Document EINTR handlin
g
.
commit
|
commitdiff
|
tree
2013-11-27
Martin L
i
ng
H
andle EIN
T
R
by
r
e
pe
a
tin
g
the
c
a
ll
.
commit
|
commitdiff
|
tree
2013-11-27
Ma
r
tin Li
n
g
Fix
conversion of timeo
u
t
to struct timeval
.
commit
|
commitdiff
|
tree
2013-11-27
Mar
t
i
n Ling
Add sp_
i
n
p
ut
_
w
a
i
ting() and sp
_
output_wai
t
ing() functions
.
commit
|
commitdiff
|
tree
2013-11-27
Martin Lin
g
Ne
w
API a
n
d implementa
t
ion for blocki
n
g
a
n
d
non
-
block
i
ng
.
.
.
commit
|
commitdiff
|
tree
2013-11-27
M
artin Ling
Set VMIN
=
1, not zero whic
h
for
c
es non-blocking re
a
ds
.
commit
|
commitdiff
|
tree
2013-11-26
Marti
n
Ling
Return SP_ERR_SUPP on attempt to set
m
a
rk/space pa
r
ity
.
.
.
commit
|
commitdiff
|
tree
2013-11-25
M
a
rtin Ling
Set
s
ome
s
an
e
default
s
in sp_open() on Wi
n
d
o
w
s
too
.
commit
|
commitdiff
|
tree
2013-11-25
Martin L
i
ng
Apply
t
ermios
s
e
tting changes i
m
me
d
iately
.
commit
|
commitdiff
|
tree
2013-11-25
Martin
L
ing
Support ma
r
k/spac
e
parity setting
s
.
commit
|
commitdiff
|
tree
2013-11-25
M
artin Ling
Turn
o
ff all the fancy
termios features
.
commit
|
commitdiff
|
tree
2013-11-25
Martin Ling
Windows nonbl
o
cking
write: 1
b
y
te a
t
a t
i
me t
o
know
.
.
.
commit
|
commitdiff
|
tree
2013-11-25
Martin Ling
Imp
l
ement non-blocking I/O on Windows
.
commit
|
commitdiff
|
tree
2013-11-25
Martin Ling
Fi
x
SET
_
FAIL
m
a
cro
.
commit
|
commitdiff
|
tree
2013-11-25
M
artin
L
i
ng
Handle -E
A
GAIN
i
n
non
-
b
l
ocki
n
g
read
s
on Unix, and return
.
.
.
commit
|
commitdiff
|
tree
2013-11-23
Martin Ling
Fi
x
b
u
g in debug message
g
eneration in s
p
_flush()
.
commit
|
commitdiff
|
tree
2013-11-23
Martin Ling
I
n
itialise structure in sp_new
_
config()
.
commit
|
commitdiff
|
tree
2013-11-23
Ma
r
tin L
i
ng
Add genera
t
or
program for configuration
accessor headers
.
commit
|
commitdiff
|
tree
2013-11-23
M
a
rtin Ling
Make co
n
f
iguration structure opaqu
e
.
commit
|
commitdiff
|
tree
2013-11-23
M
a
rtin Ling
Clarify docum
e
ntat
i
o
n
.
commit
|
commitdiff
|
tree
2013-11-23
Martin Ling
Add s
p
_get_port_h
a
ndle() function
.
commit
|
commitdiff
|
tree
2013-11-23
Martin L
i
ng
M
a
ke po
r
t struc
t
ure
o
paque
.
commit
|
commitdiff
|
tree
2013-11-23
Martin Ling
Add back pre
v
iousl
y
delet
e
d s
p
_get_c
o
nfig
fu
n
ct
i
o
n
.
commit
|
commitdiff
|
tree
2013-11-23
Martin Ling
Fix
s
wapped DCD & RI s
i
gnals on Wi
n
dows
.
commit
|
commitdiff
|
tree
2013-11-23
Ma
r
tin Ling
Return SP_ERR_SU
P
P from sp_list_ports() on
u
nsupported
.
.
.
commit
|
commitdiff
|
tree
2013-11-23
Martin Ling
Generate de
b
ug outpu
t
when returni
n
g
u
sing TRY
(
)
macro
.
commit
|
commitdiff
|
tree
2013-11-23
Martin
Ling
Additional argument ch
e
cking
.
commit
|
commitdiff
|
tree
2013-11-23
Mar
t
in Ling
Add ad
d
itional debug messages
.
commit
|
commitdiff
|
tree
2013-11-23
Martin Ling
Add debu
g
output f
o
r
all entry and e
x
i
t
points
.
commit
|
commitdiff
|
tree
2013-11-23
Martin Ling
Add
debug m
a
cros
.
commit
|
commitdiff
|
tree
2013-11-22
Ma
r
tin Ling
Add API fo
r
and defau
l
t handl
e
r
for de
b
ug messages
.
commit
|
commitdiff
|
tree
2013-11-22
Ma
r
tin L
i
n
g
Remo
v
e dupliate/redundan
t
return value documentation
.
commit
|
commitdiff
|
tree
2013-11-22
Mart
i
n Ling
Use
n
e
w S
P
_
E
R
R_SUPP e
r
ror
to in
d
icate unsupported operations
.
commit
|
commitdiff
|
tree
2013-11-22
M
a
r
tin Ling
Ch
e
ck for termiox support at
r
untime
.
commit
|
commitdiff
|
tree
2013-11-22
M
a
rt
i
n Ling
Fix memory lea
k
s
.
commit
|
commitdiff
|
tree
2013-11-22
Martin Ling
Fix to
s
p_flush(
)
on Unix
.
commit
|
commitdiff
|
tree
2013-11-22
M
a
rti
n
Ling
Add missin
g
@pa
r
am port en
t
r
i
es to documentatio
n
.
commit
|
commitdiff
|
tree
2013-11-22
M
artin Li
n
g
Add
sp_
g
et_signals() fu
n
ction
.
commit
|
commitdiff
|
tree
2013-11-22
Martin Ling
Add sp_start_break() and sp
_
end
_
b
reak()
fun
c
tio
n
s
.
commit
|
commitdiff
|
tree
2013-11-22
Martin Ling
Add sp_drain() funct
i
on
.
commit
|
commitdiff
|
tree
2013-11-22
Mar
t
in Ling
Add missing
@pa
r
am port
e
ntry to docume
n
t
a
tion
.
commit
|
commitdiff
|
tree
2013-11-22
Martin Ling
M
ake sp_flush tak
e
an option for what t
o
f
lush
.
commit
|
commitdiff
|
tree
2013-11-22
Ma
r
tin Ling
Use a
m
ore
l
ogic
a
l set
o
f
SP_MODE_*
f
la
g
s
.
commit
|
commitdiff
|
tree
2013-11-22
Mart
i
n Ling
Define SP
_
P
ARITY_* more
l
o
g
ically
.
commit
|
commitdiff
|
tree
2013-11-21
Marti
n
Ling
D
ocum
e
nt this
m
a
d
ness
.
commit
|
commitdiff
|
tree
2013-11-21
Marti
n
L
ing
S
u
pport
non-standard
flow con
t
ro
l
modes
o
n Li
n
ux
.
commit
|
commitdiff
|
tree
2013-11-21
Martin
Lin
g
Sup
p
ort custom baudr
a
tes on Linux
.
commit
|
commitdiff
|
tree
2013-11-19
M
a
rtin Ling
Retrieve XON/XOFF setting
on
U
n
ix
.
commit
|
commitdiff
|
tree
2013-11-19
Martin Ling
Clar
i
fy usage of -1 in configurat
i
on API
.
commit
|
commitdiff
|
tree
2013-11-19
Mar
t
in Lin
g
Group function
s
for documen
t
ati
o
n
.
commit
|
commitdiff
|
tree
2013-11-19
M
a
rtin Ling
Use name
d
enums instead o
f
i
nts
for clearer do
c
umentati
o
n
.
commit
|
commitdiff
|
tree
2013-11-19
Martin L
i
ng
Add
doxygen documen
t
ation
.
commit
|
commitdiff
|
tree
2013-11-19
Martin Ling
M
a
rk config argument to sp_set_config as const
.
commit
|
commitdiff
|
tree
2013-11-18
M
a
rtin Ling
Additiona
l
ar
g
ument
c
hecking for confi
g
functions
.
commit
|
commitdiff
|
tree
2013-11-18
Martin
L
ing
Remove sp_ pr
e
f
ix from private port data structure
.
commit
|
commitdiff
|
tree
2013-11-18
M
artin Ling
Tidy up static funct
i
o
n
s
.
commit
|
commitdiff
|
tree
2013-11-18
Martin Ling
M
a
ke sure OS h
a
ndles are s
e
t correctly for unopened
.
.
.
commit
|
commitdiff
|
tree
2013-11-18
Martin Lin
g
Get
Xon/Xof
f
st
a
tus on Wi
n
dows
.
commit
|
commitdiff
|
tree
2013-11-18
M
a
rtin Ling
Refactor por
t
configuration
c
o
de
.
commit
|
commitdiff
|
tree
2013-11-16
M
a
r
tin Ling
Add sp_get_confi
g
() function
.
commit
|
commitdiff
|
tree
2013-11-15
Martin L
i
ng
Upda
t
e
documentation
.
commit
|
commitdiff
|
tree
2013-11-15
Marti
n
Ling
Remove
disused flowcontrol fie
l
d f
r
om sp_port_config
.
commit
|
commitdiff
|
tree
2013-11-15
M
a
rtin L
i
n
g
E
l
iminate leng
t
hy
switch
/
case blocks
f
or baudrates
.
commit
|
commitdiff
|
tree
2013-11-15
Ma
r
t
i
n Ling
Add sp_set_flowcontrol
helper function
.
commit
|
commitdiff
|
tree
2013-11-15
Martin
L
in
g
Store co
n
trol
bits in sp_port_data on Unix
.
commit
|
commitdiff
|
tree
2013-11-15
Martin Ling
Sp
l
it up pr
o
totypes in include
f
ile for c
l
arity
.
commit
|
commitdiff
|
tree
2013-11-15
Mart
i
n Lin
g
A
dd functions f
o
r settin
g
ind
i
vidual port parameters
.
commit
|
commitdiff
|
tree
2013-11-15
Ma
r
ti
n
Lin
g
Apply sane termios settings at port open
t
i
m
e
.
commit
|
commitdiff
|
tree
2013-11-15
Martin Ling
Add proto
t
y
pes
for config hel
p
er funct
i
on
s
.
commit
|
commitdiff
|
tree
2013-11-15
Martin Ling
Retrieve
c
ur
r
ent control line s
e
ttings in start_con
f
i
g
.
commit
|
commitdiff
|
tree
2013-11-15
Martin Lin
g
N
e
w AP
I
fo
r
s
er
i
a
l
control lines
.
commit
|
commitdiff
|
tree
2013-11-15
Martin
L
ing
Move cfset{i
,
o}speed()
call
s
to set_baudr
a
te()
.
commit
|
commitdiff
|
tree
next