Re: Summer cleanup on https://issues.dlang.org

2015-06-09 Thread Stewart Gordon via Digitalmars-d-announce
On 09/06/2015 06:33, Andrei Alexandrescu wrote: snip * Consolidated D1 D2 issues under D2. It appears that you've changed everything to D2 indiscriminately, including issues that have nothing to do with the D language or compiler, let alone D2 (e.g. issues with the Bugzilla installation,

Re: Trial migration of Dsource bindings project to Github

2015-04-24 Thread Stewart Gordon via Digitalmars-d-announce
On 24/04/2015 11:58, Kagamin wrote: On Tuesday, 21 April 2015 at 21:31:39 UTC, Stewart Gordon wrote: How does using SVN lead to fragmentation? I don't understand. See http://forum.dlang.org/post/mailman.3160.1418550079.9932.digitalmar...@puremagic.com ?? I've had a quick look, and can't

Re: dsource.org moved

2015-04-24 Thread Stewart Gordon via Digitalmars-d-announce
On 22/04/2015 08:20, Jacob Carlborg wrote: snip If you're forking a project on Github you get your own copy of the project. The projects are linked but the repositories are not. What I mean by that is on your fork you'll see that it is a fork with a link back to the original project. From the

Re: dsource.org moved

2015-04-21 Thread Stewart Gordon via Digitalmars-d-announce
On 21/04/2015 00:35, Vladimir Panteleev wrote: snip In the other thread I referred to this http://stackoverflow.com/questions/5010754/github-collaborators-have-commit-access which makes it sound as though it's possible to do the same thing in GitHub. Is that page wrong? This question

Re: Trial migration of Dsource bindings project to Github

2015-04-21 Thread Stewart Gordon via Digitalmars-d-announce
On 21/04/2015 00:42, Vladimir Panteleev wrote: snip Committing is a local (non-network) operation in git, so you must have pushed them afterwards, or your GUI has done this for you. I committed using TortoiseSVN. Would that auto-push? I never imagined so. snip The shared repository model

Re: Trial migration of Dsource bindings project to Github

2015-04-20 Thread Stewart Gordon via Digitalmars-d-announce
On 20/04/2015 00:37, Vladimir Panteleev wrote: On Sunday, 19 April 2015 at 23:14:13 UTC, Stewart Gordon wrote: For those of you who are still unfamiliar with GitHub, Stewart, I haven't seen an active D project that WASN'T hosted on GitHub for years now. That doesn't mean absolutely none

Re: dsource.org moved

2015-04-20 Thread Stewart Gordon via Digitalmars-d-announce
On 20/04/2015 00:25, Vladimir Panteleev wrote: snip Even if he had, what would be the point? It would greatly slow down the whole process. We have SVN repositories so that people can just put their updates straight in, Only those who have access can do that. Getting patches into the bindings

Re: dsource.org moved

2015-04-20 Thread Stewart Gordon via Digitalmars-d-announce
On 21/04/2015 00:19, Stewart Gordon wrote: snip ?? When I worked on the project on dsource, until it stopped working recently I generally had no trouble just committing my updates using SVN. I didn't have to create patches at all. As I understood it, neither did anybody else who helped out

Trial migration of Dsource bindings project to Github

2015-04-19 Thread Stewart Gordon via Digitalmars-d-announce
In the light of problems with SVN on dsource, the Bindings project has been migrated to GitHub on a trial basis. Apparently this is more or less the last active project on Dsource, so after a brief discussion on another thread I have decided to give it a try. So it's now at:

Re: dsource.org moved

2015-04-19 Thread Stewart Gordon via Digitalmars-d-announce
The wiki is terribly broken at the moment. I just edited a page http://www.dsource.org/projects/bindings/wiki/WikiStart and it changed every linebreak to the literal string `\r\n`. The page looks OK in preview, but then it breaks when you actually save it. Stewart. -- My email address is

Re: dsource.org moved

