Development

arm: Add debug function to dump mmu state

Source Activity - Sun, 2015-04-19 23:35
* We don't change the data cache (and other) settings. Interesting to know their state on each platform. * Not used by default as it needs called after serial-init in u-boot * We don't change the data cache (and other) settings. Interesting to know their state on each platform. * Not used by default as it needs called after serial-init in u-boot
Categories: Development

libmedia: Put AddOnManager into BPrivate::media namespace.

Source Activity - Sun, 2015-04-19 20:48
The AddOnManager was in the global namespace, clashing with application classes with the same name. The input_server has an AddOnManager of its own. When the shortcut_catcher filter was loaded by said AddOnManager, it in turn loaded libgame.so, which in turn loaded libmedia.so, where an AddOnManager was created for the global AddOnManager instance in libmedia.so. Unfortunately the wrong AddOnManager, the one from the input_server, was created. This lead to two AddOnManagers being active in the input_server which very well could be responsible for #11049 and #11280. This was a regression since the move of the AddOnManager from the media_server to libmedia.so in hrev47086. This also fits with the two tickets. I actually noticed the problem when debugging the shutdown process of the input_server, where the destruction of the wrong AddOnManager caused a deadlock with itself. The AddOnManager was in the global namespace, clashing with application classes with the same name. The input_server has an AddOnManager of its own. When the shortcut_catcher filter was loaded by said AddOnManager, it in turn loaded libgame.so, which in turn loaded libmedia.so, where an AddOnManager was created for the global AddOnManager instance in libmedia.so. Unfortunately the wrong AddOnManager, the one from the input_server, was created. This lead to two AddOnManagers being active in the input_server which very well could be responsible for #11049 and #11280. This was a regression since the move of the AddOnManager from the media_server to libmedia.so in hrev47086. This also fits with the two tickets. I actually noticed the problem when debugging the shutdown process of the input_server, where the destruction of the wrong AddOnManager caused a deadlock with itself.
Categories: Development

Ticket #11995 (Haiku Depot: mismatched revision numbers) created

Latest Bugs & Tasks - Sun, 2015-04-19 20:36

hrev49057 x86_gcc2
CDRecord: Haiku Depot shows installed revision as 3.01a27-1

Revision is 3.01a25 (see screenshot1)

HaikuWebKit: Haiku Depot shows installed revision as 1.4.10-1

Webpositive still showing revision as 1.4.9 (see screenshot2)

Categories: Development

Add more vlc dependncies + Fix Caya and add paragui

Source Activity - Sun, 2015-04-19 16:14
* libdvdread, libdvdnav, faac * Caya built in release mode (much smaller package) * Paragui and dependencies: libsigc++ and physfs. * libdvdread, libdvdnav, faac * Caya built in release mode (much smaller package) * Paragui and dependencies: libsigc++ and physfs.
Categories: Development

Preferences: Consistent buttons position and spacing.

Source Activity - Sun, 2015-04-19 09:50
* Appearance fix spacing. * Keyboard fix spacing. * Mouse fix spacing. * Notifications fix spacing. * Fixes #5230. * Appearance fix spacing. * Keyboard fix spacing. * Mouse fix spacing. * Notifications fix spacing. * Fixes #5230.
Categories: Development

Ticket #11994 ([Patch] Fix GCC 5 suggest parentheses warning.) created

Latest Bugs & Tasks - Sun, 2015-04-19 09:28

GCC 5 (5.1.0-RC-20150412) reports.

/home/haiku/haiku/haiku/src/apps/workspaces/Workspaces.cpp: In member function 'virtual void WorkspacesWindow::FrameResized(float, float)':
/home/haiku/haiku/haiku/src/apps/workspaces/Workspaces.cpp:699:17: error: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Werror=parentheses]
  if (!modifiers() & B_SHIFT_KEY) {
                 ^
Categories: Development

Ticket #11993 ([Patch] Fix GCC 5 unused-variable warning.) created

Latest Bugs & Tasks - Sun, 2015-04-19 09:26

GCC 5 (5.1.0-RC-20150412) reports.

/home/haiku/haiku/haiku/src/preferences/time/ClockView.cpp:29:20: error: 'kIndentSpacing' defined but not used [-Werror=unused-variable]
 static const float kIndentSpacing
                    ^
Categories: Development

Ticket #11992 ([Patch] Fix GCC 5 logical-not-parentheses warnings.) created

Latest Bugs & Tasks - Sun, 2015-04-19 09:24

GCC 5 (5.1.0-RC-20150412) reports.

/home/haiku/haiku/haiku/src/kits/tracker/SettingsViews.cpp: In member function 'virtual void BPrivate::DesktopSettingsView::MessageReceived(BMessage*)':
/home/haiku/haiku/haiku/src/kits/tracker/SettingsViews.cpp:237:41: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
     !fShowDisksIconRadioButton->Value() == 1);
                                         ^
