Development mailing list

Syndicate content
Archive of posts for haiku-development at FreeLists
Updated: 26 min 55 sec ago

[haiku-development] Adding RDEFs to non-binary files (Augustin Cavalier)

Thu, 2015-03-19 05:45
Hi, I'm trying to create a javah command that behaves like the javaw command on Windows, so that when a user double-clicks a .jar file it launches. I've created a shell script that does the job pretty well, and a RDEF to go with it. However, how do I add the attributes from the RDEF to the shell script? Xres corrups the file (obviously). I can copy a preexisting binary file (e.g. cp), xres the compiled RDEF onto it, and then copyattr to the shell ...
Categories: Development

[haiku-development] Re: outsourcing unzip: use of update_mime_info (Axel Dörfler)

Wed, 2015-03-18 20:45
Am 26/02/2015 um 19:25 schrieb Jérôme Duval: I noticed that the BeOS code calls update_mime_info() on every written file, I'm not sure what to do with it. It seems a bit weird for such a tool to call a system service like that, whereas similar tools (tar, bzip2) don't. ATM it's left out. Opinions? ...
Categories: Development

[haiku-development] Re: outsourcing unzip: use of update_mime_info (Jérôme Duval)

Wed, 2015-03-18 20:45
2015-02-26 21:12 GMT+01:00 Jim Saxton black.belt.jimmy@xxxxxxxxx: Are you going to fix at the same time? Nope, this ticket is about the zip command AFAICT. Bye, Jérôme ...
Categories: Development

[haiku-development] Re: outsourcing unzip: use of update_mime_info (Jim Saxton)

Wed, 2015-03-18 18:45
Where is this outsourced zip? -- bbjimmy ...
Categories: Development

[haiku-development] Re: outsourcing unzip: use of update_mime_info (Augustin Cavalier)

Wed, 2015-03-18 18:45
On 2/26/2015 3:12 PM, Jim Saxton wrote: Are you going to fix at the same time? Is it still an issue? Did you test with the outsourced zip? -Augustin ...
Categories: Development

[haiku-development] Re: outsourcing unzip: use of update_mime_info (Jim Saxton)

Wed, 2015-03-18 08:45
Are you going to fix at the same time? -- bbjimmy ...
Categories: Development

[haiku-development] outsourcing unzip: use of update_mime_info (Jérôme Duval)

Tue, 2015-03-17 18:45
Hi! I'm in the process of outsourcing the unzip command. It seems that the beos code is an old copy of the Unix code with attributes support, and hasn't received official updates since 2004 or so. To ease future patching and maintenance, I chose to merge the attributes support in the current Unix code, where some attributes support today exists. I noticed that the BeOS code calls update_mime_info() on every written ...
Categories: Development

[haiku-development] Re: killing atomic syscalls? (François Revol)

Mon, 2015-03-16 12:45
On 26/02/2015 11:27, Ithamar Adema wrote: Hi, On Thu, Feb 26, 2015 at 10:30 AM, François Revol revol@xxxxxxx wrote: On ARM currently some variants still need syscalls for the 64bit atomics. I'm not sure which though, likely the asm implementations are inside some #ifdef ? ...
Categories: Development

[haiku-development] Re: killing atomic syscalls? (Ithamar Adema)

Mon, 2015-03-16 12:45
Hi, On Thu, Feb 26, 2015 at 10:30 AM, François Revol revol@xxxxxxx wrote: On ARM currently some variants still need syscalls for the 64bit atomics. I'm not sure which though, likely the asm implementations are inside some #ifdef ? ARM11 need both 32 and 64 bit versions to be sys calls, ARM11 needs the ...
Categories: Development

[haiku-development] Re: killing atomic syscalls? (François Revol)

Mon, 2015-03-16 12:45
On 26/02/2015 08:27, Axel Dörfler wrote: Am 26/02/2015 um 05:00 schrieb kallisti5: It looks like after Paweł's C++11 work, we don't need the atomic syscalls anymore? There are architectures that need syscalls to implement the atomic functions properly. Those are the only ones that should use them. On ARM currently some variants still need syscalls for the 64bit atomics. I'm not sure which though, likely ...
Categories: Development

