www.digitalmars.com         C & C++   DMDScript  

D - Ugly holes/warts in Phobos

reply Stewart Gordon <smjg_1998 yahoo.com> writes:
1. std.file
You have functions to delete and rename files.  How about a function to 
copy files?

2. std.date
I've noticed a struct Date in the code.  Why no functions to convert 
between d_time and Date, besides the internal workings of the parse 
function?  Indeed, why no functions to get/set the component values of a 
d_time, or to construct a d_time from these values?

For that matter, is there any particular reason for the peculiar format 
generated by toString(d_time)?

3. std.intrinsic
	int bt(uint *p, uint index)
et al.

Is there some esoteric reason behind a pointer instead of an inout here?

Stewart.

-- 
My e-mail is valid but not my primary mailbox.  Please keep replies on 
on the 'group where everyone may benefit.
Apr 14 2004
parent reply "Phill" <phill pacific.net.au> writes:
 For that matter, is there any particular reason for the peculiar format
 generated by toString(d_time)?
What do you find peculiar about this format? std.date.toString(getUTCtime()) Phill. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.656 / Virus Database: 421 - Release Date: 4/9/2004
Apr 15 2004
parent reply "Scott Egan" <scotte tpg.com.aux> writes:
It breaks the date and time up strangely.

RFC2822 defines the date-time as used in mail headers.  Would the basic
format of this be better as it's standands based?

On my PC std.date.toSrting(getUTCtime())  --> "Thu Apr 15 23:02:11 GMT+1000
2004",

where as the RFC format would be:

"Thu, 15 Apr 2004 23:02:11 +1000"



"Phill" <phill pacific.net.au> wrote in message
news:c5lkpm$1o0u$1 digitaldaemon.com...
 For that matter, is there any particular reason for the peculiar format
 generated by toString(d_time)?
