Latest Bugs & Tasks

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

Ticket #12761 (Beam - deleting of mails into a beam-trashcan folder first) created

Sat, 2016-05-07 22:02

Hello Beam developer,

can you add a folder into beam as trashcan. And then automatically move all files the user delete into this folder. Then the user delete them out of this folder they are moved into the system trashcan.

The background: If you delete a mail (some times they are many of them if i clean up mail mail archive) and then i stop because i delete too much i does not can found this mail in the system trashcan without many work, because they are all named like this: mail-20160420194916-23. If they are included a trashcan folder from beam i con see the mails like a standard mail folder and they i can better restore it back into my mail folders.

Categories: Development

Ticket #12760 (/var/shared_memory not created at startup) created

Sat, 2016-05-07 16:16

According to source code /var/shared_memory directory is being used for shared memory handles. In the latest nightly build hrev50290 that directory not created and shm_open() fails. In the stable release R1.A4 there is no such a problem. After creating /var/shared_memory manually shm_open() works fine.

Categories: Development

Ticket #12755 (rewinddir() doesn't work properly with readdir_r) closed

Sat, 2016-05-07 14:44
fixed:

Should be fixed in hrev50292.

Categories: Development

Ticket #12759 ([Patch] poorman/libhttpd/libhttpd.c: fix gcc6 build) created

Sat, 2016-05-07 10:46

Reindent source code, to fix gcc6 '-Werror=misleading-indentation' warnings.

Cc /home/haiku/haiku/haiku/generated-gcc6/objects/haiku/x86/release/apps/poorman/libhttpd.o
/home/haiku/haiku/haiku/src/apps/poorman/libhttpd/libhttpd.c: In function 'expand_symlinks':
/home/haiku/haiku/haiku/src/apps/poorman/libhttpd/libhttpd.c:1660:5: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
     if ( checked[0] == '\0' )
     ^~
/home/haiku/haiku/haiku/src/apps/poorman/libhttpd/libhttpd.c:1662:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  *freethis = rest;
  ^
cc1: all warnings being treated as errors
Categories: Development

Ticket #12758 ([Patch] VideoConsumer.cpp: fix gcc6 build) created

Sat, 2016-05-07 10:39

Add curly braces to fix gcc6 '-Werror=misleading-indentation' warnings.

C++ /home/haiku/haiku/haiku/generated-gcc6/objects/haiku/x86/release/apps/codycam/VideoConsumer.o
/home/haiku/haiku/haiku/src/apps/codycam/VideoConsumer.cpp: In member function 'status_t VideoConsumer::LocalSave(char*, BBitmap*)':
/home/haiku/haiku/haiku/src/apps/codycam/VideoConsumer.cpp:678:9: error: this 'else' clause does not guard... [-Werror=misleading-indentation]
         else
         ^~~~
/home/haiku/haiku/haiku/src/apps/codycam/VideoConsumer.cpp:681:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
   input.DetachBitmap(&bitmap);
   ^~~~~
cc1plus: all warnings being treated as errors
Categories: Development

Ticket #12757 ([Patch] debugger: fix gcc6 build) created

Sat, 2016-05-07 10:32

Reindent source code, to fix gcc6 '-Werror=misleading-indentation' warnings.

/home/haiku/haiku/haiku/src/apps/debugger/debugger_interface/interfaces/LocalDebuggerInterface.cpp: In member function 'virtual status_t LocalDebuggerInterface::GetNextDebugEvent(DebugEvent*&)':
/home/haiku/haiku/haiku/src/apps/debugger/debugger_interface/interfaces/LocalDebuggerInterface.cpp:378:5: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
     if (message.origin.thread >= 0 && message.origin.nub_port >= 0)
     ^~
/home/haiku/haiku/haiku/src/apps/debugger/debugger_interface/interfaces/LocalDebuggerInterface.cpp:381:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
      if (error != B_OK)
      ^~
cc1plus: all warnings being treated as errors
C++ /home/haiku/haiku/haiku/generated-gcc6/objects/haiku/x86/release/apps/debugger/SettingsMenu.o
/home/haiku/haiku/haiku/src/apps/debugger/user_interface/gui/util/SettingsMenu.cpp: In member function 'virtual void SettingsMenuImpl::OptionsMenuItem::PrepareToShow(BLooper*, BHandler*, Settings*)':
/home/haiku/haiku/haiku/src/apps/debugger/user_interface/gui/util/SettingsMenu.cpp:182:4: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
    if (optionItem != NULL)
    ^~
