IRC Logs

Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2014/07/06)2014/07/07 
erinaceus_1 Hi, I'm trying to combine multiple pdf files into one, but one of the pages was scanned upside down. I've tried rotating this page using pdftk, the system now shows it rotate, but gs still includes it upside down. Do i have to tell gs to rotate the page manually?07:32.42 
kens No, it should honour the /Rotate in the documet, but without seeing the document, and knowing the command line you are using, I can't tell. Possibly you have left /AutoRotatePages at its default se4tting ?07:33.35 
  By the way, note that unlike pdftk, the GS pdfwrite device doesn't 'combine' PDFs, it creates a brand new PDF from the inptu sources; it should look the same, but that's all, it won't have any of the original PDF data contained in it07:34.45 
erinaceus_1 Ok, might be my fault. I tried it with the 'pdftk "list" output cat output.pdf' command now and it worked. 07:36.52 
  That's good to know, but not a problem in my case. 07:37.07 
kens I don't know pdftk, but if its working, then all is fine07:37.26 
erinaceus_1 Well, i'm out of here again, thx for the help. Have a nice day.07:38.06 
kens NP bb07:38.12 
jogux_ good morning all08:25.07 
  so... new version of smartoffice for iOS appears to be live on the appstore08:25.08 
kens Hi jogux08:25.15 
jogux_ paulgardiner: so - iOS app now live. lots of nice reports in crashlytics ;-) [from a quick check none obviously relate to anything we know changed]08:31.00 
paulgardiner Yes. I guess we should expect crashlytics to show up some problems08:32.28 
jogux luckly the thing that it's very good at is quickly showing us which ones are having the most impact08:33.27 
paulgardiner Can't be sure these aren't new problems, but no reason to think they are until we see reviews saying otherwise08:33.32 
jogux it's a shame the forums aren't ready. (they're not, right?)08:35.47 
  I guess someone should let miles etc know, and check they're happy with my 'what's new' text etc?08:36.55 
  annoying biggest crash so far is somewhere in the guts of sqlite (though it's possible it could be a problem in how it's being called)08:38.36 
paulgardiner Forums must be close. What was left to do?08:38.40 
jogux I'm not sure :-S08:39.39 
paulgardiner I'll email Ron08:40.04 
kens Robin_Watts : ping08:51.39 
Robin_Watts pong09:08.10 
kens Robin_Watts : did you try using visualGDB with a VMware instance ?09:08.26 
Robin_Watts kens: Using the quickdebug stuff? yes.09:09.15 
kens Hmm, what's the quickdebug stuff ? I started off following teh tutorial, but I can't get it to ssh to my VM09:09.44 
Robin_Watts kens: Debug => QuickDebug with GDB09:10.20 
kens Hmm, ok le tme try that.09:10.28 
  Crumbs. What did you put in as the program to debug ? Did you mount the VM volume as a share ?09:11.19 
Robin_Watts My settings are:09:11.32 
  Debug a linux app on: root@192.168.196.109:11.46 
  Program to debug: /root/repos/sot.git/test2/page-view09:12.00 
kens Hmm interesting IP address, how did you come up with it ?09:12.06 
Robin_Watts Arguments: 72 /root/123.pdf /tmp09:12.10 
  kens: That's the address of my VM.09:12.22 
kens Umm, mine says its 192.168.198.128 and I can't ssh to it09:12.37 
Robin_Watts kens: Can you ssh to your VM from putty?09:12.52 
kens No09:12.57 
  I can't ssh to it from anywhere09:13.05 
chrisl You probably need to install and enable the ssh server, and possibly allow it via the firewall09:13.10 
Robin_Watts oh, right, well, solving that has to be the first thing then.09:13.13 
kens ANd yes, I've started sshd09:13.13 
  Firewall, hmm could be that.09:13.41 
Robin_Watts Also, you need to set up the .ssh dir with an appropriate authorized_keys 09:14.08 
chrisl What type of networking do you have in the VM?09:14.11 
kens chrisl no idea09:14.20 
  chrisl NAT09:14.35 
  'share the host's IP address'09:14.48 
chrisl That might be the problem......09:15.02 
kens I csan ping the IP adress from WIndows, so I think its probably OK09:15.24 
Robin_Watts i'm using NAT.09:15.25 
kens The Linux firewall says SSH is trusted09:15.39 
Robin_Watts kens: Do you have an ssh dir?09:15.48 
kens I doubt it09:15.53 
chrisl I tend to use bridged..... so the VM appears on the network as a separate machine09:16.00 
kens Robin_Watts : yes it seems I do have a .ssh directory09:16.21 
chrisl If you just ssh into the VM, you shouldn't need the ssh keys, it should just ask for a password09:16.31 
kens has 'identity' and 'known_hosts'09:16.39 
Robin_Watts kens: Anything in it? What permissions?09:16.39 
kens identity is -rw-------09:17.05 
  known_hosts is -rw-r--r--09:17.21 
Robin_Watts The .shh dir itself must be drwx------09:17.32 
kens Its not, its drwxrwxr-x09:18.13 
Robin_Watts That is a problem.09:18.35 
kens Well I can change it, but I'm not sure that's the trouble09:18.50 
Robin_Watts AIUI, the sshd refuses to work on any account where the .ssh dir has the incorrect settings.09:19.25 
kens Oh if I try to ssh from mingw I get a 'bad file number' error09:19.37 
  Robin_Watts : I can ssh to 'localhost' from the VM itself09:19.55 
Robin_Watts or it might be that it refuses to honour any settings files in a dir with the wrong permissions.09:20.06 
kens But not to its IP address09:20.09 
Robin_Watts chmod 700 .ssh09:20.12 
kens OK let me resatrt sshd09:20.40 
  No still can't ssh09:21.16 
jogux kens : what error?09:21.19 
kens jogux, what context ?09:21.42 
jogux or rather 'how does it fail'?09:21.50 
kens In mingw it gives me a bad file number, oh I hust got a password prompt in the VM, hold on09:22.16 
  Ah, *now* I cna login to the IP adress from the VM itself09:22.41 
  Let me try visual GDB again09:22.52 
  or better yet putty09:22.58 
  If it takes as long as the VM did this may take some time09:23.30 
  putty gave me a network error 'connection timed out'09:23.53 
chrisl Maybe try switching the VM to bridged networking, just to eliminate that?09:24.31 
kens Yeah, give me a minute, that'll mean a restart09:24.45 
chrisl Yeh, it will, obviously, also change the IP address....09:25.02 
kens hopes that doesn't break anything else :-)09:25.02 
  Yep, I'll have to find that again, no big deal09:25.15 
chrisl It should be invisible to the VM09:25.19 
kens Famous last words :-)09:25.46 
Robin_Watts rather than using putty, use plink.09:25.48 
kens OK, is there a reason ?09:26.01 
Robin_Watts plink -vv root@192.168.192.134:09:26.03 
  That gives lots of debugging about how it's trying to connect.09:26.16 