What do you find peculiar about this format? std.date.toString(getUTCtime()) Phill. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.656 / Virus Database: 421 - Release Date: 4/9/2004
Apr 15 2004
parent reply "Carlos Santander B." <carlos8294 msn.com> writes:
"Scott Egan" <scotte tpg.com.aux> wrote in message
news:c5m21t$2aut$1 digitaldaemon.com
| It breaks the date and time up strangely.
|
| RFC2822 defines the date-time as used in mail headers.  Would the basic
| format of this be better as it's standands based?
|
| On my PC std.date.toSrting(getUTCtime())  --> "Thu Apr 15 23:02:11
GMT+1000
| 2004",
|
| where as the RFC format would be:
|
| "Thu, 15 Apr 2004 23:02:11 +1000"
|
|
|
| "Phill" <phill pacific.net.au> wrote in message
| news:c5lkpm$1o0u$1 digitaldaemon.com...
||| For that matter, is there any particular reason for the peculiar format
||| generated by toString(d_time)?
|||
|| What do you find peculiar about this format?
||
|| std.date.toString(getUTCtime())
||
|| Phill.
||
||
||
||
|| ---
|| Outgoing mail is certified Virus Free.
|| Checked by AVG anti-virus system (http://www.grisoft.com).
|| Version: 6.0.656 / Virus Database: 421 - Release Date: 4/9/2004

I wrote a date2str function once. I posted it here and told Walter that if
he wanted he could use it in Phobos. He hasn't, though. Anyway, it's
available in http://earth.prohosting.com/carlos3/d_programas.htm and in the
wiki: http://www.prowiki.org/wiki4d/wiki.cgi?FrontPage, in the section
related to Phobos.

-----------------------
Carlos Santander Bernal
Apr 15 2004
parent reply "Phill" <phill pacific.net.au> writes:
"Carlos Santander B." <carlos8294 msn.com> wrote in message
news:c5n6q8$12pe$1 digitaldaemon.com...
 "Scott Egan" <scotte tpg.com.aux> wrote in message
 news:c5m21t$2aut$1 digitaldaemon.com
 | It breaks the date and time up strangely.
 |
 | RFC2822 defines the date-time as used in mail headers.  Would the basic
 | format of this be better as it's standands based?
 |
 | On my PC std.date.toSrting(getUTCtime())  --> "Thu Apr 15 23:02:11
 GMT+1000
 | 2004",
 |
 | where as the RFC format would be:
 |
 | "Thu, 15 Apr 2004 23:02:11 +1000"
 |
 |
 |
 | "Phill" <phill pacific.net.au> wrote in message
 | news:c5lkpm$1o0u$1 digitaldaemon.com...
 ||| For that matter, is there any particular reason for the peculiar
format
 ||| generated by toString(d_time)?
 |||
 || What do you find peculiar about this format?
 ||
 || std.date.toString(getUTCtime())
 ||
 || Phill.
 ||
 ||
 ||
 ||
 || ---
 || Outgoing mail is certified Virus Free.
 || Checked by AVG anti-virus system (http://www.grisoft.com).
 || Version: 6.0.656 / Virus Database: 421 - Release Date: 4/9/2004

 I wrote a date2str function once. I posted it here and told Walter that if
 he wanted he could use it in Phobos. He hasn't, though. Anyway, it's
 available in http://earth.prohosting.com/carlos3/d_programas.htm and in
the
 wiki: http://www.prowiki.org/wiki4d/wiki.cgi?FrontPage, in the section
 related to Phobos.

 -----------------------
 Carlos Santander Bernal
When I tried to download from the Wiki site, I received this error: The file type you have requested (d) is invalid Is it possible to get this format with your source? 850515 020000 That is 15th of May 1985 2am The reason I need this format is so that I can send it to a server in this format. Thanks Phill. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.656 / Virus Database: 421 - Release Date: 4/9/2004
Apr 15 2004
parent reply "Carlos Santander B." <carlos8294 msn.com> writes:
"Phill" <phill pacific.net.au> wrote in message
news:c5nt2c$23t6$1 digitaldaemon.com
| "Carlos Santander B." <carlos8294 msn.com> wrote in message
| news:c5n6q8$12pe$1 digitaldaemon.com...
||
|| I wrote a date2str function once. I posted it here and told Walter that
if
|| he wanted he could use it in Phobos. He hasn't, though. Anyway, it's
|| available in http://earth.prohosting.com/carlos3/d_programas.htm and in
| the
|| wiki: http://www.prowiki.org/wiki4d/wiki.cgi?FrontPage, in the section
|| related to Phobos.
||
|| -----------------------
|| Carlos Santander Bernal
|
| When I tried to download from the Wiki site, I received this error:
|
| The file type you have requested (d) is invalid
|
| Is it possible to get this format with your source?
|
| 850515 020000
| That is  15th of May 1985  2am
|
| The reason I need this format is so that I can
| send it to a server in this format.
|
| Thanks
|         Phill.
|
|
|
|
| ---
| Outgoing mail is certified Virus Free.
| Checked by AVG anti-virus system (http://www.grisoft.com).
| Version: 6.0.656 / Virus Database: 421 - Release Date: 4/9/2004

Yes, there seems to be a problem with the server. Meanwhile, I'm attaching
the file to this message.
And yes, it's possible to get that format.

-----------------------
Carlos Santander Bernal


begin 666 date2str.d
M+R\ 8GD 0V%R;&]S(%-A;G1A;F1E<B!"97)N86P-"B\O('1H:7, <&EE8V4 
M;V8 8V]D92!I<R!A8G-O;'5T96QY(&9R964*"G!R:79A=&4 :6UP;W)T('-T
M9"YD871E+"!S=&0N<W1R:6YG+"!S=&0N8RYS=&1I;SL*"F-L87-S($9O<FUA
M=%-T<FEN9T5X8V5P=&EO;B Z($5X8V5P=&EO;B![" ET:&ES("AC:&%R(%M=
M('-T<BD >PH)"7-U<&5R*")M86QF;W)M960 9F]R;6%T('-T<FEN9SH (GYS
M='(I.PH)?0I]" HO* II9B!I;G9A;&ED7W1I;64 /3X (B(*9VEV96X 9G)I


M/6UO.B  ("  :F%N"FUO;G1H.B  ("  :F%N=6%R>0H*9&0]1$0Z("  (" R


M:& ]2$ Q,CH (" P-0I(/4 R-#H
M("  ("  ("  <&T*5#H ("  ("  ("!030H*;3H ("  ("  (" S"FUM.B  

M("  (" M-0IZ>CU:6CH ("  ("TP-0IZ>GIZ/5I:6EHZ("TP-3 P" IA;GD 
M;W1H97( 8VAA<G, 87)E('=R:71T96X 87, =&AE>2!C;VUE"G1O('=R:71E
M('1H92!F;W)M871T:6YG('-Y;6)O;', *&%S(")W=R(I+"!E;F-L;W-E('1H
M96T 8F5T=V5E;B E("AL:6ME("(E=W<E(BD*=&\ =W)I=&4 =&AE("(E(B!S
M:6=N+"!W<FET92 R(&-O;G-E8W5T:79E<R H;&EK92 B)24B*0H*=&\ 9V5T
M('1H92!S86UE(')E<W5L="!A<R!S=&0N9&%T92YT;U-T<FEN9R I+"!U<V4*
M9FUT(#T (G< ;6\ 9&0 2#IM;3IS<R!')4U4)7IZ>GH >7EY>2(**B\*+R\ 
M8F%S960 ;VX <W1D+F1A=&4N=&]3=')I;F<*8VAA<B!;72!T;U-T<FEN9RAD
M7W1I;64 =&EM92QC:&%R(%M=(&9M="D >PH):68 *'1I;64 /3T 9%]T:6UE
M+FEN:70I" D)<F5T=7)N("(B.PH*"6-H87( 6UT <F5S.PH*"6-H87( <VEG
M;CL*"6EN="!H<BP ;6XL(&QE;CL*"61?=&EM92!T+"!O9F9S970L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<&%R<V57965K1&%Y3G5M8F5R*&9M="QI+%<I.PH)"65L<V4 
M:68 *&9M=%MI73T])V G('Q\(&9M=%MI73T])T G*0H)"0ER97, ?CT <&%R
M<V5(;W5R*&9M="QI+$ I.PH)"65L<V4 :68 *&9M=%MI73T])W0G*0H)"0EI
M9B H2#XQ,2D <F5S('X](")P;2([" D)"65L<V4 <F5S('X](")A;2([" D)
M96QS92!I9B H9FUT6VE=/3TG;2<I" D)"7)E<R!^/2!P87)S94UI;G5T92AF
M;70L:2QM+$TI.PH)"65L<V4 :68 *&9M=%MI73T])U0G*0H)"0EI9B H2#XQ
M,2D <F5S('X](")032([" D)"65L<V4 <F5S('X](")!32([" D)96QS92!I
M9B H9FUT6VE=/3TG<R< ?'P 9FUT6VE=/3TG4R<I" D)"7)E<R!^/2!P87)S
M95-E8V]N9"AF;70L:2QS*3L*"0EE;'-E(&EF("AF;71;:5T]/2=Z)R!\?"!F
M;71;:5T]/2=:)RD*"0D)<F5S('X]('!A<G-E5%HH9FUT+&DL<VEG;BQH<BQM
M;BD[" D)96QS90H)"0ER97, ?CT 9FUT6VE=.PH)"2\O<')I;G1F*");:3TE
M9"QR97,])2XJ<UU<;B(L:2QR97,I.PH)?0H*"7)E='5R;B!R97,["GT*"G!R
M:79A=&4 >PH)=F]I9"!42%)/5RAC:&%R(%M=(&9M="D >R!T:')O=R!N97< 
M1F]R;6%T4W1R:6YG17AC97!T:6]N*&9M="D[('T*" DO+R!P87)S92 G>7DG
M(&]R("=Y>7EY)R H9&]N)W0 =V]R<GD 86)O=70 =&AE(&-A<V4I" EC:&%R
M(%M=('!A<G-E665A<B H8VAA<B!;72!F;70L:6YO=70 :6YT('!O<RQI;G0 
M>65A<BD >PH)"6EF("AP;W,\/69M="YL96YG=& M-"D*"0D):68 *"!C;VUP

M"0ER971U<FX <W1D+G-T<FEN9RYT;U-T<FEN9RAY96%R*3L*"0D)?0H*"0EI
M9B H<&]S/F9M="YL96YG=& M,BD*"0D)5$A23U<H9FU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FEN9RAD87DI.PH)
M?0H*"2\O('!A<G-E('<L=W<*"6-H87( 6UT <&%R<V57965K1&%Y*&-H87( 
M6UT 9FUT+&EN;W5T(&EN="!P;W,L:6YT(%<I('L*"0EI9B H<&]S/#UF;70N
M;&5N9W1H+3(I" D)"6EF("AF;71;<&]S+BYP;W,K,ET]/2)W=R(I('L*"0D)
M"2LK('!O<SL*"0D)"7)E='5R;B!G9717965K1&%Y*%<L=')U92D[" D)"7T*
M" D)<F5T=7)N(&=E=%=E96M$87DH5RQF86QS92D[" E]" H)+R\ <&%R<V4 
M5RQ75PH)8VAA<B!;72!P87)S95=E96M$87E.=6UB97(H8VAA<B!;72!F;70L
M:6YO=70 :6YT('!O<RQI;G0 5RD >PH)"6EF("AP;W,\/69M="YL96YG=& M
M,BD*"0D):68 *&9M=%MP;W,N+G!O<RLR73T](E=7(BD >PH)"0D)*RL <&]S
M.PH)"0D)<F5T=7)N('-T9"YS=')I;F<N=&]3=')I;F<H5R _(%< .B W*3L*
M"0D)?0H*"0ER971U<FX <W1D+G-T<FEN9RYT;U-T<FEN9RA7*S$I.PH)?0H*

M72!P87)S94AO=7( *&-H87( 6UT 9FUT+&EN;W5T(&EN="!P;W,L:6YT(&AO

M('-T9"YS=')I;F<N=&]3=')I;F<H86UP;4AO=7(H:&]U<BDI.PH)"7T*"0EC

M=R!C:&%R6S-=.PH)"0ES<')I;G1F*& L(B4P,F0B+&%M<&U(;W5R*&AO=7(I
M*3L*"0D)<F5T=7)N('-T9"YS=')I;F<N=&]3=')I;F<H:"D[" D)?0H)"6-H
M87( 6UT 9F]R;6%T,R I('L +R](+$ R- H)"0ER971U<FX <W1D+G-T<FEN
M9RYT;U-T<FEN9RAH;W5R*3L*"0E]" D)8VAA<B!;72!F;W)M870T*"D >R O
M+TA(+$A(,C0*"0D)8VAA<B J(&  /2!N97< 8VAA<ELS73L*"0D)<W!R:6YT

M;F<H:"D[" D)?0H*"0EI9B H<&]S/#UF;70N;&5N9W1H+30I('L*"0D):68 
M*&9M=%MP;W,N+G!O<RLT73T](DA(,3(B*2![" D)"0EP;W, *ST ,SL*"0D)
M"7)E='5R;B!F;W)M870R*"D[" D)"7T*"0D):68 *&9M=%MP;W,N+G!O<RLT
M73T](DA(,C0B*2![" D)"0EP;W, *ST ,SL*"0D)"7)E='5R;B!F;W)M870T
M*"D[" D)"7T*"0E]" H)"6EF("AP;W,\/69M="YL96YG=& M,RD >PH)"0EI

M"0ER971U<FX 9F]R;6%T,2 I.PH)"0E]" D)"6EF("AF;71;<&]S+BYP;W,K
M,UT]/2)(,C0B*2![" D)"0EP;W, *ST ,CL*"0D)"7)E='5R;B!F;W)M870S
M*"D[" D)"7T*"0E]" H)"6EF("AP;W,\/69M="YL96YG=& M,BD >PH)"0EI
M9B H9FUT6W!O<RXN<&]S*S)=/3TB:& B*2![" D)"0DK*W!O<SL*"0D)"7)E
M='5R;B!F;W)M870R*"D[" D)"7T*"0D):68 *&9M=%MP;W,N+G!O<RLR73T]
M(DA((BD >PH)"0D)*RMP;W,[" D)"0ER971U<FX 9F]R;6%T-" I.PH)"0E]

