Development

Ticket #12632 (My /home/.profile file (with Terminal's customizations) is ignored.) created

Latest Bugs & Tasks - Tue, 2016-02-02 22:28

Hi,
I recently updated Haiku to hrev50067 (previously I had an old nightly image from one year ago; I don't remember the exact hrev, however)

I always had a .profile file under /home, which contains some Terminal customizations (prompt and colors). Well, after the recent update, the /home/.profile file is being ignored: when I open a Terminal window, in fact, my customizations aren't displayed. I can affirm that the content of such .profile is valid, since if I insert the content in the other profile file (the other, the one which is located as /boot/system/settings/etc/profile) I can see my customization.

The following is the content of my .profile file:

Yellow='\e[0;33m\]'        # Yellow
Red='\e[0;31m\]'          # Red
Gray='\e[0;37m\]'         #Gray
export PS1="\[$(tput setaf 7)\][\A]\[$(tput setaf 1)\] « \[$(tput setaf 3)\]baron\[$(tput setaf 7)\]@\[$(tput setaf 3)\]haiku\[$(tput setaf 1)\] » \[$(tput sgr0)\]"
Categories: Development

BMediaEventLooper: Use enqueue_time in a different shape

Source Activity - Tue, 2016-02-02 21:57
* This is the only solution that allowed to use the best of both ways to do this calculus. I've also tested it with a modified sound player that snoozed every time the buffer should be handled, and found that neither of the lateness calculus I tested (including enqueue_time) really solve all problems. That's why I've tried to find an average solution. There's still room for improvements eventually. * This is the only solution that allowed to use the best of both ways to do this calculus. I've also tested it with a modified sound player that snoozed every time the buffer should be handled, and found that neither of the lateness calculus I tested (including enqueue_time) really solve all problems. That's why I've tried to find an average solution. There's still room for improvements eventually.
Categories: Development

Ticket #12631 (UDP serial debug interface) created

Latest Bugs & Tasks - Tue, 2016-02-02 21:36

This ticket logs some ideas PulkoMandy and landonf had in irc about solutions to the "no serial on a lot of new devices" issue.

Debugging Haiku on new hardware can be troublesome, especially if no serial interface is available (common on most modern hardware)

Other operating systems like OS X and windows offer serial debugging via UDP packets. Debugging over UDP would greatly assist users in troubleshooting KDL's, boot issues, or Debugger on system kits.

15:22 < landonf> Ethernet debugging for FreeBSD is actually on my TODO list, so if that coincides with FreeBSD compat driver support on the Haiku side ...                                                          |
15:22 <@kallisti5> landonf: any specs out there for serial over ethernet?                                                                                                                                           |
15:22 <@kallisti5> something next to tcp                                                                                                                                                                            |
15:23 <@PulkoMandy> just use UDP frames, broadcast on some random port                                                                                                                                              |
15:23 < landonf> Most implementations just send ethernet frames                                                                                                                                                     |
15:23 <@PulkoMandy> or I've seen it done with ARP or ICMP headers or whatever                                                                                                                                       |
15:23 <@PulkoMandy> just raw ethernet works as well with appropriate software on the other side of the link anyway                                                                                                  |
15:23 <@kallisti5> http://stackoverflow.com/questions/25317140/serial-data-over-udp-sockets-in-python                                                                                                               |
15:23 < bslsk05> ​stackoverflow.com: Serial data over UDP Sockets in Python - Stack Overflow                                                                                                                         |
15:24 <@PulkoMandy> so… python in the kernel? :D                                                                                                                                                                    |
15:24 <@kallisti5> http://www.andrewhazelden.com/blog/2012/03/setting-up-a-udp-based-network-serial-port-on-a-linksys-wrt54g-router/#Step_2_Copy_the_files_to_your_Linksys_router                                   |
15:24 < bslsk05> ​www.andrewhazelden.com: Setting up a UDP based network serial port on a Linksys WRT54GS router. | Andrew Hazelden's Blog                                                                           |
15:27 < landonf> http://xref.plausible.coop/source/xref/macosx-10.10.1/xnu-2782.1.97/osfmk/kdp/                                                                                                                     |
15:27 < landonf> This is the kernel-side implementation of the protocol OS X uses                                                                                                                                   |
15:28 <@kallisti5> I think just getting kdl into that would be a huge jump                                                                                                                                          |
15:28 <@kallisti5> you can extract syslogs from there                                                                                                                                                               |
15:28 <@PulkoMandy> well, if you get the basic frame send/receive working you could even plug our gdb stub to it                                                                                                    |
15:30 <@kallisti5> what about ethernet drivers after kdl?                                                                                                                                                           |
15:30 <@kallisti5> don't they lock up?                                                                                                                                                                              |
15:30 < landonf> kdp_udp.c provides the UDP implementation of the Kernel Debugging Protocol (KDP). The network driver is polled for packets, on top of which is implemented a *very* minimal ARP/IP/UDP stack.      |
15:31 < landonf> This is what the driver interface looks like: http://xref.plausible.coop/source/xref/macosx-10.10.1/IONetworkingFamily-101/IONetworkController.h#1337                                              |
15:31 < landonf> kallisti5: You have to provide direct/pollled access to read/write of ethernet frames                                                                                                              |
15:32 < landonf> So ethernet drivers have to be extended.                                                                                                                                                           |
15:32 < landonf> And it's not a great solution for debugging the ethernet driver you're using for the debugging interface :)
Categories: Development