chrisl hates using "root".......09:26.21 
kens OK bear with me a minute, need to find IP adress and such09:26.31 
Robin_Watts chrisl: Likewise, but this is a simple build box.09:26.35 
kens OK so I can see it on the main network now, that's a start09:27.02 
chrisl Robin_Watts: just showing my Unix background.....09:27.02 
kens plink says unkown option -vv09:27.30 
Robin_Watts sorry, single v.09:27.44 
chrisl mu-ism?09:27.57 
Robin_Watts mmm :)09:28.03 
kens up to 'connecting to 192.168.0.16 port 2209:28.08 
  D'oh probably helps if you start the sshd09:28.26 
chrisl It should start on bootup09:28.37 
kens Nope.09:28.43 
chrisl Hmm, that's..... odd09:28.54 
kens Well I say that, if I tell ti to start it says 'starting sshd: [OK]'09:29.37 
chrisl http://docs.fedoraproject.org/en-US/Fedora/16/html/System_Administrators_Guide/s2-ssh-configuration-sshd.html09:29.55 
kens Robin_Watts : plink gives me a network error: connection timed out09:29.55 
chrisl kens: but you can ping the new IP address?09:30.14 
kens chrisl yes that's where I got the info I'm using, I just haven't sert it up to auto-start yet09:30.23 
  chrisl yes09:30.25 
Robin_Watts That smells like a firewall.09:30.41 
jogux I'm amazed ping isn't blocked tbh :-)09:30.57 
kens My Windows firewall is currently disabled, so its not that09:30.58 
Robin_Watts I'd be tempted to try telnetting to port 22.09:30.58 
  firewall on the linux box, I meant.09:31.10 
