Latest Bugs & Tasks

Syndicate content Haiku
Trac Timeline
Updated: 1 hour 5 min ago

Ticket #12840 (Exit from screensaver Flurry Test causes exception) created

Sat, 2016-07-02 08:52

When I click the Test button for the screensaver Flurry then exit the test, this screensaver crashes.

  1. Open Screensaver preferences.
  2. Click second tab.
  3. Select Flurry.
  4. Click Test button.
  5. Exit the test either with a keyboard key or mouse click

Result: Box comes up to either Terminate, Debug or save report.
If I do any of these, the screensaver preferences will close as expected, but opening the screensaver preferences again, clicking on second tab and the same box is there for the same crash or exception.
I was testing in hrev50378 x86_64

Categories: Development

Ticket #12839 ([Patch] headers/private/print/PictureIterator.h: fix header guard spelling) created

Fri, 2016-07-01 21:23

Fix header guard spelling as clang point out.

In file included from /home/haiku/haiku/haiku/src/kits/print/PicturePrinter.cpp:32:
In file included from /home/haiku/haiku/haiku/headers/private/print/PicturePrinter.h:33:
/home/haiku/haiku/haiku/headers/private/print/PictureIterator.h:32:9: warning: '_PICTURE_ITERATOR_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _PICTURE_ITERATOR_H
        ^~~~~~~~~~~~~~~~~~~
/home/haiku/haiku/haiku/headers/private/print/PictureIterator.h:33:9: note: '_PICTURE_TIERATOR_H' is defined here; did you mean '_PICTURE_ITERATOR_H'?
#define _PICTURE_TIERATOR_H
        ^~~~~~~~~~~~~~~~~~~
        _PICTURE_ITERATOR_H
Categories: Development

Ticket #5812 ([FileTypes] alt+s doesn't work in "appliation type" window) reopened

Wed, 2016-06-29 19:02

This is a slightly different issue from #12780. That bug is about the change version info not triggering a save, this bug is about the Alt+S shortcut not working while focused on the the description field. I tested this and it seems to be an issue once again.

Categories: Development

Ticket #12838 (Memory leak in WebPositive) created

Wed, 2016-06-29 00:50
  1. I opened WebPositive and went to www.google.ro
  2. I clicked "Consult now" to check their privacy policy
  3. The RAM usage climbed up to the limit and the system became unresponsive.

OS and VM software:
haiku-nightly-hrev50375-x86_gcc2_hybrid-cd
VirtualBox VM 5.0.24 hrev108355 linux.amd64

Categories: Development

Ticket #12837 (mouse deadzone) created

Tue, 2016-06-28 17:40

When using a mix of mouse acceleration and 1080 resolution, it come a point where just vibration on a table can cause the computer to exit a screen saver, pop the media button interface in video played in media player and thing like that. It is also one of the most anoying thing ever to empty the trash as half the time the second button give you the good option and the other half it ask you if you want to create a new link for the trash because i moved a few pixel while pressing the button.
Having some kind of mouse deadzone proportional to the DPI/resolution would really improve the usability. I rate it as critical because it highly increase my daily swearing over sane level :)

Categories: Development

Ticket #12836 (Weather app crashes when trying to change location) created

Tue, 2016-06-28 13:31

Weather -> Alt+L -> Go.

Weather - 0.1.1_git-1 - x86_gcc2 from Haiku Depot
Haiku hrev50375

Categories: Development

Ticket #12835 ([Patch] pcl6: Fix mismatching allocation and deallocation) created

Mon, 2016-06-27 21:59

fSeedRow and fBuffer are allocated by new[] [1][2], but deallocated by delete [3][4].
[1] ​http://cgit.haiku-os.org/haiku/tree/src/add-ons/print/drivers/pcl6/DeltaRowCompression.cpp#n19
[2] ​http://cgit.haiku-os.org/haiku/tree/src/add-ons/print/drivers/pcl6/PCL6Writer.cpp#n20
[3] ​http://cgit.haiku-os.org/haiku/tree/src/add-ons/print/drivers/pcl6/DeltaRowCompression.cpp#n29
[4] ​http://cgit.haiku-os.org/haiku/tree/src/add-ons/print/drivers/pcl6/PCL6Writer.cpp#n29