2015-04-16 Thread Stewart Gordon via Digitalmars-d-announce
On 16/04/2015 03:35, Rikki Cattermole wrote: On 16/04/2015 11:25 a.m., Stewart Gordon wrote: snip How would we go about committing updates to it when this is done? Let's say there is a new function in gdi.h added. You would look for the file: core/sys/windows/windows/gdi.d And add

Re: dsource.org moved

2015-04-07 Thread Stewart Gordon via Digitalmars-d-announce
I haven't been active on the newsgroups lately, so lose track of what's going on. Has anything happened? Just now I tried to commit to the bindings project on dsource, but got an error POST request on '/projects/bindings/!svn/me' failed: 500 Internal Server Error Has it been doing this for a

Re: dsource.org moved

2015-04-07 Thread Stewart Gordon via Digitalmars-d-announce
On 07/04/2015 19:34, Vladimir Panteleev wrote: On Tuesday, 7 April 2015 at 16:33:37 UTC, Stewart Gordon wrote: I haven't been active on the newsgroups lately, so lose track of what's going on. Has anything happened? Just now I tried to commit to the bindings project on dsource, but got

Re: dsource.org moved

2015-04-07 Thread Stewart Gordon via Digitalmars-d-announce
On 07/04/2015 22:44, Stewart Gordon wrote: snip So I guess I'll have to try committing just a few at a time and see if that works. snip Oh dear, it seems even that doesn't. It isn't predictable at what point it will fail, but every single time it's failing somewhere. Even if I try

Re: JPG and PNG decoder