[haiku-development] Re: killing atomic syscalls? (Axel Dörfler)

Mon, 2015-03-16 12:45
Am 26/02/2015 um 05:00 schrieb kallisti5: It looks like after Paweł's C++11 work, we don't need the atomic syscalls anymore? There are architectures that need syscalls to implement the atomic functions properly. Those are the only ones that should use them. ...
Categories: Development

[haiku-development] Re: Haiku Userland on Non-Haiku Kernel (Stephan)

Mon, 2015-03-16 12:45
Hi! For those who are still interested: I have been very very busy during the last days so there is not much progress. Appserver and registrar are running on NetBSD console and (sometimes) X. The appserver is not quite stable. When I launch an application, registrar notices that but crashes immediately afterwards. I need a full debug build of NetBSD (especially libc) to get that properly debugged. ...
Categories: Development

[haiku-development] Re: killing atomic syscalls? (Michael Crawford)

Mon, 2015-03-16 12:45
I'm not familiar with the code in question, but in general if something can be done in userspace rather than in a system call, it would be a huge win. System calls are in general implemented by executing an instruction which is illegal in userspace. An exception is taken, _all_ of the registers are saved on the stack, a dispatch table is used to determine what kernel function to call to carry out that system call's work. Upon return, all those registers are restored from the exception stack. ...
Categories: Development

[haiku-development] killing atomic syscalls? (kallisti5)

Mon, 2015-03-16 12:45
It looks like after Paweł's C++11 work, we don't need the atomic syscalls anymore? The main reason for asking is I attempted an arm (Raspberry Pi + u-boot) bootstrap and ran into: . ...
Categories: Development

[haiku-development] Re: Questions about code reviews and static analysis tools for TU Delft research (Radjino Bholanath)

Sat, 2015-03-14 14:45
Thanks for answering Augustin, I appreciate it. - Radjino ________________________________________ From: haiku-development-bounce@xxxxxxxxxxxxx [haiku-development-bounce@xxxxxxxxxxxxx] on behalf of Augustin Cavalier [waddlesplash@xxxxxxxxx] Sent: Tuesday, February 24, 2015 3:52 PM To: haiku-development@xxxxxxxxxxxxx Subject: [haiku-development] Re: Questions about code reviews and static ...
Categories: Development

[haiku-development] Re: Questions about code reviews and static analysis tools for TU Delft research (Augustin Cavalier)

Wed, 2015-03-11 07:45
On 2/24/2015 5:53 AM, Radjino Bholanath wrote: 1. Do all developers (contributors and core developers) have to submit a code review for every change? I’m asking because many projects only review changes made by contributors. No, we don't. It has been discussed in the past but the consensus was that the developers have too little time to make reviews mandatory before pushes. ...
Categories: Development

[haiku-development] Questions about code reviews and static analysis tools for TU Delft research (Radjino Bholanath)

Mon, 2015-03-09 21:45
Hi everyone, I'm doing research on code reviews and static analysis tools at the SERG group () of the Delft University of Technology. Currently, we want to give an overview of the usage of code review and static analysis tools in open source projects. Therefore, I would be very happy to know a little bit more about how code reviews are used in Haiku and if (and maybe how) static analysis tools are used. I have a couple of questions for anyone willing to answer: ...
Categories: Development

[haiku-development] Re: Review needed for Sector Size not being reported correctly bug (Ingo Weinhold)

Mon, 2015-03-09 15:45
On 02/22/2015 08:51 PM, Kushal Singh wrote: On Sun Feb 22 2015 at 8:55:14 PM Ingo Weinhold ingo_weinhold@xxxxxx wrote: Long story short, the file systems setting partition_data::block_size to their content block size is correct, or IOW your patch 0001 is incorrect I have only glanced over the comments in the ticket. From that and the ...
Categories: Development