[haiku] Re: The state of Haiku (Ingo Weinhold)

Haiku Mailing List - Tue, 2016-02-02 18:45
On10.01.201608:04,AdrienDestugueswrote: OnSun,Jan10,2016at12:19:30AM+0100,MarkHellegerswrote: Hmm,wantedtohavealookatafewWebpositiveissuesfirst. Patchesalsowelcomeinthatarea,ofcourse;) ...
Categories: Development

Ticket #12630 (Late notices are sent continuously even when no audio playing) created

Latest Bugs & Tasks - Tue, 2016-02-02 05:57
  1. Enable tracing in MediaPlayer's AudioProducer.
  2. Run MediaPlayer and start then stop playing something.
  3. "LateNoticeRecieved" prints forever
Categories: Development

Ticket #12629 (MediaPlayer audio output refuses to restart after disconnect) created

Latest Bugs & Tasks - Tue, 2016-02-02 05:53

After disconnecting MediaPlayer's output in Cortex and reconnecting it to the input of an Equalizer, MediaPlayer refuses to play anything again.

Categories: Development

Ticket #12628 ([regression] BBox title text has white edges) created

Latest Bugs & Tasks - Tue, 2016-02-02 03:22

Essentially the same problem as the Deskbar Clock bug.

Categories: Development

BMediaEventLooper: Better solution for negative timestamp

Source Activity - Tue, 2016-02-02 00:10
* This problem happens only at the startup, so that it's preferred that we deal with it in the BMediaEventLooper side. * This solve some audio stability problems I had with slow systems. * This problem happens only at the startup, so that it's preferred that we deal with it in the BMediaEventLooper side. * This solve some audio stability problems I had with slow systems.
Categories: Development

Ticket #12627 (Webpositive crash after while playing html5 videos) created

Latest Bugs & Tasks - Mon, 2016-02-01 22:21

After playing a youtube videos for a while Webpositive crashes. In the debug it has:HTML5 Audio control state: Call (resampling failed). I was testing in hrev50069 x86_64.

Categories: Development

Ticket #12626 (Webpositive crash after while playing html5 videos) created

Latest Bugs & Tasks - Mon, 2016-02-01 22:18

After playing a youtube videos for a while Webpositive crashes. In the debug it has:HTML5 Audio control state: Call (resampling failed). I was testing in hrev50069 x86_64.

Categories: Development

The yab package with a correct revision...

Source Activity - Mon, 2016-02-01 18:23
bbjimmy informed me the correct revision is "1" as otherwise it would collide with the same package hosted on FatElk... Thanks! bbjimmy informed me the correct revision is "1" as otherwise it would collide with the same package hosted on FatElk... Thanks!
Categories: Development

yab and yab_ide needed a rebuild.

Source Activity - Mon, 2016-02-01 17:04
Categories: Development

[haiku] Re: Some launch_daemon questions (Adrien Destugues)

Haiku Mailing List - Mon, 2016-02-01 12:45
On Sat, Jan 16, 2016 at 03:14:41PM +0100, Mark Hellegers wrote: in general this seems to work, though it is not mentioned in the wiki. I tried the folder in the wiki (~/config/data/launch), but this folder does not exist and I am not allowed to create it. Is this supposed to work like this? Yes, config/data is populated if you include your files in a package, and non-packaged/data is the user-writable equivalent. Both are scanned by the laucn daemon. ...
Categories: Development
Syndicate content