/home/haiku/haiku/haiku/src/kits/tracker/SettingsViews.cpp:270:51: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
     !fMountVolumesOntoDesktopRadioButton->Value() == 1);
                                                   ^
C/home/haiku/haiku/haiku/src/kits/tracker/TaskLoop.cpp: In member function 'virtual bool BPrivate::PeriodicDelayedTask::RunIfNeeded(bigtime_t)':
/home/haiku/haiku/haiku/src/kits/tracker/TaskLoop.cpp:184:19: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
  if (!currentTime < fRunAfter)
                   ^
/home/haiku/haiku/haiku/src/apps/screenshot/Screenshot.cpp: In member function 'status_t Screenshot::_GetActiveWindowFrame()':
/home/haiku/haiku/haiku/src/apps/screenshot/Screenshot.cpp:311:39: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
       && !windowInfo->show_hide_level > 0) {
                                       ^
Categories: Development

Ticket #11991 ([Patch] Fix GCC 5 narrowing conversion warning.) created

Latest Bugs & Tasks - Sun, 2015-04-19 09:21

GCC 5 (5.1.0-RC-20150412) reports.

C++ /home/haiku/haiku/haiku/generated-gcc5/objects/haiku/x86/release/add-ons/kernel/bus_managers/firewire/fwohci_pci.o
/home/haiku/haiku/haiku/src/add-ons/kernel/bus_managers/firewire/fwohci.cpp:90:58: error: narrowing conversion of '-2147483648' from 'int' to 'uint32_t {aka unsigned int}' inside { }
 uint32_t tagbit[4] = { 1 << 28, 1 << 29, 1 << 30, 1 << 31};
                                                          ^
Categories: Development

Ticket #11990 ([Patch] GCC 5 build fix.) created

Latest Bugs & Tasks - Sun, 2015-04-19 09:15

Tested GCC 5 (5.1.0-RC-20150412). I think more work needed.

Categories: Development

Ticket #11989 ([Patch] Fix GCC 4.9 warning.) created

Latest Bugs & Tasks - Sun, 2015-04-19 09:07

GCC 4.9.2 reports:

/home/haiku/haiku/haiku/src/add-ons/kernel/file_systems/netfs/server/ClientConnection.cpp: In member function 'void ClientConnection::CloseNodeMonitoringEventQueue()':
/home/haiku/haiku/haiku/src/add-ons/kernel/file_systems/netfs/server/ClientConnection.cpp:2509:23: error: 'requests' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  const RequestVector* requests;
                       ^
Categories: Development

Fixed goonies package.

Source Activity - Sun, 2015-04-19 08:07
Categories: Development

More dependencies for VLC

Source Activity - Sun, 2015-04-19 07:40
libcddb, libcdio, libdvbpsi, libdvdcss, vcdimager. libcddb, libcdio, libdvbpsi, libdvdcss, vcdimager.
Categories: Development

Ticket #11984 (GLTeapot crashes on launch since 48542) closed

Latest Bugs & Tasks - Sun, 2015-04-19 07:30
duplicate:

As analyzed in #6400 and #11860, this is a problem with the way OpenGL use BLockers. Before hrev48542 there was no debugger call, but the lockers were never unlocked in that situation. We need to review the locking in OpenGL and fix that.

Categories: Development

Ticket #11988 (Tracker show wrong folder size for netfs volumes) created

Latest Bugs & Tasks - Sun, 2015-04-19 07:01

Example of displayed sizes: 0 bytes, -2,147,883,648 bytes, 6772863.37 TB. This also affect information in Tracker status window when copying folders.

Categories: Development

Ticket #11987 (Lags when MediaPlayer play from netfs) created

Latest Bugs & Tasks - Sun, 2015-04-19 06:50

Local network transfer speed is about 1 MB/s (tested by copying files) that is enough to play video. Network consists of Wifi router, tablet connected by WiFi (Atheros Wifi adapter) and PC connected by cable.

Mayble increasing MediaPlayer buffer size solve this issue.

Categories: Development

Ticket #11986 (haiku_loader debug build too big) created

Latest Bugs & Tasks - Sun, 2015-04-19 06:26

hrev49054, gcc2. The problem seems to be an old one, surfacing this week as the @release-anyboot target was added to the buildbot builders.

jam -q -sDEBUG=1 haiku-boot-floppy
...
BuildFloppyBootImage1 /home/luroh/develop/haiku/haiku/generated/haiku-boot-floppy.image
Error: /home/luroh/develop/haiku/haiku/generated/objects/haiku/x86_gcc2/debug_1/system/boot/haiku_loader is too big (401264) to fit
       before the boot archive starting at 327680!
...
Categories: Development