<<26-12-2012>>

00:00:34reactormonkAraq, yes, I do. I just hope the default doesn't change :-)
00:01:30Araqreactormonk: what is the default btw?
00:12:02*apriori| joined #nimrod
00:14:48*gradha quit (Quit: Leaving)
00:15:40reactormonkAraq, nimcache
00:18:37AraqI think you can only change the directory where nimcache/ should be put into
00:18:49Araqthe name 'nimcache' itself cannot be changed
00:22:54NimBot_nimrod-code/Aporia 9fb2393 Dominik Picheta [+0 ±4 -0]: Syntax highlighting for any tab can now be changed from the View menu.
00:28:30reactormonkAraq, oh
00:29:48reactormonkAraq, will the js work if 'document' does not exist?
00:30:15reactormonkerr... nope
00:30:21reactormonk:-(
00:30:36reactormonkecho should compile to 'print' here - can I define my own libs?
00:31:59Araqreactormonk: yes you can, but I think 'echo' changes its meaning if you use -d:nodejs
00:41:05Araqgood night
01:23:02reactormonkAraq, yes, it does console.log ^^
02:06:14*q66 quit (Quit: Quit)
03:06:58*apriori| quit (Quit: Konversation terminated!)
12:24:02*q66 joined #nimrod
13:03:08*FreeArtMan joined #nimrod
13:10:55*Trix[a]r_za is now known as Trixar_za
14:10:38*Trixar_za is now known as Trix[a]r_za
14:42:51*apriori| joined #nimrod
14:55:44*FreeArtMan quit (Ping timeout: 255 seconds)
15:20:46*apriori|| joined #nimrod
15:22:06*FreeArtMan joined #nimrod
15:24:15*apriori| quit (Ping timeout: 250 seconds)
15:25:17dom96Araq: normalize segfaults when given "" ...
15:27:07dom96hrm, or maybe it's my fault
15:38:42dom96yeah, nvm
15:42:06dom96Araq: Why can't a closure capture the surrounding functions 'var' param?
15:42:27Araqbecause that would be bad :P
15:43:00dom96how so?
15:43:19Araqthe GC dislikes interior pointers
15:43:47dom96well I suppose my workaround is bad then
15:44:03Araqwhat is your workaround?
15:44:19dom96var adWin = addr(win)
15:44:29dom96# win is the 'var' param
15:44:37dom96Then I use adWin in the closure
15:45:06Araq*shrug* you created an unsafe pointer
15:45:20Araqso the GC is free to deallocate the object under your hood
15:45:32Araqso have fun :P
15:46:21dom96well please tell me how else to accomplish what I want then
15:47:23dom96meh, well the solution is simple.
15:48:03Araqgood
15:49:15dom96what about if I pass addr(win) to a gtk function?
15:49:38dom96Is it just as bad as what I do with my closure?
15:50:02Araqthe gtk function doesn't capture the passed pointer
15:50:14Araqotherwise you have the same problem ;-)
15:50:40dom96define 'capture' :P
15:52:06Araqproc capture(x: someptr) =
15:52:16Araq if x == nil: echo someglobal[]
15:52:25Araq else: someglobal = x
15:52:38Araqfor instance
15:55:40dom96Well hopefully the GC won't free this very important object. As it's being used everywhere :P
17:34:43NimBot_nimrod-code/Aporia fbe0ccc Dominik Picheta [+0 ±6 -0]: Every compiler execution is now done asynchronously, including suggest and Go to definition.
17:34:43NimBot_nimrod-code/Aporia b1a6323 Dominik Picheta [+0 ±2 -0]: Fixed a crash when closing the last tab.
19:40:33reactormonkAraq, any I write my own -d: ?
19:40:40reactormonks/any/can/
19:48:04dom96when defined(whatever):
19:52:43reactormonkhm
21:25:53*FreeArtMan quit (Ping timeout: 255 seconds)
21:25:58dom96Araq: Please test aporia!
21:26:13Araqdom96: yeah, wait a sec
22:27:31*Trix[a]r_za is now known as Trixar_za
22:40:14NimBot_nimrod-code/Aporia b027c10 Dominik Picheta [+0 ±2 -0]: Fixed crash when compiling files.