Perl 6 - the future is here, just unevenly distributed

IRC log for #perl11, 2015-05-28

| Channels | #perl11 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:00 willthechill also uncrustify
00:00 willthechill http://uncrustify.sourceforge.net/
00:00 willthechill all 3 of those are open source, and will supposedly work in both Windows and Linux
00:00 willthechill I'll test them in Linux
00:00 willthechill :)
02:25 davido_ joined #perl11
06:37 willthechill joined #perl11
09:27 basiliscos joined #perl11
09:49 bulk88 astyle can't run on XP since it was built with VC 2013 and didn't have the secret option to turn on XP support
09:49 bulk88 also astyle's VC build projects only go back to 2008, I use 2003
10:02 bulk88 after hacking the headers of the exe I got it to run uneventpufully and format some code
10:11 bulk88 bcpp was a nightmare to compile for windows, it is chug chug slow in formatting 1.5 MB of ,i file
10:12 bulk88 astyle processes it instatly
10:17 bulk88 astyle splits lines based on ";"s bcpp doesn'y
10:17 bulk88 so bcpp is nearly useless IMO
11:19 bulk88 uncrustify crashed/SEGV box caee up when given a bad C file/a C file that would be a syntax error, like BCCP it didn't split ;s into lines
11:20 bulk88 my opinion, astyle is the best once the copiler user is fixed by astyle's dev
11:20 bulk88 astyle was the only one that turned multiple C statements (multiple ;s) on 1 line into multipe lines
12:01 basiliscos joined #perl11
13:40 basiliscos joined #perl11
15:46 ToApolytoXaos joined #perl11
15:54 basiliscos joined #perl11
17:13 willthechill bulk88: wow, AWESOME feedback, thank you so much!
17:17 basiliscos joined #perl11
18:16 willthechill bulk88: astyle used to have a VS2003 build file until somewhere in 2010 or 2011
18:16 willthechill https://web.archive.org/web/20100420044755/http://astyle.sourceforge.net/install.html
18:17 willthechill "There are configuration and project files for 4 versions of the Visual C compiler; build/vs2003 (Visual Studio 2003), build/vs2005 (Visual Studio 2005), build/vs2008 (Visual Studio 2008)  and build/vs2010 (Visual Studio 2010)."
18:18 willthechill are a lot of people still using VS2003, or are you the last guy left?
18:26 willthechill bulk88: I think I found the VC2003 files you're looking for!
18:26 willthechill https://github.com/timonwong/astyle-mirror/tree/d136b215f999a95af020a192376215ce32338bfb/build/vs2003
18:27 willthechill please try to get those files to work for you.  then we can submit a patch request via sourceforge to get the VC2003 support put back in to the latest astyle release
18:37 basiliscos joined #perl11
19:23 willthechill ToApolytoXaos: do you happen to have a Windows box?  bulk88 is the only Windows tester we have and it would be nice to have somebody to help him...
19:24 ToApolytoXaos i have at work :/
19:24 willthechill are you allowed to use it to compile RPerl for testing?
19:24 ToApolytoXaos lol, especially tomorrow i don't think i will in the mood to do so
19:24 ToApolytoXaos it will be the announcing day for redundancies
19:26 willthechill haha well it doesn't have to be tomorrow
19:26 willthechill and yes, I understand you don't know if you will stay at that job or not
19:26 willthechill so I will wait for you to tell me in a few days.  :)
19:26 ToApolytoXaos i hope during the weekend to set up a virtual machine
19:26 ToApolytoXaos strawberry perl?
19:27 willthechill I forget what Perl distro bulk88 uses...
19:27 willthechill but we need to test them all anyway!  :)
19:27 ToApolytoXaos for sure
19:27 willthechill Active Perl, Strawberry Perl, Cygwin, etc.
19:27 willthechill there is at least 1 bug in Windows which bulk88 found a few days ago
19:27 ToApolytoXaos cygwin can be tested with msysgit
19:28 ToApolytoXaos one only?! ha!
19:28 willthechill AT LEAST 1 bug
19:28 willthechill which stops testing from working
19:28 ToApolytoXaos shitty windows
19:28 willthechill so we don't know how many bugs there are
19:28 ToApolytoXaos hopefully on the weekend i will test it
19:28 bulk88 rperl's Config.pm completly mangles the drive letter when it splits paths into arrays and reglues them
19:28 willthechill haha yes well as much as we may not care for other operating systems, we are stuck with the situation
19:28 willthechill bulk88: yes that's the bug!  :)
19:29 basiliscos joined #perl11
19:29 willthechill and I have no idea how to fix this until we have somebody with Windows
19:29 willthechill of course I WANT to fix it!  :)
19:31 willthechill bulk88: I'm going to wait a few days before I start to integrate astyle with RPerl, to give you the time to check out the VS2003 files I found
19:34 willthechill ToApolytoXaos: the latest code from github has several hundred new automatic tests via 11_generate.t which I just created
19:34 willthechill we are actually testing code output!
19:34 willthechill :D
19:34 willthechill over 2_800 tests so far, and counting
19:35 ToApolytoXaos brilliant :D
19:35 willthechill ToApolytoXaos: bulk88 and I are testing C++ code beautifiers, I narrowed it down to bcpp and astyle and uncrustify
19:35 willthechill bulk88 helped narrow it down to astyle
19:35 ToApolytoXaos astyle is used by codeblocks and i'm quite pleased with it
19:36 willthechill great!  :D  :D  :D
19:36 willthechill I was hoping you'd say that!  :)
19:36 ToApolytoXaos it's by far the best i have tested to be honest
19:37 willthechill as long as I can get astyle to play nice with RPerl, and bulk88 can get it to play nice with his VS2003, then astyle will be integrated into RPerl!  :)
19:37 ToApolytoXaos for windows
19:37 willthechill yes, astyle works with both Linux and Windows
19:37 willthechill that is key!  :)
19:37 ToApolytoXaos yes, i know
19:38 willthechill I don't want to adopt any OS-specific code
19:38 ToApolytoXaos yeah, sure you don't want
19:41 ToApolytoXaos there you go https://github.com/obfuscated/codeblocks_sf/tree/master/src/plugins/astyle
19:41 ToApolytoXaos just check what they use as generic code and use that
19:41 willthechill what do you mean, "a generic code"?
19:42 ToApolytoXaos there might be parts of wxWidgets in the plugin
19:43 ToApolytoXaos but you could see which parts are necessary that don't need tweak to make them work with VS2003
19:44 willthechill well bulk88 already hand-tweaked the latest version of astyle to work with VS2003, and I found the old VS2003 config files from astyle in 2009 for him to use, hopefully we will find a solid solution and get VS2003 support re-introduced in the next version of astyle
19:45 ToApolytoXaos you mean this? https://visualstudiogallery.msdn.microsoft.com/2f3f04cd-2866-4e47-a671-d1cc9cc3fb02
19:46 willthechill nope, that link only supports back to VS2010, I found it and discarded it
19:46 willthechill I'm talking about the fact that astyle used to have native VS2003 support until approx 2010
19:46 basiliscos joined #perl11
19:46 willthechill this link tells about VS2003 support:   https://web.archive.org/web/20100420044755/http://astyle.sourceforge.net/install.html
19:47 willthechill this link has the actual VS2003 support files:   https://github.com/timonwong/astyle-mirror/tree/d136b215f999a95af020a192376215ce32338bfb/build/vs2003
19:50 ToApolytoXaos i see
19:52 willthechill We'll probably want to somehow re-enable support for VS2005 while we're at it, if possible;  seems like bad form to enable VS2003, then skip VS2005, then support VS2008 onward...
19:54 willthechill RPerl itself supports back to Perl v5.10, which was released in 2007
19:54 willthechill I was hoping to support Perl v5.8 but it was having too many errors, so I disabled it
19:54 ToApolytoXaos lol i have read an article about a guy who was and still using VC++ 6
19:56 willthechill wow 1989 is a long time ago
19:56 willthechill OH WAIT that was VC 6.0
19:56 ToApolytoXaos i honestly don't know what to say
19:56 willthechill VC++ 6.0 was 1998
19:56 willthechill still, a long time ago
19:57 willthechill only 5 years older than VS2003, haha!  ;)
19:57 ToApolytoXaos yeah, i guess he ran the necessary updates
20:49 bulk88 I occasionally test on VC 6, it is the lowest VC Perl 5 supports, I dont have the VC 6 GUI installed AFAIK to save disk space, so I can't "solution" file building, astyle uses "solution" files, not makefiles or a .bat file or MSBuild files
20:53 willthechill okay I think we're mixing issues, we were talking about VC v6.0 and VC++ v6.0 as a bit of a joke, not in reference to actually using VC(++) v6.0 for any of our own purposes
20:53 willthechill I posted the github mirror for the old VS2003 build files for astyle
20:53 willthechill https://github.com/timonwong/astyle-mirror/tree/d136b215f999a95af020a192376215ce32338bfb/build/vs2003
20:54 willthechill I am hoping those VS2003 files can be used to fully enable a stable astyle build on your machine, at which point we can ask the astyle devs to accept VS2003 support back into astyle
20:54 willthechill because they took out the VS2003 files sometime around 2010

| Channels | #perl11 index | Today | | Search | Google Search | Plain-Text | summary