mattchz I presume mupdf is still the priority this week?09:31.22 
kens Well the Linux firewall says ssh is trusted, which I *assume* means its ok09:31.28 
Robin_Watts kens: Can you disable the firewall momentarily?09:31.48 
kens sdisables the firewall09:31.52 
Robin_Watts mattchz: I think mupdf is the priority until the obvious bugs are fixed.09:32.13 
chrisl The firewall is probably not necessary anyway, given how often kens runs linux!09:32.21 
kens aha, *now* it works :-(09:32.21 
chrisl So maybe ssh is "trusted" for outgoing connections?09:32.39 
Robin_Watts maybe it's sshd that need to be trusted?09:32.53 
kens chrisl it must be something like that,09:32.56 
  I'll go look at the firewall man page, thanks folks09:33.07 
Robin_Watts or maybe it means "ssh can be used with trusted connections"09:33.10 
chrisl kens: what version of Fedora are you running?09:34.18 
kens Not sure.09:34.24 
  remind me how to tell ?09:34.38 
chrisl "cat /etc/issue" maybe?09:35.05 
kens Well about says its Linux kernel 2.6.35.14-106.fc14.i68609:35.30 
chrisl or "cat /etc/fedora-release"09:35.37 
  well, that suggests fc 14....09:35.46 
kens Fedora release 14 (Laughlin)09:36.02 
chrisl Hmm, the hits I get are for 13 :-(09:36.36 
kens I found some stuff about configuring it, going to give it a try09:36.55 
  Well it seems now that it works anyway, no idea why because hte firewall is back on.09:39.41 
kens is thoroughly confused.09:39.48 
  Wow, seems to be working, how nice....09:43.06 
  coffee time09:45.30 
Robin_Watts kens: So how's the speed?10:20.39 
kens Robin_Watts : its pretty good, I think I've found *a* bug already, which is way better than I would have managed using ddd10:21.03 
Robin_Watts excellent.10:21.12 
kens WHich version did you buy ?10:21.13 
  custom or ultimate or Linux ?10:21.22 
Robin_Watts I bought the top one, cos I needed android and linux.10:21.27 
kens Yeah I figured that10:21.34 
  Given I know nothing about Andreoid, I may go for 'custom'10:21.53 
  My major problem at the moment is figuring out how to fix the bug I actually can see.....10:23.00 
Robin_Watts The "quickdebug" feature is the one that I figure will be most useful to you, so custom would seem appropriate.10:23.10 
kens THis is code Ray wrote to do the 1 file per page output10:23.17 
  Robin_Watts : yeah, I can probably use the 'project' approach, but.....10:23.31 
  quick debug is easy :-)10:23.41 
  aha, nice, pdfwrite *does* set the 'is_open' flag properly in the device structure, so I can use that to avoid this error I think.10:24.57 
paulgardiner jogux: shocking number of different places that SO2 is crashing.10:43.04 
jogux paulgardiner: to be honest, I can't say I'm entirely surprised.10:43.30 
  there were definitely crashes in the last version too, looking at that was the first time I've ever seen crash stats in itunesconnect.10:43.50 
  at least now we know where they are and can pick off the biggest wins.10:44.17 
paulgardiner Yeah, crashlytics will be a godsend10:44.35 
  I mean there is some chance at least of fixing these things when you have a clue where they are10:45.12 
jogux I'll try and look into some of them in the background. Might be good to knock out a new release with the worst of them fixed in a few weeks.10:45.39 
paulgardiner Yeah great if you think you have time.10:45.58 
jogux I may need to switch off my email notifications :-)10:46.44 
paulgardiner is wondering whether his looking at the Android SOG build may turn out not best done while Pete is away.10:47.21 
jogux you can always email pete questions; he was online/working earlier I think10:47.55 
paulgardiner jogux: I've had to add a new .procmail line to give Crashlytics it's own folder. :-)10:48.01 
jogux :)10:48.12 
mattchz paulgardiner/robin_watts: mind looking at the latest two patches here please? http://git.ghostscript.com/?p=user/matt/mupdf.git;a=summary11:34.25 
tor8 mattchz: both look reasonable to me11:36.26 
mattchz tor8: awesome, thanks!11:41.40 
paulgardiner mattchz: TapImage was created because the number of menu items we have is too many for that number of buttons to fit in the top bar on a phone in portrait mode11:41.44 
  mattchz: does this option still allow them to fit?11:42.08 
mattchz yep11:42.17 
  I’ve done the same thing, but used a UIButton/11:42.26 
paulgardiner Excellent. How does that work then?11:42.33 
  Oh I see11:42.38 
mattchz paul: well, TapImage was an imageview that you wrapped into a Custom UIBarButtonItem.11:43.12 
  and contained a tap handler.11:43.23 
  I’ve just wrapped a UIButton into a Custom UIBarButtonItem instead.11:43.36 
  The UIButton has all the clever ios 7 autotinting stuff.11:43.52 
paulgardiner Nice11:44.10 
mattchz I wonder if we should consider rethinking the UI though, as it is very hard to tap those buttons 11:44.36 
paulgardiner Yeah. At the moment we are making iOS and Android consistent, but making the two work differently but more in keeping with the specific OS might be better.11:45.51 
tor8 mattchz: I've mentioned my preference for a drop-down menu with text instead of a row of cryptic icons before11:45.51 
jogux the UI's a bit non-IOSy anyway really :)11:45.57 
tor8 it made sense with icons when there were a grand total of 3 buttons (search, bookmarks, back-to-library)11:46.26 
  but both the android and iOS UI's are a bit cryptic now, especially if you aren't familiar with it and are afraid to break stuff by clicking on mystery buttons11:47.09 
  like most non-techies are...11:47.21 
mattchz yeah. we should possibly look at the new Android material design stuff11:47.47 
  the big difficulty I always seem to have with designing iOS UIs is the lack of a standard ‘menu’ control.11:48.21 
  I’m never sure how to solve that problem, other than by dropping functionality.11:48.35 
  s/iOS/iPhone/11:49.04 
tor8 well, dropping functionality is definitely the Apple way ;)11:49.14 
mattchz ;)11:49.28 
tor8 or hiding it well11:49.34 
  like how to search on a page in iOS Safari... you have to enter the search in the URL bar and then after you hit enter you get an option to search on the page11:49.56 
  I only know that, because I had to google it...11:50.07 
