Ludwig Ortmann
5e82c06cad
Merge pull request #779 from mehlis/native-unreachable-code
...
native: removed unreachable code
2014-02-25 09:20:06 +01:00
Christian Mehlis
261d414649
native: removed unreachable code
2014-02-25 09:02:39 +01:00
Christian Mehlis
f481e4a5c5
Merge pull request #768 from authmillenon/fix-802-15-4-drivers
...
drivers: Fix IEEE 802.15.4 drivers
2014-02-24 18:26:42 +01:00
Ludwig Ortmann
9c0fc3b1e2
Merge pull request #759 from LudwigOrtmann/tests_makefile
...
add Makefile.tests_common
2014-02-24 16:47:31 +01:00
Oleg Hahm
8c305a0335
fixed includes for at86rf231
2014-02-24 16:15:23 +01:00
Martin Lenders
e125f97a41
Fix coding conventions in cc2420 driver
2014-02-24 16:15:19 +01:00
Martin Lenders
d51816d2e0
Fix cc2420 driver
2014-02-24 16:14:28 +01:00
Martin Lenders
f28054d844
Fix at86rf231 driver
2014-02-24 16:13:03 +01:00
bf8f5d16a3
Merge pull request #766 from mehlis/lifo-author
...
core: lifo: added heiko as author
2014-02-24 15:27:56 +01:00
Christian Mehlis
8556403f8f
Merge pull request #680 from benpicco/fix_crash
...
set up message queues for the IP and UDP thread
2014-02-24 15:10:19 +01:00
Christian Mehlis
f4376930f2
Merge pull request #740 from authmillenon/update-libcoap
...
pkg : libcoap : Update libcoap version
2014-02-24 15:07:25 +01:00
Ludwig Ortmann
bc66ba8439
Merge pull request #762 from LudwigOrtmann/issue_741
...
make calloc "usable" early on
2014-02-24 09:12:43 +01:00
Martin Lenders
24b63bd9f0
Update libcoap
2014-02-23 20:57:17 +01:00
Christian Mehlis
6501707bcb
core: lifo: added the right author
2014-02-23 15:09:43 +01:00
Christian Mehlis
2de9619f21
Merge pull request #758 from Kijewski/issue-755
...
Fix `pthread_self()` confusion
2014-02-22 18:30:11 +01:00
Christian Mehlis
668c29ca52
Merge pull request #763 from LudwigOrtmann/issue_717
...
move global char array out of thread
2014-02-22 18:18:53 +01:00
Ludwig Ortmann
af7a15b3f0
move global char array out of thread
...
The char msg[] is accessed from outside the main thread after it has
exited, so it needs to outlive it.
Fixes #717
2014-02-22 13:28:21 +01:00
Ludwig Ortmann
86812c2abb
make calloc "usable" early on
...
closes #741
Old versions of the gnu libc uses calloc to allocate dymanic memory
when some error occurs in dlsym.
This results in a segfault as natives calloc wrapper has not been
initialized yet.
As this is a circular dependency and the libc can cope with this, we
just return NULL from the calloc wrapper and hope for the best.
Recent libc versions use a static buffer instead.
2014-02-22 13:08:45 +01:00
René Kijewski
2317ab07a1
Merge pull request #761 from mehlis/test-pthread-license
...
test: added missing license
2014-02-22 11:50:11 +01:00
Ludwig Ortmann
d676cd328b
remove debug target from test_nativenet
...
It conflicts with an existing debug target
2014-02-22 10:05:23 +01:00
Ludwig Ortmann
983dabe73f
remove USEMODULE comments and some whitespace
2014-02-22 10:04:41 +01:00
Christian Mehlis
1e11aca209
test: added missing license
2014-02-21 21:51:29 +01:00
Christian Mehlis
b2dbf3dcae
Merge pull request #754 from Kijewski/pthread_reaper_stack-linkage
...
`pthread_reaper_stack` has global linkage for no proper reason.
2014-02-21 20:32:22 +01:00
Ludwig Ortmann
982eecd3a6
add Makefile.tests_common
...
Contains common variables for all test Makefiles.
Include from test Makefiles.
2014-02-21 19:08:48 +01:00
René Kijewski
ca4337ab4d
Fix pthread_self()
confusion
...
This fixes #755 .
The pthread ID cannot be reused as soon as the thread ends, because
another thread needs to join it first. `pthread_self()` uses the native
(i.e. RIOT's) thread ID to distinguish itself. A native thread ID can be
reused as soon as the thread ends, since the core knows no join
operation.
In order to not confuse itself with an earlier zombie thread (i.e a dead
non-detached thread, that was not joined, yet), we need to invalidate
the associated native thread ID.
This approach is sane since a dead thread won't call `pthread_self()`
anymore.
2014-02-21 17:44:08 +01:00
René Kijewski
cb423c0ac4
Fix linkage of pthread_reaper_stack
2014-02-21 14:03:55 +01:00
Christian Mehlis
3e980184a8
Merge pull request #748 from authmillenon/fix-possible-null-pointer-errors
...
bughunt: Fix possible null pointer dereference
2014-02-20 21:41:50 +01:00
Christian Mehlis
c2190a277f
Merge pull request #750 from Kijewski/fix-sys-random
...
Fix the makefile of sys/random
2014-02-20 21:37:15 +01:00
René Kijewski
e55fd19d5c
Fix the makefile of sys/random
...
The Makefile must not overwrite the include paths.
2014-02-20 17:16:57 +01:00
Christian Mehlis
48f23aa43d
Merge pull request #734 from mehlis/native-c++-fixes
...
C++ compiler warnings (native, core)
2014-02-20 10:27:37 +01:00
Martin Lenders
4119e15e6b
Fix possible null pointer dereference
2014-02-20 02:29:33 +01:00
Christian Mehlis
c5230a4a0a
Merge pull request #694 from mehlis/pthread-module
...
Pthread module
2014-02-19 23:42:07 +01:00
Christian Mehlis
e865022a31
pthread: initial add
2014-02-19 23:39:38 +01:00
Christian Mehlis
361c259948
Merge pull request #517 from mehlis/ccn-lite-follow-up-8
...
ccnl: enable nonce in interests
2014-02-19 23:31:44 +01:00
Christian Mehlis
a21c8d41e1
ccnl: fix 'no break' warning in switch
2014-02-19 23:23:54 +01:00
Christian Mehlis
87d8e4f99c
enable nonces in interests
2014-02-19 23:23:53 +01:00
Christian Mehlis
9fa0844f3f
added nonce timeout
2014-02-19 23:23:53 +01:00
Christian Mehlis
e895088e9e
Merge pull request #733 from authmillenon/fix-shell
...
sys: Hotfix for error introduced in #678
2014-02-18 22:57:24 +01:00
Martin Lenders
df83221983
Hotfix for error introduced in #678
2014-02-18 22:44:00 +01:00
Christian Mehlis
0309fecc19
fix warning: invalid suffix on literal
...
C++11 requires a space between
literal and identifier [-Wliteral-suffix]
2014-02-18 17:05:01 +01:00
Christian Mehlis
09bdb56d52
native: fix function prototype to match to api
2014-02-18 16:28:13 +01:00
Oleg Hahm
d1cf9deb38
Merge pull request #731 from authmillenon/wireshark-padding
...
Wireshark dissector: Account for padding in small packages
2014-02-18 15:17:40 +01:00
Oleg Hahm
7235f9e92c
Merge pull request #729 from BytesGalore/remove_unnecessary_includes
...
core:mutex removed unnecessary includes
2014-02-18 13:52:21 +01:00
Oleg Hahm
c1bcfb3516
Merge pull request #722 from Kijewski/fixup-664
...
First apply board includes, then det. CC caps
2014-02-18 13:45:50 +01:00
Martin Lenders
1258675171
Account for padding in small packages in wireshark
2014-02-18 13:39:44 +01:00
Oleg Hahm
b42496475a
Merge pull request #724 from rousselk/reboot
...
Reboot
2014-02-18 13:33:49 +01:00
Martin
ff36df6847
migrated tcb.h include to .c file
2014-02-18 12:50:30 +01:00
Christian Mehlis
6578669e46
Merge pull request #718 from Kijewski/issue-693
...
"Exterminate `} else {`"
2014-02-18 12:42:54 +01:00
Christian Mehlis
c8132b2988
Merge pull request #677 from mehlis/project-application
...
replace project by application in documentation
2014-02-18 12:30:21 +01:00
Christian Mehlis
cb9c5d00de
repace project by application in documentation
2014-02-18 12:28:32 +01:00