--- Log opened Mon Nov 05 00:00:02 2018 |
00:11 | <@celticminstrel> | XD What |
00:11 | <@celticminstrel> | Is it actually a Java classfile or is the Finder or something merely misidentifying it as such? |
00:20 | <&McMartin> | The first four bytes are 0xCA 0xFE 0xBA 0xBE |
00:20 | <&McMartin> | That's the Java Classfile magic number |
00:20 | <&McMartin> | Also, unrelated |
00:20 | | * McMartin murders Xcode right in its stupid face, cackles maniacally |
00:21 | <&McMartin> | I just found the last piece of something I've wanted to do for a long, long time |
00:22 | <&McMartin> | A completely self-contained Cocoa executable that does not require anything from a containing application bundle to actually run |
00:33 | | Kindamoody is now known as Kindamoody[zZz] |
00:37 | | VirusJTG_ [VirusJTG@Nightstar-q9r0g8.clt.hostedsolutions.com] has joined #code |
00:40 | | VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [Ping timeout: 121 seconds] |
00:41 | | VirusJTG__ [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code |
00:44 | | VirusJTG_ [VirusJTG@Nightstar-q9r0g8.clt.hostedsolutions.com] has quit [Ping timeout: 121 seconds] |
00:49 | | VirusJTG__ [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [[NS] Quit: Leaving] |
00:56 | | ErikMesoy [Bruker@Nightstar-hq72t5.customer.cdi.no] has quit [Ping timeout: 121 seconds] |
01:07 | | ErikMesoy [Bruker@Nightstar-hq72t5.customer.cdi.no] has joined #code |
01:28 | | VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code |
01:28 | | mode/#code [+ao VirusJTG VirusJTG] by ChanServ |
01:45 | | Derakon[AFK] is now known as Derakon |
01:53 | <@celticminstrel> | Oh nice. |
02:37 | <&McMartin> | For this it turns out that 10.7 is the earliest reasonable version to target; Cocoa is completely miserable to use without ARC, and 10.6's support for ARC is... incomplete in important ways |
03:00 | <&McMartin> | celticminstrel: See if https://www.dropbox.com/s/6oi7qja7nhbiz4a/macCCA-console.zip?dl=1 works for you when executed from Terminal.app |
04:07 | <@celticminstrel> | What does it do |
04:07 | <@celticminstrel> | Oh there's a readme |
04:08 | <@celticminstrel> | It threw an exception. |
04:08 | <@celticminstrel> | Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSWindow windowWithContentViewController:]: unrecognized selector sent to class 0x7fff757e6a70' |
04:09 | <@celticminstrel> | So I guess it doesn't work on 10.7 huh. |
04:10 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] |
04:23 | <&McMartin> | That's interesting |
04:23 | <&McMartin> | I told it the target deployment was 10.7 and it didn't complain about lacking that |
04:23 | | * McMartin hits up the API lists |
04:24 | <&McMartin> | Yeah, OK, that turns out to have been secretly added in 10.10 and there's no deprecation warnings on it. |
04:34 | | Derakon is now known as Derakon[AFK] |
04:37 | <&McMartin> | OK, it looks like the window lifecycle changed *drastically* in 10.10 |
04:37 | <&McMartin> | I'll have to play with it more to get to 10.7; for now that is not a concern~ |
04:48 | <@celticminstrel> | What are they on now, anyway? 10.14 or so? |
04:48 | <&McMartin> | Yes |
04:48 | <@celticminstrel> | Wonder if they'll ever roll up the major revision again. |
04:49 | <&McMartin> | 10.10 basically went and patched in iOS's then-contemporary application lifecycle code into macOS |
04:49 | <@celticminstrel> | Uh, that sounds a little bad. |
04:49 | <&McMartin> | Having ViewControllers not be Views seems to have ended up being a pretty good idea |
04:49 | < Mahal> | Microsoft and Apple both seem to have been on the "single platform for multiple device types" kick for awhile |
04:49 | < Mahal> | just executed in different fashions |
04:50 | <@celticminstrel> | Mind you, as long as I'm only using SDL / SFML / Unreal it probably won't ever matter. |
04:50 | <&McMartin> | This one was one of iOS's few ideas good enough for Android to steal~ |
04:50 | <&McMartin> | (Android calls them Fragments) |
04:50 | <&McMartin> | Windows, uh, kind of already had this with the way WndClass worked back in 1998 |
04:50 | <@celticminstrel> | Hm? Is iOS actually merged with MacOS? |
04:50 | <&McMartin> | Not yet |
04:50 | <@celticminstrel> | This sounds ominous. :/ |
04:50 | <&McMartin> | But AppKit got a bunch of new API points that weren't there before 10.10 because UIKit had them |
04:51 | <@celticminstrel> | Well, that's less ominous. |
04:51 | <&McMartin> | Indeed, the reason my application crashed on 10.7 was because I was using those API points to control the windows' lifecycles |
04:51 | < Mahal> | I have far more philosophical issues with Microsoft's execution of this concept. |
04:51 | < Mahal> | the touchpanel interface on a server is just unconscionably bad |
04:52 | <@celticminstrel> | ...on a server? Huh? |
04:52 | <&McMartin> | celticminstrel: But basically, this means that I need to get the rest of this application working the way I want, to my satisfaction, before downgrading the application architecture to only use 10.5 classes (the last major API shift, presumably due to Intel Macs dropping a ton of cruft) |
04:53 | <@celticminstrel> | You're actually gonna make it work on 10.5 huh. |
04:53 | <&McMartin> | Nope, 10.7 is the lowest I care about |
04:53 | <@celticminstrel> | Ah okay. |
04:53 | <&McMartin> | But that's because of the language runtime, not the API. |
04:53 | <&McMartin> | No class I want to use was introduced in 10.7 |
05:08 | <&McMartin> | I have two goals here, really |
05:08 | <&McMartin> | One is the ability to run a Cocoa app as a normal console application, which this does |
05:09 | <&McMartin> | The other is to be able to produce a Mac application with a bog-standard makefile without having to go through a bunch of Xcode-specific jackassery but just use a mostly-Unix makefile and then a "make_macos_bundle.sh" or similar afterwards. |
05:17 | | VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [[NS] Quit: Leaving] |
05:18 | | himi [sjjf@Nightstar-1drtbs.anu.edu.au] has quit [Ping timeout: 121 seconds] |
05:32 | | VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code |
05:32 | | mode/#code [+ao VirusJTG VirusJTG] by ChanServ |
05:48 | <&McMartin> | Aha, the trick I was missing was that I need to touch the app directory after changing its contents for Finder to notice. |
05:51 | | mac is now known as macdjord|slep |
05:55 | <&McMartin> | Looking good |
06:06 | | celticminstrel is now known as celmin|sleep |
06:18 | | gnolam [lenin@Nightstar-ego6cb.cust.bahnhof.se] has quit [[NS] Quit: Urghl] |
06:18 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
06:18 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
07:16 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
07:16 | | mode/#code [+o himi] by ChanServ |
07:39 | | JustBob [justbob@Nightstar.Customer.Dissatisfaction.Administrator] has quit [Ping timeout: 121 seconds] |
08:32 | | gnolam [quassel@Nightstar-ka2.qlm.12.176.IP] has joined #code |
08:32 | | mode/#code [+o gnolam] by ChanServ |
09:01 | | JustBob [justbob@ServerAdministrator.Nightstar.Net] has joined #code |
09:02 | | mode/#code [+o JustBob] by ChanServ |
09:02 | | Kindamoody[zZz] is now known as Kindamoody |
10:24 | | gnolam [quassel@Nightstar-ka2.qlm.12.176.IP] has quit [[NS] Quit: Bhohh] |
10:50 | | Kindamoody [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Ping timeout: 121 seconds] |
10:51 | | Kindamoody [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code |
10:51 | | mode/#code [+o Kindamoody] by ChanServ |
13:44 | | celmin|sleep is now known as celmin|away |
16:53 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code |
17:11 | | Degi [Degi@Nightstar-kshuoi.dyn.telefonica.de] has joined #code |
19:21 | <&McMartin> | 20:53 <&McMartin> No class I want to use was introduced in 10.7 |
19:21 | <&McMartin> | Turns out this is a lie; that's when Auto Layout was introduced to macOS and that's the only layout API on Apple I actually know how to use |
19:21 | | Kindamoody [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Ping timeout: 121 seconds] |
19:24 | | gnolam [quassel@Nightstar-csto10.cust.bahnhof.se] has joined #code |
19:24 | | mode/#code [+o gnolam] by ChanServ |
20:07 | | Kindamoody|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code |
20:07 | | mode/#code [+o Kindamoody|autojoin] by ChanServ |
20:08 | | Kindamoody|autojoin is now known as Kindamoody |
20:14 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
21:54 | <&McMartin> | Digging through the API requirements, I have concluded that requiring 10.10 is like requiring Windows 7, and requiring 10.7 is like requiring Windows XP. |
21:57 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code |
21:57 | | mode/#code [+o Reiv] by ChanServ |
21:58 | | Orthia [quassel@Nightstar-ksqup0.co.uk] has quit [[NS] Quit: http://quassel-irc.org - Chat comfortably. Anywhere.] |
21:58 | | Reiver [quassel@Nightstar-ksqup0.co.uk] has quit [[NS] Quit: Reblooting.] |
22:01 | | himi [sjjf@Nightstar-1drtbs.anu.edu.au] has joined #code |
22:01 | | mode/#code [+o himi] by ChanServ |
22:07 | | gnolam [quassel@Nightstar-csto10.cust.bahnhof.se] has quit [[NS] Quit: Z?] |
23:06 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [[NS] Quit: Leaving] |
23:27 | | Degi [Degi@Nightstar-kshuoi.dyn.telefonica.de] has quit [Connection closed] |
--- Log closed Tue Nov 06 00:00:03 2018 |