Source Activity

Syndicate content
Haiku's main repository
Updated: 36 min 5 sec ago

BSolver: Add SetDebugLevel()

Sat, 2014-10-25 22:11
In LibsolvSolver set the debug level of the pool. In LibsolvSolver set the debug level of the pool.
Categories: Development

HaikuDepot: Some work in progress to prepare "opening" packages

Sat, 2014-10-25 22:09
The idea is to parse packages for Deskbar links and offer to "open" them once they are installed. The added functionality is not yet complete and will eventually figure out the file system location of a package and parse the contents. I am mainly pushing this since my git-foo is limited and I want to push the fix for the discovered deadlock. The idea is to parse packages for Deskbar links and offer to "open" them once they are installed. The added functionality is not yet complete and will eventually figure out the file system location of a package and parse the contents. I am mainly pushing this since my git-foo is limited and I want to push the fix for the discovered deadlock.
Categories: Development

HaikuDepot: Fixed potential dead-lock in package list refresh.

Sat, 2014-10-25 22:02
When the package list was refreshed while package info was still being pulled from the web app, calling Model::Clear() with the model lock already held could lead to a dead-lock: The package populator could block on the model lock to update information, while StopPopulatingAllPackages() waited for the thread to exit, but held the lock that the thread was blocking on. So call StopPopulatingAllPackages() before grabbing the lock and calling Clear() in MainWindow::_RefreshPackageList(). When the package list was refreshed while package info was still being pulled from the web app, calling Model::Clear() with the model lock already held could lead to a dead-lock: The package populator could block on the model lock to update information, while StopPopulatingAllPackages() waited for the thread to exit, but held the lock that the thread was blocking on. So call StopPopulatingAllPackages() before grabbing the lock and calling Clear() in MainWindow::_RefreshPackageList().
Categories: Development

ARM: Fix OMAP3 framebuffer divider setting

Sat, 2014-10-25 21:46
QEMU was crashing since when setting the DSS divider we were _clearing_ the TV divider, and QEMU did not check for a divide by zero. This "fixes" the QEMU crash and gets us a working framebuffer on Beagle ;) QEMU was crashing since when setting the DSS divider we were _clearing_ the TV divider, and QEMU did not check for a divide by zero. This "fixes" the QEMU crash and gets us a working framebuffer on Beagle ;)
Categories: Development

Update icu_bootstrap

Sat, 2014-10-25 21:13
Our code wouldn't compile with the old one anymore (issuing warnings when -Werror is enabled). Our code wouldn't compile with the old one anymore (issuing warnings when -Werror is enabled).
Categories: Development

Debugger: Add initial skeleton for a C-style expression evaluator.

Sat, 2014-10-25 20:51
- Adds a stripped down version of ExpressionParser from libshared, which will eventually be modified to support various other capabilities needed for debug expressions. Not yet used or complete. - Adds a stripped down version of ExpressionParser from libshared, which will eventually be modified to support various other capabilities needed for debug expressions. Not yet used or complete.
Categories: Development

Debugger: Add interface for expression evaluation.

Sat, 2014-10-25 20:19
SourceLanguage: - Add a virtual to the language base class that requests expression evaluation. SourceLanguage: - Add a virtual to the language base class that requests expression evaluation.
Categories: Development

fs_shell: Added missing new permission check function.

Sat, 2014-10-25 17:31
* Fixes the build. * Fixes the build.
Categories: Development

ARM: fix bootloader's mmu_map_physical_memory size

Sat, 2014-10-25 16:43
When the address is not page aligned, not only adjust the address to start mapping, but also take the "overflow" on the last page into account. This makes the bootloader boot again ;) When the address is not page aligned, not only adjust the address to start mapping, but also take the "overflow" on the last page into account. This makes the bootloader boot again ;)
Categories: Development

HaikuDepot: Resurrect Options menu...

Sat, 2014-10-25 15:30
And move the (new) checkmarks into the Options menu. This makes them less easy to discover, but cleans up the UI, especially since the options to show development and source code packages are not very important for most users. And move the (new) checkmarks into the Options menu. This makes them less easy to discover, but cleans up the UI, especially since the options to show development and source code packages are not very important for most users.
Categories: Development