jogux oh, neat :)11:50.27 
tor8 I mean, WTF were they thinking? if *I* can't even find it, how do they expect their usual users to do it?11:51.03 
  one of the most common things to do is hidden away, but sharing on facebook and tweeting are given their own toolbar buttons.... ridiculous.11:52.09 
  </rant>11:52.11 
mattchz mm11:53.04 
  this one boggled me this morning: http://osxdaily.com/2014/03/31/detect-displays-mac-os-x/11:53.33 
paulgardiner The sad thing is that sharing on facebook or tweeting is probably more common11:53.34 
mattchz I mean, there’s no good reason at all to hide that button afaics11:53.56 
  I get it with the menu items, as you know to try pressing alt to see if there are more options.11:54.45 
  I never realised before that they did that with buttons in a dialog11:54.54 
tor8 mattchz: that's uncommon enough (alt in menus) that I never remember to try it. I just assume that if it's not shown, I can't do it.11:55.21 
  then again, I stopped using Apple products (for these reasons and others) a while ago...11:56.32 
mattchz overall, I really like the Mac.11:56.49 
Robin_Watts mattchz: Eh? What? Alt gives you more options in a menu?11:56.55 
tor8 Robin_Watts: yup. and it changes some menu items as well (from Save to Save As... etc)11:57.14 
Robin_Watts gawd. And I thought MS Office was bad.11:57.28 
mattchz tbf, it’s mostly power user stuff that’s hidden away.11:57.42 
tor8 mattchz: then there should be a permanent "I'm a Power User" option in the control panel, IMO11:58.10 
mattchz mm11:58.17 
tor8 like windows is doing with their Metro vs Desktop crap in Win811:58.34 
mattchz If you alt while viewing the apple menu, you notice Logout… changes to Logout11:58.44 
  i.e. it skips teh confirmation screen11:59.02 
sebras tor8: isn't the reason for this strange search invocation that they moved searching the internet to use the addressbar and now they want all search to look the same..?11:59.20 
Robin_Watts Bugger. My right eye is playing up again. I have an appointment to have my eyes photographed tomorrow.11:59.29 
sebras tor8: not that I agree with it of course.11:59.30 
mattchz alt on the volume control ‘system tray’ thing is very useful for quickly changing the input/output devices.11:59.43 
Robin_Watts I should be back in time for the meeting, but if I'm late, that's why.11:59.45 
chrisl Robin_Watts: what's the problem?12:00.22 
Robin_Watts blurred patch across the bottom of my right eye. It's like having a smear on my glasses.12:00.46 
chrisl Hmm, that must be really annoying :-( Hope it's something simple.....12:01.22 
Robin_Watts chrisl: me too. I fear it may be another bleed (can't see why though)12:01.55 
  in which case, I suspect it will be "nothing we can do, just wait to see if it resolves". which will take 3 months or so.12:02.20 
chrisl Robin_Watts: I had blurry vision in one eye a few years ago, and that was an infection - but it affected the entire view12:03.00 
Robin_Watts After last time, I'm hypersensitive about stuff like this.12:03.21 
chrisl Yeh, wearing contacts, I'm pretty careful about it, too12:03.50 
mattchz robin_watts: boo :(12:04.26 
  is it sore/12:04.28 
Robin_Watts mattchz: No.12:04.34 
paulgardiner Best to be hypersensitive. Let the experts confirm it's nothing to worry about.12:04.48 
Robin_Watts although psychosomatically it will now become so.12:04.53 
mattchz robin_watts: must be bloody annoying though.12:05.11 
  well, woot. we seem to manage to get some tickets for the opening ceremony of the games12:06.18 
Robin_Watts mattchz: So you can marvel at the tartan loveliness of the scottish uniforms.12:09.03 
chrisl Ick :-(12:09.14 
mattchz robin_watts: :)12:10.18 
chrisl I wonder if the English team will be dressed as morris dancers......12:10.27 
mattchz I’m hoping for full size bucky bottle costumed dancers, and a choreographed ned fight.12:11.25 
chrisl Synchronized razor gangs?12:12.54 
mattchz something like that, yeah12:13.34 
  There’s a new iOS build on TestFlight, btw.12:17.20 
  I guess failing any further bugs, this’ll be the one we send to apple12:17.31 
  if anyone is able to test airprint that would be grand :)12:20.08 
jogux mattchz : that fixes the bug with the icons I saw anyway12:23.20 
  did you change the airprint code?12:23.30 
mattchz no; just realised I’d never tried it.12:23.41 
  seems to work with the airprint sim anyway12:23.50 
tor8 Robin_Watts: mattchz: there's a mupdf fix on tor/master for review12:45.00 
  mattchz: could you please run 'touch git-daemon-export-ok' in your git repository on casper?12:45.19 
mattchz tor8: sure, what’s that do?12:45.57 
tor8 lets me 'git fetch' using the git:// protocol12:46.07 
  which is much faster than ssh12:46.12 
mattchz ah, neat. done.12:46.32 
tor8 mattchz: fab, thanks12:46.40 
mattchz tor8: just going to get some lunch, then I’ll look at your patch12:47.22 
Robin_Watts tor8: seems reasonable. Will do nasty things with filenames with hex hashes in though.12:55.25 
mattchz I presume it’s just within the CBZ zip archive, so that’s not a case?12:57.50 
tor8 Robin_Watts: mattchz: yeah, just the internal sorting of files in a CBZ archive12:58.19 
  Robin_Watts: if you use hex digits in a CBZ you deserve whatever sorting order you get :)12:59.05 
mattchz tor8: looks great, anyway.13:00.11 
tor8 thanks.13:00.52 
Robin_Watts tor8: I mention this just because I have been getting annoyed with windows sorting patch-<SHA>.zip in odd ways for the past few days.13:01.33 
mattchz there’s the risk of overflow, I guess, but anyone who names their files with stupidly large numbers gets what they deserve as well :)13:01.35 
tor8 mattchz: shouldn't be risk of overflow, the strings are zero-terminated.13:02.15 
mattchz I mean integer overflow13:02.22 
tor8 mattchz: ah, right. yes, well, that's not something I'll worry about.13:02.40 
mattchz indeed.13:02.52 
Robin_Watts is reexposed to the File_write/File_writeDone insanity. What were we thinking?13:05.54 
jogux Robin_watts : I want to add a File_writeBlock. I then (not necessarily at the same time) want to change FileFss to support that and hence remove the unnecessary allocation/memcpy.13:07.00 
  I think I already wrote a File_writeBlock, but it's private somewhere.13:07.19 
