00:17
denysonique has quit [Ping timeout: 252 seconds]
00:17
davidboy has quit [Ping timeout: 240 seconds]
00:17
lectrick has quit [Ping timeout: 240 seconds]
00:44
e_dub has quit [Ping timeout: 240 seconds]
00:56
e_dub has joined #opal
01:38
DrShoggoth has quit [Quit: Leaving]
02:15
lectrick has joined #opal
02:16
davidboy has joined #opal
02:19
denysonique has joined #opal
04:43
e_dub has quit [Ping timeout: 240 seconds]
04:56
e_dub has joined #opal
05:39
davidboy has quit [Ping timeout: 240 seconds]
05:57
e_dub has quit [Quit: It's a hard knock life]
06:29
e_dub has joined #opal
07:39
davidboy has joined #opal
07:44
DouweM has joined #opal
08:33
elia has joined #opal
08:35
elia has quit [Remote host closed the connection]
08:44
e_dub has quit [Ping timeout: 260 seconds]
08:53
meh` has joined #opal
08:58
e_dub has joined #opal
09:02
e_dub has quit [Ping timeout: 248 seconds]
09:03
elia has joined #opal
09:14
e_dub has joined #opal
09:22
elia has quit [Quit: Computer has gone to sleep.]
09:22
adambeynon has joined #opal
09:43
<
meh` >
adambeynon, hey
09:48
<
adambeynon >
morning meh`
09:48
<
adambeynon >
good work with ie6 support btw
09:49
kludge` has quit [Ping timeout: 240 seconds]
09:49
<
meh` >
adambeynon, thanks
09:49
<
meh` >
it's all going pretty well indeed
09:49
<
meh` >
adambeynon, is it bugfixing day?
09:49
<
meh` >
some stuff really needs a fixing
09:50
<
meh` >
the `var || begin ... end` and `expr rescue expr`
09:52
kludge` has joined #opal
09:55
<
adambeynon >
probably not today tbh, but yeh, they are priority
10:54
elia has joined #opal
11:13
elia has quit [Ping timeout: 240 seconds]
11:13
elia has joined #opal
11:34
<
adambeynon >
meh`: I have `begin ... end` as an expression half working
11:34
<
adambeynon >
return is a little tricky inside it
11:34
<
adambeynon >
but we can just use the throw/catch system (same as return inside a block)
11:35
<
meh` >
adambeynon, right now self is converted to this, right?
11:37
<
adambeynon >
meh`: inside a `def` method then yes. inside a block then `self` compiles to `self`, and inside a class/module body, `self` compiles to the class name, e.g. MyClass
11:37
<
meh` >
adambeynon, I think it would be EXTREMELY valuable to always `var self = this;` in the prelude of everything
11:37
<
meh` >
or well, self = MyClass
11:37
<
meh` >
depending on the thing
11:38
<
meh` >
adambeynon, I'm saying this because that way method calls and instance variable accesses inside inline pure js functions will be transparent
11:38
<
meh` >
otherwise I always have to `var that = #{self}` and other ugly stuff
11:38
<
meh` >
I also think every js engine can optimize that out
11:38
<
meh` >
so it shouldn't add any overhead
11:38
<
adambeynon >
meh`: agreed
11:39
<
adambeynon >
would be nicer to have consistent output as well
11:42
elia has quit [Quit: Computer has gone to sleep.]
12:06
<
meh` >
I miss macros so much
12:06
elia has joined #opal
12:26
<
elia >
adambeynon: saw your tweet, awesome
12:44
e_dub has quit [Ping timeout: 246 seconds]
12:57
<
meh` >
adambeynon, any ETA for the self = this stuff?
12:57
e_dub has joined #opal
12:57
<
meh` >
it would simplify quite a bit of opal-browser code
13:21
<
adambeynon >
elia: ruby everywhere, I love it.
13:21
<
elia >
adambeynon: will it be public?
13:22
<
elia >
id love to see it :)
13:22
<
adambeynon >
meh`: havent started it yet - could do it later today probably (famous last words)
13:22
<
meh` >
I could probably do it myself
13:22
<
meh` >
doesn't sound hard to do
13:23
<
adambeynon >
elia: hopefully so! atleast some of it (and more likely the opal part..)
13:25
<
meh` >
god is the compiler ugly
13:27
<
adambeynon >
a spaghetti of ruby
13:30
<
meh` >
ok, replace all current_self
13:30
<
meh` >
now to find the preludes
13:30
<
meh` >
adambeynon, any pointer?
13:31
<
adambeynon >
thats where we add 'self = this' in a block
13:31
<
adambeynon >
should be the same with a def
13:32
<
meh` >
js_def I suppose
13:32
<
adambeynon >
yeah, inside `in_scope(:def)`
13:32
<
adambeynon >
put it nice and early, so it should be the first one to get evaluated
13:34
<
adambeynon >
change "#{name} = ..." to "self = ..."
13:34
<
meh` >
yeah, I'm on it
13:36
GitHub0 has joined #opal
13:36
GitHub0 has left #opal [#opal]
13:37
<
meh` >
NoMethodError: undefined method `variables_method=' for HaveConstantMatcher
13:39
<
adambeynon >
sounds like something breaking in singleton classes
13:40
<
adambeynon >
probably easiest to remove the `.call()` and pass the singleton class into the anonymous function as a normal parameter
13:40
<
adambeynon >
(function(self) { .... })(foo.$singleton_class())
13:42
<
meh` >
wouldn't the process(recv, :recv) generate the self resetting?
13:46
<
meh` >
no, what am I saying
13:48
<
meh` >
and now constant lookup failing
13:48
<
meh` >
adambeynon, now I know why you always wait so much to fix bugs in the compiler
13:48
<
adambeynon >
lol, yeh..
13:48
<
adambeynon >
meh`: did you also fix modules?
13:49
<
meh` >
we need a better compiler infrastructure
13:49
<
meh` >
I think I'll check out how clojurescript does it
13:49
<
meh` >
and follow their tracks
13:54
<
meh` >
all specs pass
13:57
<
adambeynon >
meh`: yeap, that looks fine to me
13:59
GitHub49 has joined #opal
13:59
<
GitHub49 >
opal/master db1091c meh: Alias this, ClassName and ModuleName to self
13:59
GitHub49 has left #opal [#opal]
14:02
travis-ci has joined #opal
14:02
<
travis-ci >
[travis-ci] opal/opal#1044 (master - db1091c : meh): The build passed.
14:02
travis-ci has left #opal [#opal]
14:13
GitHub94 has joined #opal
14:13
GitHub94 has left #opal [#opal]
14:13
<
GitHub94 >
[opal-jquery] andriusch opened pull request #29: Add native mapping for Element#empty (master...master)
http://git.io/6d633g
14:16
lectrick has quit [Ping timeout: 246 seconds]
14:16
denysonique has quit [Ping timeout: 248 seconds]
14:16
davidboy has quit [Ping timeout: 252 seconds]
14:17
adrocknaphobia has quit [Ping timeout: 268 seconds]
14:41
davidboy has joined #opal
14:59
DouweM has quit [Ping timeout: 240 seconds]
15:19
DouweM has joined #opal
15:51
adrocknaphobia has joined #opal
16:17
denysonique has joined #opal
16:25
lectrick has joined #opal
16:33
fkchang has joined #opal
16:43
e_dub has quit [Ping timeout: 240 seconds]
16:45
DouweM_ has joined #opal
16:46
DouweM has quit [Ping timeout: 241 seconds]
16:48
elia has quit [Quit: (IRC Client: textualapp.com)]
16:50
<
meh` >
adambeynon, ping
16:55
DouweM_ has quit [Ping timeout: 260 seconds]
16:57
e_dub has joined #opal
17:06
<
adambeynon >
meh`: sup
17:06
<
meh` >
adambeynon, to pass a block to a function
17:06
<
meh` >
I just set _p with the block, right?
17:07
<
meh` >
I'm fixing up Method and UnboundMethod
17:07
<
adambeynon >
meh`: yeap, exactly that
17:08
<
meh` >
adambeynon, and the prototype for a class is in klass._proto
17:08
<
meh` >
(to get the instance_method)
17:08
<
adambeynon >
meh`: yeap. but, only use that inside opal corelib. it is likely to change (soon)
17:17
<
meh` >
adambeynon, how do I enable some specs?
17:18
<
meh` >
as in, ones that aren't ran yet
17:20
<
adambeynon >
meh`: add it into spec/rubyspecs
17:20
<
adambeynon >
it runs the spec file of the given name
17:21
<
adambeynon >
they should be sorted, but just add it to the end for now
17:21
<
brixen >
er, ignore me!
17:21
<
brixen >
that wasn't my password btw, I use more than one character
17:22
* brixen
goes to change all the passwords
17:29
<
meh` >
adambeynon, are we still using some internal specs?
17:29
<
meh` >
and what the heck is mri_spec?
17:29
<
adambeynon >
meh`: yep, lots of internal specs
17:29
<
adambeynon >
and mri_spec is tests for the gem itself
17:30
<
meh` >
adambeynon, care if I go in a spec moving frenzy?
17:30
<
adambeynon >
meh`: sure. aslong as you dont delete any specs which we cant have from rubyspec
17:30
<
meh` >
I'll just remove from spec/opal and add to spec/rubyspecs and fix what comes up
17:31
<
adambeynon >
meh`: most of the stuff still inside spec/rubyspec and spec/opal are there because the actual rubyspecs cause us problems at the moment
17:31
<
adambeynon >
parse errors and such
17:31
<
meh` >
I'll try to fix what I can then
17:31
<
meh` >
going to work on proc now
17:38
<
meh` >
black magic incoming
17:40
<
meh` >
adambeynon, the require ordering keeps hitting me in the ass with the compatibility stuff in opal-browser
17:40
<
meh` >
I'm reverting to doing awful things
17:40
<
meh` >
and git ain't pushing
17:40
<
meh` >
my ass git access functioning normally
17:41
<
adambeynon >
im getting http errors on github.com
17:41
<
adambeynon >
could be affeting git access too?
17:41
<
meh` >
yeah, the status is red
17:41
<
meh` >
17:37 UTC We are continuing to investigate errors loading GitHub.com. Git access over all protocols is functioning normally.
17:46
<
meh` >
adambeynon, where do I put single failing tests instead?
17:46
<
meh` >
adambeynon, do filters need a special name or something?
17:53
<
adambeynon >
yeh, filters
17:53
<
adambeynon >
and no, just a descriptive name
17:53
<
adambeynon >
meh`: but make sure they go into either bugs or unsupported
17:53
<
meh` >
adambeynon, yeah
17:53
<
meh` >
as soon as I start I'm having issues ◕ ◡ ◔
17:54
<
meh` >
Exception: Unable to find shared 'describe' for proc_call_block_args
17:57
<
adambeynon >
what are you changing/editing for that to come up?
17:57
<
meh` >
added core/proc/call_spec
17:58
<
meh` >
and removed it from spec/rubyspec
18:03
fkchang` has joined #opal
18:03
fkchang has quit [Read error: Connection reset by peer]
18:04
<
adambeynon >
hmm, not sure why that comes up
18:04
<
adambeynon >
should be loading it just fine
18:05
<
adambeynon >
ahh, it isnt requiring() the right shared file
18:05
<
adambeynon >
not sure how to get around that one..
18:07
<
meh` >
ok, I give up and hope for the best ◕ ◡ ◔
18:13
GitHub84 has joined #opal
18:13
GitHub84 has left #opal [#opal]
18:13
<
GitHub84 >
opal/master ea98c15 meh: Implement Module#instance_method and fix Method and UnboundMethod
18:29
travis-ci has joined #opal
18:29
travis-ci has left #opal [#opal]
18:29
<
travis-ci >
[travis-ci] opal/opal#1045 (master - ea98c15 : meh): The build passed.
18:32
<
adambeynon >
lol, be back in a sec .. changing laptop..
19:26
_whitelogger____ has joined #opal
19:27
_whitelogger___ has quit [*.net *.split]
20:44
e_dub has quit [Ping timeout: 246 seconds]
20:56
e_dub has joined #opal
21:20
fkchang`` has joined #opal
21:20
fkchang` has quit [Read error: Connection reset by peer]
21:37
GitHub17 has joined #opal
21:37
GitHub17 has left #opal [#opal]
21:37
<
GitHub17 >
opal/master 2163008 meh: Fix raise message in Module#instance_method
21:42
travis-ci has joined #opal
21:42
<
travis-ci >
[travis-ci] opal/opal#1046 (master - 2163008 : meh): The build passed.
21:42
travis-ci has left #opal [#opal]
23:21
elia has joined #opal
23:31
elia has quit [Quit: (IRC Client: textualapp.com)]
23:35
elia has joined #opal
23:42
fkchang`` has quit [Ping timeout: 240 seconds]
23:43
e_dub has quit [Remote host closed the connection]
23:46
e_dub has joined #opal