#wine-staging

/

      • ehoover has quit
      • ehoover joined the channel
      • YokoZar joined the channel
      • anish joined the channel
      • YokoZar has quit
      • AmineKhaldi has quit
      • AmineKhaldi joined the channel
      • AmineKhaldi has quit
      • AmineKhaldi joined the channel
      • AmineKhaldi has quit
      • AmineKhaldi joined the channel
      • AmineKhaldi has quit
      • AmineKhaldi joined the channel
      • fracting joined the channel
      • AmineKhaldi_ joined the channel
      • AmineKhaldi has quit
      • puk joined the channel
      • ehoover has quit
      • fracting has quit
      • fracting joined the channel
      • fracting has quit
      • titan38 joined the channel
      • fracting joined the channel
      • titan38 has quit
      • puk
        slackner: sheesh, looks like they forgot to block you on your d3dx9 patch
      • ;)
      • AmineKhaldi_ has quit
      • slackner
        puk: wow, no ack necessary ? ;)
      • puk
        yeah, I was shocked
      • slackner
        for this release the commit stats for wine staging are pretty awesome :)
      • both the upstream stats but also the stats of newly added patches *g*
      • (doesn't include changes from today yet)
      • puk
        slackner: yeah, but you are cheating
      • slackner
        why? xD
      • puk
        most of your patches wouldn't need to go to staging
      • ;)
      • except d3dx
      • ;)
      • slackner
        xD
      • well, some patches for example still miss some tests
      • puk
        true dat
      • so yeah, for a quick "try this out" on bugzilla, it makes sense
      • fracting has quit
      • slackner
        puk: true, but .. if wine would have required tests for everything so far - you know what the current state would be ;)
      • its always a bit risky, but there is a big chance that these changes are perfectly fine xD
      • (especially when they are from a focht analysis)
      • this is the only bug i have in mind where the focht analysis was wrong: https://bugs.winehq.org/show_bug.cgi?id=27282 ;)
      • puk
        well it depends
      • for net new code tests aren't necessary needed
      • unless you have a behavior that isn't obviously correct
      • slackner
        well, even then AJ often wants test, even if its just to ensure that noone breaks it again
      • puk
        right
      • slackner
        but tests can be time intensive, especially when testing them on the slow testbot machines ... xD
      • puk
        i learned it the hard way
      • after somebody broke my PERFECT code for calculating the hotspot for an ImageList_Drag
      • and broke the app I was testing with
      • i wrote tests and it turned out that we both were wrong
      • ;)
      • slackner
        hehe, yeah, that also happens from time to time xD
      • in some cases (for example the LZNT1 decompression patches) i gave up reproducing the exact windows behaviour after i noticed, that its _extremely_ broken there ;)
      • puk
        right
      • sometimes you don't bother for the extreme corner cases and bugs
      • i mean the undefined/unspecified behavior
      • slackner
        yup
      • are you really planning to get those last-minute patches in ? :P ^^
      • puk
        lol, no
      • just spoon feeding those to AJ
      • i have 3 more ready
      • ;)
      • slackner
        i read you already have a script for that ^^
      • puk
        sure
      • but some code is questionable
      • and I get bored at reviewing the diff
      • slackner
        well, i would recommend to mainly concentrate on the dll code
      • tests don't really matter much at my opinion
      • puk
        not that much left
      • slackner
        and if you ask me, they should be excluded completely from automatic code check tools
      • (until they are better xD)
      • puk
        it is just a nice cleanup
      • nothing else
      • for readability
      • slackner
        not for the 0,00000001% performance improvement? ;)
      • puk
        hell no
      • that one doesn't matter
      • slackner
        i think in some cases it could indeed have an effect, when the code works with use texts
      • *huge
      • puk
        right
      • slackner
        but i agree, in most cases you'll not really notice it xD
      • puk
        that's why I send those in slowly ;)
      • can be fixed
      • slackner
        well, nevertheless - maybe someone should really check again all the algorithms
      • just think about the performance improvement of replacing linked lists with hash tables and stuff xD
      • puk
        but AJ might react allergic if I flood him with those
      • THAT is my main gripe with C
      • no usable generic data types in the standard
      • lists, hashes
      • slackner
        puk: yeah, but some of the things you can do with C-style list macros are not possible with such generic data types
      • puk
        e.g. I love working with sets in python
      • slackner
        (just think about adding the same element to multiple lists and things like that)
      • puk: i also like python because its so easy to write down some quick code ;)
      • NOTICE: [13wine-staging] 15slackner pushed 1 new commit to 06master: 02https://github.com/wine-compholio/wine-staging/commit/1637f56db9cb58fd06a5fadaf297fea5b02d0a2f
      • NOTICE: 13wine-staging/06master 141637f56 15Sebastian Lackner: Removed several patches (accepeted upstream).
      • puk
        slackner: yeah, unless I need a lot of regexps
      • then I find python strange
      • and some things aren't intuitive
      • slackner
        puk: yeah, especially some internal APIs are often a bit weird
      • puk: and i also hate that its not even proper multithreaded
      • but besides that its pretty awesome ;)
      • and pypy too ^^
      • puk
        yeah
      • don't get me started on join()...
      • i have no clue why that is a method of the separator
      • instead of the list
      • well, I know
      • because of the limitations of "everything is an object" to match the real world
      • slackner
        yeah, in this case the opposite would be much more intuitive
      • AmineKhaldi joined the channel
      • puk
        slackner: right, but they can't do it there as the list/array might not have a "to string" method
      • meh
      • well, they could have done it
      • but probably didn't look "clean" to them
      • slackner
        yeah - too bad that there is no language with all the advantages combined, noone finds a good compromise between simplicity, speed, ...
      • puk
        well, functional works too for the join
      • str.join(":", ('foo','bar'))
      • but until I remember that it is str and not string
      • slackner
        sure, but thats even more ugly xD
      • puk
        and wasted time looking for the method in dir(array()) ...
      • titan38 joined the channel
      • slackner
        puk: <stringfellow> julliard: 107663,107664,107665,107666,107667,107668,107669,107674
      • puk: thats a bit late ;)
      • titan38: seems like the bot works now, was only the first day that the log was truncated
      • titan38
        slackner: yeah seems to work fine now :)
      • slackner
        titan38: yup, got the notification mail
      • titan38
        slackner: I will do that this week-end. Can you see for makefiles?
      • slackner
        titan38: yup, will take a look, but would be nice to have a working example, otherwise its a bit difficult to test
      • DarkPlayer also pointed out that its probably not really necessary to add a testing framework globally - instead it would also be sufficient, when only the ntoskrnl tests Makefile behaves differently.
      • which is probably a bit easier
      • titan38
        slackner: no problem that would be enough as a start
      • AmineKhaldi
        guys
      • titan38
        slackner: I will send you the test case so you can modify the makefile
      • AmineKhaldi
        you're talking about testing drivers.. can the kmtests framework help ?
      • slackner
        titan38: nice :)
      • titan38
        AmineKhaldi: yup what is kmtests
      • ?
      • AmineKhaldi
      • titan38
        AmineKhaldi: kk thx will take a look
      • slackner
        AmineKhaldi: i fear that not a single existing test will run with the very limited wine ntoskrnl implementation
      • AmineKhaldi: but the framework could be useful ;)