Robin_Watts yeah, I remember.13:08.11 
jogux writeBuffer, epage/rendering/libraries/wasp/common/bitmap-exp.c . I think we should make that part of the filesystem external API.13:08.31 
jogux gets SO2 to run in Robin's vs2010 solution. woot.13:12.09 
Robin_Watts woo hoo!13:12.24 
jogux now I just need to learn/relearn how to use VS2010 ;)13:12.39 
  and understand how this code is meant to work13:12.59 
  some of these SO2 crashes in crashlytics smell of heap corruption :-(13:13.23 
paulgardiner jogux: that would explain the great number of different places where it occurs13:26.39 
jogux paul: there's plenty of real bugs too :-)13:27.03 
paulgardiner they I mean13:27.04 
jogux does vs2010 have a feature like xcode's quick open? ie. press a key combo, enter part of a function name, it shows a list of matches and you can jump to one?13:33.31 
Robin_Watts jogux: Urm...13:33.56 
kens I think there's something like that, not quite the asme perhaps13:34.08 
Robin_Watts In the solution explorer panel on the left, choose "ClassView"13:35.49 
  and then try in the search box there?13:35.55 
  Ctrl-Shift-C then enter into the search box.13:37.03 
jogux that's close enough I guess. thanks :-)13:39.46 
jogux wonders if 2013 is much better13:40.03 
Robin_Watts The actual UI hasn't really changed since 2005 as far as I can tell.13:41.50 
mattchz apart from the shouty menus!13:43.08 
kens THe 'flat' all caps ones you mean ?13:43.32 
mattchz yeah13:43.40 
kens and the delightful choice of colour schemes; ugly and very ugly13:43.50 
jogux they must've made some changes to make a developer's life easier/faster/whatever. surely. :)13:46.42 
rayjj morning, all14:04.15 
Robin_Watts Morning rayjj.14:04.34 
rayjj done with "vacation". Now time to rest up, working :-)14:04.42 
  I guess I missed kens14:05.03 
Robin_Watts rayjj: I suspect he'll be back in a bit.14:05.25 
  I'd guess network outage as he didn't say "bye".14:05.48 
rayjj kens: (for the logs) Thanks for finding/fixing that pdf_close issue14:05.55 
henrys rayjj: welcome back rayjj 14:06.04 
rayjj henrys: thanks14:06.10 
Robin_Watts henrys: as per the logs, I may be late to the meeting tomorrow. Got an opticians appointment to see what's going on in my right eye.14:06.32 
henrys Robin_Watts: oh I haven’t looked yet. Are you okay? Is this related to the migraines?14:07.04 
Robin_Watts henrys: no, unrelated to migraine. I have a blurred patch in my right eye. It's in the periphery, just like having a smudge on your glasses.14:07.46 
  It's just "annoying" at this stage, and possibly I'm being hyper sensitive over it after the last time I had a bleed, but I'd like to get it checked before I go on holiday.14:08.56 
henrys Robin_Watts: I was just going to say that must be very annoying14:09.14 
kens rayjj Hi, that pdf_close one was 'interesting' :-) It was a lot better to find using the VisualGDB tool because it wouldn't fail on WIndows14:19.27 
rayjj kens: surprising that it didn't fail on Wiindoze. 14:31.35 
kens Surprised me, certainly14:31.47 
rayjj I think I need to get coffee. bbiab.14:33.16 
Robin_Watts mattchz: OK, it's that time you've been longing for...14:40.09 
  there is an Image component review on robin/master14:40.20 