/home/haiku/haiku/haiku/src/add-ons/print/drivers/pcl6/DeltaRowCompression.cpp:29:2: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]
        delete fSeedRow;
        ^
              []
/home/haiku/haiku/haiku/src/add-ons/print/drivers/pcl6/DeltaRowCompression.cpp:19:11: note: allocated with 'new[]' here
        fSeedRow(new uchar[rowSize]),
                 ^
/home/haiku/haiku/haiku/src/add-ons/print/drivers/pcl6/PCL6Writer.cpp:29:2: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]
        delete fBuffer;
        ^
              []
/home/haiku/haiku/haiku/src/add-ons/print/drivers/pcl6/PCL6Writer.cpp:20:10: note: allocated with 'new[]' here
        fBuffer(new uint8[bufferSize]),
                ^
Categories: Development

Ticket #12834 ([Patch] PairsView.cpp: Fix mismatching allocation and deallocation) created

Mon, 2016-06-27 21:47

fRandomPosition, fPositionX and fPositionY are allocated by new[] [1], but deallocated by delete [2].
[1] ​http://cgit.haiku-os.org/haiku/tree/src/apps/pairs/PairsView.cpp#n53
[2] ​http://cgit.haiku-os.org/haiku/tree/src/apps/pairs/PairsView.cpp#n83

/home/haiku/haiku/haiku/src/apps/pairs/PairsView.cpp:83:2: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]
        delete fRandomPosition;
        ^
              []
/home/haiku/haiku/haiku/src/apps/pairs/PairsView.cpp:53:18: note: allocated with 'new[]' here
        fRandomPosition(new int32[fButtonsCount]),
                        ^
/home/haiku/haiku/haiku/src/apps/pairs/PairsView.cpp:84:2: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]
        delete fPositionX;
        ^
              []
/home/haiku/haiku/haiku/src/apps/pairs/PairsView.cpp:54:13: note: allocated with 'new[]' here
        fPositionX(new int32[fButtonsCount]),
                   ^
/home/haiku/haiku/haiku/src/apps/pairs/PairsView.cpp:85:2: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]
        delete fPositionY;
        ^
              []
/home/haiku/haiku/haiku/src/apps/pairs/PairsView.cpp:55:13: note: allocated with 'new[]' here
        fPositionY(new int32[fButtonsCount])
                   ^
Categories: Development

Ticket #12826 ([Patch] echo/multi.cpp: Fix clang warnings) closed

Mon, 2016-06-27 21:35
fixed:

Applied in hrev50375.

Categories: Development

Ticket #12833 ([Patch] tools/fs_shell/block_cache.cpp: fix gcc warnings) created

Sun, 2016-06-26 11:04

Since 'maxAccessed' and 'count' is int32, use INT32_MAX instead of LONG_MAX.

/home/haiku/haiku/haiku/src/tools/fs_shell/block_cache.cpp:127:50: warning: overflow in implicit constant conversion [-Woverflow]
  void   RemoveUnusedBlocks(int32_t maxAccessed = LONG_MAX,
                                                  ^
/home/haiku/haiku/haiku/src/tools/fs_shell/block_cache.cpp:128:23: warning: overflow in implicit constant conversion [-Woverflow]
       int32_t count = LONG_MAX);
                       ^
Categories: Development

Ticket #12832 ([Patch] JobSetupWindow.cpp: fix clang warning) created

Sun, 2016-06-26 11:00

Since 'lastPage' is int32, use INT32_MAX instead of LONG_MAX.

/home/haiku/haiku/haiku/src/add-ons/print/drivers/preview/JobSetupWindow.cpp:45:45: warning: comparison of constant 9223372036854775807 with expression of type 'int32' (aka 'int') is always false [-Wtautological-constant-out-of-range-compare]
        bool allPages = firstPage == 1 && lastPage == LONG_MAX;
                                          ~~~~~~~~ ^  ~~~~~~~~
Categories: Development

