Development

Ticket #12192 ([HaikuDepot] look for package dependencies in current folder) created

Latest Bugs & Tasks - Fri, 2015-07-03 15:44

When installing a package (e.g. from haikuports/packages folder) it would be nice if HaikuDepot/package_daemon looked for its dependencies in the same folder.

Categories: Development

Ticket #12189 (Cannot install to Samsung SSD) closed

Latest Bugs & Tasks - Fri, 2015-07-03 15:38
no change required
Categories: Development

Ticket #12191 ([HaikuDepot] make install button default) created

Latest Bugs & Tasks - Fri, 2015-07-03 15:34

When individual package is opened it would be nice to be able to simply hit Enter to install it.

Categories: Development

jpeg translator: exif_parser: Missing break statement

Source Activity - Fri, 2015-07-03 15:30
CID 1273786 and CID 1273787 CID 1273786 and CID 1273787
Categories: Development

agg: avoid writting beyond the array size

Source Activity - Fri, 2015-07-03 15:16
Potentially trying to add two new items to an array without enough room left. CID 991455 Potentially trying to add two new items to an array without enough room left. CID 991455
Categories: Development

FindPanel: Reorder operations to avoid leak

Source Activity - Fri, 2015-07-03 15:09
CID 1234656 CID 1234656
Categories: Development

Ticket #12163 (MIME sniffing can't reliably detect html vs xhtml) reopened

Latest Bugs & Tasks - Fri, 2015-07-03 13:30

but there is an XML header and a doctype saying xhtml transitional. So, this pretends to be an XML file. Only when you start to parse it and encounter the meta tag, you should switch to html (and probably start parsing from the start again?).

So, you can force the MIME type of the file to "text/html" using the addattr command.

I'm switching the ticket to enhancement and changing the description. I'm not sure what we can do to improve our sniffing system, it's based on simple rules to be reasonably fast, and XHTML and HTML may simply be too similar to hope reasonably telling them apart, especially in cases like your example.

Categories: Development

Ticket #12146 (readelf errors when building packages for x86) closed

Latest Bugs & Tasks - Fri, 2015-07-03 12:39
fixed:

Never seen this problem. Closing for now.

Categories: Development

Ticket #12190 (usb_modeswitch sends us to KDL if device is plugged in at boot) created

Latest Bugs & Tasks - Fri, 2015-07-03 12:38

My Huawei E5377 G4 modem uses the usb_modeswitch driver. If it's plugged in when I boot up, I go straight to KDL.

OK if plugged in after booting.

Categories: Development

Ticket #12189 (Cannot install to Samsung SSD) created

Latest Bugs & Tasks - Fri, 2015-07-03 12:11

Just bought a Samsung 840 120GB SSD for development work. (Not 840 EVO, the original version.)

Created partitions, copied everything across, then tried an install from the old HDD. The install failed to load Deskbar, haiku_loader, kernel_x86, runtime_loader and Tracker onto the new drive.

So, I copied them over manually and did a 'makebootable' but it still fails to boot. The I attempted to install BootManager but it shows up an 'Incompatible format' error.

The drive is being identified as /dev/disk/ata/0/master/

Categories: Development

package_daemon::FSTransaction: Init fIsFinished

Source Activity - Thu, 2015-07-02 23:22
CID 1108429. CID 1108429.
Categories: Development

HaikuDepot: TextChangingEvent: Init fIsCanceled

Source Activity - Thu, 2015-07-02 22:59
CID 1162815 and 1162816. CID 1162815 and 1162816.
Categories: Development

Debugger: More work on signal configuration.

Source Activity - Thu, 2015-07-02 21:54
- Introduce SignalDispositionEditWindow for add/editing disposition exceptions. SignalsConfigView: - Factor out helper class SignalDispositionMenu. Use accordingly in SignalsConfigView and SignalDispositionEditWindow. - Watch table selection changes to update button statuses appropriately. - On add/edit request, show disposition edit window. - Listen for disposition changes from team and react accordingly. UiUtils: - Add helper function to map signal defines to strings. Together with the previous set of commits, this implements #9720. - Introduce SignalDispositionEditWindow for add/editing disposition exceptions. SignalsConfigView: - Factor out helper class SignalDispositionMenu. Use accordingly in SignalsConfigView and SignalDispositionEditWindow. - Watch table selection changes to update button statuses appropriately. - On add/edit request, show disposition edit window. - Listen for disposition changes from team and react accordingly. UiUtils: - Add helper function to map signal defines to strings. Together with the previous set of commits, this implements #9720.
Categories: Development

servers/app/drawing: BitmapHWInterface: Return -1.

Source Activity - Thu, 2015-07-02 21:29
-1 is the same as B_ERROR, but all of the other implementations of this function "return -1", so do that to be consistent. -1 is the same as B_ERROR, but all of the other implementations of this function "return -1", so do that to be consistent.
Categories: Development

Ticket #89 (Charts blocks drawing while '2 Threads' is selected [...]) closed

Latest Bugs & Tasks - Thu, 2015-07-02 20:52
fixed:

I put a workaround in hrev49353. Basically, you could have a situation like this :
bigtime_t before = system_time();
SomeCalculation();
SomeOtherCalculation();
bigtime_t after = system_time();

and you could have some cases where after - before < 1 (either 0 or negative). When used in the division right after, you would have a division by 0 (NaN) that would break the logic further down and poison the animation as the ratio is calculated from the ratio calculated in the previous cycle.. NaN * NaN, etc..

So, I made sure the after-before was at least 1 and it seems to work ok. Since the time calculation was more or less only there to calculate a load ratio, it doesn't have to be extra accurate.

Categories: Development
Syndicate content