Branch: Tag:

2006-11-04

2006-11-04 19:08:24 by Martin Nilsson <mani@lysator.liu.se>

Use new ..<x indexing.

Rev: lib/master.pike.in:1.388
Rev: lib/modules/Array.pmod:1.104
Rev: lib/modules/Calendar.pmod/Time.pmod:1.36
Rev: lib/modules/Calendar.pmod/Timezone.pmod:1.34
Rev: lib/modules/Calendar.pmod/YMD.pike:1.19
Rev: lib/modules/Calendar.pmod/mkrules.pike:1.11
Rev: lib/modules/Crypto.pmod/DSA.pike:1.6
Rev: lib/modules/Crypto.pmod/PGP.pmod:1.13
Rev: lib/modules/Debug.pmod/Subject.pike:1.8
Rev: lib/modules/Filesystem.pmod/System.pike:1.18
Rev: lib/modules/Filesystem.pmod/Tar.pmod:1.29
Rev: lib/modules/GTKSupport.pmod/MenuFactory.pmod:1.11
Rev: lib/modules/Graphics.pmod/Graph.pmod/create_graph.pike:1.15
Rev: lib/modules/Graphics.pmod/Graph.pmod/create_pie.pike:1.14
Rev: lib/modules/Local.pmod:1.8
Rev: lib/modules/Locale.pmod/Charset.pmod/module.pmod:1.52
Rev: lib/modules/Locale.pmod/Language.pmod/ita.pmod:1.2
Rev: lib/modules/MIME.pmod/module.pmod:1.14
Rev: lib/modules/Parser.pmod/C.pmod:1.47
Rev: lib/modules/Parser.pmod/RCS.pike:1.35
Rev: lib/modules/Parser.pmod/XML.pmod/DOM.pmod:1.13
Rev: lib/modules/Parser.pmod/XML.pmod/Tree.pmod:1.67
Rev: lib/modules/Parser.pmod/XML.pmod/Validating.pike:1.13
Rev: lib/modules/Protocols.pmod/Bittorrent.pmod/Generator.pike:1.10
Rev: lib/modules/Protocols.pmod/DNS.pmod:1.88
Rev: lib/modules/Protocols.pmod/HTTP.pmod/Server.pmod/Request.pike:1.46
Rev: lib/modules/Protocols.pmod/IMAP.pmod/parse_line.pike:1.27
Rev: lib/modules/Protocols.pmod/IRC.pmod/Error.pmod:1.5
Rev: lib/modules/Protocols.pmod/IRC.pmod/Raw.pike:1.8
Rev: lib/modules/Protocols.pmod/LDAP.pmod/client.pike:1.102
Rev: lib/modules/Protocols.pmod/LDAP.pmod/module.pmod:1.25
Rev: lib/modules/Protocols.pmod/LysKOM.pmod/Helper.pmod:1.9
Rev: lib/modules/Protocols.pmod/OBEX.pmod:1.6
Rev: lib/modules/Protocols.pmod/TELNET.pmod:1.26
Rev: lib/modules/Remote.pmod/module.pmod:1.6
Rev: lib/modules/SSL.pmod/state.pike:1.29
Rev: lib/modules/Sql.pmod/Sql.pike:1.88
Rev: lib/modules/Sql.pmod/mysql.pike:1.33
Rev: lib/modules/Sql.pmod/rsql.pike:1.11
Rev: lib/modules/Sql.pmod/tds.pike:1.21
Rev: lib/modules/Standards.pmod/ASN1.pmod/Types.pmod:1.38
Rev: lib/modules/Standards.pmod/ID3.pmod:1.21
Rev: lib/modules/Standards.pmod/IDNA.pmod:1.8
Rev: lib/modules/Standards.pmod/URI.pike:1.25
Rev: lib/modules/Standards.pmod/XML.pmod/Wix.pmod:1.25
Rev: lib/modules/Stdio.pmod/Readline.pike:1.59
Rev: lib/modules/Stdio.pmod/module.pmod:1.225
Rev: lib/modules/String.pmod/module.pmod:1.26
Rev: lib/modules/Tools.pmod/AutoDoc.pmod/MirarDocParser.pike:1.26
Rev: lib/modules/Tools.pmod/AutoDoc.pmod/ProcessXML.pmod:1.65

1:   //! Graph sub-module for drawing pie-charts. - // $Id: create_pie.pike,v 1.13 2005/11/15 16:08:44 nilsson Exp $ + // $Id: create_pie.pike,v 1.14 2006/11/04 19:06:48 nilsson Exp $   //   // These functions were written by Henrik "Hedda" Wallin (hedda@roxen.com)   // Create_pie can draw pie charts in different forms.
219:    if (sizeof(diagram_data->datacolors)>    sizeof(diagram_data->data[0]))    diagram_data->datacolors=diagram_data->datacolors -  [0..sizeof(diagram_data->data[0])-1]; +  [..sizeof(diagram_data->data[0])-1];       int t=sizeof(diagram_data->datacolors);