Development mailing list

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

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

1 min 7 sec ago
The BeOS way of using shell scripts this way is to wrap them with xicon: A cleaner integration of this would be nice. 2015-02-27 9:38 GMT+01:00 Ingo Weinhold ingo_weinhold@xxxxxx: On 27.02.2015 00:39, Augustin Cavalier wrote: 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 ...
Categories: Development

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

1 min 7 sec ago
On 27.02.2015 00:39, Augustin Cavalier wrote: 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. javah is already taken (by the JNI header/stub generator). And the ...
Categories: Development

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

1 min 7 sec ago
On Thu, Feb 26, 2015 at 10:20:45PM -0500, Augustin Cavalier wrote: On 2/26/2015 10:14 PM, Pete Goodeve wrote: If you xres onto an executable, you just get resources tagged on to it, don't you? Not actual attributes? So you still don't have any available attributes from the RDEF. (Or is there some feature I don't know about?) Correct yet incorrect. XRES adds onto the ELF file, but then when you run mimeset -f file to get the vector icon, it copies all the XRES information into attributes (try running listattr -l before and after ...
Categories: Development

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

1 min 7 sec ago
On 2/26/2015 10:14 PM, Pete Goodeve wrote: If you xres onto an executable, you just get resources tagged on to it, don't you? Not actual attributes? So you still don't have any available attributes from the RDEF. (Or is there some feature I don't know about?) Correct yet incorrect. XRES adds onto the ELF file, but then when you ...
Categories: Development

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

1 min 7 sec ago
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)

1 min 7 sec ago
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)

1 min 7 sec ago
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)

1 min 7 sec ago
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)

1 min 7 sec ago
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)

1 min 7 sec ago
Where is this outsourced zip? -- bbjimmy ...
Categories: Development

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

1 min 7 sec ago
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)

1 min 7 sec ago
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)

1 min 7 sec ago
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)

1 min 7 sec ago
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)

1 min 7 sec ago
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)

1 min 7 sec ago
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)

1 min 7 sec ago
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