2012-06-21 Thread Stewart Gordon
On 18/06/2012 00:49, cal wrote: snip ubyte[] data = some data; Image img = new Img!(Px.R8G8B8)(width, height, data); Image? Img? img.write(mypng.png); It uses adaptive filtering, and should work with the pixel formats supported by the image class (except for the 16 bit ones I've just

Re: JPG and PNG decoder

2012-06-17 Thread Stewart Gordon
On 17/06/2012 08:55, cal wrote: snip If you don't care too much about compression level, you simply zlib compress the data, write it out by image row/scanline, include appropriate header and chunk info, and you're done. snip Not quite. You need to encode it by scanline, add the filter byte

Re: JPG and PNG decoder

2012-06-17 Thread Stewart Gordon
On 17/06/2012 14:38, Philippe Sigaud wrote: On Sun, Jun 17, 2012 at 3:25 PM, Stewart Gordon smjg_1...@yahoo.com wrote: FWIW a while ago I wrote a simple experimental program that generates an image and encodes it as a PNG. And I've just tweaked it and updated it to D2 (attached). It supports

Stewart's Utility Library 0.10 release - now exclusively for D2

2012-04-01 Thread Stewart Gordon
As some of you have heard already, I've taken the plunge and switched to D2. And, having seemingly discovered that most people have already left D1 behind, and that it's now harder than it was to make code compatible with both languages, I have decided to make my libraries D2-only. Other

Re: Stewart's Utility Library 0.10 release - now exclusively for D2

2012-04-01 Thread Stewart Gordon
On 01/04/2012 18:27, Dmitry Olshansky wrote: snip I gave this a brief look, the console stuff for windows caught my eye. No offense, but I totally expected console module to do coloring or some other cool terminal stuff. As is it looks like a workaround for stdio. I'm not sure what it would

Re: Stewart's Utility Library 0.10 release - now exclusively for D2

2012-04-01 Thread Stewart Gordon
On 01/04/2012 18:27, Dmitry Olshansky wrote: snip No offense, but I totally expected console module to do coloring or some other cool terminal stuff. As is it looks like a workaround for stdio. snip I've now rephrased the description of console on the library's main page to make its purpose

Why D needs tail const

2012-03-28 Thread Stewart Gordon
With arrays and pointers, you can declare const(int[]) constData; immutable(int[]) immutableData; to enforce constancy constraints. The type modifiers apply both to the reference to the data and to the data being referenced. If you want to be able to change what data the variables

Re: Why D needs tail const

2012-03-28 Thread Stewart Gordon
I'm not sure how my post ended up in .announce, but anyway On 28/03/2012 15:24, bearophile wrote: snip Is it possible to invent a language construct that allows: const(Rebindable!(const())) To be defined as the same as: Rebindable!(const()) You mean be defined the same as

Re: Why D needs tail const

2012-03-28 Thread Stewart Gordon
On 28/03/2012 16:09, Stewart Gordon wrote: snip Something like an onConst()/onImmutable templated methods for structs/classes? snip I'm not sure whether this would be a good idea. And it would solve only one of Rebindable's many shortcomings Moreover, any feature that makes a type

Re: D forums now live!

2012-02-22 Thread Stewart Gordon
On 21/02/2012 00:53, James Miller wrote: snip There are a potentially infinite number of possible configurations, and sites need to be aimed at the lowest-common denominator. Doesn't look right with an enlarged font size? Tough. snip Try saying that in court when you're sued for disability

Re: D forums now live!

2012-02-22 Thread Stewart Gordon
On 21/02/2012 11:43, James Miller wrote: snip Its more, if you are using a font with a massive difference in size, then obviously things aren't going to look right. However, if a website require pixel-perfect rendering, then it isn't going to work anyway once it hits a platform that isn't the

Re: D forums now live!

2012-02-20 Thread Stewart Gordon
On 19/02/2012 20:46, Vladimir Panteleev wrote: snip The forum starts looking bad for me when I make the browser window smaller than 730 pixels in width. Sorry, but I don't think anyone designs web pages for resolutions lower than 800x600 today. Mobile devices still have screens much smaller

Re: D forums now live!

2012-02-20 Thread Stewart Gordon
On 19/02/2012 14:22, Vladimir Panteleev wrote: On Thursday, 16 February 2012 at 13:22:43 UTC, bearophile wrote: A screen grab: http://oi39.tinypic.com/2s7e1dy.jpg I'm not quite sure what browser or configuration you're using, but the screenshot does not represent the intended look of the

Re: New homepage design of d-p-l.org is now live. eom

2011-12-18 Thread Stewart Gordon
On 17/12/2011 21:06, Michel Fortin wrote: On 2011-12-17 13:09:35 +, Stewart Gordon smjg_1...@yahoo.com said: snip No, because in order to determine whether it's well-formed, one must know whether it's meant to be in SGML-based HTML, HTML5 or XHTML. Perhaps for it matters for validation

Re: New homepage design of d-p-l.org is now live. eom

2011-12-18 Thread Stewart Gordon
On 17/12/2011 18:09, Nick Sabalausky wrote: Stewart Gordonsmjg_1...@yahoo.com wrote in message news:jci2bj$225s$1...@digitalmars.com... snip em isn't really an old-school example. It's the proper semantic markup for emphasis. Ok. It was a dedicated HTML tag instead of a span/div with

Re: New homepage design of d-p-l.org is now live. eom

2011-12-17 Thread Stewart Gordon
On 17/12/2011 06:35, Nick Sabalausky wrote: snip But if it'sijust/i ordinary text that simply needs to bebbolded/b oriitalicized/i, then handling it in any roundabout way like that is justiridiculous/i (and self-documenting would be completely inapplicable). You miss the point - why would

Re: New homepage design of d-p-l.org is now live. eom

2011-12-16 Thread Stewart Gordon
On 14/12/2011 10:12, Andrei Alexandrescu wrote: On 12/12/11 7:46 PM, Stewart Gordon wrote: On 06/12/2011 05:44, Andrei Alexandrescu wrote: http://d-p-l.org Andrei Why does it have an HTML 4.01 doctype but then go on to use XHTML syntax??? Stewart. I wouldn't know. What needs to be done

Re: New homepage design of d-p-l.org is now live. eom

2011-12-16 Thread Stewart Gordon
On 16/12/2011 18:26, Nick Sabalausky wrote: snip For example, I have an articles section on my site that (currently) uses TangoCMS. I neither know nor care what doctype TangoCMS is sending out (and I have even less interest in mucking with it's internals to change it), and yet when I want to

Re: New homepage design of d-p-l.org is now live. eom

2011-12-16 Thread Stewart Gordon
On 16/12/2011 15:09, Adam D. Ruppe wrote: On Friday, 16 December 2011 at 13:33:06 UTC, Stewart Gordon wrote: But whatever I try to validate it as, there are errors. Does validation make any positive difference at all? Yes: - it's a useful step in diagnosing problems with a webpage

Re: New homepage design of d-p-l.org is now live. eom

2011-12-12 Thread Stewart Gordon
On 06/12/2011 05:44, Andrei Alexandrescu wrote: http://d-p-l.org Andrei Why does it have an HTML 4.01 doctype but then go on to use XHTML syntax??? Stewart.

Re: dmd 1.071 and 2.056 release

2011-12-04 Thread Stewart Gordon
On 26/10/2011 19:34, Walter Bright wrote: snip http://www.digitalmars.com/d/2.0/changelog.html snip Version D 2.056 Sep 10, 2011 New/Changed Features Druntime Bugs Fixed Library Bugs Fixed DMD Bugs Fixed ??? Stewart.

Re: std.dateparse reincarnation

2011-10-27 Thread Stewart Gordon
On 26/10/2011 02:44, Jonathan M Davis wrote: snip I have not looked over them in detail, but from what I've seen, they're _very_ similar - as in they took the C format specifiers and followed them in almost all (and maybe even all) cases but added a few of their own. But slight differences

Re: std.dateparse reincarnation

2011-10-25 Thread Stewart Gordon
On 13/10/2011 20:09, Vladimir Panteleev wrote: snip I've written something to format and parse SysTimes using format strings based on the format PHP uses for its date() function: https://github.com/CyberShadow/ae/blob/master/utils/time.d Feel free to use this file as public domain. My

Re: std.dateparse reincarnation

2011-10-25 Thread Stewart Gordon
On 13/10/2011 05:22, Jesse Phillips wrote: Thought I would let everyone know that while std.dateparse is deprecated and will be removed from Phobos in February, I've updated it to output a std.datetime.SysTime. https://gist.github.com/1283011 I don't have any interest in maintaining it, but

Re: std.dateparse reincarnation

2011-10-25 Thread Stewart Gordon
On 25/10/2011 20:53, Jonathan M Davis wrote: snip What does Walter have to do with anything here? It was always my understanding that Walter is the man in charge of D development. He's not implementing any date/time stuff, and he's not all that involved with Phobos development in general.

Re: std.dateparse reincarnation

2011-10-25 Thread Stewart Gordon
On 25/10/2011 22:22, Jonathan M Davis wrote: snip At minimum, as I understand it, C, Java, python, and Ruby all have similar date/time formatting facilities and use mostly the same flags for date/time formatting. If they're only _similar_, it isn't really a standard. Indeed, it seems to me a

Re: Announcing bugzilla for dmdscript

2010-12-29 Thread Stewart Gordon
On 12/03/2010 04:40, Walter Bright wrote: Both C++ and D versions: http://bugzilla.digitalmars.com/issues/ Why the two Bugzillas? Stewart.

Re: New home page

2010-10-05 Thread Stewart Gordon
On 05/10/2010 06:51, Jacob Carlborg wrote: snip I think this site has good CSS tutorials: http://css.maxdesign.com.au/ Here is a tutorial for a liquid three column layout with a header and a footer: http://css.maxdesign.com.au/floatutorial/tutorial0916.htm That's geared towards creating a

Re: New home page

2010-10-04 Thread Stewart Gordon
On 04/10/2010 00:09, Walter Bright wrote: http://www.digitalmars.com Yes, I should add some color and style sheets, but at the moment I am just trying to get the layout right and make it much simpler to get to what I think are the most useful links. Comments welcome. The layout breaks in

Re: the bit[] type

2010-09-23 Thread Stewart Gordon
On 22/09/2010 22:26, Emil Madsen wrote: Okay I'm interresting in getting more infomation about the bit[] type; - is it still implemented in D1? bit is now just an alias of bool, defined in object. - and why was it removed? I think because there were too many complaints of bugs with it, and

Re: new layout on wiki4d

2010-06-09 Thread Stewart Gordon
Nick Sabalausky wrote: Stewart Gordon smjg_1...@yahoo.com wrote in message news:huj8co$od...@digitalmars.com... Taken the words out of my mouth there. I once came across this: http://www.wiltshirefarmfoods.com/accessibility.asp Wiltshire Farm Foods has worked hard to make this site

Re: new layout on wiki4d

2010-06-07 Thread Stewart Gordon
Adam Ruppe wrote: On 6/5/10, Stewart Gordon smjg_1...@yahoo.com wrote: snip Others claim that some layouts just can't be made fluid. The most annoying thing is the web is fluid by default - you have to fight it to make it fixed width! But, meh, people are stupid. Taken the words out of my

Re: new layout on wiki4d

2010-06-05 Thread Stewart Gordon
Adam Ruppe wrote: On 6/4/10, Stewart Gordon smjg_1...@yahoo.com wrote: See also this discussion I was once involved in: http://tinyurl.com/3ysen6d and in particular Alan J. Flavell's comment (number 12 in the tree). This thread reminds me of another bug report I got a few months ago: please

Re: new layout on wiki4d

2010-06-04 Thread Stewart Gordon
Jérôme M. Berger wrote: Stewart Gordon wrote: Matthias Pleh wrote: I have renewed the layout of the wiki4d-site. It's not finished, but I think it is already useable! Content itself hasn't changed! Any thoughts? snip Get rid of the abomination that is font sizes in px! Specify them in em

Re: new layout on wiki4d

2010-06-04 Thread Stewart Gordon
Jérôme M. Berger wrote: David Gileadi wrote: snip The bottom line for its recommendations is to use ems, plus font-size:100% in the body tag. Funny thing is: they got it wrong! The text of that page is too small here... Indeed, there are many web pages that don't practise what they

Re: new layout on wiki4d

2010-06-04 Thread Stewart Gordon
Adam Ruppe wrote: Going OT here, but I've gotta defend the pixel font sizes. I used to do percents, (since I read somewhere that px is evil and zomfg never use it...) but I got tired of the constant bug reports coming in from the clients saying it doesn't match the psd exactly on my Mac.

Re: new layout on wiki4d

2010-05-30 Thread Stewart Gordon
Matthias Pleh wrote: I have renewed the layout of the wiki4d-site. It's not finished, but I think it is already useable! Content itself hasn't changed! Any thoughts? snip Get rid of the abomination that is font sizes in px! Specify them in em or, even better, not at all. Stewart.

Re: Bug fix week

2010-05-27 Thread Stewart Gordon
Don wrote: snip IMHO, one of the most important bugs to fix is actually a spec bug: 4056 Template instantiation with bare parameter not documented snip Why single out that one? This is the one that needs fixing most of all: http://d.puremagic.com/issues/show_bug.cgi?id=677 Stewart.

Re: dmd 1.061 and 2.046 release

2010-05-27 Thread Stewart Gordon
Jérôme M. Berger wrote: Ary Borenszweig wrote: Jérôme M. Berger wrote: Walter Bright wrote: snip I'm using firefox. Even on their main developer.apple.com/iphone/index.action, most of the text is light grey on white. Text is black here. But it is very thin, are you sure this isn't an

[OT] Web font sizing (was: dmd 1.061 and 2.046 release)

2010-05-27 Thread Stewart Gordon
Nick Sabalausky wrote: Walter Bright newshou...@digitalmars.com wrote in message news:hspj3m$1c9...@digitalmars.com... snip Web sites should avoid setting specific font sizes, so low vision users can enlarge it. I agree a lot with most of this, but any web browser that doesn't scale

Re: dmd 1.048 and 2.033 releases

2009-10-05 Thread Stewart Gordon
Denis Koroskin wrote: snip int bar() @property { return 42; } What is @ going to be used for generally? (What is the essential difference between an attribute that's an @word and one that's a simple keyword before or after the type?) Stewart.

Re: DMD svn and contract inheritance

2009-10-02 Thread Stewart Gordon
Walter Bright wrote: Stewart Gordon wrote: I'm still none the wiser about why it absolutely has to be done like this instead of the simpler solution I proposed years ago. Can you refresh my memory? Seems straightforward to find to me, but here it is: http://www.digitalmars.com/d/archives

Re: DMD svn and contract inheritance

2009-10-01 Thread Stewart Gordon
Walter Bright wrote: snip There are some tricky bits to doing contract inheritance, I hope gdc and ldc don't have trouble with it. What tricky bits are those? Stewart.

Re: DMD svn and contract inheritance

2009-10-01 Thread Stewart Gordon
Walter Bright wrote: Stewart Gordon wrote: Walter Bright wrote: snip There are some tricky bits to doing contract inheritance, I hope gdc and ldc don't have trouble with it. What tricky bits are those? It's outlined in the code comments, but it's implemented by making the contract code

Re: Stewart's Utility Library 0.05 release

2009-09-14 Thread Stewart Gordon
Nick Sabalausky wrote: Stewart Gordon smjg_1...@yahoo.com wrote in message news:h8jg33$bb...@digitalmars.com... Mostly additions to datetime: alignment fields for formatting, and a unixTime property. A few other tweaks and bug fixes have also been thrown in. http://pr.stewartsplace.org.uk/d

Stewart's Utility Library 0.05 release

2009-09-13 Thread Stewart Gordon
Mostly additions to datetime: alignment fields for formatting, and a unixTime property. A few other tweaks and bug fixes have also been thrown in. http://pr.stewartsplace.org.uk/d/sutil/ Stewart.

Re: dmd 1.046 and 2.031 releases

2009-07-17 Thread Stewart Gordon
BCS wrote: Reply to bearophile, John C: Did you not read the change log? Implicit integral conversions that could result in loss of significant bits are no longer allowed. This was the code: ubyte m = (n = 0 ? 0 : (n = 255 ? 255 : n)); That last n is guaranteed to fit inside an ubyte snip

Re: dmd 2.029 release

2009-04-21 Thread Stewart Gordon
Walter Bright wrote: Stewart Gordon wrote: Walter, how often do you update your working copy from the SVN? Obviously less than once every 2 releases. As far as I know, it is current. Everything got checked in. So how has the fix for http://d.puremagic.com/issues/show_bug.cgi?id=2580

Re: dmd 2.029 release

2009-04-20 Thread Stewart Gordon
Walter, how often do you update your working copy from the SVN? Obviously less than once every 2 releases. Stewart.

Re: dmd 1.041 and 2.026 releases

2009-03-06 Thread Stewart Gordon
Jarrett Billingsley wrote: snip From the backend license: The Software was not designed to operate after December 31, 1999. Well that explains EVERYTHING! ;) As does the preceding statement It has not undergone testing. Hang on ... does that mean that 200% of things are now explained? Now

SDWF 0.61 release

2009-01-11 Thread Stewart Gordon
Implemented handling of file drag and drop. The MDI Edit example uses it. And updated D2 support to DMD 2.023. http://pr.stewartsplace.org.uk/d/sdwf/ Stewart.

Re: DMD 1.039 and 2.023 releases

2009-01-10 Thread Stewart Gordon
Walter Bright wrote: snip Writing labeled block statements is something more likely to be generated by an automated D code generator, I still don't get it. and it's convenient to be able to control if a scope is generated or not. To force a block to create a scope: {{ ... }} To

SDWF 0.60 release

2008-11-09 Thread Stewart Gordon
I don't know how it's ended up being this long between successive SDWF releases! Consider this an update to set the ball rolling again. Now that the Windows API bindings on Dsource have developed, I figured it was time that SDWF should use these bindings. So now it does. This might also