Development

Tracker: fix 2 uninitialized scalers

Source Activity - Fri, 2014-07-18 21:58
Tracker: fix 2 uninitialized scalers

CID610119
Categories: Development

Tracker: fix 2 unbounded copies

Source Activity - Fri, 2014-07-18 21:58
Tracker: fix 2 unbounded copies

CID609045
Categories: Development

Tracker: fix unchecked dynamic_casts

Source Activity - Fri, 2014-07-18 21:58
Tracker: fix unchecked dynamic_casts

CID603130, CID603131, CID603132
Categories: Development

Tracker: fix unchecked return values

Source Activity - Fri, 2014-07-18 21:57
Tracker: fix unchecked return values

Check that LockLooper() succeeds

CID611190, CID611194, CID602477
Categories: Development

Tracker: fix unused pointers

Source Activity - Fri, 2014-07-18 21:53
Tracker: fix unused pointers

CID610474, CID610475
Categories: Development

Tracker: fix dereference after NULL checks

Source Activity - Fri, 2014-07-18 21:52
Tracker: fix dereference after NULL checks

CID600503, CID600504, CID600505
Categories: Development

Tracker: style fixes to PoseView.cpp

Source Activity - Fri, 2014-07-18 21:51
Tracker: style fixes to PoseView.cpp

Compare with NULL explictly
Categories: Development

Tracker: whitespace fix, spaces to tab

Source Activity - Fri, 2014-07-18 21:49
Tracker: whitespace fix, spaces to tab
Categories: Development

Ticket #11047 (package command error) created

Latest Bugs & Tasks - Fri, 2014-07-18 21:46

While trying to create a hpkg I get the following error:

~/Desktop/TimeCop_Repackage> package create -b TimeCop_0.61.hpkg
----- Package Info ----------------
header size:                     80
heap size:                      798
TOC size:                        88
package attributes size:        424
total size:                     878
-----------------------------------
~/Desktop/TimeCop_Repackage> package add TimeCop_0.61.hpkg apps boot data
Failed to parse package info data from package file: Bad data
~/Desktop/TimeCop_Repackage>

This started happening immediately after updating to hre47513 using pkgman.

I will attach the .Packageinfo and the empty hpkg, but I've already tried this on a different set of of files of which I know that "data add" worked before, and I got the same error.

Categories: Development

Tracker: Fix BuildMimeTypeList(), styleish and correct

Source Activity - Fri, 2014-07-18 21:18
Tracker: Fix BuildMimeTypeList(), styleish and correct

Thanks Axel for pointing out my error.
Categories: Development

Update libmad packages

Source Activity - Fri, 2014-07-18 20:38
Update libmad packages

Fixes PROVIDES_devel
Categories: Development

Add libmpdclient package

Source Activity - Fri, 2014-07-18 18:21
Add libmpdclient package

Used by Music Player Daemon clients.
Categories: Development

Tracker: Check LockLooper() return value.

Source Activity - Fri, 2014-07-18 18:12
Tracker: Check LockLooper() return value.

Fixes CID602468 and CID602469

Thanks waddlesplash for pointing this out.
Categories: Development

Update mpg123 package

Source Activity - Fri, 2014-07-18 18:02
Update mpg123 package

Fixes PROVIDES_devel and pkg-config files
Categories: Development

Ticket #11046 (Package size should be retrievable via the PackageKit API) created

Latest Bugs & Tasks - Fri, 2014-07-18 15:05

At least for local (installed or not activated) packages; listing size for remote (not installed) packages would be nice too but I don't know if the package repository listing gives that information.

This is required to implement the "Size" column in HaikuDepot.

(Also having a "X disk space will be used" item in pkgman and in package_daemon windows would be nice too.)

Categories: Development

Tracker: Don't crash clicking Open with... menu item

Source Activity - Fri, 2014-07-18 14:58
Tracker: Don't crash clicking Open with... menu item

This bug was introduced in hrev47498

The reason Tracker crashed was because OpenWithContainerWindow
had a NULL TargetModel() which we were trying to dereference.

Fix this by creating an empty model in OpenWithContainerWindow. Add an
ASSERT to check that the TargetModel() is not NULL in the future.

Another way to fix this bug would have been to check that TargetModel() wasn't
NULL each time before we use it. I didn't go with that solution because we
assume TargetModel() is not NULL in a lot of places so it would be a lot of work
to check them all. I think it's better to give OpenWithContainerWindow a dummy
model even though it doesn't make sense for it to have one just so that we don't
crash when we try to dereference the pointer.
Categories: Development

Tracker: Make sure count > 0

Source Activity - Fri, 2014-07-18 14:47
Tracker: Make sure count > 0

... in a more stylish way, no negative counts allowed.
Categories: Development

Tracker: obligatory round of style fixes

Source Activity - Fri, 2014-07-18 14:47
Tracker: obligatory round of style fixes

* Explicit NULL checks
* whitespace
* single line if gets no {}'s
*
Categories: Development
Syndicate content