#
35c4600e |
|
13-Nov-2023 |
Andrew Lindesay <apl@lindesay.co.nz> |
Shared: JSON Parse Perf Improve the mechanics for JSON parsing by reusing text buffers during the parse. Change-Id: I7fb2cae31e6558a5a0c63fd02e1fc6fec4f9e4b3 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7106 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
86fa1c21 |
|
29-Jun-2020 |
Leorize <leorize+oss@disroot.org> |
Shared Kit: Introduce BMemoryRingIO, a thread-safe ring buffer This commit introduces a simple thread-safe ring buffer implementation based on top of BDataIO. The main use case for this class will be to implement shared buffers between threads for the upcoming refactoring of Services Kit. Change-Id: I526bc044b28c91496ad996fabebe538e75647f2c Reviewed-on: https://review.haiku-os.org/c/haiku/+/2966 Reviewed-by: Jacob Secunda <secundaja@gmail.com> Reviewed-by: waddlesplash <waddlesplash@gmail.com> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
|
#
85a6d653 |
|
30-Jan-2021 |
Niels Sascha Reedijk <niels.reedijk@gmail.com> |
libnetservices.a: fix unit test builds after hrev54923
|
#
027d6086 |
|
29-Oct-2020 |
Andrew Lindesay <apl@lindesay.co.nz> |
HaikuDepot: LRU Cache for Icons Only keep a fixed number of icons in memory at once. Completes To #15370 Change-Id: I23e3a4fa7559894034f45afb3b536910ea037078 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3367 Reviewed-by: Rene Gollent <rene@gollent.com>
|
#
a7536efa |
|
19-Aug-2019 |
Simon South <simon@simonsouth.net> |
BKeymap: Add unit tests and fix issues Add a preliminary set of unit tests for BKeymap and fix these issues: * BKeymap::operator=() caused a crash by allocating a zero-byte array to hold the other object's character data. * BKeymap::SetToCurrent() and SetToDefault() leaked memory by not freeing an existing character array before allocating a new one. * BKeymap::SetToCurrent() incorrectly determined the size of the current keymap's character array, causing GetChars() to fail whenever the current keymap was loaded. Now SetToCurrent() uses the _get_key_map() private function, which accurately reports the size of the array. This commit also updates a Jamfile by replacing a use of "UseHeaders" to include private header files with the more concise and expressive "UsePrivateHeaders". Change-Id: If6f71b209f1bd395be57835c4dd89f0e3f845994 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1724 Reviewed-by: Ryan Leavengood <leavengood@gmail.com> Reviewed-by: Adrien Destugues <pulkomandy@gmail.com> Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
|
#
1e60bdea |
|
30-Mar-2019 |
Augustin Cavalier <waddlesplash@gmail.com> |
Remove all invocations of SetSubDirSupportedPlatformsBeOSCompatible.
|
#
1f6b57a5 |
|
13-May-2017 |
Andrew Lindesay <apl@lindesay.co.nz> |
Implementation of JSON Streaming Parser This change will introduce a streaming parser capability to Haiku. The existing functionality of writing the JSON data to a BMessage in-memory model is retained. The new parser implements a SAX-style listener based interface where the listener accepts parse events. Unit tests have been supplied for the JSON parser as well.
|
#
b8878f83 |
|
15-Jan-2016 |
Jessica Hamilton <jessica.l.hamilton@gmail.com> |
Build: adjust Jamfiles in unittests for libshared.a change.
|
#
9f218b4e |
|
20-Mar-2015 |
Axel Dörfler <axeld@pinc-software.de> |
DriverSettingsMessageAdapter: fixed various issues. * _AddParameter() would ignore all BMessage::Add*() errors. * _ConvertFromDriverParameter() would ignore most intermediate error, but would fail badly over some incorrect settings file. * Also, it checked for the parent value for each parameter, which doesn't make any sense, but would add as often as there are parameters -- which also may be none, in which case the value got ignored.
|
#
9581e328 |
|
02-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Move geolocation test to the shared kit tests. * Fix the build.
|
#
b4a3be8e |
|
30-Sep-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Jamfile missing from previous commit.
|
#
220d0402 |
|
31-Jul-2014 |
Oliver Tappe <zooey@hirschkaefer.de> |
Use libstdc++, libsupc++ and libgcc from gcc_syslibs. * Instead of faking libstdc++.so from libstdc++.a, use libstdc++.so from the gcc_syslibs build feature for everything except x86_gcc2. * Use libgcc_s.so from the gcc_syslibs build feature for everything but x86_gcc2 (which still carries libgcc as part of libroot.so). * Drop filtering of libgcc objects for libroot, as that is no longer necessary since we're only using libgcc-as-single-object for libroot with x86_gcc2, where the filtered object file doesn't exist. Should the objects that used to be filtered cause any problems as part of libgcc_s.so, we can always filter them as part of the gcc build. * Use libsupc++.so from the gcc_syslibs build feature for everything but x86_gcc2. * Adjust all Jamfiles accordingly. * Deactivate building of faked libstdc++.so for non-x86-gcc2. For x86_gcc2, we still build libstdc++.so from the sources in the Haiku source tree as part of the Haiku build . * Put gcc_syslibs package onto the image, when needed.
|
#
71171a7d |
|
22-Feb-2012 |
Axel Dörfler <axeld@pinc-software.de> |
Added unit tests for NaturalCompare() that currently fail.
|
#
8e43b9e3 |
|
22-Aug-2009 |
Alexandre Deckner <alex@zappotek.com> |
* A mouse shake detecting BMessageFilter that's easily integrated in any app. * A test app for it. I added a src/test/kits/shared folder as i found it was the most logical place for it. Shake it up. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32602 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9f218b4e2d05bab14e78a4e6932e73e27c529b57 |
|
20-Mar-2015 |
Axel Dörfler <axeld@pinc-software.de> |
DriverSettingsMessageAdapter: fixed various issues. * _AddParameter() would ignore all BMessage::Add*() errors. * _ConvertFromDriverParameter() would ignore most intermediate error, but would fail badly over some incorrect settings file. * Also, it checked for the parent value for each parameter, which doesn't make any sense, but would add as often as there are parameters -- which also may be none, in which case the value got ignored.
|
#
9581e328bd4b1c88e60054fc6c9a1e61ef107dc2 |
|
02-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Move geolocation test to the shared kit tests. * Fix the build.
|
#
b4a3be8e2fc0e940f348ec4f51908ebf8d29fc6f |
|
30-Sep-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Jamfile missing from previous commit.
|
#
220d04022750f40f8bac8f01fa551211e28d04f2 |
|
31-Jul-2014 |
Oliver Tappe <zooey@hirschkaefer.de> |
Use libstdc++, libsupc++ and libgcc from gcc_syslibs. * Instead of faking libstdc++.so from libstdc++.a, use libstdc++.so from the gcc_syslibs build feature for everything except x86_gcc2. * Use libgcc_s.so from the gcc_syslibs build feature for everything but x86_gcc2 (which still carries libgcc as part of libroot.so). * Drop filtering of libgcc objects for libroot, as that is no longer necessary since we're only using libgcc-as-single-object for libroot with x86_gcc2, where the filtered object file doesn't exist. Should the objects that used to be filtered cause any problems as part of libgcc_s.so, we can always filter them as part of the gcc build. * Use libsupc++.so from the gcc_syslibs build feature for everything but x86_gcc2. * Adjust all Jamfiles accordingly. * Deactivate building of faked libstdc++.so for non-x86-gcc2. For x86_gcc2, we still build libstdc++.so from the sources in the Haiku source tree as part of the Haiku build . * Put gcc_syslibs package onto the image, when needed.
|
#
71171a7d8c65354c131944d9e37d5010054d228c |
|
22-Feb-2012 |
Axel Dörfler <axeld@pinc-software.de> |
Added unit tests for NaturalCompare() that currently fail.
|
#
8e43b9e35e9ea39d427336d2ccf7953aa70c1d35 |
|
22-Aug-2009 |
Alexandre Deckner <alex@zappotek.com> |
* A mouse shake detecting BMessageFilter that's easily integrated in any app. * A test app for it. I added a src/test/kits/shared folder as i found it was the most logical place for it. Shake it up. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32602 a95241bf-73f2-0310-859d-f6bbb57e9c96
|