HaikuDepot: Centralized user account features in the UI

Sat, 2014-10-25 15:16
There is now a right-aligned second menu bar for the account management. The menu label is what was previously shown underneath the search terms field. The menu items have moved from the Tools menu into the new user menu. This means the login/logout functionality is directly available where the login info is shown in the UI when you click it. There is now a right-aligned second menu bar for the account management. The menu label is what was previously shown underneath the search terms field. The menu items have moved from the Tools menu into the new user menu. This means the login/logout functionality is directly available where the login info is shown in the UI when you click it.
Categories: Development

vfs/{b|btr|package|b}fs/ext2/exfat: common access check.

Sat, 2014-10-25 14:50
* Added VFS helper function check_access_permissions() that combines several partially correct versions to the one true version (tm). * All but BFS (since recently) missed the S_IXOTH for root on directories, and all but packagefs missed proper group handling. * Added VFS helper function check_access_permissions() that combines several partially correct versions to the one true version (tm). * All but BFS (since recently) missed the S_IXOTH for root on directories, and all but packagefs missed proper group handling.
Categories: Development

vfs: check the X permission on set cwd.

Sat, 2014-10-25 13:54
* When you change the current working directory, you actually should have the permission to enter that directory. * This gives us a 0.04% better score on the perl test suite :-) * When you change the current working directory, you actually should have the permission to enter that directory. * This gives us a 0.04% better score on the perl test suite :-)
Categories: Development

bfs: root may always enter directories.

Sat, 2014-10-25 13:53
* If you're root, you can now always enter directories, even if they don't have the X permission. * If you're root, you can now always enter directories, even if they don't have the X permission.
Categories: Development

kernel: Fix unbalanced release of sync object in FD select race.

Sat, 2014-10-25 10:23
When a file descriptor is closed between being selected and adding the select info to its IO context, the select info needs to be cleaned up. This is done by deselect_select_infos() which unconditionally also put the select_sync associated with the infos. In this special case we do not yet hold a reference to the select_sync however, so avoid putting the corresponding sync object. Fixes #11098, #10763 and #10230. When a file descriptor is closed between being selected and adding the select info to its IO context, the select info needs to be cleaned up. This is done by deselect_select_infos() which unconditionally also put the select_sync associated with the infos. In this special case we do not yet hold a reference to the select_sync however, so avoid putting the corresponding sync object. Fixes #11098, #10763 and #10230.
Categories: Development

HaikuDepot: Disable package action button...

Sat, 2014-10-25 10:12
... after scheduling the respective package action. ... after scheduling the respective package action.
Categories: Development

HaikuDepot: Implement ProgressPackageDownloadStarted()...

Sat, 2014-10-25 09:08
... by calling ProgressPackageDownloadActive() with a 0.0f progress percentage. ... by calling ProgressPackageDownloadActive() with a 0.0f progress percentage.
Categories: Development

HaikuDepot: Support installing local package files

Sat, 2014-10-25 09:02
* Give the PackageManager either the package name, or the path to a local .hpkg package to Install(). * Implement Warn() to at least print something to the command line. Change the TODO to show the warning to the user instead. * Give the PackageManager either the package name, or the path to a local .hpkg package to Install(). * Implement Warn() to at least print something to the command line. Change the TODO to show the warning to the user instead.
Categories: Development

Package Kit: Always allocate local repository

Sat, 2014-10-25 08:58
Consequently always register it with the solver in Init(). This solves the problem that it made a difference at which time Init() is called. Init() is called at the beginning of Install() and Uninstall(), but HaikuDepot was calling it before that for other reasons. A second call to Init() will exit early. If local package files were added to the PackageManager instance, the local repository was created lazily, but because Init() did not run a second time, the local repository was not registered with the solver. Now it already is, since it is no longer created on demand, but always. Consequently always register it with the solver in Init(). This solves the problem that it made a difference at which time Init() is called. Init() is called at the beginning of Install() and Uninstall(), but HaikuDepot was calling it before that for other reasons. A second call to Init() will exit early. If local package files were added to the PackageManager instance, the local repository was created lazily, but because Init() did not run a second time, the local repository was not registered with the solver. Now it already is, since it is no longer created on demand, but always.
Categories: Development