Source Activity

Syndicate content
Haiku's main repository
Updated: 28 min 45 sec ago

BListView: Style fixes

Thu, 2016-08-18 22:07
* Rename kDoubleClickTresh to kDoubleClickThreshold and use floating point in rval * Pointer (*) goes with type for property var * Use {}'s for multi-line if conditional * rename point to where (consistent with header and rest of IK) * Explicitly compare with 0 for bitwise operator statements * Rename InitiateDrag() params * Rename kDoubleClickTresh to kDoubleClickThreshold and use floating point in rval * Pointer (*) goes with type for property var * Use {}'s for multi-line if conditional * rename point to where (consistent with header and rest of IK) * Explicitly compare with 0 for bitwise operator statements * Rename InitiateDrag() params
Categories: Development

Fix use of findpaths from inside chroot

Thu, 2016-08-18 17:27
The package kit needs to provide the package daemon with the node_ref of the root directory, so the package daemon gives the correct results when the request comes from inside a chroot. Moreover, the package kit must be able to handle a root with a system but no home package dir, as is the case inside the chroot environment created by haikuporter. Fixes #12602. The package kit needs to provide the package daemon with the node_ref of the root directory, so the package daemon gives the correct results when the request comes from inside a chroot. Moreover, the package kit must be able to handle a root with a system but no home package dir, as is the case inside the chroot environment created by haikuporter. Fixes #12602.
Categories: Development

pci-header.awk: remove unused variable.

Thu, 2016-08-18 10:58
Signed-off-by: Adrien Destugues Fixes #12919 Signed-off-by: Adrien Destugues Fixes #12919
Categories: Development

Update usb.ids from www.linux-usb.org

Thu, 2016-08-18 03:20
Categories: Development

Revert "Keymap: Check return value of get_ref_for_path"

Wed, 2016-08-17 15:54
This reverts commit 14698e043233c4fb0f783993d0c874c8241eff77. This reverts commit 14698e043233c4fb0f783993d0c874c8241eff77.
Categories: Development

Keymap: Refactor _LoadSettings()

Tue, 2016-08-16 22:39
Instead of filling out the path into a BString and using it in the calling method, call _SetKeyboardLayout() directly using the path found. Also use a plain const char* array instead of BString because we don't need the added functionality. The return value now reflects whether or not the window frame was loaded. Check the return value on the caller side and only use the resulting window frame if it is B_OK, otherwise CenterOnScreen(). Instead of filling out the path into a BString and using it in the calling method, call _SetKeyboardLayout() directly using the path found. Also use a plain const char* array instead of BString because we don't need the added functionality. The return value now reflects whether or not the window frame was loaded. Check the return value on the caller side and only use the resulting window frame if it is B_OK, otherwise CenterOnScreen().
Categories: Development

Keymap: Fix saving keyboard layout

Tue, 2016-08-16 22:01
The function would stop prematurely after the first submenu whether it found a layout or not. Now stop when you have has an initialized path or end of menu Fixing saving keyboard layout also fixes loading layout which fixes #3918 How did this silly bug live so long? The function would stop prematurely after the first submenu whether it found a layout or not. Now stop when you have has an initialized path or end of menu Fixing saving keyboard layout also fixes loading layout which fixes #3918 How did this silly bug live so long?
Categories: Development

Keymap: Check return value of get_ref_for_path

Tue, 2016-08-16 21:55
if not B_OK, create BFilePanels with default directory This should never happen but better than crashing on a NULL ref if not B_OK, create BFilePanels with default directory This should never happen but better than crashing on a NULL ref
Categories: Development

Add package for webfont FontAwesome

Mon, 2016-08-15 16:06
Install this font to see all those icons WebPositive currently fails to display e.g. at the discussion forum at https://discuss.haiku-os.org Thanks PulkoMandy for pointing this out! Install this font to see all those icons WebPositive currently fails to display e.g. at the discussion forum at https://discuss.haiku-os.org Thanks PulkoMandy for pointing this out!
Categories: Development

Added package for TimeTracker

Mon, 2016-08-15 06:19
TimeTracker lets you create tasks for your various projects and shows them in a list. Via double-click on an entry you start/stop the timer on that task, thus helping you keep track of how much time you spend doing what. TimeTracker lets you create tasks for your various projects and shows them in a list. Via double-click on an entry you start/stop the timer on that task, thus helping you keep track of how much time you spend doing what.
Categories: Development

Fix definition of _setjmp