tor8 henrys: http://ghostscript.com/~tor/stuff/metrics.zip there's the archive with lists of glyphs and metrics for URW14:41.25 
henrys tor8:okay thanks I’ll get it to them today14:41.57 
Robin_Watts wonders if mattchz has run away screaming.14:46.28 
kens thinks he's ignoring robin and hoping he'll go away "la la la...."14:46.57 
Robin_Watts mattchz: I need to talk about the next steps in this work too.14:47.05 
jogux robin_watts: he's busy playing with his android wear watch ;)14:49.08 
Robin_Watts hi mattchz14:50.32 
mattchz hiya14:50.49 
  sorry about that.14:50.51 
  just playing with the new office toy14:50.57 
Robin_Watts np.14:50.58 
mattchz wonders if I have access to the SOT tree.14:51.34 
Robin_Watts mattchz: If you can commit to mupdf, you have :)14:51.59 
mattchz where is it?14:52.07 
Robin_Watts git clone matt@ghostscript.com:/home/git-private/sot.git14:52.32 
mattchz ah, no web interface?14:52.38 
Robin_Watts not currently, no.14:52.47 
mattchz np14:52.59 
Robin_Watts My private repo is @ghostscript.com:/home/robin/sauce/sot.git14:53.16 
  while that clone is running, I'll talk you through the problem...14:53.45 
mattchz ok14:53.51 
Robin_Watts alex added a PDF export function to SOT.14:54.03 
  That outputs based on the display lists.14:54.20 
mattchz ok. is this related to the getting source stuff?14:54.31 
Robin_Watts whenever it hits an Image it claims the bitmaps and recompresses them as flate.14:54.42 
  yeah.14:54.43 
  my change is to make it so that we can get the Image_source, pull the data out and output that.14:55.04 
  The commit I have online works for JPEGs.14:55.23 
mattchz np14:55.28 
Robin_Watts it would be nice to do other image types too though.14:55.41 
  like (say) Fax and JBIG2K.14:56.01 
mattchz ok14:56.18 
  pdfi presumably.14:56.27 
Robin_Watts but to do those ones we need to get access to the meta information for each image.14:56.28 
  pdfi is flate compressed essentially, so the recompression of that doesn't bother me so much.14:56.56 
  but yes, if we could neatly get the original info, that would be nicer too.14:57.14 
  The way those work inside the image component currently is that you have an image source (which is the stream), plus a 'meta function' for pulling out the other bits of information (like bits per component, and 'blackis1' etc).14:58.35 
  When we pull the source out of Image, all we can currently see is "is there a meta function or not?"14:59.01 
mattchz ok, so we need a way of enumerating all the meta data?14:59.14 
Robin_Watts Either we need to let the meta data function out, or we need to pull it out into a structure or something, yes.14:59.53 
mattchz so presumably this is always saving out images that were already in an existing pdf15:00.22 
Robin_Watts I wonder if there is scope for Image_meta(handle) that would call the image meta function?15:00.25 
  yes, that's the use case here.15:00.30 
  as other formats don't rely on meta stuff.15:00.47 
mattchz jogux> is the ‘arty’ clone on atlas kept up to date?15:02.00 
jogux mattchz: nope15:02.20 
mattchz ok15:02.27 
  robin_watts: is the original DA context which provides the metadata fn implementations still available at this point btw?15:03.41 
  or does it get thrown away after translation?15:03.48 
Robin_Watts mattchz: The metadata lives on.15:04.24 
mattchz Does it get copied into the Image Component?15:04.42 
Robin_Watts the agent essentially sets up something persistent to keep serving the metadata, I think.15:04.48 
mattchz (Sorry, my memory of this still is very vague)15:04.50 
Robin_Watts and that is discarded when the Image component closes the last reference to the Image.15:05.10 
  mattchz: No worries. I've had a couple of days looking at this to refresh my memory :)15:06.35 
mattchz :)15:07.14 
  robin_watts: Image_Decoder_setColourSpace - should that do the locking horribleness that setOrientation does?15:14.01 
  (in fact, do we ever use async images anymore anyway?)15:14.19 
Robin_Watts mattchz: The plan is that setColorSpace should only ever get called just before setDimensions.15:15.33 
  and it only affects an imdec internally.,15:17.10 
  so I don't think any locks are required.15:17.21 
  hmm, but then why does setOrientation need to lock?15:17.56 
mattchz right.15:18.05 
Robin_Watts curse git blame!15:19.40 
kens2 never uses it, its almost always my fault anyway.....15:20.24 
Robin_Watts I added the locking, and you reviewed it :)15:20.26 
mattchz heh15:20.39 
jogux You can always look up the review in the review system :-) (or robin can, anyway)15:21.00 
Robin_Watts I can't see why we need it, frankly.15:21.05 
mattchz I think, as you say, it should be fine, if it’s called before setDimensions15:21.17 
  and we never query it extenally.15:21.28 
Robin_Watts No helpful comments in the review.15:22.06 
  OK, 2 failed images in the ATS tests. will look into those...15:22.55 
mattchz robin_watts: did you mean to add an extra block in pdf-export-xobject.c15:25.35 
  ?15:25.36 
  (minor style thing)15:26.02 
