Development mailing list

Syndicate content
Archive of posts for haiku-development at FreeLists
Updated: 4 hours 37 min ago

[haiku-development] Re: Adding RDEFs to non-binary files (Pete Goodeve)

Thu, 2015-03-19 09:45
On Thu, Feb 26, 2015 at 06:39:08PM -0500, Augustin Cavalier wrote: 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 ...
Categories: Development

[haiku-development] Re: Adding RDEFs to non-binary files (Sean)

Thu, 2015-03-19 09: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 ...
Categories: Development

[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