ChangeLog 750 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345
  1. 2010-06-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2. Made protected member variables of Command private. Added accessor
  3. funcs.
  4. 2010-06-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5. Made public member variables of DownloadEngine private. Added
  6. accessor funcs.
  7. 2010-06-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8. Release 1.9.4
  9. 2010-06-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  10. Updated Italian translation. Added Korean translation.
  11. Thanks to all translators.
  12. * LINGUAS
  13. * it.po
  14. * ko.po
  15. 2010-06-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  16. Updated po templates.
  17. * po/aria2.pot
  18. 2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  19. Fixed the bug that reading Metalink from pipe fails on older
  20. libxml2. It only accepts "-" as a special keyword to read stdin.
  21. * src/XML2SAXMetalinkProcessor.cc
  22. 2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  23. Added log message when cookies are loaded. Added filename to log
  24. message when serializing session.
  25. * src/MultiUrlRequestInfo.cc
  26. 2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  27. Treat SIGHUP and SIGTERM signal as emergency shutdown because they
  28. are usually issued by system or other process.
  29. * src/MultiUrlRequestInfo.cc
  30. 2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  31. Use downloadresultcode::IN_PROGRESS for
  32. RequestGroup::SHUTDOWN_SIGNAL.
  33. * src/RequestGroup.cc
  34. 2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  35. Call requestForceHalt() instead of _requestGroupMan->forceHalt().
  36. * src/DownloadEngine.cc
  37. 2010-06-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  38. Mentioned RFC 5854 in README and man page.
  39. * README
  40. * doc/aria2c.1.txt
  41. 2010-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  42. Bump up version number to 1.9.4
  43. * configure.ac
  44. * doc/aria2c.1.txt
  45. 2010-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  46. Don't throw exception when Metalink document is empty(no file
  47. element). It is a valid Metalink document anyway.
  48. * src/MetalinkHelper.cc
  49. * src/download_helper.cc
  50. 2010-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  51. Fixed double memory free when Exception raised from
  52. AbstractCommand::prepareForNextAction() called by
  53. HttpResponseCommand::handleDefaultEncoding().
  54. * src/AbstractCommand.cc
  55. * src/HttpResponseCommand.cc
  56. 2010-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  57. Added _logger->info() guard
  58. * src/IteratableChunkChecksumValidator.cc
  59. 2010-05-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  60. Fixed the bug that feeding Metalink XML via pipe (-M- option) does
  61. not work when aria2 is built with expat. Fixed the bug that when
  62. Metalink XML is fed via pipe and --save-session is used, entry
  63. "/dev/stdin" is saved in session file.
  64. * src/ExpatMetalinkProcessor.cc
  65. * src/ExpatMetalinkProcessor.h
  66. * src/Metalink2RequestGroup.cc
  67. 2010-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  68. Updated doc
  69. * src/aria2c.1.txt
  70. 2010-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  71. Added totalLength, completedLength, uploadLength, bitfield,
  72. downloadSpeed, uploadSpeed, infoHash, numSeeders, pieceLength,
  73. numPieces, connections and dir to the response of
  74. aria2.tellStopped XML-RPC method. aria2.tellWaiting now always
  75. returns numSeeders for BitTorrent download.
  76. * src/DownloadResult.h
  77. * src/RequestGroup.cc
  78. * src/RequestGroup.h
  79. * src/XmlRpcMethodImpl.cc
  80. * test/XmlRpcMethodTest.cc
  81. 2010-05-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  82. Fixed the bug that connection pooling does not take into account
  83. proxy. This means that when connection A via proxy X is pooled,
  84. it will be wrongly reused in the download using proxy Y.
  85. * src/DownloadEngine.cc
  86. * src/DownloadEngine.h
  87. * src/FtpFinishDownloadCommand.cc
  88. * src/FtpInitiateConnectionCommand.cc
  89. * src/FtpNegotiationCommand.cc
  90. * src/HttpDownloadCommand.cc
  91. * src/HttpInitiateConnectionCommand.cc
  92. * src/HttpResponseCommand.cc
  93. * src/HttpSkipResponseCommand.cc
  94. 2010-05-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  95. Fixed the bug that FTP download may fail when control connection
  96. is reused. This happens because FTP server can offer different
  97. root directory for different account. If pooled connections has
  98. different root directory, then download will fail.
  99. * src/DownloadEngine.cc
  100. * src/DownloadEngine.h
  101. * src/FtpConnection.cc
  102. * src/FtpConnection.h
  103. * src/FtpFinishDownloadCommand.cc
  104. * src/FtpInitiateConnectionCommand.cc
  105. * src/FtpNegotiationCommand.cc
  106. 2010-05-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  107. Removed DownloadResult's ctor because it has many args.
  108. * src/DownloadResult.h
  109. * src/RequestGroup.cc
  110. * test/XmlRpcMethodTest.cc
  111. 2010-05-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  112. Code cleanup.
  113. * src/RequestGroupMan.cc
  114. * src/UTMetadataPostDownloadHandler.cc
  115. * src/XmlRpcMethodImpl.cc
  116. 2010-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  117. Store both whole checksum and piece hash in metalink file.
  118. Dispatch whole checksum verification only when piece hash is not
  119. set.
  120. * src/DownloadCommand.cc
  121. * src/Metalink2RequestGroup.cc
  122. * test/Metalink2RequestGroupTest.cc
  123. 2010-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  124. Left only IANA hash function textual name in messageDigest.cc.
  125. Assign only IANA hash function textual name to Checksum and
  126. ChunkChecksum. Fixed the value of MessageDigestContext::MD5.
  127. * src/Checksum.h
  128. * src/MetalinkParserController.cc
  129. * src/messageDigest.cc
  130. * src/messageDigest.h
  131. * test/IteratableChecksumValidatorTest.cc
  132. * test/IteratableChunkChecksumValidatorTest.cc
  133. * test/MessageDigestHelperTest.cc
  134. * test/Metalink2RequestGroupTest.cc
  135. * test/MetalinkProcessorTest.cc
  136. 2010-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  137. Fixed typo in log message
  138. * src/AbstractCommand.cc
  139. 2010-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  140. Release 1.9.3
  141. 2010-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  142. Return const reference.
  143. * src/DefaultPieceStorage.h
  144. * src/DownloadContext.h
  145. * src/FeatureConfig.cc
  146. * src/FeatureConfig.h
  147. * src/OptionParser.cc
  148. * src/OptionParser.h
  149. * src/SimpleRandomizer.cc
  150. * src/SimpleRandomizer.h
  151. 2010-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  152. Bump up version number to 1.9.3.
  153. * configure.ac
  154. 2010-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  155. Return const reference.
  156. * src/LpdMessageReceiver.h
  157. * src/LpdReceiveMessageCommand.h
  158. 2010-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  159. Removed useless pathJoin
  160. * src/MetalinkParserController.cc
  161. 2010-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  162. Fixed the bug that name attribute of file element in Metalink file
  163. is not properly sanitized.
  164. * src/Metalink2RequestGroup.cc
  165. * src/MetalinkParserController.cc
  166. * test/Makefile.am
  167. * test/Metalink2RequestGroupTest.cc
  168. * test/metalink4-dosdirtraversal.xml
  169. 2010-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  170. Fixed the bug that if filename in Content-Disposition header
  171. includes ';', aria2 cuts filename after ';'.
  172. * src/util.cc
  173. * test/UtilTest.cc
  174. 2010-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  175. Release 1.9.2
  176. 2010-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  177. Fixed compiler warning on opensolaris.
  178. * src/StringFormat.h
  179. * src/XORCloser.h
  180. 2010-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  181. Updated doc
  182. * test/array_funTest.cc
  183. 2010-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  184. Fixed segmentation fault when running unit tests on opensolaris.
  185. * src/SocketCore.cc
  186. * src/bittorrent_helper.cc
  187. 2010-04-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  188. Updated Russian translation. Thanks to all translators.
  189. * po/ru.po
  190. 2010-04-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  191. Updated po templates.
  192. * po/aria2.pot
  193. 2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  194. Print warning when trying to add file descriptor >= FD_SET or < 0
  195. to fd_set for other than MinGW32 build. For MinGW32 build, print
  196. warning when trying to add file descriptor to fd_set when it
  197. already contains FD_SET file descriptors.
  198. * src/SelectEventPoll.cc
  199. * src/SocketCore.cc
  200. 2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  201. Updated doc for --event-poll option.
  202. * doc/aria2c.1.txt
  203. 2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  204. Bump up version number to 1.9.2
  205. * configure.ac
  206. * doc/aria2c.1.txt
  207. 2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  208. Defined FD_SETSIZE 1024 for MinGW32.
  209. * src/a2netcompat.h
  210. 2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  211. Fixed compile error on the system which lacks poll()
  212. * src/DownloadEngineFactory.cc
  213. 2010-04-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  214. In SocketCore::isReadable()/isWritable(), use poll() if it is
  215. available otherwise use select(). Removed epoll/port from there
  216. because poll() does the good enough job for single socket event
  217. notification.
  218. * src/SocketCore.cc
  219. * src/SocketCore.h
  220. * src/main.cc
  221. 2010-04-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  222. Added kqueue support. We use poll() for
  223. SocketCore::isReadable()/isWritable() when kqueue is used.
  224. * configure.ac
  225. * src/DownloadEngineFactory.cc
  226. * src/KqueueEventPoll.cc
  227. * src/KqueueEventPoll.h
  228. * src/Makefile.am
  229. * src/Makefile.in
  230. * src/OptionHandlerFactory.cc
  231. * src/main.cc
  232. * src/prefs.cc
  233. * src/prefs.h
  234. 2010-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  235. Added missing timespec.h to SRCS
  236. * src/Makefile.am
  237. 2010-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  238. Fixed the bug that aria2.unpause fails with -s1.
  239. * src/FileEntry.cc
  240. * src/XmlRpcMethodImpl.cc
  241. 2010-04-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  242. Added missing #ifdef HAVE_PORT_ASSOCIATE
  243. * src/DownloadEngineFactory.cc
  244. 2010-04-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  245. Added opensolaris port_associate() support.
  246. * src/DownloadEngineFactory.cc
  247. * src/Makefile.am
  248. * src/OptionHandlerFactory.cc
  249. * src/PortEventPoll.cc
  250. * src/PortEventPoll.h
  251. * src/SocketCore.cc
  252. * src/SocketCore.h
  253. * src/configure.ac
  254. * src/main.cc
  255. * src/prefs.cc
  256. * src/prefs.h
  257. 2010-04-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  258. Fixed the bug that _e is passed where e should be passed.
  259. * src/HttpListenCommand.cc
  260. 2010-04-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  261. Increased _epEvents size if necessary.
  262. * src/EpollEventPoll.cc
  263. * src/EpollEventPoll.h
  264. 2010-04-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  265. Removed EventRType template parameter
  266. * src/EpollEventPoll.cc
  267. * src/EpollEventPoll.h
  268. * src/Event.h
  269. * src/PollEventPoll.cc
  270. * src/PollEventPoll.h
  271. 2010-04-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  272. Use Event in EpollEventPoll
  273. * src/EpollEventPoll.cc
  274. * src/EpollEventPoll.h
  275. 2010-04-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  276. Externalized Event, CommandEvent, ADNSEvent, SocketEntry and
  277. AsyncNameResolverEntry class.
  278. * src/Event.h
  279. * src/Makefile.am
  280. * src/PollEventPoll.cc
  281. * src/PollEventPoll.h
  282. 2010-04-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  283. Supported poll() for socket event notification. --event-poll can
  284. take value "poll". Fixed the bug that timeout for
  285. SocketCore::isReadable()/isWritable() is ignored when epoll is
  286. used.
  287. * src/OptionHandlerFactory.cc
  288. * src/a2io.h
  289. * src/prefs.h
  290. * src/SocketCore.h
  291. * src/Makefile.am
  292. * src/main.cc
  293. * src/PollEventPoll.h
  294. * src/SocketCore.cc
  295. * src/DownloadEngineFactory.cc
  296. * src/PollEventPoll.cc
  297. * src/prefs.cc
  298. * configure.ac
  299. 2010-04-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  300. Reverted previous change to DownloadCommand.cc with additional
  301. commentary.
  302. * src/DownloadCommand.cc
  303. 2010-04-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  304. Fixed compile error with openssl 1.1.0 and mingw32.
  305. * src/AsyncNameResolver.cc
  306. * src/LogFactory.cc
  307. * src/Logger.cc
  308. * src/Logger.h
  309. * src/SocketCore.cc
  310. * src/SocketCore.h
  311. * src/a2netcompat.h
  312. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  313. Release 1.9.1
  314. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  315. Bump up version number to 1.9.0
  316. * doc/aria2c.1.txt
  317. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  318. Updated Ukrainian, Russian, Simplified Chinese, German and Greek
  319. translation. Thanks to all translators.
  320. * po/de.po
  321. * po/el.po
  322. * po/ru.po
  323. * po/uk.po
  324. * po/zh_CN.po
  325. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  326. Added AC_SEARCH_LIBS for inet_aton on opensolaris. opensolaris
  327. needs -lnsl for inet_aton.
  328. * configure.ac
  329. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  330. Updated po templates.
  331. * po/aria2.pot
  332. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  333. Added aria2.pause, aria2.forcePause, aria2.pauseAll,
  334. aria2.forcePauseAll, aria2.unpause, aria2.unpauseAll XML-RPC
  335. method to aria2rpc
  336. * doc/xmlrpc/aria2rpc
  337. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  338. Use elapsed time between two mach_absolute_time() calls.
  339. Fixed compile error in Mac OS X.
  340. * src/clock_gettime_osx.cc
  341. * src/timespec.h
  342. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  343. Implemented clock_gettime() using mach_absolute_time in Mac OS X.
  344. * configure.ac
  345. * src/Makefile.am
  346. * src/a2time.h
  347. * src/clock_gettime_osx.cc
  348. * src/clock_gettime_osx.h
  349. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  350. Implemented clock_gettime() using timeGetTime in mingw.
  351. * configure.ac
  352. * src/Makefile.am
  353. * src/a2time.h
  354. * src/clock_gettime_mingw.cc
  355. * src/clock_gettime_mingw.h
  356. * src/timespec.h
  357. * test/Makefile.am
  358. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  359. Ensure that std::ofstream is destroyed before renaming.
  360. * src/SessionSerializer.cc
  361. * src/util.cc
  362. 2010-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  363. Fixed the bug that user specified path is escaped using
  364. util::escapePath() where it should not.
  365. * src/DownloadContext.cc
  366. * src/DownloadContext.h
  367. 2010-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  368. Hold reference to PieceStorage when paused in order to provide
  369. progress information via XML-RPC.
  370. * src/RequestGroup.cc
  371. * src/RequestGroup.h
  372. * src/RequestGroupMan.cc
  373. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  374. Defined struct timespec if it is not available.
  375. * src/a2time.h
  376. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  377. Added missing serialize_session.meta4 to EXTRA_DIST
  378. * test/Makefile.am
  379. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  380. Fixed compile error without BitTorrent support.
  381. * src/Metalink2RequestGroup.cc
  382. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  383. Fixed compile error on Mac OS X
  384. * src/TimerA2.h
  385. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  386. Added warning for the system which lacks clock_gettime with
  387. CLOCK_MONOTONIC.
  388. * src/MultiUrlRequestInfo.cc
  389. * src/TimerA2.cc
  390. * src/TimerA2.h
  391. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  392. Removed redundant method call for DownloadEngine.
  393. * src/DownloadCommand.cc
  394. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  395. Fixed the bug that hash check hangs when aria2.pause is issued
  396. while aria2 is checking piece hashes. Fixed the bug that the
  397. download is paused after file allocation completion even if
  398. aria2.pause is issued during file allocation.
  399. * src/CheckIntegrityCommand.cc
  400. * src/FileAllocationCommand.cc
  401. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  402. Added nsl to search-libs for getaddrinfo on opensolaris
  403. * configure.ac
  404. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  405. Fixed compile error on opensolaris
  406. * configure.ac
  407. * src/Logger.h
  408. * src/GZipEncoder.h
  409. 2010-04-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  410. Added aria2.pauseAll, aria2.forcePauseAll and aria2.unpauseAll
  411. XML-RPC method.
  412. * doc/aria2c.1.txt
  413. * src/XmlRpcMethodFactory.cc
  414. * src/XmlRpcMethodImpl.cc
  415. * src/XmlRpcMethodImpl.h
  416. * test/XmlRpcMethodTest.cc
  417. 2010-04-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  418. Added aria2.forcePause XML-RPC command.
  419. * src/XmlRpcMethodFactory.cc
  420. * src/XmlRpcMethodImpl.cc
  421. * src/XmlRpcMethodImpl.h
  422. 2010-04-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  423. Use global::wallclock
  424. * src/DHTBucket.cc
  425. * src/DHTMessageTrackerEntry.cc
  426. * src/DHTMessageTrackerEntry.h
  427. * src/DefaultBtInteractive.cc
  428. * src/Peer.cc
  429. * src/PeerAbstractCommand.cc
  430. * src/PeerStat.h
  431. * src/RequestSlot.h
  432. * src/TimeBasedCommand.cc
  433. 2010-04-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  434. Use clock_gettime(CLOCK_MONOTONIC, ...) if it is available and
  435. usable to prevent from aria2 from being affected by system time
  436. change.
  437. 2010-04-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  438. Added aria2.pause and aria2.unpause XML-RPC method. aria2.pause
  439. pauses the download denoted by gid. gid is of type string. The
  440. status of paused download becomes "paused" and the download is
  441. placed on the first position of waiting queue. As long as the
  442. status is "paused", the download is not started. To change status
  443. to "waiting", use aria2.unpause method. This method returns GID of
  444. paused download. aria2.unpause changes the status of the download
  445. denoted by gid from "paused" to "waiting". This makes the download
  446. eligible to restart. gid is of type string. This method returns
  447. GID of unpaused download.
  448. * doc/aria2c.1.txt
  449. * src/DownloadContext.cc
  450. * src/FileEntry.cc
  451. * src/OptionHandlerFactory.cc
  452. * src/RequestGroup.cc
  453. * src/RequestGroup.h
  454. * src/RequestGroupMan.cc
  455. * src/XmlRpcMethodFactory.cc
  456. * src/XmlRpcMethodImpl.cc
  457. * src/XmlRpcMethodImpl.h
  458. * src/prefs.cc
  459. * src/prefs.h
  460. * src/usage_text.h
  461. 2010-04-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  462. Added --save-session=FILE option. This option saves
  463. error/unfinished downloads to FILE on exit. You can pass this
  464. output file to aria2c with -i option on restart. Please note that
  465. downloads added by aria2.addTorrent and aria2.addMetalink XML-RPC
  466. method are not saved.
  467. * src/BtPostDownloadHandler.cc
  468. * src/DownloadResult.h
  469. * src/Makefile.am
  470. * src/MetadataInfo.cc
  471. * src/MetadataInfo.h
  472. * src/Metalink2RequestGroup.cc
  473. * src/MetalinkPostDownloadHandler.cc
  474. * src/MultiUrlRequestInfo.cc
  475. * src/OptionHandlerFactory.cc
  476. * src/RequestGroup.cc
  477. * src/RequestGroup.h
  478. * src/SessionSerializer.cc
  479. * src/SessionSerializer.h
  480. * src/UTMetadataPostDownloadHandler.cc
  481. * src/download_helper.cc
  482. * src/download_helper.h
  483. * src/prefs.cc
  484. * src/prefs.h
  485. * src/usage_text.h
  486. * test/Makefile.am
  487. * test/SessionSerializerTest.cc
  488. * test/XmlRpcMethodTest.cc
  489. * test/serialize_session.meta4
  490. 2010-04-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  491. Fixed the bug that FTP data connection is not established via
  492. proxy when --ftp-proxy is defined and --ftp-pasv=true and
  493. --proxy-method=tunnel.
  494. * src/AbstractCommand.cc
  495. * src/AbstractCommand.h
  496. * src/FtpNegotiationCommand.cc
  497. * src/FtpNegotiationCommand.h
  498. * src/InitiateConnectionCommand.cc
  499. 2010-04-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  500. Updated po templates.
  501. * po/aria2.pot
  502. 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  503. Bump up version number to 1.9.1
  504. * configure.ac
  505. 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  506. Added shutdown and forceShutdown to aria2rpc
  507. * doc/xmlrpc/aria2rpc
  508. 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  509. Changed error message.
  510. * src/XmlRpcMethod.cc
  511. 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  512. Added bt-tracker-timeout, bt-tracker-connect-timeout,
  513. always-resume, max-resume-failure-tries and http-accept-gzip to -i
  514. list options.
  515. * doc/aria2c.1.txt
  516. * doc/xmlrpc/aria2rpc
  517. * src/download_helper.cc
  518. 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  519. Fixed the bug that web-seed URI is not percent-encoded.
  520. * src/a2functional.h
  521. * src/bittorrent_helper.cc
  522. * test/BittorrentHelperTest.cc
  523. * test/url-list-multiFile.torrent
  524. * test/url-list-singleFileEndsWithSlash.torrent
  525. 2010-04-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  526. Added aria2.shutdown and aria2.forceShutdown XML-RPC method.
  527. These methods, as their name implies, shutdown aria2. These
  528. methods are useful for Windows because it lacks signal mechanism.
  529. * doc/aria2c.1.txt
  530. * src/TimedHaltCommand.cc
  531. * src/XmlRpcMethodFactory.cc
  532. * src/XmlRpcMethodImpl.cc
  533. * src/XmlRpcMethodImpl.h
  534. 2010-04-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  535. Added forceHalt argument to TimedHaltCommand.
  536. Added requestForceHalt() to DownloadEngine.
  537. * src/DownloadEngine.cc
  538. * src/DownloadEngine.h
  539. * src/TimedHaltCommand.cc
  540. * src/TimedHaltCommand.h
  541. 2010-04-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  542. Possible fix for chunked encoding with Content-Length.
  543. * src/HttpResponseCommand.cc
  544. 2010-04-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  545. Don't send "Accept: default, gzip" by default. This is because
  546. some server responds with "Content-Encoding: gzip" for files which
  547. itself is gzipped file and aria2 inflates them. This is a problem
  548. if user don't want to inflate the file. Apparently this is server
  549. configuration error, but I cannot do anything about this. So turn
  550. this off. Added --http-accept-gzip option. If true is given to
  551. this option, aria2 sends 'Accept: deflate, gzip' request header
  552. and inflates response if remote server responds with
  553. 'Content-Encoding: gzip' or 'Content-Encoding: deflate'. This
  554. indicates we removed extension tgz hack in order not to inflate
  555. files with tgz extensions.
  556. * doc/aria2c.1.txt
  557. * src/HttpRequest.cc
  558. * src/HttpRequest.h
  559. * src/HttpRequestCommand.cc
  560. * src/HttpResponseCommand.cc
  561. * src/OptionHandlerFactory.cc
  562. * src/prefs.cc
  563. * src/prefs.h
  564. * src/usage_text.h
  565. * test/HttpRequestTest.cc
  566. 2010-04-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  567. Made aria2 not send
  568. "application/metalink4+xml,application/metalink+xml" in Accept
  569. header for web-seeding URIs and tracker request.
  570. * src/Metalink2RequestGroup.cc
  571. * src/TrackerWatcherCommand.cc
  572. * src/download_helper.cc
  573. * src/util.cc
  574. * src/util.h
  575. 2010-04-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  576. Added download_helper.{cc,h} to SRCS
  577. * src/Makefile.am
  578. * test/Makefile.am
  579. 2010-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  580. Added --dht-message-timeout option.
  581. * doc/aria2c.1.txt
  582. * src/DHTConstants.h
  583. * src/DHTMessageDispatcherImpl.cc
  584. * src/DHTMessageDispatcherImpl.h
  585. * src/DHTMessageTracker.cc
  586. * src/DHTMessageTracker.h
  587. * src/DHTReplaceNodeTask.h
  588. * src/DHTSetup.cc
  589. * src/DHTTaskFactoryImpl.cc
  590. * src/DHTTaskFactoryImpl.h
  591. * src/OptionHandlerFactory.cc
  592. * src/prefs.cc
  593. * src/prefs.h
  594. * src/usage_text.h
  595. * test/DHTMessageTrackerTest.cc
  596. 2010-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  597. Added --bt-tracker-connect-timeout and --bt-tracker-timeout
  598. option.
  599. * doc/aria2c.1.txt
  600. * src/OptionHandlerFactory.cc
  601. * src/TrackerWatcherCommand.cc
  602. * src/prefs.cc
  603. * src/prefs.h
  604. * src/usage_text.h
  605. 2010-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  606. Documented that specifying --seed-time=0 disables seeding after
  607. download completed.
  608. * doc/aria2c.1.txt
  609. 2010-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  610. Code cleanup
  611. * src/BtSetup.cc
  612. 2010-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  613. Drop connection if same Peer ID has been already seen.
  614. * src/DefaultBtInteractive.cc
  615. 2010-03-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  616. Fixed the bug that waiting download unintentionally starts when
  617. URIs are added to it using aria2.changeUri XML-RPC method. This
  618. also fixes the bug that causes segmentation fault when adding URIs
  619. to waiting download, which is a regression introduced by the
  620. previous change made to src/XmlRpcMethodImpl.cc
  621. * src/XmlRpcMethodImpl.cc
  622. 2010-03-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  623. Fixed compile error with g++-4.4 on FreeBSD.
  624. * src/util.h
  625. 2010-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  626. Fixed the bug that added URI using aria2.changeUri XML-RPC method
  627. is not used immediately if there is no URIs remaining before
  628. calling aria2.changeUri and the number of connection is less than
  629. the value in -s(or -C for Metalink downloads).
  630. * src/XmlRpcMethodImpl.cc
  631. 2010-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  632. Documented --always-resume and --max-resume-failure-tries option
  633. and exit status 8 in man page. Fixed typo.
  634. * doc/aria2c.1.txt
  635. * src/OptionHandlerFactory.cc
  636. 2010-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  637. Added --always-resume and --max-resume-failure-tries option. If
  638. --always-resume=false is given, when all given URIs does not
  639. support resume or aria2 encounters N URIs which does not support
  640. resume
  641. (N is the value specified using --max-resume-failure-tries
  642. option), aria2 download file from scratch. The default behavior
  643. is --always-resume=true, which means if all URIs do not support
  644. resume, download fails. I think this is OK because user normally
  645. don't like to see that partially downloaded file is
  646. overwritten(this is particularly true if file size is big). This
  647. option is useful when aria2 is used as download backend and
  648. graceful falling back to overwritten behavior is preferable.
  649. Added exit status value 8, which means download failed because
  650. server did not support resume.
  651. * src/AbstractCommand.cc
  652. * src/DefaultPieceStorage.cc
  653. * src/DownloadCommand.cc
  654. * src/DownloadResultCode.h
  655. * src/FileEntry.h
  656. * src/FtpNegotiationCommand.cc
  657. * src/HttpResponse.cc
  658. * src/HttpResponseCommand.cc
  659. * src/OptionHandlerFactory.cc
  660. * src/RequestGroup.cc
  661. * src/RequestGroup.h
  662. * src/SegmentMan.cc
  663. * src/SegmentMan.h
  664. * src/prefs.cc
  665. * src/prefs.h
  666. * src/usage_text.h
  667. * test/DefaultPieceStorageTest.cc
  668. * test/SegmentManTest.cc
  669. 2010-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  670. Added --remove-control-file option to -i list options.
  671. * doc/aria2c.1.txt
  672. * doc/xmlrpc/aria2rpc
  673. * src/download_helper.cc
  674. 2010-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  675. Added --remove-control-file option. This option removes control
  676. file(*.aria2 file) before download. Using with
  677. --allow-overwrite=true, download always starts from scratch. This
  678. will be useful for users behind proxy server which disables
  679. resume. For such proxy user, -C1 is also recommended for Metalink
  680. downloads to avoid establishing unnecessary connections.
  681. * doc/aria2c.1.txt
  682. * src/OptionHandlerFactory.cc
  683. * src/RequestGroup.cc
  684. * src/prefs.cc
  685. * src/prefs.h
  686. * src/usage_text.h
  687. 2010-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  688. Removed arrayLength. Defined A2_ARRAY_LEN as macro to calculate
  689. size of array at compile time.
  690. * src/array_fun.h
  691. * test/BitfieldManTest.cc
  692. * test/BtPortMessageTest.cc
  693. * test/DHTRoutingTableDeserializerTest.cc
  694. * test/DHTRoutingTableSerializerTest.cc
  695. * test/DownloadHelperTest.cc
  696. * test/LongestSequencePieceSelectorTest.cc
  697. * test/MultiDiskAdaptorTest.cc
  698. * test/OptionParserTest.cc
  699. * test/PriorityPieceSelectorTest.cc
  700. * test/array_funTest.cc
  701. 2010-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  702. Added vbegin() and vend() for fixed sized array.
  703. * src/DownloadHandlerConstants.cc
  704. * src/FeatureConfig.cc
  705. * src/OptionHandlerFactory.cc
  706. * src/ServerStat.cc
  707. * src/TimeA2.cc
  708. * src/XmlRpcMethod.cc
  709. * src/array_fun.h
  710. * src/download_helper.cc
  711. * src/messageDigest.cc
  712. * src/util.cc
  713. * test/BittorrentHelperTest.cc
  714. * test/DHTRoutingTableDeserializerTest.cc
  715. * test/DHTRoutingTableSerializerTest.cc
  716. * test/DefaultBtAnnounceTest.cc
  717. * test/DefaultBtProgressInfoFileTest.cc
  718. * test/DownloadContextTest.cc
  719. * test/DownloadHelperTest.cc
  720. * test/FeatureConfigTest.cc
  721. * test/FeedbackURISelectorTest.cc
  722. * test/HttpRequestTest.cc
  723. * test/InOrderURISelectorTest.cc
  724. * test/MSEHandshakeTest.cc
  725. * test/MultiDiskAdaptorTest.cc
  726. * test/MultiFileAllocationIteratorTest.cc
  727. * test/PriorityPieceSelectorTest.cc
  728. * test/RequestGroupManTest.cc
  729. * test/UtilTest.cc
  730. * test/XmlRpcMethodTest.cc
  731. * test/a2algoTest.cc
  732. * test/array_funTest.cc
  733. 2010-03-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  734. Simplified code using lastByteMask
  735. * src/BitfieldMan.cc
  736. * src/PieceStatMan.cc
  737. 2010-03-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  738. Rewritten lastByteMask
  739. * src/bitfield.h
  740. 2010-03-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  741. Redefined the maximum length of buffer used for HTTP header.
  742. * src/HttpHeaderProcessor.cc
  743. 2010-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  744. Code cleanup
  745. * src/SleepCommand.cc
  746. 2010-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  747. Do exact match if IP address is specified in --no-proxy.
  748. * src/AbstractCommand.cc
  749. 2010-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  750. Fixed the bug that socket is added to EventPoll object twice. This
  751. is because derived class FtpFinishDownloadCommand adds socket to
  752. EventPoll object while base class AbstractCommand does that
  753. already.
  754. * src/FtpFinishDownloadCommand.cc
  755. * src/FtpFinishDownloadCommand.h
  756. 2010-03-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  757. Defined gid_t as int64_t.
  758. * src/BtDependency.cc
  759. * src/BtStopDownloadCommand.cc
  760. * src/FtpNegotiationCommand.cc
  761. * src/HttpResponseCommand.cc
  762. * src/RequestGroup.cc
  763. * src/RequestGroup.h
  764. * src/RequestGroupMan.cc
  765. * src/TrackerWatcherCommand.cc
  766. * src/XmlRpcMethodImpl.cc
  767. * src/message.h
  768. * test/XmlRpcMethodTest.cc
  769. 2010-03-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  770. Defined cuid_t as int64_t. Removed texts containing "CUID#%D" from
  771. translatable texts because it is used in log and debugging
  772. purpose.
  773. * src/AbstractCommand.cc
  774. * src/ActivePeerConnectionCommand.cc
  775. * src/BtPieceMessage.cc
  776. * src/CUIDCounter.h
  777. * src/CheckIntegrityCommand.cc
  778. * src/CheckIntegrityDispatcherCommand.cc
  779. * src/Command.h
  780. * src/CreateRequestCommand.cc
  781. * src/DHTEntryPointNameResolveCommand.cc
  782. * src/DefaultBtInteractive.cc
  783. * src/DefaultBtMessageDispatcher.cc
  784. * src/DownloadCommand.cc
  785. * src/FileAllocationCommand.cc
  786. * src/FileAllocationDispatcherCommand.cc
  787. * src/FtpConnection.cc
  788. * src/FtpInitiateConnectionCommand.cc
  789. * src/FtpNegotiationCommand.cc
  790. * src/HttpConnection.cc
  791. * src/HttpInitiateConnectionCommand.cc
  792. * src/HttpListenCommand.cc
  793. * src/HttpResponse.cc
  794. * src/HttpServerBodyCommand.cc
  795. * src/HttpServerCommand.cc
  796. * src/HttpServerResponseCommand.cc
  797. * src/InitiateConnectionCommand.cc
  798. * src/InitiatorMSEHandshakeCommand.cc
  799. * src/MSEHandshake.cc
  800. * src/PeerAbstractCommand.cc
  801. * src/PeerConnection.cc
  802. * src/PeerInitiateConnectionCommand.cc
  803. * src/PeerInteractionCommand.cc
  804. * src/PeerListenCommand.cc
  805. * src/PeerReceiveHandshakeCommand.cc
  806. * src/SegmentMan.cc
  807. * src/SimpleBtMessage.cc
  808. * src/TrackerWatcherCommand.cc
  809. * src/message.h
  810. 2010-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  811. Use gid_t type for gid.
  812. * src/BtRegistry.cc
  813. * src/BtRegistry.h
  814. * src/DownloadResult.h
  815. * src/RequestGroup.cc
  816. * src/RequestGroup.h
  817. * src/RequestGroupMan.cc
  818. * src/RequestGroupMan.h
  819. * src/XmlRpcMethodImpl.cc
  820. 2010-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  821. Use cuid_t type for cuid.
  822. 2010-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  823. Added v key in DHT message. aria2's DHT version is independent of
  824. the package version and we defined it as 1 at the moment. It is
  825. defined as DHT_VERSION in src/DHTConstants.h. aria2's DHT version
  826. scheme is "A2"+2bytes DHT version number in network byte order.
  827. * src/DHTAbstractMessage.cc
  828. * src/DHTConstants.h
  829. * src/DHTMessage.cc
  830. * src/DHTMessage.h
  831. * src/DHTMessageFactoryImpl.cc
  832. * src/DHTQueryMessage.cc
  833. * src/DHTResponseMessage.cc
  834. * src/util.h
  835. * test/DHTAnnouncePeerMessageTest.cc
  836. * test/DHTAnnouncePeerReplyMessageTest.cc
  837. * test/DHTFindNodeMessageTest.cc
  838. * test/DHTFindNodeReplyMessageTest.cc
  839. * test/DHTGetPeersMessageTest.cc
  840. * test/DHTGetPeersReplyMessageTest.cc
  841. * test/DHTPingMessageTest.cc
  842. * test/DHTPingReplyMessageTest.cc
  843. 2010-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  844. Fixed the bug that value of numSeeders in aria2.tellStatus XML-RPC
  845. method response is integer, while manual says it is string. When
  846. peer's port is not listening port, set '0' to port in
  847. aria2.getPeers response.
  848. * src/XmlRpcMethodImpl.cc
  849. 2010-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  850. Lines starting "#" in -i list are treated as comments.
  851. Example:
  852. # this is comment
  853. http://example.org/file
  854. http://example.org/file2
  855. dir=/tmp
  856. # another comment
  857. out=myfile
  858. * doc/aria2c.1.txt
  859. * src/UriListParser.cc
  860. * test/filelist1.txt
  861. 2010-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  862. Accept IPv4 network address with CIDR block in --no-proxy option
  863. and no_proxy environment variable. Current implementation does
  864. not resolve hostname in URI to compare network address. So it is
  865. only effecive if URI has numeric IP addresses.
  866. * doc/aria2c.1.txt
  867. * src/AbstractCommand.cc
  868. * src/OptionHandlerFactory.cc
  869. * src/bitfield.h
  870. * src/usage_text.h
  871. * src/util.cc
  872. * src/util.h
  873. * test/UtilTest.cc
  874. * test/bitfieldTest.cc
  875. 2010-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  876. Reduced interval for metadatagetmode to quickly gather metadata.
  877. * src/BtSetup.cc
  878. 2010-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  879. Release 1.9.0
  880. 2010-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  881. Updated po templates.
  882. * po/aria2.pot
  883. 2010-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  884. Updated doc.
  885. * doc/aria2c.1.txt
  886. 2010-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  887. Documented about Metalink4 and LPD in README
  888. * RADME
  889. 2010-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  890. Few adjustment for timeouts in DHT. DHT message timeout is changed
  891. from 15 to 10. The interval of PeerLookup is first 5 seconds and
  892. it adds another 5 seconds in each retry.
  893. * src/DHTConstants.h
  894. * src/DHTGetPeersCommand.cc
  895. * src/DHTGetPeersCommand.h
  896. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  897. Changed log level from error to info for DHT message send error.
  898. * src/DHTMessageDispatcherImpl.cc
  899. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  900. Inspect all xt in magnet to find urn:btih.
  901. * src/bittorrent_helper.cc
  902. * test/BittorrentHelperTest.cc
  903. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  904. Use global option for DHTSetup.
  905. * src/DHTSetup.cc
  906. * src/DHTSetup.h
  907. * src/RequestGroup.cc
  908. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  909. Added bt-enable-lpt, reuse-uri
  910. and {http,https,ftp,all}-proxy-{user,passwd} options to -i list
  911. options.
  912. * doc/aria2c.1.txt
  913. * doc/xmlrpc/aria2rpc
  914. * src/download_helper.cc
  915. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  916. Use global option for PREF_LISTEN_PORT and PREF_BT_LPD_INTERFACE.
  917. * src/BtSetup.cc
  918. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  919. Resurrected --http-proxy-user and --http-proxy-passwd option.
  920. Added --https-proxy-user, --https-proxy-passwd, --ftp-proxy-user,
  921. --ftp-proxy-passwd, --all-proxy-user, --all-proxy-passwd option.
  922. * doc/aria2c.1.txt
  923. * src/OptionHandlerFactory.cc
  924. * src/OptionHandlerImpl.h
  925. * src/prefs.cc
  926. * src/prefs.h
  927. * src/usage_text.h
  928. * test/OptionHandlerTest.cc
  929. 2010-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  930. Updated Russian and Simplified Chinese translation. Thanks to all
  931. translators.
  932. * po/ru.po
  933. * po/zh_CN.po
  934. 2010-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  935. Updated po templates.
  936. * po/aria2.pot
  937. 2010-03-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  938. For LPD sockets, bind IN_ADDRANY because binding multicast address
  939. fails under Windows.
  940. * src/LpdMessageReceiver.cc
  941. * test/LpdMessageDispatcherTest.cc
  942. 2010-03-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  943. Fixed the bug that error message is not propagated to Exception.
  944. * src/SocketCore.cc
  945. 2010-03-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  946. Documented --bt-lpd-interface option in man page.
  947. * doc/aria2c.1.txt
  948. 2010-03-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  949. Bump up version number to 1.9.0
  950. * configure.ac
  951. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  952. Fixed the bug that FillRequestGroupCommand is not invoked when
  953. RequestGroupMan::createInitialCommand() creates no Command object.
  954. * src/FillRequestGroupCommand.cc
  955. * src/RequestGroupMan.cc
  956. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  957. Added debug logs.
  958. * src/FileEntry.cc
  959. * src/SegmentMan.cc
  960. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  961. Fixed unit test error with mingw32 build.
  962. * test/LpdMessageReceiverTest.cc
  963. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  964. Updated automake-1.11.1
  965. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  966. Fixed compile error and unit test error without openssl and
  967. gnutls.
  968. * src/MetalinkParserController.cc
  969. * test/MetalinkProcessorTest.cc
  970. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  971. Fixed unitest fails if openssl doesn't support sha-256.
  972. * src/MetalinkParserStateV4Impl.cc
  973. * test/MetalinkProcessorTest.cc
  974. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  975. Wait until message arrives(again)
  976. * test/LpdMessageReceiverTest.cc
  977. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  978. Added missing wallclock.h to SRCS.
  979. * src/Makefile.am
  980. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  981. Fixed compile error with --disable-bittorrent
  982. * test/Metalink2RequestGroupTest.cc
  983. * test/MetalinkParserControllerTest.cc
  984. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  985. Added --reuse-uri option. This option has existed quite long, but
  986. been hidden.
  987. * doc/aria2c.1.txt
  988. * src/OptionHandlerFactory.cc
  989. * src/usage_text.h
  990. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  991. Ignore filename parameter if it contains directory traversal
  992. directives.
  993. * src/util.cc
  994. * test/UtilTest.cc
  995. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  996. urldecode -> percentDecode
  997. * src/FtpConnection.cc
  998. * src/FtpNegotiationCommand.cc
  999. * src/HttpResponse.cc
  1000. * src/Request.cc
  1001. * src/magnet.cc
  1002. * src/util.cc
  1003. * src/util.h
  1004. * test/UtilTest.cc
  1005. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1006. urlencode -> percentEncode,
  1007. torrentUrlencode -> torrentPercentEncode
  1008. * src/BtHandshakeMessage.cc
  1009. * src/BtHandshakeMessageValidator.h
  1010. * src/DHTMessageFactoryImpl.cc
  1011. * src/DefaultBtAnnounce.cc
  1012. * src/HandshakeExtensionMessage.cc
  1013. * src/HttpRequest.cc
  1014. * src/XmlRpcMethodImpl.cc
  1015. * src/bittorrent_helper.cc
  1016. * src/util.cc
  1017. * src/util.h
  1018. * test/DHTAnnouncePeerMessageTest.cc
  1019. * test/DHTGetPeersMessageTest.cc
  1020. * test/DHTGetPeersReplyMessageTest.cc
  1021. * test/UTPexExtensionMessageTest.cc
  1022. * test/UtilTest.cc
  1023. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1024. Fixed the bug that filename is percent encoded where it must be
  1025. percent decoded in sendMdtm().
  1026. * src/FtpConnection.cc
  1027. * test/FtpConnectionTest.cc
  1028. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1029. url -> uri in Request class.
  1030. * src/AbstractCommand.cc
  1031. * src/AdaptiveURISelector.cc
  1032. * src/DefaultBtAnnounce.cc
  1033. * src/FeedbackURISelector.cc
  1034. * src/FileEntry.cc
  1035. * src/FileEntry.h
  1036. * src/HttpRequest.h
  1037. * src/HttpResponse.cc
  1038. * src/InitiateConnectionCommandFactory.cc
  1039. * src/Metalink2RequestGroup.cc
  1040. * src/OptionHandlerImpl.h
  1041. * src/ProtocolDetector.cc
  1042. * src/Request.cc
  1043. * src/Request.h
  1044. * src/XmlRpcMethodImpl.cc
  1045. * test/AuthConfigFactoryTest.cc
  1046. * test/FtpConnectionTest.cc
  1047. * test/HttpRequestTest.cc
  1048. * test/HttpResponseTest.cc
  1049. * test/RequestTest.cc
  1050. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1051. Added getServers XML-RPC method.
  1052. * doc/aria2c.1.txt
  1053. * src/FileEntry.h
  1054. * src/XmlRpcMethodFactory.cc
  1055. * src/XmlRpcMethodImpl.cc
  1056. * src/XmlRpcMethodImpl.h
  1057. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1058. Pool request when download finished.
  1059. * src/DownloadCommand.cc
  1060. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1061. Made 'fileIndex' parameter in aria2.changeUri XML-RPC method
  1062. 1-based.
  1063. * doc/aria2c.1.txt
  1064. * src/XmlRpcMethodImpl.cc
  1065. * test/XmlRpcMethodTest.cc
  1066. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1067. Call RequestGroupMan::requestQueueCheck() when
  1068. max-concurrent-downloads option is changed or new downloads are
  1069. added/inserted into reserved list.
  1070. * src/RequestGroupMan.cc
  1071. * src/XmlRpcMethodImpl.cc
  1072. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1073. Added aria2.forceRemove XML-RPC method.
  1074. * doc/aria2c.1.txt
  1075. * src/XmlRpcMethodFactory.cc
  1076. * src/XmlRpcMethodImpl.cc
  1077. * src/XmlRpcMethodImpl.h
  1078. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1079. Added debug log.
  1080. * src/AbstractCommand.cc
  1081. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1082. Create CreateRequestCommand to the number of -s/-C when URIs are
  1083. added by XML-RPC.
  1084. * src/RequestGroup.cc
  1085. * src/RequestGroup.h
  1086. * src/XmlRpcMethodImpl.cc
  1087. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1088. Added 'status' key to the response of getUri XML-RPC method.
  1089. * doc/aria2c.1.txt
  1090. * src/XmlRpcMethodImpl.cc
  1091. 2010-03-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1092. Replaced Time::reset() call with assigning of global::wallclock.
  1093. * src/BtLeecherStateChoke.cc
  1094. * src/BtSeederStateChoke.cc
  1095. * src/PeerSessionResource.cc
  1096. * src/RequestSlot.cc
  1097. * src/ServerStat.cc
  1098. * src/SpeedCalc.cc
  1099. 2010-03-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1100. Added changeUri XML-RPC method. This method removes/adds URIs
  1101. dynamically.
  1102. * doc/aria2c.1.txt
  1103. * src/AbstractCommand.cc
  1104. * src/DownloadContext.cc
  1105. * src/DownloadContext.h
  1106. * src/FileEntry.cc
  1107. * src/FileEntry.h
  1108. * src/Request.cc
  1109. * src/Request.h
  1110. * src/RequestGroup.cc
  1111. * src/RequestGroupMan.cc
  1112. * src/XmlRpcMethodFactory.cc
  1113. * src/XmlRpcMethodImpl.cc
  1114. * src/XmlRpcMethodImpl.h
  1115. * test/FileEntryTest.cc
  1116. * test/XmlRpcMethodTest.cc
  1117. 2010-03-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1118. Rewritten copy ctor of RequestSlot to use initialization list.
  1119. * src/RequestSlot.h
  1120. 2010-03-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1121. Added Time global::wallclock to cache "current time" to reduce the
  1122. call gettimeofday(). Global variables are now in namespace global.
  1123. * src/AbstractCommand.cc
  1124. * src/ActivePeerConnectionCommand.cc
  1125. * src/AdaptiveURISelector.cc
  1126. * src/BtLeecherStateChoke.cc
  1127. * src/BtLeecherStateChoke.h
  1128. * src/BtSeederStateChoke.cc
  1129. * src/BtSeederStateChoke.h
  1130. * src/BtStopDownloadCommand.cc
  1131. * src/ConsoleStatCalc.cc
  1132. * src/DHTBucket.cc
  1133. * src/DHTGetPeersCommand.cc
  1134. * src/DHTMessageTrackerEntry.cc
  1135. * src/DHTNode.cc
  1136. * src/DHTPeerAnnounceEntry.cc
  1137. * src/DHTPeerAnnounceStorage.cc
  1138. * src/DHTSetup.cc
  1139. * src/DefaultBtAnnounce.cc
  1140. * src/DefaultBtInteractive.cc
  1141. * src/DefaultBtMessageDispatcher.cc
  1142. * src/DefaultPeerStorage.cc
  1143. * src/DefaultPieceStorage.cc
  1144. * src/DownloadCommand.cc
  1145. * src/DownloadEngine.cc
  1146. * src/FileEntry.cc
  1147. * src/HttpServerBodyCommand.cc
  1148. * src/HttpServerCommand.cc
  1149. * src/HttpServerResponseCommand.cc
  1150. * src/LpdMessageDispatcher.cc
  1151. * src/MultiUrlRequestInfo.cc
  1152. * src/Peer.cc
  1153. * src/Peer.h
  1154. * src/PeerAbstractCommand.cc
  1155. * src/PeerStat.h
  1156. * src/RequestSlot.cc
  1157. * src/RequestSlot.h
  1158. * src/SegmentMan.cc
  1159. * src/ServerStatMan.cc
  1160. * src/SleepCommand.cc
  1161. * src/SpeedCalc.cc
  1162. * src/SpeedCalc.h
  1163. * src/TimeA2.cc
  1164. * src/TimeA2.h
  1165. * src/TimeBasedCommand.cc
  1166. * src/TimeSeedCriteria.h
  1167. * src/UTMetadataRequestTracker.h
  1168. * src/UTPexExtensionMessage.cc
  1169. * src/wallclock.h
  1170. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1171. Fixed the bug that util::itos(INT64_MIN) fails.
  1172. * src/util.cc
  1173. * src/util.h
  1174. * test/UtilTest.cc
  1175. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1176. Fixed memory leak in SocketBuffer when _bufq is not empty when
  1177. SocketBuffer is deleted. Added BufEntry constructor and deleted
  1178. static factory functions.
  1179. * src/SocketBuffer.cc
  1180. * src/SocketBuffer.h
  1181. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1182. Only execute RequestGroupMan::fillRequestGroupFromReserver() when
  1183. queue maintenance is requested by RequestGroup to avoid to call
  1184. the function unnecessarily.
  1185. * src/FillRequestGroupCommand.cc
  1186. * src/RequestGroup.cc
  1187. * src/RequestGroup.h
  1188. * src/RequestGroupMan.cc
  1189. * src/RequestGroupMan.h
  1190. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1191. Don't use hash for Peer::id. Simple concatenation of ip address
  1192. and port is enough.
  1193. * src/Peer.cc
  1194. * test/PeerTest.cc
  1195. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1196. Enclosed log of DHTMessage::toString() with Logger::info().
  1197. * src/DHTMessageDispatcherImpl.cc
  1198. * src/DHTMessageReceiver.cc
  1199. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1200. Rewritten util::toHex().
  1201. * src/util.cc
  1202. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1203. Removed SocketBuffer::feedAndSend(). Renamed
  1204. SocketBuffer::feedSendBuffer() as SocketBuffer::pushStr().
  1205. * src/FtpConnection.cc
  1206. * src/HttpConnection.cc
  1207. * src/HttpServer.cc
  1208. * src/MSEHandshake.cc
  1209. * src/PeerConnection.cc
  1210. * src/SocketBuffer.cc
  1211. * src/SocketBuffer.h
  1212. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1213. Removed unused PeerConnection::sendMessage(). Updated doc.
  1214. * src/PeerConnection.cc
  1215. * src/PeerConnection.h
  1216. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1217. Reduced copying/std::string instantiation in sending/receiving
  1218. BitTorrent messages.
  1219. * src/BtBitfieldMessage.cc
  1220. * src/BtBitfieldMessage.h
  1221. * src/BtExtendedMessage.cc
  1222. * src/BtExtendedMessage.h
  1223. * src/BtHandshakeMessage.cc
  1224. * src/BtHandshakeMessage.h
  1225. * src/BtKeepAliveMessage.cc
  1226. * src/BtKeepAliveMessage.h
  1227. * src/BtPieceMessage.cc
  1228. * src/BtPieceMessage.h
  1229. * src/BtPortMessage.cc
  1230. * src/BtPortMessage.h
  1231. * src/BtUnchokeMessage.h
  1232. * src/DefaultBtMessageReceiver.cc
  1233. * src/IndexBtMessage.cc
  1234. * src/IndexBtMessage.h
  1235. * src/PeerConnection.cc
  1236. * src/PeerConnection.h
  1237. * src/RangeBtMessage.cc
  1238. * src/RangeBtMessage.h
  1239. * src/SimpleBtMessage.cc
  1240. * src/SimpleBtMessage.h
  1241. * src/SocketBuffer.cc
  1242. * src/SocketBuffer.h
  1243. * src/ZeroBtMessage.cc
  1244. * src/ZeroBtMessage.h
  1245. * test/BtAllowedFastMessageTest.cc
  1246. * test/BtBitfieldMessageTest.cc
  1247. * test/BtCancelMessageTest.cc
  1248. * test/BtChokeMessageTest.cc
  1249. * test/BtExtendedMessageTest.cc
  1250. * test/BtHandshakeMessageTest.cc
  1251. * test/BtHaveAllMessageTest.cc
  1252. * test/BtHaveMessageTest.cc
  1253. * test/BtHaveNoneMessageTest.cc
  1254. * test/BtInterestedMessageTest.cc
  1255. * test/BtKeepAliveMessageTest.cc
  1256. * test/BtNotInterestedMessageTest.cc
  1257. * test/BtPieceMessageTest.cc
  1258. * test/BtPortMessageTest.cc
  1259. * test/BtRejectMessageTest.cc
  1260. * test/BtRequestMessageTest.cc
  1261. * test/BtSuggestPieceMessageTest.cc
  1262. * test/BtUnchokeMessageTest.cc
  1263. 2010-03-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1264. Rewritten SocketBuffer. Old implementation uses single std::string
  1265. to store data and erase sent data, which is costly. New
  1266. implementation uses deque to hold each data to avoid to mutate
  1267. string.
  1268. * src/SocketBuffer.cc
  1269. * src/SocketBuffer.h
  1270. 2010-03-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1271. Removed unused FileEntry::extracted
  1272. * src/FileEntry.cc
  1273. * src/FileEntry.h
  1274. 2010-03-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1275. Wait until data arrives.
  1276. * test/LpdMessageReceiverTest.cc
  1277. 2010-03-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1278. In Metalink4, if size element contains invalid size, discard whole
  1279. document. Added strict hash value check for metalink3/4.
  1280. * src/MetalinkParserController.cc
  1281. * src/MetalinkParserStateMachine.cc
  1282. * src/MetalinkParserStateMachine.h
  1283. * src/MetalinkParserStateV3Impl.cc
  1284. * src/MetalinkParserStateV4Impl.cc
  1285. * src/util.cc
  1286. * src/util.h
  1287. * test/MetalinkParserControllerTest.cc
  1288. * test/MetalinkProcessorTest.cc
  1289. * test/metalink4.xml
  1290. 2010-03-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1291. Added strict attribute validation for metalink4. When
  1292. specification violation is found, discard the whole document.
  1293. * src/ExpatMetalinkProcessor.cc
  1294. * src/MetalinkParserStateMachine.cc
  1295. * src/MetalinkParserStateMachine.h
  1296. * src/MetalinkParserStateV4Impl.cc
  1297. * src/XML2SAXMetalinkProcessor.cc
  1298. * test/Makefile.am
  1299. * test/MetalinkProcessorTest.cc
  1300. * test/metalink4-attrs.xml: Removed
  1301. * test/metalink4-dirtraversal.xml: Removed
  1302. 2010-03-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1303. Added test for Metaurl transaction.
  1304. * src/MetalinkParserController.cc
  1305. * test/MetalinkParserControllerTest.cc
  1306. 2010-03-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1307. Avoid costly BtMessage::toString() if info level log is not
  1308. required.
  1309. * src/DefaultBtInteractive.cc
  1310. * src/Logger.h
  1311. * src/SimpleBtMessage.cc
  1312. 2010-03-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1313. Reserved vector elements based on profiler results.
  1314. * src/DefaultBtInteractive.cc
  1315. * src/DefaultBtProgressInfoFile.cc
  1316. 2010-03-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1317. Avoid to calculate end() iterator in each loop. std::deque is
  1318. particularly slow. Make sure that recalculate end iterator if
  1319. element is erased during loop.
  1320. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1321. Use vector instead of deque for containers which is used for
  1322. mostly read-only purpose.
  1323. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1324. Fixed typo
  1325. * test/Makefile.am
  1326. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1327. Added metalink4-groupbymetaurl.xml to EXTRA_DIST
  1328. * test/Makefile.am
  1329. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1330. Small optimization: In updateTransferStatFor(), don't search peer
  1331. ID twice.
  1332. * src/DefaultPeerStorage.cc
  1333. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1334. Use vector instead of deque for MetalinkEntry and MetalinkResource
  1335. objects.
  1336. * src/Metalink2RequestGroup.cc
  1337. * src/Metalink2RequestGroup.h
  1338. * src/MetalinkEntry.cc
  1339. * src/MetalinkEntry.h
  1340. * src/MetalinkHelper.cc
  1341. * src/MetalinkHelper.h
  1342. * src/Metalinker.cc
  1343. * src/Metalinker.h
  1344. * src/main.cc
  1345. * test/MetalinkEntryTest.cc
  1346. * test/MetalinkHelperTest.cc
  1347. * test/MetalinkProcessorTest.cc
  1348. * test/MetalinkerTest.cc
  1349. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1350. Fixed the bug that grouped FileEntry objects are not used but
  1351. instead all FileEntry objects are used for each metaurl group.
  1352. * src/Metalink2RequestGroup.cc
  1353. * test/Metalink2RequestGroupTest.cc
  1354. * test/metalink4-groupbymetaurl.xml
  1355. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1356. Use vector instead of deque for ChunkChecksum.
  1357. * src/ChunkChecksum.h
  1358. * src/MetalinkParserController.cc
  1359. * src/MetalinkParserController.h
  1360. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1361. Added MessageDigest::isStronger(). Now aria2 selects stronger hash
  1362. algorithm in Metalink properly
  1363. * src/MetalinkParserController.cc
  1364. * src/MetalinkParserController.h
  1365. * src/messageDigest.cc
  1366. * src/messageDigest.h
  1367. * test/MetalinkProcessorTest.cc
  1368. * test/metalink4.xml
  1369. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1370. Replaced null or control characters in file path with '_'. For
  1371. MinGW32 build, additional characters which is not allowed in
  1372. Windows kernel are also replaced. util::detectDirTraversal() now
  1373. returns true if given string contains null or control characters.
  1374. * src/DownloadContext.cc
  1375. * src/DownloadContext.h
  1376. * src/Metalink2RequestGroup.cc
  1377. * src/MetalinkParserController.cc
  1378. * src/bittorrent_helper.cc
  1379. * src/util.cc
  1380. * src/util.h
  1381. * test/UtilTest.cc
  1382. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1383. Discard metalink:file if its name attribute is empty string.
  1384. Removed FileEntry instantiation in
  1385. MetalinkParserController::setFileLengthOfEntry()
  1386. * src/MetalinkParserController.cc
  1387. * src/MetalinkParserStateV3Impl.cc
  1388. * src/MetalinkParserStateV4Impl.cc
  1389. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1390. Discard torrent file if path data in it contains directory
  1391. traversal directives. Discard metalink:file element in Metalink3
  1392. format if its name attribute contains directory traversal
  1393. directives. Ignore name attribute of metalink:signature element
  1394. in Metalink3 format if it contains directory traversal directives.
  1395. * src/MetalinkParserStateV3Impl.cc
  1396. * src/bittorrent_helper.cc
  1397. * src/message.h
  1398. * test/BittorrentHelperTest.cc
  1399. * test/Makefile.am
  1400. * test/MetalinkProcessorTest.cc
  1401. * test/metalink3-dirtraversal.xml
  1402. * test/test.xml
  1403. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1404. Removed useless comment
  1405. * src/MetalinkParserStateV4Impl.cc
  1406. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1407. Supported name attribute of metalink::metaurl element and
  1408. multi-file torrent with Metalink4. Files with same metaurl are
  1409. grouped and downloaded in one RequestGroup.
  1410. * src/BtDependency.cc
  1411. * src/FileEntry.h
  1412. * src/Metalink2RequestGroup.cc
  1413. * src/Metalink2RequestGroup.h
  1414. * src/MetalinkEntry.cc
  1415. * src/MetalinkEntry.h
  1416. * src/MetalinkHelper.cc
  1417. * src/MetalinkHelper.h
  1418. * src/MetalinkMetaurl.cc
  1419. * src/MetalinkMetaurl.h
  1420. * src/MetalinkParserController.cc
  1421. * src/RequestGroup.cc
  1422. * src/RequestGroup.h
  1423. * src/bittorrent_helper.cc
  1424. * test/BittorrentHelperTest.cc
  1425. * test/BtDependencyTest.cc
  1426. * test/MetalinkHelperTest.cc
  1427. 2010-02-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1428. Store name attribute of metalink:metaurl element in MetalinkMetaurl.
  1429. * src/MetalinkMetaurl.h
  1430. * src/MetalinkParserController.cc
  1431. * src/MetalinkParserController.h
  1432. * src/MetalinkParserStateMachine.cc
  1433. * src/MetalinkParserStateMachine.h
  1434. * src/MetalinkParserStateV4Impl.cc
  1435. * test/MetalinkProcessorTest.cc
  1436. * test/metalink4-dirtraversal.xml
  1437. 2010-02-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1438. Added MetalinkMetaurl class. It corresponds to metalink:metaurl
  1439. element.
  1440. * src/Makefile.am
  1441. * src/Metalink2RequestGroup.cc
  1442. * src/MetalinkEntry.cc
  1443. * src/MetalinkEntry.h
  1444. * src/MetalinkMetaurl.cc
  1445. * src/MetalinkMetaurl.h
  1446. * src/MetalinkParserController.cc
  1447. * src/MetalinkParserController.h
  1448. * src/MetalinkParserStateMachine.cc
  1449. * src/MetalinkParserStateMachine.h
  1450. * src/MetalinkParserStateV4Impl.cc
  1451. * src/MetalinkParserStateV4Impl.h
  1452. * test/MetalinkProcessorTest.cc
  1453. 2010-02-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1454. Added Metalink4 support. Currently, name attribute of
  1455. metalink::metaurl is ignored and multi-file torrent cannot be used
  1456. with Metalink4.
  1457. * doc/aria2c.1.txt
  1458. * src/DownloadHandlerConstants.cc
  1459. * src/ExpatMetalinkProcessor.cc
  1460. * src/Makefile.am
  1461. * src/Metalink2RequestGroup.cc
  1462. * src/MetalinkEntry.cc
  1463. * src/MetalinkEntry.h
  1464. * src/MetalinkParserController.cc
  1465. * src/MetalinkParserController.h
  1466. * src/MetalinkParserState.h
  1467. * src/MetalinkParserStateImpl.cc
  1468. * src/MetalinkParserStateImpl.h
  1469. * src/MetalinkParserStateMachine.cc
  1470. * src/MetalinkParserStateMachine.h
  1471. * src/MetalinkParserStateV3Impl.cc
  1472. * src/MetalinkParserStateV3Impl.h
  1473. * src/MetalinkParserStateV4Impl.cc
  1474. * src/MetalinkParserStateV4Impl.h
  1475. * src/MetalinkResource.cc
  1476. * src/MetalinkResource.h
  1477. * src/Metalinker.cc
  1478. * src/RequestGroup.cc
  1479. * src/RequestGroup.h
  1480. * src/XML2SAXMetalinkProcessor.cc
  1481. * src/messageDigest.cc
  1482. * src/util.cc
  1483. * src/util.h
  1484. * test/Makefile.am
  1485. * test/MetalinkEntryTest.cc
  1486. * test/MetalinkParserControllerTest.cc
  1487. * test/MetalinkProcessorTest.cc
  1488. * test/MetalinkerTest.cc
  1489. * test/UtilTest.cc
  1490. * test/metalink4-attrs.xml
  1491. * test/metalink4-dirtraversal.xml
  1492. * test/metalink4.xml
  1493. 2010-02-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1494. Added aiFlags argument to getInterfaceAddress(). Use
  1495. AI_NUMERICHOST to find interface specified using
  1496. --bt-lpd-interface option to avoid time-consuming address lookup.
  1497. * src/BtSetup.cc
  1498. * src/SocketCore.cc
  1499. * src/SocketCore.h
  1500. 2010-02-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1501. Return SharedHandle<LpdMessage>(new LpdMessage()) if received data
  1502. is bad in LpdMessageReceiver.
  1503. * src/LpdMessage.h
  1504. * src/LpdMessageReceiver.cc
  1505. * src/LpdMessageReceiver.h
  1506. * src/LpdReceiveMessageCommand.cc
  1507. * test/LpdMessageReceiverTest.cc
  1508. 2010-02-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1509. Added --bt-lpd-interface option to specify the interface to use
  1510. for Local Peer Discovery. LpdMessageDispatcher object now has its
  1511. own socket. LpdMessageReceiver's socket is binded to multicast
  1512. address to only receive multicast packets.
  1513. * src/BtSetup.cc
  1514. * src/LpdMessageDispatcher.cc
  1515. * src/LpdMessageDispatcher.h
  1516. * src/LpdMessageReceiver.cc
  1517. * src/LpdMessageReceiver.h
  1518. * src/LpdReceiveMessageCommand.cc
  1519. * src/LpdReceiveMessageCommand.h
  1520. * src/OptionHandlerFactory.cc
  1521. * src/SocketCore.cc
  1522. * src/SocketCore.h
  1523. * src/prefs.cc
  1524. * src/prefs.h
  1525. * src/usage_text.h
  1526. * test/LpdMessageDispatcherTest.cc
  1527. * test/LpdMessageReceiverTest.cc
  1528. 2010-02-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1529. Put the portion of code to get interface addresses in
  1530. SocketCore::bindAddress() into newly added getInterfaceAddress().
  1531. * src/SocketCore.cc
  1532. * src/SocketCore.h
  1533. 2010-02-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1534. Rewritten util::parseInt() and parseUInt()
  1535. * src/util.cc
  1536. 2010-02-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1537. Fixed compile error with mingw32 cross compiler. Defined
  1538. a2_sockopt_t as void* for the target systems other than mingw32.
  1539. * src/SocketCore.cc
  1540. * src/a2netcompat.h
  1541. 2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1542. Removed 'always true' condition
  1543. * src/util.cc
  1544. 2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1545. Documented --bt-enable-lpd option in man page.
  1546. * doc/aria2c.1.txt
  1547. 2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1548. Added Local Peer Discovery. It is disabled by default. Use
  1549. --bt-enable-lpd to enable the function.
  1550. * src/BtConstants.h
  1551. * src/BtSetup.cc
  1552. * src/LpdDispatchMessageCommand.cc
  1553. * src/LpdDispatchMessageCommand.h
  1554. * src/LpdMessage.h
  1555. * src/LpdMessageDispatcher.cc
  1556. * src/LpdMessageDispatcher.h
  1557. * src/LpdMessageReceiver.cc
  1558. * src/LpdMessageReceiver.h
  1559. * src/LpdReceiveMessageCommand.cc
  1560. * src/LpdReceiveMessageCommand.h
  1561. * src/Makefile.am
  1562. * src/OptionHandlerFactory.cc
  1563. * src/Peer.cc
  1564. * src/Peer.h
  1565. * src/PeerInteractionCommand.cc
  1566. * src/SocketCore.cc
  1567. * src/SocketCore.h
  1568. * src/prefs.cc
  1569. * src/prefs.h
  1570. * src/usage_text.h
  1571. * src/util.cc
  1572. * src/util.h
  1573. * test/LpdMessageDispatcherTest.cc
  1574. * test/LpdMessageReceiverTest.cc
  1575. * test/Makefile.am
  1576. 2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1577. User-defined custom request headers specified by --header option
  1578. now override builtin headers if they have same name.
  1579. * src/HttpRequest.cc
  1580. * src/HttpRequest.h
  1581. * test/HttpRequestTest.cc
  1582. 2010-02-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1583. Rewirtten util::isNumber()
  1584. * src/util.cc
  1585. 2010-02-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1586. Reverted changes in r1893. setlocale(LC_CTYPE, "") is needed
  1587. because without it localized error messages are not printed
  1588. correctly.
  1589. * src/Platform.cc
  1590. 2010-02-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1591. Added unit tests for util::getContentDispositionFilename() from
  1592. http://greenbytes.de/tech/tc2231/ Fixed the function so that added
  1593. tests are passed.
  1594. * src/util.cc
  1595. * test/UtilTest.cc
  1596. 2010-02-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1597. Removed setlocale() for LC_CTYPE. It may affect isxdigit in
  1598. util.cc
  1599. * src/Platform.cc
  1600. 2010-02-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1601. Support RFC2231 "Parameter Value Character Set and Language
  1602. Information" in Content-Disposition header.
  1603. * src/HttpResponse.cc
  1604. * src/util.cc
  1605. * src/util.h
  1606. * test/UtilTest.cc
  1607. 2010-02-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1608. Print CXXFLAGS
  1609. * configure.ac
  1610. 2010-02-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1611. Small optimization for A2_WOULDBLOCK(e)
  1612. * src/SocketCore.cc
  1613. 2010-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1614. Removed test file
  1615. * test/CookieStorageTest.cc
  1616. 2010-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1617. Check both EAGAIN and EWOULDBLOCK
  1618. * src/SocketCore.cc
  1619. 2010-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1620. Removed ret == 0 checking for SSL_read(), SSL_write() and
  1621. SSL_peek() because the checks are done in the caller. In
  1622. SocketBuffer::send(), throw exception if nothing could be written
  1623. and socket error was not EWOULDBLOCK
  1624. * src/SocketBuffer.cc
  1625. * src/SocketCore.cc
  1626. 2010-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1627. Fixed error code handling so that it can handle Winsock2 error
  1628. code.
  1629. * src/SocketCore.cc
  1630. * src/SocketCore.h
  1631. 2010-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1632. Bump up version number to 1.9.0a
  1633. * configure.ac
  1634. * doc/aria2c.1.txt
  1635. 2010-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1636. Fixed the bug that aria2 doesn't handle return value if error
  1637. occurred before download begins.
  1638. * src/MultiUrlRequestInfo.cc
  1639. * src/main.cc
  1640. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1641. Removed SegmentManFactory class.
  1642. * src/AbstractSegmentManFactory.h
  1643. * src/DefaultSegmentManFactory.cc
  1644. * src/DefaultSegmentManFactory.h
  1645. * src/Makefile.am
  1646. * src/RequestGroup.cc
  1647. * src/RequestGroup.h
  1648. * src/SegmentManFactory.h
  1649. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1650. Destroyed digest context after getting calculated hash.
  1651. * src/Piece.cc
  1652. * src/Piece.h
  1653. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1654. Removed BitfieldManFactory class.
  1655. * src/BitfieldManFactory.cc
  1656. * src/BitfieldManFactory.h
  1657. * src/DefaultPieceStorage.cc
  1658. * src/Makefile.am
  1659. * src/PeerSessionResource.cc
  1660. * src/Piece.cc
  1661. * src/main.cc
  1662. * test/DefaultPieceStorageTest.cc
  1663. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1664. Removed unused methods from BitfieldMan class. Moved
  1665. getFirstMissingIndex to bitfield.h. Updated doc for BitfieldMan
  1666. class.
  1667. * src/BitfieldMan.cc
  1668. * src/BitfieldMan.h
  1669. * src/BitfieldManFactory.cc
  1670. * src/BitfieldManFactory.h
  1671. * src/bitfield.h
  1672. * src/main.cc
  1673. * test/BitfieldManTest.cc
  1674. * test/DefaultPieceStorageTest.cc
  1675. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1676. Moved getFirstNMissingIndex to bitfield.h and made it return the
  1677. number of appended indexes.
  1678. * src/BitfieldMan.cc
  1679. * src/BitfieldMan.h
  1680. * src/Piece.cc
  1681. * src/Piece.h
  1682. * src/bitfield.h
  1683. * test/BitfieldManTest.cc
  1684. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1685. Added more tests.
  1686. * test/BitfieldManTest.cc
  1687. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1688. Added BitfieldMan::getFirstNMissingUnusedIndex() to get multiple
  1689. unused block indexes at once instead of calling
  1690. getFirstMissingUnusedIndex() multiple times. Made use of it in
  1691. Piece class and DefaultBtRequestFactory class via Piece class.
  1692. * src/BitfieldMan.cc
  1693. * src/BitfieldMan.h
  1694. * src/DefaultBtRequestFactory.cc
  1695. * src/Piece.cc
  1696. * src/Piece.h
  1697. * test/BitfieldManTest.cc
  1698. 2010-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1699. Use std::make_pair(...)
  1700. * src/DHTMessageTracker.cc
  1701. 2010-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1702. Use std::make_pair(...)
  1703. * src/bittorrent_helper.cc
  1704. 2010-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1705. urlencode(removeFragment(...)) in parseUrl(...)
  1706. * src/Request.cc
  1707. 2010-02-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1708. Wrapped logger->debug(...) with if(logger->debug()) { ... }
  1709. * src/AbstractCommand.cc
  1710. * src/AdaptiveURISelector.cc
  1711. * src/BtPieceMessage.cc
  1712. * src/BtPortMessage.cc
  1713. * src/CreateRequestCommand.cc
  1714. * src/DHTAbstractNodeLookupTask.cc
  1715. * src/DHTBucket.cc
  1716. * src/DHTGetPeersCommand.cc
  1717. * src/DHTMessageDispatcherImpl.cc
  1718. * src/DHTMessageFactoryImpl.cc
  1719. * src/DHTMessageTracker.cc
  1720. * src/DHTPeerAnnounceStorage.cc
  1721. * src/DHTRoutingTable.cc
  1722. * src/DHTSetup.cc
  1723. * src/DefaultBtAnnounce.cc
  1724. * src/DefaultBtInteractive.cc
  1725. * src/DefaultBtMessageDispatcher.cc
  1726. * src/DefaultBtMessageReceiver.cc
  1727. * src/DefaultBtProgressInfoFile.cc
  1728. * src/DefaultBtRequestFactory.cc
  1729. * src/DefaultPeerStorage.cc
  1730. * src/DefaultPieceStorage.cc
  1731. * src/DownloadCommand.cc
  1732. * src/DownloadEngine.cc
  1733. * src/EpollEventPoll.cc
  1734. * src/FileAllocationCommand.cc
  1735. * src/FileEntry.cc
  1736. * src/FtpNegotiationCommand.cc
  1737. * src/HandshakeExtensionMessage.cc
  1738. * src/HttpListenCommand.cc
  1739. * src/HttpServer.cc
  1740. * src/HttpSkipResponseCommand.cc
  1741. * src/IteratableChunkChecksumValidator.cc
  1742. * src/Logger.h
  1743. * src/MSEHandshake.cc
  1744. * src/MetalinkPostDownloadHandler.cc
  1745. * src/MultiDiskAdaptor.cc
  1746. * src/PeerAbstractCommand.cc
  1747. * src/PeerConnection.cc
  1748. * src/PeerListenCommand.cc
  1749. * src/PeerReceiveHandshakeCommand.cc
  1750. * src/RequestGroup.cc
  1751. * src/RequestGroupMan.cc
  1752. * src/SegmentMan.cc
  1753. * src/SelectEventPoll.cc
  1754. * src/ServerStat.cc
  1755. * src/SimpleBtMessage.cc
  1756. * src/SocketCore.cc
  1757. * src/TrackerWatcherCommand.cc
  1758. * src/UTMetadataDataExtensionMessage.cc
  1759. * src/UTMetadataRequestFactory.cc
  1760. * src/UTMetadataRequestTracker.cc
  1761. * src/XmlRpcMethod.cc
  1762. 2010-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1763. Changed log level from debug to info
  1764. * src/BtDependency.cc
  1765. * src/BtPostDownloadHandler.cc
  1766. 2010-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1767. Removed unused PeerSessionResource::_latency.
  1768. * src/BtConstants.h
  1769. * src/BtPieceMessage.cc
  1770. * src/Peer.cc
  1771. * src/Peer.h
  1772. * src/PeerSessionResource.cc
  1773. * src/PeerSessionResource.h
  1774. * test/PeerSessionResourceTest.cc
  1775. 2010-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1776. Fixed the bug that --file-allocation=falloc doesn't work with
  1777. single file download.
  1778. * src/AbstractSingleDiskAdaptor.cc
  1779. 2010-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1780. Release 1.8.2
  1781. 2010-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1782. Added Portuguese translation. Updated Ukrainian and Spanish
  1783. translation. Thanks to all translators.
  1784. * po/LINGUAS
  1785. * po/es.po
  1786. * po/pt.po
  1787. * po/uk.po
  1788. 2010-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1789. Remove fragment from redirected URI.
  1790. * src/Request.cc
  1791. * test/RequestTest.cc
  1792. 2010-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1793. Updated po templates.
  1794. * po/aria2.pot
  1795. 2010-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1796. Drop legacy ifdef for ares support and code cleanup.
  1797. * src/AsyncNameResolver.cc
  1798. * src/AsyncNameResolver.h
  1799. 2010-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1800. Call ares_library_init and ares_library_cleanup if they are
  1801. available. Some code cleanups.
  1802. * src/Platform.cc
  1803. 2010-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1804. Call ares_process_fd() each time after epoll to handle timeout.
  1805. * src/EpollEventPoll.cc
  1806. * src/EpollEventPoll.h
  1807. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1808. Suppressed type-cast compiler warning
  1809. * src/CookieStorage.cc
  1810. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1811. Fixed compile error on Mac OS X.
  1812. * src/CookieStorage.h
  1813. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1814. Removed cookietest.txt from Makefile.am
  1815. * test/Makefile.am
  1816. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1817. Updated version number in man page.
  1818. * doc/aria2c.1.txt
  1819. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1820. Rewritten help message for --allow-overwrite option.
  1821. * doc/aria2c.1.txt
  1822. * src/usage_text.h
  1823. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1824. Added bittorrent key to the response of tellStatus XML-RPC method.
  1825. The associated value of the key is a struct and contains data
  1826. retrieved from .torrent file, such as name, announce-list,
  1827. comment, etc.
  1828. * doc/aria2c.1.txt
  1829. * src/XmlRpcMethodImpl.cc
  1830. * src/XmlRpcMethodImpl.h
  1831. * test/XmlRpcMethodTest.cc
  1832. 2010-01-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1833. Removed parse(std::istream&) and parse(const std::string&) from
  1834. CookieParser.
  1835. * src/CookieParser.cc
  1836. * src/CookieParser.h
  1837. * test/CookieParserTest.cc
  1838. * test/cookietest.txt: Removed
  1839. 2010-01-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1840. Fixed the bug that cookie for domain a.b.c is not sent to the host
  1841. a.b.c if no other cookies are stored. Fixed the bug that
  1842. Cookie::markOriginServerOnly() is not called when cookies are
  1843. loaded from file/sqlite3 database.
  1844. * src/Cookie.h
  1845. * src/CookieStorage.cc
  1846. * src/NsCookieParser.cc
  1847. * src/Sqlite3MozCookieParser.cc
  1848. * test/CookieStorageTest.cc
  1849. * test/NsCookieParserTest.cc
  1850. * test/Sqlite3MozCookieParserTest.cc
  1851. * test/cookies.sqlite
  1852. * test/nscookietest.txt
  1853. 2010-01-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1854. Removed RequestGroup::initSegmentMan(). Guaranteed that either
  1855. both _pieceStorage and _segmentMan are initialized or they are
  1856. not.
  1857. * src/RequestGroup.cc
  1858. * src/RequestGroup.h
  1859. * test/BtDependencyTest.cc
  1860. 2010-01-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1861. Bump up version number to 1.8.2
  1862. * configure.ac
  1863. 2010-01-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1864. Replaced "." with A2STR::DOT_C
  1865. * src/AbstractCommand.cc
  1866. * src/Cookie.cc
  1867. * src/DownloadContext.cc
  1868. * src/FtpConnection.cc
  1869. * src/RequestGroup.cc
  1870. * src/util.cc
  1871. 2010-01-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1872. Replaced isNumberAndDotsNotation() with isNumericHost().
  1873. isNumericHost() can handle IPv6 address.
  1874. * src/Cookie.cc
  1875. * src/CookieStorage.cc
  1876. * src/util.cc
  1877. * src/util.h
  1878. * test/CookieTest.cc
  1879. * test/UtilTest.cc
  1880. 2010-01-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1881. Included A2STR.h
  1882. * src/CookieStorage.cc
  1883. 2010-01-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1884. Rewritten Cookie storage.
  1885. * src/Cookie.cc
  1886. * src/Cookie.h
  1887. * src/CookieParser.cc
  1888. * src/CookieStorage.cc
  1889. * src/CookieStorage.h
  1890. * src/a2functional.h
  1891. * test/CookieParserTest.cc
  1892. * test/CookieStorageTest.cc
  1893. * test/CookieTest.cc
  1894. * test/HttpResponseTest.cc
  1895. * test/TestUtil.h
  1896. * test/a2functionalTest.cc
  1897. 2010-01-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1898. Handle redirected URI which is not properly percent encoded.
  1899. * src/Request.cc
  1900. * test/RequestTest.cc
  1901. 2010-01-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1902. Fixed the bug that causes segmentaiton fault when aria2 sees '404
  1903. not found' in the N times(N is where --max-file-not-found=N, N>0)
  1904. in a row without single '200 OK' response.
  1905. * src/RequestGroup.cc.
  1906. 2010-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1907. Fixed compile error with i586-mingw32msvc-g++. Always Cut console
  1908. readout by 80 characters in mingw32 build. Catch exception in
  1909. DHTMessageReceiver::receiveMessage().
  1910. * src/AbstractDiskWriter.cc
  1911. * src/ConsoleStatCalc.cc
  1912. * src/DHTMessageReceiver.cc
  1913. * src/File.cc
  1914. * src/RequestGroupMan.cc
  1915. * src/a2io.h
  1916. * test/FileTest.cc
  1917. 2010-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1918. Fixed compile error with intel compiler
  1919. * src/XmlRpcMethodImpl.cc
  1920. * src/XmlRpcMethodImpl.h
  1921. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1922. Release 1.8.1
  1923. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1924. Updated Swedish, Russian and Italian translations. Thanks to all
  1925. translators.
  1926. * po/it.po
  1927. * po/ru.po
  1928. * po/sv.po
  1929. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1930. Fixed broken OptionParser::findByName().
  1931. * src/OptionParser.cc
  1932. * test/OptionParserTest.cc
  1933. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1934. Fixed test error without BitTorrent support.
  1935. * test/XmlRpcMethodTest.cc
  1936. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1937. Fixed compile error without GNUTLS/OpenSSL.
  1938. * src/util.cc
  1939. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1940. Changed compression level to Z_DEFAULT_COMPRESSION.
  1941. * src/GZipEncoder.cc
  1942. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1943. Added missing command line options: --http-no-cache,
  1944. --bt-save-metadata and --bt-metadata-only.
  1945. * doc/xmlrpc/aria2rpc
  1946. 2010-01-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1947. aria2 now returns gzip compressed XML-RPC response if XML-RPC
  1948. client accepts gzip content encoding.
  1949. * src/A2STR.cc
  1950. * src/A2STR.h
  1951. * src/GZipEncoder.cc
  1952. * src/GZipEncoder.h
  1953. * src/HttpHeader.cc
  1954. * src/HttpHeader.h
  1955. * src/HttpServer.cc
  1956. * src/HttpServer.h
  1957. * src/HttpServerBodyCommand.cc
  1958. * src/HttpServerCommand.cc
  1959. * src/Makefile.am
  1960. * src/XmlRpcResponse.cc
  1961. * src/XmlRpcResponse.h
  1962. * test/GZipEncoderTest.cc
  1963. * test/Makefile.am
  1964. 2010-01-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1965. Added XML-RPC client sample code in Python.
  1966. * doc/aria2c.1.txt
  1967. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1968. Updated po templates.
  1969. * po/aria2.pot
  1970. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1971. Bump up version number to 1.8.1
  1972. * configure.ac
  1973. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1974. Added version number to man page. Updated copyright year in man
  1975. page.
  1976. * doc/aria2c.1.txt
  1977. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1978. Rewritten toTagString
  1979. * src/NameMatchOptionHandler.cc
  1980. * test/OptionHandlerTest.cc
  1981. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1982. Added dir and files key to the response struct of aria2.tellStatus
  1983. XML-RPC method. The value associated with files key is the list
  1984. of files. Its element is the same struct used in aria2.getFiles
  1985. XML-RPC method. Added uris key to the response struct of
  1986. aria2.getFiles XML-RPC method. The value associated with uris key
  1987. is the list of URIs. Its element is the same struct used in
  1988. aria2.getUris XML-RPC method.
  1989. * doc/aria2c.1.txt
  1990. * src/XmlRpcMethodImpl.cc
  1991. * test/XmlRpcMethodTest.cc
  1992. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1993. Added aria2.getSessionInfo XML-RPC method. This method returns a
  1994. struct containing Session ID, which is generated each time when
  1995. aria2 is invoked.
  1996. * doc/aria2c.1.txt
  1997. * doc/xmlrpc/aria2rpc
  1998. * src/DownloadEngine.cc
  1999. * src/DownloadEngine.h
  2000. * src/XmlRpcMethodFactory.cc
  2001. * src/XmlRpcMethodImpl.cc
  2002. * src/XmlRpcMethodImpl.h
  2003. * test/XmlRpcMethodTest.cc
  2004. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2005. Moved generateRandomKey() from bittorrent_helper to util.
  2006. * src/DHTBucket.cc
  2007. * src/DHTNode.cc
  2008. * src/bittorrent_helper.cc
  2009. * src/bittorrent_helper.h
  2010. * src/util.cc
  2011. * src/util.h
  2012. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2013. Updated doc about GID.
  2014. * doc/aria2c.1.txt
  2015. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2016. Now offset argument in aria2.tellWaiting and aria2.tellStopped
  2017. accepts a negative integer. 'offset' == -1 points last download
  2018. in the waiting queue and 'offset' == -2 points the download before
  2019. the last download, and so on. The downloads in the response are in
  2020. reversed order.
  2021. * doc/aria2c.1.txt
  2022. * src/XmlRpcMethodImpl.cc
  2023. * src/XmlRpcMethodImpl.h
  2024. * test/XmlRpcMethodTest.cc
  2025. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2026. Added --human-readable option. This option, when true is given,
  2027. prints sizes and speed in human readable format(e.g., 1.2Ki,
  2028. 3.4Mi) in the console readout. The default value is true and it
  2029. looks exactly the same as aria2-1.8.0. So the 'new feature'
  2030. appears when false is given. In this case, sizes and speed are
  2031. printed without in bytes. No Ki, Mi units conversion is used.
  2032. This may be useful for a program to parse the output of aria2.
  2033. * doc/aria2c.1.txt
  2034. * src/ConsoleStatCalc.cc
  2035. * src/ConsoleStatCalc.h
  2036. * src/OptionHandlerFactory.cc
  2037. * src/main.cc
  2038. * src/prefs.cc
  2039. * src/prefs.h
  2040. * src/usage_text.h
  2041. 2010-01-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2042. Now --all-proxy, --http-proxy, --https-proxy and --ftp-proxy
  2043. option accepts empty string "". When "" is given, it erases
  2044. previously defined proxy.
  2045. * doc/aria2c.1.txt
  2046. * src/OptionHandlerImpl.h
  2047. * src/usage_text.h
  2048. * test/OptionHandlerTest.cc
  2049. 2010-01-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2050. Code cleanup for proxy URI handling.
  2051. * src/AbstractCommand.cc
  2052. 2010-01-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2053. Added --bt-metadata-only option. If true is given to this option,
  2054. aria2 downloads metadata only. The file(s) described in metadata
  2055. will not be downloaded. This option has effect only when
  2056. BitTorrent Magnet URI is used. See also --bt-save-metadata option.
  2057. * doc/aria2c.1.txt
  2058. * src/OptionHandlerFactory.cc
  2059. * src/UTMetadataPostDownloadHandler.cc
  2060. * src/download_helper.cc
  2061. * src/prefs.cc
  2062. * src/prefs.h
  2063. * src/usage_text.h
  2064. 2010-01-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2065. Fixed memory leak. Commands stored in std::deque<Command*> are not
  2066. deleted when exception is thrown. Make sure that when passing
  2067. std::deque<Command*> to function to store Commands, handle
  2068. exception and delete these Commands.
  2069. * src/AbstractCommand.cc
  2070. * src/CheckIntegrityCommand.cc
  2071. * src/FileAllocationCommand.cc
  2072. * src/RequestGroup.cc
  2073. * src/TrackerWatcherCommand.cc
  2074. 2010-01-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2075. Replaced '/' and '_' with '_' in HTTP/FTP filename.
  2076. * src/A2STR.cc
  2077. * src/A2STR.h
  2078. * src/FtpNegotiationCommand.cc
  2079. * src/HttpResponseCommand.cc
  2080. * src/util.cc
  2081. * src/util.h
  2082. * test/UtilTest.cc
  2083. 2010-01-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2084. Treat --dir="" as --dir="."
  2085. * src/FtpNegotiationCommand.cc
  2086. * src/HttpResponseCommand.cc
  2087. * src/Metalink2RequestGroup.cc
  2088. * src/UTMetadataPostDownloadHandler.cc
  2089. * src/bittorrent_helper.cc
  2090. * src/download_helper.cc
  2091. * src/util.cc
  2092. * src/util.h
  2093. * test/UtilTest.cc
  2094. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2095. Code clean up.
  2096. * src/main.cc
  2097. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2098. Reset GID to 1 when they reach maximum value. Rewritten
  2099. CUIDCounter::newID()
  2100. * src/CUIDCounter.h
  2101. * src/RequestGroup.cc
  2102. * src/RequestGroup.h
  2103. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2104. Documented --http-no-cache option in man page.
  2105. * doc/aria2c.1.txt
  2106. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2107. Added --http-no-cache option. When true is given, aria2 sends
  2108. Cache-Control: no-cache and Pragma: no-cache header to avoid
  2109. cached content. If false is given , these headers are not sent
  2110. and you can add Cache-Control header with a directive you like
  2111. using --header option.
  2112. * src/HttpRequest.cc
  2113. * src/HttpRequest.h
  2114. * src/HttpRequestCommand.cc
  2115. * src/OptionHandlerFactory.cc
  2116. * src/download_helper.cc
  2117. * src/prefs.cc
  2118. * src/prefs.h
  2119. * src/usage_text.h
  2120. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2121. Removed Logger from OptionParser. When OptionParser is used to
  2122. parse options at bootstrap, LogFactory is not configured yet
  2123. properly. When LogFactory is used in OptionParser, it initializes
  2124. itself to return a logger which has no ability to write log to the
  2125. disk.
  2126. * src/OptionParser.cc
  2127. * src/OptionParser.h
  2128. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2129. Added following sentance to the help message of --out option:
  2130. --out option is ignored when -Z is used.
  2131. * doc/aria2c.1.txt
  2132. * src/usage_text.h
  2133. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2134. Added --bt-save-metadata option to -i list options.
  2135. * doc/aria2c.1.txt
  2136. * src/download_helper.cc
  2137. 2010-01-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2138. Fixed compile error with i586-mingw32msvc-gcc 4.4.2, without any
  2139. additional libraries.
  2140. * src/MultiUrlRequestInfo.cc
  2141. * src/NameResolver.cc
  2142. * src/SelectEventPoll.cc
  2143. * src/SelectEventPoll.h
  2144. * src/SocketCore.cc
  2145. * src/SocketCore.h
  2146. * src/a2netcompat.h
  2147. * src/daemon.cc
  2148. * src/main.cc
  2149. 2010-01-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2150. Fixed typo.
  2151. * src/DHTMessageReceiver.cc
  2152. 2010-01-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2153. Fixed the bug that causes segmentation fault if unknown option is
  2154. put in aria2.conf file. BUG#2928303
  2155. * src/OptionParser.cc
  2156. * src/OptionParser.h
  2157. * src/option_processing.cc
  2158. * test/OptionParserTest.cc
  2159. 2010-01-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2160. Ignore port message with port=0.
  2161. * src/BtPortMessage.cc
  2162. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2163. Run autoupdate
  2164. * configure.ac
  2165. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2166. Updated autoconf/automake auxiliary files.
  2167. * INSTALL
  2168. * config.guess
  2169. * config.sub
  2170. * depcomp
  2171. * install-sh
  2172. * m4/intldir.m4
  2173. * missing
  2174. * mkinstalldirs
  2175. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2176. Removed unused function.
  2177. * src/SharedHandle.h
  2178. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2179. Find pooled socket using all cached addresses.
  2180. * src/DNSCache.h
  2181. * src/DownloadEngine.cc
  2182. * src/DownloadEngine.h
  2183. * src/InitiateConnectionCommand.cc
  2184. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2185. Updated copyright year.
  2186. * src/version_usage.cc
  2187. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2188. Pool connection if _contentEncodingDecoder is used and server
  2189. supports persistent connection.
  2190. * src/HttpDownloadCommand.cc
  2191. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2192. Updated doc.
  2193. * src/DownloadCommand.cc
  2194. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2195. Untabify. Fixed one line in copyright which is longer than 80
  2196. columns.
  2197. * src
  2198. * test
  2199. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2200. Release 1.8.0
  2201. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2202. Updated po templates.
  2203. * po/aria2.pot
  2204. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2205. Documented --bt-save-metadata option in man page.
  2206. * doc/aria2c.1.txt
  2207. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2208. Fixed usage of --bt-save-metadata option.
  2209. * src/usage_text.h
  2210. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2211. Updated po templates.
  2212. * po/aria2.pot
  2213. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2214. Get rid of AI_ADDRCONFIG when --disable-ipv6 opiton is given. It
  2215. causes name resolution error when none of network interface has
  2216. IPv4 address.
  2217. * src/main.cc
  2218. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2219. Bump up version number to 1.8.0.
  2220. * configure.ac
  2221. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2222. Use info hash as a filename when saving BitTorrent metadata.
  2223. * src/UTMetadataPostDownloadHandler.cc
  2224. * test/UTMetadataPostDownloadHandlerTest.cc
  2225. 2009-12-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2226. Documented system.multicall XML-RPC method in man page.
  2227. * doc/aria2c.1.txt
  2228. 2009-12-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2229. Added signal handler for SIGHUP to save .aria2 file when terminal
  2230. is closed. The handler is the same one for SIGINT and SIGTERM.
  2231. * src/MultiUrlRequestInfo.cc
  2232. 2009-12-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2233. Defined method name in XmlRpcMethod subclasses.
  2234. * src/XmlRpcMethodFactory.cc
  2235. * src/XmlRpcMethodImpl.cc
  2236. * src/XmlRpcMethodImpl.h
  2237. * test/XmlRpcMethodTest.cc
  2238. 2009-12-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2239. Added system.multicall XML-RPC method.
  2240. * src/XmlRpcMethod.cc
  2241. * src/XmlRpcMethod.h
  2242. * src/XmlRpcMethodFactory.cc
  2243. * src/XmlRpcMethodImpl.cc
  2244. * src/XmlRpcMethodImpl.h
  2245. * test/XmlRpcMethodTest.cc
  2246. 2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2247. Check structure depth when decoding.
  2248. * src/bencode.cc
  2249. * src/bencode.h
  2250. * test/BencodeTest.cc
  2251. 2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2252. Documented tellStopped XML-RPC method in man page.
  2253. * doc/aria2c.1.txt
  2254. 2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2255. Added tellStopped XML-RPC method to aria2rpc.
  2256. * doc/xmlrpc/aria2rpc
  2257. 2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2258. Added tellStopped XML-RPC method. This method returns stopped
  2259. download in the specified range. It takes same parameters with
  2260. tellWaiting XML-RPC method. offset = 0 means the oldest download.
  2261. * src/XmlRpcMethodFactory.cc
  2262. * src/XmlRpcMethodImpl.cc
  2263. * src/XmlRpcMethodImpl.h
  2264. 2009-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2265. Use AI_ADDRCONFIG flag if it is available. Refactored so that
  2266. getaddrinfo calls are not scattered around. Unset AI_ADDRCONFIG
  2267. when conducting unit tests because they fail if networking
  2268. interface is not configured with IPv4 address.
  2269. * src/NameResolver.cc
  2270. * src/SocketCore.cc
  2271. * src/SocketCore.h
  2272. * src/a2netcompat.h
  2273. * test/AllTest.cc
  2274. 2009-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2275. Fixed unit test error
  2276. * test/UTMetadataPostDownloadHandlerTest.cc
  2277. 2009-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2278. Defined static string constants for efficiency.
  2279. * src/XmlRpcMethodImpl.cc
  2280. 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2281. Added --bt-save-metadata option. When true is given, it saves
  2282. metadata as .torrent file. This option has effect only when
  2283. BitTorrent Magnet URI is used. The filename is name in metadata
  2284. with suffix .torrent. The directory to be saved is the same
  2285. directory where download file is saved. If the same file already
  2286. exists, metdata is not saved.
  2287. * src/OptionHandlerFactory.cc
  2288. * src/UTMetadataPostDownloadHandler.cc
  2289. * src/UTMetadataPostDownloadHandler.h
  2290. * src/message.h
  2291. * src/prefs.cc
  2292. * src/prefs.h
  2293. * src/usage_text.h
  2294. * test/UTMetadataDataExtensionMessageTest.cc
  2295. 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2296. Added util::saveAs() function. Use it in Signature::save().
  2297. * src/Signature.cc
  2298. * src/util.cc
  2299. * src/util.h
  2300. 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2301. Upcase info hash in Magnet URI.
  2302. * doc/aria2c.1.txt
  2303. 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2304. Refactored RequestGroupMan::changeReservedGroupPosition()
  2305. * src/RequestGroupMan.cc
  2306. 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2307. Updated the description for aria2.addTorrent XML-RPC method.
  2308. * doc/aria2c.1.txt
  2309. 2009-12-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2310. Added changePosition to aria2rpc.
  2311. * doc/xmlrpc/aria2rpc
  2312. 2009-12-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2313. Documented changePosition XML-RPC method in man page.
  2314. * doc/aria2c.1.txt
  2315. 2009-12-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2316. Added changePosition XML-RPC method. It takes 3 parameters: gid,
  2317. pos and how. This method changes the position of download denoted
  2318. by gid. If how is POS_SET, it moves the download to a position
  2319. relative to the beginning of the queue. If how is POS_CUR, it
  2320. moves the download to a position relative to the current
  2321. position. If how is POS_END, it moves the download to a position
  2322. relative to the end of the queue. If the destination position is
  2323. less than 0 or beyond the end of the queue, it moves the download
  2324. to the beginning or the end of the queue respectively. Returns
  2325. the destination position.
  2326. * src/RequestGroupMan.cc
  2327. * src/RequestGroupMan.h
  2328. * src/XmlRpcMethodFactory.cc
  2329. * src/XmlRpcMethodImpl.cc
  2330. * src/XmlRpcMethodImpl.h
  2331. * test/RequestGroupManTest.cc
  2332. * test/XmlRpcMethodTest.cc
  2333. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2334. Added getOption and getGlobalOption to aria2rpc.
  2335. * doc/xmlrpc/aria2rpc
  2336. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2337. Documented getOption and getGlobalOption XML-RPC method in man
  2338. page
  2339. * doc/aria2c.1.txt
  2340. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2341. Added getOption and getGlobalOption XML-RPC method. getOption
  2342. takes GID as a parameter and returns its options as struct.
  2343. getGlobalOption takes no parameter and returns global
  2344. options. Because global option is used as a template for the
  2345. option of newly added downloads, it includes options returned by
  2346. getOption.
  2347. * src/Option.h
  2348. * src/XmlRpcMethodFactory.cc
  2349. * src/XmlRpcMethodImpl.cc
  2350. * src/XmlRpcMethodImpl.h
  2351. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2352. Sort _optionHandlers in OptionParser by name in ascending order.
  2353. Use vector instead of deque for efficiency.
  2354. * src/OptionHandler.h
  2355. * src/OptionHandlerFactory.h
  2356. * src/OptionParser.cc
  2357. * src/OptionParser.h
  2358. * src/version_usage.cc
  2359. * test/OptionParserTest.cc
  2360. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2361. Code cleanup
  2362. * src/XmlRpcMethod.cc
  2363. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2364. Documented about followedBy and belongsTo in man page.
  2365. * doc/aria2c.1.txt
  2366. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2367. Added following 2 keys, followedBy and belongsTo, to the response
  2368. of tellStatus.
  2369. followedBy: List of GIDs which are generated by the consequence of
  2370. this download. For example, when aria2 downloaded Metalink file,
  2371. it generates downloads described in it(see *--follow-metalink*
  2372. option). This value is useful to track these auto generated
  2373. downloads. If there is no such downloads, this key will not be
  2374. included in the response.
  2375. belongsTo: GID of a parent download. Some downloads are a part of
  2376. another download. For example, if a file in Metalink has
  2377. BitTorrent resource, the download of .torrent is a part of that
  2378. file. If this download has no parent, this key will not be
  2379. included in the response.
  2380. * src/BtPostDownloadHandler.cc
  2381. * src/DownloadResult.h
  2382. * src/Metalink2RequestGroup.cc
  2383. * src/MetalinkPostDownloadHandler.cc
  2384. * src/RequestGroup.cc
  2385. * src/RequestGroup.h
  2386. * src/UTMetadataPostDownloadHandler.cc
  2387. * src/XmlRpcMethodImpl.cc
  2388. * src/XmlRpcMethodImpl.h
  2389. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2390. Assigned BObject in BDE() to avoid segmentation fault when calling
  2391. methods of BDE::none().
  2392. * src/BDE.cc
  2393. 2009-12-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2394. Show info hash in Magnet URI in upper case letters in -S output.
  2395. * src/bittorrent_helper.cc
  2396. * test/BittorrentHelperTest.cc
  2397. 2009-12-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2398. Removed old useless comment
  2399. * src/MultiUrlRequestInfo.cc
  2400. 2009-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2401. Fixed the bug that if --without-sqlite3 is given, pkg-config is
  2402. not properly used in configure script and failed to detect gnutls.
  2403. This is because explicit call of PKG_PROG_PKG_CONFIG is missing
  2404. and the initialization of pkg-config is done in first occurrence
  2405. of PKG_CHECK_MODULES which is not executed because it is inside of
  2406. sqlite3.m4. Added explicit PKG_PROG_PKG_CONFIG call.
  2407. * configure.ac
  2408. 2009-12-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2409. Release 1.7.2
  2410. 2009-12-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2411. Fixed the bug that RequestGroupMan::downloadFinished() returns
  2412. true even if all downloads haven't finished, especially when
  2413. PostDownloadHandler is involved. Changed the condition so that it
  2414. only returns true if both _requestGroups and _reservedGroups are
  2415. empty.
  2416. * src/RequestGroupMan.cc
  2417. 2009-12-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2418. Log listening port for BitTorrent/DHT in notice level.
  2419. * src/DHTConnectionImpl.cc
  2420. * src/PeerListenCommand.cc
  2421. 2009-12-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2422. Updated po templates.
  2423. * po/aria2.pot
  2424. 2009-12-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2425. Bump up version number to 1.7.2
  2426. * configure.ac
  2427. 2009-12-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2428. Changed default value of --enable-dht from 'false' to 'true'.
  2429. * doc/aria2c.1.txt
  2430. 2009-12-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2431. Enabled DHT by default because of Magnet URI support. To disable
  2432. DHT, use --enable-dht=false
  2433. * src/OptionHandlerFactory.cc
  2434. 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2435. Print Magnet URI in -S output.
  2436. * src/AnnounceList.cc
  2437. * src/bittorrent_helper.cc
  2438. * src/bittorrent_helper.h
  2439. * test/BittorrentHelperTest.cc
  2440. 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2441. Added --bt-prioritize-piece option to aria2rpc.
  2442. * doc/xmlrpc/aria2rpc
  2443. 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2444. Refer Magnet URI in --help. Made some cosmetic changes.
  2445. * src/version_usage.cc
  2446. 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2447. Updated -T and -M option.
  2448. * doc/aria2c.1.txt
  2449. 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2450. Fixed typo
  2451. * doc/aria2c.1.txt
  2452. 2009-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2453. Fixed the bug that line separator is missing in horizontal bar.
  2454. * doc/xmlrpc/aria2mon
  2455. 2009-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2456. Updated usage text for --metalink-file option.
  2457. * src/usage_text.h
  2458. 2009-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2459. If '-' is given as an argument to --metalink-file option, aria2
  2460. reads Metalink file from stdin.
  2461. * src/OptionHandlerFactory.cc
  2462. * src/OptionHandlerImpl.h
  2463. * src/a2io.h
  2464. 2009-12-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2465. Fixed the bug that aria2 listens wrong port if --interface option
  2466. is used.
  2467. * src/SocketCore.cc
  2468. 2009-12-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2469. Fixed the bug that query parameter in magnet URI is not decoded.
  2470. * src/magnet.cc
  2471. * test/MagnetTest.cc
  2472. 2009-12-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2473. Specified defaultSize as an argument for easy testing.
  2474. * src/util.cc
  2475. * src/util.h
  2476. * test/UtilTest.cc
  2477. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2478. Release 1.7.1
  2479. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2480. Bump up version number to 1.7.1
  2481. * configure.ac
  2482. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2483. Fixed the bug --bt-prioritize-piece=tail is not working.
  2484. * src/util.cc
  2485. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2486. Release 1.7.0
  2487. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2488. Updated po templates.
  2489. * po/aria2.pot
  2490. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2491. Updated help message for --bt-prioritize-piece. Some cosmetic
  2492. changes.
  2493. * doc/aria2c.1.txt
  2494. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2495. Set default value for SIZE in --bt-prioritize-piece to 1MiB.
  2496. * src/usage_text.h
  2497. * src/util.cc
  2498. * test/UtilTest.cc
  2499. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2500. Updated Russian, Ukrainian, German and French translations.
  2501. Thanks to all translators involved.
  2502. * po/de.po
  2503. * po/fr.po
  2504. * po/ru.po
  2505. * po/uk.po
  2506. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2507. Mentioned about pkg-config
  2508. * README
  2509. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2510. Fixed typo. Referred --index-out option in BitTorrent notes.
  2511. * README
  2512. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2513. Store all addresses found by getifaddrs() and getaddrinfo(). In
  2514. bind, try all addresses until success
  2515. * src/SocketCore.cc
  2516. * src/SocketCore.h
  2517. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2518. Updated po templates.
  2519. * po/aria2.pot
  2520. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2521. Bump up version number to 1.7.0
  2522. * configure.ac
  2523. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2524. Fixed compile error if ENABLE_BITTORRENT is undefined.
  2525. * src/DefaultPieceStorage.cc
  2526. * src/DefaultPieceStorage.h
  2527. * src/PieceStorage.h
  2528. * src/UnknownLengthPieceStorage.cc
  2529. * src/UnknownLengthPieceStorage.h
  2530. * test/MockPieceStorage.h
  2531. * test/ProtocolDetectorTest.cc
  2532. * test/XmlRpcMethodTest.cc
  2533. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2534. Documented in man page that if getifaddrs() is missing,
  2535. --interface option doesn't accept interface name.
  2536. * doc/aria2c.1.txt
  2537. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2538. Use last 8 bytes of peer ID as 'key' parameter for tracker request.
  2539. * src/DefaultBtAnnounce.cc
  2540. * src/DefaultBtAnnounce.h
  2541. * test/DefaultBtAnnounceTest.cc
  2542. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2543. Fixed the bug that connection is always dropped if handshake
  2544. message in extension protocol don't have metadata_size.
  2545. src/HandshakeExtensionMessage.cc
  2546. * src/HandshakeExtensionMessage.cc
  2547. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2548. Updated "URI, MAGNET, TORRENT_FILE, METALINK_FILE" section. Added
  2549. text saying DHT is recommended when Magnet URI is provided.
  2550. * doc/aria2c.1.txt
  2551. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2552. Fixed the bug that DHT is always enabled when BitTorrent Magnet
  2553. URI is supplied. Notify user that they should consider enabling
  2554. DHT if they use Magnet URI.
  2555. * src/RequestGroup.cc
  2556. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2557. Added --disable-ipv6 option to disable IPv6.
  2558. * doc/aria2c.1.txt
  2559. * src/InitiateConnectionCommand.cc
  2560. * src/NameResolver.cc
  2561. * src/NameResolver.h
  2562. * src/OptionHandlerFactory.cc
  2563. * src/main.cc
  2564. * src/prefs.cc
  2565. * src/prefs.h
  2566. * src/usage_text.h
  2567. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2568. Updated usage text for --bt-prioritize-piece option.
  2569. * doc/aria2c.1.txt
  2570. * src/usage_text.h
  2571. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2572. In configure script, if --with-PACKAGE and --enable-FEATURE are
  2573. given and PACKAGE is missing in the system or FEATURE cannot be
  2574. enabled, print error message and stop the script.
  2575. * configure.ac
  2576. * m4/aria2_arg.m4
  2577. 2009-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2578. Halt metadata download immediately when metadata download is done.
  2579. Don't wait unresponsive tracker.
  2580. * src/ByteArrayDiskWriter.h
  2581. * src/DefaultBtInteractive.cc
  2582. * src/DefaultExtensionMessageFactory.cc
  2583. * src/DefaultExtensionMessageFactory.h
  2584. * src/PeerInteractionCommand.cc
  2585. * src/UTMetadataDataExtensionMessage.cc
  2586. * src/UTMetadataDataExtensionMessage.h
  2587. * src/UTMetadataRequestExtensionMessage.cc
  2588. * test/UTMetadataDataExtensionMessageTest.cc
  2589. * test/UTMetadataRequestExtensionMessageTest.cc
  2590. 2009-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2591. Documented --interface option in man page.
  2592. * doc/aria2c.1.txt
  2593. 2009-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2594. Try resolved address in the order received from the resolver.
  2595. * src/DNSCache.h
  2596. 2009-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2597. Added debug logs.
  2598. * src/SocketCore.cc
  2599. 2009-12-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2600. Fixed type of tail to uint64_t
  2601. * src/util.cc
  2602. 2009-12-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2603. Added --interface option. This feature binds sockets to given
  2604. interface. You can specify interface name, IP address and
  2605. hostname.
  2606. * configure.ac
  2607. * src/OptionHandlerFactory.cc
  2608. * src/SocketCore.cc
  2609. * src/SocketCore.h
  2610. * src/main.cc
  2611. * src/message.h
  2612. * src/prefs.cc
  2613. * src/prefs.h
  2614. * src/usage_text.h
  2615. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2616. Updated man page for bt-prioritize-piece option in -i list.
  2617. * doc/aria2c.1.txt
  2618. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2619. Added bt-prioritize-piece option to -i list.
  2620. * src/download_helper.cc
  2621. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2622. Removed --http-auth-scheme option from man page.
  2623. * doc/aria2c.1.txt
  2624. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2625. Removed --http-auth-scheme option since it doesn't do nothing.
  2626. * src/OptionHandlerFactory.cc
  2627. * src/prefs.cc
  2628. * src/prefs.h
  2629. * src/usage_text.h
  2630. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2631. Adjusted the number of peer info which get_peers reply message can
  2632. carry.
  2633. * src/DHTGetPeersReplyMessage.cc
  2634. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2635. Added extension_message_test_helper.h to aria2c_SOURCES.
  2636. * test/Makefile.am
  2637. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2638. Documented --bt-prioritize-piece option in man page.
  2639. * doc/aria2c.1.txt
  2640. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2641. Added option --bt-prioritize-piece. This option instruct aria2 to
  2642. try to download first and last pieces of each file first. The
  2643. argument can contain 2 keywords:head and tail. To include both
  2644. keywords, they must be separated by comma. These keywords can take
  2645. one parameter, SIZE. For example , if head=SIZE is specified,
  2646. pieces in the range of first SIZE bytes of each file get higher
  2647. priority. tail=SIZE means the range of last SIZE bytes of each
  2648. file. SIZE can include K or M(1K = 1024, 1M = 1024K).
  2649. * src/DefaultPieceStorage.h
  2650. * src/Makefile.am
  2651. * src/OptionHandlerFactory.cc
  2652. * src/OptionHandlerImpl.h
  2653. * src/PriorityPieceSelector.cc
  2654. * src/PriorityPieceSelector.h
  2655. * src/RequestGroup.cc
  2656. * src/prefs.cc
  2657. * src/prefs.h
  2658. * src/usage_text.h
  2659. * src/util.cc
  2660. * src/util.h
  2661. * test/Makefile.am
  2662. * test/MockPieceSelector.h
  2663. * test/PriorityPieceSelectorTest.cc
  2664. * test/UtilTest.cc
  2665. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2666. Fixed typo
  2667. * src/HttpRequest.h
  2668. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2669. In Magnet URI with tr parameter, put each announce URI in separate
  2670. tier.
  2671. * src/bittorrent_helper.cc
  2672. * test/BittorrentHelperTest.cc
  2673. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2674. Renamed ExtensionMessage::getBencodedData() as
  2675. ExtensionMessage::getPayload()
  2676. * src/BtExtendedMessage.cc
  2677. * src/ExtensionMessage.h
  2678. * src/HandshakeExtensionMessage.cc
  2679. * src/HandshakeExtensionMessage.h
  2680. * src/UTMetadataDataExtensionMessage.cc
  2681. * src/UTMetadataDataExtensionMessage.h
  2682. * src/UTMetadataRejectExtensionMessage.cc
  2683. * src/UTMetadataRejectExtensionMessage.h
  2684. * src/UTMetadataRequestExtensionMessage.cc
  2685. * src/UTMetadataRequestExtensionMessage.h
  2686. * src/UTPexExtensionMessage.cc
  2687. * src/UTPexExtensionMessage.h
  2688. * test/HandshakeExtensionMessageTest.cc
  2689. * test/MockExtensionMessage.h
  2690. * test/UTMetadataDataExtensionMessageTest.cc
  2691. * test/UTMetadataRejectExtensionMessageTest.cc
  2692. * test/UTMetadataRequestExtensionMessageTest.cc
  2693. * test/UTPexExtensionMessageTest.cc
  2694. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2695. Updated man page for BitTorrent Magnet URI.
  2696. * doc/aria2c.1.txt
  2697. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2698. Call DownloadContext::setOwnerRequestGroup() in
  2699. RequestGroup::setDownloadContext().
  2700. * src/BtDependency.cc
  2701. * src/RequestGroup.cc
  2702. * src/RequestGroup.h
  2703. * src/download_helper.cc
  2704. * test/DefaultBtMessageDispatcherTest.cc
  2705. * test/DefaultExtensionMessageFactoryTest.cc
  2706. * test/HandshakeExtensionMessageTest.cc
  2707. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2708. Accept BitTorrent Magnet URI in Metalink resource type bittorrent.
  2709. Rewritten UTMetadataPostDownloadHandler. To create torrent data
  2710. from metadata, use new metadata2Torrent() function.
  2711. * src/BtDependency.cc
  2712. * src/UTMetadataPostDownloadHandler.cc
  2713. * src/bittorrent_helper.cc
  2714. * src/bittorrent_helper.h
  2715. * test/BittorrentHelperTest.cc
  2716. * test/BtDependencyTest.cc
  2717. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2718. Use createRequestGroupForUri to create the download for torrent
  2719. file.
  2720. * src/Metalink2RequestGroup.cc
  2721. * test/Metalink2RequestGroupTest.cc
  2722. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2723. Fixed typo
  2724. * src/DownloadContext.h
  2725. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2726. Use createRequestGroupForBitTorrent()
  2727. * src/BtPostDownloadHandler.cc
  2728. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2729. Added remove().
  2730. * src/Option.cc
  2731. * src/Option.h
  2732. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2733. Removed options which is only valid for URIs specified in
  2734. command-line. If they are left, because op is used as a template
  2735. for new RequestGroup(such as created in XML-RPC command,
  2736. BtPostDownloadHandler etc), they causes unintentional effect.
  2737. * src/main.cc
  2738. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2739. Refer to option value of PREF_OUT only in download_helper.
  2740. * src/FtpNegotiationCommand.cc
  2741. * src/HttpResponseCommand.cc
  2742. 2009-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2743. Now addUri XML-RPC method accepts BitTorrent Magnet URI.
  2744. * src/download_helper.cc
  2745. * src/download_helper.h
  2746. * src/XmlRpcMethodImpl.cc
  2747. 2009-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2748. Updated man page for changeOption XML-RPC method.
  2749. * doc/aria2c.1.txt
  2750. 2009-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2751. Added --bt-max-peers option to changeOption XML-RPC method.
  2752. * src/XmlRpcMethod.cc
  2753. * src/XmlRpcMethodImpl.cc
  2754. * test/XmlRpcMethodTest.cc
  2755. 2009-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2756. Added test case for PREF_BT_REQUEST_PEER_SPEED_LIMIT
  2757. * test/XmlRpcMethodTest.cc
  2758. 2009-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2759. Removed redundant DownloadContext::hasAttribute(...) calls.
  2760. * src/ConsoleStatCalc.cc
  2761. * src/RequestGroup.cc
  2762. * src/XmlRpcMethodImpl.cc
  2763. 2009-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2764. Changed the number of tracker request attempt from 5 to 2.
  2765. * src/TrackerWatcherCommand.cc
  2766. 2009-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2767. Use host and protocol in original URI, because URI selector
  2768. selects URI based on original URI, not redirected one.
  2769. * src/Request.cc
  2770. 2009-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2771. Fixed the bug which causes segmentation fault with tellWaiting
  2772. XML-RPC method when BitTorrent download is waiting. The key of
  2773. BtRegistry is changed from info hash to GID, because it is
  2774. registered per RequestGroup, not info hash.
  2775. * src/BtRegistry.cc
  2776. * src/BtRegistry.h
  2777. * src/BtSetup.cc
  2778. * src/ConsoleStatCalc.cc
  2779. * src/InitiatorMSEHandshakeCommand.cc
  2780. * src/PeerInitiateConnectionCommand.cc
  2781. * src/PeerInteractionCommand.cc
  2782. * src/PeerInteractionCommand.h
  2783. * src/PeerReceiveHandshakeCommand.cc
  2784. * src/RequestGroup.cc
  2785. * src/XmlRpcMethodImpl.cc
  2786. * test/BtRegistryTest.cc
  2787. * test/XmlRpcMethodTest.cc
  2788. 2009-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2789. Updated man page for changeOption XML-RPC method.
  2790. * doc/aria2c.1.txt
  2791. 2009-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2792. Added --bt-request-peer-speed-limit option to changeOption XML-RPC
  2793. method.
  2794. * src/XmlRpcMethod.cc
  2795. 2009-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2796. Documented about BitTorrent Magnet URI in man page.
  2797. * doc/aria2c.1.txt
  2798. 2009-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2799. Fixed the bug that trackers in BitTorrent Magnet URI are not
  2800. inherited to generated RequestGroup.
  2801. * src/UTMetadataPostDownloadHandler.cc
  2802. * test/UTMetadataPostDownloadHandlerTest.cc
  2803. 2009-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2804. Prepended "[METADATA]" before dn.
  2805. * src/bittorrent_helper.cc
  2806. * test/BittorrentHelperTest.cc
  2807. 2009-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2808. Rewritten Magnet URI parser.
  2809. * src/Makefile.am
  2810. * src/ProtocolDetector.cc
  2811. * src/bittorrent_helper.cc
  2812. * src/bittorrent_helper.h
  2813. * src/download_helper.cc
  2814. * src/magnet.cc
  2815. * src/magnet.h
  2816. * test/BittorrentHelperTest.cc
  2817. * test/MagnetTest.cc
  2818. * test/Makefile.am
  2819. * test/ProtocolDetectorTest.cc
  2820. 2009-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2821. Use hton64
  2822. * src/base32.cc
  2823. 2009-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2824. Added Base32 encoded BitTorrent Magnet Link support.
  2825. * src/Makefile.am
  2826. * src/base32.cc
  2827. * src/base32.h
  2828. * src/bittorrent_helper.cc
  2829. * test/Base32Test.cc
  2830. * test/BittorrentHelperTest.cc
  2831. * test/Makefile.am
  2832. 2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2833. Added BitTorrent Magnet Link support. Base32 encoded link is not
  2834. supported yet. Fixed typo in method name in RequestGroup. In
  2835. metadataGetMode, don't show "Your share ratio was ..." message.
  2836. * src/DefaultBtInteractive.cc
  2837. * src/DefaultBtInteractive.h
  2838. * src/DownloadHandlerFactory.cc
  2839. * src/DownloadHandlerFactory.h
  2840. * src/HandshakeExtensionMessage.cc
  2841. * src/Makefile.am
  2842. * src/Metalink2RequestGroup.cc
  2843. * src/PeerInteractionCommand.cc
  2844. * src/RequestGroup.cc
  2845. * src/RequestGroup.h
  2846. * src/UTMetadataPostDownloadHandler.cc
  2847. * src/UTMetadataPostDownloadHandler.h
  2848. * src/download_helper.cc
  2849. * test/HandshakeExtensionMessageTest.cc
  2850. * test/Makefile.am
  2851. * test/UTMetadataPostDownloadHandlerTest.cc
  2852. * test/UTMetadataRejectExtensionMessageTest.cc
  2853. 2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2854. In metadataGetMode, don't show SEEDING.
  2855. * src/ConsoleStatCalc.cc
  2856. 2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2857. Fixed ut_metadata data handling. Implemented
  2858. UTMetadataDataExtensionMessage::doReceivedAction(). Initialize
  2859. PeerStorage in HandshakeExtensionMessage::doReceivedAction() when
  2860. metadata_size is received.
  2861. * src/DefaultExtensionMessageFactory.cc
  2862. * src/DefaultExtensionMessageFactory.h
  2863. * src/HandshakeExtensionMessage.cc
  2864. * src/HandshakeExtensionMessage.h
  2865. * src/UTMetadataDataExtensionMessage.cc
  2866. * src/UTMetadataDataExtensionMessage.h
  2867. * src/UTMetadataRequestExtensionMessage.cc
  2868. * src/UTMetadataRequestFactory.cc
  2869. * src/UTMetadataRequestFactory.h
  2870. * src/UTMetadataRequestTracker.cc
  2871. * src/UTMetadataRequestTracker.h
  2872. * test/DefaultExtensionMessageFactoryTest.cc
  2873. * test/HandshakeExtensionMessageTest.cc
  2874. * test/MockBtMessage.h
  2875. * test/UTMetadataDataExtensionMessageTest.cc
  2876. * test/UTMetadataRequestExtensionMessageTest.cc
  2877. * test/UTMetadataRequestFactoryTest.cc
  2878. * test/UTMetadataRequestTrackerTest.cc
  2879. * test/extension_message_test_helper.h
  2880. 2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2881. Drop connection if ut_metadata reject message is received.
  2882. * src/UTMetadataRejectExtensionMessage.cc
  2883. 2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2884. Set thresholdSpeed to 0 in metadataGetMode because speed doesn't
  2885. get high enough in that mode.
  2886. * src/ActivePeerConnectionCommand.cc
  2887. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2888. Added BitTorrent magnet link support to ProtocolDetector.
  2889. * src/ProtocolDetector.cc
  2890. * src/ProtocolDetector.h
  2891. * test/ProtocolDetectorTest.cc
  2892. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2893. Don't inject validator into BtMessage in metadataGetMode because
  2894. most of the checks depends on the total length of download but it
  2895. is unknown. Delegate metadataGetMode to BtMessage.
  2896. * src/DefaultBtMessageFactory.cc
  2897. * src/DefaultBtMessageFactory.h
  2898. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2899. Added setEndGamePieceNum() pure virtual function to PieceStorage.
  2900. * src/DefaultPieceStorage.h
  2901. * src/PieceStorage.h
  2902. * src/UnknownLengthPieceStorage.h
  2903. * test/MockPieceStorage.h
  2904. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2905. Added markTotalLengthIsKnown().
  2906. * src/DownloadContext.h
  2907. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2908. Don't add PeerChokeCommand and SeedCheckCommand if metadata is
  2909. missing. If metadata is missing, always use DHT when it is ready.
  2910. * src/BtSetup.cc
  2911. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2912. Added parseMagnetLink(). Hex encoded info hash is supported.
  2913. Base32 encoded info hash is not supported yet.
  2914. * src/bittorrent_helper.cc
  2915. * src/bittorrent_helper.h
  2916. * test/BittorrentHelperTest.cc
  2917. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2918. Added FromHex()
  2919. * src/util.cc
  2920. * src/util.h
  2921. * test/UtilTest.cc
  2922. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2923. Added _metadataGetMode member variable. It toggles the action when
  2924. messages are received: usually they almost do nothing if
  2925. _metadataGetMode is true.
  2926. * src/AbstractBtMessage.cc
  2927. * src/AbstractBtMessage.h
  2928. * src/BtAllowedFastMessage.cc
  2929. * src/BtBitfieldMessage.cc
  2930. * src/BtCancelMessage.cc
  2931. * src/BtChokeMessage.cc
  2932. * src/BtHaveAllMessage.cc
  2933. * src/BtHaveMessage.cc
  2934. * src/BtInterestedMessage.cc
  2935. * src/BtNotInterestedMessage.cc
  2936. * src/BtPieceMessage.cc
  2937. * src/BtRejectMessage.cc
  2938. * src/BtRequestMessage.cc
  2939. * src/BtUnchokeMessage.cc
  2940. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2941. Added bencode::decode overload functions. They have extra argument
  2942. 'end', passed by reference. 'end' points to the beyond the last
  2943. position of data used in decoding process.
  2944. * src/bencode.cc
  2945. * src/bencode.h
  2946. * test/BencodeTest.cc
  2947. 2009-11-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2948. Initial support of Extension for Peers to Send Metadata
  2949. Files(BEP9). Currently aria2 only serves metadata and cannot get
  2950. metadata from swarm.
  2951. * src/BtConstants.h
  2952. * src/DefaultBtInteractive.cc
  2953. * src/DefaultExtensionMessageFactory.cc
  2954. * src/DefaultExtensionMessageFactory.h
  2955. * src/ExtensionMessage.h
  2956. * src/ExtensionMessageRegistry.h
  2957. * src/HandshakeExtensionMessage.cc
  2958. * src/HandshakeExtensionMessage.h
  2959. * src/Makefile.am
  2960. * src/PeerConnection.h
  2961. * src/PeerInteractionCommand.cc
  2962. * src/UTMetadataDataExtensionMessage.cc
  2963. * src/UTMetadataDataExtensionMessage.h
  2964. * src/UTMetadataExtensionMessage.cc
  2965. * src/UTMetadataExtensionMessage.h
  2966. * src/UTMetadataRejectExtensionMessage.cc
  2967. * src/UTMetadataRejectExtensionMessage.h
  2968. * src/UTMetadataRequestExtensionMessage.cc
  2969. * src/UTMetadataRequestExtensionMessage.h
  2970. * src/bittorrent_helper.cc
  2971. * src/bittorrent_helper.h
  2972. * test/BittorrentHelperTest.cc
  2973. * test/DefaultExtensionMessageFactoryTest.cc
  2974. * test/HandshakeExtensionMessageTest.cc
  2975. * test/Makefile.am
  2976. * test/UTMetadataDataExtensionMessageTest.cc
  2977. * test/UTMetadataRejectExtensionMessageTest.cc
  2978. * test/UTMetadataRequestExtensionMessageTest.cc
  2979. 2009-11-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2980. Cancel segment in prepareForRetry() because there is a chance that
  2981. the command has segments.
  2982. * src/CreateRequestCommand.cc
  2983. 2009-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2984. Fixed the bug that slow server is not knocked down in favor of
  2985. faster one.
  2986. * src/AbstractCommand.cc
  2987. * src/DefaultPieceStorage.cc
  2988. * src/DefaultPieceStorage.h
  2989. * src/PieceStorage.h
  2990. * src/UnknownLengthPieceStorage.cc
  2991. * src/UnknownLengthPieceStorage.h
  2992. * test/MockPieceStorage.h
  2993. 2009-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2994. Fixed the bug that Request object is not added to
  2995. _inFlightRequests in findFasterRequest().
  2996. * src/FileEntry.cc
  2997. 2009-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2998. Changed the strategry of how to increase the number of outstanding
  2999. requests. Now the number is doubled if there are no outstanding
  3000. requests after receiving messages.
  3001. * src/BtConstants.h
  3002. * src/DefaultBtInteractive.cc
  3003. * src/DefaultBtInteractive.h
  3004. 2009-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3005. Check socket for reading if there are outstanding requests.
  3006. * src/PeerInteractionCommand.cc
  3007. 2009-11-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3008. Moved frequently called methods to header file so they get
  3009. inlined.
  3010. * src/RequestSlot.cc
  3011. * src/RequestSlot.h
  3012. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3013. Copied in_addr instead of just casting from char* which might
  3014. violate strict aliasing rules.
  3015. * src/AsyncNameResolver.cc
  3016. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3017. Use dynamic_pointer_cast
  3018. * test/BtPieceMessageTest.cc
  3019. * test/BtRequestMessageTest.cc
  3020. * test/DefaultBtRequestFactoryTest.cc
  3021. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3022. Added testSetUrl20()
  3023. * test/RequestTest.cc
  3024. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3025. Code cleanup
  3026. * src/bittorrent_helper.cc
  3027. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3028. Use C++ style cast
  3029. * src/AsyncNameResolver.cc
  3030. * src/Base64.h
  3031. * src/BtBitfieldMessage.cc
  3032. * src/BtHandshakeMessage.cc
  3033. * src/DefaultBtMessageFactory.cc
  3034. * src/DefaultBtProgressInfoFile.cc
  3035. * src/EpollEventPoll.cc
  3036. * src/ExpatMetalinkProcessor.cc
  3037. * src/IteratableChecksumValidator.cc
  3038. * src/IteratableChunkChecksumValidator.cc
  3039. * src/MessageDigestHelper.cc
  3040. * src/Platform.cc
  3041. * src/RequestGroupMan.cc
  3042. * src/SingleFileAllocationIterator.cc
  3043. * src/Sqlite3MozCookieParser.cc
  3044. * src/XML2SAXMetalinkProcessor.cc
  3045. * src/Xml2XmlRpcRequestProcessor.cc
  3046. * src/util.cc
  3047. * src/util.h
  3048. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3049. Fixed integer potential alignment problem.
  3050. * src/bitfield.h
  3051. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3052. Applied a patch from tizianomueller to fix sigbus errors on Linux
  3053. sparc. I modified the patch to eliminate a cast to uint32_t* and
  3054. include file ordering.
  3055. * src/PeerListProcessor.h
  3056. * src/bittorrent_helper.cc
  3057. 2009-11-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3058. Added util::parseUIntNoThrow(). Use it in Request::parseUrl().
  3059. * src/Request.cc
  3060. * src/util.cc
  3061. * src/util.h
  3062. * test/RequestTest.cc
  3063. 2009-11-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3064. Rewritten util::uitos()
  3065. * src/util.h
  3066. 2009-11-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3067. Code cleanup
  3068. * src/Request.cc
  3069. * src/Request.h
  3070. 2009-11-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3071. Rewritten Request::parseUrl()
  3072. * src/Request.cc
  3073. * test/RequestTest.cc
  3074. 2009-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3075. Removed unused macro SAFE_CHARS
  3076. * src/Request.cc
  3077. 2009-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3078. Updated doc
  3079. * src/DHTRoutingTableDeserializer.cc
  3080. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3081. Release 1.6.3
  3082. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3083. Removed unused function.
  3084. * test/DHTPeerAnnounceStorageTest.cc
  3085. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3086. Only decrement cols if cols > 0
  3087. * src/ConsoleStatCalc.cc
  3088. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3089. Updated Polish, Catalan, French, Italian, Russian and Japanese
  3090. translations. Thanks to all translators.
  3091. * po/ca.po
  3092. * po/fr.po
  3093. * po/it.po
  3094. * po/ja.po
  3095. * po/pl.po
  3096. * po/ru.po
  3097. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3098. Updated translation template
  3099. * po
  3100. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3101. Fixed compile error without ssl library.
  3102. * src/util.cc
  3103. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3104. Logged received nodes in get_peers reply message.
  3105. * src/DHTAbstractNodeLookupTask.cc
  3106. * src/DHTAbstractNodeLookupTask.h
  3107. 2009-11-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3108. Fixed the bug that DHTAbstractNodeLookupTask never finishes if
  3109. error occurred in DHTMessageDispatcherImpl::sendMessage().
  3110. * src/DHTMessageDispatcherImpl.cc
  3111. 2009-11-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3112. Don't reuse URI if Request pool is not empty.
  3113. * src/CreateRequestCommand.cc
  3114. 2009-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3115. Removed peerStorage from DHTPeerAnnounceEntry. It is unlikely to
  3116. receive get_peers request for torrent which the client is now
  3117. downloading.
  3118. * src/BtSetup.cc
  3119. * src/DHTPeerAnnounceEntry.cc
  3120. * src/DHTPeerAnnounceEntry.h
  3121. * src/DHTPeerAnnounceStorage.cc
  3122. * src/DHTPeerAnnounceStorage.h
  3123. * src/RequestGroup.cc
  3124. * test/DHTPeerAnnounceEntryTest.cc
  3125. * test/DHTPeerAnnounceStorageTest.cc
  3126. 2009-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3127. Fixed the bug that in Windows environment new blank line is
  3128. inserted when console readout is updated.
  3129. * src/ConsoleStatCalc.cc
  3130. 2009-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3131. Throw exception if binding listening port is failed. Removed
  3132. RequestGroupMan::getInitialCommand(). Use
  3133. fillRequestGroupFromReserver() instead. Delete commands for
  3134. RequestGroup which has errors when it is being added.
  3135. * src/BtSetup.cc
  3136. * src/DownloadEngine.cc
  3137. * src/DownloadEngine.h
  3138. * src/DownloadEngineFactory.cc
  3139. * src/MultiUrlRequestInfo.cc
  3140. * src/RequestGroupMan.cc
  3141. * src/RequestGroupMan.h
  3142. * test/RequestGroupManTest.cc
  3143. 2009-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3144. Fixed the bug that when downloading more than one torrent,
  3145. listening port is not reported properly to tracker for 2nd or
  3146. later torrents.
  3147. * src/BtSetup.cc
  3148. * src/PeerListenCommand.cc
  3149. * src/PeerListenCommand.h
  3150. * src/RequestGroup.cc
  3151. 2009-10-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3152. Bump up version number to 1.6.3
  3153. * configure.ac
  3154. 2009-10-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3155. Removed Util.cc from POTFILES.in
  3156. * po/POTFILES.in
  3157. 2009-10-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3158. Updated man page for previous change.
  3159. * doc/aria2c.1.txt
  3160. 2009-10-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3161. If user name is embedded but password is missing in URI, first
  3162. resolve password using .netrc. If password is found in .netrc,
  3163. then use it as password. If not, use the password specified in
  3164. --ftp-passwd.
  3165. * src/AuthConfigFactory.cc
  3166. * src/Request.cc
  3167. * src/Request.h
  3168. * test/AuthConfigFactoryTest.cc
  3169. 2009-10-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3170. Fixed typo
  3171. * doc/aria2c.1.txt
  3172. 2009-10-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3173. Fixed typo
  3174. * src/usage_text.h
  3175. 2009-10-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3176. Added missing bitfield.cc
  3177. * src/bitfield.cc
  3178. 2009-10-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3179. Renamed Util.{cc,h} as util.{cc,h}
  3180. * src/Util.cc
  3181. * src/Util.h
  3182. * src/util.cc
  3183. * src/util.h
  3184. 2009-10-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3185. Moved static functions in Util class to namespace util.
  3186. * src
  3187. * test
  3188. 2009-10-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3189. Moved generateRandomData to Util.cc Moved flipBit to bitfield.cc.
  3190. Moved generateRandomKey to bittorrent_helper.cc.
  3191. * src/DHTBucket.cc
  3192. * src/DHTGetPeersMessage.cc
  3193. * src/DHTGetPeersReplyMessage.cc
  3194. * src/DHTMessage.cc
  3195. * src/DHTNode.cc
  3196. * src/DHTTokenTracker.cc
  3197. * src/DHTUtil.cc: Removed.
  3198. * src/DHTUtil.h: Removed.
  3199. * src/Makefile.am
  3200. * src/Util.cc
  3201. * src/Util.h
  3202. * src/bitfield.h
  3203. * src/bittorrent_helper.cc
  3204. * src/bittorrent_helper.h
  3205. * test/ARC4Test.cc
  3206. * test/BNodeTest.cc
  3207. * test/DHTAnnouncePeerMessageTest.cc
  3208. * test/DHTAnnouncePeerReplyMessageTest.cc
  3209. * test/DHTFindNodeMessageTest.cc
  3210. * test/DHTFindNodeReplyMessageTest.cc
  3211. * test/DHTGetPeersMessageTest.cc
  3212. * test/DHTGetPeersReplyMessageTest.cc
  3213. * test/DHTPingMessageTest.cc
  3214. * test/DHTPingReplyMessageTest.cc
  3215. * test/DHTTokenTrackerTest.cc
  3216. * test/DHTUtilTest.cc: Removed.
  3217. * test/Makefile.am
  3218. * test/UtilTest.cc
  3219. 2009-10-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3220. Removed the call to trim() because trim() is called for each
  3221. element in split().
  3222. * src/CookieParser.cc
  3223. 2009-10-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3224. Replaced Util::slice() with split()
  3225. * src/AbstractCommand.cc
  3226. * src/CookieParser.cc
  3227. * src/File.cc
  3228. * src/HttpHeaderProcessor.cc
  3229. * src/HttpRequest.cc
  3230. * src/Metalink2RequestGroup.cc
  3231. * src/MetalinkParserController.cc
  3232. * src/Netrc.cc
  3233. * src/NsCookieParser.cc
  3234. * src/ParameterizedStringParser.cc
  3235. * src/ServerStatMan.cc
  3236. * src/UriListParser.cc
  3237. * src/Util.cc
  3238. * src/Util.h
  3239. * src/bittorrent_helper.cc
  3240. * test/UtilTest.cc
  3241. 2009-10-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3242. Use request->getDir() instead of "/" for embedded user/pass in
  3243. URI.
  3244. * src/AuthConfigFactory.cc
  3245. 2009-10-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3246. Fixed wrong insertion point for BasicCred.
  3247. * src/AuthConfigFactory.cc
  3248. 2009-10-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3249. Allowed non-regular file in LocalFilePathOptionHandler
  3250. * src/OptionHandlerImpl.h
  3251. * src/message.h
  3252. 2009-10-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3253. Fixed the bug that Netrc::parse() cannot recognize comment line.
  3254. * src/Netrc.cc
  3255. * src/Util.h
  3256. * test/NetrcTest.cc
  3257. * test/sample.netrc
  3258. 2009-10-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3259. Fixed typo
  3260. * src/BtDependency.cc
  3261. * src/BtRejectMessage.cc
  3262. * src/FtpConnection.cc
  3263. * src/HttpHeaderProcessor.h
  3264. 2009-10-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3265. Fixed lintian report in man page
  3266. * doc/aria2c.1.txt
  3267. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3268. Release 1.6.2
  3269. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3270. Updated Ukrainian translation. Thanks to all translators.
  3271. * po/uk.po
  3272. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3273. Updated translation template
  3274. * po
  3275. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3276. Bump up version number to 1.6.2
  3277. * configure.ac
  3278. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3279. Updated licence message in -v output.
  3280. * src/version_usage.cc
  3281. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3282. Replaced aria2 with aria2c in help message.
  3283. * src/version_usage.cc
  3284. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3285. Use PACKAGE_BUGREPORT and PACKAGE_URL.
  3286. * src/version_usage.cc
  3287. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3288. Quoted localedir
  3289. * src/Makefile.am
  3290. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3291. Added AC_FUNC_STRTOD and AC_TYPE_PID_T. Check function for pow,
  3292. utime. Check header for utime.h.
  3293. * configure.ac
  3294. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3295. Use AC_FUNC_FORK. Replaced HAVE_FORK with HAVE_WORKING_FORK.
  3296. * configure.ac
  3297. * src/daemon.cc
  3298. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3299. Don't set localedir manually. Leave it to autoconf.
  3300. * configure.ac
  3301. * src/Makefile.am
  3302. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3303. Added --install to ACLOCAL_AMFLAGS.
  3304. Removed m4 from SUBDIRS.
  3305. Updated automake 1.11 and autoconf 2.64.
  3306. Replaced some obsolute macros with new one.
  3307. * Makefile.am
  3308. * configure.ac
  3309. * m4/aria2_arg.m4
  3310. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3311. Removed Makefile.am in m4 directory.
  3312. * configure.ac
  3313. * m4/ChangeLog
  3314. * m4/Makefile.am
  3315. * m4/Makefile.in
  3316. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3317. Removed unused m4 macros.
  3318. * m4/intldir.m4
  3319. * m4/inttypes.m4
  3320. * m4/isc-posix.m4
  3321. * m4/libgnutls-extra.m4
  3322. * m4/ulonglong.m4
  3323. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3324. Fixed the bug that causes segmentation fault if
  3325. req->getCurrentUrl() contains printf formatting characters such as
  3326. %d. The statement that causes this bug is useless and removed.
  3327. * src/AbstractCommand.cc
  3328. 2009-10-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3329. * Release 1.6.1
  3330. 2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3331. Updated Simplified Chinese translation. Thanks to translators.
  3332. * po/zh_CN.po
  3333. 2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3334. Updated translation template
  3335. * po
  3336. 2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3337. Bump up version number to 1.6.1
  3338. * configure.ac
  3339. 2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3340. Changed interval from 120 to 60 for dropping inactive peer.
  3341. * src/DefaultBtInteractive.cc
  3342. 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3343. Updated man page for --user-agent and --peer-id-prefix option.
  3344. * doc/aria2c.1.txt
  3345. 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3346. Code clean up
  3347. * src/BtPostDownloadHandler.cc
  3348. * src/ContentTypeRequestGroupCriteria.cc
  3349. * src/ContentTypeRequestGroupCriteria.h
  3350. * src/DownloadHandlerConstants.cc
  3351. * src/DownloadHandlerConstants.h
  3352. * src/DownloadHandlerFactory.cc
  3353. * src/MetalinkPostDownloadHandler.cc
  3354. 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3355. Don't save control file when aria2 exists while checking piece
  3356. hash(behavior of -V option). If control file doesn't exist when
  3357. aria2 launched, the completed length in saved control file will be
  3358. 0 byte and this confuses user. disableSaveControlFile() is called
  3359. in RequestGroup::processCheckIntegrityEntry().
  3360. enableSaveControlFile() will be called after hash checking is
  3361. done. See CheckIntegrityCommand.
  3362. * src/CheckIntegrityCommand.cc
  3363. * src/RequestGroup.cc
  3364. * src/RequestGroup.h
  3365. * src/RequestGroupMan.cc
  3366. 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3367. Included version number in Peer ID and client version. Peer ID
  3368. now starts with "aria2/VERSION-", where VERSION is
  3369. MAJOR.MINOR.MICRO. Client version is aria2/VERSION.
  3370. * src/DefaultBtInteractive.cc
  3371. * src/OptionHandlerFactory.cc
  3372. * src/bittorrent_helper.cc
  3373. * src/bittorrent_helper.h
  3374. * src/main.cc
  3375. * src/usage_text.h
  3376. * test/BittorrentHelperTest.cc
  3377. 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3378. Fixed memory leak.
  3379. * src/DownloadCommand.cc
  3380. 2009-10-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3381. Removed server, port, user and passwd key from options before
  3382. XMLRPC::Client.call since they are not options of aria2.
  3383. * doc/xmlrpc/aria2mon
  3384. * doc/xmlrpc/aria2rpc
  3385. 2009-10-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3386. Included version number in user-agent string.
  3387. * src/OptionHandlerFactory.cc
  3388. 2009-10-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3389. Fixed the bug that the option values changed by XML-RPC
  3390. method(changeOption and changeGlobalOption) are overwritten to the
  3391. previous value by the next these request which doesn't contain
  3392. that option value. Supporse max-download-limit is initially 0. You
  3393. changed this value to 100K by changeOption. Then you issue
  3394. changeOption request to change max-upload-limit to 50K. This
  3395. second request doesn't contain xml-download-limit, so it is back
  3396. to initial value, 0. Another improvement is that exception is
  3397. thrown when changeOption and changeGlobalOption request contains
  3398. option name which doesn't allowed in each request.
  3399. * src/DownloadEngine.h
  3400. * src/XmlRpcMethod.cc
  3401. * src/XmlRpcMethod.h
  3402. * src/XmlRpcMethodImpl.cc
  3403. * src/download_helper.cc
  3404. * src/download_helper.h
  3405. * test/XmlRpcMethodTest.cc
  3406. 2009-10-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3407. Added missing MetalinkParserStateImpl.{cc,h}
  3408. * src/MetalinkParserStateImpl.cc
  3409. * src/MetalinkParserStateImpl.h
  3410. 2009-10-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3411. Put all MetalinkParserState subclasses into
  3412. MetalinkParserStateImpl.cc. Use stack to track element structure.
  3413. * src/FileMetalinkParserState.cc: Removed
  3414. * src/FileMetalinkParserState.h: Removed
  3415. * src/FilesMetalinkParserState.cc: Removed
  3416. * src/FilesMetalinkParserState.h: Removed
  3417. * src/FinMetalinkParserState.cc: Removed
  3418. * src/FinMetalinkParserState.h: Removed
  3419. * src/HashMetalinkParserState.cc: Removed
  3420. * src/HashMetalinkParserState.h: Removed
  3421. * src/InitialMetalinkParserState.cc: Removed
  3422. * src/InitialMetalinkParserState.h: Removed
  3423. * src/LanguageMetalinkParserState.cc: Removed
  3424. * src/LanguageMetalinkParserState.h: Removed
  3425. * src/Makefile.am
  3426. * src/MetalinkMetalinkParserState.cc: Removed
  3427. * src/MetalinkMetalinkParserState.h: Removed
  3428. * src/MetalinkParserState.h
  3429. * src/MetalinkParserStateMachine.cc
  3430. * src/MetalinkParserStateMachine.h
  3431. * src/OSMetalinkParserState.cc: Removed
  3432. * src/OSMetalinkParserState.h: Removed
  3433. * src/PieceHashMetalinkParserState.cc: Removed
  3434. * src/PieceHashMetalinkParserState.h: Removed
  3435. * src/PiecesMetalinkParserState.cc: Removed
  3436. * src/PiecesMetalinkParserState.h: Removed
  3437. * src/ResourcesMetalinkParserState.cc: Removed
  3438. * src/ResourcesMetalinkParserState.h: Removed
  3439. * src/SignatureMetalinkParserState.cc: Removed
  3440. * src/SignatureMetalinkParserState.h: Removed
  3441. * src/SizeMetalinkParserState.cc: Removed
  3442. * src/SizeMetalinkParserState.h: Removed
  3443. * src/SkipTagMetalinkParserState.cc: Removed
  3444. * src/SkipTagMetalinkParserState.h: Removed
  3445. * src/URLMetalinkParserState.cc: Removed
  3446. * src/URLMetalinkParserState.h: Removed
  3447. * src/VerificationMetalinkParserState.cc: Removed
  3448. * src/VerificationMetalinkParserState.h: Removed
  3449. * src/VersionMetalinkParserState.cc: Removed
  3450. * src/VersionMetalinkParserState.h: Removed
  3451. 2009-09-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3452. Move all functions in PeerMessageUtil to bittorrent_helper.
  3453. * src/BtBitfieldMessage.cc
  3454. * src/BtBitfieldMessageValidator.h
  3455. * src/BtExtendedMessage.cc
  3456. * src/BtHandshakeMessage.cc
  3457. * src/BtHandshakeMessageValidator.h
  3458. * src/BtPieceMessage.cc
  3459. * src/BtPieceMessageValidator.h
  3460. * src/BtPortMessage.cc
  3461. * src/DHTFindNodeReplyMessage.cc
  3462. * src/DHTGetPeersReplyMessage.cc
  3463. * src/DHTMessageFactoryImpl.cc
  3464. * src/DHTRoutingTableDeserializer.cc
  3465. * src/DHTRoutingTableSerializer.cc
  3466. * src/DHTTokenTracker.cc
  3467. * src/DefaultBtMessageFactory.cc
  3468. * src/IndexBtMessage.cc
  3469. * src/IndexBtMessage.h
  3470. * src/IndexBtMessageValidator.h
  3471. * src/Makefile.am
  3472. * src/PeerMessageUtil.cc: Removed.
  3473. * src/PeerMessageUtil.h: Removed.
  3474. * src/RangeBtMessage.cc
  3475. * src/RangeBtMessage.h
  3476. * src/RangeBtMessageValidator.h
  3477. * src/UTPexExtensionMessage.cc
  3478. * src/ZeroBtMessage.cc
  3479. * src/ZeroBtMessage.h
  3480. * src/bittorrent_helper.cc
  3481. * src/bittorrent_helper.h
  3482. * test/BittorrentHelperTest.cc
  3483. * test/BtAllowedFastMessageTest.cc
  3484. * test/BtBitfieldMessageTest.cc
  3485. * test/BtCancelMessageTest.cc
  3486. * test/BtChokeMessageTest.cc
  3487. * test/BtExtendedMessageTest.cc
  3488. * test/BtHandshakeMessageTest.cc
  3489. * test/BtHaveAllMessageTest.cc
  3490. * test/BtHaveMessageTest.cc
  3491. * test/BtHaveNoneMessageTest.cc
  3492. * test/BtInterestedMessageTest.cc
  3493. * test/BtNotInterestedMessageTest.cc
  3494. * test/BtPieceMessageTest.cc
  3495. * test/BtPortMessageTest.cc
  3496. * test/BtRejectMessageTest.cc
  3497. * test/BtRequestMessageTest.cc
  3498. * test/BtSuggestPieceMessageTest.cc
  3499. * test/BtUnchokeMessageTest.cc
  3500. * test/DHTFindNodeReplyMessageTest.cc
  3501. * test/DHTGetPeersReplyMessageTest.cc
  3502. * test/DHTMessageFactoryImplTest.cc
  3503. * test/DHTRoutingTableDeserializerTest.cc
  3504. * test/DHTRoutingTableSerializerTest.cc
  3505. * test/DefaultBtMessageFactoryTest.cc
  3506. * test/DefaultExtensionMessageFactoryTest.cc
  3507. * test/Makefile.am
  3508. * test/PeerListProcessorTest.cc
  3509. * test/PeerMessageUtilTest.cc: Removed.
  3510. * test/UTPexExtensionMessageTest.cc
  3511. 2009-09-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3512. Limit the size of values list when sending get_peers reply.
  3513. * src/DHTGetPeersReplyMessage.cc
  3514. 2009-09-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3515. Updated banner
  3516. * doc/xmlrpc/aria2rpc
  3517. 2009-09-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3518. Added missing help message for remove command.
  3519. * doc/xmlrpc/aria2rpc
  3520. 2009-09-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3521. Generated configure and config.h.in
  3522. 2009-09-23 Ross Smith II <aria2spam at smithii dot com>
  3523. Add check for fork(), which is missing on MinGW
  3524. * src/daemon.cc
  3525. * configure.ac
  3526. 2009-09-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3527. Removed unused methods Util::fileCopy(), Util::rangedFileCopy(),
  3528. Util::expandBuffer(), Util::unfoldRange(), Util::indexRange() and
  3529. Util::httpGMT().
  3530. * src/Util.cc
  3531. * src/Util.h
  3532. * test/UtilTest.cc
  3533. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3534. * Release 1.6.0
  3535. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3536. Fixed a path to xmlrpc/README.txt
  3537. * doc/Makefile.am
  3538. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3539. Added XML-RPC in -v Configuration output.
  3540. * src/FeatureConfig.cc
  3541. * src/FeatureConfig.h
  3542. * test/FeatureConfigTest.cc
  3543. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3544. Updated Bulgarian, Russian, Slovak and Japanese
  3545. translations. Thanks to all translators.
  3546. * po/bg.po
  3547. * po/ja.po
  3548. * po/ru.po
  3549. * po/sk.po
  3550. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3551. Removed --retry-wait option from aria2rpc
  3552. * doc/xmlrpc/aria2rpc
  3553. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3554. Removed --retry-wait option from man page.
  3555. * doc/aria2c.1.txt
  3556. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3557. Removed --retry-wait option since the current architecture doesn't
  3558. allow sleep for particular URI.
  3559. * src/AbstractCommand.cc
  3560. * src/OptionHandlerFactory.cc
  3561. * src/download_helper.cc
  3562. * src/prefs.cc
  3563. * src/prefs.h
  3564. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3565. Removed Retry-After header support. Since the current architecture
  3566. doesn't allow sleep for particular URI.
  3567. * src/HttpSkipResponseCommand.cc
  3568. 2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3569. Updated the help message for --daemon option.
  3570. * doc/aria2c.1.txt
  3571. * src/usage_text.h
  3572. 2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3573. Added our own daemon() function for systems which desn't have
  3574. daemon(3).
  3575. * configure.ac
  3576. * src/Makefile.am
  3577. * src/daemon.cc
  3578. * src/daemon.h
  3579. * src/option_processing.cc
  3580. 2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3581. Simplified File::getCurrentDir()
  3582. * src/File.cc
  3583. 2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3584. Use exit() instead of _exit
  3585. * src/RequestGroupMan.cc
  3586. 2009-09-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3587. Replaced "CATEGORY" with "TAGS".
  3588. * src/usage_text.h
  3589. * doc/aria2c.1.txt
  3590. 2009-09-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3591. Updated the help message for --help option.
  3592. * src/usage_text.h
  3593. * doc/aria2c.1.txt
  3594. 2009-09-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3595. Updated man page for added help tags.
  3596. * doc/aria2c.1.txt
  3597. 2009-09-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3598. Added help category #file. Added #file tag to the options related
  3599. to downloaded file.
  3600. * src/OptionHandlerFactory.cc
  3601. * src/help_tags.h
  3602. 2009-09-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3603. Added help categories: #cookie and #hook. Added #https tag to
  3604. --https-proxy and --https-proxy, --all-proxy and --no-proxy.
  3605. * src/OptionHandlerFactory.cc
  3606. * src/help_tags.h
  3607. 2009-09-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3608. Made MSG_NOT_FILE translatable.
  3609. * src/message.h
  3610. 2009-09-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3611. Updated man page for --help option.
  3612. * doc/aria2c.1.txt
  3613. 2009-09-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3614. Updated doc.
  3615. * src/XmlRpcMethod.h
  3616. 2009-09-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3617. Help category now starts with "#" to distinguish a category from
  3618. keyword search. For example, "http" categroy is now "#http". You
  3619. can type "--help=#http" to get explanation of options related to
  3620. http. If '#' is omitted, then the argument is treated as a keyword
  3621. and aria2 searches options whose name includes the keyword and
  3622. print matched ones. For example, "--help=http" will show options
  3623. whose name includes "http".
  3624. * src/OptionHandlerFactory.cc
  3625. * src/help_tags.h
  3626. * src/usage_text.h
  3627. * src/version_usage.cc
  3628. 2009-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3629. Documented missing experimental tag and newly added xml-rpc tag in
  3630. man page.
  3631. * doc/aria2c.1.txt
  3632. 2009-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3633. Added xml-rpc help tag. Tagged xml-rpc related options with
  3634. xml-rpc tag.
  3635. * src/OptionHandlerFactory.cc
  3636. * src/help_tags.h
  3637. 2009-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3638. Updated message when a path is not a file. Updated common message
  3639. for wrong option.
  3640. * src/OptionHandlerException.cc
  3641. * src/message.h
  3642. 2009-09-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3643. Use File::isFile() instead of File::exists(). Updated message when
  3644. a path is not a file.
  3645. * src/OptionHandlerImpl.cc
  3646. * src/message.h
  3647. 2009-09-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3648. Fixed the bug that server performence profile is not updated when
  3649. aria2c was terminated by emergency shutdown.
  3650. * src/TrackerWatcherCommand.cc
  3651. 2009-09-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3652. Use LocalFilePathOptionHandler for -T and -M option.
  3653. Updated message of MSG_FILE_NOT_EXIST.
  3654. * src/OptionHandlerFactory.cc
  3655. * src/message.h
  3656. 2009-09-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3657. Added LocalFilePathOptionHandler which check whether the specified
  3658. file path does exist or not.
  3659. * src/OptionHandlerImpl.cc
  3660. * src/message.h
  3661. 2009-09-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3662. Updated wiki page URI.
  3663. * README
  3664. * doc/aria2c.1.txt
  3665. 2009-09-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3666. Added README.txt for xmlrpc directory.
  3667. * doc/Makefile.am
  3668. * doc/xmlrpc/README.txt
  3669. 2009-09-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3670. Bump up version number to 1.6.0.
  3671. * configure.ac
  3672. 2009-09-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3673. Added XML-RPC client scripts written in ruby.
  3674. * doc/Makefile.am
  3675. * doc/xmlrpc/aria2mon
  3676. * doc/xmlrpc/aria2rpc
  3677. 2009-08-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3678. Added support for IPv6 literal address in URI. Now aria2 can
  3679. handle URI such as http://[::1]/
  3680. * src/HttpRequest.cc
  3681. * src/HttpRequest.h
  3682. * src/Request.cc
  3683. * src/Request.h
  3684. * test/HttpRequestTest.cc
  3685. * test/OptionHandlerTest.cc
  3686. * test/RequestTest.cc
  3687. 2009-08-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3688. Fixed the bug that HTTP request header for XML-RPC request is not
  3689. parsed properly.
  3690. * src/HttpHeader.cc
  3691. * src/HttpHeaderProcessor.cc
  3692. 2009-08-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3693. Fixed the bug that XML-RPC authorization might be done before HTTP
  3694. request header is fully received.
  3695. * src/HttpServerCommand.cc
  3696. 2009-08-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3697. Documented --xml-rpc-listen-all option in man page.
  3698. * doc/aria2c.1.txt
  3699. 2009-08-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3700. Added --xml-rpc-listen-all option. If true is given to this
  3701. option, aria2 listens incoming XML-RPC requests on all network
  3702. interfaces. If false is given, listens only on local loopback
  3703. interface. The default value is false.
  3704. * src/HttpListenCommand.cc
  3705. * src/OptionHandlerFactory.cc
  3706. * src/SocketCore.cc
  3707. * src/SocketCore.h
  3708. * src/prefs.cc
  3709. * src/prefs.h
  3710. * src/usage_text.h
  3711. 2009-08-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3712. * Release 1.5.2
  3713. 2009-08-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3714. Updated Ukrainian and Russian translations. Thanks to all
  3715. translators.
  3716. * po/ru.po
  3717. * po/uk.po
  3718. 2009-08-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3719. Bump up version number to 1.5.2
  3720. * configure.ac
  3721. 2009-08-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3722. Get comment, comment.utf-8, created by and creation date from
  3723. .torrent file and print them in -S output.
  3724. * src/bittorrent_helper.cc
  3725. * src/bittorrent_helper.h
  3726. * test/BittorrentHelperTest.cc
  3727. * test/test.torrent
  3728. * test/utf8.torrent
  3729. 2009-08-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3730. Show exact file size along in -S option output.
  3731. * src/Util.h
  3732. * src/bittorrent_helper.cc
  3733. * test/UtilTest.cc
  3734. 2009-08-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3735. Avoided unnecessary memory allocation in
  3736. BitfieldMan::getCompletedLength().
  3737. * src/BitfieldMan.cc
  3738. 2009-08-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3739. Fixed the bug that download fails if
  3740. SocketCore::establishConnection() throws exception and aria2
  3741. doesn't try another address.
  3742. * src/AbstractCommand.cc
  3743. * src/InitiateConnectionCommand.cc
  3744. * src/message.h
  3745. 2009-08-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3746. Fixed sqlite3.m4 macro so that sqlite3_open_v2 function is
  3747. detected properly.
  3748. * m4/sqlite3.m4
  3749. 2009-08-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3750. Renamed xmlrpc::elements::PARAMS to xmlrpc::elements::A2_PARAMS
  3751. because it causes compile error if PARAMS macro is defined.
  3752. * src/XmlRpcElements.cc
  3753. * src/XmlRpcElements.h
  3754. * src/XmlRpcRequestParserStateImpl.cc
  3755. 2009-07-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3756. * Release 1.5.1
  3757. 2009-07-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3758. Bump up version number to 1.5.1
  3759. * configure.ac
  3760. 2009-07-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3761. Fixed compile error without BitTorrent support
  3762. * src/DefaultBtProgressInfoFile.cc
  3763. * src/DownloadEngine.cc
  3764. * src/DownloadEngine.h
  3765. 2009-07-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3766. Added missing '=' in Download Results
  3767. * src/RequestGroupMan.cc
  3768. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3769. Fixed compiler warning
  3770. * src/DefaultBtProgressInfoFile.cc
  3771. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3772. Fixed compiler warning on 32bit systems.
  3773. * src/DownloadCommand.cc
  3774. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3775. Call flush from ServerStatMan::save()
  3776. * src/ServerStatMan.cc
  3777. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3778. Check stream status after file is opened.
  3779. * src/CookieStorage.cc
  3780. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3781. Rewritten Signature::save()
  3782. * src/Signature.cc
  3783. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3784. Rewritten RequestGroupMan::saveServerStat()
  3785. * src/RequestGroupMan.cc
  3786. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3787. Rewritten stream error handling
  3788. * src/DHTAutoSaveCommand.cc
  3789. * src/DHTRoutingTableDeserializer.cc
  3790. * src/DHTRoutingTableSerializer.cc
  3791. * src/DHTSetup.cc
  3792. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3793. Check stream status after file is opened.
  3794. * src/DefaultBtProgressInfoFile.cc
  3795. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3796. Rewritten stream error handling
  3797. * src/DefaultBtProgressInfoFile.cc
  3798. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3799. Make sure that stream is closed before renaming file. Unit test
  3800. fails on mingw32 in the previous implementation.
  3801. * src/CookieStorage.cc
  3802. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3803. Fixed the unit test error without sqlite3
  3804. * test/CookieStorageTest.cc
  3805. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3806. Fixed the undefined reference error
  3807. * test/HttpResponseTest.cc
  3808. 2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3809. * Release 1.5.0
  3810. 2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3811. Updated Russian, Italian, Danish, Bulgarian, Japanese and
  3812. Ukrainian translations. Thanks to all translators.
  3813. * po/ru.po
  3814. * po/it.po
  3815. * po/da.po
  3816. * po/bg.po
  3817. * po/ja.po
  3818. * po/uk.po
  3819. 2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3820. Added missing src/Logger.cc
  3821. * src/Logger.cc
  3822. 2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3823. Rewritten Logger to avoiding constly virtual call.
  3824. * src/LogFactory.cc
  3825. * src/LogFactory.h
  3826. * src/Logger.h
  3827. * src/Makefile.am
  3828. * src/Makefile.in
  3829. * src/NullLogger.h: Removed.
  3830. * src/SimpleLogger.cc
  3831. * src/SimpleLogger.h
  3832. 2009-07-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3833. Updated doc
  3834. * src/main.cc
  3835. 2009-07-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3836. Updated debug log message
  3837. * src/AbstractCommand.cc
  3838. * src/message.h
  3839. 2009-07-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3840. Avoid to create zombie process when commands specified in
  3841. --on-download-* options are executed. Tested on Linux 2.6, Mac OS
  3842. X and NetBSD.
  3843. * src/main.cc
  3844. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3845. Fixed typo
  3846. * src/usage_text.h
  3847. * doc/aria2c.1.txt
  3848. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3849. Documented 'errorCode' of tellStatus in man page.
  3850. * doc/aria2c.1.txt
  3851. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3852. Added 'errorCode' to the reponse of tellStatus xml-rpc method.
  3853. This key is only available for stopped/completed downloads and its
  3854. value is the error code defined in EXIT STATUS in man page.
  3855. * src/XmlRpcMethodImpl.cc
  3856. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3857. Fixed the bug that session download length is not updated when
  3858. PeerStat is not fastest one.
  3859. * src/SegmentMan.cc
  3860. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3861. Updated doc.
  3862. * doc/aria2c.1.txt
  3863. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3864. Updated doc.
  3865. * src/AbstractCommand.cc
  3866. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3867. Handle the case when DownloadContext has no FileEntry.
  3868. * src/XmlRpcMethodImpl.cc
  3869. 2009-07-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3870. Handle the situation where struct option.name is char *.
  3871. * configure.ac
  3872. * src/OptionParser.cc
  3873. 2009-07-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3874. Code cleanup
  3875. * src/AbstractCommand.cc
  3876. * src/DownloadCommand.cc
  3877. 2009-07-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3878. Use option of each download to create AuthConfig instead of global
  3879. option.
  3880. * src/AuthConfigFactory.cc
  3881. * src/AuthConfigFactory.h
  3882. * src/FtpNegotiationCommand.cc
  3883. * src/HttpRequest.cc
  3884. * src/HttpRequest.h
  3885. * src/HttpRequestCommand.cc
  3886. * src/HttpSkipResponseCommand.cc
  3887. * src/MultiUrlRequestInfo.cc
  3888. * test/AuthConfigFactoryTest.cc
  3889. * test/FtpConnectionTest.cc
  3890. * test/HttpRequestTest.cc
  3891. 2009-07-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3892. Don't call prepareForRetry(1) if all segments are ignored in
  3893. SegmentMan.
  3894. * src/AbstractCommand.cc
  3895. * src/BitfieldMan.cc
  3896. * src/BitfieldMan.h
  3897. * src/SegmentMan.cc
  3898. * src/SegmentMan.h
  3899. 2009-07-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3900. Removed FileEntry::getAssociatedUris()
  3901. * src/FileEntry.h
  3902. 2009-07-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3903. Updated doc: TODO1.5 -> TODO
  3904. * src/FileEntry.cc
  3905. * src/HttpResponseCommand.cc
  3906. 2009-07-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3907. Added assertion fileEntries.size() == 1 if BitTorrent is not
  3908. involved.
  3909. * src/RequestGroup.cc
  3910. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3911. Eliminated duplicated filterBitfield initialization code.
  3912. * src/BitfieldMan.cc
  3913. * src/BitfieldMan.h
  3914. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3915. Added assert(!req.isNull()) when DlRetryEx is caught(this is
  3916. relatively naive approach, though). For DownloadFailureException,
  3917. we handle the case when req is null properly.
  3918. * src/AbstractCommand.cc
  3919. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3920. Added function returning suffix of control file to
  3921. DefaultBtProgressInfoFile.
  3922. * src/DefaultBtProgressInfoFile.cc
  3923. * src/DefaultBtProgressInfoFile.h
  3924. * src/RequestGroup.cc
  3925. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3926. Documented getVersion in man page.
  3927. * doc/aria2c.1.txt
  3928. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3929. Documented type of offset and num for tellWaiting xml-rpc method.
  3930. * doc/aria2c.1.txt
  3931. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3932. Implemented getVersion xml-rpc method. This method returns struct
  3933. which has 2 key-value pairs: "version" key is associated to the
  3934. version of aria2, such as "1.5.0". "enabledFeatures" key is
  3935. associated to the list of enabled features, such as "Async DNS",
  3936. "BitTorrent".
  3937. * src/FeatureConfig.h
  3938. * src/XmlRpcMethodFactory.cc
  3939. * src/XmlRpcMethodImpl.cc
  3940. * src/XmlRpcMethodImpl.h
  3941. * test/XmlRpcMethodTest.cc
  3942. 2009-07-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3943. Removed TLS1.1 protocol support when aria2 is built with gnutls
  3944. for compatibility issue.
  3945. * src/SocketCore.cc
  3946. 2009-07-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3947. Fixed compile error with openSSL
  3948. * src/bittorrent_helper.cc
  3949. * src/messageDigest.h
  3950. 2009-07-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3951. Removed bad code: setting certificate type priority to key
  3952. exchange priority.
  3953. * src/SocketCore.cc
  3954. 2009-07-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3955. Disconnect seeder if client is also in seed state.
  3956. * src/BtBitfieldMessage.cc
  3957. * src/BtHaveAllMessage.cc
  3958. * src/BtHaveMessage.cc
  3959. * src/message.h
  3960. * test/BtBitfieldMessageTest.cc
  3961. * test/BtHaveAllMessageTest.cc
  3962. * test/BtHaveMessageTest.cc
  3963. * test/MockPieceStorage.h
  3964. 2009-07-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3965. Keep CreateRequestCommand in queue when no segment is available so
  3966. that they can pick up pieces which slow BitTorrent peers are
  3967. downloading.
  3968. * src/AbstractCommand.cc
  3969. * src/CreateRequestCommand.cc
  3970. * src/CreateRequestCommand.h
  3971. 2009-07-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3972. --bt-stop-timeout now only checks download speed.
  3973. * src/BtStopDownloadCommand.cc
  3974. * src/BtStopDownloadCommand.h
  3975. * src/BtSetup.cc
  3976. * src/usage_text.h
  3977. * doc/aria2c.1.txt
  3978. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3979. Fixed compile error regarding BUFSIZE.
  3980. * src/DownloadCommand.cc
  3981. * src/DownloadCommand.h
  3982. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3983. Documented tellWaiting xml-rpc method in man page.
  3984. * doc/aria2c.1.txt
  3985. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3986. Bump up version number to 1.5.0
  3987. * configure.ac
  3988. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3989. Removed resolved TODO1.5
  3990. * src/AbstractCommand.cc
  3991. * src/DownloadCommand.cc
  3992. * src/RequestGroup.cc
  3993. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3994. Release pooled and in-flight Request objectsand URIResult objects
  3995. in FileEntry after download completed.
  3996. * src/DownloadContext.cc
  3997. * src/DownloadContext.h
  3998. * src/FileEntry.cc
  3999. * src/FileEntry.h
  4000. * src/RequestGroup.cc
  4001. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4002. Set manual and source attribute in aria2c.1.txt
  4003. * doc/aria2c.1.txt
  4004. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4005. Documented that the default value of --use-head is 'false' in man
  4006. page.
  4007. * doc/aria2c.1.txt
  4008. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4009. Added bt-stop-timeout option to -i list.
  4010. * doc/aria2c.1.txt
  4011. * src/download_helper.cc
  4012. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4013. Fixed typo
  4014. * doc/aria2c.1.txt
  4015. * src/usage_text.h
  4016. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4017. Removed peer-id-prefix option from -i list.
  4018. * doc/aria2c.1.txt
  4019. * src/download_helper.cc
  4020. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4021. Fixed typo
  4022. * doc/aria2c.1.txt
  4023. * src/usage_text.h
  4024. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4025. Documented --bt-stop-timeout option in man page.
  4026. * doc/aria2c.1.txt
  4027. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4028. Updated README regarding multi-file torrent web-seeding.
  4029. * doc/README.txt
  4030. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4031. Updated man page regarding multi-file torrent web-seeding.
  4032. * doc/aria2c.1.txt
  4033. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4034. Updated doc
  4035. * src/version_usage.cc
  4036. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4037. Winsock select() doesn't work if no socket is in FD_SET. To
  4038. overcome this problem, a dummy socket is added to FD_SET and it is
  4039. given to select().
  4040. * src/SelectEventPoll.cc
  4041. * src/SelectEventPoll.h
  4042. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4043. Disabled --use-head option by default because --use-head=true
  4044. causes problems on some web sites.
  4045. * src/OptionHandlerFactory.cc
  4046. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4047. Print URL List in -S option for torrent.
  4048. * src/bittorrent_helper.cc
  4049. * src/bittorrent_helper.h
  4050. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4051. Allocate buffer in ctor of DownloadCommand.
  4052. * src/DownloadCommand.cc
  4053. * src/DownloadCommand.h
  4054. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4055. Removed DiskAdaptor::onDownloadComplete()
  4056. * src/DirectDiskAdaptor.cc
  4057. * src/DirectDiskAdaptor.h
  4058. * src/DiskAdaptor.h
  4059. * src/MultiDiskAdaptor.cc
  4060. * src/MultiDiskAdaptor.h
  4061. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4062. Committed missing BtStopDownloadCommand.{cc,h}
  4063. * src/BtStopDownloadCommand.cc
  4064. * src/BtStopDownloadCommand.h
  4065. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4066. Added --bt-stop-timeout=SEC option. This function stops BitTorrent
  4067. download if the download speed is 0 and the number of seeder is 0
  4068. in consecutive SEC seconds. By default, this function is disabled.
  4069. * src/BtSetup.cc
  4070. * src/Makefile.am
  4071. * src/OptionHandlerFactory.cc
  4072. * src/prefs.cc
  4073. * src/prefs.h
  4074. * src/usage_text.h
  4075. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4076. Removed the call to DiskAdaptor::onDownloadComplete() from
  4077. BtCheckIntegrityEntry and DefaultPieceStorage.
  4078. * src/BtCheckIntegrityEntry.cc
  4079. * src/DefaultPieceStorage.cc
  4080. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4081. Commented out throw statements when number of piece is 0 to
  4082. download 0 length torrent.
  4083. * src/bittorrent_helper.cc
  4084. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4085. Call RequestGroup::createNextCommandWithAdj() from
  4086. BtFileAllocationEntry if at least one FileEntry has URI. The
  4087. static function hasAssociatedUri in RequestGroup.cc is renamed as
  4088. isUriSuppliedForRequsetFileEntry() and placed in FileEntry.h.
  4089. * src/BtFileAllocationEntry.cc
  4090. * src/FileEntry.h
  4091. * src/RequestGroup.cc
  4092. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4093. Generate peer ID after SimpleRandomizer is initialized.
  4094. * src/main.cc
  4095. * src/option_processing.cc
  4096. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4097. Removed unused method argument.
  4098. * src/CreateRequestCommand.cc
  4099. * src/RequestGroup.cc
  4100. * src/RequestGroup.h
  4101. * src/RequestGroupMan.cc
  4102. * src/TrackerWatcherCommand.cc
  4103. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4104. Made URI reusing function work.
  4105. * src/CreateRequestCommand.cc
  4106. * src/FileEntry.cc
  4107. * src/FileEntry.h
  4108. * test/FileEntryTest.cc
  4109. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4110. Add formerly fastest PeerStat's sessionDownloadLength to new
  4111. fastest PeerStat and use _fastestPeerStats to calcuate downloaded
  4112. bytes in a session.
  4113. * src/PeerStat.cc
  4114. * src/SegmentMan.cc
  4115. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4116. If pipelining is enabled, we can always pool socket.
  4117. * src/HttpDownloadCommand.cc
  4118. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4119. In a single file download, file size becomes known just after
  4120. downloading, set total length to FileEntry object when download
  4121. completed.
  4122. * src/DownloadCommand.cc
  4123. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4124. Use std::vector::reserve() for fileEntries and pieceHashes in
  4125. bittorrent_helper
  4126. * src/bittorrent_helper.cc
  4127. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4128. Removed calls to Request::resetUrl() in AbstractCommand.cc.
  4129. Removed hidden option PREF_RESET_URI.
  4130. * src/AbstractCommand.cc
  4131. * src/OptionHandlerFactory.cc
  4132. * src/prefs.cc
  4133. * src/prefs.h
  4134. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4135. Removed unused variable/function.
  4136. * src/PeerStat.h
  4137. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4138. Show first URL in Download Results if file path is not available.
  4139. * src/FileEntry.h
  4140. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4141. Throw exception if file path doesn't exist in FTP URL.
  4142. * src/InitiateConnectionCommandFactory.cc
  4143. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4144. Refactored BitfieldMan::getSparseMissingUnusedIndex()
  4145. * src/BitfieldMan.cc
  4146. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4147. Rewritten PeerStats handling in SegmentMan.cc. Now we have 2 list
  4148. of PeerStat in SegmentMan. peerStats is used for calculating
  4149. download speed. Therefore all active PeerStats should be in
  4150. there. Another one is _fastestPeerStats and it only contains
  4151. fastest PeerStat for each hostname/protocol pair. They are used
  4152. for updating ServerStat.
  4153. * src/DownloadCommand.cc
  4154. * src/Request.h
  4155. * src/RequestGroupMan.cc
  4156. * src/SegmentMan.cc
  4157. * src/SegmentMan.h
  4158. * test/SegmentManTest.cc
  4159. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4160. Try all available addresses returned by DNS until it gets
  4161. connected in HTTP(S)/FTP download
  4162. * src/AbstractCommand.cc
  4163. * src/AbstractCommand.h
  4164. * src/AbstractProxyRequestCommand.cc
  4165. * src/AbstractProxyRequestCommand.h
  4166. * src/DNSCache.h
  4167. * src/DownloadEngine.cc
  4168. * src/DownloadEngine.h
  4169. * src/FtpInitiateConnectionCommand.cc
  4170. * src/FtpInitiateConnectionCommand.h
  4171. * src/FtpNegotiationCommand.cc
  4172. * src/FtpNegotiationCommand.h
  4173. * src/HttpInitiateConnectionCommand.cc
  4174. * src/HttpInitiateConnectionCommand.h
  4175. * src/HttpRequestCommand.cc
  4176. * src/HttpRequestCommand.h
  4177. * src/InitiateConnectionCommand.cc
  4178. * src/InitiateConnectionCommand.h
  4179. * test/DNSCacheTest.cc
  4180. * test/Makefile.am
  4181. * test/SimpleDNSCacheTest.cc
  4182. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4183. Updated doc
  4184. * src/download_helper.cc
  4185. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4186. Refactored fieldMan ctor.
  4187. * src/BitfieldMan.cc
  4188. * src/BitfieldMan.h
  4189. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4190. Don't print "No files to download." message if -S is given.
  4191. * src/main.cc
  4192. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4193. Set referer and method to newly created Request object.
  4194. * src/CreateRequestCommand.cc
  4195. * src/FileEntry.cc
  4196. * src/FileEntry.h
  4197. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4198. Removed ctor of AbstractCommand which doesn't take FileEntry.
  4199. * src/AbstractCommand.cc
  4200. * src/AbstractCommand.h
  4201. * src/CreateRequestCommand.cc
  4202. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4203. Get proxy download working
  4204. * src/AbstractProxyRequestCommand.cc
  4205. * src/AbstractProxyRequestCommand.h
  4206. * src/AbstractProxyResponseCommand.cc
  4207. * src/AbstractProxyResponseCommand.h
  4208. * src/FtpInitiateConnectionCommand.cc
  4209. * src/FtpTunnelRequestCommand.cc
  4210. * src/FtpTunnelRequestCommand.h
  4211. * src/FtpTunnelResponseCommand.cc
  4212. * src/FtpTunnelResponseCommand.h
  4213. * src/HttpInitiateConnectionCommand.cc
  4214. * src/HttpProxyRequestCommand.cc
  4215. * src/HttpProxyRequestCommand.h
  4216. * src/HttpProxyResponseCommand.cc
  4217. * src/HttpProxyResponseCommand.h
  4218. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4219. Use SegmentMan::getSegment(cuid) for single file download.
  4220. * src/AbstractCommand.cc
  4221. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4222. Fixed bufSize calculation
  4223. * src/DownloadCommand.cc
  4224. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4225. Don't append "/" if base URI ends with "/".
  4226. * src/bittorrent_helper.cc
  4227. * test/url-list-multiFile.torrent
  4228. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4229. HTTP pipelining is now working. Fixed Segmention fault in
  4230. BitfieldMan's copy ctor.
  4231. * src/AbstractCommand.cc
  4232. * src/BitfieldMan.cc
  4233. * src/BitfieldMan.h
  4234. * src/DownloadCommand.cc
  4235. * src/HttpDownloadCommand.cc
  4236. * src/HttpRequest.cc
  4237. * src/SegmentMan.cc
  4238. * src/SegmentMan.h
  4239. * test/BitfieldManTest.cc
  4240. * test/SegmentManTest.cc
  4241. 2009-06-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4242. Removed ServerHost. Same functionality is implemented using
  4243. FileEntry's in-flight Request objects.
  4244. * src/AbstractCommand.cc
  4245. * src/BtDependency.cc
  4246. * src/CreateRequestCommand.cc
  4247. * src/FileEntry.cc
  4248. * src/FileEntry.h
  4249. * src/FtpNegotiationCommand.cc
  4250. * src/HttpResponseCommand.cc
  4251. * src/Makefile.am
  4252. * src/Metalink2RequestGroup.cc
  4253. * src/RequestGroup.cc
  4254. * src/RequestGroup.h
  4255. * src/ServerHost.cc: Removed
  4256. * src/ServerHost.h: Removed
  4257. * test/BtDependencyTest.cc
  4258. * test/FileEntryTest.cc
  4259. * test/RequestGroupTest.cc
  4260. 2009-06-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4261. Rewritten PeerStat handling. In the previous implementation,
  4262. faster command tries to find slower command. In this new
  4263. implementation, slower command tries to find faster command.
  4264. PeerStat is now created in each HTTP/FTP request to get download
  4265. rate correctly. If the download range is small, the download rate
  4266. tends to small and this will occur at the later stage of download.
  4267. * src/AbstractCommand.cc
  4268. * src/DownloadCommand.cc
  4269. * src/FileEntry.cc
  4270. * src/FileEntry.h
  4271. * src/Request.cc
  4272. * src/Request.h
  4273. * src/RequestGroup.h
  4274. * src/RequestGroupMan.cc
  4275. * src/SegmentMan.cc
  4276. * src/SegmentMan.h
  4277. * test/SegmentManTest.cc
  4278. 2009-06-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4279. Removed _uris from RequestGroup. All functions that refer to _uris
  4280. were moved to FileEntry. Exit status code are now defined in
  4281. DownloadResultCode.h.
  4282. * src/AbstractCommand.cc
  4283. * src/AdaptiveURISelector.cc
  4284. * src/AdaptiveURISelector.h
  4285. * src/AutoSaveCommand.cc
  4286. * src/BtPostDownloadHandler.cc
  4287. * src/CheckIntegrityDispatcherCommand.cc
  4288. * src/CookieStorage.cc
  4289. * src/DHTAutoSaveCommand.cc
  4290. * src/DHTBucketRefreshCommand.cc
  4291. * src/DHTEntryPointNameResolveCommand.cc
  4292. * src/DHTInteractionCommand.cc
  4293. * src/DHTPeerAnnounceCommand.cc
  4294. * src/DHTTokenUpdateCommand.cc
  4295. * src/DlAbortEx.h
  4296. * src/DlRetryEx.h
  4297. * src/DownloadCommand.cc
  4298. * src/DownloadContext.h
  4299. * src/DownloadFailureException.h
  4300. * src/DownloadResult.h
  4301. * src/DownloadResultCode.h
  4302. * src/FeedbackURISelector.cc
  4303. * src/FeedbackURISelector.h
  4304. * src/FileEntry.cc
  4305. * src/FileEntry.h
  4306. * src/FtpNegotiationCommand.cc
  4307. * src/HttpListenCommand.cc
  4308. * src/HttpResponseCommand.cc
  4309. * src/HttpServerResponseCommand.cc
  4310. * src/HttpSkipResponseCommand.cc
  4311. * src/InOrderURISelector.cc
  4312. * src/InOrderURISelector.h
  4313. * src/Makefile.am
  4314. * src/Makefile.in
  4315. * src/Metalink2RequestGroup.cc
  4316. * src/MultiUrlRequestInfo.cc
  4317. * src/MultiUrlRequestInfo.h
  4318. * src/OptionHandlerFactory.cc
  4319. * src/PeerListenCommand.cc
  4320. * src/RecoverableException.h
  4321. * src/RequestGroup.cc
  4322. * src/RequestGroup.h
  4323. * src/RequestGroupMan.cc
  4324. * src/RequestGroupMan.h
  4325. * src/TimedHaltCommand.cc
  4326. * src/TrackerWatcherCommand.cc
  4327. * src/URIResult.cc
  4328. * src/URIResult.h
  4329. * src/URISelector.h
  4330. * src/XmlRpcMethodImpl.cc
  4331. * src/bittorrent_helper.cc
  4332. * src/bittorrent_helper.h
  4333. * src/download_helper.cc
  4334. * src/main.cc
  4335. * src/option_processing.cc
  4336. * test/BtDependencyTest.cc
  4337. * test/BtPostDownloadHandlerTest.cc
  4338. * test/CookieStorageTest.cc
  4339. * test/DefaultBtMessageDispatcherTest.cc
  4340. * test/DownloadHandlerFactoryTest.cc
  4341. * test/DownloadHelperTest.cc
  4342. * test/FeedbackURISelectorTest.cc
  4343. * test/FileEntryTest.cc
  4344. * test/InOrderURISelectorTest.cc
  4345. * test/Metalink2RequestGroupTest.cc
  4346. * test/MetalinkPostDownloadHandlerTest.cc
  4347. * test/RequestGroupManTest.cc
  4348. * test/RequestGroupTest.cc
  4349. * test/XmlRpcMethodTest.cc
  4350. 2009-06-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4351. Removed MockBtContext.h
  4352. * test/Makefile.am
  4353. 2009-06-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4354. Removed _currentRequest from StreamCheckIntegrityEntry and
  4355. StreamFileAllocationEntry.
  4356. * src/AbstractCommand.cc
  4357. * src/HttpResponseCommand.cc
  4358. * src/RequestGroup.cc
  4359. * src/StreamCheckIntegrityEntry.cc
  4360. * src/StreamCheckIntegrityEntry.h
  4361. * src/StreamFileAllocationEntry.cc
  4362. * src/StreamFileAllocationEntry.h
  4363. 2009-06-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4364. Rewritten DownloadContext and removed SingleFileDownloadContext
  4365. and BtContext and its derived classes. BitTorrent specific
  4366. attributes are now set by DownloadContext::setAttribute() with key
  4367. bittorrent::BITTORRENT.
  4368. * src/AbstractBtMessage.cc
  4369. * src/AbstractBtMessage.h
  4370. * src/AbstractCommand.cc
  4371. * src/AbstractCommand.h
  4372. * src/AbstractProxyRequestCommand.cc
  4373. * src/AbstractProxyResponseCommand.cc
  4374. * src/ActivePeerConnectionCommand.cc
  4375. * src/ActivePeerConnectionCommand.h
  4376. * src/AnnounceList.cc
  4377. * src/BtCheckIntegrityEntry.cc
  4378. * src/BtConstants.h
  4379. * src/BtContext.h: Removed
  4380. * src/BtDependency.cc
  4381. * src/BtExtendedMessage.cc
  4382. * src/BtPieceMessage.cc
  4383. * src/BtPieceMessage.h
  4384. * src/BtPostDownloadHandler.cc
  4385. * src/BtRegistry.cc
  4386. * src/BtRegistry.h
  4387. * src/BtSetup.cc
  4388. * src/CheckIntegrityCommand.cc
  4389. * src/CheckIntegrityEntry.cc
  4390. * src/ChecksumCheckIntegrityEntry.cc
  4391. * src/ConsoleStatCalc.cc
  4392. * src/ContentTypeRequestGroupCriteria.cc
  4393. * src/DHTGetPeersCommand.cc
  4394. * src/DHTGetPeersCommand.h
  4395. * src/DHTPeerLookupTask.cc
  4396. * src/DHTPeerLookupTask.h
  4397. * src/DHTTaskFactory.h
  4398. * src/DHTTaskFactoryImpl.cc
  4399. * src/DHTTaskFactoryImpl.h
  4400. * src/DefaultBtAnnounce.cc
  4401. * src/DefaultBtAnnounce.h
  4402. * src/DefaultBtContext.cc: Removed
  4403. * src/DefaultBtContext.h: Removed
  4404. * src/DefaultBtInteractive.cc
  4405. * src/DefaultBtInteractive.h
  4406. * src/DefaultBtMessageDispatcher.cc
  4407. * src/DefaultBtMessageDispatcher.h
  4408. * src/DefaultBtMessageFactory.cc
  4409. * src/DefaultBtMessageFactory.h
  4410. * src/DefaultBtMessageReceiver.cc
  4411. * src/DefaultBtMessageReceiver.h
  4412. * src/DefaultBtProgressInfoFile.cc
  4413. * src/DefaultBtRequestFactory.cc
  4414. * src/DefaultBtRequestFactory.h
  4415. * src/DefaultExtensionMessageFactory.cc
  4416. * src/DefaultExtensionMessageFactory.h
  4417. * src/DefaultPeerStorage.cc
  4418. * src/DefaultPeerStorage.h
  4419. * src/DefaultPieceStorage.cc
  4420. * src/DefaultSegmentManFactory.cc
  4421. * src/DiskAdaptor.cc
  4422. * src/DiskAdaptor.h
  4423. * src/DownloadContext.cc
  4424. * src/DownloadContext.h
  4425. * src/DownloadEngine.cc
  4426. * src/DownloadEngineFactory.cc
  4427. * src/DownloadHandler.cc
  4428. * src/DownloadResult.h
  4429. * src/FileAllocationCommand.cc
  4430. * src/FileAllocationDispatcherCommand.cc
  4431. * src/FileAllocationEntry.cc
  4432. * src/FileEntry.h
  4433. * src/FillRequestGroupCommand.cc
  4434. * src/FtpDownloadCommand.cc
  4435. * src/FtpFinishDownloadCommand.cc
  4436. * src/FtpInitiateConnectionCommand.cc
  4437. * src/FtpNegotiationCommand.cc
  4438. * src/FtpTunnelRequestCommand.cc
  4439. * src/FtpTunnelResponseCommand.cc
  4440. * src/HandshakeExtensionMessage.cc
  4441. * src/HandshakeExtensionMessage.h
  4442. * src/HaveEraseCommand.cc
  4443. * src/HttpDownloadCommand.cc
  4444. * src/HttpInitiateConnectionCommand.cc
  4445. * src/HttpProxyRequestCommand.cc
  4446. * src/HttpProxyResponseCommand.cc
  4447. * src/HttpRequest.cc
  4448. * src/HttpRequest.h
  4449. * src/HttpRequestCommand.cc
  4450. * src/HttpResponseCommand.cc
  4451. * src/HttpServerBodyCommand.cc
  4452. * src/HttpServerCommand.cc
  4453. * src/HttpSkipResponseCommand.cc
  4454. * src/InitiateConnectionCommandFactory.cc
  4455. * src/InitiatorMSEHandshakeCommand.cc
  4456. * src/InitiatorMSEHandshakeCommand.h
  4457. * src/IteratableChecksumValidator.cc
  4458. * src/IteratableChecksumValidator.h
  4459. * src/IteratableChunkChecksumValidator.cc
  4460. * src/MSEHandshake.cc
  4461. * src/MSEHandshake.h
  4462. * src/Makefile.am
  4463. * src/Makefile.in
  4464. * src/Metalink2RequestGroup.cc
  4465. * src/MetalinkPostDownloadHandler.cc
  4466. * src/MultiDiskAdaptor.cc
  4467. * src/MultiDiskAdaptor.h
  4468. * src/MultiFileAllocationIterator.cc
  4469. * src/MultiUrlRequestInfo.cc
  4470. * src/PeerChokeCommand.cc
  4471. * src/PeerChokeCommand.h
  4472. * src/PeerInitiateConnectionCommand.cc
  4473. * src/PeerInitiateConnectionCommand.h
  4474. * src/PeerInteractionCommand.cc
  4475. * src/PeerInteractionCommand.h
  4476. * src/PeerReceiveHandshakeCommand.cc
  4477. * src/PieceHashCheckIntegrityEntry.cc
  4478. * src/RealtimeCommand.cc
  4479. * src/ReceiverMSEHandshakeCommand.cc
  4480. * src/RequestGroup.cc
  4481. * src/RequestGroup.h
  4482. * src/RequestGroupEntry.cc
  4483. * src/RequestGroupMan.cc
  4484. * src/SeedCheckCommand.cc
  4485. * src/SeedCheckCommand.h
  4486. * src/SegmentMan.cc
  4487. * src/ShareRatioSeedCriteria.h
  4488. * src/SingleFileDownloadContext.cc: Removed
  4489. * src/SingleFileDownloadContext.h: Removed
  4490. * src/SleepCommand.cc
  4491. * src/StreamCheckIntegrityEntry.cc
  4492. * src/TrackerWatcherCommand.cc
  4493. * src/TrackerWatcherCommand.h
  4494. * src/UnknownLengthPieceStorage.cc
  4495. * src/Util.cc
  4496. * src/Util.h
  4497. * src/XmlRpcMethodImpl.cc
  4498. * src/bittorrent_helper.cc
  4499. * src/bittorrent_helper.h
  4500. * src/download_helper.cc
  4501. * src/main.cc
  4502. * src/option_processing.cc
  4503. * test/BitfieldManTest.cc
  4504. * test/BittorrentHelperTest.cc
  4505. * test/BtCancelMessageTest.cc
  4506. * test/BtChokeMessageTest.cc
  4507. * test/BtDependencyTest.cc
  4508. * test/BtPieceMessageTest.cc
  4509. * test/BtPostDownloadHandlerTest.cc
  4510. * test/BtRegistryTest.cc
  4511. * test/BtRejectMessageTest.cc
  4512. * test/BtRequestMessageTest.cc
  4513. * test/DHTPeerAnnounceStorageTest.cc
  4514. * test/DefaultBtAnnounceTest.cc
  4515. * test/DefaultBtContextTest.cc: Removed
  4516. * test/DefaultBtMessageDispatcherTest.cc
  4517. * test/DefaultBtMessageFactoryTest.cc
  4518. * test/DefaultBtProgressInfoFileTest.cc
  4519. * test/DefaultBtRequestFactoryTest.cc
  4520. * test/DefaultExtensionMessageFactoryTest.cc
  4521. * test/DefaultPeerStorageTest.cc
  4522. * test/DefaultPieceStorageTest.cc
  4523. * test/DirectDiskAdaptorTest.cc
  4524. * test/DownloadContextTest.cc
  4525. * test/DownloadHandlerFactoryTest.cc
  4526. * test/DownloadHelperTest.cc
  4527. * test/HandshakeExtensionMessageTest.cc
  4528. * test/HttpRequestTest.cc
  4529. * test/HttpResponseTest.cc
  4530. * test/IteratableChecksumValidatorTest.cc
  4531. * test/IteratableChunkChecksumValidatorTest.cc
  4532. * test/MSEHandshakeTest.cc
  4533. * test/Makefile.am
  4534. * test/Makefile.in
  4535. * test/Metalink2RequestGroupTest.cc
  4536. * test/MetalinkPostDownloadHandlerTest.cc
  4537. * test/MockBtContext.h: Removed
  4538. * test/MockDHTTaskFactory.h
  4539. * test/MockDownloadContext.h: Removed
  4540. * test/MockPieceStorage.h
  4541. * test/MultiDiskAdaptorTest.cc
  4542. * test/MultiFileAllocationIteratorTest.cc
  4543. * test/RequestGroupManTest.cc
  4544. * test/RequestGroupTest.cc
  4545. * test/SegmentManTest.cc
  4546. * test/ShareRatioSeedCriteriaTest.cc
  4547. * test/SingleFileDownloadContextTest.cc: Removed
  4548. * test/UtilTest.cc
  4549. * test/XmlRpcMethodTest.cc
  4550. 2009-06-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4551. Added experimental support of WEB-Seeding for multi-file torrent.
  4552. Due to fundamental changes in file handling in HTTP/FTP code, many
  4553. functions are not working: PeerStat, ServerHost, proxy..etc
  4554. * src/AbstractCommand.cc
  4555. * src/AbstractCommand.h
  4556. * src/BitfieldMan.cc
  4557. * src/BitfieldMan.h
  4558. * src/CreateRequestCommand.cc
  4559. * src/CreateRequestCommand.h
  4560. * src/DefaultPieceStorage.cc
  4561. * src/DefaultPieceStorage.h
  4562. * src/DownloadCommand.cc
  4563. * src/DownloadCommand.h
  4564. * src/DownloadContext.cc
  4565. * src/DownloadContext.h
  4566. * src/FileEntry.cc
  4567. * src/FileEntry.h
  4568. * src/FtpDownloadCommand.cc
  4569. * src/FtpDownloadCommand.h
  4570. * src/FtpFinishDownloadCommand.cc
  4571. * src/FtpFinishDownloadCommand.h
  4572. * src/FtpInitiateConnectionCommand.cc
  4573. * src/FtpInitiateConnectionCommand.h
  4574. * src/FtpNegotiationCommand.cc
  4575. * src/FtpNegotiationCommand.h
  4576. * src/FtpTunnelResponseCommand.cc
  4577. * src/HttpDownloadCommand.cc
  4578. * src/HttpDownloadCommand.h
  4579. * src/HttpInitiateConnectionCommand.cc
  4580. * src/HttpInitiateConnectionCommand.h
  4581. * src/HttpProxyResponseCommand.cc
  4582. * src/HttpRequest.cc
  4583. * src/HttpRequest.h
  4584. * src/HttpRequestCommand.cc
  4585. * src/HttpRequestCommand.h
  4586. * src/HttpResponseCommand.cc
  4587. * src/HttpResponseCommand.h
  4588. * src/HttpSkipResponseCommand.cc
  4589. * src/HttpSkipResponseCommand.h
  4590. * src/InitiateConnectionCommand.cc
  4591. * src/InitiateConnectionCommand.h
  4592. * src/InitiateConnectionCommandFactory.cc
  4593. * src/InitiateConnectionCommandFactory.h
  4594. * src/Makefile.am
  4595. * src/PieceStorage.h
  4596. * src/RequestGroup.cc
  4597. * src/RequestGroup.h
  4598. * src/RequestGroupMan.cc
  4599. * src/SegmentMan.cc
  4600. * src/SegmentMan.h
  4601. * src/SingleFileDownloadContext.h
  4602. * src/StreamFileAllocationEntry.cc
  4603. * src/TrackerWatcherCommand.cc
  4604. * src/UnknownLengthPieceStorage.cc
  4605. * src/UnknownLengthPieceStorage.h
  4606. * src/array_fun.h
  4607. * src/bitfield.h
  4608. * src/download_helper.cc
  4609. * test/DownloadContextTest.cc
  4610. * test/Makefile.am
  4611. * test/MockDownloadContext.h
  4612. 2009-06-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4613. Added tellWaiting XML-RPC method.
  4614. * src/SingleFileDownloadContext.cc
  4615. * src/XmlRpcMethodFactory.cc
  4616. * src/XmlRpcMethodImpl.cc
  4617. * src/XmlRpcMethodImpl.h
  4618. * test/XmlRpcMethodTest.cc
  4619. 2009-06-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4620. Updated CookieStorageTest
  4621. * test/CookieStorageTest.cc
  4622. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4623. In TLSContext::addClientKeyFile() and addTrustedCACertFile(),
  4624. handle excepion inside these functions.
  4625. * src/LibgnutlsTLSContext.cc
  4626. * src/LibgnutlsTLSContext.h
  4627. * src/LibsslTLSContext.cc
  4628. * src/LibsslTLSContext.h
  4629. * src/MultiUrlRequestInfo.cc
  4630. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4631. Added comment
  4632. * src/RequestGroup.cc
  4633. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4634. In CookieStorage::load() and saveNsFormat(), handle exception
  4635. inside the functions. When saving Cookies, first write temporary
  4636. file and after successful writes, then renames it to final
  4637. destination.
  4638. * src/CookieStorage.cc
  4639. * src/CookieStorage.h
  4640. * src/MultiUrlRequestInfo.cc
  4641. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4642. The default value of --dir option is the absolute path to the
  4643. current directory. If getcwd() is failed, then it is ".", which is
  4644. the same value with old implementation. This change is necessary
  4645. because after daemon() call, the current working directory is
  4646. changed to /.
  4647. * src/File.cc
  4648. * src/File.h
  4649. * src/OptionHandlerFactory.cc
  4650. * src/option_processing.cc
  4651. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4652. Call daemon() with arguments(0,0), which means daemon() changes
  4653. current working directory to / and redirects stdin, stdout and
  4654. stderr to /dev/null.
  4655. * src/option_processing.cc
  4656. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4657. Small performance optimizations.
  4658. * src/RequestGroupMan.cc
  4659. 2009-06-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4660. Added _xmlRpc member variable to RequestGroupMan to reduce the
  4661. number of call Option::getAsBool(PREF_ENABLE_XML_RPC)
  4662. * src/RequestGroupMan.cc
  4663. * src/RequestGroupMan.h
  4664. 2009-06-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4665. Call setStatus(STATUS_ONESHOT_REALTIME) from constructor. Call
  4666. setNoWiat(true) if newly created command calls
  4667. setStatus(STATUS_ONESHOT_REALTIME) from its constructor.
  4668. * src/HttpListenCommand.cc
  4669. * src/HttpServerBodyCommand.cc
  4670. * src/HttpServerCommand.cc
  4671. * src/HttpServerResponseCommand.cc
  4672. * src/InitiateConnectionCommand.cc
  4673. * src/RequestGroup.cc
  4674. * src/StreamFileAllocationEntry.cc
  4675. 2009-06-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4676. Removed include vector
  4677. * src/BtRegistry.h
  4678. 2009-06-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4679. Rewritten BtRegistry
  4680. * src/BtRegistry.cc
  4681. * src/BtRegistry.h
  4682. * src/BtSetup.cc
  4683. * src/ConsoleStatCalc.cc
  4684. * src/PeerInteractionCommand.cc
  4685. * src/PeerReceiveHandshakeCommand.cc
  4686. * src/ReceiverMSEHandshakeCommand.cc
  4687. * src/RequestGroup.cc
  4688. * src/XmlRpcMethodImpl.cc
  4689. * test/BtRegistryTest.cc
  4690. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4691. Used array_ptr for savedInfoHash, savedBitfield and pieceBitfield.
  4692. * src/DefaultBtProgressInfoFile.cc
  4693. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4694. Throw an exception if position is less than 0.
  4695. * src/XmlRpcMethodImpl.cc
  4696. * test/XmlRpcMethodTest.cc
  4697. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4698. Use writeFilePath() in ConsoleStatCalc.cc
  4699. * src/ConsoleStatCalc.cc
  4700. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4701. Receive the return value as const reference from
  4702. DownloadContext::getFileEntries().
  4703. * src/DefaultPieceStorage.cc
  4704. * src/RequestGroupMan.cc
  4705. * src/XmlRpcMethodImpl.cc
  4706. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4707. DownloadContext now has _fileEntries so that
  4708. DownloadContext::getFileEntries() can returns its const reference.
  4709. * src/DefaultBtContext.cc
  4710. * src/DefaultBtContext.h
  4711. * src/DownloadContext.cc
  4712. * src/DownloadContext.h
  4713. * src/SingleFileDownloadContext.cc
  4714. * src/SingleFileDownloadContext.h
  4715. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4716. Moved getFirstRequestedFileEntry(), countRequestedFileEntry() and
  4717. writeFilePath() function template from RequestGroupMan.cc to
  4718. FileEntry.h
  4719. * src/FileEntry.h
  4720. * src/RequestGroupMan.cc
  4721. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4722. Documented 'position' parameter is starting from 0 in man page.
  4723. * doc/aria2c.1.txt
  4724. 2009-06-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4725. Updated doc.
  4726. * src/MSEHandshake.cc
  4727. 2009-06-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4728. Removed _acceptFeatures and its accessor functions from
  4729. RequestGroup since they are not used practically.
  4730. * src/HttpRequestCommand.cc
  4731. * src/RequestGroup.cc
  4732. * src/RequestGroup.h
  4733. 2009-06-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4734. Removed member _maxTries from RequestGroup class to avoid
  4735. duplicate option value. Those classes who refer this variable
  4736. should use option value of PREF_MAX_TRIES directly.
  4737. * src/AbstractCommand.cc
  4738. * src/RequestGroup.cc
  4739. * src/RequestGroup.h
  4740. * src/TrackerWatcherCommand.cc
  4741. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4742. * Release 1.4.1
  4743. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4744. Fixed compiler warnings on netbsd
  4745. * src/DHTConnectionImpl.cc
  4746. * src/PeerListenCommand.cc
  4747. * src/PeerSessionResource.cc
  4748. * src/SegmentMan.cc
  4749. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4750. Updated Ukrainian translation. Thanks to all translators.
  4751. * po/uk.po
  4752. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4753. Bump up version number to 1.4.1.
  4754. * configure.ac
  4755. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4756. Added unit tests for strjoin, strconcat and strappend.
  4757. * test/a2functionalTest.cc
  4758. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4759. Rewritten strconcat and strappend using operator+ instead of
  4760. append().
  4761. * src/a2functional.h
  4762. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4763. Compile bencode.cc and BencodeTest.cc only if BitTorrent support
  4764. is enabled.
  4765. * src/Makefile.am
  4766. * test/Makefile.am
  4767. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4768. Added countSeeder() function which counts seeder in the given
  4769. iterator range. Use it in ConsoleStatCalc and XmlRpcMethodImpl.
  4770. * src/ConsoleStatCalc.cc
  4771. * src/Peer.h
  4772. * src/XmlRpcMethodImpl.cc
  4773. * test/PeerTest.cc
  4774. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4775. Documented missing seeder in getPeers xml-rpc method.
  4776. Documented uploadLength and numSeeders.
  4777. * doc/aria2c.1.txt
  4778. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4779. Added uploadLength and numSeeders to the response of tellStatus
  4780. xml-rpc method. Assert that PeerStorage instance is not null
  4781. instead of checking if statement. It should be non-null in this
  4782. context.
  4783. * src/XmlRpcMethodImpl.cc
  4784. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4785. Use htmlEscape instead of xmlEscape. Removed static function xmlEscape.
  4786. * src/XmlRpcResponse.cc
  4787. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4788. Avoid intermediate object during string concatenation.
  4789. * src/HttpRequest.cc
  4790. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4791. Added strjoin function template. Use it in pathJoin()
  4792. * src/Util.h
  4793. * src/a2functional.h
  4794. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4795. Avoid intermediate object during string concatenation. Replaced
  4796. post-increment unary operator with pre-increment one in for loop.
  4797. * src/AdaptiveURISelector.cc
  4798. * src/AnnounceList.cc
  4799. * src/AuthConfig.h
  4800. * src/BtBitfieldMessage.cc
  4801. * src/BtExtendedMessage.cc
  4802. * src/BtHandshakeMessage.cc
  4803. * src/BtPieceMessage.cc
  4804. * src/BtPortMessage.cc
  4805. * src/Cookie.cc
  4806. * src/DHTAnnouncePeerMessage.cc
  4807. * src/DHTAutoSaveCommand.cc
  4808. * src/DHTGetPeersReplyMessage.cc
  4809. * src/DHTNode.cc
  4810. * src/DHTQueryMessage.cc
  4811. * src/DHTResponseMessage.cc
  4812. * src/DHTUnknownMessage.cc
  4813. * src/DefaultBtAnnounce.cc
  4814. * src/DefaultBtContext.cc
  4815. * src/DefaultBtInteractive.cc
  4816. * src/DefaultBtProgressInfoFile.cc
  4817. * src/DefaultPeerStorage.cc
  4818. * src/DownloadEngine.cc
  4819. * src/FeatureConfig.cc
  4820. * src/File.cc
  4821. * src/FtpConnection.cc
  4822. * src/FtpNegotiationCommand.cc
  4823. * src/HandshakeExtensionMessage.cc
  4824. * src/HttpConnection.cc
  4825. * src/HttpRequest.cc
  4826. * src/HttpResponseCommand.cc
  4827. * src/HttpServer.cc
  4828. * src/IndexBtMessage.cc
  4829. * src/Metalink2RequestGroup.cc
  4830. * src/OptionHandlerImpl.h
  4831. * src/PStringBuildVisitor.cc
  4832. * src/Peer.cc
  4833. * src/PeerListenCommand.cc
  4834. * src/Piece.cc
  4835. * src/RangeBtMessage.cc
  4836. * src/Request.cc
  4837. * src/Request.h
  4838. * src/RequestGroup.cc
  4839. * src/RequestGroupMan.cc
  4840. * src/ServerStat.cc
  4841. * src/ServerStatMan.cc
  4842. * src/UTPexExtensionMessage.cc
  4843. * src/Util.cc
  4844. * src/a2functional.h
  4845. * src/download_helper.cc
  4846. * src/messageDigest.cc
  4847. 2009-06-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4848. Unchoke a peer randomly at first and second choke round in seed
  4849. state.
  4850. * src/BtSeederStateChoke.cc
  4851. 2009-06-02 Ross Smith II <aria2spam at smithii dot com>
  4852. Added (sock_t) to quiet compiler warnings in MinGW
  4853. * src/SocketCore.cc
  4854. * src/SocketCore.h
  4855. 2009-06-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4856. Added missing #ifdef ENABLE_ASYNC_DNS guard.
  4857. * src/EpollEventPoll.h
  4858. 2009-06-01 Ross Smith II <aria2spam at smithii dot com>
  4859. Added fork() emulation using CreateProcess() in MinGW
  4860. * src/RequestGroupMan.cc
  4861. 2009-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4862. * Release 1.4.0
  4863. 2009-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4864. Added utf8.torrent to EXTRA_DIST
  4865. * test/Makefile.am
  4866. 2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4867. Fixed docs of aria2.addMetalink xml-rpc method.
  4868. * doc/aria2c.1.txt
  4869. 2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4870. Added Slovak translation. Updated Ukrainian and Brazilian
  4871. Portuguese translation. Thanks to all translators.
  4872. * po/sk.po
  4873. * po/uk.po
  4874. * po/pt_BR.po
  4875. * po/LINGUAS
  4876. 2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4877. Added test case for XmlRpcProcessor to fail to parse malformed
  4878. document.
  4879. * test/XmlRpcRequestProcessorTest.cc
  4880. 2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4881. Removed *.gmo files in po because they are generated on 'make
  4882. dist'
  4883. * po/*.gmo
  4884. 2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4885. Documented max-concurrent-downloads of changeGlobalOption method
  4886. in man page.
  4887. * doc/aria2c.1.txt
  4888. 2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4889. Added max-concurrent-downloads option to changeGlobalOption
  4890. xml-rpc method. Rewritten loop conditional in
  4891. RequestGroupMan::fillRequestGroupFromReserver().
  4892. * src/RequestGroupMan.cc
  4893. * src/RequestGroupMan.h
  4894. * src/XmlRpcMethod.cc
  4895. * src/XmlRpcMethodImpl.cc
  4896. 2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4897. Documented position parameter in man page.
  4898. * doc/aria2c.1.txt
  4899. 2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4900. Added 'position' parameter to addUri, addTorrent and addMetalink
  4901. xml-rpc method.
  4902. * src/RequestGroupMan.cc
  4903. * src/RequestGroupMan.h
  4904. * src/XmlRpcMethodImpl.cc
  4905. * test/XmlRpcMethodTest.cc
  4906. 2009-05-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4907. Removed Peer.cc from compile source list when --disable-bittorrent
  4908. is specified. Added #ifdef ENABLE_BITTORRENT guard to methods that
  4909. takes Peer.
  4910. * src/DefaultPieceStorage.cc
  4911. * src/DefaultPieceStorage.h
  4912. * src/Makefile.am
  4913. * src/PieceStorage.h
  4914. * src/UnknownLengthPieceStorage.cc
  4915. * src/UnknownLengthPieceStorage.h
  4916. * test/MockPieceStorage.h
  4917. 2009-05-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4918. Implemented getter methods in header files to give them more
  4919. chance of optimization.
  4920. Return const reference for SharadHandle if possible.
  4921. * src/AbstractAuthResolver.cc
  4922. * src/AbstractAuthResolver.h
  4923. * src/AbstractBtMessage.cc
  4924. * src/AbstractBtMessage.h
  4925. * src/AbstractSingleDiskAdaptor.cc
  4926. * src/AbstractSingleDiskAdaptor.h
  4927. * src/AsyncNameResolver.cc
  4928. * src/AsyncNameResolver.h
  4929. * src/BNode.cc
  4930. * src/BNode.h
  4931. * src/BitfieldMan.cc
  4932. * src/BitfieldMan.h
  4933. * src/BtAbortOutstandingRequestEvent.h
  4934. * src/BtExtendedMessage.cc
  4935. * src/BtExtendedMessage.h
  4936. * src/BtSeederStateChoke.cc
  4937. * src/BtSeederStateChoke.h
  4938. * src/Cookie.cc
  4939. * src/Cookie.h
  4940. * src/DHTBucket.cc
  4941. * src/DHTBucket.h
  4942. * src/DHTConnectionImpl.cc
  4943. * src/DHTConnectionImpl.h
  4944. * src/DHTFindNodeReplyMessage.cc
  4945. * src/DHTFindNodeReplyMessage.h
  4946. * src/DHTGetPeersReplyMessage.cc
  4947. * src/DHTGetPeersReplyMessage.h
  4948. * src/DHTInteractionCommand.cc
  4949. * src/DHTMessage.cc
  4950. * src/DHTMessage.h
  4951. * src/DHTMessageDispatcherImpl.cc
  4952. * src/DHTMessageEntry.cc
  4953. * src/DHTMessageReceiver.cc
  4954. * src/DHTMessageReceiver.h
  4955. * src/DHTMessageTrackerEntry.cc
  4956. * src/DHTMessageTrackerEntry.h
  4957. * src/DHTPeerAnnounceEntry.cc
  4958. * src/DHTPeerAnnounceEntry.h
  4959. * src/DHTPeerLookupTask.cc
  4960. * src/DHTPeerLookupTask.h
  4961. * src/DHTRoutingTableDeserializer.cc
  4962. * src/DHTRoutingTableDeserializer.h
  4963. * src/DefaultBtAnnounce.cc
  4964. * src/DefaultBtAnnounce.h
  4965. * src/DefaultBtMessageDispatcher.cc
  4966. * src/DefaultBtMessageDispatcher.h
  4967. * src/DefaultBtRequestFactory.cc
  4968. * src/DefaultBtRequestFactory.h
  4969. * src/DiskAdaptor.cc
  4970. * src/DiskAdaptor.h
  4971. * src/DownloadContext.cc
  4972. * src/DownloadContext.h
  4973. * src/DownloadEngine.cc
  4974. * src/DownloadEngine.h
  4975. * src/EpollEventPoll.cc
  4976. * src/EpollEventPoll.h
  4977. * src/FtpConnection.cc
  4978. * src/FtpConnection.h
  4979. * src/HttpConnection.cc
  4980. * src/HttpConnection.h
  4981. * src/HttpHeader.cc
  4982. * src/HttpHeader.h
  4983. * src/HttpRequest.cc
  4984. * src/HttpRequest.h
  4985. * src/HttpResponse.cc
  4986. * src/HttpResponse.h
  4987. * src/LibsslTLSContext.cc
  4988. * src/LibsslTLSContext.h
  4989. * src/MSEHandshake.cc
  4990. * src/MSEHandshake.h
  4991. * src/MetalinkEntry.cc
  4992. * src/MetalinkEntry.h
  4993. * src/MetalinkParserController.cc
  4994. * src/MetalinkParserController.h
  4995. * src/MetalinkParserStateMachine.cc
  4996. * src/MetalinkParserStateMachine.h
  4997. * src/MultiDiskAdaptor.cc
  4998. * src/MultiDiskAdaptor.h
  4999. * src/NetrcAuthResolver.cc
  5000. * src/NetrcAuthResolver.h
  5001. * src/Peer.cc
  5002. * src/Peer.h
  5003. * src/PeerSessionResource.cc
  5004. * src/PeerSessionResource.h
  5005. * src/Piece.cc
  5006. * src/Piece.h
  5007. * src/PieceStatMan.cc
  5008. * src/PieceStatMan.h
  5009. * src/Request.cc
  5010. * src/Request.h
  5011. * src/RequestGroup.cc
  5012. * src/RequestGroup.h
  5013. * src/RequestGroupMan.cc
  5014. * src/RequestGroupMan.h
  5015. * src/RequestSlot.cc
  5016. * src/RequestSlot.h
  5017. * src/SegmentMan.cc
  5018. * src/SegmentMan.h
  5019. * src/SelectEventPoll.cc
  5020. * src/SelectEventPoll.h
  5021. * src/ServerStat.cc
  5022. * src/ServerStat.h
  5023. * src/Signature.cc
  5024. * src/Signature.h
  5025. * src/URIResult.cc
  5026. * src/URIResult.h
  5027. * src/UTPexExtensionMessage.cc
  5028. * src/UTPexExtensionMessage.h
  5029. 2009-05-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5030. Fixed compile error without BitTorrent and Metalink support.
  5031. * src/XmlRpcMethod.cc
  5032. * src/XmlRpcMethodFactory.cc
  5033. * src/XmlRpcMethodImpl.cc
  5034. * src/XmlRpcMethodImpl.h
  5035. * test/XmlRpcMethodTest.cc
  5036. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5037. Rewritten the help message for --allow-overwrite option.
  5038. * doc/aria2c.1.txt
  5039. * src/usage_text.h
  5040. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5041. Fixed typo
  5042. * doc/aria2c.1.txt
  5043. * src/usage_text.h
  5044. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5045. Updated README for 1.4.0 release. Use new table syntax of
  5046. asciidoc.
  5047. * README
  5048. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5049. Documented --xml-rpc-max-request-size option in man page.
  5050. * doc/aria2c.1.txt
  5051. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5052. Moved C_* constants from BtContext to DefaultBtContext.
  5053. * src/BtContext.cc: Removed.
  5054. * src/BtContext.h
  5055. * src/DefaultBtContext.cc
  5056. * src/DefaultBtContext.h
  5057. * src/Makefile.am
  5058. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5059. Use name.utf-8 and path.utf-8 key in higher priority than name and
  5060. path key respectively when persing .torrent file.
  5061. * src/BtContext.cc
  5062. * src/BtContext.h
  5063. * src/DefaultBtContext.cc
  5064. * test/DefaultBtContextTest.cc
  5065. * test/utf8.torrent
  5066. 2009-05-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5067. Added --xml-rpc-max-request-size option to limit the size of
  5068. XML-RPC request.
  5069. 2009-05-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5070. Documented XML-RPC API in man page.
  5071. * doc/aria2c.1.txt
  5072. 2009-05-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5073. Fixed g++-4.4 compiler warning: dereferencing type-punned pointer
  5074. will break strict-aliasing rules
  5075. * src/PeerConnection.cc
  5076. * test/DHTRoutingTableSerializerTest.cc
  5077. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5078. Removed PKG_CONFIG variable in sqlite3.m4, which conflicts the
  5079. variable in pkg.m4. Use PKG_CHECK_MODULES instead of hand-crafted
  5080. scripts. Renamed SQLITE3_CPPFLAGS as SQLITE3_CFLAGS since
  5081. PKG_CHECK_MODULES macro uses latter name.
  5082. * m4/sqlite3.m4
  5083. * src/Makefile.am
  5084. * test/Makefile.am
  5085. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5086. Fixed typo
  5087. * configure.ac
  5088. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5089. Since upcoming libgnutls 2.8 doesn't have libgnutls-config, Check
  5090. presence of libgnutls using pkg-config first. If it fails, fall
  5091. back to old macro libgnutls.m4.
  5092. * configure.ac
  5093. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5094. Use s itself instead of !s.bad()
  5095. * src/CookieStorage.cc
  5096. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5097. Documented --on-download-* option and --save-cookies option in man
  5098. page.
  5099. * doc/aria2c.1.txt
  5100. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5101. Set possible values for --load-cookie option to "/path/to/file".
  5102. * src/OptionHandlerFactory.cc
  5103. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5104. Added --save-cookies option.
  5105. * src/Cookie.cc
  5106. * src/Cookie.h
  5107. * src/CookieStorage.cc
  5108. * src/CookieStorage.h
  5109. * src/MultiUrlRequestInfo.cc
  5110. * src/OptionHandlerFactory.cc
  5111. * src/prefs.cc
  5112. * src/prefs.h
  5113. * src/usage_text.h
  5114. * test/CookieStorageTest.cc
  5115. * test/CookieTest.cc
  5116. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5117. Removed tellAll XML-RPC command because its reponse tends to be
  5118. big if stopped/waiting downloads pile up.
  5119. * src/XmlRpcMethodFactory.cc
  5120. * src/XmlRpcMethodImpl.cc
  5121. * src/XmlRpcMethodImpl.h
  5122. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5123. Added the ability to execute command when download starts and
  5124. stops. You can also specify command for particular cases such as
  5125. complete/error download. Added --on-download-start,
  5126. --on-download-stop, --on-download-complete and --on-download-error
  5127. option.
  5128. * src/OptionHandlerFactory.cc
  5129. * src/RequestGroupMan.cc
  5130. * src/prefs.cc
  5131. * src/prefs.h
  5132. * src/usage_text.h
  5133. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5134. Fixed test error
  5135. * test/BencodeTest.cc
  5136. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5137. Added unit tests.
  5138. * test/XmlRpcMethodTest.cc
  5139. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5140. Made exception message more verbose.
  5141. * src/bencode.cc
  5142. 2009-05-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5143. Abbreviated KiB/s to KiBs and its precision decreased to 1 to save
  5144. space in console readout. Also they are now shown in MiB/s if
  5145. speed > 1024KiB/s.
  5146. * src/ConsoleStatCalc.cc
  5147. 2009-05-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5148. Added SEED to console output, which represents the number of
  5149. seeders currently the client is connecting to.
  5150. * src/ConsoleStatCalc.cc
  5151. * src/ConsoleStatCalc.h
  5152. * src/DownloadEngine.cc
  5153. * src/NullStatCalc.h
  5154. * src/StatCalc.h
  5155. 2009-05-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5156. Added source filename(__FILE__) and line number(__LINE__) to
  5157. exception message.
  5158. * src/AbstractCommand.cc
  5159. * src/AbstractDiskWriter.cc
  5160. * src/AbstractProxyResponseCommand.cc
  5161. * src/BDE.h
  5162. * src/BtAllowedFastMessage.cc
  5163. * src/BtHandshakeMessageValidator.h
  5164. * src/BtHaveAllMessage.cc
  5165. * src/BtHaveNoneMessage.cc
  5166. * src/BtPieceMessage.cc
  5167. * src/BtRejectMessage.cc
  5168. * src/ChunkedDecoder.cc
  5169. * src/CookieStorage.cc
  5170. * src/DHTAnnouncePeerMessage.cc
  5171. * src/DHTEntryPointNameResolveCommand.cc
  5172. * src/DHTMessageFactoryImpl.cc
  5173. * src/DHTMessageTracker.cc
  5174. * src/DHTRoutingTableDeserializer.cc
  5175. * src/DHTRoutingTableSerializer.cc
  5176. * src/DHTSetup.cc
  5177. * src/DHTTokenTracker.cc
  5178. * src/DefaultBtAnnounce.cc
  5179. * src/DefaultBtContext.cc
  5180. * src/DefaultBtInteractive.cc
  5181. * src/DefaultBtMessageFactory.cc
  5182. * src/DefaultBtProgressInfoFile.cc
  5183. * src/DefaultExtensionMessageFactory.cc
  5184. * src/DlAbortEx.h
  5185. * src/DlRetryEx.h
  5186. * src/DownloadCommand.cc
  5187. * src/DownloadEngineFactory.cc
  5188. * src/DownloadFailureException.h
  5189. * src/Exception.cc
  5190. * src/Exception.h
  5191. * src/ExpatMetalinkProcessor.cc
  5192. * src/ExpatXmlRpcRequestProcessor.cc
  5193. * src/FallocFileAllocationIterator.cc
  5194. * src/FatalException.h
  5195. * src/FtpConnection.cc
  5196. * src/FtpFinishDownloadCommand.cc
  5197. * src/FtpInitiateConnectionCommand.cc
  5198. * src/FtpNegotiationCommand.cc
  5199. * src/GZipDecoder.cc
  5200. * src/HandshakeExtensionMessage.cc
  5201. * src/HttpConnection.cc
  5202. * src/HttpHeaderProcessor.cc
  5203. * src/HttpInitiateConnectionCommand.cc
  5204. * src/HttpResponse.cc
  5205. * src/HttpResponseCommand.cc
  5206. * src/HttpServer.cc
  5207. * src/HttpSkipResponseCommand.cc
  5208. * src/InitiateConnectionCommandFactory.cc
  5209. * src/IteratableChunkChecksumValidator.cc
  5210. * src/LibgcryptARC4Context.h
  5211. * src/LibgcryptARC4Decryptor.h
  5212. * src/LibgcryptARC4Encryptor.h
  5213. * src/LibgcryptDHKeyExchange.h
  5214. * src/LibgnutlsTLSContext.cc
  5215. * src/LibsslARC4Context.h
  5216. * src/LibsslARC4Decryptor.h
  5217. * src/LibsslARC4Encryptor.h
  5218. * src/LibsslDHKeyExchange.h
  5219. * src/LibsslTLSContext.cc
  5220. * src/MSEHandshake.cc
  5221. * src/MessageDigestHelper.cc
  5222. * src/MetalinkHelper.cc
  5223. * src/MultiDiskAdaptor.cc
  5224. * src/NameMatchOptionHandler.h
  5225. * src/NameResolver.cc
  5226. * src/Netrc.cc
  5227. * src/NsCookieParser.cc
  5228. * src/OptionHandlerException.cc
  5229. * src/OptionHandlerException.h
  5230. * src/OptionHandlerImpl.h
  5231. * src/OptionParser.cc
  5232. * src/ParameterizedStringParser.cc
  5233. * src/PeerAbstractCommand.cc
  5234. * src/PeerConnection.cc
  5235. * src/PeerMessageUtil.cc
  5236. * src/PeerReceiveHandshakeCommand.cc
  5237. * src/Platform.cc
  5238. * src/ReceiverMSEHandshakeCommand.cc
  5239. * src/RecoverableException.h
  5240. * src/RequestGroup.cc
  5241. * src/SimpleLogger.cc
  5242. * src/SocketCore.cc
  5243. * src/Sqlite3MozCookieParser.cc
  5244. * src/UTPexExtensionMessage.cc
  5245. * src/Util.cc
  5246. * src/XML2SAXMetalinkProcessor.cc
  5247. * src/Xml2XmlRpcRequestProcessor.cc
  5248. * src/XmlRpcMethodImpl.cc
  5249. * src/bencode.cc
  5250. * src/download_helper.cc
  5251. * src/messageDigest.h
  5252. * test/ExceptionTest.cc
  5253. * test/TestUtil.cc
  5254. 2009-05-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5255. Bump up version number to 1.4.0
  5256. * configure.ac
  5257. 2009-05-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5258. Added 2files.metalink to EXTRA_DIST
  5259. * test/Makefile.am
  5260. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5261. Added missing 2files.metalink
  5262. * test/2files.metalink
  5263. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5264. Show "[MEMORY]" prefix before filename in download summary if it
  5265. is downloaded into memory.
  5266. * src/DownloadResult.h
  5267. * src/RequestGroup.cc
  5268. * src/RequestGroupMan.cc
  5269. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5270. Defined MSG_CANNOT_PARSE_XML_RPC_REQUEST
  5271. * src/ExpatXmlRpcRequestProcessor.cc
  5272. * src/Xml2XmlRpcRequestProcessor.cc
  5273. * src/message.h
  5274. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5275. Defined const BDEs to avoid duplicate instantiation.
  5276. Defined MSG_GID_NOT_PROVIDED.
  5277. * src/XmlRpcMethodImpl.cc
  5278. * src/message.h
  5279. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5280. Code cleanup
  5281. * src/Xml2XmlRpcRequestProcessor.cc
  5282. * src/Xml2XmlRpcRequestProcessor.h
  5283. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5284. Defined ENABLE_XML_RPC
  5285. * configure.ac
  5286. * configure
  5287. * config.h.in
  5288. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5289. Added ExpatXmlRpcRequestProcessor
  5290. * src/ExpatXmlRpcRequestProcessor.cc
  5291. * src/ExpatXmlRpcRequestProcessor.h
  5292. * src/Makefile.am
  5293. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5294. Added tests for addTorrent and addMetalink command.
  5295. * test/TestUtil.cc
  5296. * test/TestUtil.h
  5297. * test/XmlRpcMethodTest.cc
  5298. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5299. Corrected the description of --file-allocation option.
  5300. * doc/aria2c.1.txt
  5301. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5302. Added tellAll command.
  5303. * src/XmlRpcMethodFactory.cc
  5304. * src/XmlRpcMethodImpl.cc
  5305. * src/XmlRpcMethodImpl.h
  5306. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5307. Use gatherProgress() in TellActiveXmlRpcMethod::process().
  5308. * src/XmlRpcMethodImpl.cc
  5309. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5310. Added changeGlobalOption command. Currently,
  5311. max-overall-download-limit and max-overall-upload-limit option are
  5312. available.
  5313. * src/RequestGroupMan.h
  5314. * src/XmlRpcMethod.cc
  5315. * src/XmlRpcMethod.h
  5316. * src/XmlRpcMethodFactory.cc
  5317. * src/XmlRpcMethodImpl.cc
  5318. * src/XmlRpcMethodImpl.h
  5319. * test/XmlRpcMethodTest.cc
  5320. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5321. Added changeOption command. Currently, max-download-limit,
  5322. max-upload-limit option are available in this command.
  5323. * src/RequestGroup.h
  5324. * src/XmlRpcMethod.cc
  5325. * src/XmlRpcMethod.h
  5326. * src/XmlRpcMethodFactory.cc
  5327. * src/XmlRpcMethodImpl.cc
  5328. * src/XmlRpcMethodImpl.h
  5329. * test/XmlRpcMethodTest.cc
  5330. 2009-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5331. Added purgeDownloadResult command.
  5332. * src/RequestGroupMan.cc
  5333. * src/RequestGroupMan.h
  5334. * src/XmlRpcMethodFactory.cc
  5335. * src/XmlRpcMethodImpl.cc
  5336. * src/XmlRpcMethodImpl.h
  5337. 2009-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5338. Refactored.
  5339. * src/XmlRpcMethod.cc
  5340. 2009-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5341. Added XmlRpcResponse class. XmlRpcMethod::execute() now returns
  5342. XmlRpcResponse.
  5343. * src/HttpServerBodyCommand.cc
  5344. * src/Makefile.am
  5345. * src/XmlRpcMethod.cc
  5346. * src/XmlRpcMethod.h
  5347. * src/XmlRpcMethodImpl.cc
  5348. * src/XmlRpcResponse.cc
  5349. * src/XmlRpcResponse.h
  5350. * test/XmlRpcMethodTest.cc
  5351. 2009-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5352. In XML-RPC option struct, header and index-out option can take
  5353. array as value.
  5354. * src/XmlRpcMethod.cc
  5355. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5356. Removed unused option member from PeerConnection.
  5357. * src/InitiatorMSEHandshakeCommand.cc
  5358. * src/PeerConnection.cc
  5359. * src/PeerConnection.h
  5360. * src/PeerInteractionCommand.cc
  5361. * src/PeerReceiveHandshakeCommand.cc
  5362. * src/ReceiverMSEHandshakeCommand.cc
  5363. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5364. Added "seeder" key to getPeers response.
  5365. * src/XmlRpcMethodImpl.cc
  5366. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5367. Added addMetalink XML-RPC command.
  5368. * src/XmlRpcMethodFactory.cc
  5369. * src/XmlRpcMethodImpl.cc
  5370. * src/XmlRpcMethodImpl.h
  5371. * src/download_helper.cc
  5372. * src/download_helper.h
  5373. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5374. Fixed the bug that POU peers are never choked in seeding.
  5375. * src/BtSeederStateChoke.cc
  5376. * src/BtSeederStateChoke.h
  5377. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5378. Added web-seeding URI handling in addTorrent command.
  5379. * src/XmlRpcMethodImpl.cc
  5380. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5381. Added "length" key to getFiles response.
  5382. * src/XmlRpcMethodImpl.cc
  5383. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5384. Moved --no-netrc option from ftp option section to http/ftp option
  5385. section.
  5386. * doc/aria2c.1.txt
  5387. * src/OptionHandlerFactory.cc
  5388. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5389. Removed garbage "\" character before '
  5390. * doc/aria2c.1.txt
  5391. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5392. Removed garbage "\" character before http.
  5393. * doc/aria2c.1.txt
  5394. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5395. Documented additional options that can be specified in -i list.
  5396. Documented --enable-xml-rpc, --xml-rpc-listen-port, --xml-rpc-user
  5397. and --xml-rpc-passwd. Removed --enable-http-server and
  5398. --http-server-listen-port.
  5399. * doc/aria2c.1.txt
  5400. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5401. Added "downloadSpeed" and uploadSpeed" key in getPeers response.
  5402. * src/DefaultPeerStorage.cc
  5403. * src/DefaultPeerStorage.h
  5404. * src/PeerStorage.h
  5405. * src/XmlRpcMethodImpl.cc
  5406. * test/MockPeerStorage.h
  5407. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5408. Put a call to Socket::isReadable() in try block.
  5409. * src/HttpServerBodyCommand.cc
  5410. * src/HttpServerCommand.cc
  5411. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5412. Fixed segmentation fault error. SocketBuffer::sendResponse() may throw
  5413. exception , so it is now in try block.
  5414. * src/HttpServerResponseCommand.cc
  5415. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5416. Added "amChoking" and "peerChoking" key in getPeers response.
  5417. * src/XmlRpcMethodImpl.cc
  5418. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5419. Added test case for zero-length filter.
  5420. * test/BitfieldManTest.cc
  5421. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5422. getFiles command now returns file data for finished/stopped
  5423. downloads.
  5424. * src/XmlRpcMethodImpl.cc
  5425. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5426. DownloadResult now has the list of FileEntry. The download
  5427. summary displays the path of first selected file and the number of
  5428. remaining files for multi-file torrent.
  5429. * src/DownloadResult.h
  5430. * src/RequestGroup.cc
  5431. * src/RequestGroupMan.cc
  5432. * test/RequestGroupTest.cc
  5433. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5434. Fixed segmentation fault error when no file is selected in
  5435. multi-file torrent.
  5436. * src/BitfieldMan.cc
  5437. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5438. Escaped <,>,& character in XML-RPC response.
  5439. * src/XmlRpcMethod.cc
  5440. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5441. Throw DlAbortEx instead of FatalException during parsing options
  5442. because we don't want for aria2 to quit when bad option is passed
  5443. via XML-RPC.
  5444. * src/OptionHandlerException.cc
  5445. * src/OptionHandlerException.h
  5446. * src/OptionHandlerImpl.h
  5447. * src/OptionParser.cc
  5448. * src/OptionParser.h
  5449. * src/PStringSegment.cc
  5450. * src/ParameterizedStringParser.cc
  5451. * src/download_helper.cc
  5452. * test/ParameterizedStringParserTest.cc
  5453. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5454. Selecting files are now done in
  5455. DefaultBtContext::setFileFileter().
  5456. PieceStorage::setFileFilter(), DiskAdaptor::addDownloadEntry()
  5457. functions are removed because they are no longer used. Creating
  5458. filter in BitfieldMan is done in new funtion
  5459. PieceStorage::setupFileFilter()
  5460. * src/BtContext.cc
  5461. * src/BtContext.h
  5462. * src/DefaultBtContext.cc
  5463. * src/DefaultBtContext.h
  5464. * src/DefaultPieceStorage.cc
  5465. * src/DefaultPieceStorage.h
  5466. * src/DiskAdaptor.cc
  5467. * src/DiskAdaptor.h
  5468. * src/PieceStorage.h
  5469. * src/RequestGroup.cc
  5470. * src/UnknownLengthPieceStorage.h
  5471. * src/XmlRpcMethodImpl.cc
  5472. * test/DefaultBtContextTest.cc
  5473. * test/MockBtContext.h
  5474. * test/MockPieceStorage.h
  5475. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5476. Fixed compile error on Mac OS X
  5477. * src/HttpServer.cc
  5478. * src/XmlRpcMethod.h
  5479. * src/XmlRpcMethodImpl.cc
  5480. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5481. Use std::binary_search instead of std::find
  5482. * src/DefaultPieceStorage.cc
  5483. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5484. Removed unnecessary BDE() call; leave them to implicit conversion.
  5485. * src/XmlRpcMethodImpl.cc
  5486. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5487. Return connections and gid in string
  5488. * src/XmlRpcMethodImpl.cc
  5489. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5490. Renamed addURI as addUri
  5491. * src/XmlRpcMethodFactory.cc
  5492. * src/XmlRpcMethodImpl.cc
  5493. * src/XmlRpcMethodImpl.h
  5494. * test/XmlRpcMethodTest.cc
  5495. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5496. Renamed addTorrentFile as addTorrent
  5497. * src/XmlRpcMethodFactory.cc
  5498. * src/XmlRpcMethodImpl.cc
  5499. * src/XmlRpcMethodImpl.h
  5500. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5501. The information for files, URIs, peers are removed from the
  5502. reponse of TellaActive, TellStatus command because they tend to be
  5503. large. Instead they can be retrieved by the dedicated commands:
  5504. getFiles, getUris and getPeers respectively.
  5505. * src/XmlRpcMethodFactory.cc
  5506. * src/XmlRpcMethodImpl.cc
  5507. * src/XmlRpcMethodImpl.h
  5508. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5509. Removed --max-overall-upload-limit and
  5510. --max-overall-download-limit option from listRequestOptions.
  5511. * src/download_helper.cc
  5512. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5513. Log incoming host in HttpListenCommand.
  5514. * src/HttpListenCommand.cc
  5515. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5516. Added BASIC authentication for XML-RPC. Added --xml-rpc-user and
  5517. --xml-rpc-passwd option.
  5518. * src/HttpServer.cc
  5519. * src/HttpServer.h
  5520. * src/HttpServerCommand.cc
  5521. * src/OptionHandlerFactory.cc
  5522. * src/prefs.cc
  5523. * src/prefs.h
  5524. * src/usage_text.h
  5525. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5526. Fixed the bug that SocketCore::isReadable() prevents aria2 from
  5527. processing 0 length request.
  5528. * src/HttpServerBodyCommand.cc
  5529. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5530. Removed --enable-http-server and --http-server-listen-port
  5531. options. Added --enable-xml-rpc and --xml-rpc-listen-port
  5532. instead. The original feature for --enable-http-server that
  5533. reports download progress in HTML was officially removed. Persist
  5534. XML-RPC connection if client supports keep-alive.
  5535. * src/DownloadEngineFactory.cc
  5536. * src/HttpServerCommand.cc
  5537. * src/HttpServerResponseCommand.cc
  5538. * src/Makefile.am
  5539. * src/Makefile.in
  5540. * src/OptionHandlerFactory.cc
  5541. * src/RequestGroupMan.cc
  5542. * src/main.cc
  5543. * src/option_processing.cc
  5544. * src/prefs.cc
  5545. * src/prefs.h
  5546. * src/usage_text.h
  5547. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5548. Added "uris" key to the response of tellStatus command. Added
  5549. "connections" key to the response of tellStatus and tellActive
  5550. command.
  5551. * src/XmlRpcMethodImpl.cc
  5552. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5553. Renamed TellActiveStatusXmlRpcMethod as TellActiveXmlRpcMethod.
  5554. Added TellStatusXmlRpcMethod. Remove command can now remove
  5555. waiting RequestGroup.
  5556. * src/RequestGroupMan.cc
  5557. * src/RequestGroupMan.h
  5558. * src/XmlRpcMethodFactory.cc
  5559. * src/XmlRpcMethodImpl.cc
  5560. * src/XmlRpcMethodImpl.h
  5561. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5562. Initialized _peerId
  5563. * src/Peer.cc
  5564. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5565. Return fault structure for error. FailXmlRpcMethod is renamed as
  5566. NoSuchMethodXmlRpcMethod. pieceLength and numPieces are returned
  5567. in non-torrent download. Return single param value.
  5568. * src/XmlRpcMethod.cc
  5569. * src/XmlRpcMethodFactory.cc
  5570. * src/XmlRpcMethodImpl.cc
  5571. * src/XmlRpcMethodImpl.h
  5572. * test/XmlRpcMethodTest.cc
  5573. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5574. Set DownloadResult::IN_PROGRESS for downloads removed by xml-rpc
  5575. command.
  5576. * src/RequestGroup.cc
  5577. * src/RequestGroup.h
  5578. * src/RequestGroupMan.cc
  5579. * src/XmlRpcMethodImpl.cc
  5580. * test/RequestGroupTest.cc
  5581. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5582. Added more options that can be specified in -i list and xml-rpc
  5583. add* command.
  5584. * src/download_helper.h
  5585. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5586. The available options in -i list should be listed in
  5587. listRequestOptions().
  5588. * src/download_helper.cc
  5589. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5590. Added infoHash, pieceLength, numPieces value for tellActiveStatus
  5591. command.
  5592. * src/XmlRpcMethodImpl.cc
  5593. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5594. Now RequestGroup has its own copy of Option object. This will help
  5595. to give custom option for each RequestGroup.
  5596. addTorrentFile command now takes options.
  5597. * src/AbstractCommand.cc
  5598. * src/AbstractCommand.h
  5599. * src/AbstractProxyRequestCommand.cc
  5600. * src/ActivePeerConnectionCommand.cc
  5601. * src/ActivePeerConnectionCommand.h
  5602. * src/AdaptiveURISelector.cc
  5603. * src/BtCheckIntegrityEntry.cc
  5604. * src/BtDependency.cc
  5605. * src/BtDependency.h
  5606. * src/BtFileAllocationEntry.cc
  5607. * src/BtPostDownloadHandler.cc
  5608. * src/CheckIntegrityEntry.cc
  5609. * src/DownloadCommand.cc
  5610. * src/FtpDownloadCommand.cc
  5611. * src/FtpFinishDownloadCommand.cc
  5612. * src/FtpInitiateConnectionCommand.cc
  5613. * src/FtpNegotiationCommand.cc
  5614. * src/HttpInitiateConnectionCommand.cc
  5615. * src/HttpRequestCommand.cc
  5616. * src/HttpResponseCommand.cc
  5617. * src/HttpSkipResponseCommand.cc
  5618. * src/InitiateConnectionCommand.cc
  5619. * src/InitiateConnectionCommandFactory.cc
  5620. * src/InitiatorMSEHandshakeCommand.cc
  5621. * src/InitiatorMSEHandshakeCommand.h
  5622. * src/Metalink2RequestGroup.cc
  5623. * src/Metalink2RequestGroup.h
  5624. * src/MetalinkPostDownloadHandler.cc
  5625. * src/MultiUrlRequestInfo.cc
  5626. * src/MultiUrlRequestInfo.h
  5627. * src/PeerAbstractCommand.cc
  5628. * src/PeerInteractionCommand.cc
  5629. * src/PeerInteractionCommand.h
  5630. * src/PeerReceiveHandshakeCommand.cc
  5631. * src/PeerReceiveHandshakeCommand.h
  5632. * src/RequestGroup.cc
  5633. * src/RequestGroup.h
  5634. * src/TrackerWatcherCommand.cc
  5635. * src/TrackerWatcherCommand.h
  5636. * src/XmlRpcMethod.cc
  5637. * src/XmlRpcMethod.h
  5638. * src/XmlRpcMethodImpl.cc
  5639. * src/download_helper.cc
  5640. * src/download_helper.h
  5641. * src/main.cc
  5642. * test/BtDependencyTest.cc
  5643. * test/BtPostDownloadHandlerTest.cc
  5644. * test/DefaultBtMessageDispatcherTest.cc
  5645. * test/DownloadHandlerFactoryTest.cc
  5646. * test/DownloadHelperTest.cc
  5647. * test/Metalink2RequestGroupTest.cc
  5648. * test/MetalinkPostDownloadHandlerTest.cc
  5649. * test/RequestGroupManTest.cc
  5650. * test/RequestGroupTest.cc
  5651. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5652. Added tellActiveStatus xml-rpc command which reports download
  5653. status of active downloads.
  5654. * src/XmlRpcMethodFactory.cc
  5655. * src/XmlRpcMethodImpl.cc
  5656. * src/XmlRpcMethodImpl.h
  5657. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5658. Added addTorrentFile xml-rpc command which receives uploaded
  5659. torrent file and add download for it.
  5660. * src/RequestGroupMan.cc
  5661. * src/XmlRpcMethodFactory.cc
  5662. * src/XmlRpcMethodImpl.cc
  5663. * src/XmlRpcMethodImpl.h
  5664. * src/download_helper.cc
  5665. * src/download_helper.h
  5666. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5667. Added remove xml-rpc command which removes specified download.
  5668. There is a known issue: the removed unfinished downloads are
  5669. reported ERR when aria2 exits. They should be reported as INPR.
  5670. * src/RequestGroupMan.cc
  5671. * src/RequestGroupMan.h
  5672. * src/XmlRpcMethodFactory.cc
  5673. * src/XmlRpcMethodImpl.cc
  5674. * src/XmlRpcMethodImpl.h
  5675. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5676. If --enable-http-server is enabled, don't stop aria2 when all
  5677. download finished and don't quit when no files to download at
  5678. start up.
  5679. * src/RequestGroupMan.cc
  5680. * src/main.cc
  5681. * src/option_processing.cc
  5682. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5683. Added missing AM_CONDITIONAL
  5684. * configure.ac
  5685. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5686. Added xml-rpc functionality. Currently only addURI commad is
  5687. supported. To enable xml-rpc, run aria2 with
  5688. --enable-http-server. This option name is temporal and will be
  5689. changed. The feature that reports download progress in html format
  5690. is temporarily disabled.
  5691. * src/HttpServer.cc
  5692. * src/HttpServer.h
  5693. * src/HttpServerBodyCommand.cc
  5694. * src/HttpServerBodyCommand.h
  5695. * src/HttpServerCommand.cc
  5696. * src/HttpServerResponseCommand.cc
  5697. * src/Makefile.am
  5698. * src/OptionParser.cc
  5699. * src/OptionParser.h
  5700. * src/RequestGroupMan.cc
  5701. * src/RequestGroupMan.h
  5702. * src/XmlRpcMethod.cc
  5703. * src/XmlRpcMethod.h
  5704. * src/XmlRpcMethodFactory.cc
  5705. * src/XmlRpcMethodFactory.h
  5706. * src/XmlRpcMethodImpl.cc
  5707. * src/XmlRpcMethodImpl.h
  5708. * src/download_helper.cc
  5709. * src/download_helper.h
  5710. * test/Makefile.am
  5711. * test/XmlRpcMethodTest.cc
  5712. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5713. Added xml-rpc request parser. The supported value types are:
  5714. i4/int, string, double, struct, array, base64. Currently only
  5715. libxml2 version is provided.
  5716. * src/Xml2XmlRpcRequestProcessor.cc
  5717. * src/Xml2XmlRpcRequestProcessor.h
  5718. * src/XmlRpcElements.cc
  5719. * src/XmlRpcElements.h
  5720. * src/XmlRpcRequest.h
  5721. * src/XmlRpcRequestParserController.cc
  5722. * src/XmlRpcRequestParserController.h
  5723. * src/XmlRpcRequestParserState.h
  5724. * src/XmlRpcRequestParserStateImpl.cc
  5725. * src/XmlRpcRequestParserStateImpl.h
  5726. * src/XmlRpcRequestParserStateMachine.cc
  5727. * src/XmlRpcRequestParserStateMachine.h
  5728. * src/XmlRpcRequestProcessor.h
  5729. * test/XmlRpcRequestParserControllerTest.cc
  5730. * test/XmlRpcRequestProcessorTest.cc
  5731. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5732. * Release 1.3.3
  5733. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5734. Fixed compile error since r1202.
  5735. * src/ExpatMetalinkProcessor.cc
  5736. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5737. Updated Ukrainian, Russian and Simplified Chinese
  5738. translations. Thanks to all translators.
  5739. * po/ru.po
  5740. * po/uk.po
  5741. * po/zh_CN.po
  5742. 2009-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5743. Pass reference of Option object instead of pointer.
  5744. * src/download_helper.cc
  5745. * src/download_helper.h
  5746. * src/main.cc
  5747. * test/DownloadHelperTest.cc
  5748. 2009-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5749. Don't retrieve PREF_MAX_DOWNLOAD_LIMIT and PREF_MAX_UPLOAD_LIMIT
  5750. from option directly. Instead, get them from RequestGroup.
  5751. * src/ActivePeerConnectionCommand.cc
  5752. * src/ActivePeerConnectionCommand.h
  5753. * src/PeerReceiveHandshakeCommand.cc
  5754. * src/RequestGroup.h
  5755. 2009-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5756. Removed unused uploadLimitCheck and uploadLimit from
  5757. PeerAbstractCommand. Removed unused maxDownloadLimit from
  5758. PeerInteractionCommand.
  5759. * src/PeerAbstractCommand.cc
  5760. * src/PeerAbstractCommand.h
  5761. * src/PeerInteractionCommand.cc
  5762. * src/PeerInteractionCommand.h
  5763. 2009-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5764. Fixed broken file renaming feature since r1202.
  5765. * src/FtpNegotiationCommand.cc
  5766. * src/FtpNegotiationCommand.h
  5767. * src/HttpResponseCommand.cc
  5768. * src/RequestGroup.cc
  5769. * src/RequestGroup.h
  5770. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5771. Removed unused debug log
  5772. * src/SocketCore.cc
  5773. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5774. Generated configure and Makefile.in using autoconf 2.63 and
  5775. automake 1.10.2. Removed AC_GNU_SOURCE from configure.ac because
  5776. it is subset of AC_USE_SYSTEM_EXTENSIONS and we use latter.
  5777. * configure.ac
  5778. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5779. Moved piece statistics stuff to new PieceStatMan class.
  5780. Refactored PieceSelector interface.
  5781. * src/DefaultPieceStorage.cc
  5782. * src/DefaultPieceStorage.h
  5783. * src/LongestSequencePieceSelector.cc
  5784. * src/LongestSequencePieceSelector.h
  5785. * src/Makefile.am
  5786. * src/PieceSelector.h
  5787. * src/PieceStatMan.cc
  5788. * src/PieceStatMan.h
  5789. * src/RarestPieceSelector.cc
  5790. * src/RarestPieceSelector.h
  5791. * src/RequestGroup.cc
  5792. * test/DefaultPieceStorageTest.cc
  5793. * test/InOrderPieceSelector.h
  5794. * test/Makefile.am
  5795. * test/PieceStatManTest.cc
  5796. * test/RarestPieceSelectorTest.cc
  5797. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5798. Added static member _protocolFamily to SocketCore. By default,
  5799. SocketCore uses AF_UNSPEC for getaddrinfo hints to resolve
  5800. address. Sometime SocketCore::bind() and
  5801. SocketCore::establishConnection() use difference protocl family
  5802. and latter cannot connect to former. To avoid this situation, we
  5803. limit protocol family to AF_INET for unit tests.
  5804. * src/SocketCore.cc
  5805. * src/SocketCore.h
  5806. * test/AllTest.cc
  5807. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5808. Avoid std::bad_alloc for negative bencode string length.
  5809. * src/bencode.cc
  5810. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5811. Supported segmented downloading with chunked transfer encoding and
  5812. content-length.
  5813. * src/DownloadCommand.cc
  5814. * src/HttpResponseCommand.cc
  5815. 2009-05-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5816. Bump up version number to 1.3.3
  5817. * configure.ac
  5818. 2009-05-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5819. Applied Pascal Bleser's patch: increases MAX_RECV_BUFFER for ftp
  5820. from 4096 to 65536 (for insanely large ftp login banners)
  5821. * src/FtpConnection.h
  5822. * test/FtpConnectionTest.cc
  5823. 2009-05-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5824. In DefaultBtContext::getActualBasePath(), return first
  5825. FileEntry::getPath() for single file torrent.
  5826. * src/DefaultBtContext.cc
  5827. * test/DefaultBtContextTest.cc
  5828. 2009-05-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5829. Removed directIOAllowed() from BinaryStream, DiskWriter,
  5830. DiskAdaptor. setDirectIOAllowed() was renamed as allowDirectIO().
  5831. Removed _directIOAllowed member from DiskWriter.
  5832. * src/AbstractDiskWriter.cc
  5833. * src/AbstractDiskWriter.h
  5834. * src/AbstractSingleDiskAdaptor.cc
  5835. * src/AbstractSingleDiskAdaptor.h
  5836. * src/BinaryStream.h
  5837. * src/ByteArrayDiskWriter.h
  5838. * src/DefaultPieceStorage.cc
  5839. * src/DiskWriter.h
  5840. * src/MultiDiskAdaptor.cc
  5841. * src/MultiDiskAdaptor.h
  5842. 2009-05-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5843. Now the constructor of AbstractDiskWriter takes filename as an
  5844. argument and filename argument is removed from openFile(),
  5845. initAndOpenFile(), openExistingFile() interface. storeDir member
  5846. and its accessor functions are removed from DiskAdaptor because it
  5847. is not used anymore. size() member function of DefaultDiskWriter,
  5848. DirectDiskAdaptor and MultiDiskAdaptor now can be called without
  5849. opening file.
  5850. * src/AbstractDiskWriter.cc
  5851. * src/AbstractDiskWriter.h
  5852. * src/AbstractSingleDiskAdaptor.cc
  5853. * src/AbstractSingleDiskAdaptor.h
  5854. * src/ByteArrayDiskWriter.cc
  5855. * src/ByteArrayDiskWriter.h
  5856. * src/ByteArrayDiskWriterFactory.cc
  5857. * src/ByteArrayDiskWriterFactory.h
  5858. * src/DefaultDiskWriter.cc
  5859. * src/DefaultDiskWriter.h
  5860. * src/DefaultDiskWriterFactory.cc
  5861. * src/DefaultDiskWriterFactory.h
  5862. * src/DefaultPieceStorage.cc
  5863. * src/DirectDiskAdaptor.cc
  5864. * src/DirectDiskAdaptor.h
  5865. * src/DiskAdaptor.h
  5866. * src/DiskWriter.h
  5867. * src/DiskWriterFactory.h
  5868. * src/MessageDigestHelper.cc
  5869. * src/MultiDiskAdaptor.cc
  5870. * src/RequestGroup.cc
  5871. * src/UnknownLengthPieceStorage.cc
  5872. * src/Util.cc
  5873. * test/DefaultDiskWriterTest.cc
  5874. * test/DirectDiskAdaptorTest.cc
  5875. * test/FallocFileAllocationIteratorTest.cc
  5876. * test/MessageDigestHelperTest.cc
  5877. * test/MetalinkProcessorTest.cc
  5878. * test/MultiDiskAdaptorTest.cc
  5879. * test/MultiFileAllocationIteratorTest.cc
  5880. * test/SingleFileAllocationIteratorTest.cc
  5881. * test/UtilTest.cc
  5882. 2009-05-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5883. Fixed the bug that aria2 aborts when --select-file is used. This
  5884. bug was introduced in r1199.
  5885. * src/MultiDiskAdaptor.cc
  5886. 2009-05-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5887. Code cleanup
  5888. * test/MockPieceStorage.cc
  5889. 2009-05-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5890. Fixed the bug that read-only file with wrong file size will cause
  5891. error because it cannot be truncated to the correct size. Now if
  5892. file size is different than the expected one, re-open file in
  5893. writable mode.
  5894. * src/AbstractSingleDiskAdaptor.cc
  5895. * src/AbstractSingleDiskAdaptor.h
  5896. * src/BtCheckIntegrityEntry.cc
  5897. * src/DiskAdaptor.h
  5898. * src/MultiDiskAdaptor.h
  5899. * src/RequestGroup.cc
  5900. 2009-05-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5901. Fixed the bug that with --check-integrity option aria2 reports
  5902. downloaded file size is 0 even if some parts of file is correctly
  5903. downloaded. This bug is reproducible for the download that a file
  5904. includes last piece is missing. This bug doesn't reveal for
  5905. single-torrent with file allocation on.
  5906. * src/IteratableChecksumValidator.cc
  5907. * test/IteratableChecksumValidatorTest.cc
  5908. 2009-05-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5909. Avoid circular reference between RequestGroup and AdaptiveURISelector
  5910. * src/RequestGroupMan.cc
  5911. * src/AdaptiveURISelector.cc
  5912. * src/AdaptiveURISelector.h
  5913. 2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5914. * Release 1.3.2
  5915. 2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5916. Updated README
  5917. * README
  5918. 2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5919. Updated Ukrainian translations. Thanks to Alexander10.
  5920. * po/uk.po
  5921. 2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5922. Code cleanup
  5923. * src/MetalinkParserStateMachine.cc
  5924. * src/MetalinkParserStateMachine.h
  5925. 2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5926. Removed MetalinkProcessorFactory. Since we don't use both libxml2
  5927. and expat simultaneously, MetalinkProcessor is now not base class
  5928. and it is directly implemented in XML2SAXMetalinkProcessor and
  5929. ExpatMetalinkProcessor.
  5930. * src/ExpatMetalinkProcessor.cc
  5931. * src/ExpatMetalinkProcessor.h
  5932. * src/Makefile.am
  5933. * src/MetalinkHelper.cc
  5934. * src/MetalinkProcessor.h
  5935. * src/MetalinkProcessorFactory.cc: Removed.
  5936. * src/MetalinkProcessorFactory.h: Removed
  5937. * src/XML2SAXMetalinkProcessor.cc
  5938. * src/XML2SAXMetalinkProcessor.h
  5939. * test/MetalinkProcessorTest.cc
  5940. 2009-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5941. Bump up version number to 1.3.2
  5942. * configure.ac
  5943. 2009-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5944. Added missing file.
  5945. * test/Makefile.am
  5946. * test/url-list-singleFileEndsWithSlash.torrent
  5947. 2009-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5948. Put BDE in aria2 namespace. BDE will also be used to store xml-rpc
  5949. request.
  5950. * src/AnnounceList.cc
  5951. * src/AnnounceList.h
  5952. * src/BDE.cc: Added
  5953. * src/BDE.h: Added
  5954. * src/DHTAbstractMessage.cc
  5955. * src/DHTAbstractMessage.h
  5956. * src/DHTAnnouncePeerMessage.cc
  5957. * src/DHTAnnouncePeerMessage.h
  5958. * src/DHTAnnouncePeerReplyMessage.cc
  5959. * src/DHTAnnouncePeerReplyMessage.h
  5960. * src/DHTFindNodeMessage.cc
  5961. * src/DHTFindNodeMessage.h
  5962. * src/DHTFindNodeReplyMessage.cc
  5963. * src/DHTFindNodeReplyMessage.h
  5964. * src/DHTGetPeersMessage.cc
  5965. * src/DHTGetPeersMessage.h
  5966. * src/DHTGetPeersReplyMessage.cc
  5967. * src/DHTGetPeersReplyMessage.h
  5968. * src/DHTMessageFactory.h
  5969. * src/DHTMessageFactoryImpl.cc
  5970. * src/DHTMessageFactoryImpl.h
  5971. * src/DHTMessageReceiver.cc
  5972. * src/DHTMessageTracker.cc
  5973. * src/DHTMessageTracker.h
  5974. * src/DHTPingMessage.cc
  5975. * src/DHTPingMessage.h
  5976. * src/DHTPingReplyMessage.cc
  5977. * src/DHTPingReplyMessage.h
  5978. * src/DHTQueryMessage.cc
  5979. * src/DHTQueryMessage.h
  5980. * src/DHTResponseMessage.cc
  5981. * src/DHTResponseMessage.h
  5982. * src/DefaultBtAnnounce.cc
  5983. * src/DefaultBtContext.cc
  5984. * src/DefaultBtContext.h
  5985. * src/HandshakeExtensionMessage.cc
  5986. * src/Makefile.am
  5987. * src/PeerListProcessor.h
  5988. * src/UTPexExtensionMessage.cc
  5989. * src/bencode.cc
  5990. * src/bencode.h
  5991. * test/AnnounceListTest.cc
  5992. * test/BDETest.cc: Added
  5993. * test/BencodeTest.cc
  5994. * test/DHTAnnouncePeerMessageTest.cc
  5995. * test/DHTAnnouncePeerReplyMessageTest.cc
  5996. * test/DHTFindNodeMessageTest.cc
  5997. * test/DHTFindNodeReplyMessageTest.cc
  5998. * test/DHTGetPeersMessageTest.cc
  5999. * test/DHTGetPeersReplyMessageTest.cc
  6000. * test/DHTMessageFactoryImplTest.cc
  6001. * test/DHTMessageTrackerTest.cc
  6002. * test/DHTPingMessageTest.cc
  6003. * test/DHTPingReplyMessageTest.cc
  6004. * test/Makefile.am
  6005. * test/MockDHTMessageFactory.h
  6006. * test/PeerListProcessorTest.cc
  6007. 2009-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6008. Use url-list (web-seeding) only for single-file torrent. This is
  6009. basically the same behavior with Metalink file with torrent and
  6010. URIs.
  6011. * src/RequestGroup.cc
  6012. * src/DefaultBtContext.cc
  6013. * test/DefaultBtContextTest.cc
  6014. 2009-04-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6015. Rewritten expr
  6016. * src/array_fun.h
  6017. * test/array_funTest.cc
  6018. 2009-04-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6019. Added forEachMemFunSH(). Use it in BitTorrent event dispatch.
  6020. * src/DefaultBtMessageDispatcher.cc
  6021. * src/a2algo.h
  6022. 2009-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6023. Removed ExtendedMessagingAware. Instead of using inheritance,
  6024. added ExtensionMessageRegistry and it is passed to
  6025. DefaultExtensionMessageFactory.
  6026. * src/DefaultBtInteractive.cc
  6027. * src/DefaultBtInteractive.h
  6028. * src/DefaultExtensionMessageFactory.cc
  6029. * src/DefaultExtensionMessageFactory.h
  6030. * src/ExtendedMessagingAware.h: Removed.
  6031. * src/ExtensionMessageFactory.h
  6032. * src/ExtensionMessageRegistry.h: Added.
  6033. * src/Makefile.am
  6034. * src/PeerInteractionCommand.cc
  6035. * test/DefaultExtensionMessageFactoryTest.cc
  6036. 2009-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6037. Fixed typo in log messages
  6038. * src/MSEHandshake.cc
  6039. 2009-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6040. Fixed the bug that prevents torrent download from finishing. The
  6041. bug doesn't reveal for all torrents. The torrents affected this
  6042. bug satisfies ((N+7)/8)%4 == 0 and N%32 != 0 where N is the number
  6043. of pieces.
  6044. * src/bitfield.h
  6045. * test/bitfieldTest.cc
  6046. 2009-04-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6047. Code cleanup
  6048. * src/PeerListProcessor.h
  6049. 2009-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6050. Removed RequestGroupAware
  6051. * src/AbstractCommand.cc
  6052. * src/AbstractCommand.h
  6053. * src/ActivePeerConnectionCommand.cc
  6054. * src/ActivePeerConnectionCommand.h
  6055. * src/DHTGetPeersCommand.cc
  6056. * src/DHTGetPeersCommand.h
  6057. * src/InitiatorMSEHandshakeCommand.cc
  6058. * src/InitiatorMSEHandshakeCommand.h
  6059. * src/Makefile.am
  6060. * src/PeerInitiateConnectionCommand.cc
  6061. * src/PeerInitiateConnectionCommand.h
  6062. * src/PeerInteractionCommand.cc
  6063. * src/PeerInteractionCommand.h
  6064. * src/RealtimeCommand.cc
  6065. * src/RealtimeCommand.h
  6066. * src/RequestGroupAware.cc: Removed
  6067. * src/RequestGroupAware.h: Removed
  6068. * src/SeedCheckCommand.cc
  6069. * src/SeedCheckCommand.h
  6070. * src/SleepCommand.cc
  6071. * src/TrackerWatcherCommand.cc
  6072. * src/TrackerWatcherCommand.h
  6073. 2009-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6074. Rewritten PeerListProcessor
  6075. * src/PeerListProcessor.h
  6076. * src/CompactPeerListProcessor.h: Removed
  6077. * src/CompactPeerListProcessor.cc: Removed
  6078. * src/DelegatingPeerListProcessor.cc: Removed.
  6079. * src/DefaultBtAnnounce.cc
  6080. * src/Makefile.am
  6081. * src/UTPexExtensionMessage.cc
  6082. * src/DefaultPeerListProcessor.h: Removed.
  6083. * src/DefaultPeerListProcessor.cc: Removed.
  6084. * src/DelegatingPeerListProcessor.h: Removed.
  6085. * test/Makefile.am
  6086. * test/PeerListProcessorTest.cc
  6087. * test/DefaultPeerListProcessorTest.cc: Removed.
  6088. 2009-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6089. Rewritten RequestGroupMan::calculateStat()
  6090. * src/RequestGroupMan.cc
  6091. 2009-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6092. Removed unnecessary virtual destructor for Request class.
  6093. * src/Request.cc
  6094. * src/Request.h
  6095. 2009-04-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6096. Avoid dynamic_pointer_cast.
  6097. * src/DHTGetPeersCommand.cc
  6098. * src/DHTGetPeersCommand.h
  6099. 2009-04-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6100. Rewritten event dispatch in BtMessage. Removed BtEventListener,
  6101. BtEvent.
  6102. * src/AbstractBtEventListener.h: Removed.
  6103. * src/AbstractBtMessage.cc
  6104. * src/AbstractBtMessage.h
  6105. * src/BtAbortOutstandingRequestEvent.h
  6106. * src/BtCancelSendingPieceEvent.h
  6107. * src/BtChokedEvent.h: Removed.
  6108. * src/BtChokingEvent.h
  6109. * src/BtEvent.h: Removed
  6110. * src/BtEventListener.h: Removed.
  6111. * src/BtMessage.h
  6112. * src/BtPieceMessage.cc
  6113. * src/BtPieceMessage.h
  6114. * src/BtRequestMessage.cc
  6115. * src/BtRequestMessage.h
  6116. * src/DefaultBtMessageDispatcher.cc
  6117. * src/Makefile.am
  6118. * src/a2functional.h
  6119. * test/BtPieceMessageTest.cc
  6120. * test/BtRequestMessageTest.cc
  6121. * test/DefaultBtMessageDispatcherTest.cc
  6122. * test/MockBtMessage.h
  6123. 2009-04-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6124. Code cleanup
  6125. * src/RequestGroupMan.cc
  6126. 2009-04-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6127. Code cleanup
  6128. * src/DownloadCommand.cc
  6129. 2009-04-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6130. Fixed segmentation fault when GZipDecoder::decode() returns 0
  6131. byte.
  6132. * src/DownloadCommand.cc
  6133. * src/bitfield.h
  6134. * test/bitfieldTest.cc
  6135. Fixed the bug that causes infinite loop if broken web server
  6136. returns chunked response without last "0" chunk-size marker and
  6137. closes connection.
  6138. * src/DownloadCommand.cc
  6139. Instantiate properly configured HttpDownloadCommand for
  6140. non-resumable downlaods.
  6141. * src/HttpResponseCommand.cc
  6142. 2009-04-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6143. Rewritten array operation functions.
  6144. * src/BitfieldMan.cc
  6145. * src/array_fun.h
  6146. * test/array_funTest.cc
  6147. 2009-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6148. Removed unused variable 'query'
  6149. * src/Request.cc
  6150. 2009-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6151. Set conditional HAVE_GETADDRINFO true for mingw32. It was
  6152. accidentally set to false in r1162.
  6153. * configure.ac
  6154. 2009-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6155. Code cleanup
  6156. * src/BNode.cc
  6157. 2009-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6158. Increase prefixLength for the bucket which doesn't own local node
  6159. ID when splitting bucket.
  6160. * src/DHTBucket.cc
  6161. * test/DHTBucketTest.cc
  6162. 2009-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6163. * Release 1.3.1
  6164. 2009-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6165. Bump up version number to 1.3.1
  6166. * configure.ac
  6167. 2009-04-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6168. Removed unused variable checkPoint. Also removed include directive
  6169. for TimeA2.h.
  6170. * src/SeedCheckCommand.h
  6171. 2009-04-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6172. Fixed the bug that upload limit exceeds the value specified in
  6173. --seed-ratio option depending on the timing of the execution of
  6174. SeedCheckCommand.
  6175. * src/SeedCheckCommand.cc
  6176. 2009-04-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6177. Fixed the bug that removed peer's session upload/download length
  6178. are counted twice in _cachedTransferStat before it is
  6179. re-calculated. This affected the calculation of shara ratio,
  6180. resulting aria2 wrongly determines that specified share ratio is
  6181. reached. Also fixed the typo in calculateStatFor function name.
  6182. * src/BtSetup.cc
  6183. * src/DefaultPeerStorage.cc
  6184. * src/ShareRatioSeedCriteria.h
  6185. * test/ShareRatioSeedCriteriaTest.cc
  6186. 2009-04-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6187. * Release 1.3.0
  6188. 2009-04-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6189. Updated Russian, Japanese, Spanish, Ukrainian and Norwegian
  6190. Nynorsk translations. Thanks to all translators.
  6191. * po/es.po
  6192. * po/ja.po
  6193. * po/nn.po
  6194. * po/ru.po
  6195. * po/uk.po
  6196. 2009-04-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6197. Rewritten isInRange()
  6198. * src/DHTBucket.cc
  6199. * test/DHTBucketTest.cc
  6200. 2009-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6201. Fixed typo
  6202. * doc/aria2c.1.txt
  6203. 2009-03-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6204. Removed AC_FUNC_MALLOC and AC_FUNC_REALLOC because 0-byte
  6205. malloc/realloc is not used.
  6206. * src/configure.ac
  6207. 2009-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6208. BitfieldMan::getMissingIndexes family functions now takes unsigned
  6209. char* bitfield instead of stl container for efficiency.
  6210. PieceSelector::select now takes this
  6211. bitfield. RarestPieceSelector::select now also performs
  6212. efficiently for this change. bitfield namespace is introduced and
  6213. it has several helper functions to handle basic bitfield
  6214. operations such as test, count set bits, etc.
  6215. * src/BitfieldMan.cc
  6216. * src/BitfieldMan.h
  6217. * src/DefaultBtRequestFactory.cc
  6218. * src/DefaultPieceStorage.cc
  6219. * src/DefaultPieceStorage.h
  6220. * src/LongestSequencePieceSelector.cc
  6221. * src/LongestSequencePieceSelector.h
  6222. * src/Makefile.am
  6223. * src/Piece.cc
  6224. * src/Piece.h
  6225. * src/PieceSelector.h
  6226. * src/RarestPieceSelector.cc
  6227. * src/RarestPieceSelector.h
  6228. * src/Util.cc
  6229. * src/Util.h
  6230. * src/bitfield.h
  6231. * test/BitfieldManTest.cc
  6232. * test/LongestSequencePieceSelectorTest.cc
  6233. * test/Makefile.am
  6234. * test/RarestPieceSelectorTest.cc
  6235. * test/UtilTest.cc
  6236. * test/bitfieldTest.cc
  6237. 2009-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6238. Made accepted socket non-block.
  6239. * src/FtpNegotiationCommand.cc
  6240. * src/HttpListenCommand.cc
  6241. 2009-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6242. Guarded #ifdef HAVE_POSIX_FALLOCATE
  6243. * src/AbstractSingleDiskAdaptor.cc
  6244. * src/DefaultPieceStorage.cc
  6245. * src/DiskAdaptor.h
  6246. * src/DiskAdaptor.h
  6247. * src/MultiFileAllocationIterator.cc
  6248. 2009-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6249. Run
  6250. DefaultBtMessageDispatcher::checkRequestSlotAndDoNecessaryThing()
  6251. in every 1 sec. The timeout of RequestSlot is 60s by default and
  6252. it doesn't need to be called every time when
  6253. DefaultBtInteractive::doInteractionProcessing() is called.
  6254. * src/DefaultBtInteractive.cc
  6255. * src/DefaultBtInteractive.h
  6256. 2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6257. Documented 'falloc' in man page.
  6258. * doc/aria2c.1.txt
  6259. 2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6260. Updated doc
  6261. * src/usage_text.h
  6262. 2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6263. Added 'falloc' parameter for --file-allocation option. 'falloc'
  6264. allocation mode uses posix_fallocate() system call to allocate
  6265. file on disk. If you are using newer file systems such as ext4
  6266. (with extents support), btrfs or xfs, 'falloc' is your best
  6267. choice. It allocates large(few GiB) files almost instantly. Don't
  6268. use 'falloc' with legacy file systems such as ext3 because it
  6269. takes almost same time as 'prealloc' and it blocks aria2 entirely
  6270. until allocation finishes. 'falloc' may not be available if your
  6271. system doesn't have posix_fallocate() system call.
  6272. * configure.ac
  6273. * src/AbstractDiskWriter.cc
  6274. * src/AbstractDiskWriter.h
  6275. * src/AbstractSingleDiskAdaptor.cc
  6276. * src/BinaryStream.h
  6277. * src/BtCheckIntegrityEntry.cc
  6278. * src/ByteArrayDiskWriter.h
  6279. * src/CheckIntegrityEntry.cc
  6280. * src/CheckIntegrityEntry.h
  6281. * src/DefaultPieceStorage.cc
  6282. * src/DiskAdaptor.cc
  6283. * src/DiskAdaptor.h
  6284. * src/DiskWriter.h
  6285. * src/FallocFileAllocationIterator.cc
  6286. * src/FallocFileAllocationIterator.h
  6287. * src/FileAllocationEntry.cc
  6288. * src/FileAllocationEntry.h
  6289. * src/Makefile.am
  6290. * src/MultiFileAllocationIterator.cc
  6291. * src/MultiFileAllocationIterator.h
  6292. * src/OptionHandlerFactory.cc
  6293. * src/RequestGroup.cc
  6294. * src/StreamCheckIntegrityEntry.cc
  6295. * src/prefs.cc
  6296. * src/prefs.h
  6297. * src/usage_text.h
  6298. * test/FallocFileAllocationIteratorTest.cc
  6299. * test/Makefile.am
  6300. 2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6301. Removed duplicate enableDirectIO() call.
  6302. * src/MultiFileAllocationIterator.cc
  6303. 2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6304. Replaced std::vector<SharedHandle<PieceStats> _sortedPieceStats
  6305. with std::vector<size_t> _sortedPieceStatIndexes to reduce the
  6306. cost of std::rotate().
  6307. * src/RarestPieceSelector.cc
  6308. * src/RarestPieceSelector.h
  6309. * test/RarestPieceSelectorTest.cc
  6310. 2009-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6311. Updated usage doc for --bt-tracker-interval option.
  6312. * src/usage_text.h
  6313. * doc/aria2c.1.txt
  6314. 2009-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6315. Documented --bt-tracker-interval option in man page.
  6316. * doc/aria2c.1.txt
  6317. 2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6318. Added an option to specify the interval between tracker requests.
  6319. If non-zero value is specified, aria2 uses it and ignores the
  6320. interval value in the response of tracker. If zero is specified,
  6321. aria2 determines the inteval value based on the tarcker response
  6322. and download progress.
  6323. * src/DefaultBtAnnounce.cc
  6324. * src/DefaultBtAnnounce.h
  6325. * src/OptionHandlerFactory.cc
  6326. * src/RequestGroup.cc
  6327. * src/prefs.cc
  6328. * src/prefs.h
  6329. * src/usage_text.h
  6330. 2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6331. Added operator+=, operator-=, operator-
  6332. * src/TransferStat.cc
  6333. * src/TransferStat.h
  6334. 2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6335. Refactored RarestPieceSelector to reduce CPU load, especially for
  6336. addPieceStats.
  6337. * src/RarestPieceSelector.cc
  6338. * src/RarestPieceSelector.h
  6339. 2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6340. Refactored getMissingIndexRandomly, getFirstMissingIndex,
  6341. getAllMissingBlockIndexes to reduce a call to
  6342. array_function_base::operator[].
  6343. * src/BitfieldMan.cc
  6344. 2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6345. Cached TransferStat/download speed to avoid to sum them up in each
  6346. call.
  6347. * src/DefaultPeerStorage.cc
  6348. * src/DefaultPeerStorage.h
  6349. * src/SegmentMan.cc
  6350. * src/SegmentMan.h
  6351. 2009-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6352. Typedefed cuid_t as int32_t in Command.h
  6353. * src/CUIDCounter.h
  6354. * src/Command.cc
  6355. * src/Command.h
  6356. * src/DownloadEngine.cc
  6357. * src/DownloadEngine.h
  6358. * src/PeerStat.h
  6359. * src/SegmentMan.cc
  6360. * src/SegmentMan.h
  6361. 2009-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6362. Reduced the number of calls to PeerStorage::calculateStat() and
  6363. SegmentMan::calculateDownloadSpeed() to lower CPU usage on higher
  6364. transfer rate.
  6365. * src/DefaultBtInteractive.cc
  6366. * src/DefaultBtMessageDispatcher.cc
  6367. * src/DefaultPeerStorage.cc
  6368. * src/DefaultPeerStorage.h
  6369. * src/DownloadCommand.cc
  6370. * src/DownloadEngine.cc
  6371. * src/PeerStorage.h
  6372. * src/SegmentMan.cc
  6373. * src/SegmentMan.h
  6374. * test/MockPeerStorage.h
  6375. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6376. Prepended _dir+"/" after joining path elements in torrent file.
  6377. * src/DefaultBtContext.cc
  6378. * test/DefaultBtContextTest.cc
  6379. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6380. Added missing IndexBtMessageValidator.h
  6381. * src/Makefile.am
  6382. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6383. Updated Indonesian, Russian, Italian, Ukrainian and Simplified
  6384. Chinese translations. Thank you for contributing our project.
  6385. * po/id.po
  6386. * po/it.po
  6387. * po/ru.po
  6388. * po/uk.po
  6389. * po/zh_CN.po
  6390. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6391. Updated README
  6392. * README
  6393. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6394. Bump up version number to 1.3.0
  6395. * configure.ac
  6396. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6397. Updated doc
  6398. * src/DefaultBtContext.h
  6399. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6400. Slice/joinPath for name of single torrent.
  6401. * src/DefaultBtContext.cc
  6402. * test/DefaultBtContextTest.cc
  6403. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6404. Updated man page: Documented --dry-run and --index-out
  6405. options. Changed the default value of --uri-selector and
  6406. --http-auth-challenge options. Removed --direct-file-mapping
  6407. option. Added example for --index-out
  6408. * doc/aria2c.1.txt
  6409. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6410. Updated TEXT_DRY_RUN
  6411. * src/usage_text.h
  6412. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6413. Changed the default value of --uri-selector option from 'inorder'
  6414. to 'feedback'
  6415. * src/OptionHandlerFactory.cc
  6416. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6417. Included current URI in exception message.
  6418. * src/AbstractCommand.cc
  6419. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6420. Renamed ServerStatURISelector as FeedbackURISelector.
  6421. * src/FeedbackURISelector.cc
  6422. * src/FeedbackURISelector.h
  6423. * src/Makefile.am
  6424. * src/RequestGroupMan.cc
  6425. * src/ServerStatURISelector.cc
  6426. * src/ServerStatURISelector.h
  6427. * test/FeedbackURISelectorTest.cc
  6428. * test/Makefile.am
  6429. * test/ServerStatURISelectorTest.cc
  6430. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6431. Fixed the bug that AdaptiveURISelector doesn't select any URI when
  6432. all URIs are tested and their timeout is not reached.
  6433. * src/AdaptiveURISelector.cc
  6434. * src/AdaptiveURISelector.h
  6435. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6436. Changed the default value of --http-auth-challenge option to false.
  6437. * src/OptionHandlerFactory.cc
  6438. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6439. Reuse URIs when all unused URIs run out.
  6440. * src/OptionHandlerFactory.cc
  6441. * src/RequestGroup.cc
  6442. * src/prefs.cc
  6443. * src/prefs.h
  6444. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6445. Refactored BtMessage subclasses. BtCancelMessage, BtRequestMessage
  6446. and BtRejectMessage are derived from RangeBtMessage class.
  6447. BtAllowedFastMessage, BtHaveMessage and BtSuggestPieceMessage are
  6448. derived from IndexBtMessage class. BtChokeMessage,
  6449. BtHaveAllMessage, BtHaveNoneMessage, BtInterestedMessage,
  6450. BtNotInterestedMessage and BtUnchokeMessage are derived from
  6451. ZeroBtMessage class.
  6452. * src/AbstractBtMessage.cc
  6453. * src/AbstractBtMessage.h
  6454. * src/BtAllowedFastMessage.cc
  6455. * src/BtAllowedFastMessage.h
  6456. * src/BtAllowedFastMessageValidator.h: Removed
  6457. * src/BtBitfieldMessage.cc
  6458. * src/BtBitfieldMessage.h
  6459. * src/BtCancelMessage.cc
  6460. * src/BtCancelMessage.h
  6461. * src/BtCancelMessageValidator.h: Removed
  6462. * src/BtChokeMessage.cc
  6463. * src/BtChokeMessage.h
  6464. * src/BtExtendedMessage.cc
  6465. * src/BtExtendedMessage.h
  6466. * src/BtHandshakeMessage.cc
  6467. * src/BtHandshakeMessage.h
  6468. * src/BtHaveAllMessage.cc
  6469. * src/BtHaveAllMessage.h
  6470. * src/BtHaveMessage.cc
  6471. * src/BtHaveMessage.h
  6472. * src/BtHaveMessageValidator.h: Removed
  6473. * src/BtHaveNoneMessage.cc
  6474. * src/BtHaveNoneMessage.h
  6475. * src/BtInterestedMessage.cc
  6476. * src/BtInterestedMessage.h
  6477. * src/BtKeepAliveMessage.cc
  6478. * src/BtKeepAliveMessage.h
  6479. * src/BtNotInterestedMessage.cc
  6480. * src/BtNotInterestedMessage.h
  6481. * src/BtPieceMessage.cc
  6482. * src/BtPieceMessage.h
  6483. * src/BtPortMessage.cc
  6484. * src/BtPortMessage.h
  6485. * src/BtRejectMessage.cc
  6486. * src/BtRejectMessage.h
  6487. * src/BtRejectMessageValidator.h: Removed
  6488. * src/BtRequestMessage.cc
  6489. * src/BtRequestMessage.h
  6490. * src/BtRequestMessageValidator.h: Removed
  6491. * src/BtSuggestPieceMessage.cc
  6492. * src/BtSuggestPieceMessage.h
  6493. * src/BtSuggestPieceMessageValidator.h: Removed
  6494. * src/BtUnchokeMessage.cc
  6495. * src/BtUnchokeMessage.h
  6496. * src/DefaultBtMessageFactory.cc
  6497. * src/IndexBtMessage.cc
  6498. * src/IndexBtMessage.h
  6499. * src/IndexBtMessageValidator.h
  6500. * src/Makefile.am
  6501. * src/PeerMessageUtil.cc
  6502. * src/PeerMessageUtil.h
  6503. * src/RangeBtMessage.cc
  6504. * src/RangeBtMessage.h
  6505. * src/RangeBtMessageValidator.h
  6506. * src/SimpleBtMessage.cc
  6507. * src/SimpleBtMessage.h
  6508. * src/ZeroBtMessage.cc
  6509. * src/ZeroBtMessage.h
  6510. * test/BtRequestMessageTest.cc
  6511. 2009-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6512. Reverted usage_text.h to r1093 to avoid to lose translated
  6513. messages.
  6514. * src/usage_text.h
  6515. 2009-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6516. BtMessage now holds _id attribute. MESSAGE_LENGTH that is
  6517. declared as non-const previously is now const and defined in class
  6518. definition.
  6519. * src/AbstractBtMessage.cc
  6520. * src/AbstractBtMessage.h
  6521. * src/BtAllowedFastMessage.cc
  6522. * src/BtAllowedFastMessage.h
  6523. * src/BtBitfieldMessage.h
  6524. * src/BtCancelMessage.cc
  6525. * src/BtCancelMessage.h
  6526. * src/BtChokeMessage.cc
  6527. * src/BtChokeMessage.h
  6528. * src/BtExtendedMessage.cc
  6529. * src/BtExtendedMessage.h
  6530. * src/BtHandshakeMessage.cc
  6531. * src/BtHandshakeMessage.h
  6532. * src/BtHaveAllMessage.cc
  6533. * src/BtHaveAllMessage.h
  6534. * src/BtHaveMessage.cc
  6535. * src/BtHaveMessage.h
  6536. * src/BtHaveNoneMessage.cc
  6537. * src/BtHaveNoneMessage.h
  6538. * src/BtInterestedMessage.cc
  6539. * src/BtInterestedMessage.h
  6540. * src/BtKeepAliveMessage.cc
  6541. * src/BtKeepAliveMessage.h
  6542. * src/BtMessage.h
  6543. * src/BtNotInterestedMessage.cc
  6544. * src/BtNotInterestedMessage.h
  6545. * src/BtPieceMessage.h
  6546. * src/BtPortMessage.cc
  6547. * src/BtPortMessage.h
  6548. * src/BtRejectMessage.cc
  6549. * src/BtRejectMessage.h
  6550. * src/BtRequestMessage.cc
  6551. * src/BtRequestMessage.h
  6552. * src/BtSuggestPieceMessage.cc
  6553. * src/BtSuggestPieceMessage.h
  6554. * src/BtUnchokeMessage.cc
  6555. * src/BtUnchokeMessage.h
  6556. * src/SimpleBtMessage.cc
  6557. * src/SimpleBtMessage.h
  6558. * test/MockBtMessage.h
  6559. 2009-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6560. Use FileEntry::exists()
  6561. * src/MultiDiskAdaptor.cc
  6562. 2009-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6563. Added exists()
  6564. * src/FileEntry.cc
  6565. * src/FileEntry.h
  6566. 2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6567. Added missing prefix dir.
  6568. * src/download_helper.cc
  6569. 2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6570. Removed --direct-file-mapping option and CopyDiskAdaptor.
  6571. * src/CopyDiskAdaptor.cc: Removed
  6572. * src/CopyDiskAdaptor.h: Removed
  6573. * src/DefaultPieceStorage.cc
  6574. * src/Makefile.am
  6575. * src/OptionHandlerFactory.cc
  6576. * src/prefs.cc
  6577. * src/prefs.h
  6578. * src/usage_text.h
  6579. * test/CopyDiskAdaptorTest.cc: Removed
  6580. * test/Makefile.am
  6581. 2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6582. Rewritten isSameFileBeingDownloaded()
  6583. * src/RequestGroupMan.cc
  6584. 2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6585. Removed getName() from DownloadContext. getName() is declared in
  6586. BtContext.
  6587. * src/BtContext.h
  6588. * src/DownloadContext.h
  6589. * src/SingleFileDownloadContext.cc
  6590. * src/SingleFileDownloadContext.h
  6591. Removed getFilePath() from DiskAdaptor. getFilePath() is declared
  6592. in AbstractSingleDiskAdaptor.
  6593. * src/AbstractSingleDiskAdaptor.h
  6594. * src/DiskAdaptor.h
  6595. * src/MultiDiskAdaptor.h
  6596. * src/RequestGroup.cc
  6597. Removed setTopDir() and getTopDir() and getTopDirPath() from
  6598. MultiDiskAdaptor.
  6599. * src/DefaultPieceStorage.cc
  6600. * src/MultiDiskAdaptor.cc
  6601. * src/MultiDiskAdaptor.h
  6602. * test/MultiDiskAdaptorTest.cc
  6603. 2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6604. FileEntry::getPath() contains store(top level) directory to
  6605. simplify path handling operation. In the previous implementation,
  6606. store directory is concatenated to FileEntry::getPath() in
  6607. DownloadContext.
  6608. * src/BtDependency.cc
  6609. * src/BtPostDownloadHandler.cc
  6610. * src/CopyDiskAdaptor.cc
  6611. * src/DefaultBtContext.cc
  6612. * src/DirectDiskAdaptor.cc
  6613. * src/FileEntry.cc
  6614. * src/FileEntry.h
  6615. * src/FtpNegotiationCommand.cc
  6616. * src/HttpResponse.cc
  6617. * src/HttpResponseCommand.cc
  6618. * src/Metalink2RequestGroup.cc
  6619. * src/MultiDiskAdaptor.cc
  6620. * src/MultiDiskAdaptor.h
  6621. * src/MultiFileAllocationIterator.cc
  6622. * src/RequestGroup.cc
  6623. * src/SingleFileDownloadContext.cc
  6624. * src/SingleFileDownloadContext.h
  6625. * src/download_helper.cc
  6626. * test/BtDependencyTest.cc
  6627. * test/CopyDiskAdaptorTest.cc
  6628. * test/DefaultBtContextTest.cc
  6629. * test/DefaultBtProgressInfoFileTest.cc
  6630. * test/DirectDiskAdaptorTest.cc
  6631. * test/DownloadHelperTest.cc
  6632. * test/FileEntryTest.cc
  6633. * test/MultiDiskAdaptorTest.cc
  6634. * test/MultiFileAllocationIteratorTest.cc
  6635. * test/RequestGroupTest.cc
  6636. * test/SingleFileDownloadContextTest.cc
  6637. 2009-03-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6638. Fixed compiler warning
  6639. * src/download_helper.cc
  6640. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6641. Throw exception if same infohash torrent is now downloading.
  6642. * src/RequestGroup.cc
  6643. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6644. Added --dry-run option. In this mode, aria2 just checks whether
  6645. the remote file is available and doesn't download data. This
  6646. option has effect on HTTP/FTP downloads and BitTorrent downloads
  6647. are canceled in this mode.
  6648. * src/FtpNegotiationCommand.cc
  6649. * src/HttpResponseCommand.cc
  6650. * src/HttpResponseCommand.h
  6651. * src/OptionHandlerFactory.cc
  6652. * src/RequestGroup.cc
  6653. * src/RequestGroupMan.cc
  6654. * src/prefs.cc
  6655. * src/prefs.h
  6656. * src/usage_text.h
  6657. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6658. Fixed compiler waring
  6659. * test/UriListParserTest.cc
  6660. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6661. Parse options in -i list using OptionParser.
  6662. * src/UriListParser.cc
  6663. * src/UriListParser.h
  6664. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6665. Don't reset URI in retry to avoid additional round trips because
  6666. of redirects.
  6667. * src/AbstractCommand.cc
  6668. * src/OptionHandlerFactory.cc
  6669. * src/prefs.cc
  6670. * src/prefs.h
  6671. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6672. Declared hide() in OptionHandler.
  6673. * src/NameMatchOptionHandler.h
  6674. * src/OptionHandler.h
  6675. * src/OptionHandlerImpl.h
  6676. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6677. Updated doc
  6678. * src/Peer.h
  6679. 2009-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6680. Added log message in setStatusInternal()
  6681. * src/ServerStat.cc
  6682. 2009-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6683. Call ServerStat::setError() in AbstractCommand::onAbort() to
  6684. effectively exclude failed server.
  6685. * src/AbstractCommand.cc
  6686. 2009-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6687. Added --index-out option to specify each file path for torrent.
  6688. Here index shown in --show-files option is used to specify which
  6689. file path should be altered. For example, to change the file path
  6690. with index=2, use --index-out=2=aria2.tar.bz2. You can use this
  6691. option multiple times: --index-out=1=aria2.tar.bz2
  6692. --index-out=2=aria2-opt.tar.bz2. The short hand form -O is also
  6693. available. This option can be specified in -i list.
  6694. * src/DefaultBtContext.cc
  6695. * src/DefaultBtContext.h
  6696. * src/MultiDiskAdaptor.cc
  6697. * src/MultiDiskAdaptor.h
  6698. * src/MultiFileAllocationIterator.cc
  6699. * src/OptionHandlerFactory.cc
  6700. * src/OptionHandlerImpl.h
  6701. * src/Util.cc
  6702. * src/Util.h
  6703. * src/download_helper.cc
  6704. * src/prefs.cc
  6705. * src/prefs.h
  6706. * src/usage_text.h
  6707. * test/DefaultBtContextTest.cc
  6708. * test/MultiDiskAdaptorTest.cc
  6709. * test/MultiFileAllocationIteratorTest.cc
  6710. * test/UtilTest.cc
  6711. 2009-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6712. Use Util::pathJoin()
  6713. * src/MetalinkParserController.cc
  6714. * test/test.xml
  6715. 2009-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6716. Use Util::pathJoin()
  6717. * src/DefaultBtContext.cc
  6718. 2009-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6719. Added Util::pathJoin()
  6720. * src/Util.h
  6721. * test/UtilTest.cc
  6722. 2009-03-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6723. Applied basename function to remove directory element in
  6724. content-disposition value.
  6725. Return empty string if content-disposition value is ".." or ".".
  6726. * src/Util.cc
  6727. * test/UtilTest.cc
  6728. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6729. Added --max-overall-download-limit in man page.
  6730. Updated --max-overall-upload-limit, --max-download-limit option's doc.
  6731. * doc/aria2c.1.txt
  6732. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6733. Added --max-overall-download-limit option. Now --max-upload-limit
  6734. option is not ignored when --max-overall-upload-limit option has
  6735. non-zero value. aria2 checks download(upload) speed in the order:
  6736. first checks overall speed limit and if it is not exceeded, then
  6737. checks speed limit per download. Thus you can specify both
  6738. value. For example, set --max-overall-download-limit=1M and
  6739. --max-download-limit=500K to prevent from one download from eating
  6740. all overall speed limit.
  6741. * src/DefaultBtInteractive.cc
  6742. * src/DefaultBtInteractive.h
  6743. * src/DefaultBtMessageDispatcher.cc
  6744. * src/DefaultBtMessageDispatcher.h
  6745. * src/DownloadCommand.cc
  6746. * src/DownloadCommand.h
  6747. * src/FtpNegotiationCommand.cc
  6748. * src/HttpResponseCommand.cc
  6749. * src/OptionHandlerFactory.cc
  6750. * src/PeerInteractionCommand.cc
  6751. * src/RequestGroup.cc
  6752. * src/RequestGroup.h
  6753. * src/RequestGroupMan.cc
  6754. * src/RequestGroupMan.h
  6755. * src/prefs.cc
  6756. * src/prefs.h
  6757. * src/usage_text.h
  6758. * test/DefaultBtMessageDispatcherTest.cc
  6759. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6760. Documented select-file option in Input File section.
  6761. Documented --http-auth-challenge option.
  6762. * doc/aria2c.1.txt
  6763. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6764. Now select-file can be specified in the uri list(-i list).
  6765. * src/BtContext.cc
  6766. * src/BtContext.h
  6767. * src/RequestGroup.cc
  6768. * src/Sequence.h
  6769. * src/download_helper.cc
  6770. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6771. Made the upper value of --max-concurrent-downloads options unlimited.
  6772. * src/OptionHandlerFactory.cc
  6773. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6774. Fixed the bug that disk writer is not created even if it shares
  6775. same piece with the preceding file if the length of previous file
  6776. is 0.
  6777. * src/MultiDiskAdaptor.cc
  6778. * test/MultiDiskAdaptorTest.cc
  6779. 2009-02-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6780. In BitTorrent, Open files in read-only mode for hash check. After
  6781. that, re-open file in read/write mode only when the download is
  6782. not finished.
  6783. * src/AbstractDiskWriter.cc
  6784. * src/AbstractDiskWriter.h
  6785. * src/AbstractSingleDiskAdaptor.cc
  6786. * src/AbstractSingleDiskAdaptor.h
  6787. * src/BtCheckIntegrityEntry.cc
  6788. * src/DiskAdaptor.h
  6789. * src/DiskWriter.h
  6790. * src/MultiDiskAdaptor.cc
  6791. * src/MultiDiskAdaptor.h
  6792. * src/RequestGroup.cc
  6793. 2009-02-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6794. Added --http-auth-challenge option. If it is set to true(by
  6795. default), aria2 sends HTTP authorization header only when it is
  6796. requested by the server. If false is set, then authorization
  6797. header is always sent to the server. This is useful for servers
  6798. that don't respond 401 code when authentication is required.
  6799. There is an exception: if username and password are embedded in
  6800. URI, authorization header is always sent to the server regardless
  6801. of this option.
  6802. * src/AuthConfigFactory.cc
  6803. * src/HttpSkipResponseCommand.cc
  6804. * src/OptionHandlerFactory.cc
  6805. * src/prefs.cc
  6806. * src/prefs.h
  6807. * src/usage_text.h
  6808. * test/AuthConfigFactoryTest.cc
  6809. * test/HttpRequestTest.cc
  6810. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6811. * Release 1.2.0
  6812. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6813. Updated Spanish, Ukrainian, Russian and Japanese translations.
  6814. Thanks to all translators.
  6815. * po/es.po
  6816. * po/ja.po
  6817. * po/ru.po
  6818. * po/uk.po
  6819. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6820. Call deleteSocketForReadCheck() before socket is closed.
  6821. * src/HttpListenCommand.cc
  6822. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6823. Defined virtual destructor for BObject.
  6824. * src/bencode.h
  6825. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6826. Rewritten BDE to make it efficient.
  6827. * src/bencode.cc
  6828. * src/bencode.h
  6829. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6830. Removed function throw list.
  6831. * src/bencode.cc
  6832. * src/bencode.h
  6833. * test/BencodeTest.cc
  6834. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6835. Enclosed all URLs in double quotes in command-line examples.
  6836. * doc/aria2c.1.txt
  6837. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6838. Updated reference/see also section.
  6839. * README
  6840. * doc/aria2c.1.txt
  6841. 2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6842. Reorganized man page based on man man-pages.
  6843. * doc/aria2c.1.txt
  6844. 2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6845. Removed SERVER PERFORMANCE PROFILE and Configuration file section
  6846. because same documents are available in man page. Added
  6847. References section.
  6848. * README
  6849. 2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6850. Documented sc_avg_speed, mc_avg_speed and counter in SERVER
  6851. PERFORMANCE PROFILE section.
  6852. * doc/aria2c.1.txt
  6853. 2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6854. Rewritten the section for configuration file.
  6855. * README
  6856. * doc/aria2c.1.txt
  6857. 2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6858. Fixed the segmentation fault during execution of choking algorithm
  6859. in leecher state because of broken compare operator
  6860. implementation.
  6861. * src/BtLeecherStateChoke.cc
  6862. * src/BtLeecherStateChoke.h
  6863. 2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6864. Open file in binary mode.
  6865. * src/CookieStorage.cc
  6866. * src/DHTSetup.cc
  6867. * src/DHTUtil.cc
  6868. * src/Netrc.cc
  6869. * src/NsCookieParser.cc
  6870. * src/ProtocolDetector.cc
  6871. * src/RequestGroupMan.cc
  6872. * src/Signature.cc
  6873. * src/bencode.cc
  6874. * src/download_helper.cc
  6875. * src/option_processing.cc
  6876. * test/CookieParserTest.cc
  6877. * test/DefaultBtProgressInfoFileTest.cc
  6878. * test/FileTest.cc
  6879. * test/GZipDecoderTest.cc
  6880. * test/RequestGroupManTest.cc
  6881. * test/SignatureTest.cc
  6882. * test/SingleFileAllocationIteratorTest.cc
  6883. * test/UriListParserTest.cc
  6884. 2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6885. Removed operator[] because it is ambiguous with built-in []
  6886. operator.
  6887. * src/array_fun.h
  6888. 2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6889. Fixed compile error
  6890. * src/OptionParser.cc
  6891. 2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6892. Added missing call to arrayWrapperConst
  6893. * test/array_funTest.cc
  6894. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6895. Use array_wrapper instead of array_ptr.
  6896. * src/DHTRoutingTableDeserializer.cc
  6897. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6898. Removed template<typename S> array_ptr(const array_ptr<S>& s)
  6899. * src/array_fun.h
  6900. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6901. Added array_wrapper template.
  6902. * src/array_fun.h
  6903. * test/array_funTest.cc
  6904. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6905. Use operator T* of array_ptr.
  6906. * src/OptionParser.cc
  6907. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6908. Use localhost instead of 127.0.0.1
  6909. * test/FtpConnectionTest.cc
  6910. * test/MSEHandshakeTest.cc
  6911. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6912. Added operator T*
  6913. * src/array_fun.h
  6914. * test/array_funTest.cc
  6915. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6916. Use dynamically allocated char array to detect memory access
  6917. violation.
  6918. * src/DHTRoutingTableDeserializer.cc
  6919. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6920. Set struct sockaddr_in.sin_len if HAVE_SOCKADDR_IN_SIN_LEN is
  6921. defined.
  6922. * src/PeerMessageUtil.cc
  6923. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6924. Renamed HAVE_SOCKADDR_SIN_LEN as HAVE_SOCKADDR_IN_SIN_LEN
  6925. * configure.ac
  6926. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6927. Added a check to see struct sockaddr_in has sin_len member.
  6928. * configure.ac
  6929. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6930. Fixed buffer overrun.
  6931. * src/DHTRoutingTableDeserializer.cc
  6932. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6933. Added LL for long long int constant.
  6934. * test/FtpConnectionTest.cc
  6935. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6936. Casted to unsigned int to suppress compiler warning on netbsd.
  6937. * src/BtRuntime.h
  6938. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6939. Assign the value of tv.tv_sec to time_t timesec instead of giving
  6940. tv.tv_sec to localtime_r directly because tv.tv_sec may not be of
  6941. type time_t.
  6942. * src/SimpleLogger.cc
  6943. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6944. Added test for FtpConnection::receiveSizeResponse().
  6945. * test/FtpConnectionTest.cc
  6946. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6947. Fix epoll error on the old kernel 2.6.8 or ealier.
  6948. * src/EpollEventPoll.cc
  6949. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6950. Use Util::parseLLInt instead of sscanf for portability. The
  6951. conversion "%Lu" fails in Mac OSX which requires "%llu" instead.
  6952. * src/FtpConnection.cc
  6953. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6954. Fixed the bug that adding 0 length filter to BitfieldMan filters 1
  6955. block. It should not filter anything.
  6956. * src/BitfieldMan.cc
  6957. * src/ConsoleStatCalc.cc
  6958. * test/BitfieldManTest.cc
  6959. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6960. Fixed the bug that the boolean options that don't take arguments
  6961. don't work.
  6962. * src/OptionHandlerImpl.h
  6963. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6964. Fixed broken selected file BitTorrent download.
  6965. * src/MultiDiskAdaptor.cc
  6966. * test/MultiDiskAdaptorTest.cc
  6967. * test/MultiFileAllocationIteratorTest.cc
  6968. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6969. Fixed #define guard for EpollEventPoll
  6970. * src/EpollEventPoll.h
  6971. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6972. Wait 2 seconds. 1 second is sometimes not enough.
  6973. * test/TimeSeedCriteriaTest.cc
  6974. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6975. Use localhost instead of 127.0.0.1.
  6976. * test/DHTConnectionImplTest.cc
  6977. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6978. Suppressed compiler warning.
  6979. * src/AdaptiveURISelector.cc
  6980. * src/DefaultPieceStorage.cc
  6981. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6982. Defined virtual destructor.
  6983. * src/MetalinkParserState.h
  6984. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6985. Give NULL for second argument of getaddrinfo instead of "0".
  6986. * src/NameResolver.cc
  6987. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6988. Don't use Time::parse(buf, "%Y%m%d%H%M%S") because Mac OS X and
  6989. included strptime doesn't parse data for this format.
  6990. * src/FtpConnection.cc
  6991. * test/FtpConnectionTest.cc
  6992. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6993. Removed tests giving -1 for unsigned argument.
  6994. * test/SingleFileDownloadContextTest.cc
  6995. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6996. Don't use sha256 in tests because it might not be supported by the
  6997. SSL library.
  6998. * test/MetalinkProcessorTest.cc
  6999. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7000. Removed tests giving -1 for unsigned argument.
  7001. * test/AlphaNumberDecoratorTest
  7002. * test/BitfieldManTest.cc
  7003. * test/DefaultBtContextTest.cc
  7004. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7005. Fixed compile error without libcares when epoll is available.
  7006. * src/EpollEventPoll.cc
  7007. 2009-02-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7008. Included fstream instead of iostream.
  7009. * test/SignatureTest.cc
  7010. 2009-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7011. Removed #include <algorithm>
  7012. * test/RequestGroupTest.cc
  7013. 2009-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7014. Rewritten AdaptiveURISelector::mayRetryWithIncreasedTimeout()
  7015. using RequestGroup::extractURIResult().
  7016. * src/AdaptiveURISelector.cc
  7017. * src/RequestGroup.cc
  7018. * src/RequestGroup.h
  7019. * test/RequestGroupTest.cc
  7020. 2009-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7021. Added tests for array_ptr.
  7022. * test/array_funTest.cc
  7023. 2009-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7024. Don't send ip parameter to a tracker if ip parameter is empty
  7025. string.
  7026. * src/DefaultBtAnnounce.cc
  7027. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7028. Adjusted line feed.
  7029. * src/version_usage.cc
  7030. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7031. Print tags, possible values when OptionHandlerException is caught.
  7032. * src/option_processing.cc
  7033. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7034. Changed the message for FatalException.
  7035. * src/OptionParser.cc
  7036. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7037. Documented --bt-external-ip option in man page. Updated man pages
  7038. for --proxy-method option.
  7039. * doc/aria2c.1.txt
  7040. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7041. Use GET method for FTP via HTTP proxy.
  7042. * src/FtpInitiateConnectionCommand.cc
  7043. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7044. Changed the default value of --proxy-method option from 'tunnel'
  7045. to 'get'. Use 'tunnel' for HTTPS regardless of --proxy-method
  7046. option.
  7047. * src/AbstractCommand.cc
  7048. * src/AbstractCommand.h
  7049. * src/FtpInitiateConnectionCommand.cc
  7050. * src/HttpDownloadCommand.cc
  7051. * src/HttpInitiateConnectionCommand.cc
  7052. * src/HttpInitiateConnectionCommand.h
  7053. * src/OptionHandlerFactory.cc
  7054. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7055. Initialized _logger
  7056. * src/SelectEventPoll.cc
  7057. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7058. Defined a copy constructor for the same type.
  7059. * src/SharedHandle.h
  7060. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7061. Added OptionParser::parseArg() which internally uses getopt_long
  7062. to parse command-line options. All command-line options are now
  7063. configured by OptionHandler. No manual editing of struct option*
  7064. is required any more.
  7065. * src/NameMatchOptionHandler.h
  7066. * src/OptionHandler.h
  7067. * src/OptionHandlerFactory.cc
  7068. * src/OptionHandlerImpl.h
  7069. * src/OptionParser.cc
  7070. * src/OptionParser.h
  7071. * src/array_fun.h
  7072. * src/main.cc
  7073. * src/option_processing.cc
  7074. * test/OptionHandlerTest.cc
  7075. * test/OptionParserTest.cc
  7076. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7077. Fixed configure error with --disable-epoll
  7078. * configure.ac
  7079. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7080. Fixed compile error when HAVE_EPOLL is not defined.
  7081. Fixed linker error on bigendian systems.
  7082. * src/SocketCore.cc
  7083. * src/SocketCore.h
  7084. * test/DefaultBtProgressInfoFileTest.cc
  7085. 2009-02-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7086. Added --bt-external-ip option. You can specify the external IP
  7087. address to report to a BitTorrent tracker. Although this function
  7088. is named 'external', it can accept any kind of IP addresses.
  7089. * src/DefaultBtAnnounce.cc
  7090. * src/OptionHandlerFactory.cc
  7091. * src/option_processing.cc
  7092. * src/prefs.cc
  7093. * src/prefs.h
  7094. * src/usage_text.h
  7095. * test/DefaultBtAnnounceTest.cc
  7096. 2009-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7097. Extracted the algorithm to find the longest incremental sequence
  7098. as max_sequence template.
  7099. * src/LongestSequencePieceSelector.cc
  7100. * src/a2algo.h
  7101. * test/Makefile.am
  7102. * test/a2algoTest.cc
  7103. 2009-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7104. Removed TEXT_HTTP_SERVER_LISTEN_PORT from translation texts.
  7105. * src/usage_text.h
  7106. 2009-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7107. Updated doc for --uri-selector, --http-server-listen-port and
  7108. --enable-http-server option. Documented --event-poll option.
  7109. * doc/aria2c.1.txt
  7110. 2009-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7111. Updated doc for --enable-http-server.
  7112. * src/usage_text.h
  7113. 2009-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7114. Documented --http-server-listen-port and --enable-http-server in
  7115. man page.
  7116. * doc/aria2c.1.txt
  7117. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7118. Updated Spanish, Indonesian, Russian, Ukrainian and Italian
  7119. translations. Thanks to all translators.
  7120. * po/es.po
  7121. * po/id.po
  7122. * po/it.po
  7123. * po/ru.po
  7124. * po/uk.po
  7125. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7126. Bump up version number to 1.2.0
  7127. * configure.ac
  7128. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7129. BtContext::getAnnounceTiers() now returns const reference.
  7130. * src/BtContext.h
  7131. * src/DefaultBtContext.cc
  7132. * src/DefaultBtContext.h
  7133. * test/MockBtContext.h
  7134. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7135. Change the number of retries for tracker request based on the
  7136. number of available tracker in a torrent file.
  7137. * src/TrackerWatcherCommand.cc
  7138. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7139. Added _maxTries property to RequestGroup and assign the option
  7140. value of PREF_MAX_TRIES to it. AbstractCommand now looks up
  7141. RequestGroup::getMaxTries() instead of
  7142. Option::getAsInt(PREF_MAX_TRIES).
  7143. * src/AbstractCommand.cc
  7144. * src/RequestGroup.cc
  7145. * src/RequestGroup.h
  7146. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7147. Applied AdaptiveURISelector-timeout patch from Pascal Rigaux at
  7148. Mandriva. I modified the patch: make RequestGroup have the
  7149. timeout value and AdaptiveURISelector directly modifies that
  7150. value.
  7151. * src/AbstractCommand.cc
  7152. * src/AdaptiveURISelector.cc
  7153. * src/AdaptiveURISelector.h
  7154. * src/FtpNegotiationCommand.cc
  7155. * src/RequestGroup.cc
  7156. * src/RequestGroup.h
  7157. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7158. Fixed compiler warning
  7159. * test/IteratableChecksumValidatorTest.cc
  7160. 2009-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7161. Use LongestSequencePieceSelector for HTTP/FTP/BitTorrent
  7162. integrated downloads. This PieceSelector subclass finds the
  7163. longest continuous sequence in the available missing pieces and
  7164. selects the last index of such sequence. This makes HTTP/FTP
  7165. connections less interrupted by the pieces obtained by BitTorrent
  7166. peers.
  7167. * src/DefaultPieceStorage.cc
  7168. * src/DefaultPieceStorage.h
  7169. * src/LongestSequencePieceSelector.cc
  7170. * src/LongestSequencePieceSelector.h
  7171. * src/Makefile.am
  7172. * src/PieceSelector.h
  7173. * src/RarestPieceSelector.h
  7174. * src/RequestGroup.cc
  7175. * test/BtDependencyTest.cc
  7176. * test/DefaultPieceStorageTest.cc
  7177. * test/IteratableChecksumValidatorTest.cc
  7178. * test/LongestSequencePieceSelectorTest.cc
  7179. * test/Makefile.am
  7180. * test/SegmentManTest.cc
  7181. 2009-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7182. Fixed the bug that the average speed is wrong in
  7183. http/ftp/BitTorrent integrated download. Only the download bytes
  7184. in BitTorrent were considered.
  7185. * src/RequestGroup.cc
  7186. 2009-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7187. Choose port for BitTorrent/DHT randomly from the specified range.
  7188. * src/DHTConnectionImpl.cc
  7189. * src/PeerListenCommand.cc
  7190. 2009-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7191. Send HTTP Authorization header only if it is requested by the
  7192. server(response 401). There are some exceptions. The authorization
  7193. header for proxy is always sent if it is available without request
  7194. by the server. If username/password is specified in the URI, it
  7195. is immediately sent to the server without request by the server.
  7196. AbstractAuthResolver::_defaultAuthConfig is now initialized as
  7197. SharedHandle<AuthConfig>().
  7198. NetrcAuthResolver::resolveAuthConfig() returns
  7199. SharedHandle<AuthConfig>() if no AuthConfig is available.
  7200. * src/AbstractAuthResolver.cc
  7201. * src/AbstractProxyRequestCommand.cc
  7202. * src/AuthConfigFactory.cc
  7203. * src/AuthConfigFactory.h
  7204. * src/HttpConnection.cc
  7205. * src/HttpRequest.cc
  7206. * src/HttpRequest.h
  7207. * src/HttpResponse.cc
  7208. * src/HttpResponseCommand.cc
  7209. * src/HttpSkipResponseCommand.cc
  7210. * test/AuthConfigFactoryTest.cc
  7211. * test/HttpRequestTest.cc
  7212. * test/HttpResponseTest.cc
  7213. 2009-01-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7214. Remove leading "--" from help keyword and a substring after "="
  7215. from help keyword, so that one can query options by '-h--max-' or
  7216. '-hmax-peers=10'.
  7217. * src/option_processing.cc
  7218. 2009-01-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7219. Rewritten PStringVisitor and its implementation.
  7220. * src/PStringBuildVisitor.cc
  7221. * src/PStringBuildVisitor.h
  7222. * src/PStringDatum.h
  7223. * src/PStringNumLoop.h
  7224. * src/PStringSegment.cc
  7225. * src/PStringSegment.h
  7226. * src/PStringSelect.h
  7227. * src/PStringVisitor.h
  7228. * src/download_helper.cc
  7229. * test/PStringBuildVisitorTest.cc
  7230. * test/ParameterizedStringParserTest.cc
  7231. 2009-01-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7232. Persist connection between the built-in HTTP server and a client
  7233. if a client supports keep-alive. Fixed the bug that aria2 exits
  7234. when the HTTP server receives EOF from a client.
  7235. * src/HttpServer.cc
  7236. * src/HttpServer.h
  7237. * src/HttpServerCommand.cc
  7238. * src/HttpServerCommand.h
  7239. * src/HttpServerResponseCommand.cc
  7240. 2009-01-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7241. Added experimental built-in HTTP server. Currently, when a client
  7242. accesses to the server, it responds with the current download
  7243. progress. By default, it is disabled. To enable the server, give
  7244. --enable-http-server option. To change the default port number
  7245. for the server to listen to, use --http-server-listen-port option.
  7246. The response HTML is very simple and refreshes it self each 1
  7247. second. Because of this refresh, you see flicker in normal web
  7248. browser such as Firefox. I recommend to use console-based browser
  7249. such as elinks, w3m. To connect to the server, run 'elinks
  7250. http://localhost:6800/' while running aria2. Please replace port
  7251. number '6800'(which is default) with your preference.
  7252. * src/DownloadEngineFactory.cc
  7253. * src/HttpHeader.cc
  7254. * src/HttpHeader.h
  7255. * src/HttpHeaderProcessor.cc
  7256. * src/HttpHeaderProcessor.h
  7257. * src/HttpListenCommand.cc
  7258. * src/HttpListenCommand.h
  7259. * src/HttpServer.cc
  7260. * src/HttpServer.h
  7261. * src/HttpServerCommand.cc
  7262. * src/HttpServerCommand.h
  7263. * src/HttpServerResponseCommand.cc
  7264. * src/HttpServerResponseCommand.h
  7265. * src/Makefile.am
  7266. * src/OptionHandlerFactory.cc
  7267. * src/Util.cc
  7268. * src/Util.h
  7269. * src/help_tags.h
  7270. * src/option_processing.cc
  7271. * src/prefs.cc
  7272. * src/prefs.h
  7273. * src/usage_text.h
  7274. * test/HttpHeaderProcessorTest.cc
  7275. * test/UtilTest.cc
  7276. 2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7277. Removed.
  7278. * src/CheckIntegrityMan.cc
  7279. * src/FileAllocationMan.cc
  7280. 2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7281. Made (piece) hash check sequential for each RequestGroup because
  7282. simultaneous hash check is slower than sequential execution.
  7283. * src/CheckIntegrityCommand.cc
  7284. * src/CheckIntegrityDispatcherCommand.cc
  7285. * src/CheckIntegrityDispatcherCommand.h
  7286. * src/CheckIntegrityMan.h
  7287. * src/ConsoleStatCalc.cc
  7288. * src/DownloadCommand.cc
  7289. * src/DownloadEngine.cc
  7290. * src/DownloadEngine.h
  7291. * src/DownloadEngineFactory.cc
  7292. * src/Makefile.am
  7293. * src/Makefile.in
  7294. * src/RequestGroup.cc
  7295. * src/StatCalc.h
  7296. 2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7297. Moved setStatusRealtime() from FileAllocationDispatcherCommand to
  7298. SequentialDispatcherCommand.
  7299. * src/FileAllocationDispatcherCommand.cc
  7300. * src/SequentialDispatcherCommand.h
  7301. 2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7302. Rewritten FileAllocationDispatcherCommand using brand new
  7303. SequentialDispatcherCommand.
  7304. * src/DownloadEngineFactory.cc
  7305. * src/FileAllocationCommand.cc
  7306. * src/FileAllocationDispatcherCommand.cc
  7307. * src/FileAllocationDispatcherCommand.h
  7308. * src/Makefile.am
  7309. * src/SequentialDispatcherCommand.h
  7310. 2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7311. Replaced FileAllocationMan with
  7312. SequentialPicker<FileAllocationEntry>.
  7313. * src/BtCheckIntegrityEntry.cc
  7314. * src/ConsoleStatCalc.cc
  7315. * src/DownloadEngine.cc
  7316. * src/DownloadEngine.h
  7317. * src/DownloadEngineFactory.cc
  7318. * src/FileAllocationCommand.cc
  7319. * src/FileAllocationDispatcherCommand.cc
  7320. * src/FileAllocationMan.h
  7321. * src/Makefile.am
  7322. * src/SequentialPicker.h
  7323. * src/StatCalc.h
  7324. * src/StreamCheckIntegrityEntry.cc
  7325. * test/Makefile.am
  7326. * test/SequentialPickerTest.cc
  7327. 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7328. Added doc for adaptive URI selector.
  7329. * doc/aria2c.1.txt
  7330. 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7331. Added doc for adaptive URI selector.
  7332. * src/usage_text.h
  7333. 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7334. Added doc for --bt-max-peers option.
  7335. * doc/aria2c.1.txt
  7336. 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7337. Added doc for --bt-hash-check-seed option.
  7338. * doc/aria2c.1.txt
  7339. 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7340. Documented exit codes.
  7341. * doc/aria2c.1.txt
  7342. 2009-01-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7343. Added --bt-max-peers option to specify the maximum number of peers
  7344. per torrent. 0 means unlimited number of peers.
  7345. * src/ActivePeerConnectionCommand.cc
  7346. * src/BtRuntime.h
  7347. * src/DefaultPeerStorage.cc
  7348. * src/DefaultPeerStorage.h
  7349. * src/OptionHandlerFactory.cc
  7350. * src/RequestGroup.cc
  7351. * src/option_processing.cc
  7352. * src/prefs.cc
  7353. * src/prefs.h
  7354. * src/usage_text.h
  7355. * test/DefaultPeerStorageTest.cc
  7356. 2009-01-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7357. Added --bt-hash-check-seed option. If true is given to this
  7358. option, after hash check using --check-integrity option and file
  7359. is complete, continue to seed file. If you want to check file and
  7360. download it only when it is damaged or incomplete, set this option
  7361. to false. This option has effect only on BitTorrent download.
  7362. The default value is true(This is the same behavior with the
  7363. previous release).
  7364. * src/BtCheckIntegrityEntry.cc
  7365. * src/OptionHandlerFactory.cc
  7366. * src/option_processing.cc
  7367. * src/prefs.cc
  7368. * src/prefs.h
  7369. * src/usage_text.h
  7370. 2009-01-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7371. Updated copyright year.
  7372. * src/version_usage.cc
  7373. 2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7374. Rewritten the usage text for --bt-request-peer-speed-limit option.
  7375. * doc/aria2c.1.txt
  7376. * src/usage_text.h
  7377. 2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7378. Made the max value of split option unlimited.
  7379. * doc/aria2c.1.txt
  7380. * src/OptionHandlerFactory.cc
  7381. 2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7382. Fixed compile warning/error.
  7383. * src/DownloadResult.h
  7384. * src/HttpDownloadCommand.cc
  7385. * src/ServerStat.cc
  7386. * test/RequestGroupTest.cc
  7387. 2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7388. Added --event-poll option to select the method for polling events.
  7389. The available methods are "select" and "epoll". "epoll" is
  7390. available on Linux only. The earlier release has the compile
  7391. option to choose from these methods.
  7392. * configure.ac
  7393. * src/RequestGroupMan.cc
  7394. * src/OptionHandlerFactory.cc
  7395. * src/EpollEventPoll.h
  7396. * src/StreamFileAllocationEntry.cc
  7397. * src/a2io.h
  7398. * src/SelectEventPoll.h
  7399. * src/option_processing.cc
  7400. * src/prefs.h
  7401. * src/EpollEventPoll.cc
  7402. * src/EventPoll.h
  7403. * src/SocketCore.h
  7404. * src/Makefile.am
  7405. * src/main.cc
  7406. * src/DownloadEngine.h
  7407. * src/SelectEventPoll.cc
  7408. * src/DownloadEngine.cc
  7409. * src/SocketCore.cc
  7410. * src/DownloadEngineFactory.cc
  7411. * src/Makefile.in
  7412. * src/prefs.cc
  7413. * src/usage_text.h
  7414. 2009-01-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7415. Included RecoverableException.h from main.cc
  7416. * src/main.cc
  7417. 2009-01-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7418. Applied exit-status patch from Pascal Rigaux at Mandriva. aria2
  7419. now returns last error encountered in the HTTP/FTP downloads as a
  7420. exit status value. If all downloads finished successfully, aria2
  7421. returns 0. The error code is defined in src/DownloadResult.h.
  7422. The error occurred in the download currently in progress is not
  7423. reported as a last error. If no error has encountered but there
  7424. are in progress or waiting downloads, aria2 returns 7.
  7425. * src/AbstractCommand.cc
  7426. * src/DlAbortEx.h
  7427. * src/DlRetryEx.h
  7428. * src/DownloadCommand.cc
  7429. * src/DownloadFailureException.h
  7430. * src/DownloadResult.h
  7431. * src/FtpNegotiationCommand.cc
  7432. * src/HttpSkipResponseCommand.cc
  7433. * src/Makefile.am
  7434. * src/MultiUrlRequestInfo.cc
  7435. * src/MultiUrlRequestInfo.h
  7436. * src/RecoverableException.h
  7437. * src/RequestGroup.cc
  7438. * src/RequestGroup.h
  7439. * src/RequestGroupMan.cc
  7440. * src/RequestGroupMan.h
  7441. * src/URIResult.cc
  7442. * src/URIResult.h
  7443. * src/main.cc
  7444. * src/option_processing.cc
  7445. * test/RequestGroupTest.cc
  7446. 2009-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7447. Applied AdaptiveURISelector patch from Aurelien Lefebvre. This
  7448. patch adds AdaptiveURISelector, which selects one of the bests
  7449. mirrors for first and reserved connections. For supplementary
  7450. ones, it returns mirrors which has not been tested yet, and if
  7451. each of them already tested, returns mirrors which has to be
  7452. tested again. Otherwise, it doesn't return anymore mirrors.
  7453. * src/AdaptiveURISelector.cc
  7454. * src/AdaptiveURISelector.h
  7455. * src/FtpNegotiationCommand.cc
  7456. * src/HttpResponseCommand.cc
  7457. * src/Makefile.am
  7458. * src/Makefile.in
  7459. * src/OptionHandlerFactory.cc
  7460. * src/RequestGroup.cc
  7461. * src/RequestGroup.h
  7462. * src/RequestGroupMan.cc
  7463. * src/ServerStat.cc
  7464. * src/ServerStat.h
  7465. * src/ServerStatMan.cc
  7466. * src/SpeedCalc.cc
  7467. * src/URISelector.h
  7468. * src/prefs.cc
  7469. * src/prefs.h
  7470. * test/RequestGroupManTest.cc
  7471. * test/ServerStatManTest.cc
  7472. * test/ServerStatTest.cc
  7473. 2009-01-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7474. Fixed unit test error.
  7475. * test/HttpResponseTest.cc (HttpResponseTest::testRetrieveCookie)
  7476. 2008-12-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7477. * Release 1.1.2
  7478. 2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7479. Updated Russian translation. Thanks to the translators.
  7480. * po/ru.po
  7481. 2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7482. Added the description of --use-head option to man page.
  7483. * doc/aria2c.1.txt
  7484. 2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7485. Bump up version number to 1.1.2
  7486. * configure.ac
  7487. 2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7488. Added --use-head option to toggle whether HEAD method should be
  7489. used in the first HTTP request. By default aria2 uses HEAD method
  7490. as the first request. When the server doesn't recognize HEAD, then
  7491. give aria2 --use-head=false to force aria2 to use GET method
  7492. instead.
  7493. * src/OptionHandlerFactory.cc
  7494. * src/RequestGroupMan.cc
  7495. * src/option_processing.cc
  7496. * src/prefs.cc
  7497. * src/prefs.h
  7498. * src/usage_text.h
  7499. 2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7500. Fixed the bug that BitTorrent download doesn't finish when REJECT
  7501. message is received before CHOKE message. The old implementation
  7502. doen't clear the use-bit of the piece when recieved REJECT
  7503. message.
  7504. * src/DefaultBtMessageDispatcher.cc
  7505. * test/DefaultBtMessageDispatcherTest.cc
  7506. 2008-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7507. * Release 1.1.1
  7508. 2008-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7509. Bump up version number to 1.1.1.
  7510. * configure.ac
  7511. 2008-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7512. Fixed the bug that --summary-interval=0 doesn't work. The summary
  7513. is printed repeatedly.
  7514. * src/ConsoleStatCalc.cc
  7515. 2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7516. * Release 1.1.0
  7517. 2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7518. Added ifdef clause for conditional compilation.
  7519. * src/main.cc
  7520. 2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7521. Updated Russian, Simplified Chinese, Ukrainian and Japanese
  7522. translations. Thanks to all translators.
  7523. * po/ja.po
  7524. * po/ru.po
  7525. * po/uk.po
  7526. * po/zh_CN.po
  7527. 2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7528. Added the preceding ">>> " before the message "Printing the
  7529. contents of file..." to make the output more readable.
  7530. * src/main.cc
  7531. 2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7532. Added try-catch block in the loop in showFiles() to continue the
  7533. operation even if the exception occurred in one file.
  7534. * src/main.cc (showFiles)
  7535. 2008-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7536. Made messages in showFiles() translatable.
  7537. * po/aria2.pot
  7538. * src/main.cc
  7539. * src/message.h
  7540. 2008-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7541. Print the contents of Torrent/Metalink files are printed without
  7542. -T/-M options.
  7543. * src/main.cc
  7544. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7545. Escaped '--' with '\--'
  7546. * README
  7547. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7548. Updated "How to build" section in README. Mentioned about
  7549. --with-ca-bundle compile option.
  7550. * README
  7551. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7552. Bump up version number to 1.1.0.
  7553. * configure.ac
  7554. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7555. Added a note for --dht-listen-port option.
  7556. * doc/aria2c.1.txt
  7557. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7558. Update doc for --realtime-chunk-checksum option.
  7559. * doc/aria2c.1.txt
  7560. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7561. Update doc for --realtime-chunk-checksum option.
  7562. * src/usage_text.h
  7563. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7564. Updated French, Japanese, Russian and Ukrainian translations.
  7565. Thanks to all translators.
  7566. * po/fr.po
  7567. * po/ja.po
  7568. * po/ru.po
  7569. * po/uk.po
  7570. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7571. Renamed aria2c.pot to aria2.pot
  7572. * po/aria2.pot
  7573. * po/aria2c.pot: Removed.
  7574. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7575. Removed MetaEntry.h
  7576. * src/Makefile.am
  7577. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7578. Rename file by appending digits if a local file exists and its
  7579. file size is larger than that of remote file with --continue
  7580. option. The old implementation just throws exception in such case.
  7581. * src/RequestGroup.cc
  7582. 2008-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7583. Fixed the bug that download progress summary is not printed in the
  7584. interval specified by the option.
  7585. * src/ConsoleStatCalc.cc
  7586. * src/ConsoleStatCalc.h
  7587. 2008-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7588. Fixed compiler warning
  7589. * src/Cookie.cc
  7590. 2008-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7591. Fixed the cookie implementation based on RFC2965.
  7592. Now if a value in domain field is not started with dot, then
  7593. prepend dot. That means a cookie with domain=sf.net is sent to
  7594. wiki.sf.net.
  7595. * src/Cookie.cc
  7596. * test/CookieParserTest.cc
  7597. * test/CookieStorageTest.cc
  7598. * test/CookieTest.cc
  7599. * test/NsCookieParserTest.cc
  7600. * test/Sqlite3MozCookieParserTest.cc
  7601. 2008-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7602. Fixed the bug that causes corrupted downloads if HTTP pipelining
  7603. is enabled and the server doesn't support keep-alive.
  7604. * src/AbstractCommand.cc
  7605. * src/DownloadCommand.cc
  7606. * src/HttpDownloadCommand.cc
  7607. * src/HttpDownloadCommand.h
  7608. * src/HttpResponseCommand.cc
  7609. * src/Request.cc
  7610. * src/Request.h
  7611. * test/RequestTest.cc
  7612. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7613. Removed Dictionary/List/Data and its related classes.
  7614. * src/BencodeVisitor.cc: Removed.
  7615. * src/BencodeVisitor.h: Removed.
  7616. * src/Data.cc: Removed.
  7617. * src/Data.h: Removed.
  7618. * src/Dictionary.cc: Removed.
  7619. * src/Dictionary.h: Removed.
  7620. * src/List.cc: Removed.
  7621. * src/List.h: Removed.
  7622. * src/Makefile.am
  7623. * src/MetaEntry.h: Removed.
  7624. * src/MetaEntryVisitor.h: Removed.
  7625. * src/MetaFileUtil.cc: Removed.
  7626. * src/MetaFileUtil.h: Removed.
  7627. * test/BencodeVisitorTest.cc: Removed.
  7628. * test/DataTest.cc: Removed.
  7629. * test/DictionaryTest.cc: Removed.
  7630. * test/ListTest.cc: Removed.
  7631. * test/Makefile.am
  7632. * test/MetaFileUtilTest.cc: Removed.
  7633. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7634. Removed include of MetaEntry.h
  7635. * test/DHTMessageTrackerEntryTest.cc
  7636. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7637. Use BDE instead of Dictionary/List/Data.
  7638. * src/AnnounceList.cc
  7639. * src/AnnounceList.h
  7640. * test/AnnounceListTest.cc
  7641. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7642. Use BDE instead of Dictionary/List/Data.
  7643. * src/DHTAbstractMessage.cc
  7644. * src/DHTAbstractMessage.h
  7645. * src/DHTAnnouncePeerMessage.cc
  7646. * src/DHTAnnouncePeerMessage.h
  7647. * src/DHTAnnouncePeerReplyMessage.cc
  7648. * src/DHTAnnouncePeerReplyMessage.h
  7649. * src/DHTFindNodeMessage.cc
  7650. * src/DHTFindNodeMessage.h
  7651. * src/DHTFindNodeReplyMessage.cc
  7652. * src/DHTFindNodeReplyMessage.h
  7653. * src/DHTGetPeersMessage.cc
  7654. * src/DHTGetPeersMessage.h
  7655. * src/DHTGetPeersReplyMessage.cc
  7656. * src/DHTGetPeersReplyMessage.h
  7657. * src/DHTMessageFactory.h
  7658. * src/DHTMessageFactoryImpl.cc
  7659. * src/DHTMessageFactoryImpl.h
  7660. * src/DHTMessageReceiver.cc
  7661. * src/DHTMessageTracker.cc
  7662. * src/DHTMessageTracker.h
  7663. * src/DHTPingMessage.cc
  7664. * src/DHTPingMessage.h
  7665. * src/DHTPingReplyMessage.cc
  7666. * src/DHTPingReplyMessage.h
  7667. * src/DHTQueryMessage.cc
  7668. * src/DHTQueryMessage.h
  7669. * src/DHTResponseMessage.cc
  7670. * src/DHTResponseMessage.h
  7671. * test/DHTAnnouncePeerMessageTest.cc
  7672. * test/DHTAnnouncePeerReplyMessageTest.cc
  7673. * test/DHTFindNodeMessageTest.cc
  7674. * test/DHTFindNodeReplyMessageTest.cc
  7675. * test/DHTGetPeersMessageTest.cc
  7676. * test/DHTGetPeersReplyMessageTest.cc
  7677. * test/DHTMessageFactoryImplTest.cc
  7678. * test/DHTMessageTrackerTest.cc
  7679. * test/DHTPingMessageTest.cc
  7680. * test/DHTPingReplyMessageTest.cc
  7681. * test/MockDHTMessageFactory.h
  7682. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7683. Added tests the case where length < 0 is specified.
  7684. * test/BencodeTest.cc
  7685. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7686. Fixed memory leak in decoderawstring()
  7687. * src/bencode.cc
  7688. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7689. Added missing #ifdef guard. Added uc() function for String and
  7690. removeKey() for Dict.
  7691. * src/bencode.cc
  7692. * src/bencode.h
  7693. * test/BencodeTest.cc
  7694. 2008-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7695. Use BDE instead of Dictionary/List/Data.
  7696. * src/HandshakeExtensionMessage.cc
  7697. * src/HandshakeExtensionMessage.h
  7698. * test/HandshakeExtensionMessageTest.cc
  7699. 2008-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7700. Added --max-overall-upload-limit option. This option limits the
  7701. overall upload speed. Stated in help message that the existing
  7702. --max-upload-limit option limits the upload speed per each
  7703. torrent. Man page is also updated.
  7704. * doc/aria2c.1.txt
  7705. * src/DefaultBtMessageDispatcher.cc
  7706. * src/DefaultBtMessageDispatcher.h
  7707. * src/OptionHandlerFactory.cc
  7708. * src/PeerInteractionCommand.cc
  7709. * src/option_processing.cc
  7710. * src/prefs.cc
  7711. * src/prefs.h
  7712. * src/usage_text.h
  7713. 2008-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7714. Use BDE instead of Dictionary/List/Data classes.
  7715. * src/CompactPeerListProcessor.cc
  7716. * src/CompactPeerListProcessor.h
  7717. * src/DefaultBtAnnounce.cc
  7718. * src/DefaultBtContext.cc
  7719. * src/DefaultBtContext.h
  7720. * src/DefaultPeerListProcessor.cc
  7721. * src/DefaultPeerListProcessor.h
  7722. * src/DelegatingPeerListProcessor.cc
  7723. * src/DelegatingPeerListProcessor.h
  7724. * src/PeerListProcessor.h
  7725. * src/UTPexExtensionMessage.cc
  7726. * src/Util.h
  7727. * src/message.h
  7728. * test/DefaultBtContextTest.cc
  7729. * test/DefaultPeerListProcessorTest.cc
  7730. 2008-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7731. Added bencode helper functions and BDE class.
  7732. They will replace MetaFileUtil and Dictionary/List/Data classes.
  7733. * src/Makefile.am
  7734. * src/bencode.cc
  7735. * src/bencode.h
  7736. * test/BencodeTest.cc
  7737. * test/Makefile.am
  7738. 2008-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7739. Fixed the bug that bad URI is sent to the tracker when the announe
  7740. URI in torrent file includes query.
  7741. * src/DefaultBtAnnounce.cc
  7742. * test/DefaultBtAnnounceTest.cc
  7743. 2008-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7744. Added Option::blank().
  7745. Use !Option::blank(name) instead of Option::defined(name) for
  7746. the options that take filename.
  7747. * src/MultiUrlRequestInfo.cc
  7748. * src/Option.cc
  7749. * src/Option.h
  7750. * src/main.cc
  7751. * src/option_processing.cc
  7752. * test/OptionTest.cc
  7753. 2008-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7754. Documented the default value of --check-certificate option in man
  7755. page.
  7756. * doc/aria2c.1.txt
  7757. 2008-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7758. Enabled --check-certificate by default. Added compile
  7759. time(configure) option --with-ca-bundle to specify CA bundle.
  7760. Warn if --check-certificate=true and --ca-certificate is not
  7761. specified or loading CA certificate is failed.
  7762. * configure.ac
  7763. * src/MultiUrlRequestInfo.cc
  7764. * src/OptionHandlerFactory.cc
  7765. * src/message.h
  7766. 2008-12-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7767. Mentioned https tag in help option.
  7768. * doc/aria2c.1.txt
  7769. 2008-12-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7770. Added `https' tag to help option category. Added https tag to
  7771. --ca-certificate, --certificate, --check-certificate and
  7772. --private-key option.
  7773. * src/OptionHandlerFactory.cc
  7774. * src/help_tags.h
  7775. * src/option_processing.cc
  7776. 2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7777. Changed the package name from `aria2c' to `aria2' in order to fix
  7778. the packaging issue in Debian and Fedora. The name of the
  7779. executable is not changed.
  7780. * configure.ac
  7781. 2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7782. Fixed typos
  7783. * src/usage_text.h
  7784. 2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7785. Fixed typos and updated doc.
  7786. * README
  7787. 2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7788. Fixed typos
  7789. * doc/aria2c.1.txt
  7790. 2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7791. Fixed typos
  7792. * src/usage_text.h
  7793. 2008-11-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7794. Print a message when no files to download.
  7795. * src/download_helper.cc
  7796. * src/main.cc
  7797. * src/message.h
  7798. 2008-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7799. RFC3986 complied Percent-Encoding(urlencode).
  7800. Use uppercase hexadecimal digits for encoded text instead of lowercase
  7801. ones.
  7802. * src/Request.cc
  7803. * src/Util.cc
  7804. * src/Util.h
  7805. * test/BtHandshakeMessageTest.cc
  7806. * test/DefaultBtAnnounceTest.cc
  7807. * test/DefaultBtContextTest.cc
  7808. * test/RequestTest.cc
  7809. * test/UtilTest.cc
  7810. 2008-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7811. Fixed the bug that prevents aria2 from downloading 0-length files
  7812. via HTTP/FTP.
  7813. * src/DefaultBtContext.cc
  7814. * src/DefaultBtContext.h
  7815. * src/DownloadContext.h
  7816. * src/FtpNegotiationCommand.cc
  7817. * src/HttpResponseCommand.cc
  7818. * src/HttpResponseCommand.h
  7819. * src/RequestGroup.cc
  7820. * src/SingleFileDownloadContext.cc
  7821. * src/SingleFileDownloadContext.h
  7822. * test/BtPostDownloadHandlerTest.cc
  7823. * test/MetalinkPostDownloadHandlerTest.cc
  7824. * test/MockBtContext.h
  7825. 2008-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7826. Fixed the bug that -pfalse and -ptrue are not recognized properly.
  7827. * src/option_processing.cc
  7828. 2008-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7829. Applied aria2-1.0.1-mingw.patch.
  7830. Use SOCKET_ERRNO instead of errno if the code is used both linux and
  7831. mingw.
  7832. Collected 4th and 5th argument types for getsockopt and setsockopt.
  7833. * src/SocketCore.cc
  7834. * src/a2netcompat.h
  7835. * test/SocketCoreTest.cc
  7836. 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7837. * Release 1.0.1
  7838. 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7839. Updated Ukrainian and Norwegian Nynorsk translations.
  7840. Thanks to all translators.
  7841. * po/nn.po
  7842. * po/uk.po
  7843. 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7844. Don't show download result when -S option is used.
  7845. * src/main.cc
  7846. 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7847. Bump up version number to 1.0.1
  7848. * configure.ac
  7849. 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7850. Closed files after the test cases in MultiDiskWriterTest::
  7851. testResetDiskWriterEntries(). This will fix the unit test error
  7852. in mingw32 build.
  7853. * test/MultiDiskWriterTest.cc
  7854. 2008-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7855. Use HEAD method to get file size from HTTP server for segmented
  7856. downloading.
  7857. The request to the BitTorrent Tracker always uses GET method because
  7858. the response of the tracker is small and it doesn't need segmented
  7859. download.
  7860. * src/FtpNegotiationCommand.cc
  7861. * src/HttpRequest.cc
  7862. * src/HttpResponseCommand.cc
  7863. * src/HttpSkipResponseCommand.cc
  7864. * src/RequestGroup.cc
  7865. * src/RequestGroup.h
  7866. * src/TrackerWatcherCommand.cc
  7867. * test/HttpRequestTest.cc
  7868. 2008-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7869. Fixed the bug that causes floating exception when -T option is used and
  7870. no URIs are given.
  7871. * src/download_helper.cc
  7872. * test/DownloadHelperTest.cc
  7873. 2008-11-22 Ross Smith II <aria2spam at smithii dot com>
  7874. Applied aria2-1.0.0-mingw-r5.patch to fix numerous compile/unit test
  7875. errors in MinGW:
  7876. Closed file after saving server stats (RequestGroupMan.cc)
  7877. Fixed time parsing if internal strptime() is missing (FtpConnection.cc)
  7878. Ignored case & handled 2-digit years (strptime.c)
  7879. Added missing suseconds_t definition (a2time.h)
  7880. Fixed socket CLOSE() define (SocketCore.cc)
  7881. Changed EINPROGRESS to A2_EINPROGRESS (SocketCore.cc)
  7882. Changed utime() test values from x000 to x00000 as MinGW failed on
  7883. values less than timezone offset from Unix epoch
  7884. Changed 'struct stat' to 'a2_struct_stat' (FileTest.cc)
  7885. Added waitRead() call prior to reading socket (FtpConnectionTest.cc)
  7886. Changed date from 01-Jan-1960 to 01-Jan-1970 00:00:01 as MinGW can't
  7887. handle negative dates (CookieParserTest.cc)
  7888. * src/a2time.h
  7889. * src/FtpConnection.cc
  7890. * src/RequestGroupMan.cc
  7891. * src/SocketCore.cc
  7892. * src/strptime.c
  7893. * test/CookieParserTest.cc
  7894. * test/CopyDiskAdaptorTest.cc
  7895. * test/FileTest.cc
  7896. * test/FtpConnectionTest.cc
  7897. * test/MultiDiskAdaptorTest.cc
  7898. 2008-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7899. Fixed typo in "OPTIONS THAT TAKE AN OPTIONAL ARGUMENT" section.
  7900. * doc/aria2c.1.txt
  7901. 2008-11-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7902. * Release 1.0.0
  7903. 2008-11-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7904. Added '~' to reserved characters.
  7905. * src/Util.cc
  7906. 2008-11-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7907. Do not urlencode Request::url in setUrl() because we want unmodified
  7908. URL using Request::getUrl()
  7909. * src/Request.cc
  7910. * src/Request.h
  7911. * test/RequestTest.cc
  7912. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7913. Updated Ukrainian, Japanese, Bulgarian, Russian and French translations.
  7914. Thanks to all translators.
  7915. * po/bg.po
  7916. * po/fr.po
  7917. * po/ja.po
  7918. * po/ru.po
  7919. * po/uk.po
  7920. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7921. Bump up version number to 1.0.0
  7922. * configure.ac
  7923. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7924. Added nosqlite3 build to build_test.sh.
  7925. Renamed noxml as expat.
  7926. * build_test.sh
  7927. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7928. Updated INPUT FILE section.
  7929. * doc/aria2c.1.txt
  7930. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7931. Excluded testLoad_compat() and testLoad_nonBt_compat() when compiled
  7932. on big endian systems because test .aria2 files are made for little
  7933. endian systems.
  7934. * test/DefaultBtProgressInfoFileTest.cc
  7935. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7936. Dropped ares support.
  7937. * README
  7938. * configure.ac
  7939. * m4/libares.m4: Removed.
  7940. * src/AsyncNameResolver.cc
  7941. * src/Makefile.am
  7942. * test/Makefile.am
  7943. 2008-11-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7944. Rewritten ByteArrayDiskWriter::size() using seekg() and tellg().
  7945. Removed const qualifier from DiskWriter::size().
  7946. * src/AbstractDiskWriter.cc
  7947. * src/AbstractDiskWriter.h
  7948. * src/ByteArrayDiskWriter.cc
  7949. * src/ByteArrayDiskWriter.h
  7950. * src/DiskWriter.h
  7951. * test/ByteArrayDiskWriterTest.cc
  7952. 2008-11-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7953. Fixed the bug that causes segmentation fault/bus error during executing
  7954. choking algorithm while seeding. This is caused by improper
  7955. implementation of compare function which returns inconsistent results
  7956. depending on the timing of last unchoke.
  7957. * src/BtSeederStateChoke.cc
  7958. * src/BtSeederStateChoke.h
  7959. * src/DefaultPeerStorage.cc
  7960. 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7961. Removed TODO
  7962. * TODO
  7963. 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7964. Added a section that explains how to pass argument to options that
  7965. takes optional arguments with its short form.
  7966. * doc/aria2c.1.txt
  7967. 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7968. Added -u for the short form of --max-upload-limit option.
  7969. * doc/aria2c.1.txt
  7970. * src/option_processing.cc
  7971. * src/usage_text.h
  7972. 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7973. Added -V for the short form of --check-integrity option.
  7974. Now the argument of --check-integrity option is optional:
  7975. if it is omitted, it is evaluated as true.
  7976. * doc/aria2c.1.txt
  7977. * src/option_processing.cc
  7978. * src/usage_text.h
  7979. 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7980. Made the default value of --ftp-pasv option set to true and it can take
  7981. true/false values.
  7982. * src/OptionHandlerFactory.cc
  7983. * src/option_processing.cc
  7984. * src/usage_text.h
  7985. * doc/aria2c.1.txt
  7986. 2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7987. Given custom random number generator to std::random_shuffle.
  7988. * src/AnnounceList.cc
  7989. * src/BtLeecherStateChoke.cc
  7990. * src/BtSeederStateChoke.cc
  7991. * src/DefaultBtRequestFactory.cc
  7992. * src/MetalinkEntry.cc
  7993. * src/RarestPieceSelector.cc
  7994. * src/SimpleRandomizer.cc
  7995. * src/SimpleRandomizer.h
  7996. 2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7997. Now the default value of --enable-direct-io is true.
  7998. * src/OptionHandlerFactory.cc
  7999. * doc/aria2c.1.txt
  8000. 2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8001. Erase peer before executing onReturningPeer and onErasingPeer
  8002. because choking algorithm called from onReturningPeer doesn't
  8003. like erasing peer in the active peer list.
  8004. * src/DefaultPeerStorage.cc
  8005. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8006. Instead of creating special filename in createDownloadResult() if
  8007. inMemoryDownload() is true, now it is done in getFilePath().
  8008. * src/RequestGroup.cc
  8009. * test/RequestGroupTest.cc
  8010. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8011. Print "[MEMORY]" and filename if a file is not saved in disk and just
  8012. processed in memory. This is the fix for previous comment out.
  8013. * src/MemoryBufferPreDownloadHandler.cc
  8014. * src/RequestGroup.cc
  8015. * src/RequestGroup.h
  8016. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8017. Commented out the code which sets virtual directory path "[MEMORY]"
  8018. propagate directory to store to following RequestGroup.
  8019. * src/MemoryBufferPreDownloadHandler.cc
  8020. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8021. Bump up version number to 1.0.0b
  8022. * configure.ac
  8023. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8024. Added input_uris.txt to EXTRA_DIST
  8025. * test/Makefile.am
  8026. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8027. Removed PeerObject.h from Makefile.am
  8028. * src/Makefile.am
  8029. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8030. Avoid slow seeding
  8031. * src/PeerInteractionCommand.cc
  8032. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8033. Updated usage for -i option.
  8034. * src/usage_text.h (TEXT_INPUT_FILE)
  8035. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8036. Added INPUT FILE section to man page.
  8037. Escaped fake URLs.
  8038. * doc/aria2c.1.txt
  8039. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8040. Fixed wrong note position for -o option.
  8041. * doc/aria2c.1.txt
  8042. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8043. Fixed compile error without SSL/XML library.
  8044. * src/DefaultBtProgressInfoFile.cc
  8045. * src/DefaultBtProgressInfoFile.h
  8046. * src/FileMetalinkParserState.cc
  8047. * src/RequestGroup.h
  8048. * src/SocketCore.cc
  8049. * src/SocketCore.h
  8050. * src/VerificationMetalinkParserState.cc
  8051. * src/download_helper.h
  8052. * src/main.cc
  8053. * test/DefaultBtProgressInfoFileTest.cc
  8054. * test/DownloadHelperTest.cc
  8055. 2008-11-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8056. Rewritten URI handling functions. They are now provided as a testable
  8057. functions.
  8058. * src/Makefile.am
  8059. * src/RequestGroup.cc
  8060. * src/RequestGroup.h
  8061. * src/download_helper.cc
  8062. * src/download_helper.h
  8063. * src/main.cc
  8064. * test/DownloadHelperTest.cc
  8065. * test/Makefile.am
  8066. * test/input_uris.txt
  8067. 2008-11-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8068. Quickly terminate commands when ctrl-c is pressed.
  8069. * src/DownloadEngine.cc
  8070. 2008-11-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8071. Quickly terminate idle commands when download finished.
  8072. * src/AbstractCommand.cc
  8073. * src/DownloadCommand.cc
  8074. * src/DownloadEngine.cc
  8075. * src/DownloadEngine.h
  8076. * src/SleepCommand.cc
  8077. * src/SleepCommand.h
  8078. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8079. Added the ability to specify output filename and directory in input
  8080. file.
  8081. Additional parameters are added in the following line of URIs
  8082. with proceeding white space(s), 1 parameter in 1 line.
  8083. The parameter names are the same with the command-line option name
  8084. without proceeding "--". Not all the options are available here:
  8085. at the moment, 'dir' and 'out' options are avialable.
  8086. Please note that out option has no effect against Metalink or BitTorrent
  8087. downloads.
  8088. Example input file:
  8089. http://host/foo-1.1.tar.bz2
  8090. out=foo.tar.bz2
  8091. dir=/tmp/downloads
  8092. http://host/thundermonkey-2.0.tar.bz2
  8093. And then invoke 'aria2c -i url.txt --dir ~/mydownloads'.
  8094. foo-1.1.tar.bz2 is saved as /tmp/downloads/foo.tar.bz2, whereas
  8095. thundermonkey-2.0.tar.bz2 is saved as
  8096. ~/mydownloads/thundermonkey-2.0.tar.bz2.
  8097. * src/BtPostDownloadHandler.cc
  8098. * src/Metalink2RequestGroup.cc
  8099. * src/Metalink2RequestGroup.h
  8100. * src/MetalinkPostDownloadHandler.cc
  8101. * src/UriListParser.cc
  8102. * src/UriListParser.h
  8103. * src/main.cc
  8104. * test/Metalink2RequestGroupTest.cc
  8105. * test/UriListParserTest.cc
  8106. * test/filelist1.txt
  8107. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8108. Fixed error when SSL library is not found.
  8109. * configure.ac
  8110. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8111. Cross referenced among -s, -C and -j options.
  8112. Updated usage of -C and -s options.
  8113. * src/usage_text.h
  8114. * doc/aria2c.1.txt
  8115. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8116. Fixed bad cast in 32bit platforms.
  8117. * test/DefaultPieceStorageTest.cc
  8118. (DefaultPieceStorageTest::testGetCompletedLength)
  8119. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8120. Fixed unit test fails on 32bit platforms.
  8121. * test/CookieParserTest.cc
  8122. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8123. Show an average download speed in Download results.
  8124. * src/BtFileAllocationEntry.cc
  8125. * src/DefaultPieceStorage.cc
  8126. * src/DownloadContext.cc
  8127. * src/DownloadContext.h
  8128. * src/DownloadResult.h
  8129. * src/RequestGroup.cc
  8130. * src/RequestGroupMan.cc
  8131. * src/StreamFileAllocationEntry.cc
  8132. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8133. Fixed the bug that metalink file is not processed if Content-Type
  8134. field has a paramter.
  8135. * src/HttpResponse.cc
  8136. * src/HttpResponse.h
  8137. * test/HttpResponseTest.cc
  8138. 2008-11-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8139. Removed unused code.
  8140. * src/DefaultBtAnnounce.cc
  8141. 2008-11-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8142. Fixed the bug that DefaultPieceStorage::getCompletedLength() returns
  8143. the value larger than DefaultPieceStorage::getTotalLength() when
  8144. in flight pieces are involved.
  8145. * src/DefaultPieceStorage.cc
  8146. * test/DefaultPieceStorageTest.cc
  8147. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8148. Bump up version number to 1.0.0a.
  8149. * configure.ac
  8150. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8151. Updated configure.ac
  8152. * configure.ac
  8153. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8154. Added usege for proxy.
  8155. * doc/aria2c.1.txt
  8156. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8157. Added usage for --ca-certificate, --certificate, --private-key and
  8158. --check-certificate options.
  8159. * doc/aria2c.1.txt
  8160. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8161. Updated man page
  8162. * doc/aria2c.1.txt
  8163. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8164. Added --no-proxy option. It receives comman separated hostname or
  8165. domains to which proxy should not be used.
  8166. aria2 honors the environment variable no_proxy to override no-proxy
  8167. value in configuration file. The user can override the environment
  8168. variable no_proxy with --no-proxy command-line option.
  8169. * src/AbstractCommand.cc
  8170. * src/OptionHandlerFactory.cc
  8171. * src/option_processing.cc
  8172. * src/prefs.cc
  8173. * src/prefs.h
  8174. * src/usage_text.h
  8175. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8176. Added the ability to verify peer in SSL/TLS using given CA certificates.
  8177. The CA certificates are specified in --ca-certificate option.
  8178. By default, the verification is disabled. Use --check-certificate
  8179. option to enable it.
  8180. * src/HttpRequestCommand.cc
  8181. * src/LibgnutlsTLSContext.cc
  8182. * src/LibgnutlsTLSContext.h
  8183. * src/LibsslTLSContext.cc
  8184. * src/LibsslTLSContext.h
  8185. * src/MultiUrlRequestInfo.cc
  8186. * src/OptionHandlerFactory.cc
  8187. * src/SocketCore.cc
  8188. * src/SocketCore.h
  8189. * src/a2functional.h
  8190. * src/message.h
  8191. * src/option_processing.cc
  8192. * src/prefs.cc
  8193. * src/prefs.h
  8194. * src/usage_text.h
  8195. 2008-11-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8196. Added client certificate authentication for SSL/TLS.
  8197. Currently a private key must be decrypted for use with aria2.
  8198. If a user accidentally gives encrypted file to aria2 then following
  8199. thing happens:
  8200. If encrypted private key is given to aria2, it behaves differently
  8201. depending on the ssl library it uses. If aria2 built with openssl then
  8202. openssl prompts the user for password. If aria2 build with gnutls then
  8203. aria2 exists with error at start up.
  8204. * src/DownloadEngineFactory.cc
  8205. * src/MultiUrlRequestInfo.cc
  8206. * src/OptionHandlerFactory.cc
  8207. * src/option_processing.cc
  8208. * src/prefs.cc
  8209. * src/prefs.h
  8210. * src/usage_text.h
  8211. 2008-11-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8212. Introduced TLSContext that holds TLS related data that can be shared
  8213. with multiple SSL connections.
  8214. * src/DownloadEngineFactory.cc
  8215. * src/LibgnutlsTLSContext.cc
  8216. * src/LibgnutlsTLSContext.h
  8217. * src/LibsslTLSContext.cc
  8218. * src/LibsslTLSContext.h
  8219. * src/Makefile.am
  8220. * src/SocketCore.cc
  8221. * src/SocketCore.h
  8222. * src/TLSContext.h
  8223. * src/message.h
  8224. 2008-11-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8225. Fixed the bug that the DiskWriter of the first FileEntry whose
  8226. `needsFileAllocation' property is false is not created
  8227. even if it shares a piece with next FileEntry which `requested' property
  8228. is true.
  8229. Fixed the bug that zero-length file is not created if pre file
  8230. allocation is not done.
  8231. * src/MultiDiskAdaptor.cc
  8232. * src/MultiDiskAdaptor.h
  8233. * test/MultiDiskAdaptorTest.cc
  8234. 2008-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8235. Added the ability to pool proxy connection.
  8236. The conneciton in FTP with proxy-method=GET is not pooled.
  8237. Proxy-Connection header will not be sent when sending CONNECT method.
  8238. * src/DownloadEngine.cc
  8239. * src/DownloadEngine.h
  8240. * src/FtpFinishDownloadCommand.cc
  8241. * src/FtpInitiateConnectionCommand.cc
  8242. * src/FtpNegotiationCommand.cc
  8243. * src/HttpDownloadCommand.cc
  8244. * src/HttpInitiateConnectionCommand.cc
  8245. * src/HttpRequest.cc
  8246. * src/HttpRequest.h
  8247. * src/HttpResponse.cc
  8248. * src/HttpSkipResponseCommand.cc
  8249. * test/HttpRequestTest.cc
  8250. * test/HttpResponseTest.cc
  8251. 2008-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8252. Handle date before epoch.
  8253. To create *bad* Time object, call Time::null().
  8254. * src/CookieParser.cc
  8255. * src/FtpConnection.cc
  8256. * src/FtpConnection.h
  8257. * src/FtpNegotiationCommand.cc
  8258. * src/RequestGroup.cc
  8259. * src/TimeA2.cc
  8260. * src/TimeA2.h
  8261. * test/CookieParserTest.cc
  8262. * test/FtpConnectionTest.cc
  8263. * test/TimeTest.cc
  8264. 2008-11-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8265. Added support for following envrionment variables: http_proxy,
  8266. https_proxy, ftp_proxy and all_proxy.
  8267. Each variable is equivalent to the aria2 option whose name is the
  8268. variable name with '_' replaced with '-'.
  8269. They overrides options specified in aria2.conf file.
  8270. The envrionment variables can be overrode using command-line option.
  8271. * src/option_processing.cc
  8272. 2008-11-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8273. Renamed --http-proxy-method as --proxy-method.
  8274. * src/AbstractCommand.cc
  8275. * src/FtpInitiateConnectionCommand.cc
  8276. * src/HttpInitiateConnectionCommand.cc
  8277. * src/OptionHandlerFactory.cc
  8278. * src/option_processing.cc
  8279. * src/prefs.cc
  8280. * src/prefs.h
  8281. * src/usage_text.h
  8282. 2008-11-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8283. Deprecated --http-proxy-user and --http-proxy-passwd options.
  8284. Added --https-proxy, --ftp-proxy and --all-proxy options.
  8285. Above 3 options and --http-proxy option can handle proxy in URL format
  8286. like: http://user:passwd@host:port.
  8287. If a proxy requires user/password, they must be specified in a URL.
  8288. Deprecated --ftp-via-http-proxy option. Use --http-proxy-method option
  8289. instead.
  8290. * src/AbstractCommand.cc
  8291. * src/AbstractCommand.h
  8292. * src/AbstractProxyRequestCommand.cc
  8293. * src/AbstractProxyRequestCommand.h
  8294. * src/AuthConfigFactory.cc
  8295. * src/AuthConfigFactory.h
  8296. * src/FtpFinishDownloadCommand.cc
  8297. * src/FtpInitiateConnectionCommand.cc
  8298. * src/FtpInitiateConnectionCommand.h
  8299. * src/FtpNegotiationCommand.cc
  8300. * src/FtpTunnelRequestCommand.cc
  8301. * src/FtpTunnelRequestCommand.h
  8302. * src/HttpDownloadCommand.cc
  8303. * src/HttpInitiateConnectionCommand.cc
  8304. * src/HttpInitiateConnectionCommand.h
  8305. * src/HttpProxyRequestCommand.cc
  8306. * src/HttpProxyRequestCommand.h
  8307. * src/HttpRequest.cc
  8308. * src/HttpRequest.h
  8309. * src/HttpRequestCommand.cc
  8310. * src/HttpRequestCommand.h
  8311. * src/HttpSkipResponseCommand.cc
  8312. * src/InitiateConnectionCommand.cc
  8313. * src/InitiateConnectionCommand.h
  8314. * src/OptionHandlerFactory.cc
  8315. * src/OptionHandlerImpl.h
  8316. * src/Request.cc
  8317. * src/option_processing.cc
  8318. * src/prefs.cc
  8319. * src/prefs.h
  8320. * src/usage_text.h
  8321. * test/AuthConfigFactoryTest.cc
  8322. * test/HttpRequestTest.cc
  8323. * test/OptionHandlerTest.cc
  8324. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8325. Execute choking algorithm when unchoked and interested peer is
  8326. disconected.
  8327. * src/DefaultPeerStorage.cc
  8328. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8329. Added testcase for BtNotInterestedMessage from unchoked peer.
  8330. * test/BtNotInterestedMessageTest.cc
  8331. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8332. Execute choking algorithm when BtInterestedMessage arrives from
  8333. unchoked peer.
  8334. * src/BtInterestedMessage.cc
  8335. * src/BtInterestedMessage.h
  8336. * src/DefaultBtMessageFactory.cc
  8337. * test/BtInterestedMessageTest.cc
  8338. * test/MockPeerStorage.h
  8339. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8340. AuthConfigFactory is now part of DownloadEngine.
  8341. * src/AbstractProxyRequestCommand.cc
  8342. * src/AuthConfigFactory.h
  8343. * src/DownloadEngine.cc
  8344. * src/DownloadEngine.h
  8345. * src/FtpConnection.cc
  8346. * src/FtpConnection.h
  8347. * src/FtpNegotiationCommand.cc
  8348. * src/HttpConnection.cc
  8349. * src/HttpRequest.cc
  8350. * src/HttpRequest.h
  8351. * src/HttpRequestCommand.cc
  8352. * src/HttpResponse.cc
  8353. * src/HttpResponseCommand.cc
  8354. * src/HttpSkipResponseCommand.cc
  8355. * src/MultiUrlRequestInfo.cc
  8356. * src/main.cc
  8357. * test/FtpConnectionTest.cc
  8358. * test/HttpRequestTest.cc
  8359. * test/HttpResponseTest.cc
  8360. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8361. Corrected catched exception type.
  8362. * src/ServerStatMan.cc
  8363. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8364. DNSCache is now part of DownloadEngine.
  8365. * src/DNSCache.h
  8366. * src/DownloadEngine.cc
  8367. * src/DownloadEngine.h
  8368. * src/InitiateConnectionCommand.cc
  8369. * src/MultiUrlRequestInfo.cc
  8370. * test/Makefile.am
  8371. * test/Makefile.in
  8372. * test/SimpleDNSCacheTest.cc
  8373. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8374. Removed SingletonHolder of CUIDCounter. CUIDCounter is now part of
  8375. DownloadEngine.
  8376. * src/ActivePeerConnectionCommand.cc
  8377. * src/BtSetup.cc
  8378. * src/CUIDCounter.h
  8379. * src/DHTSetup.cc
  8380. * src/DownloadCommand.cc
  8381. * src/DownloadEngine.cc
  8382. * src/DownloadEngine.h
  8383. * src/DownloadEngineFactory.cc
  8384. * src/FileAllocationDispatcherCommand.cc
  8385. * src/InitiatorMSEHandshakeCommand.cc
  8386. * src/PeerInitiateConnectionCommand.cc
  8387. * src/PeerInteractionCommand.cc
  8388. * src/PeerListenCommand.cc
  8389. * src/RequestGroup.cc
  8390. * src/StreamFileAllocationEntry.cc
  8391. * src/TrackerWatcherCommand.cc
  8392. * src/main.cc
  8393. * test/RequestGroupManTest.cc
  8394. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8395. Implemented commented code in BtSeederStateChoke
  8396. * src/BtSeederStateChoke.cc
  8397. * src/Peer.cc
  8398. * src/Peer.h
  8399. * src/PeerInteractionCommand.cc
  8400. * src/PeerSessionResource.cc
  8401. * src/PeerSessionResource.h
  8402. * test/MockBtMessageDispatcher.h
  8403. * test/PeerSessionResourceTest.cc
  8404. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8405. Made BtRegistry non-static object. Now DownloadEngine has a reference to
  8406. its object.
  8407. * src/AbstractBtMessage.cc
  8408. * src/ActivePeerConnectionCommand.cc
  8409. * src/ActivePeerConnectionCommand.h
  8410. * src/BtContextAwareCommand.cc
  8411. * src/BtContextAwareCommand.h
  8412. * src/BtExtendedMessage.cc
  8413. * src/BtExtendedMessage.h
  8414. * src/BtInterestedMessage.cc
  8415. * src/BtInterestedMessage.h
  8416. * src/BtNotInterestedMessage.cc
  8417. * src/BtNotInterestedMessage.h
  8418. * src/BtRegistry.cc
  8419. * src/BtRegistry.h
  8420. * src/BtSeederStateChoke.cc
  8421. * src/BtSetup.cc
  8422. * src/DHTGetPeersCommand.cc
  8423. * src/DHTGetPeersCommand.h
  8424. * src/DHTPeerAnnounceEntry.cc
  8425. * src/DHTPeerAnnounceEntry.h
  8426. * src/DHTPeerAnnounceStorage.cc
  8427. * src/DHTPeerAnnounceStorage.h
  8428. * src/DHTPeerLookupTask.cc
  8429. * src/DHTPeerLookupTask.h
  8430. * src/DHTSetup.cc
  8431. * src/DHTSetup.h
  8432. * src/DHTTaskFactory.h
  8433. * src/DHTTaskFactoryImpl.cc
  8434. * src/DHTTaskFactoryImpl.h
  8435. * src/DefaultBtAnnounce.cc
  8436. * src/DefaultBtInteractive.cc
  8437. * src/DefaultBtInteractive.h
  8438. * src/DefaultBtMessageDispatcher.cc
  8439. * src/DefaultBtMessageDispatcher.h
  8440. * src/DefaultBtMessageFactory.cc
  8441. * src/DefaultBtMessageFactory.h
  8442. * src/DefaultBtMessageReceiver.cc
  8443. * src/DefaultBtProgressInfoFile.cc
  8444. * src/DefaultBtProgressInfoFile.h
  8445. * src/DefaultBtRequestFactory.cc
  8446. * src/DefaultBtRequestFactory.h
  8447. * src/DefaultExtensionMessageFactory.cc
  8448. * src/DefaultExtensionMessageFactory.h
  8449. * src/DefaultPeerStorage.cc
  8450. * src/DefaultPeerStorage.h
  8451. * src/DownloadEngine.cc
  8452. * src/DownloadEngine.h
  8453. * src/InitiatorMSEHandshakeCommand.cc
  8454. * src/InitiatorMSEHandshakeCommand.h
  8455. * src/MSEHandshake.cc
  8456. * src/MSEHandshake.h
  8457. * src/Makefile.am
  8458. * src/Makefile.in
  8459. * src/PeerChokeCommand.cc
  8460. * src/PeerChokeCommand.h
  8461. * src/PeerInitiateConnectionCommand.cc
  8462. * src/PeerInitiateConnectionCommand.h
  8463. * src/PeerInteractionCommand.cc
  8464. * src/PeerInteractionCommand.h
  8465. * src/PeerObject.h
  8466. * src/PeerReceiveHandshakeCommand.cc
  8467. * src/PeerReceiveHandshakeCommand.h
  8468. * src/ReceiverMSEHandshakeCommand.cc
  8469. * src/RequestGroup.cc
  8470. * src/RequestGroup.h
  8471. * src/RequestGroupMan.cc
  8472. * src/RequestGroupMan.h
  8473. * src/SeedCheckCommand.cc
  8474. * src/SeedCheckCommand.h
  8475. * src/ShareRatioSeedCriteria.h
  8476. * src/SimpleBtMessage.cc
  8477. * src/TrackerWatcherCommand.cc
  8478. * src/TrackerWatcherCommand.h
  8479. * src/UTPexExtensionMessage.cc
  8480. * src/UTPexExtensionMessage.h
  8481. * test/BtCancelMessageTest.cc
  8482. * test/BtChokeMessageTest.cc
  8483. * test/BtExtendedMessageTest.cc
  8484. * test/BtInterestedMessageTest.cc
  8485. * test/BtNotInterestedMessageTest.cc
  8486. * test/BtPieceMessageTest.cc
  8487. * test/BtPortMessageTest.cc
  8488. * test/BtRegistryTest.cc
  8489. * test/BtRejectMessageTest.cc
  8490. * test/BtRequestMessageTest.cc
  8491. * test/DHTPeerAnnounceEntryTest.cc
  8492. * test/DHTPeerAnnounceStorageTest.cc
  8493. * test/DefaultBtMessageDispatcherTest.cc
  8494. * test/DefaultBtMessageFactoryTest.cc
  8495. * test/DefaultBtProgressInfoFileTest.cc
  8496. * test/DefaultBtRequestFactoryTest.cc
  8497. * test/DefaultExtensionMessageFactoryTest.cc
  8498. * test/MSEHandshakeTest.cc
  8499. * test/MockDHTTaskFactory.h
  8500. * test/ShareRatioSeedCriteriaTest.cc
  8501. * test/UTPexExtensionMessageTest.cc
  8502. 2008-10-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8503. Fixed compiler warning.
  8504. * test/UtilTest.cc
  8505. 2008-10-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8506. Treat Cookie object as session cookie if expiry = 0 is given.
  8507. With this change, you can specify session scoped cookies in an external
  8508. file setting expiry value to 0.
  8509. * src/Cookie.cc
  8510. * src/Cookie.h
  8511. * test/CookieParserTest.cc
  8512. * test/CookieStorageTest.cc
  8513. * test/CookieTest.cc
  8514. 2008-10-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8515. Changed signature of DHTMessageFactory::createResponseMessage().
  8516. Removed unused validateIDMatch.
  8517. * src/DHTMessageFactory.h
  8518. * src/DHTMessageFactoryImpl.cc
  8519. * src/DHTMessageFactoryImpl.h
  8520. * src/DHTMessageTracker.cc
  8521. * test/DHTMessageFactoryImplTest.cc
  8522. * test/MockDHTMessageFactory.h
  8523. Dropped DHT message coming from same ID of localhost.
  8524. * src/DHTMessageReceiver.cc
  8525. Rejected adding node whose ID is the same as localhost's.
  8526. * src/DHTRoutingTable.cc
  8527. * test/BtPortMessageTest.cc
  8528. * test/DHTRoutingTableTest.cc
  8529. 2008-10-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8530. Pool connection when redirection occurs with Content-Length = 0.
  8531. * src/HttpSkipResponseCommand.cc
  8532. * src/HttpSkipResponseCommand.h
  8533. 2008-10-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8534. Fixed the bug that causes time out when redirection occurs with
  8535. content-length 0.
  8536. * src/HttpResponseCommand.cc
  8537. * src/HttpSkipResponseCommand.cc
  8538. * src/HttpSkipResponseCommand.h
  8539. 2008-10-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8540. Now each status legends is shown only when it appears in Download
  8541. Result. If Download Result has no item, then status legend will not
  8542. be printed.
  8543. * src/RequestGroupMan.cc
  8544. 2008-10-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8545. Removed duplicate creation of OptionHandlers.
  8546. * src/option_processing.cc
  8547. 2008-10-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8548. Fixed the bug that causes segmentation fault when accessing files which
  8549. don't exist or are not included in --select-file option while
  8550. validating chunk checksum.
  8551. * src/MultiDiskAdaptor.cc
  8552. 2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8553. Fixed compiler warning.
  8554. * test/UtilTest.cc
  8555. 2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8556. Included cstdlib. This fixed the compile error with g++-4.3.2.
  8557. * src/IteratableChecksumValidator.cc
  8558. * src/IteratableChunkChecksumValidator.cc
  8559. 2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8560. * Release 0.16.2
  8561. 2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8562. Added Serbian translation. Updated Ukrainian translation.
  8563. Thanks to all translators.
  8564. * po/sr.po
  8565. * po/uk.po
  8566. * po/LINGUAS
  8567. 2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8568. Bump up version number to 0.16.2
  8569. * configure.ac
  8570. 2008-10-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8571. Added length equality test to operator== to drop a piece message
  8572. whose length does not match to the requested one.
  8573. * src/RequestSlot.cc
  8574. * test/DefaultBtMessageDispatcherTest.cc
  8575. 2008-10-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8576. Fixed the bug that aria2 aborts when a request larger than 16KiB is
  8577. recieved.
  8578. In this fix, if a request larger than 16KiB length is received, aria2
  8579. disconnects the peer.
  8580. * src/BtConstants.h
  8581. * src/PeerMessageUtil.cc
  8582. * src/PeerMessageUtil.h
  8583. * test/BtRequestMessageTest.cc
  8584. 2008-10-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8585. * Release 0.16.1
  8586. 2008-10-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8587. Replaced '@' with 'at' in AUTHOR and REPORT BUG.
  8588. * doc/aria2c.1.txt
  8589. 2008-10-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8590. Added Ukrainian, Vietnamese, Traditional Chinese translations.
  8591. Updated French, Simplified Chinese and Japanese translations.
  8592. Thanks to all translators.
  8593. en@quot and en@boldquot are also added.
  8594. * po/LINGUAS
  8595. * po/fr.po
  8596. * po/ja.po
  8597. * po/uk.po
  8598. * po/vi.po
  8599. * po/zh_CN.po
  8600. * po/zh_TW.po
  8601. 2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8602. Bump up version number to 0.16.1.
  8603. * configure.ac
  8604. 2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8605. Updated README.
  8606. * README
  8607. 2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8608. Updated man page. Changed doctype of aria2c.1.html to manpage in order
  8609. not to replace '--' with em dash character.
  8610. * doc/aria2c.1.txt
  8611. * doc/makeman
  8612. 2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8613. Added --auto-save-interval=SEC option. A control file(*.aria2) is saved
  8614. every SEC seconds.
  8615. * src/DownloadEngineFactory.cc
  8616. * src/OptionHandlerFactory.cc
  8617. * src/option_processing.cc
  8618. * src/usage_text.h
  8619. 2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8620. Fixed compile warning on linux-amd64
  8621. * src/FtpConnection.cc
  8622. * src/IteratableChunkChecksumValidator.cc
  8623. * src/MultiDiskAdaptor.cc
  8624. Fixed the bug that unit test fails on linux-amd64
  8625. * test/UtilTest.cc
  8626. 2008-10-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8627. Added --dht-file-path option to change the path to dht.dat, which is a
  8628. serialized DHT routing table.
  8629. * src/OptionHandlerFactory.cc
  8630. * src/option_processing.cc
  8631. * src/usage_text.h
  8632. 2008-10-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8633. Fixed possible underflow.
  8634. * src/BitfieldMan.cc (BitfieldMan::getNthBitIndex)
  8635. 2008-10-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8636. Fixed the bug that last character in URI is not encoded.
  8637. * src/Request.cc
  8638. * test/RequestTest.cc
  8639. 2008-10-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8640. Fixed the bug that referer header field contains fragment.
  8641. Now Request class removes fragment part of URI and encodes it
  8642. in Request::setUri() and setReferer().
  8643. * src/Request.h
  8644. * src/Request.cc
  8645. * test/RequestTest.cc
  8646. 2008-10-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8647. Added missing m4 macros.
  8648. * m4/cppunit.m4
  8649. * m4/libgcrypt.m4
  8650. * m4/libgnutls-extra.m4
  8651. * m4/libgnutls.m4
  8652. * m4/libxml2.m4
  8653. 2008-10-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8654. Fixed compile error with gcc-4.4(snapshot)
  8655. * src/File.cc
  8656. * src/FtpConnection.cc
  8657. * src/OptionHandlerImpl.h
  8658. * src/Util.cc
  8659. 2008-10-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8660. Removed assert()
  8661. * src/SocketBuffer.cc (SocketBuffer::send)
  8662. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8663. Changed the type of _numNewConnection to unsigned int.
  8664. * src/ActivePeerConnectionCommand.cc
  8665. * src/ActivePeerConnectionCommand.h
  8666. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8667. * Release 0.16.0
  8668. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8669. Updated doc
  8670. * README
  8671. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8672. Updated French, Simplified Chinese, German, Bulgarian and Japanese
  8673. translations. Thanks to all translators.
  8674. * po/bg.po
  8675. * po/de.po
  8676. * po/fr.po
  8677. * po/ja.po
  8678. * po/zh_CN.po
  8679. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8680. Bump up version number to 0.16.0.
  8681. * configure.ac
  8682. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8683. Casted entry->maxConnections to int32_t for std::min<T> with T =
  8684. int32_t.
  8685. Changed the type of count to int32_t.
  8686. * src/Metalink2RequestGroup.cc
  8687. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8688. Added test for Time::elapsed(time_t).
  8689. * test/TimeTest.cc
  8690. 2008-10-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8691. Fixed the bug in Time::elapsed(): Util::difftvsec() is used where
  8692. Util::difftv() should be used instead.
  8693. * src/TimeA2.cc
  8694. * src/TimeA2.h
  8695. 2008-10-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8696. Made socket for dht connections non-blocking
  8697. * src/DHTAbstractMessage.cc
  8698. * src/DHTAbstractMessage.h
  8699. * src/DHTConnection.h
  8700. * src/DHTConnectionImpl.cc
  8701. * src/DHTConnectionImpl.h
  8702. * src/DHTMessage.h
  8703. * src/DHTMessageDispatcherImpl.cc
  8704. * src/DHTMessageDispatcherImpl.h
  8705. * src/DHTUnknownMessage.cc
  8706. * src/DHTUnknownMessage.h
  8707. * src/SocketCore.cc
  8708. * src/SocketCore.h
  8709. * test/MockDHTMessage.h
  8710. 2008-10-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8711. Changed the type of offset to int.
  8712. * src/ParameterizedStringParser.cc
  8713. 2008-10-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8714. Made getAsInt() return int32_t
  8715. * src/Option.h
  8716. 2008-10-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8717. Check the availability of winsock2.h and ws2tcpip.h only for mingw32
  8718. build.
  8719. * configure.ac
  8720. 2008-10-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8721. Use sqlite3_open if sqlite3_open_v2 is not available.
  8722. * src/Sqlite3MozCookieParser.cc
  8723. * src/Sqlite3MozCookieParser.h
  8724. * m4/sqlite3.m4
  8725. * test/Sqlite3MozCookieParserTest.cc
  8726. 2008-10-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8727. Replaced '%zu' with '%lu' since mingw32 doesn't recognize '%zu'.
  8728. * src/BtPieceMessage.cc
  8729. * src/DHTPeerAnnounceStorage.cc
  8730. * src/DefaultPieceStorage.cc
  8731. * src/DownloadCommand.cc
  8732. * src/DownloadEngine.cc
  8733. * src/FtpConnection.cc
  8734. * src/PeerConnection.cc
  8735. * src/PeerMessageUtil.cc
  8736. * src/RequestGroup.cc
  8737. * src/RequestGroupMan.cc
  8738. * src/SimpleBtMessage.cc
  8739. 2008-10-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8740. Use seek() and SetEndOfFile() for mingw32 build instead of ftruncate(),
  8741. because mingw32's ftruncate() cannot handle more than 2GB-size file.
  8742. * src/AbstractDiskWriter.cc
  8743. 2008-10-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8744. Don't set Request::supportsPersistentConnection() in HttpConnection
  8745. since this code is also used in AbstractProxyResponseCommand.
  8746. Moved those code to HttpResponse.
  8747. * src/HttpResponse.cc
  8748. * src/HttpResponse.h
  8749. * src/HttpConnection.cc
  8750. * src/HttpConnection.h
  8751. * src/HttpResponseCommand.cc
  8752. * test/HttpResponseTest.cc
  8753. 2008-09-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8754. Fixed compile error with debian mingw32 cross compiler(4.2.1).
  8755. The configuration is minimum: no torrent, no metalink, so there may be
  8756. other compile error on their code.
  8757. * src/a2netcompat.h
  8758. * src/File.cc
  8759. * src/File.h
  8760. * src/SocketCore.cc
  8761. * src/SocketCore.h
  8762. 2008-09-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8763. Made a socket of incoming peer non-blocking.
  8764. * src/PeerListenCommand.cc
  8765. 2008-09-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8766. Fixed the bug that aria2 may send duplicate data to BitTorrent peer if
  8767. whole message data is not sent in one send() call.
  8768. * src/BtPieceMessage.cc
  8769. * src/BtPieceMessage.h
  8770. * src/PeerConnection.cc
  8771. * src/PeerConnection.h
  8772. * src/SimpleBtMessage.cc
  8773. * src/SimpleBtMessage.h
  8774. 2008-09-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8775. Fixed the bug that aria2 downloads faster than max-download-limit when
  8776. downloading file using both HTTP(or FTP) and BitTorrent, because aria2
  8777. evaluates speed separatly(HTTP and BiTorrent) against max-download-limit
  8778. , instead of sum of them.
  8779. * src/ActivePeerConnectionCommand.cc
  8780. * src/DefaultBtInteractive.cc
  8781. * src/DownloadCommand.cc
  8782. * src/PeerInteractionCommand.cc
  8783. * src/PeerReceiveHandshakeCommand.cc
  8784. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8785. Fixed the bug that HTTPS download fails.
  8786. * src/AbstractCommand.cc
  8787. * src/AbstractCommand.h
  8788. * src/DownloadCommand.cc
  8789. * src/FtpConnection.cc
  8790. * src/HttpConnection.cc
  8791. * src/HttpRequestCommand.cc
  8792. * src/HttpResponseCommand.cc
  8793. * src/HttpSkipResponseCommand.cc
  8794. * src/MSEHandshake.cc
  8795. * src/PeerConnection.cc
  8796. * src/SocketCore.cc
  8797. * src/SocketCore.h
  8798. Fixed the bug that aria2 doesn't download whole content body and cannot
  8799. reuse connection if chunked transfer encoding and gzip content encoding
  8800. are set.
  8801. * src/DownloadCommand.cc
  8802. * src/HttpSkipResponseCommand.cc
  8803. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8804. Updated man page.
  8805. * doc/aria2c.1.txt
  8806. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8807. When error occurred while aria2 was parsing an .aria2.conf file, print
  8808. the usage of the option that caused error.
  8809. * src/option_processing.cc
  8810. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8811. Fixed compile error on OptionHandlerException
  8812. * src/Makefile.am
  8813. * src/OptionHandlerException.cc
  8814. * src/OptionHandlerException.h
  8815. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8816. Moved message of the error to OptionHandlerException.h
  8817. * src/NameMatchOptionHandler.h
  8818. * src/OptionHandlerException.h
  8819. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8820. When error occurs while aria2 is parsing an command-line option, print
  8821. the usage of the option.
  8822. * src/Makefile.am
  8823. * src/NameMatchOptionHandler.h
  8824. * src/OptionHandlerException.h
  8825. * src/option_processing.cc
  8826. 2008-09-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8827. Reverted previous change.
  8828. Insert username+'@' to URI(after ftp://) when URI is FTP scheme and
  8829. username is not in URI.
  8830. * src/HttpRequest.cc
  8831. * src/Request.cc
  8832. * test/HttpRequestTest.cc
  8833. * test/RequestTest.cc
  8834. 2008-09-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8835. Now colon is required for username and password in FTP URL, like:
  8836. ftp://username:password@host.
  8837. If colon is not there, aria2 don't parse it as a username. For example,
  8838. aria2 don't retrieve username from ftp://username@host.
  8839. This fix was made in order to login FTP server via non-transparent ftp
  8840. proxy.
  8841. * src/Request.cc
  8842. * test/RequestTest.cc
  8843. 2008-09-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8844. Use netrc for HTTP.
  8845. Now FTP user/password is sent in Authorization header when
  8846. --ftp-via-http-proxy=get is given.
  8847. * src/AuthConfigFactory.cc
  8848. * src/HttpRequest.cc
  8849. * src/HttpRequest.h
  8850. * src/NetrcAuthResolver.cc
  8851. * src/NetrcAuthResolver.h
  8852. * src/OptionHandlerFactory.cc
  8853. * src/option_processing.cc
  8854. * src/prefs.cc
  8855. * src/prefs.h
  8856. * test/AuthConfigFactoryTest.cc
  8857. * test/HttpRequestTest.cc
  8858. * test/NetrcAuthResolverTest.cc
  8859. 2008-09-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8860. Issue PWD command first and get working directory and use it as a prefix
  8861. for CWD command.
  8862. * src/DownloadEngine.cc
  8863. * src/DownloadEngine.h
  8864. * src/FtpConnection.cc
  8865. * src/FtpConnection.h
  8866. * src/FtpFinishDownloadCommand.cc
  8867. * src/FtpInitiateConnectionCommand.cc
  8868. * src/FtpNegotiationCommand.cc
  8869. * src/FtpNegotiationCommand.h
  8870. * test/FtpConnectionTest.cc
  8871. 2008-09-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8872. Removed default user/pass for FTP user/pass, since it should not have
  8873. precedence over netrc configuration by default.
  8874. * src/OptionHandlerFactory.cc
  8875. 2008-09-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8876. Added debug log for socket event.
  8877. * src/AbstractCommand.cc
  8878. * src/PeerAbstractCommand.cc
  8879. 2008-09-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8880. Log microseconds.
  8881. * src/SimpleLogger.cc (SimpleLogger::writeLog)
  8882. 2008-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8883. Replaced HelpItem.cc with OptionHandler.cc.
  8884. * po/POTFILES.in
  8885. Updated po files with 'make update-po'
  8886. * po/aria2c.pot
  8887. * po/*.po
  8888. 2008-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8889. Removed possible values from the text.
  8890. * src/usage_text.h (TEXT_METALINK_PREFERRED_PROTOCOL)
  8891. 2008-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8892. Removed unused preferences:
  8893. PREF_NO_PREALLOCATION
  8894. PREF_STDOUT_LOG
  8895. PREF_TRACKER_MAX_TRIES
  8896. PREF_DIRECT_DOWNLOAD_TIMEOUT
  8897. PREF_MIN_SEGMENT_SIZE
  8898. * src/option_processing.cc
  8899. * src/prefs.cc
  8900. * src/prefs.h
  8901. 2008-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8902. Integrated HelpItem into OptionParser to ease the workload for adding
  8903. new options. Removed default value from usage text.
  8904. * src/HelpItem.cc: Removed.
  8905. * src/HelpItem.h: Removed.
  8906. * src/HelpItemFactory.cc: Removed.
  8907. * src/HelpItemFactory.h: Removed.
  8908. * src/Makefile.am
  8909. * src/Makefile.in
  8910. * src/NameMatchOptionHandler.h
  8911. * src/OptionHandler.cc
  8912. * src/OptionHandler.h
  8913. * src/OptionHandlerFactory.cc
  8914. * src/OptionHandlerImpl.h
  8915. * src/OptionParser.cc
  8916. * src/OptionParser.h
  8917. * src/TagContainer.cc: Removed.
  8918. * src/TagContainer.h: Removed.
  8919. * src/TaggedItem.cc: Removed.
  8920. * src/TaggedItem.h: Removed.
  8921. * src/main.cc
  8922. * src/option_processing.cc
  8923. * src/usage_text.h
  8924. * src/version_usage.cc
  8925. * test/HelpItemTest.cc: Removed.
  8926. * test/Makefile.am
  8927. * test/Makefile.in
  8928. * test/OptionHandlerTest.cc
  8929. * test/OptionParserTest.cc
  8930. * test/TagContainerTest.cc: Removed.
  8931. 2008-09-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8932. Moved `TransferStat stat = ...' to inside the `if' clause.
  8933. * src/RequestGroup.cc (RequestGroup::reportDownloadFinished)
  8934. 2008-09-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8935. Fixed the bug that a block in a piece is requested when same block is
  8936. already requested to the same peer in end game mode.
  8937. * src/BtRequestFactory.h
  8938. * src/DefaultBtInteractive.cc
  8939. * src/DefaultBtRequestFactory.cc
  8940. * src/DefaultBtRequestFactory.h
  8941. * src/DefaultPieceStorage.cc
  8942. * src/DefaultPieceStorage.h
  8943. * src/PieceStorage.h
  8944. * src/UnknownLengthPieceStorage.cc
  8945. * src/UnknownLengthPieceStorage.h
  8946. * test/DefaultBtRequestFactoryTest.cc
  8947. * test/DefaultPieceStorageTest.cc
  8948. * test/MockBtRequestFactory.h
  8949. * test/MockPieceStorage.h
  8950. 2008-09-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8951. Removed _uploadLength and _downloadLength from PeerSessionResource
  8952. and use PeerStat::_sessionUploadLength and
  8953. PeerStat::_sessionDownloadLength.
  8954. * src/PeerSessionResource.cc
  8955. * src/PeerSessionResource.h
  8956. 2008-09-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8957. Fixed the bug that prefixLength of split bucket which doesn't include
  8958. local node ID is incremented.
  8959. * src/DHTBucket.cc
  8960. * src/DHTBucket.h
  8961. * test/DHTBucketTest.cc
  8962. 2008-09-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8963. Added cookies.sqlite to EXTRA_DIST
  8964. * test/Makefile.am
  8965. 2008-09-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8966. Added Turkish translation. Updated French, German, Russian and
  8967. Simplified Chinese translations. Thanks to all translators.
  8968. * po/LINGUAS
  8969. * po/de.po
  8970. * po/fr.po
  8971. * po/ru.po
  8972. * po/tr.po
  8973. * po/zh_CN.po
  8974. 2008-09-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8975. Added deliminating text to the beginning of the log so that one can find
  8976. where the log starts easily.
  8977. * src/main.cc
  8978. 2008-09-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8979. Moved isProxyGETRequest function outside #ifdef ENABLE_ASYNC_DNS clause
  8980. to fix compile error when async DNS is not enabled by configuration.
  8981. * src/AbstractCommand.cc
  8982. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8983. If establishing conneciton to a server is failed, then mark error on
  8984. its ServerStat.
  8985. Added the cause of error to log when error event occurred.
  8986. Moved message string to message.h for translation.
  8987. * src/AbstractCommand.cc
  8988. * src/AbstractCommand.h
  8989. * src/FtpNegotiationCommand.cc
  8990. * src/HttpRequestCommand.cc
  8991. * src/PeerAbstractCommand.cc
  8992. * src/message.h
  8993. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8994. Added the function to get error message from socket.
  8995. * src/SocketCore.cc
  8996. * src/SocketCore.h
  8997. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8998. Added convenient method RequestGroupMan::getOrCreateServerStat()
  8999. * src/RequestGroupMan.cc
  9000. * src/RequestGroupMan.h
  9001. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9002. If error event is received in epoll, then abort download immediately.
  9003. * src/AbstractCommand.cc
  9004. * src/Command.cc
  9005. * src/Command.h
  9006. * src/DownloadEngine.cc
  9007. * src/PeerAbstractCommand.cc
  9008. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9009. Added usage message for --uri-selector, --server-stat-of,
  9010. --server-stat-in, --server-stat-timeout options.
  9011. * src/HelpItemFactory.cc
  9012. * src/usage_text.h
  9013. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9014. Added upper limit of FTP response buffer. The current implementation
  9015. uses 4096bytes as a limit.
  9016. * src/FtpConnection.cc
  9017. * src/FtpConnection.h
  9018. * test/FtpConnectionTest.cc
  9019. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9020. Use non-blocking socket for TCP communication to avoid possible
  9021. blocking due to buffer full.
  9022. * src/AbstractProxyRequestCommand.cc
  9023. * src/FtpConnection.cc
  9024. * src/FtpConnection.h
  9025. * src/FtpNegotiationCommand.cc
  9026. * src/FtpNegotiationCommand.h
  9027. * src/HttpConnection.cc
  9028. * src/HttpConnection.h
  9029. * src/HttpRequestCommand.cc
  9030. * src/InitiatorMSEHandshakeCommand.cc
  9031. * src/InitiatorMSEHandshakeCommand.h
  9032. * src/MSEHandshake.cc
  9033. * src/MSEHandshake.h
  9034. * src/Makefile.am
  9035. * src/PeerConnection.cc
  9036. * src/PeerConnection.h
  9037. * src/PeerInteractionCommand.cc
  9038. * src/PeerListenCommand.cc
  9039. * src/ReceiverMSEHandshakeCommand.cc
  9040. * src/ReceiverMSEHandshakeCommand.h
  9041. * src/SocketBuffer.cc
  9042. * src/SocketBuffer.h
  9043. * src/SocketCore.cc
  9044. * src/SocketCore.h
  9045. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9046. Call setStatusRealtime() in constructor.
  9047. * src/RealtimeCommand.cc
  9048. * src/RealtimeCommand.h
  9049. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9050. Call Download::setNoWait(true) to execute newly created command without
  9051. a pause.
  9052. * src/AbstractCommand.cc
  9053. 2008-09-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9054. Added --max-file-not-found=NUM option. If aria2 receives `file not
  9055. found' error from HTTP/FTP server NUM times without getting single
  9056. bytes of data, then force the download to fail.
  9057. Basically aria2 tris all URIs available. So if long list of URIs are
  9058. specified in Metalink, then aria2 will take a long time to fail
  9059. eventually if all URIs are outdated. This option eases this situation
  9060. to limit the number of servers to try.
  9061. * src/FtpNegotiationCommand.cc
  9062. * src/HelpItemFactory.cc
  9063. * src/HttpResponseCommand.cc
  9064. * src/OptionHandlerFactory.cc
  9065. * src/PeerStat.h
  9066. * src/RequestGroup.cc
  9067. * src/RequestGroup.h
  9068. * src/SegmentMan.cc
  9069. * src/SegmentMan.h
  9070. * src/option_processing.cc
  9071. * src/prefs.cc
  9072. * src/prefs.h
  9073. * src/usage_text.h
  9074. 2008-09-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9075. Fixed the bug that bulkReceiveResponse() reads all received data as a
  9076. response even if more than one response is in it.
  9077. * src/FtpConnection.cc
  9078. * src/FtpConnection.h
  9079. * test/FtpConnectionTest.cc
  9080. 2008-09-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9081. Merged from stable-0.15
  9082. * m4/libcares.m4
  9083. Use pkg-config
  9084. * m4/sqlite3.m4
  9085. 2008-09-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9086. Removed unnecessary if statement.
  9087. * src/DefaultPieceStorage.cc (initPieceStorage)
  9088. 2008-09-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9089. Added --connect-timeout option to specify connect timeout in seconds.
  9090. This option is in effect for HTTP/FTP/proxy server. The timeout for
  9091. connecting to BitTorrent peer is not controlled by this option.
  9092. * src/AbstractProxyRequestCommand.cc
  9093. * src/FtpNegotiationCommand.cc
  9094. * src/HelpItemFactory.cc
  9095. * src/HttpRequestCommand.cc
  9096. * src/OptionHandlerFactory.cc
  9097. * src/option_processing.cc
  9098. * src/prefs.cc
  9099. * src/prefs.h
  9100. * src/usage_text.h
  9101. 2008-09-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9102. Added help message for -R option.
  9103. * src/HelpItemFactory.cc
  9104. * src/usage_text.h
  9105. 2008-09-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9106. Added the message that the time is in local time zone.
  9107. * src/RequestGroup.cc
  9108. 2008-09-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9109. Implemented the ability to get timestamp from remote FTP server using
  9110. MDTM command described in RFC3659.
  9111. * src/FtpConnection.cc
  9112. * src/FtpConnection.h
  9113. * src/FtpNegotiationCommand.cc
  9114. * src/FtpNegotiationCommand.h
  9115. * test/FtpConnectionTest.cc
  9116. * test/Makefile.am
  9117. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9118. Implemented the ability to get timestamp from remote HTTP server and
  9119. apply it to local file. To enable this feature, --remote-time option
  9120. is added. No usage text has been written yet.
  9121. If several servers returns difference timestamp, then aria2 uses latest
  9122. one.
  9123. * src/CopyDiskAdaptor.cc
  9124. * src/CopyDiskAdaptor.h
  9125. * src/DirectDiskAdaptor.cc
  9126. * src/DirectDiskAdaptor.h
  9127. * src/DiskAdaptor.h
  9128. * src/File.cc
  9129. * src/File.h
  9130. * src/HttpHeader.cc
  9131. * src/HttpHeader.h
  9132. * src/HttpResponse.cc
  9133. * src/HttpResponse.h
  9134. * src/HttpResponseCommand.cc
  9135. * src/HttpResponseCommand.h
  9136. * src/MultiDiskAdaptor.cc
  9137. * src/MultiDiskAdaptor.h
  9138. * src/OptionHandlerFactory.cc
  9139. * src/RequestGroup.cc
  9140. * src/RequestGroup.h
  9141. * src/RequestGroupMan.cc
  9142. * src/option_processing.cc
  9143. * src/prefs.cc
  9144. * src/prefs.h
  9145. * test/CopyDiskAdaptorTest.cc
  9146. * test/FileTest.cc
  9147. * test/Makefile.am
  9148. * test/Makefile.in
  9149. * test/MultiDiskAdaptorTest.cc
  9150. * test/TestUtil.cc
  9151. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9152. Fixed the bug that DiskWriterEntry is not created when its
  9153. FileEntry.isRequested() is false and it doesn't share a piece with
  9154. other FileEntries that are requested. This bug causes segmentation fault
  9155. in the end.
  9156. * src/MultiDiskAdaptor.cc
  9157. * src/MultiDiskAdaptor.h
  9158. * src/MultiFileAllocationIterator.cc
  9159. * test/MultiDiskAdaptorTest.cc
  9160. * test/MultiFileAllocationIteratorTest.cc
  9161. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9162. Fixed the bug that exception is thrown when MultiDiskAdaptor::size() is
  9163. called if the number of file entries are greater than max open files.
  9164. * src/AbstractSingleDiskAdaptor.cc
  9165. * src/AbstractSingleDiskAdaptor.h
  9166. * src/DiskAdaptor.h
  9167. * src/MultiDiskAdaptor.cc
  9168. * src/MultiDiskAdaptor.h
  9169. * test/MultiDiskAdaptorTest.cc
  9170. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9171. Added a constuctor that receives struct timeval.
  9172. Added operator<.
  9173. * src/TimeA2.cc
  9174. * src/TimeA2.h
  9175. * test/TimeTest.cc
  9176. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9177. Parse `expires' of Set-Cookie using Time::parseHTTPDate()
  9178. * src/CookieParser.cc
  9179. * test/CookieParserTest.cc
  9180. * test/HttpResponseTest.cc
  9181. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9182. Implmented the functions to parse date.
  9183. * src/TimeA2.cc
  9184. * src/TimeA2.h
  9185. * test/TimeTest.cc
  9186. 2008-09-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9187. Added "Firefox3 Cookie" feature to FeatureConfig
  9188. * src/FeatureConfig.cc
  9189. * src/FeatureConfig.h
  9190. * test/FeatureConfigTest.cc
  9191. 2008-09-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9192. Bump up version number to 0.16.0b
  9193. * configure.ac
  9194. 2008-09-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9195. Use pkg-config if is is available.
  9196. * m4/openssl.m4
  9197. 2008-09-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9198. DEFAULT_ANNOUNCE_INTERVAL: unsigned int -> time_t
  9199. * src/BtAnnounce.h
  9200. 2008-09-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9201. If an error occurred with a URI, remove identical URI from remaining
  9202. URI list because it is likely that same error occurred in the end and it
  9203. is waste of time.
  9204. * src/AbstractCommand.cc
  9205. * src/RequestGroup.cc
  9206. * src/RequestGroup.h
  9207. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9208. Removed wrong comment.
  9209. * src/DefaultPeerStorage.cc
  9210. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9211. Moved implementation to SimpleRandomizer.cc from SimpleRandomizer.h.
  9212. Added return value of getpid() to argument of srand() to achieve more
  9213. randomized value.
  9214. * src/SimpleRandomizer.cc
  9215. * src/SimpleRandomizer.h
  9216. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9217. Contact tracker frequently when the number of connections are 0 and
  9218. download is not finished yet.
  9219. * src/ActivePeerConnectionCommand.cc
  9220. * src/BtAnnounce.h
  9221. * src/DefaultBtAnnounce.cc
  9222. * src/DefaultBtAnnounce.h
  9223. * test/MockBtAnnounce.h
  9224. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9225. Moved threshold values to UTPexExtensionMessage.
  9226. * src/DefaultBtInteractive.cc
  9227. * src/Peer.cc
  9228. * src/Peer.h
  9229. * src/UTPexExtensionMessage.cc
  9230. * src/UTPexExtensionMessage.h
  9231. * test/UTPexExtensionMessageTest.cc
  9232. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9233. Added _incoming member to Peer class and made it true if the peer
  9234. initiated connection. Don't add those peer to UTPex message.
  9235. If extended handshake is received, assign _incoming to false.
  9236. * src/DefaultBtInteractive.cc
  9237. * src/HandshakeExtensionMessage.cc
  9238. * src/Peer.cc
  9239. * src/Peer.h
  9240. * src/PeerListenCommand.cc
  9241. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9242. Made files whose name ends with ".gz", ".tgz" not inflated by Content
  9243. Encoding Decoder. Removed size threshold for turning off on the fly
  9244. inflation because resulting file may or may not be inflated depending
  9245. on the file size and I think it is not expected by users.
  9246. This change fixes segmentation fault when Metalink file contains gzipped
  9247. file and its filesize is provided.
  9248. * src/HttpResponseCommand.cc
  9249. * src/HttpResponseCommand.h
  9250. 2008-09-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9251. Made Cookie immutable.
  9252. * src/Cookie.cc
  9253. * src/Cookie.h
  9254. * src/CookieParser.cc
  9255. * src/CookieParser.h
  9256. * src/CookieStorage.cc
  9257. * test/CookieParserTest.cc
  9258. * test/CookieStorageTest.cc
  9259. * test/NsCookieParserTest.cc
  9260. * test/Sqlite3MozCookieParserTest.cc
  9261. 2008-09-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9262. Removed CookieBox, CookieBoxFactory.
  9263. * src/CookieBox.cc
  9264. * src/CookieBox.h
  9265. * src/CookieBoxFactory.cc
  9266. * src/CookieBoxFactory.h
  9267. * src/Makefile.am
  9268. 2008-09-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9269. Use CookieStorage class instead of CookieBox class.
  9270. Now CookieStorage accepts cookies from numeric host such as 192.168.1.1.
  9271. * src/AbstractProxyRequestCommand.cc
  9272. * src/CookieStorage.cc
  9273. * src/DownloadEngine.cc
  9274. * src/DownloadEngine.h
  9275. * src/HttpConnection.cc
  9276. * src/HttpConnection.h
  9277. * src/HttpRequest.cc
  9278. * src/HttpRequest.h
  9279. * src/HttpRequestCommand.cc
  9280. * src/HttpResponse.cc
  9281. * src/HttpResponseCommand.cc
  9282. * src/HttpSkipResponseCommand.cc
  9283. * src/Makefile.am
  9284. * src/MultiUrlRequestInfo.cc
  9285. * src/Request.cc
  9286. * src/Request.h
  9287. * src/main.cc
  9288. * test/AllTest.cc
  9289. * test/CookieStorageTest.cc
  9290. * test/CookieTest.cc
  9291. * test/HttpRequestTest.cc
  9292. * test/HttpResponseTest.cc
  9293. * test/Makefile.am
  9294. * test/NsCookieParserTest.cc
  9295. * test/Sqlite3MozCookieParserTest.cc
  9296. * test/nscookietest.txt
  9297. 2008-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9298. Updated
  9299. * test/Cookies.sqlite
  9300. * test/nscookietest.txt
  9301. 2008-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9302. Added tests for CookieStorage::load()
  9303. * test/CookieStorageTest.cc
  9304. 2008-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9305. Added CookieStorage class which is based on RFC2109 and manages cookies
  9306. more strictly than CookieBox and CookieBoxFactory class.
  9307. * src/CookieStorage.cc
  9308. * src/CookieStorage.h
  9309. * src/Cookie.cc
  9310. * src/Cookie.h
  9311. * test/CookieStorageTest.cc
  9312. * test/CookieTest.cc
  9313. 2008-08-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9314. Fixed the bug that commands are created more than the number of pieces.
  9315. * src/RequestGroup.cc
  9316. 2008-08-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9317. Fixed infinite loop bug in FTP when SIZE command failed.
  9318. * src/FtpNegotiationCommand.cc
  9319. 2008-08-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9320. Removed DirectDiskAdaptorTest.h
  9321. * test/Makefile.am
  9322. 2008-08-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9323. Fixed chunk checksum validation cannot detect trailing garbage data.
  9324. BUG#2074141
  9325. * src/AbstractSingleDiskAdaptor.cc
  9326. * src/AbstractSingleDiskAdaptor.h
  9327. * src/CheckIntegrityEntry.cc
  9328. * src/CheckIntegrityEntry.h
  9329. * src/DiskAdaptor.h
  9330. * src/MultiDiskAdaptor.cc
  9331. * src/MultiDiskAdaptor.h
  9332. * src/RequestGroup.cc
  9333. * test/DirectDiskAdaptorTest.cc
  9334. * test/MultiDiskAdaptorTest.cc
  9335. * test/TestUtil.cc
  9336. * test/TestUtil.h
  9337. 2008-08-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9338. Bump up version number of dht.dat file to 3. In version 3 format, time
  9339. is stored in 64bit, network byte order.
  9340. New build can load old format(version 2) but it saves the file in new
  9341. format. It means once you used new build, your dht.dat becomes
  9342. incompatible with older build.
  9343. * src/DHTRoutingTableDeserializer.cc
  9344. * src/DHTRoutingTableSerializer.cc
  9345. * test/DHTRoutingTableSerializerTest.cc
  9346. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9347. Added load-v0001.aria2 and load-nonBt-v0001.aria2 to EXTRA_DIST.
  9348. * test/Makefile.am
  9349. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9350. Bump up version number of .aria2 control file to 0001.
  9351. New aria2 can still load version 0000 file but it saves the file in
  9352. version 0001 format. It means that new aria2 can resume download
  9353. started by old aria2 but the opposite is not true.
  9354. * src/DefaultBtProgressInfoFile.cc
  9355. * src/DefaultBtProgressInfoFile.h
  9356. * test/DefaultBtProgressInfoFileTest.cc
  9357. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9358. Added ntoh64 and hton64 as inline functions.
  9359. * src/Util.cc
  9360. * test/UtilTest.cc
  9361. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9362. Added sqlite3 depenency and Firefox3 cookie support.
  9363. * README
  9364. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9365. State that firefox3 cookie is supported explicitly in the usage.
  9366. * src/usage_text.h
  9367. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9368. Externalized message.
  9369. * src/RequestGroupMan.cc
  9370. * src/message.h
  9371. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9372. Save temporary file first and rename to the destination on success.
  9373. Added test cases.
  9374. * src/RequestGroupMan.cc
  9375. * test/RequestGroupManTest.cc
  9376. 2008-08-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9377. Fixed the bug that the number of connected peer is exceeding the limit
  9378. (55 by default) in seeding mode.
  9379. Multiplied 0.8 to _maxUploadSpeedLimit.
  9380. * src/ActivePeerConnectionCommand.cc
  9381. 2008-08-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9382. Clear table item.
  9383. * src/Dictionary.cc
  9384. 2008-08-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9385. Fixed error handling of lseek.
  9386. * src/AbstractDiskWriter.cc
  9387. 2008-08-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9388. Removed "(1.x/2.x)" from TEXT_LOAD_COOKIES since aria2 can load Firefox3
  9389. style cookie file.
  9390. * src/usage_text.h
  9391. 2008-08-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9392. If a cookie whose expire date is later than 2038-01-19 03:14:07 GMT is
  9393. sent from server, its expire date is assumed to 2038-01-19 03:14:07 GMT.
  9394. If Util::httpGMT is failed, then Cookie::onetime is set to true.
  9395. * src/Util.cc
  9396. * src/Util.h
  9397. * src/CookieParser.cc
  9398. * test/UtilTest.cc
  9399. * test/CookieParserTest.cc
  9400. 2008-08-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9401. Separate the implementation to load old mozilla format of cookie to
  9402. NsCookieParser class.
  9403. * src/CookieBoxFactory.cc
  9404. * src/CookieBoxFactory.h
  9405. * src/NsCookieParser.cc
  9406. * src/NsCookieParser.h
  9407. * test/NsCookieParserTest.cc
  9408. 2008-08-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9409. Made parse() const
  9410. * src/Sqlite3MozCookieParser.cc
  9411. * src/Sqlite3MozCookieParser.h
  9412. 2008-08-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9413. Added firefox3 cookie support based on the patch submitted by
  9414. tizianomueller.
  9415. firefox3 cookie is SQLite3 database. libsqlite3 is required to enable
  9416. this functionality.
  9417. * configure.ac
  9418. * m4/sqlite3.m4
  9419. * src/CookieBoxFactory.cc
  9420. * src/CookieBoxFactory.h
  9421. * src/Makefile.am
  9422. * src/Makefile.in
  9423. * src/Sqlite3MozCookieParser.cc
  9424. * src/Sqlite3MozCookieParser.h
  9425. * src/main.cc
  9426. * test/CookieBoxFactoryTest.cc
  9427. * test/Makefile.am
  9428. * test/Makefile.in
  9429. * test/Sqlite3MozCookieParserTest.cc
  9430. * test/badcookies.sqlite
  9431. * test/cookies.sqlite
  9432. 2008-08-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9433. Added Danish and Greek translations.
  9434. Updated Spanish, Catalan, Norwegian Nynorsk translations.
  9435. Great thanks to all translators.
  9436. * po/LINGUAS
  9437. * po/el.po
  9438. * po/da.po
  9439. * po/es.po
  9440. * po/ca.po
  9441. * po/nn.po
  9442. 2008-08-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9443. Fixed man page: --follow-bittorrent should be --follow-torrent
  9444. * doc/aria2c.1.txt
  9445. 2008-08-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9446. Fixed: numCommand is less than the value specified in -C option.
  9447. * src/RequestGroup.cc
  9448. 2008-08-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9449. Fixed occasional assertion failure in PieceSegment.
  9450. Calling PieceStorage::getMissingPiece(size_t) was missing after
  9451. canceling segments in SegmentMan::getSegment(int32_t). This resulted in
  9452. creation of duplicate segments and one of the segment was finished then
  9453. assertion failure was caused.
  9454. * src/SegmentMan.cc
  9455. * test/SegmentManTest.cc
  9456. 2008-08-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9457. Added options to load/save the server's performance/status to a file
  9458. and the timeout to drop their data.
  9459. --server-stat-of=FILE specifies the file to which performance data
  9460. is saved.
  9461. --server-stat-if=FILE specifies the file to read previously saved
  9462. by --server-stat-of option. Might be used with --uri-selector=feedback.
  9463. --server-stat-timeout=TIMEOUT specifies timeout to invalidate the data.
  9464. TIMEOUT is specified in seconds and the default value is 24hours.
  9465. * src/MultiUrlRequestInfo.cc
  9466. * src/OptionHandlerFactory.cc
  9467. * src/RequestGroupMan.cc
  9468. * src/RequestGroupMan.h
  9469. * src/ServerStatMan.cc
  9470. * src/ServerStatMan.h
  9471. * src/option_processing.cc
  9472. * src/prefs.cc
  9473. * src/prefs.h
  9474. * test/ServerStatManTest.cc
  9475. 2008-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9476. Implemented ServerStatMan::removeStaleServerStat() and its test case.
  9477. * src/ServerStatMan.cc
  9478. * src/ServerStatMan.h
  9479. * test/ServerStatManTest.cc
  9480. 2008-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9481. Implemented ServerStatMan::load(...) function and its test case.
  9482. * src/ServerStat.cc
  9483. * src/ServerStat.h
  9484. * src/ServerStatMan.cc
  9485. * test/ServerStatManTest.cc
  9486. * test/ServerStatTest.cc
  9487. 2008-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9488. Use time_t instead of int32_t. Use int64_t where milli second is
  9489. expected.
  9490. * src/TimeA2.cc
  9491. * src/TimeA2.h
  9492. 2008-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9493. Implemented ServerStatMan::save(...) function and its test case.
  9494. * src/ServerStat.cc
  9495. * src/ServerStat.h
  9496. * src/ServerStatMan.cc
  9497. * src/ServerStatMan.h
  9498. * test/ServerStatManTest.cc
  9499. 2008-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9500. Now aria2 uses name attribute in Metalink as local filename in
  9501. BitTorrent downloads. BUG#2033999
  9502. * src/BtContext.h
  9503. * src/BtDependency.cc
  9504. * src/DefaultBtContext.cc
  9505. * src/DefaultBtContext.h
  9506. * src/SingleFileDownloadContext.cc
  9507. * src/SingleFileDownloadContext.h
  9508. * test/BtDependencyTest.cc
  9509. * test/DefaultBtContextTest.cc
  9510. * test/MockBtContext.h
  9511. 2008-08-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9512. Added AC_C_BIGENDIAN
  9513. * src/configure.ac
  9514. 2008-08-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9515. Limited numCommand less than or equal to the number of piece.
  9516. * src/RequestGroup.cc
  9517. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9518. Eliminated randomness from the test case. Removed #ifdef __MINGW32
  9519. directive.
  9520. * test/DefaultPieceStorageTest.cc
  9521. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9522. Fixed memory leak in test code
  9523. * test/AnnounceListTest.cc
  9524. * test/DefaultPeerListProcessorTest.cc
  9525. * test/DefaultPeerStorageTest.cc
  9526. * test/MetaFileUtilTest.cc
  9527. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9528. Fixed wrong argument passing to BitfieldMan::isBitSet()
  9529. * src/DefaultPieceStorage.cc
  9530. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9531. Initialized _directIOAllowed
  9532. * src/MultiDiskAdaptor.cc
  9533. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9534. Fixed memory leak
  9535. * src/GZipDecoder.cc
  9536. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9537. Fixed memory leak
  9538. * src/MetalinkParserStateMachine.cc
  9539. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9540. Fixed memory leak
  9541. * src/Dictionary.cc
  9542. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9543. Fixed memory leak
  9544. * src/IteratableChunkChecksumValidator.h
  9545. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9546. Fixed unmatched malloc/free.
  9547. * src/IteratableChunkChecksumValidator.cc
  9548. * src/IteratableChecksumValidator.cc
  9549. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9550. Removed max chunk size check. This change fixes BUG#2040169
  9551. * src/ChunkedDecoder.cc
  9552. * src/ChunkedDecoder.h
  9553. * test/ChunkedDecoderTest.cc
  9554. 2008-08-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9555. Implemented download speed based URI selection algorithm.
  9556. Introduced new option --uri-selector.
  9557. If --uri-selector=feedback is given, aria2 uses download speed observed
  9558. in the previous downloads and chooses fastest server in the URI list.
  9559. Currently at most 10 URIs are considered to introduce randomeness for
  9560. finding better servers. The speed is average download speed in the
  9561. downloads.
  9562. On the other hand, if --uri-selector=inorder is given, which is default,
  9563. URI is tried in order in URI list.
  9564. The usage text for the new option has not been written yet.
  9565. * src/AbstractCommand.cc
  9566. * src/DownloadCommand.cc
  9567. * src/DownloadEngine.cc
  9568. * src/DownloadEngineFactory.cc
  9569. * src/InOrderURISelector.cc
  9570. * src/InOrderURISelector.h
  9571. * src/OptionHandlerFactory.cc
  9572. * src/PeerStat.h
  9573. * src/RequestGroup.cc
  9574. * src/RequestGroup.h
  9575. * src/RequestGroupMan.cc
  9576. * src/RequestGroupMan.h
  9577. * src/SegmentMan.cc
  9578. * src/SegmentMan.h
  9579. * src/ServerStat.cc
  9580. * src/ServerStat.h
  9581. * src/ServerStatMan.cc
  9582. * src/ServerStatMan.h
  9583. * src/ServerStatURISelector.cc
  9584. * src/ServerStatURISelector.h
  9585. * src/URISelector.h
  9586. * src/option_processing.cc
  9587. * src/prefs.cc
  9588. * src/prefs.h
  9589. * test/InOrderURISelectorTest.cc
  9590. * test/RequestGroupManTest.cc
  9591. * test/ServerStatManTest.cc
  9592. * test/ServerStatURISelectorTest.cc
  9593. 2008-08-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9594. * Release 0.15.1+2
  9595. 2008-08-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9596. Bump up version number to 0.15.1+2
  9597. * configure.ac
  9598. 2008-08-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9599. Fixed the bug that configure --enable-FEATURE actually disables FEATURE.
  9600. * m4/aria2_arg.m4
  9601. 2008-08-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9602. * Release 0.15.1+1
  9603. 2008-08-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9604. Bump up version number to 0.15.1+1
  9605. * configure.ac
  9606. 2008-08-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9607. Fixed the bug that causes segmentaion fault when resuming download
  9608. using metalink without size tag. Reproducible only using HTTP URI.
  9609. * src/HttpResponseCommand.cc
  9610. * src/FtpNegotiationCommand.cc
  9611. 2008-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9612. * Release 0.15.1
  9613. 2008-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9614. Updated Bulgarian and French translations, thanks to all translators.
  9615. * po/bg.po
  9616. * po/fr.po
  9617. 2008-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9618. Bump up version number to 0.15.1
  9619. * configure.ac
  9620. 2008-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9621. Avoid repeated call of gettimeofday() when calculating speed.
  9622. * src/SpeedCalc.cc
  9623. * src/SpeedCalc.h
  9624. 2008-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9625. Removed writable check when socket's send buffer is full in BitTorrent
  9626. downloads to lower CPU usage.
  9627. * src/PeerInteractionCommand.cc
  9628. 2008-07-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9629. Fixed broken gzip inflation.
  9630. Turn off segmented downloading if gzip content is smaller than or equal
  9631. to 1MiB and inflate the data on the fly, because HTTP response header
  9632. doesn't contain the length of inflated file we can't determin where
  9633. the chunk of data should be written.
  9634. On the other hand, if gzip content is larger than 1MB, then turn off
  9635. on the fly inflation, because some servers returns "content-type: gzip"
  9636. for *.tgz, *.gz files.
  9637. * src/DownloadCommand.cc
  9638. * src/HttpResponseCommand.cc
  9639. * src/HttpResponseCommand.h
  9640. 2008-07-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9641. Applied tizianomueller's patch to fix compile error.
  9642. * test/BitfieldManTest.cc
  9643. * test/BtRequestMessageTest.cc
  9644. * test/DefaultBtContextTest.cc
  9645. * test/DefaultDiskWriterTest.cc
  9646. * test/DefaultPieceStorageTest.cc
  9647. * test/HttpHeaderProcessorTest.cc
  9648. * test/HttpResponseTest.cc
  9649. * test/Metalink2RequestGroupTest.cc
  9650. * test/MetalinkParserControllerTest.cc
  9651. * test/MetalinkProcessorTest.cc
  9652. * test/PeerSessionResourceTest.cc
  9653. * test/UtilTest.cc
  9654. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9655. * Release 0.15.0
  9656. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9657. Reordered src files in POTFILES.in so that usage text appears first.
  9658. * po/POTFILES.in
  9659. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9660. Bump up version number to 0.15.0
  9661. * configure.ac
  9662. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9663. Added Bulgarian translation.
  9664. Updated Catalan, Spanish, French and Japanese translations.
  9665. Thanks to all translators.
  9666. * po/LINGUAS
  9667. * po/bg.po
  9668. * po/ca.po
  9669. * po/es.po
  9670. * po/fr.po
  9671. * po/ja.po
  9672. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9673. Updated feature list. Added libz for dependency section.
  9674. Added a description about unit testing using CppUnit.
  9675. * README
  9676. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9677. Added a test for libz. Quoted where it is necessary.
  9678. * build_test.sh
  9679. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9680. Added GZip to `Enabled Features' list.
  9681. * src/FeatureConfig.cc
  9682. * src/FeatureConfig.h
  9683. * test/FeatureConfigTest.cc
  9684. 2008-07-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9685. Now SegmentMan::findSlowerSegmentEntry() picks up the segment for which
  9686. the transfer has not yet started.
  9687. Rewritten SegmentMan::registerPeerStat() and SegmentMan::getPeerStat().
  9688. * src/SegmentMan.cc
  9689. * src/SegmentMan.h
  9690. * test/SegmentManTest.cc
  9691. 2008-07-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9692. Cache last calculated average download/upload speed.
  9693. PeerStat::getAvgDownloadSpeed(), PeerStat::getAvgUploadSpeed() return
  9694. cached value.
  9695. Now SpeedCalc::changeSw() is called from SpeedCalc::calculateSpeed()
  9696. * src/PeerStat.h
  9697. * src/SpeedCalc.cc
  9698. * src/SpeedCalc.h
  9699. 2008-07-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9700. Call parseUrl directly.
  9701. * src/Request.cc (resetUrl)
  9702. 2008-07-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9703. Supported absolute/relative path in Location header field.
  9704. * src/AbstractCommand.cc: Call resetUrl() when DlRetryEx is caught.
  9705. * src/HttpHeader.cc
  9706. * src/HttpHeader.h
  9707. * src/HttpResponse.cc
  9708. * src/HttpSkipResponseCommand.cc
  9709. * src/Request.cc
  9710. * test/HttpHeaderTest.cc
  9711. * test/HttpResponseTest.cc
  9712. * test/RequestTest.cc
  9713. 2008-07-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9714. Changed help text for --load-cookie option.
  9715. * doc/aria2c.1.txt
  9716. * src/usage_text.h
  9717. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9718. Regenerated test/Makefile.in to remove stale ChangeLog.
  9719. * test/Makefile.in
  9720. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9721. Updated po files.
  9722. * po/aria2c.pot
  9723. * po/*.po
  9724. * po/*.gmo
  9725. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9726. Bump up version number to 0.15.0b
  9727. * configure.ac
  9728. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9729. Externalize messages.
  9730. * src/RequestGroupMan.cc
  9731. * src/message.h: Added MSG_SIGNATURE_SAVED, MSG_SIGNATURE_NOT_SAVED.
  9732. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9733. Use File::exists() instead of File::isFile() to allow non-regular file
  9734. such as block special files.
  9735. * src/AbstractDiskWriter.cc
  9736. * src/MultiDiskWriter.cc
  9737. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9738. Supplied missing EAI_SYSTEM. Thanks ggknauf for the patch.
  9739. * src/gai_strerror.h
  9740. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9741. Fixed compile error. Thanks gknauf for the patch.
  9742. * src/asctime_r.c
  9743. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9744. Included asctime_r.h from a2time.h.
  9745. * src/a2time.h
  9746. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9747. Added a message "aria2 doesn't verify signature" to log message when
  9748. signature file is saved.
  9749. * src/RequestGroupMan.cc
  9750. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9751. Added the ability to save signature when download is completed if
  9752. signature is available. The filename of signature file is the path to
  9753. download file followed by ".sig". If it already exists, then signature
  9754. will not be saved.
  9755. * src/RequestGroupMan.cc
  9756. * src/Signature.cc
  9757. * test/SignatureTest.cc
  9758. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9759. Updated the descriptions for --bt-seed-unverified.
  9760. * doc/aria2c.1
  9761. * doc/aria2c.1.html
  9762. * doc/aria2c.1.txt
  9763. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9764. Renamed --bt-seed option as --bt-seed-unverified so that it makes clear
  9765. that this is not going to verify files using piece hashes.
  9766. * src/HelpItemFactory.cc
  9767. * src/OptionHandlerFactory.cc
  9768. * src/RequestGroup.cc
  9769. * src/option_processing.cc
  9770. * src/prefs.cc
  9771. * src/prefs.h
  9772. * src/usage_text.h
  9773. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9774. Added the ability to retrieve signature from Metalink file.
  9775. A retrieved signature is stored in Signature class and it is held by
  9776. DownloadContext class. Note that aria2 doesn't verify signature.
  9777. * src/DownloadContext.cc
  9778. * src/DownloadContext.h
  9779. * src/Makefile.am
  9780. * src/Makefile.in
  9781. * src/Metalink2RequestGroup.cc
  9782. * src/MetalinkEntry.cc
  9783. * src/MetalinkEntry.h
  9784. * src/MetalinkParserController.cc
  9785. * src/MetalinkParserController.h
  9786. * src/MetalinkParserStateMachine.cc
  9787. * src/MetalinkParserStateMachine.h
  9788. * src/Signature.cc
  9789. * src/Signature.h
  9790. * src/SignatureMetalinkParserState.cc
  9791. * src/SignatureMetalinkParserState.h
  9792. * src/VerificationMetalinkParserState.cc
  9793. * src/VerificationMetalinkParserState.h
  9794. * test/Metalink2RequestGroupTest.cc
  9795. * test/MetalinkParserControllerTest.cc
  9796. * test/MetalinkProcessorTest.cc
  9797. * test/test.xml
  9798. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9799. Close DiskAdaptor after renaming file.
  9800. * src/RequestGroup.cc
  9801. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9802. Corrected indentation
  9803. * src/DefaultBtProgressInfoFile.cc
  9804. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9805. Moved the calls of std::ios::exceptions() inside of try-catch block
  9806. because if an error occurred in constructor of std::fstream, then
  9807. exception is thrown immediately when std::ios::exceptions() is called
  9808. which results unhandled exception and aria2c aborts.
  9809. * src/DefaultBtProgressInfoFile.cc
  9810. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9811. Added the test for the previous change in DefaultBtContext.cc
  9812. * test/DefaultBtContextTest.cc
  9813. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9814. Fixed the bug that causes infinite loop when the number of pieces are
  9815. fewer than allowed fast set size which is 10 by default.
  9816. * src/DefaultBtContext.cc
  9817. 2008-07-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9818. Updated the descriptions for -j, -s. Added --bt-seed.
  9819. * doc/aria2c.1
  9820. * doc/aria2c.1.html
  9821. * doc/aria2c.1.txt
  9822. 2008-07-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9823. Added --bt-seed option. If --bt-seed=true is given at the command-line,
  9824. aria2 seeds previously downloaded files without validating piece hashs.
  9825. * src/HelpItemFactory.cc
  9826. * src/OptionHandlerFactory.cc
  9827. * src/RequestGroup.cc
  9828. * src/option_processing.cc
  9829. * src/prefs.cc
  9830. * src/prefs.h
  9831. * src/usage_text.h
  9832. 2008-07-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9833. Updated DESCRIPTION of man page.
  9834. * doc/aria2c.1
  9835. * doc/aria2c.1.html
  9836. * doc/aria2c.1.txt
  9837. 2008-07-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9838. Fixed the compile error on Nexenta OS(GNU/Solaris OS).
  9839. Don't define `struct addrinfo' when __sun is defined.
  9840. * src/getaddrinfo.h
  9841. 2008-07-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9842. Introduced a2_struct_stat. It is defined as `struct _stati64' if
  9843. __MINGW32__ is defined, because under MinGW32, _stati64 is used and its
  9844. second argument is of type `struct _stati64'. Otherwise it is defined as
  9845. `struct stat'.
  9846. * src/AbstractDiskWriter.cc
  9847. * src/File.cc
  9848. * src/File.h
  9849. * src/a2io.h
  9850. 2008-07-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9851. Fixed the compile error in hurd-i386
  9852. See the original bug report:
  9853. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488602
  9854. * src/a2io.h
  9855. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9856. Code cleanup.
  9857. * src/PeerAbstractCommand.cc
  9858. * src/PeerAbstractCommand.h
  9859. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9860. Removed TransferEncoding.
  9861. * src/DownloadCommand.cc
  9862. * src/DownloadCommand.h
  9863. * src/HttpResponseCommand.cc
  9864. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9865. Updated po files.
  9866. * po/aria2c.pot
  9867. * po/*.po
  9868. * po/*.gmo
  9869. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9870. Rewritten ChunkedEncoding class as ChunkedDecoder class.
  9871. * src/A2STR.cc
  9872. * src/A2STR.h
  9873. * src/ChunkedDecoder.cc
  9874. * src/ChunkedDecoder.h
  9875. * src/ChunkedEncoding.cc: Removed
  9876. * src/ChunkedEncoding.h: Removed
  9877. * src/DownloadCommand.cc
  9878. * src/DownloadCommand.h
  9879. * src/HttpDownloadCommand.cc
  9880. * src/HttpResponse.cc
  9881. * src/HttpResponse.h
  9882. * src/HttpResponseCommand.cc
  9883. * src/HttpSkipResponseCommand.cc
  9884. * src/HttpSkipResponseCommand.h
  9885. * src/Makefile.am
  9886. * src/TransferEncoding.h: Removed
  9887. * test/ChunkedDecoderTest.cc
  9888. * test/ChunkedEncodingTest.cc: Removed
  9889. * test/HttpResponseTest.cc
  9890. * test/Makefile.am
  9891. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9892. Use append instead of insert.
  9893. * src/GZipDecoder.cc
  9894. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9895. Updated doc
  9896. * src/Decoder.h
  9897. 2008-06-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9898. Updated usage text for -s option.
  9899. * src/usage_text.h
  9900. 2008-06-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9901. Fixed the bug that UTF-8 encoded URL is not URL-encoded properly.
  9902. * src/Request.cc
  9903. 2008-06-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9904. Cleaned up configure.ac.
  9905. * configure.ac
  9906. 2008-06-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9907. Use ARIA2_ARG_WITH and ARIA2_ARG_ENABLE instead of AC_ARG_WITH and
  9908. AC_ARG_ENABLE.
  9909. * configure.ac
  9910. 2008-06-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9911. Added gzip, deflate decoding support in HTTP using libz. If compiled
  9912. with this feature, aria2 sends "Accept-Encoding: deflate, gzip" header
  9913. to a HTTP server. If a server returns "Content-Encoding: gzip" or
  9914. "Content-Encoding: deflate" then, aria2 decodes the response body on the
  9915. fly and writes decoded data to a local disk.
  9916. * README
  9917. * README.html
  9918. * configure.ac
  9919. * m4/aria2_arg.m4: Added ARIA2_ARG_WITH and ARIA2_ARG_ENABLE, they are
  9920. wrapper function for AC_ARG_WITH and AC_ARG_ENABLE respectively.
  9921. * m4/libz.m4
  9922. * src/Decoder.h
  9923. * src/DownloadCommand.cc
  9924. * src/DownloadCommand.h
  9925. * src/Exception.h
  9926. * src/GZipDecoder.cc
  9927. * src/GZipDecoder.h
  9928. * src/HttpHeader.cc
  9929. * src/HttpHeader.h
  9930. * src/HttpRequest.cc
  9931. * src/HttpRequest.h
  9932. * src/HttpResponse.cc
  9933. * src/HttpResponse.h
  9934. * src/HttpResponseCommand.cc
  9935. * src/Makefile.am
  9936. * test/GZipDecoderTest.cc
  9937. * test/HttpRequestTest.cc
  9938. * test/HttpResponseTest.cc
  9939. * test/Makefile.am
  9940. * test/Makefile.in
  9941. * test/gzip_decode_test.gz
  9942. 2008-06-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9943. Clarified usage of -j option.
  9944. * src/usage_text.h
  9945. 2008-06-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9946. Disabled getting size from the response of RETR.
  9947. If SIZE command failed, then disable resuming and segmented downloading.
  9948. * src/FtpConnection.cc
  9949. * src/FtpConnection.h
  9950. * src/FtpNegotiationCommand.cc
  9951. * src/FtpNegotiationCommand.h
  9952. 2008-06-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9953. Use digits to find first byte of file size, which makes the intention
  9954. of the code clearer.
  9955. * src/FtpConnection.cc
  9956. Don't call validateTotalLength() when size is 0.
  9957. * src/FtpNegotiationCommand.cc
  9958. 2008-06-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9959. Updated po files.
  9960. * po/aria2c.pot
  9961. * po/*.gmo
  9962. * po/*.po
  9963. 2008-06-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9964. Clarified usage text for --split option.
  9965. * src/usage_text.h
  9966. 2008-06-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9967. Bump up version number to 0.15.0dev. "dev" means "development"
  9968. version, which means I started the development of the next release!
  9969. * src/configure.ac
  9970. 2008-06-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9971. If FTP server returns negative response with REST raw command and
  9972. requested range is not 0, throw exception. If requested range is 0,
  9973. continue download a file from 0 byte.
  9974. * src/FtpNegotiationCommand.cc
  9975. * src/FtpNegotiationCommand.h
  9976. 2008-06-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9977. Supported FTP server which don't recognize SIZE raw command.
  9978. If SIZE raw command is failed, aria2 will try to get file size
  9979. from the response of RETR raw command. If both attempts are failed,
  9980. then resuming and segmented downloading are disabled.
  9981. * src/FtpConnection.cc
  9982. * src/FtpConnection.h
  9983. * src/FtpNegotiationCommand.cc
  9984. * src/FtpNegotiationCommand.h
  9985. 2008-06-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9986. * Release 0.14.0+1
  9987. 2008-06-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9988. Bump up version number to 0.14.0+1
  9989. * src/configure.ac
  9990. 2008-06-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9991. Fixed the code that refers static member variable from non-static
  9992. context.
  9993. * src/DefaultPeerStorage.cc
  9994. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9995. * Release 0.14.0
  9996. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9997. Added build test script
  9998. * build_test.sh
  9999. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10000. Updated ja.po
  10001. * src/ja.po
  10002. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10003. Bump up version number to 0.14.0
  10004. * src/configure.ac
  10005. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10006. Updated ja.po and fr.po. Great thanks for french translators and
  10007. Sebastien WILLEMIJNS.
  10008. * po/fr.po
  10009. * po/ja.po
  10010. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10011. Added configure option to enable/disable epoll support.
  10012. * configure.ac
  10013. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10014. Updated man page.
  10015. * doc/aria2c.1.txt
  10016. * doc/aria2c.1
  10017. * doc/aria2c.1.html
  10018. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10019. Added missing default value '5' to the usage of --split option.
  10020. * src/HelpItemFactory.cc
  10021. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10022. Filled up pieces based on the number of missing blocks, rather than
  10023. simplay the number of piece * block length.
  10024. * src/BtRequestFactory.h
  10025. * src/DefaultBtInteractive.cc
  10026. * src/DefaultBtInteractive.h
  10027. * src/DefaultBtRequestFactory.cc
  10028. * src/DefaultBtRequestFactory.h
  10029. * src/Piece.cc
  10030. * src/Piece.h
  10031. * test/BitfieldManTest.cc
  10032. * test/DefaultBtRequestFactoryTest.cc
  10033. * test/MockBtRequestFactory.h
  10034. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10035. Made _epEvents a member variable.
  10036. * src/DownloadEngine.cc
  10037. * src/DownloadEngine.h
  10038. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10039. Cancel download if http redirect is bounded more than 20 times.
  10040. * src/AbstractCommand.cc
  10041. * src/HttpSkipResponseCommand.cc
  10042. * src/Request.cc
  10043. * src/Request.h
  10044. * test/RequestTest.cc
  10045. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10046. Fixed unhandled exception(removed keyword `new').
  10047. * src/SocketCore.cc (initEPOLL)
  10048. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10049. Removed visit(const MetaEntry*)
  10050. * src/MetaEntryVisitor.h:
  10051. Added visit(const Data*),visit(const Dictionary*),visit(const List*)
  10052. and made them virtual.
  10053. * src/BencodeVisitor.h
  10054. * src/BencodeVisitor.cc
  10055. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10056. Updated po files.
  10057. * po/aria2c.pot
  10058. * po/*.po
  10059. * po/*.gmo
  10060. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10061. Moved the call setWriteCheckSocket inside the previous clause to reduce
  10062. the number of socket to watch out.
  10063. * src/PeerInteractionCommand.cc
  10064. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10065. When there is not enough space in disk when writing a chunk of data,
  10066. aria2 now prints the message to the console to warn user and aborts
  10067. its download. Not all downloads are canceled because some downloads
  10068. may use another disk or partition. BUG#1640332
  10069. * src/AbstractDiskWriter.cc
  10070. * src/PeerAbstractCommand.cc
  10071. * src/PeerAbstractCommand.h: Added onFailure() function for override.
  10072. * src/PeerInteractionCommand.cc: In onFailure(), call RequestGroup::
  10073. setHaltRequested(true) to cancel download.
  10074. * src/PeerInteractionCommand.h
  10075. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10076. Applied Ross's aria2-0.13.2+1-mingw-5.patch, which changes the type of
  10077. socket from int to sock_t as sockets are unsigned in Windows.
  10078. For AsyncNameResolver, DownloadEngine, I did additional modification
  10079. for the portion of the code changed according to epoll support.
  10080. I defined sock_t in a2netcompat.h to use sock_t without including
  10081. SocketCore.h.
  10082. * src/AsyncNameResolver.cc
  10083. * src/AsyncNameResolver.h
  10084. * src/DownloadEngine.cc
  10085. * src/DownloadEngine.h
  10086. * src/SocketCore.cc
  10087. * src/SocketCore.h
  10088. * src/a2netcompat.h
  10089. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10090. Applied Ross's aria2-0.13.2+1-mingw-4.patch. With this change, all
  10091. changes in the patch were applied.
  10092. * test/DHTConnectionImplTest.cc: Fixed unit test error in MinGW.
  10093. * test/DefaultPieceStorageTest.cc: Fixed unit test error in MinGW.
  10094. * test/PeerMessageUtilTest.cc: Fixed unit test error in MinGW.
  10095. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10096. Applied Ross's aria2-0.13.2+1-mingw-4.patch. In this change,
  10097. a2io.h and common.h were modified.
  10098. * src/a2io.h: Changed seek/stat/tell calls to use 64 bit versions in
  10099. MinGW.
  10100. * src/common.h: Changed off_t to 64 bit in MinGW.
  10101. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10102. Applied Ross's aria2-0.13.2+1-mingw-4.patch. In this commit,
  10103. only a2netcompat.h is modified.
  10104. * src/a2netcompat.h: Removed unused getaddrinfo related #define
  10105. directives.
  10106. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10107. Applied Ross's aria2-0.13.2+1-mingw-4.patch. In this commit,
  10108. only gai_strerror.h is modified.
  10109. * src/gai_strerror.h: Fixed gai_strerror() function to report all
  10110. winsock errors in MinGW.
  10111. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10112. Applied Ross's aria2-0.13.2+1-mingw-4.patch. In this commit, only the
  10113. follow sources are applied.
  10114. * src/Platform.h: I removed HAVE_WINSOCK2_H directive from Platform.h.
  10115. * src/Platform.cc: Moved common setup/teardown code to Platform class.
  10116. I moved #endif // HAVE_WINSOCK2_H to the front of #include "DlAbortEx.h"
  10117. I included locale.h from Platform.cc.
  10118. * src/main.cc: Moved common setup/teardown code to Platform class.
  10119. * test/AllTest.cc: Use Platform class.
  10120. Set locale to C in AllTest.cc to prevent the messages to be localized.
  10121. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10122. Applied Ross's aria2-0.13.2+1-mingw-3.patch.
  10123. * test/HttpHeaderTest.cc: Casted to off_t where it should.
  10124. * test/HttpRequestTest.cc: Casted to off_t where it should.
  10125. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10126. Applied Ross's aria2-0.13.2+1-mingw.patch and
  10127. aria2-0.13.2+1-mingw-2.patch.
  10128. * src/ConsoleStatCalc.cc: Added HAVE_TERMIOUS_H directive for the
  10129. systems which don't have termious.h. I moved the directive inside of
  10130. if(isTTY) { ... clause so that line is wiped out without termious.h.
  10131. I also removed HAVE_ASCTIME_R clause because asctime_r is provided
  10132. anyway.
  10133. * src/asctime_r.h
  10134. * src/asctime_r.c: Added for the systems don't have asctime_r function.
  10135. I added 2nd argument to the prototype declaration.
  10136. * src/StringFormat.cc: Get rid of vasprintf.
  10137. * src/getaddrinfo.h: Fixed constants.
  10138. * configure.ac: Added the check for asctime_r function.
  10139. * src/Makefile.am: Added conditional based on HAVE_ASCTIME_R
  10140. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10141. Added writable test for Socket when the sending message is in progress.
  10142. Usually the sending message is piece message. Without wriable check,
  10143. upload latency is dropped to more than 1sec.
  10144. * src/PeerInteractionCommand.cc
  10145. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10146. Create only requested files and files which shares a piece with
  10147. requested file in multi-torrent downloads. Directory structures are
  10148. also created in the same rule.
  10149. MultiDiskAdaptor::fileExists() now uses FileEntry instead of
  10150. DiskWriterEntry as in the previous implementation.
  10151. * src/MultiDiskWriter.cc
  10152. * src/MultiFileAllocationIterator.cc
  10153. * src/MultiFileAllocationIterator.h
  10154. * test/MultiFileAllocationIteratorTest.cc
  10155. 2008-06-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10156. Commented out -lprofiler
  10157. * src/Makefile.am
  10158. 2008-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10159. Bump up version number to 0.14.0b.
  10160. * src/configure.ac
  10161. 2008-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10162. Actively establish connection to peers in seeding, when peer cache
  10163. is not full and max upload speed limit is not reached.
  10164. * src/ActivePeerConnectionCommand.cc
  10165. * src/ActivePeerConnectionCommand.h
  10166. 2008-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10167. Always remove a peer from cache in DefaultPeerStorage::returnPeer(),
  10168. to make room more fleshy, recently found peers.
  10169. Peer::_badConditionStartTime is not used anymore. Consider to remove
  10170. it.
  10171. * src/DefaultPeerStorage.cc
  10172. * test/DefaultPeerStorageTest.cc
  10173. 2008-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10174. Returns cached data only when the previous receiveHandshake() is called
  10175. with peek = true.
  10176. * src/PeerConnection.cc (receiveHandshake)
  10177. * src/PeerConnection.h (receiveHandshake)
  10178. 2008-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10179. Changed default value of -s option from 1 to 5.
  10180. Also max value of -s option is changed from 5 to 16.
  10181. * src/HelpItemFactory.cc
  10182. * src/OptionHandlerFactory.cc
  10183. * src/option_processing.cc
  10184. * src/usage_text.h
  10185. 2008-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10186. Changed -s options behavior. Now it means the number of connections
  10187. made simultaneously in each http/ftp download.
  10188. If 1 URL is specified, the behavior is the same with old implementation.
  10189. If -s N is given and more than N URLs are specified, first N URLs are
  10190. used and remaining URLs are used for backup. If less than N URLs are
  10191. specified, some of URLs are used more than once so that totally N
  10192. connections are made simultaneously.
  10193. * src/main.cc
  10194. 2008-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10195. Included missing iosfwd or ostream header.
  10196. * src/RequestGroupMan.cc
  10197. * src/TaggedItem.cc
  10198. * src/TaggedItem.h
  10199. * src/Util.cc
  10200. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10201. * src/HttpHeaderProcessor.cc: Rewritten using std::string as a buffer.
  10202. * src/HttpHeaderProcessor.h: Rewritten using std::string as a buffer.
  10203. * src/HttpConnection.cc: Included missing sstream.
  10204. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10205. Added --bt-max-open-files option.
  10206. * src/DefaultPieceStorage.cc
  10207. * src/HelpItemFactory.cc
  10208. * src/MultiDiskAdaptor.cc
  10209. * src/MultiDiskAdaptor.h
  10210. * src/OptionHandlerFactory.cc
  10211. * src/option_processing.cc
  10212. * src/prefs.cc
  10213. * src/prefs.h
  10214. * src/usage_text.h
  10215. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10216. Fixed the bug that aria2 aborts when a path to a directory is given
  10217. in command-line.
  10218. * src/ProtocolDetector.cc
  10219. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10220. Limited the number files opened in each BitTorrent download. The default
  10221. value is 100. The option to change this value will be added.
  10222. * src/MultiDiskAdaptor.cc
  10223. * src/MultiDiskAdaptor.h
  10224. * src/MultiFileAllocationIterator.cc
  10225. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10226. Fixed the bug that HTTP downloads don't start with old libraries.
  10227. * src/HttpHeaderProcessor.cc
  10228. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10229. Use empty() instead of size() > 0.
  10230. * src/HttpConnection.cc
  10231. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10232. Drop connection if the incoming peer ID is the same with localhost's
  10233. one. The previous implementation drops connection when incoming peer's
  10234. IP address is the same with localhost's one.
  10235. * src/PeerListenCommand.cc
  10236. * src/DefaultBtInteractive.cc
  10237. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10238. Returns cached data without checking whether socket is readable
  10239. if the cache is available.
  10240. * src/PeerConnection.cc (receiveHandshake)
  10241. 2008-06-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10242. Included stdint.h
  10243. * src/common.h
  10244. 2008-06-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10245. Removed duplicate HAVE_GETTIMEOFDAY
  10246. * src/Makefile.am
  10247. * src/Makefile.in
  10248. 2008-06-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10249. Use interval as a minInterval when minInterval is not supplied.
  10250. * src/DefaultBtAnnounce.cc
  10251. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10252. Made DEFAULT_ANNOUNCE_INTERVAL 120, so that if first tracker request
  10253. attempt is failed, then 2nd attempt get kicked out more quickly.
  10254. And it is now static const member of DefaultBtAnnounce.
  10255. * src/DefaultBtAnnounce.h
  10256. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10257. Renamed BtRuntime::lessThanMinPeers() and BtRuntime::lessThanEqMinPeers.
  10258. Made MAX_PEERS and MIN_PEERS static const members of BtRuntime.
  10259. * src/ActivePeerConnectionCommand.cc
  10260. * src/BtConstants.h
  10261. * src/BtRuntime.h
  10262. * src/DHTGetPeersCommand.cc
  10263. * src/DefaultBtAnnounce.cc
  10264. * src/DefaultPeerStorage.cc: Calculate maxPeerListSize based on
  10265. BtRuntime::MAX_PEERS.
  10266. * src/DefaultPeerStorage.h
  10267. * src/InitiatorMSEHandshakeCommand.cc
  10268. * src/PeerInitiateConnectionCommand.cc
  10269. * src/PeerInteractionCommand.cc
  10270. * src/PeerReceiveHandshakeCommand.cc
  10271. * src/TrackerWatcherCommand.cc
  10272. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10273. Always Connect to _numNewConnection
  10274. * src/ActivePeerConnectionCommand.cc
  10275. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10276. Made `begin' unsigned int.
  10277. * src/GrowSegment.h
  10278. * src/Piece.cc
  10279. * src/Piece.h
  10280. * src/PiecedSegment.cc
  10281. * src/PiecedSegment.h
  10282. * src/Segment.h
  10283. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10284. Calculate piece hash when data is arrived if the data is arrived in
  10285. order. This removes additional read operation for hash calculation.
  10286. If the data is arrived in out of order, the hash is calucated when the
  10287. piece is completed. This is the same behavior as the old implementation.
  10288. * src/BtPieceMessage.cc
  10289. * src/DefaultBtProgressInfoFile.cc
  10290. * src/DefaultPieceStorage.cc
  10291. * src/DownloadCommand.cc
  10292. * src/DownloadCommand.h
  10293. * src/DownloadEngine.cc
  10294. * src/GrowSegment.cc
  10295. * src/GrowSegment.h
  10296. * src/Piece.cc
  10297. * src/Piece.h
  10298. * src/PiecedSegment.cc
  10299. * src/PiecedSegment.h
  10300. * src/Segment.h
  10301. * test/PieceTest.cc
  10302. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10303. Try to keep the ordering of outgoing piece message.
  10304. * src/DefaultBtMessageDispatcher.cc
  10305. (DefaultBtMessageDispatcher::sendMessages)
  10306. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10307. Fixed busy loop when error/hup epoll events occur.
  10308. * src/AbstractCommand.cc
  10309. * src/PeerAbstractCommand.cc
  10310. 2008-06-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10311. Added --bt-request-peer-speed-limit option, which was a constant
  10312. SLOW_SPEED_THRESHOLD.
  10313. * src/ActivePeerConnectionCommand.cc
  10314. * src/ActivePeerConnectionCommand.h
  10315. * src/BtConstants.h
  10316. * src/HelpItemFactory.cc
  10317. * src/OptionHandlerFactory.cc
  10318. * src/PeerReceiveHandshakeCommand.cc
  10319. * src/option_processing.cc
  10320. * src/prefs.cc
  10321. * src/prefs.h
  10322. * src/usage_text.h
  10323. 2008-06-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10324. Removed repeated call of getTopDirPath(). Instead, call it once and
  10325. cache the result.
  10326. * src/MultiDiskAdaptor.cc
  10327. * src/MultiDiskAdaptor.h
  10328. (mkdir, openFile, initAndOpenFile, openExistingFile)
  10329. 2008-06-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10330. Fixed compile error on debian etch.
  10331. The libc6 shipped with debian etch doesn't define ULLONG_MAX properly
  10332. even if _GNU_SOURCE is defined. So define ULLONG_MAX in case when
  10333. it is undefined.
  10334. * src/Util.cc (ULLONG_MAX)
  10335. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10336. Added epoll support. Use epoll if it is available. If not, use select.
  10337. When async dns is enabled in compile time, epoll support is enabled
  10338. only when aria2 is built with c-ares. This condition statement is
  10339. defined in a2io.h.
  10340. Currently aria2 supports both c-ares and ares, but ares is maintained
  10341. for quite a while and debian already has c-ares package, ares support
  10342. will be dropped in the future version.
  10343. * configure.ac
  10344. * src/AbstractCommand.cc
  10345. * src/AsyncNameResolver.cc
  10346. * src/AsyncNameResolver.h
  10347. * src/Command.cc
  10348. * src/Command.h
  10349. * src/DownloadEngine.cc
  10350. * src/DownloadEngine.h
  10351. * src/PeerAbstractCommand.cc
  10352. * src/SocketCore.cc
  10353. * src/SocketCore.h
  10354. * src/a2io.h
  10355. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10356. * test/MetalinkEntryTest.cc: Added missing `defined' keyword to #if
  10357. directive.
  10358. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10359. Do not do write operation to /dev/null file.
  10360. * src/LogFactory.cc
  10361. * src/SimpleLogger.cc
  10362. Replaced vasprintf with vsnprintf
  10363. * src/SimpleLogger.cc (SimpleLogger::writeLog)
  10364. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10365. * src/BtRequestMessage.cc
  10366. (BtRequestMessage::onQueue): Given piece to RequestSlot. This is a fix
  10367. for segmentation fault caused by previous commit.
  10368. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10369. Reduced the usage of gettimeofday().
  10370. * src/DefaultBtMessageDispatcher.cc
  10371. (DefaultBtMessageDispatcher::checkRequestSlotAndDoNecessaryThing)
  10372. (class FindStaleRequestSlot, class ProcessStaleRequestSlot)
  10373. * src/RequestSlot.cc
  10374. * src/RequestSlot.h
  10375. (RequestSlot::isTimeout)
  10376. Made RequestSlot have a reference to Piece object to avoid find
  10377. Piece repeatedly.
  10378. * src/DefaultBtMessageDispatcher.cc
  10379. (class FindStaleRequestSlot, class ProcessStaleRequestSlot)
  10380. * src/RequestSlot.cc
  10381. * src/RequestSlot.h
  10382. (RequestSlot::getPiece)
  10383. * test/DefaultBtMessageDispatcherTest.cc
  10384. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10385. * src/TimeA2.cc
  10386. * src/TimeA2.h
  10387. (Time::difference): New function.
  10388. (Time::elapsed): Done optimization.
  10389. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10390. * src/HelpItemFactory.cc: Added missing `defined' keyword to #if
  10391. directive.
  10392. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10393. * src/option_processing.cc: Added missing `defined' keyword to #if
  10394. directive.
  10395. 2008-05-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10396. Bump up version number to 0.13.2+1
  10397. * src/configure.ac
  10398. 2008-05-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10399. Refactored broken outstanding piece handling.
  10400. * src/DefaultPieceStorage.cc
  10401. * src/DefaultPieceStorage.h
  10402. * src/Piece.cc
  10403. * src/Piece.h
  10404. 2008-05-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10405. Fixed compile error on Mac OS X 10.3.9. This error was caused by the
  10406. name collision of static variable and predefined macro.
  10407. * src/BtContext.cc
  10408. * src/BtContext.h
  10409. * src/CookieBoxFactory.cc
  10410. * src/CookieBoxFactory.h
  10411. * src/CookieParser.cc
  10412. * src/CookieParser.h
  10413. * src/DefaultBtContext.cc
  10414. 2008-05-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10415. * src/RequestGroup.cc
  10416. (RequestGroup::createInitialCommand): Use empty() instead of size().
  10417. 2008-05-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10418. * Release 0.13.2
  10419. 2008-05-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10420. Updated fr.po(thanks to Sebastien) and ja.po. ThanksDone make update-po
  10421. * po/fr.po
  10422. * po/ja.po
  10423. * po/aria2c.pot
  10424. * po/*.po
  10425. * po/*.gmo
  10426. 2008-05-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10427. Bump up version number to 0.13.2
  10428. * src/configure.ac
  10429. 2008-05-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10430. Refactord.
  10431. * src/RequestGroupMan.cc
  10432. (removeStoppedGroup)
  10433. (fillRequestGroupFromReserver)
  10434. 2008-05-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10435. Fixed compile error on Ubuntu.
  10436. * src/BtPieceMessage.cc
  10437. * src/MessageDigestHelper.cc
  10438. * src/Util.cc
  10439. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10440. Fixed compile error when configured with --disable-bittorrent
  10441. * test/DownloadHandlerFactoryTest.cc
  10442. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10443. Done make update-po
  10444. * po/aria2c.pot
  10445. * po/*.po
  10446. * po/*.gmo
  10447. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10448. Bump up version number to 0.13.2rc.
  10449. * src/configure.ac
  10450. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10451. Made option name bold. Updated SYNOPSIS to make it more readable.
  10452. * doc/aria2c.1.txt
  10453. * doc/aria2c.1
  10454. * doc/aria2c.1.html
  10455. * src/version_usage.cc
  10456. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10457. Refactored. Use std::string instead of size and char*.
  10458. * Data.cc
  10459. * Data.h
  10460. * test/Data.cc
  10461. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10462. Added trimSelf(). Rewritten trim() to use trimSelf().
  10463. * Util.cc
  10464. * Util.h
  10465. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10466. * src/ChunkChecksum.h (getChecksum): Return const reference.
  10467. 2008-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10468. Fixed compile error when configured with --disable-metalink.
  10469. Also moved test/DownloadHandlerFactoryTest.cc to SRC in Makefile.am.
  10470. * test/FeatureConfigTest.cc
  10471. * test/DownloadHandlerFactoryTest.cc
  10472. 2008-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10473. Fixed compile error when configured with --without-gnutls
  10474. --without-openssl
  10475. * src/main.cc
  10476. * test/DefaultBtProgressInfoFileTest.cc
  10477. * test/SegmentManTest.cc
  10478. 2008-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10479. Fixed compile error with OpenSSL.
  10480. * src/IteratableChunkChecksumValidator.cc
  10481. * src/LibsslDHKeyExchange.h
  10482. * src/MessageDigestHelper.cc
  10483. 2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10484. Revert the default value of --max-concurrent-downloads to 5.
  10485. Revert the default value of --metalink-servers to 5.
  10486. Man pages was also updated.
  10487. * src/option_processing.cc
  10488. * doc/aria2c.1.txt
  10489. * doc/aria2c.1.html
  10490. * doc/aria2c.1
  10491. 2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10492. Returns const reference:
  10493. DownloadContext::getPieceHash, DownloadContext::getName,
  10494. DownloadContext::getPieceHashAlgo, DownloadContext::getDir,
  10495. BtContext::getInfoHashAsString,
  10496. * src/BtContext.h
  10497. * src/DefaultBtContext.cc
  10498. * src/DefaultBtContext.h
  10499. * src/DownloadContext.h
  10500. * src/SingleFileDownloadContext.h
  10501. * test/MockBtContext.h
  10502. 2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10503. * src/RequestGroup.h (getDir): Removed.
  10504. 2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10505. Returns const reference. The internal urlencode function was optimized
  10506. a little bit.
  10507. * src/Request.cc
  10508. * src/Request.h
  10509. * src/HttpRequest.cc
  10510. * src/HttpRequest.h
  10511. 2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10512. Defined option name and possible values as std::string to reduce
  10513. temporary string object creation in runtime.
  10514. * src/HelpItemFactory.cc
  10515. * src/LogFactory.cc
  10516. * src/Option.cc
  10517. * src/OptionHandlerFactory.cc
  10518. * src/option_processing.cc
  10519. * src/prefs.cc
  10520. * src/prefs.h
  10521. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10522. Return const reference.
  10523. * src/DownloadHandlerConstants.cc
  10524. * src/DownloadHandlerConstants.h
  10525. (getMetalinkExtensions)
  10526. (getMetalinkContentTypes)
  10527. (getBtExtensions)
  10528. (getBtContentTypes)
  10529. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10530. * src/HttpHeader.cc (get): Rewritten.
  10531. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10532. Make HttpHeader::getFirst(...) return const reference.
  10533. * src/HttpHeader.cc
  10534. * src/HttpHeader.h
  10535. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10536. Use Option::getAsBool(...) instead of Option::get(...) and compare
  10537. it with V_TRUE.
  10538. * src/DefaultPieceStorage.cc
  10539. * src/DownloadCommand.cc
  10540. * src/FtpNegotiationCommand.cc
  10541. * src/HttpRequest.cc
  10542. * src/InitiateConnectionCommand.cc
  10543. * src/RequestGroup.cc
  10544. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10545. Made Option::get(...) return const reference of std::string.
  10546. * src/Option.cc
  10547. * src/Option.h
  10548. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10549. Replaced std:copy with insert.
  10550. * src/DefaultBtMessageDispatcher.cc
  10551. * src/DefaultPieceStorage.cc
  10552. * src/DownloadEngineFactory.cc
  10553. * src/RequestGroup.cc
  10554. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10555. Included SocketCore.h to fix compiler warning.
  10556. * src/InitiateConnectionCommand.cc
  10557. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10558. Put piece selection strategy algorithm to RarestPieceSelector class,
  10559. Added a switch to choose whether randomized selection so that unit
  10560. tests emit same results in, possibly, win32.
  10561. * src/DefaultPieceStorage.cc
  10562. * src/DefaultPieceStorage.h
  10563. * src/RarestPieceSelector.cc
  10564. * src/RarestPieceSelector.h
  10565. * test/DefaultPieceStorageTest.cc
  10566. * test/RarestPieceSelectorTest.cc
  10567. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10568. Don't pool connection if HTTP proxy is enabled.
  10569. * src/FtpFinishDownloadCommand.cc
  10570. * src/FtpNegotiationCommand.cc
  10571. * src/HttpSkipResponseCommand.cc
  10572. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10573. Don't add closed socket to DownloadEngine::addSocketForReadCheck()
  10574. * src/AbstractCommand.cc
  10575. * src/AbstractCommand.h
  10576. * src/ActivePeerConnectionCommand.cc
  10577. * src/FtpInitiateConnectionCommand.cc
  10578. * src/HttpInitiateConnectionCommand.cc
  10579. * src/InitiateConnectionCommandFactory.cc
  10580. * src/PeerAbstractCommand.cc
  10581. * src/PeerAbstractCommand.h
  10582. * src/PeerInitiateConnectionCommand.cc
  10583. * src/TrackerWatcherCommand.cc
  10584. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10585. Sort RequestSlot in ascending order and manipulate them using
  10586. lower_bound.
  10587. * src/DefaultBtMessageDispatcher.cc
  10588. * src/DefaultBtMessageDispatcher.h
  10589. (getMessageQueue): Added const qualifier.
  10590. (getRequestSlots): Added const qualifier.
  10591. (sendMessages): Use empty() instead of size().
  10592. (doCancelSendingPieceAction): Use HandleEvent object.
  10593. (doAbortOutstandingRequestAction): Rewritten.
  10594. (doChokedAction): Rewritten.
  10595. (checkRequestSlotAndDoNecessaryThing): Rewritten.
  10596. (isOutstandingRequest): Rewritten.
  10597. (getOutstandingRequest): Rewritten.
  10598. (removeOutstandingRequest): Rewritten.
  10599. (addOutstandingRequest): Rewritten.
  10600. * src/RequestSlot.cc
  10601. * src/RequestSlot.h
  10602. (operator=): Rewritten.
  10603. (operator!=): New function.
  10604. (operator<): New function.
  10605. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10606. * src/DefaultBtRequestFactory.cc
  10607. (doChokedAction): Rewritten.
  10608. (removeCompletedPiece): Rewritten.
  10609. (removeTargetPiece): Rewritten.
  10610. (createRequestMessages): Added the debug log.
  10611. (createRequestMessagesOnEndGame: Added the debug log.
  10612. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10613. Added the debug log message.
  10614. * src/BtPieceMessage.cc (doReceivedAction)
  10615. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10616. Sorted DHTPeerAnnounceEntry in a ascending order of info hash and
  10617. used lower_bound to process them rather than linear search.
  10618. * src/DHTPeerAnnounceStorage.cc
  10619. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10620. Call subtractPieceStats from ~PeerInteractionCommand only when the
  10621. peer has at least one completed piece.
  10622. * src/Peer.cc
  10623. * src/Peer.h
  10624. * src/PeerInteractionCommand.cc
  10625. * src/PeerSessionResource.cc
  10626. * src/PeerSessionResource.h
  10627. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10628. Removed unnecessary sorting
  10629. * src/DefaultPieceStorage (DefaultPieceStorage)
  10630. 2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10631. Rewritten the portion of the code that mangaes allowed fast indexes.
  10632. * src/PeerSessionResource.cc
  10633. * src/PeerSessionResource.h
  10634. 2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10635. Removed the invalid string including '\r' from ru.po and
  10636. did make update-po.
  10637. 2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10638. Added --log-level and --summary-interval to man page.
  10639. * doc/aria2c.1.txt
  10640. * doc/aria2c.1.html
  10641. * doc/aria2c.1
  10642. 2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10643. Added --log-level option to specify log level. Log messages under
  10644. the specified level are not output. Default value is `debug'.
  10645. * src/HelpItemFactory.cc
  10646. * src/LogFactory.cc
  10647. * src/LogFactory.h
  10648. * src/Logger.h
  10649. * src/OptionHandlerFactory.cc
  10650. * src/SimpleLogger.cc
  10651. * src/SimpleLogger.h
  10652. * src/main.cc
  10653. * src/option_processing.cc
  10654. * src/prefs.h
  10655. * src/usage_text.h
  10656. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10657. Print download progress summary of all parallel downloads in specified
  10658. interval, default 60 secs. While aria2 could download several files
  10659. in parallel (see -j option), it displayed just first download progress,
  10660. and the other downloads are hidden from the users. This new feature
  10661. prints all downloads currently in-progress to the console so that you
  10662. can check the status of all downloads. The interval can be adjusted
  10663. by --summary-interval option.
  10664. The progress readout is now cut so that all fits in the one line of
  10665. console.
  10666. * src/ConsoleStatCalc.cc
  10667. * src/ConsoleStatCalc.h
  10668. * src/HelpItemFactory.cc
  10669. * src/OptionHandlerFactory.cc
  10670. * src/RequestGroupMan.cc
  10671. * src/RequestGroupMan.h
  10672. * src/main.cc
  10673. * src/option_processing.cc
  10674. * src/prefs.h
  10675. * src/usage_text.h
  10676. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10677. Call updateFdSet() to initialize rfdset, wfdset fdmax.
  10678. * src/DownloadEngine.cc (DownloadEngine)
  10679. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10680. Use free() to deallocate memory for _buffer if HAVE_POSIX_MEMALIGN is
  10681. defined.
  10682. * src/SingleFileAllocationIterator.cc (~SingleFileAllocationIterator)
  10683. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10684. Use erase+lower_bound+insert instead of sort.
  10685. * src/DefaultPieceStorage.cc (addPieceStats)
  10686. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10687. Use A2STR::SHARP_C and A2STR::EQUAL_C.
  10688. * src/A2STR.cc
  10689. * src/A2STR.h
  10690. * src/OptionParser.cc (parse)
  10691. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10692. Defined fake filename `[tracker.announce]' as static const std::string.
  10693. * src/TrackerWatcherCommand.cc (createRequestGroup)
  10694. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10695. Defined default filename `index.html' as static const std::string
  10696. * src/SingleFileDownloadContext.cc
  10697. * src/SingleFileDownloadContext.h
  10698. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10699. Defined "[MEMORY]" as static const std::string.
  10700. * src/MemoryBufferPreDownloadHandler.cc (execute)
  10701. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10702. Defined control file's version number as static const std::string.
  10703. * src/DefaultBtProgressInfoFile.cc
  10704. * src/DefaultBtProgressInfoFile.h
  10705. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10706. Use Request::METHOD_GET
  10707. * src/RequestGroup.cc (createNextCommandWithAdj)
  10708. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10709. Defined "OK", "ERR", "INPR" as static const std::string
  10710. * src/RequestGroupMan.cc (showDownloadResults)
  10711. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10712. Defined default client used in extended handshake as static const
  10713. std::string
  10714. * src/DefaultBtInteractive.cc (addHandshakeExtendedMessageToQueue)
  10715. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10716. Defined AUTH_HEADER, PROXY_AUTH_HEADER as static const std::string
  10717. * src/HttpConnection.cc (eraseConfidentialInfo)
  10718. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10719. Defined default ftp user and password as static const std::string
  10720. * src/AuthConfigFactory.cc
  10721. * src/AuthConfigFactory.h
  10722. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10723. Defined strings used in netrc as static const std::string
  10724. * src/Netrc.cc
  10725. * src/Netrc.h
  10726. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10727. Defined HTTP status as static const std::string
  10728. * src/AbstractProxyResponseCommand.cc
  10729. * src/HttpHeader.cc
  10730. * src/HttpHeader.h
  10731. * src/HttpResponse.cc
  10732. * src/HttpResponseCommand.cc
  10733. * src/HttpSkipResponseCommand.cc
  10734. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10735. Defined "\r\n", "A", "I" as static const std::string
  10736. * src/A2STR.cc
  10737. * src/A2STR.h
  10738. * src/FtpConnection.cc
  10739. * src/FtpConnection.h
  10740. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10741. Added COLON_C(".") and used it in Request::parseUrl()
  10742. * src/A2STR.cc
  10743. * src/A2STR.h
  10744. * src/Request.cc (parseUrl)
  10745. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10746. Changed the type of padName from `const std::string&' to `const char*'.
  10747. * src/MSEHandshake.cc (verifyPadLength)
  10748. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10749. Defined "sha1" as static const std::string.
  10750. * src/MetalinkParserController.cc
  10751. * src/MetalinkParserController.h
  10752. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10753. Defined message digest algorithm name as static const std::string
  10754. * src/DHTTokenTracker.cc
  10755. * src/DHTUtil.cc
  10756. * src/DefaultBtContext.cc
  10757. * src/MSEHandshake.cc
  10758. * src/MessageDigestHelper.cc
  10759. * src/Peer.cc
  10760. * src/messageDigest.cc
  10761. * src/messageDigest.h
  10762. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10763. Made string literals used in SAX parser static const std::string.
  10764. * src/FileMetalinkParserState.cc
  10765. * src/FileMetalinkParserState.h
  10766. * src/FilesMetalinkParserState.cc
  10767. * src/FilesMetalinkParserState.h
  10768. * src/InitialMetalinkParserState.cc
  10769. * src/InitialMetalinkParserState.h
  10770. * src/MetalinkMetalinkParserState.cc
  10771. * src/MetalinkMetalinkParserState.h
  10772. * src/PiecesMetalinkParserState.cc
  10773. * src/PiecesMetalinkParserState.h
  10774. * src/ResourcesMetalinkParserState.cc
  10775. * src/ResourcesMetalinkParserState.h
  10776. * src/VerificationMetalinkParserState.cc
  10777. * src/VerificationMetalinkParserState.h
  10778. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10779. Use A2STR::SLASH_C, A2STR::DOT_C instead of "/", "." respectively.
  10780. * src/A2STR.cc
  10781. * src/A2STR.h
  10782. * src/File.cc
  10783. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10784. Defined static const std::string IP("ip"), PORT("port") and use them
  10785. instead of string literals.
  10786. * src/DefaultPeerListProcessor.cc
  10787. * src/DefaultPeerListProcessor.h
  10788. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10789. Made string literals for torrent file processing static const
  10790. std::string.
  10791. * src/BtContext.cc
  10792. * src/BtContext.h
  10793. * src/DefaultBtContext.cc
  10794. * src/DefaultBtContext.h
  10795. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10796. Made string literal for tracker response static const std::string
  10797. * src/BtAnnounce.cc
  10798. * src/BtAnnounce.h
  10799. * src/DefaultBtAnnounce.cc
  10800. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10801. Use DHTMessage::T instead of "t".
  10802. * src/DHTMessageTracker.cc (messageArrived)
  10803. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10804. Made keyName static const. Made trimmed charset static const
  10805. std::string.
  10806. * src/Util.cc (getContentDispositionFilename)
  10807. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10808. Made USER_AGENT const. Made "/" static const std::string.
  10809. * src/A2STR.cc
  10810. * src/A2STR.h
  10811. * src/HttpRequest.cc
  10812. * src/HttpRequest.h
  10813. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10814. Made string listeral to static const std::string:
  10815. "Content-Range", "Content-Length"
  10816. * src/HttpHeader.cc
  10817. * src/HttpHeader.h
  10818. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10819. Made string listeral to static const std::string.
  10820. * src/HttpConnection.cc
  10821. * src/HttpHeader.cc
  10822. * src/HttpHeader.h
  10823. * src/HttpResponse.cc
  10824. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10825. Made string listeral to static const std::string.
  10826. * src/A2STR.cc
  10827. * src/A2STR.h
  10828. * src/SimpleLogger.cc
  10829. * src/SimpleLogger.h
  10830. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10831. Made string literal to static const std::string.
  10832. Rewritten CookieParser::setField.
  10833. * src/A2STR.cc
  10834. * src/A2STR.h
  10835. * src/CookieBoxFactory.cc
  10836. * src/CookieBoxFactory.h
  10837. * src/CookieParser.cc
  10838. * src/CookieParser.h
  10839. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10840. Made string literal to static const std::string
  10841. * src/DHTAbstractMessage.cc
  10842. * src/DHTAnnouncePeerMessage.cc
  10843. * src/DHTAnnouncePeerMessage.h
  10844. * src/DHTAnnouncePeerReplyMessage.cc
  10845. * src/DHTAnnouncePeerReplyMessage.h
  10846. * src/DHTFindNodeMessage.cc
  10847. * src/DHTFindNodeMessage.h
  10848. * src/DHTFindNodeReplyMessage.cc
  10849. * src/DHTFindNodeReplyMessage.h
  10850. * src/DHTGetPeersMessage.cc
  10851. * src/DHTGetPeersMessage.h
  10852. * src/DHTGetPeersReplyMessage.cc
  10853. * src/DHTGetPeersReplyMessage.h
  10854. * src/DHTMessage.cc
  10855. * src/DHTMessage.h
  10856. * src/DHTMessageFactoryImpl.cc
  10857. * src/DHTMessageReceiver.cc
  10858. * src/DHTPingMessage.cc
  10859. * src/DHTPingMessage.h
  10860. * src/DHTPingReplyMessage.cc
  10861. * src/DHTPingReplyMessage.h
  10862. * src/DHTQueryMessage.cc
  10863. * src/DHTQueryMessage.h
  10864. * src/DHTResponseMessage.cc
  10865. * src/DHTResponseMessage.h
  10866. * src/DHTUnknownMessage.cc
  10867. * src/DHTUnknownMessage.h
  10868. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10869. Made string literal to static const std::string
  10870. * src/BtChokeMessage.cc (toString)
  10871. * src/BtHaveAllMessage.cc (toString)
  10872. * src/BtHaveNoneMessage.cc (toString)
  10873. * src/BtInterestedMessage.cc (toString)
  10874. * src/BtNotInterestedMessage.cc (toString)
  10875. * src/BtUnchokeMessage.cc (toString)
  10876. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10877. Replaced "" with static const variable A2STR::NIL.
  10878. Replaced string comparison against "" with std::string::empty().
  10879. Added PROTO_* to Request class and use them as a protocol string
  10880. constant.
  10881. Made "started", "stopped", "completed" static const variable in
  10882. AnnounceList class.
  10883. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10884. Updated translations. Great thanks to translators.
  10885. * po/ca.po
  10886. * po/de.po
  10887. * po/fr.po
  10888. * po/it.po
  10889. * po/ja.po
  10890. * po/ru.po
  10891. * po/zh_CN.po
  10892. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10893. Updated man page; categorized options and fixed typo.
  10894. * doc/aria2c.1.txt
  10895. * doc/aria2c.1.html
  10896. * doc/aria2c.1
  10897. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10898. Removed const ref
  10899. * src/MetalinkEntry.cc (AddProtocolPreference)
  10900. * src/RequestGroup.cc (FindServerHostByHostname)
  10901. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10902. Rewritten Accept-Features handling.
  10903. * src/HttpRequestCommand.cc (createHttpRequest)
  10904. * src/a2functional.h
  10905. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10906. Changed method signature:
  10907. DHTAbstractNodeLookupTask::toEntries
  10908. * src/DHTAbstractNodeLookupTask.cc
  10909. * src/DHTAbstractNodeLookupTask.h
  10910. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10911. Changed method signature:
  10912. BtContext::computeFastSet, DefaultBtContext::extractUrlList
  10913. * src/BtContext.h
  10914. * src/DefaultBtContext.cc
  10915. * src/DefaultBtContext.h
  10916. * src/DefaultBtInteractive.cc
  10917. * test/DefaultBtContextTest.cc
  10918. * test/MockBtContext.h
  10919. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10920. Changed method signature:
  10921. MultiFileAllocationIterator::makeDiskWriterEntries
  10922. * src/MultiFileAllocationIterator.cc
  10923. * src/MultiFileAllocationIterator.h
  10924. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10925. Changed method sinature:
  10926. MetalinkEntry::toFileEntry,
  10927. MetalinkHelper::query, MetalinkHelper::parseAndQuery,
  10928. Metalinker::queryEntry
  10929. * src/Metalink2RequestGroup.cc
  10930. * src/MetalinkEntry.cc
  10931. * src/MetalinkEntry.h
  10932. * src/MetalinkHelper.cc
  10933. * src/MetalinkHelper.h
  10934. * src/Metalinker.cc
  10935. * src/Metalinker.h
  10936. * src/main.cc
  10937. * test/MetalinkHelperTest.cc
  10938. * test/MetalinkerTest.cc
  10939. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10940. Changed method sinature:
  10941. RequestGroup::getURIs
  10942. * src/RequestGroup.cc
  10943. * src/RequestGroup.h
  10944. * test/Metalink2RequestGroupTest.cc
  10945. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10946. Changed method signature:
  10947. PeerListProcessor::extractPeer
  10948. * src/CompactPeerListProcessor.cc
  10949. * src/CompactPeerListProcessor.h
  10950. * src/DefaultBtAnnounce.cc
  10951. * src/DefaultPeerListProcessor.cc
  10952. * src/DefaultPeerListProcessor.h
  10953. * src/DelegatingPeerListProcessor.cc
  10954. * src/DelegatingPeerListProcessor.h
  10955. * src/PeerListProcessor.h
  10956. * src/UTPexExtensionMessage.cc
  10957. * test/DefaultPeerListProcessorTest.cc
  10958. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10959. Changed method signature:
  10960. BtRequestFactory::createRequestMessages,
  10961. BtRequestFactory::createRequestMessagesOnEndGame
  10962. * src/BtRequestFactory.h
  10963. * src/DefaultBtInteractive.cc
  10964. * src/DefaultBtRequestFactory.cc
  10965. * src/DefaultBtRequestFactory.h
  10966. * test/DefaultBtRequestFactoryTest.cc
  10967. * test/MockBtRequestFactory.h
  10968. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10969. Changed method signature:
  10970. PieceStorage::getInFlightPieces
  10971. * src/DefaultBtProgressInfoFile.cc
  10972. * src/DefaultPieceStorage.cc
  10973. * src/DefaultPieceStorage.h
  10974. * src/PieceStorage.h
  10975. * src/UnknownLengthPieceStorage.cc
  10976. * src/UnknownLengthPieceStorage.h
  10977. * test/DefaultBtProgressInfoFileTest.cc
  10978. * test/MockPieceStorage.h
  10979. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10980. Changed method signature:
  10981. PostDownloadHandler::getNextRequestGroups
  10982. Metalink2RequestGroup::generate
  10983. RequestGroup::postDownloadProcessing
  10984. * src/BtPostDownloadHandler.cc
  10985. * src/BtPostDownloadHandler.h
  10986. * src/Metalink2RequestGroup.cc
  10987. * src/Metalink2RequestGroup.h
  10988. * src/MetalinkPostDownloadHandler.cc
  10989. * src/MetalinkPostDownloadHandler.h
  10990. * src/PostDownloadHandler.h
  10991. * src/RequestGroup.cc
  10992. * src/RequestGroup.h
  10993. * src/RequestGroupMan.cc
  10994. * src/main.cc
  10995. * test/BtPostDownloadHandlerTest.cc
  10996. * test/Metalink2RequestGroupTest.cc
  10997. * test/MetalinkPostDownloadHandlerTest.cc
  10998. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10999. Rewritten AccRequestGroup
  11000. * src/main.cc
  11001. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11002. Rewritten.
  11003. * src/TaggedItem.cc (toTagString)
  11004. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11005. Rewritten Accept-Features handling.
  11006. * src/HttpRequestCommand.cc (createHttpRequest)
  11007. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11008. Rewritten accept types handling.
  11009. * HttpRequest.cc (createRequest)
  11010. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11011. Rewritten
  11012. * src/FeatureConfig.cc (featureSummary)
  11013. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11014. Changed method signature:
  11015. PeerStorage::getActivePeers
  11016. * src/DHTPeerAnnounceEntry.cc
  11017. * src/DefaultPeerStorage.cc
  11018. * src/DefaultPeerStorage.h
  11019. * src/PeerStorage.h
  11020. * test/DefaultPeerStorageTest.cc
  11021. * test/MockPeerStorage.h
  11022. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11023. Changed method signature:
  11024. DHTPeerAnnounceStorage::getPeers,
  11025. DHTPeerAnnounceEntry::getPeers
  11026. * src/DHTGetPeersMessage.cc
  11027. * src/DHTPeerAnnounceEntry.cc
  11028. * src/DHTPeerAnnounceEntry.h
  11029. * src/DHTPeerAnnounceStorage.cc
  11030. * src/DHTPeerAnnounceStorage.h
  11031. * test/DHTAnnouncePeerMessageTest.cc
  11032. * test/DHTPeerAnnounceEntryTest.cc
  11033. * test/DHTPeerAnnounceStorageTest.cc
  11034. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11035. Changed method signature:
  11036. NameResolver::resolve
  11037. * src/DHTEntryPointNameResolveCommand.cc
  11038. * src/InitiateConnectionCommand.cc
  11039. * src/NameResolver.cc
  11040. * src/NameResolver.h
  11041. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11042. Changed method signature:
  11043. PieceStorage::getAdvertisedPieceIndexes
  11044. * src/DefaultBtInteractive.cc
  11045. * src/DefaultPieceStorage.cc
  11046. * src/DefaultPieceStorage.h
  11047. * src/PieceStorage.h
  11048. * src/UnknownLengthPieceStorage.h
  11049. * test/MockPieceStorage.h
  11050. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11051. Changed method signature:
  11052. SegmentMan::getInFlightSegment
  11053. * src/AbstractCommand.cc
  11054. * src/SegmentMan.cc
  11055. * src/SegmentMan.h
  11056. * test/SegmentManTest.cc
  11057. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11058. Changed method signature:
  11059. DHTAbstractNodeLookupTask::getNodesFromMessage
  11060. * src/DHTAbstractNodeLookupTask.cc
  11061. * src/DHTAbstractNodeLookupTask.h
  11062. * src/DHTNodeLookupTask.cc
  11063. * src/DHTNodeLookupTask.h
  11064. * src/DHTPeerLookupTask.cc
  11065. * src/DHTPeerLookupTask.h
  11066. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11067. Pass std::deque<Command*> by reference to avoid unnecessary coping.
  11068. * src/AbstractCommand.cc
  11069. * src/BtCheckIntegrityEntry.cc
  11070. * src/BtCheckIntegrityEntry.h
  11071. * src/BtFileAllocationEntry.cc
  11072. * src/BtFileAllocationEntry.h
  11073. * src/BtSetup.cc
  11074. * src/BtSetup.h
  11075. * src/CheckIntegrityCommand.cc
  11076. * src/CheckIntegrityEntry.h
  11077. * src/ChecksumCheckIntegrityEntry.cc
  11078. * src/ChecksumCheckIntegrityEntry.h
  11079. * src/DHTSetup.cc
  11080. * src/DHTSetup.h
  11081. * src/DownloadEngine.cc
  11082. * src/FileAllocationCommand.cc
  11083. * src/FileAllocationEntry.h
  11084. * src/RequestGroup.cc
  11085. * src/RequestGroup.h
  11086. * src/RequestGroupMan.cc
  11087. * src/RequestGroupMan.h
  11088. * src/StreamCheckIntegrityEntry.cc
  11089. * src/StreamCheckIntegrityEntry.h
  11090. * src/StreamFileAllocationEntry.cc
  11091. * src/StreamFileAllocationEntry.h
  11092. * src/TrackerWatcherCommand.cc
  11093. * src/a2functional.h
  11094. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11095. Changed method signature:
  11096. BNode::findClosestKNodes, BNode:: enumerateBucket,
  11097. DHTBucket::getGoodNodes,
  11098. DHTRoutingTable::getClosestKNodes, DHTRoutingTable::getBuckets
  11099. * src/BNode.cc
  11100. * src/BNode.h
  11101. * src/DHTAbstractNodeLookupTask.cc
  11102. * src/DHTAutoSaveCommand.cc
  11103. * src/DHTBucket.cc
  11104. * src/DHTBucket.h
  11105. * src/DHTBucketRefreshTask.cc
  11106. * src/DHTFindNodeMessage.cc
  11107. * src/DHTGetPeersMessage.cc
  11108. * src/DHTRoutingTable.cc
  11109. * src/DHTRoutingTable.h
  11110. * test/BNodeTest.cc
  11111. * test/DHTBucketTest.cc
  11112. * test/DHTRoutingTableTest.cc
  11113. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11114. In piece selection functions, Pass std::deque<...> by reference rather
  11115. than returning it.
  11116. * src/BitfieldMan.cc
  11117. * src/BitfieldMan.h
  11118. * src/DefaultBtRequestFactory.cc
  11119. * src/DefaultPieceStorage.cc
  11120. * src/Piece.cc
  11121. * src/Piece.h
  11122. * test/BitfieldManTest.cc
  11123. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11124. Implemented rarest piece first piece selection strategy.
  11125. * src/AbstractBtMessage.cc
  11126. * src/AbstractBtMessage.h
  11127. * src/BitfieldMan.cc
  11128. * src/BitfieldMan.h
  11129. * src/BtBitfieldMessage.cc
  11130. * src/BtHaveAllMessage.cc
  11131. * src/BtHaveMessage.cc
  11132. * src/DefaultPieceStorage.cc
  11133. * src/DefaultPieceStorage.h
  11134. * src/PeerInteractionCommand.cc
  11135. * src/PieceStorage.h
  11136. * src/UnknownLengthPieceStorage.h
  11137. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11138. Rewritten readData and writeData.
  11139. * src/MultiDiskAdaptor.cc
  11140. * src/MultiDiskAdaptor.h
  11141. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11142. Move \n out of the message "Usage: ...".
  11143. * src/version_usage.cc
  11144. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11145. Bump up version number to 0.13.2b.
  11146. * configure.ac
  11147. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11148. Added const qualifier to argument Exception& e.
  11149. * src/Logger.h
  11150. * src/SimpleLogger.cc
  11151. * src/SimpleLogger.h
  11152. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11153. Pool connection when CWD, SIZE command fails.
  11154. * src/FtpNegotiationCommand.cc
  11155. * src/FtpNegotiationCommand.h
  11156. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11157. Renamed HttpNullDownloadCommand as HttpSkipResponseCommand
  11158. * src/HttpResponseCommand.cc
  11159. * src/HttpSkipResponseCommand.cc
  11160. * src/HttpSkipResponseCommand.h
  11161. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11162. Pool connection when a server returns 4xx, 5xx responses.
  11163. * src/HttpNullDownloadCommand.cc
  11164. * src/HttpNullDownloadCommand.h
  11165. * src/HttpResponse.cc
  11166. * src/HttpResponse.h
  11167. * src/HttpResponseCommand.cc
  11168. * src/HttpResponseCommand.h
  11169. * test/HttpResponseTest.cc
  11170. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11171. Print usage when no URL is specifed or bad command-line option is
  11172. specified.
  11173. * src/HelpItemFactory.cc
  11174. * src/help_tags.h
  11175. * src/option_processing.cc
  11176. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11177. Removed duplicate log message.
  11178. * src/AbstractCommand.cc (asyncResolveHostname)
  11179. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11180. Updated man page: --async-dns and --ftp-reuse-connection were added.
  11181. Changed -j option's default value from 5 to 1.
  11182. Added new examples using protocol auto detection feature.
  11183. Removed -T, -M usage where it can be omitted.
  11184. * doc/aria2c.1.txt
  11185. * doc/aria2c.1.html
  11186. * doc/aria2c.1.txt
  11187. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11188. Updated command-line usage text, so that it tells users that they
  11189. can specify any number of torrent files and metalink files in
  11190. command-line.
  11191. * src/version_usage.cc
  11192. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11193. Changed the default value of -j option to 1.
  11194. * src/HelpItemFactory.cc
  11195. * src/option_processing.cc
  11196. * src/usage_text.h
  11197. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11198. Added the ability to reuse connection in FTP and it is enabled by
  11199. default. It can be disabled by --ftp-reuse-connection=false option.
  11200. * src/Command.cc
  11201. * src/DownloadCommand.cc
  11202. * src/FtpDownloadCommand.cc
  11203. * src/FtpDownloadCommand.h
  11204. * src/FtpFinishDownloadCommand.cc
  11205. * src/FtpFinishDownloadCommand.h
  11206. * src/FtpInitiateConnectionCommand.cc
  11207. * src/FtpNegotiationCommand.cc
  11208. * src/FtpNegotiationCommand.h
  11209. * src/HelpItemFactory.cc
  11210. * src/Makefile.am
  11211. * src/Makefile.in
  11212. * src/OptionHandlerFactory.cc
  11213. * src/option_processing.cc
  11214. * src/prefs.h
  11215. * src/usage_text.h
  11216. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11217. Call Command::transitStatus() before calling Command::execute(),
  11218. so that the status change made in execute() is not cleared.
  11219. * src/DownloadEngine.cc
  11220. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11221. Removed forward declaration of SocketCore class.
  11222. * src/HttpDownloadCommand.h
  11223. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11224. Set Request::setKeepAliveHint() and Request::setPipeliningHint()
  11225. in InitiateConnectionCommandFactory. They should be set only when
  11226. the protocol is HTTP or HTTPS.
  11227. * src/InitiateConnectionCommandFactory.cc
  11228. * src/RequestGroup.cc
  11229. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11230. Fixed infinite loop in checksum checking.
  11231. * src/IteratableChecksumValidator.cc
  11232. 2008-05-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11233. Set _supportsPersistentConnection to true by default.
  11234. * src/Request.cc
  11235. * src/RequestGroup.cc
  11236. * test/HttpRequestTest.cc
  11237. * test/RequestTest.cc
  11238. 2008-05-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11239. Added timeout to socket pool. The default timeout is 15 seconds,
  11240. which is the same value Apache uses.
  11241. * src/DownloadEngine.cc
  11242. * src/DownloadEngine.h
  11243. 2008-05-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11244. Fixed misuse of multimap::find()
  11245. * src/HttpHeader.cc
  11246. * test/HttpHeaderTest.cc
  11247. 2008-05-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11248. Rewritten name resolver. Now async DNS can be disabled by --async-dns
  11249. option.
  11250. The asynchronous DNS is not capable of IPv6 yet.
  11251. By disabling asynchronous DNS, aria2 is IPv6 enabled application, at
  11252. least for HTTP download.
  11253. * src/AbstractCommand.cc
  11254. * src/AbstractCommand.h
  11255. * src/AsyncNameResolver.cc
  11256. * src/AsyncNameResolver.h
  11257. * src/DHTEntryPointNameResolveCommand.cc
  11258. * src/DHTEntryPointNameResolveCommand.h
  11259. * src/DownloadEngine.cc
  11260. * src/DownloadEngine.h
  11261. * src/FtpInitiateConnectionCommand.cc
  11262. * src/FtpInitiateConnectionCommand.h
  11263. * src/HelpItemFactory.cc
  11264. * src/HttpInitiateConnectionCommand.cc
  11265. * src/HttpInitiateConnectionCommand.h
  11266. * src/InitiateConnectionCommand.cc
  11267. * src/InitiateConnectionCommand.h
  11268. * src/Makefile.am
  11269. * src/Makefile.in
  11270. * src/NameResolver.cc
  11271. * src/NameResolver.h
  11272. * src/OptionHandlerFactory.cc
  11273. * src/SocketCore.cc
  11274. * src/SocketCore.h
  11275. * src/Util.cc
  11276. * src/Util.h
  11277. * src/option_processing.cc
  11278. * src/prefs.h
  11279. * src/usage_text.h
  11280. 2008-05-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11281. Updated man page: --quiet, --header were added.
  11282. --metalink-servers and --enable-http-keep-alive option were updated.
  11283. * doc/aria2c.1
  11284. * doc/aria2c.1.html
  11285. * doc/aria2c.1.txt
  11286. 2008-05-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11287. Enable HTTP keep-alive by default.
  11288. * src/HelpItemFactory.cc
  11289. * src/option_processing.cc
  11290. * src/usage_text.h
  11291. 2008-05-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11292. Disable http keep-alive if the remote server is not HTTP/1.1.
  11293. * src/HttpConnection.cc
  11294. 2008-05-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11295. Receive content body of 302 response so that the connection can be
  11296. reused later when http keep-alive is enabled.
  11297. * src/HttpNullDownloadCommand.cc
  11298. * src/HttpNullDownloadCommand.h
  11299. * src/HttpResponseCommand.cc
  11300. * src/HttpResponseCommand.h
  11301. 2008-05-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11302. const SharedHandle<Request> -> const SharedHandle<Request>&
  11303. * src/FtpDowndloadCommand.cc
  11304. * src/FtpDowndloadCommand.h
  11305. * src/HttpDownloadCommand.cc
  11306. * src/HttpDownloadCommand.h
  11307. 2008-05-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11308. Fixed the bug that the control file(.aria2 file) is not renamed
  11309. according to tryAutoFileRenaming().
  11310. tryAutoFileRenaming() was rewritten so that if both renamed file and
  11311. its control file exist, use them and continue download.
  11312. The old implementation didn't take into account of control file's
  11313. existence, so basically you couldn't continue download of renamed file.
  11314. * src/BtProgressInfoFile.h
  11315. * src/DefaultBtProgressInfoFile.cc
  11316. * src/DefaultBtProgressInfoFile.h
  11317. * src/NullProgressInfoFile.h
  11318. * src/RequestGroup.cc
  11319. * test/DefaultBtProgressInfoFileTest.cc
  11320. * test/MockBtProgressInfoFile.h
  11321. 2008-05-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11322. Change the default value of --metalink-servers option from `5' to `1'.
  11323. * src/HelpItemFactory.cc
  11324. * src/option_processing.cc
  11325. * src/usage_text.h
  11326. 2008-05-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11327. Reimplemented transparent metalink using Accept request header.
  11328. * src/HttpRequest.cc
  11329. * src/HttpRequest.h
  11330. * src/HttpRequestCommand.cc
  11331. * src/Metalink2RequestGroup.cc
  11332. * src/RequestGroup.cc
  11333. * src/RequestGroup.h
  11334. * test/HttpRequestTest.cc
  11335. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11336. Bump up version number to 0.13.2a
  11337. * configure.ac
  11338. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11339. Updated configure.ac using the result of autoscan.
  11340. * configure.ac
  11341. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11342. Fixed compilation error without gcrypt/openssl.
  11343. * src/DownloadCommand.cc
  11344. * src/DownloadCommand.h
  11345. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11346. Reorganized version information so that it can be displayed in a
  11347. standard terminal screen without scrolling.
  11348. Removed http, ftp from Configuration section, because they are always
  11349. enabled.
  11350. * src/FeatureConfig.cc
  11351. * src/FeatureConfig.h
  11352. * src/main.cc
  11353. * src/messageDigest.cc
  11354. * src/messageDigest.h
  11355. * src/version_usage.cc
  11356. * test/FeatureConfigTest.cc
  11357. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11358. Masked user ID in log.
  11359. * src/FtpConnection.cc (sendUser)
  11360. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11361. Removed query part from filename in HTTP download. The query part means
  11362. the substring after "?" in URL. Firefox seems do the same thing.
  11363. A query part is sometimes very long and not suitable to filename,
  11364. so I think it is better to remove it from filename.
  11365. * src/HttpRequest.cc
  11366. * src/HttpRequest.h
  11367. * src/Request.cc
  11368. * src/Request.h
  11369. * test/HttpRequestTest.cc
  11370. * test/RequestTest.cc
  11371. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11372. Rewritten Exception class. Throw exception object, not its pointer and
  11373. catch by reference, so that remove problematic delete operator for
  11374. catched exception.
  11375. * src/Exception.cc
  11376. * src/Exception.h
  11377. * test/ExceptionTest.cc
  11378. * src/*: All files throwing/catching exception.
  11379. * test/*: All files throwing/catching exception.
  11380. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11381. Now auto protocol detection is enabled without -Z option.
  11382. But there is a important difference between with/without -Z optoin.
  11383. For example, if you type:
  11384. aria2c http://host/file file1.torrent file2.metalink http://mirror/file
  11385. then, aria2 interprets there are 3 request groups:
  11386. (1) http://host/file, http://mirror/file <-- multi-source download
  11387. (2) file1.torrent
  11388. (3) file2.metalink
  11389. On the other hand, if you invoke above command with -Z option, it is
  11390. interpreted as 4 request groups:
  11391. (1) http://host/file
  11392. (2) file1.torrent
  11393. (3) file2.metalink
  11394. (4) http://mirror/file
  11395. I think usually user don't mix multi-source URLs and torrent files, so
  11396. there is no big problem here.
  11397. * src/main.cc
  11398. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11399. Fixed the bug that causes segmentaion fault when reading XML containing
  11400. unescapsed character like '&'.
  11401. Also a modification was made which avoids adding unnecessary
  11402. characters stack and appending unused string.
  11403. * src/ExpatMetalinkProcessor.cc
  11404. * src/FileMetalinkParserState.h
  11405. * src/FilesMetalinkParserState.h
  11406. * src/FinMetalinkParserState.h
  11407. * src/HashMetalinkParserState.h
  11408. * src/InitialMetalinkParserState.h
  11409. * src/LanguageMetalinkParserState.h
  11410. * src/MetalinkMetalinkParserState.h
  11411. * src/MetalinkParserState.h
  11412. * src/MetalinkParserStateMachine.cc
  11413. * src/MetalinkParserStateMachine.h
  11414. * src/OSMetalinkParserState.h
  11415. * src/PieceHashMetalinkParserState.h
  11416. * src/PiecesMetalinkParserState.h
  11417. * src/ResourcesMetalinkParserState.h
  11418. * src/SizeMetalinkParserState.h
  11419. * src/SkipTagMetalinkParserState.h
  11420. * src/URLMetalinkParserState.h
  11421. * src/VerificationMetalinkParserState.h
  11422. * src/VersionMetalinkParserState.h
  11423. * src/XML2SAXMetalinkProcessor.cc
  11424. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11425. Added StringFormat class, which internally calls vasprintf.
  11426. operator<< is defined for this class, so it can be used with iostream
  11427. classes nicely. SimpleLogger and following functions are rewritten
  11428. using StringFormat class.
  11429. Besides, now Logger class's methods are non-const, many classes
  11430. that has a const Logger* as a member variable are modified to remove
  11431. const qualifier from the variable declaration.
  11432. * src/HelpItemFactory.cc
  11433. * src/Request.cc
  11434. * src/SimpleLogger.cc
  11435. * src/StringFormat.cc
  11436. * src/StringFormat.h
  11437. * src/Util.cc
  11438. * src/option_processing.cc
  11439. * src/version_usage.cc
  11440. * test/StringFormatTest.cc
  11441. * src/*.h: The classes that has const Logger* as a member variable.
  11442. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11443. Log error in AccRequestGroup when reading BitTorrent/Metalink file is
  11444. failed. Also fixed memory link when exception is thrown there.
  11445. * src/main.cc (AccRequestGroup)
  11446. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11447. Added build-in "Accept-Features" support. For now only "metalink" is
  11448. used in this header field.
  11449. This "metalink" value is removed from the list when connecting URLs
  11450. fed by metalink file to avoid loop in "transparent" metlaink.
  11451. * src/HttpRequest.cc
  11452. * src/HttpRequest.h: Renamed _userHeaders as _headers. Accept-Features
  11453. header is also held in this variable. Also renamed setUserHeaders as
  11454. addHeader and it was rewritten to add header not just to clear the old
  11455. value.
  11456. * src/HttpRequestCommand.cc
  11457. * src/Metalink2RequestGroup.cc: Added the code to remove "metalink"
  11458. from "Accept-Features" list.
  11459. * src/RequestGroup.cc: Added "metalink" to "Accept-Features" by
  11460. default.
  11461. * src/RequestGroup.h
  11462. * src/TaggedItem.cc: Moved Concat class to a2functional.h.
  11463. * src/a2functional.h: Included <string> because Concat class depends on
  11464. it.
  11465. * test/HttpRequestTest.cc
  11466. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11467. Added comment
  11468. * src/RequestGroup.cc (createNextCommand)
  11469. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11470. Capitalized METHOD_GET and METHOD_HEAD
  11471. * src/Request.cc
  11472. 2008-04-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11473. Added getDownloadResults() method
  11474. * src/RequestGroupMan.cc
  11475. * src/RequestGroupMan.h
  11476. 2008-04-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11477. Fixed the bug that aria2 exits when commands is empty() but
  11478. _routineCommands are not.
  11479. * src/DownloadEngine.cc
  11480. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11481. Use the default value pulled from Option object in HelpItemFactory.
  11482. except options whose defualt value is embedded in a usage text.
  11483. * src/HelpItemFactory.cc
  11484. * src/HelpItemFactory.h
  11485. * src/option_processing.cc
  11486. * src/version_usage.cc
  11487. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11488. Added --quiet option to make aria2 quiet (no console output).
  11489. --quiet option is tagged with ADVANCED.
  11490. * src/HelpItemFactory.cc
  11491. * src/LogFactory.cc
  11492. * src/LogFactory.h
  11493. * src/MultiUrlRequestInfo.cc
  11494. * src/MultiUrlRequestInfo.h
  11495. * src/NullStatCalc.h: New class. This class prints nothing.
  11496. * src/OptionHandlerFactory.cc
  11497. * src/main.cc
  11498. * src/option_processing.cc
  11499. * src/prefs.h
  11500. * src/usage_text.h
  11501. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11502. Add HTTP tag to --header option. Removed ADVANCED tag instead.
  11503. * src/HelpItemFactory.cc (createHelpItems):
  11504. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11505. Fixed compilation error in ExpatMetalinkProcessor.cc
  11506. * src/ExpatMetalinkProcessor.cc
  11507. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11508. Reuse socket if the origin server supports HTTP keep-alive and
  11509. --enable-http-keep-alive or --enable-http-pipelining is given.
  11510. The current implementation doesn't reuse the connections established
  11511. against proxy server.
  11512. * src/AbstractCommand.cc
  11513. * src/DownloadEngine.cc
  11514. * src/DownloadEngine.h
  11515. * src/HttpDownloadCommand.cc
  11516. * src/HttpInitiateConnectionCommand.cc
  11517. * src/HttpResponseCommand.cc
  11518. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11519. Rewritten HTTP keep-alive and pipelining routine.
  11520. * src/AbstractCommand.cc
  11521. * src/HttpConnection.cc
  11522. * src/HttpDownloadCommand.cc
  11523. * src/HttpRequest.cc
  11524. * src/HttpRequestCommand.cc
  11525. * src/HttpResponseCommand.cc
  11526. * src/Request.cc
  11527. * src/Request.h
  11528. * src/RequestGroup.cc
  11529. * test/HttpRequestTest.cc
  11530. * test/HttpResponseTest.cc
  11531. * test/RequestTest.cc
  11532. 2008-04-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11533. Added missing setUserHeaders call
  11534. * src/HttpRequestCommand.cc
  11535. 2008-04-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11536. Call FileAllocationMan::nextFileAllocationEntryExists() first.
  11537. Calling FileAllocationMan::isFileAllocationBeingExecuted() is somwhat
  11538. waste of time because it is more likey false.
  11539. * src/FileAllocationDispatcherCommand.cc (execute)
  11540. 2008-04-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11541. Now HTTP status and version are a member variable of HttpHeader.
  11542. HTTP status is processed as a string, not integer.
  11543. * src/AbstractProxyResponseCommand.cc
  11544. * src/HttpConnection.cc
  11545. * src/HttpHeader.cc
  11546. * src/HttpHeader.h
  11547. * src/HttpHeaderProcessor.cc
  11548. * src/HttpHeaderProcessor.h
  11549. * src/HttpResponse.cc
  11550. * src/HttpResponse.h
  11551. * test/HttpHeaderProcessorTest.cc
  11552. * test/HttpResponseTest.cc
  11553. 2008-04-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11554. Added --header option. You can specify any number of additional HTTP headers
  11555. like:
  11556. aria2 --header="X-A: 300" --header="X-B: 900" http://host/file
  11557. Unlike other commad-line option, you can use --header option multiple times.
  11558. * src/HelpItemFactory.cc
  11559. * src/HttpRequest.{cc, h}
  11560. * src/HttpRequestCommand.cc
  11561. * src/OptionHandlerFactory.cc
  11562. * src/OptionHandlerImpl.h
  11563. * src/option_processing.cc
  11564. * src/prefs.h
  11565. * src/usage_text.h
  11566. * test/HttpRequestTest.cc (testUserHeaders)
  11567. 2008-04-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11568. Eliminates the time lag between sequential downloads and commands in
  11569. the same RequestGroup.
  11570. In old implementation, aria2 occasionally waits 1 seconds before
  11571. executing next command or RequestGroup.
  11572. This is really a waste of time, and new implementation eliminates
  11573. this unnecessary time lag.
  11574. * src/AbstractCommand.cc
  11575. * src/AutoSaveCommand.cc
  11576. * src/CheckIntegrityCommand.cc
  11577. * src/Command.{cc, h}
  11578. * src/DownloadEngine.{cc, h}
  11579. * src/DownloadEngineFactory.cc
  11580. * src/FileAllocationCommand.cc
  11581. * src/FileAllocationDispatcherCommand.cc
  11582. * src/FillRequestGroupCommand.cc
  11583. * src/FtpInitiateConnectionCommand.cc
  11584. * src/HaveEraseCommand.cc
  11585. * src/HttpInitiateConnectionCommand.cc
  11586. * src/HttpResponseCommand.cc
  11587. * src/RealtimeCommand.cc
  11588. * src/RequestGroup.cc
  11589. * src/RequestGroupMan.cc
  11590. * src/StreamFileAllocationEntry.cc
  11591. * src/TimeBasedCommand.{cc, h}
  11592. * src/TimedHaltCommand.cc
  11593. 2008-04-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11594. Rewritten SharedHandle. Now copy constructor taking raw pointer has
  11595. keyword explicit and SharedHandle's default constructor initializes
  11596. its internal obj to null, old implementation initializes it using
  11597. obj's default constructor.
  11598. To assign null, write SharedHandle<T> x(...); x.reset();
  11599. TODO: test/SharedHandleTest.cc needs more tests.
  11600. * src/SharedHandle.h
  11601. 2008-04-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11602. Fixed type in man page.
  11603. * doc/aria2c.1.txt
  11604. 2008-04-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11605. Merged Ross's 0.13.1+1 Cygwin compile fix patch.
  11606. * src/SimpleLogger.{cc, h}
  11607. 2008-04-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11608. Implemented auto protocol detection.
  11609. Now you can do:
  11610. aria2c -Z http://host/file file1.torrent file2.metalink
  11611. (Note: -Z option is required for auto protcol detection.)
  11612. Then aria2c downloads 3 files simultaneously:
  11613. 1. http://host/file
  11614. 2. file1.torrent <-- read local torrent file
  11615. 3. file2.metalink <-- read local Metalink file.
  11616. Same thing goes with -i option. Assume your uris.txt contans:
  11617. http://host/file
  11618. file1.torrent
  11619. file2.metalink
  11620. Then you can do: aria2c -i uris.txt
  11621. (Note: -Z option is not needed if -i option is given.)
  11622. * src/main.cc
  11623. * src/ProtocolDetector.{cc, h}
  11624. * test/ProtocolDetectorTest.cc
  11625. 2008-04-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11626. Fixed compile error without gnutls/libgcrypt/libgpg-error and openSSL
  11627. installed
  11628. * src/ARC4Encryptor.h
  11629. * src/ARC4Decryptor.h
  11630. 2008-04-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11631. Renamed argument from 'errno' to 'err', since errno is confused with
  11632. errno defined in errno.h.
  11633. * src/LibgcryptARC4Decryptor.h
  11634. * src/LibgcryptARC4Context.h
  11635. * src/LibgcryptDHKeyExchange.h
  11636. * src/LibgcryptARC4Encryptor.h
  11637. 2008-04-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11638. Rewritten choking algorithm.
  11639. * src/PeerChokeCommand.{cc, h}
  11640. * src/BtInterestedMessage.cc
  11641. * src/PeerSessionResource.{cc, h}
  11642. * src/DefaultPeerStorage.{cc, h}
  11643. * src/BtNotInterestedMessage.cc
  11644. * src/DefaultBtMessageDispatcher.{cc, h}
  11645. * src/BtMessageDispatcher.h
  11646. * src/Peer.{cc, h}
  11647. * src/BtLeecherStateChoke.{cc, h}
  11648. * src/BtSetup.cc
  11649. * src/BtSeederStateChoke.{cc, h}
  11650. * src/PeerStorage.h
  11651. * test/MockPeerStorage.h
  11652. * test/MockBtMessageDispatcher.h
  11653. 2008-04-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11654. Fixed compilation error on x84-64 platform.
  11655. * src/AuthConfig.cc: Included ostream.
  11656. 2008-03-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11657. Rewritten getBasename() and getDirname(), without standard library
  11658. basename(), dirname().
  11659. * src/File.cc
  11660. * test/FileTest.cc
  11661. 2008-03-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11662. Added Simplified Chinese translation. Also updated the following
  11663. translations: Polish, Dutch, German. Great thanks to all translators.
  11664. 2008-03-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11665. Suppress content-range error when 'Content-Range' response header
  11666. doesn't contains bytes-unit specifier 'bytes'
  11667. * src/HttpHeader.cc (getRange)
  11668. * test/HttpHeaderTest.cc
  11669. 2008-03-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11670. Fixed compilation error with g++-4.3
  11671. 2008-03-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11672. Added missing include files for MinGW
  11673. * test/HttpHeaderProcessorTest.cc
  11674. * test/DHTRoutingTableSerializerTest.cc
  11675. * test/DHTRoutingTableDeserializerTest.cc
  11676. * test/UriListParserTest.cc
  11677. 2008-03-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11678. Now download line is printed nicely with no garbage at the end of
  11679. line. I use ioctl to get the columns of terminal.
  11680. If stdout is redirected to another device, instead of carriage return,
  11681. end of line '\n' character is used. This is feature request#1909659
  11682. * src/ConsoleStatCalc.cc (calculateStat)
  11683. 2008-03-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11684. Included a2time.h
  11685. * src/DHTMessageDispatcher.h
  11686. * src/DHTMessageEntry.h
  11687. * src/DHTReplaceNodeTask.h
  11688. * src/DHTMessageTracker.h
  11689. * src/Util.h
  11690. * src/CookieBox.h
  11691. * src/SocketCore.h
  11692. * src/DefaultBtMessageDispatcher.h
  11693. * src/SocketCore.cc
  11694. * src/Util.cc
  11695. * src/DHTPingTask.h
  11696. 2008-03-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11697. Fixed high memory footprint when DHT is enabled.
  11698. This is not a memory leak, but DHTReplaceNodeTask is more frequently
  11699. queued than it is processed and the queue is getting longer. As a
  11700. consequence, momory usage is increased.
  11701. As for a fix, instead of issuing DHTReplaceNodeTask, I've implemented
  11702. replacement cache in DHTBucket which is described in Kademlia paper.
  11703. * src/DHTRoutingTable.cc (addNode): Removed the issuing of
  11704. DHTReplaceNodeTask.
  11705. * src/DHTBucket.{h, cc}
  11706. (cacheNode): New function.
  11707. (getCachedNodes): New function.
  11708. (dropNode): Push back cached node to _nodes.
  11709. * test/DHTBucketTest.cc
  11710. (testCacheNode): New test
  11711. (testDropNode): New test
  11712. 2008-03-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11713. Allocate memory for peekBuf in initiateSecureConnection() to avoid
  11714. the unused 4KB memory when ssl is not used.
  11715. * src/SocketCore.cc
  11716. 2008-03-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11717. Added summary log for peer announce storage.
  11718. * src/DHTPeerAnnounceStorage.cc (handleTimeout)
  11719. Removed cast
  11720. * src/DefaultPeerStorage.cc (addPeer)
  11721. Log exception message
  11722. * src/DHTMessageTracker.cc (handleTimeout)
  11723. Fixed casting
  11724. * test/HttpRequestTest.cc
  11725. * test/MetalinkProcessorTest.cc
  11726. * test/PieceTest.cc
  11727. * test/MetalinkEntryTest.cc
  11728. * test/SequenceTest.cc
  11729. 2008-03-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11730. * src/ParameterizedStringParser.cc (createLoop):
  11731. Removed unused variable sstep.
  11732. * src/AlphaNumberDecorator.h (decode): Rewritten.
  11733. 2008-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11734. * src/Util.{h, cc}
  11735. (parseUInt): New function.
  11736. (alphaToNum): Now returns unsigned int and 0 when overflow detected.
  11737. The actual range is uint32_t.
  11738. * test/UtilTest.cc
  11739. * src/ParameterizedStringParser.cc:
  11740. Use Util::parseUInt() for loop variables.
  11741. * test/ParameterizedStringParserTest.cc
  11742. * src/PStringNumLoop.h: Make _startValue and _endValue unsigned int.
  11743. 2008-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11744. Rewritten the functions for binding port.
  11745. * src/DHTConnectionImpl.{h, cc}
  11746. * src/PeerListenCommand.{h, cc}
  11747. * src/DHTSetup.cc
  11748. * src/BtSetup.cc
  11749. * test/DHTConnectionImplTest.cc
  11750. 2008-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11751. type cleanup for allmost all remaining files.
  11752. 2008-03-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11753. Type clarification
  11754. * src/PeerSessionResource.{h, cc}
  11755. * src/DefaultPieceStorage.{h, cc}
  11756. * src/Peer.{h, cc}
  11757. * test/PeerSessionResourceTest.cc
  11758. Use div function
  11759. * src/BtPieceMessage.cc (erasePieceOnDisk)
  11760. 2008-03-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11761. Type clarification
  11762. * src/DefaultPeerStorage.{h, cc}
  11763. * test/DefaultPeerStorageTest.cc
  11764. 2008-03-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11765. Type clarification: size_t for length or size, uint64_t for file
  11766. length, off_t for file offset.
  11767. * src/DefaultBtProgressInfoFile.cc
  11768. * src/DefaultBtContext.{h, cc}
  11769. * src/DefaultBtInteractive.cc
  11770. * src/DownloadCommand.{h, cc}
  11771. * src/IteratableChunkChecksumValidator.{h, cc}
  11772. * src/SegmentMan.{h, cc}
  11773. * src/SingleFileDownloadContext.{h, cc}
  11774. * src/IteratableChecksumValidator.{h, cc}
  11775. * src/BtContext.h
  11776. * src/IteratableValidator.h
  11777. * src/DownloadContext.h
  11778. * test/SingleFileDownloadContextTest.cc
  11779. * test/DefaultBtContextTest.cc
  11780. * test/MockBtContext.h
  11781. * test/Metalink2RequestGroupTest.cc
  11782. 2008-03-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11783. Type clarification: size_t for length or size, uint64_t for file
  11784. length, off_t for file offset.
  11785. * src/PiecedSegment.cc
  11786. * src/GrowSegment.h
  11787. * src/DefaultBtRequestFactory.h
  11788. * src/DefaultBtProgressInfoFile.cc
  11789. * src/UnknownLengthPieceStorage.h
  11790. * src/DefaultPieceStorage.cc
  11791. * src/UnknownLengthPieceStorage.cc
  11792. * src/DefaultBtInteractive.cc
  11793. * src/GrowSegment.cc
  11794. * src/BitfieldMan.h
  11795. * src/DownloadCommand.cc
  11796. * src/BtRequestFactory.h
  11797. * src/PiecedSegment.h
  11798. * src/DefaultPieceStorage.h
  11799. * src/Piece.cc
  11800. * src/DefaultBtRequestFactory.cc
  11801. * src/PieceStorage.h
  11802. * src/Segment.h
  11803. * src/Piece.h
  11804. * src/BitfieldMan.cc
  11805. * src/Util.cc
  11806. * test/DefaultBtProgressInfoFileTest.cc
  11807. * test/DefaultPieceStorageTest.cc
  11808. * test/MockPieceStorage.h
  11809. * test/BtRequestMessageTest.cc
  11810. * test/DefaultBtMessageDispatcherTest.cc
  11811. * test/BitfieldManTest.cc
  11812. * test/GrowSegmentTest.cc
  11813. * test/PieceTest.cc
  11814. * test/SegmentTest.cc
  11815. * test/SegmentManTest.cc
  11816. * test/DefaultBtRequestFactoryTest.cc
  11817. * test/MockBtRequestFactory.h
  11818. 2008-03-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11819. Fixed compilation error with --disable-nls
  11820. It seems that defining gettext(Msgid) to ((const char *) (Msgid))
  11821. in gettext.h causes the problem.
  11822. * src/common.h
  11823. 2008-03-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11824. Removed subPiece related functions.
  11825. * src/Piece.{h, cc} : Also rewritten getCompletedLength().
  11826. * src/DefaultPieceStorage.{h, cc}
  11827. * test/PieceTest.cc
  11828. * test/DefaultPieceStorageTest.cc
  11829. 2008-03-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11830. Use unsigned char for data store.
  11831. 2008-03-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11832. Bump up version number to 0.13.0+1
  11833. * configure.ac
  11834. * Release 0.13.0+1
  11835. 2008-03-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11836. Changed inactive connection timeout to 120.
  11837. To accept more mulually interested peers, disconnect peer when there
  11838. is no interest between us after certain time passed.
  11839. * src/DefaultBtInteractive.cc (checkActiveInteraction)
  11840. 2008-03-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11841. Fixed the bug that aria2 only uses first dns server in resolv.conf
  11842. when compiled with async DNS support.
  11843. * src/DownloadEngine.cc
  11844. * src/option_processing.cc: Lengthened DNS timeout to 30. I think old
  11845. value '10' will be a little bit short when some DNS servers are
  11846. offline and several DNS servers are tried. It should be configured
  11847. by command-line option.
  11848. 2008-03-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11849. Merged Ross's mingw patch.
  11850. * src/DHTRoutingTableDeserializer.cc
  11851. * src/DHTRoutingTableSerializer.cc
  11852. * src/Platform.{h, cc}
  11853. * src/timegm.h
  11854. * src/gettimeofday.h
  11855. * src/getaddrinfo.h
  11856. * src/SocketCore.h
  11857. * src/common.h
  11858. * src/inet_aton.h
  11859. * src/DownloadEngine.h
  11860. * src/gai_strerror.h
  11861. * src/a2netcompat.h
  11862. * configure.ac
  11863. * configure
  11864. * aclocal.m4
  11865. 2008-03-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11866. Included missing iostream.
  11867. * test/AllTest.cc
  11868. * test/BtDependencyTest.cc
  11869. * test/BtExtendedMessageTest.cc
  11870. * test/DHTConnectionImplTest.cc
  11871. * test/DHTMessageFactoryImplTest.cc
  11872. * test/DHTMessageTrackerEntryTest.cc
  11873. * test/DHTNodeTest.cc
  11874. * test/DHTRoutingTableSerializerTest.cc
  11875. * test/DefaultBtAnnounceTest.cc
  11876. * test/DefaultBtContextTest.cc
  11877. * test/DefaultBtMessageFactoryTest.cc
  11878. * test/DefaultExtensionMessageFactoryTest.cc
  11879. * test/HandshakeExtensionMessageTest.cc
  11880. * test/HttpResponseTest.cc
  11881. * test/MetalinkProcessorTest.cc
  11882. * test/MultiFileAllocationIteratorTest.cc
  11883. * test/SocketCoreTest.cc
  11884. * test/UTPexExtensionMessageTest.cc
  11885. 2008-03-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11886. Reorganized includes.
  11887. * src/NameResolver.cc
  11888. 2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11889. Fixed compilation error without ares/c-ares
  11890. * src/NameResolver.h:
  11891. 2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11892. Added a test for large file.
  11893. * test/MetalinkProcessorTest.cc (testLargeFileSize):
  11894. 2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11895. Fixed the bug that file size is ignored if size > INT32_MAX
  11896. * src/SizeMetalinkParserState.cc (endElement):
  11897. 2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11898. Bump up version number to 0.13.0
  11899. * configure.ac
  11900. * Release 0.13.0
  11901. 2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11902. Updated Makfefile.am to make 'make dist' work.
  11903. Now packaged filename is aria2c-VERSION.tar.bz2.
  11904. Added README, README.html, and aria2c.1.html to dist_doc_DATA.
  11905. Added LICENSE.OpenSSL to dist_noinst_DATA.
  11906. Large file support is now configured by configure script.
  11907. * configure.ac
  11908. Removed unsused source files
  11909. * src/
  11910. * test/
  11911. Removed PeerDecl.h and BtContextDecl.h. typedefs are removed to
  11912. Peer.h and BtContext.h respectively.
  11913. * src/Peer.h
  11914. * src/BtContext.h
  11915. Updated translations.
  11916. Added Polish, Thai, Indonesian, Norwegian Nynorsk, Hungarian
  11917. translations. Great thanks to all translators!;)
  11918. * po/*.{po, gmo}
  11919. 2008-02-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11920. Create MessageDigestHelper::staticSHA1DigestInit() which uses
  11921. statically declared sha1 MessageDigestContext.
  11922. * src/BtPieceMessage.cc: Use staticSHA1DigestInit() to avoid
  11923. initialization of short-lived MessageDigestContext.
  11924. * src/MessageDigestHelper.{h, cc}
  11925. * src/main.cc
  11926. Now DownloadCommand has a reference to MessageDigestContext to avoid
  11927. the initialization of MessageDigestContext every time in validating
  11928. chunk checksum.
  11929. * src/DownloadCommand.{h, cc}
  11930. 2008-02-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11931. Add a file descriptor which connected to fast peer(latency<1500) to
  11932. select(). This change reduced CPU load.
  11933. * src/PeerInteractionCommand.cc
  11934. * src/DefaultBtInteractive.{h, cc}
  11935. * src/BtInteractive.h
  11936. 2008-02-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11937. Fixed the previous insufficient fix for possible busy loop.
  11938. * src/MSEHandshake.cc (identifyHandshakeType)
  11939. Removed unused functions.
  11940. * src/MSEHandshake.{h, cc} (readDataAndDecrypt)
  11941. 2008-02-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11942. Fixed possible busy loop if first 20 bytes are not received for a few
  11943. minutes.
  11944. * src/MSEHandshake.{h, cc} (identifyHandshakeType)
  11945. * src/ReceiverMSEHandshakeCommand.cc
  11946. 2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11947. Fixed compilation error
  11948. * src/ExpatMetalinkProcessor.cc
  11949. 2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11950. Fixed compile error on Mac OS X, on 64Bit OS maybe.
  11951. * src/DHTBucket.cc
  11952. Removed unnecessary cast.
  11953. * src/HandshakeExtensionMessage.cc
  11954. 2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11955. Fixed the bug that option handler for PREF_METALINK_ENABLE_UNIQUE_PROTOCOL.
  11956. is missing.
  11957. * src/OptionHandlerFactory.cc
  11958. 2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11959. Fixed the bug that HAVE message is not sent for a piece they are
  11960. downloaded fom http/ftp server before any BitTorrent handshake is done
  11961. with peers.
  11962. * src/DefaultBtInteractive.cc
  11963. 2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11964. Removed RequestInfo.h and FileAllocator.h since they have been removed.
  11965. * src/Makefile.am
  11966. * src/Makefile.in
  11967. 2008-02-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11968. Updated README. Added html version of README and man page.
  11969. * README
  11970. * README.html
  11971. * readme2html: Shell script to generate README.html from README using
  11972. asciidoc.
  11973. * doc/aria2c.1.html
  11974. * doc/makeman: Added the line to generate aria2c.1.html
  11975. 2008-02-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11976. Fixed offset calculation.
  11977. * src/LibgcryptDHKeyExchange.h (computeSecret)
  11978. 2008-02-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11979. Rewritten itos and uitos using template. llitos and ullitos are
  11980. replaced with itos and uitos respectively.
  11981. * src/Util.{h, cc}
  11982. * test/UtilTest.cc
  11983. 2008-02-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11984. Fixed the bug that DH key exchange sometimes fails due to bad handling
  11985. of the number of bytes required for storing public key and shared
  11986. secret.
  11987. * src/LibgcryptDHKeyExchange.h
  11988. * src/LibsslDHKeyExchange.h: Also added function name to handleError.
  11989. * src/MSEHandshake.cc
  11990. * test/DHKeyExchangeTest.cc
  11991. 2008-02-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11992. Removed since they are not used.
  11993. * src/Xml2MetalinkProcessor.{h, cc}
  11994. * src/Socket.cc
  11995. * src/SegmentSplitter.{h, cc}
  11996. * test/Xml2MetalinkProcessorTest.cc
  11997. 2008-02-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11998. Fixed the bug that prevents aria2 from stopping other than by pressing
  11999. Ctrl-C in BitTorrent download. It is reproducible using --seed-time
  12000. option. aria2 doesn't stop even after --seed-time is satisfied and
  12001. continues to output blank lines in the console.
  12002. * src/ReceiverMSEHandshakeCommand.cc
  12003. * src/PeerReceiveHandshakeCommand.cc
  12004. * src/PeerListenCommand.cc
  12005. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12006. Bump up version number to 0.13.0rc
  12007. * configure.ac
  12008. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12009. Updated man page and some usage text.
  12010. * doc/aria2c.1.txt
  12011. * src/usage_text.h
  12012. * po/*.{po, gmo}
  12013. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12014. Updated translations. Added Finnish and Hebrew translations.
  12015. Great thanks to all translators!
  12016. * po/*.{po, gmo}
  12017. * po/LINGUAS
  12018. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12019. Log more detailed information about each message.
  12020. * src/DHTQueryMessage.{h, cc}
  12021. * src/DHTGetPeersMessage.{h, cc}
  12022. * src/DHTFindNodeReplyMessage.{h, cc}
  12023. * src/DHTGetPeersReplyMessage.{h, cc}
  12024. * src/DHTAnnouncePeerMessage.{h, cc}
  12025. * src/DHTResponseMessage.{h, cc}
  12026. * src/DHTFindNodeMessage.{h, cc}
  12027. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12028. Use constants defined in prefs.h
  12029. * src/option_processing.cc
  12030. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12031. * test/AllTest.cc: Added OpenSSL, GNUTLS initialization code.
  12032. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12033. Make room for future enchancements for IPv6 addresses.
  12034. Bump up version number of dht.dat file format to 2.
  12035. Not compatible with previous version.
  12036. * src/DHTRoutingTableSerializer.cc
  12037. * src/DHTRoutingTableDeserializer.cc
  12038. * test/DHTRoutingTableSerializerTest.cc
  12039. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12040. Added handling for the return values from
  12041. PeerMessageUtil::createcompact().
  12042. * src/DefaultBtContext.cc (computeFastSet):
  12043. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12044. Fixed abort when peer's ip address is IPv4-mapped address.
  12045. * src/DefaultBtContext.cc (computeFastSet)
  12046. Removed number-and-dots criteria, since Util::isNumberAndDotsNotation()
  12047. cannot handle IPv4-mapped addresses.
  12048. * src/DefaultBtInteractive.cc (addPeerExchangeMessage)
  12049. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12050. Proper return value handling for OpenSSL functions.
  12051. * src/LibsslDHKeyExchange.h
  12052. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12053. Random bytes generation using libgcrypt and OpenSSL.
  12054. * src/DHTUtil.{h, cc}
  12055. * test/DHTUtilTest.cc
  12056. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12057. Fixed segmentation fault when a DHT message which doesn't have 'y' key
  12058. received.
  12059. * src/DHTMessageReceiver.cc (receiveMessage)
  12060. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12061. Fixed the bug that a return code is always 0. BUG#1897704
  12062. If error occurred during the download or there exist unfinished
  12063. downloads, aria2 returns with code 1.
  12064. * src/RequestGroupMan.{h, cc}
  12065. * src/MultiUrlRequestInfo.{h, cc}
  12066. * src/main.cc
  12067. 2008-02-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12068. IPv6 support for SocketCore class.
  12069. TODO: In SocketCore::establishConnection(), this is insufficient to
  12070. determin the failure of connect() here because the socket is
  12071. non-blocking state. The next addresses should be tried after select().
  12072. TODO: NameResolver still uses c-ares(<= 1.4) ares_gethostbyname().
  12073. If c-ares 1.5 or newer is installed, ares_getaddrinfo() should be used
  12074. instead which address family independent.
  12075. TODO: DHTRoutingTable{Deserializer,Serializer} currently saves peer
  12076. information in a compact peer format which is for IPv4 only.
  12077. Some BitTorrent functions in PeerMessageUtil still depends on IPv4 but
  12078. this is a spec of BitTorrent protocol.
  12079. * src/SocketCore.{h, cc}
  12080. * src/PeerMessageUtil.cc
  12081. * test/SocketCoreTest.cc
  12082. * test/PeerMessageUtilTest.cc
  12083. * test/DHTConnectionImplTest.cc
  12084. Handle IPv4-mapped addresses.
  12085. * src/DHTNode.cc: Now identity is determined by node id.
  12086. * src/DHTMessageTrackerEntry.cc
  12087. Because now PeerMessageUtil::unpackcompact() could fail, the caller
  12088. should handle it.
  12089. * src/DHTRoutingTableDeserializer.cc
  12090. * src/DHTMessageFactoryImpl.cc
  12091. 2008-02-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12092. Change the unit of --stop option from a minute to a second.
  12093. * src/usage_text.h
  12094. * src/DownloadEngineFactory.cc
  12095. * src/OptionHandlerFactory.cc
  12096. * src/message.h
  12097. * src/TimedHaltCommand.cc
  12098. 2008-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12099. Make listening socket non-block mode.
  12100. * src/FtpConnection.cc
  12101. * src/FtpNegotiationCommand.{h, cc}
  12102. * src/PeerListenCommand.cc
  12103. Fixed the bug that cause slow ftp negotiation.
  12104. * src/FtpNegotiationCommand.{h, cc}
  12105. 2008-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12106. Added basic tag to --enable-dht, --dht-listen-port option.
  12107. * src/HelpItemFactory.cc (createHelpItems)
  12108. 2008-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12109. Updated text.
  12110. * src/usage_text.h
  12111. 2008-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12112. * src/MSEHandshake.cc (encryptAndSendData): Use std::min().
  12113. 2008-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12114. Determin _threadtholdSpeed in each constructor for
  12115. ActivePeerConnectionCommand and PeerReceiveHandshakeCommand.
  12116. * src/ActivePeerConnectionCommand.{h, cc}
  12117. * src/PeerReceiveHandshakeCommand.{h, cc}
  12118. * src/BtSetup.cc
  12119. * src/BtConstants.h
  12120. 2008-02-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12121. Added --bt-min-crypto-level and --bt-require-crypto options.
  12122. * src/OptionHandlerFactory.cc
  12123. * src/MSEHandshake.cc
  12124. * src/HelpItemFactory.cc
  12125. * src/option_processing.cc
  12126. * src/ReceiverMSEHandshakeCommand.cc
  12127. * src/prefs.h
  12128. * src/DefaultBtAnnounce.cc
  12129. * src/InitiatorMSEHandshakeCommand.cc
  12130. * src/usage_text.h
  12131. * test/MSEHandshakeTest.cc
  12132. 2008-02-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12133. Bump version number to 0.13.0b
  12134. * configure.ac
  12135. 2008-02-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12136. Updated doc.
  12137. * src/MessageDigestHelper.h:
  12138. 2008-02-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12139. Use raw message digest as a token instead of its hexadecimal
  12140. representation.
  12141. * src/DHTTokenTracker.cc (generateToken)
  12142. 2008-02-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12143. Added Message Stream Encryption(MSE) support.
  12144. Currently, aria2 accepts incoming connections with Obfuscation Header
  12145. and legacy BitTorrent Header and establishes connections with
  12146. Obfuscation Header first and if failed then retry with legacy
  12147. BitTorrent header. If plain text and ARC4 is provided, aria2 always
  12148. choose ARC4. The new option to change the default behavior is planned.
  12149. For tracker extension, "supportcrypto=1" is added statically.
  12150. * src/PeerInitiateConnectionCommand.{h, cc}
  12151. * src/PeerConnection.{h, cc}
  12152. * src/HandleRegistry.h
  12153. * src/SocketCore.h
  12154. * src/PeerReceiveHandshakeCommand.{h, cc}
  12155. * src/BtRegistry.{h, cc}
  12156. * src/PeerListenCommand.cc
  12157. * src/InitiatorMSEHandshakeCommand.{h, cc}
  12158. * src/ReceiverMSEHandshakeCommand.{h, cc}
  12159. * src/MSEHandshake.{h, cc}
  12160. * src/ARC4Encryptor.h
  12161. * src/ARC4Decryptor.h
  12162. * src/LibgcryptARC4Encryptor.h
  12163. * src/LibgcryptARC4Decryptor.h
  12164. * src/LibgcryptARC4Context.h
  12165. * src/LibsslARC4Encryptor.h
  12166. * src/LibsslARC4Decryptor.h
  12167. * src/LibsslARC4Context.h
  12168. * src/DHKeyExchange.h
  12169. * src/LibgcryptDHKeyExchange.h
  12170. * src/LibsslDHKeyExchange.h
  12171. * src/DefaultBtAnnounce.cc: Just added "supportcrypto=1" parameter.
  12172. * test/DefaultBtAnnounceTest.cc
  12173. * test/ARC4Test.cc
  12174. * test/DHKeyExchangeTest.cc
  12175. Removed prepareForRetry() because it is not used.
  12176. * src/PeerAbstractCommand.{h, cc}
  12177. * src/PeerInteractionCommand.{h, cc}
  12178. * src/PeerInitiateConnectionCommand.{h, cc}
  12179. 2008-02-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12180. Added the ability to load nodes from torrent file. These nodes are
  12181. added to the routing table when downloading that torrent.
  12182. * src/BtContext.h
  12183. * src/DefaultBtContext.{h, cc}
  12184. * src/DHTSetup.cc
  12185. * src/DHTEntryPointNameResolveCommand.{h, cc}: Now accepts list of
  12186. hostname and port pair, and resolves all of them.
  12187. * src/NameResolver.{h, cc}: Added reset().
  12188. * src/RequestGroup.cc
  12189. * test/DefaultBtContextTest.cc
  12190. * test/MockBtContext.h
  12191. Removed assert() from DefaultBtContext and throw exception instead.
  12192. * src/DefaultBtContext.cc
  12193. 2008-02-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12194. Fixed segmentation fault bug when exiting if dht is disabled.
  12195. * src/RequestGroup.cc
  12196. 2008-02-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12197. Fixed typo in log message and define the message in message.h
  12198. * src/TimedHaltCommand.cc
  12199. * src/message.h
  12200. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12201. Included RecoverableException.h to fix compilation error.
  12202. * test/DHTMessageFactoryImplTest.cc
  12203. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12204. Added test 'testDoReceivedAction' for DHTQueryMessage subclasses.
  12205. * test/DHTPingMessageTest.cc
  12206. * test/DHTGetPeersMessageTest.cc
  12207. * test/DHTFindNodeMessageTest.cc
  12208. * test/DHTAnnouncePeerMessageTest.cc
  12209. * test/MockDHTMessage.h
  12210. * test/MockDHTMessageFactory.h
  12211. * test/MockDHTMessageDispatcher.h: New class.
  12212. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12213. Added DHTMessageDispatcherImpl. Now DHTMessageDispatcher is pure
  12214. virtual.
  12215. * src/DHTMessageDispatcher.h
  12216. * src/DHTMessageDispatcherImpl.{h, cc}
  12217. * src/DHTSetup.cc
  12218. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12219. Adding handling of DHT error message. Just log error message and
  12220. throw exception.
  12221. * src/DHTMessageFactoryImpl.cc
  12222. * test/DHTMessageFactoryImplTest.cc
  12223. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12224. Added handling of dynamic cast failure.
  12225. * src/DHTNodeLookupTask.cc
  12226. * src/DHTPeerLookupTask.cc
  12227. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12228. Added the ability to stop aria2 itself when given time has passed
  12229. from start. Use --stop option to specify time in minutes.
  12230. When 0 is given, this feature is disabled.
  12231. * src/OptionHandlerFactory.cc
  12232. * src/TimeBasedCommand.h: Make _interval protected scope.
  12233. * src/HelpItemFactory.cc
  12234. * src/option_processing.cc
  12235. * src/prefs.h
  12236. * src/FillRequestGroupCommand.cc: Evaluate _e->isHaltRequested()
  12237. before calling RequestGroupMan::fillRequestGroupFromReserver().
  12238. Without this modification, the result list shows "ERR" when aria2 is
  12239. stopped by --stop option. It should be "INPR".
  12240. * src/DownloadEngine.{h, cc}
  12241. * src/DownloadEngineFactory.cc
  12242. * src/usage_text.h
  12243. * src/TimedHaltCommand.{h, cc}: New class.
  12244. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12245. Bootstrap through node added by port message.
  12246. Currently bootstrap is executed if the number of buckets in routing
  12247. table is 1.
  12248. * src/BtPortMessage.{h, cc}
  12249. * src/DefaultBtMessageFactory.{h, cc}
  12250. * src/PeerInteractionCommand.cc
  12251. * test/BtPortMessageTest.cc
  12252. * test/MockDHTTask.h
  12253. 2008-02-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12254. Extract the Peer class's member variables, which are only needed after
  12255. PeerInteractionCommand, into PeerSessionResource class.
  12256. This class is instantiated in PeerInteractionCommand class's ctor and
  12257. released in its dtor.
  12258. This will make Peer class lightweight and uses less memory for peers
  12259. which are not connected and wait in the queue.
  12260. * src/PeerChokeCommand.cc
  12261. * src/PeerSessionResource.{h, cc}
  12262. * src/PeerInteractionCommand.cc
  12263. * src/PeerAbstractCommand.cc: Note: 0 is given to onAbort() function.
  12264. * src/DefaultBtInteractive.cc
  12265. * src/BtPieceMessage.cc
  12266. * src/BtInterestedMessage.cc
  12267. * src/BtUnchokeMessage.cc
  12268. * src/DefaultPeerStorage.{h, cc}
  12269. * src/PeerInitiateConnectionCommand.cc
  12270. * src/ActivePeerConnectionCommand.cc
  12271. * src/BtNotInterestedMessage.cc
  12272. * src/DefaultBtMessageDispatcher.cc
  12273. * src/BtChokeMessage.cc
  12274. * src/BtRequestMessage.cc
  12275. * src/Peer.{h, cc}
  12276. * src/BtRegistry.h
  12277. * src/TrackerWatcherCommand.cc
  12278. * src/PeerReceiveHandshakeCommand.cc
  12279. * test/BtExtendedMessageTest.cc
  12280. * test/BtAllowedFastMessageTest.cc
  12281. * test/BtCancelMessageTest.cc
  12282. * test/DefaultPieceStorageTest.cc
  12283. * test/BtBitfieldMessageTest.cc
  12284. * test/BtHaveMessageTest.cc
  12285. * test/BtNotInterestedMessageTest.cc
  12286. * test/BtRequestMessageTest.cc
  12287. * test/PeerSessionResourceTest.cc
  12288. * test/DefaultBtMessageDispatcherTest.cc
  12289. * test/PeerTest.cc
  12290. * test/BtInterestedMessageTest.cc
  12291. * test/BtRejectMessageTest.cc
  12292. * test/BtChokeMessageTest.cc
  12293. * test/DefaultPeerStorageTest.cc
  12294. * test/BtHaveNoneMessageTest.cc
  12295. * test/BtHaveAllMessageTest.cc
  12296. * test/DefaultExtensionMessageFactoryTest.cc
  12297. * test/BtUnchokeMessageTest.cc
  12298. * test/DefaultBtMessageFactoryTest.cc
  12299. * test/HandshakeExtensionMessageTest.cc
  12300. * test/UTPexExtensionMessageTest.cc
  12301. * test/DefaultBtRequestFactoryTest.cc
  12302. * test/BtPieceMessageTest.cc
  12303. Removed typedef PeerStats.
  12304. * src/PeerStat.h
  12305. * src/SegmentMan.cc
  12306. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12307. Added std namespace to copy, remove_copy, back_inserter,
  12308. front_inserter.
  12309. * src/RequestGroupMan.cc
  12310. * src/DefaultPieceStorage.cc
  12311. * src/StreamFileAllocationEntry.cc
  12312. * src/BtFileAllocationEntry.cc
  12313. * src/RequestGroup.cc
  12314. * src/MetalinkEntry.cc
  12315. * src/DelegatingPeerListProcessor.cc
  12316. * src/DefaultBtRequestFactory.cc
  12317. * src/DefaultBtMessageDispatcher.cc
  12318. * src/version_usage.cc: Included <algorithm>
  12319. * src/main.cc
  12320. * src/MetalinkParserController.cc
  12321. * src/DefaultBtContext.cc
  12322. * src/DownloadEngineFactory.cc
  12323. * src/a2algo.h
  12324. Removed.
  12325. * test/StreamUriListParserTest.cc
  12326. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12327. Use PREF_MAX_DOWNLOAD_LIMIT as a threshold for
  12328. ActivePeerConnectionCommand when it is given and
  12329. PREF_MAX_DOWNLOAD_LIMIT < default threshold.
  12330. * src/ActivePeerConnectionCommand.{h, cc}
  12331. * src/BtSetup.cc
  12332. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12333. Only add socket to DownloadEngine's select routine when peer or
  12334. localhost is unchoked and interested. This lowers CPU usage a
  12335. little bit.
  12336. * src/PeerInteractionCommand.cc
  12337. * src/PeerAbstractCommand.{h, cc}
  12338. * src/BtInteractive.h
  12339. * src/DefaultBtInteractive.{h, cc}
  12340. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12341. Revert previous change because get_peers message is needed for
  12342. announce_peer anyway.
  12343. * src/DHTGetPeersCommand.cc
  12344. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12345. Request peers thought DHT only when download hasn't finished.
  12346. * src/DHTGetPeersCommand.cc
  12347. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12348. Force refresh bucket when startup if certain time has passed(currently 15 minutes).
  12349. * src/DHTBucketRefreshTask.{h, cc}
  12350. * src/DHTSetup.cc
  12351. 2008-02-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12352. Removed "using namespace std;" from all sources. Appended std:: prefix to c++
  12353. standard classes.
  12354. Included string.h where mem* function are used.
  12355. Added namespace aria2.
  12356. 2008-02-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12357. Create directory before saving DHT routing table.
  12358. Now ios::failure is now handled properly.
  12359. * src/DHTAutoSaveCommand.cc
  12360. 2008-02-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12361. Removed unnecessary cerr.
  12362. * src/DownloadEngine.cc
  12363. 2008-02-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12364. Catch exception inside DHTMessageReceiver::receiveMessage().
  12365. Log unknown message.
  12366. * src/DHTMessageReceiver.{h, cc}
  12367. * src/DHTMessageFactory.h
  12368. * src/DHTMessageFactoryImpl.{h, cc}
  12369. * src/DHTMessageTracker.cc (handleTimeout): Catch and handle exception.
  12370. * src/DHTInteractionCommand.cc
  12371. * src/DHTUnknownMessage.{h, cc}
  12372. * test/DHTUnknownMessageTest.cc
  12373. * test/MockDHTMessageFactory.h
  12374. 2008-02-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12375. Commented out ip address comparison because a host can have multiple
  12376. ip addresses and it is hard to predict the hostname is resolved into
  12377. which one.
  12378. * test/SocketCoreTest.cc (testWriteAndReadDatagram)
  12379. 2008-02-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12380. * po/Makefile.in: Removed since this is generated by configure.
  12381. 2008-02-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12382. Fixed compiler warning about redefinition of SIZE_MAX.
  12383. Use common.h instead of config.h directly here.
  12384. * src/Platform.{h, cc}
  12385. The check of ENABLE_NLS is made in gettext.h, so it is not required
  12386. here.
  12387. * common.h
  12388. 2008-02-02 gettextize <bug-gnu-gettext@gnu.org>
  12389. Updated gettext related files.
  12390. * configure.ac (AC_CONFIG_FILES): Add intl/Makefile.
  12391. * configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.17.
  12392. 2008-02-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12393. Added DHT functionality, compatible with mainline.
  12394. DHT is disabled by default. To enable it, give --enable-dht to aria2c.
  12395. You may need to specify entry point to DHT network using
  12396. --dht-entry-point. DHT uses UDP port to listen incoming message.
  12397. Use --dht-listen-port to specify port number. Make sure that your
  12398. firewall configuration can pass through UDP traffic to the port.
  12399. The routing table is saved in $HOME/.aria2/dht.dat.
  12400. * src/DHT*
  12401. * src/BNode.{h, cc}
  12402. * src/PeerInteractionCommand.cc: enable DHT functionality for a
  12403. particular torrent.
  12404. * src/Data.cc: Rewritten ctor.
  12405. * src/OptionHandlerFactory.cc: Added --enable-dht, --dht-listen-port,
  12406. --dht-entry-point.
  12407. * src/DefaultBtInteractive.cc: Send port message if dht is enabled.
  12408. * src/RequestGroup.cc: Initialize DHT functionality. When download
  12409. ends, remove BtContext from DHTPeerAnnounceStorage.
  12410. * src/BtPortMessage.{h, cc}: Rewritten.
  12411. * src/message.h
  12412. * src/OptionHandlerImpl.cc
  12413. * src/option_processing.cc: Added --enable-dht, --dht-listen-port,
  12414. --dht-entry-point.
  12415. * src/Dictionary.{h, cc} (remove): New function.
  12416. * src/prefs.h
  12417. * src/DefaultBtMessageFactory.h
  12418. * src/BtHandshakeMessage.cc
  12419. * src/ActivePeerConnectionCommand.cc
  12420. * src/SocketCore.{h, cc}: Added datagram socket support.
  12421. * src/DefaultBtMessageFactory.cc
  12422. * src/BtSetup.cc: Add BtContext to DHTPeerAnnounceStorage here.
  12423. Create DHT commands.
  12424. * src/BtMessageFactory.h
  12425. * src/PeerMessageUtil.{h, cc}
  12426. 2008-01-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12427. Fixed the bug that log file is not written when configuration file doesn't exist.
  12428. This is caused by using Logger class before LogFactory is not configured.
  12429. BUG #1875079
  12430. * src/option_processing.cc
  12431. Warning message "configuration doesn't exist" is only printed when --conf is
  12432. given.
  12433. * src/option_processing.cc
  12434. 2008-01-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12435. Use BencodeVisitor and MessageDigestHelper instead of ShaVisitor.
  12436. ShaVisitor is now deprecated and slated to be removed.
  12437. * src/DefaultBtContext.cc
  12438. 2008-01-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12439. Externalize message to message.h
  12440. * src/Platform.cc
  12441. * src/message.h
  12442. 2008-01-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12443. Set default domain and default path to cookie.
  12444. * src/HttpResponse.cc
  12445. * src/CookieBox.{h, cc}
  12446. * src/CookieParser.{h, cc}
  12447. * test/CookieParserTest.cc
  12448. 2008-01-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12449. Added --no-conf and --conf-path command-line option.
  12450. --no-conf option disables loading aria2.conf file.
  12451. --conf-path option changes the configuration file path. The default
  12452. file path is $HOME/.aria2/aria2.conf
  12453. Added a warning message when the configuration file is not found.
  12454. * src/HelpItemFactory.cc
  12455. * src/option_processing.cc
  12456. * src/prefs.h
  12457. * src/usage_text.h
  12458. 2008-01-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12459. Added the message to inform users that other help categories are
  12460. available in -h option.
  12461. * src/version_usage.cc
  12462. * src/TagContainer.{h, cc}
  12463. * test/TagContainerTest.cc
  12464. * src/TaggedItem.{h, cc}
  12465. * test/TaggedItemTest.cc
  12466. * src/HelpItem.h
  12467. 2008-01-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12468. Added Piece::getFirstMissingBlockIndexWithoutLock() and it is called
  12469. from PiecedSegment's ctor.
  12470. Previously Piece::getAllMissingBlockIndexes() is called from
  12471. PiecedSegment() but it is rather expensive since only first element is
  12472. used.
  12473. * src/PiecedSegment.cc
  12474. * src/Piece.{h, cc}
  12475. 2008-01-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12476. Rewritten get*Missing*Index functions. Now no need to allocate memory
  12477. each time these functions are called.
  12478. * src/BitfieldMan.{h, cc}
  12479. * test/BitfieldManTest.cc
  12480. * src/array_fun.h
  12481. * test/array_funTest.cc
  12482. Now BitfieldMan::countBlock() returns BitfieldMan::blocks.
  12483. Added new BitfieldMan::countFilteredBlock() to get the number of blocks
  12484. filtered. Removed unnecessary cast to int32_t.
  12485. * src/BitfieldMan.{h, cc}
  12486. 2008-01-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12487. Fixed the bug that EX_TOO_LONG_PAYLOAD exception is thrown if just
  12488. payload length(4bytes) are received. This happens because lenbufLength
  12489. is not updated in this particular case and successive call of
  12490. receiveMessage() overwrites payload length with bytes recieved which
  12491. are payload body.
  12492. * src/PeerConnection.{h, cc}
  12493. * src/message.h
  12494. 2008-01-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12495. Fixed the bug that DefaultPeerStorage::returnPeer() may delete wrong
  12496. peer if there are peers that have same ipaddr and port.
  12497. I've experiened segmentation fault and "pure virtual function was
  12498. called" error.
  12499. * src/Peer.h
  12500. * test/PeerTest.cc
  12501. * src/DefaultPeerStorage.cc
  12502. * test/DefaultPeerStorageTest.cc
  12503. 2008-01-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12504. Removed a call to isPowerOf() because it is no longer necessary here
  12505. and a request block is not always power of 2.
  12506. BUG#1866924
  12507. * src/PeerMessageUtil.cc (checkLength)
  12508. 2008-01-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12509. Fixed the bug that always first found Segment is removed from
  12510. usedSegmentEntries. Removed unused functions.
  12511. * src/SegmentMan.{h, cc}
  12512. * test/SegmentManTest.cc
  12513. Fixed the bug that ServerHost is not removed.
  12514. * src/RequestGroup.cc
  12515. 2008-01-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12516. Fixed the bug that SegmentMan::completeSegment() is not called
  12517. even if Segment is complete when --lowest-speed-limit is enabled.
  12518. BUG#1864525
  12519. * src/DownloadCommand.{h, cc}
  12520. 2008-01-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12521. Fixed: hash algorithm 'sha1' is always used.
  12522. * src/DownloadCommand.cc (validatePieceHash)
  12523. 2008-01-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12524. Added --enable-peer-exchange command-line option.
  12525. * src/OptionHandlerFactory.cc
  12526. * src/HelpItemFactory.cc
  12527. * src/option_processing.cc
  12528. * src/usage_text.h
  12529. 2008-01-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12530. Move extension from BtRuntime to ExtensionMessageFactory, because
  12531. extension can be specified per peer, not per torrent.
  12532. * src/DefaultBtInteractive.cc
  12533. * src/BtRuntime.h
  12534. * src/ExtendedMessagingAware.h
  12535. * src/ExtensionMessageFactory.h
  12536. * src/DefaultExtensionMessageFactory.cc
  12537. * test/DefaultExtensionMessageFactoryTest.cc
  12538. 2008-01-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12539. Added categorized option help. Specify category using --help option.
  12540. Also added the ability to search options in forward match.
  12541. * src/HelpItem.{h, cc}
  12542. * test/HelpItemTest.cc
  12543. * src/HelpItemFactory.{h, cc}
  12544. * src/TagContainer.{h, cc}
  12545. * test/TagContainerTest.cc
  12546. * src/option_processing.cc
  12547. * src/prefs.h
  12548. * src/TaggedItem.{h, cc}
  12549. * test/TaggedItemTest.cc
  12550. * src/version_usage.cc
  12551. * src/help_tags.h
  12552. * src/usage_text.h
  12553. 2008-01-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12554. Fixed segmentation fault when bad torrent metainfo is parsed.
  12555. Added dynamic_cast properly to detect the misconfiguration of metainfo
  12556. and then throw exception or skip it.
  12557. * src/DefaultBtContext.{h, cc}
  12558. * test/DefaultBtContextTest.cc
  12559. * src/AnnounceList.cc
  12560. * src/CompactPeerListProcessor.cc
  12561. * src/message.h
  12562. * src/DefaultBtAnnounce.{h, cc}
  12563. * test/DefaultBtAnnounceTest.cc
  12564. * src/BencodeVisitor.cc
  12565. 2007-12-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12566. Added missing "B"(=Byte). So now the message looks like this:
  12567. Your share ratio was 1.0, uploaded/downloaded=12MiB/12MiB
  12568. * src/message.h (MSG_SHARE_RATIO_REPORT)
  12569. 2007-12-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12570. Show the seed ratio after torrent downloads.
  12571. For example, after torrent download completed and --seed-time and
  12572. --seed-ratio conditions are fulfilled, following message is printed
  12573. right after "Download complete: .....":
  12574. Your share ratio was 1.0, uploaded/downloaded=12M/12M
  12575. * src/RequestGroupMan.cc
  12576. * src/RequestGroup.{h, cc}
  12577. * src/message.h
  12578. 2007-12-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12579. Remove a defunct control file. A defunct control file means that while
  12580. it exists, but the corresponding download file is missing.
  12581. After its removal, a download restarts from the beginning.
  12582. * src/RequestGroup.cc
  12583. * src/message.h
  12584. 2007-12-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12585. Allocate bitfield in Peer when it is really used. More specifically,
  12586. bitfield in Peer is allocated after the connection is established and
  12587. deallocated when the connection is dropped.
  12588. Since 2 parameters(piece length and total length) was removed from the
  12589. constructor of Peer class, many test classes were modified accordingly.
  12590. See svn log for more detailed information.
  12591. * src/PeerInteractionCommand.cc
  12592. * src/CompactPeerListProcessor.cc
  12593. * src/Peer.cc
  12594. * src/DefaultPeerListProcessor.cc
  12595. * src/PeerListenCommand.cc
  12596. * src/PeerReceiveHandshakeCommand.cc
  12597. Fixed memory leak
  12598. * src/Piece.cc
  12599. 2007-12-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12600. Changed the default value of PREF_PEER_CONNECTION_TIMEOUT and
  12601. lowestSpeedLimit in ActivePeerConnectionCommand. TODO: Make them
  12602. command-line options.
  12603. * src/option_processing.cc
  12604. * src/ActivePeerConnectionCommand.cc
  12605. 2007-12-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12606. Send have message to peer if it already has the piece.
  12607. * src/BtHaveMessage.{h, cc}
  12608. 2007-12-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12609. Removed incomingPeer. Set 0 to peer's port if it is not a listening
  12610. port.
  12611. * src/DefaultPeerStorage.{h, cc}
  12612. * test/DefaultPeerStorageTest.cc
  12613. * src/HandshakeExtensionMessage.cc
  12614. * test/HandshakeExtensionMessageTest.cc
  12615. * src/Peer.{h, cc}: Added ipaddr and port to identity comparison.
  12616. * src/PeerStorage.h
  12617. * test/MockPeerStorage.h
  12618. * src/PeerListenCommand.cc
  12619. * src/PeerReceiveHandshakeCommand.cc
  12620. 2007-12-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12621. Added --metalink-enable-unique-protocol option.
  12622. * src/Metalink2RequestGroup.cc
  12623. * src/option_processing.cc
  12624. * src/prefs.h
  12625. * src/version_usage.cc
  12626. * doc/aria2c.1.txt
  12627. * doc/aria2c.1
  12628. 2007-12-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12629. Allow a peer in incomingPeer to be added peers.
  12630. * src/DefaultPeerStorage.cc
  12631. * test/DefaultPeerStorageTest.cc
  12632. 2007-12-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12633. Fixed the bug that causes aria2 not to finish download. BUG#1855875.
  12634. I could reproduce this bug in following procedure:
  12635. 1. Stop the download at the very beginning(1% or 100KB downloaded).
  12636. 2. Restart aria2.
  12637. 3. You see the download stopped around 99%.
  12638. * src/HttpResponseCommand.cc (handleDefaultEncoding)
  12639. * src/StreamFileAllocationEntry.cc: Removed the timeout handling.
  12640. If timeout is reached, then _nextCommand is unused and it may contains
  12641. segments and they won't be canceled. Actually, timeout is not needed
  12642. here because if the server dropped connection, then retry is made.
  12643. 2007-12-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12644. Added uTorrent compatible Peer Exchange.
  12645. * src/BencodeVisitor.{h, cc}
  12646. * test/BencodeVisitorTest.cc
  12647. * src/BtConstants.h
  12648. * src/BtContext.h: Added 'private' flag.
  12649. * src/BtExtendedMessage.{h, cc}
  12650. * test/BtExtendedMessageTest.cc
  12651. * src/BtHandshakeMessage.{h, cc}: Set extended messaging bit in
  12652. reserved field.
  12653. * test/BtHandshakeMessageTest.cc
  12654. * src/BtMessageFactory.h
  12655. * src/BtRegistry.h
  12656. * src/BtRuntime.h: This class holds default extension message IDs for
  12657. aria2. By default, aria2 uses ID 8 for ut_pex.
  12658. * src/DefaultBtContext.cc
  12659. * src/DefaultBtInteractive.{h, cc}: This class holds _utPexEnabled.
  12660. When it is true, aria2 enables ut_pex. This value is set by
  12661. PeerInteractionCommand.
  12662. * src/DefaultBtMessageFactory.{h, cc}
  12663. * test/DefaultBtMessageFactoryTest.cc
  12664. * src/DefaultBtMessageReceiver.cc: Moved the code of fast extension
  12665. handling to DefaultBtInteractive class.
  12666. * src/DefaultExtensionMessageFactory.{h, cc}
  12667. * test/DefaultExtensionMessageFactoryTest.cc
  12668. * src/DefaultPeerStorage.cc: Returns false if a peer is already in
  12669. the container(peers and incomingPeers. The equality is determined by
  12670. Peer::id).
  12671. * test/DefaultPeerStorageTest.cc
  12672. * src/ExtensionMessage.h
  12673. * test/MockExtensionMessage.h
  12674. * src/ExtensionMessageFactory.h
  12675. * test/MockExtensionMessageFactory.h
  12676. * src/HandshakeExtensionMessage.{h, cc}
  12677. * test/HandshakeExtensionMessageTest.cc
  12678. * src/MetaEntry.h
  12679. * src/Peer.{h, cc}
  12680. * src/PeerInteractionCommand.cc
  12681. * src/PeerReceiveHandshakeCommand.cc: Evaluate the return value of
  12682. addIncomingPeer.
  12683. * src/PeerMessageUtil.{h, cc}
  12684. * src/PeerObject.h
  12685. * src/UTPexExtensionMessage.{h, cc}
  12686. * test/UTPexExtensionMessageTest.cc
  12687. * src/message.h
  12688. * src/prefs.h
  12689. Fixed the bug that returns incomplete data when it contains null
  12690. character. A convenient constructor was also added.
  12691. * src/Data.{h, cc}
  12692. Rewritten.
  12693. * src/CompactPeerListProcessor.cc
  12694. Fixed typos.
  12695. * src/message.h
  12696. * src/MetaFileUtil.cc
  12697. 2007-12-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12698. Added "Status Legend" label to the explanation text of 'stat' in
  12699. download result and moved it to the last. BUG#1848214
  12700. * src/RequestGroupMan.cc
  12701. 2007-12-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12702. Fixed the bug that -lexpat is always added to aria2c_LDADD.
  12703. * src/Makefie.am
  12704. * test/Makefile.am
  12705. 2007-12-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12706. Fixed the bug that prevents aria2 from loading cookie file when expire
  12707. value is greater than 2^31-1. BUG#1851066
  12708. * src/CookieBoxFactory.cc
  12709. * test/CookieBoxFactoryTest.cc
  12710. 2007-12-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12711. Fixed possible memory leak when an exception is thrown.
  12712. * src/XML2SAXMetalinkProcessor.cc
  12713. Added Expat support. If both libxml2 and Expat are installed, then
  12714. libxml2 is used by default.
  12715. MetalinkProcessorFactory chooses from XML2SAXMetalinkProcessor and
  12716. ExpatMetalinkProcessor according to the configuration.
  12717. * src/ExpatMetalinkProcessor.{h, cc}
  12718. * src/main.cc: Removed libxml2 specific header and init/free function.
  12719. * src/MetalinkProcessorFactory.{h, cc}
  12720. * src/MetalinkHelper.cc
  12721. * src/Metalinker.h: Removed unnecessary libxml2 header.
  12722. * src/MetalinkProcessor.h
  12723. * test/XML2SAXMetalinkProcessorTest.cc: Removed because
  12724. MetalinkProcessorTest is used instead.
  12725. * test/MetalinkProcessorTest.cc: Added. It is actually the same with
  12726. XML2SAXMetalinkProcessor, replaced XML2SAXMetalinkProcessor with
  12727. MetalinkProcessorFactory::newInstance().
  12728. * m4/libexpat.m4
  12729. * configure.ac: Added configuration options for libexpat.
  12730. 2007-12-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12731. Disabled -s option in metalink download.
  12732. * src/Metalink2RequestGroup.cc
  12733. 2007-12-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12734. If several protocols are available for a mirror in metalink file,
  12735. aria2 now use one of them. --metalink-preferred-protocol option was
  12736. added to specify the preference of protocol.
  12737. * src/AbstractCommand.cc
  12738. * src/OptionHandlerFactory.cc
  12739. * src/ServerHost.{h, cc}
  12740. * src/Metalink2RequestGroup.cc
  12741. * src/RequestGroup.{h, cc}
  12742. * test/RequestGroupTest.cc
  12743. * src/option_processing.cc
  12744. * src/prefs.h
  12745. * src/HttpResponseCommand.cc
  12746. * src/MetalinkResource.{h, cc}
  12747. * src/FtpNegotiationCommand.cc
  12748. * src/MetalinkEntry.{h, cc}
  12749. * src/MetalinkEntryTest.cc
  12750. 2007-12-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12751. Code cleanup and added debug log.
  12752. * src/PeerConnection.cc
  12753. 2007-12-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12754. Compiler error fix: applied the patch by Tiziano Mueller
  12755. * src/RequestGroup.cc
  12756. 2007-12-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12757. Fixed the bug: only first announce URL is tried in AnnounceTier,
  12758. in stopped and completed event.
  12759. * src/AnnounceList.{h, cc}
  12760. * test/AnnounceListTest.cc
  12761. * src/DefaultBtAnnounce.cc
  12762. * test/DefaultBtAnnounceTest.cc
  12763. Sorted URLs.
  12764. * test/Metalink2RequestGroupTest.cc
  12765. 2007-12-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12766. Removed unnecessary string copy. Updated doc and corrected indentation.
  12767. * src/Base64.cc
  12768. Fixed compilation warnings
  12769. * test/DataTest.cc
  12770. * test/HttpRequestTest.cc
  12771. * test/MetaFileUtilTest.cc
  12772. * test/RequestTest.cc
  12773. * Release 0.12.0
  12774. 2007-12-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12775. Updated translations
  12776. * po/{de,fr,ja,nl,ru}.po
  12777. Added Brazilian Portuguese, Catalan, Italian, Spanish, Swedish
  12778. translations. Many thanks to translators.
  12779. * po/{ca,es,it,pt_BR,sv}.po
  12780. * po/LINGUAS
  12781. 2007-12-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12782. Added a notice about URL
  12783. * src/version_usage.cc
  12784. 2007-12-07 Tatsuhiro Tsujikawa <tujikawa at rednoah com>
  12785. Fixed the bug#1845750; CTRL+C does not stop torrent.
  12786. aria2 repeatedly sends stopped request when tracker returns error code.
  12787. * src/AnnounceList.cc
  12788. * test/AnnounceListTest.cc
  12789. * src/AnnounceTier.h
  12790. Added a message when ctrl-c is hit.
  12791. Now second ctrl-c is also handled in signal handler.
  12792. * src/RequestGroupMan.{h, cc}
  12793. * src/RequestGroup.{h, cc}
  12794. * src/MultiUrlRequestInfo.cc
  12795. * src/DownloadEngine.cc
  12796. * src/TrackerWatcherCommand.cc
  12797. 2007-12-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12798. Code cleanup
  12799. * src/Base64.cc (encode)
  12800. 2007-12-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12801. Changed Direct/IO enable/disable procesure in file allocation routine.
  12802. * src/SingleFileAllocationIterator.cc
  12803. (SingleFileAllocationIterator):
  12804. Disable directIO if offset is not multiple of 512.
  12805. (~SingleFileAllocationIterator): Removed a call to disableDirectIO.
  12806. * src/MultiFileAllocationIterator.cc (allocateChunk):
  12807. Enable created SingleFileAllocationIterator's directIO.
  12808. * src/FileAllocationEntry.cc
  12809. (FileAllocationEntry): Enable directIO here.
  12810. (~FileAllocationEntry): Disable directIO here.
  12811. 2007-12-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12812. Fixed the bug: aria2 doesn't utilize fast set index offered by peer.
  12813. * src/Peer.{h, cc}
  12814. * src/DefaultPieceStorage.cc
  12815. * test/DefaultPieceStorageTest.cc
  12816. 2007-12-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12817. Rewritten direct I/O support routine
  12818. * src/SingleFileAllocationIterator.cc
  12819. * src/MultiDiskAdaptor.{h, cc}
  12820. * src/ByteArrayDiskWriter.h
  12821. * src/AbstractSingleDiskAdaptor.h
  12822. * src/AbstractDiskWriter.cc
  12823. * src/DefaultPieceStorage.cc
  12824. * src/DiskWriter.h
  12825. * src/BinaryStream.h
  12826. * src/IteratableChunkChecksumValidator.cc
  12827. * src/IteratableChecksumValidator.cc
  12828. * src/CheckIntegrityEntry.cc
  12829. * src/FileAllocationEntry.cc
  12830. 2007-12-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12831. Fixed typo
  12832. * src/version_usage.cc
  12833. Updated doc
  12834. * doc/aria2c.1.txt
  12835. * doc/aria2c.1
  12836. 2007-12-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12837. Fixed compile error without message digest support.
  12838. * src/FileMetalinkParserState.cc
  12839. * src/MetalinkParserController.{h, cc}
  12840. * test/XML2SAXMetalinkProcessorTest.cc
  12841. * test/MetalinkParserControllerTest.cc
  12842. 2007-12-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12843. Enable direct I/O support in checksum checking.
  12844. * src/IteratableChunkChecksumValidator.{h, cc}
  12845. * test/IteratableChunkChecksumValidatorTest.cc
  12846. * src/CheckIntegrityEntry.cc
  12847. * src/PieceHashCheckIntegrityEntry.cc
  12848. * src/IteratableChecksumValidator.{h, cc}
  12849. * src/BtCheckIntegrityEntry.cc: Added doc.
  12850. 2007-12-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12851. Added --allow-piece-length-change option.
  12852. * src/DefaultBtProgressInfoFile.cc
  12853. * test/DefaultBtProgressInfoFileTest.cc
  12854. * src/OptionHandlerFactory.cc
  12855. * src/option_processing.cc
  12856. * src/prefs.h
  12857. * src/version_usage.cc
  12858. * doc/aria2c.1.txt
  12859. * doc/aria2c.1
  12860. Fixed: duplicated result entry appears when exception is thrown in
  12861. RequestGroup::createInitiateConnectionCommand().
  12862. * src/RequestGroupMan.cc (fillRequestGroupFromReserver):
  12863. Add RequestGroup to _requestGroup after RequetGroup::
  12864. createInitiateConnectionCommand() succeeds.
  12865. Externalized message
  12866. * src/XML2SAXMetalinkProcessor.cc
  12867. * src/message.h
  12868. 2007-12-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12869. Forced download abort when received negative response from http/ftp
  12870. server.
  12871. * src/HttpResponseCommand.cc
  12872. * src/FtpNegotiationCommand.cc
  12873. * src/HttpResponse.cc
  12874. * src/FtpConnection.cc
  12875. 2007-12-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12876. Added XML2SAXMetalinkProcessor class, which is a lot faster than
  12877. the predecessor, Xml2MetalinkParser class.
  12878. I tested them against 94KB metalink file with 1234 chunk checksums.
  12879. The new one parsed it in 22msec, while it took 6000msec with old one.
  12880. * src/XML2SAXMetalinkProcessor.{h, cc}
  12881. * test/XML2SAXMetalinkProcessorTest.cc
  12882. * src/MetalinkParserController.{h, cc}
  12883. * test/MetalinkParserControllerTest.cc
  12884. * src/MetalinkParserState.h: Also added 16 subclasses.
  12885. * src/main.cc
  12886. * src/Metalink2RequestGroup.cc
  12887. * src/MetalinkHelper.cc
  12888. * src/MetalinkEntry.cc
  12889. * src/ChunkChecksum.h
  12890. Rewritten Base64 class for better performance.
  12891. * src/Base64.{h, cc}
  12892. * test/Base64Test.cc
  12893. * src/HttpRequest.cc
  12894. 2007-12-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12895. Fixed the bug#1841757: aria2 will connect to server to only get
  12896. file size.
  12897. * src/StreamFileAllocationEntry.cc
  12898. * src/option_processing.cc
  12899. * src/HttpResponseCommand.cc: Now reuse connection in segmented
  12900. downloads.
  12901. * src/FtpNegotiationCommand.cc
  12902. Suppressed wrong message when finding PreDownloadHandler
  12903. * src/RequestGroup.cc
  12904. 2007-11-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12905. Updated usage
  12906. * src/version_usage.cc
  12907. Updated man page
  12908. * doc/aria2c.1.txt
  12909. * doc/aria2c.1
  12910. Updated po files
  12911. * po/aria2c.pot
  12912. * po/*.po
  12913. * po/*.gmo
  12914. 2007-11-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12915. Eliminated g++-4.2 warning
  12916. * src/DownloadHandlerConstants.{h, cc}
  12917. * src/Util.cc
  12918. * test/MetaFileUtilTest.cc
  12919. * test/PStringBuildVisitorTest.cc
  12920. Fixed bug: --check-integrity doesn't work for multi file torrent.
  12921. * src/RequestGroup.cc
  12922. * src/BtCheckIntegrityEntry.cc
  12923. 2007-11-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12924. Fixed a2io.h
  12925. * src/a2io.h
  12926. 2007-11-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12927. Added direct I/O support. The current implementation uses O_DIRECT,
  12928. which is not posix standard and is tested on linux 2.6.21.
  12929. Currently only file allocation uses direct I/O.
  12930. * src/SingleFileAllocationIterator.{h, cc}
  12931. * test/SingleFileAllocationIteratorTest.cc
  12932. * src/MultiFileAllocationIterator.{h, cc}
  12933. * test/MultiFileAllocationIteratorTest.cc
  12934. * src/BinaryStream.h
  12935. * src/DiskWriter.h
  12936. * src/AbstractDiskWriter.{h, cc}
  12937. * src/ByteArrayDiskWriter.h
  12938. * src/DiskAdaptor.h
  12939. * src/AbstractSingleDiskAdaptor.{h, cc}
  12940. * src/MultiDiskAdaptor.{h, cc}
  12941. * src/FileAllocationEntry.cc
  12942. * src/Util.{h, cc}
  12943. * src/OptionHandlerFactory.cc
  12944. * src/prefs.h
  12945. * src/version_usage.cc
  12946. * src/option_processing.cc
  12947. Moved FileAllocationMan::markCurrentFileAllocationEntryDone() to
  12948. handleException.
  12949. * src/MultiFileAllocationIterator.cc
  12950. Added EINTR handling
  12951. * src/SocketCore.cc
  12952. 2007-11-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12953. Updated usage
  12954. * src/version_usage.cc
  12955. 2007-11-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12956. Applied Ross's patch for MinGW port.
  12957. * src/DownloadEngine.h
  12958. 2007-11-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12959. Set Content-Type to SingleFileDownloadContext when http response is
  12960. received.
  12961. * src/HttpResponseCommand.cc
  12962. * src/HttpResponse.{h, cc}
  12963. * test/HttpResponseTest.cc
  12964. 2007-11-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12965. Rewritten to add content-type support.
  12966. * src/DownloadHandler.{h, cc}
  12967. * src/BtPostDownloadHandler.{h, cc}
  12968. * test/BtPostDownloadHandlerTest.cc
  12969. * src/MetalinkPostDownloadHandler.{h, cc}
  12970. * test/MetalinkPostDownloadHandlerTest.cc
  12971. * src/PostDownloadHandler.{h, cc}
  12972. * src/DownloadHandlerConstants.{h, cc}
  12973. * src/RequestGroup.cc
  12974. * src/HttpResponseCommand.cc
  12975. * src/FtpNegotiationCommand.cc
  12976. * src/SingleFileDownloadContext.{h, cc}
  12977. * src/RequestGroup.h
  12978. * src/RequestGroupCriteria.h
  12979. * src/ContentTypeRequestGroupCriteria.h
  12980. Added 'mem' option value for --follow-metalink, --follow-torrent.
  12981. If it is give, metalink/torrent file is not written to the disk, but
  12982. just is kept in memory. Parsing is occurred on memory.
  12983. * src/MetalinkHelper.{h, cc}
  12984. * src/MetalinkProcessor.h
  12985. * src/Xml2MetalinkProcessor.{h, cc}
  12986. * test/Xml2MetalinkProcessorTest.cc
  12987. * src/DownloadHandlerFactory.{h, cc}
  12988. * test/DownloadHandlerFactoryTest.cc
  12989. * src/PreDownloadHandler.{h, cc}
  12990. * src/OptionHandlerFactory.cc
  12991. * src/DefaultBtContext.{h, cc}
  12992. * test/DefaultBtContextTest.cc
  12993. * src/version_usage.cc
  12994. * src/Metalink2RequestGroup.{h, cc}
  12995. * src/RequestGroup.{h, cc}
  12996. * src/a2functional.h
  12997. * test/a2functionalTest.cc
  12998. * src/MemoryBufferPreDownloadHandler.{h, cc}
  12999. * src/OptionHandlerImpl.h
  13000. * src/prefs.h
  13001. * src/Util.{h, cc}
  13002. * test/UtilTest.cc
  13003. Keep DownloadResult rather than RequestGroup after downloads to reduce
  13004. memory usage.
  13005. * src/RequestGroupMan.{h, cc}
  13006. * src/DownloadEngine.cc
  13007. * src/BtDependency.{h, cc}: Changed the type of dependee from
  13008. WeakHandle to SharedHandle because WeakHandle could be null.
  13009. * src/RequestGroup.{h, cc}
  13010. * src/DownloadEngineFactory.cc
  13011. * src/DownloadResult.h
  13012. Set totalLength after download finished
  13013. * src/UnknownLengthPieceStorage.{h, cc}
  13014. Keep torrent file specified in metalink in memory.
  13015. * src/Metalink2RequestGroup.cc
  13016. * src/BtDependency.cc
  13017. * src/TrueRequestGroupCriteria.h
  13018. Fixed the bug: seekg is used where seekp should be used.
  13019. * src/ByteArrayDiskWriter.cc
  13020. * test/ByteArraydiskWriterTest.cc
  13021. 2007-11-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13022. Fixed syntax error
  13023. * test/SequenceTest.cc
  13024. 2007-11-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13025. Return false if RequestGroup::isPreLocalFileCheckEnabled() == true
  13026. * src/RequestGroupMan.cc (isSameFileBeingDownloaded)
  13027. Return false if RequestGroup::isPreLocalFileCheckEnabled() == true
  13028. * src/RequestGroup.cc (downloadFinishedByFileLength)
  13029. 2007-11-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13030. Added the check to see whether ares_host_callback accepts timeouts
  13031. with c-ares; only c-ares 1.5.0 or newer accepts it.
  13032. * src/NameResolver.{h, cc}
  13033. * m4/libcares.m4
  13034. * configure.ac: Set C++ for language choice.
  13035. 2007-11-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13036. Fixed: compilation fails without c-ares/ares
  13037. * src/DownloadEngine.cc (addCommand): Moved outside #ifdef
  13038. Generate http/ftp commands only when download is incomplete.
  13039. * src/BtFileAllocationEntry.cc (prepareForNextAction)
  13040. 2007-11-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13041. Corrected typo. Examples are removed since they are available in man
  13042. page.
  13043. * src/version_usage.cc
  13044. Updated man page.
  13045. * doc/aria2c.1
  13046. * doc/aria2c.1.txt
  13047. * doc/makeman: Commented out sed command.
  13048. 2007-11-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13049. Throw DlAbortEx when a remote file is not found.
  13050. * src/HttpResponse.cc
  13051. * src/FtpNegotiationCommand.cc
  13052. * src/message.h
  13053. Overwrite an existing file if --allow-overwrite=true is given.
  13054. * src/RequestGroup.cc
  13055. Removed unused functions
  13056. * src/AbstractCommand.h
  13057. 2007-11-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13058. Removed 'extern' from 'extern typedef ...' in src/*.h
  13059. 2007-11-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13060. Updated usage
  13061. * src/version_usage.cc
  13062. 2007-11-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13063. Trim announce URL
  13064. * src/DefaultBtContext.cc
  13065. * test/ShaVisitorTest.cc
  13066. Trim argument s. Give trimed s to exception constructor.
  13067. * src/Util.cc (parseInt)(parseLLInt)
  13068. * test/UtilTest.cc
  13069. 2007-11-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13070. Set precision back to 1.
  13071. * src/ConsoleStatCalc.cc (calculateStat)
  13072. 2007-11-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13073. Replaced strtol with Util::parseInt
  13074. * src/ChunkedEncoding.cc
  13075. * src/HttpConnection.cc
  13076. * src/CookieBoxFactory.cc
  13077. * src/ParameterizedStringParser.cc
  13078. * src/Util.cc
  13079. * test/UtilTest.cc
  13080. * test/OptionHandlerTest.cc
  13081. * src/Request.cc
  13082. Throw exception when empty string is given. The message for exception
  13083. changed.
  13084. * src/Util.cc (parseInt)(parseLLInt)
  13085. * src/message.h
  13086. 2007-11-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13087. Set precision to 2 because share ratio is rounded into 1.0 if precision
  13088. set to 1.
  13089. * src/ConsoleStatCalc.cc (calculateStat)
  13090. 2007-11-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13091. Preallocate non-requested file which is adjacent forward to requested
  13092. file('requested' files means the files given in --select-file option)
  13093. if they share a same piece.
  13094. This fixes long pause in the file system which doesn't support sparse
  13095. files like FAT32 while downloading.
  13096. * src/MultiFileAllocationIterator.{h, cc}
  13097. * test/MultiFileAllocationIteratorTest.cc
  13098. * src/FileEntry.{h, cc}
  13099. Removed unused _option.
  13100. * src/MultiDiskAdaptor.h
  13101. * test/MultiDiskAdaptorTest.cc
  13102. * src/DefaultPieceStorage.cc
  13103. Set the default value of --seed-ratio to 1.0.
  13104. If 0.0 is given, then seeding continues regardless of share ratio.
  13105. * src/version_usage.cc
  13106. * src/option_processing.cc
  13107. * src/BtSetup.cc
  13108. * doc/aria2c.1.txt
  13109. * doc/aria2c.1
  13110. Fixed: Selective download is not working in BitTorrent
  13111. * src/RequestGroup.cc
  13112. Introduced Sequence class. Use this instead of Util::unfoldRange()
  13113. * src/PieceStorage.h
  13114. * test/MockPieceStorage.h
  13115. * src/UnknownLengthPieceStorage.h
  13116. * src/DefaultPieceStorage.{h, cc}
  13117. * src/Metalink2RequestGroup.cc
  13118. * src/RequestGroup.cc
  13119. * src/Sequence.h
  13120. * test/SequenceTest.cc
  13121. * src/IntSequence.h
  13122. * src/message.h
  13123. * src/Util.{h, cc}
  13124. * test/UtilTest.cc
  13125. Added new function 'parse' to catch exception thrown by subclass's
  13126. parseArg
  13127. * src/OptionHandler.h
  13128. * src/OptionParser.cc
  13129. * src/NameMatchOptionHandler.h
  13130. * src/OptionHandlerImpl.h
  13131. * test/OptionHandlerTest.cc
  13132. Added IntegerRangeOptionHandler. Used for --listen-port and
  13133. --select-file. Now --listen-port accepts range of port.
  13134. * src/OptionHandlerFactory.cc
  13135. * src/version_usage.cc
  13136. * src/OptionHandlerImpl.h
  13137. * src/option_processing.cc
  13138. * src/BtSetup.cc
  13139. * src/PeerListenCommand.{h, cc}
  13140. * doc/aria2c.1.txt
  13141. * doc/aria2c.1
  13142. Implemented operator< for Exception class to provide easy way to print
  13143. exception stack trace.
  13144. * src/Exception.{h, cc}
  13145. * src/main.cc
  13146. * src/option_processing.cc
  13147. 2007-11-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13148. * src/version_usage.cc
  13149. (showVersion): Reworked.
  13150. (showUsage): Added examples.
  13151. Removed Hint for total length and file name.
  13152. * src/Metalink2RequestGroup.cc
  13153. * src/RequestGroup.{h, cc}
  13154. * src/HttpResponseCommand.cc
  13155. * src/FtpNegotiationCommand.cc
  13156. Now --follow-torrent and --follow-metalink option work properly.
  13157. * src/RequestGroup.cc
  13158. Updated man page
  13159. * doc/aria2c.1.txt
  13160. * doc/aria2c.1
  13161. 2007-11-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13162. Removed.
  13163. * src/PiecedSegment.{h, cc} (operator==)(operator!=)
  13164. Use Segment::operator==()
  13165. * src/HttpConnection.cc
  13166. * src/Segment.h
  13167. Updated usage
  13168. * src/version_usage.cc
  13169. Added EINTR treatment.
  13170. * src/SocketCore.cc
  13171. * src/AbstractDiskWriter.cc
  13172. Rewritten.
  13173. * src/Util.cc (rangedFileCopy)
  13174. 2007-11-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13175. Fixed typo.
  13176. * src/version_usage.cc
  13177. 2007-11-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13178. Implemented. Now -c option works fine.
  13179. * src/DefaultPieceStorage.cc (markPiecesDone)
  13180. * test/DefaultPieceStorageTest.cc
  13181. Removed.
  13182. * src/SegmentMan.{h, cc}
  13183. (markAllPiecesDone)
  13184. (markPieceDone)
  13185. Synchronized po files with
  13186. https://translations.launchpad.net/aria2/trunk/+pots/aria2c
  13187. * src/fr.po
  13188. * src/ru.po
  13189. * src/de.po
  13190. * src/ja.po
  13191. 2007-11-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13192. Added ifdef and some modifications to compile without BitTorrent,
  13193. Metalink, MessageDigest
  13194. support.
  13195. * src/PieceHashCheckIntegrityEntry.cc
  13196. * src/MetalinkEntry.h
  13197. * src/version_usage.cc
  13198. * src/main.cc
  13199. * src/DownloadEngine.{h, cc}
  13200. * src/Metalink2RequestGroup.cc
  13201. * src/Peer.cc
  13202. * src/RequestGroup.cc
  13203. * src/MetalinkHelper.cc
  13204. * test/DefaultPieceStorageTest.cc
  13205. * test/MetalinkPostDownloadHandlerTest.cc
  13206. * test/Metalink2RequestGroupTest.cc
  13207. Hide TOTAL SPD when all downloads complete.
  13208. * src/ConsoleStatCalc.cc
  13209. Log target system information.
  13210. * src/main.cc
  13211. 2007-11-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13212. Now --metalink-location accepts a comma-deliminated list of locations.
  13213. * src/MetalinkEntry.{h, cc}
  13214. * test/MetalinkEntryTest.cc
  13215. * src/version_usage.cc
  13216. * src/Metalink2RequestGroup.cc
  13217. * src/Xml2MetalinkProcessor.cc
  13218. * test/Xml2MetalinkProcessorTest.cc
  13219. * doc/aria2c.1.txt
  13220. * doc/aria2c.1
  13221. * src/Util.cc (toUpper)(toLower): Rewritten.
  13222. 2007-11-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13223. Added the ability to detect duplicate download entry which is about to
  13224. download the same file other RequestGroup is downloading.
  13225. * src/RequestGroup.cc
  13226. * src/HttpResponseCommand.cc
  13227. * src/FtpNegotiationCommand.cc
  13228. 2007-11-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13229. Recalculates download progress when loading a control file,
  13230. if the piece length of DownloadContext is different from the one saved
  13231. in the control file. Currently in-flight pieces are ignored.
  13232. * src/DefaultBtProgressInfoFile.cc
  13233. * test/DefaultBtProgressInfoFileTest.cc
  13234. * src/Util.{h, cc}
  13235. * test/UtilTest.cc
  13236. 2007-11-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13237. Do not rotate tiers in announce-list.
  13238. * src/DefaultBtAnnounce.{h, cc}: Removed trackerNumTry.
  13239. AnnounceList::allTiersFailed() used instead to detect whether all
  13240. tiers are tried and failed.
  13241. * test/DefaultBtAnnounceTest.cc
  13242. * src/AnnounceList.{h, cc}: If all tiers are tried and failed then
  13243. allTiersFailed() returns true. To reset tier pointer, call resetTier();
  13244. * test/AnnounceListTest.cc
  13245. * src/TrackerWatcherCommand.cc (execute): Removed DlAbortEx catch
  13246. clause. Catch RecoverableException instead of DlRetryEx instead.
  13247. 2007-11-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13248. Implemented checksum validation feature(1 checksum for each file)
  13249. The validation takes place after the download.
  13250. * src/PieceHashCheckIntegrityEntry.{h, cc}: New class.
  13251. * src/IteratableChecksumValidator.{h, cc}: Rewritten.
  13252. * src/CheckIntegrityCommand.cc: Changed log message.
  13253. * src/Metalink2RequestGroup.cc: Set checksum to
  13254. SingleFileDownloadContext.
  13255. * src/StreamCheckIntegrityEntry.{h, cc}: Now derived from
  13256. PieceHashCheckIntegrity class.
  13257. * src/BtCheckIntegrityEntry.{h, cc}: Now derived from
  13258. PieceHashCheckIntegrity class.
  13259. * src/ChecksumCheckIntegrityEntry.{h, cc}: New class.
  13260. * src/IteratableValidator.h: New class.
  13261. * src/message.h
  13262. * src/CheckIntegrityEntry.{h, cc}
  13263. * src/IteratableChunkChecksumValidator.{h, cc}
  13264. * src/SingleFileDownloadContext.h
  13265. * src/DownloadCommand.cc
  13266. --allow-overwrite=true is no longer needed to check file integrity
  13267. before download in BitTorrent download.
  13268. * src/RequestGroup.cc (getInitialCommand)
  13269. Removed RequestGroup from queue when RequestGroup::getInitialCommand()
  13270. throws exception.
  13271. * src/RequestGroupMan.cc (getInitialCommands)
  13272. 2007-11-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13273. urlencode the given url inside Request::parseUrl(...)
  13274. * src/Request.{h, cc}
  13275. * src/Util.{h, cc}
  13276. * test/RequestTest.cc
  13277. Removed #!metalink3! notation support because it is deleted from
  13278. the metalink specification.
  13279. * src/Request.{h, cc}
  13280. * test/RequestTest.cc
  13281. 2007-11-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13282. Don't connect server before checking file integrity at startup, if
  13283. filesize and output file path are known.
  13284. * src/AbstractCommand.cc
  13285. * src/StreamFileAllocationEntry.cc
  13286. * src/Metalink2RequestGroup.cc
  13287. * src/RequestGroup.{h, cc}
  13288. * src/HttpResponseCommand.cc
  13289. * src/FtpNegotiationCommand.cc
  13290. Added DownloadFailureException. If it is thrown, RequestGroup should
  13291. halt.
  13292. * src/AbstractCommand.cc
  13293. * src/DownloadFailureException.h
  13294. * src/RequestGroup.cc
  13295. Catch RecoverableException, instead of DlAbortEx.
  13296. * src/RequestGroupMan.cc
  13297. * src/FillRequestGroupCommand.cc
  13298. * src/MetaFileUtil.cc
  13299. * src/IteratableChunkChecksumValidator.cc
  13300. Now first parameter of MSG_DOWNLOAD_ABORTED is gid(RequestGroup::
  13301. getGID())
  13302. * src/CheckIntegrityCommand.cc
  13303. * src/message.h
  13304. Print gid instead of idx.
  13305. * src/RequestGroupMan.cc
  13306. Removed exception throwers declaration.
  13307. * src/DirectDiskAdaptor.{h, cc}
  13308. * src/SocketCore.{h, cc}
  13309. * src/MultiDiskAdaptor.{h, cc}
  13310. * src/HttpConnection.{h, cc}
  13311. * src/HttpResponse.{h, cc}
  13312. * src/DiskAdaptor.{h, cc}
  13313. * src/CopyDiskAdaptor.{h, cc}
  13314. * src/MultiDiskAdaptor.{h, cc}
  13315. * src/HttpHeaderProcessor.{h, cc}
  13316. * src/AbstractSingleDiskAdaptor.{h, cc}
  13317. * src/Util.{h, cc}
  13318. * test/UtilTest.cc
  13319. * src/DefaultDiskWriter.{h, cc}
  13320. * src/FtpConnection.{h, cc}
  13321. * src/AbstractDiskWriter.{h, cc}
  13322. Removed duplicate code.
  13323. * src/StreamCheckIntegrityEntry.cc
  13324. Removed unnecessary include.
  13325. * src/DiskWriter.h
  13326. Included Exception.h
  13327. * src/option_processing.cc
  13328. Included 2 files and added doc
  13329. * src/TrackerWatcherCommand.cc
  13330. * src/SocketCore.cc (writeData): Fixed send error with GnuTLS.
  13331. 2007-11-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13332. Changed CheckIntegrityEntry interface so that it can define
  13333. the action when all the chunk checksums are valid.
  13334. * src/CheckIntegrityEntry.h
  13335. * src/StreamCheckIntegrityEntry.{h, cc}
  13336. * src/BtCheckIntegrityEntry.{h, cc}: Currently,when all the checksums
  13337. are valid, then aira2 goes to seeding mode. Sometimes it is better
  13338. to exit rather than doing seeding. So, it would be good to toggle this
  13339. behavior.
  13340. * src/CheckIntegrityCommand.cc
  13341. * src/AbstractCommand.cc
  13342. * src/RequestGroup.cc
  13343. 2007-11-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13344. Reflect the download length of in-flight pieces.
  13345. It makes the download length readout more precise.
  13346. * src/DefaultPieceStorage.{h, cc}
  13347. * test/DefaultPieceStorageTest.cc
  13348. * src/a2functional.h
  13349. * test/a2functionalTest.cc
  13350. Lower CPU load when --max-download-limit is used.
  13351. There is up and down in speed indicator when enabling
  13352. http-pipelining but a download goes well. I think the problem is that
  13353. because http-pipelining is enabled, DownloadCommand is created for
  13354. each segment and in its constructor, PeerStat::downloadStart() is
  13355. called. In PeerStat::downloadStart(), speed calculation object is
  13356. reseted, which makes download speed zero.
  13357. * src/DownloadCommand.cc
  13358. Rewritten using accumulate.
  13359. * src/RequestGroupMan.cc (calculateStat)
  13360. Code clearnup.
  13361. * src/FtpNegotiationCommand.cc
  13362. * src/HttpResponseCommand.cc
  13363. 2007-11-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13364. Fixed: Can not resume: aria2 reports download already finished.
  13365. * src/AbstractCommand.{h, cc}
  13366. * src/HttpResponseCommand.cc
  13367. * src/FtpNegotiateCommand.cc
  13368. 2007-11-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13369. Now a file is stored in the directory specified in .metalnk file
  13370. (file[@name]).
  13371. * src/Metalink2RequestGroup.cc
  13372. Create the directory structure when opening the file if it doesn't
  13373. exist.
  13374. * src/AbstractDiskWriter.cc
  13375. * src/Util.{h, cc}
  13376. * src/File.h
  13377. * test/UtilTest.cc
  13378. Removed file name comparison
  13379. * src/Metalink2RequestGroup.cc
  13380. * src/HttpResponseCommand.cc
  13381. Rewritten using Util::mkdirs()
  13382. * src/FileEntry.cc (setupDir)
  13383. * test/FileEntryTest.cc
  13384. Updated doc
  13385. * src/SingleFileDownloadContext.h
  13386. 2007-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13387. Now SleepCommand dispatches nextCommand when halt is requested.
  13388. It avoids a possible long wait after hitting CTRL-C.
  13389. * src/SleepCommand.{h, cc}
  13390. * src/RequestGroupAware.{h, cc}
  13391. 2007-11-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13392. Fixed: the listen port sent to the tracker is wrong. If aria2 fails
  13393. to open listen port, then remove the port number from the tracker
  13394. request.
  13395. * src/DefaultBtAnnounce.cc
  13396. * test/DefaultBtAnnounceTest.cc
  13397. * test/MockPieceStorage.h
  13398. Inject randomizer to DefaultBtAnnounce and DefaultBtContext to make
  13399. them more testable.
  13400. * src/DefaultBtAnnounce.{h, cc}
  13401. * src/DefaultBtContext.{h, cc}
  13402. * src/Util.{h, cc}
  13403. * test/DefaultBtAnnounceTest.cc
  13404. * test/DefaultBtContextTest.cc
  13405. * test/UtilTest.cc
  13406. Added 'B' to upload bytes readout.
  13407. * src/ConsoleStatCalc.cc
  13408. Now the listen port for BitTorrent download is opened when it is
  13409. needed.
  13410. * src/DownloadEngineFactory.cc
  13411. * src/BtSetup.{h, cc}
  13412. * src/PeerListenCommand.{h, cc}
  13413. Now an exception thrown while parsing tracker response is now logged.
  13414. If DlAbortEx is catched, then btAnnounce->resetAnnounce() immediately
  13415. called, which means no retry is made in this case, assuming a tracker
  13416. has a problem.
  13417. * src/TrackerWatcherCommand.cc
  13418. Fixed: downloading a file whose length is unkown fails.
  13419. * src/DownloadCommand.cc
  13420. Simplified prepareForNextSegment()
  13421. * src/DownloadCommand.cc
  13422. Updated
  13423. * po/POTFILES.in
  13424. 2007-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13425. Re-implemented a file listing for Metalink, which was dropped while
  13426. http/ftp/torrent integration was being implemented.
  13427. * src/MetalinkHelper.{h, cc}: New class.
  13428. * test/MetalinkHelperTest.cc
  13429. * src/main.cc
  13430. * src/Metalink2RequestGroup.cc
  13431. 2007-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13432. Added the ability to display the detailed torrent file information.
  13433. Now -S option gives not only a file listing, but also total download
  13434. length, info hash, announce URI, piece length, the number of pieces,
  13435. and mode(single or multi-torrent).
  13436. * src/DefaultBtContext.{h, cc} (operator<<): New function.
  13437. * src/Util.cc (toStream): Show file length in a abbreviated form(like
  13438. KiB)
  13439. * test/UtilTest.cc
  13440. * src/main.cc
  13441. 2007-10-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13442. Added ftp://USER:PASSWD@Servername automatic parsing.
  13443. * src/Request.{h, cc}: Removed AuthResolvers. Added _username and
  13444. _password. Recognize username and password in URI.
  13445. * src/main.cc: Use AuthConfigFactory instead of RequestFactory.
  13446. * src/RequestGroup.cc: Use AuthConfigFactory instead of RequestFactory.
  13447. * src/RequestFactory.{h, cc}: Removed.
  13448. * src/AuthConfigFactory.{h, cc}: New class.
  13449. * src/FtpConnection.cc: Use AuthConfigFactory.
  13450. * src/HttpRequest.cc: Use AuthConfigFactory.
  13451. * test/HttpRequestTest.cc: Updated.
  13452. * test/RequestTest.cc: Updated.
  13453. * test/AuthConfigFactoryTest.cc: New class.
  13454. * test/RequestFactoryTest.cc: Removed.
  13455. 2007-10-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13456. Use RequestGroup::allDownloadFinished() to decide whether the control
  13457. file should be removed or saved.
  13458. * src/RequestGroup.{h, cc} (allDownloadFinished): New function.
  13459. * src/RequestGroupMan.cc (removeStoppedGroup) (save)
  13460. 2007-10-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13461. Use File::renameTo()
  13462. * src/DefaultBtProgressInfoFile.cc
  13463. Added --no-file-allocation-limit command-line option.
  13464. * src/version_usage.cc
  13465. * src/option_processing.cc
  13466. * src/OptionHandlerFactory.cc
  13467. * src/RequestGroup.{h, cc}
  13468. * src/BtCheckIntegrityEntry.cc
  13469. * src/StreamCheckIntegrityEntry.cc
  13470. * src/prefs.h
  13471. * doc/aria2c.1.txt
  13472. * doc/aria2c.1
  13473. Now prealloc is the default value for --file-allocation option.
  13474. * src/version_usage.cc
  13475. * src/option_processing.cc
  13476. * doc/aria2c.1.txt
  13477. * doc/aria2c.1
  13478. Don't URL-encode user-agent.
  13479. * src/HttpRequest.cc
  13480. Updated translations
  13481. * po/LINGUAS: Added nl for Dutch translation.
  13482. * po/nl.po: Added Dutch translation, thanks to A. Bram Neijt.
  13483. * po/de.po: Updated German translation, thanks to Patrick Ruckstuhl.
  13484. * po/POTFILES.in: Updated.
  13485. 2007-10-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13486. Added the ability to recognize url-list in a torrent file.
  13487. The retrieved URLs are attached to the corresponding FileEntry.
  13488. * src/DefaultBtContext.{h, cc}
  13489. * src/FileEntry.{h, cc}
  13490. * test/DefaultBtContextTest.cc
  13491. 2007-10-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13492. * src/ConsoleStatCalc.cc: Let the user know that aria2 is now seeding
  13493. after the download finishes.
  13494. 2007-10-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13495. * src/Piece.{h, cc}: Added SubPiece infrastructure to track down
  13496. the data smaller than block length.
  13497. A block length can be specified by constructor's argument.
  13498. * src/DefaultPieceStorage.{h, cc} (getMissingPiece):
  13499. Get a missing piece in the range of given FileEntry. This function is
  13500. not used in the program yet.
  13501. * src/Util.h: Added some macros.
  13502. 2007-10-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13503. Added HTTP/1.1 keep alive and pipelining support.
  13504. See --enable-http-keep-alive and --enable-http-pipelining option.
  13505. * src/AbstractCommand.{h, cc}: Now it has one-to-many relation to
  13506. Segment.
  13507. * src/HttpDownloadCommand.{h, cc}
  13508. * src/OptionHandlerFactory.cc
  13509. * src/HttpConnection.{h, cc}
  13510. * src/version_usage.cc
  13511. * src/HttpInitiateConnectionCommand.cc
  13512. * src/FtpInitiateConnectionCommand.cc
  13513. * src/Segment.h
  13514. * src/HttpRequestCommand.{h, cc}
  13515. * src/option_processing.cc
  13516. * src/prefs.h
  13517. * src/HttpResponseCommand.cc
  13518. * src/SegmentMan.{h, cc}
  13519. * src/FtpNegotiateCommand.cc
  13520. * src/HttpProxyResponseCommand.cc
  13521. * src/Request.cc
  13522. * src/HttpRequest.cc
  13523. * src/DownloadCommand.cc
  13524. * test/HttpRequestTest.cc
  13525. * test/RequestTest.cc
  13526. 2007-10-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13527. * src/ConsoleCalc.cc (calculateStat): Hide SPD after the download
  13528. finished.
  13529. 2007-10-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13530. * src/Metalink2RequestGroup.cc (generate): Throw exception instead of
  13531. catching it inside the method.
  13532. When no file entry is found in a metalink without querying user
  13533. preferences, throw the exception with the error message that suggests
  13534. metalink file is probably broken.
  13535. * src/RequestGroup.cc (postDownloadProcessing): Catch exception here.
  13536. 2007-10-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13537. Fixed the bug that prevents remote Metalink/Torrent file from begin
  13538. processed.
  13539. * src/RequestGroupMan.cc (removeStoppedGroup)
  13540. Added debug message.
  13541. * src/BtPostDownloadHandler.cc
  13542. * src/MetalinkPostDownloadHandler.cc
  13543. * src/PostDownloadHandler.{h, cc}
  13544. * src/RequestGroup.cc
  13545. 2007-10-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13546. * src/Request.cc (parseUrl): Removed unnecessary slashes around dir.
  13547. 2007-10-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13548. * src/MultiUrlRequestInfo.h: Updated the message shown when program
  13549. stops and there are any unfinished or in-progress downloads.
  13550. Added the legend of "stat".
  13551. 2007-10-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13552. Throw exception when chunck checksum verification fails.
  13553. * src/DownloadCommand.cc (validatePieceHash): New function.
  13554. * src/PiecedSegment.{h, cc} (clear): New function.
  13555. * src/GrowSegment.{h, cc} (clear): New function.
  13556. * src/Segment.h (clear): New function.
  13557. * src/SegmentMan.{h, cc} (validatePieceHash): Removed.
  13558. * test/SegmentTest.cc
  13559. * test/GrowSegmentTest.cc
  13560. 2007-10-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13561. Do not send referer when redirected.
  13562. * src/Request.cc (redirectUrl)
  13563. * test/RequestTest.cc
  13564. * test/HttpRequestTest.cc
  13565. 2007-10-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13566. Implemented BitTorrent/http/ftp integrated download.
  13567. I've rewritten lots of files and now some headers have forward
  13568. class declarations to reduce compile time.
  13569. The implementation is extremely alpha stage, I recommend to use this
  13570. for testing purpose only.
  13571. 2007-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13572. Fixed the compilation error on 64bit platform.
  13573. * test/HttpHeaderProcessorTest.cc
  13574. 2007-09-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13575. Merged Ross's patch that fixes compilation problem in MinGW
  13576. * test/DefaultBtProgressInfoFileTest.cc
  13577. 2007-09-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13578. Updated fr.po by sebone
  13579. * po/fr.po
  13580. Updated man page.
  13581. * doc/aria2c.1.txt
  13582. * Release 0.11.3
  13583. 2007-09-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13584. * src/MetalinkRequestInfo.cc (execute): Fixed BitTorrent download
  13585. failure in Metalink.
  13586. 2007-09-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13587. Automatically save *.aria2 control file of http/ftp download in every
  13588. 60 seconds.
  13589. * src/AutoSaveCommand.{h, cc}: New class.
  13590. * src/TimeBasedCommand.{h, cc}: New class.
  13591. * src/DownloadEngineFactory.cc (newConsoleEngine)
  13592. Disable parameterized URI support by default. Added -P option to
  13593. enable the feature.
  13594. * src/prefs.h: Added PREF_PARAMETERIZED_URI
  13595. * src/OptionHandlerFactory.cc
  13596. * src/main.cc: Also updated usages for -Z and --auto-file-renaming
  13597. Updated Japanese translation.
  13598. * po/ja.po
  13599. Updated man page.
  13600. * doc/aria2c.1.txt
  13601. * Release 0.11.3-rc
  13602. 2007-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13603. Now *.aria2 contorol file is first saved to *.aria2__temp and if
  13604. it is successful, then renamed to *.aria2.
  13605. This prevents *.aria2 file from being truncated or corrupted when
  13606. file system becomes out of space.
  13607. * src/DefaultBtProgressInfoFile.cc (save)
  13608. * src/SegmentMan.cc (save)
  13609. * test/DefaultBtProgressInfoFileTest.cc (testSave): Implemented.
  13610. 2007-09-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13611. Reduced the fragmentation of bitfield in http/ftp download.
  13612. * src/BitfieldMan.cc (getSparseMissingUnusedIndex)
  13613. * test/BitfieldManTest.cc
  13614. 2007-08-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13615. Added the ability to disable segmented download in .metalink.
  13616. aria2 can now recognize 'maxconnections' attribute in 'resources' and
  13617. 'url' tag.
  13618. * src/MetalinkEntry.{h, cc}
  13619. * src/RequestResource.{h, cc}
  13620. * src/MetalinkRequestInfo.cc
  13621. * src/Xml2MetalinkProcessor.cc
  13622. * test/Xml2MetalinkProcessorTest.cc
  13623. 2007-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13624. Added parameterized URI support.
  13625. * src/main.cc: -Z option added.
  13626. * src/OptionHandlerFactory.cc
  13627. * src/prefs.h: Added PREF_FORCE_SEQUENTIAL.
  13628. * src/PStringDatum.h: New class.
  13629. * src/PStringSegment.{h,cc}: New class.
  13630. * src/PStringNumLoop.h: New class.
  13631. * src/PStringSelect.h: New class.
  13632. * src/NumberDecorator.h: New class.
  13633. * src/FixedWidthNumberDecorator.h: New class.
  13634. * src/AlphaNumberDecorator.h: New class.
  13635. * src/PStringVisitor.h: New class.
  13636. * src/PStringBuildVisitor.{h,cc}: New class.
  13637. * src/ParameterizedStringParser.{h,cc}: New class.
  13638. * src/Util.{h,cc}
  13639. (isNumber): New function.
  13640. (isLowercase): New function.
  13641. (isUppercase): New function.
  13642. (alphaToNum): New function.
  13643. * test/ParameterizedStringParserTest.cc: New class.
  13644. * test/AlphaNumberDecoratorTest.cc: New class.
  13645. * test/PStringBuildVisitorTest.cc: New class.
  13646. * test/UtilTest.cc
  13647. (testIsNumber): New function.
  13648. (testIsLowercase): New function.
  13649. (testIsUppercase): New function.
  13650. (testAlphaToNum): New function.
  13651. Added '\n' after the error message
  13652. * src/RequestInfo.h (printDownloadAbortMessage)
  13653. Added auto file renaming feature in http(s)/ftp download.
  13654. * src/main.cc: Added --auto-file-renaming command-line option.
  13655. * src/OptionHandlerFactory.cc
  13656. * src/prefs.h: Added PREF_AUTO_FILE_RENAMING
  13657. * src/RequestGroup.{h, cc}
  13658. (shouldCancelDownloadForSafety): Rewritten
  13659. (tryAutoFileRenaming): New function.
  13660. * src/SegmentMan.{h, cc} (shouldCancelDownloadForSafety): Removed.
  13661. * src/HttpResponseCommand.cc
  13662. (executeInternal): Removed the call to RequestGroupMan::
  13663. isSameFileBeingDownloaded()
  13664. * src/FtpNegotiateCommand.cc
  13665. (recvSize): Removed the call to RequestGroupMan::
  13666. isSameFileBeingDownloaded()
  13667. * test/RequestGroupTest.cc: New class.
  13668. 2007-08-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13669. Merged Ross's patch: Removed setmode(). Use _CRT_fmode to enable binary
  13670. IO.
  13671. * src/DefaultBtProgressInfoFile.cc
  13672. * src/MetaFileUtil.cc
  13673. * src/SimpleLogger.cc
  13674. * src/SegmentMan.cc
  13675. * src/Util.cc
  13676. * src/Platform.cc
  13677. 2007-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13678. * src/Xml2MetalinkProcessor.cc (getPieceHash): Added missing .c_str().
  13679. 2007-08-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13680. Avoid sparse files if possible, because VFAT32 doesn't support it.
  13681. * src/DefaultDiskWriter.cc (initAndOpenFile)
  13682. Fixed the bug that prevents file allocation is not done when
  13683. dowloading multi-torrent file.
  13684. * src/AbstractDiskWriter.cc (openFile)
  13685. Increase the maximum number of -j option from 15 to 45.
  13686. * src/OptionHandlerFactory.cc (createOptionHandlers)
  13687. Added fr.po, thanks to Charles Landemaine.
  13688. * po/fr.po
  13689. * po/LINGUAS
  13690. 2007-08-10 Ross Smith II <aria2spam at smithii dot com>
  13691. gcc 3.4.4 support:
  13692. * src/DefaultBtContext.cc: int32_t -> int
  13693. * src/main.cc: int -> int32_t, int32_t -> int
  13694. * src/messageDigest.h: uint32_t -> unsigned int
  13695. * src/NameResolver.h: int32_t -> int
  13696. * src/PeerConnection.cc: int -> int32_t
  13697. * src/SpeedCalc.cc: int32_t -> int
  13698. * src/TrackerUpdateCommand.h: int -> int32_t
  13699. * src/Util.cc: int32_t -> int
  13700. * src/Util.h: int32_t -> int
  13701. * src/Xml2MetalinkProcessor.cc: int -> uint32_t, int64_t -> uint64_t
  13702. * test/AnnounceListTest.cc: int -> int32_t
  13703. * test/ChunkedEncodingTest.cc: int -> int32_t
  13704. * test/DataTest.cc: int -> int32_t
  13705. * test/DefaultBtRequestFactoryTest.cc: int -> int32_t
  13706. * test/DefaultPeerListProcessorTest.cc: int -> int32_t
  13707. * test/DefaultPieceStorageTest.cc: int -> int32_t
  13708. * test/FeatureConfigTest.cc: int -> int32_t
  13709. * test/MetalinkEntryTest.cc: int -> int32_t
  13710. * test/MockBtRequestFactory.h: int -> int32_t
  13711. * test/MockPieceStorage.h: int -> int32_t
  13712. * test/OptionTest.cc: int -> int32_t
  13713. * test/RequestTest.cc: int -> int32_t
  13714. * test/SegmentManTest.cc: int -> int32_t
  13715. * test/Xml2MetalinkProcessorTest.cc: int -> int32_t
  13716. 2007-08-10 Ross Smith II <aria2spam at smithii dot com>
  13717. Move sleep functions to Util class:
  13718. * src/Util.cc
  13719. (sleep): New function.
  13720. (usleep): New function.
  13721. * src/DownloadCommand.cc: sleep -> Util::sleep
  13722. * test/TimeSeedCriteriaTest.cc: sleep -> Util::sleep
  13723. MinGW build enhancements. The following files are added:
  13724. * src/timegm.{c,h}
  13725. Changes to support the above new files:
  13726. * configure.ac
  13727. * src/Makefile.am
  13728. * src/a2time.h
  13729. * src/Util.cc:
  13730. * src/strptime.c: Added support for %Z option.
  13731. Fixed MinGW non-blocking bug.
  13732. * src/SocketCore.cc
  13733. * src/HttpRequestCommand.cc
  13734. Miscellenous build fixes/enhancements.
  13735. * configure.ac: Added summary report.
  13736. * src/Platform.h: Tweaked #include's.
  13737. * src/a2netcompat.h: Tweaked #include's.
  13738. * src/strptime.h: Tweaked #include's.
  13739. * src/gai_strerror.c: Tweaked #include's.
  13740. * src/gai_strerror.h: _D_GETADDRINFO_H -> _D_GAI_STRERROR_H
  13741. * src/getaddrinfo.h: Moved #ifndef __MINGW32__
  13742. * src/gettimeofday.h: Added HAVE_CONFIG_H
  13743. 2007-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13744. Increased the initial connection size in BitTorrent download to 40.
  13745. * src/BtRuntime.h
  13746. Added the usage message of --peer-id-prefix option.
  13747. * src/main.cc
  13748. * Release 0.11.2
  13749. 2007-08-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13750. MessageDigestHelper is introduced in order to simplify the use
  13751. of message digest. Removed repeated code.
  13752. The message digest algorithm is now specified by string, like "sha1",
  13753. "md5".
  13754. * src/messageDigest.{h, cc}
  13755. * src/MessageDigestHelper.{h, cc}: New class.
  13756. * src/DefaultPieceStorage.cc
  13757. * src/DefaultBtContext.{h, cc}
  13758. (computeFastSet): New function.
  13759. (setInfoHash): Added for unit testing.
  13760. (setNumPieces): Added for unit testing.
  13761. * src/DefaultBtInteractive.cc
  13762. * src/BtPieceMessage.cc
  13763. * src/Peer.cc
  13764. * src/Checksum.h
  13765. * src/message.h
  13766. * src/IteratableChecksumValidator.h
  13767. * src/ChunkChecksumValidator.{h, cc}: Use IteratableChecksumValidator
  13768. inside it.
  13769. * src/SegmentMan.{h, cc}
  13770. (checkIntegrity): Removed.
  13771. * src/IteratableChunkChecksumValidator.{h, cc}
  13772. * src/Util.h
  13773. (sha1Sum): Removed.
  13774. (simpleMessageDigest): Removed.
  13775. (fileChecksum): Removed.
  13776. (computeFastSet): Removed.
  13777. * src/ShaVisitor.cc
  13778. * src/ChunkChecksum.h
  13779. * src/DownloadCommand.cc
  13780. Removed messageDigest virtual functions.
  13781. * src/MultiDiskAdaptor.{h, cc}
  13782. * src/DiskAdaptor.h
  13783. * src/ByteArrayDiskWriter.h
  13784. * src/DiskWriter.h
  13785. * src/DiskAdaptorWriter.h
  13786. * src/AbstractSingleDiskAdaptor.{h, cc}
  13787. * src/AbstractDiskWriter.{h, cc}
  13788. Fixed comilation error when message digest is disabled.
  13789. * src/MetalinkEntry.{h, cc}
  13790. * src/MetalinkRequestInfo.cc
  13791. Removed srandom and random.
  13792. * src/SimpleRandomizer.h
  13793. Added size() virtual function to DiskAdaptor
  13794. * src/MultiDiskAdaptor.h
  13795. Fixed the bug that causes that files are not opened correctly in
  13796. multi-file torrent.
  13797. * src/TorrentRequestInfo.cc
  13798. * src/MultiDiskAdaptor.cc
  13799. Added SHA256 support
  13800. * src/messageDigest.cc
  13801. * src/Xml2MetalinkProcessor.cc
  13802. Show supported message digest algorithms
  13803. * src/main.cc
  13804. Updated contact info.
  13805. * src/main.cc
  13806. Applied Ross's patch
  13807. * src/a2netcompat.h
  13808. * src/main.cc
  13809. Fixed the bug that prevents a remote metalink from not being processed
  13810. even if '-o foo.metalink' is specified.
  13811. * src/MetalinkRequestInfo.cc
  13812. 2007-08-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13813. Merged Dan's patch:
  13814. * src/ByteArrayDiskWriter.cc: ios_base -> ios
  13815. Use va_copy to avoid core dump on amd64:
  13816. * src/SimpleLogger.cc
  13817. Updated contact info.
  13818. * src/main.cc
  13819. Added #ifdef ENABLE_MESSAGE_DIGEST to fix test errors when message
  13820. digest is not available.
  13821. * src/MetalinkEntry.h
  13822. 2007-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13823. Make a2netcompat.h include a2io.h to fix compilation error:
  13824. * src/a2netcompat.h
  13825. * src/SocketCore.cc: Removed include of a2io.h
  13826. * src/Util.cc: Removed include of a2io.h
  13827. Gather time related functions to a2time.h:
  13828. * src/a2time.h: New file.
  13829. * src/DefaultPeerStorage.cc
  13830. * src/SimpleLogger.cc
  13831. * src/Util.{h, cc}
  13832. * src/SimpleRandomizer.h
  13833. * src/TimeA2.{h,cc}
  13834. * src/DownloadCommand.cc
  13835. * src/main.cc
  13836. Removed #ifdef __MINGW32__ since gai_strerror is included in
  13837. a2netcompat.h:
  13838. * src/NameResolver.cc
  13839. Fixed compilation error without openssl:
  13840. * src/SocketCore.{h,cc}: Moved include of openssl/err.h to SocketCore.h
  13841. Added default block to suppress compiler warnings:
  13842. * src/MetalinkRequestInfo.cc (AccumulateNonP2PUrl::operator())
  13843. 2007-07-26 Ross Smith II <aria2spam at smithii dot com>
  13844. MinGW build enhancements. The following files are added:
  13845. * src/gai_strerror.{c,h}
  13846. * src/gettimeofday.{c,h}
  13847. Changes to support the above new files:
  13848. * configure.ac
  13849. * src/Makefile.am
  13850. * src/a2netcompat.h
  13851. * src/TimeA2.cc
  13852. * src/DefaultPeerStorage.cc
  13853. * src/NameResolver.cc: removed mingw_strerror() function.
  13854. * src/SocketCore.cc: removed mingw_strerror() function.
  13855. Miscellaneous MinGW build fixes.
  13856. * src/a2io.h: Use _lseeki64() instead of lseek()
  13857. * src/common.h
  13858. * src/DefaultFileAllocator.cc
  13859. * src/GlowFileAllocator.cc
  13860. * src/main.cc: Moved #include "prefs.h" to quiet compile error.
  13861. * src/NameResolver.cc
  13862. (callback): Changed int32_t to int.
  13863. (resolve): Changed int32_t to int.
  13864. * src/Platform.cc
  13865. * src/Platform.h
  13866. * test/MultiDiskWriterTest.cc
  13867. * test/PeerMessageUtilTest.cc
  13868. * src/localtime_r.c: Add DeleteCriticalSection() and at exit().
  13869. Other enhancements and fixes.
  13870. * src/HttpRequestCommand.cc
  13871. (executeInternal) Use non-blocking socket for HTTPS (MinGW only).
  13872. * src/SocketCore.cc:
  13873. (error): New function to abstract errno/WSAGetLastError().
  13874. (errorMsg): New function to abstract errno/WSAGetLastError().
  13875. (initiateSecureConnection): Added more detailed error reporting.
  13876. * src/SocketCore.h: Added private variable blocking, to allow
  13877. proper handling of OpenSSL psuedo-errors.
  13878. * src/message.h
  13879. (EX_SSL_INIT_FAILURE)
  13880. (EX_SSL_IO_ERROR)
  13881. (EX_SSL_PROTOCOL_ERROR)
  13882. (EX_SSL_UNKNOWN_ERROR)
  13883. (EX_SSL_CONNECT_ERROR)
  13884. (EX_SOCKET_BLOCKING)
  13885. (EX_SOCKET_NONBLOCKING)
  13886. (EX_SOCKET_UNKNOWN_ERROR)
  13887. * src/Util.cc
  13888. (setGlobalSignalHandler): Renamed signal to sig as signal is a
  13889. reserved name.
  13890. (httpGMT): Fixed typo.
  13891. 2007-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13892. Merged Ross's win32 patch(manually)
  13893. In the course of merging, following files are added.
  13894. * src/strptime.{h,c}
  13895. * src/libgen.{h,c}
  13896. * src/inet_aton.{h,c}
  13897. * src/Platform.{h,cc}
  13898. * src/localtime_r.{h,c}
  13899. * src/getaddrinfo.{h,c}
  13900. I've gethered network related things, and put them to following file:
  13901. * src/a2netcompat.h
  13902. Also io related things are put to following file:
  13903. * src/a2io.h
  13904. Changed %lld to %s because mingw32 doesn't recognize %lld.
  13905. * src/message.h
  13906. (MSG_ALLOCATION_COMPLETED)
  13907. (EX_TOO_LARGE_FILE)
  13908. (EX_SIZE_MISMATCH)
  13909. (EX_FILE_OFFSET_OUT_OF_RANGE)
  13910. (EX_INVALID_CHUNK_CHECKSUM)
  13911. (EX_INVALID_RANGE_HEADER)
  13912. * src/FileAllocationCommand.cc
  13913. * src/HttpResponse.cc
  13914. * src/RequestGroup.cc
  13915. * src/MultiDiskAdaptor.cc
  13916. * src/OptionHandlerImpl.h
  13917. * src/HttpResponseCommand.cc
  13918. * src/FtpNegotiateCommand.cc
  13919. * src/IteratableChecksumValidator.cc
  13920. * src/SegmentMan.cc
  13921. * src/ChunkChecksumValidator.cc
  13922. Added Randomizer::getRandomNumber(long int)
  13923. * src/Randomizer.h (getRandomNumber)
  13924. * src/SimpleRandomizer.h (getRandomNumber)
  13925. * src/BitfieldMan.cc (getMissingIndexRandomly): Use this new function.
  13926. * src/Util.cc (randomAlpha): Use this new function.
  13927. 2007-07-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13928. Converted int's to in32_t. long long int's are also converted to
  13929. int64_t
  13930. 2007-07-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13931. Fixed the bug that prevents cookies from being sent to the server
  13932. if the domain of cookie is FQDN and starts with ".".
  13933. * src/Cookie.cc (match)
  13934. To add the ability to change peer id.
  13935. * src/DefaultBtContext.h
  13936. (_peerIdPrefix): New variable
  13937. (setPeerIdPrefix): New function.
  13938. * src/torrentRequestInfo.cc
  13939. (execute): Set the option value of PREF_PEER_ID_PREFIX to
  13940. DefaultBtContext.
  13941. * src/main.cc (main): Added peer-id-prefix command-line option.
  13942. The usage message is not added yet.
  13943. * src/DefaultBtContext.cc
  13944. (generatePeerId): Use _peerIdPrefix.
  13945. * src/prefs.h (PREF_PEER_ID_PREFIX): New definition.
  13946. 2007-07-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13947. Fixed the bug that prevents filename in content-disposition from
  13948. being retrieved when filename is not quoted.
  13949. * src/Util.cc (getContentDispositionFilename)
  13950. Fixed the bug that causes infinate loop and memory leak when file open
  13951. operation failed.
  13952. * src/HttpResponseCommand.cc (handleDefaultEncoding)
  13953. 2007-07-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13954. Fixed the bug that causes segfault when all URIs specified are
  13955. unsupported.
  13956. * src/RequestGroupMan.cc (getInitialCommands)
  13957. Check if RequestGroup::createNextCommand() returns empty list of
  13958. commands.
  13959. * src/RequestGroup.cc (createNextCommand)
  13960. Change log level from info to error so that users can notice that
  13961. an error occurred.
  13962. Fixed the bug that causes segfault when a zero-sized file is
  13963. downloaded.
  13964. * src/BitfieldMan.cc (isAllBitSet)
  13965. Return true if bitfieldLength is 0.
  13966. 2007-07-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13967. * src/main.cc
  13968. (showUsage): Added 3 usage examples for metalink download.
  13969. Replace MetalinkChunkChecksum with ChunkChecksum.
  13970. * src/MetalinkChunkChecksum.h: Removed.
  13971. * src/MetalinkEntry.h: MetalinkChunkChecksum -> ChunkChecksum.
  13972. * src/Xml2MetalinkProcessor.h: MetalinkChunkChecksum -> ChunkChecksum.
  13973. * src/Xml2MetalinkProcessor.cc
  13974. (getPieceHash): Use ChunkChecksum instead of MetalinkChunkChecksum.
  13975. * src/MetalinkRequestInfo.cc (execute)
  13976. * Release 0.11.1
  13977. 2007-07-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13978. Reads URIs from stdin when "-i -" is specified.
  13979. * src/UriFileListParser.h, src/UriFileListParser.cc: Removed.
  13980. * src/UriListParser.h, src/UriListParser.cc: New class.
  13981. * src/StreamUriListParser.h: New class.
  13982. * src/FileUriListParser.h: New class.
  13983. * src/main.cc (main): Use StreamUriListParser and FileUriListParser
  13984. instead of UriFileListParser.
  13985. 2007-07-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13986. Made console readout more readable.
  13987. * src/ConsoleDownloadEngine.cc (sendStatistics)
  13988. 2007-07-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13989. Fix the bug that causes -s option not to work.
  13990. * src/main.cc (main)
  13991. * src/a2algo.h: New file.
  13992. 2007-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13993. Create directory structure specified in metalink file.
  13994. * src/RequestGroup.h, src/RequestGroup.cc
  13995. (initAndOpenFile): Create a directory to store files if it does not
  13996. exist.
  13997. (getDir): New function.
  13998. Added ETA and download speed for an individual file to readout.
  13999. * src/ConsoleDownloadEngine.cc (sendStatistics)
  14000. * src/RequestGroup.h
  14001. (calculateDownloadSpeed): New function.
  14002. 2007-06-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14003. Made -S option work with metalink file and provided selective download
  14004. to metalink.
  14005. * src/MetalinkEntry.h, src/MetalinkEntry.cc
  14006. (filename): Removed.
  14007. (file): New variable.
  14008. (size): Removed.
  14009. (operator=): Updated.
  14010. (getPath): New function.
  14011. (getLength): New function.
  14012. (toFileEntry): New function.
  14013. * src/TorrentRequestInfo.h, src/TorrentRequestInfo.cc
  14014. (execute): Use toStream.
  14015. (showFileEntry): Removed.
  14016. * src/MetalinkRequestInfo.h
  14017. (targetFiles): New variable.
  14018. (setTargetFiles): New variable.
  14019. * src/MetalinkRequestInfo.cc
  14020. (execute): Added the ability to print file information included in
  14021. a metalink file.
  14022. Added selective download mode to metalink.
  14023. * src/main.cc
  14024. (showUsage): Updated to denote that -S and --select-file options are
  14025. applicable to metalink.
  14026. * src/FileEntry.h
  14027. (operator=): New function.
  14028. (getBasename): New function.
  14029. (getDirname): New function.
  14030. * src/Util.h, src/Util.cc
  14031. (toStream): New function.
  14032. * src/Xml2MetalinkProcessor.cc: Updated.
  14033. Made aria2 work with metalink with directory structure.
  14034. * src/File.h, src/File.cc
  14035. (getBasename): New function.
  14036. (getDirname): New function.
  14037. * src/RequestGroup.h, src/RequestGroup.cc
  14038. (_topDir): New variable.
  14039. (setTopDir): New function.
  14040. (initSegmentMan): A directory structure is added to _segmentMan->dir.
  14041. Rewrote HTTP header parsing with stringstream.
  14042. * src/HttpConnection.h, src/HttpConnection.cc
  14043. (HttpRequestEntry): New class.
  14044. (headerBuf): Removed.
  14045. (headerBufLength): Removed.
  14046. (outstandingHttpRequests): Now its element type is
  14047. HttpRequestEntryHandle.
  14048. (findEndOfHeader): Removed.
  14049. (receiveResponse): Rewritten.
  14050. * src/HttpHeaderProcessor.h, src/HttpHeaderProcessor.cc: New class.
  14051. Updated doc for -j option to notice that it should be used with -i
  14052. option.
  14053. * src/main.cc (showUsage)
  14054. Removed unused classes.
  14055. * src/RequestInfo.h
  14056. (FileInfo): Removed.
  14057. (checksum): Removed.
  14058. (fileInfo): Removed.
  14059. (setChecksum): Removed.
  14060. (getChecksum): Removed.
  14061. (getFileInfo): Removed.
  14062. Use ISO units.
  14063. * src/ConsoleDownloadEngine.cc
  14064. * src/TorrentConsoleDownloadEngine.cc
  14065. * src/Util.cc (abbrevSize)
  14066. 2007-06-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14067. Added the default listening ports to the help message.
  14068. * src/main.cc (showUsage)
  14069. 2007-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14070. Reduce the number of calls to gettimeofday to lower CPU load.
  14071. * src/TimeA2.h, src/TimeA2.cc (differenceInMillis): New function.
  14072. * src/SpeedCalc.h, src/SpeedCalc.cc (calculateSpeed): New function.
  14073. * src/Peer.h (calculateUploadSpeed): New function.
  14074. (calculateDownloadSpeed): New function.
  14075. * src/DefaultPeerStorage.cc
  14076. (CalculateStat): Added _now variable.
  14077. In operator(), call Peer::calculateDownloadSpeed(const struct timeval&)
  14078. and Peer::calculateUploadSpeed(const struct timeval&)
  14079. Drop connection if no request or piece message is exchanged in
  14080. a certain interval.
  14081. * src/DefaultBtInteractive.h
  14082. (btRuntime): New variable.
  14083. (inactiveCheckPoint): New variable.
  14084. (checkActiveInteraction): New function.
  14085. * src/DefaultBtInteractive.cc (receiveMessages): Reset timer when
  14086. request or piece message is received.
  14087. (checkActiveInteraction): New function.
  14088. (doInteractionProcessing): Call checkActiveInteraction.
  14089. Fixed the bug that causes remote Metalink and Torrent files are not
  14090. processed.
  14091. * src/MultiUrlRequestInfo.cc (createNextRequestInfo): Fixed the bug.
  14092. 2007-06-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14093. Changed format of log file.
  14094. * src/SimpleLogger.cc
  14095. * Release 0.11.0
  14096. 2007-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14097. * src/AbstractCommand.cc
  14098. (execute): Changed log level of MSG_RESTARTING_DOWNLOAD and
  14099. MSG_MAX_TRY from error to info.
  14100. Added MSG_DOWNLOAD_ABORTED after MSG_MAX_TRY.
  14101. * src/message.h
  14102. (MSG_TORRENT_DOWNLOAD_ABORTED): New definition.
  14103. (MSG_DOWNLOAD_ABORTED): Added %s.
  14104. (MSG_RESTARTING_DOWNLOAD): Added %s.
  14105. (MSG_DOWNLOAD_ALREADY_COMPLETED): Updated.
  14106. * src/PeerAbstractCommand.cc
  14107. (execute): MSG_DOWNLOAD_ABORTED -> MSG_TORRENT_DOWNLOAD_ABORTED
  14108. * src/Request.h
  14109. (cookieBox): Made ShardHandle.
  14110. * src/RequestGroup.h, src/RequestGroup.cc
  14111. (createNextCommandWithAdj): New function.
  14112. * src/FileAllocationCommand.cc
  14113. (executeInternal): Use createNextCommandWithAdj().
  14114. * src/CheckIntegrityCommand.cc
  14115. (executeInternal): Use createNextCommandWithAdj().
  14116. Added --load-cookies command-option.
  14117. * src/OptionHandlerFactory.cc
  14118. (createOptionHandlers): Added PREF_LOAD_COOKIES.
  14119. * src/CookieBox.h, src/CookieBox.cc: Rwritten using CookieParser.
  14120. Now aria2 can handle cookie's expiration date.
  14121. * src/Cookie.h (expires): Changed its type to time_t.
  14122. * src/main.cc: Added --load-cookies command-line option.
  14123. * src/prefs.h (PREF_LOAD_COOKIES): New definition.
  14124. * src/Util.h, src/Util.cc (httpGMT): New function.
  14125. * src/Request.cc (Request): Initialize cookieBox using
  14126. CookieBoxFactory.
  14127. * src/CookieBoxFactory.h, src/CookieBoxFactory.cc: New class.
  14128. * src/CookieParser.h, src/CookieParser.cc: New class.
  14129. * src/main.cc: Chagned the default value of --metalink-servers to 5.
  14130. * src/HttpResponseCommand.cc
  14131. (handleOtherEncoding): Call RequestGroup::shouldCancelDownloadForSafety
  14132. * src/MetalinkRequestInfo.cc: Now -s option is ignored in Metalink
  14133. download.
  14134. 2007-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14135. Added -j command-line option.
  14136. * src/OptionHandlerFactory.cc (createOptionHandlers)
  14137. * src/main.cc
  14138. * src/ByteArrayDiskWriter.h, src/ByteArrayDiskWriter.cc
  14139. Rewritten using stringstream.
  14140. * src/TrackerUpdateCommand.h, src/TrackerUpdateCommand.cc
  14141. Rewritten using stringstream.
  14142. 2007-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14143. Make download size shown in MB, KB.
  14144. * src/ConsoleDownloadEngine.h (sendStatistics)
  14145. * src/Util.h, srcUtil.cc (abbrevSize): New function.
  14146. 2007-06-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14147. Accept incoming connections if download rate is low.
  14148. * src/PeerListenCommand.h, src/PeerListenCommand.cc:
  14149. (_lowestSpeedLimit): New variable.
  14150. (setLowestSpeedLimit): New function.
  14151. (execute): Accept incoming connections if download rate is low.
  14152. MAX_PEERS is ignored in this case.
  14153. Disable PREF_OUT in multiple concurrent download:
  14154. * src/RequestGroup.h, src/RequestGroup.cc
  14155. (setUserDefinedFilename): New function.
  14156. * src/DownloadEngineFactory.cc
  14157. (newConsoleEngine): Do not set PREF_OUT to requestGroup in multiple
  14158. concurrent download.
  14159. * src/DefaultSegmentManFactory.cc
  14160. (createNewInstance): Comment out the line: segmentMan->ufilename = ...
  14161. 2007-06-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14162. RequestGroup::getNextCommand() was renamed to createNextCommand().
  14163. Added its overloaded method.
  14164. * src/RequestGroup.h
  14165. (_numConcurrentCommand): New variable.
  14166. (setNumConcurrentCommand): New function.
  14167. * src/RequestGroup.cc
  14168. Abort download if same file is being downloaded concurrently.
  14169. * src/RequestGroup.h, src/RequestGroupMan.cc
  14170. (isSameFileBeingDownloaded): New function.
  14171. * src/HttpResponseCommand.cc (executeInternal)
  14172. * src/FtpNegotiateCommand.cc (recvSize)
  14173. * src/message.h (EX_DUPLICATE_FILE_DOWNLOAD): New definition.
  14174. * main.cc: Added help message for -i option.
  14175. 2007-06-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14176. * src/FileAllocationCommand.cc: Derived from RealtimeCommand.
  14177. * src/CheckIntegrityCommand.cc: Derived from RealtimeCommand.
  14178. * src/MetalinkEntry.h
  14179. (checksum): Changed to ChecksumHandle
  14180. * src/MetalinkRequestInfo.cc
  14181. (checksum): Changed to ChecksumHandle
  14182. * src/File.cc
  14183. (mkdirs): OPEN_MODE -> DIR_OPEN_MODE
  14184. * src/common.h
  14185. (DIR_OPEN_MODE): New definition
  14186. * src/RequestGroup.cc
  14187. (prepareForNextAction): Added an argument.
  14188. * src/message.h
  14189. (MSG_GOOD_CHECKSUM): New definition
  14190. (MSG_BAD_CHECKSUM): New definition
  14191. * src/HttpResponseCommand.cc
  14192. (handleDefaultEncoding): Continue download sequence in new
  14193. non-segmented download.
  14194. * src/FileAllocationEntry.h
  14195. (_nextDownloadCommand): New variable.
  14196. * src/DownloadCommand.cc
  14197. (prepareForNextSegment): Create ChecksumCommand if checksum is
  14198. available.
  14199. * src/RealtimeCommand.h, src/RealtimeCommand.cc: New class.
  14200. * src/IteratableChecksumValidator.h,
  14201. src/IteratableChecksumValidator.cc: New class.
  14202. * src/ChecksumCommand.h, src/ChecksumCommand.cc: New class.
  14203. 2007-05-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14204. Change file mode to 666:
  14205. * src/common.h (OPEN_MODE): New definition.
  14206. * src/File.cc
  14207. * src/Util.cc
  14208. * src/Directry.cc
  14209. * src/AbstractDiskWriter.cc
  14210. Change the level of log message "download aborted" to debug:
  14211. * src/PeerAbstractCommand.cc (execute)
  14212. * src/RequestGroup.h (RequestGroup): Initialized _hintTotalLength to 0.
  14213. * src/TrackerWatcherCommand.cc
  14214. (createCommand): Sleep some seconds after request failed.
  14215. If tracker request fails more than value of PREF_TRACKER_MAX_TRIES,
  14216. then abort tracker request.
  14217. 2007-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14218. * Added the simultaneous download feature.
  14219. * src/main.cc: Print "Exception caught: " when exception is caught.
  14220. Use CUIDCounter instead of BtRuntime::getNewCuid():
  14221. * src/ActivePeerConnectionCommand.cc
  14222. * src/PeerInteractionCommand.cc
  14223. * src/BtRuntime.h
  14224. (cuidCounter): Removed.
  14225. (getNewCuid): Removed.
  14226. * src/DownloadEngineFactory.cc
  14227. * src/PeerListenCommand.cc
  14228. * src/TrackerUpdateCommand.cc
  14229. * src/PeerInitiateConnectionCommand.cc
  14230. 2007-04-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14231. * src/PeerAbstractCommand.cc
  14232. (onAbort): Call PeerStorage::returnPeer()
  14233. * src/DefaultPeerStorage.h, src/DefaultPeerStorage.cc
  14234. (incomingPeers): New variable.
  14235. (addIncomingPeer): New function.
  14236. (returnPeer): New function.
  14237. (onErasingPeer): New function.
  14238. (addPeer): push_back -> push_front
  14239. (getActivePeers): Rewritten.
  14240. (calculateStat): Rewritten.
  14241. * src/PeerStorage.h
  14242. (TransferStat::copy): New function.
  14243. (TransferStat::TransferStat): New function.
  14244. (TransferStat::operator=): New function.
  14245. (addIncomingPeer): New function.
  14246. (returnPeer): New function.
  14247. * src/PeerListenCommand.cc
  14248. (execute): Use PeerStorage::addIncomingPeer() instead of
  14249. Peer::addPeer().
  14250. 2007-04-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14251. Connect to a peer actively when download speed is lower than specified
  14252. speed in torrent download:
  14253. * src/ActivePeerConnectionCommand.h: New class.
  14254. 2007-03-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14255. * src/HttpRequest.cc (createRequest): url-encode user-agent
  14256. * src/main.cc: Fixed the bug that prevents download if .netrc
  14257. doesn't exist.
  14258. 2007-03-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14259. To cache resolved hostname:
  14260. * src/AbstractCommand.h, src/AbstractCommand.cc
  14261. (resolveHostname): Put outside #ifdef ENABLE_ASYNC_DNS clause.
  14262. Added dns cache.
  14263. * src/FtpInitiateConnectionCommand.cc
  14264. (executeInternal): Removed #ifdef ENABLE_ASYNC_DNS.
  14265. * src/NameResolver.h, src/NameResolver.cc: Added synchronized
  14266. NameResolver working without ares.
  14267. * src/TorrentRequestInfo.cc
  14268. (execute): Don't cache dns in torrent download.
  14269. * src/HttpInitiateConnectionCommand.cc
  14270. (executeInternal): Removed #ifdef ENABLE_ASYNC_DNS
  14271. * src/DNSCache.h: New class.
  14272. * src/UrlRequestInfo.cc
  14273. (execute): Use dns cache.
  14274. In http request, suppress port number in http request header if port
  14275. is 80 or 443:
  14276. * src/HttpRequest.cc (getHostText): Suppress port number in http
  14277. request header if port is 80 or 443.
  14278. (createProxyRequest): Allways send port number.
  14279. 2007-03-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14280. To add the command-line option which disables netrc support:
  14281. * src/OptionHandlerFactory.cc
  14282. (createOptionHandlers): Added PREF_NO_NETRC.
  14283. * src/main.cc: Added -n option.
  14284. * src/prefs.h (PREF_NO_NETRC): New definition.
  14285. * src/RequestFactory.cc: Do not use netrc in ftp if PREF_NO_NETRC is
  14286. V_TRUE.
  14287. Note that netrc is not used in http, http proxy even if PREF_NO_NETRC
  14288. is V_FALSE. This may get configurable in the future release.
  14289. To clear peer's error status by time basis:
  14290. * src/PeerAbstractCommand.cc
  14291. (onAbort): Call Peer::startBadCondition().
  14292. * src/Peer.h, src/Peer.cc
  14293. (error): Removed.
  14294. (_badConditionStartTime): New variable.
  14295. (_badConditionInterval): New variable. Initialized to 10 seconds.
  14296. (startBadCondition): New function.
  14297. (isGood): New function.
  14298. * src/DefaultPeerStorage.cc
  14299. (addPeer): Use Peer::isGood().
  14300. (FindFinePeer): Use Peer::isGood().
  14301. Always include port number in http request header:
  14302. * src/HttpRequest.cc (getHostText): Always include port number in
  14303. http request header.
  14304. 2007-03-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14305. To the ability to read options from a config file:
  14306. * src/main.cc: Command-line parameter validation is delegated to
  14307. OptionHandler class.
  14308. * src/OptionHandlerFactory.h, src/OptionHandlerFactory.cc: New class.
  14309. * src/Option.h, src/Option.cc (clear): New function.
  14310. * src/OptionParser.h, src/OptionParser.cc: New class.
  14311. * src/OptionHandler.h: New class.
  14312. * src/NameMatchOptionHandler.h: New class.
  14313. * src/OptionHandlerImpl.h: New classes.
  14314. * src/prefs.h: '_' -> '-'
  14315. (FTP_PASV_ENABLED): Renamed to FTP_PASV.
  14316. (FTP_PASV): New definition.
  14317. * src/Util.h, src/Util.cc (getRealSize): New function.
  14318. To disable netrc support if .netrc file does not have correct
  14319. permissions:
  14320. * src/File.h, src/File.cc (mode): New function.
  14321. To prevent confidential information to be logged:
  14322. * src/HttpConnection.h, src/HttpConnection.cc
  14323. (eraseConfidentialInfo): New function.
  14324. (sendRequest): Call eraseConfidentialInfo().
  14325. (sendProxyRequest): Call eraseConfidentialInfo().
  14326. * src/main.cc: Validate permissions of .netrc file.
  14327. To add --user-agent command-line option:
  14328. * src/main.cc: Added new command line option: --user-agent
  14329. * src/prefs.h (PREF_USER_AGENT): New definition.
  14330. * src/HttpRequestCommand.cc (executeInternal): Set user-agent option
  14331. parameter to HttpRequest object.
  14332. * src/AbstractProxyRequestCommand.cc
  14333. (executeInternal): Set user-agent option parameter to HttpRequest
  14334. object.
  14335. Marged the patches from Dan Fandrich.
  14336. 2007-03-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14337. Use filename and size from Metalink file instead of sending HEAD
  14338. request:
  14339. * src/UrlRequestInfo.h
  14340. (_filename): New variable.
  14341. (_totalLength): New variable.
  14342. (setTotalLength): New variable.
  14343. (setFilename): New variable.
  14344. * src/MetalinkRequestInfo.cc
  14345. (execute): Set filename and size to UrlRequestInfo
  14346. * src/UrlRequestInfo.cc
  14347. (execute): Use filename and size from Metalink instead of seding
  14348. HEAD request to servers.
  14349. 2007-03-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14350. To add the ability to resume downloading a partially downloaded file
  14351. which is downloaded from the beginning:
  14352. * src/FileAllocator.h: Made abstract class. New DefaultFileAllocator
  14353. takes this role.
  14354. * src/main.cc: Added -c option.
  14355. * src/BitfieldMan.h, src/BitfieldMan.cc (setBitRange): New function.
  14356. * src/DiskWriter.h (openExistingFile): Added totalLength argument.
  14357. * src/prefs.h (PREF_CONTINUE): New definition.
  14358. * src/SegmentMan.h, src/SegmentMan.cc (markPieceDone): New function.
  14359. * src/DefaultDiskWriter.cc
  14360. (createNewDiskWriter): Add GlowFileAllocator to the new object.
  14361. * src/AbstractDiskWriter.h
  14362. (glowFileAllocator): New variable.
  14363. * src/AbstractDiskWriter.cc
  14364. (openExistingFile): Now preallocate file space from the end of the
  14365. existing file if totalLength argument is specified and grater than 0.
  14366. * src/UrlRequestInfo.cc: If -c option is specified and the file
  14367. to download exists in local, continue the download of the file.
  14368. --allow-overwrite=true is assumed in this context.
  14369. * src/DefaultFileAllocator.h, src/DefaultFileAllocator.cc: New class.
  14370. * src/GlowFileAllocator.h, src/GlowFileAllocator.cc: New class.
  14371. Throw exception if --check-integrity=true is specified but chunk
  14372. checksums are not provided:
  14373. * src/UrlRequestInfo.cc
  14374. Do not print URLs to stdout:
  14375. * src/UrlRequestInfo.cc
  14376. 2007-03-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14377. * src/Request.h: Use AuthResolver to get authentication information.
  14378. * src/main.cc: Made RequestFactory a singleton object. Netrc is now
  14379. set to RequestFactory object.
  14380. * src/AuthConfigItem.h, src/AuthConfigItem.cc: Removed.
  14381. * src/AuthConfig.h, src/AuthConfig.cc: Rewritten.
  14382. * src/TrackerWatcherComand.cc: Use RequestFactorySingletonHolder to
  14383. create Request object.
  14384. 2007-03-19 Tatsuhiro Tsujikawa <tujikawa at valkyrie dot rednoah com>
  14385. To integrate Netrc into exsiting classes:
  14386. * src/Request.h
  14387. (_userDefinedAuthConfig): New variable.
  14388. (findNetrcAuthenticator): New function.
  14389. (segment): Removed.
  14390. (setUserDefinedAuthConfig): New function.
  14391. (resolveHttpAuthConfigItem): New function.
  14392. (resolveFtpAuthConfigItem): New function.
  14393. (resolveHttpProxyAuthConfigItem): New function.
  14394. * src/HttpRequest.h
  14395. (authConfig): Removed.
  14396. (proxyAuthConfig): Removed.
  14397. (setAuthConfig): Removed.
  14398. (setProxyAuthConfig): Removed.
  14399. * src/UrlRequest.h
  14400. (getHeadResult): Added a parameter: authConfigHandle
  14401. * src/common.h
  14402. (SingletonHolder.h): New include.
  14403. * src/main.cc
  14404. (Netrc.h): New include.
  14405. (main): Removed initial values of PREF_FTP_USER, PREF_FTP_PASSWD.
  14406. Added initial value of PREF_NETRC_PATH.
  14407. Added the initialization of netrc.
  14408. * src/AuthConfig.h: New class.
  14409. * src/prefs.h
  14410. (PREF_NETRC_PATH): New definition.
  14411. * src/HttpAuthConfig.h: Removed.
  14412. * src/Netrc.cc
  14413. (getRequiredNextToken): New function.
  14414. (skipMacdef): New function.
  14415. (parse): Rewritten.
  14416. * src/Netrc.h
  14417. (getRequiredNextToken): New function.
  14418. (skipMacdef): New function.
  14419. * src/Util.h, src/Util.cc
  14420. (getHomeDir): New function.
  14421. * src/TrackerWatcherComand.cc
  14422. (createRequestCommand): Use AuthConfig.
  14423. * src/FtpConnection.cc
  14424. (sendUser): Use Request::resolveFtpAuthConfigItem().
  14425. (sendPass): Use Request::resolveFtpAuthConfigItem().
  14426. * src/Request.cc
  14427. (findNetrcAuthenticator): New function.
  14428. (resolveHttpAuthConfigItem): New function.
  14429. (resolveFtpAuthConfigItem): New function.
  14430. (resolveHttpProxyAuthConfigItem): New function.
  14431. * src/UrlRequestInfo.cc: Use AuthConfig.
  14432. * src/HttpRequest.cc
  14433. (createRequest): Use authConfig.
  14434. (getProxyAuthString): Use authConfig.
  14435. (configure): Removed PREF_HTTP_USER, PREF_HTTP_PASSWD,
  14436. PREF_HTTP_PROXY_USER, PREF_HTTP_PROXY_PASSWD.
  14437. 2007-03-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14438. To reduce overhead to find commands whose socket is either
  14439. readable or writable in the download engine loop:
  14440. * src/Command.h, src/Command.cc
  14441. (STATUS): New enum.
  14442. (status): New variable.
  14443. (statusMatch): New function.
  14444. (setStatusActive): New function.
  14445. (setStatusInactive): New function.
  14446. * src/DownloadEngine.h, src/DownloadEngine.cc
  14447. (executeCommand): New function.
  14448. (run): Simplified.
  14449. (waitData): Call Command::setStatusActive() when command's socket is
  14450. readable or writable.
  14451. 2007-03-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14452. To handle Segment as SegmentHandle:
  14453. * src/AbstractCommand.cc (execute): Rewritten.
  14454. * src/SegmentMan.h: Segment -> SegmentHandle
  14455. Introducded HttpResponse class, HttpRequest class to improve code
  14456. extensiveness and make it clear:
  14457. * src/HttpDownloadCommand.cc: transfer encoders are now managed by
  14458. HttpResponse class.
  14459. * src/HttpRequest.h, src/HttpRequest.cc: New class.
  14460. * src/HttpResponse.h, src/HttpResponse.cc: New class.
  14461. * src/HttpConnection.cc: Contruction of http request were moved to
  14462. HttpRequest class.
  14463. * src/HttpResponseCommand.h, src/HttpResponseCommand.cc: Refactored.
  14464. * src/HttpRequestCommand.cc (executeInternal): Rewritten.
  14465. * src/HttpAuthConfig.h: New class.
  14466. * src/Range.h: New class.
  14467. To make FtpTunnel{Request, Response}Command and
  14468. HttpProxy{Request, Response}Command derived from
  14469. AbstractProxy{Request, Response}Command:
  14470. * src/FtpTunnelResponseCommand.h, src/FtpTunnelResponseCommand.cc:
  14471. Derived from AbstractProxyRequestCommand class.
  14472. * src/FtpTunnelRequestCommand.h, src/FtpTunnelRequestCommand.cc:
  14473. Derived from AbstractProxyResponseCommand class.
  14474. * src/HttpProxyRequestCommand.h, src/HttpProxyRequestCommand.cc:
  14475. Derived from AbstractProxyRequestCommand class.
  14476. * src/HttpProxyResponseCommand.h, src/HttpProxyResponseCommand.cc:
  14477. Derived from AbstractProxyResponseCommand class.
  14478. * src/AbstractProxyRequestCommand.h, src/AbstractProxyRequestCommand.cc
  14479. : New class.
  14480. * src/AbstractProxyResponseCommand.h,
  14481. src/AbstractProxyResponseCommand.cc: New class.
  14482. To add netrc support:
  14483. * src/Netrc.h, src/Netrc.cc: New class.
  14484. * src/Util.h, src/Util.cc (split): New function.
  14485. * src/HttpHeader.cc (getRange): Fixed so that it inspects
  14486. "Content-Range" header instead of "Range" header.
  14487. * src/HttpHeader.h
  14488. (getStatus): Removed.
  14489. (setStatus): Removed.
  14490. * src/Segment.h
  14491. (getPositionToWrite): New function.
  14492. 2007-03-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14493. * src/HttpHeader.h
  14494. (Range.h): New include.
  14495. (status): New variable.
  14496. (HttpHeader): Initialized status with 0.
  14497. (getStatus): New function.
  14498. (setStatus): New function.
  14499. (getRange): New function.
  14500. (HttpHeaderHandle): New function.
  14501. * src/HttpHeader.cc
  14502. (getRange): New function.
  14503. * src/Request.h
  14504. (RequestWeakHandle): New definition.
  14505. * src/HttpConnection.h
  14506. (HttpConnectionHandle): New type definition.
  14507. * src/HttpConnection.cc
  14508. (receiveResponse): Set HTTP status to headers.
  14509. * src/main.cc
  14510. (showUsage): Fixed typo.
  14511. * src/Segment.h
  14512. (SegmentHandle): New type definition.
  14513. * src/BitfieldMan.h
  14514. (getMissingUnusedLength): New function.
  14515. * src/BitfieldMan.cc
  14516. (getMissingUnusedLength): New function.
  14517. 2007-02-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14518. To fix static initialization order problem:
  14519. * src/BitfieldManFactory.h
  14520. (defaultRandomizer): Removed.
  14521. (factory): New variable.
  14522. (getNewFactory): Removed.
  14523. (getFactoryInstance): New function.
  14524. (setDefaultRandomizer): Rewritten.
  14525. (getDefaultRandomizer): Rewritten.
  14526. * src/BitfieldManFactory.cc
  14527. (defaultRandomizer): Removed.
  14528. (factory): Initialized to 0.
  14529. (BitfieldManFactory): Initialized randomizer to 0.
  14530. * src/DefaultPieceStorage.cc
  14531. (DefaultPieceStorage): getNewFactory() -> getFactoryInstance()
  14532. * src/Peer.cc
  14533. (Peer): getNewFactory() -> getFactoryInstance()
  14534. * src/SegmentMan.cc
  14535. (initBitfield): getNewFactory() -> getFactoryInstance()
  14536. * src/Piece.cc
  14537. (Piece): getNewFactory() -> getFactoryInstance()
  14538. 2007-02-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14539. To fix the bug that causes crash on Max OS X:
  14540. * src/SimpleRandomizer.h
  14541. (getInstance): Create new instance if the static variable is null.
  14542. * src/SimpleRandomizer.cc
  14543. (randomizer): Initialized to 0.
  14544. * src/BitfieldManFactory.h
  14545. (getNewFactory): Removed the call to setRandomizer().
  14546. To fix the miscalculation of the range of checksum:
  14547. * src/BitfieldMan.h
  14548. (isBitSetOffsetRange): New function.
  14549. * src/BitfieldMan.cc
  14550. (isBitSetOffsetRange): New function.
  14551. * src/SegmentMan.cc
  14552. (tryChunkChecksumValidation): Use BitfieldMan::isBitSetOffsetRange().
  14553. Use bitfield->getBlockLength() instead of segment.segmentLength.
  14554. * Release 0.10.1
  14555. 2007-02-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14556. To lower CPU usage in BitTorrent download when --max-upload-limit
  14557. command-line option specified:
  14558. * src/DefaultBtMessageDispatcher.cc
  14559. (sendMessages): Calculate uploading speed only when current message
  14560. is uploading data and is not sent yet.
  14561. * src/DefaultPeerStorage.h
  14562. (MAX_PEER_LIST_SIZE): 100 -> 60, because 60 is well enough.
  14563. * src/HttpResponseCommand.cc
  14564. (handleDefaultEncoding): Added the cast to int32_t to itos.
  14565. This fixes compile error in Soralis 10.
  14566. 2007-01-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14567. To fix segfault in Metalink download:
  14568. * src/UrlRequestInfo.h
  14569. (filename): Removed.
  14570. (totalLength): Removed.
  14571. (setTotalLength): Removed.
  14572. (setFilename): Removed.
  14573. * src/MetalinkRequestInfo.cc
  14574. (execute): Do not set filename and totalLength to reqInfo.
  14575. Set chunk checksum to reqInfo if it is not null.
  14576. * src/HttpResponseCommand.cc
  14577. (executeInternal): Fixed filename in log.
  14578. (handleDefaultEncoding): Removed the call to initBitfield() and
  14579. markAllPiecesDone().
  14580. (handleOtherEncoding): Added HEAD method handling.
  14581. * src/FtpNegotiateCommand.cc
  14582. (executeInternal): Added SEQ_HEAD_OK handling.
  14583. (recvSize): In HEAD handling, set sequence to SEQ_HEAD_OK and
  14584. return false.
  14585. * src/FtpNegotiateCommand.h
  14586. (SEQ_HEAD_OK): New definition.
  14587. * src/SegmentMan.cc
  14588. (initBitfield): Delete bitfield.
  14589. (isChunkChecksumValidationReady): Fixed the condition.
  14590. * src/UrlRequestInfo.cc: Fixed so that Metalink and Torrent download
  14591. works fine.
  14592. 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14593. * src/Xml2MetalinkProcessor.h
  14594. (xpathExists): New function.
  14595. * src/Xml2MetalinkProcessor.cc
  14596. (xpathExists): New function.
  14597. Not to send HEAD request if filename and size are available in Metalink
  14598. file:
  14599. * src/UrlRequestInfo.h
  14600. (filename): New variable.
  14601. (totalLength): New variable.
  14602. (setTotalLength): New function.
  14603. (setFilename): New function.
  14604. * src/MetalinkRequestInfo.cc
  14605. (execute): Set filename and size to UrlRequestInfo.
  14606. * src/MetalinkEntry.cc
  14607. (MetalinkEntry): Initialize size with 0.
  14608. * src/UrlRequestInfo.cc
  14609. (execute): Set filename and size to SegmentMan.
  14610. Not to download rest of the files after selected files are downloaded
  14611. in BitTorrent:
  14612. * src/PieceStorage.h
  14613. (allDownloadFinished): New function.
  14614. * src/DefaultBtAnnounce.cc
  14615. (isCompleteAnnounceReady): Use allDownloadFinished instead of
  14616. downloadFinished.
  14617. (getAnnounceUrl): Use allDownloadFinished instead of downloadFinished.
  14618. * src/DefaultPieceStorage.cc
  14619. (completePiece): Use allDownloadFinished instead of downloadFinished.
  14620. Commented out the call to finishSelectiveDownloadingMode().
  14621. (downloadFinished): Call isFilteredAllBitSet() instead of
  14622. isAllBitSet().
  14623. (allDownloadFinished): New function.
  14624. * src/DefaultBtInteractive.cc
  14625. (addBitfieldMessageToQueue): Call allDownloadFinished() instead of
  14626. downloadFinished().
  14627. (checkHave): Call allDownloadFinished() instead of downloadFinished().
  14628. * src/TorrentDownloadEngine.cc
  14629. (onEndOfRun): Call allDownloadFinished() instead of downloadFinished().
  14630. * src/BitfieldMan.h
  14631. (isFilteredAllBitSet): New function.
  14632. * src/ShareRatioSeedCriteria.h
  14633. (PieceStorage.h): New include.
  14634. (pieceStorage): New variable.
  14635. (evaluate):
  14636. btContext->getTotalLength() -> pieceStorage->getCompletedLength()
  14637. * src/BitfieldMan.cc
  14638. (isFilteredAllBitSet): New function.
  14639. (isAllBitSet): Filter is not took into account.
  14640. Rename --force-truncate as --allow-overwrite:
  14641. * src/TorrentRequestInfo.cc
  14642. (execute): PREF_FORCE_TRUNCATE -> PREF_ALLOW_OVERWRITE
  14643. * src/main.cc
  14644. (showUsage): --force-truncate -> --allow-overwrite
  14645. * src/message.h
  14646. (EX_FILE_ALREADY_EXISTS): --force-truncate -> --allow-overwrite
  14647. * src/prefs.h
  14648. (PREF_FORCE_TRUNCATE): Removed.
  14649. (PREF_ALLOW_OVERWRITE): New definition.
  14650. * src/SegmentMan.cc
  14651. (shouldCancelDownloadForSafety): --force-truncate -> --allow-overwrite
  14652. * src/MetalinkRequestInfo.cc
  14653. (execute): Queueing message are now logged in info level.
  14654. * src/common.h
  14655. (LONG_LONG_MAX): Removed.
  14656. (LONG_LONG_MIN): Removed.
  14657. * src/HttpResponseCommand.cc
  14658. (handleDefaultEncoding): LONG_LONG_MAX -> INT64_MAX
  14659. * src/FtpNegotiateCommand.cc
  14660. (recvSize): LONG_LONG_MAX -> INT64_MAX
  14661. * src/main.cc
  14662. (showUsage): Added --check-integriy and --realtime-chunk-checksum
  14663. command-line option.
  14664. (main): Added --check-integriy and --realtime-chunk-checksum
  14665. command-line option.
  14666. --force-truncate -> --allow-overwrite
  14667. Set initial value of --check-integrity option to false.
  14668. Don't show usage when error occurs while persing command-line options.
  14669. Removed deprecated --upload-limit option.
  14670. 2007-01-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14671. * src/message.h: Added EX_INVALID_PAYLOAD_SIZE and
  14672. EX_INVALID_BT_MESSAGE_ID. Following source files affected.
  14673. * src/BtAllowedFastMessage.cc:
  14674. * src/BtBitfieldMessage.cc
  14675. * src/BtCancelMessage.cc
  14676. * src/BtChokeMessage.cc
  14677. * src/BtHaveAllMessage.cc
  14678. * src/BtHaveMessage.cc
  14679. * src/BtHaveNoneMessage.cc
  14680. * src/BtInterestedMessage.cc
  14681. * src/BtNotInterestedMessage.cc
  14682. * src/BtPieceMessage.cc
  14683. * src/BtPortMessage.cc
  14684. * src/BtRejectMessage.cc
  14685. * src/BtRequestMessage.cc
  14686. * src/BtSuggestPieceMessage.cc
  14687. * src/BtUnchokeMessage.cc
  14688. * src/message.h: Added EX_INVALID_CHUNK_CHECKSUM. Following source
  14689. files are affected.
  14690. * src/ChunkChecksumValidator.cc
  14691. * src/SegmentMan.cc
  14692. 2007-01-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14693. To add chunk checksum validation:
  14694. * src/MetalinkEntry.h
  14695. (MetalinkChunkChecksum.h): New include.
  14696. (chunkChecksum): New variable.
  14697. * src/Request.h
  14698. (method): New variable.
  14699. (setMethod): New function.
  14700. (getMethod): New function.
  14701. (METHOD_GET): New static constant.
  14702. (METHOD_HEAD): New static constant.
  14703. * src/Xml2MetalinkProcessor.h
  14704. (getPieceHash): New function.
  14705. * src/PieceStorage.h
  14706. (markAllPiecesDone): New function.
  14707. (checkIntegrity): New function.
  14708. * src/FileAllocator.h
  14709. (NullFileAllocationMonitor.h): New include.
  14710. (FileAllocator): Initialize fileAllocationMonitor with new
  14711. NullFileAllocationMonitor().
  14712. * src/MultiDiskAdaptor.h
  14713. (messageDigest.h): Remove include.
  14714. (ctx): Removed.
  14715. (hashUpdate): Added ctx.
  14716. (MultiDiskAdaptor): Removed ctx.
  14717. (sha1Sum): Renamed as messageDigest.
  14718. (messageDigest): New function.
  14719. * src/UrlRequestInfo.h
  14720. (HeadResult): New class.
  14721. (digestAlgo): New variable.
  14722. (chunkChecksumLength): New variable.
  14723. (chunkChecksums): New variable.
  14724. (getHeadResult): New function.
  14725. (UrlRequestInfo): Added digestAlgo, chunkChecksumLength.
  14726. (setDigestAlgo): New function.
  14727. (setChunkChecksumLength): New function.
  14728. (setChunkChecksums): New function.
  14729. * src/DefaultPieceStorage.cc
  14730. (DiskAdaptorWriter.h): New include.
  14731. (ChunkChecksumValidator.h): New include.
  14732. (markAllPiecesDone): New function.
  14733. (checkIntegrity): New function.
  14734. * src/DefaultBtContext.h
  14735. (getPieceHashes): New function.
  14736. * src/TorrentRequestInfo.cc
  14737. (execute): Try to validate chunk checksum if file already exists and
  14738. .aria2 file doesn't there and user allows aria2 to overwrite it.
  14739. * src/messageDigest.h
  14740. (~MessageDigestContext): Added digestFree().
  14741. * src/MetalinkRequestInfo.cc
  14742. (execute): Set digestAlgo, chunkChecksum, chunkChecksums to reqInfo.
  14743. * src/DiskAdaptor.h
  14744. (messageDigest.h): New include.
  14745. (sha1Sum): Renamed as messageDigest.
  14746. (messageDigest): New function.
  14747. * src/DownloadCommand.h
  14748. (PeerStat.h): New include.
  14749. (maxDownloadSpeedLimit): New variable.
  14750. (startupIdleTime): New variable.
  14751. (lowestDownloadSpeedLimit): New variable.
  14752. (peerStat): New variable.
  14753. (setMaxDownloadSpeedLimit): New function.
  14754. (setStartupIdleTime): New function.
  14755. (setLowestDownloadSPeedLimit): New function.
  14756. * src/BtContext.h
  14757. (getPieceHashes): New function.
  14758. * src/main.cc
  14759. (main): Set PREF_REALTIME_CHUNK_CHECKSUM and PREF_CHECK_INTEGRITY
  14760. option to true for testing purpose.
  14761. * src/BtPieceMessage.cc
  14762. (checkPieceHash): Use messageDigest
  14763. * src/DownloadEngine.cc
  14764. (SetDescriptor): Removed.
  14765. (AccumulateActiveCommand): Removed.
  14766. (waitData): Rewritten.
  14767. (updateFdSet): Rewritten.
  14768. * src/MultiDiskAdaptor.cc
  14769. (hashUpdate): Added ctx.
  14770. (sha1Sum): Renamed as messageDigest.
  14771. (messageDigest): New function.
  14772. * src/BitfieldMan.h
  14773. (isBitRangeSet): New function.
  14774. (unsetBitRange): New function.
  14775. * src/ByteArrayDiskWriter.h
  14776. (sha1Sum): Renamed as messageDigest.
  14777. (messageDigest): New function.
  14778. * src/ConsoleDownloadEngine.cc
  14779. (calculateStatistics): If nspeed < 0 then set nspeed to 0.
  14780. * src/DiskWriter.h
  14781. (messageDigest.h): New include.
  14782. (sha1Sum): Renamed as messageDigest.
  14783. (messageDigest): New function.
  14784. * src/ChunkChecksumValidator.h: New class.
  14785. * src/DiskAdaptorWriter.h: New class.
  14786. * src/prefs.h
  14787. (PREF_REALTIME_CHUNK_CHECKSUM): New definition.
  14788. (PREF_CHECK_INTEGRITY): New definition.
  14789. * src/HttpResponseCommand.cc
  14790. (handleDefaultEncoding): Added method "HEAD" handling.
  14791. Removed the call to e->segmentMan->shouldCancelDownloadForSafety().
  14792. (handleOtherEncoding):
  14793. Added the call to e->segmentMan->shouldCancelDownloadForSafety().
  14794. (createHttpDownloadCommand): Set maxDownloadSpeedLimit,
  14795. startupIdleTime, lowestDownloadSpeedLimit to command.
  14796. * src/SegmentMan.h
  14797. (getSegmentEntryByIndex): New function.
  14798. (getSegmentEntryByCuid): New function.
  14799. (getSegmentEntryIteratorByCuid): New function.
  14800. (diskWriter): DiskWriter -> DiskWriterHandle
  14801. (pieceHashes): New variable.
  14802. (chunkHashLength): New variable.
  14803. (digestAlgo): New variable.
  14804. (FindPeerStat): Removed.
  14805. (getPeerStat): Rewritten.
  14806. (markAllPiecesDone): New function.
  14807. (checkIntegrity): New function.
  14808. (tryChunkChecksumValidation): New function.
  14809. (isChunkChecksumValidationReady): New function.
  14810. * src/BitfieldMan.cc
  14811. (BitfieldMan): Initialized bitfieldLength, blocks to 0.
  14812. (BitfieldMan): Initialized blockLength, totalLength, bitfieldLength,
  14813. blocks to 0.
  14814. (isBitRangeSet): New function.
  14815. (unsetBitRange): New function.
  14816. * src/FtpNegotiateCommand.cc
  14817. (executeInternal): Set maxDownloadSpeedLimit,
  14818. startupIdleTime, lowestDownloadSpeedLimit to command.
  14819. (recvSize): Added method "HEAD" handling.
  14820. Removed the call to e->segmentMan->shouldCancelDownloadForSafety().
  14821. * src/AbstractSingleDiskAdaptor.cc
  14822. (sha1Sum): Renamed as messageDigest.
  14823. (messageDigest): New function.
  14824. * src/AbstractSingleDiskAdaptor.h
  14825. (sha1Sum): Renamed as messageDigest.
  14826. (messageDigest): New function.
  14827. * src/Util.h
  14828. (indexRange): New function.
  14829. * src/MetalinkEntry.cc
  14830. (MetalinkEntry): Initialized chunkChecksum to 0.
  14831. * src/ShaVisitor.cc
  14832. (~ShaVisitor): Removed the call to ctx.digestFree().
  14833. * src/SegmentMan.cc
  14834. (ChunkChecksumValidator.h): New include.
  14835. (SegmentMan): Initialized chunkHashLength to 0. Initialized digestAlgo
  14836. to DIGEST_ALGO_SHA1.
  14837. (~SegmentMan): Removed diskWriter.
  14838. (FindSegmentEntryByIndex): Removed.
  14839. (FindSegmentEntryByCuid): Removed.
  14840. (checkoutSegment): Rewritten.
  14841. (findSlowerSegmentEntry): Rewritten.
  14842. (getSegment): Rewritten.
  14843. (updateSegment): Rewritten.
  14844. (completeSegment): Rewritten.
  14845. (markAllPiecesDone): New function.
  14846. (checkIntegrity): New function.
  14847. (isChunkChecksumValidationReady): New function.
  14848. (tryChunkChecksumValidation): New function.
  14849. * src/Xml2MetalinkProcessor.cc
  14850. (getEntry): Get size and set it to entry.
  14851. Get chunk checksum and set it to entry.
  14852. (getPieceHash): New function.
  14853. * src/Util.cc
  14854. (sha1Sum): Removed ctx.digestFree()
  14855. (fileChecksum): Removed ctx.digestFree()
  14856. (indexRange): New function.
  14857. * src/Request.cc
  14858. (METHOD_GET): New variable.
  14859. (METHOD_HEAD): New variable.
  14860. (Request): Added method.
  14861. * src/UrlRequestInfo.cc
  14862. (FatalException.h): New include.
  14863. (message.h): New include.
  14864. (operator<<): Added operator<< for class HeadResult.
  14865. (getHeadResult): New function.
  14866. (execute): Get filename and size in separate download engine.
  14867. * src/ChunkChecksumValidator.cc: New class.
  14868. * src/DownloadCommand.cc:
  14869. (DownloadCommand): Added peerStat.
  14870. (executeInternal): Use maxDownloadSpeedLimit member instead of getting
  14871. the value from Option.
  14872. The buffer size is now 16KB.
  14873. Use peerStat member instead of getting it from SegmentMan.
  14874. Use startupIdleTime member instead of gettingit from Option.
  14875. Added chunk checksum validation.
  14876. * src/AbstractDiskWriter.cc
  14877. (AbstractDiskWriter): Removed ctx.
  14878. (~AbstractDiskWriter): Removed ctx.digestFree()
  14879. (writeDataInternal): Returns the return value of write.
  14880. (readDataInternal): Returns the return value of read.
  14881. (sha1Sum): Renamed as messageDigest
  14882. (messageDigest): New function.
  14883. * src/AbstractDiwkWriter.h
  14884. (messageDigest.h): Removed include.
  14885. (ctx): Removed.
  14886. (sha1Sum): Renamed as messageDigest
  14887. (messageDigest): New function.
  14888. * src/DefaultPieceStorage.h
  14889. (markAllPiecesDone): New function.
  14890. (checkIntegrity): New function.
  14891. * src/NullFileAllocationMonitor.h: New class.
  14892. * src/MetalinkChunkChecksum.h: New class.
  14893. 2007-01-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14894. To decrease CPU usage in bittorrent download, calculation results in
  14895. BitfieldMan were cached and realtime fetching PeerObject was removed
  14896. with WeakHandle introduced. Option values are set to the objects
  14897. by setter before download begins.
  14898. * src/DefaultBtRequestFactory.cc: Use messageFactory member.
  14899. * src/DefaultBtRequestFactory.h
  14900. (dispatcher): BtMessageDispatcherHandle ->
  14901. BtMessageDispatcherWeakHandle.
  14902. (messageFactory): New variable.
  14903. (setBtMessageDispatcher): BtMessageDispatcherHandle ->
  14904. BtMessageDispatcherWeakHandle.
  14905. (setBtMessageFactory): New function.
  14906. * src/DefaultBtMessageDispatcher.cc:
  14907. (sendMessages): Use maxUploadSpeedLimit instead of fetching the value
  14908. from Option.
  14909. (checkRequestSlotAndDoNecessaryThing): Use requestTimeout instead of
  14910. feating the value from Option.
  14911. Use messageFactory member.
  14912. * src/PeerInteractionCommand.cc
  14913. (PeerInteractionCommand): Added maxDownloadSpeedLimit.
  14914. Add reverse dependencies to factory object.
  14915. Set maxUploadSpeedLimit and requestTimeout and messageFactory to
  14916. dispatcher.
  14917. Set messageFactory to receiver.
  14918. Set keepAliveInterval and maxDownloadSpeedLimit and messageFactory to
  14919. btInteractive.
  14920. Set receiver to peerObject.
  14921. Set maxDownloadSpeedLimit to this.
  14922. (executeInternal): Use maxDownloadSpeedLimit member.
  14923. * src/BtChokeMessage.cc
  14924. (doReceivedAction): Use dispatcher, requestFactory member.
  14925. (onSendComplete): Use dispatcher member.
  14926. * src/PeerInteractionCommand.h
  14927. (maxDownloadSpeedLimit): New variable.
  14928. * src/DefaultBtMessageReceiver.h
  14929. (peerConnection): PeerConnectionHandle -> PeerConnectionWeakHandle
  14930. (dispatcher):
  14931. BtMessageDispatcherHandle -> BtMessageDispatcherWeakHandle
  14932. (messageFactory): New variable.
  14933. (setPeerConnection): PeerConnectionHandle -> PeerConnectionWeakHandle
  14934. (getPeerConnection): PeerConnectionHandle -> PeerConnectionWeakHandle
  14935. (setDispatcher):
  14936. BtMessageDispatcherHandle -> BtMessageDispatcherWeakHandle
  14937. (setBtMessageFactory): New function.
  14938. * src/DefaultBtInteractive.cc
  14939. (initiateHandshake): Use messageFactory member.
  14940. (addBitfieldMessageToQueue): Use messageFactory member.
  14941. (addAllowedFastMessageToQueue): Use messageFactory member.
  14942. (decideChoking): Use messageFactory member.
  14943. (checkHave): Use messageFactory member.
  14944. (sendKeepAlive): Use keepAliveInterval, messageFactory member.
  14945. (receiveMessages): Use maxDownloadSpeedLimit member.
  14946. (decideInterest): Use messageFactory member.
  14947. * src/BtRequestMessage.cc
  14948. (doReceivedAction): Use messageFactory, dispatcher member.
  14949. (onQueued): Use dispatcher member.
  14950. * src/BtPieceMessage.cc
  14951. (doReceivedAction): Use dispatcher member.
  14952. (send): Use peerConnection member.
  14953. (onWrongPiece): Use requestFactory member.
  14954. (handleChokingEvent): Use messageFactory, dispatcher member.
  14955. (handleCancelSendingPieceEvent): Use messageFactory, dispatcher member.
  14956. * src/BtMessageDispatcher.h
  14957. (BtMessageDispatcherWeakHandle): New type definition.
  14958. * src/SimpleBtMessage.cc
  14959. (send): Use peerConnection member.
  14960. * src/BtRejectMessage.cc
  14961. (doReceivedAction): Use dispatcher member.
  14962. * src/DefaultBtMessageDispatcher.h
  14963. (Option.h): Removed include.
  14964. (messageFactory): New variable.
  14965. (option): Removed.
  14966. (maxUploadSpeedLimit): New variable.
  14967. (requestTimeout): New variable.
  14968. (DefaultBtMessageDispatcher): Removed option.
  14969. Added maxUploadSpeedLimit, requestTimeout.
  14970. (setOption): Removed.
  14971. (getOption): Removed.
  14972. (setMaxUploadSpeedLimit): New function.
  14973. (setRequestTimeout): New function.
  14974. (setBtMessageFactory): New function.
  14975. * src/DefaultBtInteractive.h
  14976. (btMessageReceiver):
  14977. BtMessageReceiverHandle -> BtMessageReceiverWeakHandle
  14978. (dispatcher):
  14979. BtMessageDispatcherHandle -> BtMessageReceiverWeakHandle
  14980. (btRequestFactory):
  14981. BtRequestFactoryHandle -> BtRequestFactoryWeakHandle
  14982. (peerConnection):
  14983. PeerConnectionHandle -> PeerConnectionWeakHandle
  14984. (messageFactory): New variable.
  14985. (option): Removed.
  14986. (keepAliveInterval): New variable.
  14987. (maxDownloadSpeedLimit): New variable.
  14988. (DefaultBtInteractive): Added keepAliveInterval, maxDownloadSpeedLimit.
  14989. (setBtMessageReceiver):
  14990. BtMessageReceiverHandle -> BtMessageReceiverWeakHandle
  14991. (setDispatcher):
  14992. BtMessageDispatcherHandle -> BtMessageReceiverWeakHandle
  14993. (setBtRequestFactory):
  14994. BtRequestFactoryHandle -> BtRequestFactoryWeakHandle
  14995. (setPeerConnection):
  14996. PeerConnectionHandle -> PeerConnectionWeakHandle
  14997. (setOption): Removed.
  14998. (setKeepAliveInterval): New function.
  14999. (setMaxDownloadSpeedLimit): New function.
  15000. (setBtMessageFactory): New function.
  15001. * src/BitfieldMan.h
  15002. (cachedNumMissingBlock): New variable.
  15003. (cachedNumFilteredBlock): New variable.
  15004. (cachedCompletedLength): New variable.
  15005. (cachedFilteredComletedLength): New variable.
  15006. (cachedFilteredTotalLength): New variable.
  15007. (countMissingBlockNow): New function.
  15008. (countFilteredBlockNow): New function.
  15009. (getFilteredTotalLengthNow): New function.
  15010. (getCompletedLengthNow): New function.
  15011. (getFilteredCompletedLengthNow): New function.
  15012. (updateCache): New function.
  15013. * src/AbstractBtMessage.h
  15014. (BtMessageDispatcher.h): New include.
  15015. (PeerConnection.h): New include.
  15016. (BtRequestFactory.h): New include
  15017. (BtMessageFactory.h): New include.
  15018. (dispatcher): New variable.
  15019. (messageFactory): New variable.
  15020. (peerConnection: New variable.
  15021. (setBtMessageDispatcher): New function.
  15022. (setPeerConnection): New function.
  15023. (setBtMessageFactory): New function.
  15024. (setBtRequestFactory): New function.
  15025. * src/DefaultBtMessageFactory.cc
  15026. (setCommonProperty): Set dispatcher, requestFactory, this,
  15027. peerConnection to msg.
  15028. * src/BtRegistry.h
  15029. (BT_MESSAGE_RECEIVER): New macro.
  15030. * src/PeerConnection.h
  15031. (PeerConnectionWeakHandle): New type definition.
  15032. * src/BtMessageFactory.h
  15033. (BtMessageFactoryWeakHandle): New type definition.
  15034. * src/BitfieldMan.cc
  15035. (BitfieldMan): Added cachedNumMissingBlock, cachedNumFilteredBlock,
  15036. cachedCompletedLength, cachedFilteredComletedLength,
  15037. cachedFilteredTotalLength.
  15038. Call updateCache().
  15039. (countMissingBlock): Return cachedNumMissingBlock.
  15040. (countMissingBlockNow): New function.
  15041. (countBlock): Return cachedNumFilteredBlock if filterEnabled is true.
  15042. (countFilteredBlockNow): New function.
  15043. (setBit): Call updateCache().
  15044. (unsetBit): Call updateCache().
  15045. (setBitfield): Call updateCache().
  15046. (clearAllBit): Call updateCache().
  15047. (setAllBit): Use setBitInternal instead of setBit.
  15048. Call updateCache().
  15049. (addFilter): Call updateCache().
  15050. (enableFilter): Call updateCache().
  15051. (disableFilter): Call updateCache().
  15052. (clearFilter): Call updateCache().
  15053. (getFilteredTotalLength): Return cachedFilteredTotalLength.
  15054. (getFilteredTotalLengthNow): New function.
  15055. (getCompletedLength): Return cachedCompletedLength.
  15056. (getCompletedLengthNow): New function.
  15057. (getFilteredCompletedLength): Return cachedFilteredComletedLength.
  15058. (getFilteredCompletedLengthNow): New function.
  15059. (updateCache): New function.
  15060. * src/BtMessageReceiver.h
  15061. (BtMessageReceiverWeakHandle): New type definition.
  15062. * src/DefaultBtMessageReceiver.cc
  15063. (receiveHandshake): Use messageFactory member.
  15064. (sendHandshake): Use messageFactory member.
  15065. (receiveMessage): Use messageFactory member.
  15066. * src/DefaultBtMessageFactory.h
  15067. (dispatcher): New variable.
  15068. (requestFactory): New variable.
  15069. (peerConnection): New variablle.
  15070. (setBtMessageDispatcher): New function.
  15071. (setBtRequestFactory): New function.
  15072. (setPeerConnection): New function.
  15073. * src/SharedHandle.h
  15074. (RefCount): New class.
  15075. (WeakHandle): New class.
  15076. * src/PeerObject.h
  15077. (BtMessageReceiver.h): New include.
  15078. (PeerObject): Added btMessageReceiver.
  15079. (btMessageReceiver): New variable.
  15080. * src/Util.cc
  15081. (countBit): Simplified.
  15082. * src/BtCancelMessage.cc
  15083. (doReceivedAction): Use dispatcher member.
  15084. * src/BtRequestFactory.h
  15085. (BtRequestFactoryWeakHandle): New type definition.
  15086. * src/PeerStorage.h
  15087. (downloadSpeed): int -> uint32_t
  15088. (uploadSpeed): int -> uint32_t
  15089. (sessionDownloadLength): long long int -> uint64_t
  15090. (sessionUploadLength): long long int -> uint64_t
  15091. 2007-01-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15092. To add RecoverableException, FatalException:
  15093. * src/AbstractCommand.cc
  15094. (onAbort): Exception -> RecoverableException
  15095. * src/PeerAbstractCommand.h
  15096. (RecoverableException.h): New include.
  15097. (onAbort): Exception -> RecoverableException.
  15098. * src/PeerInteractionCommand.cc
  15099. (onAbort): Exception -> RecoverableException.
  15100. * src/PeerAbstractCommand.cc
  15101. (execute): Exception -> RecoverableException.
  15102. (onAbort): Exception -> RecoverableException.
  15103. * src/TorrentRequestInfo.cc
  15104. (execute): Exception -> RecoverableException.
  15105. * src/MetalinkRequestInfo.cc
  15106. (execute): Exception -> RecoverableException.
  15107. * src/MetaFileUtil.cc: RecoverableException.
  15108. * src/AbstractCommand.h
  15109. (onAbort): Exception -> RecoverableException.
  15110. * src/DlRetryEx.h: Exception -> RecoverableException.
  15111. * src/DlAbortEx.h: Exception -> RecoverableException.
  15112. * src/PeerListenCommand.cc: Exception -> RecoverableException.
  15113. * src/Util.cc: Exception -> RecoverableException.
  15114. * src/DefauldDiskWriter.cc: Exception -> RecoverableException.
  15115. * src/TrackerUpdateCommand.cc: Exception -> RecoverableException.
  15116. * src/UrlRequestInfo.cc: Exception -> RecoverableException.
  15117. To make ID static const int
  15118. * src/BtInterestedMessage.h
  15119. (ID_t): Removed.
  15120. (ID): New variable.
  15121. (getId): Made non-const.
  15122. * src/BtPieceMessage.h
  15123. (ID_t): Removed.
  15124. (ID): New variable.
  15125. (getId): Made non-const.
  15126. * src/BtChokeMessage.h
  15127. (ID_t): Removed.
  15128. (ID): New variable.
  15129. (getId): Made non-const.
  15130. * src/BtHaveAllMessage.h
  15131. (ID_t): Removed.
  15132. (ID): New variable.
  15133. (getId): Made non-const.
  15134. * src/BtKeepAliveMessage.h
  15135. (ID_t): Removed.
  15136. (ID): New variable.
  15137. (getId): Made non-const.
  15138. * src/BtHandshakeMessage.h
  15139. (ID): New variable.
  15140. (getId): Made non-const.
  15141. * src/BtSuggestPieceMessage.h
  15142. (ID_t): Removed.
  15143. (ID): New variable.
  15144. (getId): Made non-const.
  15145. * src/BtPortMessage.h
  15146. (ID_t): Removed.
  15147. (ID): New variable.
  15148. (getId): Made non-const.
  15149. * src/AbstractBtMessage.h
  15150. (id): Removed.
  15151. (AbstractBtMessage): Removed id.
  15152. (getId): Removed.
  15153. * src/BtHaveMessage.h
  15154. (ID_t): Removed.
  15155. (ID): New variable.
  15156. (getId): Made non-const.
  15157. * src/BtAllowedFastMessage.h
  15158. (ID_t): Removed.
  15159. (ID): New variable.
  15160. (getId): Made non-const.
  15161. * src/BtCancelMessage.h
  15162. (ID_t): Removed.
  15163. (ID): New variable.
  15164. (getId): Made non-const.
  15165. * src/BtNotInterestedMessage.h
  15166. (ID_t): Removed.
  15167. (ID): New variable.
  15168. (getId): Made non-const.
  15169. * src/BtChokeMessage.h
  15170. (ID_t): Removed.
  15171. (ID): New variable.
  15172. (getId): Made non-const.
  15173. * src/BtRejectMessage.h
  15174. (ID_t): Removed.
  15175. (ID): New variable.
  15176. (getId): Made non-const.
  15177. * src/BtBitfieldMessage.h
  15178. (ID_t): Removed.
  15179. (ID): New variable.
  15180. (getId): Made non-const.
  15181. * src/BtUnchokeMessage.h
  15182. (ID_t): Removed.
  15183. (ID): New variable.
  15184. (getId): Made non-const.
  15185. * src/BtRequestMessage.h
  15186. (ID_t): Removed.
  15187. (ID): New variable.
  15188. (getId): Made non-const.
  15189. * src/BtHaveMessage.h
  15190. (ID_t): Removed.
  15191. (ID): New variable.
  15192. (getId): Made non-const.
  15193. To add --force-truncate command-line option and a check whether
  15194. the file already exists:
  15195. * src/DirectDiskAdaptor.h
  15196. (getFilePath): Made virtual public.
  15197. * src/MultiDiskAdaptor.h
  15198. (File.h): New include.
  15199. (DiskWriterEntry::fileEntry): Made private.
  15200. (DiskWriterEntry::fileExists): New function.
  15201. (DiskWriterEntry::getFileEntry): New function.
  15202. (fileExists): New function.
  15203. (getFilePath): New function.
  15204. * src/TorrentRequestInfo.cc
  15205. (FatalException.h): New include.
  15206. (message.h): New include.
  15207. (RecoverableException.h): New include.
  15208. (execute): Added a check whether file is already exists or not.
  15209. * src/DiskAdaptor.h
  15210. (fileExists): New function.
  15211. (getFilePath): New function.
  15212. * src/main.cc
  15213. (showUsage): Added an explanation of --force-truncate command-line
  15214. option.
  15215. (main): Added --force-truncate command-line option.
  15216. * src/Exception.h
  15217. (setMsg): buf[256] -> buf[1024]
  15218. * src/CopyDiskWriter.h
  15219. (getFilePath): Made public virtual.
  15220. * src/MultiDiskAdaptor.cc: fileEntry -> getFileEntry()
  15221. (fileExists): New function.
  15222. * src/DownloadEngineFactory.cc
  15223. (newTorrentConsoleEngine): Don't open file here.
  15224. * src/message.h
  15225. (EX_FILE_ALREADY_EXISTS): New definition.
  15226. * src/prefs.h
  15227. (PREF_FOECE_TRUNCATE): New definition.
  15228. * src/HttpResponseCommand.cc
  15229. (handleDefaultEncoding): Added a check whether the file already exists.
  15230. * src/SegmentMan.h
  15231. (fileExists): New function.
  15232. (shouldCancelDownloadForSafety): New function.
  15233. * src/FtpNegotiateCommand.cc
  15234. (recvSize): Added a check whether the file already exists.
  15235. * src/AbstractSingleDiskAdaptor.cc
  15236. (File.h): New include.
  15237. (fileExists): New function.
  15238. * src/AbstractSingleDiskAdaptor.h
  15239. (getFilePath): Removed.
  15240. (fileExists): New function.
  15241. * src/SegmentMan.cc
  15242. (fileExists): New function.
  15243. (shouldCancelDownloadForSafety): New function.
  15244. To fix regression bug in torrent downloading:
  15245. * src/DefaultBtRequestFactory.cc
  15246. (doChokedAction): New function.
  15247. * src/DefaultBtRequestFactory.h
  15248. (doChokedAction): New function.
  15249. * src/DefaultBtMessageDispatcher.cc
  15250. (doChokedAction): Do not delete request if its target is in allowed
  15251. fast set.
  15252. * src/DefaultBtInteractive.cc
  15253. (doPostHandshakeProcessing): Added a call to sendPendingMessage().
  15254. (sendKeepAlive): Send keep alive message even if the outgoing message
  15255. queue is not empty.
  15256. (decideInterest): Simplified the code.
  15257. (fillPiece): Remove a call to dispatcher->doChokedAction() because
  15258. it is already called when BtChokeMessage is received from a peer.
  15259. * src/BtRequestFactory.h
  15260. (doChokedAction): New function.
  15261. To clean up code:
  15262. * src/PeerInteractionCommand.h
  15263. (executeInternal): Added virtual keyword explicitly.
  15264. (prepareForRetry): Added virtual keyword explicitly.
  15265. (prepareForNextPeer): Added virtual keyword explicitly.
  15266. (onAbort): Added virtual keyword explicitly.
  15267. * src/RequestSlot.cc
  15268. (isTimeout): Use Time::elapsed() instead of differenceInMillis().
  15269. * src/BtPieceMessage.cc
  15270. (doReceivedAction): Added a debug log of piece's bitfield.
  15271. * src/Piece.h
  15272. (getBitfieldLength): New function.
  15273. * src/ByteArrayDiskWriter.cc
  15274. (clear): Added buf = 0 to avoid double free corruption.
  15275. * src/FileAllocator.cc
  15276. (allocate): Fixed an assignment of fileAllocationMonitor->currentValue.
  15277. Added cp.reset().
  15278. * src/BitfieldMan.h
  15279. (operator=): Rewritten.
  15280. * src/BitfieldMan.cc
  15281. (BitfieldMan): Initialized bitfield, useBitfield.
  15282. * src/PeerConnection.cc
  15283. (receiveMessage): Added a call to socket->readable() after getting
  15284. message length to avoid possible EOF.
  15285. * src/Util.cc
  15286. (torrentUrlencode): Fixed an encodeing bug. BUG#1629912
  15287. 2007-01-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15288. To add an ability to pre-allocate file space:
  15289. * src/DirectDiskAdaptor.h: Rewritten.
  15290. * src/PieceStorage.h: DiskAdaptor -> DiskAdaptorHandle
  15291. * src/MultiDiskAdaptor.h: Rewritten.
  15292. * src/DefaultPieceStorage.cc
  15293. (MultiDiskWriter.h): Removed include.
  15294. (PreAllocationDiskWriter.h): Removed include.
  15295. (FileAllocationMonitor.h): New include.
  15296. (~DefaultPieceStorage): Removed deletion of diskAdaptor.
  15297. (initStorage): Rewritten.
  15298. (getDiskAdaptor): DiskAdaptor -> DiskAdaptorHandle
  15299. * src/FileAllocator.h: New class.
  15300. * src/FileAllocator.cc: New class.
  15301. * src/FileAllocationMonitor.h: New class.
  15302. * src/FileAllocationMonitor.cc: New class.
  15303. * src/ConsoleFileAllocationMonitor.h: New class.
  15304. * src/ConsoleFileAllocationMonitor.cc: New class.
  15305. * src/AbstractSingleDiskAdaptor.h: New class.
  15306. * src/AbstractSingleDiskAdaptor.cc: New class.
  15307. * src/DiskAdaptor.h
  15308. (Directory.h): Removed include.
  15309. (DiskWriter.h): Removed include.
  15310. (FileEntry.h): Removed include.
  15311. (diskWriter): Removed.
  15312. (DiskAdaptor): Removed diskWriter.
  15313. (openFile): Made pure virtual.
  15314. (closeFile): Made pure virtual.
  15315. (openExistingFile): Made pure virtual.
  15316. (initAndOpenFile): Made pure virtual.
  15317. (writeData): Made pure virtual.
  15318. (readData): Made pure virtual.
  15319. (sha1Sum): Made pure virtual.
  15320. (getStoreDir): Returns const reference of storeDir.
  15321. (DiskAdaptorHandle): New type definition.
  15322. * src/main.cc
  15323. (ConsoleFileAllocationMonitor.h): New include.
  15324. (showUsage): Added default value description of -s option.
  15325. Added the description of --file-allocation option.
  15326. (main): Set default value of --file-allocation option to 'none'.
  15327. Added --file-allocation command-line option.
  15328. Setup FileAllocationMonitorFactory.
  15329. * src/FtpInitiateConnectionCommand.cc
  15330. (executeInternal): Removed diskWriter related processing, which was
  15331. moved to FtpNegotiationCommand.cc.
  15332. * src/DirectDiskAdaptor.cc
  15333. (getFilePath): Made non-const.
  15334. * src/CopyDiskAdaptor.h
  15335. (DiskAdaptor.h): Removed include.
  15336. (DiskWriter.h): Removed include.
  15337. (AbstractSingleDiskAdaptor.h): New include.
  15338. (getFilePath): Made non-const. Added virtual keyword.
  15339. (CopyDiskAdaptor): Removed diskWriter.
  15340. (getTempFile): Returns const reference.
  15341. (CopyDiskAdaptorHandle): New type definition.
  15342. * src/ByteArrayDiskWriter.cc
  15343. (clear): Simplified.
  15344. (initAndOpenFile): Rewritten.
  15345. (openFile): Call initAndOpenFile()
  15346. * src/MultiDiskAdaptor.cc: Rewritten.
  15347. * src/DownloadEngineFactory.cc
  15348. (FileAllocator.h): New include.
  15349. (FileAllocationMonitor.h): New include.
  15350. (newConsoleEngine): Call DefaultDiskWriter::createNewDiskWriter() to
  15351. create DefaultDiskWriter with file allocator.
  15352. * src/DiskWriter.h
  15353. (initAndOpenFile): Added totalLength argument.
  15354. (openFile): Added totalLength argument.
  15355. * src/prefs.h
  15356. (PREF_FILE_ALLOCATION): New definition.
  15357. (V_PREALLOC): New definition.
  15358. (V_NONE): New definition.
  15359. * src/HttpResponseCommand.cc
  15360. (handleDefaultEncoding): Call DefaultDiskWriter::initAndOpenFile with
  15361. size.
  15362. * src/FtpNegotiateCommand.cc
  15363. (Util.h): New include.
  15364. (recvSize): Open file here.
  15365. * src/Util.h
  15366. (ullitos): New function.
  15367. * src/CopyDiskWriter.h
  15368. (getFilePath): Made non-const.
  15369. * src/DefaultDiskWriter.h
  15370. (Option.h): New include.
  15371. (totalLength): Removed.
  15372. (DefaultDiskWriter): Removed totalLength.
  15373. (initAndOpenFile): Added totalLength argument.
  15374. (DefaultDiskWriterHandle): New type definition.
  15375. (createNewDiskWriter): New function.
  15376. * src/Util.cc
  15377. (ullitos): New function.
  15378. * src/DefaultDiskWriter.cc
  15379. (message.h): New include.
  15380. (FileAllocator.h): New include.
  15381. (prefs.h): New include.
  15382. (Util.h): New include.
  15383. (DefaultDiskWriter): Removed totalLength.
  15384. (initAndOpenFile): Added file allocation.
  15385. (createNewDiskWriter): New function. Just for temporary solution.
  15386. It will be rewritten later.
  15387. * src/DiskAdaptor.cc
  15388. (DiskAdaptor): Removed diskWriter.
  15389. * src/AbstractDiskWriter.cc
  15390. (LogFactory.h): New include.
  15391. (AbstractDiskWriter): Added fileAllocator, logger.
  15392. (openFile): Added totalLength argument.
  15393. * src/AbstractDiskWriter.h
  15394. (FileAllocator.h): New include.
  15395. (Logger.h): New include.
  15396. (fileAllocator): New variable.
  15397. (logger): New variable.
  15398. (openFile): Added totalLength argument. Added virtual keyword
  15399. explicitly.
  15400. (openExistingFile): Added totalLength argument. Added virtual keyword
  15401. explicitly.
  15402. (closeFile): Added virtual keyword explicitly.
  15403. (sha1Sum): Added virtual keyword explicitly.
  15404. (writeData): Added virtual keyword explicitly.
  15405. (readData): Added virtual keyword explicitly.
  15406. (setFileAllocator): New function.
  15407. * src/DefaultPieceStorage.h
  15408. (FileAllocator.h): New include.
  15409. (diskAdaptor): DiskAdaptor -> DiskAdaptorHandle
  15410. (getDiskAdaptor): DiskAdaptor -> DiskAdaptorHandle
  15411. * src/FileProgressMonitor.h: New class.
  15412. To compile aria2 on PC-BSD:
  15413. * src/DefaultBtContext.cc
  15414. (libgen.h): New include.
  15415. To fix memory leak:
  15416. * src/Exception.h
  15417. (~Exception): Delete cause. Fixed memory leak.
  15418. 2006-12-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15419. Rewritten a portion of bittorrent implementation:
  15420. * src/BtMessageValidator.h: New class.
  15421. * src/BtBitfieldMessageValidator.h: New class.
  15422. * src/BtHandshakeMessageValidator.h: New class.
  15423. * src/BtRequestMessageValidator.h: New class.
  15424. * src/BtSuggestPieceMessageValidator.h: New class.
  15425. * src/BtAllowedFastMessageValidator.h: New class.
  15426. * src/BtRejectMessageValidator.h: New class.
  15427. * src/BtCancelMessageValidator.h: New class.
  15428. * src/BtPieceMessageValidator.h: New class.
  15429. * src/BtHaveMessageValidator.h: New class.
  15430. * src/BtEventListener.h: New class.
  15431. * src/AbstractBtEventListener.h: New class.
  15432. * src/BtEvent.h: New class.
  15433. * src/BtChokingEvent.h: New class.
  15434. * src/BtChokedEvent.h: New class.
  15435. * src/BtCancelSendingPieceEvent.h: New class.
  15436. * src/BtAbortOutstandingRequestEvent.h: New class.
  15437. * src/Randomizer.h: New class.
  15438. * src/SimpleRandomizer.h: New class.
  15439. * src/BtMessage.h: New class.
  15440. * src/AbstractBtMessage.h: New class.
  15441. * src/SimpleBtMessage.h: New class.
  15442. * src/BtHaveMessage.h: New class.
  15443. * src/BtInterestedMessage.h: New class.
  15444. * src/BtAllowedFastMessage.h: New class.
  15445. * src/BtUnchokeMessage.h: New class.
  15446. * src/BtCancelMessage.h: New class.
  15447. * src/BtNotInterestedMessage.h: New class.
  15448. * src/BtChokeMessage.h: New class.
  15449. * src/BtHaveNoneMessage.h: New class.
  15450. * src/BtHandshakeMessage.h: New class.
  15451. * src/BtSuggestPieceMessage.h: New class.
  15452. * src/BtHaveMessage.h: New class.
  15453. * src/BtPieceMessage.h: New class.
  15454. * src/BtHaveAllMessage.h: New class.
  15455. * src/BtKeepAliveMessage.h: New class.
  15456. * src/BtPortMessage.h: New class.
  15457. * src/BtRejectMessage.h: New class.
  15458. * src/BtBitfieldMessage.h: New class.
  15459. * src/BtRequestMessage.h: New class.
  15460. * src/DefaultBtRequestFactory.h: New class.
  15461. * src/DefaultBtMessageReceiver.h: New class.
  15462. * src/BtInteractive.h: New class.
  15463. * src/BtMessageDispatcher.h: New class.
  15464. * src/DefaultBtMessageDispatcher.h: New class.
  15465. * src/DefaultBtInteractive.h: New class.
  15466. * src/BitfieldManFactory.h: New class.
  15467. * src/HandleRegistry.h: New class.
  15468. * src/BtMessageFactory.h: New class.
  15469. * src/BtMessageReceiver.h: New class.
  15470. * src/DefaultBtMessageFactory.h: New class.
  15471. * src/PeerObject.h: New class.
  15472. * src/BtRequestFactory.h: New class.
  15473. * src/SuggestPieceMessage.h: Removed.
  15474. * src/PortMessage.h: Removed.
  15475. * src/SuggestPieceMessage.h: Removed.
  15476. * src/KeepAliveMessage.h: Removed.
  15477. * src/HandshakeMessage.h: Removed.
  15478. * src/PeerInteraction.h: Removed.
  15479. * src/UnchokeMessage.h: Removed.
  15480. * src/PieceMessage.h: Removed.
  15481. * src/RequestMessage.h: Removed.
  15482. * src/InterestedMessage.h: Removed.
  15483. * src/HaveMessage.h: Removed.
  15484. * src/CancelMessage.h: Removed.
  15485. * src/RejectMessage.h: Removed.
  15486. * src/AllowedFastMessage.h: Removed.
  15487. * src/HaveNoneMessage.h: Removed.
  15488. * src/SimplePeerMessage.h: Removed.
  15489. * src/HaveAllMessage.h: Removed.
  15490. * src/BitfieldMessage.h: Removed.
  15491. * src/PeerMessageFactory.h: Removed.
  15492. * src/NotInterestedMessage.h: Removed.
  15493. * src/ChokeMessage.h: Removed.
  15494. * src/PeerMessage.h: Removed.
  15495. 2006-12-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15496. To know root cause of exception:
  15497. * src/Exception.h
  15498. (cause): New variable.
  15499. (Exception): Added a parameter.
  15500. (getMsg): Return const reference to msg.
  15501. (getCause): New function.
  15502. * src/DlRetryEx.h
  15503. (DlRetryEx): Added a parameter 'cause'.
  15504. Added an overloaded constructor.
  15505. (DlAbortEx): Added a parameter 'cause'.
  15506. Added an overloaded constructor.
  15507. * src/SimpleLogger.cc
  15508. (writeLog): Log nested exception messages recursively.
  15509. 2006-11-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15510. * src/DefaultBtProgressInfoFile.cc
  15511. (load): Fixed memory leak when the infohash doesn't match.
  15512. 2006-11-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15513. * src/DefaultPeerStorage.cc
  15514. (calculateStat): Simplified the code by combining 2 loops into 1.
  15515. 2006-11-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15516. Introduce new preference PREF_BT_TIMEOUT. This is the timeout value
  15517. for BitTorrent download:
  15518. * src/PeerAbstractCommand.cc
  15519. (PeerAbstractCommand): PREF_TIMEOUT -> PREF_BT_TIMEOUT
  15520. * src/main.cc:
  15521. (timeoutSpecified): Removed.
  15522. (main): Set the initial value of PREF_BT_TIMEOUT to 180.
  15523. Removed timeoutSpecified. TODO: Add --bt-timeout command line option.
  15524. * src/TorrentRequestInfo.cc
  15525. (timeoutSpecified): Removed.
  15526. (torrentHandler): Removed timeoutSpecified and the adjustment of
  15527. timeout value.
  15528. * src/prefs.h
  15529. (PREF_BT_TIMEOUT): New definition.
  15530. Delete unused variables:
  15531. * src/TorrentRequestInfo.cc
  15532. (requestInfo): Removed.
  15533. Move setSignalHander to Util::setGlobalSignalHandler:
  15534. * src/TorrentRequestInfo.cc:
  15535. setSignalHander -> Util::setGlobalSignalHandler
  15536. * src/main.cc
  15537. (setSignalHander): Removed.
  15538. (main): setSignalHander -> Util::setGlobalSignalHandler
  15539. * src/Util.h
  15540. (setGlobalSignalHandler): New function.
  15541. * src/Util.cc
  15542. (setGlobalSignalHandler): New function.
  15543. * src/UrlRequestInfo.cc:
  15544. setSignalHander -> Util::setGlobalSignalHandler
  15545. Reset peer status in order to exit gracefully:
  15546. * src/PeerAbstractCommand.cc
  15547. (execute): Call peer->resetStatus() when btRuntime->isHalt() is true.
  15548. To fix the bug that causes the number of bytes uploaded is not saved
  15549. to .aria2 file:
  15550. * src/DefaultPeerStorage.h
  15551. (removedPeerSessionDownloadLength): New variable.
  15552. (removedPeerSessionUploadLength): New variable.
  15553. * src/DefaultPeerStorage.cc
  15554. (DefaultPieceStorage): Added removedPeerSessionDownloadLength(0),
  15555. removedPeerSessionUploadLength(0).
  15556. (calculateStat): Calculate the number of bytes downloaded(uploaded)
  15557. through all peers, and then add removedPeerSessionDownloadLength(
  15558. removedPeerSessionUploadLength) to it.
  15559. (deleteUnusedPeer): Add the number of bytes downloaded(uploaded) from
  15560. (to) the peer to removedPeerSessionDownloadLength
  15561. (removedPeerSessionUploadLength).
  15562. 2006-11-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15563. To add Metalink location option:
  15564. * src/MetalinkRequestInfo.cc
  15565. (execute): Call MetalinkEntry::setLocationPreference()
  15566. * src/main.cc
  15567. (showUsage): Added the help message for --metalink-location option.
  15568. (main): Added --metalink-location option.
  15569. * src/prefs.h
  15570. (PREF_METALINK_LOCATION): New definition.
  15571. * src/MetalinkEntry.cc
  15572. (AddLocationPreference): New function object.
  15573. (setLocationPreference): New function.
  15574. * src/Xml2MetalinkProcessor.cc
  15575. (getResource): Set location attribute to MetalinkResource
  15576. To show URLs to download
  15577. * src/UrlRequestInfo.h
  15578. (printUrls): New function.
  15579. To add multiple <file> Metalink support:
  15580. * src/MetalinkEntry.h
  15581. (MetalinkResources): Removed.
  15582. (setLocationPreference): New function.
  15583. (MetalinkEntryHandle): New type definition.
  15584. (MetalinkEntries): New type definition.
  15585. * src/Xml2MetalinkProcessor.h
  15586. (getEntry): MetalinkEntry* -> MetalinkEntryHandle
  15587. (getResource): MetalinkResource* -> MetalinkResourceHandle
  15588. (parseFile): Metalinker* -> MetalinkerHandle
  15589. * src/UrlRequestInfo.h
  15590. (execute): RequestInfo* -> RequestInfos
  15591. * src/MetalinkRequestInfo.cc
  15592. (AccumulateNonP2PUrl): MetalinkResource* -> MetalinkResourceHandle
  15593. (FindBitTorrentUrl): MetalinkResource* -> MetalinkResourceHandle
  15594. (execute): RequestInfo* -> RequestInfos
  15595. Added multiple <file> support. Print filename when it is queued.
  15596. * src/MetalinkRequestInfo.h
  15597. (execute): RequestInfo* -> RequestInfos
  15598. (getDownloadEngine): Removed.
  15599. * src/RequestInfo.h
  15600. (RequestInfoHandle): New type definition.
  15601. (RequestInfos): New type definition.
  15602. (execute): RequestInfo* -> RequestInfos
  15603. (getDownloadEngine): Removed.
  15604. * src/MetalinkResource.h
  15605. (MetalinkResourceHandle): New type definition.
  15606. (MetalinkResources): New type definition.
  15607. * src/MetalinkEntry.cc
  15608. (~MetalinkEntry): Removed the deletion of the elements of resources,
  15609. because the element is now of type MetalinkResourceHandle.
  15610. (PrefOrder): MetalinkResource* -> MetalinkResourceHandle
  15611. (Supported): MetalinkResource* -> MetalinkResourceHandle
  15612. (dropUnsupportedResource): Removed the deletion of the elements of
  15613. resources because the element is now of type MetalinkResourceHandle.
  15614. * src/Xml2MetalinkProcessor.cc
  15615. (parseFile): Metalinker* -> MetalinkerHandle
  15616. MetalinkEntry* -> MetalinkEntryHandle
  15617. Removed try-catch block.
  15618. (getEntry): MetalinkEntry* -> MetalinkEntryHandle
  15619. MetalinkResource* -> MetalinkResourceHandle
  15620. Removed try-catch block.
  15621. (getResource): MetalinkResource* -> MetalinkResourceHandle
  15622. Free result by using xmlXPathFreeObject()
  15623. * src/Metalinker.cc
  15624. (~Metalinker): Removed the deletion of entries.
  15625. MetalinkEntry* -> MetalinkEntryHandle
  15626. (queryEntry): Add multiple <file> Metalink support.
  15627. * src/Metalinker.h
  15628. (MetalinkEntries): Removed.
  15629. (queryEntry): MetalinkEntry* -> MetalinkEntries
  15630. * src/MetalinkProcessor.h
  15631. (parseFile): Metalinker* -> MetalinkerHandle
  15632. Bug fixes:
  15633. * src/PeerChokeCommand.cc
  15634. (execute): cat01->cat02
  15635. * src/DefaultPieceStorage.cc
  15636. (DefaultPieceStorage): Added diskAdaptor(0)
  15637. * src/TrackerWatcherComand.cc:
  15638. (execute): Use btAnnounce->noMoreAnnounce()
  15639. to determin whether the function returns true or not.
  15640. * src/TrackerUpdateCommand.cc:
  15641. (execute): Use btAnnounce->noMoreAnnounce()
  15642. to determin whether the function returns true or not.
  15643. * src/FtpConnection.cc
  15644. (bulkReceiveResponse): Throw DlRetryEx if EOF got.
  15645. This is the fix of the busy loop bug.
  15646. * src/DownloadCommand.cc
  15647. (DownloadCommand): Reuse PeerStat. segmentMan->getPeerStat() returns
  15648. cached PeerStat.
  15649. The value of "name" entry in torrent file is now set by
  15650. *DiskAdaptor::setTopDir(...) methods.
  15651. * src/MultiDiskAdaptor.h
  15652. (topDir): New variable.
  15653. (setTopDir): New function.
  15654. (getTopDir): New function.
  15655. * src/MultiDiskAdaptor.cc
  15656. (getFilePath): Concat storDir, "/" and topDir.
  15657. (mkdir): Use getFilePath() to get the directory path for output.
  15658. * src/DefaultPieceStorage.cc
  15659. (initStorage): Set the value of "name" entry to MultiDiskAdaptor,
  15660. CopyDiskAdaptor.
  15661. * src/CopyDiskAdaptor.h
  15662. (topDir): New variable.
  15663. (setTopDir): New function.
  15664. (getTopDir): New function.
  15665. * src/CopyDiskAdaptor.cc
  15666. (fixFilename): Updated.
  15667. Misc
  15668. * src/UrlRequestInfo.h
  15669. (e): Removed.
  15670. (UrlRequestInfo): Removed e.
  15671. (getDownloadEngine): Removed.
  15672. * src/UrlRequestInfo.cc
  15673. (handler): Rewritten.
  15674. (printUrls): New function.
  15675. (execute): Call printUrls().
  15676. * src/HandshakeMessage.cc
  15677. (check): peerinteraction->getBtContext() -> btContext
  15678. * src/PeerInteraction.h
  15679. (getBtContext): Removed.
  15680. * src/TorrentRequestInfo.h
  15681. (execute): RequestInfo* -> RequestInfos
  15682. (getDownloadEngine): Removed.
  15683. * src/TorrentRequestInfo.cc
  15684. (haltRequested): Removed.
  15685. (btHaltRequested): New variable.
  15686. (torrentHandler): haltRequested -> btHaltRequested
  15687. (execute): RequestInfo* -> RequestInfos
  15688. * src/TorrentConsoleDownloadEngine.cc
  15689. (afterEachIteration): haltRequested -> btHaltRequested.
  15690. * src/ConsoleDownloadEngine.h
  15691. (initStatistics): Added virtual.
  15692. (calculateStatistics): Added virtual.
  15693. (onEndOfRun): Added virtual.
  15694. (afterEachIteration): Added virtual.
  15695. * src/ConsoleDownloadEngine.cc
  15696. (haltRequested): New variable.
  15697. (afterEachIteration): New function.
  15698. * src/main.cc
  15699. (requestInfo): Removed.
  15700. * src/SegmentMan.cc
  15701. (findSlowerSegmentEntry): Refactored.
  15702. * Release 0.9.0
  15703. 2006-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15704. To divide TorrentMan into 6 classes: BtContext, BtRuntime,
  15705. PeerStorage, PieceStorage, BtAnnounce and BtProgressInfoFile
  15706. * src/TorrentMan.h: Removed.
  15707. * src/TorrentMan.cc: Removed.
  15708. * src/TrackerWatcherComand.h: Made subclass of BtContextAwareCommand.
  15709. * src/SeedCheckCommand.cc: Use pieceStorage, btRuntime
  15710. * src/PeerAbstractCommand.h: Made subclass of BtContextAwareCommand.
  15711. * src/PeerAbstractCommand.cc: Use btRuntime.
  15712. * src/BtContextAwareCommand.h: New class.
  15713. * src/FileEntry.h: Added accessor methods for following variables.
  15714. (path): Made private.
  15715. (length): Made private.
  15716. (offset): Made private.
  15717. (extracted): Made private.
  15718. (requested): Made private.
  15719. (FileEntries): New definition.
  15720. (FileEntryHandle): New definition.
  15721. * src/FileEntry.cc: New file.
  15722. * src/HaveEraseCommand.h: Made subclass of BtContextAwareCommand.
  15723. * src/HaveEraseCommand.cc: Use btRuntime, pieceStorage.
  15724. * src/PeerChokeCommand.h: Made subclass of BtContextAwareCommand.
  15725. * src/PeerChokeCommand.cc: Use btRuntime, peerStorage, pieceStorage.
  15726. * src/PieceStorage.h: New file.
  15727. * src/PeerInteractionCommand.h: Use btContext.
  15728. * src/PeerInteractionCommand.cc: Use pieceStorage, peerStorage,
  15729. btRuntime.
  15730. * src/DefaultBtProgressInfoFile.h: New file.
  15731. * src/DefaultBtProgressInfoFile.cc: New file.
  15732. * src/File.cc
  15733. (Util.h): New include.
  15734. (mkdirs): New function.
  15735. * src/MultiDiskAdaptor.h
  15736. (mkdir): New function.
  15737. * src/PeerListProcessor.h
  15738. (Peers): Removed.
  15739. * src/PeerInteraction.h
  15740. (torrentMan): Removed.
  15741. (btContext): New variable.
  15742. (peerStorage): New variable.
  15743. (pieceStorage): New variable.
  15744. (btAnnounce): New variable.
  15745. (getTorrentMan): Removed.
  15746. (getBtContext): New function.
  15747. * src/PeerInteraction.cc: Use btContext, peerStorage, pieceStorage,
  15748. btAnnounce.
  15749. * src/HandshakeMessage.h
  15750. (TorrentMan.h): Removed.
  15751. * src/HandshakeMessage.cc: Use btContext.
  15752. * src/DefaultBtAnnounce.cc: New file.
  15753. * src/MultiDiskWriter.cc: Use the accessor methods of FileEntry.
  15754. * src/DefaultPieceStorage.cc: New file.
  15755. * src/DefaultBtContext.h: New file.
  15756. * src/TorrentRequestInfo.cc: Use btContext, pieceStorage.
  15757. Use the accessor methods of FileEntry.
  15758. * src/CookieBox.cc: Updated to use Util::slice().
  15759. * src/PieceMessage.cc: Use btContext, pieceStorage.
  15760. * src/common.h (SharedHandle.h): New include.
  15761. * src/PeerMessage.cc (PeerMessage): Added btContext, peerStorage,
  15762. pieceStorage.
  15763. * src/TorrentAutoSaveCommand.h: Made subclass of BtContextAwareCommand.
  15764. * src/DiskAdaptor.h
  15765. (topDir): Removed.
  15766. (getFileEntryFromPath): Changed the return type to FileEntryHandle.
  15767. (setTopDir): Removed.
  15768. (getTopDir): Removed.
  15769. * src/BtContext.h: New file.
  15770. * src/DefaultPeerStorage.h: New file.
  15771. * src/PieceMessage.h (TorrentMan.h): Removed.
  15772. * src/RequestMessage.h (TorrentMan.h): Removed.
  15773. * src/TorrentDownloadEngine.h
  15774. (uploadLength): New variable.
  15775. (btContext): New variable.
  15776. (btRuntime): New variable.
  15777. (pieceStorage): New variable.
  15778. (peerStorage): New variable.
  15779. (btAnnounce): New variable.
  15780. (btProgressInfoFile): New variable.
  15781. (torrentMan): Removed.
  15782. (setBtContext): New function.
  15783. * src/TorrentDownloadEngine.cc: Use BtContext, BtRuntime, pieceStorage,
  15784. peerStorage, btAnnounce, btProgressInfoFile.
  15785. * src/Piece.h
  15786. (toString): New function.
  15787. (Pieces): New type definition.
  15788. * src/Peer.h
  15789. (active): New variable.
  15790. (Peer): Added active.
  15791. (activate): Set active to true.
  15792. (deactivate): Set active to false.
  15793. (isActive): New function.
  15794. (Peers): New type definition.
  15795. * src/DirectDiskAdaptor.cc
  15796. (getFilePath): Use the accessor methods of FileEntry.
  15797. * src/TorrentConsoleDownloadEngine.h
  15798. (afterEachIteration): New function.
  15799. * src/TorrentConsoleDownloadEngine.cc
  15800. (haltRequested): New variable.
  15801. (sendStatistics): Use pieceStorage, btRuntime.
  15802. (afterEachIteration): New function.
  15803. * src/AnnounceList: AnnounceTier->AnnounceTierHandle.
  15804. * src/Directry.h
  15805. (Directory): New function.
  15806. (DirectoryHandle): New type definition.
  15807. * src/BtProgressInfoFile.h: New file.
  15808. * src/RequestMessage.cc: Use pieceStorage.
  15809. * src/BtRuntime.h: New file.
  15810. * src/DefaultBtContext.cc: New file.
  15811. * src/BitfieldMan.h
  15812. (getCompletedLength): New function(private).
  15813. (getCompletedLength): New function.
  15814. (getFilteredCompletedLength): New function.
  15815. * src/BitfieldMan.h
  15816. (getCompletedLength): New function(private).
  15817. (getCompletedLength): New function.
  15818. (getFilteredCompletedLength): New function.
  15819. * src/MultiDiskAdaptor.cc
  15820. (mkdir): New function.
  15821. (openFile): Call mkdir().
  15822. (initAndOpenFile): Call mkdir().
  15823. * src/CancelMessage.h
  15824. (TorrentMan.h): Removed.
  15825. * src/RejectMessage.h
  15826. (TorrentMan.h): Removed.
  15827. * src/DownloadEngineFactory.cc
  15828. (DefaultPieceStorage.h): New include.
  15829. (DefaultPeerStorage.h): New include.
  15830. (DefaultBtAnnounce.h): New include.
  15831. (DefaultBtProgressInfoFile.h): New include.
  15832. (newTorrentConsoleEngine): Rewritten.
  15833. * src/ShareRatioSeedCriteria.h
  15834. (torrentMan): Removed.
  15835. (btContext): New variable.
  15836. (peerStorage): New variable.
  15837. (btRuntime): New variable.
  15838. (evaluate): Use btContext, btRuntime, peerStorage.
  15839. * src/AnnounceTier.h: New file.
  15840. * src/BtAnnounce.h: New file.
  15841. * src/BtRegistry.h: New file.
  15842. * src/PeerInitiateConnectionCommand.h: Added btContext.
  15843. * src/PeerConnection.h (TorrentMan.h): Removed.
  15844. * src/PeerMessageFactory.cc: Use btContext, pieceStorage.
  15845. * src/Util.h
  15846. (slice): Added an argument.
  15847. * src/Util.cc
  15848. (slice): Added an argument to control whether trim is made or not.
  15849. * src/PeerStorage.h: New file.
  15850. * src/BtRegistry.cc: New file.
  15851. * src/TrackerUpdateCommand.h: Made subclass of BtContextAwareCommand.
  15852. * src/CopyDiskAdaptor.cc: Use the accessor methods of FileEntry.
  15853. * src/MultiDiskWriter.h: FileEntry -> FileEntryHandle
  15854. * src/PeerListenCommand.cc: Use btRuntime, peerStorage, btContext.
  15855. * src/TorrentRequestInfo.h
  15856. (e): Removed.
  15857. (showFileEntry): Added an argument.
  15858. (getDownloadEngine): Return 0.
  15859. * src/DefaultBtAnnounce.h: New file.
  15860. * src/TorrentAutoSaveCommand.cc: Use btRuntime, btProgressInfoFile.
  15861. * src/TrackerWatcherComand.cc: Use btRuntime, btAnnounce,
  15862. * src/PeerMessageFactory.h
  15863. (btContext): New variable.
  15864. (pieceStorage): New variable.
  15865. * src/TrackerUpdateCommand.cc: Use btRuntime, peerStorage, btContext,
  15866. btAnnounce.
  15867. * src/DiskAdaptor.cc
  15868. (DiskAdaptor): Removed topDir.
  15869. (~DiskAdaptor): Removed topDir.
  15870. * src/PeerListenCommand.h: Made subclass of BtContextAwareCommand.
  15871. * src/SeedCheckCommand.h: Made subclass of BtContextAwareCommand.
  15872. * src/File.h (mkdirs): New function.
  15873. * src/DefaultPeerStorage): New file.
  15874. * src/DownloadEngineFactory.h
  15875. (newTorrentConsoleEngine): Use btContext.
  15876. * src/BtContextAwareCommand.cc: New file.
  15877. * src/PeerInitiateConnectionCommand.cc: Use btRuntime, peerStorage.
  15878. * src/PeerMessage.h
  15879. (btContext): New variable.
  15880. (peerStorage): New variable.
  15881. (pieceStorage): New variable.
  15882. (setBtContext): New function.
  15883. * src/Directry.cc
  15884. (Directory): New function.
  15885. (createDir): Do nothing if name.size() == 0.
  15886. * src/AnnounceList.h
  15887. (AnnounceTier): Removed.
  15888. (AnnounceTiers): Removed.
  15889. * src/DefaultPieceStorage.h: New file.
  15890. * src/Piece.cc (toString): New function.
  15891. To fix typo:
  15892. * src/main.cc (showVersion): Fixed typo.
  15893. To fix compile warning:
  15894. * src/DelegatingPeerListProcessor.cc
  15895. (canHandle): Added "return false".
  15896. 2006-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15897. To simplify TrackerWatherCommand, TrackerUpdateCommand and
  15898. make the process of announce request testable.
  15899. * src/TrackerWatcherCommand.h
  15900. (TimeA2.h): Removed.
  15901. (interval): Removed.
  15902. (checkPoint): Removed.
  15903. (createRequestCommand): Added an argument 'url'.
  15904. (TrackerWatherCommand): Removed interval.
  15905. (createCommand): New function.
  15906. * src/DownloadEngineFactory.cc
  15907. (newTorrentConsoleEngine): Updated according to the changes in
  15908. TrackerWatherCommand.
  15909. * src/TorrentMan.cc
  15910. (DelegatingPeerListProcessor.h): New includes.
  15911. (TorrentMan): Added the initialization of announceInterval.
  15912. (isStoppedAnnounceReady): New function.
  15913. (isCompletedAnnounceReady): New function.
  15914. (isDefaultAnnounceReady): New function.
  15915. (isAnnounceReady): New function.
  15916. (getAnnounceUrl): New function.
  15917. (announceStart): New function.
  15918. (announceFailure): New function.
  15919. (announceSuccess): New function.
  15920. (isAllAnnounceFailed): New function.
  15921. (resetAnnounce): New function.
  15922. (processAnnounceResponse): New function.
  15923. (needMorePeerConnection): New function.
  15924. (noMoreAnnounce): New function.
  15925. * src/TrackerUpdateCommand.h
  15926. (getTrackerResponse): int->size_t
  15927. * src/TorrentMan.h
  15928. (isStoppedAnnounceReady): New function.
  15929. (isCompletedAnnounceReady): New function.
  15930. (isDefaultAnnounceReady): New function.
  15931. (announceInterval): New variable.
  15932. (isAnnounceReady): New function.
  15933. (getAnnounceUrl): New function.
  15934. (announceStart): New function.
  15935. (announceFailure): New function.
  15936. (announceSuccess): New function.
  15937. (isAllAnnounceFailed): New function.
  15938. (resetAnnounce): New function.
  15939. (processAnnounceResponse): New function.
  15940. (needMorePeerConnection): New function.
  15941. (noMoreAnnounce): New function.
  15942. * src/TrackerWatcherCommand.cc
  15943. (TrackerWatherCommand): Removed interval and checkPoint.
  15944. (execute): Rewritten.
  15945. (createCommand): New function.
  15946. (createRequestCommand): Rewritten.
  15947. * src/TrackerUpdateCommand.cc
  15948. (MetaFileUtil.h): Removed.
  15949. (DelegatingPeerListProcessor.h): Removed.
  15950. (getTrackerResponse): int->size_t. Use torrentMan's new functions.
  15951. 2006-10-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15952. Request -> RequestHandle:
  15953. * src/HttpResponseCommand.h: Request->RequestHandle
  15954. * src/AbstractCommand.cc: Request->RequestHandle
  15955. * src/HttpDownloadCommand.cc: Request->RequestHandle
  15956. * src/HttpRequestCommand.cc: Request->RequestHandle
  15957. * src/FtpInitiateConnectionCommand.h: Request->RequestHandle
  15958. * src/AbstractCommand.h: Request->RequestHandle
  15959. * src/HttpProxyRequestCommand.h: Request->RequestHandle
  15960. * src/HttpResponseCommand.cc: Request->RequestHandle
  15961. * src/HttpInitiateConnectionCommand.h: Request->RequestHandle
  15962. * src/FtpNegotiateCommand.cc: Request->RequestHandle
  15963. * src/FtpTunnelResponseCommand.h: Request->RequestHandle
  15964. * src/HttpConnection.h: Request->RequestHandle
  15965. * src/HttpProxyResponseCommand.cc: Request->RequestHandle
  15966. * src/InitiateConnectionCommandFactory.h: Request->RequestHandle
  15967. * src/FtpTunnelResponseCommand.cc: Request->RequestHandle
  15968. * src/DownloadCommand.h: Request->RequestHandle
  15969. * src/FtpDowndloadCommand.cc: Request->RequestHandle
  15970. * src/HttpInitiateConnectionCommand.cc: Request->RequestHandle
  15971. * src/HttpRequestCommand.h: Request->RequestHandle
  15972. * src/FtpNegotiateCommand.h: Request->RequestHandle
  15973. * src/FtpTunnelResponseCommand.cc: Request->RequestHandle
  15974. * src/FtpInitiateConnectionCommand.cc: Request->RequestHandle
  15975. * src/HttpDownloadCommand.h: Request->RequestHandle
  15976. * src/FtpConnection.cc: Request->RequestHandle
  15977. * src/InitiateConnectionCommandFactory.cc: Request->RequestHandle
  15978. * src/UrlRequestInfo.cc: Request->RequestHandle
  15979. * src/HttpProxyResponseCommand.h: Request->RequestHandle
  15980. * src/HttpConnection.h: Request->RequestHandle
  15981. * src/DownloadCommand.cc: Request->RequestHandle
  15982. * src/FtpConnection.h: Request->RequestHandle
  15983. * src/FtpDowndloadCommand.h: Request->RequestHandle
  15984. * src/HttpProxyRequestCommand.cc: Request->RequestHandle
  15985. * src/FtpTunnelRequestCommand.h: Request->RequestHandle
  15986. * src/Request.h
  15987. (SharedHandle.h): New include.
  15988. (RequestHandle): New type definition.
  15989. (Requests): Redefined.
  15990. To add MULTITRACKER support:
  15991. * src/TrackerWatcherCommand.h
  15992. (createRequestCommand): New function.
  15993. * src/DownloadEngineFactory.cc
  15994. (newTorrentConsoleEngine): Removed req.
  15995. * src/prefs.h
  15996. (PREF_TRACKER_MAX_TRIES): New definition.
  15997. * src/TorrentMan.cc
  15998. (TorrentMan): Removed req. Added trackerNumTry.
  15999. (~TorrentMan): Removed req.
  16000. (setupInternal1): Added announceList.
  16001. * src/TorrentRequestInfo.cc
  16002. (execute): Set PREF_MAX_TIRES to 1. The max number of tries for
  16003. announces is now specified by PREF_TRACKER_MAX_TRIES.
  16004. * src/main.cc
  16005. (main): Added PREF_TRACKER_MAX_TRIES.
  16006. * src/TorrentMan.h
  16007. (Request.h): Removed.
  16008. (AnnounceList.h): New include.
  16009. (trackerNumTry): New variable.
  16010. (req): Removed.
  16011. (announceList): New variable.
  16012. * src/TrackerWatcherCommand.cc
  16013. (execute): Rewritten.
  16014. (createRequestCommand): New function.
  16015. * src/TrackerUpdateCommand.cc
  16016. (execute): Updated with the use of AnnounceList.
  16017. * src/AnnounceList.cc: New class.
  16018. * src/AnnounceList.h: New class.
  16019. To fix typo:
  16020. * src/prefs.h
  16021. (PREF_MAX_TRIES): max_try->max_tries
  16022. To not to decode "+" as space in URL decode:
  16023. * src/Util.cc
  16024. (urldecode): Removed "+"->space decoding rule. Test case was updated.
  16025. 2006-10-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16026. To add timeout to async name resolution:
  16027. * src/AbstractCommand.h
  16028. (nameResolveFinished): New function. This is not elegant way. It needs
  16029. to be more refined.
  16030. (nameResolverCheck): New variable.
  16031. * src/AbstractCommand.cc
  16032. (AbstractCommand): Added nameResolverCheck.
  16033. (execute): Added the check whether the name resolution has finished.
  16034. (setNameResolverCheck): Set nameResolverCheck to true.
  16035. (disableNameResolverCheck): Set nameResolverCheck to false.
  16036. (nameResolverFinished): New function.
  16037. * src/FtpInitiateConnectionCommand.h
  16038. (nameResolverFinished): New function.
  16039. * src/FtpInitiateConnectionCommand.cc
  16040. (FtpInitiateConnectionCommand): Set timeout to PREF_DNS_TIMEOUT.
  16041. * src/HttpInitiateConnectionCommand.h
  16042. (nameResolverFinished): New function.
  16043. * src/HttpInitiateConnectionCommand.cc
  16044. (HttpInitiateConnectionCommand): Set timeout to PREF_DNS_TIMEOUT.
  16045. * src/prefs.h
  16046. (PREF_DNS_TIMEOUT): New definition.
  16047. * src/main.cc
  16048. (main): Added PREF_DNS_TIMEOUT.
  16049. To add the support for a non-compact response from a tracker:
  16050. * src/PeerListProcessor.h: New class.
  16051. * src/DefaultPeerListProcessor.h: New class.
  16052. * src/DefaultPeerListProcessor.cc: New class.
  16053. * src/CompactPeerListProcessor.h: New class.
  16054. * src/CompactPeerListProcessor.cc: New class.
  16055. * src/DelegatingPeerListProcessor.h: New class.
  16056. * src/DelegatingPeerListProcessor.cc: New class.
  16057. * src/TorrentMan.cc
  16058. (addPeer): New function(overload).
  16059. (addPeer): Delete unused peers only when new peer is added.
  16060. * src/TorrentMan.h
  16061. (PeerListProcessor.h): Included.
  16062. (Peers): Removed.
  16063. (addPeer): New function(overload).
  16064. * src/TrackerUpdateCommand.cc
  16065. (netinet/in.h): Removed.
  16066. (DelegatingPeerListProcessor.h): Included.
  16067. (execute): Updated to use DelegatingPeerListProcessor.
  16068. To fix the memory leak in TorrentMan::peers:
  16069. * src/PeerAbstractCommand.cc
  16070. (onAbort): Added peer->resetStatus().
  16071. * src/Peer.h
  16072. (resetStatus): Made public.
  16073. To improve the precision of the speed calculation:
  16074. * src/SpeedCalc.h
  16075. (nextInterval): New variable.
  16076. * src/SpeedCalc.cc
  16077. (reset): Added nextInterval.
  16078. (isIntervalOver): Use nextInterval instead of CHANGE_INTERVAL_SEC.
  16079. (changeSw): Set nextInterval to 15 seconds relative to the current
  16080. instant time.
  16081. * src/main.cc
  16082. (showVersion): Updated.
  16083. (showUsage): Updated.
  16084. * Release 0.8.1
  16085. 2006-09-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16086. * src/main.cc
  16087. (showUsage): Commented out --min-segment-size option.
  16088. (main): Commented out --min-segment-size option.
  16089. * Release 0.8.0
  16090. 2006-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16091. * src/*.{h,cc}:
  16092. Added an exception to the license which allows linking with OpenSSL.
  16093. 2006-09-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16094. * src/AbstractCommand.cc
  16095. (execute): Check whether the download has finished before checking
  16096. socket status.
  16097. Return true if peerStat->getStatus() == REQUEST_IDLE.
  16098. Do not exit even if no segment is available.
  16099. * src/prefs.h
  16100. (PREF_STARTUP_IDLE_TIME): New definition.
  16101. * src/PeerInteractionCommand.cc
  16102. (executeInternal): Removed max speed limit. Because it performs bad.
  16103. (receiveMessages): Added max speed limit. This was better than above,
  16104. but still a little bit to be desired. Sometimes the download speed
  16105. became much faster than I specified.
  16106. * src/SpeedCalc.h
  16107. (start): New variable.
  16108. (accumulatedLength): New variable.
  16109. (getAvgSpeed): New function.
  16110. * src/SpeedCalc.cc
  16111. (reset): Added start, accumulatedLength.
  16112. (update): Added calculation of an average speed.
  16113. (getAvgSpeed): New function.
  16114. * src/DownloadCommand.h
  16115. (sw): Removed.
  16116. * src/main.cc
  16117. (main): Added PREF_STARTUP_IDLE_TIME.
  16118. * src/PeerStat.h
  16119. (STATUS): Added REQUEST_IDLE.
  16120. (getMaxSpeed): Renamed as getMaxDownloadSpeed().
  16121. (getAvgDownloadSpeed): New function
  16122. (requestIdle): New function.
  16123. * src/SegmentMan.h
  16124. (SegmentEntryHandle): New type definition.
  16125. (SegmentEntries): Now holds SegmentEntryHandle.
  16126. (findSlowerSegmentEntry): New funtion.
  16127. * src/SegmentMan.cc
  16128. (save): Updated according to the changes in SegmentEntries.
  16129. (read): Updated according to the changes in SegmentEntries.
  16130. (FindSegmentEntryByIndex): Updated according to the changes in
  16131. SegmentEntries.
  16132. (FindSegmentEntryByCuid): Updated according to the changes in
  16133. SegmentEntries.
  16134. (checkoutSegment): Updated according to the changes in SegmentEntries.
  16135. (onNullBitfield): Updated according to the changes in SegmentEntries.
  16136. Renamed uitr as itr.
  16137. (findSlowerSegmentEntry): New function.
  16138. (getSegment): Updated according to the changes in SegmentEntries.
  16139. Added the feature that cancels the segment with slow server and fast
  16140. one takes it over.
  16141. (cancelSegment): Updated according to the changes in SegmentEntries.
  16142. (getDownloadLength): Updated according to the changes in
  16143. SegmentEntries.
  16144. (init): Assigned 0 to bitfield after deleting it.
  16145. * src/DownloadCommand.cc
  16146. (STARTUP_IDLE_TIME): Removed.
  16147. (executeInternal): Use PREF_STARTUP_IDLE_TIME.
  16148. * src/PeerChokeCommand.cc
  16149. (optUnchokingPeer): Updated according to the changes in Peer.
  16150. (ResetDelta): Removed.
  16151. (UploadFaster): Updated according to the changes in Peer.
  16152. (DownloadFaster): Updated according to the changes in Peer.
  16153. (execute): I clarify the meaning of "upload" and "download" here.
  16154. "upload" means the transfer from localhost to remote host.
  16155. "download" means the transfer from remote host to localhost.
  16156. Based on this rule, I swapped orderByUploadRate and
  16157. orderByDownloadRate.
  16158. * src/PeerInteractionCommand.cc
  16159. (PeerInteraction): Removed peerInteraction->setUploadLImit().
  16160. (executeInternal): Removed the argument of
  16161. peerInteraction->sendMessages().
  16162. (receiveMessages): Rewritten download speed limit.
  16163. (sendKeepAlive): Removed peerInteraction->sendMessages().
  16164. * src/HttpResponseCommand.cc
  16165. (handleDefaultEncoding): If file size is unknown in torrent request,
  16166. do not call segmentMan->initBitfield() here.
  16167. Disabled persistent connection feature in torrent request.
  16168. * src/UrlRequestInfo.h
  16169. (UrlRequestInfo): Removed const qualifier from option.
  16170. * src/TorrentMan.h
  16171. (TransferStat): New class.
  16172. (deltaDownloadLength): Removed.
  16173. (deltaUploadLength): Removed.
  16174. (addDeltaDownloadLength): Removed.
  16175. (getDeltaDownloadLength): Removed.
  16176. (resetDeltaDownloadLength): Removed.
  16177. (addDeltaUploadLength): Removed.
  16178. (getDeltaUploadLength): Removed.
  16179. (resetDeltaUploadLength): Removed.
  16180. (addActivePeer): Added peer->activate().
  16181. (deleteActivePeer): Added peer->deactivate().
  16182. (calculateStat): New function.
  16183. * src/TorrentMan.cc
  16184. (TorrentMan): Removed deltaDownloadLength and deltaUploadLength.
  16185. (calculateStat): New function.
  16186. * src/PeerInteraction.h
  16187. (uploadLimit): Removed.
  16188. (option): New variable.
  16189. (setUploadLimit): Removed.
  16190. (getUploadSpeed): Removed.
  16191. (sendMessages): Removed the argument "currentUploadSpeed".
  16192. * src/PeerInteraction.cc
  16193. (prefs.h): Included.
  16194. (PeerInteraction): Removed uploadLimit. Added option.
  16195. (sendMessages): Rewritten upload speed limit.
  16196. (sendHandshake): Removed the argument from sendMessages().
  16197. (sendBitfield): Removed the argument from sendMessages().
  16198. * src/PeerAbstractCommand.cc
  16199. (execute): Commented out the portion of upload limit.
  16200. (onAbort): Removed peer->resetStatus().
  16201. * src/TorrentRequestInfo.cc
  16202. (timeoutSpecified): Declared extern.
  16203. (execute): Set timeout to 180 if timeout is not specified by.
  16204. command-line.
  16205. * src/PieceMessage.cc
  16206. (receivedAction): Added peer->updateDownloadLength().
  16207. Removed peer->addPeerUpload().
  16208. Removed torrentMan->addDeltaDownloadLength().
  16209. (send): Added peer->updateUploadLength().
  16210. Removed peer->addPeerDownload().
  16211. Removed torrentMan->addDeltaUploadLength().
  16212. * src/main.cc
  16213. (timeoutSpecified): New variable.
  16214. (main): Set timeoutSpecified to false.
  16215. If the command-line option "--upload-limit" is specified, then
  16216. timeoutSpecified is set to true. This option will remain in the next
  16217. release, but be deprecated in the future release.
  16218. * src/TorrentRequestInfo.h
  16219. (TorrentRequestInfo): Removed const qualifier from op.
  16220. * src/PeerStat.h
  16221. (uploadSpeed): New variable.
  16222. (PeerStat): Added default value to cuid.
  16223. (calculateUploadSpeed): New function.
  16224. (updateUploadLength): New function.
  16225. (getMaxUploadSpeed): New function.
  16226. (getAvgUploadSpeed): New function.
  16227. (reset): Added uploadSpeed. Set status to IDLE.
  16228. * src/TorrentDownloadEngine.h
  16229. (cp): Declared as Time.
  16230. (sessionDownloadLengthArray): Removed.
  16231. (sessionUploadLengthArray): Removed.
  16232. (currentCp): Removed.
  16233. (lastCalcStat): New variable
  16234. (lastElapsed): Removed.
  16235. (sessionDownloadLength): Removed.
  16236. (calculateStat): New function.
  16237. * src/TorrentDownloadEngine.cc
  16238. (initStatistics): Removed lastElapsed, cp[],
  16239. sessionDownloadLengthArray[], sessionUploadLengthArray[],
  16240. currentCp, sessionDownloadLength.
  16241. Added cp.reset() and lastCalcStat.reset().
  16242. (calculateSpeed): Changed the name of the argument.
  16243. (calculateStatistics): Rewritten.
  16244. (calculateStat): New function.
  16245. * src/Peer.h
  16246. (PeerStat.h): Included.
  16247. (peerUpload): Removed.
  16248. (peerDownload): Removed.
  16249. (peerStat): New variable.
  16250. (sessionUploadLength): New variable.
  16251. (sessionDownloadLength): New variable.
  16252. (deltaUpload): Removed.
  16253. (deltaDownload): Removed.
  16254. (resetStatus): Made private.
  16255. (Peer): Added sessionUploadLength, sessionDownloadLength.
  16256. Removed peerUpload, peerDownload.
  16257. (updateUploadLength): New function.
  16258. (addDeltaUpload): Removed.
  16259. (updateDownloadLength): New function.
  16260. (resetDeltaUpload): Removed.
  16261. (getDeltaUpload): Removed.
  16262. (addDeltaDownload): Removed.
  16263. (calculateUploadSpeed): New function.
  16264. (resetDeltaDownload): Removed.
  16265. (getDeltaDownload): Removed.
  16266. (calculateDownloadSpeed): New function.
  16267. (getSessionUploadLength): New function.
  16268. (getSessionDownloadLength): New function.
  16269. (activate): New function.
  16270. (deactivate): New function.
  16271. (addPeerUpload): Removed.
  16272. (setPeerUpload): Removed.
  16273. (getPeerUpload): Removed.
  16274. (addPeerDownload): Removed.
  16275. (setPeerDownload): Removed.
  16276. (getPeerDownload): Removed.
  16277. * src/Peer.cc
  16278. (resetStatus): Removed resetDeltaUpload() and resetDeltaDownload().
  16279. * src/MetalinkRequestInfo.h
  16280. (MetalinkRequestInfo): Removed const qualifier from op.
  16281. * src/RequestInfo.h
  16282. (op): Removed const qualifier.
  16283. (RequestInfo): Removed const qualifier from op.
  16284. * src/prefs.h
  16285. (PREF_MAX_SPEED_LIMIT): Renamed as PREF_MAX_DOWNLOAD_LIMIT.
  16286. (PREF_UPLOAD_LIMIT): Renamed as PREF_MAX_UPLOAD_LIMIT.
  16287. * src/PeerInteractionCommand.cc
  16288. (PeerInteractionCommand): Use PREF_MAX_UPLOAD_LIMIT.
  16289. (receiveMessages): Use PREF_MAX_DOWNLOAD_LIMIT.
  16290. * src/PeerInteraction.cc
  16291. (sendMessages): Use PREF_MAX_UPLOAD_LIMIT.
  16292. * src/main.cc
  16293. (showUsage): Updated the description of "--lowest-speed-limit" option.
  16294. Added the description of "--max-download-limit" option.
  16295. Removed the description of "--upload-limit" option.
  16296. Added the description of "--max-upload-limit" option.
  16297. (main): Use PREF_MAX_UPLOAD_LIMIT, PREF_MAX_DOWNLOAD_LIMIT.
  16298. Added "--max-download-limit" option and "--max-upload-limit" option.
  16299. Added the warning message if "--upload-limit" option is used.
  16300. * src/DownloadCommand.cc
  16301. (executeInternal): Use PREF_MAX_DOWNLOAD_LIMIT.
  16302. 2006-09-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16303. To rewrite segment download mechanism for HTTP/FTP download.
  16304. Use BitfieldMan to manage segment download.
  16305. * src/HttpResponseCommand.h
  16306. (executeInternal): Pass the reference of segment.
  16307. * src/AbstractCommand.cc
  16308. (prepareForRetry): Call segmentMan->cancelSegment here.
  16309. (onAbort): Call segmentMan->cancelSegment here.
  16310. * src/HttpDownloadCommand.cc
  16311. (prepareForNextSegment): New function.
  16312. * src/DownloadEngineFactory.cc
  16313. (newConsoleEngine): Removed splitter.
  16314. (newTorrentConsoleEngine): Removed splitter.
  16315. * src/Request.h
  16316. (segment): Renamed from seg.
  16317. * src/FtpInitiateConnectionCommand.h
  16318. (executeInternal): Pass the reference of segment.
  16319. * src/AbstractCommand.h
  16320. (executeInternal): Pass the reference of segment.
  16321. * src/pref.h
  16322. (PREF_SEGMENT_SIZE): New definition.
  16323. * src/HttpProxyRequestCommand.h
  16324. (executeInternal): Pass the reference of segment.
  16325. * src/HttpResponseCommand.cc
  16326. (checkResponse): Allowed status 206 when a request range starts 0.
  16327. (handleDefaultEncoding): Rewritten the code related to Segment.
  16328. (handleOtherEncoding): Rewritten the code related to Segment.
  16329. * src/SegmentMan.h
  16330. (SegmentEntry): New class.
  16331. (SegmentEntries): New type definition.
  16332. (bitfield): New variable.
  16333. (usedSegmentEntries): New variable.
  16334. (onNullBitfield): New function.
  16335. (checkoutSegment): New function.
  16336. (segments): Removed.
  16337. (splitter): Removed.
  16338. (unregisterId): Removed.
  16339. (getSegment): New function(overload)
  16340. (getDownloadedSize): Removed.
  16341. (cancelSegment): New function.
  16342. (completeSegment): New function.
  16343. (initBitfield): New function.
  16344. (hasSegment): New function.
  16345. (getDownloadLength): New function.
  16346. * src/BitfieldMan.h
  16347. (getStartIndex): New function.
  16348. (getEndIndex): New function.
  16349. (getMissingUnusedIndex): New function(overload).
  16350. (getSparseMissingUnusedIndex): New function.
  16351. * src/BitfieldMan.cc
  16352. (getMissingIndexRandomly): Handle the last byte of bitfield properly.
  16353. (getMissingUnusedIndex): New function(overload).
  16354. (Range): New class.
  16355. (getStartIndex): New function.
  16356. (getEndIndex): New function.
  16357. (getSparseMissingUnusedIndex): New function.
  16358. (isBitSetInternal): Return false if the given index is less than 0.
  16359. * src/HttpInitiateConnectionCommand.h
  16360. (executeInternal): Pass the reference of segment.
  16361. * src/FtpNegotiateCommand.h
  16362. (executeInternal): Pass the reference of segment.
  16363. * src/FtpNegotiateCommand.cc
  16364. (recvSize): Initialize bitfield here.
  16365. * src/FtpTunnelResponseCommand.h
  16366. (executeInternal): Pass the reference of segment.
  16367. * src/HttpConnection.cc
  16368. (createRequest): Rewritten range header processing.
  16369. * src/DownloadCommand.h
  16370. (executeInternal): Pass the reference of segment.
  16371. (prepareForRetry): Removed.
  16372. (prepareForNextSegment): Added an argument segment. Made it a virtual
  16373. function.
  16374. * src/main.cc
  16375. (main): Set the initial value of PREF_SEGMENT_SIZE to 1MB.
  16376. * src/SegmentMan.cc
  16377. (SegmentMan): Added bitfield. Removed splitter.
  16378. (~SegmentMan): Added bitfield. Removed splitter.
  16379. (unregisterId): Removed.
  16380. (getSegment): Rewritten.
  16381. (updateSegment): Rewritten.
  16382. (save): Rewritten.
  16383. (read): Rewritten.
  16384. (finished): Rewritten.
  16385. (getDownloadedSize): Removed.
  16386. (initBitfield): New function.
  16387. (FindSegmentEntryByIndex): New function object.
  16388. (FindSegmentEntryByCuid): New function object.
  16389. (checkoutSegment): New function.
  16390. (onNullBitfield): New function.
  16391. (getSegment): New function(overload).
  16392. (CancelSegment): New function object.
  16393. (cancelSegment): New function.
  16394. (completeSegment): New function.
  16395. (hasSegment): New function.
  16396. (getDownloadLength): New function.
  16397. * src/FtpInitiateConnectionCommand.cc
  16398. (executeInternal): Load .aria2 file after hostname resolution finishes.
  16399. * src/Segment.h: Rewritten.
  16400. * src/Segment.cc (operator<<): New function.
  16401. * src/HttpDownloadCommand.h
  16402. (prepareForNextSegment): New function.
  16403. * src/Request.cc
  16404. (resetUrl): Made segment null.
  16405. * src/DownloadEngine.cc
  16406. (~DownloadEngine): Call cleanQueue before deleting segmentMan.
  16407. * src/HttpProxyRequestCommand.h
  16408. (executeInternal): Pass the reference of segment.
  16409. * src/DownloadCommand.cc
  16410. (executeInternal): Rewritten the code related to Segment.
  16411. (prepareForRetry): Removed.
  16412. (prepareForNextSegment): Rewritten.
  16413. * src/FtpTunnelResponseCommand.h
  16414. (executeInternal): Pass the reference of segment.
  16415. To add HTTP 1.1 persistent connection support(experimental)
  16416. * src/HttpRequestCommand.cc
  16417. (executeInternal): Disable keep alive if it is disabled by
  16418. configuration.
  16419. * src/Request.h
  16420. (keepAlive): New variable.
  16421. (isKeepAlive): New function.
  16422. (setKeepAlive): New function.
  16423. * src/pref.h
  16424. (PREF_HTTP_KEEP_ALIVE): New definition.
  16425. * src/HttpResponseCommand.cc
  16426. (executeInternal): Check the remote server supports keep alive.
  16427. * src/HttpConnection.cc
  16428. (createRequest): Send "Connection: close" only if keep alive is
  16429. disabled.
  16430. * src/main.cc
  16431. (main):
  16432. Set the initial value(false) of PREF_KEEP_ALIVE to false.
  16433. To add max download speed limit:
  16434. * src/pref.h
  16435. (PREF_MAX_SPEED_LIMIT): New definition.
  16436. * src/PeerInteractionCommand.cc
  16437. (executeInternal): Added max download speed limit. Not tested yet.
  16438. * src/SegmentMan.h
  16439. (PeerStats): New type definition.
  16440. (peerStats): New variable.
  16441. (registerPeerStat): New function.
  16442. (FindPeerStat): New function object.
  16443. (getPeerStat): New function.
  16444. (calculateDownloadSpeed): New function.
  16445. * src/SpeedCalc.h: New class.
  16446. * src/SpeedCalc.cc: New class.
  16447. * src/main.cc
  16448. (main):
  16449. Set the initial value of PREF_MAX_SPEED_LIMIT to 0(which means the
  16450. download speed is not restricted).
  16451. * src/PeerStat.h: New class.
  16452. * src/SegmentMan.cc
  16453. (registerPeerStat): New function.
  16454. (calculateDownloadSpeed): New function.
  16455. * src/DownloadCommand.cc
  16456. (STARTUP_IDLE_TIME): New definition.
  16457. (DownloadCommand): Register peerStat to segmentMan. Call peerStat->
  16458. downloadStart.
  16459. (~DownloadCommand): Call peerStat->downloadStop.
  16460. (executeInternal): Added download speed limitter. Rewritten lowest
  16461. speed limitter.
  16462. * src/HttpConnection.cc
  16463. (receiveResponse): Fixed: eohIndex[headerBuf] -> headerBuf[eohIndex].
  16464. * src/AbstractCommand.cc
  16465. (resolveHostname): Throw DlAbortEx if a name resolution failes.
  16466. Added hostname to the error message.
  16467. * src/ConsoleDownloadEngine.cc
  16468. (calculateStatistics): Initialize psize with dlSize.
  16469. * src/PieceMessage.cc
  16470. (receivedAction): Do not call peerInteraction->abortPiece here.
  16471. (onGotWrongPiece): Call peerInteraction->abortPiece here.
  16472. * src/BitfieldMan.h
  16473. (clearAllUseBit): New function.
  16474. (setAllUseBit): New function.
  16475. * src/BitfieldMan.cc
  16476. (clearAllBit): Do not clear useBitfield here.
  16477. (clearAllUseBit): New function.
  16478. (setAllUseBit): New function.
  16479. * src/Piece.cc
  16480. (clearAllBlock): Call bitfield->clearAllUseBit().
  16481. 2006-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16482. To make filename URL-decoded:
  16483. * src/HttpResponseCommand.h: Updated doc.
  16484. * src/HttpResponseCommand.cc
  16485. (determinFilename): Made filename URL-decoded.
  16486. * src/FtpInitiateConnectionCommand.cc
  16487. (executeInternal): Made filename URL-decoded.
  16488. * src/Util.h (urldecode): New function.
  16489. * src/Util.cc (urldecode): New function.
  16490. To fix a bug that caused assertion failure in ares_strerror:
  16491. * src/NameResolver.cc (callback): Fixed the bug.
  16492. * Release 0.7.3
  16493. 2006-08-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16494. To add --seed-time and --seed-ratio command-line option:
  16495. * src/Option.h (getAsDouble): New function.
  16496. * src/Option.cc (getAsDouble): New function.
  16497. * src/SeedCheckCommand.h: New class.
  16498. * src/SeedCheckCommand.cc: New class.
  16499. * src/DownloadEngineFactory.cc
  16500. (SeedCheckCommand.h): Included.
  16501. (UnionSeedCriteria.h): Included.
  16502. (TimeSeedCriteria.h): Included.
  16503. (ShareRatioSeedCriteria.h): Included.
  16504. (newTorrentConsoleEngine): Added the processing of seed option.
  16505. * src/SeedCriteria.h: New class.
  16506. * src/ShareRatioSeedCriteria.h: New class.
  16507. * src/TimeSeedCriteria.h: New class.
  16508. * src/UnionSeedCriteria.h: New class.
  16509. * src/prefs.h
  16510. (PREF_SEED_TIME): New definition.
  16511. (PREF_SEED_RATIO): New definition.
  16512. * src/main.cc
  16513. (showUsage): Added --seed-time and --seed-ratio option.
  16514. (main): Added --seed-time and --seed-ratio option.
  16515. Made default log file name "/dev/null".
  16516. * src/SharedHandle.h
  16517. (SharedHandle): Copy constructor. Made it assignable from the
  16518. SharedHandle of the subclasses.
  16519. (operator=): Made it assignable from the SharedHandle of the
  16520. subclasses.
  16521. (getRefCount): New function.
  16522. To add notice log level and the switch to write log to stdout. This
  16523. switch is configurable per log level.
  16524. * src/Logger.h
  16525. (notice): New function.
  16526. (LEVEL): Added NOTICE. Assigned an explicit value to each log level
  16527. constant.
  16528. * src/LogFactory.cc
  16529. (getInstance): The use of NullLogger was removed. A log message with
  16530. notice log level was made written to stdout along with log file.
  16531. * src/NullLogger.h
  16532. (notice): New function.
  16533. * src/SimpleLogger.h
  16534. (writeHeader): Added the 'file' argument.
  16535. (writeLog): Added the 'file' argument.
  16536. (writeFile): New function.
  16537. (stdoutField): New variable.
  16538. (SimpleLogger): Removed the default constructor.
  16539. (SimpleLogger): Made the default value of logfile 0.
  16540. (debug): Added 'virtual' keyword.
  16541. (info): Added 'virtual' keyword.
  16542. (warn): Added 'virtual' keyword.
  16543. (error): Added 'virtual' keyword.
  16544. (notice): New function.
  16545. (setStdout): New function.
  16546. * src/SimpleLogger.cc
  16547. (WRITE_LOG): Replaced writeLog with writeFile.
  16548. (WRITE_LOG_EX): Replaced writeLog with writeFile.
  16549. (SimpleLogger): Removed the default constructor.
  16550. (setStdout): New function.
  16551. (writeLog): Added the handling of NOTICE log level.
  16552. (writeFile): New function.
  16553. (notice): New function.
  16554. * src/TorrentMan.h: Updated doc.
  16555. * src/BitfieldMan.h: Updated doc.
  16556. * src/TrackerWatcherCommand.cc
  16557. (execute): Return true if error occurred in the request to the tracker
  16558. and halt is requested.
  16559. * src/TrackerUpdateCommand.cc
  16560. (execute): Return true if error occurred in the request to the tracker
  16561. and halt is requested.
  16562. To call onDownloadComplete from TorrentMan::completePiece(), not from
  16563. DownloadEngine:
  16564. * src/TorrentConsoleDownloadEngine.h
  16565. (onSelectiveDownloadingCompletes): Removed.
  16566. * src/TorrentConsoleDownloadEngine.cc
  16567. (onSelectiveDownloadingCompletes): Removed.
  16568. * src/TorrentDownloadEngine.h
  16569. (onEndOfRun): Added 'virtual' keyword.
  16570. (afterEachIteration): Removed.
  16571. (onSelectiveDownloadingCompletes): Removed.
  16572. * src/TorrentDownloadEngine.cc
  16573. (onEndOfRun): Removed filenameFixed.
  16574. (afterEachIteration): Removed.
  16575. * src/TorrentMan.cc
  16576. (completePiece): Call onDownloadComplete here.
  16577. (onDownloadComplete): Added 2 log messages.
  16578. 2006-08-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16579. To fix compilation problem on gcc4.1.1(patch#1542283 by tizianomueller)
  16580. * src/NameResolver.h: Added the prototype declaration of callback().
  16581. To support c-ares library:
  16582. * src/AbstractCommand.cc: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16583. * src/FeatureConfig.cc: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16584. * src/FtpInitiateConnectionCommand.h:
  16585. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16586. * src/AbstractCommand.h: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16587. * src/HttpInitiateConnectionCommand.h:
  16588. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16589. * src/NameResolver.cc: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS.
  16590. Added thes upport of c-ares's ares_strerror(the idea came from patch
  16591. #1542285 by tizianomueller)
  16592. * src/HttpInitiateConnectionCommand.cc:
  16593. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16594. * src/FtpInitiateConnectionCommand.cc:
  16595. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16596. * src/DownloadEngine.h:
  16597. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16598. * src/DownloadEngine.cc:
  16599. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16600. To fix the bug that causes compilation failure with metalink-support
  16601. disabled(bug#1543587):
  16602. * src/main.cc: Fixed with the patch by tizianomueller.
  16603. * Release 0.7.2
  16604. 2006-08-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16605. * src/main.cc
  16606. (main): Added a message to inform users that aria2 is starting to
  16607. verify checksum.
  16608. * src/RequestInfo.cc
  16609. (printDownloadAbortMessage): Added a message to inform users that
  16610. transfer can be resumed.
  16611. * src/FeatureConfig.cc
  16612. (FEATURE_ASYNC_DNS): New definition.
  16613. (FeatureConfig): Added aysnc DNS entry.
  16614. To replace CommandUuid with Command* in SocketEntry and
  16615. NameResolverEntry:
  16616. * src/DownloadEngine.h
  16617. (CommandUuids): Removed.
  16618. (SocketEntry::commandUuid): Removed.
  16619. (SocketEntry::command): New variable.
  16620. (SocketEntry::SocketEntry): Updated.
  16621. (SocketEntry::operator==): Updated.
  16622. (NameResolverEntry::commandUuid): Removed.
  16623. (NameResolverEntry::command): New variable.
  16624. (NameResolverEntry::NameResolverEntry): Updated.
  16625. (NameResolverEntry::operator==): Updated.
  16626. (waitData): Changed the argument type.
  16627. (addSocketForReadCheck): Changed the argument type.
  16628. (deleteSocketForReadCheck): Changed the argument type.
  16629. (addSocketForWriteCheck): Changed the argument type.
  16630. (deleteSocketForWriteCheck): Changed the argument type.
  16631. (addNameResolverCheck): Changed the argument type.
  16632. (deleteNameResolverCheck): Changed the argument type.
  16633. * src/DownloadEngine.cc
  16634. (FindCommand): Removed.
  16635. (run): Removed activeUuid. Added activeCommands instead.
  16636. (AccumulateActiveUuid): Renamed as AccumulateActiveCommand.
  16637. (AccumulateActiveCommand): New function object.
  16638. (waitData): Use AccumulateActiveCommand.
  16639. (addSocketForReadCheck): Use Command instead of CommandUuid.
  16640. (deleteSocketForReadCheck): Use Command instead of CommandUuid.
  16641. (addSocketForWriteCheck): Use Command instead of CommandUuid.
  16642. (deleteSocketForWriteCheck): Use Command instead of CommandUuid.
  16643. (addNameResolverCheck): Use Command instead of CommandUuid.
  16644. (deleteNameResolverCheck): Use Command instead of CommandUuid.
  16645. * src/AbstractCommand.cc
  16646. (disableReadCheckSocket): Updated according to the changes in
  16647. DownloadEngine.
  16648. (setReadCheckSocket): Updated according to the changes in
  16649. DownloadEngine.
  16650. (disableWriteCheckSocket): Updated according to the changes in
  16651. DownloadEngine.
  16652. (setWriteCheckSocket): Updated according to the changes in
  16653. DownloadEngine.
  16654. (setNameResolverCheck): Updated according to the changes in
  16655. DownloadEngine.
  16656. (disableNameResolverCheck): Updated according to the changes in
  16657. DownloadEngine.
  16658. * src/AbstractCommand.cc
  16659. (disableReadCheckSocket): Updated according to the changes in
  16660. DownloadEngine.
  16661. (setReadCheckSocket): Updated according to the changes in
  16662. DownloadEngine.
  16663. (disableWriteCheckSocket): Updated according to the changes in
  16664. DownloadEngine.
  16665. (setWriteCheckSocket): Updated according to the changes in
  16666. DownloadEngine.
  16667. * release 0.7.1
  16668. 2006-08-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16669. To handle the case where some BitTorrent tracker requires all letters
  16670. except for [A-Za-z0-9] is URL encoded.
  16671. * src/Util.h
  16672. (torrentUrlencode): New function.
  16673. * src/Util.cc
  16674. (ctype.h): Included.
  16675. (torrentUrlencode): New function.
  16676. * src/TrackerWatcherCommand.cc
  16677. (execute): Use Util::torrentUrlencode() instead of Util::urlencode().
  16678. 2006-08-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16679. To add asynchronous DNS support(libares):
  16680. * src/AbstractCommand.h
  16681. (setNameResolverCheck): New function.
  16682. (disableNameResolverCheck): New function
  16683. (resolveHostname): New function.
  16684. * src/AbstractCommand.cc
  16685. (setNameResolverCheck): New function.
  16686. (disableNameResolverCheck): New function
  16687. (resolveHostname): New function.
  16688. * src/FtpInitiateConnectionCommand.h
  16689. (nameResolver): New function.
  16690. * src/FtpInitiateConnectionCommand.cc
  16691. (Util.h): Included.
  16692. (FtpInitiateConnectionCommand): Call disableReadCheckSocket,
  16693. disableWriteCheckSocket.
  16694. (~FtpInitiateConnectionCommand): Call disableNameResolverCheck.
  16695. (executeInternal): Added async DNS support.
  16696. * src/HttpInitiateConnectionCommand.h
  16697. (nameResolver): New function.
  16698. * src/HttpInitiateConnectionCommand.cc
  16699. (DlRetryEx.h): Included.
  16700. (HttpInitiateConnectionCommand): Call disableReadCheckSocket,
  16701. disableWriteCheckSocket.
  16702. (~HttpInitiateConnectionCommand): Call disableNameResolverCheck.
  16703. (executeInternal): Added async DNS support.
  16704. * src/NameResolver.h: New class. Note: #include <ares.h> is surrounded
  16705. by extern "C" declaration.
  16706. * src/NameResolver.cc: New class.
  16707. * src/Util.h:
  16708. (isNumberAndDotsNotation): New function
  16709. * src/Util.cc
  16710. (isNumberAndDotsNotation): New function.
  16711. * src/DownloadEngine.h
  16712. (NameResolver.h): Included.
  16713. (NameResolverEntry): New class.
  16714. (NameResolverEntries): New type definition.
  16715. (addNameResolverCheck): New function.
  16716. (deleteNameResolverCheck): New function.
  16717. * src/DownloadEngine.cc
  16718. (run): Initialize cp with 0.
  16719. (SetDescriptor::operator()): Added for NameResolverEntry.
  16720. (AccumulateActiveUuid::operator()): Added for NameResolverEntry.
  16721. (waitData): Check nameResolver entries.
  16722. (updateFdSet): Update fds in nameResolver entries.
  16723. (addNameResolverCheck): New function.
  16724. (deleteNameResolverCheck): new function.
  16725. * src/PeerInteractionCommand.cc
  16726. (executeInternal): Fixed wrong socket handling.
  16727. * src/main.cc
  16728. (main): Fixed the initial value of PREF_LOWEST_SPEED_LIMIT option to 0.
  16729. * src/Util.cc
  16730. (fileChecksum): Removed the call to ctx.digestReset().
  16731. 2006-08-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16732. * po/ru.po: Azamat sent me Russian translation.
  16733. * src/FtpNegotiateCommand.cc
  16734. (recvGreeting): Call disableWriteCheckSocket just after
  16735. socket->setBlockingMode(). This avoids unnecessary CPU-hog loop.
  16736. (recvRetr): Recognized status code 125 as a acceptable response code.
  16737. Rename Time.h to TimeA2.h to avoid compilation ploblem on
  16738. case-insesitive filesystem(BUG#1531057).
  16739. * src/Time.h: Renamed as TimeA2.h.
  16740. * src/Time.cc: Renamed as TimeA2.cc.
  16741. * src/TimeA2.h: New class.
  16742. * src/TimeA2.cc: New class.
  16743. * src/PeerChokeCommand.h: Replaced Time.h with TimeA2.h.
  16744. * src/TrackerWatcherCommand.h: Replaced Time.h with TimeA2.h.
  16745. * src/PeerAbstractCommand.h: Replaced Time.h with TimeA2.h.
  16746. * src/AbstractCommand.h: Replaced Time.h with TimeA2.h.
  16747. * src/PeerInteractionCommand.h: Replaced Time.h with TimeA2.h.
  16748. * src/ConsoleDownloadEngine.h: Replaced Time.h with TimeA2.h.
  16749. * src/TorrentAutoSaveCommand.h: Replaced Time.h with TimeA2.h.
  16750. * src/DownloadCommand.h: Replaced Time.h with TimeA2.h.
  16751. * src/TorrentMan.h: Replaced Time.h with TimeA2.h.
  16752. * src/TorrentDownloadEngine.h: Replaced Time.h with TimeA2.h.
  16753. * src/RequestSlot.h: Replaced Time.h with TimeA2.h.
  16754. * src/SleepCommand.h: Replaced Time.h with TimeA2.h.
  16755. * src/DownloadEngine.cc: Replaced Time.h with TimeA2.h.
  16756. * release 0.7.0
  16757. 2006-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16758. * src/PeerChokeCommand.h
  16759. (PeerChokeCommand): Rearranged the arguments.
  16760. * src/PeerChokeCommand.cc
  16761. (PeerChokeCommand): Rearranged the arguments.
  16762. * src/MetalinkEntry.h
  16763. (Checksum.h): Included.
  16764. (md5): Removed.
  16765. (sha1): Removed.
  16766. (checksum): New variable.
  16767. (operator=): Updated.
  16768. (check): Removed.
  16769. * src/prefs.h
  16770. (PREF_LOWEST_SPEED_LIMIT): New definition.
  16771. (PREF_FOLLOW_TORRENT): New definition.
  16772. (PREF_SELECT_FILE): New definition.
  16773. (PREF_FOLLOW_METALINK): New definition.
  16774. * src/MetalinkResource.h
  16775. (TYPE_HTTPS): Added to enum TYPE.
  16776. * src/TorrentMan.cc
  16777. (~TorrentMan): Rewritten.
  16778. * src/MultiDiskWriter.cc
  16779. (MultiDiskAdaptor): Updated according to the changes in
  16780. MessageDigestContext.
  16781. (~MultiDiskAdaptor): Updated according to the changes in
  16782. MessageDigestContext.
  16783. (hashUpdate): Updated according to the changes in MessageDigestContext.
  16784. (sha1Sum): Updated according to the changes in MessageDigestContext.
  16785. * src/Util.h
  16786. (fileChecksum): Updated according to the changes in
  16787. MessageDigestContext.
  16788. * src/Util.cc
  16789. (sha1Sum): Updated according to the changes in MessageDigestContext.
  16790. (fileChecksum): Updated according to the changes in
  16791. MessageDigestContext.
  16792. * src/messageDigest.h: Rewritten.
  16793. * src/MetalinkEntry.cc
  16794. (check): Removed.
  16795. (Supported): Updated.
  16796. (dropUnsupportedResource): Fixed a memory leak.
  16797. * src/ShaVisitor.cc
  16798. (ShaVisitor): Updated according to the changes in MessageDigestContext.
  16799. (~ShaVisitor): Updated according to the changes in
  16800. MessageDigestContext.
  16801. (visit): Updated according to the changes in MessageDigestContext.
  16802. * src/main.cc
  16803. (main): Rewritten the portion of download loop. --lowest-speed-limit
  16804. command-line option added.
  16805. * src/DownloadEngine.h
  16806. (SocketEntry): New class.
  16807. (SocketEntries): New definition.
  16808. (PairFind): Removed.
  16809. (SockCmdMap): Removed.
  16810. * src/DownloadEngine.cc
  16811. (DownloadEngine): Rewritten.
  16812. (~DownloadEngine): Rewritten.
  16813. (run): Renamed activeCommandUuids as activeUuids.
  16814. (SetDescriptor): Rewritten.
  16815. (AccumulateActiveCommandUuid): Removed.
  16816. (AccumulateActiveUuid): New function object.
  16817. (waitData): Rewritten.
  16818. (updateFdSet): Rewritten.
  16819. (addSocket): Rewritten.
  16820. (deleteSocket): Rewritten.
  16821. (addSocketForReadCheck): Rewritten.
  16822. (deleteSocketForReadCheck): Rewritten.
  16823. (addSocketForWriteCheck): Rewritten.
  16824. (deleteSocketForWriteCheck): Rewritten.
  16825. * src/Xml2MetalinkProcessor.cc
  16826. (getEntry): Rewritten the portion of MetalinkEntry creation.
  16827. * src/DownloadCommand.cc
  16828. (executeInternal): Added the check routine for lowest speed limit.
  16829. * src/AbstractDiskWriter.cc
  16830. (AbstractDiskWriter): Updated according to the changes in
  16831. MessageDigestContext.
  16832. (~AbstractDiskWriter): Updated according to the changes in
  16833. MessageDigestContext.
  16834. (sha1Sum): Updated according to the changes in MessageDigestContext.
  16835. * src/RequestInfo.h: New class.
  16836. * src/UrlRequestInfo.h: New class.
  16837. * src/UrlRequestInfo.cc: New class.
  16838. * src/TorrentRequestInfo.h: New class.
  16839. * src/TorrentRequestInfo.cc: New class.
  16840. * src/MetalinkRequestInfo.h: New class.
  16841. * src/MetalinkRequestInfo.cc: New class.
  16842. * src/Checksum.h: New class.
  16843. * src/DownloadEngineFactory.h: New class.
  16844. * src/DownloadEngineFactory.cc: New class.
  16845. 2006-08-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16846. * src/Option.h
  16847. (getAsBool): New function.
  16848. * src/Option.cc
  16849. (prefs.h): Included.
  16850. (defined): 0-length value is now recognized as undefined.
  16851. (getAsInt): Rewritten.
  16852. (getAsLLInt): Rewritten.
  16853. (getAsBool): New function.
  16854. * src/FeatureConfig.h: Rewritten.
  16855. * src/FeatureConfig.cc: Rewritten.
  16856. * src/prefs.h
  16857. (PREF_STDOUT_LOG): New definition.
  16858. (PREF_LOG): New definition.
  16859. (PREF_DIR): New definition.
  16860. (PREF_OUT): New definition.
  16861. (PREF_SPLIT): New definition.
  16862. (PREF_DAEMON): New definition.
  16863. (PREF_REFERER): New definition.
  16864. (PREF_TORRENT_FILE): New definition.
  16865. (PREF_LISTEN_PORT): New definition.
  16866. (PREF_METALINK_FILE): New definition.
  16867. (PREF_METALINK_VERSION): New definition.
  16868. (PREF_METALINK_LANGUAGE): New definition.
  16869. (PREF_METALINK_OS): New definition.
  16870. (PREF_METALINK_SERVERS): New definition.
  16871. * src/main.cc
  16872. (main): Following command-line parameters are now put into Option
  16873. class: stdoutLog, logfile, dir, ufilename, split, daemonMode,
  16874. referer, torrentFile, metalinkFile, listenPort, metalinkVersion,
  16875. metalinkLanguage, metalinkOs, metalinkServers
  16876. To fix the bug that aria2 can not handle http response header properly.
  16877. * src/HttpHeader.cc
  16878. (put): Made name lowercased.
  16879. (defined): Made name lowercased.
  16880. (getFirst): Made name lowercased.
  16881. (get): Made name lowercased.
  16882. (getFirstAsInt): Rewritten.
  16883. (getFirstAsLLInt): Rewritten.
  16884. 2006-07-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16885. * src/TorrentMan.h:
  16886. (advertisePiece): Updated doc.
  16887. (getAdvertisedPieceIndexes): Updated doc.
  16888. (removeAdvertisedPiece); New function.
  16889. * src/TorrentMan.cc
  16890. (FindElapsedHave): New function object.
  16891. (removeAdvertisedPiece): New function.
  16892. * src/HaveEraseCommand.h: New class.
  16893. * src/HaveEraseCommand.cc: New class.
  16894. * src/FeatureConfig.h: New class.
  16895. * src/FeatureConfig.cc: New class.
  16896. * src/Request.h
  16897. (defaultPorts): Removed.
  16898. * src/Request.cc
  16899. (FeatureConfig.h): Included.
  16900. (Request): Removed the statements related to defaultPorts.
  16901. (parseUrl): Removed metalinkEnabled. Use FeatureConfig instead.
  16902. A default port number is now retrieved from FeatureConfig.
  16903. * src/main.cc
  16904. (HaveEraseCommand.h): Included.
  16905. (showVersion): Added the output of feature list.
  16906. (main): Added HaveEraseCommand to command queue in BitTorrent
  16907. downloading.
  16908. * src/PeerInteractionCommand.h
  16909. (chokeCheckPoint): Commented out.
  16910. (periodicExecPoint): New variable.
  16911. * src/PeerInteractionCommand.cc
  16912. (executeInternal): Following methods are now called in at least every
  16913. 0.5 seconds to reduce CPU usage:
  16914. detectMessageFlooding(), peerInteraction->checkRequestSlot(),
  16915. checkHave(), sendKeepAlive().
  16916. (checkLongTimePeerChoking): Commented out.
  16917. * src/BitfieldMan.h
  16918. (getNthBitIndex): Changed the method signature.
  16919. (getMissingIndexRandomly): Changed the method signature.
  16920. * src/BitfieldMan.cc
  16921. (getNthBitIndex): Rewritten
  16922. (getMissingIndexRandomly): Rewritten.
  16923. (hasMissingPiece): Rewritten.
  16924. (getMissingIndex): Refactored.
  16925. (getMissingUnusedIndex); Refactored.
  16926. (getMissingIndex): Refactored.
  16927. 2006-07-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16928. * src/PeerMessage.h
  16929. (Piece.h): Included.
  16930. (SharedHandle.h): Included.
  16931. (invalidate): New variable.
  16932. (uploading): New variable.
  16933. (isInvalidate): New function.
  16934. (isUploading): New function.
  16935. (onPush): New function.
  16936. (onChoked): New function.
  16937. (onCanceled): New function.
  16938. (onAbortPiece): New function.
  16939. (PeerMessageHandle): New type definition.
  16940. * src/PeerMessage.cc
  16941. (PeerMessage): Added the initialization for invalidate and uploading.
  16942. * src/CancelMessage.h
  16943. (CancelMessage): Rewritten.
  16944. * src/RejectMessage.h
  16945. (RejectMessage): Rewritten.
  16946. * src/Metalinker.h
  16947. (operator=): Defined.
  16948. * src/MetaEntry.h
  16949. (operator=): Defined.
  16950. * src/MetalinkResource.h
  16951. (operator=): Defined.
  16952. * src/AllowedFastMessage.h
  16953. (AllowedFastMessage): Rewritten.
  16954. * src/HandshakeMessage.h
  16955. (HandshakeMessage): New function(overload).
  16956. * src/HandshakeMessage.cc
  16957. (HandshakeMessage): Rewritten.
  16958. (init): New function.
  16959. * src/HaveMessage.h
  16960. (HaveMessage): Rewritten.
  16961. * src/Time.h
  16962. (operator=): Defined the function body here.
  16963. * src/Time.cc
  16964. (operator=): Removed.
  16965. * src/SocketCore.h
  16966. (operator==): Defined here.
  16967. (operator!=): Defined here.
  16968. (operator<): Defined here.
  16969. * src/SocketCore.cc
  16970. (operator==): Removed.
  16971. (operator<): Removed.
  16972. * src/BitfieldMan.h
  16973. (operator=): Defined the function body here.
  16974. * src/BitfieldMan.cc
  16975. (operator=): Removed.
  16976. * src/TorrentMan.h
  16977. (deleteErrorPeer): Removed.
  16978. (deleteUnusedPeer); New function.
  16979. * src/TorrentMan.cc
  16980. (addPeer): Call deleteUnusedPeer.
  16981. (deleteErrorPeer): Removed.
  16982. (deleteUnusedPeer): New function.
  16983. * src/PeerAbstractCommand.h
  16984. (setNoCheck): New function.
  16985. (noCheck): New variable.
  16986. * src/PeerAbstractCommand.cc
  16987. (PeerAbstractCommand): Added the initialization of noCheck.
  16988. (execute): Added a check for noCheck.
  16989. (setNoCheck): New function.
  16990. * src/Util.h
  16991. (stdio.h): Included.
  16992. * src/Util.cc
  16993. (unistd.h): Included.
  16994. * src/DefaultDiskWriter.cc
  16995. (unistd.h): Included.
  16996. * src/Peer.h
  16997. (operator==): Defined the function body here.
  16998. (operator!=): Defined the function body here.
  16999. * src/Peer.cc
  17000. (operator==): Removed.
  17001. (operator!=): Removed.
  17002. * src/Piece.h
  17003. (Piece): Defined the function body here(copy constructor).
  17004. (operator=): Defined the function body here.
  17005. (operator==): Defined the function body here.
  17006. * src/Piece.cc
  17007. (Piece): Removed(copy constructor).
  17008. (operator=): Removed.
  17009. (operator==): Removed.
  17010. * src/PeerMessageUtil.h
  17011. (ChokeMessage.h): Removed.
  17012. (UnchokeMessage.h): Removed.
  17013. (InterestedMessage.h): Removed.
  17014. (NotInterestedMessage.h): Removed.
  17015. (HaveMessage.h): Removed.
  17016. (BitfieldMessage.h): Removed.
  17017. (RequestMessage.h): Removed.
  17018. (CancelMessage.h): Removed.
  17019. (PieceMessage.h): Removed.
  17020. (HandshakeMessage.h): Removed.
  17021. (KeepAliveMessage.h): Removed.
  17022. (PortMessage.h): Removed.
  17023. (HaveAllMessage.h): Removed.
  17024. (HaveNoneMessage.h): Removed.
  17025. (PeerConnection.h): Removed.
  17026. (HandshakeMessage.h): Included.
  17027. * src/BitfieldMessage.h
  17028. (init): New function.
  17029. (BitfieldMessage): Rewritten.
  17030. (BitfieldMessage): New function(overload).
  17031. * src/RequestSlot.h
  17032. (operator=): Defined the function body here.
  17033. (operator==): Defined the function body here.
  17034. * src/RequestSlot.cc
  17035. (operator=): Removed.
  17036. (operator==): Removed.
  17037. To remove the dependency on the PeerMessage subclass from
  17038. PeerInteraction:
  17039. * src/PeerMessageFactory.h: New class.
  17040. * src/PeerMessageFactory.cc: New class.
  17041. * src/SimplePeerMessage.cc
  17042. (send): If invalidate is true then do nothing.
  17043. * src/PeerInteractionCommand.cc
  17044. (HandshakeMessage.h): Included.
  17045. (KeepAliveMessage.h): Included.
  17046. (ChokeMessage.h): Included.
  17047. (UnchokeMessage.h): Included.
  17048. (HaveMessage.h): Included.
  17049. (executeInternal): Call setNoCheck().
  17050. Removed setWriteCheckSocket(socket).
  17051. * src/PeerInteraction.h
  17052. (ChokeMessage.h): Removed.
  17053. (UnchokeMessage.h): Removed.
  17054. (InterestedMessage.h): Removed.
  17055. (NotInterestedMessage.h): Removed.
  17056. (HaveMessage.h): Removed.
  17057. (BitfieldMessage.h): Removed.
  17058. (RequestMessage.h): Removed.
  17059. (CancelMessage.h): Removed.
  17060. (PieceMessage.h): Removed.
  17061. (HandshakeMessage.h): Removed.
  17062. (KeepAliveMessage.h): Removed.
  17063. (PortMessage.h): Removed.
  17064. (HaveAllMessage.h): Removed.
  17065. (HaveNoneMessage.h): Removed.
  17066. (RejectMessage.h): Removed.
  17067. (AllowedFastMessage.h): Removed.
  17068. (SuggestPieceMessage.h): Removed.
  17069. (PeerMessageFactory.h): Included.
  17070. (PeerMessageHandle): Removed typedef of PeerMessageHandle.
  17071. (HandshakeMessageHandle): Removed typedef of HandshakeMessageHandle.
  17072. (PeerMessageFactory): New variable.
  17073. (createPeerMessage): Removed.
  17074. (createHandshakeMessage): Removed.
  17075. (setPeerMessageCommonProperty): Removed.
  17076. (addRequestSlot): New function.
  17077. (receiveHandshake): Changed the return value type to PeerMessageHandle.
  17078. (getPeerMessageFactory): New function.
  17079. (createRequestMessage): Removed.
  17080. (createCancelMessage): Removed.
  17081. (createPieceMessage): Removed.
  17082. (createHaveMessage): Removed.
  17083. (createChokeMessage): Removed.
  17084. (createUnchokeMessage): Removed.
  17085. (createInterestedMessage): Removed.
  17086. (createNotInterestedMessage): Removed.
  17087. (createBitfieldMessage): Removed.
  17088. (createKeepAliveMessage): Removed.
  17089. (createHaveAllMessage): Removed.
  17090. (createHaveNoneMessage): Removed.
  17091. (createRejectMessage): Removed.
  17092. (createAllowedFastMessage): Removed.
  17093. * src/PeerInteraction.cc
  17094. (PeerInteraction): Allocate PeerMessageFactory here.
  17095. (~PeerInteraction): Deallocate PeerMessageFactory here.
  17096. (sendMessages): Use msg->isUploading() instead of msg->getId() ==
  17097. PieceMessage::ID.
  17098. (addMessage): Simplified by using PeerMessage::onPush().
  17099. (addRequestSlot): New function.
  17100. (rejectAllPieceMessageInQueue): Simplified by using
  17101. PeerMessage::onChoked().
  17102. (rejectPieceMessageInQueue): Simplified by using
  17103. PeerMessage::onCanceled().
  17104. (abortPiece): Simplified by using PeerMessage::abortPiece().
  17105. (receiveHandshake): Changed the return value type to PeerMessageHandle.
  17106. (createHandshakeMessage): Removed.
  17107. (createPeerMessage): Removed.
  17108. (sendHandshake): Call PeerMessageFactory::createHandshakeMessage().
  17109. (setPeerMessageCommonProperty): Removed.
  17110. (createRequestMessage): Removed.
  17111. (createCancelMessage): Removed.
  17112. (createPieceMessage): Removed.
  17113. (createHaveMessage): Removed.
  17114. (createChokeMessage): Removed.
  17115. (createUnchokeMessage): Removed.
  17116. (createInterestedMessage): Removed.
  17117. (createNotInterestedMessage): Removed.
  17118. (createBitfieldMessage): Removed.
  17119. (createKeepAliveMessage): Removed.
  17120. (createHaveAllMessage): Removed.
  17121. (createHaveNoneMessage): Removed.
  17122. (createRejectMessage): Removed.
  17123. (createAllowedFastMessage): Removed.
  17124. * src/PieceMessage.h
  17125. (createRejectMessage): New function.
  17126. (PieceMessage): Rewritten.
  17127. (onChoked): New function.
  17128. (onCanceled): New function.
  17129. * src/PieceMessage.cc
  17130. (send): If invalidate is true then do nothing, just return.
  17131. (createRejectMessage): New function.
  17132. (onChoked): New function.
  17133. (onCanceled): New function.
  17134. * src/RequestMessage.h
  17135. (RequestMessage): Rewritten.
  17136. (onPush): New function.
  17137. (onAbortPiece): New function.
  17138. * src/RequestMessage.cc
  17139. (onPush): New function.
  17140. (onAbortPiece): New function.
  17141. Update fd_set when a socket is added or deleted in order to improve
  17142. performance:
  17143. * src/DownloadEngine.h
  17144. (rfdset): New variable.
  17145. (wfdset): New variable.
  17146. (updateFdSet): New function.
  17147. * src/DownloadEngine.cc
  17148. (SetDescriptor::operator()): Use SockCmdMap::value_type.
  17149. (AccumulateActiveCommandUuid::operator()): Use SockCmdMap::value_type.
  17150. (waitData): Copy rfdset and wfdset.
  17151. (updateFdSet): New function.
  17152. (addSocket): Call updateFdSet.
  17153. (deleteSocket): Call updateFdSet.
  17154. 2006-07-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17155. To add the support for Metalink3.0 backward compatible links:
  17156. * src/Request.h
  17157. (SAFE_CHARS): Added '#'.
  17158. (METALINK_MARK): New definition.
  17159. * src/Request.cc
  17160. (parseUrl): Added the support for Metalink3.0 backward compatible
  17161. links.
  17162. etc
  17163. * src/PeerInteraction.cc
  17164. (MsgPushBack): Removed.
  17165. (sendMessages): Use STL copy and back_inserter.
  17166. (rejectAllPieceMessageInQueue): Use STL copy and back_inserter.
  17167. (rejectPieceMessageInQueue): Use STL copy and back_inserter.
  17168. * src/TorrentMan.h
  17169. (MAX_PEER_LIST_SIZE): Changed to 100 from 250.
  17170. 2006-07-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17171. * src/SharedHandle.h: New class.
  17172. To wrap Socket, Command, PeerMessage and Peer with SharedHandle:
  17173. * src/HttpResponseCommand.h
  17174. (HttpResponseCommand): Wrapped Socket.
  17175. * src/SocketCore.h
  17176. (operator==): New function.
  17177. (operator!=): New function.
  17178. (operator<): New function.
  17179. (getSockfd): New function.
  17180. (isOpen): New function.
  17181. (writeData): New function.
  17182. * src/SocketCore.cc
  17183. (operator==): New function.
  17184. (operator!=): New function.
  17185. (operator<): New function.
  17186. * src/AbstractCommand.h
  17187. (socket): Changed its type to SocketHandle.
  17188. (setReadCheckSocket): Replaced Socket with SocketHandle.
  17189. (setWriteCheckSocket): Replaced Socket with SocketHandle.
  17190. (disableReadCheckSocket): New function.
  17191. (disableWriteCheckSocket): New function.
  17192. (readCheckTarget): Changed its type to SocketHandle.
  17193. (writeCheckTarget): Changed its type to SocketHandle.
  17194. (AbstractCommand): Replaced Socket with SocketHandle.
  17195. * src/AbstractCommand.cc
  17196. (AbstractCommand): Replaced Socket with SocketHandle.
  17197. (~AbstractCommand): Removed the deallocation for Socket object.
  17198. (disableReadCheckSocket): New function.
  17199. (setReadCheckSocket): Replaced Socket with SocketHandle.
  17200. (disableWriteCheckSocket): New function.
  17201. (setWriteCheckSocket): Replaced Socket with SocketHandle.
  17202. * src/HttpDownloadCommand.cc
  17203. (DownloadCommand): Replaced Socket with SocketHandle.
  17204. * src/PeerAbstractCommand.h
  17205. (socket): Changed its type to SocketHandle.
  17206. (peer): Changed its type to PeerHandle.
  17207. (setReadCheckSocket): Replaced Socket with SocketHandle.
  17208. (setWriteCheckSocket): Replaced Socket with SocketHandle.
  17209. (disableReadCheckSocket): New function.
  17210. (disableWriteCheckSocket): New function.
  17211. (readCheckTarget): Changed its type to SocketHandle.
  17212. (writeCheckTarget): Changed its type to SocketHandle.
  17213. (PeerAbstractCommand): Replaced Socket with SocketHandle.
  17214. Replaced Peer with PeerHandle.
  17215. * src/HttpRequestCommand.cc
  17216. (HttpRequestCommand): Replaced Socket with SocketHandle.
  17217. Use disableReadCheckSocket.
  17218. * src/PeerInitiateConnectionCommand.h
  17219. (PeerInitiateConnectionCommand): Replaced Peer with PeerHandle.
  17220. * src/PeerChokeCommand.cc
  17221. (UploadFaster::operator()): Replaced Peer with PeerHandle.
  17222. (DownloadFaster::operator()): Replaced Peer with PeerHandle.
  17223. (execute): Use PeerHandle.
  17224. * src/PeerConnection.h
  17225. (HandshakeMessage.h): Removed include of HandshakeMessage.h.
  17226. (socket): Changed its type to SocketHandle.
  17227. (PeerConnection): Replaced Socket with SocketHandle.
  17228. * src/PeerConnection.cc
  17229. (PeerConnection): Replaced Socket with SocketHandle.
  17230. * src/PeerInteractionCommand.h
  17231. (PeerInteractionCommand): Replaced socket with SocketHandle.
  17232. Replaced Peer with PeerHandle.
  17233. * src/PeerInteractionCommand.cc
  17234. (PeerInteractionCommand): Replaced Socket with SocketHandle.
  17235. Replaced Peer with PeerHandle.
  17236. (executeInternal): Use disableWriteCheckSocket.
  17237. Use HandshakeMessageHandle.
  17238. (receiveMessages): Use PeerMessageHandle.
  17239. (prepareForNextPeer): Use PeerHandle.
  17240. * src/HttpProxyRequestCommand.h
  17241. (HttpProxyRequestCommand): Replaced Socket with SocketHandle.
  17242. * src/HttpResponseCommand.cc
  17243. (HttpResponseCommand): Replaced Socket with SocketHandle.
  17244. * src/TorrentMan.cc
  17245. (nullPeer): Added external reference.
  17246. (~TorrentMan): Removed the deallocation of the elements of peers.
  17247. (addPeer): Rewritten.
  17248. (isPeerAvailable): Use nullPeer.
  17249. (deleteOldpeers): Replaced with deleteErrorPeer.
  17250. (deleteErrorPeer): New function.
  17251. (getPeer): Use PeerHandle and nullPeer.
  17252. (hasMissingPiece): Replaced Peer with PeerHandle.
  17253. (getMissingPieceIndex): Replaced Peer with PeerHandle.
  17254. (getMissingFastPieceIndex): Replaced Peer with PeerHandle.
  17255. (getMissingFastPiece): Replaced Peer with PeerHandle.
  17256. (getMissingPiece): Replaced Peer with PeerHandle.
  17257. * src/FtpNegotiateCommand.cc
  17258. (FtpNegotiationCommand): Replaced Peer with PeerHandle.
  17259. (~FtpNegotiationCommand): Removed the deallocation of Sockets.
  17260. (recvGreeting): Use disableWriteCheckSocket.
  17261. (recvPasv): Removed the allocation of Socket.
  17262. Use disableReadCheckSocket.
  17263. (sendRestPasv): Use disableWriteCheckSocket.
  17264. (recvRetr): Changed assertion.
  17265. * src/PeerInteraction.h
  17266. (SharedHandle.h): Included SharedHandle.h.
  17267. (PeerMessageHandle): New type definition.
  17268. (HandshakeMessageHandle): New type definition.
  17269. (MessageQueue): Changed. Now its element is of type PeerMessageHandle.
  17270. (peer): Changed its type to PeerHandle.
  17271. (createHandshakeMessage): Replaced HandshakeMessage with
  17272. HandshakeMessageHandle.
  17273. (createPeerMessage): Replaced PeerMessageHandle with PeerMessage.
  17274. (PeerInteraction): Replaced Peer with PeerHandle.
  17275. Replaced Socket with SocketHandle.
  17276. (addMessage): Replaced PeerMessage with PeerMessageHandle.
  17277. (receiveMessage): Replaced PeerMessage with PeerMessageHandle.
  17278. (receiveHandshake): Replaced HandshakeMessage with
  17279. HandshakeMessageHandle.
  17280. * src/PeerInteraction.cc
  17281. (PeerInteraction): Replaced Peer with PeerHandle.
  17282. Replaced Socket with SocketHandle.
  17283. (~PeerInteraction): Removed the deallocation of the elements of
  17284. messageQueue.
  17285. (MsgPushBack::operator()): Replaced PeerMessage with PeerMessageHandle.
  17286. (isSendingMessageInProgress): Replaced PeerMessage with
  17287. PeerMessageHandle.
  17288. (sendMessages): Use PeerMessageHandle. Removed try-catch block.
  17289. (addMessage): Replaced PeerMessage with PeerMessageHandle.
  17290. (rejectAllPieceMessageInQueue): Use PeerMessageHandle.
  17291. (rejectPieceMessageInQueue): Use PeerMessageHandle.
  17292. (abortPiece): Use PeerMessageHandle.
  17293. (receiveHandshake): Replaced HandshakeMessage with
  17294. HandshakeMessageHandle. Removed try-catch block.
  17295. (createHandshakeMessage): Replaced HandshakeMessage with
  17296. HandshakeMessageHandle.
  17297. (receiveMessage): Replaced PeerMessage with PeerMessageHandle.
  17298. Removed try-catch block.
  17299. (createPeerMessage): Replaced PeerMessage with PeerMessageHandle.
  17300. * src/HttpProxyResponseCommand.cc
  17301. (HttpProxyRequestCommand): Replaced Socket with SocketHandle.
  17302. * src/FtpTunnelResponseCommand.h
  17303. (FtpTunnelResponseCommand): Replaced Socket with SocketHandle.
  17304. * src/HttpConnection.cc
  17305. (HttpConnection): Replaced Socket with SocketHandle.
  17306. * src/PeerAbstractCommand.cc
  17307. (PeerAbstractCommand): Replaced Socket with SocketHandle.
  17308. (~PeerAbstractCommand): Removed the deallocation of socket.
  17309. Use disableReadCheckSocket, disableWriteCheckSocket.
  17310. (disableReadCheckSocket): New function.
  17311. (setReadCheckSocket): Replaced Socket with SocketHandle.
  17312. (disableWriteCheckSocket): New function.
  17313. (setWriteCheckSocket): Replaced Socket with SocketHandle.
  17314. * src/InitiateConnectionCommandFactory.h: Corrected indentation.
  17315. * src/FtpTunnelRequestCommand.cc
  17316. (FtpTunnelRequestCommand): Replaced Socket with SocketHandle.
  17317. (~FtpTunnelRequestCommand): Corrected indentation.
  17318. * src/DownloadCommand.h
  17319. (DownloadCommand): Replaced Socket with SocketHandle.
  17320. * src/PeerListenCommand.cc
  17321. (PeerListenCommand): Removed the initialization of socket.
  17322. (~PeerListenCommand): Removed the deallocation of socket.
  17323. (bindPort): Use SocketHandle.
  17324. (execute): Use SocketHandle and PeerHandle.
  17325. * src/FtpDowndloadCommand.cc
  17326. (FtpDownloadCommand): Replaced Socket with SocketHandle.
  17327. (~FtpDownloadCommand): Removed the deallocation of ctrlSocket.
  17328. * src/main.cc
  17329. (main): Corrected indentation.
  17330. * src/HttpInitiateConnectionCommand.cc
  17331. (HttpInitiateConnectionCommand): Replaced Socket with SocketHandle.
  17332. (executeInternal): Removed the allocation of socket.
  17333. * src/HttpRequestCommand.h
  17334. (HttpRequestCommand): Replaced Socket with SocketHandle.
  17335. * src/FtpNegotiationCommand.h
  17336. (dataSocket): Changed its type to SocketHandle.
  17337. (serverSocket): Changed its type to SocketHandle.
  17338. (FtpNegotiationCommand): Replaced Socket with SocketHandle.
  17339. * src/TorrentMan.h
  17340. (MAX_PEER_UPDATE): Removed.
  17341. (MAX_PEERS): New definition.
  17342. (Peers): The element is now of type PeerHandle.
  17343. (addPeer): Replaced Peer with PeerHandle. Removed 'duplicate' argument.
  17344. (getPeer): Replaced Peer with PeerHandle.
  17345. (deleteOldErrorPeers): Removed.
  17346. (deleteErrorPeer): New function.
  17347. (hasMissingPiece): Replaced Peer with PeerHandle.
  17348. (getMissingPieceIndex): Replaced Peer with PeerHandle.
  17349. (getMissingPiece): Replaced Peer with PeerHandle.
  17350. (getMissingFastPieceIndex): Replaced Peer with PeerHandle.
  17351. (getMissingFastPiece): Replaced Peer with PeerHandle.
  17352. (addActivePeer): Replaced Peer with PeerHandle.
  17353. (deleteActivePeer): Replaced Peer with PeerHandle.
  17354. Added a check for the return value of find.
  17355. * src/FtpTunnelResponseCommand.cc
  17356. (FtpTunnelResponseCommand): Replaced Socket with SocketHandle.
  17357. * src/FtpInitiateConnectionCommand.cc
  17358. (executeInternal): Removed the allocation of socket.
  17359. * src/DownloadEngine.h
  17360. (Sockets): An element is now of type SocketHandle.
  17361. (SockCmdMap): A key is of type SocketHandle, a value is of type int.
  17362. (CommandUuids): New type definition.
  17363. (rsockets): Changed its type to SockCmdMap.
  17364. (wsockets): Changed its type to SockCmdMap.
  17365. (addSocket): Rewritten.
  17366. (deleteSocket): Rewritten.
  17367. (addSocketForReadCheck): Rewritten.
  17368. (deleteSocketForReadCheck): Rewritten.
  17369. (addSocketForWriteCheck): Rewritten.
  17370. (deleteSocketForWriteCheck): Rewritten.
  17371. (PairFind): New template class.
  17372. * src/HttpDownloadCommand.h
  17373. (HttpDownloadCommand): Replaced Socket with SocketHandle.
  17374. * src/FtpConnection.cc
  17375. (FtpConnection): Replaced Socket with SocketHandle.
  17376. (sendPort): Removed the allocation of serverSocket. Removed try-catch
  17377. block.
  17378. * src/InitiateConnectionCommandFactory.cc
  17379. (DlAbortEx.h): Included DlAbortEx.h.
  17380. (createInitiateConnectionCommand): Throw exception if the protocol of
  17381. requested URI is not supported.
  17382. * src/Peer.cc
  17383. (nullPeer): Changed its type to PeerHandle.
  17384. (operator==): New function.
  17385. (operator!=): New function.
  17386. * src/Peer.h
  17387. (SharedHandle.h): Included SharedHandle.h.
  17388. (operator==): New function.
  17389. (operator!=): New function.
  17390. (Peer): Added the default constructor.
  17391. Use resetStatus() to initialize member variables.
  17392. (nullPeer): Removed.
  17393. * src/TrackerUpdateCommand.cc
  17394. (execute): Brushed up using SharedHandle. Replaced MAX_PEER_UPDATE
  17395. with MIN_PEERS.
  17396. * src/PeerListenCommand.h
  17397. (socket): Changed its type to SocketHandle.
  17398. * src/Command.h
  17399. (CommandUuid): New type definition.
  17400. (uuid): New variable.
  17401. (uuidGen): New variable.
  17402. (Command): Added the initialization of uuid.
  17403. (getUuid): New function.
  17404. * src/Socket.h
  17405. (Socket): Removed.
  17406. (SocketHandle): New type definition.
  17407. * src/DownloadEngine.h
  17408. (FindCommand): New function object.
  17409. (run): The portion of socket check was rewritten.
  17410. (SetDescriptor): New function object.
  17411. (AccumulateActiveCommandUuid): New function object.
  17412. (waitData): Rewritten.
  17413. (addSocket): Rewritten.
  17414. (deleteSocket): Rewritten.
  17415. (addSocketForReadCheck): Rewritten.
  17416. (addSocketForWriteCheck): Rewritten.
  17417. (deleteSocketForReadCheck): Rewritten.
  17418. (deleteSocketForWriteCheck): Rewritten.
  17419. * src/HttpProxyResponseCommand.h
  17420. (HttpProxyResponseCommand): Replaced Socket with SocketHandle.
  17421. * src/HttpConnection.h
  17422. (socket): Changed its type to SocketHandle.
  17423. (HttpConnection): Replaced Socket with SocketHandle.
  17424. * src/PeerInitiateConnectionCommand.cc
  17425. (PeerInitiateConnectionCommand): Replaced Peer with PeerHandle.
  17426. (executeInternal): Removed the allocation of socket.
  17427. (prepareForNextPeer): Use PeerHandle.
  17428. * src/PeerMessage.h
  17429. (peer): Changed its type to PeerHandle.
  17430. (getPeer): Replaced Peer with PeerHandle.
  17431. (setPeer): Replaced Peer with PeerHandle.
  17432. * src/DownloadCommand.cc
  17433. (DownloadCommand): Replaced Socket with SocketHandle.
  17434. * src/FtpConnection.h
  17435. (socket): Changed its type to SocketHandle.
  17436. (FtpConnection): Replaced Socket with SocketHandle.
  17437. (sendPort); Replaced Socket with SocketHandle.
  17438. * src/FtpDowndloadCommand.h
  17439. (ctrlSocket): Changed its type to SocketHandle.
  17440. (FtpDownloadCommand): Replaced Socket with SocketHandle.
  17441. * src/HttpProxyRequestCommand.cc
  17442. (HttpProxyRequestCommand): Replaced Socket with SocketHandle.
  17443. * src/FtpTunnelRequestCommand.h
  17444. (FtpTunnelRequestCommand): Replaced Socket with SocketHandle.
  17445. etc
  17446. * src/PeerChokeCommand.h
  17447. (setAllPeerChoked): Removed.
  17448. (setAllPeerResetDelta): Removed.
  17449. * src/PeerChokeCommand.cc
  17450. (setAllPeerChoked): Removed.
  17451. (ChokePeer): New function object.
  17452. (setAllPeerResetDelta): Removed.
  17453. (ResetDelta): New function object.
  17454. (orderByDownloadRate): Fixed a bug: use DowloadFaster, not UploadFaster
  17455. (execute): Show download speed when the local node is a seeder.
  17456. setAllPeerChoked and setAllPeerResetDelta were rewritten
  17457. using STL.
  17458. * src/TrackerWatcherCommand.h
  17459. (MIN_PEERS): Removed.
  17460. * src/TorrentMan.cc
  17461. (getPeer): Replaced MAX_PEER_UPDATE with MIN_PEERS.
  17462. 2006-07-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17463. To fix the bug that .aria2 file is not saved if downloading is stopped
  17464. by the errors:it results that aria2 can not resume downloading:
  17465. * src/main.cc
  17466. (normalDownload): Added the call to save().
  17467. (main): Added the deletion of the elements in 'reserved'.
  17468. To fix log:
  17469. * src/PeerInteraction.cc
  17470. (receiveHandshake): Fixed log.
  17471. 2006-07-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17472. To improve download performance in BitTorrent:
  17473. * src/TorrentMan.cc
  17474. (getPeer): Check the number of connections. Return nullPeer if
  17475. it is greater than MAX_PEER_UPDATE.
  17476. This code was originally here, but was removed in 0.5.1.
  17477. 2006-07-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17478. To improve the conditional compilation:
  17479. * src/MultiDiskWriter.h:
  17480. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17481. * src/MultiDiskWriter.cc:
  17482. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17483. * src/Util.h:
  17484. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17485. Added ENABLE_BITTORRENT around computeFastSet().
  17486. * src/Util.cc:
  17487. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17488. Added ENABLE_BITTORRENT around computeFastSet().
  17489. * src/messageDigest.h:
  17490. Replaced ENABLE_BITTORRENT with ENABLE_SSL.
  17491. * src/ShaVisitor.h:
  17492. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17493. * src/ShaVisitor.cc:
  17494. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17495. * src/main.cc:
  17496. Added ENABLE_BITTORRENT around includes and blocks related to
  17497. BitTorrent.
  17498. Added ENABLE_MESSAGE_DIGEST to skip checksum checking when the message
  17499. digest support is not available.
  17500. * src/AbstractDiskWriter.h:
  17501. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17502. * src/AbstractDiskWriter.cc:
  17503. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17504. * src/MetalinkEntry.cc
  17505. (check): Added ENABLE_MESSAGE_DIGEST. Return true if the message digest
  17506. support is not available.
  17507. To add command-line options for Metalink:
  17508. * src/main.cc:
  17509. Added metalink-version, metalink-language, metalink-os,
  17510. follow-metalink.
  17511. To use EXIT_SUCCESS and EXIT_FAILURE with exit():
  17512. * src/main.cc: Use these definition.
  17513. * Release 0.6.0
  17514. 2006-07-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17515. To add Metalink support(http/ftp only):
  17516. * src/AbstractCommand.h
  17517. (tryReserved): New function.
  17518. * src/AbstractCommand.cc
  17519. (execute): Call tryReserved().
  17520. (tryReserved): New function.
  17521. * src/Request.h
  17522. (Requests): New type definition.
  17523. * src/SegmentMan.h
  17524. (reserved): New variable.
  17525. * src/Util.h
  17526. (fileChecksum): New function.
  17527. (toUpper): New function.
  17528. (toLower): New function.
  17529. * src/Util.cc
  17530. (messageDigest.h): Included.
  17531. (trim): Trim \r\n\t.
  17532. (fileChecksum): New function.
  17533. (toUpper): New function.
  17534. (toLower): New function.
  17535. * src/main.cc
  17536. (normalDownload): New function.
  17537. (main): Added 2 command-line options: metalink-file,
  17538. metalink-connection. Their usage has not been written yet.
  17539. * src/MetalinkProcessor.h: New class.
  17540. * src/Xml2MetalinkProcessor.h: New class.
  17541. * src/Xml2MetalinkProcessor.cc: New class.
  17542. * src/MetalinkEntry.h: New class.
  17543. * src/MetalinkEntry.cc: New class.
  17544. * src/MetalinkResource.h: New class.
  17545. * src/MetalinkResource.cc: New class.
  17546. To add md5 message digest checking:
  17547. * src/messageDigest.h: Rewritten.
  17548. * src/MultiDiskWriter.cc: Updated according to the changes in
  17549. messageDigest.h.
  17550. * src/ShaVisitor.cc: Updated according to the changes in
  17551. messageDigest.h.
  17552. * src/Util.cc: Updated according to the changes in messageDigest.h.
  17553. * src/AbstractDiskWriter.cc: Updated according to the changes in
  17554. messageDigest.h.
  17555. To fix a bug that causes segfault when the payload length in peer
  17556. message is less than 0:
  17557. * src/PeerConnection.cc:
  17558. (receiveMessage): Fixed the bug.
  17559. * src/PeerMessageUtil.cc
  17560. (checkLength): Throw an exception if length is less than or equals to
  17561. 0.
  17562. To add new interfaces to Base64 encoding/decoding:
  17563. * src/Base64.h
  17564. (part_encode): Changed the method signature.
  17565. (encode): New function(overload).
  17566. (decode): New function(overload).
  17567. * src/Base64.cc
  17568. (part_encode): Rewritten.
  17569. (encode): Rewritten.
  17570. (encode): New function(overload).
  17571. To prevent a peer to download same piece if there is an error in
  17572. checksum:
  17573. * src/PieceMessage.cc
  17574. (receivedAction): Call peerInteraction->abortPiece().
  17575. 2006-06-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17576. To fix the bug that causes same have message is sent many times to
  17577. a single peer.
  17578. * src/Time.cc
  17579. (isNewer): Use Util::difftv().
  17580. * src/Util.cc
  17581. (difftv): Added a cast to (long long int).
  17582. * src/TorrentMan.cc
  17583. (advertisePiece): Use push_front.
  17584. (getAdvertisedPieceIndexes): A performance improvement was made.
  17585. To fix the bug that sends tracker requests without a sleep interval
  17586. when the number of connections is less than 15.
  17587. * src/TrackerWatcherCommand.cc
  17588. (execute): Now the number of connections is not a factor to decide
  17589. whether or not a tracker request should be sent or not.
  17590. * src/Time.h
  17591. (setTimeInSec): New function.
  17592. * src/Time.cc
  17593. (setTimeInSec): New function.
  17594. etc.
  17595. * src/ChokeMessage.cc
  17596. (receivedAction): Removed peer->snubbing = false
  17597. * src/PeerConnection.h
  17598. (receiveHandshake): Updated doc.
  17599. * src/TorrentMan.h
  17600. (getAdvertisedPieceIndexes): Updated the method signature.
  17601. * src/TorrentMan.cc
  17602. (getAdvertisedPieceIndexes): Updated the method signature.
  17603. * src/Time.h
  17604. (getTimeInMicros): Added a cast to (long long int).
  17605. (getTimeInMillis): Added a cast to (long long int).
  17606. * Release 0.5.2
  17607. 2006-06-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17608. To make a listening socket non-block:
  17609. * src/SocketCore.h
  17610. (setNonBlockingMode): New function.
  17611. * src/SocketCore.cc
  17612. (setNonBlockingMode): New function.
  17613. (beginListen): Added a call to setNonBlockingMode().
  17614. (acceptConnection): Call setNonBlockingMode().
  17615. (setBlockingMode): Updated.
  17616. To handle tracker's NAT-checking:
  17617. * src/PeerConnection.cc
  17618. (receiveHandshake): 'msg' param is filled with received data and
  17619. its length is assigned to 'length' param, even if all handshake
  17620. message is not yet received.
  17621. * src/PeerInteractionCommand.cc
  17622. (executeInternal): Use peerInteraction->receiveHandshake(true) when
  17623. a new peer connects to localhost.
  17624. A call to peerInteraction->sendHandshake() was removed because
  17625. it is called from peerInteraction->receiveHandshake(true).
  17626. * src/PeerInteraction.h
  17627. (quickReplied): New variable.
  17628. (receiveHandshake): Added an argument.
  17629. * src/PeerInteraction.cc
  17630. (PeerInteraction): Added the initialization of quickReplied.
  17631. (receiveHandshake): Send handshake message as soon as the info hash
  17632. in a handshake message from a peer is correct.
  17633. To change the random part of peer id and key parameter:
  17634. * src/TorrentMan.h
  17635. (key): New variable.
  17636. * src/TorrentMan.cc
  17637. (setupInternal1): Use Util::randomAlpha() to generate random part
  17638. of peer id, which is now "-aria2-"+13 alphabet characters([A-Za-z]).
  17639. key is also generated by Util::randomAlpha() and it is now 8 character
  17640. long.
  17641. * src/Util.h
  17642. (randomAlpha): New function.
  17643. * src/Util.cc
  17644. (randomAlpha): New function.
  17645. * src/TrackerWatcherCommand.cc
  17646. (execute): In a tracker request: Use torrentMan->key as key parameter.
  17647. Added no_peer_id=1.
  17648. Set snubbing flag to false when a choke message is received from a
  17649. snubbed peer.
  17650. * src/ChokeMessage.cc
  17651. (receivedAction): Set snubbing flag to false.
  17652. 2006-06-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17653. * src/TorrentMan.cc (setupInternal1): Fixed peerId generation bug.
  17654. * src/SimpleLogger.h (writeHeader): New function.
  17655. * src/SimpleLogger.cc (writeHeader): New function.
  17656. (writeLog): Fixed the bug that causes segfaults if exception message
  17657. contains an unescaped "%" character.
  17658. * src/TrackerWatcherCommand.cc (execute): Added a short sleep
  17659. when a tracker request fails.
  17660. * src/Request.cc (parseUrl): Query string is now handled properly.
  17661. * Release 0.5.1
  17662. 2006-06-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17663. To add Time class which represents a specific instant in time and
  17664. its precision is microseconds. Time checking procedures were rewritten
  17665. using this object.
  17666. * src/Time.h: New class.
  17667. * src/Time.cc: New class.
  17668. * src/AbstractCommand.h
  17669. (updateCheckPoint): Removed.
  17670. (isTimeoutDetected): Removed.
  17671. (checkPoint): Changed the type to Time.
  17672. (timeout): New variable.
  17673. (setTimeout): New function.
  17674. * src/AbstractCommand.cc
  17675. (AbstractCommand): Removed the initialization of checkPoint.
  17676. Added the initialization of timeout.
  17677. (updateCheckPoint): Removed.
  17678. (isTimeoutDetected): Removed.
  17679. (execute): Use checkPoint.reset() and checkPoint.elapsed().
  17680. * src/PeerChokeCommand.h
  17681. (checkPoint): Changed the type to Time.
  17682. * src/PeerChokeCommand.cc
  17683. (PeerChokeCommand): Removed the initialization of checkPoint.
  17684. (execute): Rewritten using Time object.
  17685. * src/TrackerWatcherCommand.h
  17686. (checkPoint): Changed the type to Time.
  17687. * src/TrackerWatcherCommand.cc
  17688. (TrackerWatcherCommand): Removed the initialization of checkPoint.
  17689. (execute): Rewritten.
  17690. * src/ConsoleDownloadEngine.h
  17691. (cp): Changed the type to Time.
  17692. (startup): Changed the type to Time.
  17693. * src/ConsoleDownloadEngine.cc
  17694. (initStatistics): Use cp.reset(), startup.reset().
  17695. (calculateStatistics): Rewritten using Time object.
  17696. * src/PeerAbstractCommand.h
  17697. (updateCheckPoint): Removed.
  17698. (isTimeoutDetected): Removed.
  17699. (checkPoint): Changed the type to Time.
  17700. * src/PeerAbstractCommand.cc
  17701. (PeerAbstractCommand): Removed the initialization of checkPoint.
  17702. (updateCheckPoint): Removed.
  17703. (isTimeoutDetected): Removed.
  17704. (execute): Use checkPoint.reset() and checkPoint.elapsed().
  17705. * src/PeerInteractionCommand.cc
  17706. (PeerInteractionCommand): Removed the initializations of struct
  17707. timeval variables.
  17708. * src/PeerInteractionCommand.h
  17709. (keepAliveCheckPoint): Changed the type to Time.
  17710. (chokeCheckPoint): Changed the type to Time.
  17711. (freqCheckPoint): Changed the type to Time.
  17712. (haveCheckTime): Changed the type to Time.
  17713. * src/PeerInteractionCommand.cc
  17714. (executeInternal): Rewritten using Time object.
  17715. (detectMessageFlooding): Rewritten using Time object.
  17716. (checkLongTimePeerChoking): Rewritten using Time object.
  17717. (sendKeepAlive): Rewritten using Time object.
  17718. (checkHave): Rewritten using Time object.
  17719. * src/SleepCommand.h
  17720. (checkPoint): Changed the type to Time.
  17721. * src/SleepCommand.cc
  17722. (SleepCommand): Removed the initialization of checkPoint.
  17723. (execute): Rewritten using Time object.
  17724. * src/TorrentAutoSaveCommand.h
  17725. (checkPoint): Changed the type to Time.
  17726. * src/TorrentAutoSaveCommand.cc
  17727. (TorrentAutoSaveCommand): Removed the initialization of checkPoint.
  17728. (execute): Rewritten.
  17729. * src/DownloadCommand.h
  17730. (sw): Changed the type to Time.
  17731. * src/DownloadCommand.cc
  17732. (DownloadCommand): Removed the initialization of sw.
  17733. (executeInternal): Rewritten.
  17734. * src/RequestSlot.h
  17735. (dispatchedTime): Changed the type to Time.
  17736. * src/RequestSlot.cc
  17737. (RequestSlot): Removed the call to setDispatchedTime().
  17738. (setDispatchedTime): Rewirtten.
  17739. (isTimeout): Rewritten.
  17740. (getLatencyInMillis): Rewritten.
  17741. * src/TorrentDownloadEngine.h
  17742. (cp): Changed the type to Time[2].
  17743. (startup): Changed the type to Time.
  17744. * src/TorrentDownloadEngine.cc
  17745. (initStatistics): Rewritten.
  17746. (calculateStatistics): Rewritten.
  17747. * src/DownloadEngine.cc
  17748. (run): Rewritten.
  17749. To detect all attempts to connect to the tracker are failed:
  17750. * src/AbstractCommand.cc
  17751. (execute): Increment e->segmentMan->errors if a command aborted.
  17752. * src/SegmentMan.h
  17753. (errors): New variable.
  17754. * src/SegmentMan.cc
  17755. (SegmentMan): Added the initialization of errors.
  17756. (init): Added the initialization of errors.
  17757. * src/TrackerWatcherCommand.cc
  17758. (execute): If e->segmentMan->errors > 0 then assume that the tracker
  17759. request was failed.
  17760. To handle snubbed peers:
  17761. * src/PeerChokeCommand.cc
  17762. (optUnchokingPeer): Snubbed peers don't get unchoked.
  17763. (execute): Snubbed peers don't get unchoked.
  17764. * src/PeerInteraction.h
  17765. (REQUEST_TIME_OUT): Changed the value from 120 to 60.
  17766. * src/PeerInteraction.cc
  17767. (checkRequestSlot): A peer get marked as "snubbed" if it doesn't send
  17768. back the requested 16k block in 60 seconds.
  17769. * src/PieceMessage.cc
  17770. (receivedAction): A peer's snubbed state is cleard if it sends
  17771. the requested 16k block in 60 seconds.
  17772. * src/Peer.h
  17773. (snubbing): New variable.
  17774. * src/Peer.cc
  17775. (resetStatus): Added snubbed = false.
  17776. To fix the bug that causes have message is not sent:
  17777. * src/PeerInteractionCommand.cc
  17778. (~PeerInteractionCommand): Removed e->torrentMan->unadvertisePiece().
  17779. (FLOODING_CHECK_INTERVAL): New definition(temporal).
  17780. (detectMessageFlooding): Use FLOODING_CHECK_INTERVAL.
  17781. * src/TorrentMan.h
  17782. (HaveEntry): New class.
  17783. (advertisePiece): Rewritten.
  17784. (getAdvertisedPieceIndexes): Rewritten.
  17785. (Haves): Changed the type.
  17786. (getAdvertisedPieceIndexes): Added an argument.
  17787. Others:
  17788. * src/TorrentMan.h
  17789. (DEFAULT_ANNOUNCE_INTERVAL): Changed the value to 1800.
  17790. (DEFAULT_ANNOUNCE_MIN_INTERVAL): Changed the value to 1800.
  17791. * src/TorrentMan.cc
  17792. (getPeer): Don't check the number of connections here.
  17793. (setupInternal1): Changed peerId.
  17794. * src/PeerInteractionCommand.h
  17795. (KEEP_ALIVE_INTERVAL): New definition.
  17796. (sendKeepAlive): Use KEEP_ALIVE_INTERVAL.
  17797. * src/main.cc
  17798. (main): SA_ONESHOT was replaced with SA_RESETHAND.
  17799. * src/DownloadEngine.h: Removed unnecessary header includes.
  17800. 2006-05-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17801. To fix the bug that causes segfaults if a tracker returns a zero-length
  17802. list as "peers":
  17803. * src/TrackerUpdateCommand.cc
  17804. (execute): Added a check to see wether the type of peers is Data*.
  17805. 2006-05-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17806. * Release 0.5.0
  17807. To fix compile issue with gcc3:
  17808. * src/CancelMessage.h
  17809. (ID): Renamed as ID_t
  17810. (ID_t): New enum.
  17811. * src/RejectMessage.h
  17812. (ID): Renamed as ID_t
  17813. (ID_t): New enum.
  17814. * src/SuggestPieceMessage.h
  17815. (ID): Renamed as ID_t
  17816. (ID_t): New enum.
  17817. * src/AllowedFastMessage.h
  17818. (ID): Renamed as ID_t
  17819. (ID_t): New enum.
  17820. * src/PortMessage.h
  17821. (ID): Renamed as ID_t
  17822. (ID_t): New enum.
  17823. * src/HaveNoneMessage.h
  17824. (ID): Renamed as ID_t
  17825. (ID_t): New enum.
  17826. * src/KeepAliveMessage.h
  17827. (ID): Renamed as ID_t
  17828. (ID_t): New enum.
  17829. * src/HaveAllMessage.h
  17830. (ID): Renamed as ID_t
  17831. (ID_t): New enum.
  17832. * src/UnchokeMessage.h
  17833. (ID): Renamed as ID_t
  17834. (ID_t): New enum.
  17835. * src/BitfieldMessage.h
  17836. (ID): Renamed as ID_t
  17837. (ID_t): New enum.
  17838. * src/PieceMessage.h
  17839. (ID): Renamed as ID_t
  17840. (ID_t): New enum.
  17841. * src/RequestMessage.h
  17842. (ID): Renamed as ID_t
  17843. (ID_t): New enum.
  17844. * src/NotInterestedMessage.h
  17845. (ID): Renamed as ID_t
  17846. (ID_t): New enum.
  17847. * src/ChokeMessage.h
  17848. (ID): Renamed as ID_t
  17849. (ID_t): New enum.
  17850. * src/InterestedMessage.h
  17851. (ID): Renamed as ID_t
  17852. (ID_t): New enum.
  17853. * src/HaveMessage.h
  17854. (ID): Renamed as ID_t
  17855. (ID_t): New enum.
  17856. 2006-05-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17857. * src/PeerAbstractCommand.h
  17858. (beforeSocketCheck): Removed.
  17859. * src/PeerAbstractCommand.cc
  17860. Modified in order to call executeInternal() even if socket check
  17861. and upload limit check fail.
  17862. * src/PeerInteractionCommand.h
  17863. (keepAlive): Removed.
  17864. (sendKeepAlive): New function.
  17865. (checkHave): New function.
  17866. (beforeSocketCheck): Removed.
  17867. * src/PeerInteractionCommand.cc
  17868. (executeInternal): Use peerInteraction->checkRequestSlot(). Added
  17869. calls to checkHave() and sendKeepAlive().
  17870. (keepAlive): Renamed to sendKeepAlive().
  17871. (sendKeepAlive): New function.
  17872. (beforeSocketCheck): Removed.
  17873. (checkHave): New function.
  17874. * src/BitfieldMan.cc
  17875. (getMissingIndex): Don't call getMissingIndexRandomly() if max is 0.
  17876. (getMissingUnusedIndex): Don't call getMissingIndexRandomly() if max is
  17877. 0.
  17878. (getMissingIndex): Dont't call getMissingIndexRandomly() if max is 0.
  17879. * src/TorrentMan.h
  17880. (UsedPieces): Removed.
  17881. (Pieces): New type definition.
  17882. * src/Piece.h: Updated doc.
  17883. * src/Peer.h
  17884. (totalLength): Removed.
  17885. * src/Peer.cc
  17886. (updateLatency): Fixed the latency calculation.
  17887. * src/TorrentMan.cc
  17888. (addPeer): Call deleteOldErrorPeers() only if peers.size() is higher
  17889. than or equal to MAX_PEER_LIST_SIZE.
  17890. If duplicate is false and peer.size() >= MAX_PEER_LIST_SIZE,
  17891. then return false.
  17892. (deleteOldErrorPeers): Rewritten.
  17893. (deleteUsedPiece): Fixed the miss use of STL remove.
  17894. * src/PeerInteraction.h
  17895. (Pieces): Removed.
  17896. (deleteTimeoutRequestSlot): Removed.
  17897. (deleteCompletedRequestSlot): Removed.
  17898. (checkRequestSlot): New function.
  17899. * src/PeerInteraction.cc
  17900. (deleteTimeoutRequestSlot): Merged to checkRequestSlot().
  17901. (deleteCompletedRequestSlot): Merged to checkRequestSlot().
  17902. (checkRequestSlot): New function.
  17903. * src/DownloadEngine.cc
  17904. (run): Clear activeSockets before calling waitData().
  17905. (waitData): Removed a call to activeSockets.clear().
  17906. 2006-05-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17907. To attempt to handle EINTR:
  17908. * src/SocketCore.cc
  17909. (isReadable): Added EINTR handling.
  17910. (isWritable): Added EINTR handling.
  17911. To improve the performance:
  17912. * src/AbstractCommand.cc
  17913. (isTimeoutDetected): Use Util::difftvsec() instead of Util::difftv().
  17914. * src/PeerInteractionCommand.h
  17915. (receiveMessage): Renamed as receiveMessages().
  17916. (receiveMessages): New function.
  17917. * src/PeerInteractionCommand.cc
  17918. (executeInternal): receiveMessage loop is moved to new receiveMessages
  17919. () function. detectMessageFlooding() is moved here.
  17920. (detectMessageFlooding): Use Util::difftvsec() instead of Util::difftv
  17921. (). The flooding detection for have message is comment out.
  17922. (checkLongTimePeerChoking): Use Util::difftvsec() instead of
  17923. Util::difftv().
  17924. (receiveMessage): Renamed as receiveMessages().
  17925. (receiveMessages): New function.
  17926. (keepAlive): Use Util::difftvsec() instead of Util::difftv().
  17927. (beforeSocketCheck): Commented out checkLongTimePeerChoking().
  17928. * src/SleepCommand.cc
  17929. (execute): Use Util::difftvsec() instead of Util::difftv().
  17930. * src/BitfieldMan.h
  17931. (getNthBitIndex): New function.
  17932. (hasMissingPiece): New function.
  17933. (getAllMissingIndexes): New function.
  17934. * src/BitfieldMan.cc
  17935. (countSetBit): Rewritten.
  17936. (getNthBitIndex): New function.
  17937. (getMissingIndexRandomly): Rewritten.
  17938. (hasMissingPiece): New function.
  17939. (getAllMissingIndexes): New function.
  17940. * src/TorrentMan.cc
  17941. (hasMissingPiece): New function.
  17942. (deleteUsedPiece): Rewritten using STL.
  17943. * src/PeerInteraction.cc
  17944. (getNewPieceAndSendInterest): Use TorrentMan::hasMissingPiece(), which
  17945. is a little bit faster then TorrentMan::getMissingPieceIndex().
  17946. (addRequests): Updated the number of pending requests.
  17947. * src/PeerAbstractCommand.cc
  17948. (isTimeoutDetected): Use Util::difftvsec() instead of Util::difftv().
  17949. (execute): Returns true if TorrentMan::isHalt() is true.
  17950. Corrected the condition of upload limit checking.
  17951. * src/Util.h
  17952. (countBit): New function.
  17953. * src/Util.cc
  17954. (nbits): New variable.
  17955. (countBit): New function.
  17956. * src/DownloadEngine.h
  17957. (SockCmdMap): New type definition.
  17958. (waitData): Added an argument.
  17959. (addSocket): Added an argument.
  17960. (addSocketForReadCheck): Added an argument.
  17961. (addSocketForWriteCheck): Added an argument.
  17962. * src/DownloadEngine.cc
  17963. (run): Executes only commands whose sockets are ready to read or write.
  17964. All commands are executed in every 1 second.
  17965. (waitData): Calls select() again if it returned
  17966. EINTR.
  17967. (addSocket): Saves socket and command object pair to the map.
  17968. (deleteSocket): Deletes socket and command object pair from the map.
  17969. (addSocketForReadCheck): Added an argument.
  17970. (addSocketForWriteCheck): Added an argument.
  17971. * src/DownloadCommand.cc
  17972. (executeInternal): Use Util::difftvsec() instead of Util::difftv().
  17973. To send "event=stopped" to the tracker when the application finishes:
  17974. * src/PeerChokeCommand.h
  17975. (checkPoint): New variable.
  17976. * src/PeerChokeCommand.cc
  17977. (PeerChokeCommand): Added the initialization of checkPoint.
  17978. (execute): The interval check is now done by checkPoint, not
  17979. SleepCommand. Return true if TorrentMan::isHalt() is true.
  17980. * src/TorrentMan.h
  17981. (halt): New function.
  17982. (hasMissingPiece): New function.
  17983. (isHalt): New function.
  17984. (setHalt): New function.
  17985. * src/TorrentMan.cc
  17986. (TorrentMan): Added the initialization of halt.
  17987. * src/TorrentAutoSaveCommand.h
  17988. (checkPoint): New variable.
  17989. * src/PeerListenCommand.cc
  17990. (execute): Returns true if TorrentMan::isHalt() is true.
  17991. * src/main.cc
  17992. (setSignalHander): Added flags argument.
  17993. (torrentHandler): Just calls TorrentMan::setHalt(true) and returns.
  17994. (main): Set SA_ONESHOT flag of the signal hander of SIGINT and SIGTERM.
  17995. Removed printDownloadAbortMessage() after torrent downloading loop.
  17996. * src/TorrentAutoSaveCommand.cc
  17997. (TorrentAutoSaveCommand): Added the initialization of checkPoint.
  17998. (execute): Returns true if TorrentMan::isHalt() is true.
  17999. The interval check is now done by checkPoint, not SleepCommand.
  18000. * src/TrackerWatcherCommand.cc
  18001. (execute): If TorrentMan::isHalt(), then create a tracker request with
  18002. event=stopped.
  18003. * src/TrackerUpdateCommand.cc
  18004. (prepareForRetry): Do not use SleepCommand here.
  18005. (execute): Returns true if TorrentMan::isHalt() is true.
  18006. Others:
  18007. * src/TorrentMan.cc
  18008. (getMissingPieceIndex): Updated log message.
  18009. * src/PeerInteraction.cc
  18010. (createPeerMessag): Updated log message.
  18011. 2006-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18012. To add the ability to download several pieces in mix in a command and
  18013. increase the number of request slots according to request-cancel
  18014. latency:
  18015. * src/PeerInteractionCommand.cc
  18016. (executeInternal): The number of messages to be received at a time
  18017. is increased from 10 to 50.
  18018. * src/LogFactory
  18019. (getInstance): Added NullLogger.
  18020. * src/NullLogger.h: New class.
  18021. * src/BitfieldMan.h
  18022. (getMissingIndex): New function.
  18023. * src/BitfieldMan.cc
  18024. (getMissingIndex): New function.
  18025. * src/TorrentMan.h
  18026. (checkOutPiece): New function.
  18027. (getMissingPieceIndex): New function.
  18028. (getMissingFastPieceIndex): New function.
  18029. (getMissingFastPiece): New function.
  18030. * src/TorrentMan.cc
  18031. (updatePiece): Rewritten using STL.
  18032. (syncPiece): Rewritten using STL.
  18033. (getMissingPiece): Rewritten using getMissingPieceIndex() and
  18034. checkOutPiece().
  18035. (getMissingPieceIndex): New function.
  18036. (getMissingFastPieceIndex): New function.
  18037. (getMissingFastPiece): New function.
  18038. (checkOutPiece): New function.
  18039. * src/PeerInteraction.h
  18040. (Pieces): New type definition.
  18041. (piece): Removed.
  18042. (pieces): New variable.
  18043. (getNewPieceAndSendInterest): Added the "piece" argument.
  18044. (abortPiece): Added the "piece" argument.
  18045. (abortAllPieces): New function.
  18046. (isInRequestSlot): New function.
  18047. (hasDownloadPiece): Added the "index" argument.
  18048. (setDownloadPiece): Removed.
  18049. (getDownloadPiece): Added the "index" argument.
  18050. (updatePiece): New function.
  18051. (createRequestMessage): Added the "index" argument.
  18052. * src/PeerInteraction.cc
  18053. (onChoked): Rewritten.
  18054. (abortPiece): Rewirtten.
  18055. (abortAllPieces): New function.
  18056. (deleteTimeoutRequestSlot): Rewritten.
  18057. Clarified code a little bit.
  18058. (deleteCompletedRequestSlot): Rewritten.
  18059. (isInRequestSlot): New function.
  18060. (syncPiece): Rewritten.
  18061. (updatePiece): New function.
  18062. (getNewPieceAndSendInterest): Rewritten.
  18063. (addRequests): Rewritten.
  18064. (getDownloadPiece): Rewritten.
  18065. (hasDownloadPiece): Rewritten.
  18066. (createRequestMessage): Added the "index" argument.
  18067. * src/common.h
  18068. (BITFIELD_LEN_FROM_PIECES): Enclosed the variable in parentheses.
  18069. (DIV_FLOOR): New definition.
  18070. * src/PieceMessage.cc
  18071. (receivedAction): Update request-piece latency here.
  18072. * src/RequestSlot.h
  18073. (getLatencyInMillis): New function.
  18074. * src/RequestSlot.cc
  18075. (isTimeout): Rewritten using getLatencyInMillis.
  18076. (getLatencyInMillis): New function.
  18077. * src/Piece.h
  18078. (operator==): New function.
  18079. (getMissingBlockIndex): New function.
  18080. * src/Piece.cc
  18081. (operator==): New function.
  18082. (getMissingBlockIndex): New function.
  18083. * src/Peer.h
  18084. (DEFAULT_LATENCY): New definition.
  18085. (latency): New variable.
  18086. (updateLatency): New function.
  18087. (getLatency): New function.
  18088. * src/Peer.cc
  18089. (resetStatus): Reset latecy.
  18090. (updateLatency): New function.
  18091. 2006-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18092. * src/SocketCore.cc
  18093. (isReadable): Added secure to the condition.
  18094. * src/HttpConnection.cc
  18095. (receiveResponse): Fixed a bug that causes no response header
  18096. exception.
  18097. * src/Peer.h
  18098. (getFastSet): Fixed the return value type.
  18099. 2006-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18100. To remove a wait from download loop:
  18101. * src/DownloadEngine.cc
  18102. (run): Comment out shortSleep.
  18103. To rewrite the message handling:
  18104. * src/SimplePeerMessage.h: New class.
  18105. * src/SimplePeerMessage.cc: New class.
  18106. * src/CancelMessage.h: Derived from SimplePeerMessage.
  18107. (msg): New variable.
  18108. (create): New function.
  18109. (send): Removed.
  18110. (getMessage): New function.
  18111. (getMessageLength): New function.
  18112. * src/CancelMessage.cc
  18113. (create): New function.
  18114. (receivedAction): Replaced deleteRequestMessageInQueue with
  18115. rejectPieceMessageInQueue.
  18116. (send): Removed.
  18117. (getMessage): New function.
  18118. (getMessageLength): New function.
  18119. * src/BitfieldMessage.h: Derived from SimplePeerMessage.
  18120. (msg): New variable.
  18121. (msgLength): New variable.
  18122. (~BitfieldMessage): Deleted msg.
  18123. (send): Removed.
  18124. (getMessage): New function.
  18125. (getMessageLength): New function.
  18126. * src/BitfieldMessage.cc
  18127. (create): New function.
  18128. (send): Removed.
  18129. (getMessage): New function.
  18130. (getMessageLength): New function.
  18131. * src/ChokeMessage.h: Derived from SimplePeerMessage.
  18132. (msg): New variable.
  18133. (sendPredicate): New function.
  18134. (onSendComplete): New function.
  18135. (send): Removed.
  18136. (getMessage): New function.
  18137. (getMessageLength): New function.
  18138. (create): New function.
  18139. * src/ChokeMessage.cc
  18140. (create): New function.
  18141. (send): Removed.
  18142. (sendPredicate): New function.
  18143. (getMessage): New function.
  18144. (getMessageLength): New function.
  18145. (onSendComplete): New function.
  18146. * src/KeepAliveMessage.h: Derived from SimplePeerMessage.
  18147. (msg): New variable.
  18148. (send): Removed.
  18149. (getMessage): New function.
  18150. (getMessageLength): New function.
  18151. * src/KeepAliveMessage.cc
  18152. (send): Removed.
  18153. (getMessage): New function.
  18154. (getMessageLength): New function.
  18155. * src/PortMessage.h
  18156. (create): New function.
  18157. (receivedAction): Updated log message.
  18158. * src/PortMessage.cc: New file.
  18159. * src/UnchokeMessage.h: Derived from SimplePeerMessage.
  18160. (msg): New variable.
  18161. (sendPredicate): New function.
  18162. (onSendComplete): New function.
  18163. (create): New function.
  18164. (send): Removed.
  18165. (getMessage): New function.
  18166. (getMessageLength): New function.
  18167. * src/UnchokeMessage.cc
  18168. (create): New function.
  18169. (send): Removed.
  18170. (sendPredicate): New function.
  18171. (getMessage): New function.
  18172. (getMessageLength): New function.
  18173. (onSendComplete): New function.
  18174. * src/PieceMessage.h
  18175. (leftPieceDataLength): Removed.
  18176. (leftDataLength): New variable.
  18177. (headerSend): New variable.
  18178. (pendingCount): New variable.
  18179. (msgHeader): New variable.
  18180. (sendPieceData): New function.
  18181. (incrementPendingCount): New function.
  18182. (isPendingCountMax): New function.
  18183. (create): New function.
  18184. (getMessageHeader): New function.
  18185. (getMessageHeaderLength): New function.
  18186. * src/PieceMessage.cc
  18187. (create): New function.
  18188. (getMessageHeader): New function.
  18189. (getMessageHeaderLength): New function.
  18190. (send): Rewritten.
  18191. (sendPieceData): New function.
  18192. * src/HaveMessage.h: Derived from SimplePeerMessage.
  18193. (msg): New variable.
  18194. (create): New function.
  18195. (getMessage): New function.
  18196. (getMessageLength): New function.
  18197. * src/HaveMessage.cc
  18198. (create): New function.
  18199. (send): Removed.
  18200. (sendPieceData): New function.
  18201. (getMessage): New function.
  18202. (getMessageLength): New function.
  18203. * src/RequestMessage.h: Derived from SimplePeerMessage.
  18204. (msg): New variable.
  18205. (create): New function.
  18206. (send): Removed.
  18207. (getMessage): New function.
  18208. (getMessageLength): New function.
  18209. * src/RequestMessage.cc
  18210. (create): New function.
  18211. (receivedAction): Added the handling of fast extension.
  18212. Deleted torrentMan->addUploadLength, torrentMan->addDeltaUploadLength.
  18213. (send): Removed.
  18214. (getMessage): New function.
  18215. (getMessageLength): New function.
  18216. * src/InterestedMessage.h: Derived from SimplePeerMessage.
  18217. (msg): New variable.
  18218. (sendPredicate): New function.
  18219. (onSendComplete): New function.
  18220. (create): New function.
  18221. (getMessage): New function.
  18222. (getMessageLength): New function.
  18223. * src/InterestedMessage.cc
  18224. (create): New function.
  18225. (send): Removed.
  18226. (sendPieceData): New function.
  18227. (getMessage): New function.
  18228. (getMessageLength): New function.
  18229. (onSendComplete): New function.
  18230. * src/NotInterestedMessage.h: Derived from SimplePeerMessage.
  18231. (msg): New variable.
  18232. (sendPieceData): New function.
  18233. (onSendComplete): New function.
  18234. (create): New function.
  18235. (send): Removed.
  18236. (getMessage): New function.
  18237. (getMessageLength): New function.
  18238. * src/NotInterestedMessage.cc
  18239. (create): New function.
  18240. (send): Removed.
  18241. (sendPredicate): New function.
  18242. (getMessage): New function.
  18243. (getMessageLength): New function.
  18244. (onSendComplete): New function.
  18245. * src/AllowedFastMessage.h: New class.
  18246. * src/AllowedFastMessage.cc: New class.
  18247. * src/RejectMessage.h: New class.
  18248. * src/RejectMessage.cc: New class.
  18249. * src/SuggestPieceMessage.h: New class.
  18250. * src/SuggestPieceMessage.cc: New class.
  18251. * src/HaveAllMessage.h: New class.
  18252. * src/HaveAllMessage.cc: New class.
  18253. * src/HaveNoneMessage.h: New class.
  18254. * src/HaveNoneMessage.cc: New class.
  18255. * src/HandshakeMessage.h: Derived from SimplePeerMessage.
  18256. (msg): New variable.
  18257. (reserved): New variable.
  18258. (create): New function.
  18259. (getId): New function.
  18260. (receivedAction): New function.
  18261. (getMessage): New function.
  18262. (getMessageLength): New function.
  18263. (isFastExtensionSupported): New function.
  18264. * src/HandshakeMessage.cc
  18265. (HandshakeMessage): Moved here from HandshakeMessage.h.
  18266. (create): New function.
  18267. (getMessage): New function.
  18268. (getMessageLength): New function.
  18269. (toString): Added the output of reserved field.
  18270. (check): Added const qualifier.
  18271. (isFastExtensionSupported): New function.
  18272. * src/PeerMessageUtil.h
  18273. (createChokeMessage): Removed.
  18274. (createUnchokeMessage): Removed.
  18275. (createInterestedMessage): Removed.
  18276. (createNotInterestedMessage): Removed.
  18277. (createHaveMessage): Removed.
  18278. (createBitfieldMessage): Removed.
  18279. (createRequestMessage): Removed.
  18280. (createCancelMessage): Removed.
  18281. (createPieceMessage): Removed.
  18282. (createPortMessage): Removed.
  18283. (createChokeMessage): Removed.
  18284. (createUnchokeMessage): Removed.
  18285. (createInterestedMessage): Removed.
  18286. (createNotInterestedMessage): Removed.
  18287. (createHaveMessage): Removed.
  18288. (createBitfieldMessage): Removed.
  18289. (createRequestMessage): Removed.
  18290. (createCancelMessage): Removed.
  18291. (createPieceMessage): Removed.
  18292. (createKeepAliveMessage): Removed.
  18293. (createHandshakeMessage): Removed.
  18294. (setIntParam): New function.
  18295. (createPeerMessageString): New function.
  18296. * src/PeerMessageUtil.cc
  18297. (createChokeMessage): Removed.
  18298. (createUnchokeMessage): Removed.
  18299. (createInterestedMessage): Removed.
  18300. (createNotInterestedMessage): Removed.
  18301. (createHaveMessage): Removed.
  18302. (createBitfieldMessage): Removed.
  18303. (createRequestMessage): Removed.
  18304. (createCancelMessage): Removed.
  18305. (createPieceMessage): Removed.
  18306. (createPortMessage): Removed.
  18307. (createRequestMessage): Removed.
  18308. (createCancelMessage): Removed.
  18309. (createPieceMessage): Removed.
  18310. (createHaveMessage): Removed.
  18311. (createChokeMessage): Removed.
  18312. (createUnchokeMessage): Removed.
  18313. (createInterestedMessage): Removed.
  18314. (createNotInterestedMessage): Removed.
  18315. (createBitfieldMessage): Removed.
  18316. (createKeepAliveMessage): Removed.
  18317. (createHandshakeMessage): Removed.
  18318. (setIntParam): New function.
  18319. (createPeerMessageString): New function.
  18320. * src/PeerConnection.h
  18321. (peer): Removed.
  18322. (torrentMan): Removed.
  18323. (createNLengthMessage): Removed.
  18324. (setIntParam): Removed.
  18325. (writeOutgoingMessageLog): Removed all overloaded functions.
  18326. (PeerConnection): Deleted peer and torrentMan from its arguments.
  18327. (sendMessage): New function.
  18328. (sendHandshake): Removed.
  18329. (sendKeepAlive): Removed.
  18330. (sendChoke): Removed.
  18331. (sendUnchoke): Removed.
  18332. (sendInterested): Removed.
  18333. (sendNotInterested): Removed.
  18334. (sendHave): Removed.
  18335. (sendBitfield): Removed.
  18336. (sendRequest): Removed.
  18337. (sendPiece): Removed.
  18338. (sendPieceHeader): Removed.
  18339. (sendPieceData): Removed.
  18340. (sendCancel): Removed.
  18341. (getPeer): Removed.
  18342. * src/PeerConnection.cc
  18343. (PeerConnection): Deleted peer and torrentMan from its arguments.
  18344. (sendHandshake): Removed.
  18345. (sendKeepAlive): Removed.
  18346. (createNLengthMessage): Removed.
  18347. (setIntParam): Removed.
  18348. (writeOutgoingMessageLog): Removed all overloaded functions.
  18349. (sendChoke): Removed.
  18350. (sendUnchoke): Removed.
  18351. (sendInterested): Removed.
  18352. (sendNotInterested): Removed.
  18353. (sendHave): Removed.
  18354. (sendBitfield): Removed.
  18355. (sendRequest): Removed.
  18356. (sendPiece): Removed.
  18357. (sendPieceHeader): Removed.
  18358. (sendPieceData): Removed.
  18359. (sendMessage): New function.
  18360. (sendCancel): Removed.
  18361. * src/PeerInteractionCommand.cc
  18362. (PeerInteractionCommand): Call setUploadLimit.
  18363. (executeInternal): Call setUploadLimit.
  18364. Added the handling of "inProgress" state of handshake message.
  18365. Call sendBitfield() or sendAllowdFast() instead of deprecated
  18366. sendNow().
  18367. (keepAlive): Call addMessage and sendMessage instead of deprecated
  18368. sendNow().
  18369. (beforeSocketCheck): Call addMessage instead of deprecated trySendNow()
  18370. * src/TorrentMan.h
  18371. (PEER_ID_LENGTH): New definition.
  18372. (hasAllPieces): New function.
  18373. * src/TorrentMan.cc
  18374. (getMissingPiece): Added the handling of fast extension.
  18375. (cancelPiece): Call updatePiece().
  18376. (hasAllPieces): New function.
  18377. * src/PeerInteraction.h
  18378. (fastSet): New variable.
  18379. (getNewPieceAndSendInterest): Changed the return type to void.
  18380. (send): Renamed as sendMessages.
  18381. (deleteAllRequestSlot): Removed.
  18382. (deleteRequestMessageInQueue): Renamed as rejectPieceMessageInQueue.
  18383. (cancelAllRequest): Removed all overloaded functions.
  18384. (deleteAllRequestSlot): Removed.
  18385. (deletePieceMessageInQueue): Renamed as rejectAllPieceMessageInQueue.
  18386. (rejectPieceMessageInQueue): New function.
  18387. (rejectAllPieceMessageInQueue): New function.
  18388. (onChoked): New function.
  18389. (isSendingMessageInProgress): New function.
  18390. (getCorrespondingRequestSlot): Changed its arguments.
  18391. (isInFastSet): New function.
  18392. (addFastSetIndex): New function.
  18393. (addRequests): New function.
  18394. (sendNow): Removed.
  18395. (trySendNow): Removed.
  18396. (sendBitfield): New function.
  18397. (sendAllowdFast): New function.
  18398. (createHaveAllMessage): New function.
  18399. (createHaveNoneMessage): New function.
  18400. (createRejectMessage): New function.
  18401. (createAllowedFastMessage): New function.
  18402. * src/PeerInteraction.cc
  18403. (send): Renamed as sendMessages.
  18404. (sendMessages): New function.
  18405. (MsgPushBack): New class.
  18406. (isSendingMessageInProgress): New function.
  18407. (deletePieceMessageInQueue): Renamed as rejectAllPieceMessageInQueue.
  18408. (rejectAllPieceMessageInQueue): New function.
  18409. Added the handling of fast extension.
  18410. (deleteRequestMessageInQueue): Renamed as rejectPieceMessageInQueue.
  18411. (rejectPieceMessageInQueue): New function.
  18412. Added the handling of fast extension.
  18413. (deleteRequestSlot): Replaced for loop with std::find.
  18414. (onChoked): New function.
  18415. (deleteAllRequestSlot): Removed.
  18416. (abortPiece): Rewirtten.
  18417. (deleteTimeoutRequestSlot): Updated log messages.
  18418. (getCorrespondingRequestSlot): Changed its arguments.
  18419. (cancelAllRequest): Removed all overloaded functions.
  18420. (receiveHandshake): Added the check to see whether an incoming peer
  18421. supports fast extension.
  18422. (createHandshakeMessage): Use HandshakeMessage::create instead of
  18423. PeerMessageUtil.
  18424. (createPeerMessage): Use create() of each message class instead of
  18425. PeerMessageUtil.
  18426. HaveAllMessage, HaveNoneMessage, RejectMessage, SuggestPieceMessage,
  18427. AllowedFastMessage were added.
  18428. (getNewPieceAndSendInterest): Changed its return value type to void.
  18429. Added the handling of fast extension.
  18430. (addRequests): New function.
  18431. (sendNow): Removed.
  18432. (sendHandshake): Rewritten.
  18433. (trySendNow): Removed.
  18434. (sendBitfield): New function.
  18435. (sendAllowdFast): New function.
  18436. (isInFastSet): New function.
  18437. (addFastSetIndex): New function.
  18438. (createRequestMessage): Use RequestMessage::create instead of
  18439. PeerMessageUtil.
  18440. (createCancelMessage): Use CancelMessage::create instead of
  18441. PeerMessageUtil.
  18442. (createPieceMessage): Use PieceMessage::create instead of
  18443. PeerMessageUtil.
  18444. (createHaveMessage): Use HaveMessage::create instead of
  18445. PeerMessageUtil.
  18446. (createChokeMessage): Use ChokeMessage::create instead of
  18447. PeerMessageUtil.
  18448. (createUnchokeMessage): Use UnchokeMessage::create instead of
  18449. PeerMessageUtil.
  18450. (createInterestedMessage): Use InterestedMessage::create instead of
  18451. PeerMessageUtil.
  18452. (createNotInterestedMessage): Use NotInterestedMessage::create instead
  18453. of PeerMessageUtil.
  18454. (createBitfieldMessage): Use BitfieldMessage::create instead of
  18455. PeerMessageUtil.
  18456. (createKeepAliveMessage): Use KeepAliveMessage::create instead of
  18457. PeerMessageUtil.
  18458. (createHaveAllMessage): New function.
  18459. (createHaveNoneMessage): New function.
  18460. (createRejectMessage): New function.
  18461. (createAllowedFastMessage: New function.
  18462. * src/Util.h
  18463. (sha1Sum): New function.
  18464. (computeFastSet): New function.
  18465. * src/Util.cc
  18466. (sha1Sum): New function.
  18467. (computeFastSet): New function.
  18468. * src/Peer.h
  18469. (fastExtensionEnabled): New variable.
  18470. (fastSet): New variable.
  18471. (setAllBitfield): New function.
  18472. (setFastExtensionEnabled): New function.
  18473. (isFastExtensionEnabled): New function.
  18474. (addFastSetIndex): New function.
  18475. (getFastSet): New function.
  18476. (isInFastSet): New function.
  18477. (countFastSet): New function.
  18478. * src/Peer.cc
  18479. (isInFastSet): New function.
  18480. (addFastSetIndex): New function.
  18481. (setAllBitfield): New function.
  18482. * src/AbstractCommand.cc (execute): Changed the procedure of checking
  18483. sockets.
  18484. * src/PeerAbstractCommand.cc
  18485. (PeerAbstractCommand): Added the initialization for uploadLimitCheck
  18486. and uploadLimit.
  18487. (execute): Changed the procedure of checking sockets. The upload speed
  18488. checking were added.
  18489. (setUploadLimit): New function.
  18490. (setUploadLimitCheck): New function.
  18491. * src/PeerAbstractCommand.h
  18492. (setUploadLimit): New function.
  18493. (setUploadLimitCheck): New function.
  18494. (uploadLimit): New variable.
  18495. (uploadLimitCheck): New variable.
  18496. To contact a tracker regularly:
  18497. * src/TrackerWatcherCommand.h (interval): New variable.
  18498. (checkPoint): New variable.
  18499. (TrackerWatcherCommand): Added interval argument.
  18500. * src/TrackerWatcherCommand.cc
  18501. (TrackerWatcherCommand): Initialized checkPoint.
  18502. (execute): Now a tracker is contacted in every specified period.
  18503. If peer list is not needed, send request with numwant=0.
  18504. * src/TrackerUpdateCommand.cc
  18505. (execute): Updated log messages.
  18506. * src/DownloadEngine.cc
  18507. (~DownloadEngine): Removed two asserts.
  18508. (waitData): Uncommented wfds. May be a bug fix.
  18509. 2006-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18510. * src/PeerInteractionCommand.h
  18511. (checkInactiveConnection): Removed.
  18512. * src/PeerInteractionCommand.cc
  18513. (executeInternal): Removed following function calls:
  18514. detectMessageFlooding(), checkLongTimePeerChoking and
  18515. checkInactiveConnection().
  18516. (checkInactiveConnection): Removed.
  18517. (detectMessageFlooding): Removed function call to
  18518. checkInactiveConnection().
  18519. * src/PeerMessageUtil.h
  18520. (createChokeMessage): New function. Overload.
  18521. (createUnchokeMessage): New function. Overload.
  18522. (createInterestedMessage): New function. Overload.
  18523. (createNotInterestedMessage): New function. Overload.
  18524. (createHaveMessage): New function. Overload.
  18525. (createBitfieldMessage): New function. Overload.
  18526. (createRequestMessage): New function. Overload.
  18527. (createCancelMessage): New function. Overload.
  18528. (createPieceMessage): New function. Overload.
  18529. (createKeepAliveMessage): New function. Overload.
  18530. * src/PeerMessageUtil.cc
  18531. (createChokeMessage): New function. Overload.
  18532. (createUnchokeMessage): New function. Overload.
  18533. (createInterestedMessage): New function. Overload.
  18534. (createNotInterestedMessage): New function. Overload.
  18535. (createHaveMessage): New function. Overload.
  18536. (createBitfieldMessage): New function. Overload.
  18537. (createRequestMessage): New function. Overload.
  18538. (createCancelMessage): New function. Overload.
  18539. (createPieceMessage): New function. Overload.
  18540. (createKeepAliveMessage): New function. Overload.
  18541. * src/SendMessageQueue.cc
  18542. (createRequestMessage): Use PeerMessageUtil.
  18543. (createCancelMessage): Use PeerMessageUtil.
  18544. (createPieceMessage): Use PeerMessageUtil.
  18545. (createHaveMessage): Use PeerMessageUtil.
  18546. (createChokeMessage): Use PeerMessageUtil.
  18547. (createUnchokeMessage): Use PeerMessageUtil.
  18548. (createInterestedMessage): Use PeerMessageUtil.
  18549. (createNotInterestedMessage): Use PeerMessageUtil.
  18550. (createBitfieldMessage): Use PeerMessageUtil.
  18551. (createKeepAliveMessage): Use PeerMessageUtil.
  18552. * src/SendMessageQueue.h: Renamed to PeerInteraction.h
  18553. * src/SendMessageQueue.cc: Renamed to PeerInteraction.cc
  18554. * src/PeerInteraction.h: New class.
  18555. * src/PeerInteraction.cc: New class.
  18556. 2006-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18557. Each peer message has its own class.
  18558. * src/PendingMessages.h: Removed.
  18559. * src/PendingMessages.cc: Removed. The sending process was moved to
  18560. each message class.
  18561. * src/RequestSlotMan.h: Removed.
  18562. * src/RequestSlotMan.cc: Removed. All functionarities were moved to
  18563. SendMessageQueue.
  18564. * src/RequestMessage.h: New class.
  18565. * src/RequestMessage.cc: New class.
  18566. * src/CancelMessage.h: New class.
  18567. * src/CancelMessage.cc: New class.
  18568. * src/BitfieldMessage.h: New class.
  18569. * src/BitfieldMessage.cc: New class.
  18570. * src/ChokeMessage.h: New class.
  18571. * src/ChokeMessage.cc: New class.
  18572. * src/KeepAliveMessage.h: New class.
  18573. * src/KeepAliveMessage.cc: New class.
  18574. * src/PortMessage.h: New class.
  18575. * src/UnchokeMessage.h: New class.
  18576. * src/UnchokeMessage.cc: New class.
  18577. * src/PieceMessage.h: New class.
  18578. * src/PieceMessage.cc: New class.
  18579. * src/HaveMessage.h: New class.
  18580. * src/HaveMessage.cc: New class.
  18581. * src/BitfieldMessage.h: New class.
  18582. * src/BitfieldMessage.cc: New class.
  18583. * src/NotInterestedMessage.h: New class.
  18584. * src/NotInterestedMessage.cc: New class.
  18585. * src/InterestedMessage.h: New class.
  18586. * src/InterestedMessage.cc: New class.
  18587. * src/HandshakeMessage.h (sendMessageQueue): New variable.
  18588. (getSendMessageQueue): New function.
  18589. (setSendMessageQueue): New function.
  18590. * src/HandshakeMessage.cc: New class.
  18591. * src/PeerConnection.h (receiveMessage): Changed return value and
  18592. arguments.
  18593. (receiveHandshake): Changed return value and arguments.
  18594. * src/PeerConnection.cc (receiveMessage): Do not create message class
  18595. here.
  18596. (receiveHandshake): Do not create handshake class here.
  18597. * src/PeerInteractionCommand.h (peerConnection): Removed.
  18598. (piece): Removed.
  18599. (syncPiece): Removed.
  18600. (sendInterest): Removed.
  18601. (sendMessages): Removed.
  18602. (createRequestPendingMessage): Removed.
  18603. (checkPieceHash): Removed.
  18604. (erasePieceOnDisk): Removed.
  18605. (getNewPieceAndSendInterest): Removed.
  18606. (onGotNewPice): Removed.
  18607. (onGotWrongPiece): Removed.
  18608. * src/PeerInteractionCommand.cc (PeerInteractionCommand):
  18609. Removed peerConnection, piece.
  18610. (~PeerInteractionCommand): Removed peerConnection.
  18611. (executeInternal): Use sendMessageQueue instead of peerConnection.
  18612. (syncPiece): Moved to SendMessageQueue.
  18613. (decideChoking): Removed PendingMessage.
  18614. (receiveMessage): Use sendMessageQueue instead of peerConnection.
  18615. The action after receiving peer message was moved to each message
  18616. class.
  18617. (onGotNewPice): Moved to SendMessageQueue.
  18618. (onGotWrongPiece): Moved to SendMessageQueue.
  18619. (getNewPieceAndSendInterest): Moved to SendMessageQueue.
  18620. (sendInterest): Moved to SendMessageQueue.
  18621. (createRequestPendingMessage): Removed.
  18622. (sendMessages): Moved to SendMessageQueue.
  18623. (onAbort): Use SendMessageQueue::abortPiece()
  18624. (keepAlive): Use sendMessageQueue instead of peerConnection.
  18625. (beforeSocketCheck): Use sendMessageQueue instead of peerConnection.
  18626. (checkPieceHash): Moved to SendMessageQueue.
  18627. (erasePieceOnDisk): Moved to SendMessageQueue.
  18628. * src/PeerMessageUtil.h
  18629. (createBitfieldMessage): Removed.
  18630. (createHaveMessage): Changed return value and arguments.
  18631. (createBitfieldMessage): Changed return value and arguments.
  18632. (createRequestCancelMessage): Removed.
  18633. (createPieceMessage): Changed return value and arguments.
  18634. (getShortIntParam): New function.
  18635. (checkIndex): Changed arguments.
  18636. (checkBegin): Changed arguments.
  18637. (checkLength): Changed arguments.
  18638. (checkPieceOffset): Removed.
  18639. (checkRange): New function.
  18640. (checkBitfield): Changed arguments.
  18641. (createPeerMessage): Removed.
  18642. (checkIntegrity): Removed.
  18643. (createHandshakeMessage): Changed arguments.
  18644. (createChokeMessage): New function.
  18645. (createUnchokeMessage): New function.
  18646. (createInterestedMessage): New function.
  18647. (createNotInterestedMessage): New function.
  18648. (createRequestMessage): New function.
  18649. (createCancelMessage): New function.
  18650. (createPortMessage): New function.
  18651. * src/PeerMessageUtil.cc
  18652. (createBitfieldMessage): Removed.
  18653. (createHaveMessage): Changed return value and arguments.
  18654. (createBitfieldMessage): Changed return value and arguments.
  18655. (createRequestCancelMessage): Removed.
  18656. (createPieceMessage): Changed return value and arguments.
  18657. (getShortIntParam): New function.
  18658. (checkIndex): Changed arguments.
  18659. (checkBegin): Changed arguments.
  18660. (checkLength): Changed arguments.
  18661. (checkPieceOffset): Removed.
  18662. (checkRange): New function.
  18663. (checkBitfield): Changed arguments.
  18664. (createPeerMessage): Removed.
  18665. (checkIntegrity): Removed.
  18666. (createHandshakeMessage): Changed arguments.
  18667. (createChokeMessage): New function.
  18668. (createUnchokeMessage): New function.
  18669. (createInterestedMessage): New function.
  18670. (createNotInterestedMessage): New function.
  18671. (createRequestMessage): New function.
  18672. (createCancelMessage): New function.
  18673. (createPortMessage): New function.
  18674. * src/PeerMessage.h
  18675. (id): Removed.
  18676. (index): Removed.
  18677. (begin): Removed.
  18678. (length): Removed.
  18679. (bitfield): Removed.
  18680. (bitfieldLength): Removed.
  18681. (block): Removed.
  18682. (blockLength): Removed.
  18683. (inProgress): New variable.
  18684. (cuid): New variable.
  18685. (peer): New variable.
  18686. (sendMessageQueue): New variable.
  18687. (logger): New variable.
  18688. (setBitfield): Removed.
  18689. (getBitfield): Removed.
  18690. (setBlock): Removed.
  18691. (getBlock): Removed.
  18692. (getBitfieldLength): Removed.
  18693. (getBlockLength): Removed.
  18694. (isInProgress): New function.
  18695. (toString): Made pure virtual.
  18696. (check): New function.
  18697. (send): New function.
  18698. (receivedAction): New function.
  18699. (getId): Made pure virtual.
  18700. (setId): Removed.
  18701. (getIndex): Removed.
  18702. (setIndex): Removed.
  18703. (getBegin): Removed.
  18704. (setBegin): Removed.
  18705. (getLength): Removed.
  18706. (setLength): Removed.
  18707. (getCuid): New function.
  18708. (setCuid): New function.
  18709. (getPeer): New function.
  18710. (setPeer): New function.
  18711. (getSendMessageQueue): New function.
  18712. (setSendMessageQueue): New function.
  18713. (ID): Removed.
  18714. * src/PeerMessage.cc
  18715. (setBitfield): Removed.
  18716. (setBlock): Removed.
  18717. (toString): Removed.
  18718. * src/TorrentMan.h
  18719. (getPieceLength): New function.
  18720. (getPieceLength): New function.
  18721. * src/SendMessageQueue.h
  18722. (REQUEST_TIME_OUT): New definition.
  18723. (RequestSlots): New definition.
  18724. (MessageQueue): New definition.
  18725. (requestSlotMan): Removed.
  18726. (pendingMessages): Removed.
  18727. (requestSlots): New variable.
  18728. (messageQueue): New variable.
  18729. (torrentMan): New variable.
  18730. (peerConnection): New variable.
  18731. (peer): New variable.
  18732. (piece): New variable.
  18733. (getNewPieceAndSendInterest): New function.
  18734. (createPeerMessage): New function.
  18735. (createHandshakeMessage): New function.
  18736. (send): Made private.
  18737. (setPeerMessageCommonProperty): New function.
  18738. (deleteAllRequestSlot): New function.
  18739. (deleteRequestMessageInQueue): New function.
  18740. (cancelAllRequest): Made private.
  18741. (cancelAllRequest): Made private.
  18742. (countRequestSlot): Made private.
  18743. (addPendingMessage): Removed.
  18744. (deletePendingPieceMessage): Removed.
  18745. (deletePendingRequestMessage): Removed.
  18746. (addMessage): New function.
  18747. (deletePieceMessageInQueue): New function.
  18748. (deleteTimeoutRequestSlot): Changed argument.
  18749. (deleteCompletedRequestSlot): Changed argument.
  18750. (getCorrespoindingRequestSlot): Renamed to getCorrespondingRequestSlot.
  18751. (getCorrespondingRequestSlot): New function.
  18752. (countPendingMessage): Removed.
  18753. (countMessageInQueue): New function.
  18754. (getTorrentMan): New function.
  18755. (getPeerConnection): New function.
  18756. (hasDownloadPiece): New function.
  18757. (getDownloadPiece): New function.
  18758. (setDownloadPiece): New function.
  18759. (syncPiece): New function.
  18760. (sendMessages): New function.
  18761. (sendNow): New function.
  18762. (trySendNow): New function.
  18763. (abortPiece): New function.
  18764. (sendHandshake): New function.
  18765. (receiveMessage): New function.
  18766. (receiveHandshake): New function.
  18767. (createRequestMessage): New function.
  18768. (createCancelMessage): New function.
  18769. (createPieceMessage): New function.
  18770. (createHaveMessage): New function.
  18771. (createChokeMessage): New function.
  18772. (createUnchokeMessage): New function.
  18773. (createInterestedMessage): New function.
  18774. (createNotInterestedMessage): New function.
  18775. (createBitfieldMessage): New function.
  18776. (createKeepAliveMessage): New function.
  18777. * src/SendMessageQueue.cc
  18778. (SendMessageQueue): Removed requestSlotMan.
  18779. Instantiated peerConnection here.
  18780. (~SendMessageQueue): Removed requestSlotMan.
  18781. Added deletion of peerConnection and the contents of messageQueue.
  18782. (send): Updated according to the change of messageQueue.
  18783. (addPendingMessage): Renamed to addMessage.
  18784. (addMessage): New function.
  18785. (deletePendingPieceMessage): Renamed to deletePieceMessageInQueue.
  18786. (deletePieceMessageInQueue): New function.
  18787. (deletePendingRequestMessage): Renamed to deleteRequestMessageInQueue.
  18788. (deleteRequestMessageInQueue): New function.
  18789. (deleteRequestSlot): RequestSlotMan::deleteRequestSlot(...) was moved
  18790. here.
  18791. (deleteTimeoutRequestSlot): RequestSlotMan::deleteTimeoutRequestSlot
  18792. (...) was moved here.
  18793. (deleteAllRequestSlot): RequestSlotMan::deleteAllRequestSlot(...) was
  18794. moved here.
  18795. (deleteCompletedRequestSlot):
  18796. RequestSlotMan::deleteCompletedRequestSlot(...) was moved here.
  18797. (getCorrespondingRequestSlot):
  18798. RequestSlotMan::getCorrespoindingRequestSlot(...) was moved here.
  18799. And renamed to getCorrespondingRequestSlot, correcting a typo.
  18800. (countPendingMessage): Renamed to countMessageInQueue.
  18801. (countMessageInQueue): New function.
  18802. (countRequestSlot): RequestSlotMan::countRequestSlot() was moved here.
  18803. (receiveHandshake): New function.
  18804. (createHandshakeMessage): New function.
  18805. (receiveMessage): New function.
  18806. (createPeerMessage): New function.
  18807. (syncPiece): New function.
  18808. (getNewPieceAndSendInterest): New function.
  18809. (sendMessages): New function.
  18810. (sendNow): New function.
  18811. (trySendNow): New function.
  18812. (sendHandshake): New function.
  18813. (abortPiece): New function.
  18814. (getDownloadPiece): New function.
  18815. (getPeerMessageCommonProperty): New function.
  18816. (createRequestMessage): New function.
  18817. (createCancelMessage): New function.
  18818. (createPieceMessage): New function.
  18819. (createHaveMessage): New function.
  18820. (createChokeMessage): New function.
  18821. (createUnchokeMessage): New function.
  18822. (createInterestedMessage): New function.
  18823. (createNotInterestedMessage): New function.
  18824. (createBitfieldMessage): New function.
  18825. (createKeepAliveMessage): New function.
  18826. To add simple Content-Disposition support:
  18827. * src/HttpResponseCommand.h (determinFilename): New function.
  18828. * src/HttpResponseCommand.cc (executeInternal):
  18829. Use determinFilename(headers) instead of req->getFile() when comparing
  18830. filename.
  18831. (determinFilename): New function.
  18832. (handleDefaultEncoding): Use determinFilename(headers) instead of
  18833. req->getFile().
  18834. (handleOtherEncoding): Use determinFilename(headers) instead of
  18835. req->getFile().
  18836. * src/Util.h (getContentDispositionFilename): New function.
  18837. * src/Util.cc (getContentDispositionFilename): New function.
  18838. * src/LogFactory.h (release): New function.
  18839. * src/LogFactory.cc (release): New function.
  18840. To fix a bug that causes out-of-bound exception when HTTP status
  18841. line is wrong:
  18842. * src/HttpConnection.cc (receiveResponse): Added a check for header
  18843. size.
  18844. * src/common.h (Deleter): New class.
  18845. * src/SegmentMan.cc
  18846. (~SegmentMan): Added deletion of splitter and diskWriter.
  18847. * src/DownloadEngine.h
  18848. (Commands): Use deque.
  18849. (clearQueue): New function.
  18850. * src/DownloadEngine.cc
  18851. (~DownloadEngine): Added deletion of segmentMan.
  18852. (cleanQueue): New function.
  18853. * src/TorrentDownloadEngine.h
  18854. (TorrentDownloadEngine): The implementation was moved to
  18855. TorrentDownloadEngine.cc.
  18856. (~TorrentDownloadEngine): The implementation was moved to
  18857. TorrentDownloadEngine.cc.
  18858. * src/TorrentDownloadEngine.cc
  18859. (~TorrentDownloadEngine): Added deletion of torrentMan.
  18860. * src/main.cc
  18861. (clearRequest): Removed.
  18862. (handler): Added deletion of e.
  18863. (torrentHandler): Added deletion of te.
  18864. (main): Do not share splitter.
  18865. Use Deleter instead of clearRequest.
  18866. Deletion of classes were updated.
  18867. 2006-05-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18868. * src/main.cc (main): Fixed typo.
  18869. * src/message.h: Fixed typo.
  18870. * po/de.po: Added German translation, thanks to Hermann J. Beckers.
  18871. 2006-04-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18872. To add --select-file command-line option:
  18873. * src/Util.cc
  18874. (unfoldRange): New function.
  18875. (getNum): New function.
  18876. (unfoldSubRange): New function
  18877. * src/main.cc
  18878. (showUsage): Added help message.
  18879. (main): Added --select-file command-line option. Updated the layout of
  18880. file listing.
  18881. * src/common.h
  18882. (Integers): New definition.
  18883. * src/SocketCore.cc
  18884. (writeData): Removed timeout argument.
  18885. (readData): Removed timeout argument.
  18886. (peekData): Removed timeout argument.
  18887. * src/Socket.cc
  18888. (writeData): Removed timeout argument.
  18889. (readData): Removed timeout argument.
  18890. (peekData): Removed timeout argument.
  18891. * Release 0.4.1
  18892. 2006-04-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18893. To deploy upload rate based choking algorithm:
  18894. * src/PeerInteractionCommand.cc
  18895. (PeerInteractionCommand): Add peer to TorrentMan::activePeers to track
  18896. peer currently used.
  18897. (decideChoking): Deleted the choke/unchoke decision algorithm when
  18898. download completes. Simplified.
  18899. (receiveMessage): Updated.
  18900. * src/TorrentMan.h
  18901. (activePeers): New variable.
  18902. (addActivePeer): New function.
  18903. (getActivePeers): New function.
  18904. (deleteActivePeer): New function.
  18905. * src/TorrentMan.cc
  18906. (addPeer): deleteOldErrorPeers is moved to the begining of the function
  18907. * src/PeerAbstractCommand.cc
  18908. (onAbort): Use peer->resetStatus().
  18909. * src/main.cc
  18910. (PeerChokeCommand.h): Included.
  18911. (main): Added the instance of ChokingCommand to the command queue.
  18912. * src/Peer.h
  18913. (amChoking): Renamed from amChocking
  18914. (chokingRequired): New variable.
  18915. (optUnchoking): New variable.
  18916. (deltaUpload): New variable.
  18917. (deltaDownload): New variable.
  18918. (addDeltaUpload): New function.
  18919. (resetDeltaUpload): New function.
  18920. (addDeltaDownload): New function.
  18921. (resetDeltaDownload): New function.
  18922. (addPeerUpload): Added a call to addDeltaUpload.
  18923. (addPeerDownload): Added a call to addDeltaDownload.
  18924. * src/Peer.cc
  18925. (shouldBeChoking): Renamed from shouldChoke.
  18926. (resetStatus): New function.
  18927. * src/PeerChokeCommand.h: New class.
  18928. * src/PeerChokeCommand.cc: New class.
  18929. To add lazy upload speed limiter:
  18930. * src/TorrentConsoleDownloadEngine.h: Moved the variables for
  18931. statistics calculation to TorrentDownloadEngine.
  18932. * src/TorrentConsoleDownloadEngine.cc
  18933. (sendStatistics): Renamed from printStatistics.
  18934. (initStatistics): Removed. Moved to TorrentDownloadEngine.
  18935. (calculateSpeed): Removed. Moved to TorrentDownloadEngine.
  18936. (calculateStatistics): Removed. Moved to TorrentDownloadEngine.
  18937. * src/TorrentDownloadEngine.h: Added the variables for statistics
  18938. calculation.
  18939. (sendStatistics): New function as pure virtual function.
  18940. (getUploadSpeed): New function.
  18941. * src/TorrentDownloadEngine.cc
  18942. (initStatistics): New function.
  18943. (calculateSpeed): New function.
  18944. (calculateStatistics): New function.
  18945. * src/SendMessageQueue.h
  18946. (uploadLength): New variable.
  18947. (send): Added an argument.
  18948. (setUploadLimit): New function.
  18949. (getUploadLimit): New function.
  18950. * src/SendMessageQueue.cc
  18951. (send): Added upload speed limiter.
  18952. * src/prefs.h
  18953. (PREF_UPLOAD_LIMIT): New definition.
  18954. * src/PeerInteractionCommand.cc
  18955. (PeerInteractionCommand): Set upload speed limit to sendMessageQueue.
  18956. * src/main.cc
  18957. (main): Added --upload-limit option
  18958. For bug fixes:
  18959. * src/main.cc
  18960. (showUsage): Corrected --listen-port help
  18961. Other changes:
  18962. * src/TorrentMan.cc
  18963. (getPeer): Return nullPeer if connection is grather than
  18964. MAX_PEER_UPDATE(15) in order to leave space for incoming peers.
  18965. 2006-04-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18966. To add some useful information to the exception message:
  18967. * src/SocketCore.cc : Updated messages.
  18968. * src/SegmentMan.cc :
  18969. * src/TorrentMan.cc : Updated messages.
  18970. * src/MultiDiskWriter.cc : Updated messages.
  18971. * src/Util.cc : Updated messages.
  18972. * src/AbstractDiskWriter.cc : Updated messages.
  18973. * src/PreAllocationDiskWriter.cc : Updated messages.
  18974. * src/message.cc : Added new messages. Updated some messages.
  18975. * src/TrackerWatcherCommand.h (MIN_PEERS): New definition.
  18976. * src/TrackerWatcherCommand.cc (execute): Use MIN_PEERS.
  18977. Updated threshold from 30 to 15.
  18978. * src/AbstractDiskWriter.h (filename): New variable.
  18979. * src/AbstractDiskWriter.cc (openExistingFile): Assigned filename.
  18980. (createFile): Assigned filename.
  18981. * src/main.cc: Updated the help message for http-auth-scheme.
  18982. * Release 0.4.0
  18983. 2006-04-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18984. To add TrackerUpdateCommand with which replaces
  18985. CompactTrackerResponseProcessor:
  18986. * src/TrackerWatcherCommand.h (req): Removed.
  18987. * src/TrackerWatcherCommand.cc (execute): Send a request to tracker
  18988. if the number of peer connections are less than 30.
  18989. * src/ByteArrayDiskWriter.h (readData): Implemented.
  18990. * src/SegmentMan.h (diskWriter): New function.
  18991. * src/SegmentMan.cc (init): Added a call to diskWriter->closeFile()
  18992. * src/main.cc : Removed #include "CompactTrackerResponseProcessor.h"
  18993. (main): Use TrackerUpdateCommand.
  18994. * src/TorrentMan.h (CompactTrackerResponseProcessor): Removed.
  18995. (req): New variable.
  18996. (setTrackerResponseProcessor): Removed.
  18997. (getTrackerResponseProcessor): Removed.
  18998. (processTrackerResponse): Removed.
  18999. * src/DownloadEngine.h (diskWriter): Removed.
  19000. * src/TorrentDownloadEngine.cc (afterEachIteration): Removed a call
  19001. to torrentMan->processTrackerResponse().
  19002. To add Util::expandBuffer:
  19003. * src/ByteArrayDiskWriter.h (expandBuffer): Removed.
  19004. * src/ByteArrayDiskWriter.cc (writeData): Use Util::expandBuffer().
  19005. * src/Util.h (expandBuffer): New function.
  19006. To fix the bug that causes segmentation fault when "-l ." is specified
  19007. in command-line option:
  19008. * src/SimpleLogger.h (SimpleLogger): Removed "filename" argument.
  19009. (openFile): New function.
  19010. (closeFile): New function.
  19011. * src/SimpleLogger.cc (SimpleLogger): Removed fopen.
  19012. (~SimpleLogger): Call closeFile();
  19013. * src/LogFactory.cc (getInstance): Added a call to slogger->openFile().
  19014. * src/main.cc (main): Added a check to see logger is configured
  19015. properly.
  19016. To enable HTTP authentication without specifying "--http-auth-scheme"
  19017. * src/prefs.h (PREF_HTTP_AUTH_ENABLED): New definition.
  19018. * src/HttpConnection.cc (createRequest): Send Authorization header
  19019. if PREF_HTTP_AUTH_ENABLED == V_TRUE.
  19020. * src/main.cc (main): Preset PREF_HTTP_AUTH_SCHEME to V_TRUE
  19021. If "--http-user" is specified, set PREF_HTTP_AUTH_ENABLED to V_TRUE
  19022. * src/Peer.cc (shouldChoke): Updated algorithm.
  19023. * src/message.h (EX_AUTH_FAILED): New definition.
  19024. (EX_FILE_OPEN): New definition.
  19025. * src/HttpResponseCommand.cc (checkResponse): Throw DlAbortEx
  19026. if status == 401.
  19027. (handleDefaultEncoding): Added a call to diskWriter->initAndOpenFile()
  19028. if req->isTorrent == true.
  19029. * src/main.cc (handler): Removed the check to see e->diskWriter != NULL
  19030. (torrentHandler): Removed the check to see diskAdaptor != NULL.
  19031. * src/AbstractDiskWriter.cc (openExistingFile): Updated messsage.
  19032. (createFile): Updated message.
  19033. 2006-04-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19034. To add a readout of estimated remaining time to normal HTTP/FTP
  19035. downloads:
  19036. * src/ConsoleDownloadEngine.h (startup): New variable.
  19037. (startupLength): New variable.
  19038. (isStartupLengthSet): New variable.
  19039. (avgSpeed): New variable.
  19040. (eta): New variable.
  19041. * src/ConsoleDownloadEngine.cc (sendStatistics): Added a readout of
  19042. estimated remaining time.
  19043. (initStatistics): Initialized newly added variables.
  19044. (calculateStatistics): Calculate average speed and estimated remaining
  19045. time.
  19046. To decouple TorrentDownloadEngine from HttpResponseCommand:
  19047. * src/TrackerDownloadCommand.h: Removed.
  19048. * src/TrackerDownloadCommand.cc: Removed.
  19049. * src/TrackerInitCommand.h: Removed.
  19050. * src/TrackerInitCommand.cc: Removed.
  19051. * src/TrackerUpdateCommand.h: Removed.
  19052. * src/TrackerUpdateCommand.cc: Removed.
  19053. * src/TrackerWatcherCommand.cc (execute): The construction of request
  19054. url written in TrackerInitCommand was moved here. Do not create
  19055. tracker request command if torrentMan->trackers != 0.
  19056. * src/CompactTrackerResponseProcessor.h: New class.
  19057. * src/CompactTrackerResponseProcessor.cc: New class.
  19058. * src/message.h (MSG_TRACKER_WARNING_MESSAGE): Updated.
  19059. * src/HttpResponseCommand.cc (createHttpDownloadCommand):
  19060. Decoupled TorrentDownloadEngine from this.
  19061. * src/SegmentMan.h (init): New function.
  19062. * src/SegmentMan.cc (init): New function.
  19063. * src/TorrentMan.h (responseProcessor): New variable.
  19064. (trackers): New variable.
  19065. (setTrackerResponseProcessor): New function.
  19066. (getTrackerResponseProcessor): New function.
  19067. (processTrackerResponse): New function.
  19068. * src/TorrentMan.cc (Constructor): Initialized new variable trackers.
  19069. (processTrackerResponse): New function.
  19070. * src/main.cc (main): Use ByteArrayDiskWriter and
  19071. CompactTrackerResponseProcessor.
  19072. * src/TorrentDownloadEngine.cc (afterEachIteration): Call torrentMan->
  19073. processTrackerResponse().
  19074. * src/TorrentConsoleDownloadEngine.cc (printStatistics): Updated a
  19075. readout.
  19076. * src/TorrentDownloadEngine.cc (afterEachIteration): Added log message
  19077. which indicates download has completed.
  19078. * src/AbstractDiskWriter.cc (Destructor): fd >= 0, not fd >0
  19079. (closeFile): fd >= 0, not fd > 0
  19080. * src/main.cc (main): Added short cut for show-files.
  19081. Added short cut for torrent-file.
  19082. Added new command-line option listen-port.
  19083. Updated i18n messages.
  19084. 2006-04-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19085. To add LogFactory which creates singleton logger:
  19086. * src/LogFactory.h: New class.
  19087. * src/LogFactory.cc: New class.
  19088. * src/Command.h (logger): New variable.
  19089. (Constructor): Use LogFactory.
  19090. * src/AbstractCommand.cc: Use Command::logger
  19091. * src/PeerConnection.cc (Constructor): Deleted the argument logger.
  19092. Use LogFactory.
  19093. * src/SegmentSplitter.h : Made logger protected.
  19094. * src/SegmentSplitter.cc (Constructor): Use LogFactory.
  19095. * src/SegmentMan.cc (Constructor): Use LogFactory.
  19096. * src/DownloadEngine.h : Made logger protected.
  19097. * src/DownloadEngine.cc (Constructor): Use LogFactory.
  19098. * src/PeerInteractionCommand.cc : Use Command::logger.
  19099. * src/HttpResponseCommand.cc : Use Command::logger.
  19100. * src/SegmentMan.h : Made logger private.
  19101. * src/TorrentMan.h : Made logger private.
  19102. * src/TorrentMan.cc : Use LogFactory.
  19103. * src/FtpNegotiateCommand.cc : Use Command::logger.
  19104. * src/HttpConnection.h (Constructor): Deleted the argument logger.
  19105. * src/HttpConnection.cc (Constructor): Deleted the argument logger.
  19106. Use LogFactory.
  19107. * src/FtpConnection.h (Constructor): Deleted the argument logger.
  19108. * src/FtpConnection.cc (Constructor): Deleted the argument logger.
  19109. Use LogFactory.
  19110. * src/DownloadCommand.cc : Use Command::logger.
  19111. * src/PeerAbstractCommand.cc : Use Command::logger.
  19112. * src/PeerListenCommand.cc : Use Command::logger.
  19113. * src/PeerInitiateConnectionCommand.cc : Use Command::logger.
  19114. * src/HttpInitiateConnectionCommand.cc : Use Command::logger.
  19115. * src/FtpInitiateConnectionCommand.cc : Use Command::logger.
  19116. * src/TrackerWatcherCommand.cc : Use Command::logger.
  19117. * src/TrackerUpdateCommand.cc : Use Command::logger.
  19118. * src/TrackerDownloadCommand.cc : Use Command::logger.
  19119. * src/RequestSlotMan.cc (Constructor): Deleted the argument logger.
  19120. Use LogFactory.
  19121. * src/SendMessageQueue.h (Constructor): Deleted the argument logger.
  19122. * src/SendMessageQueue.cc (Constructor): Deleted the argument logger.
  19123. Use LogFactory.
  19124. * src/main.cc (main): Use LogFactory.
  19125. * src/DiskAdaptor.h (logger): New variable.
  19126. * src/DiskAdaptor.cc (Constructor): Use LogFactory.
  19127. * src/CopyDiskAdaptor.cc (fixFilename): Added a log message.
  19128. 2006-04-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19129. * src/TrackerInitCommand.cc (TrackerInitCommand): Added a "key"
  19130. parameter to a tracker request.
  19131. * src/TorrentMan.cc (readFileEntryFromMetaInfoFile): Bug fix.
  19132. * src/TrackerWatcherCommand.cc (execute): Call req->resetTryCount().
  19133. * src/main.cc (setSignalHander): New function.
  19134. (main): Added a handler for SIGTERM.
  19135. (handler): Updated message.
  19136. (torrentHandler): Updated message.
  19137. 2006-04-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19138. * src/TorrentConsoleDownloadEngine.cc
  19139. (onPartialDownloadingCompletes): Renamed as
  19140. onSelectiveDownloadingCompletes.
  19141. (onSelectiveDownloadingCompletes): Updated message.
  19142. To add DiskAdaptor which abstract DiskWriter family:
  19143. * src/PeerConnection.cc: Use diskAdaptor instead of diskWriter.
  19144. * src/PeerInteractionCommand.cc: Use diskAdaptor instead of diskWriter.
  19145. * src/BitfieldMan.cc (isAllBitSet): bug fix.
  19146. * src/TorrentMan.cc : Included CopyDiskAdaptor.h, DirectDiskAdaptor.h,
  19147. MultiDiskAdaptor.h.
  19148. (readFileEntry): Changed its arguments.
  19149. (setup): setupDiskWriter is merged into this function.
  19150. (setupDiskWriter): Removed.
  19151. (setFileFilter): New function.
  19152. (readFileEntryFromMetaInfoFile): Updated according to the changes
  19153. made in readFileEntry.
  19154. (getFilePath): Removed.
  19155. (getTempFilePath): Removed.
  19156. (getSegmentFilePath): Updated due to the removal of getFilePath.
  19157. (fixFilename): Removed.
  19158. (copySingleFile): Removed.
  19159. (splitMultiFile): Removed.
  19160. (deleteTempFile): Removed.
  19161. (setFileEntriesToDownload): Removed.
  19162. (isPartialDownloadingMode): Renamed as isSelectiveDownloadingMode.
  19163. (isSelectiveDownloadingMode): New function.
  19164. (setAllMultiFileRequestedState): Removed.
  19165. (finishPartialDownloadingMode): Renamed as
  19166. finishSelectiveDownloadingMode.
  19167. (finishSelectiveDownloadingMode): New function.
  19168. (getPartialTotalLength): Renamed as getSelectedTotalLength.
  19169. (getSelectedTotalLength): New function.
  19170. (onDownloadComplete): Use diskAdaptor.
  19171. * src/MultiDiskWriter.cc (Constructor): Added the argument pieceLength
  19172. (Range): Removed.
  19173. (setMultiFileEntries): Renamed as setFileEntries.
  19174. (setFileEntries): New function.
  19175. * src/MultiDiskWriter.h [DiskWriterEntry](enabled): Removed.
  19176. (pieceLength): New variable.
  19177. * src/main.cc (printDownloadCompeleteMessage): New function.
  19178. (torrentHandler): Use diskAdaptor instead of diskWriter.
  19179. (main): Renamed torrent-show-files to show-files.
  19180. Rewritten file contents listing.
  19181. * src/TorrentMan.h (FileEntry): Removed.
  19182. (multiFileTopDir): Removed.
  19183. (multiFileEntries): Removed.
  19184. (diskWriter): Removed.
  19185. (diskAdaptor): New variable.
  19186. * src/DefaultDiskWriter.h (totalLength): New variable.
  19187. * src/DefaultDiskWriter.cc (initAndOpenFile): Added ftruncate.
  19188. * src/TorrentDownloadEngine.cc (onEndOfRun): Use diskAdaptor instead of
  19189. diskWriter.
  19190. * src/TorrentConsoleDownloadEngine.h
  19191. (partialDownloadLengthDiff): Renamed as selectedDownloadLengthDiff.
  19192. (partialTotalLength): Renamed as selectedTotalLength.
  19193. * src/AbstractDiskWriter.cc (openFile): If file exists, call
  19194. openExistingFile, otherwise call initAndOpenFile.
  19195. (closeFile): fd > 0, not fd != 0.
  19196. * src/DirectDiskAdaptor.h: New class.
  19197. * src/DirectDiskAdaptor.cc: New class.
  19198. * src/MultiDiskAdaptor.h: New class.
  19199. * src/MultiDiskAdaptor.cc: New class.
  19200. * src/CopyDiskAdaptor.h: New class.
  19201. * src/CopyDiskAdaptor.cc: New class.
  19202. * src/DiskAdaptor.h: New class.
  19203. * src/DiskAdaptor.cc: New class.
  19204. * src/prefs.h (PREF_TORRENT_SHOW_FILES): Renamed as PREF_SHOW_FILES
  19205. (PREF_SHOW_FILES): New definition.
  19206. 2006-04-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19207. To add the ability to download multi torrent into respective files
  19208. directly:
  19209. * src/DiskWriter.h (openFile): New function.
  19210. (seek): Removed.
  19211. * src/MultiDiskWriter.h: New class.
  19212. * src/MultiDiskWriter.cc: New class.
  19213. * src/AbstractDiskWriter.h (seek): Changed its scope from public to
  19214. protected.
  19215. (openFile): New function.
  19216. * src/AbstractDiskWriter.cc (openFile): New function.
  19217. * src/prefs.h (V_FALSE): New definition.
  19218. (PREF_DIRECT_FILE_MAPPING): New definition.
  19219. * src/TorrentMan.h (setupDiskWriter): New function.
  19220. (setAllMultiFileRequestedState): New function.
  19221. (onDownloadComplete): New function.
  19222. * src/TorrentMan.cc : Included MultiDiskWriter.h
  19223. (setupDiskWriter): New function.
  19224. (getFilePath): Updated.
  19225. (getTempFilePath): Updated.
  19226. (getSegmentFilePath): Updated.
  19227. (fixFilename): Updated.
  19228. (deleteTempFile): Updated.
  19229. (setAllMultiFileRequestedState): New function.
  19230. (setFileEntriesToDownload): Use setAllMultiFileRequestedState().
  19231. (finishPartialDownloadingMode): Reset requested flags.
  19232. (onDownloadComplete): New function.
  19233. * src/main.cc: Added --direct-file-mapping option.
  19234. Use TorrentMan::setupDiskWriter().
  19235. * src/TorrentDownloadEngine.cc (afterEachIteration): Use TorrentMan::
  19236. onDownloadComplete().
  19237. To fix ETA bug:
  19238. * src/Util.h (difftvsec): New function.
  19239. * src/Util.cc (difftvsec): New function.
  19240. * src/TorrentConsoleDownloadEngine.cc (calculateSpeed): Use int for the
  19241. type of "elapsed" instead of long long int.
  19242. (calculateStatistics): Use Util::difftvsec instead of Util::difftv.
  19243. The updates of statistics takes place every 1 seconds.
  19244. * src/TorrentConsoleDownloadEngine.h (lastElapsed): Changed its type.
  19245. (calculateSpeed): Changed its argument signature.
  19246. * src/PeerMessage.cc (toString): Fixed message.
  19247. 2006-04-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19248. To print ETA:
  19249. * src/TorrentDownloadEngine.cc (afterEachIteration): Added download
  19250. completion handling when dealing with
  19251. TorrentMan::isPartialDownloadingMode() == true.
  19252. * src/TorrentDownloadEngine.h (onPartialDownloadingCompletes):
  19253. New function.
  19254. * src/TorrentConsoleDownloadEngine.h (startup): New variable.
  19255. (sessionDownloadLength): New variable.
  19256. (avgSpeed): New variable.
  19257. (eta): New variable.
  19258. * src/TorrentConsoleDownloadEngine.cc (initStatistics): Initialized
  19259. new variables: eta, avgSpeed, startup.
  19260. (calculateSpeed): Calculate average speed and ETA.
  19261. (printStatistics): Added ETA.
  19262. * src/Util.h (secfmt): New function.
  19263. * src/Util.cc (secfmt): New function.
  19264. 2006-04-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19265. To detect "keep alive" flooding:
  19266. * src/PeerInteractionCommand.h (keepAliveCount): New variable
  19267. * src/PeerInteractionCommand.cc (Constructor): Initialized new
  19268. variable: keepAliveCount.
  19269. (detectMessageFlooding): Added "keep alive" flooding detection.
  19270. (receiveMessage): Increase keepAliveCount when "keep alive" message
  19271. received.
  19272. To add the ability to download only specified files in multi-file
  19273. torrent:
  19274. * src/BitfieldMan.h (filterBitfield): New variable.
  19275. (filterEnabled): New variable.
  19276. (setFilterBit): New function.
  19277. (enableFilter): New function.
  19278. (disableFilter): New function.
  19279. (isFilterEnabled): New function.
  19280. (getFilteredTotalLength): New function.
  19281. (getCompletedLength): New function.
  19282. * src/BitfieldMan.cc (Constructor): Initialized new variable:
  19283. filterBitfield, filterEnabled.
  19284. (CopyConstructor): Added filterBitfield and filterEnabled.
  19285. (operator==): Added filterBitfield and filterEnabled.
  19286. (Destructor): Added filterBitfield.
  19287. (getMissingIndex): Use filterBitfield.
  19288. (getMissingUnusedIndex): Use filterBitfield.
  19289. (getFirstMissingUnusedIndex): Use filterBitfield.
  19290. (getFirstMissingUnusedIndex): Use filterBitfield.
  19291. (getAllMissingIndexes): Use filterBitfield.
  19292. (countMissingBlock): Use filterBitfield.
  19293. (countBlock): Use filterBitfield.
  19294. (setBitInternal): Added new argument on.
  19295. (setUseBit): Use setBitInternal.
  19296. (unsetUseBit): Use setBitInternal.
  19297. (setBit): Use setBitInternal.
  19298. (unsetBit): Use setBitInternal.
  19299. (isAllBitSet): Use filterBitfield.
  19300. (setFilterBit): New function.
  19301. (addFilter): New function.
  19302. (enableFilter): New function.
  19303. (disableFilter): New function.
  19304. (clearFilter): New function.
  19305. (isFilterEnabled): New function.
  19306. (getFilteredTotalLength): New function.
  19307. (getCompletedLength): New function.
  19308. * src/TorrentMan.h [FileEntry](Constructor): Updated signature.
  19309. Initalized newly added variables.
  19310. [FileEntry](offset): New variable.
  19311. [FileEntry](extracted): New variable.
  19312. [FileEntry](requested): New variable.
  19313. (readFileEntry): New function.
  19314. (option): New variable.
  19315. (splitMultiFile): Removed const qualifier.
  19316. (fixFilename): Removed const qualifier.
  19317. (readFileEntryFromMetaInfoFile): New function.
  19318. (finishPartialDownloadingMode): New function.
  19319. (isPartialDownloadingMode): New function.
  19320. (setFileEntriesToDownload): New function.
  19321. (getCompletedLength): New function.
  19322. (getPartialTotalLength): New function.
  19323. * src/TorrentMan.cc (readFileEntry): New function.
  19324. (setup): Use readFileEntry. If no-preallocation option is specified,
  19325. use DefaultDiskWriter.
  19326. (readFileEntryFromMetaInfoFile): New function.
  19327. (fixFilename): Removed const qualifier.
  19328. (splitMultiFile): Removed const qualifier.
  19329. (setFileEntriesToDownload): New function.
  19330. (isPartialDownloadingMode): New function.
  19331. (finishPartialDownloadingMode): New function.
  19332. (getCompletedLength): New function.
  19333. (getPartialTotalLength): New function.
  19334. * src/TorrentConsoleDownloadEngine.h (partialDownloadLengthDiff):
  19335. New variable.
  19336. (partialTotalLength): New variable.
  19337. (downloadLength): New variable.
  19338. (totalLength): New variable.
  19339. * src/TorrentConsoleDownloadEngine.cc (onPartialDownloadingCompletes):
  19340. Added log.
  19341. (initStatistics): Initialized new variables: partialDownloadLengthDiff,
  19342. partialTotalLength, downloadLength, totalLength.
  19343. (calculate): Calculate downloadLength and totalLength.
  19344. * src/prefs.h :New definition PREF_NO_PREALLOCATION
  19345. * src/main.cc (addCommand): Changed argument signature.
  19346. (main): Added new variable: args. Added new option "torrent-show-files"
  19347. "no-preallocation". Usage is not updated yet.
  19348. 2006-04-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19349. * src/PeerMessage.cc (setBitfield): Fixed invalid memory de-allocation.
  19350. 2006-04-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19351. Attempt to add the ability to listing file entries in a .torrent file.
  19352. This feature is not yet complete.
  19353. * src/prefs.h (PREF_TORRENT_SHOW_FILES): New definition
  19354. * src/TorrentMan.cc (getMultiFileEntries): New function.
  19355. (getName): New function.
  19356. * src/TorrentMan.h (getMultiFileEntries): New function.
  19357. (getName): New function.
  19358. * src/main.cc (main): Use above 2 funtion.
  19359. * Release 0.3.2
  19360. 2006-03-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19361. * src/PeerInteractionCommand.cc (checkInactiveConnection): New function
  19362. (detectMessageFlooding): Updated threshold value.
  19363. (checkLongTimePeerChoking): Updated timeout value.
  19364. (getNewPieceAndSendInterest): Added debug log.
  19365. * src/PeerInteractionCommand.h (checkInactiveConnection): New function
  19366. * src/TorrentMan.cc (deleteOldErrorPeers): Updated.
  19367. (getPeer): Updated.
  19368. * src/TorrentMan.h: Added MAX_PEER_ERROR.
  19369. * src/PeerAbstractCommand.cc (onAbort): Increment error counter.
  19370. * src/PeerListenCommand.cc (execute): Close connection if incoming peer
  19371. is localhost.
  19372. * src/main.cc (main): Updated PREF_PEER_CONNECTION_TIMEOUT to 60.
  19373. * src/PendingMessage.cc (processMessage): Not to send piece message
  19374. if peer is not interested in the pieces localhost has.
  19375. * src/Peer.cc (shouldChoke): Updated.
  19376. * src/SendMessageQueue.cc (cancelAllRequest): Fixed.
  19377. * src/Util.cc (isPowerOf): New function.
  19378. * src/Util.h (isPowerOf): New function.
  19379. * src/PeerMessageUtil.cc (checkLength): Added a check for length
  19380. whether or not it is power of 2.
  19381. 2006-03-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19382. Added new class SendMessageQueue that includes PendingMessages and
  19383. RequestSlotMan.
  19384. * src/SendMessageQueue.h: New class.
  19385. * src/SendMessageQueue.cc: New class.
  19386. * src/PendingMessage.h: Added new member variable blockIndex and its
  19387. accessors.
  19388. (createRequestMessage): Updated.
  19389. * src/PendingMessage.cc (createRequestMessage): Updated.
  19390. * src/PeerInteractionCommand.cc (executeInternal): Updated with
  19391. SendMessageQueue.
  19392. (checkLongTimePeerChoking): Updated with SendMessageQueue.
  19393. (receiveMessage): Updated with SendMessageQueue.
  19394. (deletePendingPieceMessage): Removed.
  19395. (getNewPieceAndSendInterest): Updated with SendMessageQueue.
  19396. (sendInterest): Updated with SendMessageQueue.
  19397. (createRequestPendingMessage): Updated with SendMessageQueue.
  19398. (sendMessages): Updated with SendMessageQueue.
  19399. (onAbort): Updated with SendMessageQueue.
  19400. (keepAlive): Updated with SendMessageQueue.
  19401. (beforeSocketCheck): Updated SendMessageQueue.
  19402. * src/PeerInteractionCommand (sendMessages): Shuffle
  19403. missingBLockIndexes before using it.
  19404. Added its own timeout for peer connection.
  19405. * src/PeerAbstractCommand.h: Added member variable timeout and its
  19406. setter.
  19407. * src/prefs.h: Added PREF_PEER_CONNECTION_TIMEOUT.
  19408. * src/PeerInteractionCommand.cc (PeerInteractionCommand):
  19409. Added setTimeout() call.
  19410. (executeInternal): Added setTimeout() call.
  19411. * src/PeerAbstractCommand.cc (PeerAbstractCommand):
  19412. Added timeout.
  19413. (isTimeoutDetected): Updated.
  19414. * src/main.cc (main): Added PREF_PEER_CONNECTION_TIMEOUT entry to
  19415. option.
  19416. Added *simple* message flooding checker.
  19417. * src/PeerInteractionCommand.cc (executeInternal):
  19418. Added detectMessageFlooding() call.
  19419. (detectMessageFlooding): New function.
  19420. (receiveMessage): Count up CHOKE, UNCHOKE, HAVE message.
  19421. (beforeSocketCheck): Added detectMessageFlooding() call.
  19422. * src/PeerInteractionCommand.h: Added sendMessageQueue,
  19423. chokeUnchokeCount, haveCount, detectMessageFlooding().
  19424. Removed deletePendingPieceMessage(), getRequestSlot(),
  19425. deleteRequestSlot(), deleteAllRequestSlot().
  19426. * src/PeerInteractionCommand.cc (beforeSocketCheck):
  19427. Added checkLongTimePeerChoking() call.
  19428. * src/RequestSlotMan.h: Renamed deleteTimeoutRequestSlot().
  19429. * src/TorrentMan.cc (addPeer): Delete at most MAX_PEER_LIST_SIZE peers
  19430. if duplicate == false.
  19431. The parameter "uploaded" and "downloaded" in the tracker request are
  19432. the size since the client sent the "started" event to the tracker.
  19433. * src/TorrentMan.cc (setup): Assigned saved downloaded Size and
  19434. uploaded size to preDownloadedSize, preUploadedSize respectively.
  19435. * src/TorrentMan.h: Added preDownloadedSize, preUploadedSize,
  19436. getSessionDownloadedSize(), getSessionUploadedSize().
  19437. * src/TrackerInitCommand.cc (execute): Use getSessionDownloadedSize(),
  19438. getSessionUploadedSize() instead of getDownloadedSize(),
  19439. getUploadedSize().
  19440. * src/PendingMessage.cc (processMessage): Do not send request message
  19441. if the peer is choking the client.
  19442. * src/TrackerUpdateCommand.cc (execute): Check wtheher minInterval is
  19443. less than interval.
  19444. 2006-03-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19445. * configure.in: Added gnutls support. Added several CPP macros.
  19446. * m4/openssl.m4: Added.
  19447. * src/SocketCore.{h,cc}: Drop const quarifier from writeData(),
  19448. readData(), peekData(). Added gnutls support.
  19449. * src/HttpDownloadCommand.cc: Removed SleepCommand.h
  19450. * src/TrackerWatcherCommand.{h,cc}: Added. This command creates
  19451. TrackerInitCommand periodicaly(TorrentMan::minInterval).
  19452. * src/TorrentMan.cc: Remove downloadedSize == 0 check from save().
  19453. Instead, added a check for whether setup method has executed
  19454. successfully.
  19455. * src/TorrentMan.h: Added member vaiable setupComplete. Updated
  19456. DEFAULT_ANNOUNCE_INTERVAL and DEFAULT_ANNOUNCE_MIN_INTERVAL to 300.
  19457. * src/Makefile.am: Updated.
  19458. * src/messageDigest.h: Added. This is a macro calculating SHA1 digest
  19459. using whether OpenSSL or gcrypt, depending on the result of configure
  19460. script.
  19461. * src/ShaVisitor.{h,cc}: Removed direct dependency on OpenSSL by using
  19462. messageDigest.h.
  19463. * src/TorrentAutoSaveCommand.h: Removed unused variable cuid.
  19464. * src/PeerListenCommand.cc: Added log about port binded successfully.
  19465. Fixed memory leak.
  19466. * src/main.cc: Added gnutls support. Replaced LIB_SSL with
  19467. ENABLE_BITTORRENT where they are not related to OpenSSL but BitTorrent.
  19468. Removed instantiation of TrackerInitCommand. Instead,
  19469. TrackerWatcherCommand is instantiated and pushed to the command queue.
  19470. * src/InitiateConnectionCommandFactory.cc: Replaced HAVE_LIBSSL with
  19471. ENABLE_SSL.
  19472. * src/Request.cc: Replaced HAVE_LIBSSL with ENABLE_SSL.
  19473. * src/RequestSlotMan.cc (deleteCompletedRequestSlot):
  19474. If a piece is already acquired by another command, delete the request
  19475. slots for the piece.
  19476. * src/TrackerUpdateCommand.cc (execute):
  19477. Changed log level of MSG_TRACKER_WARNING_MESSAGE from info to warn.
  19478. Added a check whether peer list is null.
  19479. Fixed the bug that causes sending completed event to the tracker
  19480. several times.
  19481. * src/TrackerInitCommand.cc (execute):
  19482. Fixed the bug that causes sending completed event to the tracker
  19483. several times.
  19484. * src/AbstractDiskWriter.{h,cc}: Removed direct dependency on OpenSSL
  19485. by using messageDigest.h.
  19486. 2006-03-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19487. * PeerConnection.cc: Replaced log message "keep-alive" with
  19488. "keep alive".
  19489. * PeerInteractionCommand.{h,cc}: Close connection if peer is choking
  19490. localhost long time.
  19491. * TorrentMan.cc: When adding new peer with duplicate = true, if the
  19492. number of peer list is equal to or grater than MAX_PEER_LIST, delete
  19493. at most 100 failure entry from the list. If with duplicate = false,
  19494. MAX_PEER_LIST is not checked.
  19495. * PeerListenCommand.cc: Fixed the argument order of log message.
  19496. 2006-03-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19497. * Logger.h: Moved enum LEVEL from SimpleLogger.h to here.
  19498. Added warn().
  19499. * SimpleLogger.h: Moved enum LEVEL to Logger.h.
  19500. Implemented warn().
  19501. Defined 2 macros(WRITE_LOG, WRITE_LOG_EX) to avoid duplicated code.
  19502. 2006-03-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19503. * Request.h: Added AFTER_COMPLETED event.
  19504. * TorrentDownloadEngine.cc: Prints "Download complete" message
  19505. instead of downloaded size and progress(%) after download completes.
  19506. * PeerInteractionCommand.cc: After download completes, sends unchoke
  19507. message to the peer if it is interested in what localhost has
  19508. downloaded.
  19509. * TorrentMan.cc: In single-file mode, copy temporary file to the final
  19510. destination instead of just renaming it.
  19511. * TorrentMan.cc: Added deleteTempFile().
  19512. * PeerAbstractCommand.cc: do not stop execution after download
  19513. completes. This makes localhost a seeder.
  19514. * Util.{h,cc}: Added fileCopy().
  19515. * PeerListenCommand.cc: do not stop execution after download completes.
  19516. This makes localhost a seeder.
  19517. * main.cc: Do not call TorrentMan::fixFilename() in torrentHandler.
  19518. Added TorrentMan::deleteTempFile() to torrentHandler.
  19519. Initialized the variable dir as ".".
  19520. * TorrentMan.h: Changed DEFAULT_ANNOUNCE_INTERVAL to 120 seconds.
  19521. Deleted renameSingleFile().
  19522. Added copySingleFile(), deleteTempFile().
  19523. * DownloadEngine.h: Added virtual function afterEachIteration().
  19524. * TorrentDownloadEngine.cc: Move a call to TorrentMan::fixFilename()
  19525. in onEndOfRun() to afterEachIteration().
  19526. In onEndOfRun(), changed if condition to check whether filenameFixed is
  19527. true.
  19528. * Util.cc: Implemented fileCopy() using rangedFileCopy().
  19529. In rangedFileCopy(), added try-catch block to properly close file
  19530. descriptors.
  19531. * TorrentDownloadEngine.cc: Added a member variable filenameFixed.
  19532. Added afterEachIteration(), isFilenameFixed().
  19533. * Peer.cc: Changed choking strategy.
  19534. * PreAllocationDiskWriter.cc: Drop O_DIRECT flag.
  19535. * TrackerInitCommand.cc: Send completed event only once.
  19536. * DownloadEngine.cc: Added a call to afterEachIteration().
  19537. * TrackerUpdateCommand.cc: Do not stop execution after download
  19538. completes.
  19539. * TorrentMan.h: Defined MAX_PEER_UPDATE as 15. aria2 attempts to
  19540. connect the peers at most MAX_PEER_UPDATE when a peer list is
  19541. received from a tracker.
  19542. * TrackerUpdateCommand.cc: Implemented above mentioned behavior.
  19543. Decreased the number of failure peers to delete to 0(just comment out
  19544. the line).
  19545. * Release 0.3.1
  19546. 2006-03-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19547. * PeerInteractionCommand.cc: added a call to
  19548. TorrentMan::unadvertisePiece in Destructor.
  19549. * PeerInteractionCommand.cc: make have message sent immediately
  19550. if the size of pending message queue is zero.
  19551. * TorrentMan.cc: set the maximum size of peer list to 250.
  19552. * TorrentMan.h: changed the container type of Peers and UsedPieces
  19553. to deque.
  19554. * Util.cc: fixed rangedFileCopy.
  19555. * AbstractDiskWriter.{h,cc}: moved digest context initialization
  19556. to Constructor. Also, moved digest cleanup to Destructor.
  19557. * MetaFileUtil.cc: fixed memory leak
  19558. * replaced std::vector with std::deque.
  19559. * AbstractCommand.cc: casted timeout value to long long int.
  19560. * ChunkedEncoding.cc: fixed memory leak.
  19561. * PeerInteractionCommand.cc: casted timeout value to long long int.
  19562. * SleepCommand.cc: casted timeout value to long long int.
  19563. * Data.cc: fixed memory leak.
  19564. * Data.cc: fixed toLLInt().
  19565. * BitfieldMan.cc: fixed memory leak.
  19566. * TorrentMan.cc: initialized storeDir to ".".
  19567. * TorrentMan.cc: fixed memory leak.
  19568. * TorrentMan.cc: corrected file paths of splitted files.
  19569. * PeerAbstractCommand.cc: casted timeout to long long int.
  19570. * main.cc: added delete(req) and delete(te->diskWriter).
  19571. * RequestSlot.cc: casted timeout value to long long int.
  19572. * Request.cc: fixed memory leak.
  19573. * PendingMessage.cc: make HAVE messages sent only when peer does not
  19574. have the piece.
  19575. * Peer.{h,cc}: added hasPiece(int index).
  19576. * main.cc: corrected addCommand.
  19577. 2006-03-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19578. * BitTorrent protocol support added.
  19579. * Release 0.3.0
  19580. 2006-03-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19581. * SocketCore.cc: remove the assignment of addrinfo.ai_addr.
  19582. 2006-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19583. * ChunkedEncoding.{h,cc}: fixed the bug that if chunk data is binary,
  19584. decoding did not work properly.
  19585. 2006-03-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19586. * DownloadEngine.h: included sys/time.h
  19587. * DownloadEngine.cc: remove sys/time.h
  19588. * Makefile.am (SUBDIRS): Add intl.
  19589. * configure.in (AC_CONFIG_FILES): Add intl/Makefile.
  19590. 2006-03-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19591. * main.cc: correct help message for --http-auth-scheme.
  19592. * main.cc: changed e-mail address for bug reports.
  19593. * ja.po: added japanese translation.
  19594. 2006-03-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19595. * SimpleLogger.cc: flush log file instead of stdout.
  19596. 2006-03-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19597. * main.cc: Fixed command-line option: max-tries
  19598. * HttpResponseCommand.cc: Make the request re-sent only if req->seg.sp
  19599. does not equal to seg.sp.
  19600. * DownloadCommand.cc: If EOF is got from the server and the total size
  19601. of file is not zero, then throw DlRetryEx.
  19602. * main.cc: Set the minium value of min-segment-size to 1024.
  19603. * HttpResponseCommand.cc: Fixed the bug that http segmented downloading
  19604. fails because of a regression since 0.2.0 release.
  19605. 2006-03-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19606. * HttpConnection.cc:
  19607. * common.h: defined the user agent name as macro
  19608. * DownloadEngine.{h, cc}:
  19609. * ConsoleDownloadEngine.{h, cc}: Console output message(size, speed)
  19610. is now generated by ConsoleDownloadEngine not by DownloadEngine.
  19611. * main.cc: Download complete/abort message is now generated by main.
  19612. * Makefile.am (SUBDIRS): Add m4.
  19613. (ACLOCAL_AMFLAGS): New variable.
  19614. (EXTRA_DIST): New variable.
  19615. * configure.in (AC_CONFIG_FILES): Add po/Makefile.in,
  19616. * gettext: added gettext functionality
  19617. 2006-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19618. * AbstractCommand.cc:
  19619. * DownloadCommand.{h, cc}: Aborted downloading commands now properly
  19620. unregister its cuid from SegmentMan.
  19621. * DownloadEngine.cc: .aria2 file was written when a downloading
  19622. failed with errors.
  19623. * HttpConnection.cc: Added "Proxy-Connection" header to proxy request.
  19624. Added "User-Agent" header to CONNECT proxy request.
  19625. Fixed "Proxy-Authorization" header. Now proxy authorization works
  19626. properly.
  19627. * Logger.h:
  19628. * SimpleLogger.{h,cc}: Changed the type of msg to const char*.
  19629. * ChunkedEncoding.cc: Added #include directive for strings.h
  19630. * Release 0.2.1
  19631. 2006-02-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19632. * Util.{h,cc}: added startsWith().
  19633. * CookieBox.cc: rewrited criteriaFind() using Util::startsWith() and
  19634. Util::endsWith().
  19635. * SocketCore.cc: struct addrinfo is now zero-initialized.
  19636. * common.h: added #include directive of limit.h.
  19637. * DownloadEngine.cc: added #include directive of sys/time.h and
  19638. algorithm.
  19639. * Exception.h: added #include directive of stdio.h.
  19640. * AbstractCommand.h: added #include directive of sys/time.h.
  19641. * DownloadCommand.h: added #include directive of sys/time.h.
  19642. * *.h: added #include directive of common.h to all base classes.
  19643. subclasses' one was removed.
  19644. * common.h: defined LONG_LONG_MAX and LONG_LONG_MIN if a compiler
  19645. does not define these macros.
  19646. 2006-02-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19647. * Release 0.2.0
  19648. * main.cc:
  19649. * HttpInitiateConnectionCommand.{h,cc}:
  19650. * prefs.h:
  19651. * HttpConnection.{h,cc}: added --http-proxy-method option.
  19652. We can now use GET command in http proxy.
  19653. 2006-02-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19654. * SplitSlowestSegmentSplitter.{h,cc}: This class provies algorithm
  19655. that splits slowest segment of SegmentMan::commands vector.
  19656. This is the default split algorithm of aria2.
  19657. * SplitFirstSegmentSplitter.{h,cc}: This class provides algorithm
  19658. that splits first segment of SegmentMan::commands vector.
  19659. * SegmentSplitter.{h,cc}: Added. This class provides split algorithm.
  19660. * DownloadCommand.{h,cc}: Added downloading speed calculation.
  19661. * Segment.h:
  19662. * SegmentMan.cc: Added speed field to Segment.h
  19663. * main.cc: -s option now affects all URLs in command-line arguemtns.
  19664. * HttpResponseCommand.cc: Fixed bug that segment file is not loaded.
  19665. * message.h: Change file size related %d to %lld.
  19666. 2006-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19667. * FtpInitiateConnectionCommand.{h,cc}:
  19668. * FtpNegotiationCommand.{h,cc}:
  19669. * FtpDownloadCommand.{h,cc}:
  19670. * FtpConnection.{h,cc}: Added FTP support
  19671. * SimpleLogger.cc: Log message now includes time information.
  19672. * main.cc: The value of --http-auth-scheme option is chagned from
  19673. 'BASIC' to 'basic'
  19674. * main.cc: Added --timeout command-line option.
  19675. * main.cc: Added --min-segment-size command-line option.
  19676. * main.cc: Added --max-retries command-line option.
  19677. * prefs.h: option string constants are now defined in prefs.h
  19678. 2006-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19679. * AbstractCommand.cc: Fixed timeout bug in AbstractCommand
  19680. * SegmentMan.cc: Added totalSize entry to .aria2 file. No compatibility
  19681. with version 0.1.0's one.
  19682. 2006-02-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19683. * configure.in: Added --enable-ssl option to configure script.
  19684. * HttpConnection.cc: Make Request-URI an absolute path. Some servers
  19685. cannot permit absoluteURI as Request-URI.
  19686. * HttpConnection.cc: Added Referer support.
  19687. * main.cc: Added referer command-line option.
  19688. * main.cc: Added rety-wait command-line option.
  19689. * Exception.h: Fixed formating bug in Exception::setMsg()
  19690. * SocketCore.{h,cc}:
  19691. * Socket.{h, cc}:
  19692. * Request.cc:
  19693. * InitiateConnectionCommandFactory.cc:
  19694. * HttpRequestCommand.cc: Added HTTPS support.
  19695. * SocketCore.{h,cc}: Added SocketCore. Socket becomes a handle class
  19696. for SocketCore.
  19697. * ChunkedEncoding.cc: Fixed bug in ChunkedEncoding: expanding buffer
  19698. size is wrong
  19699. * DownloadCommand.cc: Fixed bug in DownloadCommand: In Chunked
  19700. Encoding, it wrongly adds to Segment.ds buff length from the socket.
  19701. 2006-02-17 Tatsuhiro Tsujikawa <tsujikawa at rednoah dot com>
  19702. * Release 0.1.0