M*3L*"0ER971U<FX 9F]R;6%T,R I.PH)?0H*"2\O('!A<G-E(&TL;6TL;6\L
M;6]N=& *"6-H87( 6UT <&%R<V5-:6YU=&4H8VAA<B!;72!F;70L:6YO=70 
M:6YT('!O<RQI;G0 ;6EN+&EN="!M;VYT:"D >PH)"6EF("AP;W,\/69M="YL
M96YG=& M-2D*"0D):68 *&9M=%MP;W,N+G!O<RLU73T](FUO;G1H(BD >PH)

M" D)"7T*" D):68 *'!O<SP]9FUT+FQE;F=T:"TR*2![" D)"6EF("AF;71;
M<&]S+BYP;W,K,ET]/2)M;R(I('L*"0D)"2LK<&]S.PH)"0D)<F5T=7)N(&=E
M=$UO;G1H*&UO;G1H+&9A;'-E*3L*"0D)?0H)"0EI9B H9FUT6W!O<RXN<&]S
M*S)=/3TB;6TB*2![" D)"0DK*R!P;W,[" D)"0EC:&%R("H ;2 ](&YE=R!C

M('-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U;B(L(")M;VXB
M+" B='5E(BP (G=E9"(L(")T:'4B+" B9G)I(BP (G-A="( 73L*"0EI9B H
M;&]N9VYA;64I" D)"7)E='5R;B!N86UE6W=E96MD87E=.PH)"7)E='5R;B!S
M:&]R=&YA;65;=V5E:V1A>5T[" E]" H)+R\ 8VAA<B M/B!C:&%R(%M=" EC
M:&%R(%M=('1O4W1R*&-H87( 8RD >PH)"6-H87( 6UT <CL*"0ER('X](&,[
M" D)<F5T=7)N('([" E]" H)+R\ <W1R,2 ]/2!S='(R+"!W+V\ 8V%S90H)
M8F]O;"!C;VUP("  8VAA<B!;72!S='(Q+"!C:&%R(%M=('-T<C( *2![" D)
M:68 *'-T<C$N;&5N9W1H(3US='(R+FQE;F=T:"D*"0D)<F5T=7)N(&9A;'-E
M.PT*"0EV97)S:6]N("A7:6YD;W=S*0T*"0D)<F5T=7)N('-T<FEC;7 H('1O
M4W1R:6YG>BAS='(Q*2P =&]3=')I;F=Z*'-T<C(I("D /3T ,#L-" D)96QS
M90H)"0ER971U<FX <W1R8V%S96-M<"  =&]3=')I;F=Z*'-T<C$I+"!T;U-T
M<FEN9WHH<W1R,BD *2 ]/2 P.PH)?0H-" EE>'1E<FX *$,I. H)"79E<G-I
M;VX *%=I;F1O=W,I" D)"6EN="!S=')I8VUP("AC:&%R("HL(&-H87( *BD[
M" D)96QS90T*"0D):6YT('-T<F-A<V5C;7  *&-H87( *BP 8VAA<B J*3L-
%"GT*" H`
`
end
Apr 16 2004
parent "Phill" <phill pacific.net.au> writes:
"Carlos Santander B." <carlos8294 msn.com> wrote in message
news:c5ogb6$31dd$1 digitaldaemon.com...
 "Phill" <phill pacific.net.au> wrote in message
 news:c5nt2c$23t6$1 digitaldaemon.com
 | "Carlos Santander B." <carlos8294 msn.com> wrote in message
 | news:c5n6q8$12pe$1 digitaldaemon.com...
 ||
 || I wrote a date2str function once. I posted it here and told Walter that
 if
 || he wanted he could use it in Phobos. He hasn't, though. Anyway, it's
 || available in http://earth.prohosting.com/carlos3/d_programas.htm and in
 | the
 || wiki: http://www.prowiki.org/wiki4d/wiki.cgi?FrontPage, in the section
 || related to Phobos.
 ||
 || -----------------------
 || Carlos Santander Bernal
 |
 | When I tried to download from the Wiki site, I received this error:
 |
 | The file type you have requested (d) is invalid
 |
 | Is it possible to get this format with your source?
 |
 | 850515 020000
 | That is  15th of May 1985  2am
 |
 | The reason I need this format is so that I can
 | send it to a server in this format.
 |
 | Thanks
 |         Phill.
 |
 |
 |
 |
 | ---
 | Outgoing mail is certified Virus Free.
 | Checked by AVG anti-virus system (http://www.grisoft.com).
 | Version: 6.0.656 / Virus Database: 421 - Release Date: 4/9/2004

 Yes, there seems to be a problem with the server. Meanwhile, I'm attaching
 the file to this message.
 And yes, it's possible to get that format.
Thanks very much! Phill.
 -----------------------
 Carlos Santander Bernal
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.659 / Virus Database: 423 - Release Date: 4/15/2004
Apr 16 2004