/home/haiku/haiku/haiku/src/apps/debugger/user_interface/gui/util/SettingsMenu.cpp:186:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     optionItem->SetMarked(optionItem->Option() == selectedOption);
     ^~~~~~~~~~
cc1plus: all warnings being treated as errors
Categories: Development

Ticket #12756 ([Patch] kits/print/PicturePrinter.cpp: fix gcc6 build) created

Sat, 2016-05-07 10:25

Add curly braces to fix '-Werror=misleading-indentation' warnings.

C++ /home/haiku/haiku/haiku/generated-gcc6/objects/haiku/x86/release/kits/print/PicturePrinter.o
/home/haiku/haiku/haiku/src/kits/print/PicturePrinter.cpp: In member function 'virtual void PicturePrinter::SetClippingRects(BRect*, uint32)':
/home/haiku/haiku/haiku/src/kits/print/PicturePrinter.cpp:205:2: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
  if (numRects == 0) Print("none"); Cr();
  ^~
/home/haiku/haiku/haiku/src/kits/print/PicturePrinter.cpp:205:36: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if (numRects == 0) Print("none"); Cr();
                                    ^~
cc1plus: all warnings being treated as errors
Categories: Development

Ticket #12755 (rewinddir() doesn't work properly with readdir_r) created

Fri, 2016-05-06 23:08

I have noticed a wrong behavior of rewinddir():

  • open a directory with opendir() and read to the end using readdir_r();
  • call rewinddir();
  • try to read the next entry with readdir_r().

I was expecting to get the first directory entry, instead of that I'm getting NULL which means the end of a directory stream.

Categories: Development

Ticket #12754 (MediaPlayer record playcount in attribute) created

Fri, 2016-05-06 17:34

It would be really good if a playcount attribute could exist for media files and then for media (audio or video) played in MediaPlayer could then increment the playcount.

The playcount probably wants to check you've watched/listened to 50% or 75% (some reasnable value) prior to incrementing it but it also wants to make sure you're just not seeking ahead and that you've actually watched/listened.

Categories: Development

Ticket #12753 ([Patch] DiscoveryAgent.cpp: fix gcc6 build) created

Fri, 2016-05-06 11:02

Reindent source code, to fix gcc6 '-Werror=misleading-indentation' warnings.

C++ /home/haiku/haiku/haiku/generated-gcc6/objects/haiku/x86/release/kits/bluetooth/DiscoveryAgent.o
/home/haiku/haiku/haiku/src/kits/bluetooth/DiscoveryAgent.cpp: In member function 'status_t Bluetooth::DiscoveryAgent::StartInquiry(uint32, Bluetooth::DiscoveryListener*, bigtime_t)':
/home/haiku/haiku/haiku/src/kits/bluetooth/DiscoveryAgent.cpp:50:5: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
     if (fMessenger == NULL)
     ^~
/home/haiku/haiku/haiku/src/kits/bluetooth/DiscoveryAgent.cpp:53:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if (secs < 1 || secs > 61 )
  ^~
cc1plus: all warnings being treated as errors
Categories: Development

Ticket #12752 ([Patch] drawing/interface/html5: fix gcc6 build) created

Fri, 2016-05-06 10:50

Modify TRACE and TRACE_ERROR macro to fix parameter 'x' is accidentally treated as string literal operator.

Categories: Development

Ticket #12751 ([Patch] RemoteHWInterface.cpp: fix gcc6 build) created

Fri, 2016-05-06 10:46

Modify TRACE_ERROR macro to fix parameter 'x' is accidentally treated as string literal operator.

Categories: Development

Ticket #12750 (Simple user login with one profile) created

Fri, 2016-05-06 03:59

It would be better and useful if the user's would have only one account for all Haiku "component" instead of registering a separate account for each Haiku page (like haiku-os.org, Trac, Pootle, User Guide, HaikuDepot).

I have registered (or try to register) for every Haiku site and Haiku depot, but if I want/need to change a password or e-mail I need to do this on everywhere.

If we have only one account for Haiku, than the user is registering at haiku-os.org and got access for all the other site. And the user management would simple too.

Categories: Development

Ticket #12209 (USB 2.0 (EHCI) Mass Storage doesn't work in VirtualBox) closed

Thu, 2016-05-05 22:47
fixed:

Indeed it now works properly. Thanks!

Categories: Development

Ticket #12749 (Crash while bootin' from usb) created

Thu, 2016-05-05 12:26

on nokia booklet 3g with hrev48309

hardware as in
https://dev.haiku-os.org/ticket/11947#no4

