« first day (1198 days earlier)      last day (1982 days later) » 

00:00
RELOAD!
[rubberduck-vba/Rubberduck] 1 opened issue. 2 issue comments.
Home Time!
00:16
> @bclothier Well, Microsoft [marks](https://referencesource.microsoft.com/#Microsoft.VisualBasic/Microsoft/VisualBasic/MsgBoxStyle.cs) it with a `Flags` attribute, so presumably the 0-5 values are designed to be mutually exclusive, much like the `VbStrConv.ProperCase` example I gave.

When it's a COM-defined enum, that RD sets as being Flags, RD won't be offering any inspections on the Enum itself, but rather on usages of the enum that, for example, use `+` instead of `Or`.

When it's a us
00:46
Looks much better, @IvenBach.
 
1 hour later…
@Hosch250 What looks better?
[rubberduck-vba/Rubberduck] build for commit b44850b5 on unknown branch: AppVeyor build succeeded
 
1 hour later…
03:27
So my daughter challenged me with drawing something awesome.
4
 
7 hours later…
 
1 hour later…
Looks to me that an ExitStmtContext can represent any exits, including Exit Do, Exit For and as well Exit <procedure>. What is the best way to determine if the context is actually the Exit <procedure> variety, excluding Exit Do/Exit For?
13:10
@this looking at its tokens I guess, no?
Also, #DidYouKnow you can Exit Sub and Exit Function in a Property member?
yeah, i think i can look at the token - just wanted to see what was the best way. I'll do that.
Yes i knew but thanks for reminding me about that weird thing
in my specific case, it should not apply since I really don't care what procedure it is; I just simply want no Exit <procedure> in the selection
the Exit Do/ Exit For would require analysis, to verify that the selection contains the outer block.
Man that refactoring is the funnest one to implement - wait till you get an actual procedure extracted, that moment of utter pride is priceless =)
just so I know -
if I need to add strings for messaging
I'm supposed to use the .resx files
but what would happen if german/french didn't have the correspodning stuff?
I mean, I can use Google Translate but.... ? (would hate it to come out sounding dirty or at least moronic)
13:24
The framework defaults to en-US for the missing keys
good - and i hope it's easy to find what are missing whenever someone else does localization work later on?
i.e. don't bother with them, they'll be handled =)
Yep, @Vogel612 wrote a tool specifically for that
great!
kids' swimming lessons, gotta go
later!
 
1 hour later…
@IvenBach This new implementation vs. the old one.
15:48
Everything is working now with Castle Windsor, but the access violations on exit remain as well as the crash on exit with the native debugger attached.
I also tested the startup time and Castle Windsor seems to be slightly faster, but that might as well be a difference in system load. (Depensing on what is running on my system, the load time can vary by 1s.)
16:45
@Hosch250 I'm hoping to get time to improve it more. I used @this's suggestion and it looks better but still want to see if it will tidy up more.
 
1 hour later…
17:48
@M.Doerner going out on the limb but doesn't it imply that there might be a wrong lifecycle used for a given VBE component that's injected? IOW, there might be something managed as a singleton when it should be transient (or vice versa, even)
 
2 hours later…
19:37
I have my doubts that this has something to do with wrong lifestyles because the access violations start after the container has been disposed.
I rather think that something not managed by the container does not get unloaded properly.
20:22
Iirc, transient lifecycle items aren't disposed by the system.
In Castle Windsor, they are.
20:51
Cool. That was always pain in Ninject.
@M.Doerner you know, it might be a good idea to try and port the Castle Windsor to the SlimDucky project to also prove that it's not something inherent to CW but is in fact our fault.
For all I know, it might be that the whole DI paradigm might be anathema toward COM reference counting. IDK.
(Mind you, I sincerely I"m totally wrong on this)
 
2 hours later…
23:11
Just thinking about adding declarations for WordBasic. For example, SelType can be used as a statement Application.WordBasic.SelType 1 (to set the Selection type), or as a function, Debug.Print Application.WordBasic.SelType() (to return the current Selection type). The statement form accepts an integer parameter value between 1 and 7. The return value is an integer value of 1,2,5 or 6.
I can add SelType as a FunctionDeclaration. For the statement form, do I add it as a SubroutineDeclaration?
And I can define the parameter type and return type as Integer, but I don't think there is a way of defining the ranges of valid values?

« first day (1198 days earlier)      last day (1982 days later) »