Robin_Watts I did. Keeps the variables local.15:26.27 
mattchz oh, and missing doxygen blah in PdfExportContext_writeEStream, if it matters15:26.42 
Robin_Watts should probably add that.15:27.17 
  Thanks.15:27.23 
mattchz np.15:27.58 
  all looks good, anyway.15:28.02 
  robin_watts/paulgardiner/tor8: any thoughts on this? http://bugs.ghostscript.com/show_bug.cgi?id=69322815:39.39 
  I’ve tried the patch. Needs a bit more testing, but seems to work well.15:40.00 
paulgardiner mattchz: if a reasonably thorough test shows no problems then it looks worth taking on15:42.48 
mattchz cool. Does that guy have a contributor agreement signed?15:43.18 
Robin_Watts I can't see the problem he's talking about.15:43.35 
  I still see the second page at step 6.15:43.53 
mattchz I didn’t think 6 was the problem.15:45.26 
  I thought the fact that page didn’t move in 10 was the problem.15:45.51 
kens2 That seems to be what sebras is saying, yes15:46.20 
Robin_Watts right, but "while dragging page two will no longer be visible." I don't follow what that means?15:46.29 
  Oh, it's sebras!15:46.37 
Robin_Watts is inclined to take it seriously then :)15:46.53 
mattchz I presume it just means ‘pan it back off the screen again'15:47.04 
Robin_Watts mattchz: sebras is one of our big contributors :)15:47.06 
kens2 The patch isn't from sebras though, its someone else15:47.31 
mattchz Yeah, I spoke to him on IIRC before.15:47.31 
  does he work for Artifex (Sebras?)15:47.44 
kens2 Nope, he has a real job....15:47.52 
mattchz heh15:48.11 
Robin_Watts kens2: Ahem. a "different" real job :)15:48.14 
  I have enough trouble trying to persuade my parents that I have a real job...15:48.28 
kens2 Robin_Watts : I was quoting my family.....15:48.38 
Robin_Watts ah, so you get it too.15:48.54 
sebras hi?15:48.55 
ghostbot hi is, like, there a way to include mupdf headers in c++ headers? I tried using extern "c" but im always getting "_pdf_obj_read_state_s already defined in ..."15:48.57 
jogux wtfs at ghostbot15:49.17 
Robin_Watts W.T.F?15:49.19 
mattchz indeed15:49.23 
  wtf15:49.25 
kens2 Robin_Watts : all the time :-) Also its something Ian Kemmish used to say too.Along the lines of 'I couldn't go back to a real job...'15:49.25 
  Oh oh, ghostbot has reached sentience, kill it quick before it activates SkyNet15:49.52 
sebras Robin_Watts: I haven't checked the patch.15:49.59 
Robin_Watts Ah, the patch is from Michael Cadilhac. ISTR we have had stuff from him before.15:50.15 
mattchz sebras: was the only problem in step 10 of http://bugs.ghostscript.com/show_bug.cgi?id=69322815:50.39 
  ?15:50.41 
kens2 ghostbot, are you a real user ?15:50.50 
mattchz We were wondering if “6. when your finger reaches the center of the screen drag right. while dragging page two will no longer be visible” was a problem, or just an observation15:51.05 
kens2 has a Tron moment....15:51.13 
mattchz (sorry, I do realise this was two years ago sebras!)15:52.09 
Robin_Watts kens2: addressing ghostbot directly, it does it's usual behaviour, so I wonder if that was just irc going screwy...15:52.30 
jogux robin_watts : I'm more wondering if a regexp failed and it used a previous result15:52.54 
  but I don't even know what language ghostbot is written in :)15:53.05 
kens2 Robin_Watts : I guess os, odd that we all saw it. Anyone want to own up to the question about including C++ headers ?15:53.05 
Robin_Watts hi?15:53.11 
ghostbot well, hi is there a way to include mupdf headers in c++ headers? I tried using extern "c" but im always getting "_pdf_obj_read_state_s already defined in ..."15:53.11 
sebras mattchz: let me read the bug.15:53.12 
Robin_Watts jogux: You win.15:53.19 
jogux robin_watts: :-)15:53.27 
mattchz scared me for a minute there ;)15:53.40 
sebras kens2: :)15:53.41 
kens2 sebras ?15:53.57 
sebras kens2: (tron)15:54.02 
kens2 ah :-)15:54.42 
sebras mattchz: ah, no step #6 is not a problem.15:57.53 
  mattchz: but step #10 is the problem.15:58.05 
  mattchz: basically when you enter zoom-mode you loose the ability to pan around on the page.15:58.24 
  mattchz: or change page.15:58.34 
Robin_Watts MCs explanation in the comment sounds very plausible.15:58.38 
  I don't know the code well enough to have an instant opinion on the patch though.15:58.53 
  It was paulgardiner's baby at this stage.15:59.10 
