home *** CD-ROM | disk | FTP | other *** search
/ ftp.xmission.com / 2014.06.ftp.xmission.com.tar / ftp.xmission.com / pub / lists / fractdev / archive / fractdev.199911 < prev    next >
Internet Message Format  |  1999-11-29  |  28KB

  1. From: tim gilman <tgilman@eudaemon.net>
  2. Subject: Re: (fractdev) DPMI for DOS
  3. Date: 01 Nov 1999 01:32:16 -0800
  4.  
  5. > twegner@phoenix.net (Tim Wegner) wrote:
  6. > (on 10/12/99 at 5:10 PM)
  7. > Thierry wrote:
  8. > >     You can try http://www.opensource.org/ or ...
  9. > >     ... ask Richard Stallman !
  10. > Yeah right, I'm sure I know what license he advocates :-)
  11.  
  12. Is there some sort of list or outline describing what a new
  13. license must necessarily preserve or emphasize?
  14.  
  15. > >     Oh ? It's a dream or I have really read:
  16. > >         "an independant 32bits fractal engine" ?
  17. > It's still a dream until we do it!
  18. > Tim
  19.  
  20. Where can I get the latest code sync for the fp only base? 
  21. I'd like to start running this dream down..  I'll be using a
  22. sparc10 to run and test XFract, but I'll also be building
  23. some prototypes and developing on a Mac. 
  24.  
  25. Thanks,
  26.  
  27. =- Tim
  28. tgilman@eudaemon.net
  29.  
  30.  
  31.  
  32. Thanks for using Fractdev, The Fractint Developer's Discussion List
  33. Post Message:   fractdev@lists.xmission.com
  34. Get Commands:   majordomo@lists.xmission.com "help"
  35. Administrator:  twegner@phoenix.net
  36. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  37.  
  38.  
  39. -------------------------------------------------------------------------------
  40.  
  41. From: "Tim Wegner" <twegner@phoenix.net>
  42. Subject:  Re: (fractdev) DPMI for DOS
  43. Date: 01 Nov 1999 20:02:31 -0600
  44.  
  45. Tim G. asked:
  46.  
  47. > Is there some sort of list or outline describing what a new
  48. > license must necessarily preserve or emphasize?
  49.  
  50. There are some good web sites summarizing the different  
  51. licenses. I'll try to locate one and we can discuss it here.
  52.  
  53. I've read the opinion that it is very bad to create a special license, 
  54. because the waters get very muddy when you start incorporating 
  55. other open source code. So I'd like to go with a GPL license, a 
  56. BSD license, or one of the two or three main variations.
  57.  
  58. > Where can I get the latest code sync for the fp only base? 
  59. > I'd like to start running this dream down..  I'll be using a
  60. > sparc10 to run and test XFract, but I'll also be building
  61. > some prototypes and developing on a Mac. 
  62.  
  63. I'll make this available to you as soon as I can before the weekend -
  64.  from Friday through Sunday this week I have a lot of other 
  65. activities. Jonathan reported to me his visit with you and I am very 
  66. interested in working with you. He and I are going to start work on 
  67. a 32 bit version, probably in djgpp for starters. The important point 
  68. is to have a large core of portable 32 bit code that all 32 bit 
  69. implementations share. That's why I'd like to work with you on this. 
  70. Once we get going on any sort of 32 bit environment with 
  71. something that works, eveolution can be fast, and we can all stay 
  72. synched to the core source.
  73.  
  74. I am interested in using GTK+ for the GUI. This *may* work on 
  75. Windows also. But even if your Mac version needs separate GUI 
  76. code, there's a lot of value in sharing as much generic non-GUI 
  77. code as possible and staying together.
  78.  
  79. Tim W.
  80.  
  81.  
  82. Thanks for using Fractdev, The Fractint Developer's Discussion List
  83. Post Message:   fractdev@lists.xmission.com
  84. Get Commands:   majordomo@lists.xmission.com "help"
  85. Administrator:  twegner@phoenix.net
  86. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  87.  
  88.  
  89. -------------------------------------------------------------------------------
  90.  
  91. From: tim gilman <tgilman@eudaemon.net>
  92. Subject: Re: (fractdev) DPMI for DOS
  93. Date: 01 Nov 1999 23:16:17 -0800
  94.  
  95. > twegner@phoenix.net (Tim Wegner) wrote:
  96. > (on 11/1/99 at 8:02 PM)
  97. > I'll make this available to you as soon as I can before the weekend -
  98.  
  99. No hurry!
  100.  
  101. > Jonathan reported to me his visit with you and I am very 
  102. > interested in working with you. He and I are going to start work on 
  103. > a 32 bit version, probably in djgpp for starters. The important point 
  104. > is to have a large core of portable 32 bit code that all 32 bit 
  105. > implementations share. That's why I'd like to work with you on this. 
  106.  
  107. I'm forcing myself to code in parallel on the Mac and my linux box. 
  108. This way I hope to keep the code base portable.  Well, or heavily
  109. dependent on two distinct platforms.  That should force some GUI
  110. separation, right?!   heh.
  111.  
  112. > Once we get going on any sort of 32 bit environment with 
  113. > something that works, eveolution can be fast, and we can all stay 
  114. > synched to the core source.
  115. >
  116. > I am interested in using GTK+ for the GUI. This *may* work on 
  117. > Windows also. But even if your Mac version needs separate GUI 
  118. > code, there's a lot of value in sharing as much generic non-GUI 
  119. > code as possible and staying together.
  120. > Tim W.
  121.  
  122. Agreed!  Is there an ongoing list of desirables for this next-gen
  123. engine?  32 bit clean is a must, but I'm curious to know if any
  124. consideration for multiple engine instances, plug-in support for
  125. fractal/platform-specific optimizations, and other Star Trek
  126. technologies has been kicked around.  Granted, there's a big amount of
  127. work to get through before this'll be close to a reality, but my brain
  128. likes to feed on problems well in advance of actual execution.
  129.  
  130. Enough of me!  Let me know when the fp code base is ready for ftp'n, and
  131. I'll start working on my carpel tunnel syndrome..
  132.  
  133. =- Tim G.
  134. tgilman@eudaemon.net
  135.  
  136.  
  137.  
  138. Thanks for using Fractdev, The Fractint Developer's Discussion List
  139. Post Message:   fractdev@lists.xmission.com
  140. Get Commands:   majordomo@lists.xmission.com "help"
  141. Administrator:  twegner@phoenix.net
  142. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  143.  
  144.  
  145. -------------------------------------------------------------------------------
  146.  
  147. From: Phil McRevis <legalize@xmission.com>
  148. Subject: Re: (fractdev) DPMI for DOS 
  149. Date: 02 Nov 1999 10:20:59 -0700
  150.  
  151.  
  152. Sounds like you could use the partial work I've done on separating the
  153. GUI code from the engine code.
  154.  
  155. Should I make a diff and put it up for FTP?
  156.  
  157. What I did was abstract out the GUI/driver functions and massage the
  158. code to call through those functions.  I haven't worked on it for some
  159. time, as I took a job again and have been working for $$.
  160.  
  161. However, if someone else is going down that road, you would benefit
  162. quite a bit from what I've already done.
  163. --
  164. <http://www.xmission.com/~legalize/>    Legalize Adulthood!
  165.     ``Ain't it funny that they all fire the pistol,     
  166.       at the wrong end of the race?''--PDBT     
  167. legalize@xmission.com    <http://www.thewho.net>
  168.  
  169. Thanks for using Fractdev, The Fractint Developer's Discussion List
  170. Post Message:   fractdev@lists.xmission.com
  171. Get Commands:   majordomo@lists.xmission.com "help"
  172. Administrator:  twegner@phoenix.net
  173. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  174.  
  175.  
  176. -------------------------------------------------------------------------------
  177.  
  178. From: Phil McRevis <legalize@xmission.com>
  179. Subject: Re: (fractdev) DPMI for DOS 
  180. Date: 02 Nov 1999 11:10:45 -0700
  181.  
  182.  
  183. In article <mS/11iTHN-000H1oS@mail.airmail.net>,
  184.     "Tim Wegner" <twegner@phoenix.net>  writes:
  185.  
  186. > I've read the opinion that it is very bad to create a special license, 
  187. > because the waters get very muddy when you start incorporating 
  188. > other open source code. So I'd like to go with a GPL license, a 
  189. > BSD license, or one of the two or three main variations.
  190.  
  191. That sounds like a great idea: unifying the license to all the code
  192. under one "standard" open source license.
  193.  
  194. Will there be difficulty obtaining permission from authors who have
  195. slapped their own wacky open source license on their contributions?
  196. Will some pieces need to be rewritten because of license issues?
  197. --
  198. <http://www.xmission.com/~legalize/>    Legalize Adulthood!
  199.     ``Ain't it funny that they all fire the pistol,     
  200.       at the wrong end of the race?''--PDBT     
  201. legalize@xmission.com    <http://www.thewho.net>
  202.  
  203. Thanks for using Fractdev, The Fractint Developer's Discussion List
  204. Post Message:   fractdev@lists.xmission.com
  205. Get Commands:   majordomo@lists.xmission.com "help"
  206. Administrator:  twegner@phoenix.net
  207. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  208.  
  209.  
  210. -------------------------------------------------------------------------------
  211.  
  212. From: "Tim Wegner" <twegner@phoenix.net>
  213. Subject: Re: (fractdev) DPMI for DOS 
  214. Date: 02 Nov 1999 20:13:50 -0600
  215.  
  216.  
  217. > Will there be difficulty obtaining permission from authors who have
  218. > slapped their own wacky open source license on their contributions?
  219. > Will some pieces need to be rewritten because of license issues?
  220.  
  221. In principle there is an issue, but in practise I don't think so. There 
  222. are really not that many people who have contributed a lot of code, 
  223. and we can reach them, and the contributions of most minor 
  224. contributors was for all intents and purposes written by us because 
  225. we massaged code extensively in the process of integrating it.
  226.  
  227. We have had the understanding from contributors for quite a while 
  228. now that we could do what we want with the code. And I think we 
  229. can deal with 100% of people who have explicit copyrights in the 
  230. code. For example, Mark Peterson has his name many places, but 
  231. we have it in writing that he renounces his rights.
  232.  
  233. In any case I expect a massive rewrite that will leave no code 
  234. unchanged.
  235.  
  236. Tim
  237.  
  238.  
  239. Thanks for using Fractdev, The Fractint Developer's Discussion List
  240. Post Message:   fractdev@lists.xmission.com
  241. Get Commands:   majordomo@lists.xmission.com "help"
  242. Administrator:  twegner@phoenix.net
  243. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  244.  
  245.  
  246. -------------------------------------------------------------------------------
  247.  
  248. From: "Tim Wegner" <twegner@phoenix.net>
  249. Subject: (fractdev) licenses
  250. Date: 02 Nov 1999 22:25:19 -0600
  251.  
  252. Here's a list of popular licenses:
  253.  
  254. http://www.opensource.org/licenses/
  255.  
  256.  
  257.  
  258. Thanks for using Fractdev, The Fractint Developer's Discussion List
  259. Post Message:   fractdev@lists.xmission.com
  260. Get Commands:   majordomo@lists.xmission.com "help"
  261. Administrator:  twegner@phoenix.net
  262. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  263.  
  264.  
  265. -------------------------------------------------------------------------------
  266.  
  267. From: tim gilman <tgilman@eudaemon.net>
  268. Subject: Re: (fractdev) DPMI for DOS 
  269. Date: 03 Nov 1999 01:25:01 -0800
  270.  
  271. > legalize@xmission.com (Phil McRevis) wrote:
  272. > (on 11/2/99 at 10:20 AM)
  273. > Sounds like you could use the partial work I've done on separating the
  274. > GUI code from the engine code.
  275. > Should I make a diff and put it up for FTP?
  276.  
  277. Yes please!  If you put up a diff, I'll definitely use it.  I would
  278. *love* to see what you've done..
  279.  
  280. > What I did was abstract out the GUI/driver functions and massage the
  281. > code to call through those functions.  I haven't worked on it for some
  282. > time, as I took a job again and have been working for $$.
  283. >
  284. > However, if someone else is going down that road, you would benefit
  285. > quite a bit from what I've already done.
  286. ><snip>
  287.  
  288. Yes please!  ;v)  I'm going down this road, and I'm curious to learn
  289. about what you've done...
  290.  
  291. Yours,
  292. -= Tim G.
  293. tgilman@eudaemon.net
  294.  
  295.  
  296.  
  297.  
  298. Thanks for using Fractdev, The Fractint Developer's Discussion List
  299. Post Message:   fractdev@lists.xmission.com
  300. Get Commands:   majordomo@lists.xmission.com "help"
  301. Administrator:  twegner@phoenix.net
  302. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  303.  
  304.  
  305. -------------------------------------------------------------------------------
  306.  
  307. From: Phil McRevis <legalize@xmission.com>
  308. Subject: Re: (fractdev) DPMI for DOS 
  309. Date: 03 Nov 1999 09:26:33 -0700
  310.  
  311.  
  312. In article <mS/11ipvx-000GlvS@mail.airmail.net>,
  313.     "Tim Wegner" <twegner@phoenix.net>  writes:
  314.  
  315. > In any case I expect a massive rewrite that will leave no code 
  316. > unchanged.
  317.  
  318. That is the nature of the diff that I already have ;-).
  319.  
  320. I will put that up for FTP soon, probably this weekend.
  321. --
  322. <http://www.xmission.com/~legalize/>    Legalize Adulthood!
  323.     ``Ain't it funny that they all fire the pistol,     
  324.       at the wrong end of the race?''--PDBT     
  325. legalize@xmission.com    <http://www.thewho.net>
  326.  
  327. Thanks for using Fractdev, The Fractint Developer's Discussion List
  328. Post Message:   fractdev@lists.xmission.com
  329. Get Commands:   majordomo@lists.xmission.com "help"
  330. Administrator:  twegner@phoenix.net
  331. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  332.  
  333.  
  334. -------------------------------------------------------------------------------
  335.  
  336. From: Phil McRevis <legalize@xmission.com>
  337. Subject: Re: (fractdev) DPMI for DOS 
  338. Date: 03 Nov 1999 09:39:50 -0700
  339.  
  340.  
  341. In article <E11iwf8-0004xA-00@lists.xmission.com>,
  342.     tim gilman <tgilman@eudaemon.net>  writes:
  343.  
  344. > Yes please!  If you put up a diff, I'll definitely use it.  I would
  345. > *love* to see what you've done..
  346.  
  347. If you peruse the list archives at
  348. <ftp://ftp.xmission.com/pub/lists/fractdev>, you'll see me describing
  349. the approach I have taken.
  350.  
  351. > Yes please!  ;v)  I'm going down this road, and I'm curious to learn
  352. > about what you've done...
  353.  
  354. Coming soon... I used the xfractint code base for testing, since I
  355. could get working quicker that way.  I don't have a DOS C compiler
  356. environment that "works out of the box" with the fractint source code.
  357.  
  358. I spent a *lot* of time poring over a printout of the source code
  359. before I started working on it.  (Do you realize that the fractint
  360. source, when printed double-sided is about 7 inches thick?!?)
  361.  
  362. What I did was push all the code specific to a particular kind of I/O
  363. into a structure through a function pointer member.  Then you initialize
  364. the structure's function pointers based on what driver you're going to
  365. select.
  366.  
  367. The resulting code has combined "drivers" for all the kinds of
  368. platforms: DOS, windows, X11, etc.  The intent was that under Win32 at
  369. least you would have the option of using GDI, OpenGL or DirectX back
  370. ends as well.
  371. --
  372. <http://www.xmission.com/~legalize/>    Legalize Adulthood!
  373.     ``Ain't it funny that they all fire the pistol,     
  374.       at the wrong end of the race?''--PDBT     
  375. legalize@xmission.com    <http://www.thewho.net>
  376.  
  377. Thanks for using Fractdev, The Fractint Developer's Discussion List
  378. Post Message:   fractdev@lists.xmission.com
  379. Get Commands:   majordomo@lists.xmission.com "help"
  380. Administrator:  twegner@phoenix.net
  381. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  382.  
  383.  
  384. -------------------------------------------------------------------------------
  385.  
  386. From: Phil McRevis <legalize@xmission.com>
  387. Subject: (fractdev) initial stab at implementing drivers in fractint available
  388. Date: 07 Nov 1999 18:19:49 -0700
  389.  
  390. OK, I've put two files in my FTP area that you'll want to look at;
  391. <ftp://ftp.xmission.com/pub/users/l/legalize/fractals/> contains:
  392.  
  393. -rw-r--r--   1 legalize   623285 Nov  7 17:58 xfractint-19.61.66-diffs.txt
  394. -rw-r--r--   1 legalize  4208640 Nov  7 17:57 xfractint-experimental.tar
  395.  
  396. The first is a diff against 19.61 patchlevel 66 sources.  However, I
  397. added files to the distribution and eliminated files from the
  398. distribution, so just in case those files are missing (d_*.c), I've
  399. put all the source in the tar file.
  400.  
  401. Some notes:
  402.  
  403.     This limps along in X11 mode, but isn't completely finished.
  404.     In particular, the X11 port should do away with curses completely
  405.     for the text menus and just use native X11 text (and possibly
  406.     dialog boxes) for the menus and parameter screens.  This would
  407.     eliminate the kludgey way you have to run xfractint inside an
  408.     xterm for it to work.  It also eliminates the kludgey function key
  409.     support stuff in xfractint currently.
  410.  
  411.     The DOS related code hasn't even been compiled; it was just
  412.     migrated there from other files/functions as I noticed it instead
  413.     of deleting it.  Eventually we want "DOS drivers" to handle that
  414.     environment.
  415.  
  416.     You'll see various things like ##FIXME## or ##AUTOCONF##.  These
  417.     are notes I made to myself while changing things to remind me to
  418.     go back and fix some issue relating to platform portability
  419.     (usually the ##FIXME##s are of this nature) or some issue that is
  420.     related to platform configuration that should be handled by GNU
  421.     autoconf.  (Is autoconf available for Mac and does it make any
  422.     sense there?  You can always manually edit config.h if you don't
  423.     have autoconf, but that is for gurus only I think.)
  424.  
  425.     I haven't gone through the code and replaced all the wacky DOSisms
  426.     like weird 'common area' memory allocation and stuff like that.
  427.     I've just left the xfractint solution in place, which works.
  428.     You'll want to remove these DOSisms in the 32-bit porting work.
  429.  
  430.     I haven't removed all the near/far crap.  The header files just
  431.     #define these away for now, so they should just all be removed
  432.     from the code just to make it clear that we don't give a rat's ass
  433.     about this under a flat memory model.  Otherwise, leaving them in
  434.     but #define'd away will just cause confusion for future
  435.     contributors.
  436.  
  437.     I spent a lot of time thinking about the best migration path for
  438.     the fractint code from where we are now to fancy GUI enabled
  439.     environments and so on.  Please don't dismiss my choices with some
  440.     discussion on this list ;-).
  441.  
  442.     There is a way to evolve the source base into a position where we
  443.     can do all I/O as events instead of polling like is done now.
  444.     (xfractint fakes out the polling routine by checking for events
  445.     inside the polling routine, but this is kludgey.)  The big
  446.     implications of leaving behind polling are:
  447.  
  448.     Code that calls 'keypressed()' needs to have its control flow
  449.     reworked.  Surprisingly this isn't a large number of places,
  450.     but its sprinkled around more than in a few places.  The
  451.     easiest way to find them all is to #ifdef out keypressed() and
  452.     look for all the places where the compile breaks ;-).
  453.  
  454.     For the DOS DPMI environment, an interrupt handling routine
  455.     needs to be written to post events to an internal event queue
  456.     based on user input (keyboard, mouse, etc.).  I can't believe
  457.     that someone hasn't already done this under a GPL like
  458.     license.  We should be able to steal code for this, not have
  459.     to write it.  If it does have to be written, I'm not the one
  460.     for that job as this is too far afield from my core expertise
  461.     (DOS interrupt handlers).
  462.  
  463.     All the changes in this tar file/diff are 'infrastructure'
  464.     changes.  They are preparing the groundwork for the Mac port and
  465.     a 32-bit port and a DirectX port and an improved X11 port and
  466.     so-on.
  467.  
  468. I really hope this is useful to Tim and the Mac port folks.  (Sorry, I
  469. forgot your name!)  Please lets try and reuse what I've done so far
  470. since its like 70% finished and unfortunately my free time kinda
  471. evaporated since I took a full-time job which has prevented me from
  472. finishing it before you folks took up the torch.  In particular,
  473. please ask me questions if there is something I've done that doesn't
  474. make sense or you're confused about my design choices.  My goals for
  475. this effort were to make the minimal amount of changes to xfractint in
  476. order to implement an abstract driver base, from which other ports
  477. to other window systems (I had X11 and Win32/GDI Win32/DirectX in mind
  478. specifically) could be done much more easily.  I also wanted to
  479. improve the quality of the X11 port along the way, using that as my
  480. testbed 'driver', since that's my most readily available compilation
  481. environment and the graphics environment with which I'm most
  482. familiar.
  483.  
  484. The guts of the driver-specific code is all in the d_*.[hc] files.
  485. --
  486. <http://www.xmission.com/~legalize/>    Legalize Adulthood!
  487.     ``Ain't it funny that they all fire the pistol, 
  488.       at the wrong end of the race?''--PDBT
  489.           <http://www.thewho.net>
  490.  
  491. Thanks for using Fractdev, The Fractint Developer's Discussion List
  492. Post Message:   fractdev@lists.xmission.com
  493. Get Commands:   majordomo@lists.xmission.com "help"
  494. Administrator:  twegner@phoenix.net
  495. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  496.  
  497.  
  498. -------------------------------------------------------------------------------
  499.  
  500. From: "Tim Wegner" <twegner@phoenix.net>
  501. Subject: Re: (fractdev) initial stab at implementing drivers in fractint available
  502. Date: 07 Nov 1999 22:10:31 -0600
  503.  
  504. Rich wrote:
  505.  
  506. > OK, I've put two files in my FTP area that you'll want to look at;
  507. > <ftp://ftp.xmission.com/pub/users/l/legalize/fractals/> contains:
  508.  
  509. OK, I'll have a look, and try to figure out how to merge the v20 no-
  510. integer source.
  511.  
  512. I'll get that source up soon. This weekend was a marathon of 
  513. meetings.
  514.  
  515. Tim
  516.  
  517.  
  518.  
  519. Thanks for using Fractdev, The Fractint Developer's Discussion List
  520. Post Message:   fractdev@lists.xmission.com
  521. Get Commands:   majordomo@lists.xmission.com "help"
  522. Administrator:  twegner@phoenix.net
  523. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  524.  
  525.  
  526. -------------------------------------------------------------------------------
  527.  
  528. From: tim gilman <tgilman@eudaemon.net>
  529. Subject: Re: (fractdev) initial stab at implementing drivers in fractint available
  530. Date: 09 Nov 1999 18:54:25 -0800
  531.  
  532. > legalize@xmission.com (Phil McRevis) wrote:
  533. > (on 11/7/99 at 6:19 PM)
  534. > OK, I've put two files in my FTP area that you'll want to look at;
  535. > <ftp://ftp.xmission.com/pub/users/l/legalize/fractals/> contains:
  536. > xfractint-19.61.66-diffs.txt
  537. > xfractint-experimental.tar
  538.  
  539. I'll check these out..
  540.  
  541. >     (Is autoconf available for Mac and does it make any sense there?)
  542.  
  543. Nope, no autoconf for the Mac.. It's all brute force.
  544.  
  545. >     There is a way to evolve the source base into a position where we
  546. >     can do all I/O as events instead of polling like is done now.
  547.  
  548. The harder part is moving away from how closely coupled Fractint's state
  549. is to the GUI.  Even GUI-less, the engine is still expecting certain
  550. input during certain states (pressing Return/ESC in the Tab-info screen,
  551. for example), which is a thorough pain in the bum.
  552.  
  553. >   The easiest way to find them all is to #ifdef out keypressed() and
  554. >   look for all the places where the compile breaks ;-).
  555.  
  556. Ah, the sore-thumb philosophy of porting!  
  557.  
  558. > I really hope this is useful to Tim and the Mac port folks.  (Sorry, I
  559. > forgot your name!)  Please lets try and reuse what I've done so far
  560. > since its like 70% finished and unfortunately my free time kinda
  561. > evaporated since I took a full-time job which has prevented me from
  562. > finishing it before you folks took up the torch.  In particular,
  563.  
  564. I'll definitely take a look, and work from the latest efforts.  Getting
  565. the Mac port up and running has granted me some familiarity with the
  566. source base, and some of its more interesting portability problems.
  567.  
  568. I'll post questions as they come up...
  569.  
  570. =- Tim Gilman
  571. tgilman@eudaemon.net
  572.  
  573.  
  574.  
  575. Thanks for using Fractdev, The Fractint Developer's Discussion List
  576. Post Message:   fractdev@lists.xmission.com
  577. Get Commands:   majordomo@lists.xmission.com "help"
  578. Administrator:  twegner@phoenix.net
  579. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  580.  
  581.  
  582. -------------------------------------------------------------------------------
  583.  
  584. From: Phil McRevis <legalize@xmission.com>
  585. Subject: Re: (fractdev) initial stab at implementing drivers in fractint available 
  586. Date: 10 Nov 1999 08:41:49 -0700
  587.  
  588.  
  589. In article <E11lNu5-00001Q-00@lists.xmission.com>,
  590.     tim gilman <tgilman@eudaemon.net>  writes:
  591.  
  592. > >     (Is autoconf available for Mac and does it make any sense there?)
  593. > Nope, no autoconf for the Mac.. It's all brute force.
  594.  
  595. The modifications I made don't use autoconf yet, there are only place
  596. holders for variables and the like where autoconf should probe the
  597. platform for reasonable defaults.
  598.  
  599. Isn't the new MacOS a variant of unix?  Do you have unix-like
  600. utilities available?  gcc? make? bourne shell?  If you have a
  601. unix-like environment, autoconf should come up without difficulty.
  602.  
  603. > The harder part is moving away from how closely coupled Fractint's state
  604. > is to the GUI.  Even GUI-less, the engine is still expecting certain
  605. > input during certain states (pressing Return/ESC in the Tab-info screen,
  606. > for example), which is a thorough pain in the bum.
  607.  
  608. Yeah, what they did for the X11 port was to deal with the event queue
  609. whenever a routine was called that polled for input.  Fractint polls
  610. for input often enough that this is a reasonable place to have event
  611. queue management.  However, I think fractint can be moved to an event
  612. input model without a massive rewrite.  Obviously code will change,
  613. but there are really only a few places where input is polled in the
  614. middle of a computation.  This is because fractint abstracted most of
  615. the fractal types into a parameterized engine.  The odd men out (from
  616. memory) are IFS, L-system, 'ant', 'lorenz' and a few other fractal
  617. types.  Most of the fractal types go through the engine, so its only
  618. one place to change for most fractal types.
  619.  
  620. > >   The easiest way to find them all is to #ifdef out keypressed() and
  621. > >   look for all the places where the compile breaks ;-).
  622. > Ah, the sore-thumb philosophy of porting!  
  623.  
  624. For jobs like these, I found that emacs really does improve my
  625. productivity.  This is because you're making regular expression type
  626. changes to the source code.  Also M-x next-error in emacs is a nice
  627. way to navigate through the massive compiler errors you get when
  628. taking the #ifdef approach.  MS visual studio has something similar,
  629. but I actually prefer the emacs one.  Switching between source files
  630. in studio still requires me to leave the keyboard and go to the mouse.
  631. There are keyboard equivalents, but they just aren't as handy as the
  632. ones I already know.
  633.  
  634. > I'll definitely take a look, and work from the latest efforts.  Getting
  635. > the Mac port up and running has granted me some familiarity with the
  636. > source base, and some of its more interesting portability problems.
  637.  
  638. I am interested in hearing of any problems that the Mac has where you
  639. think they might be particular to the Mac.
  640. --
  641. <http://www.xmission.com/~legalize/>    Legalize Adulthood!
  642.     ``Ain't it funny that they all fire the pistol,     
  643.       at the wrong end of the race?''--PDBT     
  644. legalize@xmission.com    <http://www.thewho.net>
  645.  
  646. Thanks for using Fractdev, The Fractint Developer's Discussion List
  647. Post Message:   fractdev@lists.xmission.com
  648. Get Commands:   majordomo@lists.xmission.com "help"
  649. Administrator:  twegner@phoenix.net
  650. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  651.  
  652.  
  653. -------------------------------------------------------------------------------
  654.  
  655. From: Tim Wegner <twegner@swbell.net>
  656. Subject: WX Windows as a platform?
  657. Date: 29 Nov 1999 20:57:32 -0600
  658.  
  659. Tim G. and all,
  660.  
  661. I had assumed that using the GTK toolkit would be the way to go 
  662. for a portable Fractint, because it supports C and has been ported 
  663. to Windows, so we could probably have essentially one set of 
  664. sources for Linux and Windows. But after asking several of my 
  665. Python guru friends at work, they said that WXWindows is a much 
  666. better way to go because it is much more platform independent. It 
  667. has ports to the Mac also. Tim G., do you know about this?
  668.  
  669. Check out: 
  670.  
  671. http://www.freiburg.linux.de/~wxxt/
  672.  
  673. and
  674.  
  675. http://web.ukonline.co.uk/julian.smart/wxwin/
  676.  
  677. The downside is that this toolkit uses C++ and not C. At least I 
  678. think that is a downside :-) Of course if we wanted, the main non-
  679. GUI sources could still be in C.
  680.  
  681. Make a note that my email address is now twegner@swbell.net. I 
  682. will kill twegner@phoenix.net soon.
  683.  
  684. Tim
  685.  
  686.  
  687.  
  688. Thanks for using Fractdev, The Fractint Developer's Discussion List
  689. Post Message:   fractdev@lists.xmission.com
  690. Get Commands:   majordomo@lists.xmission.com "help"
  691. Administrator:  twegner@swbell.net
  692. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  693.  
  694.  
  695. -------------------------------------------------------------------------------
  696.  
  697. From: "Damien M. Jones" <dmj@fractalus.com>
  698. Subject: Re: WX Windows as a platform?
  699. Date: 29 Nov 1999 23:08:48 -0500
  700.  
  701. Tim,
  702.  
  703.  - The downside is that this toolkit uses C++ and not C. At least I 
  704.  - think that is a downside :-)
  705.  
  706. LOL--that's not a downside, that actually makes some things easier. :)
  707.  
  708.  - Of course if we wanted, the main non-GUI sources could still be in C.
  709.  
  710. Given the existing codebase that is in plain C, that's probably a good
  711. idea. Mixing C and C++ is easy.
  712.  
  713. Damien M. Jones   \\
  714. dmj@fractalus.com  \\  Fractalus Galleries & Info:
  715.                     \\  http://www.fractalus.com/
  716.  
  717. Please do not post my e-mail address on a web site or
  718. in a newsgroup.  Thank you.
  719.  
  720. Thanks for using Fractdev, The Fractint Developer's Discussion List
  721. Post Message:   fractdev@lists.xmission.com
  722. Get Commands:   majordomo@lists.xmission.com "help"
  723. Administrator:  twegner@swbell.net
  724. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  725.  
  726.