IRC Log from 2012-01-10

00:20:16 *** Thasmo has quit ()
01:44:53 *** The_MAZZTer (~mzzt@2001:0:4137:9e76:349b:456:52c2:132b) has joined #portableapps
01:45:13 <The_MAZZTer> hmm
01:45:28 <The_MAZZTer> so I'm guessing I should NOT use Abort keyword in my Section hooks, especially for PrePrimary
01:45:38 <The_MAZZTer> so how would I tell PAL that I wish to abort and not run the portable app?
01:46:54 <The_MAZZTer> hmm doesn't seem to be a good way to do it :(
01:46:59 <The_MAZZTer> from a glance at the code
01:47:12 <sar3th> hi The_MAZZTer, just wanted to say hey and thanks for minecraft portable ;)
01:47:21 <The_MAZZTer> :) np
01:47:30 <The_MAZZTer> I'm probably gonna port that to PAL soon
01:47:38 <The_MAZZTer> PAL is my PAL <3
01:50:55 <The_MAZZTer> aja
01:51:11 <The_MAZZTer> if I can move my code to the Init hook should be safe to call Abort in there
02:01:24 *** GordCaswell (~GordCaswe@unaffiliated/ve4jhj) has joined #portableapps
02:01:29 <GizmoBot> GordCaswell is the developer of Armagetron Advanced Portable, Evince Portable & ZSoft Uninstaller Portable
02:02:22 <GordCaswell> .seen ChrisMorgan
02:02:22 <GizmoBot> Sorry, I haven't seen chrismorgan around.
02:02:28 <GordCaswell> .seen kAlug
02:02:29 <GizmoBot> GordCaswell: I last saw kalug at 2012-01-09 21:43:15 UTC on #portableapps
02:02:33 <GordCaswell> .t
02:02:33 <GizmoBot> Mon, 09 Jan 2012 20:03:09 CST
02:02:39 <GordCaswell> .t GMT
02:02:39 <GizmoBot> Tue, 10 Jan 2012 02:03:16 GMT
02:03:04 <The_MAZZTer> hey... I have a need to abort my launcher if arbitrary conditions in custom code are not met
02:03:53 <The_MAZZTer> My code was in the PrePrimary section hook; since there seems to be no mechanism in PAL to abort cleanly I am trying to move my code to the Init hook
02:03:54 <The_MAZZTer> since that runs first so I can safely call Abort
02:04:16 <The_MAZZTer> kinda having problems though... oddly when I move it my custom plugin dll I'm calling stops working :X
02:06:48 <GordCaswell> Nothing else was changed, you just changed where you called it from?
02:06:55 <The_MAZZTer> yeah
02:07:01 <The_MAZZTer> then the crypto api yells at me :(
02:07:14 <The_MAZZTer> I'm gonna try tweaking the function call, I see something wrong with it anyway
02:07:21 <The_MAZZTer> (though it worked before)
02:10:48 *** ZachThibeau has quit (Quit: TheCyberShocker ZNC Service http://thecybershocker.com/)
02:11:17 <The_MAZZTer> huh I think that fixed it
02:11:30 <The_MAZZTer> my crypto initialization was doing more than it needed to do
02:11:58 <The_MAZZTer> now to stick this in another PC and test it to be sure it's working
02:12:09 <GordCaswell> heh. always something simple, eh?
02:13:13 <The_MAZZTer> yeah I was looking at the MSDN for this function and it says "if you're doing this, you probably want to call this function like this" and I'm like "hmm I want to do this, but I didn't call the function like that"
02:13:21 <The_MAZZTer> and I made the change
02:13:22 <The_MAZZTer> weird oh well
02:15:40 <The_MAZZTer> hey it doesn't blow up on 7 OR XP
02:15:40 <The_MAZZTer> milestone!
02:16:05 <GordCaswell> nice!
02:16:22 <The_MAZZTer> ... hmm chrome is taking its sweet time in the vm to launch
02:19:59 <The_MAZZTer> grr
02:20:01 <The_MAZZTer> it's doing something weird
02:20:11 * The_MAZZTer process kills and tests in virtualbox instead
02:25:04 <The_MAZZTer> oh, I realized I need to check in my init stuff now to see if I am a secondary instance
02:25:04 <The_MAZZTer> fun
02:25:04 * The_MAZZTer looks for windows api calls for checking mutexes
02:42:17 *** kAlug (~kalug@200-232-219-27.dsl.telesp.net.br) has joined #portableapps
02:42:28 <kAlug> GordCaswell: What's up?
02:43:26 <GordCaswell> I was looking for a way to write a value to a file, but only on the first-ever run of the launcher, I think I've gotten around it, though
02:44:58 <The_MAZZTer> read/write a setting to Data\settings\<AppNamePortable>Settings.ini
02:45:00 <kAlug> Ah... DefaultData?
02:45:02 <The_MAZZTer> for first run
02:45:05 <The_MAZZTer> oh
02:45:12 <The_MAZZTer> defaultdata works better >_>
02:46:00 <GordCaswell> Yeah, I'm using DefaultData for it now. I wasn't going to, as the app recreates the settings itself, but it's all good
02:46:56 <kAlug> The_MAZZTer: on http://portableapps.com/node/30472 , use a NSIS variable and StrCpy it to $ExecString on ${PreExec}.
02:48:22 <kAlug> Here's an example: http://p.kalug.net/7
02:48:32 <The_MAZZTer> that would work I guess
02:50:06 <The_MAZZTer> actually there are examples in the iron portable launcher I used as a base -_-
02:50:08 <The_MAZZTer> whoops
02:50:39 <The_MAZZTer> now to figure out why chrome isn't getting launched at all on XP
02:52:05 *** GordCaswell has quit (Quit: Leaving)
02:52:45 <kAlug> Enable debug mode.
02:54:19 <The_MAZZTer> that sounds useful
02:54:23 * The_MAZZTer looks into that
02:54:52 <The_MAZZTer> UGH
02:54:56 <The_MAZZTer> it's crashing in my custom plugin
02:54:58 <The_MAZZTer> FUN TIME
02:55:15 <kAlug> Which plugin is it? PortablePasswords?
02:56:21 <The_MAZZTer> yes
02:58:52 <The_MAZZTer> guh? it looks like it never even enters my plugin function
02:58:56 <The_MAZZTer> wait
02:59:03 <The_MAZZTer> I didn't do something stupid like compile a 64-bit dll did I
02:59:06 * The_MAZZTer checks
02:59:32 <kAlug> Ah... this reminds me I have to integrate it with Chromium Portable. What license is it under? GPL? If so, what version?
02:59:52 <The_MAZZTer> gpl2
03:03:55 *** techfreak243 has quit (Ping timeout: 240 seconds)
03:08:52 <kAlug> The_MAZZTer: Is this fine? http://p.kalug.net/3
03:13:58 *** sar3th has quit (Ping timeout: 252 seconds)
03:19:37 <The_MAZZTer> no clue, it expired :)
03:19:39 <The_MAZZTer> your paste*
03:20:37 <kAlug> http://p.kalug.net/7
03:22:57 <The_MAZZTer> stupid plugin still isn't working
03:23:05 <The_MAZZTer> sure that's fine
03:24:18 *** GordCaswell (~GordCaswe@unaffiliated/ve4jhj) has joined #portableapps
03:24:23 <GizmoBot> GordCaswell is the developer of Armagetron Advanced Portable, Evince Portable & ZSoft Uninstaller Portable
03:24:23 <The_MAZZTer> old version of my plugin doesn't work either
03:24:52 <kAlug> Try using the version from Iron Portable.
03:25:16 <The_MAZZTer> same version
03:25:18 <The_MAZZTer> at least it should be
03:25:45 <The_MAZZTer> well I got it to do something else at least
03:26:05 <The_MAZZTer> I think it didn't like being run from a network drive
03:26:43 <The_MAZZTer> GRR visual c++ why do you have files open in exclusive mode
03:27:58 <The_MAZZTer> oh hey it crashes now
03:28:10 <The_MAZZTer> that is an improvement, sadly
03:30:18 <The_MAZZTer> crashes in ntdll.dll with a null pointer
03:31:36 <The_MAZZTer> aaand it stopped working in 7 too
03:32:01 <The_MAZZTer> wait no there it goes
03:34:18 <The_MAZZTer> I add MessageBox statements and it starts working
03:34:23 <The_MAZZTer> ARGH
03:35:11 <The_MAZZTer> I remove them and it starts crashing again
03:43:01 <The_MAZZTer> I compile my plugin in debug mode and the problem disappears
03:43:06 <The_MAZZTer> I add messageboxes and the problem disappears
04:01:36 <The_MAZZTer> whoops
04:01:46 <The_MAZZTer> I bet it would help if I compiled with the unicode version of the NSIS plugin stuff
04:03:33 *** kAlug has quit (Ping timeout: 252 seconds)
04:07:02 *** kAlug (~kalug@200-232-219-27.dsl.telesp.net.br) has joined #portableapps
04:10:09 <kAlug> The_MAZZTer: Got it?
04:12:20 <The_MAZZTer> if by "got it" you mean I need to learn how to use unicode string functions in C++ and change almost every line of code in my plugin then somehow get it workingagain, sure
04:13:07 <The_MAZZTer> I am bound to get string lengths in bytes and tchars confused along the way whee
04:13:16 <kAlug> Maybe using CallANSIPlugin can help?
04:13:35 <The_MAZZTer> oh I forgot about that
04:13:38 <The_MAZZTer> but this needs doing anyway
04:13:56 <The_MAZZTer> since passwords can be in utf-16 and right now I don't handle those
04:16:06 *** Suiseiseki has quit (Read error: Connection reset by peer)
04:20:43 *** ronjn___ (~ronjn@p5B13C7CA.dip.t-dialin.net) has joined #portableapps
04:21:21 *** ronjn has quit (Ping timeout: 268 seconds)
04:26:32 *** ronjn___ has quit (Remote host closed the connection)
04:27:00 *** Suiseiseki (~desu@wikipedia/Antonio-Lopez) has joined #portableapps
04:27:17 *** ronjn (~ronjn@p5B13C7CA.dip.t-dialin.net) has joined #portableapps
04:31:29 *** Suiseiseki has quit (Ping timeout: 252 seconds)
04:32:33 *** Suiseiseki (~desu@wikipedia/Antonio-Lopez) has joined #portableapps
04:33:54 *** Suiseiseki has quit (Read error: Connection reset by peer)
04:40:53 *** kAlug has quit (Ping timeout: 248 seconds)
04:42:45 *** kAlug (~kalug@200-232-219-27.dsl.telesp.net.br) has joined #portableapps
04:48:08 *** Suiseiseki (~desu@wikipedia/Antonio-Lopez) has joined #portableapps
05:08:15 *** The_MAZZTer has quit (Ping timeout: 240 seconds)
05:11:58 *** kAlug has quit (Quit: Nettalk6 - www.ntalk.de)
06:07:22 *** PlauSocks is now known as PlauSocks|AFK
06:16:26 *** GordCaswell has quit (Quit: Leaving)
07:44:04 *** pa_3590 (ca037804@gateway/web/freenode/ip.202.3.120.4) has joined #portableapps
07:44:53 *** pa_3590 has quit (Client Quit)
08:14:40 *** PlauSocks|AFK has quit (Read error: Connection reset by peer)
08:15:03 *** PlauSocks|AFK (~Kyle@69.177.215.87) has joined #portableapps
08:15:03 *** PlauSocks|AFK has quit (Changing host)
08:15:03 *** PlauSocks|AFK (~Kyle@unaffiliated/sergentsiler) has joined #portableapps
08:32:50 *** ChrisMorgan (~ChrisMorg@unaffiliated/chrismorgan) has joined #portableapps
09:21:05 *** pa_5543 (c34cb6ac@gateway/web/freenode/ip.195.76.182.172) has joined #portableapps
09:21:33 *** pa_5543 has quit (Client Quit)
11:08:35 *** ChrisMorgan has quit (Ping timeout: 240 seconds)
11:15:39 *** techfreak243 (~techfreak@c-68-40-88-129.hsd1.mi.comcast.net) has joined #portableapps
11:58:57 *** ChrisMorgan (~ChrisMorg@unaffiliated/chrismorgan) has joined #portableapps
12:22:55 *** techfreak243 has quit (Ping timeout: 240 seconds)
12:24:09 *** ChrisMorgan has quit (Quit: Leaving.)
12:39:06 *** The_MAZZTer (~mzzt@2001:0:5ef5:79fb:34b0:3929:52c2:132b) has joined #portableapps
13:14:48 *** TPFC-SYSTEM (~system@gateway/tor-sasl/tpfc-system) has joined #portableapps
14:20:03 *** mzzt (~mzzt@2001:0:5ef5:79fb:34b0:3929:52c2:132b) has joined #portableapps
14:21:19 *** The_MAZZTer has quit (Read error: Connection reset by peer)
14:39:33 *** SrgSiler (~Kyle@unaffiliated/sergentsiler) has joined #portableapps
14:40:15 *** PlauSocks|AFK has quit (Ping timeout: 240 seconds)
14:40:15 *** OliverK has quit (Ping timeout: 240 seconds)
14:41:44 *** OliverK|Away (~OliverK@unaffiliated/oliverk) has joined #portableapps
15:43:21 *** The_MAZZTer (~mzzt@2001:0:4137:9e76:869:2b89:52c2:132b) has joined #portableapps
15:46:45 *** mzzt has quit (Ping timeout: 248 seconds)
16:00:48 *** Zarggg has quit (Ping timeout: 252 seconds)
16:17:27 *** TPFC-SYSTEM has quit (Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/)
16:46:18 *** mzzt (~mzzt@2001:0:5ef5:79fd:3461:1e04:52c2:132b) has joined #portableapps
16:49:15 *** The_MAZZTer has quit (Ping timeout: 240 seconds)
17:03:27 *** kAlug (~kalug@200-232-219-27.dsl.telesp.net.br) has joined #portableapps
17:04:13 <kAlug> hi mzzt
17:08:31 *** The_MAZZTer (~mzzt@2001:0:4137:9e76:1802:184f:52c2:132b) has joined #portableapps
17:10:00 <kAlug> hi The_MAZZTer
17:12:05 *** mzzt has quit (Ping timeout: 248 seconds)
17:14:08 *** kAlug has quit (Ping timeout: 240 seconds)
17:14:48 *** kAlug (~kalug@200-232-219-27.dsl.telesp.net.br) has joined #portableapps
17:18:40 *** SrgSiler is now known as PlauSocks
17:23:36 *** andreasma (~andi@p5B07C645.dip.t-dialin.net) has joined #portableapps
17:40:21 *** PlauSocks is now known as PlauSocks|AFK
17:45:33 *** kAlug has quit (Quit: Nettalk6 - www.ntalk.de)
18:17:27 *** Thasmo (~thasmo@d86-33-68-66.cust.tele2.at) has joined #portableapps
18:26:54 *** Thasmo has quit (Read error: Connection reset by peer)
18:45:33 *** Thasmo (~thasmo@d86-33-68-66.cust.tele2.at) has joined #portableapps
20:38:57 *** sar3th (~sar3th@unaffiliated/sar3th) has joined #portableapps
20:42:05 *** benedikt93 (~benedikt9@unaffiliated/benedikt93) has joined #portableapps
21:22:31 *** benedikt93 has quit (Quit: Bye ;))
21:28:38 *** sar3th has quit (Ping timeout: 240 seconds)
21:30:04 *** sar3th (~sar3th@unaffiliated/sar3th) has joined #portableapps
21:39:17 *** andreasma has quit (Quit: Verlassend)
21:51:03 *** Zarggg (~zarggg@24.229.139.169.res-cmts.sm.ptd.net) has joined #portableapps
21:57:32 *** JohnTHaller (~JohnTHall@cpe-98-14-114-27.nyc.res.rr.com) has joined #portableapps
21:57:36 *** ronjn has quit (Quit: Rien n'est vrai. Tout est permis.)
22:05:02 *** ronjn (~ronjn@p5B13C7CA.dip.t-dialin.net) has joined #portableapps
22:08:16 *** ronjn has quit (Client Quit)
22:11:43 *** ronjn (~ronjn@p5B13C7CA.dip.t-dialin.net) has joined #portableapps
22:57:57 *** kAlug (~kalug@201-0-62-157.dsl.telesp.net.br) has joined #portableapps
22:58:13 <kAlug> JohnTHaller?
22:59:19 <JohnTHaller> hi kAlug
22:59:42 <kAlug> aloha
23:00:22 <JohnTHaller> how goes it
23:03:19 <kAlug> Slow. Thinking on how to release PAL 3.0 faster; Chris wants a test system.
23:04:31 <JohnTHaller> I thought we were trying to get 2.2 out and fixe the runtime INI on crash issues first
23:06:05 <kAlug> Hold on...
23:06:55 * kAlug loves grepWin
23:07:15 <kAlug> 06:05:55 <ChrisMorgan> kAlug: what do you reckon of scrapping PAL 2.2, including .NET support, GhostScript support, maybe one or two other things and calling it 3.0? Let's all jump on the high-version-numbers bandwagon!
23:07:50 <JohnTHaller> How about a quick 2.2 release with just the runtime INI fix?
23:07:55 <JohnTHaller> And then 3.0 with all the happy things
23:07:59 <sar3th> oh, so Chris jumped the Chrome/Firefox train ;D?
23:08:33 <JohnTHaller> I'm waiting on the runtime INI fix before using PAL more widely. The runtime INI and failure to launch after a crash or unsafe eject is a real killer.
23:11:37 <kAlug> I'll see if I can isolate that change and then I'll need to talk with him. Anything else you want from http://portableapps.chrismorgan.info/launcher/manual/releases/3.0/ ?
23:12:40 <JohnTHaller> I think the runtime INI is the only critical one
23:14:34 *** PlauSocks|AFK is now known as PlauSocks
23:26:53 <kAlug> Alright.
23:29:33 *** sar3th has quit (Quit: "Our culture doesn't get smarter, it just finds new ways of being retarded.")
23:35:34 *** kAlug has quit (Quit: Nettalk6 - www.ntalk.de)
23:46:56 <JohnTHaller> alright, I'm off. May pop in later. If not, good night all.
23:47:34 *** JohnTHaller has parted #portableapps (None)
23:54:34 *** pa_7851 (d840befe@gateway/web/freenode/ip.216.64.190.254) has joined #portableapps
23:58:51 *** pa_7851 has quit (Ping timeout: 258 seconds)