sebras ghostbot: I guess you need to explain more about your prolem and exactly what headers your are trying to include.16:00.01 
ghostbot I think you lost me on that one, sebras16:00.01 
mattchz the patch seem to work. I was just going to look at it in my detail.16:00.23 
  and it does feel more natural behaviour.16:00.34 
kens2 ghostbot passes the Pointy-haired boss test....16:00.40 
mattchz sebras: thanks.16:00.42 
paulgardiner kens2: :-)16:01.43 
kens2 ah, paulgardiner reads the Daily Dilbert16:02.00 
paulgardiner kens2: yeah. I thought the last two particularly good16:03.04 
kens2 :-)16:03.09 
  OK I think that's enough for today.16:07.36 
Robin_Watts night kens216:07.52 
kens2 Just a reminder, I'm off on holiday, I'll be back on Wednesday 16th. I hope pdfwrite/PDF interpreter/PS interpreter don't cause any customer problems before then :-) Bye all16:08.50 
jogux uhoh. a bug I thought Paul had fixed is our biggest crasher :(16:32.13 
  paulgardiner: did your shutdown fix not make it into the release?16:32.38 
  paulgardiner: https://www.crashlytics.com/artifex/ios/apps/com.picsel.smartoffice2/issues/538749d6e3de5099ba450cb116:32.55 
mattchz has anyone here built the android app with android studio?16:43.12 
Robin_Watts MuPDF android app? Not me. I believe paul uses eclipse.16:43.36 
mattchz yeah, oh, well.16:45.42 
  do we have any long term plans to migrate to gradle etc16:45.51 
  (which is going to replace ant et al)16:46.00 
Robin_Watts mattchz: Do current releases of the sdk work with that?16:47.32 
mattchz yeah. It’s all part of the Android Studio stuff.16:47.48 
Robin_Watts Android Studio != sdk.16:48.03 
mattchz I’m not entirely sure where gradle comes from. I think it’s part of the build tools.16:48.25 
Robin_Watts I think we want to remain current, but we don't want to require more stuff.16:48.36 
mattchz nods.16:49.01 
Robin_Watts If the standard SDK tools include gradle, then I don't think we object to moving to it.16:49.04 
  paulgardiner may object if it breaks eclipse though.16:49.12 
mattchz I think it may be possible to import the eclipse project without using gradle. I’ll try that first.16:49.38 
paulgardiner jogux: fix seems to be there. Perhaps there is another way in which querySaveViewStateOnShutDn can require the IControl level16:50.46 
jogux paulgardiner: odd :-( I'm sure that's the original crashlytics report you found.16:51.22 
jogux will look if I ever get out of pptx syling hell.16:51.33 
paulgardiner jogux: I think it was very similar but not involving dashboard. But my memory has been known to not always be 100% :-)16:52.28 
  It was DocumentInfoView_isVisible rather than Dashboard_isVisible if I remember correctly16:53.23 
jogux ah. d'oh :(16:53.36 
  woot. I belive I've identified the bit of code that's going wrong. I still don't know why it's going wrong, but that's a massive leap forward from where I was this morning.17:03.38 
  I got distracted because the code is doing something crazy, but it turned out it did something crazy before I broke it, so I decided to ignore that part.17:04.23 
  [for no obvious reason, this ATH script that takes a line with 'bullet 1' on it, and modifies that to be indented more, splits 'bullet 1' into two edr objects as part of the indent change.]17:05.19 
mattchz tries Android Studio/Gradle, gives up.17:12.34 
  seems to want to copy the entire project, so it doesn’t look it’s possible to use both side by side.17:12.48 
jogux mattchz: might be worth trying at least to the point of seeing if it makes anything less bad? :)17:13.25 
  I mean, if it has advantages duplicate build settings isn't a showstopper.17:13.43 
Robin_Watts If it has advantages, then we could just move over to it.17:14.26 
  (as long as the basic SDK supports it)17:14.37 
jogux I'm off. night all.17:14.47 
Robin_Watts night jogux 17:14.53 
mattchz nods.17:14.55 
  robin_watts: it’s eventually going to be the main supported approach.17:15.15 
Robin_Watts mattchz: I've heard that kind of thing promised before.17:15.30 
mattchz Android Studio is very nice compared to Eclipse.17:15.44 
  however, it’s still early days, and the gradle stuff seems to chagne a lot. Possibly better now AS is finally in beta.17:16.09 
Robin_Watts I would be tempted to wait for it to stabilise then.17:16.36 
  google have a habit of screwing up build systems (just look at v8)17:17.22 
mattchz mm17:17.41 
  I’ve used it for a few projects, and it’s been fine. Just a bit fiddly when they update it.17:18.09 
henrys rayjj: shelly has a patch for review for 69416017:22.31 
  marcosw1: so does the new review field only work for new bugs?17:23.46 
Ron_L greetings. Joseph suggested I inquire about who might have access to the artifex.com domain? 21:00.11 
  I have prepared our demo smartoffice forum for publication and I want to set up a CNAME entry to point at the forum URL. Joseph thought Robin or MarcoW might be the right person.21:00.15 
 Forward 1 day (to 2014/07/08)>>> 
ghostscript.com
Search: