- 10 Jul, 2015 4 commits
-
-
Paul Sokolovsky authored
Treating it as signed lead to buffer overflow for ports >= 32768.
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
- 09 Jul, 2015 2 commits
-
-
Paul Sokolovsky authored
This usually allows to get just a single address entry.
-
Daniel Campora authored
-
- 08 Jul, 2015 4 commits
-
-
Daniel Campora authored
-
Daniel Campora authored
-
Damien George authored
-
Paul Sokolovsky authored
This requires root access. And on recent Linux kernels, with CONFIG_STRICT_DEVMEM option enabled, only address ranges listed in /proc/iomem can be accessed. The above compiled-time option can be however overriden with boot-time option "iomem=relaxed". This also removed separate read/write paths - there unlikely would be a case when they're different.
-
- 07 Jul, 2015 6 commits
-
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Dave Hylands authored
-
- 06 Jul, 2015 8 commits
-
-
Dave Hylands authored
Update pydfu.py to match with the version from openmv. I just updated the openmv version to work with both of the PyUSB 1.0.0.b1 and 1.0.0.b2 See: https://github.com/walac/pyusb/blob/master/ReleaseNotes.rst
-
Dave Hylands authored
I checked the entire codebase, and every place that vstr_init_len was called, there was a call to mp_obj_new_str_from_vstr after it. mp_obj_new_str_from_vstr always tries to reallocate a new buffer 1 byte larger than the original to store the terminating null character. In many cases, if we allocated the initial buffer to be 1 byte longer, we can prevent this extra allocation, and just reuse the originally allocated buffer. Asking to read 256 bytes and only getting 100 will still cause the extra allocation, but if you ask to read 256 and get 256 then the extra allocation will be optimized away. Yes - the reallocation is optimized in the heap to try and reuse the buffer if it can, but it takes quite a few cycles to figure this out. Note by Damien: vstr_init_len should now be considered as a string-init convenience function and used only when creating null-terminated objects.
-
Damien George authored
Previous to this patch, if "abcd" and "ab" were possible completions to tab-completing "a", then tab would expand to "abcd" straight away if this identifier appeared first in the dict.
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
Drops Thumb2 arch size by 24 bytes.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 05 Jul, 2015 1 commit
-
-
Paul Sokolovsky authored
-
- 04 Jul, 2015 6 commits
-
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Galen Hazelwood authored
-
- 03 Jul, 2015 1 commit
-
-
Paul Sokolovsky authored
-
- 02 Jul, 2015 8 commits
-
-
Daniel Campora authored
-
Damien George authored
-
Daniel Campora authored
-
Daniel Campora authored
Stream methods were added to normal sockets as in the unix port.
-
Daniel Campora authored
-
Daniel Campora authored
WLAN needs time info when validating certificates.
-
Daniel Campora authored
-
Daniel Campora authored
-