AltME groups: search
Help · search scripts · search articles · search mailing listresults summary
world | hits |
r4wp | 5907 |
r3wp | 58701 |
total: | 64608 |
results window for this page: [start: 59101 end: 59200]
world-name: r3wp
Group: !REBOL3 Host Kit ... [web-public] | ||
ssolie: 26-Oct-2010 | I'm trying to compile a host-kit for amiga.. getting an error from RL_Init() stating Host-lib wrong size | |
Maxim: 26-Oct-2010 | its possible that the amiga core.library has a different number than what is in the include. | |
Andreas: 26-Oct-2010 | ssolie, try a size of 33. | |
Andreas: 26-Oct-2010 | Carl changed a few things in Win32, but never got around to propagating that to other plafs. | |
ssolie: 26-Oct-2010 | the HOST_LIB_SIZE is generated via a script according to the header comments | |
ssolie: 26-Oct-2010 | yes.. is there a linux one? | |
Andreas: 26-Oct-2010 | A107 had a Linux version yes. | |
ssolie: 26-Oct-2010 | that is true.. I couldn't find a 109 version | |
Maxim: 26-Oct-2010 | did you get a host kit for the amiga from carl? | |
ssolie: 26-Oct-2010 | I take it a couple of vectors need to be removed then.. which ones? | |
Andreas: 26-Oct-2010 | Wait, I have a patch for that somewhere. | |
ssolie: 26-Oct-2010 | I only managed to squeeze a few minutes out of Carl at the show | |
Andreas: 26-Oct-2010 | Let's just do a quick sanity check before wasting more time on this. Change the #define HOST_LIB_SIZE in host-lib.h from 31 to 33 and see if you still get the "wrong size" error. | |
Maxim: 26-Oct-2010 | then just see if the functions actually match to those.. in the host-kit ex, does calling RL_Get_Value actually try to get a value from a block or is | |
Andreas: 26-Oct-2010 | nothing. it's a value kept in sync between libr3 and the sources | |
Andreas: 26-Oct-2010 | a simple sanity check | |
Maxim: 26-Oct-2010 | I'm such a make noob hehehe | |
Maxim: 26-Oct-2010 | its just a command-prompt function. | |
ssolie: 26-Oct-2010 | libdl.so is implemented as well as a more native amiga elf.library | |
ssolie: 26-Oct-2010 | libdl.so is a thin wrapper for elf.library | |
Andreas: 26-Oct-2010 | I've one more tip on the way of getting started with AGG: A109 has a stupid typo in it. | |
ssolie: 26-Oct-2010 | whew... I have a TO_AMIGA Carl added | |
ssolie: 26-Oct-2010 | Maxim, a subset is currently available called MiniGL | |
Maxim: 26-Oct-2010 | it allows you to hook up alternate graphics drawing within AGG or directly on the window which view opens. though you still have to map all that nasty OS specific windowing event stuff first. keep in mind that you might be able to do stuff like a datatype viewer right into the view engine :-) | |
Maxim: 26-Oct-2010 | it being the CGR path to host-kit... its still an infant, but I think its promissing already... just worked out a few issues with Andreas and its working fine on windows now. | |
ssolie: 26-Oct-2010 | Andreas, sharing a common host-kit might be #ifdef hell though? | |
Andreas: 26-Oct-2010 | Yes, in a few places. | |
Andreas: 26-Oct-2010 | We just really need to get Carl to the point where the hostkit is kept as a single source base. | |
Andreas: 26-Oct-2010 | I maintain a Git mirror of the hostkit sources at http://github.com/rebolsource/r3-hostkit | |
ssolie: 26-Oct-2010 | is there a standard for EOL? amiga uses LF as most sane OSs :) | |
Maxim: 26-Oct-2010 | and I'll probably put my CGR package on github too in a short while. | |
ssolie: 27-Oct-2010 | Why is there a BOOL and a REBOOL ? | |
Maxim: 27-Oct-2010 | I'd just rename the rebol BOOL to some other Identifier,and do a quick recursive file replace... I looked and its not used that much. | |
Maxim: 27-Oct-2010 | then give a note to carl so that it gets changed in the next host-kit. cause I don't find it a good practice anyways. strangely, I was wondering if BOOL would cause compiler hickups a few weeks ago. | |
ssolie: 27-Oct-2010 | we can supply a stdbool.h and stdint.h for the MSVC users if need be.. until MS catches up | |
ssolie: 27-Oct-2010 | anyway, just a thought | |
ssolie: 28-Oct-2010 | Is there a version of the host-kit that works with AGG without Windows? | |
Maxim: 28-Oct-2010 | in theory you can use to-image! on a gob! but I'm not sure its been fixed in latest hostkits and not sure that really answers your question either ;-) | |
Cyphre: 28-Oct-2010 | ssolie: the only file that needs to be reformatted so it supports other platforms than windows is agg_truetype_text.cpp + .h Otherwise there is already available FreeType wrapper so the rest of code can work even on OS4 But the current hostkit code needs some more work to extract the font/text rendering parts so they can be controlled by defs. If you don't want to waste time on this I can have a look at it over the weekend and make the changes so you should be able compile without the text code for now. Just let me know. | |
Carl: 28-Oct-2010 | scanning: reading back a few pages... | |
Maxim: 28-Oct-2010 | btw, I released a new host-kit which has custom gob rendering enabled (very early prototype) but its got an OpenGL rendering engine running within view. you can see the download link in the announce group, if you want to try it out. | |
Carl: 28-Oct-2010 | Andreas: the code base is a mix of both single source and multi-source tree. I will not allow source files to become unreadable with every other line being #ifdef for a different OS. Those are not maintainable. | |
Maxim: 28-Oct-2010 | this being said I would like to have a private chat with you about some issues I encountered so far. | |
Carl: 28-Oct-2010 | A: The OS/dirs are for code that is really quite different. Merging into a single source does not help keep it in sync, because most coders only modify the platform of their choice. They can just as easily diff. | |
Carl: 28-Oct-2010 | (Let's just say I've been doing source control for a long long time. ;) | |
Andreas: 28-Oct-2010 | Just to get rid of this artificial distinction alltogether, and keep the hostkit a single distribution, from which all platform targets can be built. | |
Andreas: 28-Oct-2010 | Just checked: there is in fact not a single significant line of difference between the Linux and Win32 hostkits, except for the hostlib vector. So why not concentrate on a single distribution from which both targets can be built. | |
Andreas: 28-Oct-2010 | But what's really more important: any chance to see a libr3.so for Linux soon? | |
Andreas: 28-Oct-2010 | libr3 on Linux and Amiga expects a hostlib vector of size 33, r3.dll on Win32 one of size 31. | |
Carl: 28-Oct-2010 | Well, there is a problem, because the libr3.so must be in sync. | |
Carl: 28-Oct-2010 | There will be a host-kit release archive, then there will be the separate dll/so objects in a table. | |
Carl: 28-Oct-2010 | The issue is that the builds are automated to a whole other level... beyond what you are seeing in the host-kit source. | |
Carl: 28-Oct-2010 | Correct. You're seeing a snapshot. | |
Carl: 28-Oct-2010 | The fact that the host-lib is out of sync is an interesting puzzle. In theory, that is impossible to have happen if a /Core is released along with a /Host-Kit. | |
Andreas: 28-Oct-2010 | That is a process and as such language and toolchain agnostic. | |
Carl: 28-Oct-2010 | Continuous integration is really a separate dimension from automation... it's a set of objectives for more frequently producing test targets. | |
Andreas: 28-Oct-2010 | And whatever you want to call it, the process is simple: you have a single code base, version controlled. Upon every change to this code base, you automatically build and test on all supported platforms. | |
Andreas: 28-Oct-2010 | Without human intervention. You commit a piece of code, and automagically 7 machines pick up the changes and start building. | |
Carl: 28-Oct-2010 | Continuous integration is really a separate dimension from automation. | |
Maxim: 28-Oct-2010 | carl, I have to go now... take a peek at the private messages... I'll pick up later. | |
Carl: 28-Oct-2010 | Some of that was the goal of DevBase... but there are only so many hours in a day. | |
Andreas: 28-Oct-2010 | And as you obviously want to maintain the closed-source nature of libr3, that step will already require a bit of work. | |
Andreas: 28-Oct-2010 | Then the first step would be to create a post-commit hook (a script that runs on every commit), that exports your internal sources into the externally visible sources. | |
Carl: 28-Oct-2010 | Andreas, we should probably switch to a different group to keep all this together... is there a group already on this? | |
ssolie: 31-Oct-2010 | what would be the simplest code to open a window in r3? the window doesn't have to have anything in it | |
GrahamC: 1-Nov-2010 | you might get a wee tiny window though | |
Kaj: 1-Nov-2010 | I think Steven just wants to fire a window creation sequence in the host | |
Carl: 1-Nov-2010 | They allow C libs now. So, if someone wants to make the host-kit work on Andoid, it might be a quick port. | |
Andreas: 1-Nov-2010 | First step would probably be a Linux ARM build. Which will be really rather quick. | |
BrianH: 1-Nov-2010 | A console-mode core build could even be used on Android directly from the terminal. | |
BrianH: 1-Nov-2010 | Android has a native library API model. We could make a host that acts like a native library for Java according to that API. | |
BrianH: 1-Nov-2010 | I assume that there is a native API for BB as well, but don't know anything about it. | |
ssolie: 1-Nov-2010 | (yes, it went defunct a while back) | |
Carl: 2-Nov-2010 | http://github.com/carls/R3A110-- a temp test area for Host-Kit A110 | |
GrahamC: 4-Nov-2010 | and a LEG | |
Andreas: 4-Nov-2010 | foo.c, bar.c and a makefile | |
Carl: 4-Nov-2010 | I seem to remember from last time we tried this... there's a special linker tool required on OS X. | |
Carl: 4-Nov-2010 | But, it was a while ago, so I could be wrong. | |
Andreas: 4-Nov-2010 | I think the reasonable way is to get you a reasonable linker. | |
Carl: 4-Nov-2010 | So, you're telling me that everyone who built software for 10.4 used a bad linker? | |
Carl: 4-Nov-2010 | Perhaps I can cross build the lib from a linux box... ? | |
Andreas: 4-Nov-2010 | Yes, but that's a lot of work. | |
Andreas: 4-Nov-2010 | Here;s a direct link: https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=19907 | |
Andreas: 4-Nov-2010 | Unfortunately I don't have the exact machine I tried not handy at the moment. But I know it was a 10.4 OSX and I know that the above "exports.tar.gz" worked. | |
Carl: 4-Nov-2010 | I can have Cindy setup a new devl account... but I suspect this will all lead down a road that will cost me a lot of time. I don't see why cross building from Linux or BSD is a problem. It's just a lib, not an app. | |
Andreas: 4-Nov-2010 | Because setting up the cross compiler is a lot of work. | |
Andreas: 4-Nov-2010 | How would I know? I built such a cross-compiler before: $ uname -sm Linux i686 $ gcc -dumpmachine i486-linux-gnu $ i686-apple-darwin9-gcc -dumpmachine i686-apple-darwin9 | |
Andreas: 4-Nov-2010 | And that'd still need a Mach-O linker. | |
ssolie: 4-Nov-2010 | I'm not seeing my Dev_Event device's RDC_QUIT vector being called when I exit r3 with a 'q' from the command line. I do see the RDC_INIT vector being called. | |
ssolie: 4-Nov-2010 | yes, setting up a timer at the moment | |
Andreas: 4-Nov-2010 | i have a dirty hack somewhere for linuxisms :) | |
ssolie: 4-Nov-2010 | the Dev_Event device has a #ifdef TO_WIN32 on it | |
ssolie: 4-Nov-2010 | took me a while to figure out why no events were happening... heh :) | |
ssolie: 4-Nov-2010 | if RDC_QUIT isn't working should I file a bug report? | |
Andreas: 4-Nov-2010 | i think so, yes. even if it is not a bug, it'll help clarify when the quit callbacks are actually supposed to be called. | |
Andreas: 4-Nov-2010 | you have a message loop :) ? | |
ssolie: 4-Nov-2010 | btw.. how do I add line feeds in altme? so everything isn't a new line | |
Andreas: 4-Nov-2010 | do you have a window opening for the window gob already :) ? | |
ssolie: 4-Nov-2010 | one small step at a time | |
ssolie: 6-Nov-2010 | I found this line in the host-kit when handling the closing of a window: Close_Window(gob); // Needs to be removed - should be done by REBOL event handling My question is how do I do this the right way? I think I need to do an RL_Event(EVT_CLOSE) and then somehow wait for REBOL to notify me. How will REBOL notify me it is ready to perform EVT_CLOSE? |
59101 / 64608 | 1 | 2 | 3 | 4 | 5 | ... | 590 | 591 | [592] | 593 | 594 | ... | 643 | 644 | 645 | 646 | 647 |