Ticket #12831 ([Patch] cddb_server.cpp: fix clang warnings) created

Sun, 2016-06-26 10:58

Since 'port' is int32, use INT32_MAX and INT32_MIN instead of LONG_MAX and LONG_MIN.

/home/haiku/haiku/haiku/src/bin/cddb_lookup/cddb_server.cpp:315:34: warning: comparison of constant 9223372036854775807 with expression of type 'int32' (aka 'int') is always false [-Wtautological-constant-out-of-range-compare]
                        if ((errno == ERANGE && (port == LONG_MAX || port == LONG_MIN))
                                                 ~~~~ ^  ~~~~~~~~
/home/haiku/haiku/haiku/src/bin/cddb_lookup/cddb_server.cpp:315:54: warning: comparison of constant -9223372036854775808 with expression of type 'int32' (aka 'int') is always false [-Wtautological-constant-out-of-range-compare]
                        if ((errno == ERANGE && (port == LONG_MAX || port == LONG_MIN))
                                                                     ~~~~ ^  ~~~~~~~~
Categories: Development

Ticket #12830 ([Patch] print/drivers/pdf/source/PictureIterator.h: fix header guard ...) created

Sat, 2016-06-25 13:08

Fix header guard spelling as clang point out.

/home/haiku/haiku/haiku/src/add-ons/print/drivers/pdf/source/PictureIterator.h:32:9: warning: '_PICTURE_ITERATOR_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _PICTURE_ITERATOR_H
        ^~~~~~~~~~~~~~~~~~~
/home/haiku/haiku/haiku/src/add-ons/print/drivers/pdf/source/PictureIterator.h:33:9: note: '_PICTURE_TIERATOR_H' is defined here; did you mean '_PICTURE_ITERATOR_H'?
#define _PICTURE_TIERATOR_H
        ^~~~~~~~~~~~~~~~~~~
        _PICTURE_ITERATOR_H
Categories: Development

Ticket #12829 ([Patch] mediaplayer/interface/PeakView.h: fix header guard spelling) created

Sat, 2016-06-25 13:05

Fix header guard spelling as clang point out.

/home/haiku/haiku/haiku/src/apps/mediaplayer/interface/PeakView.h:30:9: warning: 'PEAK_VIEW_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef PEAK_VIEW_H
        ^~~~~~~~~~~
C++ /home/haiku/haiku/haiku/generated-clang/objects/haiku/x86_64/release/apps/mediaplayer/SeekSlider.o
/home/haiku/haiku/haiku/src/apps/mediaplayer/interface/PeakView.h:31:9: note: 'PEAL_VIEW_H' is defined here; did you mean 'PEAK_VIEW_H'?
#define PEAL_VIEW_H
        ^~~~~~~~~~~
        PEAK_VIEW_H
Categories: Development

Ticket #12828 ([Patch] haikudepot/model/PackageActionHandler.h: fix header guard spelling) created

Sat, 2016-06-25 13:03

Fix header guard spelling as clang point out.

/home/haiku/haiku/haiku/src/apps/haikudepot/model/PackageActionHandler.h:6:9: warning: 'PACKAGE_ACTION_HANDLER_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef PACKAGE_ACTION_HANDLER_H
        ^~~~~~~~~~~~~~~~~~~~~~~~
/home/haiku/haiku/haiku/src/apps/haikudepot/model/PackageActionHandler.h:7:9: note: 'PACkAGE_ACTION_HANDLER_H' is defined here; did you mean 'PACKAGE_ACTION_HANDLER_H'?
#define PACkAGE_ACTION_HANDLER_H
        ^~~~~~~~~~~~~~~~~~~~~~~~
        PACKAGE_ACTION_HANDLER_H
Categories: Development

Ticket #12827 (Include Packagebuilding into makefile_engine) created

Wed, 2016-06-22 17:05

It would be a really good idea to include .packageInfo generation and package building into the makefile_engine. Since makefile already contains all libs which the program is linked to the dependencies shouldn't be the biggest problem. For all other information there could be variables defined.
This would be really really helpful and would make life much much more easier.

Categories: Development