ChangeLog 750 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331
  1. 2010-06-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2. Updated Italian translation. Added Korean translation.
  3. Thanks to all translators.
  4. * LINGUAS
  5. * it.po
  6. * ko.po
  7. 2010-06-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8. Updated po templates.
  9. * po/aria2.pot
  10. 2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  11. Fixed the bug that reading Metalink from pipe fails on older
  12. libxml2. It only accepts "-" as a special keyword to read stdin.
  13. * src/XML2SAXMetalinkProcessor.cc
  14. 2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  15. Added log message when cookies are loaded. Added filename to log
  16. message when serializing session.
  17. * src/MultiUrlRequestInfo.cc
  18. 2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  19. Treat SIGHUP and SIGTERM signal as emergency shutdown because they
  20. are usually issued by system or other process.
  21. * src/MultiUrlRequestInfo.cc
  22. 2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  23. Use downloadresultcode::IN_PROGRESS for
  24. RequestGroup::SHUTDOWN_SIGNAL.
  25. * src/RequestGroup.cc
  26. 2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  27. Call requestForceHalt() instead of _requestGroupMan->forceHalt().
  28. * src/DownloadEngine.cc
  29. 2010-06-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  30. Mentioned RFC 5854 in README and man page.
  31. * README
  32. * doc/aria2c.1.txt
  33. 2010-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  34. Bump up version number to 1.9.4
  35. * configure.ac
  36. * doc/aria2c.1.txt
  37. 2010-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  38. Don't throw exception when Metalink document is empty(no file
  39. element). It is a valid Metalink document anyway.
  40. * src/MetalinkHelper.cc
  41. * src/download_helper.cc
  42. 2010-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  43. Fixed double memory free when Exception raised from
  44. AbstractCommand::prepareForNextAction() called by
  45. HttpResponseCommand::handleDefaultEncoding().
  46. * src/AbstractCommand.cc
  47. * src/HttpResponseCommand.cc
  48. 2010-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  49. Added _logger->info() guard
  50. * src/IteratableChunkChecksumValidator.cc
  51. 2010-05-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  52. Fixed the bug that feeding Metalink XML via pipe (-M- option) does
  53. not work when aria2 is built with expat. Fixed the bug that when
  54. Metalink XML is fed via pipe and --save-session is used, entry
  55. "/dev/stdin" is saved in session file.
  56. * src/ExpatMetalinkProcessor.cc
  57. * src/ExpatMetalinkProcessor.h
  58. * src/Metalink2RequestGroup.cc
  59. 2010-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  60. Updated doc
  61. * src/aria2c.1.txt
  62. 2010-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  63. Added totalLength, completedLength, uploadLength, bitfield,
  64. downloadSpeed, uploadSpeed, infoHash, numSeeders, pieceLength,
  65. numPieces, connections and dir to the response of
  66. aria2.tellStopped XML-RPC method. aria2.tellWaiting now always
  67. returns numSeeders for BitTorrent download.
  68. * src/DownloadResult.h
  69. * src/RequestGroup.cc
  70. * src/RequestGroup.h
  71. * src/XmlRpcMethodImpl.cc
  72. * test/XmlRpcMethodTest.cc
  73. 2010-05-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  74. Fixed the bug that connection pooling does not take into account
  75. proxy. This means that when connection A via proxy X is pooled,
  76. it will be wrongly reused in the download using proxy Y.
  77. * src/DownloadEngine.cc
  78. * src/DownloadEngine.h
  79. * src/FtpFinishDownloadCommand.cc
  80. * src/FtpInitiateConnectionCommand.cc
  81. * src/FtpNegotiationCommand.cc
  82. * src/HttpDownloadCommand.cc
  83. * src/HttpInitiateConnectionCommand.cc
  84. * src/HttpResponseCommand.cc
  85. * src/HttpSkipResponseCommand.cc
  86. 2010-05-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  87. Fixed the bug that FTP download may fail when control connection
  88. is reused. This happens because FTP server can offer different
  89. root directory for different account. If pooled connections has
  90. different root directory, then download will fail.
  91. * src/DownloadEngine.cc
  92. * src/DownloadEngine.h
  93. * src/FtpConnection.cc
  94. * src/FtpConnection.h
  95. * src/FtpFinishDownloadCommand.cc
  96. * src/FtpInitiateConnectionCommand.cc
  97. * src/FtpNegotiationCommand.cc
  98. 2010-05-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  99. Removed DownloadResult's ctor because it has many args.
  100. * src/DownloadResult.h
  101. * src/RequestGroup.cc
  102. * test/XmlRpcMethodTest.cc
  103. 2010-05-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  104. Code cleanup.
  105. * src/RequestGroupMan.cc
  106. * src/UTMetadataPostDownloadHandler.cc
  107. * src/XmlRpcMethodImpl.cc
  108. 2010-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  109. Store both whole checksum and piece hash in metalink file.
  110. Dispatch whole checksum verification only when piece hash is not
  111. set.
  112. * src/DownloadCommand.cc
  113. * src/Metalink2RequestGroup.cc
  114. * test/Metalink2RequestGroupTest.cc
  115. 2010-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  116. Left only IANA hash function textual name in messageDigest.cc.
  117. Assign only IANA hash function textual name to Checksum and
  118. ChunkChecksum. Fixed the value of MessageDigestContext::MD5.
  119. * src/Checksum.h
  120. * src/MetalinkParserController.cc
  121. * src/messageDigest.cc
  122. * src/messageDigest.h
  123. * test/IteratableChecksumValidatorTest.cc
  124. * test/IteratableChunkChecksumValidatorTest.cc
  125. * test/MessageDigestHelperTest.cc
  126. * test/Metalink2RequestGroupTest.cc
  127. * test/MetalinkProcessorTest.cc
  128. 2010-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  129. Fixed typo in log message
  130. * src/AbstractCommand.cc
  131. 2010-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  132. Release 1.9.3
  133. 2010-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  134. Return const reference.
  135. * src/DefaultPieceStorage.h
  136. * src/DownloadContext.h
  137. * src/FeatureConfig.cc
  138. * src/FeatureConfig.h
  139. * src/OptionParser.cc
  140. * src/OptionParser.h
  141. * src/SimpleRandomizer.cc
  142. * src/SimpleRandomizer.h
  143. 2010-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  144. Bump up version number to 1.9.3.
  145. * configure.ac
  146. 2010-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  147. Return const reference.
  148. * src/LpdMessageReceiver.h
  149. * src/LpdReceiveMessageCommand.h
  150. 2010-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  151. Removed useless pathJoin
  152. * src/MetalinkParserController.cc
  153. 2010-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  154. Fixed the bug that name attribute of file element in Metalink file
  155. is not properly sanitized.
  156. * src/Metalink2RequestGroup.cc
  157. * src/MetalinkParserController.cc
  158. * test/Makefile.am
  159. * test/Metalink2RequestGroupTest.cc
  160. * test/metalink4-dosdirtraversal.xml
  161. 2010-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  162. Fixed the bug that if filename in Content-Disposition header
  163. includes ';', aria2 cuts filename after ';'.
  164. * src/util.cc
  165. * test/UtilTest.cc
  166. 2010-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  167. Release 1.9.2
  168. 2010-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  169. Fixed compiler warning on opensolaris.
  170. * src/StringFormat.h
  171. * src/XORCloser.h
  172. 2010-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  173. Updated doc
  174. * test/array_funTest.cc
  175. 2010-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  176. Fixed segmentation fault when running unit tests on opensolaris.
  177. * src/SocketCore.cc
  178. * src/bittorrent_helper.cc
  179. 2010-04-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  180. Updated Russian translation. Thanks to all translators.
  181. * po/ru.po
  182. 2010-04-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  183. Updated po templates.
  184. * po/aria2.pot
  185. 2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  186. Print warning when trying to add file descriptor >= FD_SET or < 0
  187. to fd_set for other than MinGW32 build. For MinGW32 build, print
  188. warning when trying to add file descriptor to fd_set when it
  189. already contains FD_SET file descriptors.
  190. * src/SelectEventPoll.cc
  191. * src/SocketCore.cc
  192. 2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  193. Updated doc for --event-poll option.
  194. * doc/aria2c.1.txt
  195. 2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  196. Bump up version number to 1.9.2
  197. * configure.ac
  198. * doc/aria2c.1.txt
  199. 2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  200. Defined FD_SETSIZE 1024 for MinGW32.
  201. * src/a2netcompat.h
  202. 2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  203. Fixed compile error on the system which lacks poll()
  204. * src/DownloadEngineFactory.cc
  205. 2010-04-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  206. In SocketCore::isReadable()/isWritable(), use poll() if it is
  207. available otherwise use select(). Removed epoll/port from there
  208. because poll() does the good enough job for single socket event
  209. notification.
  210. * src/SocketCore.cc
  211. * src/SocketCore.h
  212. * src/main.cc
  213. 2010-04-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  214. Added kqueue support. We use poll() for
  215. SocketCore::isReadable()/isWritable() when kqueue is used.
  216. * configure.ac
  217. * src/DownloadEngineFactory.cc
  218. * src/KqueueEventPoll.cc
  219. * src/KqueueEventPoll.h
  220. * src/Makefile.am
  221. * src/Makefile.in
  222. * src/OptionHandlerFactory.cc
  223. * src/main.cc
  224. * src/prefs.cc
  225. * src/prefs.h
  226. 2010-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  227. Added missing timespec.h to SRCS
  228. * src/Makefile.am
  229. 2010-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  230. Fixed the bug that aria2.unpause fails with -s1.
  231. * src/FileEntry.cc
  232. * src/XmlRpcMethodImpl.cc
  233. 2010-04-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  234. Added missing #ifdef HAVE_PORT_ASSOCIATE
  235. * src/DownloadEngineFactory.cc
  236. 2010-04-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  237. Added opensolaris port_associate() support.
  238. * src/DownloadEngineFactory.cc
  239. * src/Makefile.am
  240. * src/OptionHandlerFactory.cc
  241. * src/PortEventPoll.cc
  242. * src/PortEventPoll.h
  243. * src/SocketCore.cc
  244. * src/SocketCore.h
  245. * src/configure.ac
  246. * src/main.cc
  247. * src/prefs.cc
  248. * src/prefs.h
  249. 2010-04-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  250. Fixed the bug that _e is passed where e should be passed.
  251. * src/HttpListenCommand.cc
  252. 2010-04-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  253. Increased _epEvents size if necessary.
  254. * src/EpollEventPoll.cc
  255. * src/EpollEventPoll.h
  256. 2010-04-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  257. Removed EventRType template parameter
  258. * src/EpollEventPoll.cc
  259. * src/EpollEventPoll.h
  260. * src/Event.h
  261. * src/PollEventPoll.cc
  262. * src/PollEventPoll.h
  263. 2010-04-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  264. Use Event in EpollEventPoll
  265. * src/EpollEventPoll.cc
  266. * src/EpollEventPoll.h
  267. 2010-04-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  268. Externalized Event, CommandEvent, ADNSEvent, SocketEntry and
  269. AsyncNameResolverEntry class.
  270. * src/Event.h
  271. * src/Makefile.am
  272. * src/PollEventPoll.cc
  273. * src/PollEventPoll.h
  274. 2010-04-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  275. Supported poll() for socket event notification. --event-poll can
  276. take value "poll". Fixed the bug that timeout for
  277. SocketCore::isReadable()/isWritable() is ignored when epoll is
  278. used.
  279. * src/OptionHandlerFactory.cc
  280. * src/a2io.h
  281. * src/prefs.h
  282. * src/SocketCore.h
  283. * src/Makefile.am
  284. * src/main.cc
  285. * src/PollEventPoll.h
  286. * src/SocketCore.cc
  287. * src/DownloadEngineFactory.cc
  288. * src/PollEventPoll.cc
  289. * src/prefs.cc
  290. * configure.ac
  291. 2010-04-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  292. Reverted previous change to DownloadCommand.cc with additional
  293. commentary.
  294. * src/DownloadCommand.cc
  295. 2010-04-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  296. Fixed compile error with openssl 1.1.0 and mingw32.
  297. * src/AsyncNameResolver.cc
  298. * src/LogFactory.cc
  299. * src/Logger.cc
  300. * src/Logger.h
  301. * src/SocketCore.cc
  302. * src/SocketCore.h
  303. * src/a2netcompat.h
  304. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  305. Release 1.9.1
  306. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  307. Bump up version number to 1.9.0
  308. * doc/aria2c.1.txt
  309. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  310. Updated Ukrainian, Russian, Simplified Chinese, German and Greek
  311. translation. Thanks to all translators.
  312. * po/de.po
  313. * po/el.po
  314. * po/ru.po
  315. * po/uk.po
  316. * po/zh_CN.po
  317. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  318. Added AC_SEARCH_LIBS for inet_aton on opensolaris. opensolaris
  319. needs -lnsl for inet_aton.
  320. * configure.ac
  321. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  322. Updated po templates.
  323. * po/aria2.pot
  324. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  325. Added aria2.pause, aria2.forcePause, aria2.pauseAll,
  326. aria2.forcePauseAll, aria2.unpause, aria2.unpauseAll XML-RPC
  327. method to aria2rpc
  328. * doc/xmlrpc/aria2rpc
  329. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  330. Use elapsed time between two mach_absolute_time() calls.
  331. Fixed compile error in Mac OS X.
  332. * src/clock_gettime_osx.cc
  333. * src/timespec.h
  334. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  335. Implemented clock_gettime() using mach_absolute_time in Mac OS X.
  336. * configure.ac
  337. * src/Makefile.am
  338. * src/a2time.h
  339. * src/clock_gettime_osx.cc
  340. * src/clock_gettime_osx.h
  341. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  342. Implemented clock_gettime() using timeGetTime in mingw.
  343. * configure.ac
  344. * src/Makefile.am
  345. * src/a2time.h
  346. * src/clock_gettime_mingw.cc
  347. * src/clock_gettime_mingw.h
  348. * src/timespec.h
  349. * test/Makefile.am
  350. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  351. Ensure that std::ofstream is destroyed before renaming.
  352. * src/SessionSerializer.cc
  353. * src/util.cc
  354. 2010-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  355. Fixed the bug that user specified path is escaped using
  356. util::escapePath() where it should not.
  357. * src/DownloadContext.cc
  358. * src/DownloadContext.h
  359. 2010-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  360. Hold reference to PieceStorage when paused in order to provide
  361. progress information via XML-RPC.
  362. * src/RequestGroup.cc
  363. * src/RequestGroup.h
  364. * src/RequestGroupMan.cc
  365. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  366. Defined struct timespec if it is not available.
  367. * src/a2time.h
  368. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  369. Added missing serialize_session.meta4 to EXTRA_DIST
  370. * test/Makefile.am
  371. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  372. Fixed compile error without BitTorrent support.
  373. * src/Metalink2RequestGroup.cc
  374. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  375. Fixed compile error on Mac OS X
  376. * src/TimerA2.h
  377. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  378. Added warning for the system which lacks clock_gettime with
  379. CLOCK_MONOTONIC.
  380. * src/MultiUrlRequestInfo.cc
  381. * src/TimerA2.cc
  382. * src/TimerA2.h
  383. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  384. Removed redundant method call for DownloadEngine.
  385. * src/DownloadCommand.cc
  386. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  387. Fixed the bug that hash check hangs when aria2.pause is issued
  388. while aria2 is checking piece hashes. Fixed the bug that the
  389. download is paused after file allocation completion even if
  390. aria2.pause is issued during file allocation.
  391. * src/CheckIntegrityCommand.cc
  392. * src/FileAllocationCommand.cc
  393. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  394. Added nsl to search-libs for getaddrinfo on opensolaris
  395. * configure.ac
  396. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  397. Fixed compile error on opensolaris
  398. * configure.ac
  399. * src/Logger.h
  400. * src/GZipEncoder.h
  401. 2010-04-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  402. Added aria2.pauseAll, aria2.forcePauseAll and aria2.unpauseAll
  403. XML-RPC method.
  404. * doc/aria2c.1.txt
  405. * src/XmlRpcMethodFactory.cc
  406. * src/XmlRpcMethodImpl.cc
  407. * src/XmlRpcMethodImpl.h
  408. * test/XmlRpcMethodTest.cc
  409. 2010-04-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  410. Added aria2.forcePause XML-RPC command.
  411. * src/XmlRpcMethodFactory.cc
  412. * src/XmlRpcMethodImpl.cc
  413. * src/XmlRpcMethodImpl.h
  414. 2010-04-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  415. Use global::wallclock
  416. * src/DHTBucket.cc
  417. * src/DHTMessageTrackerEntry.cc
  418. * src/DHTMessageTrackerEntry.h
  419. * src/DefaultBtInteractive.cc
  420. * src/Peer.cc
  421. * src/PeerAbstractCommand.cc
  422. * src/PeerStat.h
  423. * src/RequestSlot.h
  424. * src/TimeBasedCommand.cc
  425. 2010-04-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  426. Use clock_gettime(CLOCK_MONOTONIC, ...) if it is available and
  427. usable to prevent from aria2 from being affected by system time
  428. change.
  429. 2010-04-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  430. Added aria2.pause and aria2.unpause XML-RPC method. aria2.pause
  431. pauses the download denoted by gid. gid is of type string. The
  432. status of paused download becomes "paused" and the download is
  433. placed on the first position of waiting queue. As long as the
  434. status is "paused", the download is not started. To change status
  435. to "waiting", use aria2.unpause method. This method returns GID of
  436. paused download. aria2.unpause changes the status of the download
  437. denoted by gid from "paused" to "waiting". This makes the download
  438. eligible to restart. gid is of type string. This method returns
  439. GID of unpaused download.
  440. * doc/aria2c.1.txt
  441. * src/DownloadContext.cc
  442. * src/FileEntry.cc
  443. * src/OptionHandlerFactory.cc
  444. * src/RequestGroup.cc
  445. * src/RequestGroup.h
  446. * src/RequestGroupMan.cc
  447. * src/XmlRpcMethodFactory.cc
  448. * src/XmlRpcMethodImpl.cc
  449. * src/XmlRpcMethodImpl.h
  450. * src/prefs.cc
  451. * src/prefs.h
  452. * src/usage_text.h
  453. 2010-04-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  454. Added --save-session=FILE option. This option saves
  455. error/unfinished downloads to FILE on exit. You can pass this
  456. output file to aria2c with -i option on restart. Please note that
  457. downloads added by aria2.addTorrent and aria2.addMetalink XML-RPC
  458. method are not saved.
  459. * src/BtPostDownloadHandler.cc
  460. * src/DownloadResult.h
  461. * src/Makefile.am
  462. * src/MetadataInfo.cc
  463. * src/MetadataInfo.h
  464. * src/Metalink2RequestGroup.cc
  465. * src/MetalinkPostDownloadHandler.cc
  466. * src/MultiUrlRequestInfo.cc
  467. * src/OptionHandlerFactory.cc
  468. * src/RequestGroup.cc
  469. * src/RequestGroup.h
  470. * src/SessionSerializer.cc
  471. * src/SessionSerializer.h
  472. * src/UTMetadataPostDownloadHandler.cc
  473. * src/download_helper.cc
  474. * src/download_helper.h
  475. * src/prefs.cc
  476. * src/prefs.h
  477. * src/usage_text.h
  478. * test/Makefile.am
  479. * test/SessionSerializerTest.cc
  480. * test/XmlRpcMethodTest.cc
  481. * test/serialize_session.meta4
  482. 2010-04-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  483. Fixed the bug that FTP data connection is not established via
  484. proxy when --ftp-proxy is defined and --ftp-pasv=true and
  485. --proxy-method=tunnel.
  486. * src/AbstractCommand.cc
  487. * src/AbstractCommand.h
  488. * src/FtpNegotiationCommand.cc
  489. * src/FtpNegotiationCommand.h
  490. * src/InitiateConnectionCommand.cc
  491. 2010-04-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  492. Updated po templates.
  493. * po/aria2.pot
  494. 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  495. Bump up version number to 1.9.1
  496. * configure.ac
  497. 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  498. Added shutdown and forceShutdown to aria2rpc
  499. * doc/xmlrpc/aria2rpc
  500. 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  501. Changed error message.
  502. * src/XmlRpcMethod.cc
  503. 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  504. Added bt-tracker-timeout, bt-tracker-connect-timeout,
  505. always-resume, max-resume-failure-tries and http-accept-gzip to -i
  506. list options.
  507. * doc/aria2c.1.txt
  508. * doc/xmlrpc/aria2rpc
  509. * src/download_helper.cc
  510. 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  511. Fixed the bug that web-seed URI is not percent-encoded.
  512. * src/a2functional.h
  513. * src/bittorrent_helper.cc
  514. * test/BittorrentHelperTest.cc
  515. * test/url-list-multiFile.torrent
  516. * test/url-list-singleFileEndsWithSlash.torrent
  517. 2010-04-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  518. Added aria2.shutdown and aria2.forceShutdown XML-RPC method.
  519. These methods, as their name implies, shutdown aria2. These
  520. methods are useful for Windows because it lacks signal mechanism.
  521. * doc/aria2c.1.txt
  522. * src/TimedHaltCommand.cc
  523. * src/XmlRpcMethodFactory.cc
  524. * src/XmlRpcMethodImpl.cc
  525. * src/XmlRpcMethodImpl.h
  526. 2010-04-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  527. Added forceHalt argument to TimedHaltCommand.
  528. Added requestForceHalt() to DownloadEngine.
  529. * src/DownloadEngine.cc
  530. * src/DownloadEngine.h
  531. * src/TimedHaltCommand.cc
  532. * src/TimedHaltCommand.h
  533. 2010-04-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  534. Possible fix for chunked encoding with Content-Length.
  535. * src/HttpResponseCommand.cc
  536. 2010-04-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  537. Don't send "Accept: default, gzip" by default. This is because
  538. some server responds with "Content-Encoding: gzip" for files which
  539. itself is gzipped file and aria2 inflates them. This is a problem
  540. if user don't want to inflate the file. Apparently this is server
  541. configuration error, but I cannot do anything about this. So turn
  542. this off. Added --http-accept-gzip option. If true is given to
  543. this option, aria2 sends 'Accept: deflate, gzip' request header
  544. and inflates response if remote server responds with
  545. 'Content-Encoding: gzip' or 'Content-Encoding: deflate'. This
  546. indicates we removed extension tgz hack in order not to inflate
  547. files with tgz extensions.
  548. * doc/aria2c.1.txt
  549. * src/HttpRequest.cc
  550. * src/HttpRequest.h
  551. * src/HttpRequestCommand.cc
  552. * src/HttpResponseCommand.cc
  553. * src/OptionHandlerFactory.cc
  554. * src/prefs.cc
  555. * src/prefs.h
  556. * src/usage_text.h
  557. * test/HttpRequestTest.cc
  558. 2010-04-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  559. Made aria2 not send
  560. "application/metalink4+xml,application/metalink+xml" in Accept
  561. header for web-seeding URIs and tracker request.
  562. * src/Metalink2RequestGroup.cc
  563. * src/TrackerWatcherCommand.cc
  564. * src/download_helper.cc
  565. * src/util.cc
  566. * src/util.h
  567. 2010-04-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  568. Added download_helper.{cc,h} to SRCS
  569. * src/Makefile.am
  570. * test/Makefile.am
  571. 2010-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  572. Added --dht-message-timeout option.
  573. * doc/aria2c.1.txt
  574. * src/DHTConstants.h
  575. * src/DHTMessageDispatcherImpl.cc
  576. * src/DHTMessageDispatcherImpl.h
  577. * src/DHTMessageTracker.cc
  578. * src/DHTMessageTracker.h
  579. * src/DHTReplaceNodeTask.h
  580. * src/DHTSetup.cc
  581. * src/DHTTaskFactoryImpl.cc
  582. * src/DHTTaskFactoryImpl.h
  583. * src/OptionHandlerFactory.cc
  584. * src/prefs.cc
  585. * src/prefs.h
  586. * src/usage_text.h
  587. * test/DHTMessageTrackerTest.cc
  588. 2010-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  589. Added --bt-tracker-connect-timeout and --bt-tracker-timeout
  590. option.
  591. * doc/aria2c.1.txt
  592. * src/OptionHandlerFactory.cc
  593. * src/TrackerWatcherCommand.cc
  594. * src/prefs.cc
  595. * src/prefs.h
  596. * src/usage_text.h
  597. 2010-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  598. Documented that specifying --seed-time=0 disables seeding after
  599. download completed.
  600. * doc/aria2c.1.txt
  601. 2010-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  602. Code cleanup
  603. * src/BtSetup.cc
  604. 2010-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  605. Drop connection if same Peer ID has been already seen.
  606. * src/DefaultBtInteractive.cc
  607. 2010-03-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  608. Fixed the bug that waiting download unintentionally starts when
  609. URIs are added to it using aria2.changeUri XML-RPC method. This
  610. also fixes the bug that causes segmentation fault when adding URIs
  611. to waiting download, which is a regression introduced by the
  612. previous change made to src/XmlRpcMethodImpl.cc
  613. * src/XmlRpcMethodImpl.cc
  614. 2010-03-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  615. Fixed compile error with g++-4.4 on FreeBSD.
  616. * src/util.h
  617. 2010-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  618. Fixed the bug that added URI using aria2.changeUri XML-RPC method
  619. is not used immediately if there is no URIs remaining before
  620. calling aria2.changeUri and the number of connection is less than
  621. the value in -s(or -C for Metalink downloads).
  622. * src/XmlRpcMethodImpl.cc
  623. 2010-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  624. Documented --always-resume and --max-resume-failure-tries option
  625. and exit status 8 in man page. Fixed typo.
  626. * doc/aria2c.1.txt
  627. * src/OptionHandlerFactory.cc
  628. 2010-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  629. Added --always-resume and --max-resume-failure-tries option. If
  630. --always-resume=false is given, when all given URIs does not
  631. support resume or aria2 encounters N URIs which does not support
  632. resume
  633. (N is the value specified using --max-resume-failure-tries
  634. option), aria2 download file from scratch. The default behavior
  635. is --always-resume=true, which means if all URIs do not support
  636. resume, download fails. I think this is OK because user normally
  637. don't like to see that partially downloaded file is
  638. overwritten(this is particularly true if file size is big). This
  639. option is useful when aria2 is used as download backend and
  640. graceful falling back to overwritten behavior is preferable.
  641. Added exit status value 8, which means download failed because
  642. server did not support resume.
  643. * src/AbstractCommand.cc
  644. * src/DefaultPieceStorage.cc
  645. * src/DownloadCommand.cc
  646. * src/DownloadResultCode.h
  647. * src/FileEntry.h
  648. * src/FtpNegotiationCommand.cc
  649. * src/HttpResponse.cc
  650. * src/HttpResponseCommand.cc
  651. * src/OptionHandlerFactory.cc
  652. * src/RequestGroup.cc
  653. * src/RequestGroup.h
  654. * src/SegmentMan.cc
  655. * src/SegmentMan.h
  656. * src/prefs.cc
  657. * src/prefs.h
  658. * src/usage_text.h
  659. * test/DefaultPieceStorageTest.cc
  660. * test/SegmentManTest.cc
  661. 2010-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  662. Added --remove-control-file option to -i list options.
  663. * doc/aria2c.1.txt
  664. * doc/xmlrpc/aria2rpc
  665. * src/download_helper.cc
  666. 2010-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  667. Added --remove-control-file option. This option removes control
  668. file(*.aria2 file) before download. Using with
  669. --allow-overwrite=true, download always starts from scratch. This
  670. will be useful for users behind proxy server which disables
  671. resume. For such proxy user, -C1 is also recommended for Metalink
  672. downloads to avoid establishing unnecessary connections.
  673. * doc/aria2c.1.txt
  674. * src/OptionHandlerFactory.cc
  675. * src/RequestGroup.cc
  676. * src/prefs.cc
  677. * src/prefs.h
  678. * src/usage_text.h
  679. 2010-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  680. Removed arrayLength. Defined A2_ARRAY_LEN as macro to calculate
  681. size of array at compile time.
  682. * src/array_fun.h
  683. * test/BitfieldManTest.cc
  684. * test/BtPortMessageTest.cc
  685. * test/DHTRoutingTableDeserializerTest.cc
  686. * test/DHTRoutingTableSerializerTest.cc
  687. * test/DownloadHelperTest.cc
  688. * test/LongestSequencePieceSelectorTest.cc
  689. * test/MultiDiskAdaptorTest.cc
  690. * test/OptionParserTest.cc
  691. * test/PriorityPieceSelectorTest.cc
  692. * test/array_funTest.cc
  693. 2010-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  694. Added vbegin() and vend() for fixed sized array.
  695. * src/DownloadHandlerConstants.cc
  696. * src/FeatureConfig.cc
  697. * src/OptionHandlerFactory.cc
  698. * src/ServerStat.cc
  699. * src/TimeA2.cc
  700. * src/XmlRpcMethod.cc
  701. * src/array_fun.h
  702. * src/download_helper.cc
  703. * src/messageDigest.cc
  704. * src/util.cc
  705. * test/BittorrentHelperTest.cc
  706. * test/DHTRoutingTableDeserializerTest.cc
  707. * test/DHTRoutingTableSerializerTest.cc
  708. * test/DefaultBtAnnounceTest.cc
  709. * test/DefaultBtProgressInfoFileTest.cc
  710. * test/DownloadContextTest.cc
  711. * test/DownloadHelperTest.cc
  712. * test/FeatureConfigTest.cc
  713. * test/FeedbackURISelectorTest.cc
  714. * test/HttpRequestTest.cc
  715. * test/InOrderURISelectorTest.cc
  716. * test/MSEHandshakeTest.cc
  717. * test/MultiDiskAdaptorTest.cc
  718. * test/MultiFileAllocationIteratorTest.cc
  719. * test/PriorityPieceSelectorTest.cc
  720. * test/RequestGroupManTest.cc
  721. * test/UtilTest.cc
  722. * test/XmlRpcMethodTest.cc
  723. * test/a2algoTest.cc
  724. * test/array_funTest.cc
  725. 2010-03-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  726. Simplified code using lastByteMask
  727. * src/BitfieldMan.cc
  728. * src/PieceStatMan.cc
  729. 2010-03-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  730. Rewritten lastByteMask
  731. * src/bitfield.h
  732. 2010-03-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  733. Redefined the maximum length of buffer used for HTTP header.
  734. * src/HttpHeaderProcessor.cc
  735. 2010-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  736. Code cleanup
  737. * src/SleepCommand.cc
  738. 2010-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  739. Do exact match if IP address is specified in --no-proxy.
  740. * src/AbstractCommand.cc
  741. 2010-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  742. Fixed the bug that socket is added to EventPoll object twice. This
  743. is because derived class FtpFinishDownloadCommand adds socket to
  744. EventPoll object while base class AbstractCommand does that
  745. already.
  746. * src/FtpFinishDownloadCommand.cc
  747. * src/FtpFinishDownloadCommand.h
  748. 2010-03-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  749. Defined gid_t as int64_t.
  750. * src/BtDependency.cc
  751. * src/BtStopDownloadCommand.cc
  752. * src/FtpNegotiationCommand.cc
  753. * src/HttpResponseCommand.cc
  754. * src/RequestGroup.cc
  755. * src/RequestGroup.h
  756. * src/RequestGroupMan.cc
  757. * src/TrackerWatcherCommand.cc
  758. * src/XmlRpcMethodImpl.cc
  759. * src/message.h
  760. * test/XmlRpcMethodTest.cc
  761. 2010-03-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  762. Defined cuid_t as int64_t. Removed texts containing "CUID#%D" from
  763. translatable texts because it is used in log and debugging
  764. purpose.
  765. * src/AbstractCommand.cc
  766. * src/ActivePeerConnectionCommand.cc
  767. * src/BtPieceMessage.cc
  768. * src/CUIDCounter.h
  769. * src/CheckIntegrityCommand.cc
  770. * src/CheckIntegrityDispatcherCommand.cc
  771. * src/Command.h
  772. * src/CreateRequestCommand.cc
  773. * src/DHTEntryPointNameResolveCommand.cc
  774. * src/DefaultBtInteractive.cc
  775. * src/DefaultBtMessageDispatcher.cc
  776. * src/DownloadCommand.cc
  777. * src/FileAllocationCommand.cc
  778. * src/FileAllocationDispatcherCommand.cc
  779. * src/FtpConnection.cc
  780. * src/FtpInitiateConnectionCommand.cc
  781. * src/FtpNegotiationCommand.cc
  782. * src/HttpConnection.cc
  783. * src/HttpInitiateConnectionCommand.cc
  784. * src/HttpListenCommand.cc
  785. * src/HttpResponse.cc
  786. * src/HttpServerBodyCommand.cc
  787. * src/HttpServerCommand.cc
  788. * src/HttpServerResponseCommand.cc
  789. * src/InitiateConnectionCommand.cc
  790. * src/InitiatorMSEHandshakeCommand.cc
  791. * src/MSEHandshake.cc
  792. * src/PeerAbstractCommand.cc
  793. * src/PeerConnection.cc
  794. * src/PeerInitiateConnectionCommand.cc
  795. * src/PeerInteractionCommand.cc
  796. * src/PeerListenCommand.cc
  797. * src/PeerReceiveHandshakeCommand.cc
  798. * src/SegmentMan.cc
  799. * src/SimpleBtMessage.cc
  800. * src/TrackerWatcherCommand.cc
  801. * src/message.h
  802. 2010-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  803. Use gid_t type for gid.
  804. * src/BtRegistry.cc
  805. * src/BtRegistry.h
  806. * src/DownloadResult.h
  807. * src/RequestGroup.cc
  808. * src/RequestGroup.h
  809. * src/RequestGroupMan.cc
  810. * src/RequestGroupMan.h
  811. * src/XmlRpcMethodImpl.cc
  812. 2010-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  813. Use cuid_t type for cuid.
  814. 2010-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  815. Added v key in DHT message. aria2's DHT version is independent of
  816. the package version and we defined it as 1 at the moment. It is
  817. defined as DHT_VERSION in src/DHTConstants.h. aria2's DHT version
  818. scheme is "A2"+2bytes DHT version number in network byte order.
  819. * src/DHTAbstractMessage.cc
  820. * src/DHTConstants.h
  821. * src/DHTMessage.cc
  822. * src/DHTMessage.h
  823. * src/DHTMessageFactoryImpl.cc
  824. * src/DHTQueryMessage.cc
  825. * src/DHTResponseMessage.cc
  826. * src/util.h
  827. * test/DHTAnnouncePeerMessageTest.cc
  828. * test/DHTAnnouncePeerReplyMessageTest.cc
  829. * test/DHTFindNodeMessageTest.cc
  830. * test/DHTFindNodeReplyMessageTest.cc
  831. * test/DHTGetPeersMessageTest.cc
  832. * test/DHTGetPeersReplyMessageTest.cc
  833. * test/DHTPingMessageTest.cc
  834. * test/DHTPingReplyMessageTest.cc
  835. 2010-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  836. Fixed the bug that value of numSeeders in aria2.tellStatus XML-RPC
  837. method response is integer, while manual says it is string. When
  838. peer's port is not listening port, set '0' to port in
  839. aria2.getPeers response.
  840. * src/XmlRpcMethodImpl.cc
  841. 2010-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  842. Lines starting "#" in -i list are treated as comments.
  843. Example:
  844. # this is comment
  845. http://example.org/file
  846. http://example.org/file2
  847. dir=/tmp
  848. # another comment
  849. out=myfile
  850. * doc/aria2c.1.txt
  851. * src/UriListParser.cc
  852. * test/filelist1.txt
  853. 2010-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  854. Accept IPv4 network address with CIDR block in --no-proxy option
  855. and no_proxy environment variable. Current implementation does
  856. not resolve hostname in URI to compare network address. So it is
  857. only effecive if URI has numeric IP addresses.
  858. * doc/aria2c.1.txt
  859. * src/AbstractCommand.cc
  860. * src/OptionHandlerFactory.cc
  861. * src/bitfield.h
  862. * src/usage_text.h
  863. * src/util.cc
  864. * src/util.h
  865. * test/UtilTest.cc
  866. * test/bitfieldTest.cc
  867. 2010-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  868. Reduced interval for metadatagetmode to quickly gather metadata.
  869. * src/BtSetup.cc
  870. 2010-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  871. Release 1.9.0
  872. 2010-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  873. Updated po templates.
  874. * po/aria2.pot
  875. 2010-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  876. Updated doc.
  877. * doc/aria2c.1.txt
  878. 2010-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  879. Documented about Metalink4 and LPD in README
  880. * RADME
  881. 2010-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  882. Few adjustment for timeouts in DHT. DHT message timeout is changed
  883. from 15 to 10. The interval of PeerLookup is first 5 seconds and
  884. it adds another 5 seconds in each retry.
  885. * src/DHTConstants.h
  886. * src/DHTGetPeersCommand.cc
  887. * src/DHTGetPeersCommand.h
  888. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  889. Changed log level from error to info for DHT message send error.
  890. * src/DHTMessageDispatcherImpl.cc
  891. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  892. Inspect all xt in magnet to find urn:btih.
  893. * src/bittorrent_helper.cc
  894. * test/BittorrentHelperTest.cc
  895. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  896. Use global option for DHTSetup.
  897. * src/DHTSetup.cc
  898. * src/DHTSetup.h
  899. * src/RequestGroup.cc
  900. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  901. Added bt-enable-lpt, reuse-uri
  902. and {http,https,ftp,all}-proxy-{user,passwd} options to -i list
  903. options.
  904. * doc/aria2c.1.txt
  905. * doc/xmlrpc/aria2rpc
  906. * src/download_helper.cc
  907. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  908. Use global option for PREF_LISTEN_PORT and PREF_BT_LPD_INTERFACE.
  909. * src/BtSetup.cc
  910. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  911. Resurrected --http-proxy-user and --http-proxy-passwd option.
  912. Added --https-proxy-user, --https-proxy-passwd, --ftp-proxy-user,
  913. --ftp-proxy-passwd, --all-proxy-user, --all-proxy-passwd option.
  914. * doc/aria2c.1.txt
  915. * src/OptionHandlerFactory.cc
  916. * src/OptionHandlerImpl.h
  917. * src/prefs.cc
  918. * src/prefs.h
  919. * src/usage_text.h
  920. * test/OptionHandlerTest.cc
  921. 2010-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  922. Updated Russian and Simplified Chinese translation. Thanks to all
  923. translators.
  924. * po/ru.po
  925. * po/zh_CN.po
  926. 2010-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  927. Updated po templates.
  928. * po/aria2.pot
  929. 2010-03-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  930. For LPD sockets, bind IN_ADDRANY because binding multicast address
  931. fails under Windows.
  932. * src/LpdMessageReceiver.cc
  933. * test/LpdMessageDispatcherTest.cc
  934. 2010-03-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  935. Fixed the bug that error message is not propagated to Exception.
  936. * src/SocketCore.cc
  937. 2010-03-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  938. Documented --bt-lpd-interface option in man page.
  939. * doc/aria2c.1.txt
  940. 2010-03-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  941. Bump up version number to 1.9.0
  942. * configure.ac
  943. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  944. Fixed the bug that FillRequestGroupCommand is not invoked when
  945. RequestGroupMan::createInitialCommand() creates no Command object.
  946. * src/FillRequestGroupCommand.cc
  947. * src/RequestGroupMan.cc
  948. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  949. Added debug logs.
  950. * src/FileEntry.cc
  951. * src/SegmentMan.cc
  952. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  953. Fixed unit test error with mingw32 build.
  954. * test/LpdMessageReceiverTest.cc
  955. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  956. Updated automake-1.11.1
  957. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  958. Fixed compile error and unit test error without openssl and
  959. gnutls.
  960. * src/MetalinkParserController.cc
  961. * test/MetalinkProcessorTest.cc
  962. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  963. Fixed unitest fails if openssl doesn't support sha-256.
  964. * src/MetalinkParserStateV4Impl.cc
  965. * test/MetalinkProcessorTest.cc
  966. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  967. Wait until message arrives(again)
  968. * test/LpdMessageReceiverTest.cc
  969. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  970. Added missing wallclock.h to SRCS.
  971. * src/Makefile.am
  972. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  973. Fixed compile error with --disable-bittorrent
  974. * test/Metalink2RequestGroupTest.cc
  975. * test/MetalinkParserControllerTest.cc
  976. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  977. Added --reuse-uri option. This option has existed quite long, but
  978. been hidden.
  979. * doc/aria2c.1.txt
  980. * src/OptionHandlerFactory.cc
  981. * src/usage_text.h
  982. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  983. Ignore filename parameter if it contains directory traversal
  984. directives.
  985. * src/util.cc
  986. * test/UtilTest.cc
  987. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  988. urldecode -> percentDecode
  989. * src/FtpConnection.cc
  990. * src/FtpNegotiationCommand.cc
  991. * src/HttpResponse.cc
  992. * src/Request.cc
  993. * src/magnet.cc
  994. * src/util.cc
  995. * src/util.h
  996. * test/UtilTest.cc
  997. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  998. urlencode -> percentEncode,
  999. torrentUrlencode -> torrentPercentEncode
  1000. * src/BtHandshakeMessage.cc
  1001. * src/BtHandshakeMessageValidator.h
  1002. * src/DHTMessageFactoryImpl.cc
  1003. * src/DefaultBtAnnounce.cc
  1004. * src/HandshakeExtensionMessage.cc
  1005. * src/HttpRequest.cc
  1006. * src/XmlRpcMethodImpl.cc
  1007. * src/bittorrent_helper.cc
  1008. * src/util.cc
  1009. * src/util.h
  1010. * test/DHTAnnouncePeerMessageTest.cc
  1011. * test/DHTGetPeersMessageTest.cc
  1012. * test/DHTGetPeersReplyMessageTest.cc
  1013. * test/UTPexExtensionMessageTest.cc
  1014. * test/UtilTest.cc
  1015. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1016. Fixed the bug that filename is percent encoded where it must be
  1017. percent decoded in sendMdtm().
  1018. * src/FtpConnection.cc
  1019. * test/FtpConnectionTest.cc
  1020. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1021. url -> uri in Request class.
  1022. * src/AbstractCommand.cc
  1023. * src/AdaptiveURISelector.cc
  1024. * src/DefaultBtAnnounce.cc
  1025. * src/FeedbackURISelector.cc
  1026. * src/FileEntry.cc
  1027. * src/FileEntry.h
  1028. * src/HttpRequest.h
  1029. * src/HttpResponse.cc
  1030. * src/InitiateConnectionCommandFactory.cc
  1031. * src/Metalink2RequestGroup.cc
  1032. * src/OptionHandlerImpl.h
  1033. * src/ProtocolDetector.cc
  1034. * src/Request.cc
  1035. * src/Request.h
  1036. * src/XmlRpcMethodImpl.cc
  1037. * test/AuthConfigFactoryTest.cc
  1038. * test/FtpConnectionTest.cc
  1039. * test/HttpRequestTest.cc
  1040. * test/HttpResponseTest.cc
  1041. * test/RequestTest.cc
  1042. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1043. Added getServers XML-RPC method.
  1044. * doc/aria2c.1.txt
  1045. * src/FileEntry.h
  1046. * src/XmlRpcMethodFactory.cc
  1047. * src/XmlRpcMethodImpl.cc
  1048. * src/XmlRpcMethodImpl.h
  1049. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1050. Pool request when download finished.
  1051. * src/DownloadCommand.cc
  1052. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1053. Made 'fileIndex' parameter in aria2.changeUri XML-RPC method
  1054. 1-based.
  1055. * doc/aria2c.1.txt
  1056. * src/XmlRpcMethodImpl.cc
  1057. * test/XmlRpcMethodTest.cc
  1058. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1059. Call RequestGroupMan::requestQueueCheck() when
  1060. max-concurrent-downloads option is changed or new downloads are
  1061. added/inserted into reserved list.
  1062. * src/RequestGroupMan.cc
  1063. * src/XmlRpcMethodImpl.cc
  1064. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1065. Added aria2.forceRemove XML-RPC method.
  1066. * doc/aria2c.1.txt
  1067. * src/XmlRpcMethodFactory.cc
  1068. * src/XmlRpcMethodImpl.cc
  1069. * src/XmlRpcMethodImpl.h
  1070. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1071. Added debug log.
  1072. * src/AbstractCommand.cc
  1073. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1074. Create CreateRequestCommand to the number of -s/-C when URIs are
  1075. added by XML-RPC.
  1076. * src/RequestGroup.cc
  1077. * src/RequestGroup.h
  1078. * src/XmlRpcMethodImpl.cc
  1079. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1080. Added 'status' key to the response of getUri XML-RPC method.
  1081. * doc/aria2c.1.txt
  1082. * src/XmlRpcMethodImpl.cc
  1083. 2010-03-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1084. Replaced Time::reset() call with assigning of global::wallclock.
  1085. * src/BtLeecherStateChoke.cc
  1086. * src/BtSeederStateChoke.cc
  1087. * src/PeerSessionResource.cc
  1088. * src/RequestSlot.cc
  1089. * src/ServerStat.cc
  1090. * src/SpeedCalc.cc
  1091. 2010-03-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1092. Added changeUri XML-RPC method. This method removes/adds URIs
  1093. dynamically.
  1094. * doc/aria2c.1.txt
  1095. * src/AbstractCommand.cc
  1096. * src/DownloadContext.cc
  1097. * src/DownloadContext.h
  1098. * src/FileEntry.cc
  1099. * src/FileEntry.h
  1100. * src/Request.cc
  1101. * src/Request.h
  1102. * src/RequestGroup.cc
  1103. * src/RequestGroupMan.cc
  1104. * src/XmlRpcMethodFactory.cc
  1105. * src/XmlRpcMethodImpl.cc
  1106. * src/XmlRpcMethodImpl.h
  1107. * test/FileEntryTest.cc
  1108. * test/XmlRpcMethodTest.cc
  1109. 2010-03-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1110. Rewritten copy ctor of RequestSlot to use initialization list.
  1111. * src/RequestSlot.h
  1112. 2010-03-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1113. Added Time global::wallclock to cache "current time" to reduce the
  1114. call gettimeofday(). Global variables are now in namespace global.
  1115. * src/AbstractCommand.cc
  1116. * src/ActivePeerConnectionCommand.cc
  1117. * src/AdaptiveURISelector.cc
  1118. * src/BtLeecherStateChoke.cc
  1119. * src/BtLeecherStateChoke.h
  1120. * src/BtSeederStateChoke.cc
  1121. * src/BtSeederStateChoke.h
  1122. * src/BtStopDownloadCommand.cc
  1123. * src/ConsoleStatCalc.cc
  1124. * src/DHTBucket.cc
  1125. * src/DHTGetPeersCommand.cc
  1126. * src/DHTMessageTrackerEntry.cc
  1127. * src/DHTNode.cc
  1128. * src/DHTPeerAnnounceEntry.cc
  1129. * src/DHTPeerAnnounceStorage.cc
  1130. * src/DHTSetup.cc
  1131. * src/DefaultBtAnnounce.cc
  1132. * src/DefaultBtInteractive.cc
  1133. * src/DefaultBtMessageDispatcher.cc
  1134. * src/DefaultPeerStorage.cc
  1135. * src/DefaultPieceStorage.cc
  1136. * src/DownloadCommand.cc
  1137. * src/DownloadEngine.cc
  1138. * src/FileEntry.cc
  1139. * src/HttpServerBodyCommand.cc
  1140. * src/HttpServerCommand.cc
  1141. * src/HttpServerResponseCommand.cc
  1142. * src/LpdMessageDispatcher.cc
  1143. * src/MultiUrlRequestInfo.cc
  1144. * src/Peer.cc
  1145. * src/Peer.h
  1146. * src/PeerAbstractCommand.cc
  1147. * src/PeerStat.h
  1148. * src/RequestSlot.cc
  1149. * src/RequestSlot.h
  1150. * src/SegmentMan.cc
  1151. * src/ServerStatMan.cc
  1152. * src/SleepCommand.cc
  1153. * src/SpeedCalc.cc
  1154. * src/SpeedCalc.h
  1155. * src/TimeA2.cc
  1156. * src/TimeA2.h
  1157. * src/TimeBasedCommand.cc
  1158. * src/TimeSeedCriteria.h
  1159. * src/UTMetadataRequestTracker.h
  1160. * src/UTPexExtensionMessage.cc
  1161. * src/wallclock.h
  1162. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1163. Fixed the bug that util::itos(INT64_MIN) fails.
  1164. * src/util.cc
  1165. * src/util.h
  1166. * test/UtilTest.cc
  1167. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1168. Fixed memory leak in SocketBuffer when _bufq is not empty when
  1169. SocketBuffer is deleted. Added BufEntry constructor and deleted
  1170. static factory functions.
  1171. * src/SocketBuffer.cc
  1172. * src/SocketBuffer.h
  1173. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1174. Only execute RequestGroupMan::fillRequestGroupFromReserver() when
  1175. queue maintenance is requested by RequestGroup to avoid to call
  1176. the function unnecessarily.
  1177. * src/FillRequestGroupCommand.cc
  1178. * src/RequestGroup.cc
  1179. * src/RequestGroup.h
  1180. * src/RequestGroupMan.cc
  1181. * src/RequestGroupMan.h
  1182. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1183. Don't use hash for Peer::id. Simple concatenation of ip address
  1184. and port is enough.
  1185. * src/Peer.cc
  1186. * test/PeerTest.cc
  1187. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1188. Enclosed log of DHTMessage::toString() with Logger::info().
  1189. * src/DHTMessageDispatcherImpl.cc
  1190. * src/DHTMessageReceiver.cc
  1191. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1192. Rewritten util::toHex().
  1193. * src/util.cc
  1194. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1195. Removed SocketBuffer::feedAndSend(). Renamed
  1196. SocketBuffer::feedSendBuffer() as SocketBuffer::pushStr().
  1197. * src/FtpConnection.cc
  1198. * src/HttpConnection.cc
  1199. * src/HttpServer.cc
  1200. * src/MSEHandshake.cc
  1201. * src/PeerConnection.cc
  1202. * src/SocketBuffer.cc
  1203. * src/SocketBuffer.h
  1204. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1205. Removed unused PeerConnection::sendMessage(). Updated doc.
  1206. * src/PeerConnection.cc
  1207. * src/PeerConnection.h
  1208. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1209. Reduced copying/std::string instantiation in sending/receiving
  1210. BitTorrent messages.
  1211. * src/BtBitfieldMessage.cc
  1212. * src/BtBitfieldMessage.h
  1213. * src/BtExtendedMessage.cc
  1214. * src/BtExtendedMessage.h
  1215. * src/BtHandshakeMessage.cc
  1216. * src/BtHandshakeMessage.h
  1217. * src/BtKeepAliveMessage.cc
  1218. * src/BtKeepAliveMessage.h
  1219. * src/BtPieceMessage.cc
  1220. * src/BtPieceMessage.h
  1221. * src/BtPortMessage.cc
  1222. * src/BtPortMessage.h
  1223. * src/BtUnchokeMessage.h
  1224. * src/DefaultBtMessageReceiver.cc
  1225. * src/IndexBtMessage.cc
  1226. * src/IndexBtMessage.h
  1227. * src/PeerConnection.cc
  1228. * src/PeerConnection.h
  1229. * src/RangeBtMessage.cc
  1230. * src/RangeBtMessage.h
  1231. * src/SimpleBtMessage.cc
  1232. * src/SimpleBtMessage.h
  1233. * src/SocketBuffer.cc
  1234. * src/SocketBuffer.h
  1235. * src/ZeroBtMessage.cc
  1236. * src/ZeroBtMessage.h
  1237. * test/BtAllowedFastMessageTest.cc
  1238. * test/BtBitfieldMessageTest.cc
  1239. * test/BtCancelMessageTest.cc
  1240. * test/BtChokeMessageTest.cc
  1241. * test/BtExtendedMessageTest.cc
  1242. * test/BtHandshakeMessageTest.cc
  1243. * test/BtHaveAllMessageTest.cc
  1244. * test/BtHaveMessageTest.cc
  1245. * test/BtHaveNoneMessageTest.cc
  1246. * test/BtInterestedMessageTest.cc
  1247. * test/BtKeepAliveMessageTest.cc
  1248. * test/BtNotInterestedMessageTest.cc
  1249. * test/BtPieceMessageTest.cc
  1250. * test/BtPortMessageTest.cc
  1251. * test/BtRejectMessageTest.cc
  1252. * test/BtRequestMessageTest.cc
  1253. * test/BtSuggestPieceMessageTest.cc
  1254. * test/BtUnchokeMessageTest.cc
  1255. 2010-03-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1256. Rewritten SocketBuffer. Old implementation uses single std::string
  1257. to store data and erase sent data, which is costly. New
  1258. implementation uses deque to hold each data to avoid to mutate
  1259. string.
  1260. * src/SocketBuffer.cc
  1261. * src/SocketBuffer.h
  1262. 2010-03-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1263. Removed unused FileEntry::extracted
  1264. * src/FileEntry.cc
  1265. * src/FileEntry.h
  1266. 2010-03-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1267. Wait until data arrives.
  1268. * test/LpdMessageReceiverTest.cc
  1269. 2010-03-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1270. In Metalink4, if size element contains invalid size, discard whole
  1271. document. Added strict hash value check for metalink3/4.
  1272. * src/MetalinkParserController.cc
  1273. * src/MetalinkParserStateMachine.cc
  1274. * src/MetalinkParserStateMachine.h
  1275. * src/MetalinkParserStateV3Impl.cc
  1276. * src/MetalinkParserStateV4Impl.cc
  1277. * src/util.cc
  1278. * src/util.h
  1279. * test/MetalinkParserControllerTest.cc
  1280. * test/MetalinkProcessorTest.cc
  1281. * test/metalink4.xml
  1282. 2010-03-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1283. Added strict attribute validation for metalink4. When
  1284. specification violation is found, discard the whole document.
  1285. * src/ExpatMetalinkProcessor.cc
  1286. * src/MetalinkParserStateMachine.cc
  1287. * src/MetalinkParserStateMachine.h
  1288. * src/MetalinkParserStateV4Impl.cc
  1289. * src/XML2SAXMetalinkProcessor.cc
  1290. * test/Makefile.am
  1291. * test/MetalinkProcessorTest.cc
  1292. * test/metalink4-attrs.xml: Removed
  1293. * test/metalink4-dirtraversal.xml: Removed
  1294. 2010-03-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1295. Added test for Metaurl transaction.
  1296. * src/MetalinkParserController.cc
  1297. * test/MetalinkParserControllerTest.cc
  1298. 2010-03-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1299. Avoid costly BtMessage::toString() if info level log is not
  1300. required.
  1301. * src/DefaultBtInteractive.cc
  1302. * src/Logger.h
  1303. * src/SimpleBtMessage.cc
  1304. 2010-03-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1305. Reserved vector elements based on profiler results.
  1306. * src/DefaultBtInteractive.cc
  1307. * src/DefaultBtProgressInfoFile.cc
  1308. 2010-03-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1309. Avoid to calculate end() iterator in each loop. std::deque is
  1310. particularly slow. Make sure that recalculate end iterator if
  1311. element is erased during loop.
  1312. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1313. Use vector instead of deque for containers which is used for
  1314. mostly read-only purpose.
  1315. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1316. Fixed typo
  1317. * test/Makefile.am
  1318. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1319. Added metalink4-groupbymetaurl.xml to EXTRA_DIST
  1320. * test/Makefile.am
  1321. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1322. Small optimization: In updateTransferStatFor(), don't search peer
  1323. ID twice.
  1324. * src/DefaultPeerStorage.cc
  1325. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1326. Use vector instead of deque for MetalinkEntry and MetalinkResource
  1327. objects.
  1328. * src/Metalink2RequestGroup.cc
  1329. * src/Metalink2RequestGroup.h
  1330. * src/MetalinkEntry.cc
  1331. * src/MetalinkEntry.h
  1332. * src/MetalinkHelper.cc
  1333. * src/MetalinkHelper.h
  1334. * src/Metalinker.cc
  1335. * src/Metalinker.h
  1336. * src/main.cc
  1337. * test/MetalinkEntryTest.cc
  1338. * test/MetalinkHelperTest.cc
  1339. * test/MetalinkProcessorTest.cc
  1340. * test/MetalinkerTest.cc
  1341. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1342. Fixed the bug that grouped FileEntry objects are not used but
  1343. instead all FileEntry objects are used for each metaurl group.
  1344. * src/Metalink2RequestGroup.cc
  1345. * test/Metalink2RequestGroupTest.cc
  1346. * test/metalink4-groupbymetaurl.xml
  1347. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1348. Use vector instead of deque for ChunkChecksum.
  1349. * src/ChunkChecksum.h
  1350. * src/MetalinkParserController.cc
  1351. * src/MetalinkParserController.h
  1352. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1353. Added MessageDigest::isStronger(). Now aria2 selects stronger hash
  1354. algorithm in Metalink properly
  1355. * src/MetalinkParserController.cc
  1356. * src/MetalinkParserController.h
  1357. * src/messageDigest.cc
  1358. * src/messageDigest.h
  1359. * test/MetalinkProcessorTest.cc
  1360. * test/metalink4.xml
  1361. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1362. Replaced null or control characters in file path with '_'. For
  1363. MinGW32 build, additional characters which is not allowed in
  1364. Windows kernel are also replaced. util::detectDirTraversal() now
  1365. returns true if given string contains null or control characters.
  1366. * src/DownloadContext.cc
  1367. * src/DownloadContext.h
  1368. * src/Metalink2RequestGroup.cc
  1369. * src/MetalinkParserController.cc
  1370. * src/bittorrent_helper.cc
  1371. * src/util.cc
  1372. * src/util.h
  1373. * test/UtilTest.cc
  1374. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1375. Discard metalink:file if its name attribute is empty string.
  1376. Removed FileEntry instantiation in
  1377. MetalinkParserController::setFileLengthOfEntry()
  1378. * src/MetalinkParserController.cc
  1379. * src/MetalinkParserStateV3Impl.cc
  1380. * src/MetalinkParserStateV4Impl.cc
  1381. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1382. Discard torrent file if path data in it contains directory
  1383. traversal directives. Discard metalink:file element in Metalink3
  1384. format if its name attribute contains directory traversal
  1385. directives. Ignore name attribute of metalink:signature element
  1386. in Metalink3 format if it contains directory traversal directives.
  1387. * src/MetalinkParserStateV3Impl.cc
  1388. * src/bittorrent_helper.cc
  1389. * src/message.h
  1390. * test/BittorrentHelperTest.cc
  1391. * test/Makefile.am
  1392. * test/MetalinkProcessorTest.cc
  1393. * test/metalink3-dirtraversal.xml
  1394. * test/test.xml
  1395. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1396. Removed useless comment
  1397. * src/MetalinkParserStateV4Impl.cc
  1398. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1399. Supported name attribute of metalink::metaurl element and
  1400. multi-file torrent with Metalink4. Files with same metaurl are
  1401. grouped and downloaded in one RequestGroup.
  1402. * src/BtDependency.cc
  1403. * src/FileEntry.h
  1404. * src/Metalink2RequestGroup.cc
  1405. * src/Metalink2RequestGroup.h
  1406. * src/MetalinkEntry.cc
  1407. * src/MetalinkEntry.h
  1408. * src/MetalinkHelper.cc
  1409. * src/MetalinkHelper.h
  1410. * src/MetalinkMetaurl.cc
  1411. * src/MetalinkMetaurl.h
  1412. * src/MetalinkParserController.cc
  1413. * src/RequestGroup.cc
  1414. * src/RequestGroup.h
  1415. * src/bittorrent_helper.cc
  1416. * test/BittorrentHelperTest.cc
  1417. * test/BtDependencyTest.cc
  1418. * test/MetalinkHelperTest.cc
  1419. 2010-02-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1420. Store name attribute of metalink:metaurl element in MetalinkMetaurl.
  1421. * src/MetalinkMetaurl.h
  1422. * src/MetalinkParserController.cc
  1423. * src/MetalinkParserController.h
  1424. * src/MetalinkParserStateMachine.cc
  1425. * src/MetalinkParserStateMachine.h
  1426. * src/MetalinkParserStateV4Impl.cc
  1427. * test/MetalinkProcessorTest.cc
  1428. * test/metalink4-dirtraversal.xml
  1429. 2010-02-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1430. Added MetalinkMetaurl class. It corresponds to metalink:metaurl
  1431. element.
  1432. * src/Makefile.am
  1433. * src/Metalink2RequestGroup.cc
  1434. * src/MetalinkEntry.cc
  1435. * src/MetalinkEntry.h
  1436. * src/MetalinkMetaurl.cc
  1437. * src/MetalinkMetaurl.h
  1438. * src/MetalinkParserController.cc
  1439. * src/MetalinkParserController.h
  1440. * src/MetalinkParserStateMachine.cc
  1441. * src/MetalinkParserStateMachine.h
  1442. * src/MetalinkParserStateV4Impl.cc
  1443. * src/MetalinkParserStateV4Impl.h
  1444. * test/MetalinkProcessorTest.cc
  1445. 2010-02-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1446. Added Metalink4 support. Currently, name attribute of
  1447. metalink::metaurl is ignored and multi-file torrent cannot be used
  1448. with Metalink4.
  1449. * doc/aria2c.1.txt
  1450. * src/DownloadHandlerConstants.cc
  1451. * src/ExpatMetalinkProcessor.cc
  1452. * src/Makefile.am
  1453. * src/Metalink2RequestGroup.cc
  1454. * src/MetalinkEntry.cc
  1455. * src/MetalinkEntry.h
  1456. * src/MetalinkParserController.cc
  1457. * src/MetalinkParserController.h
  1458. * src/MetalinkParserState.h
  1459. * src/MetalinkParserStateImpl.cc
  1460. * src/MetalinkParserStateImpl.h
  1461. * src/MetalinkParserStateMachine.cc
  1462. * src/MetalinkParserStateMachine.h
  1463. * src/MetalinkParserStateV3Impl.cc
  1464. * src/MetalinkParserStateV3Impl.h
  1465. * src/MetalinkParserStateV4Impl.cc
  1466. * src/MetalinkParserStateV4Impl.h
  1467. * src/MetalinkResource.cc
  1468. * src/MetalinkResource.h
  1469. * src/Metalinker.cc
  1470. * src/RequestGroup.cc
  1471. * src/RequestGroup.h
  1472. * src/XML2SAXMetalinkProcessor.cc
  1473. * src/messageDigest.cc
  1474. * src/util.cc
  1475. * src/util.h
  1476. * test/Makefile.am
  1477. * test/MetalinkEntryTest.cc
  1478. * test/MetalinkParserControllerTest.cc
  1479. * test/MetalinkProcessorTest.cc
  1480. * test/MetalinkerTest.cc
  1481. * test/UtilTest.cc
  1482. * test/metalink4-attrs.xml
  1483. * test/metalink4-dirtraversal.xml
  1484. * test/metalink4.xml
  1485. 2010-02-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1486. Added aiFlags argument to getInterfaceAddress(). Use
  1487. AI_NUMERICHOST to find interface specified using
  1488. --bt-lpd-interface option to avoid time-consuming address lookup.
  1489. * src/BtSetup.cc
  1490. * src/SocketCore.cc
  1491. * src/SocketCore.h
  1492. 2010-02-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1493. Return SharedHandle<LpdMessage>(new LpdMessage()) if received data
  1494. is bad in LpdMessageReceiver.
  1495. * src/LpdMessage.h
  1496. * src/LpdMessageReceiver.cc
  1497. * src/LpdMessageReceiver.h
  1498. * src/LpdReceiveMessageCommand.cc
  1499. * test/LpdMessageReceiverTest.cc
  1500. 2010-02-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1501. Added --bt-lpd-interface option to specify the interface to use
  1502. for Local Peer Discovery. LpdMessageDispatcher object now has its
  1503. own socket. LpdMessageReceiver's socket is binded to multicast
  1504. address to only receive multicast packets.
  1505. * src/BtSetup.cc
  1506. * src/LpdMessageDispatcher.cc
  1507. * src/LpdMessageDispatcher.h
  1508. * src/LpdMessageReceiver.cc
  1509. * src/LpdMessageReceiver.h
  1510. * src/LpdReceiveMessageCommand.cc
  1511. * src/LpdReceiveMessageCommand.h
  1512. * src/OptionHandlerFactory.cc
  1513. * src/SocketCore.cc
  1514. * src/SocketCore.h
  1515. * src/prefs.cc
  1516. * src/prefs.h
  1517. * src/usage_text.h
  1518. * test/LpdMessageDispatcherTest.cc
  1519. * test/LpdMessageReceiverTest.cc
  1520. 2010-02-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1521. Put the portion of code to get interface addresses in
  1522. SocketCore::bindAddress() into newly added getInterfaceAddress().
  1523. * src/SocketCore.cc
  1524. * src/SocketCore.h
  1525. 2010-02-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1526. Rewritten util::parseInt() and parseUInt()
  1527. * src/util.cc
  1528. 2010-02-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1529. Fixed compile error with mingw32 cross compiler. Defined
  1530. a2_sockopt_t as void* for the target systems other than mingw32.
  1531. * src/SocketCore.cc
  1532. * src/a2netcompat.h
  1533. 2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1534. Removed 'always true' condition
  1535. * src/util.cc
  1536. 2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1537. Documented --bt-enable-lpd option in man page.
  1538. * doc/aria2c.1.txt
  1539. 2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1540. Added Local Peer Discovery. It is disabled by default. Use
  1541. --bt-enable-lpd to enable the function.
  1542. * src/BtConstants.h
  1543. * src/BtSetup.cc
  1544. * src/LpdDispatchMessageCommand.cc
  1545. * src/LpdDispatchMessageCommand.h
  1546. * src/LpdMessage.h
  1547. * src/LpdMessageDispatcher.cc
  1548. * src/LpdMessageDispatcher.h
  1549. * src/LpdMessageReceiver.cc
  1550. * src/LpdMessageReceiver.h
  1551. * src/LpdReceiveMessageCommand.cc
  1552. * src/LpdReceiveMessageCommand.h
  1553. * src/Makefile.am
  1554. * src/OptionHandlerFactory.cc
  1555. * src/Peer.cc
  1556. * src/Peer.h
  1557. * src/PeerInteractionCommand.cc
  1558. * src/SocketCore.cc
  1559. * src/SocketCore.h
  1560. * src/prefs.cc
  1561. * src/prefs.h
  1562. * src/usage_text.h
  1563. * src/util.cc
  1564. * src/util.h
  1565. * test/LpdMessageDispatcherTest.cc
  1566. * test/LpdMessageReceiverTest.cc
  1567. * test/Makefile.am
  1568. 2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1569. User-defined custom request headers specified by --header option
  1570. now override builtin headers if they have same name.
  1571. * src/HttpRequest.cc
  1572. * src/HttpRequest.h
  1573. * test/HttpRequestTest.cc
  1574. 2010-02-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1575. Rewirtten util::isNumber()
  1576. * src/util.cc
  1577. 2010-02-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1578. Reverted changes in r1893. setlocale(LC_CTYPE, "") is needed
  1579. because without it localized error messages are not printed
  1580. correctly.
  1581. * src/Platform.cc
  1582. 2010-02-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1583. Added unit tests for util::getContentDispositionFilename() from
  1584. http://greenbytes.de/tech/tc2231/ Fixed the function so that added
  1585. tests are passed.
  1586. * src/util.cc
  1587. * test/UtilTest.cc
  1588. 2010-02-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1589. Removed setlocale() for LC_CTYPE. It may affect isxdigit in
  1590. util.cc
  1591. * src/Platform.cc
  1592. 2010-02-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1593. Support RFC2231 "Parameter Value Character Set and Language
  1594. Information" in Content-Disposition header.
  1595. * src/HttpResponse.cc
  1596. * src/util.cc
  1597. * src/util.h
  1598. * test/UtilTest.cc
  1599. 2010-02-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1600. Print CXXFLAGS
  1601. * configure.ac
  1602. 2010-02-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1603. Small optimization for A2_WOULDBLOCK(e)
  1604. * src/SocketCore.cc
  1605. 2010-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1606. Removed test file
  1607. * test/CookieStorageTest.cc
  1608. 2010-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1609. Check both EAGAIN and EWOULDBLOCK
  1610. * src/SocketCore.cc
  1611. 2010-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1612. Removed ret == 0 checking for SSL_read(), SSL_write() and
  1613. SSL_peek() because the checks are done in the caller. In
  1614. SocketBuffer::send(), throw exception if nothing could be written
  1615. and socket error was not EWOULDBLOCK
  1616. * src/SocketBuffer.cc
  1617. * src/SocketCore.cc
  1618. 2010-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1619. Fixed error code handling so that it can handle Winsock2 error
  1620. code.
  1621. * src/SocketCore.cc
  1622. * src/SocketCore.h
  1623. 2010-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1624. Bump up version number to 1.9.0a
  1625. * configure.ac
  1626. * doc/aria2c.1.txt
  1627. 2010-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1628. Fixed the bug that aria2 doesn't handle return value if error
  1629. occurred before download begins.
  1630. * src/MultiUrlRequestInfo.cc
  1631. * src/main.cc
  1632. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1633. Removed SegmentManFactory class.
  1634. * src/AbstractSegmentManFactory.h
  1635. * src/DefaultSegmentManFactory.cc
  1636. * src/DefaultSegmentManFactory.h
  1637. * src/Makefile.am
  1638. * src/RequestGroup.cc
  1639. * src/RequestGroup.h
  1640. * src/SegmentManFactory.h
  1641. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1642. Destroyed digest context after getting calculated hash.
  1643. * src/Piece.cc
  1644. * src/Piece.h
  1645. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1646. Removed BitfieldManFactory class.
  1647. * src/BitfieldManFactory.cc
  1648. * src/BitfieldManFactory.h
  1649. * src/DefaultPieceStorage.cc
  1650. * src/Makefile.am
  1651. * src/PeerSessionResource.cc
  1652. * src/Piece.cc
  1653. * src/main.cc
  1654. * test/DefaultPieceStorageTest.cc
  1655. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1656. Removed unused methods from BitfieldMan class. Moved
  1657. getFirstMissingIndex to bitfield.h. Updated doc for BitfieldMan
  1658. class.
  1659. * src/BitfieldMan.cc
  1660. * src/BitfieldMan.h
  1661. * src/BitfieldManFactory.cc
  1662. * src/BitfieldManFactory.h
  1663. * src/bitfield.h
  1664. * src/main.cc
  1665. * test/BitfieldManTest.cc
  1666. * test/DefaultPieceStorageTest.cc
  1667. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1668. Moved getFirstNMissingIndex to bitfield.h and made it return the
  1669. number of appended indexes.
  1670. * src/BitfieldMan.cc
  1671. * src/BitfieldMan.h
  1672. * src/Piece.cc
  1673. * src/Piece.h
  1674. * src/bitfield.h
  1675. * test/BitfieldManTest.cc
  1676. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1677. Added more tests.
  1678. * test/BitfieldManTest.cc
  1679. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1680. Added BitfieldMan::getFirstNMissingUnusedIndex() to get multiple
  1681. unused block indexes at once instead of calling
  1682. getFirstMissingUnusedIndex() multiple times. Made use of it in
  1683. Piece class and DefaultBtRequestFactory class via Piece class.
  1684. * src/BitfieldMan.cc
  1685. * src/BitfieldMan.h
  1686. * src/DefaultBtRequestFactory.cc
  1687. * src/Piece.cc
  1688. * src/Piece.h
  1689. * test/BitfieldManTest.cc
  1690. 2010-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1691. Use std::make_pair(...)
  1692. * src/DHTMessageTracker.cc
  1693. 2010-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1694. Use std::make_pair(...)
  1695. * src/bittorrent_helper.cc
  1696. 2010-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1697. urlencode(removeFragment(...)) in parseUrl(...)
  1698. * src/Request.cc
  1699. 2010-02-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1700. Wrapped logger->debug(...) with if(logger->debug()) { ... }
  1701. * src/AbstractCommand.cc
  1702. * src/AdaptiveURISelector.cc
  1703. * src/BtPieceMessage.cc
  1704. * src/BtPortMessage.cc
  1705. * src/CreateRequestCommand.cc
  1706. * src/DHTAbstractNodeLookupTask.cc
  1707. * src/DHTBucket.cc
  1708. * src/DHTGetPeersCommand.cc
  1709. * src/DHTMessageDispatcherImpl.cc
  1710. * src/DHTMessageFactoryImpl.cc
  1711. * src/DHTMessageTracker.cc
  1712. * src/DHTPeerAnnounceStorage.cc
  1713. * src/DHTRoutingTable.cc
  1714. * src/DHTSetup.cc
  1715. * src/DefaultBtAnnounce.cc
  1716. * src/DefaultBtInteractive.cc
  1717. * src/DefaultBtMessageDispatcher.cc
  1718. * src/DefaultBtMessageReceiver.cc
  1719. * src/DefaultBtProgressInfoFile.cc
  1720. * src/DefaultBtRequestFactory.cc
  1721. * src/DefaultPeerStorage.cc
  1722. * src/DefaultPieceStorage.cc
  1723. * src/DownloadCommand.cc
  1724. * src/DownloadEngine.cc
  1725. * src/EpollEventPoll.cc
  1726. * src/FileAllocationCommand.cc
  1727. * src/FileEntry.cc
  1728. * src/FtpNegotiationCommand.cc
  1729. * src/HandshakeExtensionMessage.cc
  1730. * src/HttpListenCommand.cc
  1731. * src/HttpServer.cc
  1732. * src/HttpSkipResponseCommand.cc
  1733. * src/IteratableChunkChecksumValidator.cc
  1734. * src/Logger.h
  1735. * src/MSEHandshake.cc
  1736. * src/MetalinkPostDownloadHandler.cc
  1737. * src/MultiDiskAdaptor.cc
  1738. * src/PeerAbstractCommand.cc
  1739. * src/PeerConnection.cc
  1740. * src/PeerListenCommand.cc
  1741. * src/PeerReceiveHandshakeCommand.cc
  1742. * src/RequestGroup.cc
  1743. * src/RequestGroupMan.cc
  1744. * src/SegmentMan.cc
  1745. * src/SelectEventPoll.cc
  1746. * src/ServerStat.cc
  1747. * src/SimpleBtMessage.cc
  1748. * src/SocketCore.cc
  1749. * src/TrackerWatcherCommand.cc
  1750. * src/UTMetadataDataExtensionMessage.cc
  1751. * src/UTMetadataRequestFactory.cc
  1752. * src/UTMetadataRequestTracker.cc
  1753. * src/XmlRpcMethod.cc
  1754. 2010-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1755. Changed log level from debug to info
  1756. * src/BtDependency.cc
  1757. * src/BtPostDownloadHandler.cc
  1758. 2010-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1759. Removed unused PeerSessionResource::_latency.
  1760. * src/BtConstants.h
  1761. * src/BtPieceMessage.cc
  1762. * src/Peer.cc
  1763. * src/Peer.h
  1764. * src/PeerSessionResource.cc
  1765. * src/PeerSessionResource.h
  1766. * test/PeerSessionResourceTest.cc
  1767. 2010-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1768. Fixed the bug that --file-allocation=falloc doesn't work with
  1769. single file download.
  1770. * src/AbstractSingleDiskAdaptor.cc
  1771. 2010-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1772. Release 1.8.2
  1773. 2010-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1774. Added Portuguese translation. Updated Ukrainian and Spanish
  1775. translation. Thanks to all translators.
  1776. * po/LINGUAS
  1777. * po/es.po
  1778. * po/pt.po
  1779. * po/uk.po
  1780. 2010-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1781. Remove fragment from redirected URI.
  1782. * src/Request.cc
  1783. * test/RequestTest.cc
  1784. 2010-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1785. Updated po templates.
  1786. * po/aria2.pot
  1787. 2010-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1788. Drop legacy ifdef for ares support and code cleanup.
  1789. * src/AsyncNameResolver.cc
  1790. * src/AsyncNameResolver.h
  1791. 2010-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1792. Call ares_library_init and ares_library_cleanup if they are
  1793. available. Some code cleanups.
  1794. * src/Platform.cc
  1795. 2010-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1796. Call ares_process_fd() each time after epoll to handle timeout.
  1797. * src/EpollEventPoll.cc
  1798. * src/EpollEventPoll.h
  1799. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1800. Suppressed type-cast compiler warning
  1801. * src/CookieStorage.cc
  1802. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1803. Fixed compile error on Mac OS X.
  1804. * src/CookieStorage.h
  1805. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1806. Removed cookietest.txt from Makefile.am
  1807. * test/Makefile.am
  1808. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1809. Updated version number in man page.
  1810. * doc/aria2c.1.txt
  1811. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1812. Rewritten help message for --allow-overwrite option.
  1813. * doc/aria2c.1.txt
  1814. * src/usage_text.h
  1815. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1816. Added bittorrent key to the response of tellStatus XML-RPC method.
  1817. The associated value of the key is a struct and contains data
  1818. retrieved from .torrent file, such as name, announce-list,
  1819. comment, etc.
  1820. * doc/aria2c.1.txt
  1821. * src/XmlRpcMethodImpl.cc
  1822. * src/XmlRpcMethodImpl.h
  1823. * test/XmlRpcMethodTest.cc
  1824. 2010-01-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1825. Removed parse(std::istream&) and parse(const std::string&) from
  1826. CookieParser.
  1827. * src/CookieParser.cc
  1828. * src/CookieParser.h
  1829. * test/CookieParserTest.cc
  1830. * test/cookietest.txt: Removed
  1831. 2010-01-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1832. Fixed the bug that cookie for domain a.b.c is not sent to the host
  1833. a.b.c if no other cookies are stored. Fixed the bug that
  1834. Cookie::markOriginServerOnly() is not called when cookies are
  1835. loaded from file/sqlite3 database.
  1836. * src/Cookie.h
  1837. * src/CookieStorage.cc
  1838. * src/NsCookieParser.cc
  1839. * src/Sqlite3MozCookieParser.cc
  1840. * test/CookieStorageTest.cc
  1841. * test/NsCookieParserTest.cc
  1842. * test/Sqlite3MozCookieParserTest.cc
  1843. * test/cookies.sqlite
  1844. * test/nscookietest.txt
  1845. 2010-01-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1846. Removed RequestGroup::initSegmentMan(). Guaranteed that either
  1847. both _pieceStorage and _segmentMan are initialized or they are
  1848. not.
  1849. * src/RequestGroup.cc
  1850. * src/RequestGroup.h
  1851. * test/BtDependencyTest.cc
  1852. 2010-01-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1853. Bump up version number to 1.8.2
  1854. * configure.ac
  1855. 2010-01-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1856. Replaced "." with A2STR::DOT_C
  1857. * src/AbstractCommand.cc
  1858. * src/Cookie.cc
  1859. * src/DownloadContext.cc
  1860. * src/FtpConnection.cc
  1861. * src/RequestGroup.cc
  1862. * src/util.cc
  1863. 2010-01-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1864. Replaced isNumberAndDotsNotation() with isNumericHost().
  1865. isNumericHost() can handle IPv6 address.
  1866. * src/Cookie.cc
  1867. * src/CookieStorage.cc
  1868. * src/util.cc
  1869. * src/util.h
  1870. * test/CookieTest.cc
  1871. * test/UtilTest.cc
  1872. 2010-01-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1873. Included A2STR.h
  1874. * src/CookieStorage.cc
  1875. 2010-01-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1876. Rewritten Cookie storage.
  1877. * src/Cookie.cc
  1878. * src/Cookie.h
  1879. * src/CookieParser.cc
  1880. * src/CookieStorage.cc
  1881. * src/CookieStorage.h
  1882. * src/a2functional.h
  1883. * test/CookieParserTest.cc
  1884. * test/CookieStorageTest.cc
  1885. * test/CookieTest.cc
  1886. * test/HttpResponseTest.cc
  1887. * test/TestUtil.h
  1888. * test/a2functionalTest.cc
  1889. 2010-01-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1890. Handle redirected URI which is not properly percent encoded.
  1891. * src/Request.cc
  1892. * test/RequestTest.cc
  1893. 2010-01-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1894. Fixed the bug that causes segmentaiton fault when aria2 sees '404
  1895. not found' in the N times(N is where --max-file-not-found=N, N>0)
  1896. in a row without single '200 OK' response.
  1897. * src/RequestGroup.cc.
  1898. 2010-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1899. Fixed compile error with i586-mingw32msvc-g++. Always Cut console
  1900. readout by 80 characters in mingw32 build. Catch exception in
  1901. DHTMessageReceiver::receiveMessage().
  1902. * src/AbstractDiskWriter.cc
  1903. * src/ConsoleStatCalc.cc
  1904. * src/DHTMessageReceiver.cc
  1905. * src/File.cc
  1906. * src/RequestGroupMan.cc
  1907. * src/a2io.h
  1908. * test/FileTest.cc
  1909. 2010-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1910. Fixed compile error with intel compiler
  1911. * src/XmlRpcMethodImpl.cc
  1912. * src/XmlRpcMethodImpl.h
  1913. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1914. Release 1.8.1
  1915. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1916. Updated Swedish, Russian and Italian translations. Thanks to all
  1917. translators.
  1918. * po/it.po
  1919. * po/ru.po
  1920. * po/sv.po
  1921. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1922. Fixed broken OptionParser::findByName().
  1923. * src/OptionParser.cc
  1924. * test/OptionParserTest.cc
  1925. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1926. Fixed test error without BitTorrent support.
  1927. * test/XmlRpcMethodTest.cc
  1928. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1929. Fixed compile error without GNUTLS/OpenSSL.
  1930. * src/util.cc
  1931. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1932. Changed compression level to Z_DEFAULT_COMPRESSION.
  1933. * src/GZipEncoder.cc
  1934. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1935. Added missing command line options: --http-no-cache,
  1936. --bt-save-metadata and --bt-metadata-only.
  1937. * doc/xmlrpc/aria2rpc
  1938. 2010-01-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1939. aria2 now returns gzip compressed XML-RPC response if XML-RPC
  1940. client accepts gzip content encoding.
  1941. * src/A2STR.cc
  1942. * src/A2STR.h
  1943. * src/GZipEncoder.cc
  1944. * src/GZipEncoder.h
  1945. * src/HttpHeader.cc
  1946. * src/HttpHeader.h
  1947. * src/HttpServer.cc
  1948. * src/HttpServer.h
  1949. * src/HttpServerBodyCommand.cc
  1950. * src/HttpServerCommand.cc
  1951. * src/Makefile.am
  1952. * src/XmlRpcResponse.cc
  1953. * src/XmlRpcResponse.h
  1954. * test/GZipEncoderTest.cc
  1955. * test/Makefile.am
  1956. 2010-01-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1957. Added XML-RPC client sample code in Python.
  1958. * doc/aria2c.1.txt
  1959. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1960. Updated po templates.
  1961. * po/aria2.pot
  1962. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1963. Bump up version number to 1.8.1
  1964. * configure.ac
  1965. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1966. Added version number to man page. Updated copyright year in man
  1967. page.
  1968. * doc/aria2c.1.txt
  1969. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1970. Rewritten toTagString
  1971. * src/NameMatchOptionHandler.cc
  1972. * test/OptionHandlerTest.cc
  1973. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1974. Added dir and files key to the response struct of aria2.tellStatus
  1975. XML-RPC method. The value associated with files key is the list
  1976. of files. Its element is the same struct used in aria2.getFiles
  1977. XML-RPC method. Added uris key to the response struct of
  1978. aria2.getFiles XML-RPC method. The value associated with uris key
  1979. is the list of URIs. Its element is the same struct used in
  1980. aria2.getUris XML-RPC method.
  1981. * doc/aria2c.1.txt
  1982. * src/XmlRpcMethodImpl.cc
  1983. * test/XmlRpcMethodTest.cc
  1984. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1985. Added aria2.getSessionInfo XML-RPC method. This method returns a
  1986. struct containing Session ID, which is generated each time when
  1987. aria2 is invoked.
  1988. * doc/aria2c.1.txt
  1989. * doc/xmlrpc/aria2rpc
  1990. * src/DownloadEngine.cc
  1991. * src/DownloadEngine.h
  1992. * src/XmlRpcMethodFactory.cc
  1993. * src/XmlRpcMethodImpl.cc
  1994. * src/XmlRpcMethodImpl.h
  1995. * test/XmlRpcMethodTest.cc
  1996. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1997. Moved generateRandomKey() from bittorrent_helper to util.
  1998. * src/DHTBucket.cc
  1999. * src/DHTNode.cc
  2000. * src/bittorrent_helper.cc
  2001. * src/bittorrent_helper.h
  2002. * src/util.cc
  2003. * src/util.h
  2004. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2005. Updated doc about GID.
  2006. * doc/aria2c.1.txt
  2007. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2008. Now offset argument in aria2.tellWaiting and aria2.tellStopped
  2009. accepts a negative integer. 'offset' == -1 points last download
  2010. in the waiting queue and 'offset' == -2 points the download before
  2011. the last download, and so on. The downloads in the response are in
  2012. reversed order.
  2013. * doc/aria2c.1.txt
  2014. * src/XmlRpcMethodImpl.cc
  2015. * src/XmlRpcMethodImpl.h
  2016. * test/XmlRpcMethodTest.cc
  2017. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2018. Added --human-readable option. This option, when true is given,
  2019. prints sizes and speed in human readable format(e.g., 1.2Ki,
  2020. 3.4Mi) in the console readout. The default value is true and it
  2021. looks exactly the same as aria2-1.8.0. So the 'new feature'
  2022. appears when false is given. In this case, sizes and speed are
  2023. printed without in bytes. No Ki, Mi units conversion is used.
  2024. This may be useful for a program to parse the output of aria2.
  2025. * doc/aria2c.1.txt
  2026. * src/ConsoleStatCalc.cc
  2027. * src/ConsoleStatCalc.h
  2028. * src/OptionHandlerFactory.cc
  2029. * src/main.cc
  2030. * src/prefs.cc
  2031. * src/prefs.h
  2032. * src/usage_text.h
  2033. 2010-01-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2034. Now --all-proxy, --http-proxy, --https-proxy and --ftp-proxy
  2035. option accepts empty string "". When "" is given, it erases
  2036. previously defined proxy.
  2037. * doc/aria2c.1.txt
  2038. * src/OptionHandlerImpl.h
  2039. * src/usage_text.h
  2040. * test/OptionHandlerTest.cc
  2041. 2010-01-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2042. Code cleanup for proxy URI handling.
  2043. * src/AbstractCommand.cc
  2044. 2010-01-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2045. Added --bt-metadata-only option. If true is given to this option,
  2046. aria2 downloads metadata only. The file(s) described in metadata
  2047. will not be downloaded. This option has effect only when
  2048. BitTorrent Magnet URI is used. See also --bt-save-metadata option.
  2049. * doc/aria2c.1.txt
  2050. * src/OptionHandlerFactory.cc
  2051. * src/UTMetadataPostDownloadHandler.cc
  2052. * src/download_helper.cc
  2053. * src/prefs.cc
  2054. * src/prefs.h
  2055. * src/usage_text.h
  2056. 2010-01-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2057. Fixed memory leak. Commands stored in std::deque<Command*> are not
  2058. deleted when exception is thrown. Make sure that when passing
  2059. std::deque<Command*> to function to store Commands, handle
  2060. exception and delete these Commands.
  2061. * src/AbstractCommand.cc
  2062. * src/CheckIntegrityCommand.cc
  2063. * src/FileAllocationCommand.cc
  2064. * src/RequestGroup.cc
  2065. * src/TrackerWatcherCommand.cc
  2066. 2010-01-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2067. Replaced '/' and '_' with '_' in HTTP/FTP filename.
  2068. * src/A2STR.cc
  2069. * src/A2STR.h
  2070. * src/FtpNegotiationCommand.cc
  2071. * src/HttpResponseCommand.cc
  2072. * src/util.cc
  2073. * src/util.h
  2074. * test/UtilTest.cc
  2075. 2010-01-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2076. Treat --dir="" as --dir="."
  2077. * src/FtpNegotiationCommand.cc
  2078. * src/HttpResponseCommand.cc
  2079. * src/Metalink2RequestGroup.cc
  2080. * src/UTMetadataPostDownloadHandler.cc
  2081. * src/bittorrent_helper.cc
  2082. * src/download_helper.cc
  2083. * src/util.cc
  2084. * src/util.h
  2085. * test/UtilTest.cc
  2086. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2087. Code clean up.
  2088. * src/main.cc
  2089. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2090. Reset GID to 1 when they reach maximum value. Rewritten
  2091. CUIDCounter::newID()
  2092. * src/CUIDCounter.h
  2093. * src/RequestGroup.cc
  2094. * src/RequestGroup.h
  2095. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2096. Documented --http-no-cache option in man page.
  2097. * doc/aria2c.1.txt
  2098. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2099. Added --http-no-cache option. When true is given, aria2 sends
  2100. Cache-Control: no-cache and Pragma: no-cache header to avoid
  2101. cached content. If false is given , these headers are not sent
  2102. and you can add Cache-Control header with a directive you like
  2103. using --header option.
  2104. * src/HttpRequest.cc
  2105. * src/HttpRequest.h
  2106. * src/HttpRequestCommand.cc
  2107. * src/OptionHandlerFactory.cc
  2108. * src/download_helper.cc
  2109. * src/prefs.cc
  2110. * src/prefs.h
  2111. * src/usage_text.h
  2112. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2113. Removed Logger from OptionParser. When OptionParser is used to
  2114. parse options at bootstrap, LogFactory is not configured yet
  2115. properly. When LogFactory is used in OptionParser, it initializes
  2116. itself to return a logger which has no ability to write log to the
  2117. disk.
  2118. * src/OptionParser.cc
  2119. * src/OptionParser.h
  2120. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2121. Added following sentance to the help message of --out option:
  2122. --out option is ignored when -Z is used.
  2123. * doc/aria2c.1.txt
  2124. * src/usage_text.h
  2125. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2126. Added --bt-save-metadata option to -i list options.
  2127. * doc/aria2c.1.txt
  2128. * src/download_helper.cc
  2129. 2010-01-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2130. Fixed compile error with i586-mingw32msvc-gcc 4.4.2, without any
  2131. additional libraries.
  2132. * src/MultiUrlRequestInfo.cc
  2133. * src/NameResolver.cc
  2134. * src/SelectEventPoll.cc
  2135. * src/SelectEventPoll.h
  2136. * src/SocketCore.cc
  2137. * src/SocketCore.h
  2138. * src/a2netcompat.h
  2139. * src/daemon.cc
  2140. * src/main.cc
  2141. 2010-01-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2142. Fixed typo.
  2143. * src/DHTMessageReceiver.cc
  2144. 2010-01-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2145. Fixed the bug that causes segmentation fault if unknown option is
  2146. put in aria2.conf file. BUG#2928303
  2147. * src/OptionParser.cc
  2148. * src/OptionParser.h
  2149. * src/option_processing.cc
  2150. * test/OptionParserTest.cc
  2151. 2010-01-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2152. Ignore port message with port=0.
  2153. * src/BtPortMessage.cc
  2154. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2155. Run autoupdate
  2156. * configure.ac
  2157. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2158. Updated autoconf/automake auxiliary files.
  2159. * INSTALL
  2160. * config.guess
  2161. * config.sub
  2162. * depcomp
  2163. * install-sh
  2164. * m4/intldir.m4
  2165. * missing
  2166. * mkinstalldirs
  2167. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2168. Removed unused function.
  2169. * src/SharedHandle.h
  2170. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2171. Find pooled socket using all cached addresses.
  2172. * src/DNSCache.h
  2173. * src/DownloadEngine.cc
  2174. * src/DownloadEngine.h
  2175. * src/InitiateConnectionCommand.cc
  2176. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2177. Updated copyright year.
  2178. * src/version_usage.cc
  2179. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2180. Pool connection if _contentEncodingDecoder is used and server
  2181. supports persistent connection.
  2182. * src/HttpDownloadCommand.cc
  2183. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2184. Updated doc.
  2185. * src/DownloadCommand.cc
  2186. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2187. Untabify. Fixed one line in copyright which is longer than 80
  2188. columns.
  2189. * src
  2190. * test
  2191. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2192. Release 1.8.0
  2193. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2194. Updated po templates.
  2195. * po/aria2.pot
  2196. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2197. Documented --bt-save-metadata option in man page.
  2198. * doc/aria2c.1.txt
  2199. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2200. Fixed usage of --bt-save-metadata option.
  2201. * src/usage_text.h
  2202. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2203. Updated po templates.
  2204. * po/aria2.pot
  2205. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2206. Get rid of AI_ADDRCONFIG when --disable-ipv6 opiton is given. It
  2207. causes name resolution error when none of network interface has
  2208. IPv4 address.
  2209. * src/main.cc
  2210. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2211. Bump up version number to 1.8.0.
  2212. * configure.ac
  2213. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2214. Use info hash as a filename when saving BitTorrent metadata.
  2215. * src/UTMetadataPostDownloadHandler.cc
  2216. * test/UTMetadataPostDownloadHandlerTest.cc
  2217. 2009-12-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2218. Documented system.multicall XML-RPC method in man page.
  2219. * doc/aria2c.1.txt
  2220. 2009-12-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2221. Added signal handler for SIGHUP to save .aria2 file when terminal
  2222. is closed. The handler is the same one for SIGINT and SIGTERM.
  2223. * src/MultiUrlRequestInfo.cc
  2224. 2009-12-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2225. Defined method name in XmlRpcMethod subclasses.
  2226. * src/XmlRpcMethodFactory.cc
  2227. * src/XmlRpcMethodImpl.cc
  2228. * src/XmlRpcMethodImpl.h
  2229. * test/XmlRpcMethodTest.cc
  2230. 2009-12-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2231. Added system.multicall XML-RPC method.
  2232. * src/XmlRpcMethod.cc
  2233. * src/XmlRpcMethod.h
  2234. * src/XmlRpcMethodFactory.cc
  2235. * src/XmlRpcMethodImpl.cc
  2236. * src/XmlRpcMethodImpl.h
  2237. * test/XmlRpcMethodTest.cc
  2238. 2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2239. Check structure depth when decoding.
  2240. * src/bencode.cc
  2241. * src/bencode.h
  2242. * test/BencodeTest.cc
  2243. 2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2244. Documented tellStopped XML-RPC method in man page.
  2245. * doc/aria2c.1.txt
  2246. 2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2247. Added tellStopped XML-RPC method to aria2rpc.
  2248. * doc/xmlrpc/aria2rpc
  2249. 2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2250. Added tellStopped XML-RPC method. This method returns stopped
  2251. download in the specified range. It takes same parameters with
  2252. tellWaiting XML-RPC method. offset = 0 means the oldest download.
  2253. * src/XmlRpcMethodFactory.cc
  2254. * src/XmlRpcMethodImpl.cc
  2255. * src/XmlRpcMethodImpl.h
  2256. 2009-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2257. Use AI_ADDRCONFIG flag if it is available. Refactored so that
  2258. getaddrinfo calls are not scattered around. Unset AI_ADDRCONFIG
  2259. when conducting unit tests because they fail if networking
  2260. interface is not configured with IPv4 address.
  2261. * src/NameResolver.cc
  2262. * src/SocketCore.cc
  2263. * src/SocketCore.h
  2264. * src/a2netcompat.h
  2265. * test/AllTest.cc
  2266. 2009-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2267. Fixed unit test error
  2268. * test/UTMetadataPostDownloadHandlerTest.cc
  2269. 2009-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2270. Defined static string constants for efficiency.
  2271. * src/XmlRpcMethodImpl.cc
  2272. 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2273. Added --bt-save-metadata option. When true is given, it saves
  2274. metadata as .torrent file. This option has effect only when
  2275. BitTorrent Magnet URI is used. The filename is name in metadata
  2276. with suffix .torrent. The directory to be saved is the same
  2277. directory where download file is saved. If the same file already
  2278. exists, metdata is not saved.
  2279. * src/OptionHandlerFactory.cc
  2280. * src/UTMetadataPostDownloadHandler.cc
  2281. * src/UTMetadataPostDownloadHandler.h
  2282. * src/message.h
  2283. * src/prefs.cc
  2284. * src/prefs.h
  2285. * src/usage_text.h
  2286. * test/UTMetadataDataExtensionMessageTest.cc
  2287. 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2288. Added util::saveAs() function. Use it in Signature::save().
  2289. * src/Signature.cc
  2290. * src/util.cc
  2291. * src/util.h
  2292. 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2293. Upcase info hash in Magnet URI.
  2294. * doc/aria2c.1.txt
  2295. 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2296. Refactored RequestGroupMan::changeReservedGroupPosition()
  2297. * src/RequestGroupMan.cc
  2298. 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2299. Updated the description for aria2.addTorrent XML-RPC method.
  2300. * doc/aria2c.1.txt
  2301. 2009-12-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2302. Added changePosition to aria2rpc.
  2303. * doc/xmlrpc/aria2rpc
  2304. 2009-12-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2305. Documented changePosition XML-RPC method in man page.
  2306. * doc/aria2c.1.txt
  2307. 2009-12-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2308. Added changePosition XML-RPC method. It takes 3 parameters: gid,
  2309. pos and how. This method changes the position of download denoted
  2310. by gid. If how is POS_SET, it moves the download to a position
  2311. relative to the beginning of the queue. If how is POS_CUR, it
  2312. moves the download to a position relative to the current
  2313. position. If how is POS_END, it moves the download to a position
  2314. relative to the end of the queue. If the destination position is
  2315. less than 0 or beyond the end of the queue, it moves the download
  2316. to the beginning or the end of the queue respectively. Returns
  2317. the destination position.
  2318. * src/RequestGroupMan.cc
  2319. * src/RequestGroupMan.h
  2320. * src/XmlRpcMethodFactory.cc
  2321. * src/XmlRpcMethodImpl.cc
  2322. * src/XmlRpcMethodImpl.h
  2323. * test/RequestGroupManTest.cc
  2324. * test/XmlRpcMethodTest.cc
  2325. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2326. Added getOption and getGlobalOption to aria2rpc.
  2327. * doc/xmlrpc/aria2rpc
  2328. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2329. Documented getOption and getGlobalOption XML-RPC method in man
  2330. page
  2331. * doc/aria2c.1.txt
  2332. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2333. Added getOption and getGlobalOption XML-RPC method. getOption
  2334. takes GID as a parameter and returns its options as struct.
  2335. getGlobalOption takes no parameter and returns global
  2336. options. Because global option is used as a template for the
  2337. option of newly added downloads, it includes options returned by
  2338. getOption.
  2339. * src/Option.h
  2340. * src/XmlRpcMethodFactory.cc
  2341. * src/XmlRpcMethodImpl.cc
  2342. * src/XmlRpcMethodImpl.h
  2343. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2344. Sort _optionHandlers in OptionParser by name in ascending order.
  2345. Use vector instead of deque for efficiency.
  2346. * src/OptionHandler.h
  2347. * src/OptionHandlerFactory.h
  2348. * src/OptionParser.cc
  2349. * src/OptionParser.h
  2350. * src/version_usage.cc
  2351. * test/OptionParserTest.cc
  2352. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2353. Code cleanup
  2354. * src/XmlRpcMethod.cc
  2355. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2356. Documented about followedBy and belongsTo in man page.
  2357. * doc/aria2c.1.txt
  2358. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2359. Added following 2 keys, followedBy and belongsTo, to the response
  2360. of tellStatus.
  2361. followedBy: List of GIDs which are generated by the consequence of
  2362. this download. For example, when aria2 downloaded Metalink file,
  2363. it generates downloads described in it(see *--follow-metalink*
  2364. option). This value is useful to track these auto generated
  2365. downloads. If there is no such downloads, this key will not be
  2366. included in the response.
  2367. belongsTo: GID of a parent download. Some downloads are a part of
  2368. another download. For example, if a file in Metalink has
  2369. BitTorrent resource, the download of .torrent is a part of that
  2370. file. If this download has no parent, this key will not be
  2371. included in the response.
  2372. * src/BtPostDownloadHandler.cc
  2373. * src/DownloadResult.h
  2374. * src/Metalink2RequestGroup.cc
  2375. * src/MetalinkPostDownloadHandler.cc
  2376. * src/RequestGroup.cc
  2377. * src/RequestGroup.h
  2378. * src/UTMetadataPostDownloadHandler.cc
  2379. * src/XmlRpcMethodImpl.cc
  2380. * src/XmlRpcMethodImpl.h
  2381. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2382. Assigned BObject in BDE() to avoid segmentation fault when calling
  2383. methods of BDE::none().
  2384. * src/BDE.cc
  2385. 2009-12-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2386. Show info hash in Magnet URI in upper case letters in -S output.
  2387. * src/bittorrent_helper.cc
  2388. * test/BittorrentHelperTest.cc
  2389. 2009-12-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2390. Removed old useless comment
  2391. * src/MultiUrlRequestInfo.cc
  2392. 2009-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2393. Fixed the bug that if --without-sqlite3 is given, pkg-config is
  2394. not properly used in configure script and failed to detect gnutls.
  2395. This is because explicit call of PKG_PROG_PKG_CONFIG is missing
  2396. and the initialization of pkg-config is done in first occurrence
  2397. of PKG_CHECK_MODULES which is not executed because it is inside of
  2398. sqlite3.m4. Added explicit PKG_PROG_PKG_CONFIG call.
  2399. * configure.ac
  2400. 2009-12-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2401. Release 1.7.2
  2402. 2009-12-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2403. Fixed the bug that RequestGroupMan::downloadFinished() returns
  2404. true even if all downloads haven't finished, especially when
  2405. PostDownloadHandler is involved. Changed the condition so that it
  2406. only returns true if both _requestGroups and _reservedGroups are
  2407. empty.
  2408. * src/RequestGroupMan.cc
  2409. 2009-12-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2410. Log listening port for BitTorrent/DHT in notice level.
  2411. * src/DHTConnectionImpl.cc
  2412. * src/PeerListenCommand.cc
  2413. 2009-12-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2414. Updated po templates.
  2415. * po/aria2.pot
  2416. 2009-12-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2417. Bump up version number to 1.7.2
  2418. * configure.ac
  2419. 2009-12-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2420. Changed default value of --enable-dht from 'false' to 'true'.
  2421. * doc/aria2c.1.txt
  2422. 2009-12-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2423. Enabled DHT by default because of Magnet URI support. To disable
  2424. DHT, use --enable-dht=false
  2425. * src/OptionHandlerFactory.cc
  2426. 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2427. Print Magnet URI in -S output.
  2428. * src/AnnounceList.cc
  2429. * src/bittorrent_helper.cc
  2430. * src/bittorrent_helper.h
  2431. * test/BittorrentHelperTest.cc
  2432. 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2433. Added --bt-prioritize-piece option to aria2rpc.
  2434. * doc/xmlrpc/aria2rpc
  2435. 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2436. Refer Magnet URI in --help. Made some cosmetic changes.
  2437. * src/version_usage.cc
  2438. 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2439. Updated -T and -M option.
  2440. * doc/aria2c.1.txt
  2441. 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2442. Fixed typo
  2443. * doc/aria2c.1.txt
  2444. 2009-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2445. Fixed the bug that line separator is missing in horizontal bar.
  2446. * doc/xmlrpc/aria2mon
  2447. 2009-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2448. Updated usage text for --metalink-file option.
  2449. * src/usage_text.h
  2450. 2009-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2451. If '-' is given as an argument to --metalink-file option, aria2
  2452. reads Metalink file from stdin.
  2453. * src/OptionHandlerFactory.cc
  2454. * src/OptionHandlerImpl.h
  2455. * src/a2io.h
  2456. 2009-12-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2457. Fixed the bug that aria2 listens wrong port if --interface option
  2458. is used.
  2459. * src/SocketCore.cc
  2460. 2009-12-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2461. Fixed the bug that query parameter in magnet URI is not decoded.
  2462. * src/magnet.cc
  2463. * test/MagnetTest.cc
  2464. 2009-12-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2465. Specified defaultSize as an argument for easy testing.
  2466. * src/util.cc
  2467. * src/util.h
  2468. * test/UtilTest.cc
  2469. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2470. Release 1.7.1
  2471. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2472. Bump up version number to 1.7.1
  2473. * configure.ac
  2474. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2475. Fixed the bug --bt-prioritize-piece=tail is not working.
  2476. * src/util.cc
  2477. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2478. Release 1.7.0
  2479. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2480. Updated po templates.
  2481. * po/aria2.pot
  2482. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2483. Updated help message for --bt-prioritize-piece. Some cosmetic
  2484. changes.
  2485. * doc/aria2c.1.txt
  2486. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2487. Set default value for SIZE in --bt-prioritize-piece to 1MiB.
  2488. * src/usage_text.h
  2489. * src/util.cc
  2490. * test/UtilTest.cc
  2491. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2492. Updated Russian, Ukrainian, German and French translations.
  2493. Thanks to all translators involved.
  2494. * po/de.po
  2495. * po/fr.po
  2496. * po/ru.po
  2497. * po/uk.po
  2498. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2499. Mentioned about pkg-config
  2500. * README
  2501. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2502. Fixed typo. Referred --index-out option in BitTorrent notes.
  2503. * README
  2504. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2505. Store all addresses found by getifaddrs() and getaddrinfo(). In
  2506. bind, try all addresses until success
  2507. * src/SocketCore.cc
  2508. * src/SocketCore.h
  2509. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2510. Updated po templates.
  2511. * po/aria2.pot
  2512. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2513. Bump up version number to 1.7.0
  2514. * configure.ac
  2515. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2516. Fixed compile error if ENABLE_BITTORRENT is undefined.
  2517. * src/DefaultPieceStorage.cc
  2518. * src/DefaultPieceStorage.h
  2519. * src/PieceStorage.h
  2520. * src/UnknownLengthPieceStorage.cc
  2521. * src/UnknownLengthPieceStorage.h
  2522. * test/MockPieceStorage.h
  2523. * test/ProtocolDetectorTest.cc
  2524. * test/XmlRpcMethodTest.cc
  2525. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2526. Documented in man page that if getifaddrs() is missing,
  2527. --interface option doesn't accept interface name.
  2528. * doc/aria2c.1.txt
  2529. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2530. Use last 8 bytes of peer ID as 'key' parameter for tracker request.
  2531. * src/DefaultBtAnnounce.cc
  2532. * src/DefaultBtAnnounce.h
  2533. * test/DefaultBtAnnounceTest.cc
  2534. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2535. Fixed the bug that connection is always dropped if handshake
  2536. message in extension protocol don't have metadata_size.
  2537. src/HandshakeExtensionMessage.cc
  2538. * src/HandshakeExtensionMessage.cc
  2539. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2540. Updated "URI, MAGNET, TORRENT_FILE, METALINK_FILE" section. Added
  2541. text saying DHT is recommended when Magnet URI is provided.
  2542. * doc/aria2c.1.txt
  2543. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2544. Fixed the bug that DHT is always enabled when BitTorrent Magnet
  2545. URI is supplied. Notify user that they should consider enabling
  2546. DHT if they use Magnet URI.
  2547. * src/RequestGroup.cc
  2548. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2549. Added --disable-ipv6 option to disable IPv6.
  2550. * doc/aria2c.1.txt
  2551. * src/InitiateConnectionCommand.cc
  2552. * src/NameResolver.cc
  2553. * src/NameResolver.h
  2554. * src/OptionHandlerFactory.cc
  2555. * src/main.cc
  2556. * src/prefs.cc
  2557. * src/prefs.h
  2558. * src/usage_text.h
  2559. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2560. Updated usage text for --bt-prioritize-piece option.
  2561. * doc/aria2c.1.txt
  2562. * src/usage_text.h
  2563. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2564. In configure script, if --with-PACKAGE and --enable-FEATURE are
  2565. given and PACKAGE is missing in the system or FEATURE cannot be
  2566. enabled, print error message and stop the script.
  2567. * configure.ac
  2568. * m4/aria2_arg.m4
  2569. 2009-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2570. Halt metadata download immediately when metadata download is done.
  2571. Don't wait unresponsive tracker.
  2572. * src/ByteArrayDiskWriter.h
  2573. * src/DefaultBtInteractive.cc
  2574. * src/DefaultExtensionMessageFactory.cc
  2575. * src/DefaultExtensionMessageFactory.h
  2576. * src/PeerInteractionCommand.cc
  2577. * src/UTMetadataDataExtensionMessage.cc
  2578. * src/UTMetadataDataExtensionMessage.h
  2579. * src/UTMetadataRequestExtensionMessage.cc
  2580. * test/UTMetadataDataExtensionMessageTest.cc
  2581. * test/UTMetadataRequestExtensionMessageTest.cc
  2582. 2009-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2583. Documented --interface option in man page.
  2584. * doc/aria2c.1.txt
  2585. 2009-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2586. Try resolved address in the order received from the resolver.
  2587. * src/DNSCache.h
  2588. 2009-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2589. Added debug logs.
  2590. * src/SocketCore.cc
  2591. 2009-12-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2592. Fixed type of tail to uint64_t
  2593. * src/util.cc
  2594. 2009-12-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2595. Added --interface option. This feature binds sockets to given
  2596. interface. You can specify interface name, IP address and
  2597. hostname.
  2598. * configure.ac
  2599. * src/OptionHandlerFactory.cc
  2600. * src/SocketCore.cc
  2601. * src/SocketCore.h
  2602. * src/main.cc
  2603. * src/message.h
  2604. * src/prefs.cc
  2605. * src/prefs.h
  2606. * src/usage_text.h
  2607. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2608. Updated man page for bt-prioritize-piece option in -i list.
  2609. * doc/aria2c.1.txt
  2610. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2611. Added bt-prioritize-piece option to -i list.
  2612. * src/download_helper.cc
  2613. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2614. Removed --http-auth-scheme option from man page.
  2615. * doc/aria2c.1.txt
  2616. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2617. Removed --http-auth-scheme option since it doesn't do nothing.
  2618. * src/OptionHandlerFactory.cc
  2619. * src/prefs.cc
  2620. * src/prefs.h
  2621. * src/usage_text.h
  2622. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2623. Adjusted the number of peer info which get_peers reply message can
  2624. carry.
  2625. * src/DHTGetPeersReplyMessage.cc
  2626. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2627. Added extension_message_test_helper.h to aria2c_SOURCES.
  2628. * test/Makefile.am
  2629. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2630. Documented --bt-prioritize-piece option in man page.
  2631. * doc/aria2c.1.txt
  2632. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2633. Added option --bt-prioritize-piece. This option instruct aria2 to
  2634. try to download first and last pieces of each file first. The
  2635. argument can contain 2 keywords:head and tail. To include both
  2636. keywords, they must be separated by comma. These keywords can take
  2637. one parameter, SIZE. For example , if head=SIZE is specified,
  2638. pieces in the range of first SIZE bytes of each file get higher
  2639. priority. tail=SIZE means the range of last SIZE bytes of each
  2640. file. SIZE can include K or M(1K = 1024, 1M = 1024K).
  2641. * src/DefaultPieceStorage.h
  2642. * src/Makefile.am
  2643. * src/OptionHandlerFactory.cc
  2644. * src/OptionHandlerImpl.h
  2645. * src/PriorityPieceSelector.cc
  2646. * src/PriorityPieceSelector.h
  2647. * src/RequestGroup.cc
  2648. * src/prefs.cc
  2649. * src/prefs.h
  2650. * src/usage_text.h
  2651. * src/util.cc
  2652. * src/util.h
  2653. * test/Makefile.am
  2654. * test/MockPieceSelector.h
  2655. * test/PriorityPieceSelectorTest.cc
  2656. * test/UtilTest.cc
  2657. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2658. Fixed typo
  2659. * src/HttpRequest.h
  2660. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2661. In Magnet URI with tr parameter, put each announce URI in separate
  2662. tier.
  2663. * src/bittorrent_helper.cc
  2664. * test/BittorrentHelperTest.cc
  2665. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2666. Renamed ExtensionMessage::getBencodedData() as
  2667. ExtensionMessage::getPayload()
  2668. * src/BtExtendedMessage.cc
  2669. * src/ExtensionMessage.h
  2670. * src/HandshakeExtensionMessage.cc
  2671. * src/HandshakeExtensionMessage.h
  2672. * src/UTMetadataDataExtensionMessage.cc
  2673. * src/UTMetadataDataExtensionMessage.h
  2674. * src/UTMetadataRejectExtensionMessage.cc
  2675. * src/UTMetadataRejectExtensionMessage.h
  2676. * src/UTMetadataRequestExtensionMessage.cc
  2677. * src/UTMetadataRequestExtensionMessage.h
  2678. * src/UTPexExtensionMessage.cc
  2679. * src/UTPexExtensionMessage.h
  2680. * test/HandshakeExtensionMessageTest.cc
  2681. * test/MockExtensionMessage.h
  2682. * test/UTMetadataDataExtensionMessageTest.cc
  2683. * test/UTMetadataRejectExtensionMessageTest.cc
  2684. * test/UTMetadataRequestExtensionMessageTest.cc
  2685. * test/UTPexExtensionMessageTest.cc
  2686. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2687. Updated man page for BitTorrent Magnet URI.
  2688. * doc/aria2c.1.txt
  2689. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2690. Call DownloadContext::setOwnerRequestGroup() in
  2691. RequestGroup::setDownloadContext().
  2692. * src/BtDependency.cc
  2693. * src/RequestGroup.cc
  2694. * src/RequestGroup.h
  2695. * src/download_helper.cc
  2696. * test/DefaultBtMessageDispatcherTest.cc
  2697. * test/DefaultExtensionMessageFactoryTest.cc
  2698. * test/HandshakeExtensionMessageTest.cc
  2699. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2700. Accept BitTorrent Magnet URI in Metalink resource type bittorrent.
  2701. Rewritten UTMetadataPostDownloadHandler. To create torrent data
  2702. from metadata, use new metadata2Torrent() function.
  2703. * src/BtDependency.cc
  2704. * src/UTMetadataPostDownloadHandler.cc
  2705. * src/bittorrent_helper.cc
  2706. * src/bittorrent_helper.h
  2707. * test/BittorrentHelperTest.cc
  2708. * test/BtDependencyTest.cc
  2709. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2710. Use createRequestGroupForUri to create the download for torrent
  2711. file.
  2712. * src/Metalink2RequestGroup.cc
  2713. * test/Metalink2RequestGroupTest.cc
  2714. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2715. Fixed typo
  2716. * src/DownloadContext.h
  2717. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2718. Use createRequestGroupForBitTorrent()
  2719. * src/BtPostDownloadHandler.cc
  2720. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2721. Added remove().
  2722. * src/Option.cc
  2723. * src/Option.h
  2724. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2725. Removed options which is only valid for URIs specified in
  2726. command-line. If they are left, because op is used as a template
  2727. for new RequestGroup(such as created in XML-RPC command,
  2728. BtPostDownloadHandler etc), they causes unintentional effect.
  2729. * src/main.cc
  2730. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2731. Refer to option value of PREF_OUT only in download_helper.
  2732. * src/FtpNegotiationCommand.cc
  2733. * src/HttpResponseCommand.cc
  2734. 2009-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2735. Now addUri XML-RPC method accepts BitTorrent Magnet URI.
  2736. * src/download_helper.cc
  2737. * src/download_helper.h
  2738. * src/XmlRpcMethodImpl.cc
  2739. 2009-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2740. Updated man page for changeOption XML-RPC method.
  2741. * doc/aria2c.1.txt
  2742. 2009-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2743. Added --bt-max-peers option to changeOption XML-RPC method.
  2744. * src/XmlRpcMethod.cc
  2745. * src/XmlRpcMethodImpl.cc
  2746. * test/XmlRpcMethodTest.cc
  2747. 2009-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2748. Added test case for PREF_BT_REQUEST_PEER_SPEED_LIMIT
  2749. * test/XmlRpcMethodTest.cc
  2750. 2009-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2751. Removed redundant DownloadContext::hasAttribute(...) calls.
  2752. * src/ConsoleStatCalc.cc
  2753. * src/RequestGroup.cc
  2754. * src/XmlRpcMethodImpl.cc
  2755. 2009-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2756. Changed the number of tracker request attempt from 5 to 2.
  2757. * src/TrackerWatcherCommand.cc
  2758. 2009-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2759. Use host and protocol in original URI, because URI selector
  2760. selects URI based on original URI, not redirected one.
  2761. * src/Request.cc
  2762. 2009-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2763. Fixed the bug which causes segmentation fault with tellWaiting
  2764. XML-RPC method when BitTorrent download is waiting. The key of
  2765. BtRegistry is changed from info hash to GID, because it is
  2766. registered per RequestGroup, not info hash.
  2767. * src/BtRegistry.cc
  2768. * src/BtRegistry.h
  2769. * src/BtSetup.cc
  2770. * src/ConsoleStatCalc.cc
  2771. * src/InitiatorMSEHandshakeCommand.cc
  2772. * src/PeerInitiateConnectionCommand.cc
  2773. * src/PeerInteractionCommand.cc
  2774. * src/PeerInteractionCommand.h
  2775. * src/PeerReceiveHandshakeCommand.cc
  2776. * src/RequestGroup.cc
  2777. * src/XmlRpcMethodImpl.cc
  2778. * test/BtRegistryTest.cc
  2779. * test/XmlRpcMethodTest.cc
  2780. 2009-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2781. Updated man page for changeOption XML-RPC method.
  2782. * doc/aria2c.1.txt
  2783. 2009-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2784. Added --bt-request-peer-speed-limit option to changeOption XML-RPC
  2785. method.
  2786. * src/XmlRpcMethod.cc
  2787. 2009-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2788. Documented about BitTorrent Magnet URI in man page.
  2789. * doc/aria2c.1.txt
  2790. 2009-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2791. Fixed the bug that trackers in BitTorrent Magnet URI are not
  2792. inherited to generated RequestGroup.
  2793. * src/UTMetadataPostDownloadHandler.cc
  2794. * test/UTMetadataPostDownloadHandlerTest.cc
  2795. 2009-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2796. Prepended "[METADATA]" before dn.
  2797. * src/bittorrent_helper.cc
  2798. * test/BittorrentHelperTest.cc
  2799. 2009-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2800. Rewritten Magnet URI parser.
  2801. * src/Makefile.am
  2802. * src/ProtocolDetector.cc
  2803. * src/bittorrent_helper.cc
  2804. * src/bittorrent_helper.h
  2805. * src/download_helper.cc
  2806. * src/magnet.cc
  2807. * src/magnet.h
  2808. * test/BittorrentHelperTest.cc
  2809. * test/MagnetTest.cc
  2810. * test/Makefile.am
  2811. * test/ProtocolDetectorTest.cc
  2812. 2009-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2813. Use hton64
  2814. * src/base32.cc
  2815. 2009-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2816. Added Base32 encoded BitTorrent Magnet Link support.
  2817. * src/Makefile.am
  2818. * src/base32.cc
  2819. * src/base32.h
  2820. * src/bittorrent_helper.cc
  2821. * test/Base32Test.cc
  2822. * test/BittorrentHelperTest.cc
  2823. * test/Makefile.am
  2824. 2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2825. Added BitTorrent Magnet Link support. Base32 encoded link is not
  2826. supported yet. Fixed typo in method name in RequestGroup. In
  2827. metadataGetMode, don't show "Your share ratio was ..." message.
  2828. * src/DefaultBtInteractive.cc
  2829. * src/DefaultBtInteractive.h
  2830. * src/DownloadHandlerFactory.cc
  2831. * src/DownloadHandlerFactory.h
  2832. * src/HandshakeExtensionMessage.cc
  2833. * src/Makefile.am
  2834. * src/Metalink2RequestGroup.cc
  2835. * src/PeerInteractionCommand.cc
  2836. * src/RequestGroup.cc
  2837. * src/RequestGroup.h
  2838. * src/UTMetadataPostDownloadHandler.cc
  2839. * src/UTMetadataPostDownloadHandler.h
  2840. * src/download_helper.cc
  2841. * test/HandshakeExtensionMessageTest.cc
  2842. * test/Makefile.am
  2843. * test/UTMetadataPostDownloadHandlerTest.cc
  2844. * test/UTMetadataRejectExtensionMessageTest.cc
  2845. 2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2846. In metadataGetMode, don't show SEEDING.
  2847. * src/ConsoleStatCalc.cc
  2848. 2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2849. Fixed ut_metadata data handling. Implemented
  2850. UTMetadataDataExtensionMessage::doReceivedAction(). Initialize
  2851. PeerStorage in HandshakeExtensionMessage::doReceivedAction() when
  2852. metadata_size is received.
  2853. * src/DefaultExtensionMessageFactory.cc
  2854. * src/DefaultExtensionMessageFactory.h
  2855. * src/HandshakeExtensionMessage.cc
  2856. * src/HandshakeExtensionMessage.h
  2857. * src/UTMetadataDataExtensionMessage.cc
  2858. * src/UTMetadataDataExtensionMessage.h
  2859. * src/UTMetadataRequestExtensionMessage.cc
  2860. * src/UTMetadataRequestFactory.cc
  2861. * src/UTMetadataRequestFactory.h
  2862. * src/UTMetadataRequestTracker.cc
  2863. * src/UTMetadataRequestTracker.h
  2864. * test/DefaultExtensionMessageFactoryTest.cc
  2865. * test/HandshakeExtensionMessageTest.cc
  2866. * test/MockBtMessage.h
  2867. * test/UTMetadataDataExtensionMessageTest.cc
  2868. * test/UTMetadataRequestExtensionMessageTest.cc
  2869. * test/UTMetadataRequestFactoryTest.cc
  2870. * test/UTMetadataRequestTrackerTest.cc
  2871. * test/extension_message_test_helper.h
  2872. 2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2873. Drop connection if ut_metadata reject message is received.
  2874. * src/UTMetadataRejectExtensionMessage.cc
  2875. 2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2876. Set thresholdSpeed to 0 in metadataGetMode because speed doesn't
  2877. get high enough in that mode.
  2878. * src/ActivePeerConnectionCommand.cc
  2879. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2880. Added BitTorrent magnet link support to ProtocolDetector.
  2881. * src/ProtocolDetector.cc
  2882. * src/ProtocolDetector.h
  2883. * test/ProtocolDetectorTest.cc
  2884. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2885. Don't inject validator into BtMessage in metadataGetMode because
  2886. most of the checks depends on the total length of download but it
  2887. is unknown. Delegate metadataGetMode to BtMessage.
  2888. * src/DefaultBtMessageFactory.cc
  2889. * src/DefaultBtMessageFactory.h
  2890. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2891. Added setEndGamePieceNum() pure virtual function to PieceStorage.
  2892. * src/DefaultPieceStorage.h
  2893. * src/PieceStorage.h
  2894. * src/UnknownLengthPieceStorage.h
  2895. * test/MockPieceStorage.h
  2896. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2897. Added markTotalLengthIsKnown().
  2898. * src/DownloadContext.h
  2899. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2900. Don't add PeerChokeCommand and SeedCheckCommand if metadata is
  2901. missing. If metadata is missing, always use DHT when it is ready.
  2902. * src/BtSetup.cc
  2903. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2904. Added parseMagnetLink(). Hex encoded info hash is supported.
  2905. Base32 encoded info hash is not supported yet.
  2906. * src/bittorrent_helper.cc
  2907. * src/bittorrent_helper.h
  2908. * test/BittorrentHelperTest.cc
  2909. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2910. Added FromHex()
  2911. * src/util.cc
  2912. * src/util.h
  2913. * test/UtilTest.cc
  2914. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2915. Added _metadataGetMode member variable. It toggles the action when
  2916. messages are received: usually they almost do nothing if
  2917. _metadataGetMode is true.
  2918. * src/AbstractBtMessage.cc
  2919. * src/AbstractBtMessage.h
  2920. * src/BtAllowedFastMessage.cc
  2921. * src/BtBitfieldMessage.cc
  2922. * src/BtCancelMessage.cc
  2923. * src/BtChokeMessage.cc
  2924. * src/BtHaveAllMessage.cc
  2925. * src/BtHaveMessage.cc
  2926. * src/BtInterestedMessage.cc
  2927. * src/BtNotInterestedMessage.cc
  2928. * src/BtPieceMessage.cc
  2929. * src/BtRejectMessage.cc
  2930. * src/BtRequestMessage.cc
  2931. * src/BtUnchokeMessage.cc
  2932. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2933. Added bencode::decode overload functions. They have extra argument
  2934. 'end', passed by reference. 'end' points to the beyond the last
  2935. position of data used in decoding process.
  2936. * src/bencode.cc
  2937. * src/bencode.h
  2938. * test/BencodeTest.cc
  2939. 2009-11-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2940. Initial support of Extension for Peers to Send Metadata
  2941. Files(BEP9). Currently aria2 only serves metadata and cannot get
  2942. metadata from swarm.
  2943. * src/BtConstants.h
  2944. * src/DefaultBtInteractive.cc
  2945. * src/DefaultExtensionMessageFactory.cc
  2946. * src/DefaultExtensionMessageFactory.h
  2947. * src/ExtensionMessage.h
  2948. * src/ExtensionMessageRegistry.h
  2949. * src/HandshakeExtensionMessage.cc
  2950. * src/HandshakeExtensionMessage.h
  2951. * src/Makefile.am
  2952. * src/PeerConnection.h
  2953. * src/PeerInteractionCommand.cc
  2954. * src/UTMetadataDataExtensionMessage.cc
  2955. * src/UTMetadataDataExtensionMessage.h
  2956. * src/UTMetadataExtensionMessage.cc
  2957. * src/UTMetadataExtensionMessage.h
  2958. * src/UTMetadataRejectExtensionMessage.cc
  2959. * src/UTMetadataRejectExtensionMessage.h
  2960. * src/UTMetadataRequestExtensionMessage.cc
  2961. * src/UTMetadataRequestExtensionMessage.h
  2962. * src/bittorrent_helper.cc
  2963. * src/bittorrent_helper.h
  2964. * test/BittorrentHelperTest.cc
  2965. * test/DefaultExtensionMessageFactoryTest.cc
  2966. * test/HandshakeExtensionMessageTest.cc
  2967. * test/Makefile.am
  2968. * test/UTMetadataDataExtensionMessageTest.cc
  2969. * test/UTMetadataRejectExtensionMessageTest.cc
  2970. * test/UTMetadataRequestExtensionMessageTest.cc
  2971. 2009-11-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2972. Cancel segment in prepareForRetry() because there is a chance that
  2973. the command has segments.
  2974. * src/CreateRequestCommand.cc
  2975. 2009-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2976. Fixed the bug that slow server is not knocked down in favor of
  2977. faster one.
  2978. * src/AbstractCommand.cc
  2979. * src/DefaultPieceStorage.cc
  2980. * src/DefaultPieceStorage.h
  2981. * src/PieceStorage.h
  2982. * src/UnknownLengthPieceStorage.cc
  2983. * src/UnknownLengthPieceStorage.h
  2984. * test/MockPieceStorage.h
  2985. 2009-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2986. Fixed the bug that Request object is not added to
  2987. _inFlightRequests in findFasterRequest().
  2988. * src/FileEntry.cc
  2989. 2009-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2990. Changed the strategry of how to increase the number of outstanding
  2991. requests. Now the number is doubled if there are no outstanding
  2992. requests after receiving messages.
  2993. * src/BtConstants.h
  2994. * src/DefaultBtInteractive.cc
  2995. * src/DefaultBtInteractive.h
  2996. 2009-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2997. Check socket for reading if there are outstanding requests.
  2998. * src/PeerInteractionCommand.cc
  2999. 2009-11-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3000. Moved frequently called methods to header file so they get
  3001. inlined.
  3002. * src/RequestSlot.cc
  3003. * src/RequestSlot.h
  3004. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3005. Copied in_addr instead of just casting from char* which might
  3006. violate strict aliasing rules.
  3007. * src/AsyncNameResolver.cc
  3008. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3009. Use dynamic_pointer_cast
  3010. * test/BtPieceMessageTest.cc
  3011. * test/BtRequestMessageTest.cc
  3012. * test/DefaultBtRequestFactoryTest.cc
  3013. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3014. Added testSetUrl20()
  3015. * test/RequestTest.cc
  3016. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3017. Code cleanup
  3018. * src/bittorrent_helper.cc
  3019. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3020. Use C++ style cast
  3021. * src/AsyncNameResolver.cc
  3022. * src/Base64.h
  3023. * src/BtBitfieldMessage.cc
  3024. * src/BtHandshakeMessage.cc
  3025. * src/DefaultBtMessageFactory.cc
  3026. * src/DefaultBtProgressInfoFile.cc
  3027. * src/EpollEventPoll.cc
  3028. * src/ExpatMetalinkProcessor.cc
  3029. * src/IteratableChecksumValidator.cc
  3030. * src/IteratableChunkChecksumValidator.cc
  3031. * src/MessageDigestHelper.cc
  3032. * src/Platform.cc
  3033. * src/RequestGroupMan.cc
  3034. * src/SingleFileAllocationIterator.cc
  3035. * src/Sqlite3MozCookieParser.cc
  3036. * src/XML2SAXMetalinkProcessor.cc
  3037. * src/Xml2XmlRpcRequestProcessor.cc
  3038. * src/util.cc
  3039. * src/util.h
  3040. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3041. Fixed integer potential alignment problem.
  3042. * src/bitfield.h
  3043. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3044. Applied a patch from tizianomueller to fix sigbus errors on Linux
  3045. sparc. I modified the patch to eliminate a cast to uint32_t* and
  3046. include file ordering.
  3047. * src/PeerListProcessor.h
  3048. * src/bittorrent_helper.cc
  3049. 2009-11-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3050. Added util::parseUIntNoThrow(). Use it in Request::parseUrl().
  3051. * src/Request.cc
  3052. * src/util.cc
  3053. * src/util.h
  3054. * test/RequestTest.cc
  3055. 2009-11-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3056. Rewritten util::uitos()
  3057. * src/util.h
  3058. 2009-11-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3059. Code cleanup
  3060. * src/Request.cc
  3061. * src/Request.h
  3062. 2009-11-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3063. Rewritten Request::parseUrl()
  3064. * src/Request.cc
  3065. * test/RequestTest.cc
  3066. 2009-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3067. Removed unused macro SAFE_CHARS
  3068. * src/Request.cc
  3069. 2009-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3070. Updated doc
  3071. * src/DHTRoutingTableDeserializer.cc
  3072. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3073. Release 1.6.3
  3074. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3075. Removed unused function.
  3076. * test/DHTPeerAnnounceStorageTest.cc
  3077. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3078. Only decrement cols if cols > 0
  3079. * src/ConsoleStatCalc.cc
  3080. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3081. Updated Polish, Catalan, French, Italian, Russian and Japanese
  3082. translations. Thanks to all translators.
  3083. * po/ca.po
  3084. * po/fr.po
  3085. * po/it.po
  3086. * po/ja.po
  3087. * po/pl.po
  3088. * po/ru.po
  3089. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3090. Updated translation template
  3091. * po
  3092. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3093. Fixed compile error without ssl library.
  3094. * src/util.cc
  3095. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3096. Logged received nodes in get_peers reply message.
  3097. * src/DHTAbstractNodeLookupTask.cc
  3098. * src/DHTAbstractNodeLookupTask.h
  3099. 2009-11-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3100. Fixed the bug that DHTAbstractNodeLookupTask never finishes if
  3101. error occurred in DHTMessageDispatcherImpl::sendMessage().
  3102. * src/DHTMessageDispatcherImpl.cc
  3103. 2009-11-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3104. Don't reuse URI if Request pool is not empty.
  3105. * src/CreateRequestCommand.cc
  3106. 2009-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3107. Removed peerStorage from DHTPeerAnnounceEntry. It is unlikely to
  3108. receive get_peers request for torrent which the client is now
  3109. downloading.
  3110. * src/BtSetup.cc
  3111. * src/DHTPeerAnnounceEntry.cc
  3112. * src/DHTPeerAnnounceEntry.h
  3113. * src/DHTPeerAnnounceStorage.cc
  3114. * src/DHTPeerAnnounceStorage.h
  3115. * src/RequestGroup.cc
  3116. * test/DHTPeerAnnounceEntryTest.cc
  3117. * test/DHTPeerAnnounceStorageTest.cc
  3118. 2009-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3119. Fixed the bug that in Windows environment new blank line is
  3120. inserted when console readout is updated.
  3121. * src/ConsoleStatCalc.cc
  3122. 2009-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3123. Throw exception if binding listening port is failed. Removed
  3124. RequestGroupMan::getInitialCommand(). Use
  3125. fillRequestGroupFromReserver() instead. Delete commands for
  3126. RequestGroup which has errors when it is being added.
  3127. * src/BtSetup.cc
  3128. * src/DownloadEngine.cc
  3129. * src/DownloadEngine.h
  3130. * src/DownloadEngineFactory.cc
  3131. * src/MultiUrlRequestInfo.cc
  3132. * src/RequestGroupMan.cc
  3133. * src/RequestGroupMan.h
  3134. * test/RequestGroupManTest.cc
  3135. 2009-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3136. Fixed the bug that when downloading more than one torrent,
  3137. listening port is not reported properly to tracker for 2nd or
  3138. later torrents.
  3139. * src/BtSetup.cc
  3140. * src/PeerListenCommand.cc
  3141. * src/PeerListenCommand.h
  3142. * src/RequestGroup.cc
  3143. 2009-10-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3144. Bump up version number to 1.6.3
  3145. * configure.ac
  3146. 2009-10-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3147. Removed Util.cc from POTFILES.in
  3148. * po/POTFILES.in
  3149. 2009-10-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3150. Updated man page for previous change.
  3151. * doc/aria2c.1.txt
  3152. 2009-10-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3153. If user name is embedded but password is missing in URI, first
  3154. resolve password using .netrc. If password is found in .netrc,
  3155. then use it as password. If not, use the password specified in
  3156. --ftp-passwd.
  3157. * src/AuthConfigFactory.cc
  3158. * src/Request.cc
  3159. * src/Request.h
  3160. * test/AuthConfigFactoryTest.cc
  3161. 2009-10-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3162. Fixed typo
  3163. * doc/aria2c.1.txt
  3164. 2009-10-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3165. Fixed typo
  3166. * src/usage_text.h
  3167. 2009-10-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3168. Added missing bitfield.cc
  3169. * src/bitfield.cc
  3170. 2009-10-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3171. Renamed Util.{cc,h} as util.{cc,h}
  3172. * src/Util.cc
  3173. * src/Util.h
  3174. * src/util.cc
  3175. * src/util.h
  3176. 2009-10-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3177. Moved static functions in Util class to namespace util.
  3178. * src
  3179. * test
  3180. 2009-10-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3181. Moved generateRandomData to Util.cc Moved flipBit to bitfield.cc.
  3182. Moved generateRandomKey to bittorrent_helper.cc.
  3183. * src/DHTBucket.cc
  3184. * src/DHTGetPeersMessage.cc
  3185. * src/DHTGetPeersReplyMessage.cc
  3186. * src/DHTMessage.cc
  3187. * src/DHTNode.cc
  3188. * src/DHTTokenTracker.cc
  3189. * src/DHTUtil.cc: Removed.
  3190. * src/DHTUtil.h: Removed.
  3191. * src/Makefile.am
  3192. * src/Util.cc
  3193. * src/Util.h
  3194. * src/bitfield.h
  3195. * src/bittorrent_helper.cc
  3196. * src/bittorrent_helper.h
  3197. * test/ARC4Test.cc
  3198. * test/BNodeTest.cc
  3199. * test/DHTAnnouncePeerMessageTest.cc
  3200. * test/DHTAnnouncePeerReplyMessageTest.cc
  3201. * test/DHTFindNodeMessageTest.cc
  3202. * test/DHTFindNodeReplyMessageTest.cc
  3203. * test/DHTGetPeersMessageTest.cc
  3204. * test/DHTGetPeersReplyMessageTest.cc
  3205. * test/DHTPingMessageTest.cc
  3206. * test/DHTPingReplyMessageTest.cc
  3207. * test/DHTTokenTrackerTest.cc
  3208. * test/DHTUtilTest.cc: Removed.
  3209. * test/Makefile.am
  3210. * test/UtilTest.cc
  3211. 2009-10-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3212. Removed the call to trim() because trim() is called for each
  3213. element in split().
  3214. * src/CookieParser.cc
  3215. 2009-10-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3216. Replaced Util::slice() with split()
  3217. * src/AbstractCommand.cc
  3218. * src/CookieParser.cc
  3219. * src/File.cc
  3220. * src/HttpHeaderProcessor.cc
  3221. * src/HttpRequest.cc
  3222. * src/Metalink2RequestGroup.cc
  3223. * src/MetalinkParserController.cc
  3224. * src/Netrc.cc
  3225. * src/NsCookieParser.cc
  3226. * src/ParameterizedStringParser.cc
  3227. * src/ServerStatMan.cc
  3228. * src/UriListParser.cc
  3229. * src/Util.cc
  3230. * src/Util.h
  3231. * src/bittorrent_helper.cc
  3232. * test/UtilTest.cc
  3233. 2009-10-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3234. Use request->getDir() instead of "/" for embedded user/pass in
  3235. URI.
  3236. * src/AuthConfigFactory.cc
  3237. 2009-10-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3238. Fixed wrong insertion point for BasicCred.
  3239. * src/AuthConfigFactory.cc
  3240. 2009-10-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3241. Allowed non-regular file in LocalFilePathOptionHandler
  3242. * src/OptionHandlerImpl.h
  3243. * src/message.h
  3244. 2009-10-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3245. Fixed the bug that Netrc::parse() cannot recognize comment line.
  3246. * src/Netrc.cc
  3247. * src/Util.h
  3248. * test/NetrcTest.cc
  3249. * test/sample.netrc
  3250. 2009-10-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3251. Fixed typo
  3252. * src/BtDependency.cc
  3253. * src/BtRejectMessage.cc
  3254. * src/FtpConnection.cc
  3255. * src/HttpHeaderProcessor.h
  3256. 2009-10-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3257. Fixed lintian report in man page
  3258. * doc/aria2c.1.txt
  3259. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3260. Release 1.6.2
  3261. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3262. Updated Ukrainian translation. Thanks to all translators.
  3263. * po/uk.po
  3264. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3265. Updated translation template
  3266. * po
  3267. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3268. Bump up version number to 1.6.2
  3269. * configure.ac
  3270. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3271. Updated licence message in -v output.
  3272. * src/version_usage.cc
  3273. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3274. Replaced aria2 with aria2c in help message.
  3275. * src/version_usage.cc
  3276. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3277. Use PACKAGE_BUGREPORT and PACKAGE_URL.
  3278. * src/version_usage.cc
  3279. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3280. Quoted localedir
  3281. * src/Makefile.am
  3282. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3283. Added AC_FUNC_STRTOD and AC_TYPE_PID_T. Check function for pow,
  3284. utime. Check header for utime.h.
  3285. * configure.ac
  3286. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3287. Use AC_FUNC_FORK. Replaced HAVE_FORK with HAVE_WORKING_FORK.
  3288. * configure.ac
  3289. * src/daemon.cc
  3290. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3291. Don't set localedir manually. Leave it to autoconf.
  3292. * configure.ac
  3293. * src/Makefile.am
  3294. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3295. Added --install to ACLOCAL_AMFLAGS.
  3296. Removed m4 from SUBDIRS.
  3297. Updated automake 1.11 and autoconf 2.64.
  3298. Replaced some obsolute macros with new one.
  3299. * Makefile.am
  3300. * configure.ac
  3301. * m4/aria2_arg.m4
  3302. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3303. Removed Makefile.am in m4 directory.
  3304. * configure.ac
  3305. * m4/ChangeLog
  3306. * m4/Makefile.am
  3307. * m4/Makefile.in
  3308. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3309. Removed unused m4 macros.
  3310. * m4/intldir.m4
  3311. * m4/inttypes.m4
  3312. * m4/isc-posix.m4
  3313. * m4/libgnutls-extra.m4
  3314. * m4/ulonglong.m4
  3315. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3316. Fixed the bug that causes segmentation fault if
  3317. req->getCurrentUrl() contains printf formatting characters such as
  3318. %d. The statement that causes this bug is useless and removed.
  3319. * src/AbstractCommand.cc
  3320. 2009-10-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3321. * Release 1.6.1
  3322. 2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3323. Updated Simplified Chinese translation. Thanks to translators.
  3324. * po/zh_CN.po
  3325. 2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3326. Updated translation template
  3327. * po
  3328. 2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3329. Bump up version number to 1.6.1
  3330. * configure.ac
  3331. 2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3332. Changed interval from 120 to 60 for dropping inactive peer.
  3333. * src/DefaultBtInteractive.cc
  3334. 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3335. Updated man page for --user-agent and --peer-id-prefix option.
  3336. * doc/aria2c.1.txt
  3337. 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3338. Code clean up
  3339. * src/BtPostDownloadHandler.cc
  3340. * src/ContentTypeRequestGroupCriteria.cc
  3341. * src/ContentTypeRequestGroupCriteria.h
  3342. * src/DownloadHandlerConstants.cc
  3343. * src/DownloadHandlerConstants.h
  3344. * src/DownloadHandlerFactory.cc
  3345. * src/MetalinkPostDownloadHandler.cc
  3346. 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3347. Don't save control file when aria2 exists while checking piece
  3348. hash(behavior of -V option). If control file doesn't exist when
  3349. aria2 launched, the completed length in saved control file will be
  3350. 0 byte and this confuses user. disableSaveControlFile() is called
  3351. in RequestGroup::processCheckIntegrityEntry().
  3352. enableSaveControlFile() will be called after hash checking is
  3353. done. See CheckIntegrityCommand.
  3354. * src/CheckIntegrityCommand.cc
  3355. * src/RequestGroup.cc
  3356. * src/RequestGroup.h
  3357. * src/RequestGroupMan.cc
  3358. 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3359. Included version number in Peer ID and client version. Peer ID
  3360. now starts with "aria2/VERSION-", where VERSION is
  3361. MAJOR.MINOR.MICRO. Client version is aria2/VERSION.
  3362. * src/DefaultBtInteractive.cc
  3363. * src/OptionHandlerFactory.cc
  3364. * src/bittorrent_helper.cc
  3365. * src/bittorrent_helper.h
  3366. * src/main.cc
  3367. * src/usage_text.h
  3368. * test/BittorrentHelperTest.cc
  3369. 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3370. Fixed memory leak.
  3371. * src/DownloadCommand.cc
  3372. 2009-10-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3373. Removed server, port, user and passwd key from options before
  3374. XMLRPC::Client.call since they are not options of aria2.
  3375. * doc/xmlrpc/aria2mon
  3376. * doc/xmlrpc/aria2rpc
  3377. 2009-10-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3378. Included version number in user-agent string.
  3379. * src/OptionHandlerFactory.cc
  3380. 2009-10-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3381. Fixed the bug that the option values changed by XML-RPC
  3382. method(changeOption and changeGlobalOption) are overwritten to the
  3383. previous value by the next these request which doesn't contain
  3384. that option value. Supporse max-download-limit is initially 0. You
  3385. changed this value to 100K by changeOption. Then you issue
  3386. changeOption request to change max-upload-limit to 50K. This
  3387. second request doesn't contain xml-download-limit, so it is back
  3388. to initial value, 0. Another improvement is that exception is
  3389. thrown when changeOption and changeGlobalOption request contains
  3390. option name which doesn't allowed in each request.
  3391. * src/DownloadEngine.h
  3392. * src/XmlRpcMethod.cc
  3393. * src/XmlRpcMethod.h
  3394. * src/XmlRpcMethodImpl.cc
  3395. * src/download_helper.cc
  3396. * src/download_helper.h
  3397. * test/XmlRpcMethodTest.cc
  3398. 2009-10-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3399. Added missing MetalinkParserStateImpl.{cc,h}
  3400. * src/MetalinkParserStateImpl.cc
  3401. * src/MetalinkParserStateImpl.h
  3402. 2009-10-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3403. Put all MetalinkParserState subclasses into
  3404. MetalinkParserStateImpl.cc. Use stack to track element structure.
  3405. * src/FileMetalinkParserState.cc: Removed
  3406. * src/FileMetalinkParserState.h: Removed
  3407. * src/FilesMetalinkParserState.cc: Removed
  3408. * src/FilesMetalinkParserState.h: Removed
  3409. * src/FinMetalinkParserState.cc: Removed
  3410. * src/FinMetalinkParserState.h: Removed
  3411. * src/HashMetalinkParserState.cc: Removed
  3412. * src/HashMetalinkParserState.h: Removed
  3413. * src/InitialMetalinkParserState.cc: Removed
  3414. * src/InitialMetalinkParserState.h: Removed
  3415. * src/LanguageMetalinkParserState.cc: Removed
  3416. * src/LanguageMetalinkParserState.h: Removed
  3417. * src/Makefile.am
  3418. * src/MetalinkMetalinkParserState.cc: Removed
  3419. * src/MetalinkMetalinkParserState.h: Removed
  3420. * src/MetalinkParserState.h
  3421. * src/MetalinkParserStateMachine.cc
  3422. * src/MetalinkParserStateMachine.h
  3423. * src/OSMetalinkParserState.cc: Removed
  3424. * src/OSMetalinkParserState.h: Removed
  3425. * src/PieceHashMetalinkParserState.cc: Removed
  3426. * src/PieceHashMetalinkParserState.h: Removed
  3427. * src/PiecesMetalinkParserState.cc: Removed
  3428. * src/PiecesMetalinkParserState.h: Removed
  3429. * src/ResourcesMetalinkParserState.cc: Removed
  3430. * src/ResourcesMetalinkParserState.h: Removed
  3431. * src/SignatureMetalinkParserState.cc: Removed
  3432. * src/SignatureMetalinkParserState.h: Removed
  3433. * src/SizeMetalinkParserState.cc: Removed
  3434. * src/SizeMetalinkParserState.h: Removed
  3435. * src/SkipTagMetalinkParserState.cc: Removed
  3436. * src/SkipTagMetalinkParserState.h: Removed
  3437. * src/URLMetalinkParserState.cc: Removed
  3438. * src/URLMetalinkParserState.h: Removed
  3439. * src/VerificationMetalinkParserState.cc: Removed
  3440. * src/VerificationMetalinkParserState.h: Removed
  3441. * src/VersionMetalinkParserState.cc: Removed
  3442. * src/VersionMetalinkParserState.h: Removed
  3443. 2009-09-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3444. Move all functions in PeerMessageUtil to bittorrent_helper.
  3445. * src/BtBitfieldMessage.cc
  3446. * src/BtBitfieldMessageValidator.h
  3447. * src/BtExtendedMessage.cc
  3448. * src/BtHandshakeMessage.cc
  3449. * src/BtHandshakeMessageValidator.h
  3450. * src/BtPieceMessage.cc
  3451. * src/BtPieceMessageValidator.h
  3452. * src/BtPortMessage.cc
  3453. * src/DHTFindNodeReplyMessage.cc
  3454. * src/DHTGetPeersReplyMessage.cc
  3455. * src/DHTMessageFactoryImpl.cc
  3456. * src/DHTRoutingTableDeserializer.cc
  3457. * src/DHTRoutingTableSerializer.cc
  3458. * src/DHTTokenTracker.cc
  3459. * src/DefaultBtMessageFactory.cc
  3460. * src/IndexBtMessage.cc
  3461. * src/IndexBtMessage.h
  3462. * src/IndexBtMessageValidator.h
  3463. * src/Makefile.am
  3464. * src/PeerMessageUtil.cc: Removed.
  3465. * src/PeerMessageUtil.h: Removed.
  3466. * src/RangeBtMessage.cc
  3467. * src/RangeBtMessage.h
  3468. * src/RangeBtMessageValidator.h
  3469. * src/UTPexExtensionMessage.cc
  3470. * src/ZeroBtMessage.cc
  3471. * src/ZeroBtMessage.h
  3472. * src/bittorrent_helper.cc
  3473. * src/bittorrent_helper.h
  3474. * test/BittorrentHelperTest.cc
  3475. * test/BtAllowedFastMessageTest.cc
  3476. * test/BtBitfieldMessageTest.cc
  3477. * test/BtCancelMessageTest.cc
  3478. * test/BtChokeMessageTest.cc
  3479. * test/BtExtendedMessageTest.cc
  3480. * test/BtHandshakeMessageTest.cc
  3481. * test/BtHaveAllMessageTest.cc
  3482. * test/BtHaveMessageTest.cc
  3483. * test/BtHaveNoneMessageTest.cc
  3484. * test/BtInterestedMessageTest.cc
  3485. * test/BtNotInterestedMessageTest.cc
  3486. * test/BtPieceMessageTest.cc
  3487. * test/BtPortMessageTest.cc
  3488. * test/BtRejectMessageTest.cc
  3489. * test/BtRequestMessageTest.cc
  3490. * test/BtSuggestPieceMessageTest.cc
  3491. * test/BtUnchokeMessageTest.cc
  3492. * test/DHTFindNodeReplyMessageTest.cc
  3493. * test/DHTGetPeersReplyMessageTest.cc
  3494. * test/DHTMessageFactoryImplTest.cc
  3495. * test/DHTRoutingTableDeserializerTest.cc
  3496. * test/DHTRoutingTableSerializerTest.cc
  3497. * test/DefaultBtMessageFactoryTest.cc
  3498. * test/DefaultExtensionMessageFactoryTest.cc
  3499. * test/Makefile.am
  3500. * test/PeerListProcessorTest.cc
  3501. * test/PeerMessageUtilTest.cc: Removed.
  3502. * test/UTPexExtensionMessageTest.cc
  3503. 2009-09-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3504. Limit the size of values list when sending get_peers reply.
  3505. * src/DHTGetPeersReplyMessage.cc
  3506. 2009-09-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3507. Updated banner
  3508. * doc/xmlrpc/aria2rpc
  3509. 2009-09-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3510. Added missing help message for remove command.
  3511. * doc/xmlrpc/aria2rpc
  3512. 2009-09-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3513. Generated configure and config.h.in
  3514. 2009-09-23 Ross Smith II <aria2spam at smithii dot com>
  3515. Add check for fork(), which is missing on MinGW
  3516. * src/daemon.cc
  3517. * configure.ac
  3518. 2009-09-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3519. Removed unused methods Util::fileCopy(), Util::rangedFileCopy(),
  3520. Util::expandBuffer(), Util::unfoldRange(), Util::indexRange() and
  3521. Util::httpGMT().
  3522. * src/Util.cc
  3523. * src/Util.h
  3524. * test/UtilTest.cc
  3525. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3526. * Release 1.6.0
  3527. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3528. Fixed a path to xmlrpc/README.txt
  3529. * doc/Makefile.am
  3530. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3531. Added XML-RPC in -v Configuration output.
  3532. * src/FeatureConfig.cc
  3533. * src/FeatureConfig.h
  3534. * test/FeatureConfigTest.cc
  3535. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3536. Updated Bulgarian, Russian, Slovak and Japanese
  3537. translations. Thanks to all translators.
  3538. * po/bg.po
  3539. * po/ja.po
  3540. * po/ru.po
  3541. * po/sk.po
  3542. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3543. Removed --retry-wait option from aria2rpc
  3544. * doc/xmlrpc/aria2rpc
  3545. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3546. Removed --retry-wait option from man page.
  3547. * doc/aria2c.1.txt
  3548. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3549. Removed --retry-wait option since the current architecture doesn't
  3550. allow sleep for particular URI.
  3551. * src/AbstractCommand.cc
  3552. * src/OptionHandlerFactory.cc
  3553. * src/download_helper.cc
  3554. * src/prefs.cc
  3555. * src/prefs.h
  3556. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3557. Removed Retry-After header support. Since the current architecture
  3558. doesn't allow sleep for particular URI.
  3559. * src/HttpSkipResponseCommand.cc
  3560. 2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3561. Updated the help message for --daemon option.
  3562. * doc/aria2c.1.txt
  3563. * src/usage_text.h
  3564. 2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3565. Added our own daemon() function for systems which desn't have
  3566. daemon(3).
  3567. * configure.ac
  3568. * src/Makefile.am
  3569. * src/daemon.cc
  3570. * src/daemon.h
  3571. * src/option_processing.cc
  3572. 2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3573. Simplified File::getCurrentDir()
  3574. * src/File.cc
  3575. 2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3576. Use exit() instead of _exit
  3577. * src/RequestGroupMan.cc
  3578. 2009-09-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3579. Replaced "CATEGORY" with "TAGS".
  3580. * src/usage_text.h
  3581. * doc/aria2c.1.txt
  3582. 2009-09-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3583. Updated the help message for --help option.
  3584. * src/usage_text.h
  3585. * doc/aria2c.1.txt
  3586. 2009-09-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3587. Updated man page for added help tags.
  3588. * doc/aria2c.1.txt
  3589. 2009-09-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3590. Added help category #file. Added #file tag to the options related
  3591. to downloaded file.
  3592. * src/OptionHandlerFactory.cc
  3593. * src/help_tags.h
  3594. 2009-09-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3595. Added help categories: #cookie and #hook. Added #https tag to
  3596. --https-proxy and --https-proxy, --all-proxy and --no-proxy.
  3597. * src/OptionHandlerFactory.cc
  3598. * src/help_tags.h
  3599. 2009-09-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3600. Made MSG_NOT_FILE translatable.
  3601. * src/message.h
  3602. 2009-09-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3603. Updated man page for --help option.
  3604. * doc/aria2c.1.txt
  3605. 2009-09-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3606. Updated doc.
  3607. * src/XmlRpcMethod.h
  3608. 2009-09-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3609. Help category now starts with "#" to distinguish a category from
  3610. keyword search. For example, "http" categroy is now "#http". You
  3611. can type "--help=#http" to get explanation of options related to
  3612. http. If '#' is omitted, then the argument is treated as a keyword
  3613. and aria2 searches options whose name includes the keyword and
  3614. print matched ones. For example, "--help=http" will show options
  3615. whose name includes "http".
  3616. * src/OptionHandlerFactory.cc
  3617. * src/help_tags.h
  3618. * src/usage_text.h
  3619. * src/version_usage.cc
  3620. 2009-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3621. Documented missing experimental tag and newly added xml-rpc tag in
  3622. man page.
  3623. * doc/aria2c.1.txt
  3624. 2009-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3625. Added xml-rpc help tag. Tagged xml-rpc related options with
  3626. xml-rpc tag.
  3627. * src/OptionHandlerFactory.cc
  3628. * src/help_tags.h
  3629. 2009-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3630. Updated message when a path is not a file. Updated common message
  3631. for wrong option.
  3632. * src/OptionHandlerException.cc
  3633. * src/message.h
  3634. 2009-09-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3635. Use File::isFile() instead of File::exists(). Updated message when
  3636. a path is not a file.
  3637. * src/OptionHandlerImpl.cc
  3638. * src/message.h
  3639. 2009-09-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3640. Fixed the bug that server performence profile is not updated when
  3641. aria2c was terminated by emergency shutdown.
  3642. * src/TrackerWatcherCommand.cc
  3643. 2009-09-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3644. Use LocalFilePathOptionHandler for -T and -M option.
  3645. Updated message of MSG_FILE_NOT_EXIST.
  3646. * src/OptionHandlerFactory.cc
  3647. * src/message.h
  3648. 2009-09-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3649. Added LocalFilePathOptionHandler which check whether the specified
  3650. file path does exist or not.
  3651. * src/OptionHandlerImpl.cc
  3652. * src/message.h
  3653. 2009-09-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3654. Updated wiki page URI.
  3655. * README
  3656. * doc/aria2c.1.txt
  3657. 2009-09-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3658. Added README.txt for xmlrpc directory.
  3659. * doc/Makefile.am
  3660. * doc/xmlrpc/README.txt
  3661. 2009-09-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3662. Bump up version number to 1.6.0.
  3663. * configure.ac
  3664. 2009-09-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3665. Added XML-RPC client scripts written in ruby.
  3666. * doc/Makefile.am
  3667. * doc/xmlrpc/aria2mon
  3668. * doc/xmlrpc/aria2rpc
  3669. 2009-08-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3670. Added support for IPv6 literal address in URI. Now aria2 can
  3671. handle URI such as http://[::1]/
  3672. * src/HttpRequest.cc
  3673. * src/HttpRequest.h
  3674. * src/Request.cc
  3675. * src/Request.h
  3676. * test/HttpRequestTest.cc
  3677. * test/OptionHandlerTest.cc
  3678. * test/RequestTest.cc
  3679. 2009-08-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3680. Fixed the bug that HTTP request header for XML-RPC request is not
  3681. parsed properly.
  3682. * src/HttpHeader.cc
  3683. * src/HttpHeaderProcessor.cc
  3684. 2009-08-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3685. Fixed the bug that XML-RPC authorization might be done before HTTP
  3686. request header is fully received.
  3687. * src/HttpServerCommand.cc
  3688. 2009-08-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3689. Documented --xml-rpc-listen-all option in man page.
  3690. * doc/aria2c.1.txt
  3691. 2009-08-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3692. Added --xml-rpc-listen-all option. If true is given to this
  3693. option, aria2 listens incoming XML-RPC requests on all network
  3694. interfaces. If false is given, listens only on local loopback
  3695. interface. The default value is false.
  3696. * src/HttpListenCommand.cc
  3697. * src/OptionHandlerFactory.cc
  3698. * src/SocketCore.cc
  3699. * src/SocketCore.h
  3700. * src/prefs.cc
  3701. * src/prefs.h
  3702. * src/usage_text.h
  3703. 2009-08-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3704. * Release 1.5.2
  3705. 2009-08-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3706. Updated Ukrainian and Russian translations. Thanks to all
  3707. translators.
  3708. * po/ru.po
  3709. * po/uk.po
  3710. 2009-08-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3711. Bump up version number to 1.5.2
  3712. * configure.ac
  3713. 2009-08-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3714. Get comment, comment.utf-8, created by and creation date from
  3715. .torrent file and print them in -S output.
  3716. * src/bittorrent_helper.cc
  3717. * src/bittorrent_helper.h
  3718. * test/BittorrentHelperTest.cc
  3719. * test/test.torrent
  3720. * test/utf8.torrent
  3721. 2009-08-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3722. Show exact file size along in -S option output.
  3723. * src/Util.h
  3724. * src/bittorrent_helper.cc
  3725. * test/UtilTest.cc
  3726. 2009-08-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3727. Avoided unnecessary memory allocation in
  3728. BitfieldMan::getCompletedLength().
  3729. * src/BitfieldMan.cc
  3730. 2009-08-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3731. Fixed the bug that download fails if
  3732. SocketCore::establishConnection() throws exception and aria2
  3733. doesn't try another address.
  3734. * src/AbstractCommand.cc
  3735. * src/InitiateConnectionCommand.cc
  3736. * src/message.h
  3737. 2009-08-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3738. Fixed sqlite3.m4 macro so that sqlite3_open_v2 function is
  3739. detected properly.
  3740. * m4/sqlite3.m4
  3741. 2009-08-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3742. Renamed xmlrpc::elements::PARAMS to xmlrpc::elements::A2_PARAMS
  3743. because it causes compile error if PARAMS macro is defined.
  3744. * src/XmlRpcElements.cc
  3745. * src/XmlRpcElements.h
  3746. * src/XmlRpcRequestParserStateImpl.cc
  3747. 2009-07-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3748. * Release 1.5.1
  3749. 2009-07-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3750. Bump up version number to 1.5.1
  3751. * configure.ac
  3752. 2009-07-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3753. Fixed compile error without BitTorrent support
  3754. * src/DefaultBtProgressInfoFile.cc
  3755. * src/DownloadEngine.cc
  3756. * src/DownloadEngine.h
  3757. 2009-07-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3758. Added missing '=' in Download Results
  3759. * src/RequestGroupMan.cc
  3760. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3761. Fixed compiler warning
  3762. * src/DefaultBtProgressInfoFile.cc
  3763. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3764. Fixed compiler warning on 32bit systems.
  3765. * src/DownloadCommand.cc
  3766. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3767. Call flush from ServerStatMan::save()
  3768. * src/ServerStatMan.cc
  3769. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3770. Check stream status after file is opened.
  3771. * src/CookieStorage.cc
  3772. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3773. Rewritten Signature::save()
  3774. * src/Signature.cc
  3775. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3776. Rewritten RequestGroupMan::saveServerStat()
  3777. * src/RequestGroupMan.cc
  3778. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3779. Rewritten stream error handling
  3780. * src/DHTAutoSaveCommand.cc
  3781. * src/DHTRoutingTableDeserializer.cc
  3782. * src/DHTRoutingTableSerializer.cc
  3783. * src/DHTSetup.cc
  3784. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3785. Check stream status after file is opened.
  3786. * src/DefaultBtProgressInfoFile.cc
  3787. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3788. Rewritten stream error handling
  3789. * src/DefaultBtProgressInfoFile.cc
  3790. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3791. Make sure that stream is closed before renaming file. Unit test
  3792. fails on mingw32 in the previous implementation.
  3793. * src/CookieStorage.cc
  3794. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3795. Fixed the unit test error without sqlite3
  3796. * test/CookieStorageTest.cc
  3797. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3798. Fixed the undefined reference error
  3799. * test/HttpResponseTest.cc
  3800. 2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3801. * Release 1.5.0
  3802. 2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3803. Updated Russian, Italian, Danish, Bulgarian, Japanese and
  3804. Ukrainian translations. Thanks to all translators.
  3805. * po/ru.po
  3806. * po/it.po
  3807. * po/da.po
  3808. * po/bg.po
  3809. * po/ja.po
  3810. * po/uk.po
  3811. 2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3812. Added missing src/Logger.cc
  3813. * src/Logger.cc
  3814. 2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3815. Rewritten Logger to avoiding constly virtual call.
  3816. * src/LogFactory.cc
  3817. * src/LogFactory.h
  3818. * src/Logger.h
  3819. * src/Makefile.am
  3820. * src/Makefile.in
  3821. * src/NullLogger.h: Removed.
  3822. * src/SimpleLogger.cc
  3823. * src/SimpleLogger.h
  3824. 2009-07-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3825. Updated doc
  3826. * src/main.cc
  3827. 2009-07-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3828. Updated debug log message
  3829. * src/AbstractCommand.cc
  3830. * src/message.h
  3831. 2009-07-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3832. Avoid to create zombie process when commands specified in
  3833. --on-download-* options are executed. Tested on Linux 2.6, Mac OS
  3834. X and NetBSD.
  3835. * src/main.cc
  3836. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3837. Fixed typo
  3838. * src/usage_text.h
  3839. * doc/aria2c.1.txt
  3840. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3841. Documented 'errorCode' of tellStatus in man page.
  3842. * doc/aria2c.1.txt
  3843. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3844. Added 'errorCode' to the reponse of tellStatus xml-rpc method.
  3845. This key is only available for stopped/completed downloads and its
  3846. value is the error code defined in EXIT STATUS in man page.
  3847. * src/XmlRpcMethodImpl.cc
  3848. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3849. Fixed the bug that session download length is not updated when
  3850. PeerStat is not fastest one.
  3851. * src/SegmentMan.cc
  3852. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3853. Updated doc.
  3854. * doc/aria2c.1.txt
  3855. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3856. Updated doc.
  3857. * src/AbstractCommand.cc
  3858. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3859. Handle the case when DownloadContext has no FileEntry.
  3860. * src/XmlRpcMethodImpl.cc
  3861. 2009-07-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3862. Handle the situation where struct option.name is char *.
  3863. * configure.ac
  3864. * src/OptionParser.cc
  3865. 2009-07-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3866. Code cleanup
  3867. * src/AbstractCommand.cc
  3868. * src/DownloadCommand.cc
  3869. 2009-07-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3870. Use option of each download to create AuthConfig instead of global
  3871. option.
  3872. * src/AuthConfigFactory.cc
  3873. * src/AuthConfigFactory.h
  3874. * src/FtpNegotiationCommand.cc
  3875. * src/HttpRequest.cc
  3876. * src/HttpRequest.h
  3877. * src/HttpRequestCommand.cc
  3878. * src/HttpSkipResponseCommand.cc
  3879. * src/MultiUrlRequestInfo.cc
  3880. * test/AuthConfigFactoryTest.cc
  3881. * test/FtpConnectionTest.cc
  3882. * test/HttpRequestTest.cc
  3883. 2009-07-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3884. Don't call prepareForRetry(1) if all segments are ignored in
  3885. SegmentMan.
  3886. * src/AbstractCommand.cc
  3887. * src/BitfieldMan.cc
  3888. * src/BitfieldMan.h
  3889. * src/SegmentMan.cc
  3890. * src/SegmentMan.h
  3891. 2009-07-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3892. Removed FileEntry::getAssociatedUris()
  3893. * src/FileEntry.h
  3894. 2009-07-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3895. Updated doc: TODO1.5 -> TODO
  3896. * src/FileEntry.cc
  3897. * src/HttpResponseCommand.cc
  3898. 2009-07-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3899. Added assertion fileEntries.size() == 1 if BitTorrent is not
  3900. involved.
  3901. * src/RequestGroup.cc
  3902. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3903. Eliminated duplicated filterBitfield initialization code.
  3904. * src/BitfieldMan.cc
  3905. * src/BitfieldMan.h
  3906. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3907. Added assert(!req.isNull()) when DlRetryEx is caught(this is
  3908. relatively naive approach, though). For DownloadFailureException,
  3909. we handle the case when req is null properly.
  3910. * src/AbstractCommand.cc
  3911. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3912. Added function returning suffix of control file to
  3913. DefaultBtProgressInfoFile.
  3914. * src/DefaultBtProgressInfoFile.cc
  3915. * src/DefaultBtProgressInfoFile.h
  3916. * src/RequestGroup.cc
  3917. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3918. Documented getVersion in man page.
  3919. * doc/aria2c.1.txt
  3920. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3921. Documented type of offset and num for tellWaiting xml-rpc method.
  3922. * doc/aria2c.1.txt
  3923. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3924. Implemented getVersion xml-rpc method. This method returns struct
  3925. which has 2 key-value pairs: "version" key is associated to the
  3926. version of aria2, such as "1.5.0". "enabledFeatures" key is
  3927. associated to the list of enabled features, such as "Async DNS",
  3928. "BitTorrent".
  3929. * src/FeatureConfig.h
  3930. * src/XmlRpcMethodFactory.cc
  3931. * src/XmlRpcMethodImpl.cc
  3932. * src/XmlRpcMethodImpl.h
  3933. * test/XmlRpcMethodTest.cc
  3934. 2009-07-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3935. Removed TLS1.1 protocol support when aria2 is built with gnutls
  3936. for compatibility issue.
  3937. * src/SocketCore.cc
  3938. 2009-07-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3939. Fixed compile error with openSSL
  3940. * src/bittorrent_helper.cc
  3941. * src/messageDigest.h
  3942. 2009-07-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3943. Removed bad code: setting certificate type priority to key
  3944. exchange priority.
  3945. * src/SocketCore.cc
  3946. 2009-07-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3947. Disconnect seeder if client is also in seed state.
  3948. * src/BtBitfieldMessage.cc
  3949. * src/BtHaveAllMessage.cc
  3950. * src/BtHaveMessage.cc
  3951. * src/message.h
  3952. * test/BtBitfieldMessageTest.cc
  3953. * test/BtHaveAllMessageTest.cc
  3954. * test/BtHaveMessageTest.cc
  3955. * test/MockPieceStorage.h
  3956. 2009-07-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3957. Keep CreateRequestCommand in queue when no segment is available so
  3958. that they can pick up pieces which slow BitTorrent peers are
  3959. downloading.
  3960. * src/AbstractCommand.cc
  3961. * src/CreateRequestCommand.cc
  3962. * src/CreateRequestCommand.h
  3963. 2009-07-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3964. --bt-stop-timeout now only checks download speed.
  3965. * src/BtStopDownloadCommand.cc
  3966. * src/BtStopDownloadCommand.h
  3967. * src/BtSetup.cc
  3968. * src/usage_text.h
  3969. * doc/aria2c.1.txt
  3970. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3971. Fixed compile error regarding BUFSIZE.
  3972. * src/DownloadCommand.cc
  3973. * src/DownloadCommand.h
  3974. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3975. Documented tellWaiting xml-rpc method in man page.
  3976. * doc/aria2c.1.txt
  3977. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3978. Bump up version number to 1.5.0
  3979. * configure.ac
  3980. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3981. Removed resolved TODO1.5
  3982. * src/AbstractCommand.cc
  3983. * src/DownloadCommand.cc
  3984. * src/RequestGroup.cc
  3985. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3986. Release pooled and in-flight Request objectsand URIResult objects
  3987. in FileEntry after download completed.
  3988. * src/DownloadContext.cc
  3989. * src/DownloadContext.h
  3990. * src/FileEntry.cc
  3991. * src/FileEntry.h
  3992. * src/RequestGroup.cc
  3993. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3994. Set manual and source attribute in aria2c.1.txt
  3995. * doc/aria2c.1.txt
  3996. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3997. Documented that the default value of --use-head is 'false' in man
  3998. page.
  3999. * doc/aria2c.1.txt
  4000. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4001. Added bt-stop-timeout option to -i list.
  4002. * doc/aria2c.1.txt
  4003. * src/download_helper.cc
  4004. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4005. Fixed typo
  4006. * doc/aria2c.1.txt
  4007. * src/usage_text.h
  4008. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4009. Removed peer-id-prefix option from -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. Documented --bt-stop-timeout option in man page.
  4018. * doc/aria2c.1.txt
  4019. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4020. Updated README regarding multi-file torrent web-seeding.
  4021. * doc/README.txt
  4022. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4023. Updated man page regarding multi-file torrent web-seeding.
  4024. * doc/aria2c.1.txt
  4025. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4026. Updated doc
  4027. * src/version_usage.cc
  4028. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4029. Winsock select() doesn't work if no socket is in FD_SET. To
  4030. overcome this problem, a dummy socket is added to FD_SET and it is
  4031. given to select().
  4032. * src/SelectEventPoll.cc
  4033. * src/SelectEventPoll.h
  4034. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4035. Disabled --use-head option by default because --use-head=true
  4036. causes problems on some web sites.
  4037. * src/OptionHandlerFactory.cc
  4038. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4039. Print URL List in -S option for torrent.
  4040. * src/bittorrent_helper.cc
  4041. * src/bittorrent_helper.h
  4042. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4043. Allocate buffer in ctor of DownloadCommand.
  4044. * src/DownloadCommand.cc
  4045. * src/DownloadCommand.h
  4046. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4047. Removed DiskAdaptor::onDownloadComplete()
  4048. * src/DirectDiskAdaptor.cc
  4049. * src/DirectDiskAdaptor.h
  4050. * src/DiskAdaptor.h
  4051. * src/MultiDiskAdaptor.cc
  4052. * src/MultiDiskAdaptor.h
  4053. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4054. Committed missing BtStopDownloadCommand.{cc,h}
  4055. * src/BtStopDownloadCommand.cc
  4056. * src/BtStopDownloadCommand.h
  4057. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4058. Added --bt-stop-timeout=SEC option. This function stops BitTorrent
  4059. download if the download speed is 0 and the number of seeder is 0
  4060. in consecutive SEC seconds. By default, this function is disabled.
  4061. * src/BtSetup.cc
  4062. * src/Makefile.am
  4063. * src/OptionHandlerFactory.cc
  4064. * src/prefs.cc
  4065. * src/prefs.h
  4066. * src/usage_text.h
  4067. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4068. Removed the call to DiskAdaptor::onDownloadComplete() from
  4069. BtCheckIntegrityEntry and DefaultPieceStorage.
  4070. * src/BtCheckIntegrityEntry.cc
  4071. * src/DefaultPieceStorage.cc
  4072. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4073. Commented out throw statements when number of piece is 0 to
  4074. download 0 length torrent.
  4075. * src/bittorrent_helper.cc
  4076. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4077. Call RequestGroup::createNextCommandWithAdj() from
  4078. BtFileAllocationEntry if at least one FileEntry has URI. The
  4079. static function hasAssociatedUri in RequestGroup.cc is renamed as
  4080. isUriSuppliedForRequsetFileEntry() and placed in FileEntry.h.
  4081. * src/BtFileAllocationEntry.cc
  4082. * src/FileEntry.h
  4083. * src/RequestGroup.cc
  4084. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4085. Generate peer ID after SimpleRandomizer is initialized.
  4086. * src/main.cc
  4087. * src/option_processing.cc
  4088. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4089. Removed unused method argument.
  4090. * src/CreateRequestCommand.cc
  4091. * src/RequestGroup.cc
  4092. * src/RequestGroup.h
  4093. * src/RequestGroupMan.cc
  4094. * src/TrackerWatcherCommand.cc
  4095. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4096. Made URI reusing function work.
  4097. * src/CreateRequestCommand.cc
  4098. * src/FileEntry.cc
  4099. * src/FileEntry.h
  4100. * test/FileEntryTest.cc
  4101. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4102. Add formerly fastest PeerStat's sessionDownloadLength to new
  4103. fastest PeerStat and use _fastestPeerStats to calcuate downloaded
  4104. bytes in a session.
  4105. * src/PeerStat.cc
  4106. * src/SegmentMan.cc
  4107. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4108. If pipelining is enabled, we can always pool socket.
  4109. * src/HttpDownloadCommand.cc
  4110. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4111. In a single file download, file size becomes known just after
  4112. downloading, set total length to FileEntry object when download
  4113. completed.
  4114. * src/DownloadCommand.cc
  4115. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4116. Use std::vector::reserve() for fileEntries and pieceHashes in
  4117. bittorrent_helper
  4118. * src/bittorrent_helper.cc
  4119. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4120. Removed calls to Request::resetUrl() in AbstractCommand.cc.
  4121. Removed hidden option PREF_RESET_URI.
  4122. * src/AbstractCommand.cc
  4123. * src/OptionHandlerFactory.cc
  4124. * src/prefs.cc
  4125. * src/prefs.h
  4126. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4127. Removed unused variable/function.
  4128. * src/PeerStat.h
  4129. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4130. Show first URL in Download Results if file path is not available.
  4131. * src/FileEntry.h
  4132. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4133. Throw exception if file path doesn't exist in FTP URL.
  4134. * src/InitiateConnectionCommandFactory.cc
  4135. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4136. Refactored BitfieldMan::getSparseMissingUnusedIndex()
  4137. * src/BitfieldMan.cc
  4138. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4139. Rewritten PeerStats handling in SegmentMan.cc. Now we have 2 list
  4140. of PeerStat in SegmentMan. peerStats is used for calculating
  4141. download speed. Therefore all active PeerStats should be in
  4142. there. Another one is _fastestPeerStats and it only contains
  4143. fastest PeerStat for each hostname/protocol pair. They are used
  4144. for updating ServerStat.
  4145. * src/DownloadCommand.cc
  4146. * src/Request.h
  4147. * src/RequestGroupMan.cc
  4148. * src/SegmentMan.cc
  4149. * src/SegmentMan.h
  4150. * test/SegmentManTest.cc
  4151. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4152. Try all available addresses returned by DNS until it gets
  4153. connected in HTTP(S)/FTP download
  4154. * src/AbstractCommand.cc
  4155. * src/AbstractCommand.h
  4156. * src/AbstractProxyRequestCommand.cc
  4157. * src/AbstractProxyRequestCommand.h
  4158. * src/DNSCache.h
  4159. * src/DownloadEngine.cc
  4160. * src/DownloadEngine.h
  4161. * src/FtpInitiateConnectionCommand.cc
  4162. * src/FtpInitiateConnectionCommand.h
  4163. * src/FtpNegotiationCommand.cc
  4164. * src/FtpNegotiationCommand.h
  4165. * src/HttpInitiateConnectionCommand.cc
  4166. * src/HttpInitiateConnectionCommand.h
  4167. * src/HttpRequestCommand.cc
  4168. * src/HttpRequestCommand.h
  4169. * src/InitiateConnectionCommand.cc
  4170. * src/InitiateConnectionCommand.h
  4171. * test/DNSCacheTest.cc
  4172. * test/Makefile.am
  4173. * test/SimpleDNSCacheTest.cc
  4174. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4175. Updated doc
  4176. * src/download_helper.cc
  4177. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4178. Refactored fieldMan ctor.
  4179. * src/BitfieldMan.cc
  4180. * src/BitfieldMan.h
  4181. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4182. Don't print "No files to download." message if -S is given.
  4183. * src/main.cc
  4184. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4185. Set referer and method to newly created Request object.
  4186. * src/CreateRequestCommand.cc
  4187. * src/FileEntry.cc
  4188. * src/FileEntry.h
  4189. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4190. Removed ctor of AbstractCommand which doesn't take FileEntry.
  4191. * src/AbstractCommand.cc
  4192. * src/AbstractCommand.h
  4193. * src/CreateRequestCommand.cc
  4194. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4195. Get proxy download working
  4196. * src/AbstractProxyRequestCommand.cc
  4197. * src/AbstractProxyRequestCommand.h
  4198. * src/AbstractProxyResponseCommand.cc
  4199. * src/AbstractProxyResponseCommand.h
  4200. * src/FtpInitiateConnectionCommand.cc
  4201. * src/FtpTunnelRequestCommand.cc
  4202. * src/FtpTunnelRequestCommand.h
  4203. * src/FtpTunnelResponseCommand.cc
  4204. * src/FtpTunnelResponseCommand.h
  4205. * src/HttpInitiateConnectionCommand.cc
  4206. * src/HttpProxyRequestCommand.cc
  4207. * src/HttpProxyRequestCommand.h
  4208. * src/HttpProxyResponseCommand.cc
  4209. * src/HttpProxyResponseCommand.h
  4210. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4211. Use SegmentMan::getSegment(cuid) for single file download.
  4212. * src/AbstractCommand.cc
  4213. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4214. Fixed bufSize calculation
  4215. * src/DownloadCommand.cc
  4216. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4217. Don't append "/" if base URI ends with "/".
  4218. * src/bittorrent_helper.cc
  4219. * test/url-list-multiFile.torrent
  4220. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4221. HTTP pipelining is now working. Fixed Segmention fault in
  4222. BitfieldMan's copy ctor.
  4223. * src/AbstractCommand.cc
  4224. * src/BitfieldMan.cc
  4225. * src/BitfieldMan.h
  4226. * src/DownloadCommand.cc
  4227. * src/HttpDownloadCommand.cc
  4228. * src/HttpRequest.cc
  4229. * src/SegmentMan.cc
  4230. * src/SegmentMan.h
  4231. * test/BitfieldManTest.cc
  4232. * test/SegmentManTest.cc
  4233. 2009-06-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4234. Removed ServerHost. Same functionality is implemented using
  4235. FileEntry's in-flight Request objects.
  4236. * src/AbstractCommand.cc
  4237. * src/BtDependency.cc
  4238. * src/CreateRequestCommand.cc
  4239. * src/FileEntry.cc
  4240. * src/FileEntry.h
  4241. * src/FtpNegotiationCommand.cc
  4242. * src/HttpResponseCommand.cc
  4243. * src/Makefile.am
  4244. * src/Metalink2RequestGroup.cc
  4245. * src/RequestGroup.cc
  4246. * src/RequestGroup.h
  4247. * src/ServerHost.cc: Removed
  4248. * src/ServerHost.h: Removed
  4249. * test/BtDependencyTest.cc
  4250. * test/FileEntryTest.cc
  4251. * test/RequestGroupTest.cc
  4252. 2009-06-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4253. Rewritten PeerStat handling. In the previous implementation,
  4254. faster command tries to find slower command. In this new
  4255. implementation, slower command tries to find faster command.
  4256. PeerStat is now created in each HTTP/FTP request to get download
  4257. rate correctly. If the download range is small, the download rate
  4258. tends to small and this will occur at the later stage of download.
  4259. * src/AbstractCommand.cc
  4260. * src/DownloadCommand.cc
  4261. * src/FileEntry.cc
  4262. * src/FileEntry.h
  4263. * src/Request.cc
  4264. * src/Request.h
  4265. * src/RequestGroup.h
  4266. * src/RequestGroupMan.cc
  4267. * src/SegmentMan.cc
  4268. * src/SegmentMan.h
  4269. * test/SegmentManTest.cc
  4270. 2009-06-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4271. Removed _uris from RequestGroup. All functions that refer to _uris
  4272. were moved to FileEntry. Exit status code are now defined in
  4273. DownloadResultCode.h.
  4274. * src/AbstractCommand.cc
  4275. * src/AdaptiveURISelector.cc
  4276. * src/AdaptiveURISelector.h
  4277. * src/AutoSaveCommand.cc
  4278. * src/BtPostDownloadHandler.cc
  4279. * src/CheckIntegrityDispatcherCommand.cc
  4280. * src/CookieStorage.cc
  4281. * src/DHTAutoSaveCommand.cc
  4282. * src/DHTBucketRefreshCommand.cc
  4283. * src/DHTEntryPointNameResolveCommand.cc
  4284. * src/DHTInteractionCommand.cc
  4285. * src/DHTPeerAnnounceCommand.cc
  4286. * src/DHTTokenUpdateCommand.cc
  4287. * src/DlAbortEx.h
  4288. * src/DlRetryEx.h
  4289. * src/DownloadCommand.cc
  4290. * src/DownloadContext.h
  4291. * src/DownloadFailureException.h
  4292. * src/DownloadResult.h
  4293. * src/DownloadResultCode.h
  4294. * src/FeedbackURISelector.cc
  4295. * src/FeedbackURISelector.h
  4296. * src/FileEntry.cc
  4297. * src/FileEntry.h
  4298. * src/FtpNegotiationCommand.cc
  4299. * src/HttpListenCommand.cc
  4300. * src/HttpResponseCommand.cc
  4301. * src/HttpServerResponseCommand.cc
  4302. * src/HttpSkipResponseCommand.cc
  4303. * src/InOrderURISelector.cc
  4304. * src/InOrderURISelector.h
  4305. * src/Makefile.am
  4306. * src/Makefile.in
  4307. * src/Metalink2RequestGroup.cc
  4308. * src/MultiUrlRequestInfo.cc
  4309. * src/MultiUrlRequestInfo.h
  4310. * src/OptionHandlerFactory.cc
  4311. * src/PeerListenCommand.cc
  4312. * src/RecoverableException.h
  4313. * src/RequestGroup.cc
  4314. * src/RequestGroup.h
  4315. * src/RequestGroupMan.cc
  4316. * src/RequestGroupMan.h
  4317. * src/TimedHaltCommand.cc
  4318. * src/TrackerWatcherCommand.cc
  4319. * src/URIResult.cc
  4320. * src/URIResult.h
  4321. * src/URISelector.h
  4322. * src/XmlRpcMethodImpl.cc
  4323. * src/bittorrent_helper.cc
  4324. * src/bittorrent_helper.h
  4325. * src/download_helper.cc
  4326. * src/main.cc
  4327. * src/option_processing.cc
  4328. * test/BtDependencyTest.cc
  4329. * test/BtPostDownloadHandlerTest.cc
  4330. * test/CookieStorageTest.cc
  4331. * test/DefaultBtMessageDispatcherTest.cc
  4332. * test/DownloadHandlerFactoryTest.cc
  4333. * test/DownloadHelperTest.cc
  4334. * test/FeedbackURISelectorTest.cc
  4335. * test/FileEntryTest.cc
  4336. * test/InOrderURISelectorTest.cc
  4337. * test/Metalink2RequestGroupTest.cc
  4338. * test/MetalinkPostDownloadHandlerTest.cc
  4339. * test/RequestGroupManTest.cc
  4340. * test/RequestGroupTest.cc
  4341. * test/XmlRpcMethodTest.cc
  4342. 2009-06-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4343. Removed MockBtContext.h
  4344. * test/Makefile.am
  4345. 2009-06-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4346. Removed _currentRequest from StreamCheckIntegrityEntry and
  4347. StreamFileAllocationEntry.
  4348. * src/AbstractCommand.cc
  4349. * src/HttpResponseCommand.cc
  4350. * src/RequestGroup.cc
  4351. * src/StreamCheckIntegrityEntry.cc
  4352. * src/StreamCheckIntegrityEntry.h
  4353. * src/StreamFileAllocationEntry.cc
  4354. * src/StreamFileAllocationEntry.h
  4355. 2009-06-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4356. Rewritten DownloadContext and removed SingleFileDownloadContext
  4357. and BtContext and its derived classes. BitTorrent specific
  4358. attributes are now set by DownloadContext::setAttribute() with key
  4359. bittorrent::BITTORRENT.
  4360. * src/AbstractBtMessage.cc
  4361. * src/AbstractBtMessage.h
  4362. * src/AbstractCommand.cc
  4363. * src/AbstractCommand.h
  4364. * src/AbstractProxyRequestCommand.cc
  4365. * src/AbstractProxyResponseCommand.cc
  4366. * src/ActivePeerConnectionCommand.cc
  4367. * src/ActivePeerConnectionCommand.h
  4368. * src/AnnounceList.cc
  4369. * src/BtCheckIntegrityEntry.cc
  4370. * src/BtConstants.h
  4371. * src/BtContext.h: Removed
  4372. * src/BtDependency.cc
  4373. * src/BtExtendedMessage.cc
  4374. * src/BtPieceMessage.cc
  4375. * src/BtPieceMessage.h
  4376. * src/BtPostDownloadHandler.cc
  4377. * src/BtRegistry.cc
  4378. * src/BtRegistry.h
  4379. * src/BtSetup.cc
  4380. * src/CheckIntegrityCommand.cc
  4381. * src/CheckIntegrityEntry.cc
  4382. * src/ChecksumCheckIntegrityEntry.cc
  4383. * src/ConsoleStatCalc.cc
  4384. * src/ContentTypeRequestGroupCriteria.cc
  4385. * src/DHTGetPeersCommand.cc
  4386. * src/DHTGetPeersCommand.h
  4387. * src/DHTPeerLookupTask.cc
  4388. * src/DHTPeerLookupTask.h
  4389. * src/DHTTaskFactory.h
  4390. * src/DHTTaskFactoryImpl.cc
  4391. * src/DHTTaskFactoryImpl.h
  4392. * src/DefaultBtAnnounce.cc
  4393. * src/DefaultBtAnnounce.h
  4394. * src/DefaultBtContext.cc: Removed
  4395. * src/DefaultBtContext.h: Removed
  4396. * src/DefaultBtInteractive.cc
  4397. * src/DefaultBtInteractive.h
  4398. * src/DefaultBtMessageDispatcher.cc
  4399. * src/DefaultBtMessageDispatcher.h
  4400. * src/DefaultBtMessageFactory.cc
  4401. * src/DefaultBtMessageFactory.h
  4402. * src/DefaultBtMessageReceiver.cc
  4403. * src/DefaultBtMessageReceiver.h
  4404. * src/DefaultBtProgressInfoFile.cc
  4405. * src/DefaultBtRequestFactory.cc
  4406. * src/DefaultBtRequestFactory.h
  4407. * src/DefaultExtensionMessageFactory.cc
  4408. * src/DefaultExtensionMessageFactory.h
  4409. * src/DefaultPeerStorage.cc
  4410. * src/DefaultPeerStorage.h
  4411. * src/DefaultPieceStorage.cc
  4412. * src/DefaultSegmentManFactory.cc
  4413. * src/DiskAdaptor.cc
  4414. * src/DiskAdaptor.h
  4415. * src/DownloadContext.cc
  4416. * src/DownloadContext.h
  4417. * src/DownloadEngine.cc
  4418. * src/DownloadEngineFactory.cc
  4419. * src/DownloadHandler.cc
  4420. * src/DownloadResult.h
  4421. * src/FileAllocationCommand.cc
  4422. * src/FileAllocationDispatcherCommand.cc
  4423. * src/FileAllocationEntry.cc
  4424. * src/FileEntry.h
  4425. * src/FillRequestGroupCommand.cc
  4426. * src/FtpDownloadCommand.cc
  4427. * src/FtpFinishDownloadCommand.cc
  4428. * src/FtpInitiateConnectionCommand.cc
  4429. * src/FtpNegotiationCommand.cc
  4430. * src/FtpTunnelRequestCommand.cc
  4431. * src/FtpTunnelResponseCommand.cc
  4432. * src/HandshakeExtensionMessage.cc
  4433. * src/HandshakeExtensionMessage.h
  4434. * src/HaveEraseCommand.cc
  4435. * src/HttpDownloadCommand.cc
  4436. * src/HttpInitiateConnectionCommand.cc
  4437. * src/HttpProxyRequestCommand.cc
  4438. * src/HttpProxyResponseCommand.cc
  4439. * src/HttpRequest.cc
  4440. * src/HttpRequest.h
  4441. * src/HttpRequestCommand.cc
  4442. * src/HttpResponseCommand.cc
  4443. * src/HttpServerBodyCommand.cc
  4444. * src/HttpServerCommand.cc
  4445. * src/HttpSkipResponseCommand.cc
  4446. * src/InitiateConnectionCommandFactory.cc
  4447. * src/InitiatorMSEHandshakeCommand.cc
  4448. * src/InitiatorMSEHandshakeCommand.h
  4449. * src/IteratableChecksumValidator.cc
  4450. * src/IteratableChecksumValidator.h
  4451. * src/IteratableChunkChecksumValidator.cc
  4452. * src/MSEHandshake.cc
  4453. * src/MSEHandshake.h
  4454. * src/Makefile.am
  4455. * src/Makefile.in
  4456. * src/Metalink2RequestGroup.cc
  4457. * src/MetalinkPostDownloadHandler.cc
  4458. * src/MultiDiskAdaptor.cc
  4459. * src/MultiDiskAdaptor.h
  4460. * src/MultiFileAllocationIterator.cc
  4461. * src/MultiUrlRequestInfo.cc
  4462. * src/PeerChokeCommand.cc
  4463. * src/PeerChokeCommand.h
  4464. * src/PeerInitiateConnectionCommand.cc
  4465. * src/PeerInitiateConnectionCommand.h
  4466. * src/PeerInteractionCommand.cc
  4467. * src/PeerInteractionCommand.h
  4468. * src/PeerReceiveHandshakeCommand.cc
  4469. * src/PieceHashCheckIntegrityEntry.cc
  4470. * src/RealtimeCommand.cc
  4471. * src/ReceiverMSEHandshakeCommand.cc
  4472. * src/RequestGroup.cc
  4473. * src/RequestGroup.h
  4474. * src/RequestGroupEntry.cc
  4475. * src/RequestGroupMan.cc
  4476. * src/SeedCheckCommand.cc
  4477. * src/SeedCheckCommand.h
  4478. * src/SegmentMan.cc
  4479. * src/ShareRatioSeedCriteria.h
  4480. * src/SingleFileDownloadContext.cc: Removed
  4481. * src/SingleFileDownloadContext.h: Removed
  4482. * src/SleepCommand.cc
  4483. * src/StreamCheckIntegrityEntry.cc
  4484. * src/TrackerWatcherCommand.cc
  4485. * src/TrackerWatcherCommand.h
  4486. * src/UnknownLengthPieceStorage.cc
  4487. * src/Util.cc
  4488. * src/Util.h
  4489. * src/XmlRpcMethodImpl.cc
  4490. * src/bittorrent_helper.cc
  4491. * src/bittorrent_helper.h
  4492. * src/download_helper.cc
  4493. * src/main.cc
  4494. * src/option_processing.cc
  4495. * test/BitfieldManTest.cc
  4496. * test/BittorrentHelperTest.cc
  4497. * test/BtCancelMessageTest.cc
  4498. * test/BtChokeMessageTest.cc
  4499. * test/BtDependencyTest.cc
  4500. * test/BtPieceMessageTest.cc
  4501. * test/BtPostDownloadHandlerTest.cc
  4502. * test/BtRegistryTest.cc
  4503. * test/BtRejectMessageTest.cc
  4504. * test/BtRequestMessageTest.cc
  4505. * test/DHTPeerAnnounceStorageTest.cc
  4506. * test/DefaultBtAnnounceTest.cc
  4507. * test/DefaultBtContextTest.cc: Removed
  4508. * test/DefaultBtMessageDispatcherTest.cc
  4509. * test/DefaultBtMessageFactoryTest.cc
  4510. * test/DefaultBtProgressInfoFileTest.cc
  4511. * test/DefaultBtRequestFactoryTest.cc
  4512. * test/DefaultExtensionMessageFactoryTest.cc
  4513. * test/DefaultPeerStorageTest.cc
  4514. * test/DefaultPieceStorageTest.cc
  4515. * test/DirectDiskAdaptorTest.cc
  4516. * test/DownloadContextTest.cc
  4517. * test/DownloadHandlerFactoryTest.cc
  4518. * test/DownloadHelperTest.cc
  4519. * test/HandshakeExtensionMessageTest.cc
  4520. * test/HttpRequestTest.cc
  4521. * test/HttpResponseTest.cc
  4522. * test/IteratableChecksumValidatorTest.cc
  4523. * test/IteratableChunkChecksumValidatorTest.cc
  4524. * test/MSEHandshakeTest.cc
  4525. * test/Makefile.am
  4526. * test/Makefile.in
  4527. * test/Metalink2RequestGroupTest.cc
  4528. * test/MetalinkPostDownloadHandlerTest.cc
  4529. * test/MockBtContext.h: Removed
  4530. * test/MockDHTTaskFactory.h
  4531. * test/MockDownloadContext.h: Removed
  4532. * test/MockPieceStorage.h
  4533. * test/MultiDiskAdaptorTest.cc
  4534. * test/MultiFileAllocationIteratorTest.cc
  4535. * test/RequestGroupManTest.cc
  4536. * test/RequestGroupTest.cc
  4537. * test/SegmentManTest.cc
  4538. * test/ShareRatioSeedCriteriaTest.cc
  4539. * test/SingleFileDownloadContextTest.cc: Removed
  4540. * test/UtilTest.cc
  4541. * test/XmlRpcMethodTest.cc
  4542. 2009-06-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4543. Added experimental support of WEB-Seeding for multi-file torrent.
  4544. Due to fundamental changes in file handling in HTTP/FTP code, many
  4545. functions are not working: PeerStat, ServerHost, proxy..etc
  4546. * src/AbstractCommand.cc
  4547. * src/AbstractCommand.h
  4548. * src/BitfieldMan.cc
  4549. * src/BitfieldMan.h
  4550. * src/CreateRequestCommand.cc
  4551. * src/CreateRequestCommand.h
  4552. * src/DefaultPieceStorage.cc
  4553. * src/DefaultPieceStorage.h
  4554. * src/DownloadCommand.cc
  4555. * src/DownloadCommand.h
  4556. * src/DownloadContext.cc
  4557. * src/DownloadContext.h
  4558. * src/FileEntry.cc
  4559. * src/FileEntry.h
  4560. * src/FtpDownloadCommand.cc
  4561. * src/FtpDownloadCommand.h
  4562. * src/FtpFinishDownloadCommand.cc
  4563. * src/FtpFinishDownloadCommand.h
  4564. * src/FtpInitiateConnectionCommand.cc
  4565. * src/FtpInitiateConnectionCommand.h
  4566. * src/FtpNegotiationCommand.cc
  4567. * src/FtpNegotiationCommand.h
  4568. * src/FtpTunnelResponseCommand.cc
  4569. * src/HttpDownloadCommand.cc
  4570. * src/HttpDownloadCommand.h
  4571. * src/HttpInitiateConnectionCommand.cc
  4572. * src/HttpInitiateConnectionCommand.h
  4573. * src/HttpProxyResponseCommand.cc
  4574. * src/HttpRequest.cc
  4575. * src/HttpRequest.h
  4576. * src/HttpRequestCommand.cc
  4577. * src/HttpRequestCommand.h
  4578. * src/HttpResponseCommand.cc
  4579. * src/HttpResponseCommand.h
  4580. * src/HttpSkipResponseCommand.cc
  4581. * src/HttpSkipResponseCommand.h
  4582. * src/InitiateConnectionCommand.cc
  4583. * src/InitiateConnectionCommand.h
  4584. * src/InitiateConnectionCommandFactory.cc
  4585. * src/InitiateConnectionCommandFactory.h
  4586. * src/Makefile.am
  4587. * src/PieceStorage.h
  4588. * src/RequestGroup.cc
  4589. * src/RequestGroup.h
  4590. * src/RequestGroupMan.cc
  4591. * src/SegmentMan.cc
  4592. * src/SegmentMan.h
  4593. * src/SingleFileDownloadContext.h
  4594. * src/StreamFileAllocationEntry.cc
  4595. * src/TrackerWatcherCommand.cc
  4596. * src/UnknownLengthPieceStorage.cc
  4597. * src/UnknownLengthPieceStorage.h
  4598. * src/array_fun.h
  4599. * src/bitfield.h
  4600. * src/download_helper.cc
  4601. * test/DownloadContextTest.cc
  4602. * test/Makefile.am
  4603. * test/MockDownloadContext.h
  4604. 2009-06-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4605. Added tellWaiting XML-RPC method.
  4606. * src/SingleFileDownloadContext.cc
  4607. * src/XmlRpcMethodFactory.cc
  4608. * src/XmlRpcMethodImpl.cc
  4609. * src/XmlRpcMethodImpl.h
  4610. * test/XmlRpcMethodTest.cc
  4611. 2009-06-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4612. Updated CookieStorageTest
  4613. * test/CookieStorageTest.cc
  4614. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4615. In TLSContext::addClientKeyFile() and addTrustedCACertFile(),
  4616. handle excepion inside these functions.
  4617. * src/LibgnutlsTLSContext.cc
  4618. * src/LibgnutlsTLSContext.h
  4619. * src/LibsslTLSContext.cc
  4620. * src/LibsslTLSContext.h
  4621. * src/MultiUrlRequestInfo.cc
  4622. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4623. Added comment
  4624. * src/RequestGroup.cc
  4625. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4626. In CookieStorage::load() and saveNsFormat(), handle exception
  4627. inside the functions. When saving Cookies, first write temporary
  4628. file and after successful writes, then renames it to final
  4629. destination.
  4630. * src/CookieStorage.cc
  4631. * src/CookieStorage.h
  4632. * src/MultiUrlRequestInfo.cc
  4633. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4634. The default value of --dir option is the absolute path to the
  4635. current directory. If getcwd() is failed, then it is ".", which is
  4636. the same value with old implementation. This change is necessary
  4637. because after daemon() call, the current working directory is
  4638. changed to /.
  4639. * src/File.cc
  4640. * src/File.h
  4641. * src/OptionHandlerFactory.cc
  4642. * src/option_processing.cc
  4643. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4644. Call daemon() with arguments(0,0), which means daemon() changes
  4645. current working directory to / and redirects stdin, stdout and
  4646. stderr to /dev/null.
  4647. * src/option_processing.cc
  4648. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4649. Small performance optimizations.
  4650. * src/RequestGroupMan.cc
  4651. 2009-06-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4652. Added _xmlRpc member variable to RequestGroupMan to reduce the
  4653. number of call Option::getAsBool(PREF_ENABLE_XML_RPC)
  4654. * src/RequestGroupMan.cc
  4655. * src/RequestGroupMan.h
  4656. 2009-06-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4657. Call setStatus(STATUS_ONESHOT_REALTIME) from constructor. Call
  4658. setNoWiat(true) if newly created command calls
  4659. setStatus(STATUS_ONESHOT_REALTIME) from its constructor.
  4660. * src/HttpListenCommand.cc
  4661. * src/HttpServerBodyCommand.cc
  4662. * src/HttpServerCommand.cc
  4663. * src/HttpServerResponseCommand.cc
  4664. * src/InitiateConnectionCommand.cc
  4665. * src/RequestGroup.cc
  4666. * src/StreamFileAllocationEntry.cc
  4667. 2009-06-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4668. Removed include vector
  4669. * src/BtRegistry.h
  4670. 2009-06-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4671. Rewritten BtRegistry
  4672. * src/BtRegistry.cc
  4673. * src/BtRegistry.h
  4674. * src/BtSetup.cc
  4675. * src/ConsoleStatCalc.cc
  4676. * src/PeerInteractionCommand.cc
  4677. * src/PeerReceiveHandshakeCommand.cc
  4678. * src/ReceiverMSEHandshakeCommand.cc
  4679. * src/RequestGroup.cc
  4680. * src/XmlRpcMethodImpl.cc
  4681. * test/BtRegistryTest.cc
  4682. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4683. Used array_ptr for savedInfoHash, savedBitfield and pieceBitfield.
  4684. * src/DefaultBtProgressInfoFile.cc
  4685. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4686. Throw an exception if position is less than 0.
  4687. * src/XmlRpcMethodImpl.cc
  4688. * test/XmlRpcMethodTest.cc
  4689. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4690. Use writeFilePath() in ConsoleStatCalc.cc
  4691. * src/ConsoleStatCalc.cc
  4692. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4693. Receive the return value as const reference from
  4694. DownloadContext::getFileEntries().
  4695. * src/DefaultPieceStorage.cc
  4696. * src/RequestGroupMan.cc
  4697. * src/XmlRpcMethodImpl.cc
  4698. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4699. DownloadContext now has _fileEntries so that
  4700. DownloadContext::getFileEntries() can returns its const reference.
  4701. * src/DefaultBtContext.cc
  4702. * src/DefaultBtContext.h
  4703. * src/DownloadContext.cc
  4704. * src/DownloadContext.h
  4705. * src/SingleFileDownloadContext.cc
  4706. * src/SingleFileDownloadContext.h
  4707. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4708. Moved getFirstRequestedFileEntry(), countRequestedFileEntry() and
  4709. writeFilePath() function template from RequestGroupMan.cc to
  4710. FileEntry.h
  4711. * src/FileEntry.h
  4712. * src/RequestGroupMan.cc
  4713. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4714. Documented 'position' parameter is starting from 0 in man page.
  4715. * doc/aria2c.1.txt
  4716. 2009-06-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4717. Updated doc.
  4718. * src/MSEHandshake.cc
  4719. 2009-06-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4720. Removed _acceptFeatures and its accessor functions from
  4721. RequestGroup since they are not used practically.
  4722. * src/HttpRequestCommand.cc
  4723. * src/RequestGroup.cc
  4724. * src/RequestGroup.h
  4725. 2009-06-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4726. Removed member _maxTries from RequestGroup class to avoid
  4727. duplicate option value. Those classes who refer this variable
  4728. should use option value of PREF_MAX_TRIES directly.
  4729. * src/AbstractCommand.cc
  4730. * src/RequestGroup.cc
  4731. * src/RequestGroup.h
  4732. * src/TrackerWatcherCommand.cc
  4733. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4734. * Release 1.4.1
  4735. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4736. Fixed compiler warnings on netbsd
  4737. * src/DHTConnectionImpl.cc
  4738. * src/PeerListenCommand.cc
  4739. * src/PeerSessionResource.cc
  4740. * src/SegmentMan.cc
  4741. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4742. Updated Ukrainian translation. Thanks to all translators.
  4743. * po/uk.po
  4744. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4745. Bump up version number to 1.4.1.
  4746. * configure.ac
  4747. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4748. Added unit tests for strjoin, strconcat and strappend.
  4749. * test/a2functionalTest.cc
  4750. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4751. Rewritten strconcat and strappend using operator+ instead of
  4752. append().
  4753. * src/a2functional.h
  4754. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4755. Compile bencode.cc and BencodeTest.cc only if BitTorrent support
  4756. is enabled.
  4757. * src/Makefile.am
  4758. * test/Makefile.am
  4759. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4760. Added countSeeder() function which counts seeder in the given
  4761. iterator range. Use it in ConsoleStatCalc and XmlRpcMethodImpl.
  4762. * src/ConsoleStatCalc.cc
  4763. * src/Peer.h
  4764. * src/XmlRpcMethodImpl.cc
  4765. * test/PeerTest.cc
  4766. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4767. Documented missing seeder in getPeers xml-rpc method.
  4768. Documented uploadLength and numSeeders.
  4769. * doc/aria2c.1.txt
  4770. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4771. Added uploadLength and numSeeders to the response of tellStatus
  4772. xml-rpc method. Assert that PeerStorage instance is not null
  4773. instead of checking if statement. It should be non-null in this
  4774. context.
  4775. * src/XmlRpcMethodImpl.cc
  4776. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4777. Use htmlEscape instead of xmlEscape. Removed static function xmlEscape.
  4778. * src/XmlRpcResponse.cc
  4779. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4780. Avoid intermediate object during string concatenation.
  4781. * src/HttpRequest.cc
  4782. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4783. Added strjoin function template. Use it in pathJoin()
  4784. * src/Util.h
  4785. * src/a2functional.h
  4786. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4787. Avoid intermediate object during string concatenation. Replaced
  4788. post-increment unary operator with pre-increment one in for loop.
  4789. * src/AdaptiveURISelector.cc
  4790. * src/AnnounceList.cc
  4791. * src/AuthConfig.h
  4792. * src/BtBitfieldMessage.cc
  4793. * src/BtExtendedMessage.cc
  4794. * src/BtHandshakeMessage.cc
  4795. * src/BtPieceMessage.cc
  4796. * src/BtPortMessage.cc
  4797. * src/Cookie.cc
  4798. * src/DHTAnnouncePeerMessage.cc
  4799. * src/DHTAutoSaveCommand.cc
  4800. * src/DHTGetPeersReplyMessage.cc
  4801. * src/DHTNode.cc
  4802. * src/DHTQueryMessage.cc
  4803. * src/DHTResponseMessage.cc
  4804. * src/DHTUnknownMessage.cc
  4805. * src/DefaultBtAnnounce.cc
  4806. * src/DefaultBtContext.cc
  4807. * src/DefaultBtInteractive.cc
  4808. * src/DefaultBtProgressInfoFile.cc
  4809. * src/DefaultPeerStorage.cc
  4810. * src/DownloadEngine.cc
  4811. * src/FeatureConfig.cc
  4812. * src/File.cc
  4813. * src/FtpConnection.cc
  4814. * src/FtpNegotiationCommand.cc
  4815. * src/HandshakeExtensionMessage.cc
  4816. * src/HttpConnection.cc
  4817. * src/HttpRequest.cc
  4818. * src/HttpResponseCommand.cc
  4819. * src/HttpServer.cc
  4820. * src/IndexBtMessage.cc
  4821. * src/Metalink2RequestGroup.cc
  4822. * src/OptionHandlerImpl.h
  4823. * src/PStringBuildVisitor.cc
  4824. * src/Peer.cc
  4825. * src/PeerListenCommand.cc
  4826. * src/Piece.cc
  4827. * src/RangeBtMessage.cc
  4828. * src/Request.cc
  4829. * src/Request.h
  4830. * src/RequestGroup.cc
  4831. * src/RequestGroupMan.cc
  4832. * src/ServerStat.cc
  4833. * src/ServerStatMan.cc
  4834. * src/UTPexExtensionMessage.cc
  4835. * src/Util.cc
  4836. * src/a2functional.h
  4837. * src/download_helper.cc
  4838. * src/messageDigest.cc
  4839. 2009-06-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4840. Unchoke a peer randomly at first and second choke round in seed
  4841. state.
  4842. * src/BtSeederStateChoke.cc
  4843. 2009-06-02 Ross Smith II <aria2spam at smithii dot com>
  4844. Added (sock_t) to quiet compiler warnings in MinGW
  4845. * src/SocketCore.cc
  4846. * src/SocketCore.h
  4847. 2009-06-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4848. Added missing #ifdef ENABLE_ASYNC_DNS guard.
  4849. * src/EpollEventPoll.h
  4850. 2009-06-01 Ross Smith II <aria2spam at smithii dot com>
  4851. Added fork() emulation using CreateProcess() in MinGW
  4852. * src/RequestGroupMan.cc
  4853. 2009-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4854. * Release 1.4.0
  4855. 2009-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4856. Added utf8.torrent to EXTRA_DIST
  4857. * test/Makefile.am
  4858. 2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4859. Fixed docs of aria2.addMetalink xml-rpc method.
  4860. * doc/aria2c.1.txt
  4861. 2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4862. Added Slovak translation. Updated Ukrainian and Brazilian
  4863. Portuguese translation. Thanks to all translators.
  4864. * po/sk.po
  4865. * po/uk.po
  4866. * po/pt_BR.po
  4867. * po/LINGUAS
  4868. 2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4869. Added test case for XmlRpcProcessor to fail to parse malformed
  4870. document.
  4871. * test/XmlRpcRequestProcessorTest.cc
  4872. 2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4873. Removed *.gmo files in po because they are generated on 'make
  4874. dist'
  4875. * po/*.gmo
  4876. 2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4877. Documented max-concurrent-downloads of changeGlobalOption method
  4878. in man page.
  4879. * doc/aria2c.1.txt
  4880. 2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4881. Added max-concurrent-downloads option to changeGlobalOption
  4882. xml-rpc method. Rewritten loop conditional in
  4883. RequestGroupMan::fillRequestGroupFromReserver().
  4884. * src/RequestGroupMan.cc
  4885. * src/RequestGroupMan.h
  4886. * src/XmlRpcMethod.cc
  4887. * src/XmlRpcMethodImpl.cc
  4888. 2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4889. Documented position parameter in man page.
  4890. * doc/aria2c.1.txt
  4891. 2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4892. Added 'position' parameter to addUri, addTorrent and addMetalink
  4893. xml-rpc method.
  4894. * src/RequestGroupMan.cc
  4895. * src/RequestGroupMan.h
  4896. * src/XmlRpcMethodImpl.cc
  4897. * test/XmlRpcMethodTest.cc
  4898. 2009-05-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4899. Removed Peer.cc from compile source list when --disable-bittorrent
  4900. is specified. Added #ifdef ENABLE_BITTORRENT guard to methods that
  4901. takes Peer.
  4902. * src/DefaultPieceStorage.cc
  4903. * src/DefaultPieceStorage.h
  4904. * src/Makefile.am
  4905. * src/PieceStorage.h
  4906. * src/UnknownLengthPieceStorage.cc
  4907. * src/UnknownLengthPieceStorage.h
  4908. * test/MockPieceStorage.h
  4909. 2009-05-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4910. Implemented getter methods in header files to give them more
  4911. chance of optimization.
  4912. Return const reference for SharadHandle if possible.
  4913. * src/AbstractAuthResolver.cc
  4914. * src/AbstractAuthResolver.h
  4915. * src/AbstractBtMessage.cc
  4916. * src/AbstractBtMessage.h
  4917. * src/AbstractSingleDiskAdaptor.cc
  4918. * src/AbstractSingleDiskAdaptor.h
  4919. * src/AsyncNameResolver.cc
  4920. * src/AsyncNameResolver.h
  4921. * src/BNode.cc
  4922. * src/BNode.h
  4923. * src/BitfieldMan.cc
  4924. * src/BitfieldMan.h
  4925. * src/BtAbortOutstandingRequestEvent.h
  4926. * src/BtExtendedMessage.cc
  4927. * src/BtExtendedMessage.h
  4928. * src/BtSeederStateChoke.cc
  4929. * src/BtSeederStateChoke.h
  4930. * src/Cookie.cc
  4931. * src/Cookie.h
  4932. * src/DHTBucket.cc
  4933. * src/DHTBucket.h
  4934. * src/DHTConnectionImpl.cc
  4935. * src/DHTConnectionImpl.h
  4936. * src/DHTFindNodeReplyMessage.cc
  4937. * src/DHTFindNodeReplyMessage.h
  4938. * src/DHTGetPeersReplyMessage.cc
  4939. * src/DHTGetPeersReplyMessage.h
  4940. * src/DHTInteractionCommand.cc
  4941. * src/DHTMessage.cc
  4942. * src/DHTMessage.h
  4943. * src/DHTMessageDispatcherImpl.cc
  4944. * src/DHTMessageEntry.cc
  4945. * src/DHTMessageReceiver.cc
  4946. * src/DHTMessageReceiver.h
  4947. * src/DHTMessageTrackerEntry.cc
  4948. * src/DHTMessageTrackerEntry.h
  4949. * src/DHTPeerAnnounceEntry.cc
  4950. * src/DHTPeerAnnounceEntry.h
  4951. * src/DHTPeerLookupTask.cc
  4952. * src/DHTPeerLookupTask.h
  4953. * src/DHTRoutingTableDeserializer.cc
  4954. * src/DHTRoutingTableDeserializer.h
  4955. * src/DefaultBtAnnounce.cc
  4956. * src/DefaultBtAnnounce.h
  4957. * src/DefaultBtMessageDispatcher.cc
  4958. * src/DefaultBtMessageDispatcher.h
  4959. * src/DefaultBtRequestFactory.cc
  4960. * src/DefaultBtRequestFactory.h
  4961. * src/DiskAdaptor.cc
  4962. * src/DiskAdaptor.h
  4963. * src/DownloadContext.cc
  4964. * src/DownloadContext.h
  4965. * src/DownloadEngine.cc
  4966. * src/DownloadEngine.h
  4967. * src/EpollEventPoll.cc
  4968. * src/EpollEventPoll.h
  4969. * src/FtpConnection.cc
  4970. * src/FtpConnection.h
  4971. * src/HttpConnection.cc
  4972. * src/HttpConnection.h
  4973. * src/HttpHeader.cc
  4974. * src/HttpHeader.h
  4975. * src/HttpRequest.cc
  4976. * src/HttpRequest.h
  4977. * src/HttpResponse.cc
  4978. * src/HttpResponse.h
  4979. * src/LibsslTLSContext.cc
  4980. * src/LibsslTLSContext.h
  4981. * src/MSEHandshake.cc
  4982. * src/MSEHandshake.h
  4983. * src/MetalinkEntry.cc
  4984. * src/MetalinkEntry.h
  4985. * src/MetalinkParserController.cc
  4986. * src/MetalinkParserController.h
  4987. * src/MetalinkParserStateMachine.cc
  4988. * src/MetalinkParserStateMachine.h
  4989. * src/MultiDiskAdaptor.cc
  4990. * src/MultiDiskAdaptor.h
  4991. * src/NetrcAuthResolver.cc
  4992. * src/NetrcAuthResolver.h
  4993. * src/Peer.cc
  4994. * src/Peer.h
  4995. * src/PeerSessionResource.cc
  4996. * src/PeerSessionResource.h
  4997. * src/Piece.cc
  4998. * src/Piece.h
  4999. * src/PieceStatMan.cc
  5000. * src/PieceStatMan.h
  5001. * src/Request.cc
  5002. * src/Request.h
  5003. * src/RequestGroup.cc
  5004. * src/RequestGroup.h
  5005. * src/RequestGroupMan.cc
  5006. * src/RequestGroupMan.h
  5007. * src/RequestSlot.cc
  5008. * src/RequestSlot.h
  5009. * src/SegmentMan.cc
  5010. * src/SegmentMan.h
  5011. * src/SelectEventPoll.cc
  5012. * src/SelectEventPoll.h
  5013. * src/ServerStat.cc
  5014. * src/ServerStat.h
  5015. * src/Signature.cc
  5016. * src/Signature.h
  5017. * src/URIResult.cc
  5018. * src/URIResult.h
  5019. * src/UTPexExtensionMessage.cc
  5020. * src/UTPexExtensionMessage.h
  5021. 2009-05-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5022. Fixed compile error without BitTorrent and Metalink support.
  5023. * src/XmlRpcMethod.cc
  5024. * src/XmlRpcMethodFactory.cc
  5025. * src/XmlRpcMethodImpl.cc
  5026. * src/XmlRpcMethodImpl.h
  5027. * test/XmlRpcMethodTest.cc
  5028. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5029. Rewritten the help message for --allow-overwrite option.
  5030. * doc/aria2c.1.txt
  5031. * src/usage_text.h
  5032. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5033. Fixed typo
  5034. * doc/aria2c.1.txt
  5035. * src/usage_text.h
  5036. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5037. Updated README for 1.4.0 release. Use new table syntax of
  5038. asciidoc.
  5039. * README
  5040. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5041. Documented --xml-rpc-max-request-size option in man page.
  5042. * doc/aria2c.1.txt
  5043. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5044. Moved C_* constants from BtContext to DefaultBtContext.
  5045. * src/BtContext.cc: Removed.
  5046. * src/BtContext.h
  5047. * src/DefaultBtContext.cc
  5048. * src/DefaultBtContext.h
  5049. * src/Makefile.am
  5050. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5051. Use name.utf-8 and path.utf-8 key in higher priority than name and
  5052. path key respectively when persing .torrent file.
  5053. * src/BtContext.cc
  5054. * src/BtContext.h
  5055. * src/DefaultBtContext.cc
  5056. * test/DefaultBtContextTest.cc
  5057. * test/utf8.torrent
  5058. 2009-05-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5059. Added --xml-rpc-max-request-size option to limit the size of
  5060. XML-RPC request.
  5061. 2009-05-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5062. Documented XML-RPC API in man page.
  5063. * doc/aria2c.1.txt
  5064. 2009-05-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5065. Fixed g++-4.4 compiler warning: dereferencing type-punned pointer
  5066. will break strict-aliasing rules
  5067. * src/PeerConnection.cc
  5068. * test/DHTRoutingTableSerializerTest.cc
  5069. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5070. Removed PKG_CONFIG variable in sqlite3.m4, which conflicts the
  5071. variable in pkg.m4. Use PKG_CHECK_MODULES instead of hand-crafted
  5072. scripts. Renamed SQLITE3_CPPFLAGS as SQLITE3_CFLAGS since
  5073. PKG_CHECK_MODULES macro uses latter name.
  5074. * m4/sqlite3.m4
  5075. * src/Makefile.am
  5076. * test/Makefile.am
  5077. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5078. Fixed typo
  5079. * configure.ac
  5080. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5081. Since upcoming libgnutls 2.8 doesn't have libgnutls-config, Check
  5082. presence of libgnutls using pkg-config first. If it fails, fall
  5083. back to old macro libgnutls.m4.
  5084. * configure.ac
  5085. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5086. Use s itself instead of !s.bad()
  5087. * src/CookieStorage.cc
  5088. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5089. Documented --on-download-* option and --save-cookies option in man
  5090. page.
  5091. * doc/aria2c.1.txt
  5092. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5093. Set possible values for --load-cookie option to "/path/to/file".
  5094. * src/OptionHandlerFactory.cc
  5095. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5096. Added --save-cookies option.
  5097. * src/Cookie.cc
  5098. * src/Cookie.h
  5099. * src/CookieStorage.cc
  5100. * src/CookieStorage.h
  5101. * src/MultiUrlRequestInfo.cc
  5102. * src/OptionHandlerFactory.cc
  5103. * src/prefs.cc
  5104. * src/prefs.h
  5105. * src/usage_text.h
  5106. * test/CookieStorageTest.cc
  5107. * test/CookieTest.cc
  5108. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5109. Removed tellAll XML-RPC command because its reponse tends to be
  5110. big if stopped/waiting downloads pile up.
  5111. * src/XmlRpcMethodFactory.cc
  5112. * src/XmlRpcMethodImpl.cc
  5113. * src/XmlRpcMethodImpl.h
  5114. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5115. Added the ability to execute command when download starts and
  5116. stops. You can also specify command for particular cases such as
  5117. complete/error download. Added --on-download-start,
  5118. --on-download-stop, --on-download-complete and --on-download-error
  5119. option.
  5120. * src/OptionHandlerFactory.cc
  5121. * src/RequestGroupMan.cc
  5122. * src/prefs.cc
  5123. * src/prefs.h
  5124. * src/usage_text.h
  5125. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5126. Fixed test error
  5127. * test/BencodeTest.cc
  5128. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5129. Added unit tests.
  5130. * test/XmlRpcMethodTest.cc
  5131. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5132. Made exception message more verbose.
  5133. * src/bencode.cc
  5134. 2009-05-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5135. Abbreviated KiB/s to KiBs and its precision decreased to 1 to save
  5136. space in console readout. Also they are now shown in MiB/s if
  5137. speed > 1024KiB/s.
  5138. * src/ConsoleStatCalc.cc
  5139. 2009-05-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5140. Added SEED to console output, which represents the number of
  5141. seeders currently the client is connecting to.
  5142. * src/ConsoleStatCalc.cc
  5143. * src/ConsoleStatCalc.h
  5144. * src/DownloadEngine.cc
  5145. * src/NullStatCalc.h
  5146. * src/StatCalc.h
  5147. 2009-05-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5148. Added source filename(__FILE__) and line number(__LINE__) to
  5149. exception message.
  5150. * src/AbstractCommand.cc
  5151. * src/AbstractDiskWriter.cc
  5152. * src/AbstractProxyResponseCommand.cc
  5153. * src/BDE.h
  5154. * src/BtAllowedFastMessage.cc
  5155. * src/BtHandshakeMessageValidator.h
  5156. * src/BtHaveAllMessage.cc
  5157. * src/BtHaveNoneMessage.cc
  5158. * src/BtPieceMessage.cc
  5159. * src/BtRejectMessage.cc
  5160. * src/ChunkedDecoder.cc
  5161. * src/CookieStorage.cc
  5162. * src/DHTAnnouncePeerMessage.cc
  5163. * src/DHTEntryPointNameResolveCommand.cc
  5164. * src/DHTMessageFactoryImpl.cc
  5165. * src/DHTMessageTracker.cc
  5166. * src/DHTRoutingTableDeserializer.cc
  5167. * src/DHTRoutingTableSerializer.cc
  5168. * src/DHTSetup.cc
  5169. * src/DHTTokenTracker.cc
  5170. * src/DefaultBtAnnounce.cc
  5171. * src/DefaultBtContext.cc
  5172. * src/DefaultBtInteractive.cc
  5173. * src/DefaultBtMessageFactory.cc
  5174. * src/DefaultBtProgressInfoFile.cc
  5175. * src/DefaultExtensionMessageFactory.cc
  5176. * src/DlAbortEx.h
  5177. * src/DlRetryEx.h
  5178. * src/DownloadCommand.cc
  5179. * src/DownloadEngineFactory.cc
  5180. * src/DownloadFailureException.h
  5181. * src/Exception.cc
  5182. * src/Exception.h
  5183. * src/ExpatMetalinkProcessor.cc
  5184. * src/ExpatXmlRpcRequestProcessor.cc
  5185. * src/FallocFileAllocationIterator.cc
  5186. * src/FatalException.h
  5187. * src/FtpConnection.cc
  5188. * src/FtpFinishDownloadCommand.cc
  5189. * src/FtpInitiateConnectionCommand.cc
  5190. * src/FtpNegotiationCommand.cc
  5191. * src/GZipDecoder.cc
  5192. * src/HandshakeExtensionMessage.cc
  5193. * src/HttpConnection.cc
  5194. * src/HttpHeaderProcessor.cc
  5195. * src/HttpInitiateConnectionCommand.cc
  5196. * src/HttpResponse.cc
  5197. * src/HttpResponseCommand.cc
  5198. * src/HttpServer.cc
  5199. * src/HttpSkipResponseCommand.cc
  5200. * src/InitiateConnectionCommandFactory.cc
  5201. * src/IteratableChunkChecksumValidator.cc
  5202. * src/LibgcryptARC4Context.h
  5203. * src/LibgcryptARC4Decryptor.h
  5204. * src/LibgcryptARC4Encryptor.h
  5205. * src/LibgcryptDHKeyExchange.h
  5206. * src/LibgnutlsTLSContext.cc
  5207. * src/LibsslARC4Context.h
  5208. * src/LibsslARC4Decryptor.h
  5209. * src/LibsslARC4Encryptor.h
  5210. * src/LibsslDHKeyExchange.h
  5211. * src/LibsslTLSContext.cc
  5212. * src/MSEHandshake.cc
  5213. * src/MessageDigestHelper.cc
  5214. * src/MetalinkHelper.cc
  5215. * src/MultiDiskAdaptor.cc
  5216. * src/NameMatchOptionHandler.h
  5217. * src/NameResolver.cc
  5218. * src/Netrc.cc
  5219. * src/NsCookieParser.cc
  5220. * src/OptionHandlerException.cc
  5221. * src/OptionHandlerException.h
  5222. * src/OptionHandlerImpl.h
  5223. * src/OptionParser.cc
  5224. * src/ParameterizedStringParser.cc
  5225. * src/PeerAbstractCommand.cc
  5226. * src/PeerConnection.cc
  5227. * src/PeerMessageUtil.cc
  5228. * src/PeerReceiveHandshakeCommand.cc
  5229. * src/Platform.cc
  5230. * src/ReceiverMSEHandshakeCommand.cc
  5231. * src/RecoverableException.h
  5232. * src/RequestGroup.cc
  5233. * src/SimpleLogger.cc
  5234. * src/SocketCore.cc
  5235. * src/Sqlite3MozCookieParser.cc
  5236. * src/UTPexExtensionMessage.cc
  5237. * src/Util.cc
  5238. * src/XML2SAXMetalinkProcessor.cc
  5239. * src/Xml2XmlRpcRequestProcessor.cc
  5240. * src/XmlRpcMethodImpl.cc
  5241. * src/bencode.cc
  5242. * src/download_helper.cc
  5243. * src/messageDigest.h
  5244. * test/ExceptionTest.cc
  5245. * test/TestUtil.cc
  5246. 2009-05-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5247. Bump up version number to 1.4.0
  5248. * configure.ac
  5249. 2009-05-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5250. Added 2files.metalink to EXTRA_DIST
  5251. * test/Makefile.am
  5252. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5253. Added missing 2files.metalink
  5254. * test/2files.metalink
  5255. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5256. Show "[MEMORY]" prefix before filename in download summary if it
  5257. is downloaded into memory.
  5258. * src/DownloadResult.h
  5259. * src/RequestGroup.cc
  5260. * src/RequestGroupMan.cc
  5261. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5262. Defined MSG_CANNOT_PARSE_XML_RPC_REQUEST
  5263. * src/ExpatXmlRpcRequestProcessor.cc
  5264. * src/Xml2XmlRpcRequestProcessor.cc
  5265. * src/message.h
  5266. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5267. Defined const BDEs to avoid duplicate instantiation.
  5268. Defined MSG_GID_NOT_PROVIDED.
  5269. * src/XmlRpcMethodImpl.cc
  5270. * src/message.h
  5271. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5272. Code cleanup
  5273. * src/Xml2XmlRpcRequestProcessor.cc
  5274. * src/Xml2XmlRpcRequestProcessor.h
  5275. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5276. Defined ENABLE_XML_RPC
  5277. * configure.ac
  5278. * configure
  5279. * config.h.in
  5280. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5281. Added ExpatXmlRpcRequestProcessor
  5282. * src/ExpatXmlRpcRequestProcessor.cc
  5283. * src/ExpatXmlRpcRequestProcessor.h
  5284. * src/Makefile.am
  5285. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5286. Added tests for addTorrent and addMetalink command.
  5287. * test/TestUtil.cc
  5288. * test/TestUtil.h
  5289. * test/XmlRpcMethodTest.cc
  5290. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5291. Corrected the description of --file-allocation option.
  5292. * doc/aria2c.1.txt
  5293. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5294. Added tellAll command.
  5295. * src/XmlRpcMethodFactory.cc
  5296. * src/XmlRpcMethodImpl.cc
  5297. * src/XmlRpcMethodImpl.h
  5298. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5299. Use gatherProgress() in TellActiveXmlRpcMethod::process().
  5300. * src/XmlRpcMethodImpl.cc
  5301. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5302. Added changeGlobalOption command. Currently,
  5303. max-overall-download-limit and max-overall-upload-limit option are
  5304. available.
  5305. * src/RequestGroupMan.h
  5306. * src/XmlRpcMethod.cc
  5307. * src/XmlRpcMethod.h
  5308. * src/XmlRpcMethodFactory.cc
  5309. * src/XmlRpcMethodImpl.cc
  5310. * src/XmlRpcMethodImpl.h
  5311. * test/XmlRpcMethodTest.cc
  5312. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5313. Added changeOption command. Currently, max-download-limit,
  5314. max-upload-limit option are available in this command.
  5315. * src/RequestGroup.h
  5316. * src/XmlRpcMethod.cc
  5317. * src/XmlRpcMethod.h
  5318. * src/XmlRpcMethodFactory.cc
  5319. * src/XmlRpcMethodImpl.cc
  5320. * src/XmlRpcMethodImpl.h
  5321. * test/XmlRpcMethodTest.cc
  5322. 2009-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5323. Added purgeDownloadResult command.
  5324. * src/RequestGroupMan.cc
  5325. * src/RequestGroupMan.h
  5326. * src/XmlRpcMethodFactory.cc
  5327. * src/XmlRpcMethodImpl.cc
  5328. * src/XmlRpcMethodImpl.h
  5329. 2009-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5330. Refactored.
  5331. * src/XmlRpcMethod.cc
  5332. 2009-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5333. Added XmlRpcResponse class. XmlRpcMethod::execute() now returns
  5334. XmlRpcResponse.
  5335. * src/HttpServerBodyCommand.cc
  5336. * src/Makefile.am
  5337. * src/XmlRpcMethod.cc
  5338. * src/XmlRpcMethod.h
  5339. * src/XmlRpcMethodImpl.cc
  5340. * src/XmlRpcResponse.cc
  5341. * src/XmlRpcResponse.h
  5342. * test/XmlRpcMethodTest.cc
  5343. 2009-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5344. In XML-RPC option struct, header and index-out option can take
  5345. array as value.
  5346. * src/XmlRpcMethod.cc
  5347. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5348. Removed unused option member from PeerConnection.
  5349. * src/InitiatorMSEHandshakeCommand.cc
  5350. * src/PeerConnection.cc
  5351. * src/PeerConnection.h
  5352. * src/PeerInteractionCommand.cc
  5353. * src/PeerReceiveHandshakeCommand.cc
  5354. * src/ReceiverMSEHandshakeCommand.cc
  5355. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5356. Added "seeder" key to getPeers response.
  5357. * src/XmlRpcMethodImpl.cc
  5358. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5359. Added addMetalink XML-RPC command.
  5360. * src/XmlRpcMethodFactory.cc
  5361. * src/XmlRpcMethodImpl.cc
  5362. * src/XmlRpcMethodImpl.h
  5363. * src/download_helper.cc
  5364. * src/download_helper.h
  5365. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5366. Fixed the bug that POU peers are never choked in seeding.
  5367. * src/BtSeederStateChoke.cc
  5368. * src/BtSeederStateChoke.h
  5369. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5370. Added web-seeding URI handling in addTorrent command.
  5371. * src/XmlRpcMethodImpl.cc
  5372. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5373. Added "length" key to getFiles response.
  5374. * src/XmlRpcMethodImpl.cc
  5375. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5376. Moved --no-netrc option from ftp option section to http/ftp option
  5377. section.
  5378. * doc/aria2c.1.txt
  5379. * src/OptionHandlerFactory.cc
  5380. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5381. Removed garbage "\" character before '
  5382. * doc/aria2c.1.txt
  5383. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5384. Removed garbage "\" character before http.
  5385. * doc/aria2c.1.txt
  5386. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5387. Documented additional options that can be specified in -i list.
  5388. Documented --enable-xml-rpc, --xml-rpc-listen-port, --xml-rpc-user
  5389. and --xml-rpc-passwd. Removed --enable-http-server and
  5390. --http-server-listen-port.
  5391. * doc/aria2c.1.txt
  5392. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5393. Added "downloadSpeed" and uploadSpeed" key in getPeers response.
  5394. * src/DefaultPeerStorage.cc
  5395. * src/DefaultPeerStorage.h
  5396. * src/PeerStorage.h
  5397. * src/XmlRpcMethodImpl.cc
  5398. * test/MockPeerStorage.h
  5399. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5400. Put a call to Socket::isReadable() in try block.
  5401. * src/HttpServerBodyCommand.cc
  5402. * src/HttpServerCommand.cc
  5403. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5404. Fixed segmentation fault error. SocketBuffer::sendResponse() may throw
  5405. exception , so it is now in try block.
  5406. * src/HttpServerResponseCommand.cc
  5407. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5408. Added "amChoking" and "peerChoking" key in getPeers response.
  5409. * src/XmlRpcMethodImpl.cc
  5410. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5411. Added test case for zero-length filter.
  5412. * test/BitfieldManTest.cc
  5413. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5414. getFiles command now returns file data for finished/stopped
  5415. downloads.
  5416. * src/XmlRpcMethodImpl.cc
  5417. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5418. DownloadResult now has the list of FileEntry. The download
  5419. summary displays the path of first selected file and the number of
  5420. remaining files for multi-file torrent.
  5421. * src/DownloadResult.h
  5422. * src/RequestGroup.cc
  5423. * src/RequestGroupMan.cc
  5424. * test/RequestGroupTest.cc
  5425. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5426. Fixed segmentation fault error when no file is selected in
  5427. multi-file torrent.
  5428. * src/BitfieldMan.cc
  5429. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5430. Escaped <,>,& character in XML-RPC response.
  5431. * src/XmlRpcMethod.cc
  5432. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5433. Throw DlAbortEx instead of FatalException during parsing options
  5434. because we don't want for aria2 to quit when bad option is passed
  5435. via XML-RPC.
  5436. * src/OptionHandlerException.cc
  5437. * src/OptionHandlerException.h
  5438. * src/OptionHandlerImpl.h
  5439. * src/OptionParser.cc
  5440. * src/OptionParser.h
  5441. * src/PStringSegment.cc
  5442. * src/ParameterizedStringParser.cc
  5443. * src/download_helper.cc
  5444. * test/ParameterizedStringParserTest.cc
  5445. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5446. Selecting files are now done in
  5447. DefaultBtContext::setFileFileter().
  5448. PieceStorage::setFileFilter(), DiskAdaptor::addDownloadEntry()
  5449. functions are removed because they are no longer used. Creating
  5450. filter in BitfieldMan is done in new funtion
  5451. PieceStorage::setupFileFilter()
  5452. * src/BtContext.cc
  5453. * src/BtContext.h
  5454. * src/DefaultBtContext.cc
  5455. * src/DefaultBtContext.h
  5456. * src/DefaultPieceStorage.cc
  5457. * src/DefaultPieceStorage.h
  5458. * src/DiskAdaptor.cc
  5459. * src/DiskAdaptor.h
  5460. * src/PieceStorage.h
  5461. * src/RequestGroup.cc
  5462. * src/UnknownLengthPieceStorage.h
  5463. * src/XmlRpcMethodImpl.cc
  5464. * test/DefaultBtContextTest.cc
  5465. * test/MockBtContext.h
  5466. * test/MockPieceStorage.h
  5467. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5468. Fixed compile error on Mac OS X
  5469. * src/HttpServer.cc
  5470. * src/XmlRpcMethod.h
  5471. * src/XmlRpcMethodImpl.cc
  5472. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5473. Use std::binary_search instead of std::find
  5474. * src/DefaultPieceStorage.cc
  5475. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5476. Removed unnecessary BDE() call; leave them to implicit conversion.
  5477. * src/XmlRpcMethodImpl.cc
  5478. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5479. Return connections and gid in string
  5480. * src/XmlRpcMethodImpl.cc
  5481. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5482. Renamed addURI as addUri
  5483. * src/XmlRpcMethodFactory.cc
  5484. * src/XmlRpcMethodImpl.cc
  5485. * src/XmlRpcMethodImpl.h
  5486. * test/XmlRpcMethodTest.cc
  5487. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5488. Renamed addTorrentFile as addTorrent
  5489. * src/XmlRpcMethodFactory.cc
  5490. * src/XmlRpcMethodImpl.cc
  5491. * src/XmlRpcMethodImpl.h
  5492. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5493. The information for files, URIs, peers are removed from the
  5494. reponse of TellaActive, TellStatus command because they tend to be
  5495. large. Instead they can be retrieved by the dedicated commands:
  5496. getFiles, getUris and getPeers respectively.
  5497. * src/XmlRpcMethodFactory.cc
  5498. * src/XmlRpcMethodImpl.cc
  5499. * src/XmlRpcMethodImpl.h
  5500. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5501. Removed --max-overall-upload-limit and
  5502. --max-overall-download-limit option from listRequestOptions.
  5503. * src/download_helper.cc
  5504. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5505. Log incoming host in HttpListenCommand.
  5506. * src/HttpListenCommand.cc
  5507. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5508. Added BASIC authentication for XML-RPC. Added --xml-rpc-user and
  5509. --xml-rpc-passwd option.
  5510. * src/HttpServer.cc
  5511. * src/HttpServer.h
  5512. * src/HttpServerCommand.cc
  5513. * src/OptionHandlerFactory.cc
  5514. * src/prefs.cc
  5515. * src/prefs.h
  5516. * src/usage_text.h
  5517. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5518. Fixed the bug that SocketCore::isReadable() prevents aria2 from
  5519. processing 0 length request.
  5520. * src/HttpServerBodyCommand.cc
  5521. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5522. Removed --enable-http-server and --http-server-listen-port
  5523. options. Added --enable-xml-rpc and --xml-rpc-listen-port
  5524. instead. The original feature for --enable-http-server that
  5525. reports download progress in HTML was officially removed. Persist
  5526. XML-RPC connection if client supports keep-alive.
  5527. * src/DownloadEngineFactory.cc
  5528. * src/HttpServerCommand.cc
  5529. * src/HttpServerResponseCommand.cc
  5530. * src/Makefile.am
  5531. * src/Makefile.in
  5532. * src/OptionHandlerFactory.cc
  5533. * src/RequestGroupMan.cc
  5534. * src/main.cc
  5535. * src/option_processing.cc
  5536. * src/prefs.cc
  5537. * src/prefs.h
  5538. * src/usage_text.h
  5539. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5540. Added "uris" key to the response of tellStatus command. Added
  5541. "connections" key to the response of tellStatus and tellActive
  5542. command.
  5543. * src/XmlRpcMethodImpl.cc
  5544. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5545. Renamed TellActiveStatusXmlRpcMethod as TellActiveXmlRpcMethod.
  5546. Added TellStatusXmlRpcMethod. Remove command can now remove
  5547. waiting RequestGroup.
  5548. * src/RequestGroupMan.cc
  5549. * src/RequestGroupMan.h
  5550. * src/XmlRpcMethodFactory.cc
  5551. * src/XmlRpcMethodImpl.cc
  5552. * src/XmlRpcMethodImpl.h
  5553. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5554. Initialized _peerId
  5555. * src/Peer.cc
  5556. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5557. Return fault structure for error. FailXmlRpcMethod is renamed as
  5558. NoSuchMethodXmlRpcMethod. pieceLength and numPieces are returned
  5559. in non-torrent download. Return single param value.
  5560. * src/XmlRpcMethod.cc
  5561. * src/XmlRpcMethodFactory.cc
  5562. * src/XmlRpcMethodImpl.cc
  5563. * src/XmlRpcMethodImpl.h
  5564. * test/XmlRpcMethodTest.cc
  5565. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5566. Set DownloadResult::IN_PROGRESS for downloads removed by xml-rpc
  5567. command.
  5568. * src/RequestGroup.cc
  5569. * src/RequestGroup.h
  5570. * src/RequestGroupMan.cc
  5571. * src/XmlRpcMethodImpl.cc
  5572. * test/RequestGroupTest.cc
  5573. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5574. Added more options that can be specified in -i list and xml-rpc
  5575. add* command.
  5576. * src/download_helper.h
  5577. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5578. The available options in -i list should be listed in
  5579. listRequestOptions().
  5580. * src/download_helper.cc
  5581. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5582. Added infoHash, pieceLength, numPieces value for tellActiveStatus
  5583. command.
  5584. * src/XmlRpcMethodImpl.cc
  5585. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5586. Now RequestGroup has its own copy of Option object. This will help
  5587. to give custom option for each RequestGroup.
  5588. addTorrentFile command now takes options.
  5589. * src/AbstractCommand.cc
  5590. * src/AbstractCommand.h
  5591. * src/AbstractProxyRequestCommand.cc
  5592. * src/ActivePeerConnectionCommand.cc
  5593. * src/ActivePeerConnectionCommand.h
  5594. * src/AdaptiveURISelector.cc
  5595. * src/BtCheckIntegrityEntry.cc
  5596. * src/BtDependency.cc
  5597. * src/BtDependency.h
  5598. * src/BtFileAllocationEntry.cc
  5599. * src/BtPostDownloadHandler.cc
  5600. * src/CheckIntegrityEntry.cc
  5601. * src/DownloadCommand.cc
  5602. * src/FtpDownloadCommand.cc
  5603. * src/FtpFinishDownloadCommand.cc
  5604. * src/FtpInitiateConnectionCommand.cc
  5605. * src/FtpNegotiationCommand.cc
  5606. * src/HttpInitiateConnectionCommand.cc
  5607. * src/HttpRequestCommand.cc
  5608. * src/HttpResponseCommand.cc
  5609. * src/HttpSkipResponseCommand.cc
  5610. * src/InitiateConnectionCommand.cc
  5611. * src/InitiateConnectionCommandFactory.cc
  5612. * src/InitiatorMSEHandshakeCommand.cc
  5613. * src/InitiatorMSEHandshakeCommand.h
  5614. * src/Metalink2RequestGroup.cc
  5615. * src/Metalink2RequestGroup.h
  5616. * src/MetalinkPostDownloadHandler.cc
  5617. * src/MultiUrlRequestInfo.cc
  5618. * src/MultiUrlRequestInfo.h
  5619. * src/PeerAbstractCommand.cc
  5620. * src/PeerInteractionCommand.cc
  5621. * src/PeerInteractionCommand.h
  5622. * src/PeerReceiveHandshakeCommand.cc
  5623. * src/PeerReceiveHandshakeCommand.h
  5624. * src/RequestGroup.cc
  5625. * src/RequestGroup.h
  5626. * src/TrackerWatcherCommand.cc
  5627. * src/TrackerWatcherCommand.h
  5628. * src/XmlRpcMethod.cc
  5629. * src/XmlRpcMethod.h
  5630. * src/XmlRpcMethodImpl.cc
  5631. * src/download_helper.cc
  5632. * src/download_helper.h
  5633. * src/main.cc
  5634. * test/BtDependencyTest.cc
  5635. * test/BtPostDownloadHandlerTest.cc
  5636. * test/DefaultBtMessageDispatcherTest.cc
  5637. * test/DownloadHandlerFactoryTest.cc
  5638. * test/DownloadHelperTest.cc
  5639. * test/Metalink2RequestGroupTest.cc
  5640. * test/MetalinkPostDownloadHandlerTest.cc
  5641. * test/RequestGroupManTest.cc
  5642. * test/RequestGroupTest.cc
  5643. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5644. Added tellActiveStatus xml-rpc command which reports download
  5645. status of active downloads.
  5646. * src/XmlRpcMethodFactory.cc
  5647. * src/XmlRpcMethodImpl.cc
  5648. * src/XmlRpcMethodImpl.h
  5649. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5650. Added addTorrentFile xml-rpc command which receives uploaded
  5651. torrent file and add download for it.
  5652. * src/RequestGroupMan.cc
  5653. * src/XmlRpcMethodFactory.cc
  5654. * src/XmlRpcMethodImpl.cc
  5655. * src/XmlRpcMethodImpl.h
  5656. * src/download_helper.cc
  5657. * src/download_helper.h
  5658. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5659. Added remove xml-rpc command which removes specified download.
  5660. There is a known issue: the removed unfinished downloads are
  5661. reported ERR when aria2 exits. They should be reported as INPR.
  5662. * src/RequestGroupMan.cc
  5663. * src/RequestGroupMan.h
  5664. * src/XmlRpcMethodFactory.cc
  5665. * src/XmlRpcMethodImpl.cc
  5666. * src/XmlRpcMethodImpl.h
  5667. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5668. If --enable-http-server is enabled, don't stop aria2 when all
  5669. download finished and don't quit when no files to download at
  5670. start up.
  5671. * src/RequestGroupMan.cc
  5672. * src/main.cc
  5673. * src/option_processing.cc
  5674. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5675. Added missing AM_CONDITIONAL
  5676. * configure.ac
  5677. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5678. Added xml-rpc functionality. Currently only addURI commad is
  5679. supported. To enable xml-rpc, run aria2 with
  5680. --enable-http-server. This option name is temporal and will be
  5681. changed. The feature that reports download progress in html format
  5682. is temporarily disabled.
  5683. * src/HttpServer.cc
  5684. * src/HttpServer.h
  5685. * src/HttpServerBodyCommand.cc
  5686. * src/HttpServerBodyCommand.h
  5687. * src/HttpServerCommand.cc
  5688. * src/HttpServerResponseCommand.cc
  5689. * src/Makefile.am
  5690. * src/OptionParser.cc
  5691. * src/OptionParser.h
  5692. * src/RequestGroupMan.cc
  5693. * src/RequestGroupMan.h
  5694. * src/XmlRpcMethod.cc
  5695. * src/XmlRpcMethod.h
  5696. * src/XmlRpcMethodFactory.cc
  5697. * src/XmlRpcMethodFactory.h
  5698. * src/XmlRpcMethodImpl.cc
  5699. * src/XmlRpcMethodImpl.h
  5700. * src/download_helper.cc
  5701. * src/download_helper.h
  5702. * test/Makefile.am
  5703. * test/XmlRpcMethodTest.cc
  5704. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5705. Added xml-rpc request parser. The supported value types are:
  5706. i4/int, string, double, struct, array, base64. Currently only
  5707. libxml2 version is provided.
  5708. * src/Xml2XmlRpcRequestProcessor.cc
  5709. * src/Xml2XmlRpcRequestProcessor.h
  5710. * src/XmlRpcElements.cc
  5711. * src/XmlRpcElements.h
  5712. * src/XmlRpcRequest.h
  5713. * src/XmlRpcRequestParserController.cc
  5714. * src/XmlRpcRequestParserController.h
  5715. * src/XmlRpcRequestParserState.h
  5716. * src/XmlRpcRequestParserStateImpl.cc
  5717. * src/XmlRpcRequestParserStateImpl.h
  5718. * src/XmlRpcRequestParserStateMachine.cc
  5719. * src/XmlRpcRequestParserStateMachine.h
  5720. * src/XmlRpcRequestProcessor.h
  5721. * test/XmlRpcRequestParserControllerTest.cc
  5722. * test/XmlRpcRequestProcessorTest.cc
  5723. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5724. * Release 1.3.3
  5725. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5726. Fixed compile error since r1202.
  5727. * src/ExpatMetalinkProcessor.cc
  5728. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5729. Updated Ukrainian, Russian and Simplified Chinese
  5730. translations. Thanks to all translators.
  5731. * po/ru.po
  5732. * po/uk.po
  5733. * po/zh_CN.po
  5734. 2009-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5735. Pass reference of Option object instead of pointer.
  5736. * src/download_helper.cc
  5737. * src/download_helper.h
  5738. * src/main.cc
  5739. * test/DownloadHelperTest.cc
  5740. 2009-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5741. Don't retrieve PREF_MAX_DOWNLOAD_LIMIT and PREF_MAX_UPLOAD_LIMIT
  5742. from option directly. Instead, get them from RequestGroup.
  5743. * src/ActivePeerConnectionCommand.cc
  5744. * src/ActivePeerConnectionCommand.h
  5745. * src/PeerReceiveHandshakeCommand.cc
  5746. * src/RequestGroup.h
  5747. 2009-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5748. Removed unused uploadLimitCheck and uploadLimit from
  5749. PeerAbstractCommand. Removed unused maxDownloadLimit from
  5750. PeerInteractionCommand.
  5751. * src/PeerAbstractCommand.cc
  5752. * src/PeerAbstractCommand.h
  5753. * src/PeerInteractionCommand.cc
  5754. * src/PeerInteractionCommand.h
  5755. 2009-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5756. Fixed broken file renaming feature since r1202.
  5757. * src/FtpNegotiationCommand.cc
  5758. * src/FtpNegotiationCommand.h
  5759. * src/HttpResponseCommand.cc
  5760. * src/RequestGroup.cc
  5761. * src/RequestGroup.h
  5762. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5763. Removed unused debug log
  5764. * src/SocketCore.cc
  5765. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5766. Generated configure and Makefile.in using autoconf 2.63 and
  5767. automake 1.10.2. Removed AC_GNU_SOURCE from configure.ac because
  5768. it is subset of AC_USE_SYSTEM_EXTENSIONS and we use latter.
  5769. * configure.ac
  5770. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5771. Moved piece statistics stuff to new PieceStatMan class.
  5772. Refactored PieceSelector interface.
  5773. * src/DefaultPieceStorage.cc
  5774. * src/DefaultPieceStorage.h
  5775. * src/LongestSequencePieceSelector.cc
  5776. * src/LongestSequencePieceSelector.h
  5777. * src/Makefile.am
  5778. * src/PieceSelector.h
  5779. * src/PieceStatMan.cc
  5780. * src/PieceStatMan.h
  5781. * src/RarestPieceSelector.cc
  5782. * src/RarestPieceSelector.h
  5783. * src/RequestGroup.cc
  5784. * test/DefaultPieceStorageTest.cc
  5785. * test/InOrderPieceSelector.h
  5786. * test/Makefile.am
  5787. * test/PieceStatManTest.cc
  5788. * test/RarestPieceSelectorTest.cc
  5789. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5790. Added static member _protocolFamily to SocketCore. By default,
  5791. SocketCore uses AF_UNSPEC for getaddrinfo hints to resolve
  5792. address. Sometime SocketCore::bind() and
  5793. SocketCore::establishConnection() use difference protocl family
  5794. and latter cannot connect to former. To avoid this situation, we
  5795. limit protocol family to AF_INET for unit tests.
  5796. * src/SocketCore.cc
  5797. * src/SocketCore.h
  5798. * test/AllTest.cc
  5799. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5800. Avoid std::bad_alloc for negative bencode string length.
  5801. * src/bencode.cc
  5802. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5803. Supported segmented downloading with chunked transfer encoding and
  5804. content-length.
  5805. * src/DownloadCommand.cc
  5806. * src/HttpResponseCommand.cc
  5807. 2009-05-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5808. Bump up version number to 1.3.3
  5809. * configure.ac
  5810. 2009-05-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5811. Applied Pascal Bleser's patch: increases MAX_RECV_BUFFER for ftp
  5812. from 4096 to 65536 (for insanely large ftp login banners)
  5813. * src/FtpConnection.h
  5814. * test/FtpConnectionTest.cc
  5815. 2009-05-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5816. In DefaultBtContext::getActualBasePath(), return first
  5817. FileEntry::getPath() for single file torrent.
  5818. * src/DefaultBtContext.cc
  5819. * test/DefaultBtContextTest.cc
  5820. 2009-05-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5821. Removed directIOAllowed() from BinaryStream, DiskWriter,
  5822. DiskAdaptor. setDirectIOAllowed() was renamed as allowDirectIO().
  5823. Removed _directIOAllowed member from DiskWriter.
  5824. * src/AbstractDiskWriter.cc
  5825. * src/AbstractDiskWriter.h
  5826. * src/AbstractSingleDiskAdaptor.cc
  5827. * src/AbstractSingleDiskAdaptor.h
  5828. * src/BinaryStream.h
  5829. * src/ByteArrayDiskWriter.h
  5830. * src/DefaultPieceStorage.cc
  5831. * src/DiskWriter.h
  5832. * src/MultiDiskAdaptor.cc
  5833. * src/MultiDiskAdaptor.h
  5834. 2009-05-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5835. Now the constructor of AbstractDiskWriter takes filename as an
  5836. argument and filename argument is removed from openFile(),
  5837. initAndOpenFile(), openExistingFile() interface. storeDir member
  5838. and its accessor functions are removed from DiskAdaptor because it
  5839. is not used anymore. size() member function of DefaultDiskWriter,
  5840. DirectDiskAdaptor and MultiDiskAdaptor now can be called without
  5841. opening file.
  5842. * src/AbstractDiskWriter.cc
  5843. * src/AbstractDiskWriter.h
  5844. * src/AbstractSingleDiskAdaptor.cc
  5845. * src/AbstractSingleDiskAdaptor.h
  5846. * src/ByteArrayDiskWriter.cc
  5847. * src/ByteArrayDiskWriter.h
  5848. * src/ByteArrayDiskWriterFactory.cc
  5849. * src/ByteArrayDiskWriterFactory.h
  5850. * src/DefaultDiskWriter.cc
  5851. * src/DefaultDiskWriter.h
  5852. * src/DefaultDiskWriterFactory.cc
  5853. * src/DefaultDiskWriterFactory.h
  5854. * src/DefaultPieceStorage.cc
  5855. * src/DirectDiskAdaptor.cc
  5856. * src/DirectDiskAdaptor.h
  5857. * src/DiskAdaptor.h
  5858. * src/DiskWriter.h
  5859. * src/DiskWriterFactory.h
  5860. * src/MessageDigestHelper.cc
  5861. * src/MultiDiskAdaptor.cc
  5862. * src/RequestGroup.cc
  5863. * src/UnknownLengthPieceStorage.cc
  5864. * src/Util.cc
  5865. * test/DefaultDiskWriterTest.cc
  5866. * test/DirectDiskAdaptorTest.cc
  5867. * test/FallocFileAllocationIteratorTest.cc
  5868. * test/MessageDigestHelperTest.cc
  5869. * test/MetalinkProcessorTest.cc
  5870. * test/MultiDiskAdaptorTest.cc
  5871. * test/MultiFileAllocationIteratorTest.cc
  5872. * test/SingleFileAllocationIteratorTest.cc
  5873. * test/UtilTest.cc
  5874. 2009-05-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5875. Fixed the bug that aria2 aborts when --select-file is used. This
  5876. bug was introduced in r1199.
  5877. * src/MultiDiskAdaptor.cc
  5878. 2009-05-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5879. Code cleanup
  5880. * test/MockPieceStorage.cc
  5881. 2009-05-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5882. Fixed the bug that read-only file with wrong file size will cause
  5883. error because it cannot be truncated to the correct size. Now if
  5884. file size is different than the expected one, re-open file in
  5885. writable mode.
  5886. * src/AbstractSingleDiskAdaptor.cc
  5887. * src/AbstractSingleDiskAdaptor.h
  5888. * src/BtCheckIntegrityEntry.cc
  5889. * src/DiskAdaptor.h
  5890. * src/MultiDiskAdaptor.h
  5891. * src/RequestGroup.cc
  5892. 2009-05-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5893. Fixed the bug that with --check-integrity option aria2 reports
  5894. downloaded file size is 0 even if some parts of file is correctly
  5895. downloaded. This bug is reproducible for the download that a file
  5896. includes last piece is missing. This bug doesn't reveal for
  5897. single-torrent with file allocation on.
  5898. * src/IteratableChecksumValidator.cc
  5899. * test/IteratableChecksumValidatorTest.cc
  5900. 2009-05-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5901. Avoid circular reference between RequestGroup and AdaptiveURISelector
  5902. * src/RequestGroupMan.cc
  5903. * src/AdaptiveURISelector.cc
  5904. * src/AdaptiveURISelector.h
  5905. 2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5906. * Release 1.3.2
  5907. 2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5908. Updated README
  5909. * README
  5910. 2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5911. Updated Ukrainian translations. Thanks to Alexander10.
  5912. * po/uk.po
  5913. 2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5914. Code cleanup
  5915. * src/MetalinkParserStateMachine.cc
  5916. * src/MetalinkParserStateMachine.h
  5917. 2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5918. Removed MetalinkProcessorFactory. Since we don't use both libxml2
  5919. and expat simultaneously, MetalinkProcessor is now not base class
  5920. and it is directly implemented in XML2SAXMetalinkProcessor and
  5921. ExpatMetalinkProcessor.
  5922. * src/ExpatMetalinkProcessor.cc
  5923. * src/ExpatMetalinkProcessor.h
  5924. * src/Makefile.am
  5925. * src/MetalinkHelper.cc
  5926. * src/MetalinkProcessor.h
  5927. * src/MetalinkProcessorFactory.cc: Removed.
  5928. * src/MetalinkProcessorFactory.h: Removed
  5929. * src/XML2SAXMetalinkProcessor.cc
  5930. * src/XML2SAXMetalinkProcessor.h
  5931. * test/MetalinkProcessorTest.cc
  5932. 2009-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5933. Bump up version number to 1.3.2
  5934. * configure.ac
  5935. 2009-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5936. Added missing file.
  5937. * test/Makefile.am
  5938. * test/url-list-singleFileEndsWithSlash.torrent
  5939. 2009-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5940. Put BDE in aria2 namespace. BDE will also be used to store xml-rpc
  5941. request.
  5942. * src/AnnounceList.cc
  5943. * src/AnnounceList.h
  5944. * src/BDE.cc: Added
  5945. * src/BDE.h: Added
  5946. * src/DHTAbstractMessage.cc
  5947. * src/DHTAbstractMessage.h
  5948. * src/DHTAnnouncePeerMessage.cc
  5949. * src/DHTAnnouncePeerMessage.h
  5950. * src/DHTAnnouncePeerReplyMessage.cc
  5951. * src/DHTAnnouncePeerReplyMessage.h
  5952. * src/DHTFindNodeMessage.cc
  5953. * src/DHTFindNodeMessage.h
  5954. * src/DHTFindNodeReplyMessage.cc
  5955. * src/DHTFindNodeReplyMessage.h
  5956. * src/DHTGetPeersMessage.cc
  5957. * src/DHTGetPeersMessage.h
  5958. * src/DHTGetPeersReplyMessage.cc
  5959. * src/DHTGetPeersReplyMessage.h
  5960. * src/DHTMessageFactory.h
  5961. * src/DHTMessageFactoryImpl.cc
  5962. * src/DHTMessageFactoryImpl.h
  5963. * src/DHTMessageReceiver.cc
  5964. * src/DHTMessageTracker.cc
  5965. * src/DHTMessageTracker.h
  5966. * src/DHTPingMessage.cc
  5967. * src/DHTPingMessage.h
  5968. * src/DHTPingReplyMessage.cc
  5969. * src/DHTPingReplyMessage.h
  5970. * src/DHTQueryMessage.cc
  5971. * src/DHTQueryMessage.h
  5972. * src/DHTResponseMessage.cc
  5973. * src/DHTResponseMessage.h
  5974. * src/DefaultBtAnnounce.cc
  5975. * src/DefaultBtContext.cc
  5976. * src/DefaultBtContext.h
  5977. * src/HandshakeExtensionMessage.cc
  5978. * src/Makefile.am
  5979. * src/PeerListProcessor.h
  5980. * src/UTPexExtensionMessage.cc
  5981. * src/bencode.cc
  5982. * src/bencode.h
  5983. * test/AnnounceListTest.cc
  5984. * test/BDETest.cc: Added
  5985. * test/BencodeTest.cc
  5986. * test/DHTAnnouncePeerMessageTest.cc
  5987. * test/DHTAnnouncePeerReplyMessageTest.cc
  5988. * test/DHTFindNodeMessageTest.cc
  5989. * test/DHTFindNodeReplyMessageTest.cc
  5990. * test/DHTGetPeersMessageTest.cc
  5991. * test/DHTGetPeersReplyMessageTest.cc
  5992. * test/DHTMessageFactoryImplTest.cc
  5993. * test/DHTMessageTrackerTest.cc
  5994. * test/DHTPingMessageTest.cc
  5995. * test/DHTPingReplyMessageTest.cc
  5996. * test/Makefile.am
  5997. * test/MockDHTMessageFactory.h
  5998. * test/PeerListProcessorTest.cc
  5999. 2009-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6000. Use url-list (web-seeding) only for single-file torrent. This is
  6001. basically the same behavior with Metalink file with torrent and
  6002. URIs.
  6003. * src/RequestGroup.cc
  6004. * src/DefaultBtContext.cc
  6005. * test/DefaultBtContextTest.cc
  6006. 2009-04-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6007. Rewritten expr
  6008. * src/array_fun.h
  6009. * test/array_funTest.cc
  6010. 2009-04-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6011. Added forEachMemFunSH(). Use it in BitTorrent event dispatch.
  6012. * src/DefaultBtMessageDispatcher.cc
  6013. * src/a2algo.h
  6014. 2009-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6015. Removed ExtendedMessagingAware. Instead of using inheritance,
  6016. added ExtensionMessageRegistry and it is passed to
  6017. DefaultExtensionMessageFactory.
  6018. * src/DefaultBtInteractive.cc
  6019. * src/DefaultBtInteractive.h
  6020. * src/DefaultExtensionMessageFactory.cc
  6021. * src/DefaultExtensionMessageFactory.h
  6022. * src/ExtendedMessagingAware.h: Removed.
  6023. * src/ExtensionMessageFactory.h
  6024. * src/ExtensionMessageRegistry.h: Added.
  6025. * src/Makefile.am
  6026. * src/PeerInteractionCommand.cc
  6027. * test/DefaultExtensionMessageFactoryTest.cc
  6028. 2009-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6029. Fixed typo in log messages
  6030. * src/MSEHandshake.cc
  6031. 2009-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6032. Fixed the bug that prevents torrent download from finishing. The
  6033. bug doesn't reveal for all torrents. The torrents affected this
  6034. bug satisfies ((N+7)/8)%4 == 0 and N%32 != 0 where N is the number
  6035. of pieces.
  6036. * src/bitfield.h
  6037. * test/bitfieldTest.cc
  6038. 2009-04-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6039. Code cleanup
  6040. * src/PeerListProcessor.h
  6041. 2009-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6042. Removed RequestGroupAware
  6043. * src/AbstractCommand.cc
  6044. * src/AbstractCommand.h
  6045. * src/ActivePeerConnectionCommand.cc
  6046. * src/ActivePeerConnectionCommand.h
  6047. * src/DHTGetPeersCommand.cc
  6048. * src/DHTGetPeersCommand.h
  6049. * src/InitiatorMSEHandshakeCommand.cc
  6050. * src/InitiatorMSEHandshakeCommand.h
  6051. * src/Makefile.am
  6052. * src/PeerInitiateConnectionCommand.cc
  6053. * src/PeerInitiateConnectionCommand.h
  6054. * src/PeerInteractionCommand.cc
  6055. * src/PeerInteractionCommand.h
  6056. * src/RealtimeCommand.cc
  6057. * src/RealtimeCommand.h
  6058. * src/RequestGroupAware.cc: Removed
  6059. * src/RequestGroupAware.h: Removed
  6060. * src/SeedCheckCommand.cc
  6061. * src/SeedCheckCommand.h
  6062. * src/SleepCommand.cc
  6063. * src/TrackerWatcherCommand.cc
  6064. * src/TrackerWatcherCommand.h
  6065. 2009-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6066. Rewritten PeerListProcessor
  6067. * src/PeerListProcessor.h
  6068. * src/CompactPeerListProcessor.h: Removed
  6069. * src/CompactPeerListProcessor.cc: Removed
  6070. * src/DelegatingPeerListProcessor.cc: Removed.
  6071. * src/DefaultBtAnnounce.cc
  6072. * src/Makefile.am
  6073. * src/UTPexExtensionMessage.cc
  6074. * src/DefaultPeerListProcessor.h: Removed.
  6075. * src/DefaultPeerListProcessor.cc: Removed.
  6076. * src/DelegatingPeerListProcessor.h: Removed.
  6077. * test/Makefile.am
  6078. * test/PeerListProcessorTest.cc
  6079. * test/DefaultPeerListProcessorTest.cc: Removed.
  6080. 2009-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6081. Rewritten RequestGroupMan::calculateStat()
  6082. * src/RequestGroupMan.cc
  6083. 2009-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6084. Removed unnecessary virtual destructor for Request class.
  6085. * src/Request.cc
  6086. * src/Request.h
  6087. 2009-04-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6088. Avoid dynamic_pointer_cast.
  6089. * src/DHTGetPeersCommand.cc
  6090. * src/DHTGetPeersCommand.h
  6091. 2009-04-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6092. Rewritten event dispatch in BtMessage. Removed BtEventListener,
  6093. BtEvent.
  6094. * src/AbstractBtEventListener.h: Removed.
  6095. * src/AbstractBtMessage.cc
  6096. * src/AbstractBtMessage.h
  6097. * src/BtAbortOutstandingRequestEvent.h
  6098. * src/BtCancelSendingPieceEvent.h
  6099. * src/BtChokedEvent.h: Removed.
  6100. * src/BtChokingEvent.h
  6101. * src/BtEvent.h: Removed
  6102. * src/BtEventListener.h: Removed.
  6103. * src/BtMessage.h
  6104. * src/BtPieceMessage.cc
  6105. * src/BtPieceMessage.h
  6106. * src/BtRequestMessage.cc
  6107. * src/BtRequestMessage.h
  6108. * src/DefaultBtMessageDispatcher.cc
  6109. * src/Makefile.am
  6110. * src/a2functional.h
  6111. * test/BtPieceMessageTest.cc
  6112. * test/BtRequestMessageTest.cc
  6113. * test/DefaultBtMessageDispatcherTest.cc
  6114. * test/MockBtMessage.h
  6115. 2009-04-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6116. Code cleanup
  6117. * src/RequestGroupMan.cc
  6118. 2009-04-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6119. Code cleanup
  6120. * src/DownloadCommand.cc
  6121. 2009-04-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6122. Fixed segmentation fault when GZipDecoder::decode() returns 0
  6123. byte.
  6124. * src/DownloadCommand.cc
  6125. * src/bitfield.h
  6126. * test/bitfieldTest.cc
  6127. Fixed the bug that causes infinite loop if broken web server
  6128. returns chunked response without last "0" chunk-size marker and
  6129. closes connection.
  6130. * src/DownloadCommand.cc
  6131. Instantiate properly configured HttpDownloadCommand for
  6132. non-resumable downlaods.
  6133. * src/HttpResponseCommand.cc
  6134. 2009-04-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6135. Rewritten array operation functions.
  6136. * src/BitfieldMan.cc
  6137. * src/array_fun.h
  6138. * test/array_funTest.cc
  6139. 2009-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6140. Removed unused variable 'query'
  6141. * src/Request.cc
  6142. 2009-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6143. Set conditional HAVE_GETADDRINFO true for mingw32. It was
  6144. accidentally set to false in r1162.
  6145. * configure.ac
  6146. 2009-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6147. Code cleanup
  6148. * src/BNode.cc
  6149. 2009-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6150. Increase prefixLength for the bucket which doesn't own local node
  6151. ID when splitting bucket.
  6152. * src/DHTBucket.cc
  6153. * test/DHTBucketTest.cc
  6154. 2009-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6155. * Release 1.3.1
  6156. 2009-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6157. Bump up version number to 1.3.1
  6158. * configure.ac
  6159. 2009-04-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6160. Removed unused variable checkPoint. Also removed include directive
  6161. for TimeA2.h.
  6162. * src/SeedCheckCommand.h
  6163. 2009-04-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6164. Fixed the bug that upload limit exceeds the value specified in
  6165. --seed-ratio option depending on the timing of the execution of
  6166. SeedCheckCommand.
  6167. * src/SeedCheckCommand.cc
  6168. 2009-04-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6169. Fixed the bug that removed peer's session upload/download length
  6170. are counted twice in _cachedTransferStat before it is
  6171. re-calculated. This affected the calculation of shara ratio,
  6172. resulting aria2 wrongly determines that specified share ratio is
  6173. reached. Also fixed the typo in calculateStatFor function name.
  6174. * src/BtSetup.cc
  6175. * src/DefaultPeerStorage.cc
  6176. * src/ShareRatioSeedCriteria.h
  6177. * test/ShareRatioSeedCriteriaTest.cc
  6178. 2009-04-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6179. * Release 1.3.0
  6180. 2009-04-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6181. Updated Russian, Japanese, Spanish, Ukrainian and Norwegian
  6182. Nynorsk translations. Thanks to all translators.
  6183. * po/es.po
  6184. * po/ja.po
  6185. * po/nn.po
  6186. * po/ru.po
  6187. * po/uk.po
  6188. 2009-04-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6189. Rewritten isInRange()
  6190. * src/DHTBucket.cc
  6191. * test/DHTBucketTest.cc
  6192. 2009-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6193. Fixed typo
  6194. * doc/aria2c.1.txt
  6195. 2009-03-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6196. Removed AC_FUNC_MALLOC and AC_FUNC_REALLOC because 0-byte
  6197. malloc/realloc is not used.
  6198. * src/configure.ac
  6199. 2009-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6200. BitfieldMan::getMissingIndexes family functions now takes unsigned
  6201. char* bitfield instead of stl container for efficiency.
  6202. PieceSelector::select now takes this
  6203. bitfield. RarestPieceSelector::select now also performs
  6204. efficiently for this change. bitfield namespace is introduced and
  6205. it has several helper functions to handle basic bitfield
  6206. operations such as test, count set bits, etc.
  6207. * src/BitfieldMan.cc
  6208. * src/BitfieldMan.h
  6209. * src/DefaultBtRequestFactory.cc
  6210. * src/DefaultPieceStorage.cc
  6211. * src/DefaultPieceStorage.h
  6212. * src/LongestSequencePieceSelector.cc
  6213. * src/LongestSequencePieceSelector.h
  6214. * src/Makefile.am
  6215. * src/Piece.cc
  6216. * src/Piece.h
  6217. * src/PieceSelector.h
  6218. * src/RarestPieceSelector.cc
  6219. * src/RarestPieceSelector.h
  6220. * src/Util.cc
  6221. * src/Util.h
  6222. * src/bitfield.h
  6223. * test/BitfieldManTest.cc
  6224. * test/LongestSequencePieceSelectorTest.cc
  6225. * test/Makefile.am
  6226. * test/RarestPieceSelectorTest.cc
  6227. * test/UtilTest.cc
  6228. * test/bitfieldTest.cc
  6229. 2009-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6230. Made accepted socket non-block.
  6231. * src/FtpNegotiationCommand.cc
  6232. * src/HttpListenCommand.cc
  6233. 2009-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6234. Guarded #ifdef HAVE_POSIX_FALLOCATE
  6235. * src/AbstractSingleDiskAdaptor.cc
  6236. * src/DefaultPieceStorage.cc
  6237. * src/DiskAdaptor.h
  6238. * src/DiskAdaptor.h
  6239. * src/MultiFileAllocationIterator.cc
  6240. 2009-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6241. Run
  6242. DefaultBtMessageDispatcher::checkRequestSlotAndDoNecessaryThing()
  6243. in every 1 sec. The timeout of RequestSlot is 60s by default and
  6244. it doesn't need to be called every time when
  6245. DefaultBtInteractive::doInteractionProcessing() is called.
  6246. * src/DefaultBtInteractive.cc
  6247. * src/DefaultBtInteractive.h
  6248. 2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6249. Documented 'falloc' in man page.
  6250. * doc/aria2c.1.txt
  6251. 2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6252. Updated doc
  6253. * src/usage_text.h
  6254. 2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6255. Added 'falloc' parameter for --file-allocation option. 'falloc'
  6256. allocation mode uses posix_fallocate() system call to allocate
  6257. file on disk. If you are using newer file systems such as ext4
  6258. (with extents support), btrfs or xfs, 'falloc' is your best
  6259. choice. It allocates large(few GiB) files almost instantly. Don't
  6260. use 'falloc' with legacy file systems such as ext3 because it
  6261. takes almost same time as 'prealloc' and it blocks aria2 entirely
  6262. until allocation finishes. 'falloc' may not be available if your
  6263. system doesn't have posix_fallocate() system call.
  6264. * configure.ac
  6265. * src/AbstractDiskWriter.cc
  6266. * src/AbstractDiskWriter.h
  6267. * src/AbstractSingleDiskAdaptor.cc
  6268. * src/BinaryStream.h
  6269. * src/BtCheckIntegrityEntry.cc
  6270. * src/ByteArrayDiskWriter.h
  6271. * src/CheckIntegrityEntry.cc
  6272. * src/CheckIntegrityEntry.h
  6273. * src/DefaultPieceStorage.cc
  6274. * src/DiskAdaptor.cc
  6275. * src/DiskAdaptor.h
  6276. * src/DiskWriter.h
  6277. * src/FallocFileAllocationIterator.cc
  6278. * src/FallocFileAllocationIterator.h
  6279. * src/FileAllocationEntry.cc
  6280. * src/FileAllocationEntry.h
  6281. * src/Makefile.am
  6282. * src/MultiFileAllocationIterator.cc
  6283. * src/MultiFileAllocationIterator.h
  6284. * src/OptionHandlerFactory.cc
  6285. * src/RequestGroup.cc
  6286. * src/StreamCheckIntegrityEntry.cc
  6287. * src/prefs.cc
  6288. * src/prefs.h
  6289. * src/usage_text.h
  6290. * test/FallocFileAllocationIteratorTest.cc
  6291. * test/Makefile.am
  6292. 2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6293. Removed duplicate enableDirectIO() call.
  6294. * src/MultiFileAllocationIterator.cc
  6295. 2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6296. Replaced std::vector<SharedHandle<PieceStats> _sortedPieceStats
  6297. with std::vector<size_t> _sortedPieceStatIndexes to reduce the
  6298. cost of std::rotate().
  6299. * src/RarestPieceSelector.cc
  6300. * src/RarestPieceSelector.h
  6301. * test/RarestPieceSelectorTest.cc
  6302. 2009-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6303. Updated usage doc for --bt-tracker-interval option.
  6304. * src/usage_text.h
  6305. * doc/aria2c.1.txt
  6306. 2009-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6307. Documented --bt-tracker-interval option in man page.
  6308. * doc/aria2c.1.txt
  6309. 2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6310. Added an option to specify the interval between tracker requests.
  6311. If non-zero value is specified, aria2 uses it and ignores the
  6312. interval value in the response of tracker. If zero is specified,
  6313. aria2 determines the inteval value based on the tarcker response
  6314. and download progress.
  6315. * src/DefaultBtAnnounce.cc
  6316. * src/DefaultBtAnnounce.h
  6317. * src/OptionHandlerFactory.cc
  6318. * src/RequestGroup.cc
  6319. * src/prefs.cc
  6320. * src/prefs.h
  6321. * src/usage_text.h
  6322. 2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6323. Added operator+=, operator-=, operator-
  6324. * src/TransferStat.cc
  6325. * src/TransferStat.h
  6326. 2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6327. Refactored RarestPieceSelector to reduce CPU load, especially for
  6328. addPieceStats.
  6329. * src/RarestPieceSelector.cc
  6330. * src/RarestPieceSelector.h
  6331. 2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6332. Refactored getMissingIndexRandomly, getFirstMissingIndex,
  6333. getAllMissingBlockIndexes to reduce a call to
  6334. array_function_base::operator[].
  6335. * src/BitfieldMan.cc
  6336. 2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6337. Cached TransferStat/download speed to avoid to sum them up in each
  6338. call.
  6339. * src/DefaultPeerStorage.cc
  6340. * src/DefaultPeerStorage.h
  6341. * src/SegmentMan.cc
  6342. * src/SegmentMan.h
  6343. 2009-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6344. Typedefed cuid_t as int32_t in Command.h
  6345. * src/CUIDCounter.h
  6346. * src/Command.cc
  6347. * src/Command.h
  6348. * src/DownloadEngine.cc
  6349. * src/DownloadEngine.h
  6350. * src/PeerStat.h
  6351. * src/SegmentMan.cc
  6352. * src/SegmentMan.h
  6353. 2009-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6354. Reduced the number of calls to PeerStorage::calculateStat() and
  6355. SegmentMan::calculateDownloadSpeed() to lower CPU usage on higher
  6356. transfer rate.
  6357. * src/DefaultBtInteractive.cc
  6358. * src/DefaultBtMessageDispatcher.cc
  6359. * src/DefaultPeerStorage.cc
  6360. * src/DefaultPeerStorage.h
  6361. * src/DownloadCommand.cc
  6362. * src/DownloadEngine.cc
  6363. * src/PeerStorage.h
  6364. * src/SegmentMan.cc
  6365. * src/SegmentMan.h
  6366. * test/MockPeerStorage.h
  6367. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6368. Prepended _dir+"/" after joining path elements in torrent file.
  6369. * src/DefaultBtContext.cc
  6370. * test/DefaultBtContextTest.cc
  6371. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6372. Added missing IndexBtMessageValidator.h
  6373. * src/Makefile.am
  6374. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6375. Updated Indonesian, Russian, Italian, Ukrainian and Simplified
  6376. Chinese translations. Thank you for contributing our project.
  6377. * po/id.po
  6378. * po/it.po
  6379. * po/ru.po
  6380. * po/uk.po
  6381. * po/zh_CN.po
  6382. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6383. Updated README
  6384. * README
  6385. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6386. Bump up version number to 1.3.0
  6387. * configure.ac
  6388. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6389. Updated doc
  6390. * src/DefaultBtContext.h
  6391. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6392. Slice/joinPath for name of single torrent.
  6393. * src/DefaultBtContext.cc
  6394. * test/DefaultBtContextTest.cc
  6395. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6396. Updated man page: Documented --dry-run and --index-out
  6397. options. Changed the default value of --uri-selector and
  6398. --http-auth-challenge options. Removed --direct-file-mapping
  6399. option. Added example for --index-out
  6400. * doc/aria2c.1.txt
  6401. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6402. Updated TEXT_DRY_RUN
  6403. * src/usage_text.h
  6404. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6405. Changed the default value of --uri-selector option from 'inorder'
  6406. to 'feedback'
  6407. * src/OptionHandlerFactory.cc
  6408. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6409. Included current URI in exception message.
  6410. * src/AbstractCommand.cc
  6411. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6412. Renamed ServerStatURISelector as FeedbackURISelector.
  6413. * src/FeedbackURISelector.cc
  6414. * src/FeedbackURISelector.h
  6415. * src/Makefile.am
  6416. * src/RequestGroupMan.cc
  6417. * src/ServerStatURISelector.cc
  6418. * src/ServerStatURISelector.h
  6419. * test/FeedbackURISelectorTest.cc
  6420. * test/Makefile.am
  6421. * test/ServerStatURISelectorTest.cc
  6422. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6423. Fixed the bug that AdaptiveURISelector doesn't select any URI when
  6424. all URIs are tested and their timeout is not reached.
  6425. * src/AdaptiveURISelector.cc
  6426. * src/AdaptiveURISelector.h
  6427. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6428. Changed the default value of --http-auth-challenge option to false.
  6429. * src/OptionHandlerFactory.cc
  6430. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6431. Reuse URIs when all unused URIs run out.
  6432. * src/OptionHandlerFactory.cc
  6433. * src/RequestGroup.cc
  6434. * src/prefs.cc
  6435. * src/prefs.h
  6436. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6437. Refactored BtMessage subclasses. BtCancelMessage, BtRequestMessage
  6438. and BtRejectMessage are derived from RangeBtMessage class.
  6439. BtAllowedFastMessage, BtHaveMessage and BtSuggestPieceMessage are
  6440. derived from IndexBtMessage class. BtChokeMessage,
  6441. BtHaveAllMessage, BtHaveNoneMessage, BtInterestedMessage,
  6442. BtNotInterestedMessage and BtUnchokeMessage are derived from
  6443. ZeroBtMessage class.
  6444. * src/AbstractBtMessage.cc
  6445. * src/AbstractBtMessage.h
  6446. * src/BtAllowedFastMessage.cc
  6447. * src/BtAllowedFastMessage.h
  6448. * src/BtAllowedFastMessageValidator.h: Removed
  6449. * src/BtBitfieldMessage.cc
  6450. * src/BtBitfieldMessage.h
  6451. * src/BtCancelMessage.cc
  6452. * src/BtCancelMessage.h
  6453. * src/BtCancelMessageValidator.h: Removed
  6454. * src/BtChokeMessage.cc
  6455. * src/BtChokeMessage.h
  6456. * src/BtExtendedMessage.cc
  6457. * src/BtExtendedMessage.h
  6458. * src/BtHandshakeMessage.cc
  6459. * src/BtHandshakeMessage.h
  6460. * src/BtHaveAllMessage.cc
  6461. * src/BtHaveAllMessage.h
  6462. * src/BtHaveMessage.cc
  6463. * src/BtHaveMessage.h
  6464. * src/BtHaveMessageValidator.h: Removed
  6465. * src/BtHaveNoneMessage.cc
  6466. * src/BtHaveNoneMessage.h
  6467. * src/BtInterestedMessage.cc
  6468. * src/BtInterestedMessage.h
  6469. * src/BtKeepAliveMessage.cc
  6470. * src/BtKeepAliveMessage.h
  6471. * src/BtNotInterestedMessage.cc
  6472. * src/BtNotInterestedMessage.h
  6473. * src/BtPieceMessage.cc
  6474. * src/BtPieceMessage.h
  6475. * src/BtPortMessage.cc
  6476. * src/BtPortMessage.h
  6477. * src/BtRejectMessage.cc
  6478. * src/BtRejectMessage.h
  6479. * src/BtRejectMessageValidator.h: Removed
  6480. * src/BtRequestMessage.cc
  6481. * src/BtRequestMessage.h
  6482. * src/BtRequestMessageValidator.h: Removed
  6483. * src/BtSuggestPieceMessage.cc
  6484. * src/BtSuggestPieceMessage.h
  6485. * src/BtSuggestPieceMessageValidator.h: Removed
  6486. * src/BtUnchokeMessage.cc
  6487. * src/BtUnchokeMessage.h
  6488. * src/DefaultBtMessageFactory.cc
  6489. * src/IndexBtMessage.cc
  6490. * src/IndexBtMessage.h
  6491. * src/IndexBtMessageValidator.h
  6492. * src/Makefile.am
  6493. * src/PeerMessageUtil.cc
  6494. * src/PeerMessageUtil.h
  6495. * src/RangeBtMessage.cc
  6496. * src/RangeBtMessage.h
  6497. * src/RangeBtMessageValidator.h
  6498. * src/SimpleBtMessage.cc
  6499. * src/SimpleBtMessage.h
  6500. * src/ZeroBtMessage.cc
  6501. * src/ZeroBtMessage.h
  6502. * test/BtRequestMessageTest.cc
  6503. 2009-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6504. Reverted usage_text.h to r1093 to avoid to lose translated
  6505. messages.
  6506. * src/usage_text.h
  6507. 2009-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6508. BtMessage now holds _id attribute. MESSAGE_LENGTH that is
  6509. declared as non-const previously is now const and defined in class
  6510. definition.
  6511. * src/AbstractBtMessage.cc
  6512. * src/AbstractBtMessage.h
  6513. * src/BtAllowedFastMessage.cc
  6514. * src/BtAllowedFastMessage.h
  6515. * src/BtBitfieldMessage.h
  6516. * src/BtCancelMessage.cc
  6517. * src/BtCancelMessage.h
  6518. * src/BtChokeMessage.cc
  6519. * src/BtChokeMessage.h
  6520. * src/BtExtendedMessage.cc
  6521. * src/BtExtendedMessage.h
  6522. * src/BtHandshakeMessage.cc
  6523. * src/BtHandshakeMessage.h
  6524. * src/BtHaveAllMessage.cc
  6525. * src/BtHaveAllMessage.h
  6526. * src/BtHaveMessage.cc
  6527. * src/BtHaveMessage.h
  6528. * src/BtHaveNoneMessage.cc
  6529. * src/BtHaveNoneMessage.h
  6530. * src/BtInterestedMessage.cc
  6531. * src/BtInterestedMessage.h
  6532. * src/BtKeepAliveMessage.cc
  6533. * src/BtKeepAliveMessage.h
  6534. * src/BtMessage.h
  6535. * src/BtNotInterestedMessage.cc
  6536. * src/BtNotInterestedMessage.h
  6537. * src/BtPieceMessage.h
  6538. * src/BtPortMessage.cc
  6539. * src/BtPortMessage.h
  6540. * src/BtRejectMessage.cc
  6541. * src/BtRejectMessage.h
  6542. * src/BtRequestMessage.cc
  6543. * src/BtRequestMessage.h
  6544. * src/BtSuggestPieceMessage.cc
  6545. * src/BtSuggestPieceMessage.h
  6546. * src/BtUnchokeMessage.cc
  6547. * src/BtUnchokeMessage.h
  6548. * src/SimpleBtMessage.cc
  6549. * src/SimpleBtMessage.h
  6550. * test/MockBtMessage.h
  6551. 2009-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6552. Use FileEntry::exists()
  6553. * src/MultiDiskAdaptor.cc
  6554. 2009-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6555. Added exists()
  6556. * src/FileEntry.cc
  6557. * src/FileEntry.h
  6558. 2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6559. Added missing prefix dir.
  6560. * src/download_helper.cc
  6561. 2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6562. Removed --direct-file-mapping option and CopyDiskAdaptor.
  6563. * src/CopyDiskAdaptor.cc: Removed
  6564. * src/CopyDiskAdaptor.h: Removed
  6565. * src/DefaultPieceStorage.cc
  6566. * src/Makefile.am
  6567. * src/OptionHandlerFactory.cc
  6568. * src/prefs.cc
  6569. * src/prefs.h
  6570. * src/usage_text.h
  6571. * test/CopyDiskAdaptorTest.cc: Removed
  6572. * test/Makefile.am
  6573. 2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6574. Rewritten isSameFileBeingDownloaded()
  6575. * src/RequestGroupMan.cc
  6576. 2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6577. Removed getName() from DownloadContext. getName() is declared in
  6578. BtContext.
  6579. * src/BtContext.h
  6580. * src/DownloadContext.h
  6581. * src/SingleFileDownloadContext.cc
  6582. * src/SingleFileDownloadContext.h
  6583. Removed getFilePath() from DiskAdaptor. getFilePath() is declared
  6584. in AbstractSingleDiskAdaptor.
  6585. * src/AbstractSingleDiskAdaptor.h
  6586. * src/DiskAdaptor.h
  6587. * src/MultiDiskAdaptor.h
  6588. * src/RequestGroup.cc
  6589. Removed setTopDir() and getTopDir() and getTopDirPath() from
  6590. MultiDiskAdaptor.
  6591. * src/DefaultPieceStorage.cc
  6592. * src/MultiDiskAdaptor.cc
  6593. * src/MultiDiskAdaptor.h
  6594. * test/MultiDiskAdaptorTest.cc
  6595. 2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6596. FileEntry::getPath() contains store(top level) directory to
  6597. simplify path handling operation. In the previous implementation,
  6598. store directory is concatenated to FileEntry::getPath() in
  6599. DownloadContext.
  6600. * src/BtDependency.cc
  6601. * src/BtPostDownloadHandler.cc
  6602. * src/CopyDiskAdaptor.cc
  6603. * src/DefaultBtContext.cc
  6604. * src/DirectDiskAdaptor.cc
  6605. * src/FileEntry.cc
  6606. * src/FileEntry.h
  6607. * src/FtpNegotiationCommand.cc
  6608. * src/HttpResponse.cc
  6609. * src/HttpResponseCommand.cc
  6610. * src/Metalink2RequestGroup.cc
  6611. * src/MultiDiskAdaptor.cc
  6612. * src/MultiDiskAdaptor.h
  6613. * src/MultiFileAllocationIterator.cc
  6614. * src/RequestGroup.cc
  6615. * src/SingleFileDownloadContext.cc
  6616. * src/SingleFileDownloadContext.h
  6617. * src/download_helper.cc
  6618. * test/BtDependencyTest.cc
  6619. * test/CopyDiskAdaptorTest.cc
  6620. * test/DefaultBtContextTest.cc
  6621. * test/DefaultBtProgressInfoFileTest.cc
  6622. * test/DirectDiskAdaptorTest.cc
  6623. * test/DownloadHelperTest.cc
  6624. * test/FileEntryTest.cc
  6625. * test/MultiDiskAdaptorTest.cc
  6626. * test/MultiFileAllocationIteratorTest.cc
  6627. * test/RequestGroupTest.cc
  6628. * test/SingleFileDownloadContextTest.cc
  6629. 2009-03-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6630. Fixed compiler warning
  6631. * src/download_helper.cc
  6632. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6633. Throw exception if same infohash torrent is now downloading.
  6634. * src/RequestGroup.cc
  6635. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6636. Added --dry-run option. In this mode, aria2 just checks whether
  6637. the remote file is available and doesn't download data. This
  6638. option has effect on HTTP/FTP downloads and BitTorrent downloads
  6639. are canceled in this mode.
  6640. * src/FtpNegotiationCommand.cc
  6641. * src/HttpResponseCommand.cc
  6642. * src/HttpResponseCommand.h
  6643. * src/OptionHandlerFactory.cc
  6644. * src/RequestGroup.cc
  6645. * src/RequestGroupMan.cc
  6646. * src/prefs.cc
  6647. * src/prefs.h
  6648. * src/usage_text.h
  6649. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6650. Fixed compiler waring
  6651. * test/UriListParserTest.cc
  6652. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6653. Parse options in -i list using OptionParser.
  6654. * src/UriListParser.cc
  6655. * src/UriListParser.h
  6656. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6657. Don't reset URI in retry to avoid additional round trips because
  6658. of redirects.
  6659. * src/AbstractCommand.cc
  6660. * src/OptionHandlerFactory.cc
  6661. * src/prefs.cc
  6662. * src/prefs.h
  6663. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6664. Declared hide() in OptionHandler.
  6665. * src/NameMatchOptionHandler.h
  6666. * src/OptionHandler.h
  6667. * src/OptionHandlerImpl.h
  6668. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6669. Updated doc
  6670. * src/Peer.h
  6671. 2009-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6672. Added log message in setStatusInternal()
  6673. * src/ServerStat.cc
  6674. 2009-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6675. Call ServerStat::setError() in AbstractCommand::onAbort() to
  6676. effectively exclude failed server.
  6677. * src/AbstractCommand.cc
  6678. 2009-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6679. Added --index-out option to specify each file path for torrent.
  6680. Here index shown in --show-files option is used to specify which
  6681. file path should be altered. For example, to change the file path
  6682. with index=2, use --index-out=2=aria2.tar.bz2. You can use this
  6683. option multiple times: --index-out=1=aria2.tar.bz2
  6684. --index-out=2=aria2-opt.tar.bz2. The short hand form -O is also
  6685. available. This option can be specified in -i list.
  6686. * src/DefaultBtContext.cc
  6687. * src/DefaultBtContext.h
  6688. * src/MultiDiskAdaptor.cc
  6689. * src/MultiDiskAdaptor.h
  6690. * src/MultiFileAllocationIterator.cc
  6691. * src/OptionHandlerFactory.cc
  6692. * src/OptionHandlerImpl.h
  6693. * src/Util.cc
  6694. * src/Util.h
  6695. * src/download_helper.cc
  6696. * src/prefs.cc
  6697. * src/prefs.h
  6698. * src/usage_text.h
  6699. * test/DefaultBtContextTest.cc
  6700. * test/MultiDiskAdaptorTest.cc
  6701. * test/MultiFileAllocationIteratorTest.cc
  6702. * test/UtilTest.cc
  6703. 2009-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6704. Use Util::pathJoin()
  6705. * src/MetalinkParserController.cc
  6706. * test/test.xml
  6707. 2009-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6708. Use Util::pathJoin()
  6709. * src/DefaultBtContext.cc
  6710. 2009-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6711. Added Util::pathJoin()
  6712. * src/Util.h
  6713. * test/UtilTest.cc
  6714. 2009-03-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6715. Applied basename function to remove directory element in
  6716. content-disposition value.
  6717. Return empty string if content-disposition value is ".." or ".".
  6718. * src/Util.cc
  6719. * test/UtilTest.cc
  6720. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6721. Added --max-overall-download-limit in man page.
  6722. Updated --max-overall-upload-limit, --max-download-limit option's doc.
  6723. * doc/aria2c.1.txt
  6724. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6725. Added --max-overall-download-limit option. Now --max-upload-limit
  6726. option is not ignored when --max-overall-upload-limit option has
  6727. non-zero value. aria2 checks download(upload) speed in the order:
  6728. first checks overall speed limit and if it is not exceeded, then
  6729. checks speed limit per download. Thus you can specify both
  6730. value. For example, set --max-overall-download-limit=1M and
  6731. --max-download-limit=500K to prevent from one download from eating
  6732. all overall speed limit.
  6733. * src/DefaultBtInteractive.cc
  6734. * src/DefaultBtInteractive.h
  6735. * src/DefaultBtMessageDispatcher.cc
  6736. * src/DefaultBtMessageDispatcher.h
  6737. * src/DownloadCommand.cc
  6738. * src/DownloadCommand.h
  6739. * src/FtpNegotiationCommand.cc
  6740. * src/HttpResponseCommand.cc
  6741. * src/OptionHandlerFactory.cc
  6742. * src/PeerInteractionCommand.cc
  6743. * src/RequestGroup.cc
  6744. * src/RequestGroup.h
  6745. * src/RequestGroupMan.cc
  6746. * src/RequestGroupMan.h
  6747. * src/prefs.cc
  6748. * src/prefs.h
  6749. * src/usage_text.h
  6750. * test/DefaultBtMessageDispatcherTest.cc
  6751. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6752. Documented select-file option in Input File section.
  6753. Documented --http-auth-challenge option.
  6754. * doc/aria2c.1.txt
  6755. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6756. Now select-file can be specified in the uri list(-i list).
  6757. * src/BtContext.cc
  6758. * src/BtContext.h
  6759. * src/RequestGroup.cc
  6760. * src/Sequence.h
  6761. * src/download_helper.cc
  6762. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6763. Made the upper value of --max-concurrent-downloads options unlimited.
  6764. * src/OptionHandlerFactory.cc
  6765. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6766. Fixed the bug that disk writer is not created even if it shares
  6767. same piece with the preceding file if the length of previous file
  6768. is 0.
  6769. * src/MultiDiskAdaptor.cc
  6770. * test/MultiDiskAdaptorTest.cc
  6771. 2009-02-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6772. In BitTorrent, Open files in read-only mode for hash check. After
  6773. that, re-open file in read/write mode only when the download is
  6774. not finished.
  6775. * src/AbstractDiskWriter.cc
  6776. * src/AbstractDiskWriter.h
  6777. * src/AbstractSingleDiskAdaptor.cc
  6778. * src/AbstractSingleDiskAdaptor.h
  6779. * src/BtCheckIntegrityEntry.cc
  6780. * src/DiskAdaptor.h
  6781. * src/DiskWriter.h
  6782. * src/MultiDiskAdaptor.cc
  6783. * src/MultiDiskAdaptor.h
  6784. * src/RequestGroup.cc
  6785. 2009-02-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6786. Added --http-auth-challenge option. If it is set to true(by
  6787. default), aria2 sends HTTP authorization header only when it is
  6788. requested by the server. If false is set, then authorization
  6789. header is always sent to the server. This is useful for servers
  6790. that don't respond 401 code when authentication is required.
  6791. There is an exception: if username and password are embedded in
  6792. URI, authorization header is always sent to the server regardless
  6793. of this option.
  6794. * src/AuthConfigFactory.cc
  6795. * src/HttpSkipResponseCommand.cc
  6796. * src/OptionHandlerFactory.cc
  6797. * src/prefs.cc
  6798. * src/prefs.h
  6799. * src/usage_text.h
  6800. * test/AuthConfigFactoryTest.cc
  6801. * test/HttpRequestTest.cc
  6802. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6803. * Release 1.2.0
  6804. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6805. Updated Spanish, Ukrainian, Russian and Japanese translations.
  6806. Thanks to all translators.
  6807. * po/es.po
  6808. * po/ja.po
  6809. * po/ru.po
  6810. * po/uk.po
  6811. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6812. Call deleteSocketForReadCheck() before socket is closed.
  6813. * src/HttpListenCommand.cc
  6814. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6815. Defined virtual destructor for BObject.
  6816. * src/bencode.h
  6817. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6818. Rewritten BDE to make it efficient.
  6819. * src/bencode.cc
  6820. * src/bencode.h
  6821. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6822. Removed function throw list.
  6823. * src/bencode.cc
  6824. * src/bencode.h
  6825. * test/BencodeTest.cc
  6826. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6827. Enclosed all URLs in double quotes in command-line examples.
  6828. * doc/aria2c.1.txt
  6829. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6830. Updated reference/see also section.
  6831. * README
  6832. * doc/aria2c.1.txt
  6833. 2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6834. Reorganized man page based on man man-pages.
  6835. * doc/aria2c.1.txt
  6836. 2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6837. Removed SERVER PERFORMANCE PROFILE and Configuration file section
  6838. because same documents are available in man page. Added
  6839. References section.
  6840. * README
  6841. 2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6842. Documented sc_avg_speed, mc_avg_speed and counter in SERVER
  6843. PERFORMANCE PROFILE section.
  6844. * doc/aria2c.1.txt
  6845. 2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6846. Rewritten the section for configuration file.
  6847. * README
  6848. * doc/aria2c.1.txt
  6849. 2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6850. Fixed the segmentation fault during execution of choking algorithm
  6851. in leecher state because of broken compare operator
  6852. implementation.
  6853. * src/BtLeecherStateChoke.cc
  6854. * src/BtLeecherStateChoke.h
  6855. 2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6856. Open file in binary mode.
  6857. * src/CookieStorage.cc
  6858. * src/DHTSetup.cc
  6859. * src/DHTUtil.cc
  6860. * src/Netrc.cc
  6861. * src/NsCookieParser.cc
  6862. * src/ProtocolDetector.cc
  6863. * src/RequestGroupMan.cc
  6864. * src/Signature.cc
  6865. * src/bencode.cc
  6866. * src/download_helper.cc
  6867. * src/option_processing.cc
  6868. * test/CookieParserTest.cc
  6869. * test/DefaultBtProgressInfoFileTest.cc
  6870. * test/FileTest.cc
  6871. * test/GZipDecoderTest.cc
  6872. * test/RequestGroupManTest.cc
  6873. * test/SignatureTest.cc
  6874. * test/SingleFileAllocationIteratorTest.cc
  6875. * test/UriListParserTest.cc
  6876. 2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6877. Removed operator[] because it is ambiguous with built-in []
  6878. operator.
  6879. * src/array_fun.h
  6880. 2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6881. Fixed compile error
  6882. * src/OptionParser.cc
  6883. 2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6884. Added missing call to arrayWrapperConst
  6885. * test/array_funTest.cc
  6886. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6887. Use array_wrapper instead of array_ptr.
  6888. * src/DHTRoutingTableDeserializer.cc
  6889. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6890. Removed template<typename S> array_ptr(const array_ptr<S>& s)
  6891. * src/array_fun.h
  6892. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6893. Added array_wrapper template.
  6894. * src/array_fun.h
  6895. * test/array_funTest.cc
  6896. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6897. Use operator T* of array_ptr.
  6898. * src/OptionParser.cc
  6899. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6900. Use localhost instead of 127.0.0.1
  6901. * test/FtpConnectionTest.cc
  6902. * test/MSEHandshakeTest.cc
  6903. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6904. Added operator T*
  6905. * src/array_fun.h
  6906. * test/array_funTest.cc
  6907. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6908. Use dynamically allocated char array to detect memory access
  6909. violation.
  6910. * src/DHTRoutingTableDeserializer.cc
  6911. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6912. Set struct sockaddr_in.sin_len if HAVE_SOCKADDR_IN_SIN_LEN is
  6913. defined.
  6914. * src/PeerMessageUtil.cc
  6915. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6916. Renamed HAVE_SOCKADDR_SIN_LEN as HAVE_SOCKADDR_IN_SIN_LEN
  6917. * configure.ac
  6918. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6919. Added a check to see struct sockaddr_in has sin_len member.
  6920. * configure.ac
  6921. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6922. Fixed buffer overrun.
  6923. * src/DHTRoutingTableDeserializer.cc
  6924. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6925. Added LL for long long int constant.
  6926. * test/FtpConnectionTest.cc
  6927. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6928. Casted to unsigned int to suppress compiler warning on netbsd.
  6929. * src/BtRuntime.h
  6930. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6931. Assign the value of tv.tv_sec to time_t timesec instead of giving
  6932. tv.tv_sec to localtime_r directly because tv.tv_sec may not be of
  6933. type time_t.
  6934. * src/SimpleLogger.cc
  6935. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6936. Added test for FtpConnection::receiveSizeResponse().
  6937. * test/FtpConnectionTest.cc
  6938. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6939. Fix epoll error on the old kernel 2.6.8 or ealier.
  6940. * src/EpollEventPoll.cc
  6941. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6942. Use Util::parseLLInt instead of sscanf for portability. The
  6943. conversion "%Lu" fails in Mac OSX which requires "%llu" instead.
  6944. * src/FtpConnection.cc
  6945. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6946. Fixed the bug that adding 0 length filter to BitfieldMan filters 1
  6947. block. It should not filter anything.
  6948. * src/BitfieldMan.cc
  6949. * src/ConsoleStatCalc.cc
  6950. * test/BitfieldManTest.cc
  6951. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6952. Fixed the bug that the boolean options that don't take arguments
  6953. don't work.
  6954. * src/OptionHandlerImpl.h
  6955. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6956. Fixed broken selected file BitTorrent download.
  6957. * src/MultiDiskAdaptor.cc
  6958. * test/MultiDiskAdaptorTest.cc
  6959. * test/MultiFileAllocationIteratorTest.cc
  6960. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6961. Fixed #define guard for EpollEventPoll
  6962. * src/EpollEventPoll.h
  6963. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6964. Wait 2 seconds. 1 second is sometimes not enough.
  6965. * test/TimeSeedCriteriaTest.cc
  6966. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6967. Use localhost instead of 127.0.0.1.
  6968. * test/DHTConnectionImplTest.cc
  6969. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6970. Suppressed compiler warning.
  6971. * src/AdaptiveURISelector.cc
  6972. * src/DefaultPieceStorage.cc
  6973. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6974. Defined virtual destructor.
  6975. * src/MetalinkParserState.h
  6976. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6977. Give NULL for second argument of getaddrinfo instead of "0".
  6978. * src/NameResolver.cc
  6979. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6980. Don't use Time::parse(buf, "%Y%m%d%H%M%S") because Mac OS X and
  6981. included strptime doesn't parse data for this format.
  6982. * src/FtpConnection.cc
  6983. * test/FtpConnectionTest.cc
  6984. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6985. Removed tests giving -1 for unsigned argument.
  6986. * test/SingleFileDownloadContextTest.cc
  6987. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6988. Don't use sha256 in tests because it might not be supported by the
  6989. SSL library.
  6990. * test/MetalinkProcessorTest.cc
  6991. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6992. Removed tests giving -1 for unsigned argument.
  6993. * test/AlphaNumberDecoratorTest
  6994. * test/BitfieldManTest.cc
  6995. * test/DefaultBtContextTest.cc
  6996. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6997. Fixed compile error without libcares when epoll is available.
  6998. * src/EpollEventPoll.cc
  6999. 2009-02-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7000. Included fstream instead of iostream.
  7001. * test/SignatureTest.cc
  7002. 2009-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7003. Removed #include <algorithm>
  7004. * test/RequestGroupTest.cc
  7005. 2009-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7006. Rewritten AdaptiveURISelector::mayRetryWithIncreasedTimeout()
  7007. using RequestGroup::extractURIResult().
  7008. * src/AdaptiveURISelector.cc
  7009. * src/RequestGroup.cc
  7010. * src/RequestGroup.h
  7011. * test/RequestGroupTest.cc
  7012. 2009-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7013. Added tests for array_ptr.
  7014. * test/array_funTest.cc
  7015. 2009-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7016. Don't send ip parameter to a tracker if ip parameter is empty
  7017. string.
  7018. * src/DefaultBtAnnounce.cc
  7019. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7020. Adjusted line feed.
  7021. * src/version_usage.cc
  7022. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7023. Print tags, possible values when OptionHandlerException is caught.
  7024. * src/option_processing.cc
  7025. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7026. Changed the message for FatalException.
  7027. * src/OptionParser.cc
  7028. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7029. Documented --bt-external-ip option in man page. Updated man pages
  7030. for --proxy-method option.
  7031. * doc/aria2c.1.txt
  7032. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7033. Use GET method for FTP via HTTP proxy.
  7034. * src/FtpInitiateConnectionCommand.cc
  7035. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7036. Changed the default value of --proxy-method option from 'tunnel'
  7037. to 'get'. Use 'tunnel' for HTTPS regardless of --proxy-method
  7038. option.
  7039. * src/AbstractCommand.cc
  7040. * src/AbstractCommand.h
  7041. * src/FtpInitiateConnectionCommand.cc
  7042. * src/HttpDownloadCommand.cc
  7043. * src/HttpInitiateConnectionCommand.cc
  7044. * src/HttpInitiateConnectionCommand.h
  7045. * src/OptionHandlerFactory.cc
  7046. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7047. Initialized _logger
  7048. * src/SelectEventPoll.cc
  7049. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7050. Defined a copy constructor for the same type.
  7051. * src/SharedHandle.h
  7052. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7053. Added OptionParser::parseArg() which internally uses getopt_long
  7054. to parse command-line options. All command-line options are now
  7055. configured by OptionHandler. No manual editing of struct option*
  7056. is required any more.
  7057. * src/NameMatchOptionHandler.h
  7058. * src/OptionHandler.h
  7059. * src/OptionHandlerFactory.cc
  7060. * src/OptionHandlerImpl.h
  7061. * src/OptionParser.cc
  7062. * src/OptionParser.h
  7063. * src/array_fun.h
  7064. * src/main.cc
  7065. * src/option_processing.cc
  7066. * test/OptionHandlerTest.cc
  7067. * test/OptionParserTest.cc
  7068. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7069. Fixed configure error with --disable-epoll
  7070. * configure.ac
  7071. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7072. Fixed compile error when HAVE_EPOLL is not defined.
  7073. Fixed linker error on bigendian systems.
  7074. * src/SocketCore.cc
  7075. * src/SocketCore.h
  7076. * test/DefaultBtProgressInfoFileTest.cc
  7077. 2009-02-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7078. Added --bt-external-ip option. You can specify the external IP
  7079. address to report to a BitTorrent tracker. Although this function
  7080. is named 'external', it can accept any kind of IP addresses.
  7081. * src/DefaultBtAnnounce.cc
  7082. * src/OptionHandlerFactory.cc
  7083. * src/option_processing.cc
  7084. * src/prefs.cc
  7085. * src/prefs.h
  7086. * src/usage_text.h
  7087. * test/DefaultBtAnnounceTest.cc
  7088. 2009-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7089. Extracted the algorithm to find the longest incremental sequence
  7090. as max_sequence template.
  7091. * src/LongestSequencePieceSelector.cc
  7092. * src/a2algo.h
  7093. * test/Makefile.am
  7094. * test/a2algoTest.cc
  7095. 2009-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7096. Removed TEXT_HTTP_SERVER_LISTEN_PORT from translation texts.
  7097. * src/usage_text.h
  7098. 2009-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7099. Updated doc for --uri-selector, --http-server-listen-port and
  7100. --enable-http-server option. Documented --event-poll option.
  7101. * doc/aria2c.1.txt
  7102. 2009-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7103. Updated doc for --enable-http-server.
  7104. * src/usage_text.h
  7105. 2009-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7106. Documented --http-server-listen-port and --enable-http-server in
  7107. man page.
  7108. * doc/aria2c.1.txt
  7109. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7110. Updated Spanish, Indonesian, Russian, Ukrainian and Italian
  7111. translations. Thanks to all translators.
  7112. * po/es.po
  7113. * po/id.po
  7114. * po/it.po
  7115. * po/ru.po
  7116. * po/uk.po
  7117. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7118. Bump up version number to 1.2.0
  7119. * configure.ac
  7120. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7121. BtContext::getAnnounceTiers() now returns const reference.
  7122. * src/BtContext.h
  7123. * src/DefaultBtContext.cc
  7124. * src/DefaultBtContext.h
  7125. * test/MockBtContext.h
  7126. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7127. Change the number of retries for tracker request based on the
  7128. number of available tracker in a torrent file.
  7129. * src/TrackerWatcherCommand.cc
  7130. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7131. Added _maxTries property to RequestGroup and assign the option
  7132. value of PREF_MAX_TRIES to it. AbstractCommand now looks up
  7133. RequestGroup::getMaxTries() instead of
  7134. Option::getAsInt(PREF_MAX_TRIES).
  7135. * src/AbstractCommand.cc
  7136. * src/RequestGroup.cc
  7137. * src/RequestGroup.h
  7138. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7139. Applied AdaptiveURISelector-timeout patch from Pascal Rigaux at
  7140. Mandriva. I modified the patch: make RequestGroup have the
  7141. timeout value and AdaptiveURISelector directly modifies that
  7142. value.
  7143. * src/AbstractCommand.cc
  7144. * src/AdaptiveURISelector.cc
  7145. * src/AdaptiveURISelector.h
  7146. * src/FtpNegotiationCommand.cc
  7147. * src/RequestGroup.cc
  7148. * src/RequestGroup.h
  7149. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7150. Fixed compiler warning
  7151. * test/IteratableChecksumValidatorTest.cc
  7152. 2009-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7153. Use LongestSequencePieceSelector for HTTP/FTP/BitTorrent
  7154. integrated downloads. This PieceSelector subclass finds the
  7155. longest continuous sequence in the available missing pieces and
  7156. selects the last index of such sequence. This makes HTTP/FTP
  7157. connections less interrupted by the pieces obtained by BitTorrent
  7158. peers.
  7159. * src/DefaultPieceStorage.cc
  7160. * src/DefaultPieceStorage.h
  7161. * src/LongestSequencePieceSelector.cc
  7162. * src/LongestSequencePieceSelector.h
  7163. * src/Makefile.am
  7164. * src/PieceSelector.h
  7165. * src/RarestPieceSelector.h
  7166. * src/RequestGroup.cc
  7167. * test/BtDependencyTest.cc
  7168. * test/DefaultPieceStorageTest.cc
  7169. * test/IteratableChecksumValidatorTest.cc
  7170. * test/LongestSequencePieceSelectorTest.cc
  7171. * test/Makefile.am
  7172. * test/SegmentManTest.cc
  7173. 2009-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7174. Fixed the bug that the average speed is wrong in
  7175. http/ftp/BitTorrent integrated download. Only the download bytes
  7176. in BitTorrent were considered.
  7177. * src/RequestGroup.cc
  7178. 2009-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7179. Choose port for BitTorrent/DHT randomly from the specified range.
  7180. * src/DHTConnectionImpl.cc
  7181. * src/PeerListenCommand.cc
  7182. 2009-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7183. Send HTTP Authorization header only if it is requested by the
  7184. server(response 401). There are some exceptions. The authorization
  7185. header for proxy is always sent if it is available without request
  7186. by the server. If username/password is specified in the URI, it
  7187. is immediately sent to the server without request by the server.
  7188. AbstractAuthResolver::_defaultAuthConfig is now initialized as
  7189. SharedHandle<AuthConfig>().
  7190. NetrcAuthResolver::resolveAuthConfig() returns
  7191. SharedHandle<AuthConfig>() if no AuthConfig is available.
  7192. * src/AbstractAuthResolver.cc
  7193. * src/AbstractProxyRequestCommand.cc
  7194. * src/AuthConfigFactory.cc
  7195. * src/AuthConfigFactory.h
  7196. * src/HttpConnection.cc
  7197. * src/HttpRequest.cc
  7198. * src/HttpRequest.h
  7199. * src/HttpResponse.cc
  7200. * src/HttpResponseCommand.cc
  7201. * src/HttpSkipResponseCommand.cc
  7202. * test/AuthConfigFactoryTest.cc
  7203. * test/HttpRequestTest.cc
  7204. * test/HttpResponseTest.cc
  7205. 2009-01-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7206. Remove leading "--" from help keyword and a substring after "="
  7207. from help keyword, so that one can query options by '-h--max-' or
  7208. '-hmax-peers=10'.
  7209. * src/option_processing.cc
  7210. 2009-01-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7211. Rewritten PStringVisitor and its implementation.
  7212. * src/PStringBuildVisitor.cc
  7213. * src/PStringBuildVisitor.h
  7214. * src/PStringDatum.h
  7215. * src/PStringNumLoop.h
  7216. * src/PStringSegment.cc
  7217. * src/PStringSegment.h
  7218. * src/PStringSelect.h
  7219. * src/PStringVisitor.h
  7220. * src/download_helper.cc
  7221. * test/PStringBuildVisitorTest.cc
  7222. * test/ParameterizedStringParserTest.cc
  7223. 2009-01-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7224. Persist connection between the built-in HTTP server and a client
  7225. if a client supports keep-alive. Fixed the bug that aria2 exits
  7226. when the HTTP server receives EOF from a client.
  7227. * src/HttpServer.cc
  7228. * src/HttpServer.h
  7229. * src/HttpServerCommand.cc
  7230. * src/HttpServerCommand.h
  7231. * src/HttpServerResponseCommand.cc
  7232. 2009-01-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7233. Added experimental built-in HTTP server. Currently, when a client
  7234. accesses to the server, it responds with the current download
  7235. progress. By default, it is disabled. To enable the server, give
  7236. --enable-http-server option. To change the default port number
  7237. for the server to listen to, use --http-server-listen-port option.
  7238. The response HTML is very simple and refreshes it self each 1
  7239. second. Because of this refresh, you see flicker in normal web
  7240. browser such as Firefox. I recommend to use console-based browser
  7241. such as elinks, w3m. To connect to the server, run 'elinks
  7242. http://localhost:6800/' while running aria2. Please replace port
  7243. number '6800'(which is default) with your preference.
  7244. * src/DownloadEngineFactory.cc
  7245. * src/HttpHeader.cc
  7246. * src/HttpHeader.h
  7247. * src/HttpHeaderProcessor.cc
  7248. * src/HttpHeaderProcessor.h
  7249. * src/HttpListenCommand.cc
  7250. * src/HttpListenCommand.h
  7251. * src/HttpServer.cc
  7252. * src/HttpServer.h
  7253. * src/HttpServerCommand.cc
  7254. * src/HttpServerCommand.h
  7255. * src/HttpServerResponseCommand.cc
  7256. * src/HttpServerResponseCommand.h
  7257. * src/Makefile.am
  7258. * src/OptionHandlerFactory.cc
  7259. * src/Util.cc
  7260. * src/Util.h
  7261. * src/help_tags.h
  7262. * src/option_processing.cc
  7263. * src/prefs.cc
  7264. * src/prefs.h
  7265. * src/usage_text.h
  7266. * test/HttpHeaderProcessorTest.cc
  7267. * test/UtilTest.cc
  7268. 2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7269. Removed.
  7270. * src/CheckIntegrityMan.cc
  7271. * src/FileAllocationMan.cc
  7272. 2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7273. Made (piece) hash check sequential for each RequestGroup because
  7274. simultaneous hash check is slower than sequential execution.
  7275. * src/CheckIntegrityCommand.cc
  7276. * src/CheckIntegrityDispatcherCommand.cc
  7277. * src/CheckIntegrityDispatcherCommand.h
  7278. * src/CheckIntegrityMan.h
  7279. * src/ConsoleStatCalc.cc
  7280. * src/DownloadCommand.cc
  7281. * src/DownloadEngine.cc
  7282. * src/DownloadEngine.h
  7283. * src/DownloadEngineFactory.cc
  7284. * src/Makefile.am
  7285. * src/Makefile.in
  7286. * src/RequestGroup.cc
  7287. * src/StatCalc.h
  7288. 2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7289. Moved setStatusRealtime() from FileAllocationDispatcherCommand to
  7290. SequentialDispatcherCommand.
  7291. * src/FileAllocationDispatcherCommand.cc
  7292. * src/SequentialDispatcherCommand.h
  7293. 2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7294. Rewritten FileAllocationDispatcherCommand using brand new
  7295. SequentialDispatcherCommand.
  7296. * src/DownloadEngineFactory.cc
  7297. * src/FileAllocationCommand.cc
  7298. * src/FileAllocationDispatcherCommand.cc
  7299. * src/FileAllocationDispatcherCommand.h
  7300. * src/Makefile.am
  7301. * src/SequentialDispatcherCommand.h
  7302. 2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7303. Replaced FileAllocationMan with
  7304. SequentialPicker<FileAllocationEntry>.
  7305. * src/BtCheckIntegrityEntry.cc
  7306. * src/ConsoleStatCalc.cc
  7307. * src/DownloadEngine.cc
  7308. * src/DownloadEngine.h
  7309. * src/DownloadEngineFactory.cc
  7310. * src/FileAllocationCommand.cc
  7311. * src/FileAllocationDispatcherCommand.cc
  7312. * src/FileAllocationMan.h
  7313. * src/Makefile.am
  7314. * src/SequentialPicker.h
  7315. * src/StatCalc.h
  7316. * src/StreamCheckIntegrityEntry.cc
  7317. * test/Makefile.am
  7318. * test/SequentialPickerTest.cc
  7319. 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7320. Added doc for adaptive URI selector.
  7321. * doc/aria2c.1.txt
  7322. 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7323. Added doc for adaptive URI selector.
  7324. * src/usage_text.h
  7325. 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7326. Added doc for --bt-max-peers option.
  7327. * doc/aria2c.1.txt
  7328. 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7329. Added doc for --bt-hash-check-seed option.
  7330. * doc/aria2c.1.txt
  7331. 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7332. Documented exit codes.
  7333. * doc/aria2c.1.txt
  7334. 2009-01-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7335. Added --bt-max-peers option to specify the maximum number of peers
  7336. per torrent. 0 means unlimited number of peers.
  7337. * src/ActivePeerConnectionCommand.cc
  7338. * src/BtRuntime.h
  7339. * src/DefaultPeerStorage.cc
  7340. * src/DefaultPeerStorage.h
  7341. * src/OptionHandlerFactory.cc
  7342. * src/RequestGroup.cc
  7343. * src/option_processing.cc
  7344. * src/prefs.cc
  7345. * src/prefs.h
  7346. * src/usage_text.h
  7347. * test/DefaultPeerStorageTest.cc
  7348. 2009-01-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7349. Added --bt-hash-check-seed option. If true is given to this
  7350. option, after hash check using --check-integrity option and file
  7351. is complete, continue to seed file. If you want to check file and
  7352. download it only when it is damaged or incomplete, set this option
  7353. to false. This option has effect only on BitTorrent download.
  7354. The default value is true(This is the same behavior with the
  7355. previous release).
  7356. * src/BtCheckIntegrityEntry.cc
  7357. * src/OptionHandlerFactory.cc
  7358. * src/option_processing.cc
  7359. * src/prefs.cc
  7360. * src/prefs.h
  7361. * src/usage_text.h
  7362. 2009-01-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7363. Updated copyright year.
  7364. * src/version_usage.cc
  7365. 2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7366. Rewritten the usage text for --bt-request-peer-speed-limit option.
  7367. * doc/aria2c.1.txt
  7368. * src/usage_text.h
  7369. 2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7370. Made the max value of split option unlimited.
  7371. * doc/aria2c.1.txt
  7372. * src/OptionHandlerFactory.cc
  7373. 2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7374. Fixed compile warning/error.
  7375. * src/DownloadResult.h
  7376. * src/HttpDownloadCommand.cc
  7377. * src/ServerStat.cc
  7378. * test/RequestGroupTest.cc
  7379. 2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7380. Added --event-poll option to select the method for polling events.
  7381. The available methods are "select" and "epoll". "epoll" is
  7382. available on Linux only. The earlier release has the compile
  7383. option to choose from these methods.
  7384. * configure.ac
  7385. * src/RequestGroupMan.cc
  7386. * src/OptionHandlerFactory.cc
  7387. * src/EpollEventPoll.h
  7388. * src/StreamFileAllocationEntry.cc
  7389. * src/a2io.h
  7390. * src/SelectEventPoll.h
  7391. * src/option_processing.cc
  7392. * src/prefs.h
  7393. * src/EpollEventPoll.cc
  7394. * src/EventPoll.h
  7395. * src/SocketCore.h
  7396. * src/Makefile.am
  7397. * src/main.cc
  7398. * src/DownloadEngine.h
  7399. * src/SelectEventPoll.cc
  7400. * src/DownloadEngine.cc
  7401. * src/SocketCore.cc
  7402. * src/DownloadEngineFactory.cc
  7403. * src/Makefile.in
  7404. * src/prefs.cc
  7405. * src/usage_text.h
  7406. 2009-01-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7407. Included RecoverableException.h from main.cc
  7408. * src/main.cc
  7409. 2009-01-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7410. Applied exit-status patch from Pascal Rigaux at Mandriva. aria2
  7411. now returns last error encountered in the HTTP/FTP downloads as a
  7412. exit status value. If all downloads finished successfully, aria2
  7413. returns 0. The error code is defined in src/DownloadResult.h.
  7414. The error occurred in the download currently in progress is not
  7415. reported as a last error. If no error has encountered but there
  7416. are in progress or waiting downloads, aria2 returns 7.
  7417. * src/AbstractCommand.cc
  7418. * src/DlAbortEx.h
  7419. * src/DlRetryEx.h
  7420. * src/DownloadCommand.cc
  7421. * src/DownloadFailureException.h
  7422. * src/DownloadResult.h
  7423. * src/FtpNegotiationCommand.cc
  7424. * src/HttpSkipResponseCommand.cc
  7425. * src/Makefile.am
  7426. * src/MultiUrlRequestInfo.cc
  7427. * src/MultiUrlRequestInfo.h
  7428. * src/RecoverableException.h
  7429. * src/RequestGroup.cc
  7430. * src/RequestGroup.h
  7431. * src/RequestGroupMan.cc
  7432. * src/RequestGroupMan.h
  7433. * src/URIResult.cc
  7434. * src/URIResult.h
  7435. * src/main.cc
  7436. * src/option_processing.cc
  7437. * test/RequestGroupTest.cc
  7438. 2009-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7439. Applied AdaptiveURISelector patch from Aurelien Lefebvre. This
  7440. patch adds AdaptiveURISelector, which selects one of the bests
  7441. mirrors for first and reserved connections. For supplementary
  7442. ones, it returns mirrors which has not been tested yet, and if
  7443. each of them already tested, returns mirrors which has to be
  7444. tested again. Otherwise, it doesn't return anymore mirrors.
  7445. * src/AdaptiveURISelector.cc
  7446. * src/AdaptiveURISelector.h
  7447. * src/FtpNegotiationCommand.cc
  7448. * src/HttpResponseCommand.cc
  7449. * src/Makefile.am
  7450. * src/Makefile.in
  7451. * src/OptionHandlerFactory.cc
  7452. * src/RequestGroup.cc
  7453. * src/RequestGroup.h
  7454. * src/RequestGroupMan.cc
  7455. * src/ServerStat.cc
  7456. * src/ServerStat.h
  7457. * src/ServerStatMan.cc
  7458. * src/SpeedCalc.cc
  7459. * src/URISelector.h
  7460. * src/prefs.cc
  7461. * src/prefs.h
  7462. * test/RequestGroupManTest.cc
  7463. * test/ServerStatManTest.cc
  7464. * test/ServerStatTest.cc
  7465. 2009-01-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7466. Fixed unit test error.
  7467. * test/HttpResponseTest.cc (HttpResponseTest::testRetrieveCookie)
  7468. 2008-12-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7469. * Release 1.1.2
  7470. 2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7471. Updated Russian translation. Thanks to the translators.
  7472. * po/ru.po
  7473. 2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7474. Added the description of --use-head option to man page.
  7475. * doc/aria2c.1.txt
  7476. 2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7477. Bump up version number to 1.1.2
  7478. * configure.ac
  7479. 2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7480. Added --use-head option to toggle whether HEAD method should be
  7481. used in the first HTTP request. By default aria2 uses HEAD method
  7482. as the first request. When the server doesn't recognize HEAD, then
  7483. give aria2 --use-head=false to force aria2 to use GET method
  7484. instead.
  7485. * src/OptionHandlerFactory.cc
  7486. * src/RequestGroupMan.cc
  7487. * src/option_processing.cc
  7488. * src/prefs.cc
  7489. * src/prefs.h
  7490. * src/usage_text.h
  7491. 2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7492. Fixed the bug that BitTorrent download doesn't finish when REJECT
  7493. message is received before CHOKE message. The old implementation
  7494. doen't clear the use-bit of the piece when recieved REJECT
  7495. message.
  7496. * src/DefaultBtMessageDispatcher.cc
  7497. * test/DefaultBtMessageDispatcherTest.cc
  7498. 2008-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7499. * Release 1.1.1
  7500. 2008-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7501. Bump up version number to 1.1.1.
  7502. * configure.ac
  7503. 2008-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7504. Fixed the bug that --summary-interval=0 doesn't work. The summary
  7505. is printed repeatedly.
  7506. * src/ConsoleStatCalc.cc
  7507. 2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7508. * Release 1.1.0
  7509. 2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7510. Added ifdef clause for conditional compilation.
  7511. * src/main.cc
  7512. 2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7513. Updated Russian, Simplified Chinese, Ukrainian and Japanese
  7514. translations. Thanks to all translators.
  7515. * po/ja.po
  7516. * po/ru.po
  7517. * po/uk.po
  7518. * po/zh_CN.po
  7519. 2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7520. Added the preceding ">>> " before the message "Printing the
  7521. contents of file..." to make the output more readable.
  7522. * src/main.cc
  7523. 2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7524. Added try-catch block in the loop in showFiles() to continue the
  7525. operation even if the exception occurred in one file.
  7526. * src/main.cc (showFiles)
  7527. 2008-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7528. Made messages in showFiles() translatable.
  7529. * po/aria2.pot
  7530. * src/main.cc
  7531. * src/message.h
  7532. 2008-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7533. Print the contents of Torrent/Metalink files are printed without
  7534. -T/-M options.
  7535. * src/main.cc
  7536. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7537. Escaped '--' with '\--'
  7538. * README
  7539. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7540. Updated "How to build" section in README. Mentioned about
  7541. --with-ca-bundle compile option.
  7542. * README
  7543. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7544. Bump up version number to 1.1.0.
  7545. * configure.ac
  7546. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7547. Added a note for --dht-listen-port option.
  7548. * doc/aria2c.1.txt
  7549. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7550. Update doc for --realtime-chunk-checksum option.
  7551. * doc/aria2c.1.txt
  7552. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7553. Update doc for --realtime-chunk-checksum option.
  7554. * src/usage_text.h
  7555. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7556. Updated French, Japanese, Russian and Ukrainian translations.
  7557. Thanks to all translators.
  7558. * po/fr.po
  7559. * po/ja.po
  7560. * po/ru.po
  7561. * po/uk.po
  7562. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7563. Renamed aria2c.pot to aria2.pot
  7564. * po/aria2.pot
  7565. * po/aria2c.pot: Removed.
  7566. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7567. Removed MetaEntry.h
  7568. * src/Makefile.am
  7569. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7570. Rename file by appending digits if a local file exists and its
  7571. file size is larger than that of remote file with --continue
  7572. option. The old implementation just throws exception in such case.
  7573. * src/RequestGroup.cc
  7574. 2008-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7575. Fixed the bug that download progress summary is not printed in the
  7576. interval specified by the option.
  7577. * src/ConsoleStatCalc.cc
  7578. * src/ConsoleStatCalc.h
  7579. 2008-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7580. Fixed compiler warning
  7581. * src/Cookie.cc
  7582. 2008-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7583. Fixed the cookie implementation based on RFC2965.
  7584. Now if a value in domain field is not started with dot, then
  7585. prepend dot. That means a cookie with domain=sf.net is sent to
  7586. wiki.sf.net.
  7587. * src/Cookie.cc
  7588. * test/CookieParserTest.cc
  7589. * test/CookieStorageTest.cc
  7590. * test/CookieTest.cc
  7591. * test/NsCookieParserTest.cc
  7592. * test/Sqlite3MozCookieParserTest.cc
  7593. 2008-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7594. Fixed the bug that causes corrupted downloads if HTTP pipelining
  7595. is enabled and the server doesn't support keep-alive.
  7596. * src/AbstractCommand.cc
  7597. * src/DownloadCommand.cc
  7598. * src/HttpDownloadCommand.cc
  7599. * src/HttpDownloadCommand.h
  7600. * src/HttpResponseCommand.cc
  7601. * src/Request.cc
  7602. * src/Request.h
  7603. * test/RequestTest.cc
  7604. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7605. Removed Dictionary/List/Data and its related classes.
  7606. * src/BencodeVisitor.cc: Removed.
  7607. * src/BencodeVisitor.h: Removed.
  7608. * src/Data.cc: Removed.
  7609. * src/Data.h: Removed.
  7610. * src/Dictionary.cc: Removed.
  7611. * src/Dictionary.h: Removed.
  7612. * src/List.cc: Removed.
  7613. * src/List.h: Removed.
  7614. * src/Makefile.am
  7615. * src/MetaEntry.h: Removed.
  7616. * src/MetaEntryVisitor.h: Removed.
  7617. * src/MetaFileUtil.cc: Removed.
  7618. * src/MetaFileUtil.h: Removed.
  7619. * test/BencodeVisitorTest.cc: Removed.
  7620. * test/DataTest.cc: Removed.
  7621. * test/DictionaryTest.cc: Removed.
  7622. * test/ListTest.cc: Removed.
  7623. * test/Makefile.am
  7624. * test/MetaFileUtilTest.cc: Removed.
  7625. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7626. Removed include of MetaEntry.h
  7627. * test/DHTMessageTrackerEntryTest.cc
  7628. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7629. Use BDE instead of Dictionary/List/Data.
  7630. * src/AnnounceList.cc
  7631. * src/AnnounceList.h
  7632. * test/AnnounceListTest.cc
  7633. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7634. Use BDE instead of Dictionary/List/Data.
  7635. * src/DHTAbstractMessage.cc
  7636. * src/DHTAbstractMessage.h
  7637. * src/DHTAnnouncePeerMessage.cc
  7638. * src/DHTAnnouncePeerMessage.h
  7639. * src/DHTAnnouncePeerReplyMessage.cc
  7640. * src/DHTAnnouncePeerReplyMessage.h
  7641. * src/DHTFindNodeMessage.cc
  7642. * src/DHTFindNodeMessage.h
  7643. * src/DHTFindNodeReplyMessage.cc
  7644. * src/DHTFindNodeReplyMessage.h
  7645. * src/DHTGetPeersMessage.cc
  7646. * src/DHTGetPeersMessage.h
  7647. * src/DHTGetPeersReplyMessage.cc
  7648. * src/DHTGetPeersReplyMessage.h
  7649. * src/DHTMessageFactory.h
  7650. * src/DHTMessageFactoryImpl.cc
  7651. * src/DHTMessageFactoryImpl.h
  7652. * src/DHTMessageReceiver.cc
  7653. * src/DHTMessageTracker.cc
  7654. * src/DHTMessageTracker.h
  7655. * src/DHTPingMessage.cc
  7656. * src/DHTPingMessage.h
  7657. * src/DHTPingReplyMessage.cc
  7658. * src/DHTPingReplyMessage.h
  7659. * src/DHTQueryMessage.cc
  7660. * src/DHTQueryMessage.h
  7661. * src/DHTResponseMessage.cc
  7662. * src/DHTResponseMessage.h
  7663. * test/DHTAnnouncePeerMessageTest.cc
  7664. * test/DHTAnnouncePeerReplyMessageTest.cc
  7665. * test/DHTFindNodeMessageTest.cc
  7666. * test/DHTFindNodeReplyMessageTest.cc
  7667. * test/DHTGetPeersMessageTest.cc
  7668. * test/DHTGetPeersReplyMessageTest.cc
  7669. * test/DHTMessageFactoryImplTest.cc
  7670. * test/DHTMessageTrackerTest.cc
  7671. * test/DHTPingMessageTest.cc
  7672. * test/DHTPingReplyMessageTest.cc
  7673. * test/MockDHTMessageFactory.h
  7674. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7675. Added tests the case where length < 0 is specified.
  7676. * test/BencodeTest.cc
  7677. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7678. Fixed memory leak in decoderawstring()
  7679. * src/bencode.cc
  7680. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7681. Added missing #ifdef guard. Added uc() function for String and
  7682. removeKey() for Dict.
  7683. * src/bencode.cc
  7684. * src/bencode.h
  7685. * test/BencodeTest.cc
  7686. 2008-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7687. Use BDE instead of Dictionary/List/Data.
  7688. * src/HandshakeExtensionMessage.cc
  7689. * src/HandshakeExtensionMessage.h
  7690. * test/HandshakeExtensionMessageTest.cc
  7691. 2008-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7692. Added --max-overall-upload-limit option. This option limits the
  7693. overall upload speed. Stated in help message that the existing
  7694. --max-upload-limit option limits the upload speed per each
  7695. torrent. Man page is also updated.
  7696. * doc/aria2c.1.txt
  7697. * src/DefaultBtMessageDispatcher.cc
  7698. * src/DefaultBtMessageDispatcher.h
  7699. * src/OptionHandlerFactory.cc
  7700. * src/PeerInteractionCommand.cc
  7701. * src/option_processing.cc
  7702. * src/prefs.cc
  7703. * src/prefs.h
  7704. * src/usage_text.h
  7705. 2008-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7706. Use BDE instead of Dictionary/List/Data classes.
  7707. * src/CompactPeerListProcessor.cc
  7708. * src/CompactPeerListProcessor.h
  7709. * src/DefaultBtAnnounce.cc
  7710. * src/DefaultBtContext.cc
  7711. * src/DefaultBtContext.h
  7712. * src/DefaultPeerListProcessor.cc
  7713. * src/DefaultPeerListProcessor.h
  7714. * src/DelegatingPeerListProcessor.cc
  7715. * src/DelegatingPeerListProcessor.h
  7716. * src/PeerListProcessor.h
  7717. * src/UTPexExtensionMessage.cc
  7718. * src/Util.h
  7719. * src/message.h
  7720. * test/DefaultBtContextTest.cc
  7721. * test/DefaultPeerListProcessorTest.cc
  7722. 2008-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7723. Added bencode helper functions and BDE class.
  7724. They will replace MetaFileUtil and Dictionary/List/Data classes.
  7725. * src/Makefile.am
  7726. * src/bencode.cc
  7727. * src/bencode.h
  7728. * test/BencodeTest.cc
  7729. * test/Makefile.am
  7730. 2008-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7731. Fixed the bug that bad URI is sent to the tracker when the announe
  7732. URI in torrent file includes query.
  7733. * src/DefaultBtAnnounce.cc
  7734. * test/DefaultBtAnnounceTest.cc
  7735. 2008-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7736. Added Option::blank().
  7737. Use !Option::blank(name) instead of Option::defined(name) for
  7738. the options that take filename.
  7739. * src/MultiUrlRequestInfo.cc
  7740. * src/Option.cc
  7741. * src/Option.h
  7742. * src/main.cc
  7743. * src/option_processing.cc
  7744. * test/OptionTest.cc
  7745. 2008-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7746. Documented the default value of --check-certificate option in man
  7747. page.
  7748. * doc/aria2c.1.txt
  7749. 2008-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7750. Enabled --check-certificate by default. Added compile
  7751. time(configure) option --with-ca-bundle to specify CA bundle.
  7752. Warn if --check-certificate=true and --ca-certificate is not
  7753. specified or loading CA certificate is failed.
  7754. * configure.ac
  7755. * src/MultiUrlRequestInfo.cc
  7756. * src/OptionHandlerFactory.cc
  7757. * src/message.h
  7758. 2008-12-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7759. Mentioned https tag in help option.
  7760. * doc/aria2c.1.txt
  7761. 2008-12-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7762. Added `https' tag to help option category. Added https tag to
  7763. --ca-certificate, --certificate, --check-certificate and
  7764. --private-key option.
  7765. * src/OptionHandlerFactory.cc
  7766. * src/help_tags.h
  7767. * src/option_processing.cc
  7768. 2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7769. Changed the package name from `aria2c' to `aria2' in order to fix
  7770. the packaging issue in Debian and Fedora. The name of the
  7771. executable is not changed.
  7772. * configure.ac
  7773. 2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7774. Fixed typos
  7775. * src/usage_text.h
  7776. 2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7777. Fixed typos and updated doc.
  7778. * README
  7779. 2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7780. Fixed typos
  7781. * doc/aria2c.1.txt
  7782. 2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7783. Fixed typos
  7784. * src/usage_text.h
  7785. 2008-11-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7786. Print a message when no files to download.
  7787. * src/download_helper.cc
  7788. * src/main.cc
  7789. * src/message.h
  7790. 2008-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7791. RFC3986 complied Percent-Encoding(urlencode).
  7792. Use uppercase hexadecimal digits for encoded text instead of lowercase
  7793. ones.
  7794. * src/Request.cc
  7795. * src/Util.cc
  7796. * src/Util.h
  7797. * test/BtHandshakeMessageTest.cc
  7798. * test/DefaultBtAnnounceTest.cc
  7799. * test/DefaultBtContextTest.cc
  7800. * test/RequestTest.cc
  7801. * test/UtilTest.cc
  7802. 2008-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7803. Fixed the bug that prevents aria2 from downloading 0-length files
  7804. via HTTP/FTP.
  7805. * src/DefaultBtContext.cc
  7806. * src/DefaultBtContext.h
  7807. * src/DownloadContext.h
  7808. * src/FtpNegotiationCommand.cc
  7809. * src/HttpResponseCommand.cc
  7810. * src/HttpResponseCommand.h
  7811. * src/RequestGroup.cc
  7812. * src/SingleFileDownloadContext.cc
  7813. * src/SingleFileDownloadContext.h
  7814. * test/BtPostDownloadHandlerTest.cc
  7815. * test/MetalinkPostDownloadHandlerTest.cc
  7816. * test/MockBtContext.h
  7817. 2008-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7818. Fixed the bug that -pfalse and -ptrue are not recognized properly.
  7819. * src/option_processing.cc
  7820. 2008-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7821. Applied aria2-1.0.1-mingw.patch.
  7822. Use SOCKET_ERRNO instead of errno if the code is used both linux and
  7823. mingw.
  7824. Collected 4th and 5th argument types for getsockopt and setsockopt.
  7825. * src/SocketCore.cc
  7826. * src/a2netcompat.h
  7827. * test/SocketCoreTest.cc
  7828. 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7829. * Release 1.0.1
  7830. 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7831. Updated Ukrainian and Norwegian Nynorsk translations.
  7832. Thanks to all translators.
  7833. * po/nn.po
  7834. * po/uk.po
  7835. 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7836. Don't show download result when -S option is used.
  7837. * src/main.cc
  7838. 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7839. Bump up version number to 1.0.1
  7840. * configure.ac
  7841. 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7842. Closed files after the test cases in MultiDiskWriterTest::
  7843. testResetDiskWriterEntries(). This will fix the unit test error
  7844. in mingw32 build.
  7845. * test/MultiDiskWriterTest.cc
  7846. 2008-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7847. Use HEAD method to get file size from HTTP server for segmented
  7848. downloading.
  7849. The request to the BitTorrent Tracker always uses GET method because
  7850. the response of the tracker is small and it doesn't need segmented
  7851. download.
  7852. * src/FtpNegotiationCommand.cc
  7853. * src/HttpRequest.cc
  7854. * src/HttpResponseCommand.cc
  7855. * src/HttpSkipResponseCommand.cc
  7856. * src/RequestGroup.cc
  7857. * src/RequestGroup.h
  7858. * src/TrackerWatcherCommand.cc
  7859. * test/HttpRequestTest.cc
  7860. 2008-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7861. Fixed the bug that causes floating exception when -T option is used and
  7862. no URIs are given.
  7863. * src/download_helper.cc
  7864. * test/DownloadHelperTest.cc
  7865. 2008-11-22 Ross Smith II <aria2spam at smithii dot com>
  7866. Applied aria2-1.0.0-mingw-r5.patch to fix numerous compile/unit test
  7867. errors in MinGW:
  7868. Closed file after saving server stats (RequestGroupMan.cc)
  7869. Fixed time parsing if internal strptime() is missing (FtpConnection.cc)
  7870. Ignored case & handled 2-digit years (strptime.c)
  7871. Added missing suseconds_t definition (a2time.h)
  7872. Fixed socket CLOSE() define (SocketCore.cc)
  7873. Changed EINPROGRESS to A2_EINPROGRESS (SocketCore.cc)
  7874. Changed utime() test values from x000 to x00000 as MinGW failed on
  7875. values less than timezone offset from Unix epoch
  7876. Changed 'struct stat' to 'a2_struct_stat' (FileTest.cc)
  7877. Added waitRead() call prior to reading socket (FtpConnectionTest.cc)
  7878. Changed date from 01-Jan-1960 to 01-Jan-1970 00:00:01 as MinGW can't
  7879. handle negative dates (CookieParserTest.cc)
  7880. * src/a2time.h
  7881. * src/FtpConnection.cc
  7882. * src/RequestGroupMan.cc
  7883. * src/SocketCore.cc
  7884. * src/strptime.c
  7885. * test/CookieParserTest.cc
  7886. * test/CopyDiskAdaptorTest.cc
  7887. * test/FileTest.cc
  7888. * test/FtpConnectionTest.cc
  7889. * test/MultiDiskAdaptorTest.cc
  7890. 2008-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7891. Fixed typo in "OPTIONS THAT TAKE AN OPTIONAL ARGUMENT" section.
  7892. * doc/aria2c.1.txt
  7893. 2008-11-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7894. * Release 1.0.0
  7895. 2008-11-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7896. Added '~' to reserved characters.
  7897. * src/Util.cc
  7898. 2008-11-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7899. Do not urlencode Request::url in setUrl() because we want unmodified
  7900. URL using Request::getUrl()
  7901. * src/Request.cc
  7902. * src/Request.h
  7903. * test/RequestTest.cc
  7904. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7905. Updated Ukrainian, Japanese, Bulgarian, Russian and French translations.
  7906. Thanks to all translators.
  7907. * po/bg.po
  7908. * po/fr.po
  7909. * po/ja.po
  7910. * po/ru.po
  7911. * po/uk.po
  7912. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7913. Bump up version number to 1.0.0
  7914. * configure.ac
  7915. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7916. Added nosqlite3 build to build_test.sh.
  7917. Renamed noxml as expat.
  7918. * build_test.sh
  7919. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7920. Updated INPUT FILE section.
  7921. * doc/aria2c.1.txt
  7922. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7923. Excluded testLoad_compat() and testLoad_nonBt_compat() when compiled
  7924. on big endian systems because test .aria2 files are made for little
  7925. endian systems.
  7926. * test/DefaultBtProgressInfoFileTest.cc
  7927. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7928. Dropped ares support.
  7929. * README
  7930. * configure.ac
  7931. * m4/libares.m4: Removed.
  7932. * src/AsyncNameResolver.cc
  7933. * src/Makefile.am
  7934. * test/Makefile.am
  7935. 2008-11-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7936. Rewritten ByteArrayDiskWriter::size() using seekg() and tellg().
  7937. Removed const qualifier from DiskWriter::size().
  7938. * src/AbstractDiskWriter.cc
  7939. * src/AbstractDiskWriter.h
  7940. * src/ByteArrayDiskWriter.cc
  7941. * src/ByteArrayDiskWriter.h
  7942. * src/DiskWriter.h
  7943. * test/ByteArrayDiskWriterTest.cc
  7944. 2008-11-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7945. Fixed the bug that causes segmentation fault/bus error during executing
  7946. choking algorithm while seeding. This is caused by improper
  7947. implementation of compare function which returns inconsistent results
  7948. depending on the timing of last unchoke.
  7949. * src/BtSeederStateChoke.cc
  7950. * src/BtSeederStateChoke.h
  7951. * src/DefaultPeerStorage.cc
  7952. 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7953. Removed TODO
  7954. * TODO
  7955. 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7956. Added a section that explains how to pass argument to options that
  7957. takes optional arguments with its short form.
  7958. * doc/aria2c.1.txt
  7959. 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7960. Added -u for the short form of --max-upload-limit option.
  7961. * doc/aria2c.1.txt
  7962. * src/option_processing.cc
  7963. * src/usage_text.h
  7964. 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7965. Added -V for the short form of --check-integrity option.
  7966. Now the argument of --check-integrity option is optional:
  7967. if it is omitted, it is evaluated as true.
  7968. * doc/aria2c.1.txt
  7969. * src/option_processing.cc
  7970. * src/usage_text.h
  7971. 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7972. Made the default value of --ftp-pasv option set to true and it can take
  7973. true/false values.
  7974. * src/OptionHandlerFactory.cc
  7975. * src/option_processing.cc
  7976. * src/usage_text.h
  7977. * doc/aria2c.1.txt
  7978. 2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7979. Given custom random number generator to std::random_shuffle.
  7980. * src/AnnounceList.cc
  7981. * src/BtLeecherStateChoke.cc
  7982. * src/BtSeederStateChoke.cc
  7983. * src/DefaultBtRequestFactory.cc
  7984. * src/MetalinkEntry.cc
  7985. * src/RarestPieceSelector.cc
  7986. * src/SimpleRandomizer.cc
  7987. * src/SimpleRandomizer.h
  7988. 2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7989. Now the default value of --enable-direct-io is true.
  7990. * src/OptionHandlerFactory.cc
  7991. * doc/aria2c.1.txt
  7992. 2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7993. Erase peer before executing onReturningPeer and onErasingPeer
  7994. because choking algorithm called from onReturningPeer doesn't
  7995. like erasing peer in the active peer list.
  7996. * src/DefaultPeerStorage.cc
  7997. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7998. Instead of creating special filename in createDownloadResult() if
  7999. inMemoryDownload() is true, now it is done in getFilePath().
  8000. * src/RequestGroup.cc
  8001. * test/RequestGroupTest.cc
  8002. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8003. Print "[MEMORY]" and filename if a file is not saved in disk and just
  8004. processed in memory. This is the fix for previous comment out.
  8005. * src/MemoryBufferPreDownloadHandler.cc
  8006. * src/RequestGroup.cc
  8007. * src/RequestGroup.h
  8008. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8009. Commented out the code which sets virtual directory path "[MEMORY]"
  8010. propagate directory to store to following RequestGroup.
  8011. * src/MemoryBufferPreDownloadHandler.cc
  8012. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8013. Bump up version number to 1.0.0b
  8014. * configure.ac
  8015. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8016. Added input_uris.txt to EXTRA_DIST
  8017. * test/Makefile.am
  8018. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8019. Removed PeerObject.h from Makefile.am
  8020. * src/Makefile.am
  8021. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8022. Avoid slow seeding
  8023. * src/PeerInteractionCommand.cc
  8024. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8025. Updated usage for -i option.
  8026. * src/usage_text.h (TEXT_INPUT_FILE)
  8027. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8028. Added INPUT FILE section to man page.
  8029. Escaped fake URLs.
  8030. * doc/aria2c.1.txt
  8031. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8032. Fixed wrong note position for -o option.
  8033. * doc/aria2c.1.txt
  8034. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8035. Fixed compile error without SSL/XML library.
  8036. * src/DefaultBtProgressInfoFile.cc
  8037. * src/DefaultBtProgressInfoFile.h
  8038. * src/FileMetalinkParserState.cc
  8039. * src/RequestGroup.h
  8040. * src/SocketCore.cc
  8041. * src/SocketCore.h
  8042. * src/VerificationMetalinkParserState.cc
  8043. * src/download_helper.h
  8044. * src/main.cc
  8045. * test/DefaultBtProgressInfoFileTest.cc
  8046. * test/DownloadHelperTest.cc
  8047. 2008-11-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8048. Rewritten URI handling functions. They are now provided as a testable
  8049. functions.
  8050. * src/Makefile.am
  8051. * src/RequestGroup.cc
  8052. * src/RequestGroup.h
  8053. * src/download_helper.cc
  8054. * src/download_helper.h
  8055. * src/main.cc
  8056. * test/DownloadHelperTest.cc
  8057. * test/Makefile.am
  8058. * test/input_uris.txt
  8059. 2008-11-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8060. Quickly terminate commands when ctrl-c is pressed.
  8061. * src/DownloadEngine.cc
  8062. 2008-11-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8063. Quickly terminate idle commands when download finished.
  8064. * src/AbstractCommand.cc
  8065. * src/DownloadCommand.cc
  8066. * src/DownloadEngine.cc
  8067. * src/DownloadEngine.h
  8068. * src/SleepCommand.cc
  8069. * src/SleepCommand.h
  8070. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8071. Added the ability to specify output filename and directory in input
  8072. file.
  8073. Additional parameters are added in the following line of URIs
  8074. with proceeding white space(s), 1 parameter in 1 line.
  8075. The parameter names are the same with the command-line option name
  8076. without proceeding "--". Not all the options are available here:
  8077. at the moment, 'dir' and 'out' options are avialable.
  8078. Please note that out option has no effect against Metalink or BitTorrent
  8079. downloads.
  8080. Example input file:
  8081. http://host/foo-1.1.tar.bz2
  8082. out=foo.tar.bz2
  8083. dir=/tmp/downloads
  8084. http://host/thundermonkey-2.0.tar.bz2
  8085. And then invoke 'aria2c -i url.txt --dir ~/mydownloads'.
  8086. foo-1.1.tar.bz2 is saved as /tmp/downloads/foo.tar.bz2, whereas
  8087. thundermonkey-2.0.tar.bz2 is saved as
  8088. ~/mydownloads/thundermonkey-2.0.tar.bz2.
  8089. * src/BtPostDownloadHandler.cc
  8090. * src/Metalink2RequestGroup.cc
  8091. * src/Metalink2RequestGroup.h
  8092. * src/MetalinkPostDownloadHandler.cc
  8093. * src/UriListParser.cc
  8094. * src/UriListParser.h
  8095. * src/main.cc
  8096. * test/Metalink2RequestGroupTest.cc
  8097. * test/UriListParserTest.cc
  8098. * test/filelist1.txt
  8099. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8100. Fixed error when SSL library is not found.
  8101. * configure.ac
  8102. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8103. Cross referenced among -s, -C and -j options.
  8104. Updated usage of -C and -s options.
  8105. * src/usage_text.h
  8106. * doc/aria2c.1.txt
  8107. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8108. Fixed bad cast in 32bit platforms.
  8109. * test/DefaultPieceStorageTest.cc
  8110. (DefaultPieceStorageTest::testGetCompletedLength)
  8111. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8112. Fixed unit test fails on 32bit platforms.
  8113. * test/CookieParserTest.cc
  8114. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8115. Show an average download speed in Download results.
  8116. * src/BtFileAllocationEntry.cc
  8117. * src/DefaultPieceStorage.cc
  8118. * src/DownloadContext.cc
  8119. * src/DownloadContext.h
  8120. * src/DownloadResult.h
  8121. * src/RequestGroup.cc
  8122. * src/RequestGroupMan.cc
  8123. * src/StreamFileAllocationEntry.cc
  8124. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8125. Fixed the bug that metalink file is not processed if Content-Type
  8126. field has a paramter.
  8127. * src/HttpResponse.cc
  8128. * src/HttpResponse.h
  8129. * test/HttpResponseTest.cc
  8130. 2008-11-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8131. Removed unused code.
  8132. * src/DefaultBtAnnounce.cc
  8133. 2008-11-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8134. Fixed the bug that DefaultPieceStorage::getCompletedLength() returns
  8135. the value larger than DefaultPieceStorage::getTotalLength() when
  8136. in flight pieces are involved.
  8137. * src/DefaultPieceStorage.cc
  8138. * test/DefaultPieceStorageTest.cc
  8139. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8140. Bump up version number to 1.0.0a.
  8141. * configure.ac
  8142. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8143. Updated configure.ac
  8144. * configure.ac
  8145. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8146. Added usege for proxy.
  8147. * doc/aria2c.1.txt
  8148. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8149. Added usage for --ca-certificate, --certificate, --private-key and
  8150. --check-certificate options.
  8151. * doc/aria2c.1.txt
  8152. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8153. Updated man page
  8154. * doc/aria2c.1.txt
  8155. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8156. Added --no-proxy option. It receives comman separated hostname or
  8157. domains to which proxy should not be used.
  8158. aria2 honors the environment variable no_proxy to override no-proxy
  8159. value in configuration file. The user can override the environment
  8160. variable no_proxy with --no-proxy command-line option.
  8161. * src/AbstractCommand.cc
  8162. * src/OptionHandlerFactory.cc
  8163. * src/option_processing.cc
  8164. * src/prefs.cc
  8165. * src/prefs.h
  8166. * src/usage_text.h
  8167. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8168. Added the ability to verify peer in SSL/TLS using given CA certificates.
  8169. The CA certificates are specified in --ca-certificate option.
  8170. By default, the verification is disabled. Use --check-certificate
  8171. option to enable it.
  8172. * src/HttpRequestCommand.cc
  8173. * src/LibgnutlsTLSContext.cc
  8174. * src/LibgnutlsTLSContext.h
  8175. * src/LibsslTLSContext.cc
  8176. * src/LibsslTLSContext.h
  8177. * src/MultiUrlRequestInfo.cc
  8178. * src/OptionHandlerFactory.cc
  8179. * src/SocketCore.cc
  8180. * src/SocketCore.h
  8181. * src/a2functional.h
  8182. * src/message.h
  8183. * src/option_processing.cc
  8184. * src/prefs.cc
  8185. * src/prefs.h
  8186. * src/usage_text.h
  8187. 2008-11-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8188. Added client certificate authentication for SSL/TLS.
  8189. Currently a private key must be decrypted for use with aria2.
  8190. If a user accidentally gives encrypted file to aria2 then following
  8191. thing happens:
  8192. If encrypted private key is given to aria2, it behaves differently
  8193. depending on the ssl library it uses. If aria2 built with openssl then
  8194. openssl prompts the user for password. If aria2 build with gnutls then
  8195. aria2 exists with error at start up.
  8196. * src/DownloadEngineFactory.cc
  8197. * src/MultiUrlRequestInfo.cc
  8198. * src/OptionHandlerFactory.cc
  8199. * src/option_processing.cc
  8200. * src/prefs.cc
  8201. * src/prefs.h
  8202. * src/usage_text.h
  8203. 2008-11-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8204. Introduced TLSContext that holds TLS related data that can be shared
  8205. with multiple SSL connections.
  8206. * src/DownloadEngineFactory.cc
  8207. * src/LibgnutlsTLSContext.cc
  8208. * src/LibgnutlsTLSContext.h
  8209. * src/LibsslTLSContext.cc
  8210. * src/LibsslTLSContext.h
  8211. * src/Makefile.am
  8212. * src/SocketCore.cc
  8213. * src/SocketCore.h
  8214. * src/TLSContext.h
  8215. * src/message.h
  8216. 2008-11-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8217. Fixed the bug that the DiskWriter of the first FileEntry whose
  8218. `needsFileAllocation' property is false is not created
  8219. even if it shares a piece with next FileEntry which `requested' property
  8220. is true.
  8221. Fixed the bug that zero-length file is not created if pre file
  8222. allocation is not done.
  8223. * src/MultiDiskAdaptor.cc
  8224. * src/MultiDiskAdaptor.h
  8225. * test/MultiDiskAdaptorTest.cc
  8226. 2008-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8227. Added the ability to pool proxy connection.
  8228. The conneciton in FTP with proxy-method=GET is not pooled.
  8229. Proxy-Connection header will not be sent when sending CONNECT method.
  8230. * src/DownloadEngine.cc
  8231. * src/DownloadEngine.h
  8232. * src/FtpFinishDownloadCommand.cc
  8233. * src/FtpInitiateConnectionCommand.cc
  8234. * src/FtpNegotiationCommand.cc
  8235. * src/HttpDownloadCommand.cc
  8236. * src/HttpInitiateConnectionCommand.cc
  8237. * src/HttpRequest.cc
  8238. * src/HttpRequest.h
  8239. * src/HttpResponse.cc
  8240. * src/HttpSkipResponseCommand.cc
  8241. * test/HttpRequestTest.cc
  8242. * test/HttpResponseTest.cc
  8243. 2008-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8244. Handle date before epoch.
  8245. To create *bad* Time object, call Time::null().
  8246. * src/CookieParser.cc
  8247. * src/FtpConnection.cc
  8248. * src/FtpConnection.h
  8249. * src/FtpNegotiationCommand.cc
  8250. * src/RequestGroup.cc
  8251. * src/TimeA2.cc
  8252. * src/TimeA2.h
  8253. * test/CookieParserTest.cc
  8254. * test/FtpConnectionTest.cc
  8255. * test/TimeTest.cc
  8256. 2008-11-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8257. Added support for following envrionment variables: http_proxy,
  8258. https_proxy, ftp_proxy and all_proxy.
  8259. Each variable is equivalent to the aria2 option whose name is the
  8260. variable name with '_' replaced with '-'.
  8261. They overrides options specified in aria2.conf file.
  8262. The envrionment variables can be overrode using command-line option.
  8263. * src/option_processing.cc
  8264. 2008-11-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8265. Renamed --http-proxy-method as --proxy-method.
  8266. * src/AbstractCommand.cc
  8267. * src/FtpInitiateConnectionCommand.cc
  8268. * src/HttpInitiateConnectionCommand.cc
  8269. * src/OptionHandlerFactory.cc
  8270. * src/option_processing.cc
  8271. * src/prefs.cc
  8272. * src/prefs.h
  8273. * src/usage_text.h
  8274. 2008-11-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8275. Deprecated --http-proxy-user and --http-proxy-passwd options.
  8276. Added --https-proxy, --ftp-proxy and --all-proxy options.
  8277. Above 3 options and --http-proxy option can handle proxy in URL format
  8278. like: http://user:passwd@host:port.
  8279. If a proxy requires user/password, they must be specified in a URL.
  8280. Deprecated --ftp-via-http-proxy option. Use --http-proxy-method option
  8281. instead.
  8282. * src/AbstractCommand.cc
  8283. * src/AbstractCommand.h
  8284. * src/AbstractProxyRequestCommand.cc
  8285. * src/AbstractProxyRequestCommand.h
  8286. * src/AuthConfigFactory.cc
  8287. * src/AuthConfigFactory.h
  8288. * src/FtpFinishDownloadCommand.cc
  8289. * src/FtpInitiateConnectionCommand.cc
  8290. * src/FtpInitiateConnectionCommand.h
  8291. * src/FtpNegotiationCommand.cc
  8292. * src/FtpTunnelRequestCommand.cc
  8293. * src/FtpTunnelRequestCommand.h
  8294. * src/HttpDownloadCommand.cc
  8295. * src/HttpInitiateConnectionCommand.cc
  8296. * src/HttpInitiateConnectionCommand.h
  8297. * src/HttpProxyRequestCommand.cc
  8298. * src/HttpProxyRequestCommand.h
  8299. * src/HttpRequest.cc
  8300. * src/HttpRequest.h
  8301. * src/HttpRequestCommand.cc
  8302. * src/HttpRequestCommand.h
  8303. * src/HttpSkipResponseCommand.cc
  8304. * src/InitiateConnectionCommand.cc
  8305. * src/InitiateConnectionCommand.h
  8306. * src/OptionHandlerFactory.cc
  8307. * src/OptionHandlerImpl.h
  8308. * src/Request.cc
  8309. * src/option_processing.cc
  8310. * src/prefs.cc
  8311. * src/prefs.h
  8312. * src/usage_text.h
  8313. * test/AuthConfigFactoryTest.cc
  8314. * test/HttpRequestTest.cc
  8315. * test/OptionHandlerTest.cc
  8316. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8317. Execute choking algorithm when unchoked and interested peer is
  8318. disconected.
  8319. * src/DefaultPeerStorage.cc
  8320. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8321. Added testcase for BtNotInterestedMessage from unchoked peer.
  8322. * test/BtNotInterestedMessageTest.cc
  8323. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8324. Execute choking algorithm when BtInterestedMessage arrives from
  8325. unchoked peer.
  8326. * src/BtInterestedMessage.cc
  8327. * src/BtInterestedMessage.h
  8328. * src/DefaultBtMessageFactory.cc
  8329. * test/BtInterestedMessageTest.cc
  8330. * test/MockPeerStorage.h
  8331. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8332. AuthConfigFactory is now part of DownloadEngine.
  8333. * src/AbstractProxyRequestCommand.cc
  8334. * src/AuthConfigFactory.h
  8335. * src/DownloadEngine.cc
  8336. * src/DownloadEngine.h
  8337. * src/FtpConnection.cc
  8338. * src/FtpConnection.h
  8339. * src/FtpNegotiationCommand.cc
  8340. * src/HttpConnection.cc
  8341. * src/HttpRequest.cc
  8342. * src/HttpRequest.h
  8343. * src/HttpRequestCommand.cc
  8344. * src/HttpResponse.cc
  8345. * src/HttpResponseCommand.cc
  8346. * src/HttpSkipResponseCommand.cc
  8347. * src/MultiUrlRequestInfo.cc
  8348. * src/main.cc
  8349. * test/FtpConnectionTest.cc
  8350. * test/HttpRequestTest.cc
  8351. * test/HttpResponseTest.cc
  8352. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8353. Corrected catched exception type.
  8354. * src/ServerStatMan.cc
  8355. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8356. DNSCache is now part of DownloadEngine.
  8357. * src/DNSCache.h
  8358. * src/DownloadEngine.cc
  8359. * src/DownloadEngine.h
  8360. * src/InitiateConnectionCommand.cc
  8361. * src/MultiUrlRequestInfo.cc
  8362. * test/Makefile.am
  8363. * test/Makefile.in
  8364. * test/SimpleDNSCacheTest.cc
  8365. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8366. Removed SingletonHolder of CUIDCounter. CUIDCounter is now part of
  8367. DownloadEngine.
  8368. * src/ActivePeerConnectionCommand.cc
  8369. * src/BtSetup.cc
  8370. * src/CUIDCounter.h
  8371. * src/DHTSetup.cc
  8372. * src/DownloadCommand.cc
  8373. * src/DownloadEngine.cc
  8374. * src/DownloadEngine.h
  8375. * src/DownloadEngineFactory.cc
  8376. * src/FileAllocationDispatcherCommand.cc
  8377. * src/InitiatorMSEHandshakeCommand.cc
  8378. * src/PeerInitiateConnectionCommand.cc
  8379. * src/PeerInteractionCommand.cc
  8380. * src/PeerListenCommand.cc
  8381. * src/RequestGroup.cc
  8382. * src/StreamFileAllocationEntry.cc
  8383. * src/TrackerWatcherCommand.cc
  8384. * src/main.cc
  8385. * test/RequestGroupManTest.cc
  8386. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8387. Implemented commented code in BtSeederStateChoke
  8388. * src/BtSeederStateChoke.cc
  8389. * src/Peer.cc
  8390. * src/Peer.h
  8391. * src/PeerInteractionCommand.cc
  8392. * src/PeerSessionResource.cc
  8393. * src/PeerSessionResource.h
  8394. * test/MockBtMessageDispatcher.h
  8395. * test/PeerSessionResourceTest.cc
  8396. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8397. Made BtRegistry non-static object. Now DownloadEngine has a reference to
  8398. its object.
  8399. * src/AbstractBtMessage.cc
  8400. * src/ActivePeerConnectionCommand.cc
  8401. * src/ActivePeerConnectionCommand.h
  8402. * src/BtContextAwareCommand.cc
  8403. * src/BtContextAwareCommand.h
  8404. * src/BtExtendedMessage.cc
  8405. * src/BtExtendedMessage.h
  8406. * src/BtInterestedMessage.cc
  8407. * src/BtInterestedMessage.h
  8408. * src/BtNotInterestedMessage.cc
  8409. * src/BtNotInterestedMessage.h
  8410. * src/BtRegistry.cc
  8411. * src/BtRegistry.h
  8412. * src/BtSeederStateChoke.cc
  8413. * src/BtSetup.cc
  8414. * src/DHTGetPeersCommand.cc
  8415. * src/DHTGetPeersCommand.h
  8416. * src/DHTPeerAnnounceEntry.cc
  8417. * src/DHTPeerAnnounceEntry.h
  8418. * src/DHTPeerAnnounceStorage.cc
  8419. * src/DHTPeerAnnounceStorage.h
  8420. * src/DHTPeerLookupTask.cc
  8421. * src/DHTPeerLookupTask.h
  8422. * src/DHTSetup.cc
  8423. * src/DHTSetup.h
  8424. * src/DHTTaskFactory.h
  8425. * src/DHTTaskFactoryImpl.cc
  8426. * src/DHTTaskFactoryImpl.h
  8427. * src/DefaultBtAnnounce.cc
  8428. * src/DefaultBtInteractive.cc
  8429. * src/DefaultBtInteractive.h
  8430. * src/DefaultBtMessageDispatcher.cc
  8431. * src/DefaultBtMessageDispatcher.h
  8432. * src/DefaultBtMessageFactory.cc
  8433. * src/DefaultBtMessageFactory.h
  8434. * src/DefaultBtMessageReceiver.cc
  8435. * src/DefaultBtProgressInfoFile.cc
  8436. * src/DefaultBtProgressInfoFile.h
  8437. * src/DefaultBtRequestFactory.cc
  8438. * src/DefaultBtRequestFactory.h
  8439. * src/DefaultExtensionMessageFactory.cc
  8440. * src/DefaultExtensionMessageFactory.h
  8441. * src/DefaultPeerStorage.cc
  8442. * src/DefaultPeerStorage.h
  8443. * src/DownloadEngine.cc
  8444. * src/DownloadEngine.h
  8445. * src/InitiatorMSEHandshakeCommand.cc
  8446. * src/InitiatorMSEHandshakeCommand.h
  8447. * src/MSEHandshake.cc
  8448. * src/MSEHandshake.h
  8449. * src/Makefile.am
  8450. * src/Makefile.in
  8451. * src/PeerChokeCommand.cc
  8452. * src/PeerChokeCommand.h
  8453. * src/PeerInitiateConnectionCommand.cc
  8454. * src/PeerInitiateConnectionCommand.h
  8455. * src/PeerInteractionCommand.cc
  8456. * src/PeerInteractionCommand.h
  8457. * src/PeerObject.h
  8458. * src/PeerReceiveHandshakeCommand.cc
  8459. * src/PeerReceiveHandshakeCommand.h
  8460. * src/ReceiverMSEHandshakeCommand.cc
  8461. * src/RequestGroup.cc
  8462. * src/RequestGroup.h
  8463. * src/RequestGroupMan.cc
  8464. * src/RequestGroupMan.h
  8465. * src/SeedCheckCommand.cc
  8466. * src/SeedCheckCommand.h
  8467. * src/ShareRatioSeedCriteria.h
  8468. * src/SimpleBtMessage.cc
  8469. * src/TrackerWatcherCommand.cc
  8470. * src/TrackerWatcherCommand.h
  8471. * src/UTPexExtensionMessage.cc
  8472. * src/UTPexExtensionMessage.h
  8473. * test/BtCancelMessageTest.cc
  8474. * test/BtChokeMessageTest.cc
  8475. * test/BtExtendedMessageTest.cc
  8476. * test/BtInterestedMessageTest.cc
  8477. * test/BtNotInterestedMessageTest.cc
  8478. * test/BtPieceMessageTest.cc
  8479. * test/BtPortMessageTest.cc
  8480. * test/BtRegistryTest.cc
  8481. * test/BtRejectMessageTest.cc
  8482. * test/BtRequestMessageTest.cc
  8483. * test/DHTPeerAnnounceEntryTest.cc
  8484. * test/DHTPeerAnnounceStorageTest.cc
  8485. * test/DefaultBtMessageDispatcherTest.cc
  8486. * test/DefaultBtMessageFactoryTest.cc
  8487. * test/DefaultBtProgressInfoFileTest.cc
  8488. * test/DefaultBtRequestFactoryTest.cc
  8489. * test/DefaultExtensionMessageFactoryTest.cc
  8490. * test/MSEHandshakeTest.cc
  8491. * test/MockDHTTaskFactory.h
  8492. * test/ShareRatioSeedCriteriaTest.cc
  8493. * test/UTPexExtensionMessageTest.cc
  8494. 2008-10-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8495. Fixed compiler warning.
  8496. * test/UtilTest.cc
  8497. 2008-10-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8498. Treat Cookie object as session cookie if expiry = 0 is given.
  8499. With this change, you can specify session scoped cookies in an external
  8500. file setting expiry value to 0.
  8501. * src/Cookie.cc
  8502. * src/Cookie.h
  8503. * test/CookieParserTest.cc
  8504. * test/CookieStorageTest.cc
  8505. * test/CookieTest.cc
  8506. 2008-10-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8507. Changed signature of DHTMessageFactory::createResponseMessage().
  8508. Removed unused validateIDMatch.
  8509. * src/DHTMessageFactory.h
  8510. * src/DHTMessageFactoryImpl.cc
  8511. * src/DHTMessageFactoryImpl.h
  8512. * src/DHTMessageTracker.cc
  8513. * test/DHTMessageFactoryImplTest.cc
  8514. * test/MockDHTMessageFactory.h
  8515. Dropped DHT message coming from same ID of localhost.
  8516. * src/DHTMessageReceiver.cc
  8517. Rejected adding node whose ID is the same as localhost's.
  8518. * src/DHTRoutingTable.cc
  8519. * test/BtPortMessageTest.cc
  8520. * test/DHTRoutingTableTest.cc
  8521. 2008-10-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8522. Pool connection when redirection occurs with Content-Length = 0.
  8523. * src/HttpSkipResponseCommand.cc
  8524. * src/HttpSkipResponseCommand.h
  8525. 2008-10-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8526. Fixed the bug that causes time out when redirection occurs with
  8527. content-length 0.
  8528. * src/HttpResponseCommand.cc
  8529. * src/HttpSkipResponseCommand.cc
  8530. * src/HttpSkipResponseCommand.h
  8531. 2008-10-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8532. Now each status legends is shown only when it appears in Download
  8533. Result. If Download Result has no item, then status legend will not
  8534. be printed.
  8535. * src/RequestGroupMan.cc
  8536. 2008-10-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8537. Removed duplicate creation of OptionHandlers.
  8538. * src/option_processing.cc
  8539. 2008-10-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8540. Fixed the bug that causes segmentation fault when accessing files which
  8541. don't exist or are not included in --select-file option while
  8542. validating chunk checksum.
  8543. * src/MultiDiskAdaptor.cc
  8544. 2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8545. Fixed compiler warning.
  8546. * test/UtilTest.cc
  8547. 2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8548. Included cstdlib. This fixed the compile error with g++-4.3.2.
  8549. * src/IteratableChecksumValidator.cc
  8550. * src/IteratableChunkChecksumValidator.cc
  8551. 2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8552. * Release 0.16.2
  8553. 2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8554. Added Serbian translation. Updated Ukrainian translation.
  8555. Thanks to all translators.
  8556. * po/sr.po
  8557. * po/uk.po
  8558. * po/LINGUAS
  8559. 2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8560. Bump up version number to 0.16.2
  8561. * configure.ac
  8562. 2008-10-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8563. Added length equality test to operator== to drop a piece message
  8564. whose length does not match to the requested one.
  8565. * src/RequestSlot.cc
  8566. * test/DefaultBtMessageDispatcherTest.cc
  8567. 2008-10-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8568. Fixed the bug that aria2 aborts when a request larger than 16KiB is
  8569. recieved.
  8570. In this fix, if a request larger than 16KiB length is received, aria2
  8571. disconnects the peer.
  8572. * src/BtConstants.h
  8573. * src/PeerMessageUtil.cc
  8574. * src/PeerMessageUtil.h
  8575. * test/BtRequestMessageTest.cc
  8576. 2008-10-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8577. * Release 0.16.1
  8578. 2008-10-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8579. Replaced '@' with 'at' in AUTHOR and REPORT BUG.
  8580. * doc/aria2c.1.txt
  8581. 2008-10-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8582. Added Ukrainian, Vietnamese, Traditional Chinese translations.
  8583. Updated French, Simplified Chinese and Japanese translations.
  8584. Thanks to all translators.
  8585. en@quot and en@boldquot are also added.
  8586. * po/LINGUAS
  8587. * po/fr.po
  8588. * po/ja.po
  8589. * po/uk.po
  8590. * po/vi.po
  8591. * po/zh_CN.po
  8592. * po/zh_TW.po
  8593. 2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8594. Bump up version number to 0.16.1.
  8595. * configure.ac
  8596. 2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8597. Updated README.
  8598. * README
  8599. 2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8600. Updated man page. Changed doctype of aria2c.1.html to manpage in order
  8601. not to replace '--' with em dash character.
  8602. * doc/aria2c.1.txt
  8603. * doc/makeman
  8604. 2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8605. Added --auto-save-interval=SEC option. A control file(*.aria2) is saved
  8606. every SEC seconds.
  8607. * src/DownloadEngineFactory.cc
  8608. * src/OptionHandlerFactory.cc
  8609. * src/option_processing.cc
  8610. * src/usage_text.h
  8611. 2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8612. Fixed compile warning on linux-amd64
  8613. * src/FtpConnection.cc
  8614. * src/IteratableChunkChecksumValidator.cc
  8615. * src/MultiDiskAdaptor.cc
  8616. Fixed the bug that unit test fails on linux-amd64
  8617. * test/UtilTest.cc
  8618. 2008-10-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8619. Added --dht-file-path option to change the path to dht.dat, which is a
  8620. serialized DHT routing table.
  8621. * src/OptionHandlerFactory.cc
  8622. * src/option_processing.cc
  8623. * src/usage_text.h
  8624. 2008-10-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8625. Fixed possible underflow.
  8626. * src/BitfieldMan.cc (BitfieldMan::getNthBitIndex)
  8627. 2008-10-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8628. Fixed the bug that last character in URI is not encoded.
  8629. * src/Request.cc
  8630. * test/RequestTest.cc
  8631. 2008-10-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8632. Fixed the bug that referer header field contains fragment.
  8633. Now Request class removes fragment part of URI and encodes it
  8634. in Request::setUri() and setReferer().
  8635. * src/Request.h
  8636. * src/Request.cc
  8637. * test/RequestTest.cc
  8638. 2008-10-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8639. Added missing m4 macros.
  8640. * m4/cppunit.m4
  8641. * m4/libgcrypt.m4
  8642. * m4/libgnutls-extra.m4
  8643. * m4/libgnutls.m4
  8644. * m4/libxml2.m4
  8645. 2008-10-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8646. Fixed compile error with gcc-4.4(snapshot)
  8647. * src/File.cc
  8648. * src/FtpConnection.cc
  8649. * src/OptionHandlerImpl.h
  8650. * src/Util.cc
  8651. 2008-10-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8652. Removed assert()
  8653. * src/SocketBuffer.cc (SocketBuffer::send)
  8654. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8655. Changed the type of _numNewConnection to unsigned int.
  8656. * src/ActivePeerConnectionCommand.cc
  8657. * src/ActivePeerConnectionCommand.h
  8658. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8659. * Release 0.16.0
  8660. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8661. Updated doc
  8662. * README
  8663. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8664. Updated French, Simplified Chinese, German, Bulgarian and Japanese
  8665. translations. Thanks to all translators.
  8666. * po/bg.po
  8667. * po/de.po
  8668. * po/fr.po
  8669. * po/ja.po
  8670. * po/zh_CN.po
  8671. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8672. Bump up version number to 0.16.0.
  8673. * configure.ac
  8674. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8675. Casted entry->maxConnections to int32_t for std::min<T> with T =
  8676. int32_t.
  8677. Changed the type of count to int32_t.
  8678. * src/Metalink2RequestGroup.cc
  8679. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8680. Added test for Time::elapsed(time_t).
  8681. * test/TimeTest.cc
  8682. 2008-10-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8683. Fixed the bug in Time::elapsed(): Util::difftvsec() is used where
  8684. Util::difftv() should be used instead.
  8685. * src/TimeA2.cc
  8686. * src/TimeA2.h
  8687. 2008-10-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8688. Made socket for dht connections non-blocking
  8689. * src/DHTAbstractMessage.cc
  8690. * src/DHTAbstractMessage.h
  8691. * src/DHTConnection.h
  8692. * src/DHTConnectionImpl.cc
  8693. * src/DHTConnectionImpl.h
  8694. * src/DHTMessage.h
  8695. * src/DHTMessageDispatcherImpl.cc
  8696. * src/DHTMessageDispatcherImpl.h
  8697. * src/DHTUnknownMessage.cc
  8698. * src/DHTUnknownMessage.h
  8699. * src/SocketCore.cc
  8700. * src/SocketCore.h
  8701. * test/MockDHTMessage.h
  8702. 2008-10-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8703. Changed the type of offset to int.
  8704. * src/ParameterizedStringParser.cc
  8705. 2008-10-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8706. Made getAsInt() return int32_t
  8707. * src/Option.h
  8708. 2008-10-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8709. Check the availability of winsock2.h and ws2tcpip.h only for mingw32
  8710. build.
  8711. * configure.ac
  8712. 2008-10-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8713. Use sqlite3_open if sqlite3_open_v2 is not available.
  8714. * src/Sqlite3MozCookieParser.cc
  8715. * src/Sqlite3MozCookieParser.h
  8716. * m4/sqlite3.m4
  8717. * test/Sqlite3MozCookieParserTest.cc
  8718. 2008-10-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8719. Replaced '%zu' with '%lu' since mingw32 doesn't recognize '%zu'.
  8720. * src/BtPieceMessage.cc
  8721. * src/DHTPeerAnnounceStorage.cc
  8722. * src/DefaultPieceStorage.cc
  8723. * src/DownloadCommand.cc
  8724. * src/DownloadEngine.cc
  8725. * src/FtpConnection.cc
  8726. * src/PeerConnection.cc
  8727. * src/PeerMessageUtil.cc
  8728. * src/RequestGroup.cc
  8729. * src/RequestGroupMan.cc
  8730. * src/SimpleBtMessage.cc
  8731. 2008-10-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8732. Use seek() and SetEndOfFile() for mingw32 build instead of ftruncate(),
  8733. because mingw32's ftruncate() cannot handle more than 2GB-size file.
  8734. * src/AbstractDiskWriter.cc
  8735. 2008-10-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8736. Don't set Request::supportsPersistentConnection() in HttpConnection
  8737. since this code is also used in AbstractProxyResponseCommand.
  8738. Moved those code to HttpResponse.
  8739. * src/HttpResponse.cc
  8740. * src/HttpResponse.h
  8741. * src/HttpConnection.cc
  8742. * src/HttpConnection.h
  8743. * src/HttpResponseCommand.cc
  8744. * test/HttpResponseTest.cc
  8745. 2008-09-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8746. Fixed compile error with debian mingw32 cross compiler(4.2.1).
  8747. The configuration is minimum: no torrent, no metalink, so there may be
  8748. other compile error on their code.
  8749. * src/a2netcompat.h
  8750. * src/File.cc
  8751. * src/File.h
  8752. * src/SocketCore.cc
  8753. * src/SocketCore.h
  8754. 2008-09-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8755. Made a socket of incoming peer non-blocking.
  8756. * src/PeerListenCommand.cc
  8757. 2008-09-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8758. Fixed the bug that aria2 may send duplicate data to BitTorrent peer if
  8759. whole message data is not sent in one send() call.
  8760. * src/BtPieceMessage.cc
  8761. * src/BtPieceMessage.h
  8762. * src/PeerConnection.cc
  8763. * src/PeerConnection.h
  8764. * src/SimpleBtMessage.cc
  8765. * src/SimpleBtMessage.h
  8766. 2008-09-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8767. Fixed the bug that aria2 downloads faster than max-download-limit when
  8768. downloading file using both HTTP(or FTP) and BitTorrent, because aria2
  8769. evaluates speed separatly(HTTP and BiTorrent) against max-download-limit
  8770. , instead of sum of them.
  8771. * src/ActivePeerConnectionCommand.cc
  8772. * src/DefaultBtInteractive.cc
  8773. * src/DownloadCommand.cc
  8774. * src/PeerInteractionCommand.cc
  8775. * src/PeerReceiveHandshakeCommand.cc
  8776. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8777. Fixed the bug that HTTPS download fails.
  8778. * src/AbstractCommand.cc
  8779. * src/AbstractCommand.h
  8780. * src/DownloadCommand.cc
  8781. * src/FtpConnection.cc
  8782. * src/HttpConnection.cc
  8783. * src/HttpRequestCommand.cc
  8784. * src/HttpResponseCommand.cc
  8785. * src/HttpSkipResponseCommand.cc
  8786. * src/MSEHandshake.cc
  8787. * src/PeerConnection.cc
  8788. * src/SocketCore.cc
  8789. * src/SocketCore.h
  8790. Fixed the bug that aria2 doesn't download whole content body and cannot
  8791. reuse connection if chunked transfer encoding and gzip content encoding
  8792. are set.
  8793. * src/DownloadCommand.cc
  8794. * src/HttpSkipResponseCommand.cc
  8795. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8796. Updated man page.
  8797. * doc/aria2c.1.txt
  8798. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8799. When error occurred while aria2 was parsing an .aria2.conf file, print
  8800. the usage of the option that caused error.
  8801. * src/option_processing.cc
  8802. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8803. Fixed compile error on OptionHandlerException
  8804. * src/Makefile.am
  8805. * src/OptionHandlerException.cc
  8806. * src/OptionHandlerException.h
  8807. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8808. Moved message of the error to OptionHandlerException.h
  8809. * src/NameMatchOptionHandler.h
  8810. * src/OptionHandlerException.h
  8811. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8812. When error occurs while aria2 is parsing an command-line option, print
  8813. the usage of the option.
  8814. * src/Makefile.am
  8815. * src/NameMatchOptionHandler.h
  8816. * src/OptionHandlerException.h
  8817. * src/option_processing.cc
  8818. 2008-09-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8819. Reverted previous change.
  8820. Insert username+'@' to URI(after ftp://) when URI is FTP scheme and
  8821. username is not in URI.
  8822. * src/HttpRequest.cc
  8823. * src/Request.cc
  8824. * test/HttpRequestTest.cc
  8825. * test/RequestTest.cc
  8826. 2008-09-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8827. Now colon is required for username and password in FTP URL, like:
  8828. ftp://username:password@host.
  8829. If colon is not there, aria2 don't parse it as a username. For example,
  8830. aria2 don't retrieve username from ftp://username@host.
  8831. This fix was made in order to login FTP server via non-transparent ftp
  8832. proxy.
  8833. * src/Request.cc
  8834. * test/RequestTest.cc
  8835. 2008-09-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8836. Use netrc for HTTP.
  8837. Now FTP user/password is sent in Authorization header when
  8838. --ftp-via-http-proxy=get is given.
  8839. * src/AuthConfigFactory.cc
  8840. * src/HttpRequest.cc
  8841. * src/HttpRequest.h
  8842. * src/NetrcAuthResolver.cc
  8843. * src/NetrcAuthResolver.h
  8844. * src/OptionHandlerFactory.cc
  8845. * src/option_processing.cc
  8846. * src/prefs.cc
  8847. * src/prefs.h
  8848. * test/AuthConfigFactoryTest.cc
  8849. * test/HttpRequestTest.cc
  8850. * test/NetrcAuthResolverTest.cc
  8851. 2008-09-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8852. Issue PWD command first and get working directory and use it as a prefix
  8853. for CWD command.
  8854. * src/DownloadEngine.cc
  8855. * src/DownloadEngine.h
  8856. * src/FtpConnection.cc
  8857. * src/FtpConnection.h
  8858. * src/FtpFinishDownloadCommand.cc
  8859. * src/FtpInitiateConnectionCommand.cc
  8860. * src/FtpNegotiationCommand.cc
  8861. * src/FtpNegotiationCommand.h
  8862. * test/FtpConnectionTest.cc
  8863. 2008-09-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8864. Removed default user/pass for FTP user/pass, since it should not have
  8865. precedence over netrc configuration by default.
  8866. * src/OptionHandlerFactory.cc
  8867. 2008-09-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8868. Added debug log for socket event.
  8869. * src/AbstractCommand.cc
  8870. * src/PeerAbstractCommand.cc
  8871. 2008-09-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8872. Log microseconds.
  8873. * src/SimpleLogger.cc (SimpleLogger::writeLog)
  8874. 2008-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8875. Replaced HelpItem.cc with OptionHandler.cc.
  8876. * po/POTFILES.in
  8877. Updated po files with 'make update-po'
  8878. * po/aria2c.pot
  8879. * po/*.po
  8880. 2008-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8881. Removed possible values from the text.
  8882. * src/usage_text.h (TEXT_METALINK_PREFERRED_PROTOCOL)
  8883. 2008-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8884. Removed unused preferences:
  8885. PREF_NO_PREALLOCATION
  8886. PREF_STDOUT_LOG
  8887. PREF_TRACKER_MAX_TRIES
  8888. PREF_DIRECT_DOWNLOAD_TIMEOUT
  8889. PREF_MIN_SEGMENT_SIZE
  8890. * src/option_processing.cc
  8891. * src/prefs.cc
  8892. * src/prefs.h
  8893. 2008-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8894. Integrated HelpItem into OptionParser to ease the workload for adding
  8895. new options. Removed default value from usage text.
  8896. * src/HelpItem.cc: Removed.
  8897. * src/HelpItem.h: Removed.
  8898. * src/HelpItemFactory.cc: Removed.
  8899. * src/HelpItemFactory.h: Removed.
  8900. * src/Makefile.am
  8901. * src/Makefile.in
  8902. * src/NameMatchOptionHandler.h
  8903. * src/OptionHandler.cc
  8904. * src/OptionHandler.h
  8905. * src/OptionHandlerFactory.cc
  8906. * src/OptionHandlerImpl.h
  8907. * src/OptionParser.cc
  8908. * src/OptionParser.h
  8909. * src/TagContainer.cc: Removed.
  8910. * src/TagContainer.h: Removed.
  8911. * src/TaggedItem.cc: Removed.
  8912. * src/TaggedItem.h: Removed.
  8913. * src/main.cc
  8914. * src/option_processing.cc
  8915. * src/usage_text.h
  8916. * src/version_usage.cc
  8917. * test/HelpItemTest.cc: Removed.
  8918. * test/Makefile.am
  8919. * test/Makefile.in
  8920. * test/OptionHandlerTest.cc
  8921. * test/OptionParserTest.cc
  8922. * test/TagContainerTest.cc: Removed.
  8923. 2008-09-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8924. Moved `TransferStat stat = ...' to inside the `if' clause.
  8925. * src/RequestGroup.cc (RequestGroup::reportDownloadFinished)
  8926. 2008-09-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8927. Fixed the bug that a block in a piece is requested when same block is
  8928. already requested to the same peer in end game mode.
  8929. * src/BtRequestFactory.h
  8930. * src/DefaultBtInteractive.cc
  8931. * src/DefaultBtRequestFactory.cc
  8932. * src/DefaultBtRequestFactory.h
  8933. * src/DefaultPieceStorage.cc
  8934. * src/DefaultPieceStorage.h
  8935. * src/PieceStorage.h
  8936. * src/UnknownLengthPieceStorage.cc
  8937. * src/UnknownLengthPieceStorage.h
  8938. * test/DefaultBtRequestFactoryTest.cc
  8939. * test/DefaultPieceStorageTest.cc
  8940. * test/MockBtRequestFactory.h
  8941. * test/MockPieceStorage.h
  8942. 2008-09-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8943. Removed _uploadLength and _downloadLength from PeerSessionResource
  8944. and use PeerStat::_sessionUploadLength and
  8945. PeerStat::_sessionDownloadLength.
  8946. * src/PeerSessionResource.cc
  8947. * src/PeerSessionResource.h
  8948. 2008-09-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8949. Fixed the bug that prefixLength of split bucket which doesn't include
  8950. local node ID is incremented.
  8951. * src/DHTBucket.cc
  8952. * src/DHTBucket.h
  8953. * test/DHTBucketTest.cc
  8954. 2008-09-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8955. Added cookies.sqlite to EXTRA_DIST
  8956. * test/Makefile.am
  8957. 2008-09-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8958. Added Turkish translation. Updated French, German, Russian and
  8959. Simplified Chinese translations. Thanks to all translators.
  8960. * po/LINGUAS
  8961. * po/de.po
  8962. * po/fr.po
  8963. * po/ru.po
  8964. * po/tr.po
  8965. * po/zh_CN.po
  8966. 2008-09-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8967. Added deliminating text to the beginning of the log so that one can find
  8968. where the log starts easily.
  8969. * src/main.cc
  8970. 2008-09-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8971. Moved isProxyGETRequest function outside #ifdef ENABLE_ASYNC_DNS clause
  8972. to fix compile error when async DNS is not enabled by configuration.
  8973. * src/AbstractCommand.cc
  8974. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8975. If establishing conneciton to a server is failed, then mark error on
  8976. its ServerStat.
  8977. Added the cause of error to log when error event occurred.
  8978. Moved message string to message.h for translation.
  8979. * src/AbstractCommand.cc
  8980. * src/AbstractCommand.h
  8981. * src/FtpNegotiationCommand.cc
  8982. * src/HttpRequestCommand.cc
  8983. * src/PeerAbstractCommand.cc
  8984. * src/message.h
  8985. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8986. Added the function to get error message from socket.
  8987. * src/SocketCore.cc
  8988. * src/SocketCore.h
  8989. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8990. Added convenient method RequestGroupMan::getOrCreateServerStat()
  8991. * src/RequestGroupMan.cc
  8992. * src/RequestGroupMan.h
  8993. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8994. If error event is received in epoll, then abort download immediately.
  8995. * src/AbstractCommand.cc
  8996. * src/Command.cc
  8997. * src/Command.h
  8998. * src/DownloadEngine.cc
  8999. * src/PeerAbstractCommand.cc
  9000. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9001. Added usage message for --uri-selector, --server-stat-of,
  9002. --server-stat-in, --server-stat-timeout options.
  9003. * src/HelpItemFactory.cc
  9004. * src/usage_text.h
  9005. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9006. Added upper limit of FTP response buffer. The current implementation
  9007. uses 4096bytes as a limit.
  9008. * src/FtpConnection.cc
  9009. * src/FtpConnection.h
  9010. * test/FtpConnectionTest.cc
  9011. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9012. Use non-blocking socket for TCP communication to avoid possible
  9013. blocking due to buffer full.
  9014. * src/AbstractProxyRequestCommand.cc
  9015. * src/FtpConnection.cc
  9016. * src/FtpConnection.h
  9017. * src/FtpNegotiationCommand.cc
  9018. * src/FtpNegotiationCommand.h
  9019. * src/HttpConnection.cc
  9020. * src/HttpConnection.h
  9021. * src/HttpRequestCommand.cc
  9022. * src/InitiatorMSEHandshakeCommand.cc
  9023. * src/InitiatorMSEHandshakeCommand.h
  9024. * src/MSEHandshake.cc
  9025. * src/MSEHandshake.h
  9026. * src/Makefile.am
  9027. * src/PeerConnection.cc
  9028. * src/PeerConnection.h
  9029. * src/PeerInteractionCommand.cc
  9030. * src/PeerListenCommand.cc
  9031. * src/ReceiverMSEHandshakeCommand.cc
  9032. * src/ReceiverMSEHandshakeCommand.h
  9033. * src/SocketBuffer.cc
  9034. * src/SocketBuffer.h
  9035. * src/SocketCore.cc
  9036. * src/SocketCore.h
  9037. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9038. Call setStatusRealtime() in constructor.
  9039. * src/RealtimeCommand.cc
  9040. * src/RealtimeCommand.h
  9041. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9042. Call Download::setNoWait(true) to execute newly created command without
  9043. a pause.
  9044. * src/AbstractCommand.cc
  9045. 2008-09-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9046. Added --max-file-not-found=NUM option. If aria2 receives `file not
  9047. found' error from HTTP/FTP server NUM times without getting single
  9048. bytes of data, then force the download to fail.
  9049. Basically aria2 tris all URIs available. So if long list of URIs are
  9050. specified in Metalink, then aria2 will take a long time to fail
  9051. eventually if all URIs are outdated. This option eases this situation
  9052. to limit the number of servers to try.
  9053. * src/FtpNegotiationCommand.cc
  9054. * src/HelpItemFactory.cc
  9055. * src/HttpResponseCommand.cc
  9056. * src/OptionHandlerFactory.cc
  9057. * src/PeerStat.h
  9058. * src/RequestGroup.cc
  9059. * src/RequestGroup.h
  9060. * src/SegmentMan.cc
  9061. * src/SegmentMan.h
  9062. * src/option_processing.cc
  9063. * src/prefs.cc
  9064. * src/prefs.h
  9065. * src/usage_text.h
  9066. 2008-09-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9067. Fixed the bug that bulkReceiveResponse() reads all received data as a
  9068. response even if more than one response is in it.
  9069. * src/FtpConnection.cc
  9070. * src/FtpConnection.h
  9071. * test/FtpConnectionTest.cc
  9072. 2008-09-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9073. Merged from stable-0.15
  9074. * m4/libcares.m4
  9075. Use pkg-config
  9076. * m4/sqlite3.m4
  9077. 2008-09-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9078. Removed unnecessary if statement.
  9079. * src/DefaultPieceStorage.cc (initPieceStorage)
  9080. 2008-09-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9081. Added --connect-timeout option to specify connect timeout in seconds.
  9082. This option is in effect for HTTP/FTP/proxy server. The timeout for
  9083. connecting to BitTorrent peer is not controlled by this option.
  9084. * src/AbstractProxyRequestCommand.cc
  9085. * src/FtpNegotiationCommand.cc
  9086. * src/HelpItemFactory.cc
  9087. * src/HttpRequestCommand.cc
  9088. * src/OptionHandlerFactory.cc
  9089. * src/option_processing.cc
  9090. * src/prefs.cc
  9091. * src/prefs.h
  9092. * src/usage_text.h
  9093. 2008-09-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9094. Added help message for -R option.
  9095. * src/HelpItemFactory.cc
  9096. * src/usage_text.h
  9097. 2008-09-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9098. Added the message that the time is in local time zone.
  9099. * src/RequestGroup.cc
  9100. 2008-09-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9101. Implemented the ability to get timestamp from remote FTP server using
  9102. MDTM command described in RFC3659.
  9103. * src/FtpConnection.cc
  9104. * src/FtpConnection.h
  9105. * src/FtpNegotiationCommand.cc
  9106. * src/FtpNegotiationCommand.h
  9107. * test/FtpConnectionTest.cc
  9108. * test/Makefile.am
  9109. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9110. Implemented the ability to get timestamp from remote HTTP server and
  9111. apply it to local file. To enable this feature, --remote-time option
  9112. is added. No usage text has been written yet.
  9113. If several servers returns difference timestamp, then aria2 uses latest
  9114. one.
  9115. * src/CopyDiskAdaptor.cc
  9116. * src/CopyDiskAdaptor.h
  9117. * src/DirectDiskAdaptor.cc
  9118. * src/DirectDiskAdaptor.h
  9119. * src/DiskAdaptor.h
  9120. * src/File.cc
  9121. * src/File.h
  9122. * src/HttpHeader.cc
  9123. * src/HttpHeader.h
  9124. * src/HttpResponse.cc
  9125. * src/HttpResponse.h
  9126. * src/HttpResponseCommand.cc
  9127. * src/HttpResponseCommand.h
  9128. * src/MultiDiskAdaptor.cc
  9129. * src/MultiDiskAdaptor.h
  9130. * src/OptionHandlerFactory.cc
  9131. * src/RequestGroup.cc
  9132. * src/RequestGroup.h
  9133. * src/RequestGroupMan.cc
  9134. * src/option_processing.cc
  9135. * src/prefs.cc
  9136. * src/prefs.h
  9137. * test/CopyDiskAdaptorTest.cc
  9138. * test/FileTest.cc
  9139. * test/Makefile.am
  9140. * test/Makefile.in
  9141. * test/MultiDiskAdaptorTest.cc
  9142. * test/TestUtil.cc
  9143. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9144. Fixed the bug that DiskWriterEntry is not created when its
  9145. FileEntry.isRequested() is false and it doesn't share a piece with
  9146. other FileEntries that are requested. This bug causes segmentation fault
  9147. in the end.
  9148. * src/MultiDiskAdaptor.cc
  9149. * src/MultiDiskAdaptor.h
  9150. * src/MultiFileAllocationIterator.cc
  9151. * test/MultiDiskAdaptorTest.cc
  9152. * test/MultiFileAllocationIteratorTest.cc
  9153. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9154. Fixed the bug that exception is thrown when MultiDiskAdaptor::size() is
  9155. called if the number of file entries are greater than max open files.
  9156. * src/AbstractSingleDiskAdaptor.cc
  9157. * src/AbstractSingleDiskAdaptor.h
  9158. * src/DiskAdaptor.h
  9159. * src/MultiDiskAdaptor.cc
  9160. * src/MultiDiskAdaptor.h
  9161. * test/MultiDiskAdaptorTest.cc
  9162. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9163. Added a constuctor that receives struct timeval.
  9164. Added operator<.
  9165. * src/TimeA2.cc
  9166. * src/TimeA2.h
  9167. * test/TimeTest.cc
  9168. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9169. Parse `expires' of Set-Cookie using Time::parseHTTPDate()
  9170. * src/CookieParser.cc
  9171. * test/CookieParserTest.cc
  9172. * test/HttpResponseTest.cc
  9173. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9174. Implmented the functions to parse date.
  9175. * src/TimeA2.cc
  9176. * src/TimeA2.h
  9177. * test/TimeTest.cc
  9178. 2008-09-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9179. Added "Firefox3 Cookie" feature to FeatureConfig
  9180. * src/FeatureConfig.cc
  9181. * src/FeatureConfig.h
  9182. * test/FeatureConfigTest.cc
  9183. 2008-09-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9184. Bump up version number to 0.16.0b
  9185. * configure.ac
  9186. 2008-09-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9187. Use pkg-config if is is available.
  9188. * m4/openssl.m4
  9189. 2008-09-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9190. DEFAULT_ANNOUNCE_INTERVAL: unsigned int -> time_t
  9191. * src/BtAnnounce.h
  9192. 2008-09-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9193. If an error occurred with a URI, remove identical URI from remaining
  9194. URI list because it is likely that same error occurred in the end and it
  9195. is waste of time.
  9196. * src/AbstractCommand.cc
  9197. * src/RequestGroup.cc
  9198. * src/RequestGroup.h
  9199. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9200. Removed wrong comment.
  9201. * src/DefaultPeerStorage.cc
  9202. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9203. Moved implementation to SimpleRandomizer.cc from SimpleRandomizer.h.
  9204. Added return value of getpid() to argument of srand() to achieve more
  9205. randomized value.
  9206. * src/SimpleRandomizer.cc
  9207. * src/SimpleRandomizer.h
  9208. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9209. Contact tracker frequently when the number of connections are 0 and
  9210. download is not finished yet.
  9211. * src/ActivePeerConnectionCommand.cc
  9212. * src/BtAnnounce.h
  9213. * src/DefaultBtAnnounce.cc
  9214. * src/DefaultBtAnnounce.h
  9215. * test/MockBtAnnounce.h
  9216. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9217. Moved threshold values to UTPexExtensionMessage.
  9218. * src/DefaultBtInteractive.cc
  9219. * src/Peer.cc
  9220. * src/Peer.h
  9221. * src/UTPexExtensionMessage.cc
  9222. * src/UTPexExtensionMessage.h
  9223. * test/UTPexExtensionMessageTest.cc
  9224. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9225. Added _incoming member to Peer class and made it true if the peer
  9226. initiated connection. Don't add those peer to UTPex message.
  9227. If extended handshake is received, assign _incoming to false.
  9228. * src/DefaultBtInteractive.cc
  9229. * src/HandshakeExtensionMessage.cc
  9230. * src/Peer.cc
  9231. * src/Peer.h
  9232. * src/PeerListenCommand.cc
  9233. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9234. Made files whose name ends with ".gz", ".tgz" not inflated by Content
  9235. Encoding Decoder. Removed size threshold for turning off on the fly
  9236. inflation because resulting file may or may not be inflated depending
  9237. on the file size and I think it is not expected by users.
  9238. This change fixes segmentation fault when Metalink file contains gzipped
  9239. file and its filesize is provided.
  9240. * src/HttpResponseCommand.cc
  9241. * src/HttpResponseCommand.h
  9242. 2008-09-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9243. Made Cookie immutable.
  9244. * src/Cookie.cc
  9245. * src/Cookie.h
  9246. * src/CookieParser.cc
  9247. * src/CookieParser.h
  9248. * src/CookieStorage.cc
  9249. * test/CookieParserTest.cc
  9250. * test/CookieStorageTest.cc
  9251. * test/NsCookieParserTest.cc
  9252. * test/Sqlite3MozCookieParserTest.cc
  9253. 2008-09-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9254. Removed CookieBox, CookieBoxFactory.
  9255. * src/CookieBox.cc
  9256. * src/CookieBox.h
  9257. * src/CookieBoxFactory.cc
  9258. * src/CookieBoxFactory.h
  9259. * src/Makefile.am
  9260. 2008-09-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9261. Use CookieStorage class instead of CookieBox class.
  9262. Now CookieStorage accepts cookies from numeric host such as 192.168.1.1.
  9263. * src/AbstractProxyRequestCommand.cc
  9264. * src/CookieStorage.cc
  9265. * src/DownloadEngine.cc
  9266. * src/DownloadEngine.h
  9267. * src/HttpConnection.cc
  9268. * src/HttpConnection.h
  9269. * src/HttpRequest.cc
  9270. * src/HttpRequest.h
  9271. * src/HttpRequestCommand.cc
  9272. * src/HttpResponse.cc
  9273. * src/HttpResponseCommand.cc
  9274. * src/HttpSkipResponseCommand.cc
  9275. * src/Makefile.am
  9276. * src/MultiUrlRequestInfo.cc
  9277. * src/Request.cc
  9278. * src/Request.h
  9279. * src/main.cc
  9280. * test/AllTest.cc
  9281. * test/CookieStorageTest.cc
  9282. * test/CookieTest.cc
  9283. * test/HttpRequestTest.cc
  9284. * test/HttpResponseTest.cc
  9285. * test/Makefile.am
  9286. * test/NsCookieParserTest.cc
  9287. * test/Sqlite3MozCookieParserTest.cc
  9288. * test/nscookietest.txt
  9289. 2008-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9290. Updated
  9291. * test/Cookies.sqlite
  9292. * test/nscookietest.txt
  9293. 2008-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9294. Added tests for CookieStorage::load()
  9295. * test/CookieStorageTest.cc
  9296. 2008-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9297. Added CookieStorage class which is based on RFC2109 and manages cookies
  9298. more strictly than CookieBox and CookieBoxFactory class.
  9299. * src/CookieStorage.cc
  9300. * src/CookieStorage.h
  9301. * src/Cookie.cc
  9302. * src/Cookie.h
  9303. * test/CookieStorageTest.cc
  9304. * test/CookieTest.cc
  9305. 2008-08-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9306. Fixed the bug that commands are created more than the number of pieces.
  9307. * src/RequestGroup.cc
  9308. 2008-08-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9309. Fixed infinite loop bug in FTP when SIZE command failed.
  9310. * src/FtpNegotiationCommand.cc
  9311. 2008-08-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9312. Removed DirectDiskAdaptorTest.h
  9313. * test/Makefile.am
  9314. 2008-08-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9315. Fixed chunk checksum validation cannot detect trailing garbage data.
  9316. BUG#2074141
  9317. * src/AbstractSingleDiskAdaptor.cc
  9318. * src/AbstractSingleDiskAdaptor.h
  9319. * src/CheckIntegrityEntry.cc
  9320. * src/CheckIntegrityEntry.h
  9321. * src/DiskAdaptor.h
  9322. * src/MultiDiskAdaptor.cc
  9323. * src/MultiDiskAdaptor.h
  9324. * src/RequestGroup.cc
  9325. * test/DirectDiskAdaptorTest.cc
  9326. * test/MultiDiskAdaptorTest.cc
  9327. * test/TestUtil.cc
  9328. * test/TestUtil.h
  9329. 2008-08-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9330. Bump up version number of dht.dat file to 3. In version 3 format, time
  9331. is stored in 64bit, network byte order.
  9332. New build can load old format(version 2) but it saves the file in new
  9333. format. It means once you used new build, your dht.dat becomes
  9334. incompatible with older build.
  9335. * src/DHTRoutingTableDeserializer.cc
  9336. * src/DHTRoutingTableSerializer.cc
  9337. * test/DHTRoutingTableSerializerTest.cc
  9338. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9339. Added load-v0001.aria2 and load-nonBt-v0001.aria2 to EXTRA_DIST.
  9340. * test/Makefile.am
  9341. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9342. Bump up version number of .aria2 control file to 0001.
  9343. New aria2 can still load version 0000 file but it saves the file in
  9344. version 0001 format. It means that new aria2 can resume download
  9345. started by old aria2 but the opposite is not true.
  9346. * src/DefaultBtProgressInfoFile.cc
  9347. * src/DefaultBtProgressInfoFile.h
  9348. * test/DefaultBtProgressInfoFileTest.cc
  9349. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9350. Added ntoh64 and hton64 as inline functions.
  9351. * src/Util.cc
  9352. * test/UtilTest.cc
  9353. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9354. Added sqlite3 depenency and Firefox3 cookie support.
  9355. * README
  9356. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9357. State that firefox3 cookie is supported explicitly in the usage.
  9358. * src/usage_text.h
  9359. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9360. Externalized message.
  9361. * src/RequestGroupMan.cc
  9362. * src/message.h
  9363. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9364. Save temporary file first and rename to the destination on success.
  9365. Added test cases.
  9366. * src/RequestGroupMan.cc
  9367. * test/RequestGroupManTest.cc
  9368. 2008-08-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9369. Fixed the bug that the number of connected peer is exceeding the limit
  9370. (55 by default) in seeding mode.
  9371. Multiplied 0.8 to _maxUploadSpeedLimit.
  9372. * src/ActivePeerConnectionCommand.cc
  9373. 2008-08-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9374. Clear table item.
  9375. * src/Dictionary.cc
  9376. 2008-08-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9377. Fixed error handling of lseek.
  9378. * src/AbstractDiskWriter.cc
  9379. 2008-08-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9380. Removed "(1.x/2.x)" from TEXT_LOAD_COOKIES since aria2 can load Firefox3
  9381. style cookie file.
  9382. * src/usage_text.h
  9383. 2008-08-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9384. If a cookie whose expire date is later than 2038-01-19 03:14:07 GMT is
  9385. sent from server, its expire date is assumed to 2038-01-19 03:14:07 GMT.
  9386. If Util::httpGMT is failed, then Cookie::onetime is set to true.
  9387. * src/Util.cc
  9388. * src/Util.h
  9389. * src/CookieParser.cc
  9390. * test/UtilTest.cc
  9391. * test/CookieParserTest.cc
  9392. 2008-08-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9393. Separate the implementation to load old mozilla format of cookie to
  9394. NsCookieParser class.
  9395. * src/CookieBoxFactory.cc
  9396. * src/CookieBoxFactory.h
  9397. * src/NsCookieParser.cc
  9398. * src/NsCookieParser.h
  9399. * test/NsCookieParserTest.cc
  9400. 2008-08-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9401. Made parse() const
  9402. * src/Sqlite3MozCookieParser.cc
  9403. * src/Sqlite3MozCookieParser.h
  9404. 2008-08-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9405. Added firefox3 cookie support based on the patch submitted by
  9406. tizianomueller.
  9407. firefox3 cookie is SQLite3 database. libsqlite3 is required to enable
  9408. this functionality.
  9409. * configure.ac
  9410. * m4/sqlite3.m4
  9411. * src/CookieBoxFactory.cc
  9412. * src/CookieBoxFactory.h
  9413. * src/Makefile.am
  9414. * src/Makefile.in
  9415. * src/Sqlite3MozCookieParser.cc
  9416. * src/Sqlite3MozCookieParser.h
  9417. * src/main.cc
  9418. * test/CookieBoxFactoryTest.cc
  9419. * test/Makefile.am
  9420. * test/Makefile.in
  9421. * test/Sqlite3MozCookieParserTest.cc
  9422. * test/badcookies.sqlite
  9423. * test/cookies.sqlite
  9424. 2008-08-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9425. Added Danish and Greek translations.
  9426. Updated Spanish, Catalan, Norwegian Nynorsk translations.
  9427. Great thanks to all translators.
  9428. * po/LINGUAS
  9429. * po/el.po
  9430. * po/da.po
  9431. * po/es.po
  9432. * po/ca.po
  9433. * po/nn.po
  9434. 2008-08-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9435. Fixed man page: --follow-bittorrent should be --follow-torrent
  9436. * doc/aria2c.1.txt
  9437. 2008-08-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9438. Fixed: numCommand is less than the value specified in -C option.
  9439. * src/RequestGroup.cc
  9440. 2008-08-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9441. Fixed occasional assertion failure in PieceSegment.
  9442. Calling PieceStorage::getMissingPiece(size_t) was missing after
  9443. canceling segments in SegmentMan::getSegment(int32_t). This resulted in
  9444. creation of duplicate segments and one of the segment was finished then
  9445. assertion failure was caused.
  9446. * src/SegmentMan.cc
  9447. * test/SegmentManTest.cc
  9448. 2008-08-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9449. Added options to load/save the server's performance/status to a file
  9450. and the timeout to drop their data.
  9451. --server-stat-of=FILE specifies the file to which performance data
  9452. is saved.
  9453. --server-stat-if=FILE specifies the file to read previously saved
  9454. by --server-stat-of option. Might be used with --uri-selector=feedback.
  9455. --server-stat-timeout=TIMEOUT specifies timeout to invalidate the data.
  9456. TIMEOUT is specified in seconds and the default value is 24hours.
  9457. * src/MultiUrlRequestInfo.cc
  9458. * src/OptionHandlerFactory.cc
  9459. * src/RequestGroupMan.cc
  9460. * src/RequestGroupMan.h
  9461. * src/ServerStatMan.cc
  9462. * src/ServerStatMan.h
  9463. * src/option_processing.cc
  9464. * src/prefs.cc
  9465. * src/prefs.h
  9466. * test/ServerStatManTest.cc
  9467. 2008-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9468. Implemented ServerStatMan::removeStaleServerStat() and its test case.
  9469. * src/ServerStatMan.cc
  9470. * src/ServerStatMan.h
  9471. * test/ServerStatManTest.cc
  9472. 2008-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9473. Implemented ServerStatMan::load(...) function and its test case.
  9474. * src/ServerStat.cc
  9475. * src/ServerStat.h
  9476. * src/ServerStatMan.cc
  9477. * test/ServerStatManTest.cc
  9478. * test/ServerStatTest.cc
  9479. 2008-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9480. Use time_t instead of int32_t. Use int64_t where milli second is
  9481. expected.
  9482. * src/TimeA2.cc
  9483. * src/TimeA2.h
  9484. 2008-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9485. Implemented ServerStatMan::save(...) function and its test case.
  9486. * src/ServerStat.cc
  9487. * src/ServerStat.h
  9488. * src/ServerStatMan.cc
  9489. * src/ServerStatMan.h
  9490. * test/ServerStatManTest.cc
  9491. 2008-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9492. Now aria2 uses name attribute in Metalink as local filename in
  9493. BitTorrent downloads. BUG#2033999
  9494. * src/BtContext.h
  9495. * src/BtDependency.cc
  9496. * src/DefaultBtContext.cc
  9497. * src/DefaultBtContext.h
  9498. * src/SingleFileDownloadContext.cc
  9499. * src/SingleFileDownloadContext.h
  9500. * test/BtDependencyTest.cc
  9501. * test/DefaultBtContextTest.cc
  9502. * test/MockBtContext.h
  9503. 2008-08-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9504. Added AC_C_BIGENDIAN
  9505. * src/configure.ac
  9506. 2008-08-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9507. Limited numCommand less than or equal to the number of piece.
  9508. * src/RequestGroup.cc
  9509. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9510. Eliminated randomness from the test case. Removed #ifdef __MINGW32
  9511. directive.
  9512. * test/DefaultPieceStorageTest.cc
  9513. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9514. Fixed memory leak in test code
  9515. * test/AnnounceListTest.cc
  9516. * test/DefaultPeerListProcessorTest.cc
  9517. * test/DefaultPeerStorageTest.cc
  9518. * test/MetaFileUtilTest.cc
  9519. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9520. Fixed wrong argument passing to BitfieldMan::isBitSet()
  9521. * src/DefaultPieceStorage.cc
  9522. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9523. Initialized _directIOAllowed
  9524. * src/MultiDiskAdaptor.cc
  9525. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9526. Fixed memory leak
  9527. * src/GZipDecoder.cc
  9528. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9529. Fixed memory leak
  9530. * src/MetalinkParserStateMachine.cc
  9531. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9532. Fixed memory leak
  9533. * src/Dictionary.cc
  9534. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9535. Fixed memory leak
  9536. * src/IteratableChunkChecksumValidator.h
  9537. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9538. Fixed unmatched malloc/free.
  9539. * src/IteratableChunkChecksumValidator.cc
  9540. * src/IteratableChecksumValidator.cc
  9541. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9542. Removed max chunk size check. This change fixes BUG#2040169
  9543. * src/ChunkedDecoder.cc
  9544. * src/ChunkedDecoder.h
  9545. * test/ChunkedDecoderTest.cc
  9546. 2008-08-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9547. Implemented download speed based URI selection algorithm.
  9548. Introduced new option --uri-selector.
  9549. If --uri-selector=feedback is given, aria2 uses download speed observed
  9550. in the previous downloads and chooses fastest server in the URI list.
  9551. Currently at most 10 URIs are considered to introduce randomeness for
  9552. finding better servers. The speed is average download speed in the
  9553. downloads.
  9554. On the other hand, if --uri-selector=inorder is given, which is default,
  9555. URI is tried in order in URI list.
  9556. The usage text for the new option has not been written yet.
  9557. * src/AbstractCommand.cc
  9558. * src/DownloadCommand.cc
  9559. * src/DownloadEngine.cc
  9560. * src/DownloadEngineFactory.cc
  9561. * src/InOrderURISelector.cc
  9562. * src/InOrderURISelector.h
  9563. * src/OptionHandlerFactory.cc
  9564. * src/PeerStat.h
  9565. * src/RequestGroup.cc
  9566. * src/RequestGroup.h
  9567. * src/RequestGroupMan.cc
  9568. * src/RequestGroupMan.h
  9569. * src/SegmentMan.cc
  9570. * src/SegmentMan.h
  9571. * src/ServerStat.cc
  9572. * src/ServerStat.h
  9573. * src/ServerStatMan.cc
  9574. * src/ServerStatMan.h
  9575. * src/ServerStatURISelector.cc
  9576. * src/ServerStatURISelector.h
  9577. * src/URISelector.h
  9578. * src/option_processing.cc
  9579. * src/prefs.cc
  9580. * src/prefs.h
  9581. * test/InOrderURISelectorTest.cc
  9582. * test/RequestGroupManTest.cc
  9583. * test/ServerStatManTest.cc
  9584. * test/ServerStatURISelectorTest.cc
  9585. 2008-08-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9586. * Release 0.15.1+2
  9587. 2008-08-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9588. Bump up version number to 0.15.1+2
  9589. * configure.ac
  9590. 2008-08-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9591. Fixed the bug that configure --enable-FEATURE actually disables FEATURE.
  9592. * m4/aria2_arg.m4
  9593. 2008-08-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9594. * Release 0.15.1+1
  9595. 2008-08-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9596. Bump up version number to 0.15.1+1
  9597. * configure.ac
  9598. 2008-08-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9599. Fixed the bug that causes segmentaion fault when resuming download
  9600. using metalink without size tag. Reproducible only using HTTP URI.
  9601. * src/HttpResponseCommand.cc
  9602. * src/FtpNegotiationCommand.cc
  9603. 2008-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9604. * Release 0.15.1
  9605. 2008-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9606. Updated Bulgarian and French translations, thanks to all translators.
  9607. * po/bg.po
  9608. * po/fr.po
  9609. 2008-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9610. Bump up version number to 0.15.1
  9611. * configure.ac
  9612. 2008-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9613. Avoid repeated call of gettimeofday() when calculating speed.
  9614. * src/SpeedCalc.cc
  9615. * src/SpeedCalc.h
  9616. 2008-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9617. Removed writable check when socket's send buffer is full in BitTorrent
  9618. downloads to lower CPU usage.
  9619. * src/PeerInteractionCommand.cc
  9620. 2008-07-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9621. Fixed broken gzip inflation.
  9622. Turn off segmented downloading if gzip content is smaller than or equal
  9623. to 1MiB and inflate the data on the fly, because HTTP response header
  9624. doesn't contain the length of inflated file we can't determin where
  9625. the chunk of data should be written.
  9626. On the other hand, if gzip content is larger than 1MB, then turn off
  9627. on the fly inflation, because some servers returns "content-type: gzip"
  9628. for *.tgz, *.gz files.
  9629. * src/DownloadCommand.cc
  9630. * src/HttpResponseCommand.cc
  9631. * src/HttpResponseCommand.h
  9632. 2008-07-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9633. Applied tizianomueller's patch to fix compile error.
  9634. * test/BitfieldManTest.cc
  9635. * test/BtRequestMessageTest.cc
  9636. * test/DefaultBtContextTest.cc
  9637. * test/DefaultDiskWriterTest.cc
  9638. * test/DefaultPieceStorageTest.cc
  9639. * test/HttpHeaderProcessorTest.cc
  9640. * test/HttpResponseTest.cc
  9641. * test/Metalink2RequestGroupTest.cc
  9642. * test/MetalinkParserControllerTest.cc
  9643. * test/MetalinkProcessorTest.cc
  9644. * test/PeerSessionResourceTest.cc
  9645. * test/UtilTest.cc
  9646. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9647. * Release 0.15.0
  9648. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9649. Reordered src files in POTFILES.in so that usage text appears first.
  9650. * po/POTFILES.in
  9651. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9652. Bump up version number to 0.15.0
  9653. * configure.ac
  9654. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9655. Added Bulgarian translation.
  9656. Updated Catalan, Spanish, French and Japanese translations.
  9657. Thanks to all translators.
  9658. * po/LINGUAS
  9659. * po/bg.po
  9660. * po/ca.po
  9661. * po/es.po
  9662. * po/fr.po
  9663. * po/ja.po
  9664. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9665. Updated feature list. Added libz for dependency section.
  9666. Added a description about unit testing using CppUnit.
  9667. * README
  9668. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9669. Added a test for libz. Quoted where it is necessary.
  9670. * build_test.sh
  9671. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9672. Added GZip to `Enabled Features' list.
  9673. * src/FeatureConfig.cc
  9674. * src/FeatureConfig.h
  9675. * test/FeatureConfigTest.cc
  9676. 2008-07-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9677. Now SegmentMan::findSlowerSegmentEntry() picks up the segment for which
  9678. the transfer has not yet started.
  9679. Rewritten SegmentMan::registerPeerStat() and SegmentMan::getPeerStat().
  9680. * src/SegmentMan.cc
  9681. * src/SegmentMan.h
  9682. * test/SegmentManTest.cc
  9683. 2008-07-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9684. Cache last calculated average download/upload speed.
  9685. PeerStat::getAvgDownloadSpeed(), PeerStat::getAvgUploadSpeed() return
  9686. cached value.
  9687. Now SpeedCalc::changeSw() is called from SpeedCalc::calculateSpeed()
  9688. * src/PeerStat.h
  9689. * src/SpeedCalc.cc
  9690. * src/SpeedCalc.h
  9691. 2008-07-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9692. Call parseUrl directly.
  9693. * src/Request.cc (resetUrl)
  9694. 2008-07-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9695. Supported absolute/relative path in Location header field.
  9696. * src/AbstractCommand.cc: Call resetUrl() when DlRetryEx is caught.
  9697. * src/HttpHeader.cc
  9698. * src/HttpHeader.h
  9699. * src/HttpResponse.cc
  9700. * src/HttpSkipResponseCommand.cc
  9701. * src/Request.cc
  9702. * test/HttpHeaderTest.cc
  9703. * test/HttpResponseTest.cc
  9704. * test/RequestTest.cc
  9705. 2008-07-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9706. Changed help text for --load-cookie option.
  9707. * doc/aria2c.1.txt
  9708. * src/usage_text.h
  9709. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9710. Regenerated test/Makefile.in to remove stale ChangeLog.
  9711. * test/Makefile.in
  9712. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9713. Updated po files.
  9714. * po/aria2c.pot
  9715. * po/*.po
  9716. * po/*.gmo
  9717. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9718. Bump up version number to 0.15.0b
  9719. * configure.ac
  9720. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9721. Externalize messages.
  9722. * src/RequestGroupMan.cc
  9723. * src/message.h: Added MSG_SIGNATURE_SAVED, MSG_SIGNATURE_NOT_SAVED.
  9724. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9725. Use File::exists() instead of File::isFile() to allow non-regular file
  9726. such as block special files.
  9727. * src/AbstractDiskWriter.cc
  9728. * src/MultiDiskWriter.cc
  9729. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9730. Supplied missing EAI_SYSTEM. Thanks ggknauf for the patch.
  9731. * src/gai_strerror.h
  9732. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9733. Fixed compile error. Thanks gknauf for the patch.
  9734. * src/asctime_r.c
  9735. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9736. Included asctime_r.h from a2time.h.
  9737. * src/a2time.h
  9738. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9739. Added a message "aria2 doesn't verify signature" to log message when
  9740. signature file is saved.
  9741. * src/RequestGroupMan.cc
  9742. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9743. Added the ability to save signature when download is completed if
  9744. signature is available. The filename of signature file is the path to
  9745. download file followed by ".sig". If it already exists, then signature
  9746. will not be saved.
  9747. * src/RequestGroupMan.cc
  9748. * src/Signature.cc
  9749. * test/SignatureTest.cc
  9750. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9751. Updated the descriptions for --bt-seed-unverified.
  9752. * doc/aria2c.1
  9753. * doc/aria2c.1.html
  9754. * doc/aria2c.1.txt
  9755. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9756. Renamed --bt-seed option as --bt-seed-unverified so that it makes clear
  9757. that this is not going to verify files using piece hashes.
  9758. * src/HelpItemFactory.cc
  9759. * src/OptionHandlerFactory.cc
  9760. * src/RequestGroup.cc
  9761. * src/option_processing.cc
  9762. * src/prefs.cc
  9763. * src/prefs.h
  9764. * src/usage_text.h
  9765. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9766. Added the ability to retrieve signature from Metalink file.
  9767. A retrieved signature is stored in Signature class and it is held by
  9768. DownloadContext class. Note that aria2 doesn't verify signature.
  9769. * src/DownloadContext.cc
  9770. * src/DownloadContext.h
  9771. * src/Makefile.am
  9772. * src/Makefile.in
  9773. * src/Metalink2RequestGroup.cc
  9774. * src/MetalinkEntry.cc
  9775. * src/MetalinkEntry.h
  9776. * src/MetalinkParserController.cc
  9777. * src/MetalinkParserController.h
  9778. * src/MetalinkParserStateMachine.cc
  9779. * src/MetalinkParserStateMachine.h
  9780. * src/Signature.cc
  9781. * src/Signature.h
  9782. * src/SignatureMetalinkParserState.cc
  9783. * src/SignatureMetalinkParserState.h
  9784. * src/VerificationMetalinkParserState.cc
  9785. * src/VerificationMetalinkParserState.h
  9786. * test/Metalink2RequestGroupTest.cc
  9787. * test/MetalinkParserControllerTest.cc
  9788. * test/MetalinkProcessorTest.cc
  9789. * test/test.xml
  9790. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9791. Close DiskAdaptor after renaming file.
  9792. * src/RequestGroup.cc
  9793. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9794. Corrected indentation
  9795. * src/DefaultBtProgressInfoFile.cc
  9796. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9797. Moved the calls of std::ios::exceptions() inside of try-catch block
  9798. because if an error occurred in constructor of std::fstream, then
  9799. exception is thrown immediately when std::ios::exceptions() is called
  9800. which results unhandled exception and aria2c aborts.
  9801. * src/DefaultBtProgressInfoFile.cc
  9802. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9803. Added the test for the previous change in DefaultBtContext.cc
  9804. * test/DefaultBtContextTest.cc
  9805. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9806. Fixed the bug that causes infinite loop when the number of pieces are
  9807. fewer than allowed fast set size which is 10 by default.
  9808. * src/DefaultBtContext.cc
  9809. 2008-07-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9810. Updated the descriptions for -j, -s. Added --bt-seed.
  9811. * doc/aria2c.1
  9812. * doc/aria2c.1.html
  9813. * doc/aria2c.1.txt
  9814. 2008-07-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9815. Added --bt-seed option. If --bt-seed=true is given at the command-line,
  9816. aria2 seeds previously downloaded files without validating piece hashs.
  9817. * src/HelpItemFactory.cc
  9818. * src/OptionHandlerFactory.cc
  9819. * src/RequestGroup.cc
  9820. * src/option_processing.cc
  9821. * src/prefs.cc
  9822. * src/prefs.h
  9823. * src/usage_text.h
  9824. 2008-07-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9825. Updated DESCRIPTION of man page.
  9826. * doc/aria2c.1
  9827. * doc/aria2c.1.html
  9828. * doc/aria2c.1.txt
  9829. 2008-07-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9830. Fixed the compile error on Nexenta OS(GNU/Solaris OS).
  9831. Don't define `struct addrinfo' when __sun is defined.
  9832. * src/getaddrinfo.h
  9833. 2008-07-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9834. Introduced a2_struct_stat. It is defined as `struct _stati64' if
  9835. __MINGW32__ is defined, because under MinGW32, _stati64 is used and its
  9836. second argument is of type `struct _stati64'. Otherwise it is defined as
  9837. `struct stat'.
  9838. * src/AbstractDiskWriter.cc
  9839. * src/File.cc
  9840. * src/File.h
  9841. * src/a2io.h
  9842. 2008-07-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9843. Fixed the compile error in hurd-i386
  9844. See the original bug report:
  9845. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488602
  9846. * src/a2io.h
  9847. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9848. Code cleanup.
  9849. * src/PeerAbstractCommand.cc
  9850. * src/PeerAbstractCommand.h
  9851. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9852. Removed TransferEncoding.
  9853. * src/DownloadCommand.cc
  9854. * src/DownloadCommand.h
  9855. * src/HttpResponseCommand.cc
  9856. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9857. Updated po files.
  9858. * po/aria2c.pot
  9859. * po/*.po
  9860. * po/*.gmo
  9861. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9862. Rewritten ChunkedEncoding class as ChunkedDecoder class.
  9863. * src/A2STR.cc
  9864. * src/A2STR.h
  9865. * src/ChunkedDecoder.cc
  9866. * src/ChunkedDecoder.h
  9867. * src/ChunkedEncoding.cc: Removed
  9868. * src/ChunkedEncoding.h: Removed
  9869. * src/DownloadCommand.cc
  9870. * src/DownloadCommand.h
  9871. * src/HttpDownloadCommand.cc
  9872. * src/HttpResponse.cc
  9873. * src/HttpResponse.h
  9874. * src/HttpResponseCommand.cc
  9875. * src/HttpSkipResponseCommand.cc
  9876. * src/HttpSkipResponseCommand.h
  9877. * src/Makefile.am
  9878. * src/TransferEncoding.h: Removed
  9879. * test/ChunkedDecoderTest.cc
  9880. * test/ChunkedEncodingTest.cc: Removed
  9881. * test/HttpResponseTest.cc
  9882. * test/Makefile.am
  9883. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9884. Use append instead of insert.
  9885. * src/GZipDecoder.cc
  9886. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9887. Updated doc
  9888. * src/Decoder.h
  9889. 2008-06-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9890. Updated usage text for -s option.
  9891. * src/usage_text.h
  9892. 2008-06-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9893. Fixed the bug that UTF-8 encoded URL is not URL-encoded properly.
  9894. * src/Request.cc
  9895. 2008-06-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9896. Cleaned up configure.ac.
  9897. * configure.ac
  9898. 2008-06-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9899. Use ARIA2_ARG_WITH and ARIA2_ARG_ENABLE instead of AC_ARG_WITH and
  9900. AC_ARG_ENABLE.
  9901. * configure.ac
  9902. 2008-06-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9903. Added gzip, deflate decoding support in HTTP using libz. If compiled
  9904. with this feature, aria2 sends "Accept-Encoding: deflate, gzip" header
  9905. to a HTTP server. If a server returns "Content-Encoding: gzip" or
  9906. "Content-Encoding: deflate" then, aria2 decodes the response body on the
  9907. fly and writes decoded data to a local disk.
  9908. * README
  9909. * README.html
  9910. * configure.ac
  9911. * m4/aria2_arg.m4: Added ARIA2_ARG_WITH and ARIA2_ARG_ENABLE, they are
  9912. wrapper function for AC_ARG_WITH and AC_ARG_ENABLE respectively.
  9913. * m4/libz.m4
  9914. * src/Decoder.h
  9915. * src/DownloadCommand.cc
  9916. * src/DownloadCommand.h
  9917. * src/Exception.h
  9918. * src/GZipDecoder.cc
  9919. * src/GZipDecoder.h
  9920. * src/HttpHeader.cc
  9921. * src/HttpHeader.h
  9922. * src/HttpRequest.cc
  9923. * src/HttpRequest.h
  9924. * src/HttpResponse.cc
  9925. * src/HttpResponse.h
  9926. * src/HttpResponseCommand.cc
  9927. * src/Makefile.am
  9928. * test/GZipDecoderTest.cc
  9929. * test/HttpRequestTest.cc
  9930. * test/HttpResponseTest.cc
  9931. * test/Makefile.am
  9932. * test/Makefile.in
  9933. * test/gzip_decode_test.gz
  9934. 2008-06-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9935. Clarified usage of -j option.
  9936. * src/usage_text.h
  9937. 2008-06-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9938. Disabled getting size from the response of RETR.
  9939. If SIZE command failed, then disable resuming and segmented downloading.
  9940. * src/FtpConnection.cc
  9941. * src/FtpConnection.h
  9942. * src/FtpNegotiationCommand.cc
  9943. * src/FtpNegotiationCommand.h
  9944. 2008-06-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9945. Use digits to find first byte of file size, which makes the intention
  9946. of the code clearer.
  9947. * src/FtpConnection.cc
  9948. Don't call validateTotalLength() when size is 0.
  9949. * src/FtpNegotiationCommand.cc
  9950. 2008-06-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9951. Updated po files.
  9952. * po/aria2c.pot
  9953. * po/*.gmo
  9954. * po/*.po
  9955. 2008-06-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9956. Clarified usage text for --split option.
  9957. * src/usage_text.h
  9958. 2008-06-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9959. Bump up version number to 0.15.0dev. "dev" means "development"
  9960. version, which means I started the development of the next release!
  9961. * src/configure.ac
  9962. 2008-06-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9963. If FTP server returns negative response with REST raw command and
  9964. requested range is not 0, throw exception. If requested range is 0,
  9965. continue download a file from 0 byte.
  9966. * src/FtpNegotiationCommand.cc
  9967. * src/FtpNegotiationCommand.h
  9968. 2008-06-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9969. Supported FTP server which don't recognize SIZE raw command.
  9970. If SIZE raw command is failed, aria2 will try to get file size
  9971. from the response of RETR raw command. If both attempts are failed,
  9972. then resuming and segmented downloading are disabled.
  9973. * src/FtpConnection.cc
  9974. * src/FtpConnection.h
  9975. * src/FtpNegotiationCommand.cc
  9976. * src/FtpNegotiationCommand.h
  9977. 2008-06-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9978. * Release 0.14.0+1
  9979. 2008-06-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9980. Bump up version number to 0.14.0+1
  9981. * src/configure.ac
  9982. 2008-06-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9983. Fixed the code that refers static member variable from non-static
  9984. context.
  9985. * src/DefaultPeerStorage.cc
  9986. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9987. * Release 0.14.0
  9988. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9989. Added build test script
  9990. * build_test.sh
  9991. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9992. Updated ja.po
  9993. * src/ja.po
  9994. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9995. Bump up version number to 0.14.0
  9996. * src/configure.ac
  9997. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9998. Updated ja.po and fr.po. Great thanks for french translators and
  9999. Sebastien WILLEMIJNS.
  10000. * po/fr.po
  10001. * po/ja.po
  10002. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10003. Added configure option to enable/disable epoll support.
  10004. * configure.ac
  10005. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10006. Updated man page.
  10007. * doc/aria2c.1.txt
  10008. * doc/aria2c.1
  10009. * doc/aria2c.1.html
  10010. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10011. Added missing default value '5' to the usage of --split option.
  10012. * src/HelpItemFactory.cc
  10013. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10014. Filled up pieces based on the number of missing blocks, rather than
  10015. simplay the number of piece * block length.
  10016. * src/BtRequestFactory.h
  10017. * src/DefaultBtInteractive.cc
  10018. * src/DefaultBtInteractive.h
  10019. * src/DefaultBtRequestFactory.cc
  10020. * src/DefaultBtRequestFactory.h
  10021. * src/Piece.cc
  10022. * src/Piece.h
  10023. * test/BitfieldManTest.cc
  10024. * test/DefaultBtRequestFactoryTest.cc
  10025. * test/MockBtRequestFactory.h
  10026. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10027. Made _epEvents a member variable.
  10028. * src/DownloadEngine.cc
  10029. * src/DownloadEngine.h
  10030. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10031. Cancel download if http redirect is bounded more than 20 times.
  10032. * src/AbstractCommand.cc
  10033. * src/HttpSkipResponseCommand.cc
  10034. * src/Request.cc
  10035. * src/Request.h
  10036. * test/RequestTest.cc
  10037. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10038. Fixed unhandled exception(removed keyword `new').
  10039. * src/SocketCore.cc (initEPOLL)
  10040. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10041. Removed visit(const MetaEntry*)
  10042. * src/MetaEntryVisitor.h:
  10043. Added visit(const Data*),visit(const Dictionary*),visit(const List*)
  10044. and made them virtual.
  10045. * src/BencodeVisitor.h
  10046. * src/BencodeVisitor.cc
  10047. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10048. Updated po files.
  10049. * po/aria2c.pot
  10050. * po/*.po
  10051. * po/*.gmo
  10052. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10053. Moved the call setWriteCheckSocket inside the previous clause to reduce
  10054. the number of socket to watch out.
  10055. * src/PeerInteractionCommand.cc
  10056. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10057. When there is not enough space in disk when writing a chunk of data,
  10058. aria2 now prints the message to the console to warn user and aborts
  10059. its download. Not all downloads are canceled because some downloads
  10060. may use another disk or partition. BUG#1640332
  10061. * src/AbstractDiskWriter.cc
  10062. * src/PeerAbstractCommand.cc
  10063. * src/PeerAbstractCommand.h: Added onFailure() function for override.
  10064. * src/PeerInteractionCommand.cc: In onFailure(), call RequestGroup::
  10065. setHaltRequested(true) to cancel download.
  10066. * src/PeerInteractionCommand.h
  10067. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10068. Applied Ross's aria2-0.13.2+1-mingw-5.patch, which changes the type of
  10069. socket from int to sock_t as sockets are unsigned in Windows.
  10070. For AsyncNameResolver, DownloadEngine, I did additional modification
  10071. for the portion of the code changed according to epoll support.
  10072. I defined sock_t in a2netcompat.h to use sock_t without including
  10073. SocketCore.h.
  10074. * src/AsyncNameResolver.cc
  10075. * src/AsyncNameResolver.h
  10076. * src/DownloadEngine.cc
  10077. * src/DownloadEngine.h
  10078. * src/SocketCore.cc
  10079. * src/SocketCore.h
  10080. * src/a2netcompat.h
  10081. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10082. Applied Ross's aria2-0.13.2+1-mingw-4.patch. With this change, all
  10083. changes in the patch were applied.
  10084. * test/DHTConnectionImplTest.cc: Fixed unit test error in MinGW.
  10085. * test/DefaultPieceStorageTest.cc: Fixed unit test error in MinGW.
  10086. * test/PeerMessageUtilTest.cc: Fixed unit test error in MinGW.
  10087. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10088. Applied Ross's aria2-0.13.2+1-mingw-4.patch. In this change,
  10089. a2io.h and common.h were modified.
  10090. * src/a2io.h: Changed seek/stat/tell calls to use 64 bit versions in
  10091. MinGW.
  10092. * src/common.h: Changed off_t to 64 bit in MinGW.
  10093. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10094. Applied Ross's aria2-0.13.2+1-mingw-4.patch. In this commit,
  10095. only a2netcompat.h is modified.
  10096. * src/a2netcompat.h: Removed unused getaddrinfo related #define
  10097. directives.
  10098. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10099. Applied Ross's aria2-0.13.2+1-mingw-4.patch. In this commit,
  10100. only gai_strerror.h is modified.
  10101. * src/gai_strerror.h: Fixed gai_strerror() function to report all
  10102. winsock errors in MinGW.
  10103. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10104. Applied Ross's aria2-0.13.2+1-mingw-4.patch. In this commit, only the
  10105. follow sources are applied.
  10106. * src/Platform.h: I removed HAVE_WINSOCK2_H directive from Platform.h.
  10107. * src/Platform.cc: Moved common setup/teardown code to Platform class.
  10108. I moved #endif // HAVE_WINSOCK2_H to the front of #include "DlAbortEx.h"
  10109. I included locale.h from Platform.cc.
  10110. * src/main.cc: Moved common setup/teardown code to Platform class.
  10111. * test/AllTest.cc: Use Platform class.
  10112. Set locale to C in AllTest.cc to prevent the messages to be localized.
  10113. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10114. Applied Ross's aria2-0.13.2+1-mingw-3.patch.
  10115. * test/HttpHeaderTest.cc: Casted to off_t where it should.
  10116. * test/HttpRequestTest.cc: Casted to off_t where it should.
  10117. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10118. Applied Ross's aria2-0.13.2+1-mingw.patch and
  10119. aria2-0.13.2+1-mingw-2.patch.
  10120. * src/ConsoleStatCalc.cc: Added HAVE_TERMIOUS_H directive for the
  10121. systems which don't have termious.h. I moved the directive inside of
  10122. if(isTTY) { ... clause so that line is wiped out without termious.h.
  10123. I also removed HAVE_ASCTIME_R clause because asctime_r is provided
  10124. anyway.
  10125. * src/asctime_r.h
  10126. * src/asctime_r.c: Added for the systems don't have asctime_r function.
  10127. I added 2nd argument to the prototype declaration.
  10128. * src/StringFormat.cc: Get rid of vasprintf.
  10129. * src/getaddrinfo.h: Fixed constants.
  10130. * configure.ac: Added the check for asctime_r function.
  10131. * src/Makefile.am: Added conditional based on HAVE_ASCTIME_R
  10132. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10133. Added writable test for Socket when the sending message is in progress.
  10134. Usually the sending message is piece message. Without wriable check,
  10135. upload latency is dropped to more than 1sec.
  10136. * src/PeerInteractionCommand.cc
  10137. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10138. Create only requested files and files which shares a piece with
  10139. requested file in multi-torrent downloads. Directory structures are
  10140. also created in the same rule.
  10141. MultiDiskAdaptor::fileExists() now uses FileEntry instead of
  10142. DiskWriterEntry as in the previous implementation.
  10143. * src/MultiDiskWriter.cc
  10144. * src/MultiFileAllocationIterator.cc
  10145. * src/MultiFileAllocationIterator.h
  10146. * test/MultiFileAllocationIteratorTest.cc
  10147. 2008-06-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10148. Commented out -lprofiler
  10149. * src/Makefile.am
  10150. 2008-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10151. Bump up version number to 0.14.0b.
  10152. * src/configure.ac
  10153. 2008-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10154. Actively establish connection to peers in seeding, when peer cache
  10155. is not full and max upload speed limit is not reached.
  10156. * src/ActivePeerConnectionCommand.cc
  10157. * src/ActivePeerConnectionCommand.h
  10158. 2008-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10159. Always remove a peer from cache in DefaultPeerStorage::returnPeer(),
  10160. to make room more fleshy, recently found peers.
  10161. Peer::_badConditionStartTime is not used anymore. Consider to remove
  10162. it.
  10163. * src/DefaultPeerStorage.cc
  10164. * test/DefaultPeerStorageTest.cc
  10165. 2008-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10166. Returns cached data only when the previous receiveHandshake() is called
  10167. with peek = true.
  10168. * src/PeerConnection.cc (receiveHandshake)
  10169. * src/PeerConnection.h (receiveHandshake)
  10170. 2008-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10171. Changed default value of -s option from 1 to 5.
  10172. Also max value of -s option is changed from 5 to 16.
  10173. * src/HelpItemFactory.cc
  10174. * src/OptionHandlerFactory.cc
  10175. * src/option_processing.cc
  10176. * src/usage_text.h
  10177. 2008-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10178. Changed -s options behavior. Now it means the number of connections
  10179. made simultaneously in each http/ftp download.
  10180. If 1 URL is specified, the behavior is the same with old implementation.
  10181. If -s N is given and more than N URLs are specified, first N URLs are
  10182. used and remaining URLs are used for backup. If less than N URLs are
  10183. specified, some of URLs are used more than once so that totally N
  10184. connections are made simultaneously.
  10185. * src/main.cc
  10186. 2008-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10187. Included missing iosfwd or ostream header.
  10188. * src/RequestGroupMan.cc
  10189. * src/TaggedItem.cc
  10190. * src/TaggedItem.h
  10191. * src/Util.cc
  10192. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10193. * src/HttpHeaderProcessor.cc: Rewritten using std::string as a buffer.
  10194. * src/HttpHeaderProcessor.h: Rewritten using std::string as a buffer.
  10195. * src/HttpConnection.cc: Included missing sstream.
  10196. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10197. Added --bt-max-open-files option.
  10198. * src/DefaultPieceStorage.cc
  10199. * src/HelpItemFactory.cc
  10200. * src/MultiDiskAdaptor.cc
  10201. * src/MultiDiskAdaptor.h
  10202. * src/OptionHandlerFactory.cc
  10203. * src/option_processing.cc
  10204. * src/prefs.cc
  10205. * src/prefs.h
  10206. * src/usage_text.h
  10207. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10208. Fixed the bug that aria2 aborts when a path to a directory is given
  10209. in command-line.
  10210. * src/ProtocolDetector.cc
  10211. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10212. Limited the number files opened in each BitTorrent download. The default
  10213. value is 100. The option to change this value will be added.
  10214. * src/MultiDiskAdaptor.cc
  10215. * src/MultiDiskAdaptor.h
  10216. * src/MultiFileAllocationIterator.cc
  10217. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10218. Fixed the bug that HTTP downloads don't start with old libraries.
  10219. * src/HttpHeaderProcessor.cc
  10220. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10221. Use empty() instead of size() > 0.
  10222. * src/HttpConnection.cc
  10223. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10224. Drop connection if the incoming peer ID is the same with localhost's
  10225. one. The previous implementation drops connection when incoming peer's
  10226. IP address is the same with localhost's one.
  10227. * src/PeerListenCommand.cc
  10228. * src/DefaultBtInteractive.cc
  10229. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10230. Returns cached data without checking whether socket is readable
  10231. if the cache is available.
  10232. * src/PeerConnection.cc (receiveHandshake)
  10233. 2008-06-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10234. Included stdint.h
  10235. * src/common.h
  10236. 2008-06-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10237. Removed duplicate HAVE_GETTIMEOFDAY
  10238. * src/Makefile.am
  10239. * src/Makefile.in
  10240. 2008-06-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10241. Use interval as a minInterval when minInterval is not supplied.
  10242. * src/DefaultBtAnnounce.cc
  10243. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10244. Made DEFAULT_ANNOUNCE_INTERVAL 120, so that if first tracker request
  10245. attempt is failed, then 2nd attempt get kicked out more quickly.
  10246. And it is now static const member of DefaultBtAnnounce.
  10247. * src/DefaultBtAnnounce.h
  10248. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10249. Renamed BtRuntime::lessThanMinPeers() and BtRuntime::lessThanEqMinPeers.
  10250. Made MAX_PEERS and MIN_PEERS static const members of BtRuntime.
  10251. * src/ActivePeerConnectionCommand.cc
  10252. * src/BtConstants.h
  10253. * src/BtRuntime.h
  10254. * src/DHTGetPeersCommand.cc
  10255. * src/DefaultBtAnnounce.cc
  10256. * src/DefaultPeerStorage.cc: Calculate maxPeerListSize based on
  10257. BtRuntime::MAX_PEERS.
  10258. * src/DefaultPeerStorage.h
  10259. * src/InitiatorMSEHandshakeCommand.cc
  10260. * src/PeerInitiateConnectionCommand.cc
  10261. * src/PeerInteractionCommand.cc
  10262. * src/PeerReceiveHandshakeCommand.cc
  10263. * src/TrackerWatcherCommand.cc
  10264. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10265. Always Connect to _numNewConnection
  10266. * src/ActivePeerConnectionCommand.cc
  10267. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10268. Made `begin' unsigned int.
  10269. * src/GrowSegment.h
  10270. * src/Piece.cc
  10271. * src/Piece.h
  10272. * src/PiecedSegment.cc
  10273. * src/PiecedSegment.h
  10274. * src/Segment.h
  10275. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10276. Calculate piece hash when data is arrived if the data is arrived in
  10277. order. This removes additional read operation for hash calculation.
  10278. If the data is arrived in out of order, the hash is calucated when the
  10279. piece is completed. This is the same behavior as the old implementation.
  10280. * src/BtPieceMessage.cc
  10281. * src/DefaultBtProgressInfoFile.cc
  10282. * src/DefaultPieceStorage.cc
  10283. * src/DownloadCommand.cc
  10284. * src/DownloadCommand.h
  10285. * src/DownloadEngine.cc
  10286. * src/GrowSegment.cc
  10287. * src/GrowSegment.h
  10288. * src/Piece.cc
  10289. * src/Piece.h
  10290. * src/PiecedSegment.cc
  10291. * src/PiecedSegment.h
  10292. * src/Segment.h
  10293. * test/PieceTest.cc
  10294. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10295. Try to keep the ordering of outgoing piece message.
  10296. * src/DefaultBtMessageDispatcher.cc
  10297. (DefaultBtMessageDispatcher::sendMessages)
  10298. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10299. Fixed busy loop when error/hup epoll events occur.
  10300. * src/AbstractCommand.cc
  10301. * src/PeerAbstractCommand.cc
  10302. 2008-06-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10303. Added --bt-request-peer-speed-limit option, which was a constant
  10304. SLOW_SPEED_THRESHOLD.
  10305. * src/ActivePeerConnectionCommand.cc
  10306. * src/ActivePeerConnectionCommand.h
  10307. * src/BtConstants.h
  10308. * src/HelpItemFactory.cc
  10309. * src/OptionHandlerFactory.cc
  10310. * src/PeerReceiveHandshakeCommand.cc
  10311. * src/option_processing.cc
  10312. * src/prefs.cc
  10313. * src/prefs.h
  10314. * src/usage_text.h
  10315. 2008-06-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10316. Removed repeated call of getTopDirPath(). Instead, call it once and
  10317. cache the result.
  10318. * src/MultiDiskAdaptor.cc
  10319. * src/MultiDiskAdaptor.h
  10320. (mkdir, openFile, initAndOpenFile, openExistingFile)
  10321. 2008-06-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10322. Fixed compile error on debian etch.
  10323. The libc6 shipped with debian etch doesn't define ULLONG_MAX properly
  10324. even if _GNU_SOURCE is defined. So define ULLONG_MAX in case when
  10325. it is undefined.
  10326. * src/Util.cc (ULLONG_MAX)
  10327. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10328. Added epoll support. Use epoll if it is available. If not, use select.
  10329. When async dns is enabled in compile time, epoll support is enabled
  10330. only when aria2 is built with c-ares. This condition statement is
  10331. defined in a2io.h.
  10332. Currently aria2 supports both c-ares and ares, but ares is maintained
  10333. for quite a while and debian already has c-ares package, ares support
  10334. will be dropped in the future version.
  10335. * configure.ac
  10336. * src/AbstractCommand.cc
  10337. * src/AsyncNameResolver.cc
  10338. * src/AsyncNameResolver.h
  10339. * src/Command.cc
  10340. * src/Command.h
  10341. * src/DownloadEngine.cc
  10342. * src/DownloadEngine.h
  10343. * src/PeerAbstractCommand.cc
  10344. * src/SocketCore.cc
  10345. * src/SocketCore.h
  10346. * src/a2io.h
  10347. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10348. * test/MetalinkEntryTest.cc: Added missing `defined' keyword to #if
  10349. directive.
  10350. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10351. Do not do write operation to /dev/null file.
  10352. * src/LogFactory.cc
  10353. * src/SimpleLogger.cc
  10354. Replaced vasprintf with vsnprintf
  10355. * src/SimpleLogger.cc (SimpleLogger::writeLog)
  10356. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10357. * src/BtRequestMessage.cc
  10358. (BtRequestMessage::onQueue): Given piece to RequestSlot. This is a fix
  10359. for segmentation fault caused by previous commit.
  10360. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10361. Reduced the usage of gettimeofday().
  10362. * src/DefaultBtMessageDispatcher.cc
  10363. (DefaultBtMessageDispatcher::checkRequestSlotAndDoNecessaryThing)
  10364. (class FindStaleRequestSlot, class ProcessStaleRequestSlot)
  10365. * src/RequestSlot.cc
  10366. * src/RequestSlot.h
  10367. (RequestSlot::isTimeout)
  10368. Made RequestSlot have a reference to Piece object to avoid find
  10369. Piece repeatedly.
  10370. * src/DefaultBtMessageDispatcher.cc
  10371. (class FindStaleRequestSlot, class ProcessStaleRequestSlot)
  10372. * src/RequestSlot.cc
  10373. * src/RequestSlot.h
  10374. (RequestSlot::getPiece)
  10375. * test/DefaultBtMessageDispatcherTest.cc
  10376. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10377. * src/TimeA2.cc
  10378. * src/TimeA2.h
  10379. (Time::difference): New function.
  10380. (Time::elapsed): Done optimization.
  10381. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10382. * src/HelpItemFactory.cc: Added missing `defined' keyword to #if
  10383. directive.
  10384. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10385. * src/option_processing.cc: Added missing `defined' keyword to #if
  10386. directive.
  10387. 2008-05-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10388. Bump up version number to 0.13.2+1
  10389. * src/configure.ac
  10390. 2008-05-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10391. Refactored broken outstanding piece handling.
  10392. * src/DefaultPieceStorage.cc
  10393. * src/DefaultPieceStorage.h
  10394. * src/Piece.cc
  10395. * src/Piece.h
  10396. 2008-05-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10397. Fixed compile error on Mac OS X 10.3.9. This error was caused by the
  10398. name collision of static variable and predefined macro.
  10399. * src/BtContext.cc
  10400. * src/BtContext.h
  10401. * src/CookieBoxFactory.cc
  10402. * src/CookieBoxFactory.h
  10403. * src/CookieParser.cc
  10404. * src/CookieParser.h
  10405. * src/DefaultBtContext.cc
  10406. 2008-05-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10407. * src/RequestGroup.cc
  10408. (RequestGroup::createInitialCommand): Use empty() instead of size().
  10409. 2008-05-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10410. * Release 0.13.2
  10411. 2008-05-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10412. Updated fr.po(thanks to Sebastien) and ja.po. ThanksDone make update-po
  10413. * po/fr.po
  10414. * po/ja.po
  10415. * po/aria2c.pot
  10416. * po/*.po
  10417. * po/*.gmo
  10418. 2008-05-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10419. Bump up version number to 0.13.2
  10420. * src/configure.ac
  10421. 2008-05-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10422. Refactord.
  10423. * src/RequestGroupMan.cc
  10424. (removeStoppedGroup)
  10425. (fillRequestGroupFromReserver)
  10426. 2008-05-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10427. Fixed compile error on Ubuntu.
  10428. * src/BtPieceMessage.cc
  10429. * src/MessageDigestHelper.cc
  10430. * src/Util.cc
  10431. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10432. Fixed compile error when configured with --disable-bittorrent
  10433. * test/DownloadHandlerFactoryTest.cc
  10434. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10435. Done make update-po
  10436. * po/aria2c.pot
  10437. * po/*.po
  10438. * po/*.gmo
  10439. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10440. Bump up version number to 0.13.2rc.
  10441. * src/configure.ac
  10442. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10443. Made option name bold. Updated SYNOPSIS to make it more readable.
  10444. * doc/aria2c.1.txt
  10445. * doc/aria2c.1
  10446. * doc/aria2c.1.html
  10447. * src/version_usage.cc
  10448. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10449. Refactored. Use std::string instead of size and char*.
  10450. * Data.cc
  10451. * Data.h
  10452. * test/Data.cc
  10453. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10454. Added trimSelf(). Rewritten trim() to use trimSelf().
  10455. * Util.cc
  10456. * Util.h
  10457. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10458. * src/ChunkChecksum.h (getChecksum): Return const reference.
  10459. 2008-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10460. Fixed compile error when configured with --disable-metalink.
  10461. Also moved test/DownloadHandlerFactoryTest.cc to SRC in Makefile.am.
  10462. * test/FeatureConfigTest.cc
  10463. * test/DownloadHandlerFactoryTest.cc
  10464. 2008-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10465. Fixed compile error when configured with --without-gnutls
  10466. --without-openssl
  10467. * src/main.cc
  10468. * test/DefaultBtProgressInfoFileTest.cc
  10469. * test/SegmentManTest.cc
  10470. 2008-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10471. Fixed compile error with OpenSSL.
  10472. * src/IteratableChunkChecksumValidator.cc
  10473. * src/LibsslDHKeyExchange.h
  10474. * src/MessageDigestHelper.cc
  10475. 2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10476. Revert the default value of --max-concurrent-downloads to 5.
  10477. Revert the default value of --metalink-servers to 5.
  10478. Man pages was also updated.
  10479. * src/option_processing.cc
  10480. * doc/aria2c.1.txt
  10481. * doc/aria2c.1.html
  10482. * doc/aria2c.1
  10483. 2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10484. Returns const reference:
  10485. DownloadContext::getPieceHash, DownloadContext::getName,
  10486. DownloadContext::getPieceHashAlgo, DownloadContext::getDir,
  10487. BtContext::getInfoHashAsString,
  10488. * src/BtContext.h
  10489. * src/DefaultBtContext.cc
  10490. * src/DefaultBtContext.h
  10491. * src/DownloadContext.h
  10492. * src/SingleFileDownloadContext.h
  10493. * test/MockBtContext.h
  10494. 2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10495. * src/RequestGroup.h (getDir): Removed.
  10496. 2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10497. Returns const reference. The internal urlencode function was optimized
  10498. a little bit.
  10499. * src/Request.cc
  10500. * src/Request.h
  10501. * src/HttpRequest.cc
  10502. * src/HttpRequest.h
  10503. 2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10504. Defined option name and possible values as std::string to reduce
  10505. temporary string object creation in runtime.
  10506. * src/HelpItemFactory.cc
  10507. * src/LogFactory.cc
  10508. * src/Option.cc
  10509. * src/OptionHandlerFactory.cc
  10510. * src/option_processing.cc
  10511. * src/prefs.cc
  10512. * src/prefs.h
  10513. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10514. Return const reference.
  10515. * src/DownloadHandlerConstants.cc
  10516. * src/DownloadHandlerConstants.h
  10517. (getMetalinkExtensions)
  10518. (getMetalinkContentTypes)
  10519. (getBtExtensions)
  10520. (getBtContentTypes)
  10521. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10522. * src/HttpHeader.cc (get): Rewritten.
  10523. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10524. Make HttpHeader::getFirst(...) return const reference.
  10525. * src/HttpHeader.cc
  10526. * src/HttpHeader.h
  10527. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10528. Use Option::getAsBool(...) instead of Option::get(...) and compare
  10529. it with V_TRUE.
  10530. * src/DefaultPieceStorage.cc
  10531. * src/DownloadCommand.cc
  10532. * src/FtpNegotiationCommand.cc
  10533. * src/HttpRequest.cc
  10534. * src/InitiateConnectionCommand.cc
  10535. * src/RequestGroup.cc
  10536. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10537. Made Option::get(...) return const reference of std::string.
  10538. * src/Option.cc
  10539. * src/Option.h
  10540. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10541. Replaced std:copy with insert.
  10542. * src/DefaultBtMessageDispatcher.cc
  10543. * src/DefaultPieceStorage.cc
  10544. * src/DownloadEngineFactory.cc
  10545. * src/RequestGroup.cc
  10546. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10547. Included SocketCore.h to fix compiler warning.
  10548. * src/InitiateConnectionCommand.cc
  10549. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10550. Put piece selection strategy algorithm to RarestPieceSelector class,
  10551. Added a switch to choose whether randomized selection so that unit
  10552. tests emit same results in, possibly, win32.
  10553. * src/DefaultPieceStorage.cc
  10554. * src/DefaultPieceStorage.h
  10555. * src/RarestPieceSelector.cc
  10556. * src/RarestPieceSelector.h
  10557. * test/DefaultPieceStorageTest.cc
  10558. * test/RarestPieceSelectorTest.cc
  10559. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10560. Don't pool connection if HTTP proxy is enabled.
  10561. * src/FtpFinishDownloadCommand.cc
  10562. * src/FtpNegotiationCommand.cc
  10563. * src/HttpSkipResponseCommand.cc
  10564. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10565. Don't add closed socket to DownloadEngine::addSocketForReadCheck()
  10566. * src/AbstractCommand.cc
  10567. * src/AbstractCommand.h
  10568. * src/ActivePeerConnectionCommand.cc
  10569. * src/FtpInitiateConnectionCommand.cc
  10570. * src/HttpInitiateConnectionCommand.cc
  10571. * src/InitiateConnectionCommandFactory.cc
  10572. * src/PeerAbstractCommand.cc
  10573. * src/PeerAbstractCommand.h
  10574. * src/PeerInitiateConnectionCommand.cc
  10575. * src/TrackerWatcherCommand.cc
  10576. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10577. Sort RequestSlot in ascending order and manipulate them using
  10578. lower_bound.
  10579. * src/DefaultBtMessageDispatcher.cc
  10580. * src/DefaultBtMessageDispatcher.h
  10581. (getMessageQueue): Added const qualifier.
  10582. (getRequestSlots): Added const qualifier.
  10583. (sendMessages): Use empty() instead of size().
  10584. (doCancelSendingPieceAction): Use HandleEvent object.
  10585. (doAbortOutstandingRequestAction): Rewritten.
  10586. (doChokedAction): Rewritten.
  10587. (checkRequestSlotAndDoNecessaryThing): Rewritten.
  10588. (isOutstandingRequest): Rewritten.
  10589. (getOutstandingRequest): Rewritten.
  10590. (removeOutstandingRequest): Rewritten.
  10591. (addOutstandingRequest): Rewritten.
  10592. * src/RequestSlot.cc
  10593. * src/RequestSlot.h
  10594. (operator=): Rewritten.
  10595. (operator!=): New function.
  10596. (operator<): New function.
  10597. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10598. * src/DefaultBtRequestFactory.cc
  10599. (doChokedAction): Rewritten.
  10600. (removeCompletedPiece): Rewritten.
  10601. (removeTargetPiece): Rewritten.
  10602. (createRequestMessages): Added the debug log.
  10603. (createRequestMessagesOnEndGame: Added the debug log.
  10604. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10605. Added the debug log message.
  10606. * src/BtPieceMessage.cc (doReceivedAction)
  10607. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10608. Sorted DHTPeerAnnounceEntry in a ascending order of info hash and
  10609. used lower_bound to process them rather than linear search.
  10610. * src/DHTPeerAnnounceStorage.cc
  10611. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10612. Call subtractPieceStats from ~PeerInteractionCommand only when the
  10613. peer has at least one completed piece.
  10614. * src/Peer.cc
  10615. * src/Peer.h
  10616. * src/PeerInteractionCommand.cc
  10617. * src/PeerSessionResource.cc
  10618. * src/PeerSessionResource.h
  10619. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10620. Removed unnecessary sorting
  10621. * src/DefaultPieceStorage (DefaultPieceStorage)
  10622. 2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10623. Rewritten the portion of the code that mangaes allowed fast indexes.
  10624. * src/PeerSessionResource.cc
  10625. * src/PeerSessionResource.h
  10626. 2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10627. Removed the invalid string including '\r' from ru.po and
  10628. did make update-po.
  10629. 2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10630. Added --log-level and --summary-interval to man page.
  10631. * doc/aria2c.1.txt
  10632. * doc/aria2c.1.html
  10633. * doc/aria2c.1
  10634. 2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10635. Added --log-level option to specify log level. Log messages under
  10636. the specified level are not output. Default value is `debug'.
  10637. * src/HelpItemFactory.cc
  10638. * src/LogFactory.cc
  10639. * src/LogFactory.h
  10640. * src/Logger.h
  10641. * src/OptionHandlerFactory.cc
  10642. * src/SimpleLogger.cc
  10643. * src/SimpleLogger.h
  10644. * src/main.cc
  10645. * src/option_processing.cc
  10646. * src/prefs.h
  10647. * src/usage_text.h
  10648. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10649. Print download progress summary of all parallel downloads in specified
  10650. interval, default 60 secs. While aria2 could download several files
  10651. in parallel (see -j option), it displayed just first download progress,
  10652. and the other downloads are hidden from the users. This new feature
  10653. prints all downloads currently in-progress to the console so that you
  10654. can check the status of all downloads. The interval can be adjusted
  10655. by --summary-interval option.
  10656. The progress readout is now cut so that all fits in the one line of
  10657. console.
  10658. * src/ConsoleStatCalc.cc
  10659. * src/ConsoleStatCalc.h
  10660. * src/HelpItemFactory.cc
  10661. * src/OptionHandlerFactory.cc
  10662. * src/RequestGroupMan.cc
  10663. * src/RequestGroupMan.h
  10664. * src/main.cc
  10665. * src/option_processing.cc
  10666. * src/prefs.h
  10667. * src/usage_text.h
  10668. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10669. Call updateFdSet() to initialize rfdset, wfdset fdmax.
  10670. * src/DownloadEngine.cc (DownloadEngine)
  10671. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10672. Use free() to deallocate memory for _buffer if HAVE_POSIX_MEMALIGN is
  10673. defined.
  10674. * src/SingleFileAllocationIterator.cc (~SingleFileAllocationIterator)
  10675. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10676. Use erase+lower_bound+insert instead of sort.
  10677. * src/DefaultPieceStorage.cc (addPieceStats)
  10678. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10679. Use A2STR::SHARP_C and A2STR::EQUAL_C.
  10680. * src/A2STR.cc
  10681. * src/A2STR.h
  10682. * src/OptionParser.cc (parse)
  10683. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10684. Defined fake filename `[tracker.announce]' as static const std::string.
  10685. * src/TrackerWatcherCommand.cc (createRequestGroup)
  10686. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10687. Defined default filename `index.html' as static const std::string
  10688. * src/SingleFileDownloadContext.cc
  10689. * src/SingleFileDownloadContext.h
  10690. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10691. Defined "[MEMORY]" as static const std::string.
  10692. * src/MemoryBufferPreDownloadHandler.cc (execute)
  10693. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10694. Defined control file's version number as static const std::string.
  10695. * src/DefaultBtProgressInfoFile.cc
  10696. * src/DefaultBtProgressInfoFile.h
  10697. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10698. Use Request::METHOD_GET
  10699. * src/RequestGroup.cc (createNextCommandWithAdj)
  10700. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10701. Defined "OK", "ERR", "INPR" as static const std::string
  10702. * src/RequestGroupMan.cc (showDownloadResults)
  10703. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10704. Defined default client used in extended handshake as static const
  10705. std::string
  10706. * src/DefaultBtInteractive.cc (addHandshakeExtendedMessageToQueue)
  10707. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10708. Defined AUTH_HEADER, PROXY_AUTH_HEADER as static const std::string
  10709. * src/HttpConnection.cc (eraseConfidentialInfo)
  10710. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10711. Defined default ftp user and password as static const std::string
  10712. * src/AuthConfigFactory.cc
  10713. * src/AuthConfigFactory.h
  10714. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10715. Defined strings used in netrc as static const std::string
  10716. * src/Netrc.cc
  10717. * src/Netrc.h
  10718. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10719. Defined HTTP status as static const std::string
  10720. * src/AbstractProxyResponseCommand.cc
  10721. * src/HttpHeader.cc
  10722. * src/HttpHeader.h
  10723. * src/HttpResponse.cc
  10724. * src/HttpResponseCommand.cc
  10725. * src/HttpSkipResponseCommand.cc
  10726. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10727. Defined "\r\n", "A", "I" as static const std::string
  10728. * src/A2STR.cc
  10729. * src/A2STR.h
  10730. * src/FtpConnection.cc
  10731. * src/FtpConnection.h
  10732. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10733. Added COLON_C(".") and used it in Request::parseUrl()
  10734. * src/A2STR.cc
  10735. * src/A2STR.h
  10736. * src/Request.cc (parseUrl)
  10737. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10738. Changed the type of padName from `const std::string&' to `const char*'.
  10739. * src/MSEHandshake.cc (verifyPadLength)
  10740. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10741. Defined "sha1" as static const std::string.
  10742. * src/MetalinkParserController.cc
  10743. * src/MetalinkParserController.h
  10744. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10745. Defined message digest algorithm name as static const std::string
  10746. * src/DHTTokenTracker.cc
  10747. * src/DHTUtil.cc
  10748. * src/DefaultBtContext.cc
  10749. * src/MSEHandshake.cc
  10750. * src/MessageDigestHelper.cc
  10751. * src/Peer.cc
  10752. * src/messageDigest.cc
  10753. * src/messageDigest.h
  10754. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10755. Made string literals used in SAX parser static const std::string.
  10756. * src/FileMetalinkParserState.cc
  10757. * src/FileMetalinkParserState.h
  10758. * src/FilesMetalinkParserState.cc
  10759. * src/FilesMetalinkParserState.h
  10760. * src/InitialMetalinkParserState.cc
  10761. * src/InitialMetalinkParserState.h
  10762. * src/MetalinkMetalinkParserState.cc
  10763. * src/MetalinkMetalinkParserState.h
  10764. * src/PiecesMetalinkParserState.cc
  10765. * src/PiecesMetalinkParserState.h
  10766. * src/ResourcesMetalinkParserState.cc
  10767. * src/ResourcesMetalinkParserState.h
  10768. * src/VerificationMetalinkParserState.cc
  10769. * src/VerificationMetalinkParserState.h
  10770. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10771. Use A2STR::SLASH_C, A2STR::DOT_C instead of "/", "." respectively.
  10772. * src/A2STR.cc
  10773. * src/A2STR.h
  10774. * src/File.cc
  10775. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10776. Defined static const std::string IP("ip"), PORT("port") and use them
  10777. instead of string literals.
  10778. * src/DefaultPeerListProcessor.cc
  10779. * src/DefaultPeerListProcessor.h
  10780. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10781. Made string literals for torrent file processing static const
  10782. std::string.
  10783. * src/BtContext.cc
  10784. * src/BtContext.h
  10785. * src/DefaultBtContext.cc
  10786. * src/DefaultBtContext.h
  10787. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10788. Made string literal for tracker response static const std::string
  10789. * src/BtAnnounce.cc
  10790. * src/BtAnnounce.h
  10791. * src/DefaultBtAnnounce.cc
  10792. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10793. Use DHTMessage::T instead of "t".
  10794. * src/DHTMessageTracker.cc (messageArrived)
  10795. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10796. Made keyName static const. Made trimmed charset static const
  10797. std::string.
  10798. * src/Util.cc (getContentDispositionFilename)
  10799. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10800. Made USER_AGENT const. Made "/" static const std::string.
  10801. * src/A2STR.cc
  10802. * src/A2STR.h
  10803. * src/HttpRequest.cc
  10804. * src/HttpRequest.h
  10805. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10806. Made string listeral to static const std::string:
  10807. "Content-Range", "Content-Length"
  10808. * src/HttpHeader.cc
  10809. * src/HttpHeader.h
  10810. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10811. Made string listeral to static const std::string.
  10812. * src/HttpConnection.cc
  10813. * src/HttpHeader.cc
  10814. * src/HttpHeader.h
  10815. * src/HttpResponse.cc
  10816. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10817. Made string listeral to static const std::string.
  10818. * src/A2STR.cc
  10819. * src/A2STR.h
  10820. * src/SimpleLogger.cc
  10821. * src/SimpleLogger.h
  10822. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10823. Made string literal to static const std::string.
  10824. Rewritten CookieParser::setField.
  10825. * src/A2STR.cc
  10826. * src/A2STR.h
  10827. * src/CookieBoxFactory.cc
  10828. * src/CookieBoxFactory.h
  10829. * src/CookieParser.cc
  10830. * src/CookieParser.h
  10831. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10832. Made string literal to static const std::string
  10833. * src/DHTAbstractMessage.cc
  10834. * src/DHTAnnouncePeerMessage.cc
  10835. * src/DHTAnnouncePeerMessage.h
  10836. * src/DHTAnnouncePeerReplyMessage.cc
  10837. * src/DHTAnnouncePeerReplyMessage.h
  10838. * src/DHTFindNodeMessage.cc
  10839. * src/DHTFindNodeMessage.h
  10840. * src/DHTFindNodeReplyMessage.cc
  10841. * src/DHTFindNodeReplyMessage.h
  10842. * src/DHTGetPeersMessage.cc
  10843. * src/DHTGetPeersMessage.h
  10844. * src/DHTGetPeersReplyMessage.cc
  10845. * src/DHTGetPeersReplyMessage.h
  10846. * src/DHTMessage.cc
  10847. * src/DHTMessage.h
  10848. * src/DHTMessageFactoryImpl.cc
  10849. * src/DHTMessageReceiver.cc
  10850. * src/DHTPingMessage.cc
  10851. * src/DHTPingMessage.h
  10852. * src/DHTPingReplyMessage.cc
  10853. * src/DHTPingReplyMessage.h
  10854. * src/DHTQueryMessage.cc
  10855. * src/DHTQueryMessage.h
  10856. * src/DHTResponseMessage.cc
  10857. * src/DHTResponseMessage.h
  10858. * src/DHTUnknownMessage.cc
  10859. * src/DHTUnknownMessage.h
  10860. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10861. Made string literal to static const std::string
  10862. * src/BtChokeMessage.cc (toString)
  10863. * src/BtHaveAllMessage.cc (toString)
  10864. * src/BtHaveNoneMessage.cc (toString)
  10865. * src/BtInterestedMessage.cc (toString)
  10866. * src/BtNotInterestedMessage.cc (toString)
  10867. * src/BtUnchokeMessage.cc (toString)
  10868. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10869. Replaced "" with static const variable A2STR::NIL.
  10870. Replaced string comparison against "" with std::string::empty().
  10871. Added PROTO_* to Request class and use them as a protocol string
  10872. constant.
  10873. Made "started", "stopped", "completed" static const variable in
  10874. AnnounceList class.
  10875. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10876. Updated translations. Great thanks to translators.
  10877. * po/ca.po
  10878. * po/de.po
  10879. * po/fr.po
  10880. * po/it.po
  10881. * po/ja.po
  10882. * po/ru.po
  10883. * po/zh_CN.po
  10884. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10885. Updated man page; categorized options and fixed typo.
  10886. * doc/aria2c.1.txt
  10887. * doc/aria2c.1.html
  10888. * doc/aria2c.1
  10889. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10890. Removed const ref
  10891. * src/MetalinkEntry.cc (AddProtocolPreference)
  10892. * src/RequestGroup.cc (FindServerHostByHostname)
  10893. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10894. Rewritten Accept-Features handling.
  10895. * src/HttpRequestCommand.cc (createHttpRequest)
  10896. * src/a2functional.h
  10897. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10898. Changed method signature:
  10899. DHTAbstractNodeLookupTask::toEntries
  10900. * src/DHTAbstractNodeLookupTask.cc
  10901. * src/DHTAbstractNodeLookupTask.h
  10902. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10903. Changed method signature:
  10904. BtContext::computeFastSet, DefaultBtContext::extractUrlList
  10905. * src/BtContext.h
  10906. * src/DefaultBtContext.cc
  10907. * src/DefaultBtContext.h
  10908. * src/DefaultBtInteractive.cc
  10909. * test/DefaultBtContextTest.cc
  10910. * test/MockBtContext.h
  10911. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10912. Changed method signature:
  10913. MultiFileAllocationIterator::makeDiskWriterEntries
  10914. * src/MultiFileAllocationIterator.cc
  10915. * src/MultiFileAllocationIterator.h
  10916. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10917. Changed method sinature:
  10918. MetalinkEntry::toFileEntry,
  10919. MetalinkHelper::query, MetalinkHelper::parseAndQuery,
  10920. Metalinker::queryEntry
  10921. * src/Metalink2RequestGroup.cc
  10922. * src/MetalinkEntry.cc
  10923. * src/MetalinkEntry.h
  10924. * src/MetalinkHelper.cc
  10925. * src/MetalinkHelper.h
  10926. * src/Metalinker.cc
  10927. * src/Metalinker.h
  10928. * src/main.cc
  10929. * test/MetalinkHelperTest.cc
  10930. * test/MetalinkerTest.cc
  10931. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10932. Changed method sinature:
  10933. RequestGroup::getURIs
  10934. * src/RequestGroup.cc
  10935. * src/RequestGroup.h
  10936. * test/Metalink2RequestGroupTest.cc
  10937. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10938. Changed method signature:
  10939. PeerListProcessor::extractPeer
  10940. * src/CompactPeerListProcessor.cc
  10941. * src/CompactPeerListProcessor.h
  10942. * src/DefaultBtAnnounce.cc
  10943. * src/DefaultPeerListProcessor.cc
  10944. * src/DefaultPeerListProcessor.h
  10945. * src/DelegatingPeerListProcessor.cc
  10946. * src/DelegatingPeerListProcessor.h
  10947. * src/PeerListProcessor.h
  10948. * src/UTPexExtensionMessage.cc
  10949. * test/DefaultPeerListProcessorTest.cc
  10950. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10951. Changed method signature:
  10952. BtRequestFactory::createRequestMessages,
  10953. BtRequestFactory::createRequestMessagesOnEndGame
  10954. * src/BtRequestFactory.h
  10955. * src/DefaultBtInteractive.cc
  10956. * src/DefaultBtRequestFactory.cc
  10957. * src/DefaultBtRequestFactory.h
  10958. * test/DefaultBtRequestFactoryTest.cc
  10959. * test/MockBtRequestFactory.h
  10960. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10961. Changed method signature:
  10962. PieceStorage::getInFlightPieces
  10963. * src/DefaultBtProgressInfoFile.cc
  10964. * src/DefaultPieceStorage.cc
  10965. * src/DefaultPieceStorage.h
  10966. * src/PieceStorage.h
  10967. * src/UnknownLengthPieceStorage.cc
  10968. * src/UnknownLengthPieceStorage.h
  10969. * test/DefaultBtProgressInfoFileTest.cc
  10970. * test/MockPieceStorage.h
  10971. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10972. Changed method signature:
  10973. PostDownloadHandler::getNextRequestGroups
  10974. Metalink2RequestGroup::generate
  10975. RequestGroup::postDownloadProcessing
  10976. * src/BtPostDownloadHandler.cc
  10977. * src/BtPostDownloadHandler.h
  10978. * src/Metalink2RequestGroup.cc
  10979. * src/Metalink2RequestGroup.h
  10980. * src/MetalinkPostDownloadHandler.cc
  10981. * src/MetalinkPostDownloadHandler.h
  10982. * src/PostDownloadHandler.h
  10983. * src/RequestGroup.cc
  10984. * src/RequestGroup.h
  10985. * src/RequestGroupMan.cc
  10986. * src/main.cc
  10987. * test/BtPostDownloadHandlerTest.cc
  10988. * test/Metalink2RequestGroupTest.cc
  10989. * test/MetalinkPostDownloadHandlerTest.cc
  10990. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10991. Rewritten AccRequestGroup
  10992. * src/main.cc
  10993. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10994. Rewritten.
  10995. * src/TaggedItem.cc (toTagString)
  10996. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10997. Rewritten Accept-Features handling.
  10998. * src/HttpRequestCommand.cc (createHttpRequest)
  10999. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11000. Rewritten accept types handling.
  11001. * HttpRequest.cc (createRequest)
  11002. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11003. Rewritten
  11004. * src/FeatureConfig.cc (featureSummary)
  11005. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11006. Changed method signature:
  11007. PeerStorage::getActivePeers
  11008. * src/DHTPeerAnnounceEntry.cc
  11009. * src/DefaultPeerStorage.cc
  11010. * src/DefaultPeerStorage.h
  11011. * src/PeerStorage.h
  11012. * test/DefaultPeerStorageTest.cc
  11013. * test/MockPeerStorage.h
  11014. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11015. Changed method signature:
  11016. DHTPeerAnnounceStorage::getPeers,
  11017. DHTPeerAnnounceEntry::getPeers
  11018. * src/DHTGetPeersMessage.cc
  11019. * src/DHTPeerAnnounceEntry.cc
  11020. * src/DHTPeerAnnounceEntry.h
  11021. * src/DHTPeerAnnounceStorage.cc
  11022. * src/DHTPeerAnnounceStorage.h
  11023. * test/DHTAnnouncePeerMessageTest.cc
  11024. * test/DHTPeerAnnounceEntryTest.cc
  11025. * test/DHTPeerAnnounceStorageTest.cc
  11026. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11027. Changed method signature:
  11028. NameResolver::resolve
  11029. * src/DHTEntryPointNameResolveCommand.cc
  11030. * src/InitiateConnectionCommand.cc
  11031. * src/NameResolver.cc
  11032. * src/NameResolver.h
  11033. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11034. Changed method signature:
  11035. PieceStorage::getAdvertisedPieceIndexes
  11036. * src/DefaultBtInteractive.cc
  11037. * src/DefaultPieceStorage.cc
  11038. * src/DefaultPieceStorage.h
  11039. * src/PieceStorage.h
  11040. * src/UnknownLengthPieceStorage.h
  11041. * test/MockPieceStorage.h
  11042. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11043. Changed method signature:
  11044. SegmentMan::getInFlightSegment
  11045. * src/AbstractCommand.cc
  11046. * src/SegmentMan.cc
  11047. * src/SegmentMan.h
  11048. * test/SegmentManTest.cc
  11049. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11050. Changed method signature:
  11051. DHTAbstractNodeLookupTask::getNodesFromMessage
  11052. * src/DHTAbstractNodeLookupTask.cc
  11053. * src/DHTAbstractNodeLookupTask.h
  11054. * src/DHTNodeLookupTask.cc
  11055. * src/DHTNodeLookupTask.h
  11056. * src/DHTPeerLookupTask.cc
  11057. * src/DHTPeerLookupTask.h
  11058. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11059. Pass std::deque<Command*> by reference to avoid unnecessary coping.
  11060. * src/AbstractCommand.cc
  11061. * src/BtCheckIntegrityEntry.cc
  11062. * src/BtCheckIntegrityEntry.h
  11063. * src/BtFileAllocationEntry.cc
  11064. * src/BtFileAllocationEntry.h
  11065. * src/BtSetup.cc
  11066. * src/BtSetup.h
  11067. * src/CheckIntegrityCommand.cc
  11068. * src/CheckIntegrityEntry.h
  11069. * src/ChecksumCheckIntegrityEntry.cc
  11070. * src/ChecksumCheckIntegrityEntry.h
  11071. * src/DHTSetup.cc
  11072. * src/DHTSetup.h
  11073. * src/DownloadEngine.cc
  11074. * src/FileAllocationCommand.cc
  11075. * src/FileAllocationEntry.h
  11076. * src/RequestGroup.cc
  11077. * src/RequestGroup.h
  11078. * src/RequestGroupMan.cc
  11079. * src/RequestGroupMan.h
  11080. * src/StreamCheckIntegrityEntry.cc
  11081. * src/StreamCheckIntegrityEntry.h
  11082. * src/StreamFileAllocationEntry.cc
  11083. * src/StreamFileAllocationEntry.h
  11084. * src/TrackerWatcherCommand.cc
  11085. * src/a2functional.h
  11086. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11087. Changed method signature:
  11088. BNode::findClosestKNodes, BNode:: enumerateBucket,
  11089. DHTBucket::getGoodNodes,
  11090. DHTRoutingTable::getClosestKNodes, DHTRoutingTable::getBuckets
  11091. * src/BNode.cc
  11092. * src/BNode.h
  11093. * src/DHTAbstractNodeLookupTask.cc
  11094. * src/DHTAutoSaveCommand.cc
  11095. * src/DHTBucket.cc
  11096. * src/DHTBucket.h
  11097. * src/DHTBucketRefreshTask.cc
  11098. * src/DHTFindNodeMessage.cc
  11099. * src/DHTGetPeersMessage.cc
  11100. * src/DHTRoutingTable.cc
  11101. * src/DHTRoutingTable.h
  11102. * test/BNodeTest.cc
  11103. * test/DHTBucketTest.cc
  11104. * test/DHTRoutingTableTest.cc
  11105. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11106. In piece selection functions, Pass std::deque<...> by reference rather
  11107. than returning it.
  11108. * src/BitfieldMan.cc
  11109. * src/BitfieldMan.h
  11110. * src/DefaultBtRequestFactory.cc
  11111. * src/DefaultPieceStorage.cc
  11112. * src/Piece.cc
  11113. * src/Piece.h
  11114. * test/BitfieldManTest.cc
  11115. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11116. Implemented rarest piece first piece selection strategy.
  11117. * src/AbstractBtMessage.cc
  11118. * src/AbstractBtMessage.h
  11119. * src/BitfieldMan.cc
  11120. * src/BitfieldMan.h
  11121. * src/BtBitfieldMessage.cc
  11122. * src/BtHaveAllMessage.cc
  11123. * src/BtHaveMessage.cc
  11124. * src/DefaultPieceStorage.cc
  11125. * src/DefaultPieceStorage.h
  11126. * src/PeerInteractionCommand.cc
  11127. * src/PieceStorage.h
  11128. * src/UnknownLengthPieceStorage.h
  11129. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11130. Rewritten readData and writeData.
  11131. * src/MultiDiskAdaptor.cc
  11132. * src/MultiDiskAdaptor.h
  11133. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11134. Move \n out of the message "Usage: ...".
  11135. * src/version_usage.cc
  11136. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11137. Bump up version number to 0.13.2b.
  11138. * configure.ac
  11139. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11140. Added const qualifier to argument Exception& e.
  11141. * src/Logger.h
  11142. * src/SimpleLogger.cc
  11143. * src/SimpleLogger.h
  11144. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11145. Pool connection when CWD, SIZE command fails.
  11146. * src/FtpNegotiationCommand.cc
  11147. * src/FtpNegotiationCommand.h
  11148. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11149. Renamed HttpNullDownloadCommand as HttpSkipResponseCommand
  11150. * src/HttpResponseCommand.cc
  11151. * src/HttpSkipResponseCommand.cc
  11152. * src/HttpSkipResponseCommand.h
  11153. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11154. Pool connection when a server returns 4xx, 5xx responses.
  11155. * src/HttpNullDownloadCommand.cc
  11156. * src/HttpNullDownloadCommand.h
  11157. * src/HttpResponse.cc
  11158. * src/HttpResponse.h
  11159. * src/HttpResponseCommand.cc
  11160. * src/HttpResponseCommand.h
  11161. * test/HttpResponseTest.cc
  11162. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11163. Print usage when no URL is specifed or bad command-line option is
  11164. specified.
  11165. * src/HelpItemFactory.cc
  11166. * src/help_tags.h
  11167. * src/option_processing.cc
  11168. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11169. Removed duplicate log message.
  11170. * src/AbstractCommand.cc (asyncResolveHostname)
  11171. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11172. Updated man page: --async-dns and --ftp-reuse-connection were added.
  11173. Changed -j option's default value from 5 to 1.
  11174. Added new examples using protocol auto detection feature.
  11175. Removed -T, -M usage where it can be omitted.
  11176. * doc/aria2c.1.txt
  11177. * doc/aria2c.1.html
  11178. * doc/aria2c.1.txt
  11179. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11180. Updated command-line usage text, so that it tells users that they
  11181. can specify any number of torrent files and metalink files in
  11182. command-line.
  11183. * src/version_usage.cc
  11184. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11185. Changed the default value of -j option to 1.
  11186. * src/HelpItemFactory.cc
  11187. * src/option_processing.cc
  11188. * src/usage_text.h
  11189. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11190. Added the ability to reuse connection in FTP and it is enabled by
  11191. default. It can be disabled by --ftp-reuse-connection=false option.
  11192. * src/Command.cc
  11193. * src/DownloadCommand.cc
  11194. * src/FtpDownloadCommand.cc
  11195. * src/FtpDownloadCommand.h
  11196. * src/FtpFinishDownloadCommand.cc
  11197. * src/FtpFinishDownloadCommand.h
  11198. * src/FtpInitiateConnectionCommand.cc
  11199. * src/FtpNegotiationCommand.cc
  11200. * src/FtpNegotiationCommand.h
  11201. * src/HelpItemFactory.cc
  11202. * src/Makefile.am
  11203. * src/Makefile.in
  11204. * src/OptionHandlerFactory.cc
  11205. * src/option_processing.cc
  11206. * src/prefs.h
  11207. * src/usage_text.h
  11208. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11209. Call Command::transitStatus() before calling Command::execute(),
  11210. so that the status change made in execute() is not cleared.
  11211. * src/DownloadEngine.cc
  11212. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11213. Removed forward declaration of SocketCore class.
  11214. * src/HttpDownloadCommand.h
  11215. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11216. Set Request::setKeepAliveHint() and Request::setPipeliningHint()
  11217. in InitiateConnectionCommandFactory. They should be set only when
  11218. the protocol is HTTP or HTTPS.
  11219. * src/InitiateConnectionCommandFactory.cc
  11220. * src/RequestGroup.cc
  11221. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11222. Fixed infinite loop in checksum checking.
  11223. * src/IteratableChecksumValidator.cc
  11224. 2008-05-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11225. Set _supportsPersistentConnection to true by default.
  11226. * src/Request.cc
  11227. * src/RequestGroup.cc
  11228. * test/HttpRequestTest.cc
  11229. * test/RequestTest.cc
  11230. 2008-05-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11231. Added timeout to socket pool. The default timeout is 15 seconds,
  11232. which is the same value Apache uses.
  11233. * src/DownloadEngine.cc
  11234. * src/DownloadEngine.h
  11235. 2008-05-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11236. Fixed misuse of multimap::find()
  11237. * src/HttpHeader.cc
  11238. * test/HttpHeaderTest.cc
  11239. 2008-05-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11240. Rewritten name resolver. Now async DNS can be disabled by --async-dns
  11241. option.
  11242. The asynchronous DNS is not capable of IPv6 yet.
  11243. By disabling asynchronous DNS, aria2 is IPv6 enabled application, at
  11244. least for HTTP download.
  11245. * src/AbstractCommand.cc
  11246. * src/AbstractCommand.h
  11247. * src/AsyncNameResolver.cc
  11248. * src/AsyncNameResolver.h
  11249. * src/DHTEntryPointNameResolveCommand.cc
  11250. * src/DHTEntryPointNameResolveCommand.h
  11251. * src/DownloadEngine.cc
  11252. * src/DownloadEngine.h
  11253. * src/FtpInitiateConnectionCommand.cc
  11254. * src/FtpInitiateConnectionCommand.h
  11255. * src/HelpItemFactory.cc
  11256. * src/HttpInitiateConnectionCommand.cc
  11257. * src/HttpInitiateConnectionCommand.h
  11258. * src/InitiateConnectionCommand.cc
  11259. * src/InitiateConnectionCommand.h
  11260. * src/Makefile.am
  11261. * src/Makefile.in
  11262. * src/NameResolver.cc
  11263. * src/NameResolver.h
  11264. * src/OptionHandlerFactory.cc
  11265. * src/SocketCore.cc
  11266. * src/SocketCore.h
  11267. * src/Util.cc
  11268. * src/Util.h
  11269. * src/option_processing.cc
  11270. * src/prefs.h
  11271. * src/usage_text.h
  11272. 2008-05-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11273. Updated man page: --quiet, --header were added.
  11274. --metalink-servers and --enable-http-keep-alive option were updated.
  11275. * doc/aria2c.1
  11276. * doc/aria2c.1.html
  11277. * doc/aria2c.1.txt
  11278. 2008-05-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11279. Enable HTTP keep-alive by default.
  11280. * src/HelpItemFactory.cc
  11281. * src/option_processing.cc
  11282. * src/usage_text.h
  11283. 2008-05-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11284. Disable http keep-alive if the remote server is not HTTP/1.1.
  11285. * src/HttpConnection.cc
  11286. 2008-05-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11287. Receive content body of 302 response so that the connection can be
  11288. reused later when http keep-alive is enabled.
  11289. * src/HttpNullDownloadCommand.cc
  11290. * src/HttpNullDownloadCommand.h
  11291. * src/HttpResponseCommand.cc
  11292. * src/HttpResponseCommand.h
  11293. 2008-05-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11294. const SharedHandle<Request> -> const SharedHandle<Request>&
  11295. * src/FtpDowndloadCommand.cc
  11296. * src/FtpDowndloadCommand.h
  11297. * src/HttpDownloadCommand.cc
  11298. * src/HttpDownloadCommand.h
  11299. 2008-05-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11300. Fixed the bug that the control file(.aria2 file) is not renamed
  11301. according to tryAutoFileRenaming().
  11302. tryAutoFileRenaming() was rewritten so that if both renamed file and
  11303. its control file exist, use them and continue download.
  11304. The old implementation didn't take into account of control file's
  11305. existence, so basically you couldn't continue download of renamed file.
  11306. * src/BtProgressInfoFile.h
  11307. * src/DefaultBtProgressInfoFile.cc
  11308. * src/DefaultBtProgressInfoFile.h
  11309. * src/NullProgressInfoFile.h
  11310. * src/RequestGroup.cc
  11311. * test/DefaultBtProgressInfoFileTest.cc
  11312. * test/MockBtProgressInfoFile.h
  11313. 2008-05-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11314. Change the default value of --metalink-servers option from `5' to `1'.
  11315. * src/HelpItemFactory.cc
  11316. * src/option_processing.cc
  11317. * src/usage_text.h
  11318. 2008-05-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11319. Reimplemented transparent metalink using Accept request header.
  11320. * src/HttpRequest.cc
  11321. * src/HttpRequest.h
  11322. * src/HttpRequestCommand.cc
  11323. * src/Metalink2RequestGroup.cc
  11324. * src/RequestGroup.cc
  11325. * src/RequestGroup.h
  11326. * test/HttpRequestTest.cc
  11327. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11328. Bump up version number to 0.13.2a
  11329. * configure.ac
  11330. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11331. Updated configure.ac using the result of autoscan.
  11332. * configure.ac
  11333. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11334. Fixed compilation error without gcrypt/openssl.
  11335. * src/DownloadCommand.cc
  11336. * src/DownloadCommand.h
  11337. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11338. Reorganized version information so that it can be displayed in a
  11339. standard terminal screen without scrolling.
  11340. Removed http, ftp from Configuration section, because they are always
  11341. enabled.
  11342. * src/FeatureConfig.cc
  11343. * src/FeatureConfig.h
  11344. * src/main.cc
  11345. * src/messageDigest.cc
  11346. * src/messageDigest.h
  11347. * src/version_usage.cc
  11348. * test/FeatureConfigTest.cc
  11349. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11350. Masked user ID in log.
  11351. * src/FtpConnection.cc (sendUser)
  11352. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11353. Removed query part from filename in HTTP download. The query part means
  11354. the substring after "?" in URL. Firefox seems do the same thing.
  11355. A query part is sometimes very long and not suitable to filename,
  11356. so I think it is better to remove it from filename.
  11357. * src/HttpRequest.cc
  11358. * src/HttpRequest.h
  11359. * src/Request.cc
  11360. * src/Request.h
  11361. * test/HttpRequestTest.cc
  11362. * test/RequestTest.cc
  11363. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11364. Rewritten Exception class. Throw exception object, not its pointer and
  11365. catch by reference, so that remove problematic delete operator for
  11366. catched exception.
  11367. * src/Exception.cc
  11368. * src/Exception.h
  11369. * test/ExceptionTest.cc
  11370. * src/*: All files throwing/catching exception.
  11371. * test/*: All files throwing/catching exception.
  11372. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11373. Now auto protocol detection is enabled without -Z option.
  11374. But there is a important difference between with/without -Z optoin.
  11375. For example, if you type:
  11376. aria2c http://host/file file1.torrent file2.metalink http://mirror/file
  11377. then, aria2 interprets there are 3 request groups:
  11378. (1) http://host/file, http://mirror/file <-- multi-source download
  11379. (2) file1.torrent
  11380. (3) file2.metalink
  11381. On the other hand, if you invoke above command with -Z option, it is
  11382. interpreted as 4 request groups:
  11383. (1) http://host/file
  11384. (2) file1.torrent
  11385. (3) file2.metalink
  11386. (4) http://mirror/file
  11387. I think usually user don't mix multi-source URLs and torrent files, so
  11388. there is no big problem here.
  11389. * src/main.cc
  11390. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11391. Fixed the bug that causes segmentaion fault when reading XML containing
  11392. unescapsed character like '&'.
  11393. Also a modification was made which avoids adding unnecessary
  11394. characters stack and appending unused string.
  11395. * src/ExpatMetalinkProcessor.cc
  11396. * src/FileMetalinkParserState.h
  11397. * src/FilesMetalinkParserState.h
  11398. * src/FinMetalinkParserState.h
  11399. * src/HashMetalinkParserState.h
  11400. * src/InitialMetalinkParserState.h
  11401. * src/LanguageMetalinkParserState.h
  11402. * src/MetalinkMetalinkParserState.h
  11403. * src/MetalinkParserState.h
  11404. * src/MetalinkParserStateMachine.cc
  11405. * src/MetalinkParserStateMachine.h
  11406. * src/OSMetalinkParserState.h
  11407. * src/PieceHashMetalinkParserState.h
  11408. * src/PiecesMetalinkParserState.h
  11409. * src/ResourcesMetalinkParserState.h
  11410. * src/SizeMetalinkParserState.h
  11411. * src/SkipTagMetalinkParserState.h
  11412. * src/URLMetalinkParserState.h
  11413. * src/VerificationMetalinkParserState.h
  11414. * src/VersionMetalinkParserState.h
  11415. * src/XML2SAXMetalinkProcessor.cc
  11416. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11417. Added StringFormat class, which internally calls vasprintf.
  11418. operator<< is defined for this class, so it can be used with iostream
  11419. classes nicely. SimpleLogger and following functions are rewritten
  11420. using StringFormat class.
  11421. Besides, now Logger class's methods are non-const, many classes
  11422. that has a const Logger* as a member variable are modified to remove
  11423. const qualifier from the variable declaration.
  11424. * src/HelpItemFactory.cc
  11425. * src/Request.cc
  11426. * src/SimpleLogger.cc
  11427. * src/StringFormat.cc
  11428. * src/StringFormat.h
  11429. * src/Util.cc
  11430. * src/option_processing.cc
  11431. * src/version_usage.cc
  11432. * test/StringFormatTest.cc
  11433. * src/*.h: The classes that has const Logger* as a member variable.
  11434. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11435. Log error in AccRequestGroup when reading BitTorrent/Metalink file is
  11436. failed. Also fixed memory link when exception is thrown there.
  11437. * src/main.cc (AccRequestGroup)
  11438. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11439. Added build-in "Accept-Features" support. For now only "metalink" is
  11440. used in this header field.
  11441. This "metalink" value is removed from the list when connecting URLs
  11442. fed by metalink file to avoid loop in "transparent" metlaink.
  11443. * src/HttpRequest.cc
  11444. * src/HttpRequest.h: Renamed _userHeaders as _headers. Accept-Features
  11445. header is also held in this variable. Also renamed setUserHeaders as
  11446. addHeader and it was rewritten to add header not just to clear the old
  11447. value.
  11448. * src/HttpRequestCommand.cc
  11449. * src/Metalink2RequestGroup.cc: Added the code to remove "metalink"
  11450. from "Accept-Features" list.
  11451. * src/RequestGroup.cc: Added "metalink" to "Accept-Features" by
  11452. default.
  11453. * src/RequestGroup.h
  11454. * src/TaggedItem.cc: Moved Concat class to a2functional.h.
  11455. * src/a2functional.h: Included <string> because Concat class depends on
  11456. it.
  11457. * test/HttpRequestTest.cc
  11458. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11459. Added comment
  11460. * src/RequestGroup.cc (createNextCommand)
  11461. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11462. Capitalized METHOD_GET and METHOD_HEAD
  11463. * src/Request.cc
  11464. 2008-04-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11465. Added getDownloadResults() method
  11466. * src/RequestGroupMan.cc
  11467. * src/RequestGroupMan.h
  11468. 2008-04-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11469. Fixed the bug that aria2 exits when commands is empty() but
  11470. _routineCommands are not.
  11471. * src/DownloadEngine.cc
  11472. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11473. Use the default value pulled from Option object in HelpItemFactory.
  11474. except options whose defualt value is embedded in a usage text.
  11475. * src/HelpItemFactory.cc
  11476. * src/HelpItemFactory.h
  11477. * src/option_processing.cc
  11478. * src/version_usage.cc
  11479. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11480. Added --quiet option to make aria2 quiet (no console output).
  11481. --quiet option is tagged with ADVANCED.
  11482. * src/HelpItemFactory.cc
  11483. * src/LogFactory.cc
  11484. * src/LogFactory.h
  11485. * src/MultiUrlRequestInfo.cc
  11486. * src/MultiUrlRequestInfo.h
  11487. * src/NullStatCalc.h: New class. This class prints nothing.
  11488. * src/OptionHandlerFactory.cc
  11489. * src/main.cc
  11490. * src/option_processing.cc
  11491. * src/prefs.h
  11492. * src/usage_text.h
  11493. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11494. Add HTTP tag to --header option. Removed ADVANCED tag instead.
  11495. * src/HelpItemFactory.cc (createHelpItems):
  11496. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11497. Fixed compilation error in ExpatMetalinkProcessor.cc
  11498. * src/ExpatMetalinkProcessor.cc
  11499. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11500. Reuse socket if the origin server supports HTTP keep-alive and
  11501. --enable-http-keep-alive or --enable-http-pipelining is given.
  11502. The current implementation doesn't reuse the connections established
  11503. against proxy server.
  11504. * src/AbstractCommand.cc
  11505. * src/DownloadEngine.cc
  11506. * src/DownloadEngine.h
  11507. * src/HttpDownloadCommand.cc
  11508. * src/HttpInitiateConnectionCommand.cc
  11509. * src/HttpResponseCommand.cc
  11510. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11511. Rewritten HTTP keep-alive and pipelining routine.
  11512. * src/AbstractCommand.cc
  11513. * src/HttpConnection.cc
  11514. * src/HttpDownloadCommand.cc
  11515. * src/HttpRequest.cc
  11516. * src/HttpRequestCommand.cc
  11517. * src/HttpResponseCommand.cc
  11518. * src/Request.cc
  11519. * src/Request.h
  11520. * src/RequestGroup.cc
  11521. * test/HttpRequestTest.cc
  11522. * test/HttpResponseTest.cc
  11523. * test/RequestTest.cc
  11524. 2008-04-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11525. Added missing setUserHeaders call
  11526. * src/HttpRequestCommand.cc
  11527. 2008-04-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11528. Call FileAllocationMan::nextFileAllocationEntryExists() first.
  11529. Calling FileAllocationMan::isFileAllocationBeingExecuted() is somwhat
  11530. waste of time because it is more likey false.
  11531. * src/FileAllocationDispatcherCommand.cc (execute)
  11532. 2008-04-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11533. Now HTTP status and version are a member variable of HttpHeader.
  11534. HTTP status is processed as a string, not integer.
  11535. * src/AbstractProxyResponseCommand.cc
  11536. * src/HttpConnection.cc
  11537. * src/HttpHeader.cc
  11538. * src/HttpHeader.h
  11539. * src/HttpHeaderProcessor.cc
  11540. * src/HttpHeaderProcessor.h
  11541. * src/HttpResponse.cc
  11542. * src/HttpResponse.h
  11543. * test/HttpHeaderProcessorTest.cc
  11544. * test/HttpResponseTest.cc
  11545. 2008-04-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11546. Added --header option. You can specify any number of additional HTTP headers
  11547. like:
  11548. aria2 --header="X-A: 300" --header="X-B: 900" http://host/file
  11549. Unlike other commad-line option, you can use --header option multiple times.
  11550. * src/HelpItemFactory.cc
  11551. * src/HttpRequest.{cc, h}
  11552. * src/HttpRequestCommand.cc
  11553. * src/OptionHandlerFactory.cc
  11554. * src/OptionHandlerImpl.h
  11555. * src/option_processing.cc
  11556. * src/prefs.h
  11557. * src/usage_text.h
  11558. * test/HttpRequestTest.cc (testUserHeaders)
  11559. 2008-04-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11560. Eliminates the time lag between sequential downloads and commands in
  11561. the same RequestGroup.
  11562. In old implementation, aria2 occasionally waits 1 seconds before
  11563. executing next command or RequestGroup.
  11564. This is really a waste of time, and new implementation eliminates
  11565. this unnecessary time lag.
  11566. * src/AbstractCommand.cc
  11567. * src/AutoSaveCommand.cc
  11568. * src/CheckIntegrityCommand.cc
  11569. * src/Command.{cc, h}
  11570. * src/DownloadEngine.{cc, h}
  11571. * src/DownloadEngineFactory.cc
  11572. * src/FileAllocationCommand.cc
  11573. * src/FileAllocationDispatcherCommand.cc
  11574. * src/FillRequestGroupCommand.cc
  11575. * src/FtpInitiateConnectionCommand.cc
  11576. * src/HaveEraseCommand.cc
  11577. * src/HttpInitiateConnectionCommand.cc
  11578. * src/HttpResponseCommand.cc
  11579. * src/RealtimeCommand.cc
  11580. * src/RequestGroup.cc
  11581. * src/RequestGroupMan.cc
  11582. * src/StreamFileAllocationEntry.cc
  11583. * src/TimeBasedCommand.{cc, h}
  11584. * src/TimedHaltCommand.cc
  11585. 2008-04-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11586. Rewritten SharedHandle. Now copy constructor taking raw pointer has
  11587. keyword explicit and SharedHandle's default constructor initializes
  11588. its internal obj to null, old implementation initializes it using
  11589. obj's default constructor.
  11590. To assign null, write SharedHandle<T> x(...); x.reset();
  11591. TODO: test/SharedHandleTest.cc needs more tests.
  11592. * src/SharedHandle.h
  11593. 2008-04-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11594. Fixed type in man page.
  11595. * doc/aria2c.1.txt
  11596. 2008-04-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11597. Merged Ross's 0.13.1+1 Cygwin compile fix patch.
  11598. * src/SimpleLogger.{cc, h}
  11599. 2008-04-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11600. Implemented auto protocol detection.
  11601. Now you can do:
  11602. aria2c -Z http://host/file file1.torrent file2.metalink
  11603. (Note: -Z option is required for auto protcol detection.)
  11604. Then aria2c downloads 3 files simultaneously:
  11605. 1. http://host/file
  11606. 2. file1.torrent <-- read local torrent file
  11607. 3. file2.metalink <-- read local Metalink file.
  11608. Same thing goes with -i option. Assume your uris.txt contans:
  11609. http://host/file
  11610. file1.torrent
  11611. file2.metalink
  11612. Then you can do: aria2c -i uris.txt
  11613. (Note: -Z option is not needed if -i option is given.)
  11614. * src/main.cc
  11615. * src/ProtocolDetector.{cc, h}
  11616. * test/ProtocolDetectorTest.cc
  11617. 2008-04-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11618. Fixed compile error without gnutls/libgcrypt/libgpg-error and openSSL
  11619. installed
  11620. * src/ARC4Encryptor.h
  11621. * src/ARC4Decryptor.h
  11622. 2008-04-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11623. Renamed argument from 'errno' to 'err', since errno is confused with
  11624. errno defined in errno.h.
  11625. * src/LibgcryptARC4Decryptor.h
  11626. * src/LibgcryptARC4Context.h
  11627. * src/LibgcryptDHKeyExchange.h
  11628. * src/LibgcryptARC4Encryptor.h
  11629. 2008-04-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11630. Rewritten choking algorithm.
  11631. * src/PeerChokeCommand.{cc, h}
  11632. * src/BtInterestedMessage.cc
  11633. * src/PeerSessionResource.{cc, h}
  11634. * src/DefaultPeerStorage.{cc, h}
  11635. * src/BtNotInterestedMessage.cc
  11636. * src/DefaultBtMessageDispatcher.{cc, h}
  11637. * src/BtMessageDispatcher.h
  11638. * src/Peer.{cc, h}
  11639. * src/BtLeecherStateChoke.{cc, h}
  11640. * src/BtSetup.cc
  11641. * src/BtSeederStateChoke.{cc, h}
  11642. * src/PeerStorage.h
  11643. * test/MockPeerStorage.h
  11644. * test/MockBtMessageDispatcher.h
  11645. 2008-04-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11646. Fixed compilation error on x84-64 platform.
  11647. * src/AuthConfig.cc: Included ostream.
  11648. 2008-03-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11649. Rewritten getBasename() and getDirname(), without standard library
  11650. basename(), dirname().
  11651. * src/File.cc
  11652. * test/FileTest.cc
  11653. 2008-03-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11654. Added Simplified Chinese translation. Also updated the following
  11655. translations: Polish, Dutch, German. Great thanks to all translators.
  11656. 2008-03-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11657. Suppress content-range error when 'Content-Range' response header
  11658. doesn't contains bytes-unit specifier 'bytes'
  11659. * src/HttpHeader.cc (getRange)
  11660. * test/HttpHeaderTest.cc
  11661. 2008-03-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11662. Fixed compilation error with g++-4.3
  11663. 2008-03-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11664. Added missing include files for MinGW
  11665. * test/HttpHeaderProcessorTest.cc
  11666. * test/DHTRoutingTableSerializerTest.cc
  11667. * test/DHTRoutingTableDeserializerTest.cc
  11668. * test/UriListParserTest.cc
  11669. 2008-03-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11670. Now download line is printed nicely with no garbage at the end of
  11671. line. I use ioctl to get the columns of terminal.
  11672. If stdout is redirected to another device, instead of carriage return,
  11673. end of line '\n' character is used. This is feature request#1909659
  11674. * src/ConsoleStatCalc.cc (calculateStat)
  11675. 2008-03-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11676. Included a2time.h
  11677. * src/DHTMessageDispatcher.h
  11678. * src/DHTMessageEntry.h
  11679. * src/DHTReplaceNodeTask.h
  11680. * src/DHTMessageTracker.h
  11681. * src/Util.h
  11682. * src/CookieBox.h
  11683. * src/SocketCore.h
  11684. * src/DefaultBtMessageDispatcher.h
  11685. * src/SocketCore.cc
  11686. * src/Util.cc
  11687. * src/DHTPingTask.h
  11688. 2008-03-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11689. Fixed high memory footprint when DHT is enabled.
  11690. This is not a memory leak, but DHTReplaceNodeTask is more frequently
  11691. queued than it is processed and the queue is getting longer. As a
  11692. consequence, momory usage is increased.
  11693. As for a fix, instead of issuing DHTReplaceNodeTask, I've implemented
  11694. replacement cache in DHTBucket which is described in Kademlia paper.
  11695. * src/DHTRoutingTable.cc (addNode): Removed the issuing of
  11696. DHTReplaceNodeTask.
  11697. * src/DHTBucket.{h, cc}
  11698. (cacheNode): New function.
  11699. (getCachedNodes): New function.
  11700. (dropNode): Push back cached node to _nodes.
  11701. * test/DHTBucketTest.cc
  11702. (testCacheNode): New test
  11703. (testDropNode): New test
  11704. 2008-03-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11705. Allocate memory for peekBuf in initiateSecureConnection() to avoid
  11706. the unused 4KB memory when ssl is not used.
  11707. * src/SocketCore.cc
  11708. 2008-03-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11709. Added summary log for peer announce storage.
  11710. * src/DHTPeerAnnounceStorage.cc (handleTimeout)
  11711. Removed cast
  11712. * src/DefaultPeerStorage.cc (addPeer)
  11713. Log exception message
  11714. * src/DHTMessageTracker.cc (handleTimeout)
  11715. Fixed casting
  11716. * test/HttpRequestTest.cc
  11717. * test/MetalinkProcessorTest.cc
  11718. * test/PieceTest.cc
  11719. * test/MetalinkEntryTest.cc
  11720. * test/SequenceTest.cc
  11721. 2008-03-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11722. * src/ParameterizedStringParser.cc (createLoop):
  11723. Removed unused variable sstep.
  11724. * src/AlphaNumberDecorator.h (decode): Rewritten.
  11725. 2008-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11726. * src/Util.{h, cc}
  11727. (parseUInt): New function.
  11728. (alphaToNum): Now returns unsigned int and 0 when overflow detected.
  11729. The actual range is uint32_t.
  11730. * test/UtilTest.cc
  11731. * src/ParameterizedStringParser.cc:
  11732. Use Util::parseUInt() for loop variables.
  11733. * test/ParameterizedStringParserTest.cc
  11734. * src/PStringNumLoop.h: Make _startValue and _endValue unsigned int.
  11735. 2008-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11736. Rewritten the functions for binding port.
  11737. * src/DHTConnectionImpl.{h, cc}
  11738. * src/PeerListenCommand.{h, cc}
  11739. * src/DHTSetup.cc
  11740. * src/BtSetup.cc
  11741. * test/DHTConnectionImplTest.cc
  11742. 2008-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11743. type cleanup for allmost all remaining files.
  11744. 2008-03-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11745. Type clarification
  11746. * src/PeerSessionResource.{h, cc}
  11747. * src/DefaultPieceStorage.{h, cc}
  11748. * src/Peer.{h, cc}
  11749. * test/PeerSessionResourceTest.cc
  11750. Use div function
  11751. * src/BtPieceMessage.cc (erasePieceOnDisk)
  11752. 2008-03-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11753. Type clarification
  11754. * src/DefaultPeerStorage.{h, cc}
  11755. * test/DefaultPeerStorageTest.cc
  11756. 2008-03-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11757. Type clarification: size_t for length or size, uint64_t for file
  11758. length, off_t for file offset.
  11759. * src/DefaultBtProgressInfoFile.cc
  11760. * src/DefaultBtContext.{h, cc}
  11761. * src/DefaultBtInteractive.cc
  11762. * src/DownloadCommand.{h, cc}
  11763. * src/IteratableChunkChecksumValidator.{h, cc}
  11764. * src/SegmentMan.{h, cc}
  11765. * src/SingleFileDownloadContext.{h, cc}
  11766. * src/IteratableChecksumValidator.{h, cc}
  11767. * src/BtContext.h
  11768. * src/IteratableValidator.h
  11769. * src/DownloadContext.h
  11770. * test/SingleFileDownloadContextTest.cc
  11771. * test/DefaultBtContextTest.cc
  11772. * test/MockBtContext.h
  11773. * test/Metalink2RequestGroupTest.cc
  11774. 2008-03-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11775. Type clarification: size_t for length or size, uint64_t for file
  11776. length, off_t for file offset.
  11777. * src/PiecedSegment.cc
  11778. * src/GrowSegment.h
  11779. * src/DefaultBtRequestFactory.h
  11780. * src/DefaultBtProgressInfoFile.cc
  11781. * src/UnknownLengthPieceStorage.h
  11782. * src/DefaultPieceStorage.cc
  11783. * src/UnknownLengthPieceStorage.cc
  11784. * src/DefaultBtInteractive.cc
  11785. * src/GrowSegment.cc
  11786. * src/BitfieldMan.h
  11787. * src/DownloadCommand.cc
  11788. * src/BtRequestFactory.h
  11789. * src/PiecedSegment.h
  11790. * src/DefaultPieceStorage.h
  11791. * src/Piece.cc
  11792. * src/DefaultBtRequestFactory.cc
  11793. * src/PieceStorage.h
  11794. * src/Segment.h
  11795. * src/Piece.h
  11796. * src/BitfieldMan.cc
  11797. * src/Util.cc
  11798. * test/DefaultBtProgressInfoFileTest.cc
  11799. * test/DefaultPieceStorageTest.cc
  11800. * test/MockPieceStorage.h
  11801. * test/BtRequestMessageTest.cc
  11802. * test/DefaultBtMessageDispatcherTest.cc
  11803. * test/BitfieldManTest.cc
  11804. * test/GrowSegmentTest.cc
  11805. * test/PieceTest.cc
  11806. * test/SegmentTest.cc
  11807. * test/SegmentManTest.cc
  11808. * test/DefaultBtRequestFactoryTest.cc
  11809. * test/MockBtRequestFactory.h
  11810. 2008-03-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11811. Fixed compilation error with --disable-nls
  11812. It seems that defining gettext(Msgid) to ((const char *) (Msgid))
  11813. in gettext.h causes the problem.
  11814. * src/common.h
  11815. 2008-03-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11816. Removed subPiece related functions.
  11817. * src/Piece.{h, cc} : Also rewritten getCompletedLength().
  11818. * src/DefaultPieceStorage.{h, cc}
  11819. * test/PieceTest.cc
  11820. * test/DefaultPieceStorageTest.cc
  11821. 2008-03-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11822. Use unsigned char for data store.
  11823. 2008-03-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11824. Bump up version number to 0.13.0+1
  11825. * configure.ac
  11826. * Release 0.13.0+1
  11827. 2008-03-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11828. Changed inactive connection timeout to 120.
  11829. To accept more mulually interested peers, disconnect peer when there
  11830. is no interest between us after certain time passed.
  11831. * src/DefaultBtInteractive.cc (checkActiveInteraction)
  11832. 2008-03-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11833. Fixed the bug that aria2 only uses first dns server in resolv.conf
  11834. when compiled with async DNS support.
  11835. * src/DownloadEngine.cc
  11836. * src/option_processing.cc: Lengthened DNS timeout to 30. I think old
  11837. value '10' will be a little bit short when some DNS servers are
  11838. offline and several DNS servers are tried. It should be configured
  11839. by command-line option.
  11840. 2008-03-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11841. Merged Ross's mingw patch.
  11842. * src/DHTRoutingTableDeserializer.cc
  11843. * src/DHTRoutingTableSerializer.cc
  11844. * src/Platform.{h, cc}
  11845. * src/timegm.h
  11846. * src/gettimeofday.h
  11847. * src/getaddrinfo.h
  11848. * src/SocketCore.h
  11849. * src/common.h
  11850. * src/inet_aton.h
  11851. * src/DownloadEngine.h
  11852. * src/gai_strerror.h
  11853. * src/a2netcompat.h
  11854. * configure.ac
  11855. * configure
  11856. * aclocal.m4
  11857. 2008-03-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11858. Included missing iostream.
  11859. * test/AllTest.cc
  11860. * test/BtDependencyTest.cc
  11861. * test/BtExtendedMessageTest.cc
  11862. * test/DHTConnectionImplTest.cc
  11863. * test/DHTMessageFactoryImplTest.cc
  11864. * test/DHTMessageTrackerEntryTest.cc
  11865. * test/DHTNodeTest.cc
  11866. * test/DHTRoutingTableSerializerTest.cc
  11867. * test/DefaultBtAnnounceTest.cc
  11868. * test/DefaultBtContextTest.cc
  11869. * test/DefaultBtMessageFactoryTest.cc
  11870. * test/DefaultExtensionMessageFactoryTest.cc
  11871. * test/HandshakeExtensionMessageTest.cc
  11872. * test/HttpResponseTest.cc
  11873. * test/MetalinkProcessorTest.cc
  11874. * test/MultiFileAllocationIteratorTest.cc
  11875. * test/SocketCoreTest.cc
  11876. * test/UTPexExtensionMessageTest.cc
  11877. 2008-03-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11878. Reorganized includes.
  11879. * src/NameResolver.cc
  11880. 2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11881. Fixed compilation error without ares/c-ares
  11882. * src/NameResolver.h:
  11883. 2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11884. Added a test for large file.
  11885. * test/MetalinkProcessorTest.cc (testLargeFileSize):
  11886. 2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11887. Fixed the bug that file size is ignored if size > INT32_MAX
  11888. * src/SizeMetalinkParserState.cc (endElement):
  11889. 2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11890. Bump up version number to 0.13.0
  11891. * configure.ac
  11892. * Release 0.13.0
  11893. 2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11894. Updated Makfefile.am to make 'make dist' work.
  11895. Now packaged filename is aria2c-VERSION.tar.bz2.
  11896. Added README, README.html, and aria2c.1.html to dist_doc_DATA.
  11897. Added LICENSE.OpenSSL to dist_noinst_DATA.
  11898. Large file support is now configured by configure script.
  11899. * configure.ac
  11900. Removed unsused source files
  11901. * src/
  11902. * test/
  11903. Removed PeerDecl.h and BtContextDecl.h. typedefs are removed to
  11904. Peer.h and BtContext.h respectively.
  11905. * src/Peer.h
  11906. * src/BtContext.h
  11907. Updated translations.
  11908. Added Polish, Thai, Indonesian, Norwegian Nynorsk, Hungarian
  11909. translations. Great thanks to all translators!;)
  11910. * po/*.{po, gmo}
  11911. 2008-02-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11912. Create MessageDigestHelper::staticSHA1DigestInit() which uses
  11913. statically declared sha1 MessageDigestContext.
  11914. * src/BtPieceMessage.cc: Use staticSHA1DigestInit() to avoid
  11915. initialization of short-lived MessageDigestContext.
  11916. * src/MessageDigestHelper.{h, cc}
  11917. * src/main.cc
  11918. Now DownloadCommand has a reference to MessageDigestContext to avoid
  11919. the initialization of MessageDigestContext every time in validating
  11920. chunk checksum.
  11921. * src/DownloadCommand.{h, cc}
  11922. 2008-02-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11923. Add a file descriptor which connected to fast peer(latency<1500) to
  11924. select(). This change reduced CPU load.
  11925. * src/PeerInteractionCommand.cc
  11926. * src/DefaultBtInteractive.{h, cc}
  11927. * src/BtInteractive.h
  11928. 2008-02-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11929. Fixed the previous insufficient fix for possible busy loop.
  11930. * src/MSEHandshake.cc (identifyHandshakeType)
  11931. Removed unused functions.
  11932. * src/MSEHandshake.{h, cc} (readDataAndDecrypt)
  11933. 2008-02-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11934. Fixed possible busy loop if first 20 bytes are not received for a few
  11935. minutes.
  11936. * src/MSEHandshake.{h, cc} (identifyHandshakeType)
  11937. * src/ReceiverMSEHandshakeCommand.cc
  11938. 2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11939. Fixed compilation error
  11940. * src/ExpatMetalinkProcessor.cc
  11941. 2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11942. Fixed compile error on Mac OS X, on 64Bit OS maybe.
  11943. * src/DHTBucket.cc
  11944. Removed unnecessary cast.
  11945. * src/HandshakeExtensionMessage.cc
  11946. 2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11947. Fixed the bug that option handler for PREF_METALINK_ENABLE_UNIQUE_PROTOCOL.
  11948. is missing.
  11949. * src/OptionHandlerFactory.cc
  11950. 2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11951. Fixed the bug that HAVE message is not sent for a piece they are
  11952. downloaded fom http/ftp server before any BitTorrent handshake is done
  11953. with peers.
  11954. * src/DefaultBtInteractive.cc
  11955. 2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11956. Removed RequestInfo.h and FileAllocator.h since they have been removed.
  11957. * src/Makefile.am
  11958. * src/Makefile.in
  11959. 2008-02-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11960. Updated README. Added html version of README and man page.
  11961. * README
  11962. * README.html
  11963. * readme2html: Shell script to generate README.html from README using
  11964. asciidoc.
  11965. * doc/aria2c.1.html
  11966. * doc/makeman: Added the line to generate aria2c.1.html
  11967. 2008-02-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11968. Fixed offset calculation.
  11969. * src/LibgcryptDHKeyExchange.h (computeSecret)
  11970. 2008-02-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11971. Rewritten itos and uitos using template. llitos and ullitos are
  11972. replaced with itos and uitos respectively.
  11973. * src/Util.{h, cc}
  11974. * test/UtilTest.cc
  11975. 2008-02-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11976. Fixed the bug that DH key exchange sometimes fails due to bad handling
  11977. of the number of bytes required for storing public key and shared
  11978. secret.
  11979. * src/LibgcryptDHKeyExchange.h
  11980. * src/LibsslDHKeyExchange.h: Also added function name to handleError.
  11981. * src/MSEHandshake.cc
  11982. * test/DHKeyExchangeTest.cc
  11983. 2008-02-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11984. Removed since they are not used.
  11985. * src/Xml2MetalinkProcessor.{h, cc}
  11986. * src/Socket.cc
  11987. * src/SegmentSplitter.{h, cc}
  11988. * test/Xml2MetalinkProcessorTest.cc
  11989. 2008-02-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11990. Fixed the bug that prevents aria2 from stopping other than by pressing
  11991. Ctrl-C in BitTorrent download. It is reproducible using --seed-time
  11992. option. aria2 doesn't stop even after --seed-time is satisfied and
  11993. continues to output blank lines in the console.
  11994. * src/ReceiverMSEHandshakeCommand.cc
  11995. * src/PeerReceiveHandshakeCommand.cc
  11996. * src/PeerListenCommand.cc
  11997. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11998. Bump up version number to 0.13.0rc
  11999. * configure.ac
  12000. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12001. Updated man page and some usage text.
  12002. * doc/aria2c.1.txt
  12003. * src/usage_text.h
  12004. * po/*.{po, gmo}
  12005. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12006. Updated translations. Added Finnish and Hebrew translations.
  12007. Great thanks to all translators!
  12008. * po/*.{po, gmo}
  12009. * po/LINGUAS
  12010. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12011. Log more detailed information about each message.
  12012. * src/DHTQueryMessage.{h, cc}
  12013. * src/DHTGetPeersMessage.{h, cc}
  12014. * src/DHTFindNodeReplyMessage.{h, cc}
  12015. * src/DHTGetPeersReplyMessage.{h, cc}
  12016. * src/DHTAnnouncePeerMessage.{h, cc}
  12017. * src/DHTResponseMessage.{h, cc}
  12018. * src/DHTFindNodeMessage.{h, cc}
  12019. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12020. Use constants defined in prefs.h
  12021. * src/option_processing.cc
  12022. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12023. * test/AllTest.cc: Added OpenSSL, GNUTLS initialization code.
  12024. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12025. Make room for future enchancements for IPv6 addresses.
  12026. Bump up version number of dht.dat file format to 2.
  12027. Not compatible with previous version.
  12028. * src/DHTRoutingTableSerializer.cc
  12029. * src/DHTRoutingTableDeserializer.cc
  12030. * test/DHTRoutingTableSerializerTest.cc
  12031. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12032. Added handling for the return values from
  12033. PeerMessageUtil::createcompact().
  12034. * src/DefaultBtContext.cc (computeFastSet):
  12035. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12036. Fixed abort when peer's ip address is IPv4-mapped address.
  12037. * src/DefaultBtContext.cc (computeFastSet)
  12038. Removed number-and-dots criteria, since Util::isNumberAndDotsNotation()
  12039. cannot handle IPv4-mapped addresses.
  12040. * src/DefaultBtInteractive.cc (addPeerExchangeMessage)
  12041. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12042. Proper return value handling for OpenSSL functions.
  12043. * src/LibsslDHKeyExchange.h
  12044. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12045. Random bytes generation using libgcrypt and OpenSSL.
  12046. * src/DHTUtil.{h, cc}
  12047. * test/DHTUtilTest.cc
  12048. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12049. Fixed segmentation fault when a DHT message which doesn't have 'y' key
  12050. received.
  12051. * src/DHTMessageReceiver.cc (receiveMessage)
  12052. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12053. Fixed the bug that a return code is always 0. BUG#1897704
  12054. If error occurred during the download or there exist unfinished
  12055. downloads, aria2 returns with code 1.
  12056. * src/RequestGroupMan.{h, cc}
  12057. * src/MultiUrlRequestInfo.{h, cc}
  12058. * src/main.cc
  12059. 2008-02-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12060. IPv6 support for SocketCore class.
  12061. TODO: In SocketCore::establishConnection(), this is insufficient to
  12062. determin the failure of connect() here because the socket is
  12063. non-blocking state. The next addresses should be tried after select().
  12064. TODO: NameResolver still uses c-ares(<= 1.4) ares_gethostbyname().
  12065. If c-ares 1.5 or newer is installed, ares_getaddrinfo() should be used
  12066. instead which address family independent.
  12067. TODO: DHTRoutingTable{Deserializer,Serializer} currently saves peer
  12068. information in a compact peer format which is for IPv4 only.
  12069. Some BitTorrent functions in PeerMessageUtil still depends on IPv4 but
  12070. this is a spec of BitTorrent protocol.
  12071. * src/SocketCore.{h, cc}
  12072. * src/PeerMessageUtil.cc
  12073. * test/SocketCoreTest.cc
  12074. * test/PeerMessageUtilTest.cc
  12075. * test/DHTConnectionImplTest.cc
  12076. Handle IPv4-mapped addresses.
  12077. * src/DHTNode.cc: Now identity is determined by node id.
  12078. * src/DHTMessageTrackerEntry.cc
  12079. Because now PeerMessageUtil::unpackcompact() could fail, the caller
  12080. should handle it.
  12081. * src/DHTRoutingTableDeserializer.cc
  12082. * src/DHTMessageFactoryImpl.cc
  12083. 2008-02-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12084. Change the unit of --stop option from a minute to a second.
  12085. * src/usage_text.h
  12086. * src/DownloadEngineFactory.cc
  12087. * src/OptionHandlerFactory.cc
  12088. * src/message.h
  12089. * src/TimedHaltCommand.cc
  12090. 2008-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12091. Make listening socket non-block mode.
  12092. * src/FtpConnection.cc
  12093. * src/FtpNegotiationCommand.{h, cc}
  12094. * src/PeerListenCommand.cc
  12095. Fixed the bug that cause slow ftp negotiation.
  12096. * src/FtpNegotiationCommand.{h, cc}
  12097. 2008-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12098. Added basic tag to --enable-dht, --dht-listen-port option.
  12099. * src/HelpItemFactory.cc (createHelpItems)
  12100. 2008-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12101. Updated text.
  12102. * src/usage_text.h
  12103. 2008-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12104. * src/MSEHandshake.cc (encryptAndSendData): Use std::min().
  12105. 2008-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12106. Determin _threadtholdSpeed in each constructor for
  12107. ActivePeerConnectionCommand and PeerReceiveHandshakeCommand.
  12108. * src/ActivePeerConnectionCommand.{h, cc}
  12109. * src/PeerReceiveHandshakeCommand.{h, cc}
  12110. * src/BtSetup.cc
  12111. * src/BtConstants.h
  12112. 2008-02-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12113. Added --bt-min-crypto-level and --bt-require-crypto options.
  12114. * src/OptionHandlerFactory.cc
  12115. * src/MSEHandshake.cc
  12116. * src/HelpItemFactory.cc
  12117. * src/option_processing.cc
  12118. * src/ReceiverMSEHandshakeCommand.cc
  12119. * src/prefs.h
  12120. * src/DefaultBtAnnounce.cc
  12121. * src/InitiatorMSEHandshakeCommand.cc
  12122. * src/usage_text.h
  12123. * test/MSEHandshakeTest.cc
  12124. 2008-02-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12125. Bump version number to 0.13.0b
  12126. * configure.ac
  12127. 2008-02-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12128. Updated doc.
  12129. * src/MessageDigestHelper.h:
  12130. 2008-02-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12131. Use raw message digest as a token instead of its hexadecimal
  12132. representation.
  12133. * src/DHTTokenTracker.cc (generateToken)
  12134. 2008-02-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12135. Added Message Stream Encryption(MSE) support.
  12136. Currently, aria2 accepts incoming connections with Obfuscation Header
  12137. and legacy BitTorrent Header and establishes connections with
  12138. Obfuscation Header first and if failed then retry with legacy
  12139. BitTorrent header. If plain text and ARC4 is provided, aria2 always
  12140. choose ARC4. The new option to change the default behavior is planned.
  12141. For tracker extension, "supportcrypto=1" is added statically.
  12142. * src/PeerInitiateConnectionCommand.{h, cc}
  12143. * src/PeerConnection.{h, cc}
  12144. * src/HandleRegistry.h
  12145. * src/SocketCore.h
  12146. * src/PeerReceiveHandshakeCommand.{h, cc}
  12147. * src/BtRegistry.{h, cc}
  12148. * src/PeerListenCommand.cc
  12149. * src/InitiatorMSEHandshakeCommand.{h, cc}
  12150. * src/ReceiverMSEHandshakeCommand.{h, cc}
  12151. * src/MSEHandshake.{h, cc}
  12152. * src/ARC4Encryptor.h
  12153. * src/ARC4Decryptor.h
  12154. * src/LibgcryptARC4Encryptor.h
  12155. * src/LibgcryptARC4Decryptor.h
  12156. * src/LibgcryptARC4Context.h
  12157. * src/LibsslARC4Encryptor.h
  12158. * src/LibsslARC4Decryptor.h
  12159. * src/LibsslARC4Context.h
  12160. * src/DHKeyExchange.h
  12161. * src/LibgcryptDHKeyExchange.h
  12162. * src/LibsslDHKeyExchange.h
  12163. * src/DefaultBtAnnounce.cc: Just added "supportcrypto=1" parameter.
  12164. * test/DefaultBtAnnounceTest.cc
  12165. * test/ARC4Test.cc
  12166. * test/DHKeyExchangeTest.cc
  12167. Removed prepareForRetry() because it is not used.
  12168. * src/PeerAbstractCommand.{h, cc}
  12169. * src/PeerInteractionCommand.{h, cc}
  12170. * src/PeerInitiateConnectionCommand.{h, cc}
  12171. 2008-02-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12172. Added the ability to load nodes from torrent file. These nodes are
  12173. added to the routing table when downloading that torrent.
  12174. * src/BtContext.h
  12175. * src/DefaultBtContext.{h, cc}
  12176. * src/DHTSetup.cc
  12177. * src/DHTEntryPointNameResolveCommand.{h, cc}: Now accepts list of
  12178. hostname and port pair, and resolves all of them.
  12179. * src/NameResolver.{h, cc}: Added reset().
  12180. * src/RequestGroup.cc
  12181. * test/DefaultBtContextTest.cc
  12182. * test/MockBtContext.h
  12183. Removed assert() from DefaultBtContext and throw exception instead.
  12184. * src/DefaultBtContext.cc
  12185. 2008-02-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12186. Fixed segmentation fault bug when exiting if dht is disabled.
  12187. * src/RequestGroup.cc
  12188. 2008-02-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12189. Fixed typo in log message and define the message in message.h
  12190. * src/TimedHaltCommand.cc
  12191. * src/message.h
  12192. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12193. Included RecoverableException.h to fix compilation error.
  12194. * test/DHTMessageFactoryImplTest.cc
  12195. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12196. Added test 'testDoReceivedAction' for DHTQueryMessage subclasses.
  12197. * test/DHTPingMessageTest.cc
  12198. * test/DHTGetPeersMessageTest.cc
  12199. * test/DHTFindNodeMessageTest.cc
  12200. * test/DHTAnnouncePeerMessageTest.cc
  12201. * test/MockDHTMessage.h
  12202. * test/MockDHTMessageFactory.h
  12203. * test/MockDHTMessageDispatcher.h: New class.
  12204. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12205. Added DHTMessageDispatcherImpl. Now DHTMessageDispatcher is pure
  12206. virtual.
  12207. * src/DHTMessageDispatcher.h
  12208. * src/DHTMessageDispatcherImpl.{h, cc}
  12209. * src/DHTSetup.cc
  12210. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12211. Adding handling of DHT error message. Just log error message and
  12212. throw exception.
  12213. * src/DHTMessageFactoryImpl.cc
  12214. * test/DHTMessageFactoryImplTest.cc
  12215. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12216. Added handling of dynamic cast failure.
  12217. * src/DHTNodeLookupTask.cc
  12218. * src/DHTPeerLookupTask.cc
  12219. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12220. Added the ability to stop aria2 itself when given time has passed
  12221. from start. Use --stop option to specify time in minutes.
  12222. When 0 is given, this feature is disabled.
  12223. * src/OptionHandlerFactory.cc
  12224. * src/TimeBasedCommand.h: Make _interval protected scope.
  12225. * src/HelpItemFactory.cc
  12226. * src/option_processing.cc
  12227. * src/prefs.h
  12228. * src/FillRequestGroupCommand.cc: Evaluate _e->isHaltRequested()
  12229. before calling RequestGroupMan::fillRequestGroupFromReserver().
  12230. Without this modification, the result list shows "ERR" when aria2 is
  12231. stopped by --stop option. It should be "INPR".
  12232. * src/DownloadEngine.{h, cc}
  12233. * src/DownloadEngineFactory.cc
  12234. * src/usage_text.h
  12235. * src/TimedHaltCommand.{h, cc}: New class.
  12236. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12237. Bootstrap through node added by port message.
  12238. Currently bootstrap is executed if the number of buckets in routing
  12239. table is 1.
  12240. * src/BtPortMessage.{h, cc}
  12241. * src/DefaultBtMessageFactory.{h, cc}
  12242. * src/PeerInteractionCommand.cc
  12243. * test/BtPortMessageTest.cc
  12244. * test/MockDHTTask.h
  12245. 2008-02-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12246. Extract the Peer class's member variables, which are only needed after
  12247. PeerInteractionCommand, into PeerSessionResource class.
  12248. This class is instantiated in PeerInteractionCommand class's ctor and
  12249. released in its dtor.
  12250. This will make Peer class lightweight and uses less memory for peers
  12251. which are not connected and wait in the queue.
  12252. * src/PeerChokeCommand.cc
  12253. * src/PeerSessionResource.{h, cc}
  12254. * src/PeerInteractionCommand.cc
  12255. * src/PeerAbstractCommand.cc: Note: 0 is given to onAbort() function.
  12256. * src/DefaultBtInteractive.cc
  12257. * src/BtPieceMessage.cc
  12258. * src/BtInterestedMessage.cc
  12259. * src/BtUnchokeMessage.cc
  12260. * src/DefaultPeerStorage.{h, cc}
  12261. * src/PeerInitiateConnectionCommand.cc
  12262. * src/ActivePeerConnectionCommand.cc
  12263. * src/BtNotInterestedMessage.cc
  12264. * src/DefaultBtMessageDispatcher.cc
  12265. * src/BtChokeMessage.cc
  12266. * src/BtRequestMessage.cc
  12267. * src/Peer.{h, cc}
  12268. * src/BtRegistry.h
  12269. * src/TrackerWatcherCommand.cc
  12270. * src/PeerReceiveHandshakeCommand.cc
  12271. * test/BtExtendedMessageTest.cc
  12272. * test/BtAllowedFastMessageTest.cc
  12273. * test/BtCancelMessageTest.cc
  12274. * test/DefaultPieceStorageTest.cc
  12275. * test/BtBitfieldMessageTest.cc
  12276. * test/BtHaveMessageTest.cc
  12277. * test/BtNotInterestedMessageTest.cc
  12278. * test/BtRequestMessageTest.cc
  12279. * test/PeerSessionResourceTest.cc
  12280. * test/DefaultBtMessageDispatcherTest.cc
  12281. * test/PeerTest.cc
  12282. * test/BtInterestedMessageTest.cc
  12283. * test/BtRejectMessageTest.cc
  12284. * test/BtChokeMessageTest.cc
  12285. * test/DefaultPeerStorageTest.cc
  12286. * test/BtHaveNoneMessageTest.cc
  12287. * test/BtHaveAllMessageTest.cc
  12288. * test/DefaultExtensionMessageFactoryTest.cc
  12289. * test/BtUnchokeMessageTest.cc
  12290. * test/DefaultBtMessageFactoryTest.cc
  12291. * test/HandshakeExtensionMessageTest.cc
  12292. * test/UTPexExtensionMessageTest.cc
  12293. * test/DefaultBtRequestFactoryTest.cc
  12294. * test/BtPieceMessageTest.cc
  12295. Removed typedef PeerStats.
  12296. * src/PeerStat.h
  12297. * src/SegmentMan.cc
  12298. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12299. Added std namespace to copy, remove_copy, back_inserter,
  12300. front_inserter.
  12301. * src/RequestGroupMan.cc
  12302. * src/DefaultPieceStorage.cc
  12303. * src/StreamFileAllocationEntry.cc
  12304. * src/BtFileAllocationEntry.cc
  12305. * src/RequestGroup.cc
  12306. * src/MetalinkEntry.cc
  12307. * src/DelegatingPeerListProcessor.cc
  12308. * src/DefaultBtRequestFactory.cc
  12309. * src/DefaultBtMessageDispatcher.cc
  12310. * src/version_usage.cc: Included <algorithm>
  12311. * src/main.cc
  12312. * src/MetalinkParserController.cc
  12313. * src/DefaultBtContext.cc
  12314. * src/DownloadEngineFactory.cc
  12315. * src/a2algo.h
  12316. Removed.
  12317. * test/StreamUriListParserTest.cc
  12318. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12319. Use PREF_MAX_DOWNLOAD_LIMIT as a threshold for
  12320. ActivePeerConnectionCommand when it is given and
  12321. PREF_MAX_DOWNLOAD_LIMIT < default threshold.
  12322. * src/ActivePeerConnectionCommand.{h, cc}
  12323. * src/BtSetup.cc
  12324. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12325. Only add socket to DownloadEngine's select routine when peer or
  12326. localhost is unchoked and interested. This lowers CPU usage a
  12327. little bit.
  12328. * src/PeerInteractionCommand.cc
  12329. * src/PeerAbstractCommand.{h, cc}
  12330. * src/BtInteractive.h
  12331. * src/DefaultBtInteractive.{h, cc}
  12332. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12333. Revert previous change because get_peers message is needed for
  12334. announce_peer anyway.
  12335. * src/DHTGetPeersCommand.cc
  12336. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12337. Request peers thought DHT only when download hasn't finished.
  12338. * src/DHTGetPeersCommand.cc
  12339. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12340. Force refresh bucket when startup if certain time has passed(currently 15 minutes).
  12341. * src/DHTBucketRefreshTask.{h, cc}
  12342. * src/DHTSetup.cc
  12343. 2008-02-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12344. Removed "using namespace std;" from all sources. Appended std:: prefix to c++
  12345. standard classes.
  12346. Included string.h where mem* function are used.
  12347. Added namespace aria2.
  12348. 2008-02-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12349. Create directory before saving DHT routing table.
  12350. Now ios::failure is now handled properly.
  12351. * src/DHTAutoSaveCommand.cc
  12352. 2008-02-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12353. Removed unnecessary cerr.
  12354. * src/DownloadEngine.cc
  12355. 2008-02-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12356. Catch exception inside DHTMessageReceiver::receiveMessage().
  12357. Log unknown message.
  12358. * src/DHTMessageReceiver.{h, cc}
  12359. * src/DHTMessageFactory.h
  12360. * src/DHTMessageFactoryImpl.{h, cc}
  12361. * src/DHTMessageTracker.cc (handleTimeout): Catch and handle exception.
  12362. * src/DHTInteractionCommand.cc
  12363. * src/DHTUnknownMessage.{h, cc}
  12364. * test/DHTUnknownMessageTest.cc
  12365. * test/MockDHTMessageFactory.h
  12366. 2008-02-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12367. Commented out ip address comparison because a host can have multiple
  12368. ip addresses and it is hard to predict the hostname is resolved into
  12369. which one.
  12370. * test/SocketCoreTest.cc (testWriteAndReadDatagram)
  12371. 2008-02-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12372. * po/Makefile.in: Removed since this is generated by configure.
  12373. 2008-02-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12374. Fixed compiler warning about redefinition of SIZE_MAX.
  12375. Use common.h instead of config.h directly here.
  12376. * src/Platform.{h, cc}
  12377. The check of ENABLE_NLS is made in gettext.h, so it is not required
  12378. here.
  12379. * common.h
  12380. 2008-02-02 gettextize <bug-gnu-gettext@gnu.org>
  12381. Updated gettext related files.
  12382. * configure.ac (AC_CONFIG_FILES): Add intl/Makefile.
  12383. * configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.17.
  12384. 2008-02-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12385. Added DHT functionality, compatible with mainline.
  12386. DHT is disabled by default. To enable it, give --enable-dht to aria2c.
  12387. You may need to specify entry point to DHT network using
  12388. --dht-entry-point. DHT uses UDP port to listen incoming message.
  12389. Use --dht-listen-port to specify port number. Make sure that your
  12390. firewall configuration can pass through UDP traffic to the port.
  12391. The routing table is saved in $HOME/.aria2/dht.dat.
  12392. * src/DHT*
  12393. * src/BNode.{h, cc}
  12394. * src/PeerInteractionCommand.cc: enable DHT functionality for a
  12395. particular torrent.
  12396. * src/Data.cc: Rewritten ctor.
  12397. * src/OptionHandlerFactory.cc: Added --enable-dht, --dht-listen-port,
  12398. --dht-entry-point.
  12399. * src/DefaultBtInteractive.cc: Send port message if dht is enabled.
  12400. * src/RequestGroup.cc: Initialize DHT functionality. When download
  12401. ends, remove BtContext from DHTPeerAnnounceStorage.
  12402. * src/BtPortMessage.{h, cc}: Rewritten.
  12403. * src/message.h
  12404. * src/OptionHandlerImpl.cc
  12405. * src/option_processing.cc: Added --enable-dht, --dht-listen-port,
  12406. --dht-entry-point.
  12407. * src/Dictionary.{h, cc} (remove): New function.
  12408. * src/prefs.h
  12409. * src/DefaultBtMessageFactory.h
  12410. * src/BtHandshakeMessage.cc
  12411. * src/ActivePeerConnectionCommand.cc
  12412. * src/SocketCore.{h, cc}: Added datagram socket support.
  12413. * src/DefaultBtMessageFactory.cc
  12414. * src/BtSetup.cc: Add BtContext to DHTPeerAnnounceStorage here.
  12415. Create DHT commands.
  12416. * src/BtMessageFactory.h
  12417. * src/PeerMessageUtil.{h, cc}
  12418. 2008-01-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12419. Fixed the bug that log file is not written when configuration file doesn't exist.
  12420. This is caused by using Logger class before LogFactory is not configured.
  12421. BUG #1875079
  12422. * src/option_processing.cc
  12423. Warning message "configuration doesn't exist" is only printed when --conf is
  12424. given.
  12425. * src/option_processing.cc
  12426. 2008-01-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12427. Use BencodeVisitor and MessageDigestHelper instead of ShaVisitor.
  12428. ShaVisitor is now deprecated and slated to be removed.
  12429. * src/DefaultBtContext.cc
  12430. 2008-01-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12431. Externalize message to message.h
  12432. * src/Platform.cc
  12433. * src/message.h
  12434. 2008-01-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12435. Set default domain and default path to cookie.
  12436. * src/HttpResponse.cc
  12437. * src/CookieBox.{h, cc}
  12438. * src/CookieParser.{h, cc}
  12439. * test/CookieParserTest.cc
  12440. 2008-01-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12441. Added --no-conf and --conf-path command-line option.
  12442. --no-conf option disables loading aria2.conf file.
  12443. --conf-path option changes the configuration file path. The default
  12444. file path is $HOME/.aria2/aria2.conf
  12445. Added a warning message when the configuration file is not found.
  12446. * src/HelpItemFactory.cc
  12447. * src/option_processing.cc
  12448. * src/prefs.h
  12449. * src/usage_text.h
  12450. 2008-01-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12451. Added the message to inform users that other help categories are
  12452. available in -h option.
  12453. * src/version_usage.cc
  12454. * src/TagContainer.{h, cc}
  12455. * test/TagContainerTest.cc
  12456. * src/TaggedItem.{h, cc}
  12457. * test/TaggedItemTest.cc
  12458. * src/HelpItem.h
  12459. 2008-01-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12460. Added Piece::getFirstMissingBlockIndexWithoutLock() and it is called
  12461. from PiecedSegment's ctor.
  12462. Previously Piece::getAllMissingBlockIndexes() is called from
  12463. PiecedSegment() but it is rather expensive since only first element is
  12464. used.
  12465. * src/PiecedSegment.cc
  12466. * src/Piece.{h, cc}
  12467. 2008-01-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12468. Rewritten get*Missing*Index functions. Now no need to allocate memory
  12469. each time these functions are called.
  12470. * src/BitfieldMan.{h, cc}
  12471. * test/BitfieldManTest.cc
  12472. * src/array_fun.h
  12473. * test/array_funTest.cc
  12474. Now BitfieldMan::countBlock() returns BitfieldMan::blocks.
  12475. Added new BitfieldMan::countFilteredBlock() to get the number of blocks
  12476. filtered. Removed unnecessary cast to int32_t.
  12477. * src/BitfieldMan.{h, cc}
  12478. 2008-01-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12479. Fixed the bug that EX_TOO_LONG_PAYLOAD exception is thrown if just
  12480. payload length(4bytes) are received. This happens because lenbufLength
  12481. is not updated in this particular case and successive call of
  12482. receiveMessage() overwrites payload length with bytes recieved which
  12483. are payload body.
  12484. * src/PeerConnection.{h, cc}
  12485. * src/message.h
  12486. 2008-01-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12487. Fixed the bug that DefaultPeerStorage::returnPeer() may delete wrong
  12488. peer if there are peers that have same ipaddr and port.
  12489. I've experiened segmentation fault and "pure virtual function was
  12490. called" error.
  12491. * src/Peer.h
  12492. * test/PeerTest.cc
  12493. * src/DefaultPeerStorage.cc
  12494. * test/DefaultPeerStorageTest.cc
  12495. 2008-01-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12496. Removed a call to isPowerOf() because it is no longer necessary here
  12497. and a request block is not always power of 2.
  12498. BUG#1866924
  12499. * src/PeerMessageUtil.cc (checkLength)
  12500. 2008-01-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12501. Fixed the bug that always first found Segment is removed from
  12502. usedSegmentEntries. Removed unused functions.
  12503. * src/SegmentMan.{h, cc}
  12504. * test/SegmentManTest.cc
  12505. Fixed the bug that ServerHost is not removed.
  12506. * src/RequestGroup.cc
  12507. 2008-01-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12508. Fixed the bug that SegmentMan::completeSegment() is not called
  12509. even if Segment is complete when --lowest-speed-limit is enabled.
  12510. BUG#1864525
  12511. * src/DownloadCommand.{h, cc}
  12512. 2008-01-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12513. Fixed: hash algorithm 'sha1' is always used.
  12514. * src/DownloadCommand.cc (validatePieceHash)
  12515. 2008-01-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12516. Added --enable-peer-exchange command-line option.
  12517. * src/OptionHandlerFactory.cc
  12518. * src/HelpItemFactory.cc
  12519. * src/option_processing.cc
  12520. * src/usage_text.h
  12521. 2008-01-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12522. Move extension from BtRuntime to ExtensionMessageFactory, because
  12523. extension can be specified per peer, not per torrent.
  12524. * src/DefaultBtInteractive.cc
  12525. * src/BtRuntime.h
  12526. * src/ExtendedMessagingAware.h
  12527. * src/ExtensionMessageFactory.h
  12528. * src/DefaultExtensionMessageFactory.cc
  12529. * test/DefaultExtensionMessageFactoryTest.cc
  12530. 2008-01-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12531. Added categorized option help. Specify category using --help option.
  12532. Also added the ability to search options in forward match.
  12533. * src/HelpItem.{h, cc}
  12534. * test/HelpItemTest.cc
  12535. * src/HelpItemFactory.{h, cc}
  12536. * src/TagContainer.{h, cc}
  12537. * test/TagContainerTest.cc
  12538. * src/option_processing.cc
  12539. * src/prefs.h
  12540. * src/TaggedItem.{h, cc}
  12541. * test/TaggedItemTest.cc
  12542. * src/version_usage.cc
  12543. * src/help_tags.h
  12544. * src/usage_text.h
  12545. 2008-01-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12546. Fixed segmentation fault when bad torrent metainfo is parsed.
  12547. Added dynamic_cast properly to detect the misconfiguration of metainfo
  12548. and then throw exception or skip it.
  12549. * src/DefaultBtContext.{h, cc}
  12550. * test/DefaultBtContextTest.cc
  12551. * src/AnnounceList.cc
  12552. * src/CompactPeerListProcessor.cc
  12553. * src/message.h
  12554. * src/DefaultBtAnnounce.{h, cc}
  12555. * test/DefaultBtAnnounceTest.cc
  12556. * src/BencodeVisitor.cc
  12557. 2007-12-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12558. Added missing "B"(=Byte). So now the message looks like this:
  12559. Your share ratio was 1.0, uploaded/downloaded=12MiB/12MiB
  12560. * src/message.h (MSG_SHARE_RATIO_REPORT)
  12561. 2007-12-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12562. Show the seed ratio after torrent downloads.
  12563. For example, after torrent download completed and --seed-time and
  12564. --seed-ratio conditions are fulfilled, following message is printed
  12565. right after "Download complete: .....":
  12566. Your share ratio was 1.0, uploaded/downloaded=12M/12M
  12567. * src/RequestGroupMan.cc
  12568. * src/RequestGroup.{h, cc}
  12569. * src/message.h
  12570. 2007-12-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12571. Remove a defunct control file. A defunct control file means that while
  12572. it exists, but the corresponding download file is missing.
  12573. After its removal, a download restarts from the beginning.
  12574. * src/RequestGroup.cc
  12575. * src/message.h
  12576. 2007-12-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12577. Allocate bitfield in Peer when it is really used. More specifically,
  12578. bitfield in Peer is allocated after the connection is established and
  12579. deallocated when the connection is dropped.
  12580. Since 2 parameters(piece length and total length) was removed from the
  12581. constructor of Peer class, many test classes were modified accordingly.
  12582. See svn log for more detailed information.
  12583. * src/PeerInteractionCommand.cc
  12584. * src/CompactPeerListProcessor.cc
  12585. * src/Peer.cc
  12586. * src/DefaultPeerListProcessor.cc
  12587. * src/PeerListenCommand.cc
  12588. * src/PeerReceiveHandshakeCommand.cc
  12589. Fixed memory leak
  12590. * src/Piece.cc
  12591. 2007-12-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12592. Changed the default value of PREF_PEER_CONNECTION_TIMEOUT and
  12593. lowestSpeedLimit in ActivePeerConnectionCommand. TODO: Make them
  12594. command-line options.
  12595. * src/option_processing.cc
  12596. * src/ActivePeerConnectionCommand.cc
  12597. 2007-12-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12598. Send have message to peer if it already has the piece.
  12599. * src/BtHaveMessage.{h, cc}
  12600. 2007-12-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12601. Removed incomingPeer. Set 0 to peer's port if it is not a listening
  12602. port.
  12603. * src/DefaultPeerStorage.{h, cc}
  12604. * test/DefaultPeerStorageTest.cc
  12605. * src/HandshakeExtensionMessage.cc
  12606. * test/HandshakeExtensionMessageTest.cc
  12607. * src/Peer.{h, cc}: Added ipaddr and port to identity comparison.
  12608. * src/PeerStorage.h
  12609. * test/MockPeerStorage.h
  12610. * src/PeerListenCommand.cc
  12611. * src/PeerReceiveHandshakeCommand.cc
  12612. 2007-12-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12613. Added --metalink-enable-unique-protocol option.
  12614. * src/Metalink2RequestGroup.cc
  12615. * src/option_processing.cc
  12616. * src/prefs.h
  12617. * src/version_usage.cc
  12618. * doc/aria2c.1.txt
  12619. * doc/aria2c.1
  12620. 2007-12-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12621. Allow a peer in incomingPeer to be added peers.
  12622. * src/DefaultPeerStorage.cc
  12623. * test/DefaultPeerStorageTest.cc
  12624. 2007-12-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12625. Fixed the bug that causes aria2 not to finish download. BUG#1855875.
  12626. I could reproduce this bug in following procedure:
  12627. 1. Stop the download at the very beginning(1% or 100KB downloaded).
  12628. 2. Restart aria2.
  12629. 3. You see the download stopped around 99%.
  12630. * src/HttpResponseCommand.cc (handleDefaultEncoding)
  12631. * src/StreamFileAllocationEntry.cc: Removed the timeout handling.
  12632. If timeout is reached, then _nextCommand is unused and it may contains
  12633. segments and they won't be canceled. Actually, timeout is not needed
  12634. here because if the server dropped connection, then retry is made.
  12635. 2007-12-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12636. Added uTorrent compatible Peer Exchange.
  12637. * src/BencodeVisitor.{h, cc}
  12638. * test/BencodeVisitorTest.cc
  12639. * src/BtConstants.h
  12640. * src/BtContext.h: Added 'private' flag.
  12641. * src/BtExtendedMessage.{h, cc}
  12642. * test/BtExtendedMessageTest.cc
  12643. * src/BtHandshakeMessage.{h, cc}: Set extended messaging bit in
  12644. reserved field.
  12645. * test/BtHandshakeMessageTest.cc
  12646. * src/BtMessageFactory.h
  12647. * src/BtRegistry.h
  12648. * src/BtRuntime.h: This class holds default extension message IDs for
  12649. aria2. By default, aria2 uses ID 8 for ut_pex.
  12650. * src/DefaultBtContext.cc
  12651. * src/DefaultBtInteractive.{h, cc}: This class holds _utPexEnabled.
  12652. When it is true, aria2 enables ut_pex. This value is set by
  12653. PeerInteractionCommand.
  12654. * src/DefaultBtMessageFactory.{h, cc}
  12655. * test/DefaultBtMessageFactoryTest.cc
  12656. * src/DefaultBtMessageReceiver.cc: Moved the code of fast extension
  12657. handling to DefaultBtInteractive class.
  12658. * src/DefaultExtensionMessageFactory.{h, cc}
  12659. * test/DefaultExtensionMessageFactoryTest.cc
  12660. * src/DefaultPeerStorage.cc: Returns false if a peer is already in
  12661. the container(peers and incomingPeers. The equality is determined by
  12662. Peer::id).
  12663. * test/DefaultPeerStorageTest.cc
  12664. * src/ExtensionMessage.h
  12665. * test/MockExtensionMessage.h
  12666. * src/ExtensionMessageFactory.h
  12667. * test/MockExtensionMessageFactory.h
  12668. * src/HandshakeExtensionMessage.{h, cc}
  12669. * test/HandshakeExtensionMessageTest.cc
  12670. * src/MetaEntry.h
  12671. * src/Peer.{h, cc}
  12672. * src/PeerInteractionCommand.cc
  12673. * src/PeerReceiveHandshakeCommand.cc: Evaluate the return value of
  12674. addIncomingPeer.
  12675. * src/PeerMessageUtil.{h, cc}
  12676. * src/PeerObject.h
  12677. * src/UTPexExtensionMessage.{h, cc}
  12678. * test/UTPexExtensionMessageTest.cc
  12679. * src/message.h
  12680. * src/prefs.h
  12681. Fixed the bug that returns incomplete data when it contains null
  12682. character. A convenient constructor was also added.
  12683. * src/Data.{h, cc}
  12684. Rewritten.
  12685. * src/CompactPeerListProcessor.cc
  12686. Fixed typos.
  12687. * src/message.h
  12688. * src/MetaFileUtil.cc
  12689. 2007-12-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12690. Added "Status Legend" label to the explanation text of 'stat' in
  12691. download result and moved it to the last. BUG#1848214
  12692. * src/RequestGroupMan.cc
  12693. 2007-12-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12694. Fixed the bug that -lexpat is always added to aria2c_LDADD.
  12695. * src/Makefie.am
  12696. * test/Makefile.am
  12697. 2007-12-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12698. Fixed the bug that prevents aria2 from loading cookie file when expire
  12699. value is greater than 2^31-1. BUG#1851066
  12700. * src/CookieBoxFactory.cc
  12701. * test/CookieBoxFactoryTest.cc
  12702. 2007-12-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12703. Fixed possible memory leak when an exception is thrown.
  12704. * src/XML2SAXMetalinkProcessor.cc
  12705. Added Expat support. If both libxml2 and Expat are installed, then
  12706. libxml2 is used by default.
  12707. MetalinkProcessorFactory chooses from XML2SAXMetalinkProcessor and
  12708. ExpatMetalinkProcessor according to the configuration.
  12709. * src/ExpatMetalinkProcessor.{h, cc}
  12710. * src/main.cc: Removed libxml2 specific header and init/free function.
  12711. * src/MetalinkProcessorFactory.{h, cc}
  12712. * src/MetalinkHelper.cc
  12713. * src/Metalinker.h: Removed unnecessary libxml2 header.
  12714. * src/MetalinkProcessor.h
  12715. * test/XML2SAXMetalinkProcessorTest.cc: Removed because
  12716. MetalinkProcessorTest is used instead.
  12717. * test/MetalinkProcessorTest.cc: Added. It is actually the same with
  12718. XML2SAXMetalinkProcessor, replaced XML2SAXMetalinkProcessor with
  12719. MetalinkProcessorFactory::newInstance().
  12720. * m4/libexpat.m4
  12721. * configure.ac: Added configuration options for libexpat.
  12722. 2007-12-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12723. Disabled -s option in metalink download.
  12724. * src/Metalink2RequestGroup.cc
  12725. 2007-12-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12726. If several protocols are available for a mirror in metalink file,
  12727. aria2 now use one of them. --metalink-preferred-protocol option was
  12728. added to specify the preference of protocol.
  12729. * src/AbstractCommand.cc
  12730. * src/OptionHandlerFactory.cc
  12731. * src/ServerHost.{h, cc}
  12732. * src/Metalink2RequestGroup.cc
  12733. * src/RequestGroup.{h, cc}
  12734. * test/RequestGroupTest.cc
  12735. * src/option_processing.cc
  12736. * src/prefs.h
  12737. * src/HttpResponseCommand.cc
  12738. * src/MetalinkResource.{h, cc}
  12739. * src/FtpNegotiationCommand.cc
  12740. * src/MetalinkEntry.{h, cc}
  12741. * src/MetalinkEntryTest.cc
  12742. 2007-12-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12743. Code cleanup and added debug log.
  12744. * src/PeerConnection.cc
  12745. 2007-12-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12746. Compiler error fix: applied the patch by Tiziano Mueller
  12747. * src/RequestGroup.cc
  12748. 2007-12-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12749. Fixed the bug: only first announce URL is tried in AnnounceTier,
  12750. in stopped and completed event.
  12751. * src/AnnounceList.{h, cc}
  12752. * test/AnnounceListTest.cc
  12753. * src/DefaultBtAnnounce.cc
  12754. * test/DefaultBtAnnounceTest.cc
  12755. Sorted URLs.
  12756. * test/Metalink2RequestGroupTest.cc
  12757. 2007-12-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12758. Removed unnecessary string copy. Updated doc and corrected indentation.
  12759. * src/Base64.cc
  12760. Fixed compilation warnings
  12761. * test/DataTest.cc
  12762. * test/HttpRequestTest.cc
  12763. * test/MetaFileUtilTest.cc
  12764. * test/RequestTest.cc
  12765. * Release 0.12.0
  12766. 2007-12-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12767. Updated translations
  12768. * po/{de,fr,ja,nl,ru}.po
  12769. Added Brazilian Portuguese, Catalan, Italian, Spanish, Swedish
  12770. translations. Many thanks to translators.
  12771. * po/{ca,es,it,pt_BR,sv}.po
  12772. * po/LINGUAS
  12773. 2007-12-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12774. Added a notice about URL
  12775. * src/version_usage.cc
  12776. 2007-12-07 Tatsuhiro Tsujikawa <tujikawa at rednoah com>
  12777. Fixed the bug#1845750; CTRL+C does not stop torrent.
  12778. aria2 repeatedly sends stopped request when tracker returns error code.
  12779. * src/AnnounceList.cc
  12780. * test/AnnounceListTest.cc
  12781. * src/AnnounceTier.h
  12782. Added a message when ctrl-c is hit.
  12783. Now second ctrl-c is also handled in signal handler.
  12784. * src/RequestGroupMan.{h, cc}
  12785. * src/RequestGroup.{h, cc}
  12786. * src/MultiUrlRequestInfo.cc
  12787. * src/DownloadEngine.cc
  12788. * src/TrackerWatcherCommand.cc
  12789. 2007-12-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12790. Code cleanup
  12791. * src/Base64.cc (encode)
  12792. 2007-12-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12793. Changed Direct/IO enable/disable procesure in file allocation routine.
  12794. * src/SingleFileAllocationIterator.cc
  12795. (SingleFileAllocationIterator):
  12796. Disable directIO if offset is not multiple of 512.
  12797. (~SingleFileAllocationIterator): Removed a call to disableDirectIO.
  12798. * src/MultiFileAllocationIterator.cc (allocateChunk):
  12799. Enable created SingleFileAllocationIterator's directIO.
  12800. * src/FileAllocationEntry.cc
  12801. (FileAllocationEntry): Enable directIO here.
  12802. (~FileAllocationEntry): Disable directIO here.
  12803. 2007-12-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12804. Fixed the bug: aria2 doesn't utilize fast set index offered by peer.
  12805. * src/Peer.{h, cc}
  12806. * src/DefaultPieceStorage.cc
  12807. * test/DefaultPieceStorageTest.cc
  12808. 2007-12-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12809. Rewritten direct I/O support routine
  12810. * src/SingleFileAllocationIterator.cc
  12811. * src/MultiDiskAdaptor.{h, cc}
  12812. * src/ByteArrayDiskWriter.h
  12813. * src/AbstractSingleDiskAdaptor.h
  12814. * src/AbstractDiskWriter.cc
  12815. * src/DefaultPieceStorage.cc
  12816. * src/DiskWriter.h
  12817. * src/BinaryStream.h
  12818. * src/IteratableChunkChecksumValidator.cc
  12819. * src/IteratableChecksumValidator.cc
  12820. * src/CheckIntegrityEntry.cc
  12821. * src/FileAllocationEntry.cc
  12822. 2007-12-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12823. Fixed typo
  12824. * src/version_usage.cc
  12825. Updated doc
  12826. * doc/aria2c.1.txt
  12827. * doc/aria2c.1
  12828. 2007-12-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12829. Fixed compile error without message digest support.
  12830. * src/FileMetalinkParserState.cc
  12831. * src/MetalinkParserController.{h, cc}
  12832. * test/XML2SAXMetalinkProcessorTest.cc
  12833. * test/MetalinkParserControllerTest.cc
  12834. 2007-12-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12835. Enable direct I/O support in checksum checking.
  12836. * src/IteratableChunkChecksumValidator.{h, cc}
  12837. * test/IteratableChunkChecksumValidatorTest.cc
  12838. * src/CheckIntegrityEntry.cc
  12839. * src/PieceHashCheckIntegrityEntry.cc
  12840. * src/IteratableChecksumValidator.{h, cc}
  12841. * src/BtCheckIntegrityEntry.cc: Added doc.
  12842. 2007-12-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12843. Added --allow-piece-length-change option.
  12844. * src/DefaultBtProgressInfoFile.cc
  12845. * test/DefaultBtProgressInfoFileTest.cc
  12846. * src/OptionHandlerFactory.cc
  12847. * src/option_processing.cc
  12848. * src/prefs.h
  12849. * src/version_usage.cc
  12850. * doc/aria2c.1.txt
  12851. * doc/aria2c.1
  12852. Fixed: duplicated result entry appears when exception is thrown in
  12853. RequestGroup::createInitiateConnectionCommand().
  12854. * src/RequestGroupMan.cc (fillRequestGroupFromReserver):
  12855. Add RequestGroup to _requestGroup after RequetGroup::
  12856. createInitiateConnectionCommand() succeeds.
  12857. Externalized message
  12858. * src/XML2SAXMetalinkProcessor.cc
  12859. * src/message.h
  12860. 2007-12-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12861. Forced download abort when received negative response from http/ftp
  12862. server.
  12863. * src/HttpResponseCommand.cc
  12864. * src/FtpNegotiationCommand.cc
  12865. * src/HttpResponse.cc
  12866. * src/FtpConnection.cc
  12867. 2007-12-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12868. Added XML2SAXMetalinkProcessor class, which is a lot faster than
  12869. the predecessor, Xml2MetalinkParser class.
  12870. I tested them against 94KB metalink file with 1234 chunk checksums.
  12871. The new one parsed it in 22msec, while it took 6000msec with old one.
  12872. * src/XML2SAXMetalinkProcessor.{h, cc}
  12873. * test/XML2SAXMetalinkProcessorTest.cc
  12874. * src/MetalinkParserController.{h, cc}
  12875. * test/MetalinkParserControllerTest.cc
  12876. * src/MetalinkParserState.h: Also added 16 subclasses.
  12877. * src/main.cc
  12878. * src/Metalink2RequestGroup.cc
  12879. * src/MetalinkHelper.cc
  12880. * src/MetalinkEntry.cc
  12881. * src/ChunkChecksum.h
  12882. Rewritten Base64 class for better performance.
  12883. * src/Base64.{h, cc}
  12884. * test/Base64Test.cc
  12885. * src/HttpRequest.cc
  12886. 2007-12-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12887. Fixed the bug#1841757: aria2 will connect to server to only get
  12888. file size.
  12889. * src/StreamFileAllocationEntry.cc
  12890. * src/option_processing.cc
  12891. * src/HttpResponseCommand.cc: Now reuse connection in segmented
  12892. downloads.
  12893. * src/FtpNegotiationCommand.cc
  12894. Suppressed wrong message when finding PreDownloadHandler
  12895. * src/RequestGroup.cc
  12896. 2007-11-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12897. Updated usage
  12898. * src/version_usage.cc
  12899. Updated man page
  12900. * doc/aria2c.1.txt
  12901. * doc/aria2c.1
  12902. Updated po files
  12903. * po/aria2c.pot
  12904. * po/*.po
  12905. * po/*.gmo
  12906. 2007-11-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12907. Eliminated g++-4.2 warning
  12908. * src/DownloadHandlerConstants.{h, cc}
  12909. * src/Util.cc
  12910. * test/MetaFileUtilTest.cc
  12911. * test/PStringBuildVisitorTest.cc
  12912. Fixed bug: --check-integrity doesn't work for multi file torrent.
  12913. * src/RequestGroup.cc
  12914. * src/BtCheckIntegrityEntry.cc
  12915. 2007-11-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12916. Fixed a2io.h
  12917. * src/a2io.h
  12918. 2007-11-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12919. Added direct I/O support. The current implementation uses O_DIRECT,
  12920. which is not posix standard and is tested on linux 2.6.21.
  12921. Currently only file allocation uses direct I/O.
  12922. * src/SingleFileAllocationIterator.{h, cc}
  12923. * test/SingleFileAllocationIteratorTest.cc
  12924. * src/MultiFileAllocationIterator.{h, cc}
  12925. * test/MultiFileAllocationIteratorTest.cc
  12926. * src/BinaryStream.h
  12927. * src/DiskWriter.h
  12928. * src/AbstractDiskWriter.{h, cc}
  12929. * src/ByteArrayDiskWriter.h
  12930. * src/DiskAdaptor.h
  12931. * src/AbstractSingleDiskAdaptor.{h, cc}
  12932. * src/MultiDiskAdaptor.{h, cc}
  12933. * src/FileAllocationEntry.cc
  12934. * src/Util.{h, cc}
  12935. * src/OptionHandlerFactory.cc
  12936. * src/prefs.h
  12937. * src/version_usage.cc
  12938. * src/option_processing.cc
  12939. Moved FileAllocationMan::markCurrentFileAllocationEntryDone() to
  12940. handleException.
  12941. * src/MultiFileAllocationIterator.cc
  12942. Added EINTR handling
  12943. * src/SocketCore.cc
  12944. 2007-11-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12945. Updated usage
  12946. * src/version_usage.cc
  12947. 2007-11-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12948. Applied Ross's patch for MinGW port.
  12949. * src/DownloadEngine.h
  12950. 2007-11-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12951. Set Content-Type to SingleFileDownloadContext when http response is
  12952. received.
  12953. * src/HttpResponseCommand.cc
  12954. * src/HttpResponse.{h, cc}
  12955. * test/HttpResponseTest.cc
  12956. 2007-11-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12957. Rewritten to add content-type support.
  12958. * src/DownloadHandler.{h, cc}
  12959. * src/BtPostDownloadHandler.{h, cc}
  12960. * test/BtPostDownloadHandlerTest.cc
  12961. * src/MetalinkPostDownloadHandler.{h, cc}
  12962. * test/MetalinkPostDownloadHandlerTest.cc
  12963. * src/PostDownloadHandler.{h, cc}
  12964. * src/DownloadHandlerConstants.{h, cc}
  12965. * src/RequestGroup.cc
  12966. * src/HttpResponseCommand.cc
  12967. * src/FtpNegotiationCommand.cc
  12968. * src/SingleFileDownloadContext.{h, cc}
  12969. * src/RequestGroup.h
  12970. * src/RequestGroupCriteria.h
  12971. * src/ContentTypeRequestGroupCriteria.h
  12972. Added 'mem' option value for --follow-metalink, --follow-torrent.
  12973. If it is give, metalink/torrent file is not written to the disk, but
  12974. just is kept in memory. Parsing is occurred on memory.
  12975. * src/MetalinkHelper.{h, cc}
  12976. * src/MetalinkProcessor.h
  12977. * src/Xml2MetalinkProcessor.{h, cc}
  12978. * test/Xml2MetalinkProcessorTest.cc
  12979. * src/DownloadHandlerFactory.{h, cc}
  12980. * test/DownloadHandlerFactoryTest.cc
  12981. * src/PreDownloadHandler.{h, cc}
  12982. * src/OptionHandlerFactory.cc
  12983. * src/DefaultBtContext.{h, cc}
  12984. * test/DefaultBtContextTest.cc
  12985. * src/version_usage.cc
  12986. * src/Metalink2RequestGroup.{h, cc}
  12987. * src/RequestGroup.{h, cc}
  12988. * src/a2functional.h
  12989. * test/a2functionalTest.cc
  12990. * src/MemoryBufferPreDownloadHandler.{h, cc}
  12991. * src/OptionHandlerImpl.h
  12992. * src/prefs.h
  12993. * src/Util.{h, cc}
  12994. * test/UtilTest.cc
  12995. Keep DownloadResult rather than RequestGroup after downloads to reduce
  12996. memory usage.
  12997. * src/RequestGroupMan.{h, cc}
  12998. * src/DownloadEngine.cc
  12999. * src/BtDependency.{h, cc}: Changed the type of dependee from
  13000. WeakHandle to SharedHandle because WeakHandle could be null.
  13001. * src/RequestGroup.{h, cc}
  13002. * src/DownloadEngineFactory.cc
  13003. * src/DownloadResult.h
  13004. Set totalLength after download finished
  13005. * src/UnknownLengthPieceStorage.{h, cc}
  13006. Keep torrent file specified in metalink in memory.
  13007. * src/Metalink2RequestGroup.cc
  13008. * src/BtDependency.cc
  13009. * src/TrueRequestGroupCriteria.h
  13010. Fixed the bug: seekg is used where seekp should be used.
  13011. * src/ByteArrayDiskWriter.cc
  13012. * test/ByteArraydiskWriterTest.cc
  13013. 2007-11-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13014. Fixed syntax error
  13015. * test/SequenceTest.cc
  13016. 2007-11-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13017. Return false if RequestGroup::isPreLocalFileCheckEnabled() == true
  13018. * src/RequestGroupMan.cc (isSameFileBeingDownloaded)
  13019. Return false if RequestGroup::isPreLocalFileCheckEnabled() == true
  13020. * src/RequestGroup.cc (downloadFinishedByFileLength)
  13021. 2007-11-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13022. Added the check to see whether ares_host_callback accepts timeouts
  13023. with c-ares; only c-ares 1.5.0 or newer accepts it.
  13024. * src/NameResolver.{h, cc}
  13025. * m4/libcares.m4
  13026. * configure.ac: Set C++ for language choice.
  13027. 2007-11-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13028. Fixed: compilation fails without c-ares/ares
  13029. * src/DownloadEngine.cc (addCommand): Moved outside #ifdef
  13030. Generate http/ftp commands only when download is incomplete.
  13031. * src/BtFileAllocationEntry.cc (prepareForNextAction)
  13032. 2007-11-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13033. Corrected typo. Examples are removed since they are available in man
  13034. page.
  13035. * src/version_usage.cc
  13036. Updated man page.
  13037. * doc/aria2c.1
  13038. * doc/aria2c.1.txt
  13039. * doc/makeman: Commented out sed command.
  13040. 2007-11-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13041. Throw DlAbortEx when a remote file is not found.
  13042. * src/HttpResponse.cc
  13043. * src/FtpNegotiationCommand.cc
  13044. * src/message.h
  13045. Overwrite an existing file if --allow-overwrite=true is given.
  13046. * src/RequestGroup.cc
  13047. Removed unused functions
  13048. * src/AbstractCommand.h
  13049. 2007-11-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13050. Removed 'extern' from 'extern typedef ...' in src/*.h
  13051. 2007-11-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13052. Updated usage
  13053. * src/version_usage.cc
  13054. 2007-11-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13055. Trim announce URL
  13056. * src/DefaultBtContext.cc
  13057. * test/ShaVisitorTest.cc
  13058. Trim argument s. Give trimed s to exception constructor.
  13059. * src/Util.cc (parseInt)(parseLLInt)
  13060. * test/UtilTest.cc
  13061. 2007-11-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13062. Set precision back to 1.
  13063. * src/ConsoleStatCalc.cc (calculateStat)
  13064. 2007-11-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13065. Replaced strtol with Util::parseInt
  13066. * src/ChunkedEncoding.cc
  13067. * src/HttpConnection.cc
  13068. * src/CookieBoxFactory.cc
  13069. * src/ParameterizedStringParser.cc
  13070. * src/Util.cc
  13071. * test/UtilTest.cc
  13072. * test/OptionHandlerTest.cc
  13073. * src/Request.cc
  13074. Throw exception when empty string is given. The message for exception
  13075. changed.
  13076. * src/Util.cc (parseInt)(parseLLInt)
  13077. * src/message.h
  13078. 2007-11-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13079. Set precision to 2 because share ratio is rounded into 1.0 if precision
  13080. set to 1.
  13081. * src/ConsoleStatCalc.cc (calculateStat)
  13082. 2007-11-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13083. Preallocate non-requested file which is adjacent forward to requested
  13084. file('requested' files means the files given in --select-file option)
  13085. if they share a same piece.
  13086. This fixes long pause in the file system which doesn't support sparse
  13087. files like FAT32 while downloading.
  13088. * src/MultiFileAllocationIterator.{h, cc}
  13089. * test/MultiFileAllocationIteratorTest.cc
  13090. * src/FileEntry.{h, cc}
  13091. Removed unused _option.
  13092. * src/MultiDiskAdaptor.h
  13093. * test/MultiDiskAdaptorTest.cc
  13094. * src/DefaultPieceStorage.cc
  13095. Set the default value of --seed-ratio to 1.0.
  13096. If 0.0 is given, then seeding continues regardless of share ratio.
  13097. * src/version_usage.cc
  13098. * src/option_processing.cc
  13099. * src/BtSetup.cc
  13100. * doc/aria2c.1.txt
  13101. * doc/aria2c.1
  13102. Fixed: Selective download is not working in BitTorrent
  13103. * src/RequestGroup.cc
  13104. Introduced Sequence class. Use this instead of Util::unfoldRange()
  13105. * src/PieceStorage.h
  13106. * test/MockPieceStorage.h
  13107. * src/UnknownLengthPieceStorage.h
  13108. * src/DefaultPieceStorage.{h, cc}
  13109. * src/Metalink2RequestGroup.cc
  13110. * src/RequestGroup.cc
  13111. * src/Sequence.h
  13112. * test/SequenceTest.cc
  13113. * src/IntSequence.h
  13114. * src/message.h
  13115. * src/Util.{h, cc}
  13116. * test/UtilTest.cc
  13117. Added new function 'parse' to catch exception thrown by subclass's
  13118. parseArg
  13119. * src/OptionHandler.h
  13120. * src/OptionParser.cc
  13121. * src/NameMatchOptionHandler.h
  13122. * src/OptionHandlerImpl.h
  13123. * test/OptionHandlerTest.cc
  13124. Added IntegerRangeOptionHandler. Used for --listen-port and
  13125. --select-file. Now --listen-port accepts range of port.
  13126. * src/OptionHandlerFactory.cc
  13127. * src/version_usage.cc
  13128. * src/OptionHandlerImpl.h
  13129. * src/option_processing.cc
  13130. * src/BtSetup.cc
  13131. * src/PeerListenCommand.{h, cc}
  13132. * doc/aria2c.1.txt
  13133. * doc/aria2c.1
  13134. Implemented operator< for Exception class to provide easy way to print
  13135. exception stack trace.
  13136. * src/Exception.{h, cc}
  13137. * src/main.cc
  13138. * src/option_processing.cc
  13139. 2007-11-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13140. * src/version_usage.cc
  13141. (showVersion): Reworked.
  13142. (showUsage): Added examples.
  13143. Removed Hint for total length and file name.
  13144. * src/Metalink2RequestGroup.cc
  13145. * src/RequestGroup.{h, cc}
  13146. * src/HttpResponseCommand.cc
  13147. * src/FtpNegotiationCommand.cc
  13148. Now --follow-torrent and --follow-metalink option work properly.
  13149. * src/RequestGroup.cc
  13150. Updated man page
  13151. * doc/aria2c.1.txt
  13152. * doc/aria2c.1
  13153. 2007-11-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13154. Removed.
  13155. * src/PiecedSegment.{h, cc} (operator==)(operator!=)
  13156. Use Segment::operator==()
  13157. * src/HttpConnection.cc
  13158. * src/Segment.h
  13159. Updated usage
  13160. * src/version_usage.cc
  13161. Added EINTR treatment.
  13162. * src/SocketCore.cc
  13163. * src/AbstractDiskWriter.cc
  13164. Rewritten.
  13165. * src/Util.cc (rangedFileCopy)
  13166. 2007-11-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13167. Fixed typo.
  13168. * src/version_usage.cc
  13169. 2007-11-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13170. Implemented. Now -c option works fine.
  13171. * src/DefaultPieceStorage.cc (markPiecesDone)
  13172. * test/DefaultPieceStorageTest.cc
  13173. Removed.
  13174. * src/SegmentMan.{h, cc}
  13175. (markAllPiecesDone)
  13176. (markPieceDone)
  13177. Synchronized po files with
  13178. https://translations.launchpad.net/aria2/trunk/+pots/aria2c
  13179. * src/fr.po
  13180. * src/ru.po
  13181. * src/de.po
  13182. * src/ja.po
  13183. 2007-11-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13184. Added ifdef and some modifications to compile without BitTorrent,
  13185. Metalink, MessageDigest
  13186. support.
  13187. * src/PieceHashCheckIntegrityEntry.cc
  13188. * src/MetalinkEntry.h
  13189. * src/version_usage.cc
  13190. * src/main.cc
  13191. * src/DownloadEngine.{h, cc}
  13192. * src/Metalink2RequestGroup.cc
  13193. * src/Peer.cc
  13194. * src/RequestGroup.cc
  13195. * src/MetalinkHelper.cc
  13196. * test/DefaultPieceStorageTest.cc
  13197. * test/MetalinkPostDownloadHandlerTest.cc
  13198. * test/Metalink2RequestGroupTest.cc
  13199. Hide TOTAL SPD when all downloads complete.
  13200. * src/ConsoleStatCalc.cc
  13201. Log target system information.
  13202. * src/main.cc
  13203. 2007-11-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13204. Now --metalink-location accepts a comma-deliminated list of locations.
  13205. * src/MetalinkEntry.{h, cc}
  13206. * test/MetalinkEntryTest.cc
  13207. * src/version_usage.cc
  13208. * src/Metalink2RequestGroup.cc
  13209. * src/Xml2MetalinkProcessor.cc
  13210. * test/Xml2MetalinkProcessorTest.cc
  13211. * doc/aria2c.1.txt
  13212. * doc/aria2c.1
  13213. * src/Util.cc (toUpper)(toLower): Rewritten.
  13214. 2007-11-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13215. Added the ability to detect duplicate download entry which is about to
  13216. download the same file other RequestGroup is downloading.
  13217. * src/RequestGroup.cc
  13218. * src/HttpResponseCommand.cc
  13219. * src/FtpNegotiationCommand.cc
  13220. 2007-11-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13221. Recalculates download progress when loading a control file,
  13222. if the piece length of DownloadContext is different from the one saved
  13223. in the control file. Currently in-flight pieces are ignored.
  13224. * src/DefaultBtProgressInfoFile.cc
  13225. * test/DefaultBtProgressInfoFileTest.cc
  13226. * src/Util.{h, cc}
  13227. * test/UtilTest.cc
  13228. 2007-11-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13229. Do not rotate tiers in announce-list.
  13230. * src/DefaultBtAnnounce.{h, cc}: Removed trackerNumTry.
  13231. AnnounceList::allTiersFailed() used instead to detect whether all
  13232. tiers are tried and failed.
  13233. * test/DefaultBtAnnounceTest.cc
  13234. * src/AnnounceList.{h, cc}: If all tiers are tried and failed then
  13235. allTiersFailed() returns true. To reset tier pointer, call resetTier();
  13236. * test/AnnounceListTest.cc
  13237. * src/TrackerWatcherCommand.cc (execute): Removed DlAbortEx catch
  13238. clause. Catch RecoverableException instead of DlRetryEx instead.
  13239. 2007-11-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13240. Implemented checksum validation feature(1 checksum for each file)
  13241. The validation takes place after the download.
  13242. * src/PieceHashCheckIntegrityEntry.{h, cc}: New class.
  13243. * src/IteratableChecksumValidator.{h, cc}: Rewritten.
  13244. * src/CheckIntegrityCommand.cc: Changed log message.
  13245. * src/Metalink2RequestGroup.cc: Set checksum to
  13246. SingleFileDownloadContext.
  13247. * src/StreamCheckIntegrityEntry.{h, cc}: Now derived from
  13248. PieceHashCheckIntegrity class.
  13249. * src/BtCheckIntegrityEntry.{h, cc}: Now derived from
  13250. PieceHashCheckIntegrity class.
  13251. * src/ChecksumCheckIntegrityEntry.{h, cc}: New class.
  13252. * src/IteratableValidator.h: New class.
  13253. * src/message.h
  13254. * src/CheckIntegrityEntry.{h, cc}
  13255. * src/IteratableChunkChecksumValidator.{h, cc}
  13256. * src/SingleFileDownloadContext.h
  13257. * src/DownloadCommand.cc
  13258. --allow-overwrite=true is no longer needed to check file integrity
  13259. before download in BitTorrent download.
  13260. * src/RequestGroup.cc (getInitialCommand)
  13261. Removed RequestGroup from queue when RequestGroup::getInitialCommand()
  13262. throws exception.
  13263. * src/RequestGroupMan.cc (getInitialCommands)
  13264. 2007-11-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13265. urlencode the given url inside Request::parseUrl(...)
  13266. * src/Request.{h, cc}
  13267. * src/Util.{h, cc}
  13268. * test/RequestTest.cc
  13269. Removed #!metalink3! notation support because it is deleted from
  13270. the metalink specification.
  13271. * src/Request.{h, cc}
  13272. * test/RequestTest.cc
  13273. 2007-11-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13274. Don't connect server before checking file integrity at startup, if
  13275. filesize and output file path are known.
  13276. * src/AbstractCommand.cc
  13277. * src/StreamFileAllocationEntry.cc
  13278. * src/Metalink2RequestGroup.cc
  13279. * src/RequestGroup.{h, cc}
  13280. * src/HttpResponseCommand.cc
  13281. * src/FtpNegotiationCommand.cc
  13282. Added DownloadFailureException. If it is thrown, RequestGroup should
  13283. halt.
  13284. * src/AbstractCommand.cc
  13285. * src/DownloadFailureException.h
  13286. * src/RequestGroup.cc
  13287. Catch RecoverableException, instead of DlAbortEx.
  13288. * src/RequestGroupMan.cc
  13289. * src/FillRequestGroupCommand.cc
  13290. * src/MetaFileUtil.cc
  13291. * src/IteratableChunkChecksumValidator.cc
  13292. Now first parameter of MSG_DOWNLOAD_ABORTED is gid(RequestGroup::
  13293. getGID())
  13294. * src/CheckIntegrityCommand.cc
  13295. * src/message.h
  13296. Print gid instead of idx.
  13297. * src/RequestGroupMan.cc
  13298. Removed exception throwers declaration.
  13299. * src/DirectDiskAdaptor.{h, cc}
  13300. * src/SocketCore.{h, cc}
  13301. * src/MultiDiskAdaptor.{h, cc}
  13302. * src/HttpConnection.{h, cc}
  13303. * src/HttpResponse.{h, cc}
  13304. * src/DiskAdaptor.{h, cc}
  13305. * src/CopyDiskAdaptor.{h, cc}
  13306. * src/MultiDiskAdaptor.{h, cc}
  13307. * src/HttpHeaderProcessor.{h, cc}
  13308. * src/AbstractSingleDiskAdaptor.{h, cc}
  13309. * src/Util.{h, cc}
  13310. * test/UtilTest.cc
  13311. * src/DefaultDiskWriter.{h, cc}
  13312. * src/FtpConnection.{h, cc}
  13313. * src/AbstractDiskWriter.{h, cc}
  13314. Removed duplicate code.
  13315. * src/StreamCheckIntegrityEntry.cc
  13316. Removed unnecessary include.
  13317. * src/DiskWriter.h
  13318. Included Exception.h
  13319. * src/option_processing.cc
  13320. Included 2 files and added doc
  13321. * src/TrackerWatcherCommand.cc
  13322. * src/SocketCore.cc (writeData): Fixed send error with GnuTLS.
  13323. 2007-11-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13324. Changed CheckIntegrityEntry interface so that it can define
  13325. the action when all the chunk checksums are valid.
  13326. * src/CheckIntegrityEntry.h
  13327. * src/StreamCheckIntegrityEntry.{h, cc}
  13328. * src/BtCheckIntegrityEntry.{h, cc}: Currently,when all the checksums
  13329. are valid, then aira2 goes to seeding mode. Sometimes it is better
  13330. to exit rather than doing seeding. So, it would be good to toggle this
  13331. behavior.
  13332. * src/CheckIntegrityCommand.cc
  13333. * src/AbstractCommand.cc
  13334. * src/RequestGroup.cc
  13335. 2007-11-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13336. Reflect the download length of in-flight pieces.
  13337. It makes the download length readout more precise.
  13338. * src/DefaultPieceStorage.{h, cc}
  13339. * test/DefaultPieceStorageTest.cc
  13340. * src/a2functional.h
  13341. * test/a2functionalTest.cc
  13342. Lower CPU load when --max-download-limit is used.
  13343. There is up and down in speed indicator when enabling
  13344. http-pipelining but a download goes well. I think the problem is that
  13345. because http-pipelining is enabled, DownloadCommand is created for
  13346. each segment and in its constructor, PeerStat::downloadStart() is
  13347. called. In PeerStat::downloadStart(), speed calculation object is
  13348. reseted, which makes download speed zero.
  13349. * src/DownloadCommand.cc
  13350. Rewritten using accumulate.
  13351. * src/RequestGroupMan.cc (calculateStat)
  13352. Code clearnup.
  13353. * src/FtpNegotiationCommand.cc
  13354. * src/HttpResponseCommand.cc
  13355. 2007-11-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13356. Fixed: Can not resume: aria2 reports download already finished.
  13357. * src/AbstractCommand.{h, cc}
  13358. * src/HttpResponseCommand.cc
  13359. * src/FtpNegotiateCommand.cc
  13360. 2007-11-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13361. Now a file is stored in the directory specified in .metalnk file
  13362. (file[@name]).
  13363. * src/Metalink2RequestGroup.cc
  13364. Create the directory structure when opening the file if it doesn't
  13365. exist.
  13366. * src/AbstractDiskWriter.cc
  13367. * src/Util.{h, cc}
  13368. * src/File.h
  13369. * test/UtilTest.cc
  13370. Removed file name comparison
  13371. * src/Metalink2RequestGroup.cc
  13372. * src/HttpResponseCommand.cc
  13373. Rewritten using Util::mkdirs()
  13374. * src/FileEntry.cc (setupDir)
  13375. * test/FileEntryTest.cc
  13376. Updated doc
  13377. * src/SingleFileDownloadContext.h
  13378. 2007-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13379. Now SleepCommand dispatches nextCommand when halt is requested.
  13380. It avoids a possible long wait after hitting CTRL-C.
  13381. * src/SleepCommand.{h, cc}
  13382. * src/RequestGroupAware.{h, cc}
  13383. 2007-11-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13384. Fixed: the listen port sent to the tracker is wrong. If aria2 fails
  13385. to open listen port, then remove the port number from the tracker
  13386. request.
  13387. * src/DefaultBtAnnounce.cc
  13388. * test/DefaultBtAnnounceTest.cc
  13389. * test/MockPieceStorage.h
  13390. Inject randomizer to DefaultBtAnnounce and DefaultBtContext to make
  13391. them more testable.
  13392. * src/DefaultBtAnnounce.{h, cc}
  13393. * src/DefaultBtContext.{h, cc}
  13394. * src/Util.{h, cc}
  13395. * test/DefaultBtAnnounceTest.cc
  13396. * test/DefaultBtContextTest.cc
  13397. * test/UtilTest.cc
  13398. Added 'B' to upload bytes readout.
  13399. * src/ConsoleStatCalc.cc
  13400. Now the listen port for BitTorrent download is opened when it is
  13401. needed.
  13402. * src/DownloadEngineFactory.cc
  13403. * src/BtSetup.{h, cc}
  13404. * src/PeerListenCommand.{h, cc}
  13405. Now an exception thrown while parsing tracker response is now logged.
  13406. If DlAbortEx is catched, then btAnnounce->resetAnnounce() immediately
  13407. called, which means no retry is made in this case, assuming a tracker
  13408. has a problem.
  13409. * src/TrackerWatcherCommand.cc
  13410. Fixed: downloading a file whose length is unkown fails.
  13411. * src/DownloadCommand.cc
  13412. Simplified prepareForNextSegment()
  13413. * src/DownloadCommand.cc
  13414. Updated
  13415. * po/POTFILES.in
  13416. 2007-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13417. Re-implemented a file listing for Metalink, which was dropped while
  13418. http/ftp/torrent integration was being implemented.
  13419. * src/MetalinkHelper.{h, cc}: New class.
  13420. * test/MetalinkHelperTest.cc
  13421. * src/main.cc
  13422. * src/Metalink2RequestGroup.cc
  13423. 2007-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13424. Added the ability to display the detailed torrent file information.
  13425. Now -S option gives not only a file listing, but also total download
  13426. length, info hash, announce URI, piece length, the number of pieces,
  13427. and mode(single or multi-torrent).
  13428. * src/DefaultBtContext.{h, cc} (operator<<): New function.
  13429. * src/Util.cc (toStream): Show file length in a abbreviated form(like
  13430. KiB)
  13431. * test/UtilTest.cc
  13432. * src/main.cc
  13433. 2007-10-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13434. Added ftp://USER:PASSWD@Servername automatic parsing.
  13435. * src/Request.{h, cc}: Removed AuthResolvers. Added _username and
  13436. _password. Recognize username and password in URI.
  13437. * src/main.cc: Use AuthConfigFactory instead of RequestFactory.
  13438. * src/RequestGroup.cc: Use AuthConfigFactory instead of RequestFactory.
  13439. * src/RequestFactory.{h, cc}: Removed.
  13440. * src/AuthConfigFactory.{h, cc}: New class.
  13441. * src/FtpConnection.cc: Use AuthConfigFactory.
  13442. * src/HttpRequest.cc: Use AuthConfigFactory.
  13443. * test/HttpRequestTest.cc: Updated.
  13444. * test/RequestTest.cc: Updated.
  13445. * test/AuthConfigFactoryTest.cc: New class.
  13446. * test/RequestFactoryTest.cc: Removed.
  13447. 2007-10-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13448. Use RequestGroup::allDownloadFinished() to decide whether the control
  13449. file should be removed or saved.
  13450. * src/RequestGroup.{h, cc} (allDownloadFinished): New function.
  13451. * src/RequestGroupMan.cc (removeStoppedGroup) (save)
  13452. 2007-10-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13453. Use File::renameTo()
  13454. * src/DefaultBtProgressInfoFile.cc
  13455. Added --no-file-allocation-limit command-line option.
  13456. * src/version_usage.cc
  13457. * src/option_processing.cc
  13458. * src/OptionHandlerFactory.cc
  13459. * src/RequestGroup.{h, cc}
  13460. * src/BtCheckIntegrityEntry.cc
  13461. * src/StreamCheckIntegrityEntry.cc
  13462. * src/prefs.h
  13463. * doc/aria2c.1.txt
  13464. * doc/aria2c.1
  13465. Now prealloc is the default value for --file-allocation option.
  13466. * src/version_usage.cc
  13467. * src/option_processing.cc
  13468. * doc/aria2c.1.txt
  13469. * doc/aria2c.1
  13470. Don't URL-encode user-agent.
  13471. * src/HttpRequest.cc
  13472. Updated translations
  13473. * po/LINGUAS: Added nl for Dutch translation.
  13474. * po/nl.po: Added Dutch translation, thanks to A. Bram Neijt.
  13475. * po/de.po: Updated German translation, thanks to Patrick Ruckstuhl.
  13476. * po/POTFILES.in: Updated.
  13477. 2007-10-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13478. Added the ability to recognize url-list in a torrent file.
  13479. The retrieved URLs are attached to the corresponding FileEntry.
  13480. * src/DefaultBtContext.{h, cc}
  13481. * src/FileEntry.{h, cc}
  13482. * test/DefaultBtContextTest.cc
  13483. 2007-10-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13484. * src/ConsoleStatCalc.cc: Let the user know that aria2 is now seeding
  13485. after the download finishes.
  13486. 2007-10-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13487. * src/Piece.{h, cc}: Added SubPiece infrastructure to track down
  13488. the data smaller than block length.
  13489. A block length can be specified by constructor's argument.
  13490. * src/DefaultPieceStorage.{h, cc} (getMissingPiece):
  13491. Get a missing piece in the range of given FileEntry. This function is
  13492. not used in the program yet.
  13493. * src/Util.h: Added some macros.
  13494. 2007-10-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13495. Added HTTP/1.1 keep alive and pipelining support.
  13496. See --enable-http-keep-alive and --enable-http-pipelining option.
  13497. * src/AbstractCommand.{h, cc}: Now it has one-to-many relation to
  13498. Segment.
  13499. * src/HttpDownloadCommand.{h, cc}
  13500. * src/OptionHandlerFactory.cc
  13501. * src/HttpConnection.{h, cc}
  13502. * src/version_usage.cc
  13503. * src/HttpInitiateConnectionCommand.cc
  13504. * src/FtpInitiateConnectionCommand.cc
  13505. * src/Segment.h
  13506. * src/HttpRequestCommand.{h, cc}
  13507. * src/option_processing.cc
  13508. * src/prefs.h
  13509. * src/HttpResponseCommand.cc
  13510. * src/SegmentMan.{h, cc}
  13511. * src/FtpNegotiateCommand.cc
  13512. * src/HttpProxyResponseCommand.cc
  13513. * src/Request.cc
  13514. * src/HttpRequest.cc
  13515. * src/DownloadCommand.cc
  13516. * test/HttpRequestTest.cc
  13517. * test/RequestTest.cc
  13518. 2007-10-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13519. * src/ConsoleCalc.cc (calculateStat): Hide SPD after the download
  13520. finished.
  13521. 2007-10-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13522. * src/Metalink2RequestGroup.cc (generate): Throw exception instead of
  13523. catching it inside the method.
  13524. When no file entry is found in a metalink without querying user
  13525. preferences, throw the exception with the error message that suggests
  13526. metalink file is probably broken.
  13527. * src/RequestGroup.cc (postDownloadProcessing): Catch exception here.
  13528. 2007-10-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13529. Fixed the bug that prevents remote Metalink/Torrent file from begin
  13530. processed.
  13531. * src/RequestGroupMan.cc (removeStoppedGroup)
  13532. Added debug message.
  13533. * src/BtPostDownloadHandler.cc
  13534. * src/MetalinkPostDownloadHandler.cc
  13535. * src/PostDownloadHandler.{h, cc}
  13536. * src/RequestGroup.cc
  13537. 2007-10-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13538. * src/Request.cc (parseUrl): Removed unnecessary slashes around dir.
  13539. 2007-10-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13540. * src/MultiUrlRequestInfo.h: Updated the message shown when program
  13541. stops and there are any unfinished or in-progress downloads.
  13542. Added the legend of "stat".
  13543. 2007-10-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13544. Throw exception when chunck checksum verification fails.
  13545. * src/DownloadCommand.cc (validatePieceHash): New function.
  13546. * src/PiecedSegment.{h, cc} (clear): New function.
  13547. * src/GrowSegment.{h, cc} (clear): New function.
  13548. * src/Segment.h (clear): New function.
  13549. * src/SegmentMan.{h, cc} (validatePieceHash): Removed.
  13550. * test/SegmentTest.cc
  13551. * test/GrowSegmentTest.cc
  13552. 2007-10-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13553. Do not send referer when redirected.
  13554. * src/Request.cc (redirectUrl)
  13555. * test/RequestTest.cc
  13556. * test/HttpRequestTest.cc
  13557. 2007-10-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13558. Implemented BitTorrent/http/ftp integrated download.
  13559. I've rewritten lots of files and now some headers have forward
  13560. class declarations to reduce compile time.
  13561. The implementation is extremely alpha stage, I recommend to use this
  13562. for testing purpose only.
  13563. 2007-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13564. Fixed the compilation error on 64bit platform.
  13565. * test/HttpHeaderProcessorTest.cc
  13566. 2007-09-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13567. Merged Ross's patch that fixes compilation problem in MinGW
  13568. * test/DefaultBtProgressInfoFileTest.cc
  13569. 2007-09-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13570. Updated fr.po by sebone
  13571. * po/fr.po
  13572. Updated man page.
  13573. * doc/aria2c.1.txt
  13574. * Release 0.11.3
  13575. 2007-09-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13576. * src/MetalinkRequestInfo.cc (execute): Fixed BitTorrent download
  13577. failure in Metalink.
  13578. 2007-09-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13579. Automatically save *.aria2 control file of http/ftp download in every
  13580. 60 seconds.
  13581. * src/AutoSaveCommand.{h, cc}: New class.
  13582. * src/TimeBasedCommand.{h, cc}: New class.
  13583. * src/DownloadEngineFactory.cc (newConsoleEngine)
  13584. Disable parameterized URI support by default. Added -P option to
  13585. enable the feature.
  13586. * src/prefs.h: Added PREF_PARAMETERIZED_URI
  13587. * src/OptionHandlerFactory.cc
  13588. * src/main.cc: Also updated usages for -Z and --auto-file-renaming
  13589. Updated Japanese translation.
  13590. * po/ja.po
  13591. Updated man page.
  13592. * doc/aria2c.1.txt
  13593. * Release 0.11.3-rc
  13594. 2007-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13595. Now *.aria2 contorol file is first saved to *.aria2__temp and if
  13596. it is successful, then renamed to *.aria2.
  13597. This prevents *.aria2 file from being truncated or corrupted when
  13598. file system becomes out of space.
  13599. * src/DefaultBtProgressInfoFile.cc (save)
  13600. * src/SegmentMan.cc (save)
  13601. * test/DefaultBtProgressInfoFileTest.cc (testSave): Implemented.
  13602. 2007-09-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13603. Reduced the fragmentation of bitfield in http/ftp download.
  13604. * src/BitfieldMan.cc (getSparseMissingUnusedIndex)
  13605. * test/BitfieldManTest.cc
  13606. 2007-08-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13607. Added the ability to disable segmented download in .metalink.
  13608. aria2 can now recognize 'maxconnections' attribute in 'resources' and
  13609. 'url' tag.
  13610. * src/MetalinkEntry.{h, cc}
  13611. * src/RequestResource.{h, cc}
  13612. * src/MetalinkRequestInfo.cc
  13613. * src/Xml2MetalinkProcessor.cc
  13614. * test/Xml2MetalinkProcessorTest.cc
  13615. 2007-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13616. Added parameterized URI support.
  13617. * src/main.cc: -Z option added.
  13618. * src/OptionHandlerFactory.cc
  13619. * src/prefs.h: Added PREF_FORCE_SEQUENTIAL.
  13620. * src/PStringDatum.h: New class.
  13621. * src/PStringSegment.{h,cc}: New class.
  13622. * src/PStringNumLoop.h: New class.
  13623. * src/PStringSelect.h: New class.
  13624. * src/NumberDecorator.h: New class.
  13625. * src/FixedWidthNumberDecorator.h: New class.
  13626. * src/AlphaNumberDecorator.h: New class.
  13627. * src/PStringVisitor.h: New class.
  13628. * src/PStringBuildVisitor.{h,cc}: New class.
  13629. * src/ParameterizedStringParser.{h,cc}: New class.
  13630. * src/Util.{h,cc}
  13631. (isNumber): New function.
  13632. (isLowercase): New function.
  13633. (isUppercase): New function.
  13634. (alphaToNum): New function.
  13635. * test/ParameterizedStringParserTest.cc: New class.
  13636. * test/AlphaNumberDecoratorTest.cc: New class.
  13637. * test/PStringBuildVisitorTest.cc: New class.
  13638. * test/UtilTest.cc
  13639. (testIsNumber): New function.
  13640. (testIsLowercase): New function.
  13641. (testIsUppercase): New function.
  13642. (testAlphaToNum): New function.
  13643. Added '\n' after the error message
  13644. * src/RequestInfo.h (printDownloadAbortMessage)
  13645. Added auto file renaming feature in http(s)/ftp download.
  13646. * src/main.cc: Added --auto-file-renaming command-line option.
  13647. * src/OptionHandlerFactory.cc
  13648. * src/prefs.h: Added PREF_AUTO_FILE_RENAMING
  13649. * src/RequestGroup.{h, cc}
  13650. (shouldCancelDownloadForSafety): Rewritten
  13651. (tryAutoFileRenaming): New function.
  13652. * src/SegmentMan.{h, cc} (shouldCancelDownloadForSafety): Removed.
  13653. * src/HttpResponseCommand.cc
  13654. (executeInternal): Removed the call to RequestGroupMan::
  13655. isSameFileBeingDownloaded()
  13656. * src/FtpNegotiateCommand.cc
  13657. (recvSize): Removed the call to RequestGroupMan::
  13658. isSameFileBeingDownloaded()
  13659. * test/RequestGroupTest.cc: New class.
  13660. 2007-08-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13661. Merged Ross's patch: Removed setmode(). Use _CRT_fmode to enable binary
  13662. IO.
  13663. * src/DefaultBtProgressInfoFile.cc
  13664. * src/MetaFileUtil.cc
  13665. * src/SimpleLogger.cc
  13666. * src/SegmentMan.cc
  13667. * src/Util.cc
  13668. * src/Platform.cc
  13669. 2007-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13670. * src/Xml2MetalinkProcessor.cc (getPieceHash): Added missing .c_str().
  13671. 2007-08-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13672. Avoid sparse files if possible, because VFAT32 doesn't support it.
  13673. * src/DefaultDiskWriter.cc (initAndOpenFile)
  13674. Fixed the bug that prevents file allocation is not done when
  13675. dowloading multi-torrent file.
  13676. * src/AbstractDiskWriter.cc (openFile)
  13677. Increase the maximum number of -j option from 15 to 45.
  13678. * src/OptionHandlerFactory.cc (createOptionHandlers)
  13679. Added fr.po, thanks to Charles Landemaine.
  13680. * po/fr.po
  13681. * po/LINGUAS
  13682. 2007-08-10 Ross Smith II <aria2spam at smithii dot com>
  13683. gcc 3.4.4 support:
  13684. * src/DefaultBtContext.cc: int32_t -> int
  13685. * src/main.cc: int -> int32_t, int32_t -> int
  13686. * src/messageDigest.h: uint32_t -> unsigned int
  13687. * src/NameResolver.h: int32_t -> int
  13688. * src/PeerConnection.cc: int -> int32_t
  13689. * src/SpeedCalc.cc: int32_t -> int
  13690. * src/TrackerUpdateCommand.h: int -> int32_t
  13691. * src/Util.cc: int32_t -> int
  13692. * src/Util.h: int32_t -> int
  13693. * src/Xml2MetalinkProcessor.cc: int -> uint32_t, int64_t -> uint64_t
  13694. * test/AnnounceListTest.cc: int -> int32_t
  13695. * test/ChunkedEncodingTest.cc: int -> int32_t
  13696. * test/DataTest.cc: int -> int32_t
  13697. * test/DefaultBtRequestFactoryTest.cc: int -> int32_t
  13698. * test/DefaultPeerListProcessorTest.cc: int -> int32_t
  13699. * test/DefaultPieceStorageTest.cc: int -> int32_t
  13700. * test/FeatureConfigTest.cc: int -> int32_t
  13701. * test/MetalinkEntryTest.cc: int -> int32_t
  13702. * test/MockBtRequestFactory.h: int -> int32_t
  13703. * test/MockPieceStorage.h: int -> int32_t
  13704. * test/OptionTest.cc: int -> int32_t
  13705. * test/RequestTest.cc: int -> int32_t
  13706. * test/SegmentManTest.cc: int -> int32_t
  13707. * test/Xml2MetalinkProcessorTest.cc: int -> int32_t
  13708. 2007-08-10 Ross Smith II <aria2spam at smithii dot com>
  13709. Move sleep functions to Util class:
  13710. * src/Util.cc
  13711. (sleep): New function.
  13712. (usleep): New function.
  13713. * src/DownloadCommand.cc: sleep -> Util::sleep
  13714. * test/TimeSeedCriteriaTest.cc: sleep -> Util::sleep
  13715. MinGW build enhancements. The following files are added:
  13716. * src/timegm.{c,h}
  13717. Changes to support the above new files:
  13718. * configure.ac
  13719. * src/Makefile.am
  13720. * src/a2time.h
  13721. * src/Util.cc:
  13722. * src/strptime.c: Added support for %Z option.
  13723. Fixed MinGW non-blocking bug.
  13724. * src/SocketCore.cc
  13725. * src/HttpRequestCommand.cc
  13726. Miscellenous build fixes/enhancements.
  13727. * configure.ac: Added summary report.
  13728. * src/Platform.h: Tweaked #include's.
  13729. * src/a2netcompat.h: Tweaked #include's.
  13730. * src/strptime.h: Tweaked #include's.
  13731. * src/gai_strerror.c: Tweaked #include's.
  13732. * src/gai_strerror.h: _D_GETADDRINFO_H -> _D_GAI_STRERROR_H
  13733. * src/getaddrinfo.h: Moved #ifndef __MINGW32__
  13734. * src/gettimeofday.h: Added HAVE_CONFIG_H
  13735. 2007-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13736. Increased the initial connection size in BitTorrent download to 40.
  13737. * src/BtRuntime.h
  13738. Added the usage message of --peer-id-prefix option.
  13739. * src/main.cc
  13740. * Release 0.11.2
  13741. 2007-08-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13742. MessageDigestHelper is introduced in order to simplify the use
  13743. of message digest. Removed repeated code.
  13744. The message digest algorithm is now specified by string, like "sha1",
  13745. "md5".
  13746. * src/messageDigest.{h, cc}
  13747. * src/MessageDigestHelper.{h, cc}: New class.
  13748. * src/DefaultPieceStorage.cc
  13749. * src/DefaultBtContext.{h, cc}
  13750. (computeFastSet): New function.
  13751. (setInfoHash): Added for unit testing.
  13752. (setNumPieces): Added for unit testing.
  13753. * src/DefaultBtInteractive.cc
  13754. * src/BtPieceMessage.cc
  13755. * src/Peer.cc
  13756. * src/Checksum.h
  13757. * src/message.h
  13758. * src/IteratableChecksumValidator.h
  13759. * src/ChunkChecksumValidator.{h, cc}: Use IteratableChecksumValidator
  13760. inside it.
  13761. * src/SegmentMan.{h, cc}
  13762. (checkIntegrity): Removed.
  13763. * src/IteratableChunkChecksumValidator.{h, cc}
  13764. * src/Util.h
  13765. (sha1Sum): Removed.
  13766. (simpleMessageDigest): Removed.
  13767. (fileChecksum): Removed.
  13768. (computeFastSet): Removed.
  13769. * src/ShaVisitor.cc
  13770. * src/ChunkChecksum.h
  13771. * src/DownloadCommand.cc
  13772. Removed messageDigest virtual functions.
  13773. * src/MultiDiskAdaptor.{h, cc}
  13774. * src/DiskAdaptor.h
  13775. * src/ByteArrayDiskWriter.h
  13776. * src/DiskWriter.h
  13777. * src/DiskAdaptorWriter.h
  13778. * src/AbstractSingleDiskAdaptor.{h, cc}
  13779. * src/AbstractDiskWriter.{h, cc}
  13780. Fixed comilation error when message digest is disabled.
  13781. * src/MetalinkEntry.{h, cc}
  13782. * src/MetalinkRequestInfo.cc
  13783. Removed srandom and random.
  13784. * src/SimpleRandomizer.h
  13785. Added size() virtual function to DiskAdaptor
  13786. * src/MultiDiskAdaptor.h
  13787. Fixed the bug that causes that files are not opened correctly in
  13788. multi-file torrent.
  13789. * src/TorrentRequestInfo.cc
  13790. * src/MultiDiskAdaptor.cc
  13791. Added SHA256 support
  13792. * src/messageDigest.cc
  13793. * src/Xml2MetalinkProcessor.cc
  13794. Show supported message digest algorithms
  13795. * src/main.cc
  13796. Updated contact info.
  13797. * src/main.cc
  13798. Applied Ross's patch
  13799. * src/a2netcompat.h
  13800. * src/main.cc
  13801. Fixed the bug that prevents a remote metalink from not being processed
  13802. even if '-o foo.metalink' is specified.
  13803. * src/MetalinkRequestInfo.cc
  13804. 2007-08-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13805. Merged Dan's patch:
  13806. * src/ByteArrayDiskWriter.cc: ios_base -> ios
  13807. Use va_copy to avoid core dump on amd64:
  13808. * src/SimpleLogger.cc
  13809. Updated contact info.
  13810. * src/main.cc
  13811. Added #ifdef ENABLE_MESSAGE_DIGEST to fix test errors when message
  13812. digest is not available.
  13813. * src/MetalinkEntry.h
  13814. 2007-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13815. Make a2netcompat.h include a2io.h to fix compilation error:
  13816. * src/a2netcompat.h
  13817. * src/SocketCore.cc: Removed include of a2io.h
  13818. * src/Util.cc: Removed include of a2io.h
  13819. Gather time related functions to a2time.h:
  13820. * src/a2time.h: New file.
  13821. * src/DefaultPeerStorage.cc
  13822. * src/SimpleLogger.cc
  13823. * src/Util.{h, cc}
  13824. * src/SimpleRandomizer.h
  13825. * src/TimeA2.{h,cc}
  13826. * src/DownloadCommand.cc
  13827. * src/main.cc
  13828. Removed #ifdef __MINGW32__ since gai_strerror is included in
  13829. a2netcompat.h:
  13830. * src/NameResolver.cc
  13831. Fixed compilation error without openssl:
  13832. * src/SocketCore.{h,cc}: Moved include of openssl/err.h to SocketCore.h
  13833. Added default block to suppress compiler warnings:
  13834. * src/MetalinkRequestInfo.cc (AccumulateNonP2PUrl::operator())
  13835. 2007-07-26 Ross Smith II <aria2spam at smithii dot com>
  13836. MinGW build enhancements. The following files are added:
  13837. * src/gai_strerror.{c,h}
  13838. * src/gettimeofday.{c,h}
  13839. Changes to support the above new files:
  13840. * configure.ac
  13841. * src/Makefile.am
  13842. * src/a2netcompat.h
  13843. * src/TimeA2.cc
  13844. * src/DefaultPeerStorage.cc
  13845. * src/NameResolver.cc: removed mingw_strerror() function.
  13846. * src/SocketCore.cc: removed mingw_strerror() function.
  13847. Miscellaneous MinGW build fixes.
  13848. * src/a2io.h: Use _lseeki64() instead of lseek()
  13849. * src/common.h
  13850. * src/DefaultFileAllocator.cc
  13851. * src/GlowFileAllocator.cc
  13852. * src/main.cc: Moved #include "prefs.h" to quiet compile error.
  13853. * src/NameResolver.cc
  13854. (callback): Changed int32_t to int.
  13855. (resolve): Changed int32_t to int.
  13856. * src/Platform.cc
  13857. * src/Platform.h
  13858. * test/MultiDiskWriterTest.cc
  13859. * test/PeerMessageUtilTest.cc
  13860. * src/localtime_r.c: Add DeleteCriticalSection() and at exit().
  13861. Other enhancements and fixes.
  13862. * src/HttpRequestCommand.cc
  13863. (executeInternal) Use non-blocking socket for HTTPS (MinGW only).
  13864. * src/SocketCore.cc:
  13865. (error): New function to abstract errno/WSAGetLastError().
  13866. (errorMsg): New function to abstract errno/WSAGetLastError().
  13867. (initiateSecureConnection): Added more detailed error reporting.
  13868. * src/SocketCore.h: Added private variable blocking, to allow
  13869. proper handling of OpenSSL psuedo-errors.
  13870. * src/message.h
  13871. (EX_SSL_INIT_FAILURE)
  13872. (EX_SSL_IO_ERROR)
  13873. (EX_SSL_PROTOCOL_ERROR)
  13874. (EX_SSL_UNKNOWN_ERROR)
  13875. (EX_SSL_CONNECT_ERROR)
  13876. (EX_SOCKET_BLOCKING)
  13877. (EX_SOCKET_NONBLOCKING)
  13878. (EX_SOCKET_UNKNOWN_ERROR)
  13879. * src/Util.cc
  13880. (setGlobalSignalHandler): Renamed signal to sig as signal is a
  13881. reserved name.
  13882. (httpGMT): Fixed typo.
  13883. 2007-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13884. Merged Ross's win32 patch(manually)
  13885. In the course of merging, following files are added.
  13886. * src/strptime.{h,c}
  13887. * src/libgen.{h,c}
  13888. * src/inet_aton.{h,c}
  13889. * src/Platform.{h,cc}
  13890. * src/localtime_r.{h,c}
  13891. * src/getaddrinfo.{h,c}
  13892. I've gethered network related things, and put them to following file:
  13893. * src/a2netcompat.h
  13894. Also io related things are put to following file:
  13895. * src/a2io.h
  13896. Changed %lld to %s because mingw32 doesn't recognize %lld.
  13897. * src/message.h
  13898. (MSG_ALLOCATION_COMPLETED)
  13899. (EX_TOO_LARGE_FILE)
  13900. (EX_SIZE_MISMATCH)
  13901. (EX_FILE_OFFSET_OUT_OF_RANGE)
  13902. (EX_INVALID_CHUNK_CHECKSUM)
  13903. (EX_INVALID_RANGE_HEADER)
  13904. * src/FileAllocationCommand.cc
  13905. * src/HttpResponse.cc
  13906. * src/RequestGroup.cc
  13907. * src/MultiDiskAdaptor.cc
  13908. * src/OptionHandlerImpl.h
  13909. * src/HttpResponseCommand.cc
  13910. * src/FtpNegotiateCommand.cc
  13911. * src/IteratableChecksumValidator.cc
  13912. * src/SegmentMan.cc
  13913. * src/ChunkChecksumValidator.cc
  13914. Added Randomizer::getRandomNumber(long int)
  13915. * src/Randomizer.h (getRandomNumber)
  13916. * src/SimpleRandomizer.h (getRandomNumber)
  13917. * src/BitfieldMan.cc (getMissingIndexRandomly): Use this new function.
  13918. * src/Util.cc (randomAlpha): Use this new function.
  13919. 2007-07-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13920. Converted int's to in32_t. long long int's are also converted to
  13921. int64_t
  13922. 2007-07-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13923. Fixed the bug that prevents cookies from being sent to the server
  13924. if the domain of cookie is FQDN and starts with ".".
  13925. * src/Cookie.cc (match)
  13926. To add the ability to change peer id.
  13927. * src/DefaultBtContext.h
  13928. (_peerIdPrefix): New variable
  13929. (setPeerIdPrefix): New function.
  13930. * src/torrentRequestInfo.cc
  13931. (execute): Set the option value of PREF_PEER_ID_PREFIX to
  13932. DefaultBtContext.
  13933. * src/main.cc (main): Added peer-id-prefix command-line option.
  13934. The usage message is not added yet.
  13935. * src/DefaultBtContext.cc
  13936. (generatePeerId): Use _peerIdPrefix.
  13937. * src/prefs.h (PREF_PEER_ID_PREFIX): New definition.
  13938. 2007-07-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13939. Fixed the bug that prevents filename in content-disposition from
  13940. being retrieved when filename is not quoted.
  13941. * src/Util.cc (getContentDispositionFilename)
  13942. Fixed the bug that causes infinate loop and memory leak when file open
  13943. operation failed.
  13944. * src/HttpResponseCommand.cc (handleDefaultEncoding)
  13945. 2007-07-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13946. Fixed the bug that causes segfault when all URIs specified are
  13947. unsupported.
  13948. * src/RequestGroupMan.cc (getInitialCommands)
  13949. Check if RequestGroup::createNextCommand() returns empty list of
  13950. commands.
  13951. * src/RequestGroup.cc (createNextCommand)
  13952. Change log level from info to error so that users can notice that
  13953. an error occurred.
  13954. Fixed the bug that causes segfault when a zero-sized file is
  13955. downloaded.
  13956. * src/BitfieldMan.cc (isAllBitSet)
  13957. Return true if bitfieldLength is 0.
  13958. 2007-07-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13959. * src/main.cc
  13960. (showUsage): Added 3 usage examples for metalink download.
  13961. Replace MetalinkChunkChecksum with ChunkChecksum.
  13962. * src/MetalinkChunkChecksum.h: Removed.
  13963. * src/MetalinkEntry.h: MetalinkChunkChecksum -> ChunkChecksum.
  13964. * src/Xml2MetalinkProcessor.h: MetalinkChunkChecksum -> ChunkChecksum.
  13965. * src/Xml2MetalinkProcessor.cc
  13966. (getPieceHash): Use ChunkChecksum instead of MetalinkChunkChecksum.
  13967. * src/MetalinkRequestInfo.cc (execute)
  13968. * Release 0.11.1
  13969. 2007-07-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13970. Reads URIs from stdin when "-i -" is specified.
  13971. * src/UriFileListParser.h, src/UriFileListParser.cc: Removed.
  13972. * src/UriListParser.h, src/UriListParser.cc: New class.
  13973. * src/StreamUriListParser.h: New class.
  13974. * src/FileUriListParser.h: New class.
  13975. * src/main.cc (main): Use StreamUriListParser and FileUriListParser
  13976. instead of UriFileListParser.
  13977. 2007-07-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13978. Made console readout more readable.
  13979. * src/ConsoleDownloadEngine.cc (sendStatistics)
  13980. 2007-07-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13981. Fix the bug that causes -s option not to work.
  13982. * src/main.cc (main)
  13983. * src/a2algo.h: New file.
  13984. 2007-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13985. Create directory structure specified in metalink file.
  13986. * src/RequestGroup.h, src/RequestGroup.cc
  13987. (initAndOpenFile): Create a directory to store files if it does not
  13988. exist.
  13989. (getDir): New function.
  13990. Added ETA and download speed for an individual file to readout.
  13991. * src/ConsoleDownloadEngine.cc (sendStatistics)
  13992. * src/RequestGroup.h
  13993. (calculateDownloadSpeed): New function.
  13994. 2007-06-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13995. Made -S option work with metalink file and provided selective download
  13996. to metalink.
  13997. * src/MetalinkEntry.h, src/MetalinkEntry.cc
  13998. (filename): Removed.
  13999. (file): New variable.
  14000. (size): Removed.
  14001. (operator=): Updated.
  14002. (getPath): New function.
  14003. (getLength): New function.
  14004. (toFileEntry): New function.
  14005. * src/TorrentRequestInfo.h, src/TorrentRequestInfo.cc
  14006. (execute): Use toStream.
  14007. (showFileEntry): Removed.
  14008. * src/MetalinkRequestInfo.h
  14009. (targetFiles): New variable.
  14010. (setTargetFiles): New variable.
  14011. * src/MetalinkRequestInfo.cc
  14012. (execute): Added the ability to print file information included in
  14013. a metalink file.
  14014. Added selective download mode to metalink.
  14015. * src/main.cc
  14016. (showUsage): Updated to denote that -S and --select-file options are
  14017. applicable to metalink.
  14018. * src/FileEntry.h
  14019. (operator=): New function.
  14020. (getBasename): New function.
  14021. (getDirname): New function.
  14022. * src/Util.h, src/Util.cc
  14023. (toStream): New function.
  14024. * src/Xml2MetalinkProcessor.cc: Updated.
  14025. Made aria2 work with metalink with directory structure.
  14026. * src/File.h, src/File.cc
  14027. (getBasename): New function.
  14028. (getDirname): New function.
  14029. * src/RequestGroup.h, src/RequestGroup.cc
  14030. (_topDir): New variable.
  14031. (setTopDir): New function.
  14032. (initSegmentMan): A directory structure is added to _segmentMan->dir.
  14033. Rewrote HTTP header parsing with stringstream.
  14034. * src/HttpConnection.h, src/HttpConnection.cc
  14035. (HttpRequestEntry): New class.
  14036. (headerBuf): Removed.
  14037. (headerBufLength): Removed.
  14038. (outstandingHttpRequests): Now its element type is
  14039. HttpRequestEntryHandle.
  14040. (findEndOfHeader): Removed.
  14041. (receiveResponse): Rewritten.
  14042. * src/HttpHeaderProcessor.h, src/HttpHeaderProcessor.cc: New class.
  14043. Updated doc for -j option to notice that it should be used with -i
  14044. option.
  14045. * src/main.cc (showUsage)
  14046. Removed unused classes.
  14047. * src/RequestInfo.h
  14048. (FileInfo): Removed.
  14049. (checksum): Removed.
  14050. (fileInfo): Removed.
  14051. (setChecksum): Removed.
  14052. (getChecksum): Removed.
  14053. (getFileInfo): Removed.
  14054. Use ISO units.
  14055. * src/ConsoleDownloadEngine.cc
  14056. * src/TorrentConsoleDownloadEngine.cc
  14057. * src/Util.cc (abbrevSize)
  14058. 2007-06-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14059. Added the default listening ports to the help message.
  14060. * src/main.cc (showUsage)
  14061. 2007-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14062. Reduce the number of calls to gettimeofday to lower CPU load.
  14063. * src/TimeA2.h, src/TimeA2.cc (differenceInMillis): New function.
  14064. * src/SpeedCalc.h, src/SpeedCalc.cc (calculateSpeed): New function.
  14065. * src/Peer.h (calculateUploadSpeed): New function.
  14066. (calculateDownloadSpeed): New function.
  14067. * src/DefaultPeerStorage.cc
  14068. (CalculateStat): Added _now variable.
  14069. In operator(), call Peer::calculateDownloadSpeed(const struct timeval&)
  14070. and Peer::calculateUploadSpeed(const struct timeval&)
  14071. Drop connection if no request or piece message is exchanged in
  14072. a certain interval.
  14073. * src/DefaultBtInteractive.h
  14074. (btRuntime): New variable.
  14075. (inactiveCheckPoint): New variable.
  14076. (checkActiveInteraction): New function.
  14077. * src/DefaultBtInteractive.cc (receiveMessages): Reset timer when
  14078. request or piece message is received.
  14079. (checkActiveInteraction): New function.
  14080. (doInteractionProcessing): Call checkActiveInteraction.
  14081. Fixed the bug that causes remote Metalink and Torrent files are not
  14082. processed.
  14083. * src/MultiUrlRequestInfo.cc (createNextRequestInfo): Fixed the bug.
  14084. 2007-06-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14085. Changed format of log file.
  14086. * src/SimpleLogger.cc
  14087. * Release 0.11.0
  14088. 2007-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14089. * src/AbstractCommand.cc
  14090. (execute): Changed log level of MSG_RESTARTING_DOWNLOAD and
  14091. MSG_MAX_TRY from error to info.
  14092. Added MSG_DOWNLOAD_ABORTED after MSG_MAX_TRY.
  14093. * src/message.h
  14094. (MSG_TORRENT_DOWNLOAD_ABORTED): New definition.
  14095. (MSG_DOWNLOAD_ABORTED): Added %s.
  14096. (MSG_RESTARTING_DOWNLOAD): Added %s.
  14097. (MSG_DOWNLOAD_ALREADY_COMPLETED): Updated.
  14098. * src/PeerAbstractCommand.cc
  14099. (execute): MSG_DOWNLOAD_ABORTED -> MSG_TORRENT_DOWNLOAD_ABORTED
  14100. * src/Request.h
  14101. (cookieBox): Made ShardHandle.
  14102. * src/RequestGroup.h, src/RequestGroup.cc
  14103. (createNextCommandWithAdj): New function.
  14104. * src/FileAllocationCommand.cc
  14105. (executeInternal): Use createNextCommandWithAdj().
  14106. * src/CheckIntegrityCommand.cc
  14107. (executeInternal): Use createNextCommandWithAdj().
  14108. Added --load-cookies command-option.
  14109. * src/OptionHandlerFactory.cc
  14110. (createOptionHandlers): Added PREF_LOAD_COOKIES.
  14111. * src/CookieBox.h, src/CookieBox.cc: Rwritten using CookieParser.
  14112. Now aria2 can handle cookie's expiration date.
  14113. * src/Cookie.h (expires): Changed its type to time_t.
  14114. * src/main.cc: Added --load-cookies command-line option.
  14115. * src/prefs.h (PREF_LOAD_COOKIES): New definition.
  14116. * src/Util.h, src/Util.cc (httpGMT): New function.
  14117. * src/Request.cc (Request): Initialize cookieBox using
  14118. CookieBoxFactory.
  14119. * src/CookieBoxFactory.h, src/CookieBoxFactory.cc: New class.
  14120. * src/CookieParser.h, src/CookieParser.cc: New class.
  14121. * src/main.cc: Chagned the default value of --metalink-servers to 5.
  14122. * src/HttpResponseCommand.cc
  14123. (handleOtherEncoding): Call RequestGroup::shouldCancelDownloadForSafety
  14124. * src/MetalinkRequestInfo.cc: Now -s option is ignored in Metalink
  14125. download.
  14126. 2007-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14127. Added -j command-line option.
  14128. * src/OptionHandlerFactory.cc (createOptionHandlers)
  14129. * src/main.cc
  14130. * src/ByteArrayDiskWriter.h, src/ByteArrayDiskWriter.cc
  14131. Rewritten using stringstream.
  14132. * src/TrackerUpdateCommand.h, src/TrackerUpdateCommand.cc
  14133. Rewritten using stringstream.
  14134. 2007-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14135. Make download size shown in MB, KB.
  14136. * src/ConsoleDownloadEngine.h (sendStatistics)
  14137. * src/Util.h, srcUtil.cc (abbrevSize): New function.
  14138. 2007-06-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14139. Accept incoming connections if download rate is low.
  14140. * src/PeerListenCommand.h, src/PeerListenCommand.cc:
  14141. (_lowestSpeedLimit): New variable.
  14142. (setLowestSpeedLimit): New function.
  14143. (execute): Accept incoming connections if download rate is low.
  14144. MAX_PEERS is ignored in this case.
  14145. Disable PREF_OUT in multiple concurrent download:
  14146. * src/RequestGroup.h, src/RequestGroup.cc
  14147. (setUserDefinedFilename): New function.
  14148. * src/DownloadEngineFactory.cc
  14149. (newConsoleEngine): Do not set PREF_OUT to requestGroup in multiple
  14150. concurrent download.
  14151. * src/DefaultSegmentManFactory.cc
  14152. (createNewInstance): Comment out the line: segmentMan->ufilename = ...
  14153. 2007-06-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14154. RequestGroup::getNextCommand() was renamed to createNextCommand().
  14155. Added its overloaded method.
  14156. * src/RequestGroup.h
  14157. (_numConcurrentCommand): New variable.
  14158. (setNumConcurrentCommand): New function.
  14159. * src/RequestGroup.cc
  14160. Abort download if same file is being downloaded concurrently.
  14161. * src/RequestGroup.h, src/RequestGroupMan.cc
  14162. (isSameFileBeingDownloaded): New function.
  14163. * src/HttpResponseCommand.cc (executeInternal)
  14164. * src/FtpNegotiateCommand.cc (recvSize)
  14165. * src/message.h (EX_DUPLICATE_FILE_DOWNLOAD): New definition.
  14166. * main.cc: Added help message for -i option.
  14167. 2007-06-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14168. * src/FileAllocationCommand.cc: Derived from RealtimeCommand.
  14169. * src/CheckIntegrityCommand.cc: Derived from RealtimeCommand.
  14170. * src/MetalinkEntry.h
  14171. (checksum): Changed to ChecksumHandle
  14172. * src/MetalinkRequestInfo.cc
  14173. (checksum): Changed to ChecksumHandle
  14174. * src/File.cc
  14175. (mkdirs): OPEN_MODE -> DIR_OPEN_MODE
  14176. * src/common.h
  14177. (DIR_OPEN_MODE): New definition
  14178. * src/RequestGroup.cc
  14179. (prepareForNextAction): Added an argument.
  14180. * src/message.h
  14181. (MSG_GOOD_CHECKSUM): New definition
  14182. (MSG_BAD_CHECKSUM): New definition
  14183. * src/HttpResponseCommand.cc
  14184. (handleDefaultEncoding): Continue download sequence in new
  14185. non-segmented download.
  14186. * src/FileAllocationEntry.h
  14187. (_nextDownloadCommand): New variable.
  14188. * src/DownloadCommand.cc
  14189. (prepareForNextSegment): Create ChecksumCommand if checksum is
  14190. available.
  14191. * src/RealtimeCommand.h, src/RealtimeCommand.cc: New class.
  14192. * src/IteratableChecksumValidator.h,
  14193. src/IteratableChecksumValidator.cc: New class.
  14194. * src/ChecksumCommand.h, src/ChecksumCommand.cc: New class.
  14195. 2007-05-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14196. Change file mode to 666:
  14197. * src/common.h (OPEN_MODE): New definition.
  14198. * src/File.cc
  14199. * src/Util.cc
  14200. * src/Directry.cc
  14201. * src/AbstractDiskWriter.cc
  14202. Change the level of log message "download aborted" to debug:
  14203. * src/PeerAbstractCommand.cc (execute)
  14204. * src/RequestGroup.h (RequestGroup): Initialized _hintTotalLength to 0.
  14205. * src/TrackerWatcherCommand.cc
  14206. (createCommand): Sleep some seconds after request failed.
  14207. If tracker request fails more than value of PREF_TRACKER_MAX_TRIES,
  14208. then abort tracker request.
  14209. 2007-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14210. * Added the simultaneous download feature.
  14211. * src/main.cc: Print "Exception caught: " when exception is caught.
  14212. Use CUIDCounter instead of BtRuntime::getNewCuid():
  14213. * src/ActivePeerConnectionCommand.cc
  14214. * src/PeerInteractionCommand.cc
  14215. * src/BtRuntime.h
  14216. (cuidCounter): Removed.
  14217. (getNewCuid): Removed.
  14218. * src/DownloadEngineFactory.cc
  14219. * src/PeerListenCommand.cc
  14220. * src/TrackerUpdateCommand.cc
  14221. * src/PeerInitiateConnectionCommand.cc
  14222. 2007-04-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14223. * src/PeerAbstractCommand.cc
  14224. (onAbort): Call PeerStorage::returnPeer()
  14225. * src/DefaultPeerStorage.h, src/DefaultPeerStorage.cc
  14226. (incomingPeers): New variable.
  14227. (addIncomingPeer): New function.
  14228. (returnPeer): New function.
  14229. (onErasingPeer): New function.
  14230. (addPeer): push_back -> push_front
  14231. (getActivePeers): Rewritten.
  14232. (calculateStat): Rewritten.
  14233. * src/PeerStorage.h
  14234. (TransferStat::copy): New function.
  14235. (TransferStat::TransferStat): New function.
  14236. (TransferStat::operator=): New function.
  14237. (addIncomingPeer): New function.
  14238. (returnPeer): New function.
  14239. * src/PeerListenCommand.cc
  14240. (execute): Use PeerStorage::addIncomingPeer() instead of
  14241. Peer::addPeer().
  14242. 2007-04-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14243. Connect to a peer actively when download speed is lower than specified
  14244. speed in torrent download:
  14245. * src/ActivePeerConnectionCommand.h: New class.
  14246. 2007-03-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14247. * src/HttpRequest.cc (createRequest): url-encode user-agent
  14248. * src/main.cc: Fixed the bug that prevents download if .netrc
  14249. doesn't exist.
  14250. 2007-03-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14251. To cache resolved hostname:
  14252. * src/AbstractCommand.h, src/AbstractCommand.cc
  14253. (resolveHostname): Put outside #ifdef ENABLE_ASYNC_DNS clause.
  14254. Added dns cache.
  14255. * src/FtpInitiateConnectionCommand.cc
  14256. (executeInternal): Removed #ifdef ENABLE_ASYNC_DNS.
  14257. * src/NameResolver.h, src/NameResolver.cc: Added synchronized
  14258. NameResolver working without ares.
  14259. * src/TorrentRequestInfo.cc
  14260. (execute): Don't cache dns in torrent download.
  14261. * src/HttpInitiateConnectionCommand.cc
  14262. (executeInternal): Removed #ifdef ENABLE_ASYNC_DNS
  14263. * src/DNSCache.h: New class.
  14264. * src/UrlRequestInfo.cc
  14265. (execute): Use dns cache.
  14266. In http request, suppress port number in http request header if port
  14267. is 80 or 443:
  14268. * src/HttpRequest.cc (getHostText): Suppress port number in http
  14269. request header if port is 80 or 443.
  14270. (createProxyRequest): Allways send port number.
  14271. 2007-03-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14272. To add the command-line option which disables netrc support:
  14273. * src/OptionHandlerFactory.cc
  14274. (createOptionHandlers): Added PREF_NO_NETRC.
  14275. * src/main.cc: Added -n option.
  14276. * src/prefs.h (PREF_NO_NETRC): New definition.
  14277. * src/RequestFactory.cc: Do not use netrc in ftp if PREF_NO_NETRC is
  14278. V_TRUE.
  14279. Note that netrc is not used in http, http proxy even if PREF_NO_NETRC
  14280. is V_FALSE. This may get configurable in the future release.
  14281. To clear peer's error status by time basis:
  14282. * src/PeerAbstractCommand.cc
  14283. (onAbort): Call Peer::startBadCondition().
  14284. * src/Peer.h, src/Peer.cc
  14285. (error): Removed.
  14286. (_badConditionStartTime): New variable.
  14287. (_badConditionInterval): New variable. Initialized to 10 seconds.
  14288. (startBadCondition): New function.
  14289. (isGood): New function.
  14290. * src/DefaultPeerStorage.cc
  14291. (addPeer): Use Peer::isGood().
  14292. (FindFinePeer): Use Peer::isGood().
  14293. Always include port number in http request header:
  14294. * src/HttpRequest.cc (getHostText): Always include port number in
  14295. http request header.
  14296. 2007-03-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14297. To the ability to read options from a config file:
  14298. * src/main.cc: Command-line parameter validation is delegated to
  14299. OptionHandler class.
  14300. * src/OptionHandlerFactory.h, src/OptionHandlerFactory.cc: New class.
  14301. * src/Option.h, src/Option.cc (clear): New function.
  14302. * src/OptionParser.h, src/OptionParser.cc: New class.
  14303. * src/OptionHandler.h: New class.
  14304. * src/NameMatchOptionHandler.h: New class.
  14305. * src/OptionHandlerImpl.h: New classes.
  14306. * src/prefs.h: '_' -> '-'
  14307. (FTP_PASV_ENABLED): Renamed to FTP_PASV.
  14308. (FTP_PASV): New definition.
  14309. * src/Util.h, src/Util.cc (getRealSize): New function.
  14310. To disable netrc support if .netrc file does not have correct
  14311. permissions:
  14312. * src/File.h, src/File.cc (mode): New function.
  14313. To prevent confidential information to be logged:
  14314. * src/HttpConnection.h, src/HttpConnection.cc
  14315. (eraseConfidentialInfo): New function.
  14316. (sendRequest): Call eraseConfidentialInfo().
  14317. (sendProxyRequest): Call eraseConfidentialInfo().
  14318. * src/main.cc: Validate permissions of .netrc file.
  14319. To add --user-agent command-line option:
  14320. * src/main.cc: Added new command line option: --user-agent
  14321. * src/prefs.h (PREF_USER_AGENT): New definition.
  14322. * src/HttpRequestCommand.cc (executeInternal): Set user-agent option
  14323. parameter to HttpRequest object.
  14324. * src/AbstractProxyRequestCommand.cc
  14325. (executeInternal): Set user-agent option parameter to HttpRequest
  14326. object.
  14327. Marged the patches from Dan Fandrich.
  14328. 2007-03-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14329. Use filename and size from Metalink file instead of sending HEAD
  14330. request:
  14331. * src/UrlRequestInfo.h
  14332. (_filename): New variable.
  14333. (_totalLength): New variable.
  14334. (setTotalLength): New variable.
  14335. (setFilename): New variable.
  14336. * src/MetalinkRequestInfo.cc
  14337. (execute): Set filename and size to UrlRequestInfo
  14338. * src/UrlRequestInfo.cc
  14339. (execute): Use filename and size from Metalink instead of seding
  14340. HEAD request to servers.
  14341. 2007-03-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14342. To add the ability to resume downloading a partially downloaded file
  14343. which is downloaded from the beginning:
  14344. * src/FileAllocator.h: Made abstract class. New DefaultFileAllocator
  14345. takes this role.
  14346. * src/main.cc: Added -c option.
  14347. * src/BitfieldMan.h, src/BitfieldMan.cc (setBitRange): New function.
  14348. * src/DiskWriter.h (openExistingFile): Added totalLength argument.
  14349. * src/prefs.h (PREF_CONTINUE): New definition.
  14350. * src/SegmentMan.h, src/SegmentMan.cc (markPieceDone): New function.
  14351. * src/DefaultDiskWriter.cc
  14352. (createNewDiskWriter): Add GlowFileAllocator to the new object.
  14353. * src/AbstractDiskWriter.h
  14354. (glowFileAllocator): New variable.
  14355. * src/AbstractDiskWriter.cc
  14356. (openExistingFile): Now preallocate file space from the end of the
  14357. existing file if totalLength argument is specified and grater than 0.
  14358. * src/UrlRequestInfo.cc: If -c option is specified and the file
  14359. to download exists in local, continue the download of the file.
  14360. --allow-overwrite=true is assumed in this context.
  14361. * src/DefaultFileAllocator.h, src/DefaultFileAllocator.cc: New class.
  14362. * src/GlowFileAllocator.h, src/GlowFileAllocator.cc: New class.
  14363. Throw exception if --check-integrity=true is specified but chunk
  14364. checksums are not provided:
  14365. * src/UrlRequestInfo.cc
  14366. Do not print URLs to stdout:
  14367. * src/UrlRequestInfo.cc
  14368. 2007-03-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14369. * src/Request.h: Use AuthResolver to get authentication information.
  14370. * src/main.cc: Made RequestFactory a singleton object. Netrc is now
  14371. set to RequestFactory object.
  14372. * src/AuthConfigItem.h, src/AuthConfigItem.cc: Removed.
  14373. * src/AuthConfig.h, src/AuthConfig.cc: Rewritten.
  14374. * src/TrackerWatcherComand.cc: Use RequestFactorySingletonHolder to
  14375. create Request object.
  14376. 2007-03-19 Tatsuhiro Tsujikawa <tujikawa at valkyrie dot rednoah com>
  14377. To integrate Netrc into exsiting classes:
  14378. * src/Request.h
  14379. (_userDefinedAuthConfig): New variable.
  14380. (findNetrcAuthenticator): New function.
  14381. (segment): Removed.
  14382. (setUserDefinedAuthConfig): New function.
  14383. (resolveHttpAuthConfigItem): New function.
  14384. (resolveFtpAuthConfigItem): New function.
  14385. (resolveHttpProxyAuthConfigItem): New function.
  14386. * src/HttpRequest.h
  14387. (authConfig): Removed.
  14388. (proxyAuthConfig): Removed.
  14389. (setAuthConfig): Removed.
  14390. (setProxyAuthConfig): Removed.
  14391. * src/UrlRequest.h
  14392. (getHeadResult): Added a parameter: authConfigHandle
  14393. * src/common.h
  14394. (SingletonHolder.h): New include.
  14395. * src/main.cc
  14396. (Netrc.h): New include.
  14397. (main): Removed initial values of PREF_FTP_USER, PREF_FTP_PASSWD.
  14398. Added initial value of PREF_NETRC_PATH.
  14399. Added the initialization of netrc.
  14400. * src/AuthConfig.h: New class.
  14401. * src/prefs.h
  14402. (PREF_NETRC_PATH): New definition.
  14403. * src/HttpAuthConfig.h: Removed.
  14404. * src/Netrc.cc
  14405. (getRequiredNextToken): New function.
  14406. (skipMacdef): New function.
  14407. (parse): Rewritten.
  14408. * src/Netrc.h
  14409. (getRequiredNextToken): New function.
  14410. (skipMacdef): New function.
  14411. * src/Util.h, src/Util.cc
  14412. (getHomeDir): New function.
  14413. * src/TrackerWatcherComand.cc
  14414. (createRequestCommand): Use AuthConfig.
  14415. * src/FtpConnection.cc
  14416. (sendUser): Use Request::resolveFtpAuthConfigItem().
  14417. (sendPass): Use Request::resolveFtpAuthConfigItem().
  14418. * src/Request.cc
  14419. (findNetrcAuthenticator): New function.
  14420. (resolveHttpAuthConfigItem): New function.
  14421. (resolveFtpAuthConfigItem): New function.
  14422. (resolveHttpProxyAuthConfigItem): New function.
  14423. * src/UrlRequestInfo.cc: Use AuthConfig.
  14424. * src/HttpRequest.cc
  14425. (createRequest): Use authConfig.
  14426. (getProxyAuthString): Use authConfig.
  14427. (configure): Removed PREF_HTTP_USER, PREF_HTTP_PASSWD,
  14428. PREF_HTTP_PROXY_USER, PREF_HTTP_PROXY_PASSWD.
  14429. 2007-03-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14430. To reduce overhead to find commands whose socket is either
  14431. readable or writable in the download engine loop:
  14432. * src/Command.h, src/Command.cc
  14433. (STATUS): New enum.
  14434. (status): New variable.
  14435. (statusMatch): New function.
  14436. (setStatusActive): New function.
  14437. (setStatusInactive): New function.
  14438. * src/DownloadEngine.h, src/DownloadEngine.cc
  14439. (executeCommand): New function.
  14440. (run): Simplified.
  14441. (waitData): Call Command::setStatusActive() when command's socket is
  14442. readable or writable.
  14443. 2007-03-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14444. To handle Segment as SegmentHandle:
  14445. * src/AbstractCommand.cc (execute): Rewritten.
  14446. * src/SegmentMan.h: Segment -> SegmentHandle
  14447. Introducded HttpResponse class, HttpRequest class to improve code
  14448. extensiveness and make it clear:
  14449. * src/HttpDownloadCommand.cc: transfer encoders are now managed by
  14450. HttpResponse class.
  14451. * src/HttpRequest.h, src/HttpRequest.cc: New class.
  14452. * src/HttpResponse.h, src/HttpResponse.cc: New class.
  14453. * src/HttpConnection.cc: Contruction of http request were moved to
  14454. HttpRequest class.
  14455. * src/HttpResponseCommand.h, src/HttpResponseCommand.cc: Refactored.
  14456. * src/HttpRequestCommand.cc (executeInternal): Rewritten.
  14457. * src/HttpAuthConfig.h: New class.
  14458. * src/Range.h: New class.
  14459. To make FtpTunnel{Request, Response}Command and
  14460. HttpProxy{Request, Response}Command derived from
  14461. AbstractProxy{Request, Response}Command:
  14462. * src/FtpTunnelResponseCommand.h, src/FtpTunnelResponseCommand.cc:
  14463. Derived from AbstractProxyRequestCommand class.
  14464. * src/FtpTunnelRequestCommand.h, src/FtpTunnelRequestCommand.cc:
  14465. Derived from AbstractProxyResponseCommand class.
  14466. * src/HttpProxyRequestCommand.h, src/HttpProxyRequestCommand.cc:
  14467. Derived from AbstractProxyRequestCommand class.
  14468. * src/HttpProxyResponseCommand.h, src/HttpProxyResponseCommand.cc:
  14469. Derived from AbstractProxyResponseCommand class.
  14470. * src/AbstractProxyRequestCommand.h, src/AbstractProxyRequestCommand.cc
  14471. : New class.
  14472. * src/AbstractProxyResponseCommand.h,
  14473. src/AbstractProxyResponseCommand.cc: New class.
  14474. To add netrc support:
  14475. * src/Netrc.h, src/Netrc.cc: New class.
  14476. * src/Util.h, src/Util.cc (split): New function.
  14477. * src/HttpHeader.cc (getRange): Fixed so that it inspects
  14478. "Content-Range" header instead of "Range" header.
  14479. * src/HttpHeader.h
  14480. (getStatus): Removed.
  14481. (setStatus): Removed.
  14482. * src/Segment.h
  14483. (getPositionToWrite): New function.
  14484. 2007-03-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14485. * src/HttpHeader.h
  14486. (Range.h): New include.
  14487. (status): New variable.
  14488. (HttpHeader): Initialized status with 0.
  14489. (getStatus): New function.
  14490. (setStatus): New function.
  14491. (getRange): New function.
  14492. (HttpHeaderHandle): New function.
  14493. * src/HttpHeader.cc
  14494. (getRange): New function.
  14495. * src/Request.h
  14496. (RequestWeakHandle): New definition.
  14497. * src/HttpConnection.h
  14498. (HttpConnectionHandle): New type definition.
  14499. * src/HttpConnection.cc
  14500. (receiveResponse): Set HTTP status to headers.
  14501. * src/main.cc
  14502. (showUsage): Fixed typo.
  14503. * src/Segment.h
  14504. (SegmentHandle): New type definition.
  14505. * src/BitfieldMan.h
  14506. (getMissingUnusedLength): New function.
  14507. * src/BitfieldMan.cc
  14508. (getMissingUnusedLength): New function.
  14509. 2007-02-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14510. To fix static initialization order problem:
  14511. * src/BitfieldManFactory.h
  14512. (defaultRandomizer): Removed.
  14513. (factory): New variable.
  14514. (getNewFactory): Removed.
  14515. (getFactoryInstance): New function.
  14516. (setDefaultRandomizer): Rewritten.
  14517. (getDefaultRandomizer): Rewritten.
  14518. * src/BitfieldManFactory.cc
  14519. (defaultRandomizer): Removed.
  14520. (factory): Initialized to 0.
  14521. (BitfieldManFactory): Initialized randomizer to 0.
  14522. * src/DefaultPieceStorage.cc
  14523. (DefaultPieceStorage): getNewFactory() -> getFactoryInstance()
  14524. * src/Peer.cc
  14525. (Peer): getNewFactory() -> getFactoryInstance()
  14526. * src/SegmentMan.cc
  14527. (initBitfield): getNewFactory() -> getFactoryInstance()
  14528. * src/Piece.cc
  14529. (Piece): getNewFactory() -> getFactoryInstance()
  14530. 2007-02-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14531. To fix the bug that causes crash on Max OS X:
  14532. * src/SimpleRandomizer.h
  14533. (getInstance): Create new instance if the static variable is null.
  14534. * src/SimpleRandomizer.cc
  14535. (randomizer): Initialized to 0.
  14536. * src/BitfieldManFactory.h
  14537. (getNewFactory): Removed the call to setRandomizer().
  14538. To fix the miscalculation of the range of checksum:
  14539. * src/BitfieldMan.h
  14540. (isBitSetOffsetRange): New function.
  14541. * src/BitfieldMan.cc
  14542. (isBitSetOffsetRange): New function.
  14543. * src/SegmentMan.cc
  14544. (tryChunkChecksumValidation): Use BitfieldMan::isBitSetOffsetRange().
  14545. Use bitfield->getBlockLength() instead of segment.segmentLength.
  14546. * Release 0.10.1
  14547. 2007-02-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14548. To lower CPU usage in BitTorrent download when --max-upload-limit
  14549. command-line option specified:
  14550. * src/DefaultBtMessageDispatcher.cc
  14551. (sendMessages): Calculate uploading speed only when current message
  14552. is uploading data and is not sent yet.
  14553. * src/DefaultPeerStorage.h
  14554. (MAX_PEER_LIST_SIZE): 100 -> 60, because 60 is well enough.
  14555. * src/HttpResponseCommand.cc
  14556. (handleDefaultEncoding): Added the cast to int32_t to itos.
  14557. This fixes compile error in Soralis 10.
  14558. 2007-01-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14559. To fix segfault in Metalink download:
  14560. * src/UrlRequestInfo.h
  14561. (filename): Removed.
  14562. (totalLength): Removed.
  14563. (setTotalLength): Removed.
  14564. (setFilename): Removed.
  14565. * src/MetalinkRequestInfo.cc
  14566. (execute): Do not set filename and totalLength to reqInfo.
  14567. Set chunk checksum to reqInfo if it is not null.
  14568. * src/HttpResponseCommand.cc
  14569. (executeInternal): Fixed filename in log.
  14570. (handleDefaultEncoding): Removed the call to initBitfield() and
  14571. markAllPiecesDone().
  14572. (handleOtherEncoding): Added HEAD method handling.
  14573. * src/FtpNegotiateCommand.cc
  14574. (executeInternal): Added SEQ_HEAD_OK handling.
  14575. (recvSize): In HEAD handling, set sequence to SEQ_HEAD_OK and
  14576. return false.
  14577. * src/FtpNegotiateCommand.h
  14578. (SEQ_HEAD_OK): New definition.
  14579. * src/SegmentMan.cc
  14580. (initBitfield): Delete bitfield.
  14581. (isChunkChecksumValidationReady): Fixed the condition.
  14582. * src/UrlRequestInfo.cc: Fixed so that Metalink and Torrent download
  14583. works fine.
  14584. 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14585. * src/Xml2MetalinkProcessor.h
  14586. (xpathExists): New function.
  14587. * src/Xml2MetalinkProcessor.cc
  14588. (xpathExists): New function.
  14589. Not to send HEAD request if filename and size are available in Metalink
  14590. file:
  14591. * src/UrlRequestInfo.h
  14592. (filename): New variable.
  14593. (totalLength): New variable.
  14594. (setTotalLength): New function.
  14595. (setFilename): New function.
  14596. * src/MetalinkRequestInfo.cc
  14597. (execute): Set filename and size to UrlRequestInfo.
  14598. * src/MetalinkEntry.cc
  14599. (MetalinkEntry): Initialize size with 0.
  14600. * src/UrlRequestInfo.cc
  14601. (execute): Set filename and size to SegmentMan.
  14602. Not to download rest of the files after selected files are downloaded
  14603. in BitTorrent:
  14604. * src/PieceStorage.h
  14605. (allDownloadFinished): New function.
  14606. * src/DefaultBtAnnounce.cc
  14607. (isCompleteAnnounceReady): Use allDownloadFinished instead of
  14608. downloadFinished.
  14609. (getAnnounceUrl): Use allDownloadFinished instead of downloadFinished.
  14610. * src/DefaultPieceStorage.cc
  14611. (completePiece): Use allDownloadFinished instead of downloadFinished.
  14612. Commented out the call to finishSelectiveDownloadingMode().
  14613. (downloadFinished): Call isFilteredAllBitSet() instead of
  14614. isAllBitSet().
  14615. (allDownloadFinished): New function.
  14616. * src/DefaultBtInteractive.cc
  14617. (addBitfieldMessageToQueue): Call allDownloadFinished() instead of
  14618. downloadFinished().
  14619. (checkHave): Call allDownloadFinished() instead of downloadFinished().
  14620. * src/TorrentDownloadEngine.cc
  14621. (onEndOfRun): Call allDownloadFinished() instead of downloadFinished().
  14622. * src/BitfieldMan.h
  14623. (isFilteredAllBitSet): New function.
  14624. * src/ShareRatioSeedCriteria.h
  14625. (PieceStorage.h): New include.
  14626. (pieceStorage): New variable.
  14627. (evaluate):
  14628. btContext->getTotalLength() -> pieceStorage->getCompletedLength()
  14629. * src/BitfieldMan.cc
  14630. (isFilteredAllBitSet): New function.
  14631. (isAllBitSet): Filter is not took into account.
  14632. Rename --force-truncate as --allow-overwrite:
  14633. * src/TorrentRequestInfo.cc
  14634. (execute): PREF_FORCE_TRUNCATE -> PREF_ALLOW_OVERWRITE
  14635. * src/main.cc
  14636. (showUsage): --force-truncate -> --allow-overwrite
  14637. * src/message.h
  14638. (EX_FILE_ALREADY_EXISTS): --force-truncate -> --allow-overwrite
  14639. * src/prefs.h
  14640. (PREF_FORCE_TRUNCATE): Removed.
  14641. (PREF_ALLOW_OVERWRITE): New definition.
  14642. * src/SegmentMan.cc
  14643. (shouldCancelDownloadForSafety): --force-truncate -> --allow-overwrite
  14644. * src/MetalinkRequestInfo.cc
  14645. (execute): Queueing message are now logged in info level.
  14646. * src/common.h
  14647. (LONG_LONG_MAX): Removed.
  14648. (LONG_LONG_MIN): Removed.
  14649. * src/HttpResponseCommand.cc
  14650. (handleDefaultEncoding): LONG_LONG_MAX -> INT64_MAX
  14651. * src/FtpNegotiateCommand.cc
  14652. (recvSize): LONG_LONG_MAX -> INT64_MAX
  14653. * src/main.cc
  14654. (showUsage): Added --check-integriy and --realtime-chunk-checksum
  14655. command-line option.
  14656. (main): Added --check-integriy and --realtime-chunk-checksum
  14657. command-line option.
  14658. --force-truncate -> --allow-overwrite
  14659. Set initial value of --check-integrity option to false.
  14660. Don't show usage when error occurs while persing command-line options.
  14661. Removed deprecated --upload-limit option.
  14662. 2007-01-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14663. * src/message.h: Added EX_INVALID_PAYLOAD_SIZE and
  14664. EX_INVALID_BT_MESSAGE_ID. Following source files affected.
  14665. * src/BtAllowedFastMessage.cc:
  14666. * src/BtBitfieldMessage.cc
  14667. * src/BtCancelMessage.cc
  14668. * src/BtChokeMessage.cc
  14669. * src/BtHaveAllMessage.cc
  14670. * src/BtHaveMessage.cc
  14671. * src/BtHaveNoneMessage.cc
  14672. * src/BtInterestedMessage.cc
  14673. * src/BtNotInterestedMessage.cc
  14674. * src/BtPieceMessage.cc
  14675. * src/BtPortMessage.cc
  14676. * src/BtRejectMessage.cc
  14677. * src/BtRequestMessage.cc
  14678. * src/BtSuggestPieceMessage.cc
  14679. * src/BtUnchokeMessage.cc
  14680. * src/message.h: Added EX_INVALID_CHUNK_CHECKSUM. Following source
  14681. files are affected.
  14682. * src/ChunkChecksumValidator.cc
  14683. * src/SegmentMan.cc
  14684. 2007-01-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14685. To add chunk checksum validation:
  14686. * src/MetalinkEntry.h
  14687. (MetalinkChunkChecksum.h): New include.
  14688. (chunkChecksum): New variable.
  14689. * src/Request.h
  14690. (method): New variable.
  14691. (setMethod): New function.
  14692. (getMethod): New function.
  14693. (METHOD_GET): New static constant.
  14694. (METHOD_HEAD): New static constant.
  14695. * src/Xml2MetalinkProcessor.h
  14696. (getPieceHash): New function.
  14697. * src/PieceStorage.h
  14698. (markAllPiecesDone): New function.
  14699. (checkIntegrity): New function.
  14700. * src/FileAllocator.h
  14701. (NullFileAllocationMonitor.h): New include.
  14702. (FileAllocator): Initialize fileAllocationMonitor with new
  14703. NullFileAllocationMonitor().
  14704. * src/MultiDiskAdaptor.h
  14705. (messageDigest.h): Remove include.
  14706. (ctx): Removed.
  14707. (hashUpdate): Added ctx.
  14708. (MultiDiskAdaptor): Removed ctx.
  14709. (sha1Sum): Renamed as messageDigest.
  14710. (messageDigest): New function.
  14711. * src/UrlRequestInfo.h
  14712. (HeadResult): New class.
  14713. (digestAlgo): New variable.
  14714. (chunkChecksumLength): New variable.
  14715. (chunkChecksums): New variable.
  14716. (getHeadResult): New function.
  14717. (UrlRequestInfo): Added digestAlgo, chunkChecksumLength.
  14718. (setDigestAlgo): New function.
  14719. (setChunkChecksumLength): New function.
  14720. (setChunkChecksums): New function.
  14721. * src/DefaultPieceStorage.cc
  14722. (DiskAdaptorWriter.h): New include.
  14723. (ChunkChecksumValidator.h): New include.
  14724. (markAllPiecesDone): New function.
  14725. (checkIntegrity): New function.
  14726. * src/DefaultBtContext.h
  14727. (getPieceHashes): New function.
  14728. * src/TorrentRequestInfo.cc
  14729. (execute): Try to validate chunk checksum if file already exists and
  14730. .aria2 file doesn't there and user allows aria2 to overwrite it.
  14731. * src/messageDigest.h
  14732. (~MessageDigestContext): Added digestFree().
  14733. * src/MetalinkRequestInfo.cc
  14734. (execute): Set digestAlgo, chunkChecksum, chunkChecksums to reqInfo.
  14735. * src/DiskAdaptor.h
  14736. (messageDigest.h): New include.
  14737. (sha1Sum): Renamed as messageDigest.
  14738. (messageDigest): New function.
  14739. * src/DownloadCommand.h
  14740. (PeerStat.h): New include.
  14741. (maxDownloadSpeedLimit): New variable.
  14742. (startupIdleTime): New variable.
  14743. (lowestDownloadSpeedLimit): New variable.
  14744. (peerStat): New variable.
  14745. (setMaxDownloadSpeedLimit): New function.
  14746. (setStartupIdleTime): New function.
  14747. (setLowestDownloadSPeedLimit): New function.
  14748. * src/BtContext.h
  14749. (getPieceHashes): New function.
  14750. * src/main.cc
  14751. (main): Set PREF_REALTIME_CHUNK_CHECKSUM and PREF_CHECK_INTEGRITY
  14752. option to true for testing purpose.
  14753. * src/BtPieceMessage.cc
  14754. (checkPieceHash): Use messageDigest
  14755. * src/DownloadEngine.cc
  14756. (SetDescriptor): Removed.
  14757. (AccumulateActiveCommand): Removed.
  14758. (waitData): Rewritten.
  14759. (updateFdSet): Rewritten.
  14760. * src/MultiDiskAdaptor.cc
  14761. (hashUpdate): Added ctx.
  14762. (sha1Sum): Renamed as messageDigest.
  14763. (messageDigest): New function.
  14764. * src/BitfieldMan.h
  14765. (isBitRangeSet): New function.
  14766. (unsetBitRange): New function.
  14767. * src/ByteArrayDiskWriter.h
  14768. (sha1Sum): Renamed as messageDigest.
  14769. (messageDigest): New function.
  14770. * src/ConsoleDownloadEngine.cc
  14771. (calculateStatistics): If nspeed < 0 then set nspeed to 0.
  14772. * src/DiskWriter.h
  14773. (messageDigest.h): New include.
  14774. (sha1Sum): Renamed as messageDigest.
  14775. (messageDigest): New function.
  14776. * src/ChunkChecksumValidator.h: New class.
  14777. * src/DiskAdaptorWriter.h: New class.
  14778. * src/prefs.h
  14779. (PREF_REALTIME_CHUNK_CHECKSUM): New definition.
  14780. (PREF_CHECK_INTEGRITY): New definition.
  14781. * src/HttpResponseCommand.cc
  14782. (handleDefaultEncoding): Added method "HEAD" handling.
  14783. Removed the call to e->segmentMan->shouldCancelDownloadForSafety().
  14784. (handleOtherEncoding):
  14785. Added the call to e->segmentMan->shouldCancelDownloadForSafety().
  14786. (createHttpDownloadCommand): Set maxDownloadSpeedLimit,
  14787. startupIdleTime, lowestDownloadSpeedLimit to command.
  14788. * src/SegmentMan.h
  14789. (getSegmentEntryByIndex): New function.
  14790. (getSegmentEntryByCuid): New function.
  14791. (getSegmentEntryIteratorByCuid): New function.
  14792. (diskWriter): DiskWriter -> DiskWriterHandle
  14793. (pieceHashes): New variable.
  14794. (chunkHashLength): New variable.
  14795. (digestAlgo): New variable.
  14796. (FindPeerStat): Removed.
  14797. (getPeerStat): Rewritten.
  14798. (markAllPiecesDone): New function.
  14799. (checkIntegrity): New function.
  14800. (tryChunkChecksumValidation): New function.
  14801. (isChunkChecksumValidationReady): New function.
  14802. * src/BitfieldMan.cc
  14803. (BitfieldMan): Initialized bitfieldLength, blocks to 0.
  14804. (BitfieldMan): Initialized blockLength, totalLength, bitfieldLength,
  14805. blocks to 0.
  14806. (isBitRangeSet): New function.
  14807. (unsetBitRange): New function.
  14808. * src/FtpNegotiateCommand.cc
  14809. (executeInternal): Set maxDownloadSpeedLimit,
  14810. startupIdleTime, lowestDownloadSpeedLimit to command.
  14811. (recvSize): Added method "HEAD" handling.
  14812. Removed the call to e->segmentMan->shouldCancelDownloadForSafety().
  14813. * src/AbstractSingleDiskAdaptor.cc
  14814. (sha1Sum): Renamed as messageDigest.
  14815. (messageDigest): New function.
  14816. * src/AbstractSingleDiskAdaptor.h
  14817. (sha1Sum): Renamed as messageDigest.
  14818. (messageDigest): New function.
  14819. * src/Util.h
  14820. (indexRange): New function.
  14821. * src/MetalinkEntry.cc
  14822. (MetalinkEntry): Initialized chunkChecksum to 0.
  14823. * src/ShaVisitor.cc
  14824. (~ShaVisitor): Removed the call to ctx.digestFree().
  14825. * src/SegmentMan.cc
  14826. (ChunkChecksumValidator.h): New include.
  14827. (SegmentMan): Initialized chunkHashLength to 0. Initialized digestAlgo
  14828. to DIGEST_ALGO_SHA1.
  14829. (~SegmentMan): Removed diskWriter.
  14830. (FindSegmentEntryByIndex): Removed.
  14831. (FindSegmentEntryByCuid): Removed.
  14832. (checkoutSegment): Rewritten.
  14833. (findSlowerSegmentEntry): Rewritten.
  14834. (getSegment): Rewritten.
  14835. (updateSegment): Rewritten.
  14836. (completeSegment): Rewritten.
  14837. (markAllPiecesDone): New function.
  14838. (checkIntegrity): New function.
  14839. (isChunkChecksumValidationReady): New function.
  14840. (tryChunkChecksumValidation): New function.
  14841. * src/Xml2MetalinkProcessor.cc
  14842. (getEntry): Get size and set it to entry.
  14843. Get chunk checksum and set it to entry.
  14844. (getPieceHash): New function.
  14845. * src/Util.cc
  14846. (sha1Sum): Removed ctx.digestFree()
  14847. (fileChecksum): Removed ctx.digestFree()
  14848. (indexRange): New function.
  14849. * src/Request.cc
  14850. (METHOD_GET): New variable.
  14851. (METHOD_HEAD): New variable.
  14852. (Request): Added method.
  14853. * src/UrlRequestInfo.cc
  14854. (FatalException.h): New include.
  14855. (message.h): New include.
  14856. (operator<<): Added operator<< for class HeadResult.
  14857. (getHeadResult): New function.
  14858. (execute): Get filename and size in separate download engine.
  14859. * src/ChunkChecksumValidator.cc: New class.
  14860. * src/DownloadCommand.cc:
  14861. (DownloadCommand): Added peerStat.
  14862. (executeInternal): Use maxDownloadSpeedLimit member instead of getting
  14863. the value from Option.
  14864. The buffer size is now 16KB.
  14865. Use peerStat member instead of getting it from SegmentMan.
  14866. Use startupIdleTime member instead of gettingit from Option.
  14867. Added chunk checksum validation.
  14868. * src/AbstractDiskWriter.cc
  14869. (AbstractDiskWriter): Removed ctx.
  14870. (~AbstractDiskWriter): Removed ctx.digestFree()
  14871. (writeDataInternal): Returns the return value of write.
  14872. (readDataInternal): Returns the return value of read.
  14873. (sha1Sum): Renamed as messageDigest
  14874. (messageDigest): New function.
  14875. * src/AbstractDiwkWriter.h
  14876. (messageDigest.h): Removed include.
  14877. (ctx): Removed.
  14878. (sha1Sum): Renamed as messageDigest
  14879. (messageDigest): New function.
  14880. * src/DefaultPieceStorage.h
  14881. (markAllPiecesDone): New function.
  14882. (checkIntegrity): New function.
  14883. * src/NullFileAllocationMonitor.h: New class.
  14884. * src/MetalinkChunkChecksum.h: New class.
  14885. 2007-01-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14886. To decrease CPU usage in bittorrent download, calculation results in
  14887. BitfieldMan were cached and realtime fetching PeerObject was removed
  14888. with WeakHandle introduced. Option values are set to the objects
  14889. by setter before download begins.
  14890. * src/DefaultBtRequestFactory.cc: Use messageFactory member.
  14891. * src/DefaultBtRequestFactory.h
  14892. (dispatcher): BtMessageDispatcherHandle ->
  14893. BtMessageDispatcherWeakHandle.
  14894. (messageFactory): New variable.
  14895. (setBtMessageDispatcher): BtMessageDispatcherHandle ->
  14896. BtMessageDispatcherWeakHandle.
  14897. (setBtMessageFactory): New function.
  14898. * src/DefaultBtMessageDispatcher.cc:
  14899. (sendMessages): Use maxUploadSpeedLimit instead of fetching the value
  14900. from Option.
  14901. (checkRequestSlotAndDoNecessaryThing): Use requestTimeout instead of
  14902. feating the value from Option.
  14903. Use messageFactory member.
  14904. * src/PeerInteractionCommand.cc
  14905. (PeerInteractionCommand): Added maxDownloadSpeedLimit.
  14906. Add reverse dependencies to factory object.
  14907. Set maxUploadSpeedLimit and requestTimeout and messageFactory to
  14908. dispatcher.
  14909. Set messageFactory to receiver.
  14910. Set keepAliveInterval and maxDownloadSpeedLimit and messageFactory to
  14911. btInteractive.
  14912. Set receiver to peerObject.
  14913. Set maxDownloadSpeedLimit to this.
  14914. (executeInternal): Use maxDownloadSpeedLimit member.
  14915. * src/BtChokeMessage.cc
  14916. (doReceivedAction): Use dispatcher, requestFactory member.
  14917. (onSendComplete): Use dispatcher member.
  14918. * src/PeerInteractionCommand.h
  14919. (maxDownloadSpeedLimit): New variable.
  14920. * src/DefaultBtMessageReceiver.h
  14921. (peerConnection): PeerConnectionHandle -> PeerConnectionWeakHandle
  14922. (dispatcher):
  14923. BtMessageDispatcherHandle -> BtMessageDispatcherWeakHandle
  14924. (messageFactory): New variable.
  14925. (setPeerConnection): PeerConnectionHandle -> PeerConnectionWeakHandle
  14926. (getPeerConnection): PeerConnectionHandle -> PeerConnectionWeakHandle
  14927. (setDispatcher):
  14928. BtMessageDispatcherHandle -> BtMessageDispatcherWeakHandle
  14929. (setBtMessageFactory): New function.
  14930. * src/DefaultBtInteractive.cc
  14931. (initiateHandshake): Use messageFactory member.
  14932. (addBitfieldMessageToQueue): Use messageFactory member.
  14933. (addAllowedFastMessageToQueue): Use messageFactory member.
  14934. (decideChoking): Use messageFactory member.
  14935. (checkHave): Use messageFactory member.
  14936. (sendKeepAlive): Use keepAliveInterval, messageFactory member.
  14937. (receiveMessages): Use maxDownloadSpeedLimit member.
  14938. (decideInterest): Use messageFactory member.
  14939. * src/BtRequestMessage.cc
  14940. (doReceivedAction): Use messageFactory, dispatcher member.
  14941. (onQueued): Use dispatcher member.
  14942. * src/BtPieceMessage.cc
  14943. (doReceivedAction): Use dispatcher member.
  14944. (send): Use peerConnection member.
  14945. (onWrongPiece): Use requestFactory member.
  14946. (handleChokingEvent): Use messageFactory, dispatcher member.
  14947. (handleCancelSendingPieceEvent): Use messageFactory, dispatcher member.
  14948. * src/BtMessageDispatcher.h
  14949. (BtMessageDispatcherWeakHandle): New type definition.
  14950. * src/SimpleBtMessage.cc
  14951. (send): Use peerConnection member.
  14952. * src/BtRejectMessage.cc
  14953. (doReceivedAction): Use dispatcher member.
  14954. * src/DefaultBtMessageDispatcher.h
  14955. (Option.h): Removed include.
  14956. (messageFactory): New variable.
  14957. (option): Removed.
  14958. (maxUploadSpeedLimit): New variable.
  14959. (requestTimeout): New variable.
  14960. (DefaultBtMessageDispatcher): Removed option.
  14961. Added maxUploadSpeedLimit, requestTimeout.
  14962. (setOption): Removed.
  14963. (getOption): Removed.
  14964. (setMaxUploadSpeedLimit): New function.
  14965. (setRequestTimeout): New function.
  14966. (setBtMessageFactory): New function.
  14967. * src/DefaultBtInteractive.h
  14968. (btMessageReceiver):
  14969. BtMessageReceiverHandle -> BtMessageReceiverWeakHandle
  14970. (dispatcher):
  14971. BtMessageDispatcherHandle -> BtMessageReceiverWeakHandle
  14972. (btRequestFactory):
  14973. BtRequestFactoryHandle -> BtRequestFactoryWeakHandle
  14974. (peerConnection):
  14975. PeerConnectionHandle -> PeerConnectionWeakHandle
  14976. (messageFactory): New variable.
  14977. (option): Removed.
  14978. (keepAliveInterval): New variable.
  14979. (maxDownloadSpeedLimit): New variable.
  14980. (DefaultBtInteractive): Added keepAliveInterval, maxDownloadSpeedLimit.
  14981. (setBtMessageReceiver):
  14982. BtMessageReceiverHandle -> BtMessageReceiverWeakHandle
  14983. (setDispatcher):
  14984. BtMessageDispatcherHandle -> BtMessageReceiverWeakHandle
  14985. (setBtRequestFactory):
  14986. BtRequestFactoryHandle -> BtRequestFactoryWeakHandle
  14987. (setPeerConnection):
  14988. PeerConnectionHandle -> PeerConnectionWeakHandle
  14989. (setOption): Removed.
  14990. (setKeepAliveInterval): New function.
  14991. (setMaxDownloadSpeedLimit): New function.
  14992. (setBtMessageFactory): New function.
  14993. * src/BitfieldMan.h
  14994. (cachedNumMissingBlock): New variable.
  14995. (cachedNumFilteredBlock): New variable.
  14996. (cachedCompletedLength): New variable.
  14997. (cachedFilteredComletedLength): New variable.
  14998. (cachedFilteredTotalLength): New variable.
  14999. (countMissingBlockNow): New function.
  15000. (countFilteredBlockNow): New function.
  15001. (getFilteredTotalLengthNow): New function.
  15002. (getCompletedLengthNow): New function.
  15003. (getFilteredCompletedLengthNow): New function.
  15004. (updateCache): New function.
  15005. * src/AbstractBtMessage.h
  15006. (BtMessageDispatcher.h): New include.
  15007. (PeerConnection.h): New include.
  15008. (BtRequestFactory.h): New include
  15009. (BtMessageFactory.h): New include.
  15010. (dispatcher): New variable.
  15011. (messageFactory): New variable.
  15012. (peerConnection: New variable.
  15013. (setBtMessageDispatcher): New function.
  15014. (setPeerConnection): New function.
  15015. (setBtMessageFactory): New function.
  15016. (setBtRequestFactory): New function.
  15017. * src/DefaultBtMessageFactory.cc
  15018. (setCommonProperty): Set dispatcher, requestFactory, this,
  15019. peerConnection to msg.
  15020. * src/BtRegistry.h
  15021. (BT_MESSAGE_RECEIVER): New macro.
  15022. * src/PeerConnection.h
  15023. (PeerConnectionWeakHandle): New type definition.
  15024. * src/BtMessageFactory.h
  15025. (BtMessageFactoryWeakHandle): New type definition.
  15026. * src/BitfieldMan.cc
  15027. (BitfieldMan): Added cachedNumMissingBlock, cachedNumFilteredBlock,
  15028. cachedCompletedLength, cachedFilteredComletedLength,
  15029. cachedFilteredTotalLength.
  15030. Call updateCache().
  15031. (countMissingBlock): Return cachedNumMissingBlock.
  15032. (countMissingBlockNow): New function.
  15033. (countBlock): Return cachedNumFilteredBlock if filterEnabled is true.
  15034. (countFilteredBlockNow): New function.
  15035. (setBit): Call updateCache().
  15036. (unsetBit): Call updateCache().
  15037. (setBitfield): Call updateCache().
  15038. (clearAllBit): Call updateCache().
  15039. (setAllBit): Use setBitInternal instead of setBit.
  15040. Call updateCache().
  15041. (addFilter): Call updateCache().
  15042. (enableFilter): Call updateCache().
  15043. (disableFilter): Call updateCache().
  15044. (clearFilter): Call updateCache().
  15045. (getFilteredTotalLength): Return cachedFilteredTotalLength.
  15046. (getFilteredTotalLengthNow): New function.
  15047. (getCompletedLength): Return cachedCompletedLength.
  15048. (getCompletedLengthNow): New function.
  15049. (getFilteredCompletedLength): Return cachedFilteredComletedLength.
  15050. (getFilteredCompletedLengthNow): New function.
  15051. (updateCache): New function.
  15052. * src/BtMessageReceiver.h
  15053. (BtMessageReceiverWeakHandle): New type definition.
  15054. * src/DefaultBtMessageReceiver.cc
  15055. (receiveHandshake): Use messageFactory member.
  15056. (sendHandshake): Use messageFactory member.
  15057. (receiveMessage): Use messageFactory member.
  15058. * src/DefaultBtMessageFactory.h
  15059. (dispatcher): New variable.
  15060. (requestFactory): New variable.
  15061. (peerConnection): New variablle.
  15062. (setBtMessageDispatcher): New function.
  15063. (setBtRequestFactory): New function.
  15064. (setPeerConnection): New function.
  15065. * src/SharedHandle.h
  15066. (RefCount): New class.
  15067. (WeakHandle): New class.
  15068. * src/PeerObject.h
  15069. (BtMessageReceiver.h): New include.
  15070. (PeerObject): Added btMessageReceiver.
  15071. (btMessageReceiver): New variable.
  15072. * src/Util.cc
  15073. (countBit): Simplified.
  15074. * src/BtCancelMessage.cc
  15075. (doReceivedAction): Use dispatcher member.
  15076. * src/BtRequestFactory.h
  15077. (BtRequestFactoryWeakHandle): New type definition.
  15078. * src/PeerStorage.h
  15079. (downloadSpeed): int -> uint32_t
  15080. (uploadSpeed): int -> uint32_t
  15081. (sessionDownloadLength): long long int -> uint64_t
  15082. (sessionUploadLength): long long int -> uint64_t
  15083. 2007-01-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15084. To add RecoverableException, FatalException:
  15085. * src/AbstractCommand.cc
  15086. (onAbort): Exception -> RecoverableException
  15087. * src/PeerAbstractCommand.h
  15088. (RecoverableException.h): New include.
  15089. (onAbort): Exception -> RecoverableException.
  15090. * src/PeerInteractionCommand.cc
  15091. (onAbort): Exception -> RecoverableException.
  15092. * src/PeerAbstractCommand.cc
  15093. (execute): Exception -> RecoverableException.
  15094. (onAbort): Exception -> RecoverableException.
  15095. * src/TorrentRequestInfo.cc
  15096. (execute): Exception -> RecoverableException.
  15097. * src/MetalinkRequestInfo.cc
  15098. (execute): Exception -> RecoverableException.
  15099. * src/MetaFileUtil.cc: RecoverableException.
  15100. * src/AbstractCommand.h
  15101. (onAbort): Exception -> RecoverableException.
  15102. * src/DlRetryEx.h: Exception -> RecoverableException.
  15103. * src/DlAbortEx.h: Exception -> RecoverableException.
  15104. * src/PeerListenCommand.cc: Exception -> RecoverableException.
  15105. * src/Util.cc: Exception -> RecoverableException.
  15106. * src/DefauldDiskWriter.cc: Exception -> RecoverableException.
  15107. * src/TrackerUpdateCommand.cc: Exception -> RecoverableException.
  15108. * src/UrlRequestInfo.cc: Exception -> RecoverableException.
  15109. To make ID static const int
  15110. * src/BtInterestedMessage.h
  15111. (ID_t): Removed.
  15112. (ID): New variable.
  15113. (getId): Made non-const.
  15114. * src/BtPieceMessage.h
  15115. (ID_t): Removed.
  15116. (ID): New variable.
  15117. (getId): Made non-const.
  15118. * src/BtChokeMessage.h
  15119. (ID_t): Removed.
  15120. (ID): New variable.
  15121. (getId): Made non-const.
  15122. * src/BtHaveAllMessage.h
  15123. (ID_t): Removed.
  15124. (ID): New variable.
  15125. (getId): Made non-const.
  15126. * src/BtKeepAliveMessage.h
  15127. (ID_t): Removed.
  15128. (ID): New variable.
  15129. (getId): Made non-const.
  15130. * src/BtHandshakeMessage.h
  15131. (ID): New variable.
  15132. (getId): Made non-const.
  15133. * src/BtSuggestPieceMessage.h
  15134. (ID_t): Removed.
  15135. (ID): New variable.
  15136. (getId): Made non-const.
  15137. * src/BtPortMessage.h
  15138. (ID_t): Removed.
  15139. (ID): New variable.
  15140. (getId): Made non-const.
  15141. * src/AbstractBtMessage.h
  15142. (id): Removed.
  15143. (AbstractBtMessage): Removed id.
  15144. (getId): Removed.
  15145. * src/BtHaveMessage.h
  15146. (ID_t): Removed.
  15147. (ID): New variable.
  15148. (getId): Made non-const.
  15149. * src/BtAllowedFastMessage.h
  15150. (ID_t): Removed.
  15151. (ID): New variable.
  15152. (getId): Made non-const.
  15153. * src/BtCancelMessage.h
  15154. (ID_t): Removed.
  15155. (ID): New variable.
  15156. (getId): Made non-const.
  15157. * src/BtNotInterestedMessage.h
  15158. (ID_t): Removed.
  15159. (ID): New variable.
  15160. (getId): Made non-const.
  15161. * src/BtChokeMessage.h
  15162. (ID_t): Removed.
  15163. (ID): New variable.
  15164. (getId): Made non-const.
  15165. * src/BtRejectMessage.h
  15166. (ID_t): Removed.
  15167. (ID): New variable.
  15168. (getId): Made non-const.
  15169. * src/BtBitfieldMessage.h
  15170. (ID_t): Removed.
  15171. (ID): New variable.
  15172. (getId): Made non-const.
  15173. * src/BtUnchokeMessage.h
  15174. (ID_t): Removed.
  15175. (ID): New variable.
  15176. (getId): Made non-const.
  15177. * src/BtRequestMessage.h
  15178. (ID_t): Removed.
  15179. (ID): New variable.
  15180. (getId): Made non-const.
  15181. * src/BtHaveMessage.h
  15182. (ID_t): Removed.
  15183. (ID): New variable.
  15184. (getId): Made non-const.
  15185. To add --force-truncate command-line option and a check whether
  15186. the file already exists:
  15187. * src/DirectDiskAdaptor.h
  15188. (getFilePath): Made virtual public.
  15189. * src/MultiDiskAdaptor.h
  15190. (File.h): New include.
  15191. (DiskWriterEntry::fileEntry): Made private.
  15192. (DiskWriterEntry::fileExists): New function.
  15193. (DiskWriterEntry::getFileEntry): New function.
  15194. (fileExists): New function.
  15195. (getFilePath): New function.
  15196. * src/TorrentRequestInfo.cc
  15197. (FatalException.h): New include.
  15198. (message.h): New include.
  15199. (RecoverableException.h): New include.
  15200. (execute): Added a check whether file is already exists or not.
  15201. * src/DiskAdaptor.h
  15202. (fileExists): New function.
  15203. (getFilePath): New function.
  15204. * src/main.cc
  15205. (showUsage): Added an explanation of --force-truncate command-line
  15206. option.
  15207. (main): Added --force-truncate command-line option.
  15208. * src/Exception.h
  15209. (setMsg): buf[256] -> buf[1024]
  15210. * src/CopyDiskWriter.h
  15211. (getFilePath): Made public virtual.
  15212. * src/MultiDiskAdaptor.cc: fileEntry -> getFileEntry()
  15213. (fileExists): New function.
  15214. * src/DownloadEngineFactory.cc
  15215. (newTorrentConsoleEngine): Don't open file here.
  15216. * src/message.h
  15217. (EX_FILE_ALREADY_EXISTS): New definition.
  15218. * src/prefs.h
  15219. (PREF_FOECE_TRUNCATE): New definition.
  15220. * src/HttpResponseCommand.cc
  15221. (handleDefaultEncoding): Added a check whether the file already exists.
  15222. * src/SegmentMan.h
  15223. (fileExists): New function.
  15224. (shouldCancelDownloadForSafety): New function.
  15225. * src/FtpNegotiateCommand.cc
  15226. (recvSize): Added a check whether the file already exists.
  15227. * src/AbstractSingleDiskAdaptor.cc
  15228. (File.h): New include.
  15229. (fileExists): New function.
  15230. * src/AbstractSingleDiskAdaptor.h
  15231. (getFilePath): Removed.
  15232. (fileExists): New function.
  15233. * src/SegmentMan.cc
  15234. (fileExists): New function.
  15235. (shouldCancelDownloadForSafety): New function.
  15236. To fix regression bug in torrent downloading:
  15237. * src/DefaultBtRequestFactory.cc
  15238. (doChokedAction): New function.
  15239. * src/DefaultBtRequestFactory.h
  15240. (doChokedAction): New function.
  15241. * src/DefaultBtMessageDispatcher.cc
  15242. (doChokedAction): Do not delete request if its target is in allowed
  15243. fast set.
  15244. * src/DefaultBtInteractive.cc
  15245. (doPostHandshakeProcessing): Added a call to sendPendingMessage().
  15246. (sendKeepAlive): Send keep alive message even if the outgoing message
  15247. queue is not empty.
  15248. (decideInterest): Simplified the code.
  15249. (fillPiece): Remove a call to dispatcher->doChokedAction() because
  15250. it is already called when BtChokeMessage is received from a peer.
  15251. * src/BtRequestFactory.h
  15252. (doChokedAction): New function.
  15253. To clean up code:
  15254. * src/PeerInteractionCommand.h
  15255. (executeInternal): Added virtual keyword explicitly.
  15256. (prepareForRetry): Added virtual keyword explicitly.
  15257. (prepareForNextPeer): Added virtual keyword explicitly.
  15258. (onAbort): Added virtual keyword explicitly.
  15259. * src/RequestSlot.cc
  15260. (isTimeout): Use Time::elapsed() instead of differenceInMillis().
  15261. * src/BtPieceMessage.cc
  15262. (doReceivedAction): Added a debug log of piece's bitfield.
  15263. * src/Piece.h
  15264. (getBitfieldLength): New function.
  15265. * src/ByteArrayDiskWriter.cc
  15266. (clear): Added buf = 0 to avoid double free corruption.
  15267. * src/FileAllocator.cc
  15268. (allocate): Fixed an assignment of fileAllocationMonitor->currentValue.
  15269. Added cp.reset().
  15270. * src/BitfieldMan.h
  15271. (operator=): Rewritten.
  15272. * src/BitfieldMan.cc
  15273. (BitfieldMan): Initialized bitfield, useBitfield.
  15274. * src/PeerConnection.cc
  15275. (receiveMessage): Added a call to socket->readable() after getting
  15276. message length to avoid possible EOF.
  15277. * src/Util.cc
  15278. (torrentUrlencode): Fixed an encodeing bug. BUG#1629912
  15279. 2007-01-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15280. To add an ability to pre-allocate file space:
  15281. * src/DirectDiskAdaptor.h: Rewritten.
  15282. * src/PieceStorage.h: DiskAdaptor -> DiskAdaptorHandle
  15283. * src/MultiDiskAdaptor.h: Rewritten.
  15284. * src/DefaultPieceStorage.cc
  15285. (MultiDiskWriter.h): Removed include.
  15286. (PreAllocationDiskWriter.h): Removed include.
  15287. (FileAllocationMonitor.h): New include.
  15288. (~DefaultPieceStorage): Removed deletion of diskAdaptor.
  15289. (initStorage): Rewritten.
  15290. (getDiskAdaptor): DiskAdaptor -> DiskAdaptorHandle
  15291. * src/FileAllocator.h: New class.
  15292. * src/FileAllocator.cc: New class.
  15293. * src/FileAllocationMonitor.h: New class.
  15294. * src/FileAllocationMonitor.cc: New class.
  15295. * src/ConsoleFileAllocationMonitor.h: New class.
  15296. * src/ConsoleFileAllocationMonitor.cc: New class.
  15297. * src/AbstractSingleDiskAdaptor.h: New class.
  15298. * src/AbstractSingleDiskAdaptor.cc: New class.
  15299. * src/DiskAdaptor.h
  15300. (Directory.h): Removed include.
  15301. (DiskWriter.h): Removed include.
  15302. (FileEntry.h): Removed include.
  15303. (diskWriter): Removed.
  15304. (DiskAdaptor): Removed diskWriter.
  15305. (openFile): Made pure virtual.
  15306. (closeFile): Made pure virtual.
  15307. (openExistingFile): Made pure virtual.
  15308. (initAndOpenFile): Made pure virtual.
  15309. (writeData): Made pure virtual.
  15310. (readData): Made pure virtual.
  15311. (sha1Sum): Made pure virtual.
  15312. (getStoreDir): Returns const reference of storeDir.
  15313. (DiskAdaptorHandle): New type definition.
  15314. * src/main.cc
  15315. (ConsoleFileAllocationMonitor.h): New include.
  15316. (showUsage): Added default value description of -s option.
  15317. Added the description of --file-allocation option.
  15318. (main): Set default value of --file-allocation option to 'none'.
  15319. Added --file-allocation command-line option.
  15320. Setup FileAllocationMonitorFactory.
  15321. * src/FtpInitiateConnectionCommand.cc
  15322. (executeInternal): Removed diskWriter related processing, which was
  15323. moved to FtpNegotiationCommand.cc.
  15324. * src/DirectDiskAdaptor.cc
  15325. (getFilePath): Made non-const.
  15326. * src/CopyDiskAdaptor.h
  15327. (DiskAdaptor.h): Removed include.
  15328. (DiskWriter.h): Removed include.
  15329. (AbstractSingleDiskAdaptor.h): New include.
  15330. (getFilePath): Made non-const. Added virtual keyword.
  15331. (CopyDiskAdaptor): Removed diskWriter.
  15332. (getTempFile): Returns const reference.
  15333. (CopyDiskAdaptorHandle): New type definition.
  15334. * src/ByteArrayDiskWriter.cc
  15335. (clear): Simplified.
  15336. (initAndOpenFile): Rewritten.
  15337. (openFile): Call initAndOpenFile()
  15338. * src/MultiDiskAdaptor.cc: Rewritten.
  15339. * src/DownloadEngineFactory.cc
  15340. (FileAllocator.h): New include.
  15341. (FileAllocationMonitor.h): New include.
  15342. (newConsoleEngine): Call DefaultDiskWriter::createNewDiskWriter() to
  15343. create DefaultDiskWriter with file allocator.
  15344. * src/DiskWriter.h
  15345. (initAndOpenFile): Added totalLength argument.
  15346. (openFile): Added totalLength argument.
  15347. * src/prefs.h
  15348. (PREF_FILE_ALLOCATION): New definition.
  15349. (V_PREALLOC): New definition.
  15350. (V_NONE): New definition.
  15351. * src/HttpResponseCommand.cc
  15352. (handleDefaultEncoding): Call DefaultDiskWriter::initAndOpenFile with
  15353. size.
  15354. * src/FtpNegotiateCommand.cc
  15355. (Util.h): New include.
  15356. (recvSize): Open file here.
  15357. * src/Util.h
  15358. (ullitos): New function.
  15359. * src/CopyDiskWriter.h
  15360. (getFilePath): Made non-const.
  15361. * src/DefaultDiskWriter.h
  15362. (Option.h): New include.
  15363. (totalLength): Removed.
  15364. (DefaultDiskWriter): Removed totalLength.
  15365. (initAndOpenFile): Added totalLength argument.
  15366. (DefaultDiskWriterHandle): New type definition.
  15367. (createNewDiskWriter): New function.
  15368. * src/Util.cc
  15369. (ullitos): New function.
  15370. * src/DefaultDiskWriter.cc
  15371. (message.h): New include.
  15372. (FileAllocator.h): New include.
  15373. (prefs.h): New include.
  15374. (Util.h): New include.
  15375. (DefaultDiskWriter): Removed totalLength.
  15376. (initAndOpenFile): Added file allocation.
  15377. (createNewDiskWriter): New function. Just for temporary solution.
  15378. It will be rewritten later.
  15379. * src/DiskAdaptor.cc
  15380. (DiskAdaptor): Removed diskWriter.
  15381. * src/AbstractDiskWriter.cc
  15382. (LogFactory.h): New include.
  15383. (AbstractDiskWriter): Added fileAllocator, logger.
  15384. (openFile): Added totalLength argument.
  15385. * src/AbstractDiskWriter.h
  15386. (FileAllocator.h): New include.
  15387. (Logger.h): New include.
  15388. (fileAllocator): New variable.
  15389. (logger): New variable.
  15390. (openFile): Added totalLength argument. Added virtual keyword
  15391. explicitly.
  15392. (openExistingFile): Added totalLength argument. Added virtual keyword
  15393. explicitly.
  15394. (closeFile): Added virtual keyword explicitly.
  15395. (sha1Sum): Added virtual keyword explicitly.
  15396. (writeData): Added virtual keyword explicitly.
  15397. (readData): Added virtual keyword explicitly.
  15398. (setFileAllocator): New function.
  15399. * src/DefaultPieceStorage.h
  15400. (FileAllocator.h): New include.
  15401. (diskAdaptor): DiskAdaptor -> DiskAdaptorHandle
  15402. (getDiskAdaptor): DiskAdaptor -> DiskAdaptorHandle
  15403. * src/FileProgressMonitor.h: New class.
  15404. To compile aria2 on PC-BSD:
  15405. * src/DefaultBtContext.cc
  15406. (libgen.h): New include.
  15407. To fix memory leak:
  15408. * src/Exception.h
  15409. (~Exception): Delete cause. Fixed memory leak.
  15410. 2006-12-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15411. Rewritten a portion of bittorrent implementation:
  15412. * src/BtMessageValidator.h: New class.
  15413. * src/BtBitfieldMessageValidator.h: New class.
  15414. * src/BtHandshakeMessageValidator.h: New class.
  15415. * src/BtRequestMessageValidator.h: New class.
  15416. * src/BtSuggestPieceMessageValidator.h: New class.
  15417. * src/BtAllowedFastMessageValidator.h: New class.
  15418. * src/BtRejectMessageValidator.h: New class.
  15419. * src/BtCancelMessageValidator.h: New class.
  15420. * src/BtPieceMessageValidator.h: New class.
  15421. * src/BtHaveMessageValidator.h: New class.
  15422. * src/BtEventListener.h: New class.
  15423. * src/AbstractBtEventListener.h: New class.
  15424. * src/BtEvent.h: New class.
  15425. * src/BtChokingEvent.h: New class.
  15426. * src/BtChokedEvent.h: New class.
  15427. * src/BtCancelSendingPieceEvent.h: New class.
  15428. * src/BtAbortOutstandingRequestEvent.h: New class.
  15429. * src/Randomizer.h: New class.
  15430. * src/SimpleRandomizer.h: New class.
  15431. * src/BtMessage.h: New class.
  15432. * src/AbstractBtMessage.h: New class.
  15433. * src/SimpleBtMessage.h: New class.
  15434. * src/BtHaveMessage.h: New class.
  15435. * src/BtInterestedMessage.h: New class.
  15436. * src/BtAllowedFastMessage.h: New class.
  15437. * src/BtUnchokeMessage.h: New class.
  15438. * src/BtCancelMessage.h: New class.
  15439. * src/BtNotInterestedMessage.h: New class.
  15440. * src/BtChokeMessage.h: New class.
  15441. * src/BtHaveNoneMessage.h: New class.
  15442. * src/BtHandshakeMessage.h: New class.
  15443. * src/BtSuggestPieceMessage.h: New class.
  15444. * src/BtHaveMessage.h: New class.
  15445. * src/BtPieceMessage.h: New class.
  15446. * src/BtHaveAllMessage.h: New class.
  15447. * src/BtKeepAliveMessage.h: New class.
  15448. * src/BtPortMessage.h: New class.
  15449. * src/BtRejectMessage.h: New class.
  15450. * src/BtBitfieldMessage.h: New class.
  15451. * src/BtRequestMessage.h: New class.
  15452. * src/DefaultBtRequestFactory.h: New class.
  15453. * src/DefaultBtMessageReceiver.h: New class.
  15454. * src/BtInteractive.h: New class.
  15455. * src/BtMessageDispatcher.h: New class.
  15456. * src/DefaultBtMessageDispatcher.h: New class.
  15457. * src/DefaultBtInteractive.h: New class.
  15458. * src/BitfieldManFactory.h: New class.
  15459. * src/HandleRegistry.h: New class.
  15460. * src/BtMessageFactory.h: New class.
  15461. * src/BtMessageReceiver.h: New class.
  15462. * src/DefaultBtMessageFactory.h: New class.
  15463. * src/PeerObject.h: New class.
  15464. * src/BtRequestFactory.h: New class.
  15465. * src/SuggestPieceMessage.h: Removed.
  15466. * src/PortMessage.h: Removed.
  15467. * src/SuggestPieceMessage.h: Removed.
  15468. * src/KeepAliveMessage.h: Removed.
  15469. * src/HandshakeMessage.h: Removed.
  15470. * src/PeerInteraction.h: Removed.
  15471. * src/UnchokeMessage.h: Removed.
  15472. * src/PieceMessage.h: Removed.
  15473. * src/RequestMessage.h: Removed.
  15474. * src/InterestedMessage.h: Removed.
  15475. * src/HaveMessage.h: Removed.
  15476. * src/CancelMessage.h: Removed.
  15477. * src/RejectMessage.h: Removed.
  15478. * src/AllowedFastMessage.h: Removed.
  15479. * src/HaveNoneMessage.h: Removed.
  15480. * src/SimplePeerMessage.h: Removed.
  15481. * src/HaveAllMessage.h: Removed.
  15482. * src/BitfieldMessage.h: Removed.
  15483. * src/PeerMessageFactory.h: Removed.
  15484. * src/NotInterestedMessage.h: Removed.
  15485. * src/ChokeMessage.h: Removed.
  15486. * src/PeerMessage.h: Removed.
  15487. 2006-12-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15488. To know root cause of exception:
  15489. * src/Exception.h
  15490. (cause): New variable.
  15491. (Exception): Added a parameter.
  15492. (getMsg): Return const reference to msg.
  15493. (getCause): New function.
  15494. * src/DlRetryEx.h
  15495. (DlRetryEx): Added a parameter 'cause'.
  15496. Added an overloaded constructor.
  15497. (DlAbortEx): Added a parameter 'cause'.
  15498. Added an overloaded constructor.
  15499. * src/SimpleLogger.cc
  15500. (writeLog): Log nested exception messages recursively.
  15501. 2006-11-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15502. * src/DefaultBtProgressInfoFile.cc
  15503. (load): Fixed memory leak when the infohash doesn't match.
  15504. 2006-11-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15505. * src/DefaultPeerStorage.cc
  15506. (calculateStat): Simplified the code by combining 2 loops into 1.
  15507. 2006-11-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15508. Introduce new preference PREF_BT_TIMEOUT. This is the timeout value
  15509. for BitTorrent download:
  15510. * src/PeerAbstractCommand.cc
  15511. (PeerAbstractCommand): PREF_TIMEOUT -> PREF_BT_TIMEOUT
  15512. * src/main.cc:
  15513. (timeoutSpecified): Removed.
  15514. (main): Set the initial value of PREF_BT_TIMEOUT to 180.
  15515. Removed timeoutSpecified. TODO: Add --bt-timeout command line option.
  15516. * src/TorrentRequestInfo.cc
  15517. (timeoutSpecified): Removed.
  15518. (torrentHandler): Removed timeoutSpecified and the adjustment of
  15519. timeout value.
  15520. * src/prefs.h
  15521. (PREF_BT_TIMEOUT): New definition.
  15522. Delete unused variables:
  15523. * src/TorrentRequestInfo.cc
  15524. (requestInfo): Removed.
  15525. Move setSignalHander to Util::setGlobalSignalHandler:
  15526. * src/TorrentRequestInfo.cc:
  15527. setSignalHander -> Util::setGlobalSignalHandler
  15528. * src/main.cc
  15529. (setSignalHander): Removed.
  15530. (main): setSignalHander -> Util::setGlobalSignalHandler
  15531. * src/Util.h
  15532. (setGlobalSignalHandler): New function.
  15533. * src/Util.cc
  15534. (setGlobalSignalHandler): New function.
  15535. * src/UrlRequestInfo.cc:
  15536. setSignalHander -> Util::setGlobalSignalHandler
  15537. Reset peer status in order to exit gracefully:
  15538. * src/PeerAbstractCommand.cc
  15539. (execute): Call peer->resetStatus() when btRuntime->isHalt() is true.
  15540. To fix the bug that causes the number of bytes uploaded is not saved
  15541. to .aria2 file:
  15542. * src/DefaultPeerStorage.h
  15543. (removedPeerSessionDownloadLength): New variable.
  15544. (removedPeerSessionUploadLength): New variable.
  15545. * src/DefaultPeerStorage.cc
  15546. (DefaultPieceStorage): Added removedPeerSessionDownloadLength(0),
  15547. removedPeerSessionUploadLength(0).
  15548. (calculateStat): Calculate the number of bytes downloaded(uploaded)
  15549. through all peers, and then add removedPeerSessionDownloadLength(
  15550. removedPeerSessionUploadLength) to it.
  15551. (deleteUnusedPeer): Add the number of bytes downloaded(uploaded) from
  15552. (to) the peer to removedPeerSessionDownloadLength
  15553. (removedPeerSessionUploadLength).
  15554. 2006-11-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15555. To add Metalink location option:
  15556. * src/MetalinkRequestInfo.cc
  15557. (execute): Call MetalinkEntry::setLocationPreference()
  15558. * src/main.cc
  15559. (showUsage): Added the help message for --metalink-location option.
  15560. (main): Added --metalink-location option.
  15561. * src/prefs.h
  15562. (PREF_METALINK_LOCATION): New definition.
  15563. * src/MetalinkEntry.cc
  15564. (AddLocationPreference): New function object.
  15565. (setLocationPreference): New function.
  15566. * src/Xml2MetalinkProcessor.cc
  15567. (getResource): Set location attribute to MetalinkResource
  15568. To show URLs to download
  15569. * src/UrlRequestInfo.h
  15570. (printUrls): New function.
  15571. To add multiple <file> Metalink support:
  15572. * src/MetalinkEntry.h
  15573. (MetalinkResources): Removed.
  15574. (setLocationPreference): New function.
  15575. (MetalinkEntryHandle): New type definition.
  15576. (MetalinkEntries): New type definition.
  15577. * src/Xml2MetalinkProcessor.h
  15578. (getEntry): MetalinkEntry* -> MetalinkEntryHandle
  15579. (getResource): MetalinkResource* -> MetalinkResourceHandle
  15580. (parseFile): Metalinker* -> MetalinkerHandle
  15581. * src/UrlRequestInfo.h
  15582. (execute): RequestInfo* -> RequestInfos
  15583. * src/MetalinkRequestInfo.cc
  15584. (AccumulateNonP2PUrl): MetalinkResource* -> MetalinkResourceHandle
  15585. (FindBitTorrentUrl): MetalinkResource* -> MetalinkResourceHandle
  15586. (execute): RequestInfo* -> RequestInfos
  15587. Added multiple <file> support. Print filename when it is queued.
  15588. * src/MetalinkRequestInfo.h
  15589. (execute): RequestInfo* -> RequestInfos
  15590. (getDownloadEngine): Removed.
  15591. * src/RequestInfo.h
  15592. (RequestInfoHandle): New type definition.
  15593. (RequestInfos): New type definition.
  15594. (execute): RequestInfo* -> RequestInfos
  15595. (getDownloadEngine): Removed.
  15596. * src/MetalinkResource.h
  15597. (MetalinkResourceHandle): New type definition.
  15598. (MetalinkResources): New type definition.
  15599. * src/MetalinkEntry.cc
  15600. (~MetalinkEntry): Removed the deletion of the elements of resources,
  15601. because the element is now of type MetalinkResourceHandle.
  15602. (PrefOrder): MetalinkResource* -> MetalinkResourceHandle
  15603. (Supported): MetalinkResource* -> MetalinkResourceHandle
  15604. (dropUnsupportedResource): Removed the deletion of the elements of
  15605. resources because the element is now of type MetalinkResourceHandle.
  15606. * src/Xml2MetalinkProcessor.cc
  15607. (parseFile): Metalinker* -> MetalinkerHandle
  15608. MetalinkEntry* -> MetalinkEntryHandle
  15609. Removed try-catch block.
  15610. (getEntry): MetalinkEntry* -> MetalinkEntryHandle
  15611. MetalinkResource* -> MetalinkResourceHandle
  15612. Removed try-catch block.
  15613. (getResource): MetalinkResource* -> MetalinkResourceHandle
  15614. Free result by using xmlXPathFreeObject()
  15615. * src/Metalinker.cc
  15616. (~Metalinker): Removed the deletion of entries.
  15617. MetalinkEntry* -> MetalinkEntryHandle
  15618. (queryEntry): Add multiple <file> Metalink support.
  15619. * src/Metalinker.h
  15620. (MetalinkEntries): Removed.
  15621. (queryEntry): MetalinkEntry* -> MetalinkEntries
  15622. * src/MetalinkProcessor.h
  15623. (parseFile): Metalinker* -> MetalinkerHandle
  15624. Bug fixes:
  15625. * src/PeerChokeCommand.cc
  15626. (execute): cat01->cat02
  15627. * src/DefaultPieceStorage.cc
  15628. (DefaultPieceStorage): Added diskAdaptor(0)
  15629. * src/TrackerWatcherComand.cc:
  15630. (execute): Use btAnnounce->noMoreAnnounce()
  15631. to determin whether the function returns true or not.
  15632. * src/TrackerUpdateCommand.cc:
  15633. (execute): Use btAnnounce->noMoreAnnounce()
  15634. to determin whether the function returns true or not.
  15635. * src/FtpConnection.cc
  15636. (bulkReceiveResponse): Throw DlRetryEx if EOF got.
  15637. This is the fix of the busy loop bug.
  15638. * src/DownloadCommand.cc
  15639. (DownloadCommand): Reuse PeerStat. segmentMan->getPeerStat() returns
  15640. cached PeerStat.
  15641. The value of "name" entry in torrent file is now set by
  15642. *DiskAdaptor::setTopDir(...) methods.
  15643. * src/MultiDiskAdaptor.h
  15644. (topDir): New variable.
  15645. (setTopDir): New function.
  15646. (getTopDir): New function.
  15647. * src/MultiDiskAdaptor.cc
  15648. (getFilePath): Concat storDir, "/" and topDir.
  15649. (mkdir): Use getFilePath() to get the directory path for output.
  15650. * src/DefaultPieceStorage.cc
  15651. (initStorage): Set the value of "name" entry to MultiDiskAdaptor,
  15652. CopyDiskAdaptor.
  15653. * src/CopyDiskAdaptor.h
  15654. (topDir): New variable.
  15655. (setTopDir): New function.
  15656. (getTopDir): New function.
  15657. * src/CopyDiskAdaptor.cc
  15658. (fixFilename): Updated.
  15659. Misc
  15660. * src/UrlRequestInfo.h
  15661. (e): Removed.
  15662. (UrlRequestInfo): Removed e.
  15663. (getDownloadEngine): Removed.
  15664. * src/UrlRequestInfo.cc
  15665. (handler): Rewritten.
  15666. (printUrls): New function.
  15667. (execute): Call printUrls().
  15668. * src/HandshakeMessage.cc
  15669. (check): peerinteraction->getBtContext() -> btContext
  15670. * src/PeerInteraction.h
  15671. (getBtContext): Removed.
  15672. * src/TorrentRequestInfo.h
  15673. (execute): RequestInfo* -> RequestInfos
  15674. (getDownloadEngine): Removed.
  15675. * src/TorrentRequestInfo.cc
  15676. (haltRequested): Removed.
  15677. (btHaltRequested): New variable.
  15678. (torrentHandler): haltRequested -> btHaltRequested
  15679. (execute): RequestInfo* -> RequestInfos
  15680. * src/TorrentConsoleDownloadEngine.cc
  15681. (afterEachIteration): haltRequested -> btHaltRequested.
  15682. * src/ConsoleDownloadEngine.h
  15683. (initStatistics): Added virtual.
  15684. (calculateStatistics): Added virtual.
  15685. (onEndOfRun): Added virtual.
  15686. (afterEachIteration): Added virtual.
  15687. * src/ConsoleDownloadEngine.cc
  15688. (haltRequested): New variable.
  15689. (afterEachIteration): New function.
  15690. * src/main.cc
  15691. (requestInfo): Removed.
  15692. * src/SegmentMan.cc
  15693. (findSlowerSegmentEntry): Refactored.
  15694. * Release 0.9.0
  15695. 2006-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15696. To divide TorrentMan into 6 classes: BtContext, BtRuntime,
  15697. PeerStorage, PieceStorage, BtAnnounce and BtProgressInfoFile
  15698. * src/TorrentMan.h: Removed.
  15699. * src/TorrentMan.cc: Removed.
  15700. * src/TrackerWatcherComand.h: Made subclass of BtContextAwareCommand.
  15701. * src/SeedCheckCommand.cc: Use pieceStorage, btRuntime
  15702. * src/PeerAbstractCommand.h: Made subclass of BtContextAwareCommand.
  15703. * src/PeerAbstractCommand.cc: Use btRuntime.
  15704. * src/BtContextAwareCommand.h: New class.
  15705. * src/FileEntry.h: Added accessor methods for following variables.
  15706. (path): Made private.
  15707. (length): Made private.
  15708. (offset): Made private.
  15709. (extracted): Made private.
  15710. (requested): Made private.
  15711. (FileEntries): New definition.
  15712. (FileEntryHandle): New definition.
  15713. * src/FileEntry.cc: New file.
  15714. * src/HaveEraseCommand.h: Made subclass of BtContextAwareCommand.
  15715. * src/HaveEraseCommand.cc: Use btRuntime, pieceStorage.
  15716. * src/PeerChokeCommand.h: Made subclass of BtContextAwareCommand.
  15717. * src/PeerChokeCommand.cc: Use btRuntime, peerStorage, pieceStorage.
  15718. * src/PieceStorage.h: New file.
  15719. * src/PeerInteractionCommand.h: Use btContext.
  15720. * src/PeerInteractionCommand.cc: Use pieceStorage, peerStorage,
  15721. btRuntime.
  15722. * src/DefaultBtProgressInfoFile.h: New file.
  15723. * src/DefaultBtProgressInfoFile.cc: New file.
  15724. * src/File.cc
  15725. (Util.h): New include.
  15726. (mkdirs): New function.
  15727. * src/MultiDiskAdaptor.h
  15728. (mkdir): New function.
  15729. * src/PeerListProcessor.h
  15730. (Peers): Removed.
  15731. * src/PeerInteraction.h
  15732. (torrentMan): Removed.
  15733. (btContext): New variable.
  15734. (peerStorage): New variable.
  15735. (pieceStorage): New variable.
  15736. (btAnnounce): New variable.
  15737. (getTorrentMan): Removed.
  15738. (getBtContext): New function.
  15739. * src/PeerInteraction.cc: Use btContext, peerStorage, pieceStorage,
  15740. btAnnounce.
  15741. * src/HandshakeMessage.h
  15742. (TorrentMan.h): Removed.
  15743. * src/HandshakeMessage.cc: Use btContext.
  15744. * src/DefaultBtAnnounce.cc: New file.
  15745. * src/MultiDiskWriter.cc: Use the accessor methods of FileEntry.
  15746. * src/DefaultPieceStorage.cc: New file.
  15747. * src/DefaultBtContext.h: New file.
  15748. * src/TorrentRequestInfo.cc: Use btContext, pieceStorage.
  15749. Use the accessor methods of FileEntry.
  15750. * src/CookieBox.cc: Updated to use Util::slice().
  15751. * src/PieceMessage.cc: Use btContext, pieceStorage.
  15752. * src/common.h (SharedHandle.h): New include.
  15753. * src/PeerMessage.cc (PeerMessage): Added btContext, peerStorage,
  15754. pieceStorage.
  15755. * src/TorrentAutoSaveCommand.h: Made subclass of BtContextAwareCommand.
  15756. * src/DiskAdaptor.h
  15757. (topDir): Removed.
  15758. (getFileEntryFromPath): Changed the return type to FileEntryHandle.
  15759. (setTopDir): Removed.
  15760. (getTopDir): Removed.
  15761. * src/BtContext.h: New file.
  15762. * src/DefaultPeerStorage.h: New file.
  15763. * src/PieceMessage.h (TorrentMan.h): Removed.
  15764. * src/RequestMessage.h (TorrentMan.h): Removed.
  15765. * src/TorrentDownloadEngine.h
  15766. (uploadLength): New variable.
  15767. (btContext): New variable.
  15768. (btRuntime): New variable.
  15769. (pieceStorage): New variable.
  15770. (peerStorage): New variable.
  15771. (btAnnounce): New variable.
  15772. (btProgressInfoFile): New variable.
  15773. (torrentMan): Removed.
  15774. (setBtContext): New function.
  15775. * src/TorrentDownloadEngine.cc: Use BtContext, BtRuntime, pieceStorage,
  15776. peerStorage, btAnnounce, btProgressInfoFile.
  15777. * src/Piece.h
  15778. (toString): New function.
  15779. (Pieces): New type definition.
  15780. * src/Peer.h
  15781. (active): New variable.
  15782. (Peer): Added active.
  15783. (activate): Set active to true.
  15784. (deactivate): Set active to false.
  15785. (isActive): New function.
  15786. (Peers): New type definition.
  15787. * src/DirectDiskAdaptor.cc
  15788. (getFilePath): Use the accessor methods of FileEntry.
  15789. * src/TorrentConsoleDownloadEngine.h
  15790. (afterEachIteration): New function.
  15791. * src/TorrentConsoleDownloadEngine.cc
  15792. (haltRequested): New variable.
  15793. (sendStatistics): Use pieceStorage, btRuntime.
  15794. (afterEachIteration): New function.
  15795. * src/AnnounceList: AnnounceTier->AnnounceTierHandle.
  15796. * src/Directry.h
  15797. (Directory): New function.
  15798. (DirectoryHandle): New type definition.
  15799. * src/BtProgressInfoFile.h: New file.
  15800. * src/RequestMessage.cc: Use pieceStorage.
  15801. * src/BtRuntime.h: New file.
  15802. * src/DefaultBtContext.cc: New file.
  15803. * src/BitfieldMan.h
  15804. (getCompletedLength): New function(private).
  15805. (getCompletedLength): New function.
  15806. (getFilteredCompletedLength): New function.
  15807. * src/BitfieldMan.h
  15808. (getCompletedLength): New function(private).
  15809. (getCompletedLength): New function.
  15810. (getFilteredCompletedLength): New function.
  15811. * src/MultiDiskAdaptor.cc
  15812. (mkdir): New function.
  15813. (openFile): Call mkdir().
  15814. (initAndOpenFile): Call mkdir().
  15815. * src/CancelMessage.h
  15816. (TorrentMan.h): Removed.
  15817. * src/RejectMessage.h
  15818. (TorrentMan.h): Removed.
  15819. * src/DownloadEngineFactory.cc
  15820. (DefaultPieceStorage.h): New include.
  15821. (DefaultPeerStorage.h): New include.
  15822. (DefaultBtAnnounce.h): New include.
  15823. (DefaultBtProgressInfoFile.h): New include.
  15824. (newTorrentConsoleEngine): Rewritten.
  15825. * src/ShareRatioSeedCriteria.h
  15826. (torrentMan): Removed.
  15827. (btContext): New variable.
  15828. (peerStorage): New variable.
  15829. (btRuntime): New variable.
  15830. (evaluate): Use btContext, btRuntime, peerStorage.
  15831. * src/AnnounceTier.h: New file.
  15832. * src/BtAnnounce.h: New file.
  15833. * src/BtRegistry.h: New file.
  15834. * src/PeerInitiateConnectionCommand.h: Added btContext.
  15835. * src/PeerConnection.h (TorrentMan.h): Removed.
  15836. * src/PeerMessageFactory.cc: Use btContext, pieceStorage.
  15837. * src/Util.h
  15838. (slice): Added an argument.
  15839. * src/Util.cc
  15840. (slice): Added an argument to control whether trim is made or not.
  15841. * src/PeerStorage.h: New file.
  15842. * src/BtRegistry.cc: New file.
  15843. * src/TrackerUpdateCommand.h: Made subclass of BtContextAwareCommand.
  15844. * src/CopyDiskAdaptor.cc: Use the accessor methods of FileEntry.
  15845. * src/MultiDiskWriter.h: FileEntry -> FileEntryHandle
  15846. * src/PeerListenCommand.cc: Use btRuntime, peerStorage, btContext.
  15847. * src/TorrentRequestInfo.h
  15848. (e): Removed.
  15849. (showFileEntry): Added an argument.
  15850. (getDownloadEngine): Return 0.
  15851. * src/DefaultBtAnnounce.h: New file.
  15852. * src/TorrentAutoSaveCommand.cc: Use btRuntime, btProgressInfoFile.
  15853. * src/TrackerWatcherComand.cc: Use btRuntime, btAnnounce,
  15854. * src/PeerMessageFactory.h
  15855. (btContext): New variable.
  15856. (pieceStorage): New variable.
  15857. * src/TrackerUpdateCommand.cc: Use btRuntime, peerStorage, btContext,
  15858. btAnnounce.
  15859. * src/DiskAdaptor.cc
  15860. (DiskAdaptor): Removed topDir.
  15861. (~DiskAdaptor): Removed topDir.
  15862. * src/PeerListenCommand.h: Made subclass of BtContextAwareCommand.
  15863. * src/SeedCheckCommand.h: Made subclass of BtContextAwareCommand.
  15864. * src/File.h (mkdirs): New function.
  15865. * src/DefaultPeerStorage): New file.
  15866. * src/DownloadEngineFactory.h
  15867. (newTorrentConsoleEngine): Use btContext.
  15868. * src/BtContextAwareCommand.cc: New file.
  15869. * src/PeerInitiateConnectionCommand.cc: Use btRuntime, peerStorage.
  15870. * src/PeerMessage.h
  15871. (btContext): New variable.
  15872. (peerStorage): New variable.
  15873. (pieceStorage): New variable.
  15874. (setBtContext): New function.
  15875. * src/Directry.cc
  15876. (Directory): New function.
  15877. (createDir): Do nothing if name.size() == 0.
  15878. * src/AnnounceList.h
  15879. (AnnounceTier): Removed.
  15880. (AnnounceTiers): Removed.
  15881. * src/DefaultPieceStorage.h: New file.
  15882. * src/Piece.cc (toString): New function.
  15883. To fix typo:
  15884. * src/main.cc (showVersion): Fixed typo.
  15885. To fix compile warning:
  15886. * src/DelegatingPeerListProcessor.cc
  15887. (canHandle): Added "return false".
  15888. 2006-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15889. To simplify TrackerWatherCommand, TrackerUpdateCommand and
  15890. make the process of announce request testable.
  15891. * src/TrackerWatcherCommand.h
  15892. (TimeA2.h): Removed.
  15893. (interval): Removed.
  15894. (checkPoint): Removed.
  15895. (createRequestCommand): Added an argument 'url'.
  15896. (TrackerWatherCommand): Removed interval.
  15897. (createCommand): New function.
  15898. * src/DownloadEngineFactory.cc
  15899. (newTorrentConsoleEngine): Updated according to the changes in
  15900. TrackerWatherCommand.
  15901. * src/TorrentMan.cc
  15902. (DelegatingPeerListProcessor.h): New includes.
  15903. (TorrentMan): Added the initialization of announceInterval.
  15904. (isStoppedAnnounceReady): New function.
  15905. (isCompletedAnnounceReady): New function.
  15906. (isDefaultAnnounceReady): New function.
  15907. (isAnnounceReady): New function.
  15908. (getAnnounceUrl): New function.
  15909. (announceStart): New function.
  15910. (announceFailure): New function.
  15911. (announceSuccess): New function.
  15912. (isAllAnnounceFailed): New function.
  15913. (resetAnnounce): New function.
  15914. (processAnnounceResponse): New function.
  15915. (needMorePeerConnection): New function.
  15916. (noMoreAnnounce): New function.
  15917. * src/TrackerUpdateCommand.h
  15918. (getTrackerResponse): int->size_t
  15919. * src/TorrentMan.h
  15920. (isStoppedAnnounceReady): New function.
  15921. (isCompletedAnnounceReady): New function.
  15922. (isDefaultAnnounceReady): New function.
  15923. (announceInterval): New variable.
  15924. (isAnnounceReady): New function.
  15925. (getAnnounceUrl): New function.
  15926. (announceStart): New function.
  15927. (announceFailure): New function.
  15928. (announceSuccess): New function.
  15929. (isAllAnnounceFailed): New function.
  15930. (resetAnnounce): New function.
  15931. (processAnnounceResponse): New function.
  15932. (needMorePeerConnection): New function.
  15933. (noMoreAnnounce): New function.
  15934. * src/TrackerWatcherCommand.cc
  15935. (TrackerWatherCommand): Removed interval and checkPoint.
  15936. (execute): Rewritten.
  15937. (createCommand): New function.
  15938. (createRequestCommand): Rewritten.
  15939. * src/TrackerUpdateCommand.cc
  15940. (MetaFileUtil.h): Removed.
  15941. (DelegatingPeerListProcessor.h): Removed.
  15942. (getTrackerResponse): int->size_t. Use torrentMan's new functions.
  15943. 2006-10-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15944. Request -> RequestHandle:
  15945. * src/HttpResponseCommand.h: Request->RequestHandle
  15946. * src/AbstractCommand.cc: Request->RequestHandle
  15947. * src/HttpDownloadCommand.cc: Request->RequestHandle
  15948. * src/HttpRequestCommand.cc: Request->RequestHandle
  15949. * src/FtpInitiateConnectionCommand.h: Request->RequestHandle
  15950. * src/AbstractCommand.h: Request->RequestHandle
  15951. * src/HttpProxyRequestCommand.h: Request->RequestHandle
  15952. * src/HttpResponseCommand.cc: Request->RequestHandle
  15953. * src/HttpInitiateConnectionCommand.h: Request->RequestHandle
  15954. * src/FtpNegotiateCommand.cc: Request->RequestHandle
  15955. * src/FtpTunnelResponseCommand.h: Request->RequestHandle
  15956. * src/HttpConnection.h: Request->RequestHandle
  15957. * src/HttpProxyResponseCommand.cc: Request->RequestHandle
  15958. * src/InitiateConnectionCommandFactory.h: Request->RequestHandle
  15959. * src/FtpTunnelResponseCommand.cc: Request->RequestHandle
  15960. * src/DownloadCommand.h: Request->RequestHandle
  15961. * src/FtpDowndloadCommand.cc: Request->RequestHandle
  15962. * src/HttpInitiateConnectionCommand.cc: Request->RequestHandle
  15963. * src/HttpRequestCommand.h: Request->RequestHandle
  15964. * src/FtpNegotiateCommand.h: Request->RequestHandle
  15965. * src/FtpTunnelResponseCommand.cc: Request->RequestHandle
  15966. * src/FtpInitiateConnectionCommand.cc: Request->RequestHandle
  15967. * src/HttpDownloadCommand.h: Request->RequestHandle
  15968. * src/FtpConnection.cc: Request->RequestHandle
  15969. * src/InitiateConnectionCommandFactory.cc: Request->RequestHandle
  15970. * src/UrlRequestInfo.cc: Request->RequestHandle
  15971. * src/HttpProxyResponseCommand.h: Request->RequestHandle
  15972. * src/HttpConnection.h: Request->RequestHandle
  15973. * src/DownloadCommand.cc: Request->RequestHandle
  15974. * src/FtpConnection.h: Request->RequestHandle
  15975. * src/FtpDowndloadCommand.h: Request->RequestHandle
  15976. * src/HttpProxyRequestCommand.cc: Request->RequestHandle
  15977. * src/FtpTunnelRequestCommand.h: Request->RequestHandle
  15978. * src/Request.h
  15979. (SharedHandle.h): New include.
  15980. (RequestHandle): New type definition.
  15981. (Requests): Redefined.
  15982. To add MULTITRACKER support:
  15983. * src/TrackerWatcherCommand.h
  15984. (createRequestCommand): New function.
  15985. * src/DownloadEngineFactory.cc
  15986. (newTorrentConsoleEngine): Removed req.
  15987. * src/prefs.h
  15988. (PREF_TRACKER_MAX_TRIES): New definition.
  15989. * src/TorrentMan.cc
  15990. (TorrentMan): Removed req. Added trackerNumTry.
  15991. (~TorrentMan): Removed req.
  15992. (setupInternal1): Added announceList.
  15993. * src/TorrentRequestInfo.cc
  15994. (execute): Set PREF_MAX_TIRES to 1. The max number of tries for
  15995. announces is now specified by PREF_TRACKER_MAX_TRIES.
  15996. * src/main.cc
  15997. (main): Added PREF_TRACKER_MAX_TRIES.
  15998. * src/TorrentMan.h
  15999. (Request.h): Removed.
  16000. (AnnounceList.h): New include.
  16001. (trackerNumTry): New variable.
  16002. (req): Removed.
  16003. (announceList): New variable.
  16004. * src/TrackerWatcherCommand.cc
  16005. (execute): Rewritten.
  16006. (createRequestCommand): New function.
  16007. * src/TrackerUpdateCommand.cc
  16008. (execute): Updated with the use of AnnounceList.
  16009. * src/AnnounceList.cc: New class.
  16010. * src/AnnounceList.h: New class.
  16011. To fix typo:
  16012. * src/prefs.h
  16013. (PREF_MAX_TRIES): max_try->max_tries
  16014. To not to decode "+" as space in URL decode:
  16015. * src/Util.cc
  16016. (urldecode): Removed "+"->space decoding rule. Test case was updated.
  16017. 2006-10-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16018. To add timeout to async name resolution:
  16019. * src/AbstractCommand.h
  16020. (nameResolveFinished): New function. This is not elegant way. It needs
  16021. to be more refined.
  16022. (nameResolverCheck): New variable.
  16023. * src/AbstractCommand.cc
  16024. (AbstractCommand): Added nameResolverCheck.
  16025. (execute): Added the check whether the name resolution has finished.
  16026. (setNameResolverCheck): Set nameResolverCheck to true.
  16027. (disableNameResolverCheck): Set nameResolverCheck to false.
  16028. (nameResolverFinished): New function.
  16029. * src/FtpInitiateConnectionCommand.h
  16030. (nameResolverFinished): New function.
  16031. * src/FtpInitiateConnectionCommand.cc
  16032. (FtpInitiateConnectionCommand): Set timeout to PREF_DNS_TIMEOUT.
  16033. * src/HttpInitiateConnectionCommand.h
  16034. (nameResolverFinished): New function.
  16035. * src/HttpInitiateConnectionCommand.cc
  16036. (HttpInitiateConnectionCommand): Set timeout to PREF_DNS_TIMEOUT.
  16037. * src/prefs.h
  16038. (PREF_DNS_TIMEOUT): New definition.
  16039. * src/main.cc
  16040. (main): Added PREF_DNS_TIMEOUT.
  16041. To add the support for a non-compact response from a tracker:
  16042. * src/PeerListProcessor.h: New class.
  16043. * src/DefaultPeerListProcessor.h: New class.
  16044. * src/DefaultPeerListProcessor.cc: New class.
  16045. * src/CompactPeerListProcessor.h: New class.
  16046. * src/CompactPeerListProcessor.cc: New class.
  16047. * src/DelegatingPeerListProcessor.h: New class.
  16048. * src/DelegatingPeerListProcessor.cc: New class.
  16049. * src/TorrentMan.cc
  16050. (addPeer): New function(overload).
  16051. (addPeer): Delete unused peers only when new peer is added.
  16052. * src/TorrentMan.h
  16053. (PeerListProcessor.h): Included.
  16054. (Peers): Removed.
  16055. (addPeer): New function(overload).
  16056. * src/TrackerUpdateCommand.cc
  16057. (netinet/in.h): Removed.
  16058. (DelegatingPeerListProcessor.h): Included.
  16059. (execute): Updated to use DelegatingPeerListProcessor.
  16060. To fix the memory leak in TorrentMan::peers:
  16061. * src/PeerAbstractCommand.cc
  16062. (onAbort): Added peer->resetStatus().
  16063. * src/Peer.h
  16064. (resetStatus): Made public.
  16065. To improve the precision of the speed calculation:
  16066. * src/SpeedCalc.h
  16067. (nextInterval): New variable.
  16068. * src/SpeedCalc.cc
  16069. (reset): Added nextInterval.
  16070. (isIntervalOver): Use nextInterval instead of CHANGE_INTERVAL_SEC.
  16071. (changeSw): Set nextInterval to 15 seconds relative to the current
  16072. instant time.
  16073. * src/main.cc
  16074. (showVersion): Updated.
  16075. (showUsage): Updated.
  16076. * Release 0.8.1
  16077. 2006-09-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16078. * src/main.cc
  16079. (showUsage): Commented out --min-segment-size option.
  16080. (main): Commented out --min-segment-size option.
  16081. * Release 0.8.0
  16082. 2006-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16083. * src/*.{h,cc}:
  16084. Added an exception to the license which allows linking with OpenSSL.
  16085. 2006-09-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16086. * src/AbstractCommand.cc
  16087. (execute): Check whether the download has finished before checking
  16088. socket status.
  16089. Return true if peerStat->getStatus() == REQUEST_IDLE.
  16090. Do not exit even if no segment is available.
  16091. * src/prefs.h
  16092. (PREF_STARTUP_IDLE_TIME): New definition.
  16093. * src/PeerInteractionCommand.cc
  16094. (executeInternal): Removed max speed limit. Because it performs bad.
  16095. (receiveMessages): Added max speed limit. This was better than above,
  16096. but still a little bit to be desired. Sometimes the download speed
  16097. became much faster than I specified.
  16098. * src/SpeedCalc.h
  16099. (start): New variable.
  16100. (accumulatedLength): New variable.
  16101. (getAvgSpeed): New function.
  16102. * src/SpeedCalc.cc
  16103. (reset): Added start, accumulatedLength.
  16104. (update): Added calculation of an average speed.
  16105. (getAvgSpeed): New function.
  16106. * src/DownloadCommand.h
  16107. (sw): Removed.
  16108. * src/main.cc
  16109. (main): Added PREF_STARTUP_IDLE_TIME.
  16110. * src/PeerStat.h
  16111. (STATUS): Added REQUEST_IDLE.
  16112. (getMaxSpeed): Renamed as getMaxDownloadSpeed().
  16113. (getAvgDownloadSpeed): New function
  16114. (requestIdle): New function.
  16115. * src/SegmentMan.h
  16116. (SegmentEntryHandle): New type definition.
  16117. (SegmentEntries): Now holds SegmentEntryHandle.
  16118. (findSlowerSegmentEntry): New funtion.
  16119. * src/SegmentMan.cc
  16120. (save): Updated according to the changes in SegmentEntries.
  16121. (read): Updated according to the changes in SegmentEntries.
  16122. (FindSegmentEntryByIndex): Updated according to the changes in
  16123. SegmentEntries.
  16124. (FindSegmentEntryByCuid): Updated according to the changes in
  16125. SegmentEntries.
  16126. (checkoutSegment): Updated according to the changes in SegmentEntries.
  16127. (onNullBitfield): Updated according to the changes in SegmentEntries.
  16128. Renamed uitr as itr.
  16129. (findSlowerSegmentEntry): New function.
  16130. (getSegment): Updated according to the changes in SegmentEntries.
  16131. Added the feature that cancels the segment with slow server and fast
  16132. one takes it over.
  16133. (cancelSegment): Updated according to the changes in SegmentEntries.
  16134. (getDownloadLength): Updated according to the changes in
  16135. SegmentEntries.
  16136. (init): Assigned 0 to bitfield after deleting it.
  16137. * src/DownloadCommand.cc
  16138. (STARTUP_IDLE_TIME): Removed.
  16139. (executeInternal): Use PREF_STARTUP_IDLE_TIME.
  16140. * src/PeerChokeCommand.cc
  16141. (optUnchokingPeer): Updated according to the changes in Peer.
  16142. (ResetDelta): Removed.
  16143. (UploadFaster): Updated according to the changes in Peer.
  16144. (DownloadFaster): Updated according to the changes in Peer.
  16145. (execute): I clarify the meaning of "upload" and "download" here.
  16146. "upload" means the transfer from localhost to remote host.
  16147. "download" means the transfer from remote host to localhost.
  16148. Based on this rule, I swapped orderByUploadRate and
  16149. orderByDownloadRate.
  16150. * src/PeerInteractionCommand.cc
  16151. (PeerInteraction): Removed peerInteraction->setUploadLImit().
  16152. (executeInternal): Removed the argument of
  16153. peerInteraction->sendMessages().
  16154. (receiveMessages): Rewritten download speed limit.
  16155. (sendKeepAlive): Removed peerInteraction->sendMessages().
  16156. * src/HttpResponseCommand.cc
  16157. (handleDefaultEncoding): If file size is unknown in torrent request,
  16158. do not call segmentMan->initBitfield() here.
  16159. Disabled persistent connection feature in torrent request.
  16160. * src/UrlRequestInfo.h
  16161. (UrlRequestInfo): Removed const qualifier from option.
  16162. * src/TorrentMan.h
  16163. (TransferStat): New class.
  16164. (deltaDownloadLength): Removed.
  16165. (deltaUploadLength): Removed.
  16166. (addDeltaDownloadLength): Removed.
  16167. (getDeltaDownloadLength): Removed.
  16168. (resetDeltaDownloadLength): Removed.
  16169. (addDeltaUploadLength): Removed.
  16170. (getDeltaUploadLength): Removed.
  16171. (resetDeltaUploadLength): Removed.
  16172. (addActivePeer): Added peer->activate().
  16173. (deleteActivePeer): Added peer->deactivate().
  16174. (calculateStat): New function.
  16175. * src/TorrentMan.cc
  16176. (TorrentMan): Removed deltaDownloadLength and deltaUploadLength.
  16177. (calculateStat): New function.
  16178. * src/PeerInteraction.h
  16179. (uploadLimit): Removed.
  16180. (option): New variable.
  16181. (setUploadLimit): Removed.
  16182. (getUploadSpeed): Removed.
  16183. (sendMessages): Removed the argument "currentUploadSpeed".
  16184. * src/PeerInteraction.cc
  16185. (prefs.h): Included.
  16186. (PeerInteraction): Removed uploadLimit. Added option.
  16187. (sendMessages): Rewritten upload speed limit.
  16188. (sendHandshake): Removed the argument from sendMessages().
  16189. (sendBitfield): Removed the argument from sendMessages().
  16190. * src/PeerAbstractCommand.cc
  16191. (execute): Commented out the portion of upload limit.
  16192. (onAbort): Removed peer->resetStatus().
  16193. * src/TorrentRequestInfo.cc
  16194. (timeoutSpecified): Declared extern.
  16195. (execute): Set timeout to 180 if timeout is not specified by.
  16196. command-line.
  16197. * src/PieceMessage.cc
  16198. (receivedAction): Added peer->updateDownloadLength().
  16199. Removed peer->addPeerUpload().
  16200. Removed torrentMan->addDeltaDownloadLength().
  16201. (send): Added peer->updateUploadLength().
  16202. Removed peer->addPeerDownload().
  16203. Removed torrentMan->addDeltaUploadLength().
  16204. * src/main.cc
  16205. (timeoutSpecified): New variable.
  16206. (main): Set timeoutSpecified to false.
  16207. If the command-line option "--upload-limit" is specified, then
  16208. timeoutSpecified is set to true. This option will remain in the next
  16209. release, but be deprecated in the future release.
  16210. * src/TorrentRequestInfo.h
  16211. (TorrentRequestInfo): Removed const qualifier from op.
  16212. * src/PeerStat.h
  16213. (uploadSpeed): New variable.
  16214. (PeerStat): Added default value to cuid.
  16215. (calculateUploadSpeed): New function.
  16216. (updateUploadLength): New function.
  16217. (getMaxUploadSpeed): New function.
  16218. (getAvgUploadSpeed): New function.
  16219. (reset): Added uploadSpeed. Set status to IDLE.
  16220. * src/TorrentDownloadEngine.h
  16221. (cp): Declared as Time.
  16222. (sessionDownloadLengthArray): Removed.
  16223. (sessionUploadLengthArray): Removed.
  16224. (currentCp): Removed.
  16225. (lastCalcStat): New variable
  16226. (lastElapsed): Removed.
  16227. (sessionDownloadLength): Removed.
  16228. (calculateStat): New function.
  16229. * src/TorrentDownloadEngine.cc
  16230. (initStatistics): Removed lastElapsed, cp[],
  16231. sessionDownloadLengthArray[], sessionUploadLengthArray[],
  16232. currentCp, sessionDownloadLength.
  16233. Added cp.reset() and lastCalcStat.reset().
  16234. (calculateSpeed): Changed the name of the argument.
  16235. (calculateStatistics): Rewritten.
  16236. (calculateStat): New function.
  16237. * src/Peer.h
  16238. (PeerStat.h): Included.
  16239. (peerUpload): Removed.
  16240. (peerDownload): Removed.
  16241. (peerStat): New variable.
  16242. (sessionUploadLength): New variable.
  16243. (sessionDownloadLength): New variable.
  16244. (deltaUpload): Removed.
  16245. (deltaDownload): Removed.
  16246. (resetStatus): Made private.
  16247. (Peer): Added sessionUploadLength, sessionDownloadLength.
  16248. Removed peerUpload, peerDownload.
  16249. (updateUploadLength): New function.
  16250. (addDeltaUpload): Removed.
  16251. (updateDownloadLength): New function.
  16252. (resetDeltaUpload): Removed.
  16253. (getDeltaUpload): Removed.
  16254. (addDeltaDownload): Removed.
  16255. (calculateUploadSpeed): New function.
  16256. (resetDeltaDownload): Removed.
  16257. (getDeltaDownload): Removed.
  16258. (calculateDownloadSpeed): New function.
  16259. (getSessionUploadLength): New function.
  16260. (getSessionDownloadLength): New function.
  16261. (activate): New function.
  16262. (deactivate): New function.
  16263. (addPeerUpload): Removed.
  16264. (setPeerUpload): Removed.
  16265. (getPeerUpload): Removed.
  16266. (addPeerDownload): Removed.
  16267. (setPeerDownload): Removed.
  16268. (getPeerDownload): Removed.
  16269. * src/Peer.cc
  16270. (resetStatus): Removed resetDeltaUpload() and resetDeltaDownload().
  16271. * src/MetalinkRequestInfo.h
  16272. (MetalinkRequestInfo): Removed const qualifier from op.
  16273. * src/RequestInfo.h
  16274. (op): Removed const qualifier.
  16275. (RequestInfo): Removed const qualifier from op.
  16276. * src/prefs.h
  16277. (PREF_MAX_SPEED_LIMIT): Renamed as PREF_MAX_DOWNLOAD_LIMIT.
  16278. (PREF_UPLOAD_LIMIT): Renamed as PREF_MAX_UPLOAD_LIMIT.
  16279. * src/PeerInteractionCommand.cc
  16280. (PeerInteractionCommand): Use PREF_MAX_UPLOAD_LIMIT.
  16281. (receiveMessages): Use PREF_MAX_DOWNLOAD_LIMIT.
  16282. * src/PeerInteraction.cc
  16283. (sendMessages): Use PREF_MAX_UPLOAD_LIMIT.
  16284. * src/main.cc
  16285. (showUsage): Updated the description of "--lowest-speed-limit" option.
  16286. Added the description of "--max-download-limit" option.
  16287. Removed the description of "--upload-limit" option.
  16288. Added the description of "--max-upload-limit" option.
  16289. (main): Use PREF_MAX_UPLOAD_LIMIT, PREF_MAX_DOWNLOAD_LIMIT.
  16290. Added "--max-download-limit" option and "--max-upload-limit" option.
  16291. Added the warning message if "--upload-limit" option is used.
  16292. * src/DownloadCommand.cc
  16293. (executeInternal): Use PREF_MAX_DOWNLOAD_LIMIT.
  16294. 2006-09-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16295. To rewrite segment download mechanism for HTTP/FTP download.
  16296. Use BitfieldMan to manage segment download.
  16297. * src/HttpResponseCommand.h
  16298. (executeInternal): Pass the reference of segment.
  16299. * src/AbstractCommand.cc
  16300. (prepareForRetry): Call segmentMan->cancelSegment here.
  16301. (onAbort): Call segmentMan->cancelSegment here.
  16302. * src/HttpDownloadCommand.cc
  16303. (prepareForNextSegment): New function.
  16304. * src/DownloadEngineFactory.cc
  16305. (newConsoleEngine): Removed splitter.
  16306. (newTorrentConsoleEngine): Removed splitter.
  16307. * src/Request.h
  16308. (segment): Renamed from seg.
  16309. * src/FtpInitiateConnectionCommand.h
  16310. (executeInternal): Pass the reference of segment.
  16311. * src/AbstractCommand.h
  16312. (executeInternal): Pass the reference of segment.
  16313. * src/pref.h
  16314. (PREF_SEGMENT_SIZE): New definition.
  16315. * src/HttpProxyRequestCommand.h
  16316. (executeInternal): Pass the reference of segment.
  16317. * src/HttpResponseCommand.cc
  16318. (checkResponse): Allowed status 206 when a request range starts 0.
  16319. (handleDefaultEncoding): Rewritten the code related to Segment.
  16320. (handleOtherEncoding): Rewritten the code related to Segment.
  16321. * src/SegmentMan.h
  16322. (SegmentEntry): New class.
  16323. (SegmentEntries): New type definition.
  16324. (bitfield): New variable.
  16325. (usedSegmentEntries): New variable.
  16326. (onNullBitfield): New function.
  16327. (checkoutSegment): New function.
  16328. (segments): Removed.
  16329. (splitter): Removed.
  16330. (unregisterId): Removed.
  16331. (getSegment): New function(overload)
  16332. (getDownloadedSize): Removed.
  16333. (cancelSegment): New function.
  16334. (completeSegment): New function.
  16335. (initBitfield): New function.
  16336. (hasSegment): New function.
  16337. (getDownloadLength): New function.
  16338. * src/BitfieldMan.h
  16339. (getStartIndex): New function.
  16340. (getEndIndex): New function.
  16341. (getMissingUnusedIndex): New function(overload).
  16342. (getSparseMissingUnusedIndex): New function.
  16343. * src/BitfieldMan.cc
  16344. (getMissingIndexRandomly): Handle the last byte of bitfield properly.
  16345. (getMissingUnusedIndex): New function(overload).
  16346. (Range): New class.
  16347. (getStartIndex): New function.
  16348. (getEndIndex): New function.
  16349. (getSparseMissingUnusedIndex): New function.
  16350. (isBitSetInternal): Return false if the given index is less than 0.
  16351. * src/HttpInitiateConnectionCommand.h
  16352. (executeInternal): Pass the reference of segment.
  16353. * src/FtpNegotiateCommand.h
  16354. (executeInternal): Pass the reference of segment.
  16355. * src/FtpNegotiateCommand.cc
  16356. (recvSize): Initialize bitfield here.
  16357. * src/FtpTunnelResponseCommand.h
  16358. (executeInternal): Pass the reference of segment.
  16359. * src/HttpConnection.cc
  16360. (createRequest): Rewritten range header processing.
  16361. * src/DownloadCommand.h
  16362. (executeInternal): Pass the reference of segment.
  16363. (prepareForRetry): Removed.
  16364. (prepareForNextSegment): Added an argument segment. Made it a virtual
  16365. function.
  16366. * src/main.cc
  16367. (main): Set the initial value of PREF_SEGMENT_SIZE to 1MB.
  16368. * src/SegmentMan.cc
  16369. (SegmentMan): Added bitfield. Removed splitter.
  16370. (~SegmentMan): Added bitfield. Removed splitter.
  16371. (unregisterId): Removed.
  16372. (getSegment): Rewritten.
  16373. (updateSegment): Rewritten.
  16374. (save): Rewritten.
  16375. (read): Rewritten.
  16376. (finished): Rewritten.
  16377. (getDownloadedSize): Removed.
  16378. (initBitfield): New function.
  16379. (FindSegmentEntryByIndex): New function object.
  16380. (FindSegmentEntryByCuid): New function object.
  16381. (checkoutSegment): New function.
  16382. (onNullBitfield): New function.
  16383. (getSegment): New function(overload).
  16384. (CancelSegment): New function object.
  16385. (cancelSegment): New function.
  16386. (completeSegment): New function.
  16387. (hasSegment): New function.
  16388. (getDownloadLength): New function.
  16389. * src/FtpInitiateConnectionCommand.cc
  16390. (executeInternal): Load .aria2 file after hostname resolution finishes.
  16391. * src/Segment.h: Rewritten.
  16392. * src/Segment.cc (operator<<): New function.
  16393. * src/HttpDownloadCommand.h
  16394. (prepareForNextSegment): New function.
  16395. * src/Request.cc
  16396. (resetUrl): Made segment null.
  16397. * src/DownloadEngine.cc
  16398. (~DownloadEngine): Call cleanQueue before deleting segmentMan.
  16399. * src/HttpProxyRequestCommand.h
  16400. (executeInternal): Pass the reference of segment.
  16401. * src/DownloadCommand.cc
  16402. (executeInternal): Rewritten the code related to Segment.
  16403. (prepareForRetry): Removed.
  16404. (prepareForNextSegment): Rewritten.
  16405. * src/FtpTunnelResponseCommand.h
  16406. (executeInternal): Pass the reference of segment.
  16407. To add HTTP 1.1 persistent connection support(experimental)
  16408. * src/HttpRequestCommand.cc
  16409. (executeInternal): Disable keep alive if it is disabled by
  16410. configuration.
  16411. * src/Request.h
  16412. (keepAlive): New variable.
  16413. (isKeepAlive): New function.
  16414. (setKeepAlive): New function.
  16415. * src/pref.h
  16416. (PREF_HTTP_KEEP_ALIVE): New definition.
  16417. * src/HttpResponseCommand.cc
  16418. (executeInternal): Check the remote server supports keep alive.
  16419. * src/HttpConnection.cc
  16420. (createRequest): Send "Connection: close" only if keep alive is
  16421. disabled.
  16422. * src/main.cc
  16423. (main):
  16424. Set the initial value(false) of PREF_KEEP_ALIVE to false.
  16425. To add max download speed limit:
  16426. * src/pref.h
  16427. (PREF_MAX_SPEED_LIMIT): New definition.
  16428. * src/PeerInteractionCommand.cc
  16429. (executeInternal): Added max download speed limit. Not tested yet.
  16430. * src/SegmentMan.h
  16431. (PeerStats): New type definition.
  16432. (peerStats): New variable.
  16433. (registerPeerStat): New function.
  16434. (FindPeerStat): New function object.
  16435. (getPeerStat): New function.
  16436. (calculateDownloadSpeed): New function.
  16437. * src/SpeedCalc.h: New class.
  16438. * src/SpeedCalc.cc: New class.
  16439. * src/main.cc
  16440. (main):
  16441. Set the initial value of PREF_MAX_SPEED_LIMIT to 0(which means the
  16442. download speed is not restricted).
  16443. * src/PeerStat.h: New class.
  16444. * src/SegmentMan.cc
  16445. (registerPeerStat): New function.
  16446. (calculateDownloadSpeed): New function.
  16447. * src/DownloadCommand.cc
  16448. (STARTUP_IDLE_TIME): New definition.
  16449. (DownloadCommand): Register peerStat to segmentMan. Call peerStat->
  16450. downloadStart.
  16451. (~DownloadCommand): Call peerStat->downloadStop.
  16452. (executeInternal): Added download speed limitter. Rewritten lowest
  16453. speed limitter.
  16454. * src/HttpConnection.cc
  16455. (receiveResponse): Fixed: eohIndex[headerBuf] -> headerBuf[eohIndex].
  16456. * src/AbstractCommand.cc
  16457. (resolveHostname): Throw DlAbortEx if a name resolution failes.
  16458. Added hostname to the error message.
  16459. * src/ConsoleDownloadEngine.cc
  16460. (calculateStatistics): Initialize psize with dlSize.
  16461. * src/PieceMessage.cc
  16462. (receivedAction): Do not call peerInteraction->abortPiece here.
  16463. (onGotWrongPiece): Call peerInteraction->abortPiece here.
  16464. * src/BitfieldMan.h
  16465. (clearAllUseBit): New function.
  16466. (setAllUseBit): New function.
  16467. * src/BitfieldMan.cc
  16468. (clearAllBit): Do not clear useBitfield here.
  16469. (clearAllUseBit): New function.
  16470. (setAllUseBit): New function.
  16471. * src/Piece.cc
  16472. (clearAllBlock): Call bitfield->clearAllUseBit().
  16473. 2006-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16474. To make filename URL-decoded:
  16475. * src/HttpResponseCommand.h: Updated doc.
  16476. * src/HttpResponseCommand.cc
  16477. (determinFilename): Made filename URL-decoded.
  16478. * src/FtpInitiateConnectionCommand.cc
  16479. (executeInternal): Made filename URL-decoded.
  16480. * src/Util.h (urldecode): New function.
  16481. * src/Util.cc (urldecode): New function.
  16482. To fix a bug that caused assertion failure in ares_strerror:
  16483. * src/NameResolver.cc (callback): Fixed the bug.
  16484. * Release 0.7.3
  16485. 2006-08-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16486. To add --seed-time and --seed-ratio command-line option:
  16487. * src/Option.h (getAsDouble): New function.
  16488. * src/Option.cc (getAsDouble): New function.
  16489. * src/SeedCheckCommand.h: New class.
  16490. * src/SeedCheckCommand.cc: New class.
  16491. * src/DownloadEngineFactory.cc
  16492. (SeedCheckCommand.h): Included.
  16493. (UnionSeedCriteria.h): Included.
  16494. (TimeSeedCriteria.h): Included.
  16495. (ShareRatioSeedCriteria.h): Included.
  16496. (newTorrentConsoleEngine): Added the processing of seed option.
  16497. * src/SeedCriteria.h: New class.
  16498. * src/ShareRatioSeedCriteria.h: New class.
  16499. * src/TimeSeedCriteria.h: New class.
  16500. * src/UnionSeedCriteria.h: New class.
  16501. * src/prefs.h
  16502. (PREF_SEED_TIME): New definition.
  16503. (PREF_SEED_RATIO): New definition.
  16504. * src/main.cc
  16505. (showUsage): Added --seed-time and --seed-ratio option.
  16506. (main): Added --seed-time and --seed-ratio option.
  16507. Made default log file name "/dev/null".
  16508. * src/SharedHandle.h
  16509. (SharedHandle): Copy constructor. Made it assignable from the
  16510. SharedHandle of the subclasses.
  16511. (operator=): Made it assignable from the SharedHandle of the
  16512. subclasses.
  16513. (getRefCount): New function.
  16514. To add notice log level and the switch to write log to stdout. This
  16515. switch is configurable per log level.
  16516. * src/Logger.h
  16517. (notice): New function.
  16518. (LEVEL): Added NOTICE. Assigned an explicit value to each log level
  16519. constant.
  16520. * src/LogFactory.cc
  16521. (getInstance): The use of NullLogger was removed. A log message with
  16522. notice log level was made written to stdout along with log file.
  16523. * src/NullLogger.h
  16524. (notice): New function.
  16525. * src/SimpleLogger.h
  16526. (writeHeader): Added the 'file' argument.
  16527. (writeLog): Added the 'file' argument.
  16528. (writeFile): New function.
  16529. (stdoutField): New variable.
  16530. (SimpleLogger): Removed the default constructor.
  16531. (SimpleLogger): Made the default value of logfile 0.
  16532. (debug): Added 'virtual' keyword.
  16533. (info): Added 'virtual' keyword.
  16534. (warn): Added 'virtual' keyword.
  16535. (error): Added 'virtual' keyword.
  16536. (notice): New function.
  16537. (setStdout): New function.
  16538. * src/SimpleLogger.cc
  16539. (WRITE_LOG): Replaced writeLog with writeFile.
  16540. (WRITE_LOG_EX): Replaced writeLog with writeFile.
  16541. (SimpleLogger): Removed the default constructor.
  16542. (setStdout): New function.
  16543. (writeLog): Added the handling of NOTICE log level.
  16544. (writeFile): New function.
  16545. (notice): New function.
  16546. * src/TorrentMan.h: Updated doc.
  16547. * src/BitfieldMan.h: Updated doc.
  16548. * src/TrackerWatcherCommand.cc
  16549. (execute): Return true if error occurred in the request to the tracker
  16550. and halt is requested.
  16551. * src/TrackerUpdateCommand.cc
  16552. (execute): Return true if error occurred in the request to the tracker
  16553. and halt is requested.
  16554. To call onDownloadComplete from TorrentMan::completePiece(), not from
  16555. DownloadEngine:
  16556. * src/TorrentConsoleDownloadEngine.h
  16557. (onSelectiveDownloadingCompletes): Removed.
  16558. * src/TorrentConsoleDownloadEngine.cc
  16559. (onSelectiveDownloadingCompletes): Removed.
  16560. * src/TorrentDownloadEngine.h
  16561. (onEndOfRun): Added 'virtual' keyword.
  16562. (afterEachIteration): Removed.
  16563. (onSelectiveDownloadingCompletes): Removed.
  16564. * src/TorrentDownloadEngine.cc
  16565. (onEndOfRun): Removed filenameFixed.
  16566. (afterEachIteration): Removed.
  16567. * src/TorrentMan.cc
  16568. (completePiece): Call onDownloadComplete here.
  16569. (onDownloadComplete): Added 2 log messages.
  16570. 2006-08-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16571. To fix compilation problem on gcc4.1.1(patch#1542283 by tizianomueller)
  16572. * src/NameResolver.h: Added the prototype declaration of callback().
  16573. To support c-ares library:
  16574. * src/AbstractCommand.cc: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16575. * src/FeatureConfig.cc: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16576. * src/FtpInitiateConnectionCommand.h:
  16577. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16578. * src/AbstractCommand.h: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16579. * src/HttpInitiateConnectionCommand.h:
  16580. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16581. * src/NameResolver.cc: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS.
  16582. Added thes upport of c-ares's ares_strerror(the idea came from patch
  16583. #1542285 by tizianomueller)
  16584. * src/HttpInitiateConnectionCommand.cc:
  16585. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16586. * src/FtpInitiateConnectionCommand.cc:
  16587. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16588. * src/DownloadEngine.h:
  16589. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16590. * src/DownloadEngine.cc:
  16591. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16592. To fix the bug that causes compilation failure with metalink-support
  16593. disabled(bug#1543587):
  16594. * src/main.cc: Fixed with the patch by tizianomueller.
  16595. * Release 0.7.2
  16596. 2006-08-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16597. * src/main.cc
  16598. (main): Added a message to inform users that aria2 is starting to
  16599. verify checksum.
  16600. * src/RequestInfo.cc
  16601. (printDownloadAbortMessage): Added a message to inform users that
  16602. transfer can be resumed.
  16603. * src/FeatureConfig.cc
  16604. (FEATURE_ASYNC_DNS): New definition.
  16605. (FeatureConfig): Added aysnc DNS entry.
  16606. To replace CommandUuid with Command* in SocketEntry and
  16607. NameResolverEntry:
  16608. * src/DownloadEngine.h
  16609. (CommandUuids): Removed.
  16610. (SocketEntry::commandUuid): Removed.
  16611. (SocketEntry::command): New variable.
  16612. (SocketEntry::SocketEntry): Updated.
  16613. (SocketEntry::operator==): Updated.
  16614. (NameResolverEntry::commandUuid): Removed.
  16615. (NameResolverEntry::command): New variable.
  16616. (NameResolverEntry::NameResolverEntry): Updated.
  16617. (NameResolverEntry::operator==): Updated.
  16618. (waitData): Changed the argument type.
  16619. (addSocketForReadCheck): Changed the argument type.
  16620. (deleteSocketForReadCheck): Changed the argument type.
  16621. (addSocketForWriteCheck): Changed the argument type.
  16622. (deleteSocketForWriteCheck): Changed the argument type.
  16623. (addNameResolverCheck): Changed the argument type.
  16624. (deleteNameResolverCheck): Changed the argument type.
  16625. * src/DownloadEngine.cc
  16626. (FindCommand): Removed.
  16627. (run): Removed activeUuid. Added activeCommands instead.
  16628. (AccumulateActiveUuid): Renamed as AccumulateActiveCommand.
  16629. (AccumulateActiveCommand): New function object.
  16630. (waitData): Use AccumulateActiveCommand.
  16631. (addSocketForReadCheck): Use Command instead of CommandUuid.
  16632. (deleteSocketForReadCheck): Use Command instead of CommandUuid.
  16633. (addSocketForWriteCheck): Use Command instead of CommandUuid.
  16634. (deleteSocketForWriteCheck): Use Command instead of CommandUuid.
  16635. (addNameResolverCheck): Use Command instead of CommandUuid.
  16636. (deleteNameResolverCheck): Use Command instead of CommandUuid.
  16637. * src/AbstractCommand.cc
  16638. (disableReadCheckSocket): Updated according to the changes in
  16639. DownloadEngine.
  16640. (setReadCheckSocket): Updated according to the changes in
  16641. DownloadEngine.
  16642. (disableWriteCheckSocket): Updated according to the changes in
  16643. DownloadEngine.
  16644. (setWriteCheckSocket): Updated according to the changes in
  16645. DownloadEngine.
  16646. (setNameResolverCheck): Updated according to the changes in
  16647. DownloadEngine.
  16648. (disableNameResolverCheck): Updated according to the changes in
  16649. DownloadEngine.
  16650. * src/AbstractCommand.cc
  16651. (disableReadCheckSocket): Updated according to the changes in
  16652. DownloadEngine.
  16653. (setReadCheckSocket): Updated according to the changes in
  16654. DownloadEngine.
  16655. (disableWriteCheckSocket): Updated according to the changes in
  16656. DownloadEngine.
  16657. (setWriteCheckSocket): Updated according to the changes in
  16658. DownloadEngine.
  16659. * release 0.7.1
  16660. 2006-08-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16661. To handle the case where some BitTorrent tracker requires all letters
  16662. except for [A-Za-z0-9] is URL encoded.
  16663. * src/Util.h
  16664. (torrentUrlencode): New function.
  16665. * src/Util.cc
  16666. (ctype.h): Included.
  16667. (torrentUrlencode): New function.
  16668. * src/TrackerWatcherCommand.cc
  16669. (execute): Use Util::torrentUrlencode() instead of Util::urlencode().
  16670. 2006-08-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16671. To add asynchronous DNS support(libares):
  16672. * src/AbstractCommand.h
  16673. (setNameResolverCheck): New function.
  16674. (disableNameResolverCheck): New function
  16675. (resolveHostname): New function.
  16676. * src/AbstractCommand.cc
  16677. (setNameResolverCheck): New function.
  16678. (disableNameResolverCheck): New function
  16679. (resolveHostname): New function.
  16680. * src/FtpInitiateConnectionCommand.h
  16681. (nameResolver): New function.
  16682. * src/FtpInitiateConnectionCommand.cc
  16683. (Util.h): Included.
  16684. (FtpInitiateConnectionCommand): Call disableReadCheckSocket,
  16685. disableWriteCheckSocket.
  16686. (~FtpInitiateConnectionCommand): Call disableNameResolverCheck.
  16687. (executeInternal): Added async DNS support.
  16688. * src/HttpInitiateConnectionCommand.h
  16689. (nameResolver): New function.
  16690. * src/HttpInitiateConnectionCommand.cc
  16691. (DlRetryEx.h): Included.
  16692. (HttpInitiateConnectionCommand): Call disableReadCheckSocket,
  16693. disableWriteCheckSocket.
  16694. (~HttpInitiateConnectionCommand): Call disableNameResolverCheck.
  16695. (executeInternal): Added async DNS support.
  16696. * src/NameResolver.h: New class. Note: #include <ares.h> is surrounded
  16697. by extern "C" declaration.
  16698. * src/NameResolver.cc: New class.
  16699. * src/Util.h:
  16700. (isNumberAndDotsNotation): New function
  16701. * src/Util.cc
  16702. (isNumberAndDotsNotation): New function.
  16703. * src/DownloadEngine.h
  16704. (NameResolver.h): Included.
  16705. (NameResolverEntry): New class.
  16706. (NameResolverEntries): New type definition.
  16707. (addNameResolverCheck): New function.
  16708. (deleteNameResolverCheck): New function.
  16709. * src/DownloadEngine.cc
  16710. (run): Initialize cp with 0.
  16711. (SetDescriptor::operator()): Added for NameResolverEntry.
  16712. (AccumulateActiveUuid::operator()): Added for NameResolverEntry.
  16713. (waitData): Check nameResolver entries.
  16714. (updateFdSet): Update fds in nameResolver entries.
  16715. (addNameResolverCheck): New function.
  16716. (deleteNameResolverCheck): new function.
  16717. * src/PeerInteractionCommand.cc
  16718. (executeInternal): Fixed wrong socket handling.
  16719. * src/main.cc
  16720. (main): Fixed the initial value of PREF_LOWEST_SPEED_LIMIT option to 0.
  16721. * src/Util.cc
  16722. (fileChecksum): Removed the call to ctx.digestReset().
  16723. 2006-08-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16724. * po/ru.po: Azamat sent me Russian translation.
  16725. * src/FtpNegotiateCommand.cc
  16726. (recvGreeting): Call disableWriteCheckSocket just after
  16727. socket->setBlockingMode(). This avoids unnecessary CPU-hog loop.
  16728. (recvRetr): Recognized status code 125 as a acceptable response code.
  16729. Rename Time.h to TimeA2.h to avoid compilation ploblem on
  16730. case-insesitive filesystem(BUG#1531057).
  16731. * src/Time.h: Renamed as TimeA2.h.
  16732. * src/Time.cc: Renamed as TimeA2.cc.
  16733. * src/TimeA2.h: New class.
  16734. * src/TimeA2.cc: New class.
  16735. * src/PeerChokeCommand.h: Replaced Time.h with TimeA2.h.
  16736. * src/TrackerWatcherCommand.h: Replaced Time.h with TimeA2.h.
  16737. * src/PeerAbstractCommand.h: Replaced Time.h with TimeA2.h.
  16738. * src/AbstractCommand.h: Replaced Time.h with TimeA2.h.
  16739. * src/PeerInteractionCommand.h: Replaced Time.h with TimeA2.h.
  16740. * src/ConsoleDownloadEngine.h: Replaced Time.h with TimeA2.h.
  16741. * src/TorrentAutoSaveCommand.h: Replaced Time.h with TimeA2.h.
  16742. * src/DownloadCommand.h: Replaced Time.h with TimeA2.h.
  16743. * src/TorrentMan.h: Replaced Time.h with TimeA2.h.
  16744. * src/TorrentDownloadEngine.h: Replaced Time.h with TimeA2.h.
  16745. * src/RequestSlot.h: Replaced Time.h with TimeA2.h.
  16746. * src/SleepCommand.h: Replaced Time.h with TimeA2.h.
  16747. * src/DownloadEngine.cc: Replaced Time.h with TimeA2.h.
  16748. * release 0.7.0
  16749. 2006-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16750. * src/PeerChokeCommand.h
  16751. (PeerChokeCommand): Rearranged the arguments.
  16752. * src/PeerChokeCommand.cc
  16753. (PeerChokeCommand): Rearranged the arguments.
  16754. * src/MetalinkEntry.h
  16755. (Checksum.h): Included.
  16756. (md5): Removed.
  16757. (sha1): Removed.
  16758. (checksum): New variable.
  16759. (operator=): Updated.
  16760. (check): Removed.
  16761. * src/prefs.h
  16762. (PREF_LOWEST_SPEED_LIMIT): New definition.
  16763. (PREF_FOLLOW_TORRENT): New definition.
  16764. (PREF_SELECT_FILE): New definition.
  16765. (PREF_FOLLOW_METALINK): New definition.
  16766. * src/MetalinkResource.h
  16767. (TYPE_HTTPS): Added to enum TYPE.
  16768. * src/TorrentMan.cc
  16769. (~TorrentMan): Rewritten.
  16770. * src/MultiDiskWriter.cc
  16771. (MultiDiskAdaptor): Updated according to the changes in
  16772. MessageDigestContext.
  16773. (~MultiDiskAdaptor): Updated according to the changes in
  16774. MessageDigestContext.
  16775. (hashUpdate): Updated according to the changes in MessageDigestContext.
  16776. (sha1Sum): Updated according to the changes in MessageDigestContext.
  16777. * src/Util.h
  16778. (fileChecksum): Updated according to the changes in
  16779. MessageDigestContext.
  16780. * src/Util.cc
  16781. (sha1Sum): Updated according to the changes in MessageDigestContext.
  16782. (fileChecksum): Updated according to the changes in
  16783. MessageDigestContext.
  16784. * src/messageDigest.h: Rewritten.
  16785. * src/MetalinkEntry.cc
  16786. (check): Removed.
  16787. (Supported): Updated.
  16788. (dropUnsupportedResource): Fixed a memory leak.
  16789. * src/ShaVisitor.cc
  16790. (ShaVisitor): Updated according to the changes in MessageDigestContext.
  16791. (~ShaVisitor): Updated according to the changes in
  16792. MessageDigestContext.
  16793. (visit): Updated according to the changes in MessageDigestContext.
  16794. * src/main.cc
  16795. (main): Rewritten the portion of download loop. --lowest-speed-limit
  16796. command-line option added.
  16797. * src/DownloadEngine.h
  16798. (SocketEntry): New class.
  16799. (SocketEntries): New definition.
  16800. (PairFind): Removed.
  16801. (SockCmdMap): Removed.
  16802. * src/DownloadEngine.cc
  16803. (DownloadEngine): Rewritten.
  16804. (~DownloadEngine): Rewritten.
  16805. (run): Renamed activeCommandUuids as activeUuids.
  16806. (SetDescriptor): Rewritten.
  16807. (AccumulateActiveCommandUuid): Removed.
  16808. (AccumulateActiveUuid): New function object.
  16809. (waitData): Rewritten.
  16810. (updateFdSet): Rewritten.
  16811. (addSocket): Rewritten.
  16812. (deleteSocket): Rewritten.
  16813. (addSocketForReadCheck): Rewritten.
  16814. (deleteSocketForReadCheck): Rewritten.
  16815. (addSocketForWriteCheck): Rewritten.
  16816. (deleteSocketForWriteCheck): Rewritten.
  16817. * src/Xml2MetalinkProcessor.cc
  16818. (getEntry): Rewritten the portion of MetalinkEntry creation.
  16819. * src/DownloadCommand.cc
  16820. (executeInternal): Added the check routine for lowest speed limit.
  16821. * src/AbstractDiskWriter.cc
  16822. (AbstractDiskWriter): Updated according to the changes in
  16823. MessageDigestContext.
  16824. (~AbstractDiskWriter): Updated according to the changes in
  16825. MessageDigestContext.
  16826. (sha1Sum): Updated according to the changes in MessageDigestContext.
  16827. * src/RequestInfo.h: New class.
  16828. * src/UrlRequestInfo.h: New class.
  16829. * src/UrlRequestInfo.cc: New class.
  16830. * src/TorrentRequestInfo.h: New class.
  16831. * src/TorrentRequestInfo.cc: New class.
  16832. * src/MetalinkRequestInfo.h: New class.
  16833. * src/MetalinkRequestInfo.cc: New class.
  16834. * src/Checksum.h: New class.
  16835. * src/DownloadEngineFactory.h: New class.
  16836. * src/DownloadEngineFactory.cc: New class.
  16837. 2006-08-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16838. * src/Option.h
  16839. (getAsBool): New function.
  16840. * src/Option.cc
  16841. (prefs.h): Included.
  16842. (defined): 0-length value is now recognized as undefined.
  16843. (getAsInt): Rewritten.
  16844. (getAsLLInt): Rewritten.
  16845. (getAsBool): New function.
  16846. * src/FeatureConfig.h: Rewritten.
  16847. * src/FeatureConfig.cc: Rewritten.
  16848. * src/prefs.h
  16849. (PREF_STDOUT_LOG): New definition.
  16850. (PREF_LOG): New definition.
  16851. (PREF_DIR): New definition.
  16852. (PREF_OUT): New definition.
  16853. (PREF_SPLIT): New definition.
  16854. (PREF_DAEMON): New definition.
  16855. (PREF_REFERER): New definition.
  16856. (PREF_TORRENT_FILE): New definition.
  16857. (PREF_LISTEN_PORT): New definition.
  16858. (PREF_METALINK_FILE): New definition.
  16859. (PREF_METALINK_VERSION): New definition.
  16860. (PREF_METALINK_LANGUAGE): New definition.
  16861. (PREF_METALINK_OS): New definition.
  16862. (PREF_METALINK_SERVERS): New definition.
  16863. * src/main.cc
  16864. (main): Following command-line parameters are now put into Option
  16865. class: stdoutLog, logfile, dir, ufilename, split, daemonMode,
  16866. referer, torrentFile, metalinkFile, listenPort, metalinkVersion,
  16867. metalinkLanguage, metalinkOs, metalinkServers
  16868. To fix the bug that aria2 can not handle http response header properly.
  16869. * src/HttpHeader.cc
  16870. (put): Made name lowercased.
  16871. (defined): Made name lowercased.
  16872. (getFirst): Made name lowercased.
  16873. (get): Made name lowercased.
  16874. (getFirstAsInt): Rewritten.
  16875. (getFirstAsLLInt): Rewritten.
  16876. 2006-07-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16877. * src/TorrentMan.h:
  16878. (advertisePiece): Updated doc.
  16879. (getAdvertisedPieceIndexes): Updated doc.
  16880. (removeAdvertisedPiece); New function.
  16881. * src/TorrentMan.cc
  16882. (FindElapsedHave): New function object.
  16883. (removeAdvertisedPiece): New function.
  16884. * src/HaveEraseCommand.h: New class.
  16885. * src/HaveEraseCommand.cc: New class.
  16886. * src/FeatureConfig.h: New class.
  16887. * src/FeatureConfig.cc: New class.
  16888. * src/Request.h
  16889. (defaultPorts): Removed.
  16890. * src/Request.cc
  16891. (FeatureConfig.h): Included.
  16892. (Request): Removed the statements related to defaultPorts.
  16893. (parseUrl): Removed metalinkEnabled. Use FeatureConfig instead.
  16894. A default port number is now retrieved from FeatureConfig.
  16895. * src/main.cc
  16896. (HaveEraseCommand.h): Included.
  16897. (showVersion): Added the output of feature list.
  16898. (main): Added HaveEraseCommand to command queue in BitTorrent
  16899. downloading.
  16900. * src/PeerInteractionCommand.h
  16901. (chokeCheckPoint): Commented out.
  16902. (periodicExecPoint): New variable.
  16903. * src/PeerInteractionCommand.cc
  16904. (executeInternal): Following methods are now called in at least every
  16905. 0.5 seconds to reduce CPU usage:
  16906. detectMessageFlooding(), peerInteraction->checkRequestSlot(),
  16907. checkHave(), sendKeepAlive().
  16908. (checkLongTimePeerChoking): Commented out.
  16909. * src/BitfieldMan.h
  16910. (getNthBitIndex): Changed the method signature.
  16911. (getMissingIndexRandomly): Changed the method signature.
  16912. * src/BitfieldMan.cc
  16913. (getNthBitIndex): Rewritten
  16914. (getMissingIndexRandomly): Rewritten.
  16915. (hasMissingPiece): Rewritten.
  16916. (getMissingIndex): Refactored.
  16917. (getMissingUnusedIndex); Refactored.
  16918. (getMissingIndex): Refactored.
  16919. 2006-07-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16920. * src/PeerMessage.h
  16921. (Piece.h): Included.
  16922. (SharedHandle.h): Included.
  16923. (invalidate): New variable.
  16924. (uploading): New variable.
  16925. (isInvalidate): New function.
  16926. (isUploading): New function.
  16927. (onPush): New function.
  16928. (onChoked): New function.
  16929. (onCanceled): New function.
  16930. (onAbortPiece): New function.
  16931. (PeerMessageHandle): New type definition.
  16932. * src/PeerMessage.cc
  16933. (PeerMessage): Added the initialization for invalidate and uploading.
  16934. * src/CancelMessage.h
  16935. (CancelMessage): Rewritten.
  16936. * src/RejectMessage.h
  16937. (RejectMessage): Rewritten.
  16938. * src/Metalinker.h
  16939. (operator=): Defined.
  16940. * src/MetaEntry.h
  16941. (operator=): Defined.
  16942. * src/MetalinkResource.h
  16943. (operator=): Defined.
  16944. * src/AllowedFastMessage.h
  16945. (AllowedFastMessage): Rewritten.
  16946. * src/HandshakeMessage.h
  16947. (HandshakeMessage): New function(overload).
  16948. * src/HandshakeMessage.cc
  16949. (HandshakeMessage): Rewritten.
  16950. (init): New function.
  16951. * src/HaveMessage.h
  16952. (HaveMessage): Rewritten.
  16953. * src/Time.h
  16954. (operator=): Defined the function body here.
  16955. * src/Time.cc
  16956. (operator=): Removed.
  16957. * src/SocketCore.h
  16958. (operator==): Defined here.
  16959. (operator!=): Defined here.
  16960. (operator<): Defined here.
  16961. * src/SocketCore.cc
  16962. (operator==): Removed.
  16963. (operator<): Removed.
  16964. * src/BitfieldMan.h
  16965. (operator=): Defined the function body here.
  16966. * src/BitfieldMan.cc
  16967. (operator=): Removed.
  16968. * src/TorrentMan.h
  16969. (deleteErrorPeer): Removed.
  16970. (deleteUnusedPeer); New function.
  16971. * src/TorrentMan.cc
  16972. (addPeer): Call deleteUnusedPeer.
  16973. (deleteErrorPeer): Removed.
  16974. (deleteUnusedPeer): New function.
  16975. * src/PeerAbstractCommand.h
  16976. (setNoCheck): New function.
  16977. (noCheck): New variable.
  16978. * src/PeerAbstractCommand.cc
  16979. (PeerAbstractCommand): Added the initialization of noCheck.
  16980. (execute): Added a check for noCheck.
  16981. (setNoCheck): New function.
  16982. * src/Util.h
  16983. (stdio.h): Included.
  16984. * src/Util.cc
  16985. (unistd.h): Included.
  16986. * src/DefaultDiskWriter.cc
  16987. (unistd.h): Included.
  16988. * src/Peer.h
  16989. (operator==): Defined the function body here.
  16990. (operator!=): Defined the function body here.
  16991. * src/Peer.cc
  16992. (operator==): Removed.
  16993. (operator!=): Removed.
  16994. * src/Piece.h
  16995. (Piece): Defined the function body here(copy constructor).
  16996. (operator=): Defined the function body here.
  16997. (operator==): Defined the function body here.
  16998. * src/Piece.cc
  16999. (Piece): Removed(copy constructor).
  17000. (operator=): Removed.
  17001. (operator==): Removed.
  17002. * src/PeerMessageUtil.h
  17003. (ChokeMessage.h): Removed.
  17004. (UnchokeMessage.h): Removed.
  17005. (InterestedMessage.h): Removed.
  17006. (NotInterestedMessage.h): Removed.
  17007. (HaveMessage.h): Removed.
  17008. (BitfieldMessage.h): Removed.
  17009. (RequestMessage.h): Removed.
  17010. (CancelMessage.h): Removed.
  17011. (PieceMessage.h): Removed.
  17012. (HandshakeMessage.h): Removed.
  17013. (KeepAliveMessage.h): Removed.
  17014. (PortMessage.h): Removed.
  17015. (HaveAllMessage.h): Removed.
  17016. (HaveNoneMessage.h): Removed.
  17017. (PeerConnection.h): Removed.
  17018. (HandshakeMessage.h): Included.
  17019. * src/BitfieldMessage.h
  17020. (init): New function.
  17021. (BitfieldMessage): Rewritten.
  17022. (BitfieldMessage): New function(overload).
  17023. * src/RequestSlot.h
  17024. (operator=): Defined the function body here.
  17025. (operator==): Defined the function body here.
  17026. * src/RequestSlot.cc
  17027. (operator=): Removed.
  17028. (operator==): Removed.
  17029. To remove the dependency on the PeerMessage subclass from
  17030. PeerInteraction:
  17031. * src/PeerMessageFactory.h: New class.
  17032. * src/PeerMessageFactory.cc: New class.
  17033. * src/SimplePeerMessage.cc
  17034. (send): If invalidate is true then do nothing.
  17035. * src/PeerInteractionCommand.cc
  17036. (HandshakeMessage.h): Included.
  17037. (KeepAliveMessage.h): Included.
  17038. (ChokeMessage.h): Included.
  17039. (UnchokeMessage.h): Included.
  17040. (HaveMessage.h): Included.
  17041. (executeInternal): Call setNoCheck().
  17042. Removed setWriteCheckSocket(socket).
  17043. * src/PeerInteraction.h
  17044. (ChokeMessage.h): Removed.
  17045. (UnchokeMessage.h): Removed.
  17046. (InterestedMessage.h): Removed.
  17047. (NotInterestedMessage.h): Removed.
  17048. (HaveMessage.h): Removed.
  17049. (BitfieldMessage.h): Removed.
  17050. (RequestMessage.h): Removed.
  17051. (CancelMessage.h): Removed.
  17052. (PieceMessage.h): Removed.
  17053. (HandshakeMessage.h): Removed.
  17054. (KeepAliveMessage.h): Removed.
  17055. (PortMessage.h): Removed.
  17056. (HaveAllMessage.h): Removed.
  17057. (HaveNoneMessage.h): Removed.
  17058. (RejectMessage.h): Removed.
  17059. (AllowedFastMessage.h): Removed.
  17060. (SuggestPieceMessage.h): Removed.
  17061. (PeerMessageFactory.h): Included.
  17062. (PeerMessageHandle): Removed typedef of PeerMessageHandle.
  17063. (HandshakeMessageHandle): Removed typedef of HandshakeMessageHandle.
  17064. (PeerMessageFactory): New variable.
  17065. (createPeerMessage): Removed.
  17066. (createHandshakeMessage): Removed.
  17067. (setPeerMessageCommonProperty): Removed.
  17068. (addRequestSlot): New function.
  17069. (receiveHandshake): Changed the return value type to PeerMessageHandle.
  17070. (getPeerMessageFactory): New function.
  17071. (createRequestMessage): Removed.
  17072. (createCancelMessage): Removed.
  17073. (createPieceMessage): Removed.
  17074. (createHaveMessage): Removed.
  17075. (createChokeMessage): Removed.
  17076. (createUnchokeMessage): Removed.
  17077. (createInterestedMessage): Removed.
  17078. (createNotInterestedMessage): Removed.
  17079. (createBitfieldMessage): Removed.
  17080. (createKeepAliveMessage): Removed.
  17081. (createHaveAllMessage): Removed.
  17082. (createHaveNoneMessage): Removed.
  17083. (createRejectMessage): Removed.
  17084. (createAllowedFastMessage): Removed.
  17085. * src/PeerInteraction.cc
  17086. (PeerInteraction): Allocate PeerMessageFactory here.
  17087. (~PeerInteraction): Deallocate PeerMessageFactory here.
  17088. (sendMessages): Use msg->isUploading() instead of msg->getId() ==
  17089. PieceMessage::ID.
  17090. (addMessage): Simplified by using PeerMessage::onPush().
  17091. (addRequestSlot): New function.
  17092. (rejectAllPieceMessageInQueue): Simplified by using
  17093. PeerMessage::onChoked().
  17094. (rejectPieceMessageInQueue): Simplified by using
  17095. PeerMessage::onCanceled().
  17096. (abortPiece): Simplified by using PeerMessage::abortPiece().
  17097. (receiveHandshake): Changed the return value type to PeerMessageHandle.
  17098. (createHandshakeMessage): Removed.
  17099. (createPeerMessage): Removed.
  17100. (sendHandshake): Call PeerMessageFactory::createHandshakeMessage().
  17101. (setPeerMessageCommonProperty): Removed.
  17102. (createRequestMessage): Removed.
  17103. (createCancelMessage): Removed.
  17104. (createPieceMessage): Removed.
  17105. (createHaveMessage): Removed.
  17106. (createChokeMessage): Removed.
  17107. (createUnchokeMessage): Removed.
  17108. (createInterestedMessage): Removed.
  17109. (createNotInterestedMessage): Removed.
  17110. (createBitfieldMessage): Removed.
  17111. (createKeepAliveMessage): Removed.
  17112. (createHaveAllMessage): Removed.
  17113. (createHaveNoneMessage): Removed.
  17114. (createRejectMessage): Removed.
  17115. (createAllowedFastMessage): Removed.
  17116. * src/PieceMessage.h
  17117. (createRejectMessage): New function.
  17118. (PieceMessage): Rewritten.
  17119. (onChoked): New function.
  17120. (onCanceled): New function.
  17121. * src/PieceMessage.cc
  17122. (send): If invalidate is true then do nothing, just return.
  17123. (createRejectMessage): New function.
  17124. (onChoked): New function.
  17125. (onCanceled): New function.
  17126. * src/RequestMessage.h
  17127. (RequestMessage): Rewritten.
  17128. (onPush): New function.
  17129. (onAbortPiece): New function.
  17130. * src/RequestMessage.cc
  17131. (onPush): New function.
  17132. (onAbortPiece): New function.
  17133. Update fd_set when a socket is added or deleted in order to improve
  17134. performance:
  17135. * src/DownloadEngine.h
  17136. (rfdset): New variable.
  17137. (wfdset): New variable.
  17138. (updateFdSet): New function.
  17139. * src/DownloadEngine.cc
  17140. (SetDescriptor::operator()): Use SockCmdMap::value_type.
  17141. (AccumulateActiveCommandUuid::operator()): Use SockCmdMap::value_type.
  17142. (waitData): Copy rfdset and wfdset.
  17143. (updateFdSet): New function.
  17144. (addSocket): Call updateFdSet.
  17145. (deleteSocket): Call updateFdSet.
  17146. 2006-07-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17147. To add the support for Metalink3.0 backward compatible links:
  17148. * src/Request.h
  17149. (SAFE_CHARS): Added '#'.
  17150. (METALINK_MARK): New definition.
  17151. * src/Request.cc
  17152. (parseUrl): Added the support for Metalink3.0 backward compatible
  17153. links.
  17154. etc
  17155. * src/PeerInteraction.cc
  17156. (MsgPushBack): Removed.
  17157. (sendMessages): Use STL copy and back_inserter.
  17158. (rejectAllPieceMessageInQueue): Use STL copy and back_inserter.
  17159. (rejectPieceMessageInQueue): Use STL copy and back_inserter.
  17160. * src/TorrentMan.h
  17161. (MAX_PEER_LIST_SIZE): Changed to 100 from 250.
  17162. 2006-07-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17163. * src/SharedHandle.h: New class.
  17164. To wrap Socket, Command, PeerMessage and Peer with SharedHandle:
  17165. * src/HttpResponseCommand.h
  17166. (HttpResponseCommand): Wrapped Socket.
  17167. * src/SocketCore.h
  17168. (operator==): New function.
  17169. (operator!=): New function.
  17170. (operator<): New function.
  17171. (getSockfd): New function.
  17172. (isOpen): New function.
  17173. (writeData): New function.
  17174. * src/SocketCore.cc
  17175. (operator==): New function.
  17176. (operator!=): New function.
  17177. (operator<): New function.
  17178. * src/AbstractCommand.h
  17179. (socket): Changed its type to SocketHandle.
  17180. (setReadCheckSocket): Replaced Socket with SocketHandle.
  17181. (setWriteCheckSocket): Replaced Socket with SocketHandle.
  17182. (disableReadCheckSocket): New function.
  17183. (disableWriteCheckSocket): New function.
  17184. (readCheckTarget): Changed its type to SocketHandle.
  17185. (writeCheckTarget): Changed its type to SocketHandle.
  17186. (AbstractCommand): Replaced Socket with SocketHandle.
  17187. * src/AbstractCommand.cc
  17188. (AbstractCommand): Replaced Socket with SocketHandle.
  17189. (~AbstractCommand): Removed the deallocation for Socket object.
  17190. (disableReadCheckSocket): New function.
  17191. (setReadCheckSocket): Replaced Socket with SocketHandle.
  17192. (disableWriteCheckSocket): New function.
  17193. (setWriteCheckSocket): Replaced Socket with SocketHandle.
  17194. * src/HttpDownloadCommand.cc
  17195. (DownloadCommand): Replaced Socket with SocketHandle.
  17196. * src/PeerAbstractCommand.h
  17197. (socket): Changed its type to SocketHandle.
  17198. (peer): Changed its type to PeerHandle.
  17199. (setReadCheckSocket): Replaced Socket with SocketHandle.
  17200. (setWriteCheckSocket): Replaced Socket with SocketHandle.
  17201. (disableReadCheckSocket): New function.
  17202. (disableWriteCheckSocket): New function.
  17203. (readCheckTarget): Changed its type to SocketHandle.
  17204. (writeCheckTarget): Changed its type to SocketHandle.
  17205. (PeerAbstractCommand): Replaced Socket with SocketHandle.
  17206. Replaced Peer with PeerHandle.
  17207. * src/HttpRequestCommand.cc
  17208. (HttpRequestCommand): Replaced Socket with SocketHandle.
  17209. Use disableReadCheckSocket.
  17210. * src/PeerInitiateConnectionCommand.h
  17211. (PeerInitiateConnectionCommand): Replaced Peer with PeerHandle.
  17212. * src/PeerChokeCommand.cc
  17213. (UploadFaster::operator()): Replaced Peer with PeerHandle.
  17214. (DownloadFaster::operator()): Replaced Peer with PeerHandle.
  17215. (execute): Use PeerHandle.
  17216. * src/PeerConnection.h
  17217. (HandshakeMessage.h): Removed include of HandshakeMessage.h.
  17218. (socket): Changed its type to SocketHandle.
  17219. (PeerConnection): Replaced Socket with SocketHandle.
  17220. * src/PeerConnection.cc
  17221. (PeerConnection): Replaced Socket with SocketHandle.
  17222. * src/PeerInteractionCommand.h
  17223. (PeerInteractionCommand): Replaced socket with SocketHandle.
  17224. Replaced Peer with PeerHandle.
  17225. * src/PeerInteractionCommand.cc
  17226. (PeerInteractionCommand): Replaced Socket with SocketHandle.
  17227. Replaced Peer with PeerHandle.
  17228. (executeInternal): Use disableWriteCheckSocket.
  17229. Use HandshakeMessageHandle.
  17230. (receiveMessages): Use PeerMessageHandle.
  17231. (prepareForNextPeer): Use PeerHandle.
  17232. * src/HttpProxyRequestCommand.h
  17233. (HttpProxyRequestCommand): Replaced Socket with SocketHandle.
  17234. * src/HttpResponseCommand.cc
  17235. (HttpResponseCommand): Replaced Socket with SocketHandle.
  17236. * src/TorrentMan.cc
  17237. (nullPeer): Added external reference.
  17238. (~TorrentMan): Removed the deallocation of the elements of peers.
  17239. (addPeer): Rewritten.
  17240. (isPeerAvailable): Use nullPeer.
  17241. (deleteOldpeers): Replaced with deleteErrorPeer.
  17242. (deleteErrorPeer): New function.
  17243. (getPeer): Use PeerHandle and nullPeer.
  17244. (hasMissingPiece): Replaced Peer with PeerHandle.
  17245. (getMissingPieceIndex): Replaced Peer with PeerHandle.
  17246. (getMissingFastPieceIndex): Replaced Peer with PeerHandle.
  17247. (getMissingFastPiece): Replaced Peer with PeerHandle.
  17248. (getMissingPiece): Replaced Peer with PeerHandle.
  17249. * src/FtpNegotiateCommand.cc
  17250. (FtpNegotiationCommand): Replaced Peer with PeerHandle.
  17251. (~FtpNegotiationCommand): Removed the deallocation of Sockets.
  17252. (recvGreeting): Use disableWriteCheckSocket.
  17253. (recvPasv): Removed the allocation of Socket.
  17254. Use disableReadCheckSocket.
  17255. (sendRestPasv): Use disableWriteCheckSocket.
  17256. (recvRetr): Changed assertion.
  17257. * src/PeerInteraction.h
  17258. (SharedHandle.h): Included SharedHandle.h.
  17259. (PeerMessageHandle): New type definition.
  17260. (HandshakeMessageHandle): New type definition.
  17261. (MessageQueue): Changed. Now its element is of type PeerMessageHandle.
  17262. (peer): Changed its type to PeerHandle.
  17263. (createHandshakeMessage): Replaced HandshakeMessage with
  17264. HandshakeMessageHandle.
  17265. (createPeerMessage): Replaced PeerMessageHandle with PeerMessage.
  17266. (PeerInteraction): Replaced Peer with PeerHandle.
  17267. Replaced Socket with SocketHandle.
  17268. (addMessage): Replaced PeerMessage with PeerMessageHandle.
  17269. (receiveMessage): Replaced PeerMessage with PeerMessageHandle.
  17270. (receiveHandshake): Replaced HandshakeMessage with
  17271. HandshakeMessageHandle.
  17272. * src/PeerInteraction.cc
  17273. (PeerInteraction): Replaced Peer with PeerHandle.
  17274. Replaced Socket with SocketHandle.
  17275. (~PeerInteraction): Removed the deallocation of the elements of
  17276. messageQueue.
  17277. (MsgPushBack::operator()): Replaced PeerMessage with PeerMessageHandle.
  17278. (isSendingMessageInProgress): Replaced PeerMessage with
  17279. PeerMessageHandle.
  17280. (sendMessages): Use PeerMessageHandle. Removed try-catch block.
  17281. (addMessage): Replaced PeerMessage with PeerMessageHandle.
  17282. (rejectAllPieceMessageInQueue): Use PeerMessageHandle.
  17283. (rejectPieceMessageInQueue): Use PeerMessageHandle.
  17284. (abortPiece): Use PeerMessageHandle.
  17285. (receiveHandshake): Replaced HandshakeMessage with
  17286. HandshakeMessageHandle. Removed try-catch block.
  17287. (createHandshakeMessage): Replaced HandshakeMessage with
  17288. HandshakeMessageHandle.
  17289. (receiveMessage): Replaced PeerMessage with PeerMessageHandle.
  17290. Removed try-catch block.
  17291. (createPeerMessage): Replaced PeerMessage with PeerMessageHandle.
  17292. * src/HttpProxyResponseCommand.cc
  17293. (HttpProxyRequestCommand): Replaced Socket with SocketHandle.
  17294. * src/FtpTunnelResponseCommand.h
  17295. (FtpTunnelResponseCommand): Replaced Socket with SocketHandle.
  17296. * src/HttpConnection.cc
  17297. (HttpConnection): Replaced Socket with SocketHandle.
  17298. * src/PeerAbstractCommand.cc
  17299. (PeerAbstractCommand): Replaced Socket with SocketHandle.
  17300. (~PeerAbstractCommand): Removed the deallocation of socket.
  17301. Use disableReadCheckSocket, disableWriteCheckSocket.
  17302. (disableReadCheckSocket): New function.
  17303. (setReadCheckSocket): Replaced Socket with SocketHandle.
  17304. (disableWriteCheckSocket): New function.
  17305. (setWriteCheckSocket): Replaced Socket with SocketHandle.
  17306. * src/InitiateConnectionCommandFactory.h: Corrected indentation.
  17307. * src/FtpTunnelRequestCommand.cc
  17308. (FtpTunnelRequestCommand): Replaced Socket with SocketHandle.
  17309. (~FtpTunnelRequestCommand): Corrected indentation.
  17310. * src/DownloadCommand.h
  17311. (DownloadCommand): Replaced Socket with SocketHandle.
  17312. * src/PeerListenCommand.cc
  17313. (PeerListenCommand): Removed the initialization of socket.
  17314. (~PeerListenCommand): Removed the deallocation of socket.
  17315. (bindPort): Use SocketHandle.
  17316. (execute): Use SocketHandle and PeerHandle.
  17317. * src/FtpDowndloadCommand.cc
  17318. (FtpDownloadCommand): Replaced Socket with SocketHandle.
  17319. (~FtpDownloadCommand): Removed the deallocation of ctrlSocket.
  17320. * src/main.cc
  17321. (main): Corrected indentation.
  17322. * src/HttpInitiateConnectionCommand.cc
  17323. (HttpInitiateConnectionCommand): Replaced Socket with SocketHandle.
  17324. (executeInternal): Removed the allocation of socket.
  17325. * src/HttpRequestCommand.h
  17326. (HttpRequestCommand): Replaced Socket with SocketHandle.
  17327. * src/FtpNegotiationCommand.h
  17328. (dataSocket): Changed its type to SocketHandle.
  17329. (serverSocket): Changed its type to SocketHandle.
  17330. (FtpNegotiationCommand): Replaced Socket with SocketHandle.
  17331. * src/TorrentMan.h
  17332. (MAX_PEER_UPDATE): Removed.
  17333. (MAX_PEERS): New definition.
  17334. (Peers): The element is now of type PeerHandle.
  17335. (addPeer): Replaced Peer with PeerHandle. Removed 'duplicate' argument.
  17336. (getPeer): Replaced Peer with PeerHandle.
  17337. (deleteOldErrorPeers): Removed.
  17338. (deleteErrorPeer): New function.
  17339. (hasMissingPiece): Replaced Peer with PeerHandle.
  17340. (getMissingPieceIndex): Replaced Peer with PeerHandle.
  17341. (getMissingPiece): Replaced Peer with PeerHandle.
  17342. (getMissingFastPieceIndex): Replaced Peer with PeerHandle.
  17343. (getMissingFastPiece): Replaced Peer with PeerHandle.
  17344. (addActivePeer): Replaced Peer with PeerHandle.
  17345. (deleteActivePeer): Replaced Peer with PeerHandle.
  17346. Added a check for the return value of find.
  17347. * src/FtpTunnelResponseCommand.cc
  17348. (FtpTunnelResponseCommand): Replaced Socket with SocketHandle.
  17349. * src/FtpInitiateConnectionCommand.cc
  17350. (executeInternal): Removed the allocation of socket.
  17351. * src/DownloadEngine.h
  17352. (Sockets): An element is now of type SocketHandle.
  17353. (SockCmdMap): A key is of type SocketHandle, a value is of type int.
  17354. (CommandUuids): New type definition.
  17355. (rsockets): Changed its type to SockCmdMap.
  17356. (wsockets): Changed its type to SockCmdMap.
  17357. (addSocket): Rewritten.
  17358. (deleteSocket): Rewritten.
  17359. (addSocketForReadCheck): Rewritten.
  17360. (deleteSocketForReadCheck): Rewritten.
  17361. (addSocketForWriteCheck): Rewritten.
  17362. (deleteSocketForWriteCheck): Rewritten.
  17363. (PairFind): New template class.
  17364. * src/HttpDownloadCommand.h
  17365. (HttpDownloadCommand): Replaced Socket with SocketHandle.
  17366. * src/FtpConnection.cc
  17367. (FtpConnection): Replaced Socket with SocketHandle.
  17368. (sendPort): Removed the allocation of serverSocket. Removed try-catch
  17369. block.
  17370. * src/InitiateConnectionCommandFactory.cc
  17371. (DlAbortEx.h): Included DlAbortEx.h.
  17372. (createInitiateConnectionCommand): Throw exception if the protocol of
  17373. requested URI is not supported.
  17374. * src/Peer.cc
  17375. (nullPeer): Changed its type to PeerHandle.
  17376. (operator==): New function.
  17377. (operator!=): New function.
  17378. * src/Peer.h
  17379. (SharedHandle.h): Included SharedHandle.h.
  17380. (operator==): New function.
  17381. (operator!=): New function.
  17382. (Peer): Added the default constructor.
  17383. Use resetStatus() to initialize member variables.
  17384. (nullPeer): Removed.
  17385. * src/TrackerUpdateCommand.cc
  17386. (execute): Brushed up using SharedHandle. Replaced MAX_PEER_UPDATE
  17387. with MIN_PEERS.
  17388. * src/PeerListenCommand.h
  17389. (socket): Changed its type to SocketHandle.
  17390. * src/Command.h
  17391. (CommandUuid): New type definition.
  17392. (uuid): New variable.
  17393. (uuidGen): New variable.
  17394. (Command): Added the initialization of uuid.
  17395. (getUuid): New function.
  17396. * src/Socket.h
  17397. (Socket): Removed.
  17398. (SocketHandle): New type definition.
  17399. * src/DownloadEngine.h
  17400. (FindCommand): New function object.
  17401. (run): The portion of socket check was rewritten.
  17402. (SetDescriptor): New function object.
  17403. (AccumulateActiveCommandUuid): New function object.
  17404. (waitData): Rewritten.
  17405. (addSocket): Rewritten.
  17406. (deleteSocket): Rewritten.
  17407. (addSocketForReadCheck): Rewritten.
  17408. (addSocketForWriteCheck): Rewritten.
  17409. (deleteSocketForReadCheck): Rewritten.
  17410. (deleteSocketForWriteCheck): Rewritten.
  17411. * src/HttpProxyResponseCommand.h
  17412. (HttpProxyResponseCommand): Replaced Socket with SocketHandle.
  17413. * src/HttpConnection.h
  17414. (socket): Changed its type to SocketHandle.
  17415. (HttpConnection): Replaced Socket with SocketHandle.
  17416. * src/PeerInitiateConnectionCommand.cc
  17417. (PeerInitiateConnectionCommand): Replaced Peer with PeerHandle.
  17418. (executeInternal): Removed the allocation of socket.
  17419. (prepareForNextPeer): Use PeerHandle.
  17420. * src/PeerMessage.h
  17421. (peer): Changed its type to PeerHandle.
  17422. (getPeer): Replaced Peer with PeerHandle.
  17423. (setPeer): Replaced Peer with PeerHandle.
  17424. * src/DownloadCommand.cc
  17425. (DownloadCommand): Replaced Socket with SocketHandle.
  17426. * src/FtpConnection.h
  17427. (socket): Changed its type to SocketHandle.
  17428. (FtpConnection): Replaced Socket with SocketHandle.
  17429. (sendPort); Replaced Socket with SocketHandle.
  17430. * src/FtpDowndloadCommand.h
  17431. (ctrlSocket): Changed its type to SocketHandle.
  17432. (FtpDownloadCommand): Replaced Socket with SocketHandle.
  17433. * src/HttpProxyRequestCommand.cc
  17434. (HttpProxyRequestCommand): Replaced Socket with SocketHandle.
  17435. * src/FtpTunnelRequestCommand.h
  17436. (FtpTunnelRequestCommand): Replaced Socket with SocketHandle.
  17437. etc
  17438. * src/PeerChokeCommand.h
  17439. (setAllPeerChoked): Removed.
  17440. (setAllPeerResetDelta): Removed.
  17441. * src/PeerChokeCommand.cc
  17442. (setAllPeerChoked): Removed.
  17443. (ChokePeer): New function object.
  17444. (setAllPeerResetDelta): Removed.
  17445. (ResetDelta): New function object.
  17446. (orderByDownloadRate): Fixed a bug: use DowloadFaster, not UploadFaster
  17447. (execute): Show download speed when the local node is a seeder.
  17448. setAllPeerChoked and setAllPeerResetDelta were rewritten
  17449. using STL.
  17450. * src/TrackerWatcherCommand.h
  17451. (MIN_PEERS): Removed.
  17452. * src/TorrentMan.cc
  17453. (getPeer): Replaced MAX_PEER_UPDATE with MIN_PEERS.
  17454. 2006-07-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17455. To fix the bug that .aria2 file is not saved if downloading is stopped
  17456. by the errors:it results that aria2 can not resume downloading:
  17457. * src/main.cc
  17458. (normalDownload): Added the call to save().
  17459. (main): Added the deletion of the elements in 'reserved'.
  17460. To fix log:
  17461. * src/PeerInteraction.cc
  17462. (receiveHandshake): Fixed log.
  17463. 2006-07-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17464. To improve download performance in BitTorrent:
  17465. * src/TorrentMan.cc
  17466. (getPeer): Check the number of connections. Return nullPeer if
  17467. it is greater than MAX_PEER_UPDATE.
  17468. This code was originally here, but was removed in 0.5.1.
  17469. 2006-07-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17470. To improve the conditional compilation:
  17471. * src/MultiDiskWriter.h:
  17472. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17473. * src/MultiDiskWriter.cc:
  17474. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17475. * src/Util.h:
  17476. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17477. Added ENABLE_BITTORRENT around computeFastSet().
  17478. * src/Util.cc:
  17479. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17480. Added ENABLE_BITTORRENT around computeFastSet().
  17481. * src/messageDigest.h:
  17482. Replaced ENABLE_BITTORRENT with ENABLE_SSL.
  17483. * src/ShaVisitor.h:
  17484. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17485. * src/ShaVisitor.cc:
  17486. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17487. * src/main.cc:
  17488. Added ENABLE_BITTORRENT around includes and blocks related to
  17489. BitTorrent.
  17490. Added ENABLE_MESSAGE_DIGEST to skip checksum checking when the message
  17491. digest support is not available.
  17492. * src/AbstractDiskWriter.h:
  17493. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17494. * src/AbstractDiskWriter.cc:
  17495. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17496. * src/MetalinkEntry.cc
  17497. (check): Added ENABLE_MESSAGE_DIGEST. Return true if the message digest
  17498. support is not available.
  17499. To add command-line options for Metalink:
  17500. * src/main.cc:
  17501. Added metalink-version, metalink-language, metalink-os,
  17502. follow-metalink.
  17503. To use EXIT_SUCCESS and EXIT_FAILURE with exit():
  17504. * src/main.cc: Use these definition.
  17505. * Release 0.6.0
  17506. 2006-07-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17507. To add Metalink support(http/ftp only):
  17508. * src/AbstractCommand.h
  17509. (tryReserved): New function.
  17510. * src/AbstractCommand.cc
  17511. (execute): Call tryReserved().
  17512. (tryReserved): New function.
  17513. * src/Request.h
  17514. (Requests): New type definition.
  17515. * src/SegmentMan.h
  17516. (reserved): New variable.
  17517. * src/Util.h
  17518. (fileChecksum): New function.
  17519. (toUpper): New function.
  17520. (toLower): New function.
  17521. * src/Util.cc
  17522. (messageDigest.h): Included.
  17523. (trim): Trim \r\n\t.
  17524. (fileChecksum): New function.
  17525. (toUpper): New function.
  17526. (toLower): New function.
  17527. * src/main.cc
  17528. (normalDownload): New function.
  17529. (main): Added 2 command-line options: metalink-file,
  17530. metalink-connection. Their usage has not been written yet.
  17531. * src/MetalinkProcessor.h: New class.
  17532. * src/Xml2MetalinkProcessor.h: New class.
  17533. * src/Xml2MetalinkProcessor.cc: New class.
  17534. * src/MetalinkEntry.h: New class.
  17535. * src/MetalinkEntry.cc: New class.
  17536. * src/MetalinkResource.h: New class.
  17537. * src/MetalinkResource.cc: New class.
  17538. To add md5 message digest checking:
  17539. * src/messageDigest.h: Rewritten.
  17540. * src/MultiDiskWriter.cc: Updated according to the changes in
  17541. messageDigest.h.
  17542. * src/ShaVisitor.cc: Updated according to the changes in
  17543. messageDigest.h.
  17544. * src/Util.cc: Updated according to the changes in messageDigest.h.
  17545. * src/AbstractDiskWriter.cc: Updated according to the changes in
  17546. messageDigest.h.
  17547. To fix a bug that causes segfault when the payload length in peer
  17548. message is less than 0:
  17549. * src/PeerConnection.cc:
  17550. (receiveMessage): Fixed the bug.
  17551. * src/PeerMessageUtil.cc
  17552. (checkLength): Throw an exception if length is less than or equals to
  17553. 0.
  17554. To add new interfaces to Base64 encoding/decoding:
  17555. * src/Base64.h
  17556. (part_encode): Changed the method signature.
  17557. (encode): New function(overload).
  17558. (decode): New function(overload).
  17559. * src/Base64.cc
  17560. (part_encode): Rewritten.
  17561. (encode): Rewritten.
  17562. (encode): New function(overload).
  17563. To prevent a peer to download same piece if there is an error in
  17564. checksum:
  17565. * src/PieceMessage.cc
  17566. (receivedAction): Call peerInteraction->abortPiece().
  17567. 2006-06-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17568. To fix the bug that causes same have message is sent many times to
  17569. a single peer.
  17570. * src/Time.cc
  17571. (isNewer): Use Util::difftv().
  17572. * src/Util.cc
  17573. (difftv): Added a cast to (long long int).
  17574. * src/TorrentMan.cc
  17575. (advertisePiece): Use push_front.
  17576. (getAdvertisedPieceIndexes): A performance improvement was made.
  17577. To fix the bug that sends tracker requests without a sleep interval
  17578. when the number of connections is less than 15.
  17579. * src/TrackerWatcherCommand.cc
  17580. (execute): Now the number of connections is not a factor to decide
  17581. whether or not a tracker request should be sent or not.
  17582. * src/Time.h
  17583. (setTimeInSec): New function.
  17584. * src/Time.cc
  17585. (setTimeInSec): New function.
  17586. etc.
  17587. * src/ChokeMessage.cc
  17588. (receivedAction): Removed peer->snubbing = false
  17589. * src/PeerConnection.h
  17590. (receiveHandshake): Updated doc.
  17591. * src/TorrentMan.h
  17592. (getAdvertisedPieceIndexes): Updated the method signature.
  17593. * src/TorrentMan.cc
  17594. (getAdvertisedPieceIndexes): Updated the method signature.
  17595. * src/Time.h
  17596. (getTimeInMicros): Added a cast to (long long int).
  17597. (getTimeInMillis): Added a cast to (long long int).
  17598. * Release 0.5.2
  17599. 2006-06-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17600. To make a listening socket non-block:
  17601. * src/SocketCore.h
  17602. (setNonBlockingMode): New function.
  17603. * src/SocketCore.cc
  17604. (setNonBlockingMode): New function.
  17605. (beginListen): Added a call to setNonBlockingMode().
  17606. (acceptConnection): Call setNonBlockingMode().
  17607. (setBlockingMode): Updated.
  17608. To handle tracker's NAT-checking:
  17609. * src/PeerConnection.cc
  17610. (receiveHandshake): 'msg' param is filled with received data and
  17611. its length is assigned to 'length' param, even if all handshake
  17612. message is not yet received.
  17613. * src/PeerInteractionCommand.cc
  17614. (executeInternal): Use peerInteraction->receiveHandshake(true) when
  17615. a new peer connects to localhost.
  17616. A call to peerInteraction->sendHandshake() was removed because
  17617. it is called from peerInteraction->receiveHandshake(true).
  17618. * src/PeerInteraction.h
  17619. (quickReplied): New variable.
  17620. (receiveHandshake): Added an argument.
  17621. * src/PeerInteraction.cc
  17622. (PeerInteraction): Added the initialization of quickReplied.
  17623. (receiveHandshake): Send handshake message as soon as the info hash
  17624. in a handshake message from a peer is correct.
  17625. To change the random part of peer id and key parameter:
  17626. * src/TorrentMan.h
  17627. (key): New variable.
  17628. * src/TorrentMan.cc
  17629. (setupInternal1): Use Util::randomAlpha() to generate random part
  17630. of peer id, which is now "-aria2-"+13 alphabet characters([A-Za-z]).
  17631. key is also generated by Util::randomAlpha() and it is now 8 character
  17632. long.
  17633. * src/Util.h
  17634. (randomAlpha): New function.
  17635. * src/Util.cc
  17636. (randomAlpha): New function.
  17637. * src/TrackerWatcherCommand.cc
  17638. (execute): In a tracker request: Use torrentMan->key as key parameter.
  17639. Added no_peer_id=1.
  17640. Set snubbing flag to false when a choke message is received from a
  17641. snubbed peer.
  17642. * src/ChokeMessage.cc
  17643. (receivedAction): Set snubbing flag to false.
  17644. 2006-06-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17645. * src/TorrentMan.cc (setupInternal1): Fixed peerId generation bug.
  17646. * src/SimpleLogger.h (writeHeader): New function.
  17647. * src/SimpleLogger.cc (writeHeader): New function.
  17648. (writeLog): Fixed the bug that causes segfaults if exception message
  17649. contains an unescaped "%" character.
  17650. * src/TrackerWatcherCommand.cc (execute): Added a short sleep
  17651. when a tracker request fails.
  17652. * src/Request.cc (parseUrl): Query string is now handled properly.
  17653. * Release 0.5.1
  17654. 2006-06-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17655. To add Time class which represents a specific instant in time and
  17656. its precision is microseconds. Time checking procedures were rewritten
  17657. using this object.
  17658. * src/Time.h: New class.
  17659. * src/Time.cc: New class.
  17660. * src/AbstractCommand.h
  17661. (updateCheckPoint): Removed.
  17662. (isTimeoutDetected): Removed.
  17663. (checkPoint): Changed the type to Time.
  17664. (timeout): New variable.
  17665. (setTimeout): New function.
  17666. * src/AbstractCommand.cc
  17667. (AbstractCommand): Removed the initialization of checkPoint.
  17668. Added the initialization of timeout.
  17669. (updateCheckPoint): Removed.
  17670. (isTimeoutDetected): Removed.
  17671. (execute): Use checkPoint.reset() and checkPoint.elapsed().
  17672. * src/PeerChokeCommand.h
  17673. (checkPoint): Changed the type to Time.
  17674. * src/PeerChokeCommand.cc
  17675. (PeerChokeCommand): Removed the initialization of checkPoint.
  17676. (execute): Rewritten using Time object.
  17677. * src/TrackerWatcherCommand.h
  17678. (checkPoint): Changed the type to Time.
  17679. * src/TrackerWatcherCommand.cc
  17680. (TrackerWatcherCommand): Removed the initialization of checkPoint.
  17681. (execute): Rewritten.
  17682. * src/ConsoleDownloadEngine.h
  17683. (cp): Changed the type to Time.
  17684. (startup): Changed the type to Time.
  17685. * src/ConsoleDownloadEngine.cc
  17686. (initStatistics): Use cp.reset(), startup.reset().
  17687. (calculateStatistics): Rewritten using Time object.
  17688. * src/PeerAbstractCommand.h
  17689. (updateCheckPoint): Removed.
  17690. (isTimeoutDetected): Removed.
  17691. (checkPoint): Changed the type to Time.
  17692. * src/PeerAbstractCommand.cc
  17693. (PeerAbstractCommand): Removed the initialization of checkPoint.
  17694. (updateCheckPoint): Removed.
  17695. (isTimeoutDetected): Removed.
  17696. (execute): Use checkPoint.reset() and checkPoint.elapsed().
  17697. * src/PeerInteractionCommand.cc
  17698. (PeerInteractionCommand): Removed the initializations of struct
  17699. timeval variables.
  17700. * src/PeerInteractionCommand.h
  17701. (keepAliveCheckPoint): Changed the type to Time.
  17702. (chokeCheckPoint): Changed the type to Time.
  17703. (freqCheckPoint): Changed the type to Time.
  17704. (haveCheckTime): Changed the type to Time.
  17705. * src/PeerInteractionCommand.cc
  17706. (executeInternal): Rewritten using Time object.
  17707. (detectMessageFlooding): Rewritten using Time object.
  17708. (checkLongTimePeerChoking): Rewritten using Time object.
  17709. (sendKeepAlive): Rewritten using Time object.
  17710. (checkHave): Rewritten using Time object.
  17711. * src/SleepCommand.h
  17712. (checkPoint): Changed the type to Time.
  17713. * src/SleepCommand.cc
  17714. (SleepCommand): Removed the initialization of checkPoint.
  17715. (execute): Rewritten using Time object.
  17716. * src/TorrentAutoSaveCommand.h
  17717. (checkPoint): Changed the type to Time.
  17718. * src/TorrentAutoSaveCommand.cc
  17719. (TorrentAutoSaveCommand): Removed the initialization of checkPoint.
  17720. (execute): Rewritten.
  17721. * src/DownloadCommand.h
  17722. (sw): Changed the type to Time.
  17723. * src/DownloadCommand.cc
  17724. (DownloadCommand): Removed the initialization of sw.
  17725. (executeInternal): Rewritten.
  17726. * src/RequestSlot.h
  17727. (dispatchedTime): Changed the type to Time.
  17728. * src/RequestSlot.cc
  17729. (RequestSlot): Removed the call to setDispatchedTime().
  17730. (setDispatchedTime): Rewirtten.
  17731. (isTimeout): Rewritten.
  17732. (getLatencyInMillis): Rewritten.
  17733. * src/TorrentDownloadEngine.h
  17734. (cp): Changed the type to Time[2].
  17735. (startup): Changed the type to Time.
  17736. * src/TorrentDownloadEngine.cc
  17737. (initStatistics): Rewritten.
  17738. (calculateStatistics): Rewritten.
  17739. * src/DownloadEngine.cc
  17740. (run): Rewritten.
  17741. To detect all attempts to connect to the tracker are failed:
  17742. * src/AbstractCommand.cc
  17743. (execute): Increment e->segmentMan->errors if a command aborted.
  17744. * src/SegmentMan.h
  17745. (errors): New variable.
  17746. * src/SegmentMan.cc
  17747. (SegmentMan): Added the initialization of errors.
  17748. (init): Added the initialization of errors.
  17749. * src/TrackerWatcherCommand.cc
  17750. (execute): If e->segmentMan->errors > 0 then assume that the tracker
  17751. request was failed.
  17752. To handle snubbed peers:
  17753. * src/PeerChokeCommand.cc
  17754. (optUnchokingPeer): Snubbed peers don't get unchoked.
  17755. (execute): Snubbed peers don't get unchoked.
  17756. * src/PeerInteraction.h
  17757. (REQUEST_TIME_OUT): Changed the value from 120 to 60.
  17758. * src/PeerInteraction.cc
  17759. (checkRequestSlot): A peer get marked as "snubbed" if it doesn't send
  17760. back the requested 16k block in 60 seconds.
  17761. * src/PieceMessage.cc
  17762. (receivedAction): A peer's snubbed state is cleard if it sends
  17763. the requested 16k block in 60 seconds.
  17764. * src/Peer.h
  17765. (snubbing): New variable.
  17766. * src/Peer.cc
  17767. (resetStatus): Added snubbed = false.
  17768. To fix the bug that causes have message is not sent:
  17769. * src/PeerInteractionCommand.cc
  17770. (~PeerInteractionCommand): Removed e->torrentMan->unadvertisePiece().
  17771. (FLOODING_CHECK_INTERVAL): New definition(temporal).
  17772. (detectMessageFlooding): Use FLOODING_CHECK_INTERVAL.
  17773. * src/TorrentMan.h
  17774. (HaveEntry): New class.
  17775. (advertisePiece): Rewritten.
  17776. (getAdvertisedPieceIndexes): Rewritten.
  17777. (Haves): Changed the type.
  17778. (getAdvertisedPieceIndexes): Added an argument.
  17779. Others:
  17780. * src/TorrentMan.h
  17781. (DEFAULT_ANNOUNCE_INTERVAL): Changed the value to 1800.
  17782. (DEFAULT_ANNOUNCE_MIN_INTERVAL): Changed the value to 1800.
  17783. * src/TorrentMan.cc
  17784. (getPeer): Don't check the number of connections here.
  17785. (setupInternal1): Changed peerId.
  17786. * src/PeerInteractionCommand.h
  17787. (KEEP_ALIVE_INTERVAL): New definition.
  17788. (sendKeepAlive): Use KEEP_ALIVE_INTERVAL.
  17789. * src/main.cc
  17790. (main): SA_ONESHOT was replaced with SA_RESETHAND.
  17791. * src/DownloadEngine.h: Removed unnecessary header includes.
  17792. 2006-05-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17793. To fix the bug that causes segfaults if a tracker returns a zero-length
  17794. list as "peers":
  17795. * src/TrackerUpdateCommand.cc
  17796. (execute): Added a check to see wether the type of peers is Data*.
  17797. 2006-05-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17798. * Release 0.5.0
  17799. To fix compile issue with gcc3:
  17800. * src/CancelMessage.h
  17801. (ID): Renamed as ID_t
  17802. (ID_t): New enum.
  17803. * src/RejectMessage.h
  17804. (ID): Renamed as ID_t
  17805. (ID_t): New enum.
  17806. * src/SuggestPieceMessage.h
  17807. (ID): Renamed as ID_t
  17808. (ID_t): New enum.
  17809. * src/AllowedFastMessage.h
  17810. (ID): Renamed as ID_t
  17811. (ID_t): New enum.
  17812. * src/PortMessage.h
  17813. (ID): Renamed as ID_t
  17814. (ID_t): New enum.
  17815. * src/HaveNoneMessage.h
  17816. (ID): Renamed as ID_t
  17817. (ID_t): New enum.
  17818. * src/KeepAliveMessage.h
  17819. (ID): Renamed as ID_t
  17820. (ID_t): New enum.
  17821. * src/HaveAllMessage.h
  17822. (ID): Renamed as ID_t
  17823. (ID_t): New enum.
  17824. * src/UnchokeMessage.h
  17825. (ID): Renamed as ID_t
  17826. (ID_t): New enum.
  17827. * src/BitfieldMessage.h
  17828. (ID): Renamed as ID_t
  17829. (ID_t): New enum.
  17830. * src/PieceMessage.h
  17831. (ID): Renamed as ID_t
  17832. (ID_t): New enum.
  17833. * src/RequestMessage.h
  17834. (ID): Renamed as ID_t
  17835. (ID_t): New enum.
  17836. * src/NotInterestedMessage.h
  17837. (ID): Renamed as ID_t
  17838. (ID_t): New enum.
  17839. * src/ChokeMessage.h
  17840. (ID): Renamed as ID_t
  17841. (ID_t): New enum.
  17842. * src/InterestedMessage.h
  17843. (ID): Renamed as ID_t
  17844. (ID_t): New enum.
  17845. * src/HaveMessage.h
  17846. (ID): Renamed as ID_t
  17847. (ID_t): New enum.
  17848. 2006-05-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17849. * src/PeerAbstractCommand.h
  17850. (beforeSocketCheck): Removed.
  17851. * src/PeerAbstractCommand.cc
  17852. Modified in order to call executeInternal() even if socket check
  17853. and upload limit check fail.
  17854. * src/PeerInteractionCommand.h
  17855. (keepAlive): Removed.
  17856. (sendKeepAlive): New function.
  17857. (checkHave): New function.
  17858. (beforeSocketCheck): Removed.
  17859. * src/PeerInteractionCommand.cc
  17860. (executeInternal): Use peerInteraction->checkRequestSlot(). Added
  17861. calls to checkHave() and sendKeepAlive().
  17862. (keepAlive): Renamed to sendKeepAlive().
  17863. (sendKeepAlive): New function.
  17864. (beforeSocketCheck): Removed.
  17865. (checkHave): New function.
  17866. * src/BitfieldMan.cc
  17867. (getMissingIndex): Don't call getMissingIndexRandomly() if max is 0.
  17868. (getMissingUnusedIndex): Don't call getMissingIndexRandomly() if max is
  17869. 0.
  17870. (getMissingIndex): Dont't call getMissingIndexRandomly() if max is 0.
  17871. * src/TorrentMan.h
  17872. (UsedPieces): Removed.
  17873. (Pieces): New type definition.
  17874. * src/Piece.h: Updated doc.
  17875. * src/Peer.h
  17876. (totalLength): Removed.
  17877. * src/Peer.cc
  17878. (updateLatency): Fixed the latency calculation.
  17879. * src/TorrentMan.cc
  17880. (addPeer): Call deleteOldErrorPeers() only if peers.size() is higher
  17881. than or equal to MAX_PEER_LIST_SIZE.
  17882. If duplicate is false and peer.size() >= MAX_PEER_LIST_SIZE,
  17883. then return false.
  17884. (deleteOldErrorPeers): Rewritten.
  17885. (deleteUsedPiece): Fixed the miss use of STL remove.
  17886. * src/PeerInteraction.h
  17887. (Pieces): Removed.
  17888. (deleteTimeoutRequestSlot): Removed.
  17889. (deleteCompletedRequestSlot): Removed.
  17890. (checkRequestSlot): New function.
  17891. * src/PeerInteraction.cc
  17892. (deleteTimeoutRequestSlot): Merged to checkRequestSlot().
  17893. (deleteCompletedRequestSlot): Merged to checkRequestSlot().
  17894. (checkRequestSlot): New function.
  17895. * src/DownloadEngine.cc
  17896. (run): Clear activeSockets before calling waitData().
  17897. (waitData): Removed a call to activeSockets.clear().
  17898. 2006-05-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17899. To attempt to handle EINTR:
  17900. * src/SocketCore.cc
  17901. (isReadable): Added EINTR handling.
  17902. (isWritable): Added EINTR handling.
  17903. To improve the performance:
  17904. * src/AbstractCommand.cc
  17905. (isTimeoutDetected): Use Util::difftvsec() instead of Util::difftv().
  17906. * src/PeerInteractionCommand.h
  17907. (receiveMessage): Renamed as receiveMessages().
  17908. (receiveMessages): New function.
  17909. * src/PeerInteractionCommand.cc
  17910. (executeInternal): receiveMessage loop is moved to new receiveMessages
  17911. () function. detectMessageFlooding() is moved here.
  17912. (detectMessageFlooding): Use Util::difftvsec() instead of Util::difftv
  17913. (). The flooding detection for have message is comment out.
  17914. (checkLongTimePeerChoking): Use Util::difftvsec() instead of
  17915. Util::difftv().
  17916. (receiveMessage): Renamed as receiveMessages().
  17917. (receiveMessages): New function.
  17918. (keepAlive): Use Util::difftvsec() instead of Util::difftv().
  17919. (beforeSocketCheck): Commented out checkLongTimePeerChoking().
  17920. * src/SleepCommand.cc
  17921. (execute): Use Util::difftvsec() instead of Util::difftv().
  17922. * src/BitfieldMan.h
  17923. (getNthBitIndex): New function.
  17924. (hasMissingPiece): New function.
  17925. (getAllMissingIndexes): New function.
  17926. * src/BitfieldMan.cc
  17927. (countSetBit): Rewritten.
  17928. (getNthBitIndex): New function.
  17929. (getMissingIndexRandomly): Rewritten.
  17930. (hasMissingPiece): New function.
  17931. (getAllMissingIndexes): New function.
  17932. * src/TorrentMan.cc
  17933. (hasMissingPiece): New function.
  17934. (deleteUsedPiece): Rewritten using STL.
  17935. * src/PeerInteraction.cc
  17936. (getNewPieceAndSendInterest): Use TorrentMan::hasMissingPiece(), which
  17937. is a little bit faster then TorrentMan::getMissingPieceIndex().
  17938. (addRequests): Updated the number of pending requests.
  17939. * src/PeerAbstractCommand.cc
  17940. (isTimeoutDetected): Use Util::difftvsec() instead of Util::difftv().
  17941. (execute): Returns true if TorrentMan::isHalt() is true.
  17942. Corrected the condition of upload limit checking.
  17943. * src/Util.h
  17944. (countBit): New function.
  17945. * src/Util.cc
  17946. (nbits): New variable.
  17947. (countBit): New function.
  17948. * src/DownloadEngine.h
  17949. (SockCmdMap): New type definition.
  17950. (waitData): Added an argument.
  17951. (addSocket): Added an argument.
  17952. (addSocketForReadCheck): Added an argument.
  17953. (addSocketForWriteCheck): Added an argument.
  17954. * src/DownloadEngine.cc
  17955. (run): Executes only commands whose sockets are ready to read or write.
  17956. All commands are executed in every 1 second.
  17957. (waitData): Calls select() again if it returned
  17958. EINTR.
  17959. (addSocket): Saves socket and command object pair to the map.
  17960. (deleteSocket): Deletes socket and command object pair from the map.
  17961. (addSocketForReadCheck): Added an argument.
  17962. (addSocketForWriteCheck): Added an argument.
  17963. * src/DownloadCommand.cc
  17964. (executeInternal): Use Util::difftvsec() instead of Util::difftv().
  17965. To send "event=stopped" to the tracker when the application finishes:
  17966. * src/PeerChokeCommand.h
  17967. (checkPoint): New variable.
  17968. * src/PeerChokeCommand.cc
  17969. (PeerChokeCommand): Added the initialization of checkPoint.
  17970. (execute): The interval check is now done by checkPoint, not
  17971. SleepCommand. Return true if TorrentMan::isHalt() is true.
  17972. * src/TorrentMan.h
  17973. (halt): New function.
  17974. (hasMissingPiece): New function.
  17975. (isHalt): New function.
  17976. (setHalt): New function.
  17977. * src/TorrentMan.cc
  17978. (TorrentMan): Added the initialization of halt.
  17979. * src/TorrentAutoSaveCommand.h
  17980. (checkPoint): New variable.
  17981. * src/PeerListenCommand.cc
  17982. (execute): Returns true if TorrentMan::isHalt() is true.
  17983. * src/main.cc
  17984. (setSignalHander): Added flags argument.
  17985. (torrentHandler): Just calls TorrentMan::setHalt(true) and returns.
  17986. (main): Set SA_ONESHOT flag of the signal hander of SIGINT and SIGTERM.
  17987. Removed printDownloadAbortMessage() after torrent downloading loop.
  17988. * src/TorrentAutoSaveCommand.cc
  17989. (TorrentAutoSaveCommand): Added the initialization of checkPoint.
  17990. (execute): Returns true if TorrentMan::isHalt() is true.
  17991. The interval check is now done by checkPoint, not SleepCommand.
  17992. * src/TrackerWatcherCommand.cc
  17993. (execute): If TorrentMan::isHalt(), then create a tracker request with
  17994. event=stopped.
  17995. * src/TrackerUpdateCommand.cc
  17996. (prepareForRetry): Do not use SleepCommand here.
  17997. (execute): Returns true if TorrentMan::isHalt() is true.
  17998. Others:
  17999. * src/TorrentMan.cc
  18000. (getMissingPieceIndex): Updated log message.
  18001. * src/PeerInteraction.cc
  18002. (createPeerMessag): Updated log message.
  18003. 2006-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18004. To add the ability to download several pieces in mix in a command and
  18005. increase the number of request slots according to request-cancel
  18006. latency:
  18007. * src/PeerInteractionCommand.cc
  18008. (executeInternal): The number of messages to be received at a time
  18009. is increased from 10 to 50.
  18010. * src/LogFactory
  18011. (getInstance): Added NullLogger.
  18012. * src/NullLogger.h: New class.
  18013. * src/BitfieldMan.h
  18014. (getMissingIndex): New function.
  18015. * src/BitfieldMan.cc
  18016. (getMissingIndex): New function.
  18017. * src/TorrentMan.h
  18018. (checkOutPiece): New function.
  18019. (getMissingPieceIndex): New function.
  18020. (getMissingFastPieceIndex): New function.
  18021. (getMissingFastPiece): New function.
  18022. * src/TorrentMan.cc
  18023. (updatePiece): Rewritten using STL.
  18024. (syncPiece): Rewritten using STL.
  18025. (getMissingPiece): Rewritten using getMissingPieceIndex() and
  18026. checkOutPiece().
  18027. (getMissingPieceIndex): New function.
  18028. (getMissingFastPieceIndex): New function.
  18029. (getMissingFastPiece): New function.
  18030. (checkOutPiece): New function.
  18031. * src/PeerInteraction.h
  18032. (Pieces): New type definition.
  18033. (piece): Removed.
  18034. (pieces): New variable.
  18035. (getNewPieceAndSendInterest): Added the "piece" argument.
  18036. (abortPiece): Added the "piece" argument.
  18037. (abortAllPieces): New function.
  18038. (isInRequestSlot): New function.
  18039. (hasDownloadPiece): Added the "index" argument.
  18040. (setDownloadPiece): Removed.
  18041. (getDownloadPiece): Added the "index" argument.
  18042. (updatePiece): New function.
  18043. (createRequestMessage): Added the "index" argument.
  18044. * src/PeerInteraction.cc
  18045. (onChoked): Rewritten.
  18046. (abortPiece): Rewirtten.
  18047. (abortAllPieces): New function.
  18048. (deleteTimeoutRequestSlot): Rewritten.
  18049. Clarified code a little bit.
  18050. (deleteCompletedRequestSlot): Rewritten.
  18051. (isInRequestSlot): New function.
  18052. (syncPiece): Rewritten.
  18053. (updatePiece): New function.
  18054. (getNewPieceAndSendInterest): Rewritten.
  18055. (addRequests): Rewritten.
  18056. (getDownloadPiece): Rewritten.
  18057. (hasDownloadPiece): Rewritten.
  18058. (createRequestMessage): Added the "index" argument.
  18059. * src/common.h
  18060. (BITFIELD_LEN_FROM_PIECES): Enclosed the variable in parentheses.
  18061. (DIV_FLOOR): New definition.
  18062. * src/PieceMessage.cc
  18063. (receivedAction): Update request-piece latency here.
  18064. * src/RequestSlot.h
  18065. (getLatencyInMillis): New function.
  18066. * src/RequestSlot.cc
  18067. (isTimeout): Rewritten using getLatencyInMillis.
  18068. (getLatencyInMillis): New function.
  18069. * src/Piece.h
  18070. (operator==): New function.
  18071. (getMissingBlockIndex): New function.
  18072. * src/Piece.cc
  18073. (operator==): New function.
  18074. (getMissingBlockIndex): New function.
  18075. * src/Peer.h
  18076. (DEFAULT_LATENCY): New definition.
  18077. (latency): New variable.
  18078. (updateLatency): New function.
  18079. (getLatency): New function.
  18080. * src/Peer.cc
  18081. (resetStatus): Reset latecy.
  18082. (updateLatency): New function.
  18083. 2006-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18084. * src/SocketCore.cc
  18085. (isReadable): Added secure to the condition.
  18086. * src/HttpConnection.cc
  18087. (receiveResponse): Fixed a bug that causes no response header
  18088. exception.
  18089. * src/Peer.h
  18090. (getFastSet): Fixed the return value type.
  18091. 2006-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18092. To remove a wait from download loop:
  18093. * src/DownloadEngine.cc
  18094. (run): Comment out shortSleep.
  18095. To rewrite the message handling:
  18096. * src/SimplePeerMessage.h: New class.
  18097. * src/SimplePeerMessage.cc: New class.
  18098. * src/CancelMessage.h: Derived from SimplePeerMessage.
  18099. (msg): New variable.
  18100. (create): New function.
  18101. (send): Removed.
  18102. (getMessage): New function.
  18103. (getMessageLength): New function.
  18104. * src/CancelMessage.cc
  18105. (create): New function.
  18106. (receivedAction): Replaced deleteRequestMessageInQueue with
  18107. rejectPieceMessageInQueue.
  18108. (send): Removed.
  18109. (getMessage): New function.
  18110. (getMessageLength): New function.
  18111. * src/BitfieldMessage.h: Derived from SimplePeerMessage.
  18112. (msg): New variable.
  18113. (msgLength): New variable.
  18114. (~BitfieldMessage): Deleted msg.
  18115. (send): Removed.
  18116. (getMessage): New function.
  18117. (getMessageLength): New function.
  18118. * src/BitfieldMessage.cc
  18119. (create): New function.
  18120. (send): Removed.
  18121. (getMessage): New function.
  18122. (getMessageLength): New function.
  18123. * src/ChokeMessage.h: Derived from SimplePeerMessage.
  18124. (msg): New variable.
  18125. (sendPredicate): New function.
  18126. (onSendComplete): New function.
  18127. (send): Removed.
  18128. (getMessage): New function.
  18129. (getMessageLength): New function.
  18130. (create): New function.
  18131. * src/ChokeMessage.cc
  18132. (create): New function.
  18133. (send): Removed.
  18134. (sendPredicate): New function.
  18135. (getMessage): New function.
  18136. (getMessageLength): New function.
  18137. (onSendComplete): New function.
  18138. * src/KeepAliveMessage.h: Derived from SimplePeerMessage.
  18139. (msg): New variable.
  18140. (send): Removed.
  18141. (getMessage): New function.
  18142. (getMessageLength): New function.
  18143. * src/KeepAliveMessage.cc
  18144. (send): Removed.
  18145. (getMessage): New function.
  18146. (getMessageLength): New function.
  18147. * src/PortMessage.h
  18148. (create): New function.
  18149. (receivedAction): Updated log message.
  18150. * src/PortMessage.cc: New file.
  18151. * src/UnchokeMessage.h: Derived from SimplePeerMessage.
  18152. (msg): New variable.
  18153. (sendPredicate): New function.
  18154. (onSendComplete): New function.
  18155. (create): New function.
  18156. (send): Removed.
  18157. (getMessage): New function.
  18158. (getMessageLength): New function.
  18159. * src/UnchokeMessage.cc
  18160. (create): New function.
  18161. (send): Removed.
  18162. (sendPredicate): New function.
  18163. (getMessage): New function.
  18164. (getMessageLength): New function.
  18165. (onSendComplete): New function.
  18166. * src/PieceMessage.h
  18167. (leftPieceDataLength): Removed.
  18168. (leftDataLength): New variable.
  18169. (headerSend): New variable.
  18170. (pendingCount): New variable.
  18171. (msgHeader): New variable.
  18172. (sendPieceData): New function.
  18173. (incrementPendingCount): New function.
  18174. (isPendingCountMax): New function.
  18175. (create): New function.
  18176. (getMessageHeader): New function.
  18177. (getMessageHeaderLength): New function.
  18178. * src/PieceMessage.cc
  18179. (create): New function.
  18180. (getMessageHeader): New function.
  18181. (getMessageHeaderLength): New function.
  18182. (send): Rewritten.
  18183. (sendPieceData): New function.
  18184. * src/HaveMessage.h: Derived from SimplePeerMessage.
  18185. (msg): New variable.
  18186. (create): New function.
  18187. (getMessage): New function.
  18188. (getMessageLength): New function.
  18189. * src/HaveMessage.cc
  18190. (create): New function.
  18191. (send): Removed.
  18192. (sendPieceData): New function.
  18193. (getMessage): New function.
  18194. (getMessageLength): New function.
  18195. * src/RequestMessage.h: Derived from SimplePeerMessage.
  18196. (msg): New variable.
  18197. (create): New function.
  18198. (send): Removed.
  18199. (getMessage): New function.
  18200. (getMessageLength): New function.
  18201. * src/RequestMessage.cc
  18202. (create): New function.
  18203. (receivedAction): Added the handling of fast extension.
  18204. Deleted torrentMan->addUploadLength, torrentMan->addDeltaUploadLength.
  18205. (send): Removed.
  18206. (getMessage): New function.
  18207. (getMessageLength): New function.
  18208. * src/InterestedMessage.h: Derived from SimplePeerMessage.
  18209. (msg): New variable.
  18210. (sendPredicate): New function.
  18211. (onSendComplete): New function.
  18212. (create): New function.
  18213. (getMessage): New function.
  18214. (getMessageLength): New function.
  18215. * src/InterestedMessage.cc
  18216. (create): New function.
  18217. (send): Removed.
  18218. (sendPieceData): New function.
  18219. (getMessage): New function.
  18220. (getMessageLength): New function.
  18221. (onSendComplete): New function.
  18222. * src/NotInterestedMessage.h: Derived from SimplePeerMessage.
  18223. (msg): New variable.
  18224. (sendPieceData): New function.
  18225. (onSendComplete): New function.
  18226. (create): New function.
  18227. (send): Removed.
  18228. (getMessage): New function.
  18229. (getMessageLength): New function.
  18230. * src/NotInterestedMessage.cc
  18231. (create): New function.
  18232. (send): Removed.
  18233. (sendPredicate): New function.
  18234. (getMessage): New function.
  18235. (getMessageLength): New function.
  18236. (onSendComplete): New function.
  18237. * src/AllowedFastMessage.h: New class.
  18238. * src/AllowedFastMessage.cc: New class.
  18239. * src/RejectMessage.h: New class.
  18240. * src/RejectMessage.cc: New class.
  18241. * src/SuggestPieceMessage.h: New class.
  18242. * src/SuggestPieceMessage.cc: New class.
  18243. * src/HaveAllMessage.h: New class.
  18244. * src/HaveAllMessage.cc: New class.
  18245. * src/HaveNoneMessage.h: New class.
  18246. * src/HaveNoneMessage.cc: New class.
  18247. * src/HandshakeMessage.h: Derived from SimplePeerMessage.
  18248. (msg): New variable.
  18249. (reserved): New variable.
  18250. (create): New function.
  18251. (getId): New function.
  18252. (receivedAction): New function.
  18253. (getMessage): New function.
  18254. (getMessageLength): New function.
  18255. (isFastExtensionSupported): New function.
  18256. * src/HandshakeMessage.cc
  18257. (HandshakeMessage): Moved here from HandshakeMessage.h.
  18258. (create): New function.
  18259. (getMessage): New function.
  18260. (getMessageLength): New function.
  18261. (toString): Added the output of reserved field.
  18262. (check): Added const qualifier.
  18263. (isFastExtensionSupported): New function.
  18264. * src/PeerMessageUtil.h
  18265. (createChokeMessage): Removed.
  18266. (createUnchokeMessage): Removed.
  18267. (createInterestedMessage): Removed.
  18268. (createNotInterestedMessage): Removed.
  18269. (createHaveMessage): Removed.
  18270. (createBitfieldMessage): Removed.
  18271. (createRequestMessage): Removed.
  18272. (createCancelMessage): Removed.
  18273. (createPieceMessage): Removed.
  18274. (createPortMessage): Removed.
  18275. (createChokeMessage): Removed.
  18276. (createUnchokeMessage): Removed.
  18277. (createInterestedMessage): Removed.
  18278. (createNotInterestedMessage): Removed.
  18279. (createHaveMessage): Removed.
  18280. (createBitfieldMessage): Removed.
  18281. (createRequestMessage): Removed.
  18282. (createCancelMessage): Removed.
  18283. (createPieceMessage): Removed.
  18284. (createKeepAliveMessage): Removed.
  18285. (createHandshakeMessage): Removed.
  18286. (setIntParam): New function.
  18287. (createPeerMessageString): New function.
  18288. * src/PeerMessageUtil.cc
  18289. (createChokeMessage): Removed.
  18290. (createUnchokeMessage): Removed.
  18291. (createInterestedMessage): Removed.
  18292. (createNotInterestedMessage): Removed.
  18293. (createHaveMessage): Removed.
  18294. (createBitfieldMessage): Removed.
  18295. (createRequestMessage): Removed.
  18296. (createCancelMessage): Removed.
  18297. (createPieceMessage): Removed.
  18298. (createPortMessage): Removed.
  18299. (createRequestMessage): Removed.
  18300. (createCancelMessage): Removed.
  18301. (createPieceMessage): Removed.
  18302. (createHaveMessage): Removed.
  18303. (createChokeMessage): Removed.
  18304. (createUnchokeMessage): Removed.
  18305. (createInterestedMessage): Removed.
  18306. (createNotInterestedMessage): Removed.
  18307. (createBitfieldMessage): Removed.
  18308. (createKeepAliveMessage): Removed.
  18309. (createHandshakeMessage): Removed.
  18310. (setIntParam): New function.
  18311. (createPeerMessageString): New function.
  18312. * src/PeerConnection.h
  18313. (peer): Removed.
  18314. (torrentMan): Removed.
  18315. (createNLengthMessage): Removed.
  18316. (setIntParam): Removed.
  18317. (writeOutgoingMessageLog): Removed all overloaded functions.
  18318. (PeerConnection): Deleted peer and torrentMan from its arguments.
  18319. (sendMessage): New function.
  18320. (sendHandshake): Removed.
  18321. (sendKeepAlive): Removed.
  18322. (sendChoke): Removed.
  18323. (sendUnchoke): Removed.
  18324. (sendInterested): Removed.
  18325. (sendNotInterested): Removed.
  18326. (sendHave): Removed.
  18327. (sendBitfield): Removed.
  18328. (sendRequest): Removed.
  18329. (sendPiece): Removed.
  18330. (sendPieceHeader): Removed.
  18331. (sendPieceData): Removed.
  18332. (sendCancel): Removed.
  18333. (getPeer): Removed.
  18334. * src/PeerConnection.cc
  18335. (PeerConnection): Deleted peer and torrentMan from its arguments.
  18336. (sendHandshake): Removed.
  18337. (sendKeepAlive): Removed.
  18338. (createNLengthMessage): Removed.
  18339. (setIntParam): Removed.
  18340. (writeOutgoingMessageLog): Removed all overloaded functions.
  18341. (sendChoke): Removed.
  18342. (sendUnchoke): Removed.
  18343. (sendInterested): Removed.
  18344. (sendNotInterested): Removed.
  18345. (sendHave): Removed.
  18346. (sendBitfield): Removed.
  18347. (sendRequest): Removed.
  18348. (sendPiece): Removed.
  18349. (sendPieceHeader): Removed.
  18350. (sendPieceData): Removed.
  18351. (sendMessage): New function.
  18352. (sendCancel): Removed.
  18353. * src/PeerInteractionCommand.cc
  18354. (PeerInteractionCommand): Call setUploadLimit.
  18355. (executeInternal): Call setUploadLimit.
  18356. Added the handling of "inProgress" state of handshake message.
  18357. Call sendBitfield() or sendAllowdFast() instead of deprecated
  18358. sendNow().
  18359. (keepAlive): Call addMessage and sendMessage instead of deprecated
  18360. sendNow().
  18361. (beforeSocketCheck): Call addMessage instead of deprecated trySendNow()
  18362. * src/TorrentMan.h
  18363. (PEER_ID_LENGTH): New definition.
  18364. (hasAllPieces): New function.
  18365. * src/TorrentMan.cc
  18366. (getMissingPiece): Added the handling of fast extension.
  18367. (cancelPiece): Call updatePiece().
  18368. (hasAllPieces): New function.
  18369. * src/PeerInteraction.h
  18370. (fastSet): New variable.
  18371. (getNewPieceAndSendInterest): Changed the return type to void.
  18372. (send): Renamed as sendMessages.
  18373. (deleteAllRequestSlot): Removed.
  18374. (deleteRequestMessageInQueue): Renamed as rejectPieceMessageInQueue.
  18375. (cancelAllRequest): Removed all overloaded functions.
  18376. (deleteAllRequestSlot): Removed.
  18377. (deletePieceMessageInQueue): Renamed as rejectAllPieceMessageInQueue.
  18378. (rejectPieceMessageInQueue): New function.
  18379. (rejectAllPieceMessageInQueue): New function.
  18380. (onChoked): New function.
  18381. (isSendingMessageInProgress): New function.
  18382. (getCorrespondingRequestSlot): Changed its arguments.
  18383. (isInFastSet): New function.
  18384. (addFastSetIndex): New function.
  18385. (addRequests): New function.
  18386. (sendNow): Removed.
  18387. (trySendNow): Removed.
  18388. (sendBitfield): New function.
  18389. (sendAllowdFast): New function.
  18390. (createHaveAllMessage): New function.
  18391. (createHaveNoneMessage): New function.
  18392. (createRejectMessage): New function.
  18393. (createAllowedFastMessage): New function.
  18394. * src/PeerInteraction.cc
  18395. (send): Renamed as sendMessages.
  18396. (sendMessages): New function.
  18397. (MsgPushBack): New class.
  18398. (isSendingMessageInProgress): New function.
  18399. (deletePieceMessageInQueue): Renamed as rejectAllPieceMessageInQueue.
  18400. (rejectAllPieceMessageInQueue): New function.
  18401. Added the handling of fast extension.
  18402. (deleteRequestMessageInQueue): Renamed as rejectPieceMessageInQueue.
  18403. (rejectPieceMessageInQueue): New function.
  18404. Added the handling of fast extension.
  18405. (deleteRequestSlot): Replaced for loop with std::find.
  18406. (onChoked): New function.
  18407. (deleteAllRequestSlot): Removed.
  18408. (abortPiece): Rewirtten.
  18409. (deleteTimeoutRequestSlot): Updated log messages.
  18410. (getCorrespondingRequestSlot): Changed its arguments.
  18411. (cancelAllRequest): Removed all overloaded functions.
  18412. (receiveHandshake): Added the check to see whether an incoming peer
  18413. supports fast extension.
  18414. (createHandshakeMessage): Use HandshakeMessage::create instead of
  18415. PeerMessageUtil.
  18416. (createPeerMessage): Use create() of each message class instead of
  18417. PeerMessageUtil.
  18418. HaveAllMessage, HaveNoneMessage, RejectMessage, SuggestPieceMessage,
  18419. AllowedFastMessage were added.
  18420. (getNewPieceAndSendInterest): Changed its return value type to void.
  18421. Added the handling of fast extension.
  18422. (addRequests): New function.
  18423. (sendNow): Removed.
  18424. (sendHandshake): Rewritten.
  18425. (trySendNow): Removed.
  18426. (sendBitfield): New function.
  18427. (sendAllowdFast): New function.
  18428. (isInFastSet): New function.
  18429. (addFastSetIndex): New function.
  18430. (createRequestMessage): Use RequestMessage::create instead of
  18431. PeerMessageUtil.
  18432. (createCancelMessage): Use CancelMessage::create instead of
  18433. PeerMessageUtil.
  18434. (createPieceMessage): Use PieceMessage::create instead of
  18435. PeerMessageUtil.
  18436. (createHaveMessage): Use HaveMessage::create instead of
  18437. PeerMessageUtil.
  18438. (createChokeMessage): Use ChokeMessage::create instead of
  18439. PeerMessageUtil.
  18440. (createUnchokeMessage): Use UnchokeMessage::create instead of
  18441. PeerMessageUtil.
  18442. (createInterestedMessage): Use InterestedMessage::create instead of
  18443. PeerMessageUtil.
  18444. (createNotInterestedMessage): Use NotInterestedMessage::create instead
  18445. of PeerMessageUtil.
  18446. (createBitfieldMessage): Use BitfieldMessage::create instead of
  18447. PeerMessageUtil.
  18448. (createKeepAliveMessage): Use KeepAliveMessage::create instead of
  18449. PeerMessageUtil.
  18450. (createHaveAllMessage): New function.
  18451. (createHaveNoneMessage): New function.
  18452. (createRejectMessage): New function.
  18453. (createAllowedFastMessage: New function.
  18454. * src/Util.h
  18455. (sha1Sum): New function.
  18456. (computeFastSet): New function.
  18457. * src/Util.cc
  18458. (sha1Sum): New function.
  18459. (computeFastSet): New function.
  18460. * src/Peer.h
  18461. (fastExtensionEnabled): New variable.
  18462. (fastSet): New variable.
  18463. (setAllBitfield): New function.
  18464. (setFastExtensionEnabled): New function.
  18465. (isFastExtensionEnabled): New function.
  18466. (addFastSetIndex): New function.
  18467. (getFastSet): New function.
  18468. (isInFastSet): New function.
  18469. (countFastSet): New function.
  18470. * src/Peer.cc
  18471. (isInFastSet): New function.
  18472. (addFastSetIndex): New function.
  18473. (setAllBitfield): New function.
  18474. * src/AbstractCommand.cc (execute): Changed the procedure of checking
  18475. sockets.
  18476. * src/PeerAbstractCommand.cc
  18477. (PeerAbstractCommand): Added the initialization for uploadLimitCheck
  18478. and uploadLimit.
  18479. (execute): Changed the procedure of checking sockets. The upload speed
  18480. checking were added.
  18481. (setUploadLimit): New function.
  18482. (setUploadLimitCheck): New function.
  18483. * src/PeerAbstractCommand.h
  18484. (setUploadLimit): New function.
  18485. (setUploadLimitCheck): New function.
  18486. (uploadLimit): New variable.
  18487. (uploadLimitCheck): New variable.
  18488. To contact a tracker regularly:
  18489. * src/TrackerWatcherCommand.h (interval): New variable.
  18490. (checkPoint): New variable.
  18491. (TrackerWatcherCommand): Added interval argument.
  18492. * src/TrackerWatcherCommand.cc
  18493. (TrackerWatcherCommand): Initialized checkPoint.
  18494. (execute): Now a tracker is contacted in every specified period.
  18495. If peer list is not needed, send request with numwant=0.
  18496. * src/TrackerUpdateCommand.cc
  18497. (execute): Updated log messages.
  18498. * src/DownloadEngine.cc
  18499. (~DownloadEngine): Removed two asserts.
  18500. (waitData): Uncommented wfds. May be a bug fix.
  18501. 2006-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18502. * src/PeerInteractionCommand.h
  18503. (checkInactiveConnection): Removed.
  18504. * src/PeerInteractionCommand.cc
  18505. (executeInternal): Removed following function calls:
  18506. detectMessageFlooding(), checkLongTimePeerChoking and
  18507. checkInactiveConnection().
  18508. (checkInactiveConnection): Removed.
  18509. (detectMessageFlooding): Removed function call to
  18510. checkInactiveConnection().
  18511. * src/PeerMessageUtil.h
  18512. (createChokeMessage): New function. Overload.
  18513. (createUnchokeMessage): New function. Overload.
  18514. (createInterestedMessage): New function. Overload.
  18515. (createNotInterestedMessage): New function. Overload.
  18516. (createHaveMessage): New function. Overload.
  18517. (createBitfieldMessage): New function. Overload.
  18518. (createRequestMessage): New function. Overload.
  18519. (createCancelMessage): New function. Overload.
  18520. (createPieceMessage): New function. Overload.
  18521. (createKeepAliveMessage): New function. Overload.
  18522. * src/PeerMessageUtil.cc
  18523. (createChokeMessage): New function. Overload.
  18524. (createUnchokeMessage): New function. Overload.
  18525. (createInterestedMessage): New function. Overload.
  18526. (createNotInterestedMessage): New function. Overload.
  18527. (createHaveMessage): New function. Overload.
  18528. (createBitfieldMessage): New function. Overload.
  18529. (createRequestMessage): New function. Overload.
  18530. (createCancelMessage): New function. Overload.
  18531. (createPieceMessage): New function. Overload.
  18532. (createKeepAliveMessage): New function. Overload.
  18533. * src/SendMessageQueue.cc
  18534. (createRequestMessage): Use PeerMessageUtil.
  18535. (createCancelMessage): Use PeerMessageUtil.
  18536. (createPieceMessage): Use PeerMessageUtil.
  18537. (createHaveMessage): Use PeerMessageUtil.
  18538. (createChokeMessage): Use PeerMessageUtil.
  18539. (createUnchokeMessage): Use PeerMessageUtil.
  18540. (createInterestedMessage): Use PeerMessageUtil.
  18541. (createNotInterestedMessage): Use PeerMessageUtil.
  18542. (createBitfieldMessage): Use PeerMessageUtil.
  18543. (createKeepAliveMessage): Use PeerMessageUtil.
  18544. * src/SendMessageQueue.h: Renamed to PeerInteraction.h
  18545. * src/SendMessageQueue.cc: Renamed to PeerInteraction.cc
  18546. * src/PeerInteraction.h: New class.
  18547. * src/PeerInteraction.cc: New class.
  18548. 2006-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18549. Each peer message has its own class.
  18550. * src/PendingMessages.h: Removed.
  18551. * src/PendingMessages.cc: Removed. The sending process was moved to
  18552. each message class.
  18553. * src/RequestSlotMan.h: Removed.
  18554. * src/RequestSlotMan.cc: Removed. All functionarities were moved to
  18555. SendMessageQueue.
  18556. * src/RequestMessage.h: New class.
  18557. * src/RequestMessage.cc: New class.
  18558. * src/CancelMessage.h: New class.
  18559. * src/CancelMessage.cc: New class.
  18560. * src/BitfieldMessage.h: New class.
  18561. * src/BitfieldMessage.cc: New class.
  18562. * src/ChokeMessage.h: New class.
  18563. * src/ChokeMessage.cc: New class.
  18564. * src/KeepAliveMessage.h: New class.
  18565. * src/KeepAliveMessage.cc: New class.
  18566. * src/PortMessage.h: New class.
  18567. * src/UnchokeMessage.h: New class.
  18568. * src/UnchokeMessage.cc: New class.
  18569. * src/PieceMessage.h: New class.
  18570. * src/PieceMessage.cc: New class.
  18571. * src/HaveMessage.h: New class.
  18572. * src/HaveMessage.cc: New class.
  18573. * src/BitfieldMessage.h: New class.
  18574. * src/BitfieldMessage.cc: New class.
  18575. * src/NotInterestedMessage.h: New class.
  18576. * src/NotInterestedMessage.cc: New class.
  18577. * src/InterestedMessage.h: New class.
  18578. * src/InterestedMessage.cc: New class.
  18579. * src/HandshakeMessage.h (sendMessageQueue): New variable.
  18580. (getSendMessageQueue): New function.
  18581. (setSendMessageQueue): New function.
  18582. * src/HandshakeMessage.cc: New class.
  18583. * src/PeerConnection.h (receiveMessage): Changed return value and
  18584. arguments.
  18585. (receiveHandshake): Changed return value and arguments.
  18586. * src/PeerConnection.cc (receiveMessage): Do not create message class
  18587. here.
  18588. (receiveHandshake): Do not create handshake class here.
  18589. * src/PeerInteractionCommand.h (peerConnection): Removed.
  18590. (piece): Removed.
  18591. (syncPiece): Removed.
  18592. (sendInterest): Removed.
  18593. (sendMessages): Removed.
  18594. (createRequestPendingMessage): Removed.
  18595. (checkPieceHash): Removed.
  18596. (erasePieceOnDisk): Removed.
  18597. (getNewPieceAndSendInterest): Removed.
  18598. (onGotNewPice): Removed.
  18599. (onGotWrongPiece): Removed.
  18600. * src/PeerInteractionCommand.cc (PeerInteractionCommand):
  18601. Removed peerConnection, piece.
  18602. (~PeerInteractionCommand): Removed peerConnection.
  18603. (executeInternal): Use sendMessageQueue instead of peerConnection.
  18604. (syncPiece): Moved to SendMessageQueue.
  18605. (decideChoking): Removed PendingMessage.
  18606. (receiveMessage): Use sendMessageQueue instead of peerConnection.
  18607. The action after receiving peer message was moved to each message
  18608. class.
  18609. (onGotNewPice): Moved to SendMessageQueue.
  18610. (onGotWrongPiece): Moved to SendMessageQueue.
  18611. (getNewPieceAndSendInterest): Moved to SendMessageQueue.
  18612. (sendInterest): Moved to SendMessageQueue.
  18613. (createRequestPendingMessage): Removed.
  18614. (sendMessages): Moved to SendMessageQueue.
  18615. (onAbort): Use SendMessageQueue::abortPiece()
  18616. (keepAlive): Use sendMessageQueue instead of peerConnection.
  18617. (beforeSocketCheck): Use sendMessageQueue instead of peerConnection.
  18618. (checkPieceHash): Moved to SendMessageQueue.
  18619. (erasePieceOnDisk): Moved to SendMessageQueue.
  18620. * src/PeerMessageUtil.h
  18621. (createBitfieldMessage): Removed.
  18622. (createHaveMessage): Changed return value and arguments.
  18623. (createBitfieldMessage): Changed return value and arguments.
  18624. (createRequestCancelMessage): Removed.
  18625. (createPieceMessage): Changed return value and arguments.
  18626. (getShortIntParam): New function.
  18627. (checkIndex): Changed arguments.
  18628. (checkBegin): Changed arguments.
  18629. (checkLength): Changed arguments.
  18630. (checkPieceOffset): Removed.
  18631. (checkRange): New function.
  18632. (checkBitfield): Changed arguments.
  18633. (createPeerMessage): Removed.
  18634. (checkIntegrity): Removed.
  18635. (createHandshakeMessage): Changed arguments.
  18636. (createChokeMessage): New function.
  18637. (createUnchokeMessage): New function.
  18638. (createInterestedMessage): New function.
  18639. (createNotInterestedMessage): New function.
  18640. (createRequestMessage): New function.
  18641. (createCancelMessage): New function.
  18642. (createPortMessage): New function.
  18643. * src/PeerMessageUtil.cc
  18644. (createBitfieldMessage): Removed.
  18645. (createHaveMessage): Changed return value and arguments.
  18646. (createBitfieldMessage): Changed return value and arguments.
  18647. (createRequestCancelMessage): Removed.
  18648. (createPieceMessage): Changed return value and arguments.
  18649. (getShortIntParam): New function.
  18650. (checkIndex): Changed arguments.
  18651. (checkBegin): Changed arguments.
  18652. (checkLength): Changed arguments.
  18653. (checkPieceOffset): Removed.
  18654. (checkRange): New function.
  18655. (checkBitfield): Changed arguments.
  18656. (createPeerMessage): Removed.
  18657. (checkIntegrity): Removed.
  18658. (createHandshakeMessage): Changed arguments.
  18659. (createChokeMessage): New function.
  18660. (createUnchokeMessage): New function.
  18661. (createInterestedMessage): New function.
  18662. (createNotInterestedMessage): New function.
  18663. (createRequestMessage): New function.
  18664. (createCancelMessage): New function.
  18665. (createPortMessage): New function.
  18666. * src/PeerMessage.h
  18667. (id): Removed.
  18668. (index): Removed.
  18669. (begin): Removed.
  18670. (length): Removed.
  18671. (bitfield): Removed.
  18672. (bitfieldLength): Removed.
  18673. (block): Removed.
  18674. (blockLength): Removed.
  18675. (inProgress): New variable.
  18676. (cuid): New variable.
  18677. (peer): New variable.
  18678. (sendMessageQueue): New variable.
  18679. (logger): New variable.
  18680. (setBitfield): Removed.
  18681. (getBitfield): Removed.
  18682. (setBlock): Removed.
  18683. (getBlock): Removed.
  18684. (getBitfieldLength): Removed.
  18685. (getBlockLength): Removed.
  18686. (isInProgress): New function.
  18687. (toString): Made pure virtual.
  18688. (check): New function.
  18689. (send): New function.
  18690. (receivedAction): New function.
  18691. (getId): Made pure virtual.
  18692. (setId): Removed.
  18693. (getIndex): Removed.
  18694. (setIndex): Removed.
  18695. (getBegin): Removed.
  18696. (setBegin): Removed.
  18697. (getLength): Removed.
  18698. (setLength): Removed.
  18699. (getCuid): New function.
  18700. (setCuid): New function.
  18701. (getPeer): New function.
  18702. (setPeer): New function.
  18703. (getSendMessageQueue): New function.
  18704. (setSendMessageQueue): New function.
  18705. (ID): Removed.
  18706. * src/PeerMessage.cc
  18707. (setBitfield): Removed.
  18708. (setBlock): Removed.
  18709. (toString): Removed.
  18710. * src/TorrentMan.h
  18711. (getPieceLength): New function.
  18712. (getPieceLength): New function.
  18713. * src/SendMessageQueue.h
  18714. (REQUEST_TIME_OUT): New definition.
  18715. (RequestSlots): New definition.
  18716. (MessageQueue): New definition.
  18717. (requestSlotMan): Removed.
  18718. (pendingMessages): Removed.
  18719. (requestSlots): New variable.
  18720. (messageQueue): New variable.
  18721. (torrentMan): New variable.
  18722. (peerConnection): New variable.
  18723. (peer): New variable.
  18724. (piece): New variable.
  18725. (getNewPieceAndSendInterest): New function.
  18726. (createPeerMessage): New function.
  18727. (createHandshakeMessage): New function.
  18728. (send): Made private.
  18729. (setPeerMessageCommonProperty): New function.
  18730. (deleteAllRequestSlot): New function.
  18731. (deleteRequestMessageInQueue): New function.
  18732. (cancelAllRequest): Made private.
  18733. (cancelAllRequest): Made private.
  18734. (countRequestSlot): Made private.
  18735. (addPendingMessage): Removed.
  18736. (deletePendingPieceMessage): Removed.
  18737. (deletePendingRequestMessage): Removed.
  18738. (addMessage): New function.
  18739. (deletePieceMessageInQueue): New function.
  18740. (deleteTimeoutRequestSlot): Changed argument.
  18741. (deleteCompletedRequestSlot): Changed argument.
  18742. (getCorrespoindingRequestSlot): Renamed to getCorrespondingRequestSlot.
  18743. (getCorrespondingRequestSlot): New function.
  18744. (countPendingMessage): Removed.
  18745. (countMessageInQueue): New function.
  18746. (getTorrentMan): New function.
  18747. (getPeerConnection): New function.
  18748. (hasDownloadPiece): New function.
  18749. (getDownloadPiece): New function.
  18750. (setDownloadPiece): New function.
  18751. (syncPiece): New function.
  18752. (sendMessages): New function.
  18753. (sendNow): New function.
  18754. (trySendNow): New function.
  18755. (abortPiece): New function.
  18756. (sendHandshake): New function.
  18757. (receiveMessage): New function.
  18758. (receiveHandshake): New function.
  18759. (createRequestMessage): New function.
  18760. (createCancelMessage): New function.
  18761. (createPieceMessage): New function.
  18762. (createHaveMessage): New function.
  18763. (createChokeMessage): New function.
  18764. (createUnchokeMessage): New function.
  18765. (createInterestedMessage): New function.
  18766. (createNotInterestedMessage): New function.
  18767. (createBitfieldMessage): New function.
  18768. (createKeepAliveMessage): New function.
  18769. * src/SendMessageQueue.cc
  18770. (SendMessageQueue): Removed requestSlotMan.
  18771. Instantiated peerConnection here.
  18772. (~SendMessageQueue): Removed requestSlotMan.
  18773. Added deletion of peerConnection and the contents of messageQueue.
  18774. (send): Updated according to the change of messageQueue.
  18775. (addPendingMessage): Renamed to addMessage.
  18776. (addMessage): New function.
  18777. (deletePendingPieceMessage): Renamed to deletePieceMessageInQueue.
  18778. (deletePieceMessageInQueue): New function.
  18779. (deletePendingRequestMessage): Renamed to deleteRequestMessageInQueue.
  18780. (deleteRequestMessageInQueue): New function.
  18781. (deleteRequestSlot): RequestSlotMan::deleteRequestSlot(...) was moved
  18782. here.
  18783. (deleteTimeoutRequestSlot): RequestSlotMan::deleteTimeoutRequestSlot
  18784. (...) was moved here.
  18785. (deleteAllRequestSlot): RequestSlotMan::deleteAllRequestSlot(...) was
  18786. moved here.
  18787. (deleteCompletedRequestSlot):
  18788. RequestSlotMan::deleteCompletedRequestSlot(...) was moved here.
  18789. (getCorrespondingRequestSlot):
  18790. RequestSlotMan::getCorrespoindingRequestSlot(...) was moved here.
  18791. And renamed to getCorrespondingRequestSlot, correcting a typo.
  18792. (countPendingMessage): Renamed to countMessageInQueue.
  18793. (countMessageInQueue): New function.
  18794. (countRequestSlot): RequestSlotMan::countRequestSlot() was moved here.
  18795. (receiveHandshake): New function.
  18796. (createHandshakeMessage): New function.
  18797. (receiveMessage): New function.
  18798. (createPeerMessage): New function.
  18799. (syncPiece): New function.
  18800. (getNewPieceAndSendInterest): New function.
  18801. (sendMessages): New function.
  18802. (sendNow): New function.
  18803. (trySendNow): New function.
  18804. (sendHandshake): New function.
  18805. (abortPiece): New function.
  18806. (getDownloadPiece): New function.
  18807. (getPeerMessageCommonProperty): New function.
  18808. (createRequestMessage): New function.
  18809. (createCancelMessage): New function.
  18810. (createPieceMessage): New function.
  18811. (createHaveMessage): New function.
  18812. (createChokeMessage): New function.
  18813. (createUnchokeMessage): New function.
  18814. (createInterestedMessage): New function.
  18815. (createNotInterestedMessage): New function.
  18816. (createBitfieldMessage): New function.
  18817. (createKeepAliveMessage): New function.
  18818. To add simple Content-Disposition support:
  18819. * src/HttpResponseCommand.h (determinFilename): New function.
  18820. * src/HttpResponseCommand.cc (executeInternal):
  18821. Use determinFilename(headers) instead of req->getFile() when comparing
  18822. filename.
  18823. (determinFilename): New function.
  18824. (handleDefaultEncoding): Use determinFilename(headers) instead of
  18825. req->getFile().
  18826. (handleOtherEncoding): Use determinFilename(headers) instead of
  18827. req->getFile().
  18828. * src/Util.h (getContentDispositionFilename): New function.
  18829. * src/Util.cc (getContentDispositionFilename): New function.
  18830. * src/LogFactory.h (release): New function.
  18831. * src/LogFactory.cc (release): New function.
  18832. To fix a bug that causes out-of-bound exception when HTTP status
  18833. line is wrong:
  18834. * src/HttpConnection.cc (receiveResponse): Added a check for header
  18835. size.
  18836. * src/common.h (Deleter): New class.
  18837. * src/SegmentMan.cc
  18838. (~SegmentMan): Added deletion of splitter and diskWriter.
  18839. * src/DownloadEngine.h
  18840. (Commands): Use deque.
  18841. (clearQueue): New function.
  18842. * src/DownloadEngine.cc
  18843. (~DownloadEngine): Added deletion of segmentMan.
  18844. (cleanQueue): New function.
  18845. * src/TorrentDownloadEngine.h
  18846. (TorrentDownloadEngine): The implementation was moved to
  18847. TorrentDownloadEngine.cc.
  18848. (~TorrentDownloadEngine): The implementation was moved to
  18849. TorrentDownloadEngine.cc.
  18850. * src/TorrentDownloadEngine.cc
  18851. (~TorrentDownloadEngine): Added deletion of torrentMan.
  18852. * src/main.cc
  18853. (clearRequest): Removed.
  18854. (handler): Added deletion of e.
  18855. (torrentHandler): Added deletion of te.
  18856. (main): Do not share splitter.
  18857. Use Deleter instead of clearRequest.
  18858. Deletion of classes were updated.
  18859. 2006-05-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18860. * src/main.cc (main): Fixed typo.
  18861. * src/message.h: Fixed typo.
  18862. * po/de.po: Added German translation, thanks to Hermann J. Beckers.
  18863. 2006-04-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18864. To add --select-file command-line option:
  18865. * src/Util.cc
  18866. (unfoldRange): New function.
  18867. (getNum): New function.
  18868. (unfoldSubRange): New function
  18869. * src/main.cc
  18870. (showUsage): Added help message.
  18871. (main): Added --select-file command-line option. Updated the layout of
  18872. file listing.
  18873. * src/common.h
  18874. (Integers): New definition.
  18875. * src/SocketCore.cc
  18876. (writeData): Removed timeout argument.
  18877. (readData): Removed timeout argument.
  18878. (peekData): Removed timeout argument.
  18879. * src/Socket.cc
  18880. (writeData): Removed timeout argument.
  18881. (readData): Removed timeout argument.
  18882. (peekData): Removed timeout argument.
  18883. * Release 0.4.1
  18884. 2006-04-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18885. To deploy upload rate based choking algorithm:
  18886. * src/PeerInteractionCommand.cc
  18887. (PeerInteractionCommand): Add peer to TorrentMan::activePeers to track
  18888. peer currently used.
  18889. (decideChoking): Deleted the choke/unchoke decision algorithm when
  18890. download completes. Simplified.
  18891. (receiveMessage): Updated.
  18892. * src/TorrentMan.h
  18893. (activePeers): New variable.
  18894. (addActivePeer): New function.
  18895. (getActivePeers): New function.
  18896. (deleteActivePeer): New function.
  18897. * src/TorrentMan.cc
  18898. (addPeer): deleteOldErrorPeers is moved to the begining of the function
  18899. * src/PeerAbstractCommand.cc
  18900. (onAbort): Use peer->resetStatus().
  18901. * src/main.cc
  18902. (PeerChokeCommand.h): Included.
  18903. (main): Added the instance of ChokingCommand to the command queue.
  18904. * src/Peer.h
  18905. (amChoking): Renamed from amChocking
  18906. (chokingRequired): New variable.
  18907. (optUnchoking): New variable.
  18908. (deltaUpload): New variable.
  18909. (deltaDownload): New variable.
  18910. (addDeltaUpload): New function.
  18911. (resetDeltaUpload): New function.
  18912. (addDeltaDownload): New function.
  18913. (resetDeltaDownload): New function.
  18914. (addPeerUpload): Added a call to addDeltaUpload.
  18915. (addPeerDownload): Added a call to addDeltaDownload.
  18916. * src/Peer.cc
  18917. (shouldBeChoking): Renamed from shouldChoke.
  18918. (resetStatus): New function.
  18919. * src/PeerChokeCommand.h: New class.
  18920. * src/PeerChokeCommand.cc: New class.
  18921. To add lazy upload speed limiter:
  18922. * src/TorrentConsoleDownloadEngine.h: Moved the variables for
  18923. statistics calculation to TorrentDownloadEngine.
  18924. * src/TorrentConsoleDownloadEngine.cc
  18925. (sendStatistics): Renamed from printStatistics.
  18926. (initStatistics): Removed. Moved to TorrentDownloadEngine.
  18927. (calculateSpeed): Removed. Moved to TorrentDownloadEngine.
  18928. (calculateStatistics): Removed. Moved to TorrentDownloadEngine.
  18929. * src/TorrentDownloadEngine.h: Added the variables for statistics
  18930. calculation.
  18931. (sendStatistics): New function as pure virtual function.
  18932. (getUploadSpeed): New function.
  18933. * src/TorrentDownloadEngine.cc
  18934. (initStatistics): New function.
  18935. (calculateSpeed): New function.
  18936. (calculateStatistics): New function.
  18937. * src/SendMessageQueue.h
  18938. (uploadLength): New variable.
  18939. (send): Added an argument.
  18940. (setUploadLimit): New function.
  18941. (getUploadLimit): New function.
  18942. * src/SendMessageQueue.cc
  18943. (send): Added upload speed limiter.
  18944. * src/prefs.h
  18945. (PREF_UPLOAD_LIMIT): New definition.
  18946. * src/PeerInteractionCommand.cc
  18947. (PeerInteractionCommand): Set upload speed limit to sendMessageQueue.
  18948. * src/main.cc
  18949. (main): Added --upload-limit option
  18950. For bug fixes:
  18951. * src/main.cc
  18952. (showUsage): Corrected --listen-port help
  18953. Other changes:
  18954. * src/TorrentMan.cc
  18955. (getPeer): Return nullPeer if connection is grather than
  18956. MAX_PEER_UPDATE(15) in order to leave space for incoming peers.
  18957. 2006-04-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18958. To add some useful information to the exception message:
  18959. * src/SocketCore.cc : Updated messages.
  18960. * src/SegmentMan.cc :
  18961. * src/TorrentMan.cc : Updated messages.
  18962. * src/MultiDiskWriter.cc : Updated messages.
  18963. * src/Util.cc : Updated messages.
  18964. * src/AbstractDiskWriter.cc : Updated messages.
  18965. * src/PreAllocationDiskWriter.cc : Updated messages.
  18966. * src/message.cc : Added new messages. Updated some messages.
  18967. * src/TrackerWatcherCommand.h (MIN_PEERS): New definition.
  18968. * src/TrackerWatcherCommand.cc (execute): Use MIN_PEERS.
  18969. Updated threshold from 30 to 15.
  18970. * src/AbstractDiskWriter.h (filename): New variable.
  18971. * src/AbstractDiskWriter.cc (openExistingFile): Assigned filename.
  18972. (createFile): Assigned filename.
  18973. * src/main.cc: Updated the help message for http-auth-scheme.
  18974. * Release 0.4.0
  18975. 2006-04-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18976. To add TrackerUpdateCommand with which replaces
  18977. CompactTrackerResponseProcessor:
  18978. * src/TrackerWatcherCommand.h (req): Removed.
  18979. * src/TrackerWatcherCommand.cc (execute): Send a request to tracker
  18980. if the number of peer connections are less than 30.
  18981. * src/ByteArrayDiskWriter.h (readData): Implemented.
  18982. * src/SegmentMan.h (diskWriter): New function.
  18983. * src/SegmentMan.cc (init): Added a call to diskWriter->closeFile()
  18984. * src/main.cc : Removed #include "CompactTrackerResponseProcessor.h"
  18985. (main): Use TrackerUpdateCommand.
  18986. * src/TorrentMan.h (CompactTrackerResponseProcessor): Removed.
  18987. (req): New variable.
  18988. (setTrackerResponseProcessor): Removed.
  18989. (getTrackerResponseProcessor): Removed.
  18990. (processTrackerResponse): Removed.
  18991. * src/DownloadEngine.h (diskWriter): Removed.
  18992. * src/TorrentDownloadEngine.cc (afterEachIteration): Removed a call
  18993. to torrentMan->processTrackerResponse().
  18994. To add Util::expandBuffer:
  18995. * src/ByteArrayDiskWriter.h (expandBuffer): Removed.
  18996. * src/ByteArrayDiskWriter.cc (writeData): Use Util::expandBuffer().
  18997. * src/Util.h (expandBuffer): New function.
  18998. To fix the bug that causes segmentation fault when "-l ." is specified
  18999. in command-line option:
  19000. * src/SimpleLogger.h (SimpleLogger): Removed "filename" argument.
  19001. (openFile): New function.
  19002. (closeFile): New function.
  19003. * src/SimpleLogger.cc (SimpleLogger): Removed fopen.
  19004. (~SimpleLogger): Call closeFile();
  19005. * src/LogFactory.cc (getInstance): Added a call to slogger->openFile().
  19006. * src/main.cc (main): Added a check to see logger is configured
  19007. properly.
  19008. To enable HTTP authentication without specifying "--http-auth-scheme"
  19009. * src/prefs.h (PREF_HTTP_AUTH_ENABLED): New definition.
  19010. * src/HttpConnection.cc (createRequest): Send Authorization header
  19011. if PREF_HTTP_AUTH_ENABLED == V_TRUE.
  19012. * src/main.cc (main): Preset PREF_HTTP_AUTH_SCHEME to V_TRUE
  19013. If "--http-user" is specified, set PREF_HTTP_AUTH_ENABLED to V_TRUE
  19014. * src/Peer.cc (shouldChoke): Updated algorithm.
  19015. * src/message.h (EX_AUTH_FAILED): New definition.
  19016. (EX_FILE_OPEN): New definition.
  19017. * src/HttpResponseCommand.cc (checkResponse): Throw DlAbortEx
  19018. if status == 401.
  19019. (handleDefaultEncoding): Added a call to diskWriter->initAndOpenFile()
  19020. if req->isTorrent == true.
  19021. * src/main.cc (handler): Removed the check to see e->diskWriter != NULL
  19022. (torrentHandler): Removed the check to see diskAdaptor != NULL.
  19023. * src/AbstractDiskWriter.cc (openExistingFile): Updated messsage.
  19024. (createFile): Updated message.
  19025. 2006-04-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19026. To add a readout of estimated remaining time to normal HTTP/FTP
  19027. downloads:
  19028. * src/ConsoleDownloadEngine.h (startup): New variable.
  19029. (startupLength): New variable.
  19030. (isStartupLengthSet): New variable.
  19031. (avgSpeed): New variable.
  19032. (eta): New variable.
  19033. * src/ConsoleDownloadEngine.cc (sendStatistics): Added a readout of
  19034. estimated remaining time.
  19035. (initStatistics): Initialized newly added variables.
  19036. (calculateStatistics): Calculate average speed and estimated remaining
  19037. time.
  19038. To decouple TorrentDownloadEngine from HttpResponseCommand:
  19039. * src/TrackerDownloadCommand.h: Removed.
  19040. * src/TrackerDownloadCommand.cc: Removed.
  19041. * src/TrackerInitCommand.h: Removed.
  19042. * src/TrackerInitCommand.cc: Removed.
  19043. * src/TrackerUpdateCommand.h: Removed.
  19044. * src/TrackerUpdateCommand.cc: Removed.
  19045. * src/TrackerWatcherCommand.cc (execute): The construction of request
  19046. url written in TrackerInitCommand was moved here. Do not create
  19047. tracker request command if torrentMan->trackers != 0.
  19048. * src/CompactTrackerResponseProcessor.h: New class.
  19049. * src/CompactTrackerResponseProcessor.cc: New class.
  19050. * src/message.h (MSG_TRACKER_WARNING_MESSAGE): Updated.
  19051. * src/HttpResponseCommand.cc (createHttpDownloadCommand):
  19052. Decoupled TorrentDownloadEngine from this.
  19053. * src/SegmentMan.h (init): New function.
  19054. * src/SegmentMan.cc (init): New function.
  19055. * src/TorrentMan.h (responseProcessor): New variable.
  19056. (trackers): New variable.
  19057. (setTrackerResponseProcessor): New function.
  19058. (getTrackerResponseProcessor): New function.
  19059. (processTrackerResponse): New function.
  19060. * src/TorrentMan.cc (Constructor): Initialized new variable trackers.
  19061. (processTrackerResponse): New function.
  19062. * src/main.cc (main): Use ByteArrayDiskWriter and
  19063. CompactTrackerResponseProcessor.
  19064. * src/TorrentDownloadEngine.cc (afterEachIteration): Call torrentMan->
  19065. processTrackerResponse().
  19066. * src/TorrentConsoleDownloadEngine.cc (printStatistics): Updated a
  19067. readout.
  19068. * src/TorrentDownloadEngine.cc (afterEachIteration): Added log message
  19069. which indicates download has completed.
  19070. * src/AbstractDiskWriter.cc (Destructor): fd >= 0, not fd >0
  19071. (closeFile): fd >= 0, not fd > 0
  19072. * src/main.cc (main): Added short cut for show-files.
  19073. Added short cut for torrent-file.
  19074. Added new command-line option listen-port.
  19075. Updated i18n messages.
  19076. 2006-04-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19077. To add LogFactory which creates singleton logger:
  19078. * src/LogFactory.h: New class.
  19079. * src/LogFactory.cc: New class.
  19080. * src/Command.h (logger): New variable.
  19081. (Constructor): Use LogFactory.
  19082. * src/AbstractCommand.cc: Use Command::logger
  19083. * src/PeerConnection.cc (Constructor): Deleted the argument logger.
  19084. Use LogFactory.
  19085. * src/SegmentSplitter.h : Made logger protected.
  19086. * src/SegmentSplitter.cc (Constructor): Use LogFactory.
  19087. * src/SegmentMan.cc (Constructor): Use LogFactory.
  19088. * src/DownloadEngine.h : Made logger protected.
  19089. * src/DownloadEngine.cc (Constructor): Use LogFactory.
  19090. * src/PeerInteractionCommand.cc : Use Command::logger.
  19091. * src/HttpResponseCommand.cc : Use Command::logger.
  19092. * src/SegmentMan.h : Made logger private.
  19093. * src/TorrentMan.h : Made logger private.
  19094. * src/TorrentMan.cc : Use LogFactory.
  19095. * src/FtpNegotiateCommand.cc : Use Command::logger.
  19096. * src/HttpConnection.h (Constructor): Deleted the argument logger.
  19097. * src/HttpConnection.cc (Constructor): Deleted the argument logger.
  19098. Use LogFactory.
  19099. * src/FtpConnection.h (Constructor): Deleted the argument logger.
  19100. * src/FtpConnection.cc (Constructor): Deleted the argument logger.
  19101. Use LogFactory.
  19102. * src/DownloadCommand.cc : Use Command::logger.
  19103. * src/PeerAbstractCommand.cc : Use Command::logger.
  19104. * src/PeerListenCommand.cc : Use Command::logger.
  19105. * src/PeerInitiateConnectionCommand.cc : Use Command::logger.
  19106. * src/HttpInitiateConnectionCommand.cc : Use Command::logger.
  19107. * src/FtpInitiateConnectionCommand.cc : Use Command::logger.
  19108. * src/TrackerWatcherCommand.cc : Use Command::logger.
  19109. * src/TrackerUpdateCommand.cc : Use Command::logger.
  19110. * src/TrackerDownloadCommand.cc : Use Command::logger.
  19111. * src/RequestSlotMan.cc (Constructor): Deleted the argument logger.
  19112. Use LogFactory.
  19113. * src/SendMessageQueue.h (Constructor): Deleted the argument logger.
  19114. * src/SendMessageQueue.cc (Constructor): Deleted the argument logger.
  19115. Use LogFactory.
  19116. * src/main.cc (main): Use LogFactory.
  19117. * src/DiskAdaptor.h (logger): New variable.
  19118. * src/DiskAdaptor.cc (Constructor): Use LogFactory.
  19119. * src/CopyDiskAdaptor.cc (fixFilename): Added a log message.
  19120. 2006-04-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19121. * src/TrackerInitCommand.cc (TrackerInitCommand): Added a "key"
  19122. parameter to a tracker request.
  19123. * src/TorrentMan.cc (readFileEntryFromMetaInfoFile): Bug fix.
  19124. * src/TrackerWatcherCommand.cc (execute): Call req->resetTryCount().
  19125. * src/main.cc (setSignalHander): New function.
  19126. (main): Added a handler for SIGTERM.
  19127. (handler): Updated message.
  19128. (torrentHandler): Updated message.
  19129. 2006-04-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19130. * src/TorrentConsoleDownloadEngine.cc
  19131. (onPartialDownloadingCompletes): Renamed as
  19132. onSelectiveDownloadingCompletes.
  19133. (onSelectiveDownloadingCompletes): Updated message.
  19134. To add DiskAdaptor which abstract DiskWriter family:
  19135. * src/PeerConnection.cc: Use diskAdaptor instead of diskWriter.
  19136. * src/PeerInteractionCommand.cc: Use diskAdaptor instead of diskWriter.
  19137. * src/BitfieldMan.cc (isAllBitSet): bug fix.
  19138. * src/TorrentMan.cc : Included CopyDiskAdaptor.h, DirectDiskAdaptor.h,
  19139. MultiDiskAdaptor.h.
  19140. (readFileEntry): Changed its arguments.
  19141. (setup): setupDiskWriter is merged into this function.
  19142. (setupDiskWriter): Removed.
  19143. (setFileFilter): New function.
  19144. (readFileEntryFromMetaInfoFile): Updated according to the changes
  19145. made in readFileEntry.
  19146. (getFilePath): Removed.
  19147. (getTempFilePath): Removed.
  19148. (getSegmentFilePath): Updated due to the removal of getFilePath.
  19149. (fixFilename): Removed.
  19150. (copySingleFile): Removed.
  19151. (splitMultiFile): Removed.
  19152. (deleteTempFile): Removed.
  19153. (setFileEntriesToDownload): Removed.
  19154. (isPartialDownloadingMode): Renamed as isSelectiveDownloadingMode.
  19155. (isSelectiveDownloadingMode): New function.
  19156. (setAllMultiFileRequestedState): Removed.
  19157. (finishPartialDownloadingMode): Renamed as
  19158. finishSelectiveDownloadingMode.
  19159. (finishSelectiveDownloadingMode): New function.
  19160. (getPartialTotalLength): Renamed as getSelectedTotalLength.
  19161. (getSelectedTotalLength): New function.
  19162. (onDownloadComplete): Use diskAdaptor.
  19163. * src/MultiDiskWriter.cc (Constructor): Added the argument pieceLength
  19164. (Range): Removed.
  19165. (setMultiFileEntries): Renamed as setFileEntries.
  19166. (setFileEntries): New function.
  19167. * src/MultiDiskWriter.h [DiskWriterEntry](enabled): Removed.
  19168. (pieceLength): New variable.
  19169. * src/main.cc (printDownloadCompeleteMessage): New function.
  19170. (torrentHandler): Use diskAdaptor instead of diskWriter.
  19171. (main): Renamed torrent-show-files to show-files.
  19172. Rewritten file contents listing.
  19173. * src/TorrentMan.h (FileEntry): Removed.
  19174. (multiFileTopDir): Removed.
  19175. (multiFileEntries): Removed.
  19176. (diskWriter): Removed.
  19177. (diskAdaptor): New variable.
  19178. * src/DefaultDiskWriter.h (totalLength): New variable.
  19179. * src/DefaultDiskWriter.cc (initAndOpenFile): Added ftruncate.
  19180. * src/TorrentDownloadEngine.cc (onEndOfRun): Use diskAdaptor instead of
  19181. diskWriter.
  19182. * src/TorrentConsoleDownloadEngine.h
  19183. (partialDownloadLengthDiff): Renamed as selectedDownloadLengthDiff.
  19184. (partialTotalLength): Renamed as selectedTotalLength.
  19185. * src/AbstractDiskWriter.cc (openFile): If file exists, call
  19186. openExistingFile, otherwise call initAndOpenFile.
  19187. (closeFile): fd > 0, not fd != 0.
  19188. * src/DirectDiskAdaptor.h: New class.
  19189. * src/DirectDiskAdaptor.cc: New class.
  19190. * src/MultiDiskAdaptor.h: New class.
  19191. * src/MultiDiskAdaptor.cc: New class.
  19192. * src/CopyDiskAdaptor.h: New class.
  19193. * src/CopyDiskAdaptor.cc: New class.
  19194. * src/DiskAdaptor.h: New class.
  19195. * src/DiskAdaptor.cc: New class.
  19196. * src/prefs.h (PREF_TORRENT_SHOW_FILES): Renamed as PREF_SHOW_FILES
  19197. (PREF_SHOW_FILES): New definition.
  19198. 2006-04-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19199. To add the ability to download multi torrent into respective files
  19200. directly:
  19201. * src/DiskWriter.h (openFile): New function.
  19202. (seek): Removed.
  19203. * src/MultiDiskWriter.h: New class.
  19204. * src/MultiDiskWriter.cc: New class.
  19205. * src/AbstractDiskWriter.h (seek): Changed its scope from public to
  19206. protected.
  19207. (openFile): New function.
  19208. * src/AbstractDiskWriter.cc (openFile): New function.
  19209. * src/prefs.h (V_FALSE): New definition.
  19210. (PREF_DIRECT_FILE_MAPPING): New definition.
  19211. * src/TorrentMan.h (setupDiskWriter): New function.
  19212. (setAllMultiFileRequestedState): New function.
  19213. (onDownloadComplete): New function.
  19214. * src/TorrentMan.cc : Included MultiDiskWriter.h
  19215. (setupDiskWriter): New function.
  19216. (getFilePath): Updated.
  19217. (getTempFilePath): Updated.
  19218. (getSegmentFilePath): Updated.
  19219. (fixFilename): Updated.
  19220. (deleteTempFile): Updated.
  19221. (setAllMultiFileRequestedState): New function.
  19222. (setFileEntriesToDownload): Use setAllMultiFileRequestedState().
  19223. (finishPartialDownloadingMode): Reset requested flags.
  19224. (onDownloadComplete): New function.
  19225. * src/main.cc: Added --direct-file-mapping option.
  19226. Use TorrentMan::setupDiskWriter().
  19227. * src/TorrentDownloadEngine.cc (afterEachIteration): Use TorrentMan::
  19228. onDownloadComplete().
  19229. To fix ETA bug:
  19230. * src/Util.h (difftvsec): New function.
  19231. * src/Util.cc (difftvsec): New function.
  19232. * src/TorrentConsoleDownloadEngine.cc (calculateSpeed): Use int for the
  19233. type of "elapsed" instead of long long int.
  19234. (calculateStatistics): Use Util::difftvsec instead of Util::difftv.
  19235. The updates of statistics takes place every 1 seconds.
  19236. * src/TorrentConsoleDownloadEngine.h (lastElapsed): Changed its type.
  19237. (calculateSpeed): Changed its argument signature.
  19238. * src/PeerMessage.cc (toString): Fixed message.
  19239. 2006-04-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19240. To print ETA:
  19241. * src/TorrentDownloadEngine.cc (afterEachIteration): Added download
  19242. completion handling when dealing with
  19243. TorrentMan::isPartialDownloadingMode() == true.
  19244. * src/TorrentDownloadEngine.h (onPartialDownloadingCompletes):
  19245. New function.
  19246. * src/TorrentConsoleDownloadEngine.h (startup): New variable.
  19247. (sessionDownloadLength): New variable.
  19248. (avgSpeed): New variable.
  19249. (eta): New variable.
  19250. * src/TorrentConsoleDownloadEngine.cc (initStatistics): Initialized
  19251. new variables: eta, avgSpeed, startup.
  19252. (calculateSpeed): Calculate average speed and ETA.
  19253. (printStatistics): Added ETA.
  19254. * src/Util.h (secfmt): New function.
  19255. * src/Util.cc (secfmt): New function.
  19256. 2006-04-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19257. To detect "keep alive" flooding:
  19258. * src/PeerInteractionCommand.h (keepAliveCount): New variable
  19259. * src/PeerInteractionCommand.cc (Constructor): Initialized new
  19260. variable: keepAliveCount.
  19261. (detectMessageFlooding): Added "keep alive" flooding detection.
  19262. (receiveMessage): Increase keepAliveCount when "keep alive" message
  19263. received.
  19264. To add the ability to download only specified files in multi-file
  19265. torrent:
  19266. * src/BitfieldMan.h (filterBitfield): New variable.
  19267. (filterEnabled): New variable.
  19268. (setFilterBit): New function.
  19269. (enableFilter): New function.
  19270. (disableFilter): New function.
  19271. (isFilterEnabled): New function.
  19272. (getFilteredTotalLength): New function.
  19273. (getCompletedLength): New function.
  19274. * src/BitfieldMan.cc (Constructor): Initialized new variable:
  19275. filterBitfield, filterEnabled.
  19276. (CopyConstructor): Added filterBitfield and filterEnabled.
  19277. (operator==): Added filterBitfield and filterEnabled.
  19278. (Destructor): Added filterBitfield.
  19279. (getMissingIndex): Use filterBitfield.
  19280. (getMissingUnusedIndex): Use filterBitfield.
  19281. (getFirstMissingUnusedIndex): Use filterBitfield.
  19282. (getFirstMissingUnusedIndex): Use filterBitfield.
  19283. (getAllMissingIndexes): Use filterBitfield.
  19284. (countMissingBlock): Use filterBitfield.
  19285. (countBlock): Use filterBitfield.
  19286. (setBitInternal): Added new argument on.
  19287. (setUseBit): Use setBitInternal.
  19288. (unsetUseBit): Use setBitInternal.
  19289. (setBit): Use setBitInternal.
  19290. (unsetBit): Use setBitInternal.
  19291. (isAllBitSet): Use filterBitfield.
  19292. (setFilterBit): New function.
  19293. (addFilter): New function.
  19294. (enableFilter): New function.
  19295. (disableFilter): New function.
  19296. (clearFilter): New function.
  19297. (isFilterEnabled): New function.
  19298. (getFilteredTotalLength): New function.
  19299. (getCompletedLength): New function.
  19300. * src/TorrentMan.h [FileEntry](Constructor): Updated signature.
  19301. Initalized newly added variables.
  19302. [FileEntry](offset): New variable.
  19303. [FileEntry](extracted): New variable.
  19304. [FileEntry](requested): New variable.
  19305. (readFileEntry): New function.
  19306. (option): New variable.
  19307. (splitMultiFile): Removed const qualifier.
  19308. (fixFilename): Removed const qualifier.
  19309. (readFileEntryFromMetaInfoFile): New function.
  19310. (finishPartialDownloadingMode): New function.
  19311. (isPartialDownloadingMode): New function.
  19312. (setFileEntriesToDownload): New function.
  19313. (getCompletedLength): New function.
  19314. (getPartialTotalLength): New function.
  19315. * src/TorrentMan.cc (readFileEntry): New function.
  19316. (setup): Use readFileEntry. If no-preallocation option is specified,
  19317. use DefaultDiskWriter.
  19318. (readFileEntryFromMetaInfoFile): New function.
  19319. (fixFilename): Removed const qualifier.
  19320. (splitMultiFile): Removed const qualifier.
  19321. (setFileEntriesToDownload): New function.
  19322. (isPartialDownloadingMode): New function.
  19323. (finishPartialDownloadingMode): New function.
  19324. (getCompletedLength): New function.
  19325. (getPartialTotalLength): New function.
  19326. * src/TorrentConsoleDownloadEngine.h (partialDownloadLengthDiff):
  19327. New variable.
  19328. (partialTotalLength): New variable.
  19329. (downloadLength): New variable.
  19330. (totalLength): New variable.
  19331. * src/TorrentConsoleDownloadEngine.cc (onPartialDownloadingCompletes):
  19332. Added log.
  19333. (initStatistics): Initialized new variables: partialDownloadLengthDiff,
  19334. partialTotalLength, downloadLength, totalLength.
  19335. (calculate): Calculate downloadLength and totalLength.
  19336. * src/prefs.h :New definition PREF_NO_PREALLOCATION
  19337. * src/main.cc (addCommand): Changed argument signature.
  19338. (main): Added new variable: args. Added new option "torrent-show-files"
  19339. "no-preallocation". Usage is not updated yet.
  19340. 2006-04-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19341. * src/PeerMessage.cc (setBitfield): Fixed invalid memory de-allocation.
  19342. 2006-04-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19343. Attempt to add the ability to listing file entries in a .torrent file.
  19344. This feature is not yet complete.
  19345. * src/prefs.h (PREF_TORRENT_SHOW_FILES): New definition
  19346. * src/TorrentMan.cc (getMultiFileEntries): New function.
  19347. (getName): New function.
  19348. * src/TorrentMan.h (getMultiFileEntries): New function.
  19349. (getName): New function.
  19350. * src/main.cc (main): Use above 2 funtion.
  19351. * Release 0.3.2
  19352. 2006-03-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19353. * src/PeerInteractionCommand.cc (checkInactiveConnection): New function
  19354. (detectMessageFlooding): Updated threshold value.
  19355. (checkLongTimePeerChoking): Updated timeout value.
  19356. (getNewPieceAndSendInterest): Added debug log.
  19357. * src/PeerInteractionCommand.h (checkInactiveConnection): New function
  19358. * src/TorrentMan.cc (deleteOldErrorPeers): Updated.
  19359. (getPeer): Updated.
  19360. * src/TorrentMan.h: Added MAX_PEER_ERROR.
  19361. * src/PeerAbstractCommand.cc (onAbort): Increment error counter.
  19362. * src/PeerListenCommand.cc (execute): Close connection if incoming peer
  19363. is localhost.
  19364. * src/main.cc (main): Updated PREF_PEER_CONNECTION_TIMEOUT to 60.
  19365. * src/PendingMessage.cc (processMessage): Not to send piece message
  19366. if peer is not interested in the pieces localhost has.
  19367. * src/Peer.cc (shouldChoke): Updated.
  19368. * src/SendMessageQueue.cc (cancelAllRequest): Fixed.
  19369. * src/Util.cc (isPowerOf): New function.
  19370. * src/Util.h (isPowerOf): New function.
  19371. * src/PeerMessageUtil.cc (checkLength): Added a check for length
  19372. whether or not it is power of 2.
  19373. 2006-03-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19374. Added new class SendMessageQueue that includes PendingMessages and
  19375. RequestSlotMan.
  19376. * src/SendMessageQueue.h: New class.
  19377. * src/SendMessageQueue.cc: New class.
  19378. * src/PendingMessage.h: Added new member variable blockIndex and its
  19379. accessors.
  19380. (createRequestMessage): Updated.
  19381. * src/PendingMessage.cc (createRequestMessage): Updated.
  19382. * src/PeerInteractionCommand.cc (executeInternal): Updated with
  19383. SendMessageQueue.
  19384. (checkLongTimePeerChoking): Updated with SendMessageQueue.
  19385. (receiveMessage): Updated with SendMessageQueue.
  19386. (deletePendingPieceMessage): Removed.
  19387. (getNewPieceAndSendInterest): Updated with SendMessageQueue.
  19388. (sendInterest): Updated with SendMessageQueue.
  19389. (createRequestPendingMessage): Updated with SendMessageQueue.
  19390. (sendMessages): Updated with SendMessageQueue.
  19391. (onAbort): Updated with SendMessageQueue.
  19392. (keepAlive): Updated with SendMessageQueue.
  19393. (beforeSocketCheck): Updated SendMessageQueue.
  19394. * src/PeerInteractionCommand (sendMessages): Shuffle
  19395. missingBLockIndexes before using it.
  19396. Added its own timeout for peer connection.
  19397. * src/PeerAbstractCommand.h: Added member variable timeout and its
  19398. setter.
  19399. * src/prefs.h: Added PREF_PEER_CONNECTION_TIMEOUT.
  19400. * src/PeerInteractionCommand.cc (PeerInteractionCommand):
  19401. Added setTimeout() call.
  19402. (executeInternal): Added setTimeout() call.
  19403. * src/PeerAbstractCommand.cc (PeerAbstractCommand):
  19404. Added timeout.
  19405. (isTimeoutDetected): Updated.
  19406. * src/main.cc (main): Added PREF_PEER_CONNECTION_TIMEOUT entry to
  19407. option.
  19408. Added *simple* message flooding checker.
  19409. * src/PeerInteractionCommand.cc (executeInternal):
  19410. Added detectMessageFlooding() call.
  19411. (detectMessageFlooding): New function.
  19412. (receiveMessage): Count up CHOKE, UNCHOKE, HAVE message.
  19413. (beforeSocketCheck): Added detectMessageFlooding() call.
  19414. * src/PeerInteractionCommand.h: Added sendMessageQueue,
  19415. chokeUnchokeCount, haveCount, detectMessageFlooding().
  19416. Removed deletePendingPieceMessage(), getRequestSlot(),
  19417. deleteRequestSlot(), deleteAllRequestSlot().
  19418. * src/PeerInteractionCommand.cc (beforeSocketCheck):
  19419. Added checkLongTimePeerChoking() call.
  19420. * src/RequestSlotMan.h: Renamed deleteTimeoutRequestSlot().
  19421. * src/TorrentMan.cc (addPeer): Delete at most MAX_PEER_LIST_SIZE peers
  19422. if duplicate == false.
  19423. The parameter "uploaded" and "downloaded" in the tracker request are
  19424. the size since the client sent the "started" event to the tracker.
  19425. * src/TorrentMan.cc (setup): Assigned saved downloaded Size and
  19426. uploaded size to preDownloadedSize, preUploadedSize respectively.
  19427. * src/TorrentMan.h: Added preDownloadedSize, preUploadedSize,
  19428. getSessionDownloadedSize(), getSessionUploadedSize().
  19429. * src/TrackerInitCommand.cc (execute): Use getSessionDownloadedSize(),
  19430. getSessionUploadedSize() instead of getDownloadedSize(),
  19431. getUploadedSize().
  19432. * src/PendingMessage.cc (processMessage): Do not send request message
  19433. if the peer is choking the client.
  19434. * src/TrackerUpdateCommand.cc (execute): Check wtheher minInterval is
  19435. less than interval.
  19436. 2006-03-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19437. * configure.in: Added gnutls support. Added several CPP macros.
  19438. * m4/openssl.m4: Added.
  19439. * src/SocketCore.{h,cc}: Drop const quarifier from writeData(),
  19440. readData(), peekData(). Added gnutls support.
  19441. * src/HttpDownloadCommand.cc: Removed SleepCommand.h
  19442. * src/TrackerWatcherCommand.{h,cc}: Added. This command creates
  19443. TrackerInitCommand periodicaly(TorrentMan::minInterval).
  19444. * src/TorrentMan.cc: Remove downloadedSize == 0 check from save().
  19445. Instead, added a check for whether setup method has executed
  19446. successfully.
  19447. * src/TorrentMan.h: Added member vaiable setupComplete. Updated
  19448. DEFAULT_ANNOUNCE_INTERVAL and DEFAULT_ANNOUNCE_MIN_INTERVAL to 300.
  19449. * src/Makefile.am: Updated.
  19450. * src/messageDigest.h: Added. This is a macro calculating SHA1 digest
  19451. using whether OpenSSL or gcrypt, depending on the result of configure
  19452. script.
  19453. * src/ShaVisitor.{h,cc}: Removed direct dependency on OpenSSL by using
  19454. messageDigest.h.
  19455. * src/TorrentAutoSaveCommand.h: Removed unused variable cuid.
  19456. * src/PeerListenCommand.cc: Added log about port binded successfully.
  19457. Fixed memory leak.
  19458. * src/main.cc: Added gnutls support. Replaced LIB_SSL with
  19459. ENABLE_BITTORRENT where they are not related to OpenSSL but BitTorrent.
  19460. Removed instantiation of TrackerInitCommand. Instead,
  19461. TrackerWatcherCommand is instantiated and pushed to the command queue.
  19462. * src/InitiateConnectionCommandFactory.cc: Replaced HAVE_LIBSSL with
  19463. ENABLE_SSL.
  19464. * src/Request.cc: Replaced HAVE_LIBSSL with ENABLE_SSL.
  19465. * src/RequestSlotMan.cc (deleteCompletedRequestSlot):
  19466. If a piece is already acquired by another command, delete the request
  19467. slots for the piece.
  19468. * src/TrackerUpdateCommand.cc (execute):
  19469. Changed log level of MSG_TRACKER_WARNING_MESSAGE from info to warn.
  19470. Added a check whether peer list is null.
  19471. Fixed the bug that causes sending completed event to the tracker
  19472. several times.
  19473. * src/TrackerInitCommand.cc (execute):
  19474. Fixed the bug that causes sending completed event to the tracker
  19475. several times.
  19476. * src/AbstractDiskWriter.{h,cc}: Removed direct dependency on OpenSSL
  19477. by using messageDigest.h.
  19478. 2006-03-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19479. * PeerConnection.cc: Replaced log message "keep-alive" with
  19480. "keep alive".
  19481. * PeerInteractionCommand.{h,cc}: Close connection if peer is choking
  19482. localhost long time.
  19483. * TorrentMan.cc: When adding new peer with duplicate = true, if the
  19484. number of peer list is equal to or grater than MAX_PEER_LIST, delete
  19485. at most 100 failure entry from the list. If with duplicate = false,
  19486. MAX_PEER_LIST is not checked.
  19487. * PeerListenCommand.cc: Fixed the argument order of log message.
  19488. 2006-03-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19489. * Logger.h: Moved enum LEVEL from SimpleLogger.h to here.
  19490. Added warn().
  19491. * SimpleLogger.h: Moved enum LEVEL to Logger.h.
  19492. Implemented warn().
  19493. Defined 2 macros(WRITE_LOG, WRITE_LOG_EX) to avoid duplicated code.
  19494. 2006-03-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19495. * Request.h: Added AFTER_COMPLETED event.
  19496. * TorrentDownloadEngine.cc: Prints "Download complete" message
  19497. instead of downloaded size and progress(%) after download completes.
  19498. * PeerInteractionCommand.cc: After download completes, sends unchoke
  19499. message to the peer if it is interested in what localhost has
  19500. downloaded.
  19501. * TorrentMan.cc: In single-file mode, copy temporary file to the final
  19502. destination instead of just renaming it.
  19503. * TorrentMan.cc: Added deleteTempFile().
  19504. * PeerAbstractCommand.cc: do not stop execution after download
  19505. completes. This makes localhost a seeder.
  19506. * Util.{h,cc}: Added fileCopy().
  19507. * PeerListenCommand.cc: do not stop execution after download completes.
  19508. This makes localhost a seeder.
  19509. * main.cc: Do not call TorrentMan::fixFilename() in torrentHandler.
  19510. Added TorrentMan::deleteTempFile() to torrentHandler.
  19511. Initialized the variable dir as ".".
  19512. * TorrentMan.h: Changed DEFAULT_ANNOUNCE_INTERVAL to 120 seconds.
  19513. Deleted renameSingleFile().
  19514. Added copySingleFile(), deleteTempFile().
  19515. * DownloadEngine.h: Added virtual function afterEachIteration().
  19516. * TorrentDownloadEngine.cc: Move a call to TorrentMan::fixFilename()
  19517. in onEndOfRun() to afterEachIteration().
  19518. In onEndOfRun(), changed if condition to check whether filenameFixed is
  19519. true.
  19520. * Util.cc: Implemented fileCopy() using rangedFileCopy().
  19521. In rangedFileCopy(), added try-catch block to properly close file
  19522. descriptors.
  19523. * TorrentDownloadEngine.cc: Added a member variable filenameFixed.
  19524. Added afterEachIteration(), isFilenameFixed().
  19525. * Peer.cc: Changed choking strategy.
  19526. * PreAllocationDiskWriter.cc: Drop O_DIRECT flag.
  19527. * TrackerInitCommand.cc: Send completed event only once.
  19528. * DownloadEngine.cc: Added a call to afterEachIteration().
  19529. * TrackerUpdateCommand.cc: Do not stop execution after download
  19530. completes.
  19531. * TorrentMan.h: Defined MAX_PEER_UPDATE as 15. aria2 attempts to
  19532. connect the peers at most MAX_PEER_UPDATE when a peer list is
  19533. received from a tracker.
  19534. * TrackerUpdateCommand.cc: Implemented above mentioned behavior.
  19535. Decreased the number of failure peers to delete to 0(just comment out
  19536. the line).
  19537. * Release 0.3.1
  19538. 2006-03-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19539. * PeerInteractionCommand.cc: added a call to
  19540. TorrentMan::unadvertisePiece in Destructor.
  19541. * PeerInteractionCommand.cc: make have message sent immediately
  19542. if the size of pending message queue is zero.
  19543. * TorrentMan.cc: set the maximum size of peer list to 250.
  19544. * TorrentMan.h: changed the container type of Peers and UsedPieces
  19545. to deque.
  19546. * Util.cc: fixed rangedFileCopy.
  19547. * AbstractDiskWriter.{h,cc}: moved digest context initialization
  19548. to Constructor. Also, moved digest cleanup to Destructor.
  19549. * MetaFileUtil.cc: fixed memory leak
  19550. * replaced std::vector with std::deque.
  19551. * AbstractCommand.cc: casted timeout value to long long int.
  19552. * ChunkedEncoding.cc: fixed memory leak.
  19553. * PeerInteractionCommand.cc: casted timeout value to long long int.
  19554. * SleepCommand.cc: casted timeout value to long long int.
  19555. * Data.cc: fixed memory leak.
  19556. * Data.cc: fixed toLLInt().
  19557. * BitfieldMan.cc: fixed memory leak.
  19558. * TorrentMan.cc: initialized storeDir to ".".
  19559. * TorrentMan.cc: fixed memory leak.
  19560. * TorrentMan.cc: corrected file paths of splitted files.
  19561. * PeerAbstractCommand.cc: casted timeout to long long int.
  19562. * main.cc: added delete(req) and delete(te->diskWriter).
  19563. * RequestSlot.cc: casted timeout value to long long int.
  19564. * Request.cc: fixed memory leak.
  19565. * PendingMessage.cc: make HAVE messages sent only when peer does not
  19566. have the piece.
  19567. * Peer.{h,cc}: added hasPiece(int index).
  19568. * main.cc: corrected addCommand.
  19569. 2006-03-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19570. * BitTorrent protocol support added.
  19571. * Release 0.3.0
  19572. 2006-03-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19573. * SocketCore.cc: remove the assignment of addrinfo.ai_addr.
  19574. 2006-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19575. * ChunkedEncoding.{h,cc}: fixed the bug that if chunk data is binary,
  19576. decoding did not work properly.
  19577. 2006-03-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19578. * DownloadEngine.h: included sys/time.h
  19579. * DownloadEngine.cc: remove sys/time.h
  19580. * Makefile.am (SUBDIRS): Add intl.
  19581. * configure.in (AC_CONFIG_FILES): Add intl/Makefile.
  19582. 2006-03-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19583. * main.cc: correct help message for --http-auth-scheme.
  19584. * main.cc: changed e-mail address for bug reports.
  19585. * ja.po: added japanese translation.
  19586. 2006-03-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19587. * SimpleLogger.cc: flush log file instead of stdout.
  19588. 2006-03-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19589. * main.cc: Fixed command-line option: max-tries
  19590. * HttpResponseCommand.cc: Make the request re-sent only if req->seg.sp
  19591. does not equal to seg.sp.
  19592. * DownloadCommand.cc: If EOF is got from the server and the total size
  19593. of file is not zero, then throw DlRetryEx.
  19594. * main.cc: Set the minium value of min-segment-size to 1024.
  19595. * HttpResponseCommand.cc: Fixed the bug that http segmented downloading
  19596. fails because of a regression since 0.2.0 release.
  19597. 2006-03-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19598. * HttpConnection.cc:
  19599. * common.h: defined the user agent name as macro
  19600. * DownloadEngine.{h, cc}:
  19601. * ConsoleDownloadEngine.{h, cc}: Console output message(size, speed)
  19602. is now generated by ConsoleDownloadEngine not by DownloadEngine.
  19603. * main.cc: Download complete/abort message is now generated by main.
  19604. * Makefile.am (SUBDIRS): Add m4.
  19605. (ACLOCAL_AMFLAGS): New variable.
  19606. (EXTRA_DIST): New variable.
  19607. * configure.in (AC_CONFIG_FILES): Add po/Makefile.in,
  19608. * gettext: added gettext functionality
  19609. 2006-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19610. * AbstractCommand.cc:
  19611. * DownloadCommand.{h, cc}: Aborted downloading commands now properly
  19612. unregister its cuid from SegmentMan.
  19613. * DownloadEngine.cc: .aria2 file was written when a downloading
  19614. failed with errors.
  19615. * HttpConnection.cc: Added "Proxy-Connection" header to proxy request.
  19616. Added "User-Agent" header to CONNECT proxy request.
  19617. Fixed "Proxy-Authorization" header. Now proxy authorization works
  19618. properly.
  19619. * Logger.h:
  19620. * SimpleLogger.{h,cc}: Changed the type of msg to const char*.
  19621. * ChunkedEncoding.cc: Added #include directive for strings.h
  19622. * Release 0.2.1
  19623. 2006-02-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19624. * Util.{h,cc}: added startsWith().
  19625. * CookieBox.cc: rewrited criteriaFind() using Util::startsWith() and
  19626. Util::endsWith().
  19627. * SocketCore.cc: struct addrinfo is now zero-initialized.
  19628. * common.h: added #include directive of limit.h.
  19629. * DownloadEngine.cc: added #include directive of sys/time.h and
  19630. algorithm.
  19631. * Exception.h: added #include directive of stdio.h.
  19632. * AbstractCommand.h: added #include directive of sys/time.h.
  19633. * DownloadCommand.h: added #include directive of sys/time.h.
  19634. * *.h: added #include directive of common.h to all base classes.
  19635. subclasses' one was removed.
  19636. * common.h: defined LONG_LONG_MAX and LONG_LONG_MIN if a compiler
  19637. does not define these macros.
  19638. 2006-02-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19639. * Release 0.2.0
  19640. * main.cc:
  19641. * HttpInitiateConnectionCommand.{h,cc}:
  19642. * prefs.h:
  19643. * HttpConnection.{h,cc}: added --http-proxy-method option.
  19644. We can now use GET command in http proxy.
  19645. 2006-02-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19646. * SplitSlowestSegmentSplitter.{h,cc}: This class provies algorithm
  19647. that splits slowest segment of SegmentMan::commands vector.
  19648. This is the default split algorithm of aria2.
  19649. * SplitFirstSegmentSplitter.{h,cc}: This class provides algorithm
  19650. that splits first segment of SegmentMan::commands vector.
  19651. * SegmentSplitter.{h,cc}: Added. This class provides split algorithm.
  19652. * DownloadCommand.{h,cc}: Added downloading speed calculation.
  19653. * Segment.h:
  19654. * SegmentMan.cc: Added speed field to Segment.h
  19655. * main.cc: -s option now affects all URLs in command-line arguemtns.
  19656. * HttpResponseCommand.cc: Fixed bug that segment file is not loaded.
  19657. * message.h: Change file size related %d to %lld.
  19658. 2006-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19659. * FtpInitiateConnectionCommand.{h,cc}:
  19660. * FtpNegotiationCommand.{h,cc}:
  19661. * FtpDownloadCommand.{h,cc}:
  19662. * FtpConnection.{h,cc}: Added FTP support
  19663. * SimpleLogger.cc: Log message now includes time information.
  19664. * main.cc: The value of --http-auth-scheme option is chagned from
  19665. 'BASIC' to 'basic'
  19666. * main.cc: Added --timeout command-line option.
  19667. * main.cc: Added --min-segment-size command-line option.
  19668. * main.cc: Added --max-retries command-line option.
  19669. * prefs.h: option string constants are now defined in prefs.h
  19670. 2006-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19671. * AbstractCommand.cc: Fixed timeout bug in AbstractCommand
  19672. * SegmentMan.cc: Added totalSize entry to .aria2 file. No compatibility
  19673. with version 0.1.0's one.
  19674. 2006-02-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19675. * configure.in: Added --enable-ssl option to configure script.
  19676. * HttpConnection.cc: Make Request-URI an absolute path. Some servers
  19677. cannot permit absoluteURI as Request-URI.
  19678. * HttpConnection.cc: Added Referer support.
  19679. * main.cc: Added referer command-line option.
  19680. * main.cc: Added rety-wait command-line option.
  19681. * Exception.h: Fixed formating bug in Exception::setMsg()
  19682. * SocketCore.{h,cc}:
  19683. * Socket.{h, cc}:
  19684. * Request.cc:
  19685. * InitiateConnectionCommandFactory.cc:
  19686. * HttpRequestCommand.cc: Added HTTPS support.
  19687. * SocketCore.{h,cc}: Added SocketCore. Socket becomes a handle class
  19688. for SocketCore.
  19689. * ChunkedEncoding.cc: Fixed bug in ChunkedEncoding: expanding buffer
  19690. size is wrong
  19691. * DownloadCommand.cc: Fixed bug in DownloadCommand: In Chunked
  19692. Encoding, it wrongly adds to Segment.ds buff length from the socket.
  19693. 2006-02-17 Tatsuhiro Tsujikawa <tsujikawa at rednoah dot com>
  19694. * Release 0.1.0