Sun, 2016-08-14 07:13
The #pragma weak does not work, the symbol is not defined and when already defined, it is not made weak. Moreover, it does not make the symbol global so we need to declare it with a FUNCTION. If we want the symbol to be weak, then we should use .weak to do so. The _longjmp symbol should also be changed to match, in that case. Fixes #12912. The #pragma weak does not work, the symbol is not defined and when already defined, it is not made weak. Moreover, it does not make the symbol global so we need to declare it with a FUNCTION. If we want the symbol to be weak, then we should use .weak to do so. The _longjmp symbol should also be changed to match, in that case. Fixes #12912.
Categories: Development

libdebugger: Fix #12914.

Sun, 2016-08-14 01:19
DwarfImageDebugInfo: - While computing return value locations, we need to re-evaluate the availability of debug information as we're forced to traverse around images to resolve the location of a function call. Otherwise, we may crash as one of the called functions may belong to an image that wasn't compiled with debug info. DwarfImageDebugInfo: - While computing return value locations, we need to re-evaluate the availability of debug information as we're forced to traverse around images to resolve the location of a function call. Otherwise, we may crash as one of the called functions may belong to an image that wasn't compiled with debug info.
Categories: Development

libdebugger: Fix #12913.

Sun, 2016-08-14 01:17
ThreadHandler: - When single stepping, verify that current instruction pointer is actually within a valid image. Otherwise we'll crash attempting to retrieve debug information for it. ThreadHandler: - When single stepping, verify that current instruction pointer is actually within a valid image. Otherwise we'll crash attempting to retrieve debug information for it.
Categories: Development

libroot: Ship empty libpthread.a and libm.a for POSIX and general compatibility.

Sat, 2016-08-13 15:16
A few weeks back, I spotted in the Musl FAQ that they apparently ship empty libm.a and libpthread.a files (https://www.musl-libc.org/faq.html), which they said was for POSIX compatibility. A bit of digging got me to http://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html which says: > It is unspecified whether the libraries libc.a, libl.a, libm.a, libpthread.a, > librt.a, [OB] [Option Start] libtrace.a, [Option End] libxnet.a, or liby.a > exist as regular files. The implementation may accept as -l option-arguments > names of objects that do not exist as regular files. So to follow the letter of the law, we only need to have the "c99" command accept these; however, it appears all Linux and BSD cstdlibs accept them no matter what compliance mode is in effect. Discussed with PulkoMandy. This will make HaikuPorts' job a lot easier... A few weeks back, I spotted in the Musl FAQ that they apparently ship empty libm.a and libpthread.a files (https://www.musl-libc.org/faq.html), which they said was for POSIX compatibility. A bit of digging got me to http://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html which says: > It is unspecified whether the libraries libc.a, libl.a, libm.a, libpthread.a, > librt.a, [OB] [Option Start] libtrace.a, [Option End] libxnet.a, or liby.a > exist as regular files. The implementation may accept as -l option-arguments > names of objects that do not exist as regular files. So to follow the letter of the law, we only need to have the "c99" command accept these; however, it appears all Linux and BSD cstdlibs accept them no matter what compliance mode is in effect. Discussed with PulkoMandy. This will make HaikuPorts' job a lot easier...
Categories: Development

Keymap: Add layout files to beginnning of menu

Fri, 2016-08-12 19:30
...so they are sorted alphabetically. ...so they are sorted alphabetically.
Categories: Development

Whitespace only changes in jam files

Fri, 2016-08-12 19:30
Categories: Development

Updated youtube-dl package to 2016.08.12

Fri, 2016-08-12 08:19
Categories: Development

Rebuild libwebp package on x86_64.

Tue, 2016-08-09 20:59
Categories: Development

Add icons to more of the servers.

Sun, 2016-08-07 19:39
These are not perfect, but better than using the default app icon. Feel free to improve. - DNS resolver: phonebook icon - App-server: hand + app icon - Keystore: key lock - Launch daemon: croissant (to get the day started) - Net server: hand + earth - Package daemon: hand + package - Power daemon: CF lightbulb These are not perfect, but better than using the default app icon. Feel free to improve. - DNS resolver: phonebook icon - App-server: hand + app icon - Keystore: key lock - Launch daemon: croissant (to get the day started) - Net server: hand + earth - Package daemon: hand + package - Power daemon: CF lightbulb
Categories: Development

Update libvorbis package for x86_gcc2.

Sun, 2016-08-07 19:22
Categories: Development