Categories: Development

Ticket #12748 ([Patch] Angle.cpp: fix gcc6 build) created

Thu, 2016-05-05 11:08

Gcc6 warns '-Werror=misleading-indentation', so I reindent source code.

C++ /home/haiku/haiku/haiku/generated-gcc6/objects/haiku/x86/release/servers/app/Angle.o
/home/haiku/haiku/haiku/src/servers/app/Angle.cpp: In member function 'Angle Angle::Constrain180()':
/home/haiku/haiku/haiku/src/servers/app/Angle.cpp:228:5: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
     if (value < 0)
     ^~
/home/haiku/haiku/haiku/src/servers/app/Angle.cpp:230:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  return Angle(value);
  ^~~~~~
/home/haiku/haiku/haiku/src/servers/app/Angle.cpp: In member function 'Angle Angle::Constrain90()':
/home/haiku/haiku/haiku/src/servers/app/Angle.cpp:245:5: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
     if (value < 0)
     ^~
/home/haiku/haiku/haiku/src/servers/app/Angle.cpp:247:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  return Angle(value);
  ^~~~~~
cc1plus: all warnings being treated as errors
Categories: Development

Ticket #12747 ([Patch] InfoWindow.cpp: fix gcc6 build) created

Thu, 2016-05-05 11:01

Gcc6 warns '-Werror=misleading-indentation' in BInfoWindow::MessageReceived() and AttributeView::MouseDown(), so add curly braces to fix it. and I think we don't need ";" after if() at line 453 and line 1258.

C++ /home/haiku/haiku/haiku/generated-gcc6/objects/haiku/x86/release/kits/tracker/InfoWindow.o
/home/haiku/haiku/haiku/src/kits/tracker/InfoWindow.cpp: In member function 'virtual void BPrivate::BInfoWindow::MessageReceived(BMessage*)':
/home/haiku/haiku/haiku/src/kits/tracker/InfoWindow.cpp:444:4: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
    if (!fModel->HasLocalizedName()
    ^~
/home/haiku/haiku/haiku/src/kits/tracker/InfoWindow.cpp:454:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     fAttributeView->BeginEditingTitle();
     ^~~~~~~~~~~~~~
/home/haiku/haiku/haiku/src/kits/tracker/InfoWindow.cpp: In member function 'virtual void BPrivate::AttributeView::MouseDown(BPoint)':
/home/haiku/haiku/haiku/src/kits/tracker/InfoWindow.cpp:1248:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
   if (!fModel->HasLocalizedName()
   ^~
/home/haiku/haiku/haiku/src/kits/tracker/InfoWindow.cpp:1259:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    BeginEditingTitle();
    ^~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
Categories: Development

Ticket #12746 ([Patch] netresolv: fix gcc6 build) created

Wed, 2016-05-04 11:39

Gcc6 warns some '-Werror=unused-const-variable=', but I don't know if these variables can be really removed. so marked as unused by attribute.

Categories: Development

Ticket #12743 ([Patch] MailProtocol.cpp: fix gcc6 build) closed

Tue, 2016-05-03 20:13
fixed:

Applied in hrev50281.

Categories: Development

Ticket #12745 ([Patch] SMTP.cpp: fix gcc6 build) created

Tue, 2016-05-03 11:14

Gcc6 warns '-Werror=misleading-indentation', so add curly braces to fix it.

/home/haiku/haiku/haiku/src/add-ons/mail_daemon/outbound_protocols/smtp/SMTP.cpp: In member function 'status_t SMTPProtocol::Send(const char*, const char*, BPositionIO*)':
/home/haiku/haiku/haiku/src/add-ons/mail_daemon/outbound_protocols/smtp/SMTP.cpp:913:37: error: this 'else' clause does not guard... [-Werror=misleading-indentation]
                                     else
                                     ^~~~
/home/haiku/haiku/haiku/src/add-ons/mail_daemon/outbound_protocols/smtp/SMTP.cpp:916:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
      ReportProgress (bufferLen,0);
      ^~~~~~~~~~~~~~
/home/haiku/haiku/haiku/src/add-ons/mail_daemon/outbound_protocols/smtp/SMTP.cpp:931:31: error: this 'else' clause does not guard... [-Werror=misleading-indentation]
                             } else
                               ^~~~
/home/haiku/haiku/haiku/src/add-ons/mail_daemon/outbound_protocols/smtp/SMTP.cpp:935:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
     ReportProgress (bufferLen - 3,0);
     ^~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
Categories: Development