ChangeLog 753 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434
  1. 2010-06-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2. Made protected member variable private. Added accessor funcs.
  3. * src/ActivePeerConnectionCommand.cc
  4. * src/ActivePeerConnectionCommand.h
  5. * src/CheckIntegrityDispatcherCommand.cc
  6. * src/DHTEntryPointNameResolveCommand.h
  7. * src/DHTInteractionCommand.h
  8. * src/FileAllocationDispatcherCommand.cc
  9. * src/LpdReceiveMessageCommand.h
  10. * src/PeerChokeCommand.cc
  11. * src/PeerChokeCommand.h
  12. * src/PeerListenCommand.cc
  13. * src/PeerListenCommand.h
  14. * src/SeedCheckCommand.cc
  15. * src/SeedCheckCommand.h
  16. * src/SequentialDispatcherCommand.h
  17. * src/SleepCommand.cc
  18. * src/SleepCommand.h
  19. * src/TrackerWatcherCommand.cc
  20. * src/TrackerWatcherCommand.h
  21. 2010-06-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  22. Made protected member variable private. Added accessor funcs.
  23. * src/CheckIntegrityCommand.cc
  24. * src/FileAllocationCommand.cc
  25. * src/RealtimeCommand.h
  26. 2010-06-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  27. Made protected member variable private. Added accessor funcs.
  28. * src/AutoSaveCommand.cc
  29. * src/BtStopDownloadCommand.cc
  30. * src/DHTAutoSaveCommand.cc
  31. * src/DHTBucketRefreshCommand.cc
  32. * src/DHTPeerAnnounceCommand.cc
  33. * src/DHTTokenUpdateCommand.cc
  34. * src/HaveEraseCommand.cc
  35. * src/TimeBasedCommand.h
  36. * src/TimedHaltCommand.cc
  37. 2010-06-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  38. Made protected member variable private. Added accessor funcs.
  39. * src/InitiatorMSEHandshakeCommand.cc
  40. * src/PeerAbstractCommand.cc
  41. * src/PeerAbstractCommand.h
  42. * src/PeerInitiateConnectionCommand.cc
  43. * src/PeerInteractionCommand.cc
  44. * src/PeerInteractionCommand.h
  45. * src/PeerReceiveHandshakeCommand.cc
  46. * src/ReceiverMSEHandshakeCommand.cc
  47. 2010-06-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  48. Code cleanup
  49. * src/AbstractCommand.cc
  50. 2010-06-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  51. Made protected member variable private. Added accessor funcs.
  52. * src/AbstractCommand.cc
  53. * src/AbstractCommand.h
  54. * src/AbstractProxyRequestCommand.cc
  55. * src/AbstractProxyRequestCommand.h
  56. * src/AbstractProxyResponseCommand.cc
  57. * src/AbstractProxyResponseCommand.h
  58. * src/CreateRequestCommand.cc
  59. * src/DownloadCommand.cc
  60. * src/DownloadCommand.h
  61. * src/FtpDownloadCommand.cc
  62. * src/FtpDownloadCommand.h
  63. * src/FtpFinishDownloadCommand.cc
  64. * src/FtpInitiateConnectionCommand.cc
  65. * src/FtpNegotiationCommand.cc
  66. * src/FtpNegotiationCommand.h
  67. * src/FtpTunnelRequestCommand.cc
  68. * src/FtpTunnelResponseCommand.cc
  69. * src/HttpDownloadCommand.cc
  70. * src/HttpInitiateConnectionCommand.cc
  71. * src/HttpProxyRequestCommand.cc
  72. * src/HttpProxyResponseCommand.cc
  73. * src/HttpRequestCommand.cc
  74. * src/HttpResponseCommand.cc
  75. * src/HttpResponseCommand.h
  76. * src/HttpSkipResponseCommand.cc
  77. * src/InitiateConnectionCommand.cc
  78. 2010-06-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  79. Made protected member variables of Command private. Added accessor
  80. funcs.
  81. 2010-06-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  82. Made public member variables of DownloadEngine private. Added
  83. accessor funcs.
  84. 2010-06-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  85. Release 1.9.4
  86. 2010-06-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  87. Updated Italian translation. Added Korean translation.
  88. Thanks to all translators.
  89. * LINGUAS
  90. * it.po
  91. * ko.po
  92. 2010-06-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  93. Updated po templates.
  94. * po/aria2.pot
  95. 2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  96. Fixed the bug that reading Metalink from pipe fails on older
  97. libxml2. It only accepts "-" as a special keyword to read stdin.
  98. * src/XML2SAXMetalinkProcessor.cc
  99. 2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  100. Added log message when cookies are loaded. Added filename to log
  101. message when serializing session.
  102. * src/MultiUrlRequestInfo.cc
  103. 2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  104. Treat SIGHUP and SIGTERM signal as emergency shutdown because they
  105. are usually issued by system or other process.
  106. * src/MultiUrlRequestInfo.cc
  107. 2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  108. Use downloadresultcode::IN_PROGRESS for
  109. RequestGroup::SHUTDOWN_SIGNAL.
  110. * src/RequestGroup.cc
  111. 2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  112. Call requestForceHalt() instead of _requestGroupMan->forceHalt().
  113. * src/DownloadEngine.cc
  114. 2010-06-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  115. Mentioned RFC 5854 in README and man page.
  116. * README
  117. * doc/aria2c.1.txt
  118. 2010-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  119. Bump up version number to 1.9.4
  120. * configure.ac
  121. * doc/aria2c.1.txt
  122. 2010-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  123. Don't throw exception when Metalink document is empty(no file
  124. element). It is a valid Metalink document anyway.
  125. * src/MetalinkHelper.cc
  126. * src/download_helper.cc
  127. 2010-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  128. Fixed double memory free when Exception raised from
  129. AbstractCommand::prepareForNextAction() called by
  130. HttpResponseCommand::handleDefaultEncoding().
  131. * src/AbstractCommand.cc
  132. * src/HttpResponseCommand.cc
  133. 2010-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  134. Added _logger->info() guard
  135. * src/IteratableChunkChecksumValidator.cc
  136. 2010-05-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  137. Fixed the bug that feeding Metalink XML via pipe (-M- option) does
  138. not work when aria2 is built with expat. Fixed the bug that when
  139. Metalink XML is fed via pipe and --save-session is used, entry
  140. "/dev/stdin" is saved in session file.
  141. * src/ExpatMetalinkProcessor.cc
  142. * src/ExpatMetalinkProcessor.h
  143. * src/Metalink2RequestGroup.cc
  144. 2010-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  145. Updated doc
  146. * src/aria2c.1.txt
  147. 2010-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  148. Added totalLength, completedLength, uploadLength, bitfield,
  149. downloadSpeed, uploadSpeed, infoHash, numSeeders, pieceLength,
  150. numPieces, connections and dir to the response of
  151. aria2.tellStopped XML-RPC method. aria2.tellWaiting now always
  152. returns numSeeders for BitTorrent download.
  153. * src/DownloadResult.h
  154. * src/RequestGroup.cc
  155. * src/RequestGroup.h
  156. * src/XmlRpcMethodImpl.cc
  157. * test/XmlRpcMethodTest.cc
  158. 2010-05-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  159. Fixed the bug that connection pooling does not take into account
  160. proxy. This means that when connection A via proxy X is pooled,
  161. it will be wrongly reused in the download using proxy Y.
  162. * src/DownloadEngine.cc
  163. * src/DownloadEngine.h
  164. * src/FtpFinishDownloadCommand.cc
  165. * src/FtpInitiateConnectionCommand.cc
  166. * src/FtpNegotiationCommand.cc
  167. * src/HttpDownloadCommand.cc
  168. * src/HttpInitiateConnectionCommand.cc
  169. * src/HttpResponseCommand.cc
  170. * src/HttpSkipResponseCommand.cc
  171. 2010-05-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  172. Fixed the bug that FTP download may fail when control connection
  173. is reused. This happens because FTP server can offer different
  174. root directory for different account. If pooled connections has
  175. different root directory, then download will fail.
  176. * src/DownloadEngine.cc
  177. * src/DownloadEngine.h
  178. * src/FtpConnection.cc
  179. * src/FtpConnection.h
  180. * src/FtpFinishDownloadCommand.cc
  181. * src/FtpInitiateConnectionCommand.cc
  182. * src/FtpNegotiationCommand.cc
  183. 2010-05-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  184. Removed DownloadResult's ctor because it has many args.
  185. * src/DownloadResult.h
  186. * src/RequestGroup.cc
  187. * test/XmlRpcMethodTest.cc
  188. 2010-05-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  189. Code cleanup.
  190. * src/RequestGroupMan.cc
  191. * src/UTMetadataPostDownloadHandler.cc
  192. * src/XmlRpcMethodImpl.cc
  193. 2010-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  194. Store both whole checksum and piece hash in metalink file.
  195. Dispatch whole checksum verification only when piece hash is not
  196. set.
  197. * src/DownloadCommand.cc
  198. * src/Metalink2RequestGroup.cc
  199. * test/Metalink2RequestGroupTest.cc
  200. 2010-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  201. Left only IANA hash function textual name in messageDigest.cc.
  202. Assign only IANA hash function textual name to Checksum and
  203. ChunkChecksum. Fixed the value of MessageDigestContext::MD5.
  204. * src/Checksum.h
  205. * src/MetalinkParserController.cc
  206. * src/messageDigest.cc
  207. * src/messageDigest.h
  208. * test/IteratableChecksumValidatorTest.cc
  209. * test/IteratableChunkChecksumValidatorTest.cc
  210. * test/MessageDigestHelperTest.cc
  211. * test/Metalink2RequestGroupTest.cc
  212. * test/MetalinkProcessorTest.cc
  213. 2010-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  214. Fixed typo in log message
  215. * src/AbstractCommand.cc
  216. 2010-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  217. Release 1.9.3
  218. 2010-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  219. Return const reference.
  220. * src/DefaultPieceStorage.h
  221. * src/DownloadContext.h
  222. * src/FeatureConfig.cc
  223. * src/FeatureConfig.h
  224. * src/OptionParser.cc
  225. * src/OptionParser.h
  226. * src/SimpleRandomizer.cc
  227. * src/SimpleRandomizer.h
  228. 2010-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  229. Bump up version number to 1.9.3.
  230. * configure.ac
  231. 2010-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  232. Return const reference.
  233. * src/LpdMessageReceiver.h
  234. * src/LpdReceiveMessageCommand.h
  235. 2010-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  236. Removed useless pathJoin
  237. * src/MetalinkParserController.cc
  238. 2010-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  239. Fixed the bug that name attribute of file element in Metalink file
  240. is not properly sanitized.
  241. * src/Metalink2RequestGroup.cc
  242. * src/MetalinkParserController.cc
  243. * test/Makefile.am
  244. * test/Metalink2RequestGroupTest.cc
  245. * test/metalink4-dosdirtraversal.xml
  246. 2010-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  247. Fixed the bug that if filename in Content-Disposition header
  248. includes ';', aria2 cuts filename after ';'.
  249. * src/util.cc
  250. * test/UtilTest.cc
  251. 2010-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  252. Release 1.9.2
  253. 2010-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  254. Fixed compiler warning on opensolaris.
  255. * src/StringFormat.h
  256. * src/XORCloser.h
  257. 2010-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  258. Updated doc
  259. * test/array_funTest.cc
  260. 2010-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  261. Fixed segmentation fault when running unit tests on opensolaris.
  262. * src/SocketCore.cc
  263. * src/bittorrent_helper.cc
  264. 2010-04-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  265. Updated Russian translation. Thanks to all translators.
  266. * po/ru.po
  267. 2010-04-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  268. Updated po templates.
  269. * po/aria2.pot
  270. 2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  271. Print warning when trying to add file descriptor >= FD_SET or < 0
  272. to fd_set for other than MinGW32 build. For MinGW32 build, print
  273. warning when trying to add file descriptor to fd_set when it
  274. already contains FD_SET file descriptors.
  275. * src/SelectEventPoll.cc
  276. * src/SocketCore.cc
  277. 2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  278. Updated doc for --event-poll option.
  279. * doc/aria2c.1.txt
  280. 2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  281. Bump up version number to 1.9.2
  282. * configure.ac
  283. * doc/aria2c.1.txt
  284. 2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  285. Defined FD_SETSIZE 1024 for MinGW32.
  286. * src/a2netcompat.h
  287. 2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  288. Fixed compile error on the system which lacks poll()
  289. * src/DownloadEngineFactory.cc
  290. 2010-04-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  291. In SocketCore::isReadable()/isWritable(), use poll() if it is
  292. available otherwise use select(). Removed epoll/port from there
  293. because poll() does the good enough job for single socket event
  294. notification.
  295. * src/SocketCore.cc
  296. * src/SocketCore.h
  297. * src/main.cc
  298. 2010-04-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  299. Added kqueue support. We use poll() for
  300. SocketCore::isReadable()/isWritable() when kqueue is used.
  301. * configure.ac
  302. * src/DownloadEngineFactory.cc
  303. * src/KqueueEventPoll.cc
  304. * src/KqueueEventPoll.h
  305. * src/Makefile.am
  306. * src/Makefile.in
  307. * src/OptionHandlerFactory.cc
  308. * src/main.cc
  309. * src/prefs.cc
  310. * src/prefs.h
  311. 2010-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  312. Added missing timespec.h to SRCS
  313. * src/Makefile.am
  314. 2010-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  315. Fixed the bug that aria2.unpause fails with -s1.
  316. * src/FileEntry.cc
  317. * src/XmlRpcMethodImpl.cc
  318. 2010-04-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  319. Added missing #ifdef HAVE_PORT_ASSOCIATE
  320. * src/DownloadEngineFactory.cc
  321. 2010-04-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  322. Added opensolaris port_associate() support.
  323. * src/DownloadEngineFactory.cc
  324. * src/Makefile.am
  325. * src/OptionHandlerFactory.cc
  326. * src/PortEventPoll.cc
  327. * src/PortEventPoll.h
  328. * src/SocketCore.cc
  329. * src/SocketCore.h
  330. * src/configure.ac
  331. * src/main.cc
  332. * src/prefs.cc
  333. * src/prefs.h
  334. 2010-04-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  335. Fixed the bug that _e is passed where e should be passed.
  336. * src/HttpListenCommand.cc
  337. 2010-04-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  338. Increased _epEvents size if necessary.
  339. * src/EpollEventPoll.cc
  340. * src/EpollEventPoll.h
  341. 2010-04-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  342. Removed EventRType template parameter
  343. * src/EpollEventPoll.cc
  344. * src/EpollEventPoll.h
  345. * src/Event.h
  346. * src/PollEventPoll.cc
  347. * src/PollEventPoll.h
  348. 2010-04-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  349. Use Event in EpollEventPoll
  350. * src/EpollEventPoll.cc
  351. * src/EpollEventPoll.h
  352. 2010-04-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  353. Externalized Event, CommandEvent, ADNSEvent, SocketEntry and
  354. AsyncNameResolverEntry class.
  355. * src/Event.h
  356. * src/Makefile.am
  357. * src/PollEventPoll.cc
  358. * src/PollEventPoll.h
  359. 2010-04-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  360. Supported poll() for socket event notification. --event-poll can
  361. take value "poll". Fixed the bug that timeout for
  362. SocketCore::isReadable()/isWritable() is ignored when epoll is
  363. used.
  364. * src/OptionHandlerFactory.cc
  365. * src/a2io.h
  366. * src/prefs.h
  367. * src/SocketCore.h
  368. * src/Makefile.am
  369. * src/main.cc
  370. * src/PollEventPoll.h
  371. * src/SocketCore.cc
  372. * src/DownloadEngineFactory.cc
  373. * src/PollEventPoll.cc
  374. * src/prefs.cc
  375. * configure.ac
  376. 2010-04-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  377. Reverted previous change to DownloadCommand.cc with additional
  378. commentary.
  379. * src/DownloadCommand.cc
  380. 2010-04-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  381. Fixed compile error with openssl 1.1.0 and mingw32.
  382. * src/AsyncNameResolver.cc
  383. * src/LogFactory.cc
  384. * src/Logger.cc
  385. * src/Logger.h
  386. * src/SocketCore.cc
  387. * src/SocketCore.h
  388. * src/a2netcompat.h
  389. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  390. Release 1.9.1
  391. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  392. Bump up version number to 1.9.0
  393. * doc/aria2c.1.txt
  394. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  395. Updated Ukrainian, Russian, Simplified Chinese, German and Greek
  396. translation. Thanks to all translators.
  397. * po/de.po
  398. * po/el.po
  399. * po/ru.po
  400. * po/uk.po
  401. * po/zh_CN.po
  402. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  403. Added AC_SEARCH_LIBS for inet_aton on opensolaris. opensolaris
  404. needs -lnsl for inet_aton.
  405. * configure.ac
  406. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  407. Updated po templates.
  408. * po/aria2.pot
  409. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  410. Added aria2.pause, aria2.forcePause, aria2.pauseAll,
  411. aria2.forcePauseAll, aria2.unpause, aria2.unpauseAll XML-RPC
  412. method to aria2rpc
  413. * doc/xmlrpc/aria2rpc
  414. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  415. Use elapsed time between two mach_absolute_time() calls.
  416. Fixed compile error in Mac OS X.
  417. * src/clock_gettime_osx.cc
  418. * src/timespec.h
  419. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  420. Implemented clock_gettime() using mach_absolute_time in Mac OS X.
  421. * configure.ac
  422. * src/Makefile.am
  423. * src/a2time.h
  424. * src/clock_gettime_osx.cc
  425. * src/clock_gettime_osx.h
  426. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  427. Implemented clock_gettime() using timeGetTime in mingw.
  428. * configure.ac
  429. * src/Makefile.am
  430. * src/a2time.h
  431. * src/clock_gettime_mingw.cc
  432. * src/clock_gettime_mingw.h
  433. * src/timespec.h
  434. * test/Makefile.am
  435. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  436. Ensure that std::ofstream is destroyed before renaming.
  437. * src/SessionSerializer.cc
  438. * src/util.cc
  439. 2010-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  440. Fixed the bug that user specified path is escaped using
  441. util::escapePath() where it should not.
  442. * src/DownloadContext.cc
  443. * src/DownloadContext.h
  444. 2010-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  445. Hold reference to PieceStorage when paused in order to provide
  446. progress information via XML-RPC.
  447. * src/RequestGroup.cc
  448. * src/RequestGroup.h
  449. * src/RequestGroupMan.cc
  450. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  451. Defined struct timespec if it is not available.
  452. * src/a2time.h
  453. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  454. Added missing serialize_session.meta4 to EXTRA_DIST
  455. * test/Makefile.am
  456. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  457. Fixed compile error without BitTorrent support.
  458. * src/Metalink2RequestGroup.cc
  459. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  460. Fixed compile error on Mac OS X
  461. * src/TimerA2.h
  462. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  463. Added warning for the system which lacks clock_gettime with
  464. CLOCK_MONOTONIC.
  465. * src/MultiUrlRequestInfo.cc
  466. * src/TimerA2.cc
  467. * src/TimerA2.h
  468. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  469. Removed redundant method call for DownloadEngine.
  470. * src/DownloadCommand.cc
  471. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  472. Fixed the bug that hash check hangs when aria2.pause is issued
  473. while aria2 is checking piece hashes. Fixed the bug that the
  474. download is paused after file allocation completion even if
  475. aria2.pause is issued during file allocation.
  476. * src/CheckIntegrityCommand.cc
  477. * src/FileAllocationCommand.cc
  478. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  479. Added nsl to search-libs for getaddrinfo on opensolaris
  480. * configure.ac
  481. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  482. Fixed compile error on opensolaris
  483. * configure.ac
  484. * src/Logger.h
  485. * src/GZipEncoder.h
  486. 2010-04-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  487. Added aria2.pauseAll, aria2.forcePauseAll and aria2.unpauseAll
  488. XML-RPC method.
  489. * doc/aria2c.1.txt
  490. * src/XmlRpcMethodFactory.cc
  491. * src/XmlRpcMethodImpl.cc
  492. * src/XmlRpcMethodImpl.h
  493. * test/XmlRpcMethodTest.cc
  494. 2010-04-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  495. Added aria2.forcePause XML-RPC command.
  496. * src/XmlRpcMethodFactory.cc
  497. * src/XmlRpcMethodImpl.cc
  498. * src/XmlRpcMethodImpl.h
  499. 2010-04-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  500. Use global::wallclock
  501. * src/DHTBucket.cc
  502. * src/DHTMessageTrackerEntry.cc
  503. * src/DHTMessageTrackerEntry.h
  504. * src/DefaultBtInteractive.cc
  505. * src/Peer.cc
  506. * src/PeerAbstractCommand.cc
  507. * src/PeerStat.h
  508. * src/RequestSlot.h
  509. * src/TimeBasedCommand.cc
  510. 2010-04-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  511. Use clock_gettime(CLOCK_MONOTONIC, ...) if it is available and
  512. usable to prevent from aria2 from being affected by system time
  513. change.
  514. 2010-04-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  515. Added aria2.pause and aria2.unpause XML-RPC method. aria2.pause
  516. pauses the download denoted by gid. gid is of type string. The
  517. status of paused download becomes "paused" and the download is
  518. placed on the first position of waiting queue. As long as the
  519. status is "paused", the download is not started. To change status
  520. to "waiting", use aria2.unpause method. This method returns GID of
  521. paused download. aria2.unpause changes the status of the download
  522. denoted by gid from "paused" to "waiting". This makes the download
  523. eligible to restart. gid is of type string. This method returns
  524. GID of unpaused download.
  525. * doc/aria2c.1.txt
  526. * src/DownloadContext.cc
  527. * src/FileEntry.cc
  528. * src/OptionHandlerFactory.cc
  529. * src/RequestGroup.cc
  530. * src/RequestGroup.h
  531. * src/RequestGroupMan.cc
  532. * src/XmlRpcMethodFactory.cc
  533. * src/XmlRpcMethodImpl.cc
  534. * src/XmlRpcMethodImpl.h
  535. * src/prefs.cc
  536. * src/prefs.h
  537. * src/usage_text.h
  538. 2010-04-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  539. Added --save-session=FILE option. This option saves
  540. error/unfinished downloads to FILE on exit. You can pass this
  541. output file to aria2c with -i option on restart. Please note that
  542. downloads added by aria2.addTorrent and aria2.addMetalink XML-RPC
  543. method are not saved.
  544. * src/BtPostDownloadHandler.cc
  545. * src/DownloadResult.h
  546. * src/Makefile.am
  547. * src/MetadataInfo.cc
  548. * src/MetadataInfo.h
  549. * src/Metalink2RequestGroup.cc
  550. * src/MetalinkPostDownloadHandler.cc
  551. * src/MultiUrlRequestInfo.cc
  552. * src/OptionHandlerFactory.cc
  553. * src/RequestGroup.cc
  554. * src/RequestGroup.h
  555. * src/SessionSerializer.cc
  556. * src/SessionSerializer.h
  557. * src/UTMetadataPostDownloadHandler.cc
  558. * src/download_helper.cc
  559. * src/download_helper.h
  560. * src/prefs.cc
  561. * src/prefs.h
  562. * src/usage_text.h
  563. * test/Makefile.am
  564. * test/SessionSerializerTest.cc
  565. * test/XmlRpcMethodTest.cc
  566. * test/serialize_session.meta4
  567. 2010-04-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  568. Fixed the bug that FTP data connection is not established via
  569. proxy when --ftp-proxy is defined and --ftp-pasv=true and
  570. --proxy-method=tunnel.
  571. * src/AbstractCommand.cc
  572. * src/AbstractCommand.h
  573. * src/FtpNegotiationCommand.cc
  574. * src/FtpNegotiationCommand.h
  575. * src/InitiateConnectionCommand.cc
  576. 2010-04-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  577. Updated po templates.
  578. * po/aria2.pot
  579. 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  580. Bump up version number to 1.9.1
  581. * configure.ac
  582. 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  583. Added shutdown and forceShutdown to aria2rpc
  584. * doc/xmlrpc/aria2rpc
  585. 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  586. Changed error message.
  587. * src/XmlRpcMethod.cc
  588. 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  589. Added bt-tracker-timeout, bt-tracker-connect-timeout,
  590. always-resume, max-resume-failure-tries and http-accept-gzip to -i
  591. list options.
  592. * doc/aria2c.1.txt
  593. * doc/xmlrpc/aria2rpc
  594. * src/download_helper.cc
  595. 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  596. Fixed the bug that web-seed URI is not percent-encoded.
  597. * src/a2functional.h
  598. * src/bittorrent_helper.cc
  599. * test/BittorrentHelperTest.cc
  600. * test/url-list-multiFile.torrent
  601. * test/url-list-singleFileEndsWithSlash.torrent
  602. 2010-04-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  603. Added aria2.shutdown and aria2.forceShutdown XML-RPC method.
  604. These methods, as their name implies, shutdown aria2. These
  605. methods are useful for Windows because it lacks signal mechanism.
  606. * doc/aria2c.1.txt
  607. * src/TimedHaltCommand.cc
  608. * src/XmlRpcMethodFactory.cc
  609. * src/XmlRpcMethodImpl.cc
  610. * src/XmlRpcMethodImpl.h
  611. 2010-04-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  612. Added forceHalt argument to TimedHaltCommand.
  613. Added requestForceHalt() to DownloadEngine.
  614. * src/DownloadEngine.cc
  615. * src/DownloadEngine.h
  616. * src/TimedHaltCommand.cc
  617. * src/TimedHaltCommand.h
  618. 2010-04-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  619. Possible fix for chunked encoding with Content-Length.
  620. * src/HttpResponseCommand.cc
  621. 2010-04-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  622. Don't send "Accept: default, gzip" by default. This is because
  623. some server responds with "Content-Encoding: gzip" for files which
  624. itself is gzipped file and aria2 inflates them. This is a problem
  625. if user don't want to inflate the file. Apparently this is server
  626. configuration error, but I cannot do anything about this. So turn
  627. this off. Added --http-accept-gzip option. If true is given to
  628. this option, aria2 sends 'Accept: deflate, gzip' request header
  629. and inflates response if remote server responds with
  630. 'Content-Encoding: gzip' or 'Content-Encoding: deflate'. This
  631. indicates we removed extension tgz hack in order not to inflate
  632. files with tgz extensions.
  633. * doc/aria2c.1.txt
  634. * src/HttpRequest.cc
  635. * src/HttpRequest.h
  636. * src/HttpRequestCommand.cc
  637. * src/HttpResponseCommand.cc
  638. * src/OptionHandlerFactory.cc
  639. * src/prefs.cc
  640. * src/prefs.h
  641. * src/usage_text.h
  642. * test/HttpRequestTest.cc
  643. 2010-04-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  644. Made aria2 not send
  645. "application/metalink4+xml,application/metalink+xml" in Accept
  646. header for web-seeding URIs and tracker request.
  647. * src/Metalink2RequestGroup.cc
  648. * src/TrackerWatcherCommand.cc
  649. * src/download_helper.cc
  650. * src/util.cc
  651. * src/util.h
  652. 2010-04-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  653. Added download_helper.{cc,h} to SRCS
  654. * src/Makefile.am
  655. * test/Makefile.am
  656. 2010-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  657. Added --dht-message-timeout option.
  658. * doc/aria2c.1.txt
  659. * src/DHTConstants.h
  660. * src/DHTMessageDispatcherImpl.cc
  661. * src/DHTMessageDispatcherImpl.h
  662. * src/DHTMessageTracker.cc
  663. * src/DHTMessageTracker.h
  664. * src/DHTReplaceNodeTask.h
  665. * src/DHTSetup.cc
  666. * src/DHTTaskFactoryImpl.cc
  667. * src/DHTTaskFactoryImpl.h
  668. * src/OptionHandlerFactory.cc
  669. * src/prefs.cc
  670. * src/prefs.h
  671. * src/usage_text.h
  672. * test/DHTMessageTrackerTest.cc
  673. 2010-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  674. Added --bt-tracker-connect-timeout and --bt-tracker-timeout
  675. option.
  676. * doc/aria2c.1.txt
  677. * src/OptionHandlerFactory.cc
  678. * src/TrackerWatcherCommand.cc
  679. * src/prefs.cc
  680. * src/prefs.h
  681. * src/usage_text.h
  682. 2010-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  683. Documented that specifying --seed-time=0 disables seeding after
  684. download completed.
  685. * doc/aria2c.1.txt
  686. 2010-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  687. Code cleanup
  688. * src/BtSetup.cc
  689. 2010-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  690. Drop connection if same Peer ID has been already seen.
  691. * src/DefaultBtInteractive.cc
  692. 2010-03-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  693. Fixed the bug that waiting download unintentionally starts when
  694. URIs are added to it using aria2.changeUri XML-RPC method. This
  695. also fixes the bug that causes segmentation fault when adding URIs
  696. to waiting download, which is a regression introduced by the
  697. previous change made to src/XmlRpcMethodImpl.cc
  698. * src/XmlRpcMethodImpl.cc
  699. 2010-03-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  700. Fixed compile error with g++-4.4 on FreeBSD.
  701. * src/util.h
  702. 2010-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  703. Fixed the bug that added URI using aria2.changeUri XML-RPC method
  704. is not used immediately if there is no URIs remaining before
  705. calling aria2.changeUri and the number of connection is less than
  706. the value in -s(or -C for Metalink downloads).
  707. * src/XmlRpcMethodImpl.cc
  708. 2010-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  709. Documented --always-resume and --max-resume-failure-tries option
  710. and exit status 8 in man page. Fixed typo.
  711. * doc/aria2c.1.txt
  712. * src/OptionHandlerFactory.cc
  713. 2010-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  714. Added --always-resume and --max-resume-failure-tries option. If
  715. --always-resume=false is given, when all given URIs does not
  716. support resume or aria2 encounters N URIs which does not support
  717. resume
  718. (N is the value specified using --max-resume-failure-tries
  719. option), aria2 download file from scratch. The default behavior
  720. is --always-resume=true, which means if all URIs do not support
  721. resume, download fails. I think this is OK because user normally
  722. don't like to see that partially downloaded file is
  723. overwritten(this is particularly true if file size is big). This
  724. option is useful when aria2 is used as download backend and
  725. graceful falling back to overwritten behavior is preferable.
  726. Added exit status value 8, which means download failed because
  727. server did not support resume.
  728. * src/AbstractCommand.cc
  729. * src/DefaultPieceStorage.cc
  730. * src/DownloadCommand.cc
  731. * src/DownloadResultCode.h
  732. * src/FileEntry.h
  733. * src/FtpNegotiationCommand.cc
  734. * src/HttpResponse.cc
  735. * src/HttpResponseCommand.cc
  736. * src/OptionHandlerFactory.cc
  737. * src/RequestGroup.cc
  738. * src/RequestGroup.h
  739. * src/SegmentMan.cc
  740. * src/SegmentMan.h
  741. * src/prefs.cc
  742. * src/prefs.h
  743. * src/usage_text.h
  744. * test/DefaultPieceStorageTest.cc
  745. * test/SegmentManTest.cc
  746. 2010-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  747. Added --remove-control-file option to -i list options.
  748. * doc/aria2c.1.txt
  749. * doc/xmlrpc/aria2rpc
  750. * src/download_helper.cc
  751. 2010-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  752. Added --remove-control-file option. This option removes control
  753. file(*.aria2 file) before download. Using with
  754. --allow-overwrite=true, download always starts from scratch. This
  755. will be useful for users behind proxy server which disables
  756. resume. For such proxy user, -C1 is also recommended for Metalink
  757. downloads to avoid establishing unnecessary connections.
  758. * doc/aria2c.1.txt
  759. * src/OptionHandlerFactory.cc
  760. * src/RequestGroup.cc
  761. * src/prefs.cc
  762. * src/prefs.h
  763. * src/usage_text.h
  764. 2010-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  765. Removed arrayLength. Defined A2_ARRAY_LEN as macro to calculate
  766. size of array at compile time.
  767. * src/array_fun.h
  768. * test/BitfieldManTest.cc
  769. * test/BtPortMessageTest.cc
  770. * test/DHTRoutingTableDeserializerTest.cc
  771. * test/DHTRoutingTableSerializerTest.cc
  772. * test/DownloadHelperTest.cc
  773. * test/LongestSequencePieceSelectorTest.cc
  774. * test/MultiDiskAdaptorTest.cc
  775. * test/OptionParserTest.cc
  776. * test/PriorityPieceSelectorTest.cc
  777. * test/array_funTest.cc
  778. 2010-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  779. Added vbegin() and vend() for fixed sized array.
  780. * src/DownloadHandlerConstants.cc
  781. * src/FeatureConfig.cc
  782. * src/OptionHandlerFactory.cc
  783. * src/ServerStat.cc
  784. * src/TimeA2.cc
  785. * src/XmlRpcMethod.cc
  786. * src/array_fun.h
  787. * src/download_helper.cc
  788. * src/messageDigest.cc
  789. * src/util.cc
  790. * test/BittorrentHelperTest.cc
  791. * test/DHTRoutingTableDeserializerTest.cc
  792. * test/DHTRoutingTableSerializerTest.cc
  793. * test/DefaultBtAnnounceTest.cc
  794. * test/DefaultBtProgressInfoFileTest.cc
  795. * test/DownloadContextTest.cc
  796. * test/DownloadHelperTest.cc
  797. * test/FeatureConfigTest.cc
  798. * test/FeedbackURISelectorTest.cc
  799. * test/HttpRequestTest.cc
  800. * test/InOrderURISelectorTest.cc
  801. * test/MSEHandshakeTest.cc
  802. * test/MultiDiskAdaptorTest.cc
  803. * test/MultiFileAllocationIteratorTest.cc
  804. * test/PriorityPieceSelectorTest.cc
  805. * test/RequestGroupManTest.cc
  806. * test/UtilTest.cc
  807. * test/XmlRpcMethodTest.cc
  808. * test/a2algoTest.cc
  809. * test/array_funTest.cc
  810. 2010-03-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  811. Simplified code using lastByteMask
  812. * src/BitfieldMan.cc
  813. * src/PieceStatMan.cc
  814. 2010-03-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  815. Rewritten lastByteMask
  816. * src/bitfield.h
  817. 2010-03-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  818. Redefined the maximum length of buffer used for HTTP header.
  819. * src/HttpHeaderProcessor.cc
  820. 2010-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  821. Code cleanup
  822. * src/SleepCommand.cc
  823. 2010-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  824. Do exact match if IP address is specified in --no-proxy.
  825. * src/AbstractCommand.cc
  826. 2010-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  827. Fixed the bug that socket is added to EventPoll object twice. This
  828. is because derived class FtpFinishDownloadCommand adds socket to
  829. EventPoll object while base class AbstractCommand does that
  830. already.
  831. * src/FtpFinishDownloadCommand.cc
  832. * src/FtpFinishDownloadCommand.h
  833. 2010-03-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  834. Defined gid_t as int64_t.
  835. * src/BtDependency.cc
  836. * src/BtStopDownloadCommand.cc
  837. * src/FtpNegotiationCommand.cc
  838. * src/HttpResponseCommand.cc
  839. * src/RequestGroup.cc
  840. * src/RequestGroup.h
  841. * src/RequestGroupMan.cc
  842. * src/TrackerWatcherCommand.cc
  843. * src/XmlRpcMethodImpl.cc
  844. * src/message.h
  845. * test/XmlRpcMethodTest.cc
  846. 2010-03-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  847. Defined cuid_t as int64_t. Removed texts containing "CUID#%D" from
  848. translatable texts because it is used in log and debugging
  849. purpose.
  850. * src/AbstractCommand.cc
  851. * src/ActivePeerConnectionCommand.cc
  852. * src/BtPieceMessage.cc
  853. * src/CUIDCounter.h
  854. * src/CheckIntegrityCommand.cc
  855. * src/CheckIntegrityDispatcherCommand.cc
  856. * src/Command.h
  857. * src/CreateRequestCommand.cc
  858. * src/DHTEntryPointNameResolveCommand.cc
  859. * src/DefaultBtInteractive.cc
  860. * src/DefaultBtMessageDispatcher.cc
  861. * src/DownloadCommand.cc
  862. * src/FileAllocationCommand.cc
  863. * src/FileAllocationDispatcherCommand.cc
  864. * src/FtpConnection.cc
  865. * src/FtpInitiateConnectionCommand.cc
  866. * src/FtpNegotiationCommand.cc
  867. * src/HttpConnection.cc
  868. * src/HttpInitiateConnectionCommand.cc
  869. * src/HttpListenCommand.cc
  870. * src/HttpResponse.cc
  871. * src/HttpServerBodyCommand.cc
  872. * src/HttpServerCommand.cc
  873. * src/HttpServerResponseCommand.cc
  874. * src/InitiateConnectionCommand.cc
  875. * src/InitiatorMSEHandshakeCommand.cc
  876. * src/MSEHandshake.cc
  877. * src/PeerAbstractCommand.cc
  878. * src/PeerConnection.cc
  879. * src/PeerInitiateConnectionCommand.cc
  880. * src/PeerInteractionCommand.cc
  881. * src/PeerListenCommand.cc
  882. * src/PeerReceiveHandshakeCommand.cc
  883. * src/SegmentMan.cc
  884. * src/SimpleBtMessage.cc
  885. * src/TrackerWatcherCommand.cc
  886. * src/message.h
  887. 2010-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  888. Use gid_t type for gid.
  889. * src/BtRegistry.cc
  890. * src/BtRegistry.h
  891. * src/DownloadResult.h
  892. * src/RequestGroup.cc
  893. * src/RequestGroup.h
  894. * src/RequestGroupMan.cc
  895. * src/RequestGroupMan.h
  896. * src/XmlRpcMethodImpl.cc
  897. 2010-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  898. Use cuid_t type for cuid.
  899. 2010-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  900. Added v key in DHT message. aria2's DHT version is independent of
  901. the package version and we defined it as 1 at the moment. It is
  902. defined as DHT_VERSION in src/DHTConstants.h. aria2's DHT version
  903. scheme is "A2"+2bytes DHT version number in network byte order.
  904. * src/DHTAbstractMessage.cc
  905. * src/DHTConstants.h
  906. * src/DHTMessage.cc
  907. * src/DHTMessage.h
  908. * src/DHTMessageFactoryImpl.cc
  909. * src/DHTQueryMessage.cc
  910. * src/DHTResponseMessage.cc
  911. * src/util.h
  912. * test/DHTAnnouncePeerMessageTest.cc
  913. * test/DHTAnnouncePeerReplyMessageTest.cc
  914. * test/DHTFindNodeMessageTest.cc
  915. * test/DHTFindNodeReplyMessageTest.cc
  916. * test/DHTGetPeersMessageTest.cc
  917. * test/DHTGetPeersReplyMessageTest.cc
  918. * test/DHTPingMessageTest.cc
  919. * test/DHTPingReplyMessageTest.cc
  920. 2010-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  921. Fixed the bug that value of numSeeders in aria2.tellStatus XML-RPC
  922. method response is integer, while manual says it is string. When
  923. peer's port is not listening port, set '0' to port in
  924. aria2.getPeers response.
  925. * src/XmlRpcMethodImpl.cc
  926. 2010-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  927. Lines starting "#" in -i list are treated as comments.
  928. Example:
  929. # this is comment
  930. http://example.org/file
  931. http://example.org/file2
  932. dir=/tmp
  933. # another comment
  934. out=myfile
  935. * doc/aria2c.1.txt
  936. * src/UriListParser.cc
  937. * test/filelist1.txt
  938. 2010-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  939. Accept IPv4 network address with CIDR block in --no-proxy option
  940. and no_proxy environment variable. Current implementation does
  941. not resolve hostname in URI to compare network address. So it is
  942. only effecive if URI has numeric IP addresses.
  943. * doc/aria2c.1.txt
  944. * src/AbstractCommand.cc
  945. * src/OptionHandlerFactory.cc
  946. * src/bitfield.h
  947. * src/usage_text.h
  948. * src/util.cc
  949. * src/util.h
  950. * test/UtilTest.cc
  951. * test/bitfieldTest.cc
  952. 2010-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  953. Reduced interval for metadatagetmode to quickly gather metadata.
  954. * src/BtSetup.cc
  955. 2010-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  956. Release 1.9.0
  957. 2010-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  958. Updated po templates.
  959. * po/aria2.pot
  960. 2010-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  961. Updated doc.
  962. * doc/aria2c.1.txt
  963. 2010-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  964. Documented about Metalink4 and LPD in README
  965. * RADME
  966. 2010-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  967. Few adjustment for timeouts in DHT. DHT message timeout is changed
  968. from 15 to 10. The interval of PeerLookup is first 5 seconds and
  969. it adds another 5 seconds in each retry.
  970. * src/DHTConstants.h
  971. * src/DHTGetPeersCommand.cc
  972. * src/DHTGetPeersCommand.h
  973. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  974. Changed log level from error to info for DHT message send error.
  975. * src/DHTMessageDispatcherImpl.cc
  976. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  977. Inspect all xt in magnet to find urn:btih.
  978. * src/bittorrent_helper.cc
  979. * test/BittorrentHelperTest.cc
  980. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  981. Use global option for DHTSetup.
  982. * src/DHTSetup.cc
  983. * src/DHTSetup.h
  984. * src/RequestGroup.cc
  985. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  986. Added bt-enable-lpt, reuse-uri
  987. and {http,https,ftp,all}-proxy-{user,passwd} options to -i list
  988. options.
  989. * doc/aria2c.1.txt
  990. * doc/xmlrpc/aria2rpc
  991. * src/download_helper.cc
  992. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  993. Use global option for PREF_LISTEN_PORT and PREF_BT_LPD_INTERFACE.
  994. * src/BtSetup.cc
  995. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  996. Resurrected --http-proxy-user and --http-proxy-passwd option.
  997. Added --https-proxy-user, --https-proxy-passwd, --ftp-proxy-user,
  998. --ftp-proxy-passwd, --all-proxy-user, --all-proxy-passwd option.
  999. * doc/aria2c.1.txt
  1000. * src/OptionHandlerFactory.cc
  1001. * src/OptionHandlerImpl.h
  1002. * src/prefs.cc
  1003. * src/prefs.h
  1004. * src/usage_text.h
  1005. * test/OptionHandlerTest.cc
  1006. 2010-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1007. Updated Russian and Simplified Chinese translation. Thanks to all
  1008. translators.
  1009. * po/ru.po
  1010. * po/zh_CN.po
  1011. 2010-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1012. Updated po templates.
  1013. * po/aria2.pot
  1014. 2010-03-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1015. For LPD sockets, bind IN_ADDRANY because binding multicast address
  1016. fails under Windows.
  1017. * src/LpdMessageReceiver.cc
  1018. * test/LpdMessageDispatcherTest.cc
  1019. 2010-03-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1020. Fixed the bug that error message is not propagated to Exception.
  1021. * src/SocketCore.cc
  1022. 2010-03-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1023. Documented --bt-lpd-interface option in man page.
  1024. * doc/aria2c.1.txt
  1025. 2010-03-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1026. Bump up version number to 1.9.0
  1027. * configure.ac
  1028. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1029. Fixed the bug that FillRequestGroupCommand is not invoked when
  1030. RequestGroupMan::createInitialCommand() creates no Command object.
  1031. * src/FillRequestGroupCommand.cc
  1032. * src/RequestGroupMan.cc
  1033. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1034. Added debug logs.
  1035. * src/FileEntry.cc
  1036. * src/SegmentMan.cc
  1037. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1038. Fixed unit test error with mingw32 build.
  1039. * test/LpdMessageReceiverTest.cc
  1040. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1041. Updated automake-1.11.1
  1042. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1043. Fixed compile error and unit test error without openssl and
  1044. gnutls.
  1045. * src/MetalinkParserController.cc
  1046. * test/MetalinkProcessorTest.cc
  1047. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1048. Fixed unitest fails if openssl doesn't support sha-256.
  1049. * src/MetalinkParserStateV4Impl.cc
  1050. * test/MetalinkProcessorTest.cc
  1051. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1052. Wait until message arrives(again)
  1053. * test/LpdMessageReceiverTest.cc
  1054. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1055. Added missing wallclock.h to SRCS.
  1056. * src/Makefile.am
  1057. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1058. Fixed compile error with --disable-bittorrent
  1059. * test/Metalink2RequestGroupTest.cc
  1060. * test/MetalinkParserControllerTest.cc
  1061. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1062. Added --reuse-uri option. This option has existed quite long, but
  1063. been hidden.
  1064. * doc/aria2c.1.txt
  1065. * src/OptionHandlerFactory.cc
  1066. * src/usage_text.h
  1067. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1068. Ignore filename parameter if it contains directory traversal
  1069. directives.
  1070. * src/util.cc
  1071. * test/UtilTest.cc
  1072. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1073. urldecode -> percentDecode
  1074. * src/FtpConnection.cc
  1075. * src/FtpNegotiationCommand.cc
  1076. * src/HttpResponse.cc
  1077. * src/Request.cc
  1078. * src/magnet.cc
  1079. * src/util.cc
  1080. * src/util.h
  1081. * test/UtilTest.cc
  1082. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1083. urlencode -> percentEncode,
  1084. torrentUrlencode -> torrentPercentEncode
  1085. * src/BtHandshakeMessage.cc
  1086. * src/BtHandshakeMessageValidator.h
  1087. * src/DHTMessageFactoryImpl.cc
  1088. * src/DefaultBtAnnounce.cc
  1089. * src/HandshakeExtensionMessage.cc
  1090. * src/HttpRequest.cc
  1091. * src/XmlRpcMethodImpl.cc
  1092. * src/bittorrent_helper.cc
  1093. * src/util.cc
  1094. * src/util.h
  1095. * test/DHTAnnouncePeerMessageTest.cc
  1096. * test/DHTGetPeersMessageTest.cc
  1097. * test/DHTGetPeersReplyMessageTest.cc
  1098. * test/UTPexExtensionMessageTest.cc
  1099. * test/UtilTest.cc
  1100. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1101. Fixed the bug that filename is percent encoded where it must be
  1102. percent decoded in sendMdtm().
  1103. * src/FtpConnection.cc
  1104. * test/FtpConnectionTest.cc
  1105. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1106. url -> uri in Request class.
  1107. * src/AbstractCommand.cc
  1108. * src/AdaptiveURISelector.cc
  1109. * src/DefaultBtAnnounce.cc
  1110. * src/FeedbackURISelector.cc
  1111. * src/FileEntry.cc
  1112. * src/FileEntry.h
  1113. * src/HttpRequest.h
  1114. * src/HttpResponse.cc
  1115. * src/InitiateConnectionCommandFactory.cc
  1116. * src/Metalink2RequestGroup.cc
  1117. * src/OptionHandlerImpl.h
  1118. * src/ProtocolDetector.cc
  1119. * src/Request.cc
  1120. * src/Request.h
  1121. * src/XmlRpcMethodImpl.cc
  1122. * test/AuthConfigFactoryTest.cc
  1123. * test/FtpConnectionTest.cc
  1124. * test/HttpRequestTest.cc
  1125. * test/HttpResponseTest.cc
  1126. * test/RequestTest.cc
  1127. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1128. Added getServers XML-RPC method.
  1129. * doc/aria2c.1.txt
  1130. * src/FileEntry.h
  1131. * src/XmlRpcMethodFactory.cc
  1132. * src/XmlRpcMethodImpl.cc
  1133. * src/XmlRpcMethodImpl.h
  1134. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1135. Pool request when download finished.
  1136. * src/DownloadCommand.cc
  1137. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1138. Made 'fileIndex' parameter in aria2.changeUri XML-RPC method
  1139. 1-based.
  1140. * doc/aria2c.1.txt
  1141. * src/XmlRpcMethodImpl.cc
  1142. * test/XmlRpcMethodTest.cc
  1143. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1144. Call RequestGroupMan::requestQueueCheck() when
  1145. max-concurrent-downloads option is changed or new downloads are
  1146. added/inserted into reserved list.
  1147. * src/RequestGroupMan.cc
  1148. * src/XmlRpcMethodImpl.cc
  1149. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1150. Added aria2.forceRemove XML-RPC method.
  1151. * doc/aria2c.1.txt
  1152. * src/XmlRpcMethodFactory.cc
  1153. * src/XmlRpcMethodImpl.cc
  1154. * src/XmlRpcMethodImpl.h
  1155. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1156. Added debug log.
  1157. * src/AbstractCommand.cc
  1158. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1159. Create CreateRequestCommand to the number of -s/-C when URIs are
  1160. added by XML-RPC.
  1161. * src/RequestGroup.cc
  1162. * src/RequestGroup.h
  1163. * src/XmlRpcMethodImpl.cc
  1164. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1165. Added 'status' key to the response of getUri XML-RPC method.
  1166. * doc/aria2c.1.txt
  1167. * src/XmlRpcMethodImpl.cc
  1168. 2010-03-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1169. Replaced Time::reset() call with assigning of global::wallclock.
  1170. * src/BtLeecherStateChoke.cc
  1171. * src/BtSeederStateChoke.cc
  1172. * src/PeerSessionResource.cc
  1173. * src/RequestSlot.cc
  1174. * src/ServerStat.cc
  1175. * src/SpeedCalc.cc
  1176. 2010-03-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1177. Added changeUri XML-RPC method. This method removes/adds URIs
  1178. dynamically.
  1179. * doc/aria2c.1.txt
  1180. * src/AbstractCommand.cc
  1181. * src/DownloadContext.cc
  1182. * src/DownloadContext.h
  1183. * src/FileEntry.cc
  1184. * src/FileEntry.h
  1185. * src/Request.cc
  1186. * src/Request.h
  1187. * src/RequestGroup.cc
  1188. * src/RequestGroupMan.cc
  1189. * src/XmlRpcMethodFactory.cc
  1190. * src/XmlRpcMethodImpl.cc
  1191. * src/XmlRpcMethodImpl.h
  1192. * test/FileEntryTest.cc
  1193. * test/XmlRpcMethodTest.cc
  1194. 2010-03-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1195. Rewritten copy ctor of RequestSlot to use initialization list.
  1196. * src/RequestSlot.h
  1197. 2010-03-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1198. Added Time global::wallclock to cache "current time" to reduce the
  1199. call gettimeofday(). Global variables are now in namespace global.
  1200. * src/AbstractCommand.cc
  1201. * src/ActivePeerConnectionCommand.cc
  1202. * src/AdaptiveURISelector.cc
  1203. * src/BtLeecherStateChoke.cc
  1204. * src/BtLeecherStateChoke.h
  1205. * src/BtSeederStateChoke.cc
  1206. * src/BtSeederStateChoke.h
  1207. * src/BtStopDownloadCommand.cc
  1208. * src/ConsoleStatCalc.cc
  1209. * src/DHTBucket.cc
  1210. * src/DHTGetPeersCommand.cc
  1211. * src/DHTMessageTrackerEntry.cc
  1212. * src/DHTNode.cc
  1213. * src/DHTPeerAnnounceEntry.cc
  1214. * src/DHTPeerAnnounceStorage.cc
  1215. * src/DHTSetup.cc
  1216. * src/DefaultBtAnnounce.cc
  1217. * src/DefaultBtInteractive.cc
  1218. * src/DefaultBtMessageDispatcher.cc
  1219. * src/DefaultPeerStorage.cc
  1220. * src/DefaultPieceStorage.cc
  1221. * src/DownloadCommand.cc
  1222. * src/DownloadEngine.cc
  1223. * src/FileEntry.cc
  1224. * src/HttpServerBodyCommand.cc
  1225. * src/HttpServerCommand.cc
  1226. * src/HttpServerResponseCommand.cc
  1227. * src/LpdMessageDispatcher.cc
  1228. * src/MultiUrlRequestInfo.cc
  1229. * src/Peer.cc
  1230. * src/Peer.h
  1231. * src/PeerAbstractCommand.cc
  1232. * src/PeerStat.h
  1233. * src/RequestSlot.cc
  1234. * src/RequestSlot.h
  1235. * src/SegmentMan.cc
  1236. * src/ServerStatMan.cc
  1237. * src/SleepCommand.cc
  1238. * src/SpeedCalc.cc
  1239. * src/SpeedCalc.h
  1240. * src/TimeA2.cc
  1241. * src/TimeA2.h
  1242. * src/TimeBasedCommand.cc
  1243. * src/TimeSeedCriteria.h
  1244. * src/UTMetadataRequestTracker.h
  1245. * src/UTPexExtensionMessage.cc
  1246. * src/wallclock.h
  1247. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1248. Fixed the bug that util::itos(INT64_MIN) fails.
  1249. * src/util.cc
  1250. * src/util.h
  1251. * test/UtilTest.cc
  1252. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1253. Fixed memory leak in SocketBuffer when _bufq is not empty when
  1254. SocketBuffer is deleted. Added BufEntry constructor and deleted
  1255. static factory functions.
  1256. * src/SocketBuffer.cc
  1257. * src/SocketBuffer.h
  1258. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1259. Only execute RequestGroupMan::fillRequestGroupFromReserver() when
  1260. queue maintenance is requested by RequestGroup to avoid to call
  1261. the function unnecessarily.
  1262. * src/FillRequestGroupCommand.cc
  1263. * src/RequestGroup.cc
  1264. * src/RequestGroup.h
  1265. * src/RequestGroupMan.cc
  1266. * src/RequestGroupMan.h
  1267. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1268. Don't use hash for Peer::id. Simple concatenation of ip address
  1269. and port is enough.
  1270. * src/Peer.cc
  1271. * test/PeerTest.cc
  1272. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1273. Enclosed log of DHTMessage::toString() with Logger::info().
  1274. * src/DHTMessageDispatcherImpl.cc
  1275. * src/DHTMessageReceiver.cc
  1276. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1277. Rewritten util::toHex().
  1278. * src/util.cc
  1279. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1280. Removed SocketBuffer::feedAndSend(). Renamed
  1281. SocketBuffer::feedSendBuffer() as SocketBuffer::pushStr().
  1282. * src/FtpConnection.cc
  1283. * src/HttpConnection.cc
  1284. * src/HttpServer.cc
  1285. * src/MSEHandshake.cc
  1286. * src/PeerConnection.cc
  1287. * src/SocketBuffer.cc
  1288. * src/SocketBuffer.h
  1289. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1290. Removed unused PeerConnection::sendMessage(). Updated doc.
  1291. * src/PeerConnection.cc
  1292. * src/PeerConnection.h
  1293. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1294. Reduced copying/std::string instantiation in sending/receiving
  1295. BitTorrent messages.
  1296. * src/BtBitfieldMessage.cc
  1297. * src/BtBitfieldMessage.h
  1298. * src/BtExtendedMessage.cc
  1299. * src/BtExtendedMessage.h
  1300. * src/BtHandshakeMessage.cc
  1301. * src/BtHandshakeMessage.h
  1302. * src/BtKeepAliveMessage.cc
  1303. * src/BtKeepAliveMessage.h
  1304. * src/BtPieceMessage.cc
  1305. * src/BtPieceMessage.h
  1306. * src/BtPortMessage.cc
  1307. * src/BtPortMessage.h
  1308. * src/BtUnchokeMessage.h
  1309. * src/DefaultBtMessageReceiver.cc
  1310. * src/IndexBtMessage.cc
  1311. * src/IndexBtMessage.h
  1312. * src/PeerConnection.cc
  1313. * src/PeerConnection.h
  1314. * src/RangeBtMessage.cc
  1315. * src/RangeBtMessage.h
  1316. * src/SimpleBtMessage.cc
  1317. * src/SimpleBtMessage.h
  1318. * src/SocketBuffer.cc
  1319. * src/SocketBuffer.h
  1320. * src/ZeroBtMessage.cc
  1321. * src/ZeroBtMessage.h
  1322. * test/BtAllowedFastMessageTest.cc
  1323. * test/BtBitfieldMessageTest.cc
  1324. * test/BtCancelMessageTest.cc
  1325. * test/BtChokeMessageTest.cc
  1326. * test/BtExtendedMessageTest.cc
  1327. * test/BtHandshakeMessageTest.cc
  1328. * test/BtHaveAllMessageTest.cc
  1329. * test/BtHaveMessageTest.cc
  1330. * test/BtHaveNoneMessageTest.cc
  1331. * test/BtInterestedMessageTest.cc
  1332. * test/BtKeepAliveMessageTest.cc
  1333. * test/BtNotInterestedMessageTest.cc
  1334. * test/BtPieceMessageTest.cc
  1335. * test/BtPortMessageTest.cc
  1336. * test/BtRejectMessageTest.cc
  1337. * test/BtRequestMessageTest.cc
  1338. * test/BtSuggestPieceMessageTest.cc
  1339. * test/BtUnchokeMessageTest.cc
  1340. 2010-03-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1341. Rewritten SocketBuffer. Old implementation uses single std::string
  1342. to store data and erase sent data, which is costly. New
  1343. implementation uses deque to hold each data to avoid to mutate
  1344. string.
  1345. * src/SocketBuffer.cc
  1346. * src/SocketBuffer.h
  1347. 2010-03-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1348. Removed unused FileEntry::extracted
  1349. * src/FileEntry.cc
  1350. * src/FileEntry.h
  1351. 2010-03-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1352. Wait until data arrives.
  1353. * test/LpdMessageReceiverTest.cc
  1354. 2010-03-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1355. In Metalink4, if size element contains invalid size, discard whole
  1356. document. Added strict hash value check for metalink3/4.
  1357. * src/MetalinkParserController.cc
  1358. * src/MetalinkParserStateMachine.cc
  1359. * src/MetalinkParserStateMachine.h
  1360. * src/MetalinkParserStateV3Impl.cc
  1361. * src/MetalinkParserStateV4Impl.cc
  1362. * src/util.cc
  1363. * src/util.h
  1364. * test/MetalinkParserControllerTest.cc
  1365. * test/MetalinkProcessorTest.cc
  1366. * test/metalink4.xml
  1367. 2010-03-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1368. Added strict attribute validation for metalink4. When
  1369. specification violation is found, discard the whole document.
  1370. * src/ExpatMetalinkProcessor.cc
  1371. * src/MetalinkParserStateMachine.cc
  1372. * src/MetalinkParserStateMachine.h
  1373. * src/MetalinkParserStateV4Impl.cc
  1374. * src/XML2SAXMetalinkProcessor.cc
  1375. * test/Makefile.am
  1376. * test/MetalinkProcessorTest.cc
  1377. * test/metalink4-attrs.xml: Removed
  1378. * test/metalink4-dirtraversal.xml: Removed
  1379. 2010-03-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1380. Added test for Metaurl transaction.
  1381. * src/MetalinkParserController.cc
  1382. * test/MetalinkParserControllerTest.cc
  1383. 2010-03-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1384. Avoid costly BtMessage::toString() if info level log is not
  1385. required.
  1386. * src/DefaultBtInteractive.cc
  1387. * src/Logger.h
  1388. * src/SimpleBtMessage.cc
  1389. 2010-03-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1390. Reserved vector elements based on profiler results.
  1391. * src/DefaultBtInteractive.cc
  1392. * src/DefaultBtProgressInfoFile.cc
  1393. 2010-03-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1394. Avoid to calculate end() iterator in each loop. std::deque is
  1395. particularly slow. Make sure that recalculate end iterator if
  1396. element is erased during loop.
  1397. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1398. Use vector instead of deque for containers which is used for
  1399. mostly read-only purpose.
  1400. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1401. Fixed typo
  1402. * test/Makefile.am
  1403. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1404. Added metalink4-groupbymetaurl.xml to EXTRA_DIST
  1405. * test/Makefile.am
  1406. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1407. Small optimization: In updateTransferStatFor(), don't search peer
  1408. ID twice.
  1409. * src/DefaultPeerStorage.cc
  1410. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1411. Use vector instead of deque for MetalinkEntry and MetalinkResource
  1412. objects.
  1413. * src/Metalink2RequestGroup.cc
  1414. * src/Metalink2RequestGroup.h
  1415. * src/MetalinkEntry.cc
  1416. * src/MetalinkEntry.h
  1417. * src/MetalinkHelper.cc
  1418. * src/MetalinkHelper.h
  1419. * src/Metalinker.cc
  1420. * src/Metalinker.h
  1421. * src/main.cc
  1422. * test/MetalinkEntryTest.cc
  1423. * test/MetalinkHelperTest.cc
  1424. * test/MetalinkProcessorTest.cc
  1425. * test/MetalinkerTest.cc
  1426. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1427. Fixed the bug that grouped FileEntry objects are not used but
  1428. instead all FileEntry objects are used for each metaurl group.
  1429. * src/Metalink2RequestGroup.cc
  1430. * test/Metalink2RequestGroupTest.cc
  1431. * test/metalink4-groupbymetaurl.xml
  1432. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1433. Use vector instead of deque for ChunkChecksum.
  1434. * src/ChunkChecksum.h
  1435. * src/MetalinkParserController.cc
  1436. * src/MetalinkParserController.h
  1437. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1438. Added MessageDigest::isStronger(). Now aria2 selects stronger hash
  1439. algorithm in Metalink properly
  1440. * src/MetalinkParserController.cc
  1441. * src/MetalinkParserController.h
  1442. * src/messageDigest.cc
  1443. * src/messageDigest.h
  1444. * test/MetalinkProcessorTest.cc
  1445. * test/metalink4.xml
  1446. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1447. Replaced null or control characters in file path with '_'. For
  1448. MinGW32 build, additional characters which is not allowed in
  1449. Windows kernel are also replaced. util::detectDirTraversal() now
  1450. returns true if given string contains null or control characters.
  1451. * src/DownloadContext.cc
  1452. * src/DownloadContext.h
  1453. * src/Metalink2RequestGroup.cc
  1454. * src/MetalinkParserController.cc
  1455. * src/bittorrent_helper.cc
  1456. * src/util.cc
  1457. * src/util.h
  1458. * test/UtilTest.cc
  1459. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1460. Discard metalink:file if its name attribute is empty string.
  1461. Removed FileEntry instantiation in
  1462. MetalinkParserController::setFileLengthOfEntry()
  1463. * src/MetalinkParserController.cc
  1464. * src/MetalinkParserStateV3Impl.cc
  1465. * src/MetalinkParserStateV4Impl.cc
  1466. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1467. Discard torrent file if path data in it contains directory
  1468. traversal directives. Discard metalink:file element in Metalink3
  1469. format if its name attribute contains directory traversal
  1470. directives. Ignore name attribute of metalink:signature element
  1471. in Metalink3 format if it contains directory traversal directives.
  1472. * src/MetalinkParserStateV3Impl.cc
  1473. * src/bittorrent_helper.cc
  1474. * src/message.h
  1475. * test/BittorrentHelperTest.cc
  1476. * test/Makefile.am
  1477. * test/MetalinkProcessorTest.cc
  1478. * test/metalink3-dirtraversal.xml
  1479. * test/test.xml
  1480. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1481. Removed useless comment
  1482. * src/MetalinkParserStateV4Impl.cc
  1483. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1484. Supported name attribute of metalink::metaurl element and
  1485. multi-file torrent with Metalink4. Files with same metaurl are
  1486. grouped and downloaded in one RequestGroup.
  1487. * src/BtDependency.cc
  1488. * src/FileEntry.h
  1489. * src/Metalink2RequestGroup.cc
  1490. * src/Metalink2RequestGroup.h
  1491. * src/MetalinkEntry.cc
  1492. * src/MetalinkEntry.h
  1493. * src/MetalinkHelper.cc
  1494. * src/MetalinkHelper.h
  1495. * src/MetalinkMetaurl.cc
  1496. * src/MetalinkMetaurl.h
  1497. * src/MetalinkParserController.cc
  1498. * src/RequestGroup.cc
  1499. * src/RequestGroup.h
  1500. * src/bittorrent_helper.cc
  1501. * test/BittorrentHelperTest.cc
  1502. * test/BtDependencyTest.cc
  1503. * test/MetalinkHelperTest.cc
  1504. 2010-02-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1505. Store name attribute of metalink:metaurl element in MetalinkMetaurl.
  1506. * src/MetalinkMetaurl.h
  1507. * src/MetalinkParserController.cc
  1508. * src/MetalinkParserController.h
  1509. * src/MetalinkParserStateMachine.cc
  1510. * src/MetalinkParserStateMachine.h
  1511. * src/MetalinkParserStateV4Impl.cc
  1512. * test/MetalinkProcessorTest.cc
  1513. * test/metalink4-dirtraversal.xml
  1514. 2010-02-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1515. Added MetalinkMetaurl class. It corresponds to metalink:metaurl
  1516. element.
  1517. * src/Makefile.am
  1518. * src/Metalink2RequestGroup.cc
  1519. * src/MetalinkEntry.cc
  1520. * src/MetalinkEntry.h
  1521. * src/MetalinkMetaurl.cc
  1522. * src/MetalinkMetaurl.h
  1523. * src/MetalinkParserController.cc
  1524. * src/MetalinkParserController.h
  1525. * src/MetalinkParserStateMachine.cc
  1526. * src/MetalinkParserStateMachine.h
  1527. * src/MetalinkParserStateV4Impl.cc
  1528. * src/MetalinkParserStateV4Impl.h
  1529. * test/MetalinkProcessorTest.cc
  1530. 2010-02-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1531. Added Metalink4 support. Currently, name attribute of
  1532. metalink::metaurl is ignored and multi-file torrent cannot be used
  1533. with Metalink4.
  1534. * doc/aria2c.1.txt
  1535. * src/DownloadHandlerConstants.cc
  1536. * src/ExpatMetalinkProcessor.cc
  1537. * src/Makefile.am
  1538. * src/Metalink2RequestGroup.cc
  1539. * src/MetalinkEntry.cc
  1540. * src/MetalinkEntry.h
  1541. * src/MetalinkParserController.cc
  1542. * src/MetalinkParserController.h
  1543. * src/MetalinkParserState.h
  1544. * src/MetalinkParserStateImpl.cc
  1545. * src/MetalinkParserStateImpl.h
  1546. * src/MetalinkParserStateMachine.cc
  1547. * src/MetalinkParserStateMachine.h
  1548. * src/MetalinkParserStateV3Impl.cc
  1549. * src/MetalinkParserStateV3Impl.h
  1550. * src/MetalinkParserStateV4Impl.cc
  1551. * src/MetalinkParserStateV4Impl.h
  1552. * src/MetalinkResource.cc
  1553. * src/MetalinkResource.h
  1554. * src/Metalinker.cc
  1555. * src/RequestGroup.cc
  1556. * src/RequestGroup.h
  1557. * src/XML2SAXMetalinkProcessor.cc
  1558. * src/messageDigest.cc
  1559. * src/util.cc
  1560. * src/util.h
  1561. * test/Makefile.am
  1562. * test/MetalinkEntryTest.cc
  1563. * test/MetalinkParserControllerTest.cc
  1564. * test/MetalinkProcessorTest.cc
  1565. * test/MetalinkerTest.cc
  1566. * test/UtilTest.cc
  1567. * test/metalink4-attrs.xml
  1568. * test/metalink4-dirtraversal.xml
  1569. * test/metalink4.xml
  1570. 2010-02-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1571. Added aiFlags argument to getInterfaceAddress(). Use
  1572. AI_NUMERICHOST to find interface specified using
  1573. --bt-lpd-interface option to avoid time-consuming address lookup.
  1574. * src/BtSetup.cc
  1575. * src/SocketCore.cc
  1576. * src/SocketCore.h
  1577. 2010-02-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1578. Return SharedHandle<LpdMessage>(new LpdMessage()) if received data
  1579. is bad in LpdMessageReceiver.
  1580. * src/LpdMessage.h
  1581. * src/LpdMessageReceiver.cc
  1582. * src/LpdMessageReceiver.h
  1583. * src/LpdReceiveMessageCommand.cc
  1584. * test/LpdMessageReceiverTest.cc
  1585. 2010-02-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1586. Added --bt-lpd-interface option to specify the interface to use
  1587. for Local Peer Discovery. LpdMessageDispatcher object now has its
  1588. own socket. LpdMessageReceiver's socket is binded to multicast
  1589. address to only receive multicast packets.
  1590. * src/BtSetup.cc
  1591. * src/LpdMessageDispatcher.cc
  1592. * src/LpdMessageDispatcher.h
  1593. * src/LpdMessageReceiver.cc
  1594. * src/LpdMessageReceiver.h
  1595. * src/LpdReceiveMessageCommand.cc
  1596. * src/LpdReceiveMessageCommand.h
  1597. * src/OptionHandlerFactory.cc
  1598. * src/SocketCore.cc
  1599. * src/SocketCore.h
  1600. * src/prefs.cc
  1601. * src/prefs.h
  1602. * src/usage_text.h
  1603. * test/LpdMessageDispatcherTest.cc
  1604. * test/LpdMessageReceiverTest.cc
  1605. 2010-02-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1606. Put the portion of code to get interface addresses in
  1607. SocketCore::bindAddress() into newly added getInterfaceAddress().
  1608. * src/SocketCore.cc
  1609. * src/SocketCore.h
  1610. 2010-02-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1611. Rewritten util::parseInt() and parseUInt()
  1612. * src/util.cc
  1613. 2010-02-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1614. Fixed compile error with mingw32 cross compiler. Defined
  1615. a2_sockopt_t as void* for the target systems other than mingw32.
  1616. * src/SocketCore.cc
  1617. * src/a2netcompat.h
  1618. 2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1619. Removed 'always true' condition
  1620. * src/util.cc
  1621. 2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1622. Documented --bt-enable-lpd option in man page.
  1623. * doc/aria2c.1.txt
  1624. 2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1625. Added Local Peer Discovery. It is disabled by default. Use
  1626. --bt-enable-lpd to enable the function.
  1627. * src/BtConstants.h
  1628. * src/BtSetup.cc
  1629. * src/LpdDispatchMessageCommand.cc
  1630. * src/LpdDispatchMessageCommand.h
  1631. * src/LpdMessage.h
  1632. * src/LpdMessageDispatcher.cc
  1633. * src/LpdMessageDispatcher.h
  1634. * src/LpdMessageReceiver.cc
  1635. * src/LpdMessageReceiver.h
  1636. * src/LpdReceiveMessageCommand.cc
  1637. * src/LpdReceiveMessageCommand.h
  1638. * src/Makefile.am
  1639. * src/OptionHandlerFactory.cc
  1640. * src/Peer.cc
  1641. * src/Peer.h
  1642. * src/PeerInteractionCommand.cc
  1643. * src/SocketCore.cc
  1644. * src/SocketCore.h
  1645. * src/prefs.cc
  1646. * src/prefs.h
  1647. * src/usage_text.h
  1648. * src/util.cc
  1649. * src/util.h
  1650. * test/LpdMessageDispatcherTest.cc
  1651. * test/LpdMessageReceiverTest.cc
  1652. * test/Makefile.am
  1653. 2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1654. User-defined custom request headers specified by --header option
  1655. now override builtin headers if they have same name.
  1656. * src/HttpRequest.cc
  1657. * src/HttpRequest.h
  1658. * test/HttpRequestTest.cc
  1659. 2010-02-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1660. Rewirtten util::isNumber()
  1661. * src/util.cc
  1662. 2010-02-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1663. Reverted changes in r1893. setlocale(LC_CTYPE, "") is needed
  1664. because without it localized error messages are not printed
  1665. correctly.
  1666. * src/Platform.cc
  1667. 2010-02-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1668. Added unit tests for util::getContentDispositionFilename() from
  1669. http://greenbytes.de/tech/tc2231/ Fixed the function so that added
  1670. tests are passed.
  1671. * src/util.cc
  1672. * test/UtilTest.cc
  1673. 2010-02-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1674. Removed setlocale() for LC_CTYPE. It may affect isxdigit in
  1675. util.cc
  1676. * src/Platform.cc
  1677. 2010-02-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1678. Support RFC2231 "Parameter Value Character Set and Language
  1679. Information" in Content-Disposition header.
  1680. * src/HttpResponse.cc
  1681. * src/util.cc
  1682. * src/util.h
  1683. * test/UtilTest.cc
  1684. 2010-02-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1685. Print CXXFLAGS
  1686. * configure.ac
  1687. 2010-02-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1688. Small optimization for A2_WOULDBLOCK(e)
  1689. * src/SocketCore.cc
  1690. 2010-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1691. Removed test file
  1692. * test/CookieStorageTest.cc
  1693. 2010-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1694. Check both EAGAIN and EWOULDBLOCK
  1695. * src/SocketCore.cc
  1696. 2010-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1697. Removed ret == 0 checking for SSL_read(), SSL_write() and
  1698. SSL_peek() because the checks are done in the caller. In
  1699. SocketBuffer::send(), throw exception if nothing could be written
  1700. and socket error was not EWOULDBLOCK
  1701. * src/SocketBuffer.cc
  1702. * src/SocketCore.cc
  1703. 2010-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1704. Fixed error code handling so that it can handle Winsock2 error
  1705. code.
  1706. * src/SocketCore.cc
  1707. * src/SocketCore.h
  1708. 2010-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1709. Bump up version number to 1.9.0a
  1710. * configure.ac
  1711. * doc/aria2c.1.txt
  1712. 2010-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1713. Fixed the bug that aria2 doesn't handle return value if error
  1714. occurred before download begins.
  1715. * src/MultiUrlRequestInfo.cc
  1716. * src/main.cc
  1717. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1718. Removed SegmentManFactory class.
  1719. * src/AbstractSegmentManFactory.h
  1720. * src/DefaultSegmentManFactory.cc
  1721. * src/DefaultSegmentManFactory.h
  1722. * src/Makefile.am
  1723. * src/RequestGroup.cc
  1724. * src/RequestGroup.h
  1725. * src/SegmentManFactory.h
  1726. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1727. Destroyed digest context after getting calculated hash.
  1728. * src/Piece.cc
  1729. * src/Piece.h
  1730. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1731. Removed BitfieldManFactory class.
  1732. * src/BitfieldManFactory.cc
  1733. * src/BitfieldManFactory.h
  1734. * src/DefaultPieceStorage.cc
  1735. * src/Makefile.am
  1736. * src/PeerSessionResource.cc
  1737. * src/Piece.cc
  1738. * src/main.cc
  1739. * test/DefaultPieceStorageTest.cc
  1740. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1741. Removed unused methods from BitfieldMan class. Moved
  1742. getFirstMissingIndex to bitfield.h. Updated doc for BitfieldMan
  1743. class.
  1744. * src/BitfieldMan.cc
  1745. * src/BitfieldMan.h
  1746. * src/BitfieldManFactory.cc
  1747. * src/BitfieldManFactory.h
  1748. * src/bitfield.h
  1749. * src/main.cc
  1750. * test/BitfieldManTest.cc
  1751. * test/DefaultPieceStorageTest.cc
  1752. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1753. Moved getFirstNMissingIndex to bitfield.h and made it return the
  1754. number of appended indexes.
  1755. * src/BitfieldMan.cc
  1756. * src/BitfieldMan.h
  1757. * src/Piece.cc
  1758. * src/Piece.h
  1759. * src/bitfield.h
  1760. * test/BitfieldManTest.cc
  1761. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1762. Added more tests.
  1763. * test/BitfieldManTest.cc
  1764. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1765. Added BitfieldMan::getFirstNMissingUnusedIndex() to get multiple
  1766. unused block indexes at once instead of calling
  1767. getFirstMissingUnusedIndex() multiple times. Made use of it in
  1768. Piece class and DefaultBtRequestFactory class via Piece class.
  1769. * src/BitfieldMan.cc
  1770. * src/BitfieldMan.h
  1771. * src/DefaultBtRequestFactory.cc
  1772. * src/Piece.cc
  1773. * src/Piece.h
  1774. * test/BitfieldManTest.cc
  1775. 2010-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1776. Use std::make_pair(...)
  1777. * src/DHTMessageTracker.cc
  1778. 2010-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1779. Use std::make_pair(...)
  1780. * src/bittorrent_helper.cc
  1781. 2010-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1782. urlencode(removeFragment(...)) in parseUrl(...)
  1783. * src/Request.cc
  1784. 2010-02-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1785. Wrapped logger->debug(...) with if(logger->debug()) { ... }
  1786. * src/AbstractCommand.cc
  1787. * src/AdaptiveURISelector.cc
  1788. * src/BtPieceMessage.cc
  1789. * src/BtPortMessage.cc
  1790. * src/CreateRequestCommand.cc
  1791. * src/DHTAbstractNodeLookupTask.cc
  1792. * src/DHTBucket.cc
  1793. * src/DHTGetPeersCommand.cc
  1794. * src/DHTMessageDispatcherImpl.cc
  1795. * src/DHTMessageFactoryImpl.cc
  1796. * src/DHTMessageTracker.cc
  1797. * src/DHTPeerAnnounceStorage.cc
  1798. * src/DHTRoutingTable.cc
  1799. * src/DHTSetup.cc
  1800. * src/DefaultBtAnnounce.cc
  1801. * src/DefaultBtInteractive.cc
  1802. * src/DefaultBtMessageDispatcher.cc
  1803. * src/DefaultBtMessageReceiver.cc
  1804. * src/DefaultBtProgressInfoFile.cc
  1805. * src/DefaultBtRequestFactory.cc
  1806. * src/DefaultPeerStorage.cc
  1807. * src/DefaultPieceStorage.cc
  1808. * src/DownloadCommand.cc
  1809. * src/DownloadEngine.cc
  1810. * src/EpollEventPoll.cc
  1811. * src/FileAllocationCommand.cc
  1812. * src/FileEntry.cc
  1813. * src/FtpNegotiationCommand.cc
  1814. * src/HandshakeExtensionMessage.cc
  1815. * src/HttpListenCommand.cc
  1816. * src/HttpServer.cc
  1817. * src/HttpSkipResponseCommand.cc
  1818. * src/IteratableChunkChecksumValidator.cc
  1819. * src/Logger.h
  1820. * src/MSEHandshake.cc
  1821. * src/MetalinkPostDownloadHandler.cc
  1822. * src/MultiDiskAdaptor.cc
  1823. * src/PeerAbstractCommand.cc
  1824. * src/PeerConnection.cc
  1825. * src/PeerListenCommand.cc
  1826. * src/PeerReceiveHandshakeCommand.cc
  1827. * src/RequestGroup.cc
  1828. * src/RequestGroupMan.cc
  1829. * src/SegmentMan.cc
  1830. * src/SelectEventPoll.cc
  1831. * src/ServerStat.cc
  1832. * src/SimpleBtMessage.cc
  1833. * src/SocketCore.cc
  1834. * src/TrackerWatcherCommand.cc
  1835. * src/UTMetadataDataExtensionMessage.cc
  1836. * src/UTMetadataRequestFactory.cc
  1837. * src/UTMetadataRequestTracker.cc
  1838. * src/XmlRpcMethod.cc
  1839. 2010-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1840. Changed log level from debug to info
  1841. * src/BtDependency.cc
  1842. * src/BtPostDownloadHandler.cc
  1843. 2010-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1844. Removed unused PeerSessionResource::_latency.
  1845. * src/BtConstants.h
  1846. * src/BtPieceMessage.cc
  1847. * src/Peer.cc
  1848. * src/Peer.h
  1849. * src/PeerSessionResource.cc
  1850. * src/PeerSessionResource.h
  1851. * test/PeerSessionResourceTest.cc
  1852. 2010-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1853. Fixed the bug that --file-allocation=falloc doesn't work with
  1854. single file download.
  1855. * src/AbstractSingleDiskAdaptor.cc
  1856. 2010-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1857. Release 1.8.2
  1858. 2010-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1859. Added Portuguese translation. Updated Ukrainian and Spanish
  1860. translation. Thanks to all translators.
  1861. * po/LINGUAS
  1862. * po/es.po
  1863. * po/pt.po
  1864. * po/uk.po
  1865. 2010-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1866. Remove fragment from redirected URI.
  1867. * src/Request.cc
  1868. * test/RequestTest.cc
  1869. 2010-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1870. Updated po templates.
  1871. * po/aria2.pot
  1872. 2010-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1873. Drop legacy ifdef for ares support and code cleanup.
  1874. * src/AsyncNameResolver.cc
  1875. * src/AsyncNameResolver.h
  1876. 2010-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1877. Call ares_library_init and ares_library_cleanup if they are
  1878. available. Some code cleanups.
  1879. * src/Platform.cc
  1880. 2010-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1881. Call ares_process_fd() each time after epoll to handle timeout.
  1882. * src/EpollEventPoll.cc
  1883. * src/EpollEventPoll.h
  1884. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1885. Suppressed type-cast compiler warning
  1886. * src/CookieStorage.cc
  1887. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1888. Fixed compile error on Mac OS X.
  1889. * src/CookieStorage.h
  1890. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1891. Removed cookietest.txt from Makefile.am
  1892. * test/Makefile.am
  1893. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1894. Updated version number in man page.
  1895. * doc/aria2c.1.txt
  1896. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1897. Rewritten help message for --allow-overwrite option.
  1898. * doc/aria2c.1.txt
  1899. * src/usage_text.h
  1900. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1901. Added bittorrent key to the response of tellStatus XML-RPC method.
  1902. The associated value of the key is a struct and contains data
  1903. retrieved from .torrent file, such as name, announce-list,
  1904. comment, etc.
  1905. * doc/aria2c.1.txt
  1906. * src/XmlRpcMethodImpl.cc
  1907. * src/XmlRpcMethodImpl.h
  1908. * test/XmlRpcMethodTest.cc
  1909. 2010-01-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1910. Removed parse(std::istream&) and parse(const std::string&) from
  1911. CookieParser.
  1912. * src/CookieParser.cc
  1913. * src/CookieParser.h
  1914. * test/CookieParserTest.cc
  1915. * test/cookietest.txt: Removed
  1916. 2010-01-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1917. Fixed the bug that cookie for domain a.b.c is not sent to the host
  1918. a.b.c if no other cookies are stored. Fixed the bug that
  1919. Cookie::markOriginServerOnly() is not called when cookies are
  1920. loaded from file/sqlite3 database.
  1921. * src/Cookie.h
  1922. * src/CookieStorage.cc
  1923. * src/NsCookieParser.cc
  1924. * src/Sqlite3MozCookieParser.cc
  1925. * test/CookieStorageTest.cc
  1926. * test/NsCookieParserTest.cc
  1927. * test/Sqlite3MozCookieParserTest.cc
  1928. * test/cookies.sqlite
  1929. * test/nscookietest.txt
  1930. 2010-01-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1931. Removed RequestGroup::initSegmentMan(). Guaranteed that either
  1932. both _pieceStorage and _segmentMan are initialized or they are
  1933. not.
  1934. * src/RequestGroup.cc
  1935. * src/RequestGroup.h
  1936. * test/BtDependencyTest.cc
  1937. 2010-01-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1938. Bump up version number to 1.8.2
  1939. * configure.ac
  1940. 2010-01-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1941. Replaced "." with A2STR::DOT_C
  1942. * src/AbstractCommand.cc
  1943. * src/Cookie.cc
  1944. * src/DownloadContext.cc
  1945. * src/FtpConnection.cc
  1946. * src/RequestGroup.cc
  1947. * src/util.cc
  1948. 2010-01-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1949. Replaced isNumberAndDotsNotation() with isNumericHost().
  1950. isNumericHost() can handle IPv6 address.
  1951. * src/Cookie.cc
  1952. * src/CookieStorage.cc
  1953. * src/util.cc
  1954. * src/util.h
  1955. * test/CookieTest.cc
  1956. * test/UtilTest.cc
  1957. 2010-01-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1958. Included A2STR.h
  1959. * src/CookieStorage.cc
  1960. 2010-01-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1961. Rewritten Cookie storage.
  1962. * src/Cookie.cc
  1963. * src/Cookie.h
  1964. * src/CookieParser.cc
  1965. * src/CookieStorage.cc
  1966. * src/CookieStorage.h
  1967. * src/a2functional.h
  1968. * test/CookieParserTest.cc
  1969. * test/CookieStorageTest.cc
  1970. * test/CookieTest.cc
  1971. * test/HttpResponseTest.cc
  1972. * test/TestUtil.h
  1973. * test/a2functionalTest.cc
  1974. 2010-01-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1975. Handle redirected URI which is not properly percent encoded.
  1976. * src/Request.cc
  1977. * test/RequestTest.cc
  1978. 2010-01-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1979. Fixed the bug that causes segmentaiton fault when aria2 sees '404
  1980. not found' in the N times(N is where --max-file-not-found=N, N>0)
  1981. in a row without single '200 OK' response.
  1982. * src/RequestGroup.cc.
  1983. 2010-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1984. Fixed compile error with i586-mingw32msvc-g++. Always Cut console
  1985. readout by 80 characters in mingw32 build. Catch exception in
  1986. DHTMessageReceiver::receiveMessage().
  1987. * src/AbstractDiskWriter.cc
  1988. * src/ConsoleStatCalc.cc
  1989. * src/DHTMessageReceiver.cc
  1990. * src/File.cc
  1991. * src/RequestGroupMan.cc
  1992. * src/a2io.h
  1993. * test/FileTest.cc
  1994. 2010-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1995. Fixed compile error with intel compiler
  1996. * src/XmlRpcMethodImpl.cc
  1997. * src/XmlRpcMethodImpl.h
  1998. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1999. Release 1.8.1
  2000. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2001. Updated Swedish, Russian and Italian translations. Thanks to all
  2002. translators.
  2003. * po/it.po
  2004. * po/ru.po
  2005. * po/sv.po
  2006. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2007. Fixed broken OptionParser::findByName().
  2008. * src/OptionParser.cc
  2009. * test/OptionParserTest.cc
  2010. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2011. Fixed test error without BitTorrent support.
  2012. * test/XmlRpcMethodTest.cc
  2013. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2014. Fixed compile error without GNUTLS/OpenSSL.
  2015. * src/util.cc
  2016. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2017. Changed compression level to Z_DEFAULT_COMPRESSION.
  2018. * src/GZipEncoder.cc
  2019. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2020. Added missing command line options: --http-no-cache,
  2021. --bt-save-metadata and --bt-metadata-only.
  2022. * doc/xmlrpc/aria2rpc
  2023. 2010-01-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2024. aria2 now returns gzip compressed XML-RPC response if XML-RPC
  2025. client accepts gzip content encoding.
  2026. * src/A2STR.cc
  2027. * src/A2STR.h
  2028. * src/GZipEncoder.cc
  2029. * src/GZipEncoder.h
  2030. * src/HttpHeader.cc
  2031. * src/HttpHeader.h
  2032. * src/HttpServer.cc
  2033. * src/HttpServer.h
  2034. * src/HttpServerBodyCommand.cc
  2035. * src/HttpServerCommand.cc
  2036. * src/Makefile.am
  2037. * src/XmlRpcResponse.cc
  2038. * src/XmlRpcResponse.h
  2039. * test/GZipEncoderTest.cc
  2040. * test/Makefile.am
  2041. 2010-01-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2042. Added XML-RPC client sample code in Python.
  2043. * doc/aria2c.1.txt
  2044. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2045. Updated po templates.
  2046. * po/aria2.pot
  2047. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2048. Bump up version number to 1.8.1
  2049. * configure.ac
  2050. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2051. Added version number to man page. Updated copyright year in man
  2052. page.
  2053. * doc/aria2c.1.txt
  2054. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2055. Rewritten toTagString
  2056. * src/NameMatchOptionHandler.cc
  2057. * test/OptionHandlerTest.cc
  2058. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2059. Added dir and files key to the response struct of aria2.tellStatus
  2060. XML-RPC method. The value associated with files key is the list
  2061. of files. Its element is the same struct used in aria2.getFiles
  2062. XML-RPC method. Added uris key to the response struct of
  2063. aria2.getFiles XML-RPC method. The value associated with uris key
  2064. is the list of URIs. Its element is the same struct used in
  2065. aria2.getUris XML-RPC method.
  2066. * doc/aria2c.1.txt
  2067. * src/XmlRpcMethodImpl.cc
  2068. * test/XmlRpcMethodTest.cc
  2069. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2070. Added aria2.getSessionInfo XML-RPC method. This method returns a
  2071. struct containing Session ID, which is generated each time when
  2072. aria2 is invoked.
  2073. * doc/aria2c.1.txt
  2074. * doc/xmlrpc/aria2rpc
  2075. * src/DownloadEngine.cc
  2076. * src/DownloadEngine.h
  2077. * src/XmlRpcMethodFactory.cc
  2078. * src/XmlRpcMethodImpl.cc
  2079. * src/XmlRpcMethodImpl.h
  2080. * test/XmlRpcMethodTest.cc
  2081. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2082. Moved generateRandomKey() from bittorrent_helper to util.
  2083. * src/DHTBucket.cc
  2084. * src/DHTNode.cc
  2085. * src/bittorrent_helper.cc
  2086. * src/bittorrent_helper.h
  2087. * src/util.cc
  2088. * src/util.h
  2089. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2090. Updated doc about GID.
  2091. * doc/aria2c.1.txt
  2092. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2093. Now offset argument in aria2.tellWaiting and aria2.tellStopped
  2094. accepts a negative integer. 'offset' == -1 points last download
  2095. in the waiting queue and 'offset' == -2 points the download before
  2096. the last download, and so on. The downloads in the response are in
  2097. reversed order.
  2098. * doc/aria2c.1.txt
  2099. * src/XmlRpcMethodImpl.cc
  2100. * src/XmlRpcMethodImpl.h
  2101. * test/XmlRpcMethodTest.cc
  2102. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2103. Added --human-readable option. This option, when true is given,
  2104. prints sizes and speed in human readable format(e.g., 1.2Ki,
  2105. 3.4Mi) in the console readout. The default value is true and it
  2106. looks exactly the same as aria2-1.8.0. So the 'new feature'
  2107. appears when false is given. In this case, sizes and speed are
  2108. printed without in bytes. No Ki, Mi units conversion is used.
  2109. This may be useful for a program to parse the output of aria2.
  2110. * doc/aria2c.1.txt
  2111. * src/ConsoleStatCalc.cc
  2112. * src/ConsoleStatCalc.h
  2113. * src/OptionHandlerFactory.cc
  2114. * src/main.cc
  2115. * src/prefs.cc
  2116. * src/prefs.h
  2117. * src/usage_text.h
  2118. 2010-01-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2119. Now --all-proxy, --http-proxy, --https-proxy and --ftp-proxy
  2120. option accepts empty string "". When "" is given, it erases
  2121. previously defined proxy.
  2122. * doc/aria2c.1.txt
  2123. * src/OptionHandlerImpl.h
  2124. * src/usage_text.h
  2125. * test/OptionHandlerTest.cc
  2126. 2010-01-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2127. Code cleanup for proxy URI handling.
  2128. * src/AbstractCommand.cc
  2129. 2010-01-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2130. Added --bt-metadata-only option. If true is given to this option,
  2131. aria2 downloads metadata only. The file(s) described in metadata
  2132. will not be downloaded. This option has effect only when
  2133. BitTorrent Magnet URI is used. See also --bt-save-metadata option.
  2134. * doc/aria2c.1.txt
  2135. * src/OptionHandlerFactory.cc
  2136. * src/UTMetadataPostDownloadHandler.cc
  2137. * src/download_helper.cc
  2138. * src/prefs.cc
  2139. * src/prefs.h
  2140. * src/usage_text.h
  2141. 2010-01-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2142. Fixed memory leak. Commands stored in std::deque<Command*> are not
  2143. deleted when exception is thrown. Make sure that when passing
  2144. std::deque<Command*> to function to store Commands, handle
  2145. exception and delete these Commands.
  2146. * src/AbstractCommand.cc
  2147. * src/CheckIntegrityCommand.cc
  2148. * src/FileAllocationCommand.cc
  2149. * src/RequestGroup.cc
  2150. * src/TrackerWatcherCommand.cc
  2151. 2010-01-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2152. Replaced '/' and '_' with '_' in HTTP/FTP filename.
  2153. * src/A2STR.cc
  2154. * src/A2STR.h
  2155. * src/FtpNegotiationCommand.cc
  2156. * src/HttpResponseCommand.cc
  2157. * src/util.cc
  2158. * src/util.h
  2159. * test/UtilTest.cc
  2160. 2010-01-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2161. Treat --dir="" as --dir="."
  2162. * src/FtpNegotiationCommand.cc
  2163. * src/HttpResponseCommand.cc
  2164. * src/Metalink2RequestGroup.cc
  2165. * src/UTMetadataPostDownloadHandler.cc
  2166. * src/bittorrent_helper.cc
  2167. * src/download_helper.cc
  2168. * src/util.cc
  2169. * src/util.h
  2170. * test/UtilTest.cc
  2171. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2172. Code clean up.
  2173. * src/main.cc
  2174. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2175. Reset GID to 1 when they reach maximum value. Rewritten
  2176. CUIDCounter::newID()
  2177. * src/CUIDCounter.h
  2178. * src/RequestGroup.cc
  2179. * src/RequestGroup.h
  2180. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2181. Documented --http-no-cache option in man page.
  2182. * doc/aria2c.1.txt
  2183. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2184. Added --http-no-cache option. When true is given, aria2 sends
  2185. Cache-Control: no-cache and Pragma: no-cache header to avoid
  2186. cached content. If false is given , these headers are not sent
  2187. and you can add Cache-Control header with a directive you like
  2188. using --header option.
  2189. * src/HttpRequest.cc
  2190. * src/HttpRequest.h
  2191. * src/HttpRequestCommand.cc
  2192. * src/OptionHandlerFactory.cc
  2193. * src/download_helper.cc
  2194. * src/prefs.cc
  2195. * src/prefs.h
  2196. * src/usage_text.h
  2197. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2198. Removed Logger from OptionParser. When OptionParser is used to
  2199. parse options at bootstrap, LogFactory is not configured yet
  2200. properly. When LogFactory is used in OptionParser, it initializes
  2201. itself to return a logger which has no ability to write log to the
  2202. disk.
  2203. * src/OptionParser.cc
  2204. * src/OptionParser.h
  2205. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2206. Added following sentance to the help message of --out option:
  2207. --out option is ignored when -Z is used.
  2208. * doc/aria2c.1.txt
  2209. * src/usage_text.h
  2210. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2211. Added --bt-save-metadata option to -i list options.
  2212. * doc/aria2c.1.txt
  2213. * src/download_helper.cc
  2214. 2010-01-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2215. Fixed compile error with i586-mingw32msvc-gcc 4.4.2, without any
  2216. additional libraries.
  2217. * src/MultiUrlRequestInfo.cc
  2218. * src/NameResolver.cc
  2219. * src/SelectEventPoll.cc
  2220. * src/SelectEventPoll.h
  2221. * src/SocketCore.cc
  2222. * src/SocketCore.h
  2223. * src/a2netcompat.h
  2224. * src/daemon.cc
  2225. * src/main.cc
  2226. 2010-01-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2227. Fixed typo.
  2228. * src/DHTMessageReceiver.cc
  2229. 2010-01-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2230. Fixed the bug that causes segmentation fault if unknown option is
  2231. put in aria2.conf file. BUG#2928303
  2232. * src/OptionParser.cc
  2233. * src/OptionParser.h
  2234. * src/option_processing.cc
  2235. * test/OptionParserTest.cc
  2236. 2010-01-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2237. Ignore port message with port=0.
  2238. * src/BtPortMessage.cc
  2239. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2240. Run autoupdate
  2241. * configure.ac
  2242. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2243. Updated autoconf/automake auxiliary files.
  2244. * INSTALL
  2245. * config.guess
  2246. * config.sub
  2247. * depcomp
  2248. * install-sh
  2249. * m4/intldir.m4
  2250. * missing
  2251. * mkinstalldirs
  2252. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2253. Removed unused function.
  2254. * src/SharedHandle.h
  2255. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2256. Find pooled socket using all cached addresses.
  2257. * src/DNSCache.h
  2258. * src/DownloadEngine.cc
  2259. * src/DownloadEngine.h
  2260. * src/InitiateConnectionCommand.cc
  2261. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2262. Updated copyright year.
  2263. * src/version_usage.cc
  2264. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2265. Pool connection if _contentEncodingDecoder is used and server
  2266. supports persistent connection.
  2267. * src/HttpDownloadCommand.cc
  2268. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2269. Updated doc.
  2270. * src/DownloadCommand.cc
  2271. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2272. Untabify. Fixed one line in copyright which is longer than 80
  2273. columns.
  2274. * src
  2275. * test
  2276. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2277. Release 1.8.0
  2278. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2279. Updated po templates.
  2280. * po/aria2.pot
  2281. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2282. Documented --bt-save-metadata option in man page.
  2283. * doc/aria2c.1.txt
  2284. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2285. Fixed usage of --bt-save-metadata option.
  2286. * src/usage_text.h
  2287. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2288. Updated po templates.
  2289. * po/aria2.pot
  2290. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2291. Get rid of AI_ADDRCONFIG when --disable-ipv6 opiton is given. It
  2292. causes name resolution error when none of network interface has
  2293. IPv4 address.
  2294. * src/main.cc
  2295. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2296. Bump up version number to 1.8.0.
  2297. * configure.ac
  2298. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2299. Use info hash as a filename when saving BitTorrent metadata.
  2300. * src/UTMetadataPostDownloadHandler.cc
  2301. * test/UTMetadataPostDownloadHandlerTest.cc
  2302. 2009-12-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2303. Documented system.multicall XML-RPC method in man page.
  2304. * doc/aria2c.1.txt
  2305. 2009-12-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2306. Added signal handler for SIGHUP to save .aria2 file when terminal
  2307. is closed. The handler is the same one for SIGINT and SIGTERM.
  2308. * src/MultiUrlRequestInfo.cc
  2309. 2009-12-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2310. Defined method name in XmlRpcMethod subclasses.
  2311. * src/XmlRpcMethodFactory.cc
  2312. * src/XmlRpcMethodImpl.cc
  2313. * src/XmlRpcMethodImpl.h
  2314. * test/XmlRpcMethodTest.cc
  2315. 2009-12-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2316. Added system.multicall XML-RPC method.
  2317. * src/XmlRpcMethod.cc
  2318. * src/XmlRpcMethod.h
  2319. * src/XmlRpcMethodFactory.cc
  2320. * src/XmlRpcMethodImpl.cc
  2321. * src/XmlRpcMethodImpl.h
  2322. * test/XmlRpcMethodTest.cc
  2323. 2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2324. Check structure depth when decoding.
  2325. * src/bencode.cc
  2326. * src/bencode.h
  2327. * test/BencodeTest.cc
  2328. 2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2329. Documented tellStopped XML-RPC method in man page.
  2330. * doc/aria2c.1.txt
  2331. 2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2332. Added tellStopped XML-RPC method to aria2rpc.
  2333. * doc/xmlrpc/aria2rpc
  2334. 2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2335. Added tellStopped XML-RPC method. This method returns stopped
  2336. download in the specified range. It takes same parameters with
  2337. tellWaiting XML-RPC method. offset = 0 means the oldest download.
  2338. * src/XmlRpcMethodFactory.cc
  2339. * src/XmlRpcMethodImpl.cc
  2340. * src/XmlRpcMethodImpl.h
  2341. 2009-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2342. Use AI_ADDRCONFIG flag if it is available. Refactored so that
  2343. getaddrinfo calls are not scattered around. Unset AI_ADDRCONFIG
  2344. when conducting unit tests because they fail if networking
  2345. interface is not configured with IPv4 address.
  2346. * src/NameResolver.cc
  2347. * src/SocketCore.cc
  2348. * src/SocketCore.h
  2349. * src/a2netcompat.h
  2350. * test/AllTest.cc
  2351. 2009-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2352. Fixed unit test error
  2353. * test/UTMetadataPostDownloadHandlerTest.cc
  2354. 2009-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2355. Defined static string constants for efficiency.
  2356. * src/XmlRpcMethodImpl.cc
  2357. 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2358. Added --bt-save-metadata option. When true is given, it saves
  2359. metadata as .torrent file. This option has effect only when
  2360. BitTorrent Magnet URI is used. The filename is name in metadata
  2361. with suffix .torrent. The directory to be saved is the same
  2362. directory where download file is saved. If the same file already
  2363. exists, metdata is not saved.
  2364. * src/OptionHandlerFactory.cc
  2365. * src/UTMetadataPostDownloadHandler.cc
  2366. * src/UTMetadataPostDownloadHandler.h
  2367. * src/message.h
  2368. * src/prefs.cc
  2369. * src/prefs.h
  2370. * src/usage_text.h
  2371. * test/UTMetadataDataExtensionMessageTest.cc
  2372. 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2373. Added util::saveAs() function. Use it in Signature::save().
  2374. * src/Signature.cc
  2375. * src/util.cc
  2376. * src/util.h
  2377. 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2378. Upcase info hash in Magnet URI.
  2379. * doc/aria2c.1.txt
  2380. 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2381. Refactored RequestGroupMan::changeReservedGroupPosition()
  2382. * src/RequestGroupMan.cc
  2383. 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2384. Updated the description for aria2.addTorrent XML-RPC method.
  2385. * doc/aria2c.1.txt
  2386. 2009-12-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2387. Added changePosition to aria2rpc.
  2388. * doc/xmlrpc/aria2rpc
  2389. 2009-12-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2390. Documented changePosition XML-RPC method in man page.
  2391. * doc/aria2c.1.txt
  2392. 2009-12-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2393. Added changePosition XML-RPC method. It takes 3 parameters: gid,
  2394. pos and how. This method changes the position of download denoted
  2395. by gid. If how is POS_SET, it moves the download to a position
  2396. relative to the beginning of the queue. If how is POS_CUR, it
  2397. moves the download to a position relative to the current
  2398. position. If how is POS_END, it moves the download to a position
  2399. relative to the end of the queue. If the destination position is
  2400. less than 0 or beyond the end of the queue, it moves the download
  2401. to the beginning or the end of the queue respectively. Returns
  2402. the destination position.
  2403. * src/RequestGroupMan.cc
  2404. * src/RequestGroupMan.h
  2405. * src/XmlRpcMethodFactory.cc
  2406. * src/XmlRpcMethodImpl.cc
  2407. * src/XmlRpcMethodImpl.h
  2408. * test/RequestGroupManTest.cc
  2409. * test/XmlRpcMethodTest.cc
  2410. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2411. Added getOption and getGlobalOption to aria2rpc.
  2412. * doc/xmlrpc/aria2rpc
  2413. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2414. Documented getOption and getGlobalOption XML-RPC method in man
  2415. page
  2416. * doc/aria2c.1.txt
  2417. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2418. Added getOption and getGlobalOption XML-RPC method. getOption
  2419. takes GID as a parameter and returns its options as struct.
  2420. getGlobalOption takes no parameter and returns global
  2421. options. Because global option is used as a template for the
  2422. option of newly added downloads, it includes options returned by
  2423. getOption.
  2424. * src/Option.h
  2425. * src/XmlRpcMethodFactory.cc
  2426. * src/XmlRpcMethodImpl.cc
  2427. * src/XmlRpcMethodImpl.h
  2428. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2429. Sort _optionHandlers in OptionParser by name in ascending order.
  2430. Use vector instead of deque for efficiency.
  2431. * src/OptionHandler.h
  2432. * src/OptionHandlerFactory.h
  2433. * src/OptionParser.cc
  2434. * src/OptionParser.h
  2435. * src/version_usage.cc
  2436. * test/OptionParserTest.cc
  2437. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2438. Code cleanup
  2439. * src/XmlRpcMethod.cc
  2440. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2441. Documented about followedBy and belongsTo in man page.
  2442. * doc/aria2c.1.txt
  2443. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2444. Added following 2 keys, followedBy and belongsTo, to the response
  2445. of tellStatus.
  2446. followedBy: List of GIDs which are generated by the consequence of
  2447. this download. For example, when aria2 downloaded Metalink file,
  2448. it generates downloads described in it(see *--follow-metalink*
  2449. option). This value is useful to track these auto generated
  2450. downloads. If there is no such downloads, this key will not be
  2451. included in the response.
  2452. belongsTo: GID of a parent download. Some downloads are a part of
  2453. another download. For example, if a file in Metalink has
  2454. BitTorrent resource, the download of .torrent is a part of that
  2455. file. If this download has no parent, this key will not be
  2456. included in the response.
  2457. * src/BtPostDownloadHandler.cc
  2458. * src/DownloadResult.h
  2459. * src/Metalink2RequestGroup.cc
  2460. * src/MetalinkPostDownloadHandler.cc
  2461. * src/RequestGroup.cc
  2462. * src/RequestGroup.h
  2463. * src/UTMetadataPostDownloadHandler.cc
  2464. * src/XmlRpcMethodImpl.cc
  2465. * src/XmlRpcMethodImpl.h
  2466. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2467. Assigned BObject in BDE() to avoid segmentation fault when calling
  2468. methods of BDE::none().
  2469. * src/BDE.cc
  2470. 2009-12-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2471. Show info hash in Magnet URI in upper case letters in -S output.
  2472. * src/bittorrent_helper.cc
  2473. * test/BittorrentHelperTest.cc
  2474. 2009-12-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2475. Removed old useless comment
  2476. * src/MultiUrlRequestInfo.cc
  2477. 2009-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2478. Fixed the bug that if --without-sqlite3 is given, pkg-config is
  2479. not properly used in configure script and failed to detect gnutls.
  2480. This is because explicit call of PKG_PROG_PKG_CONFIG is missing
  2481. and the initialization of pkg-config is done in first occurrence
  2482. of PKG_CHECK_MODULES which is not executed because it is inside of
  2483. sqlite3.m4. Added explicit PKG_PROG_PKG_CONFIG call.
  2484. * configure.ac
  2485. 2009-12-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2486. Release 1.7.2
  2487. 2009-12-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2488. Fixed the bug that RequestGroupMan::downloadFinished() returns
  2489. true even if all downloads haven't finished, especially when
  2490. PostDownloadHandler is involved. Changed the condition so that it
  2491. only returns true if both _requestGroups and _reservedGroups are
  2492. empty.
  2493. * src/RequestGroupMan.cc
  2494. 2009-12-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2495. Log listening port for BitTorrent/DHT in notice level.
  2496. * src/DHTConnectionImpl.cc
  2497. * src/PeerListenCommand.cc
  2498. 2009-12-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2499. Updated po templates.
  2500. * po/aria2.pot
  2501. 2009-12-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2502. Bump up version number to 1.7.2
  2503. * configure.ac
  2504. 2009-12-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2505. Changed default value of --enable-dht from 'false' to 'true'.
  2506. * doc/aria2c.1.txt
  2507. 2009-12-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2508. Enabled DHT by default because of Magnet URI support. To disable
  2509. DHT, use --enable-dht=false
  2510. * src/OptionHandlerFactory.cc
  2511. 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2512. Print Magnet URI in -S output.
  2513. * src/AnnounceList.cc
  2514. * src/bittorrent_helper.cc
  2515. * src/bittorrent_helper.h
  2516. * test/BittorrentHelperTest.cc
  2517. 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2518. Added --bt-prioritize-piece option to aria2rpc.
  2519. * doc/xmlrpc/aria2rpc
  2520. 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2521. Refer Magnet URI in --help. Made some cosmetic changes.
  2522. * src/version_usage.cc
  2523. 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2524. Updated -T and -M option.
  2525. * doc/aria2c.1.txt
  2526. 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2527. Fixed typo
  2528. * doc/aria2c.1.txt
  2529. 2009-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2530. Fixed the bug that line separator is missing in horizontal bar.
  2531. * doc/xmlrpc/aria2mon
  2532. 2009-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2533. Updated usage text for --metalink-file option.
  2534. * src/usage_text.h
  2535. 2009-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2536. If '-' is given as an argument to --metalink-file option, aria2
  2537. reads Metalink file from stdin.
  2538. * src/OptionHandlerFactory.cc
  2539. * src/OptionHandlerImpl.h
  2540. * src/a2io.h
  2541. 2009-12-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2542. Fixed the bug that aria2 listens wrong port if --interface option
  2543. is used.
  2544. * src/SocketCore.cc
  2545. 2009-12-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2546. Fixed the bug that query parameter in magnet URI is not decoded.
  2547. * src/magnet.cc
  2548. * test/MagnetTest.cc
  2549. 2009-12-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2550. Specified defaultSize as an argument for easy testing.
  2551. * src/util.cc
  2552. * src/util.h
  2553. * test/UtilTest.cc
  2554. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2555. Release 1.7.1
  2556. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2557. Bump up version number to 1.7.1
  2558. * configure.ac
  2559. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2560. Fixed the bug --bt-prioritize-piece=tail is not working.
  2561. * src/util.cc
  2562. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2563. Release 1.7.0
  2564. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2565. Updated po templates.
  2566. * po/aria2.pot
  2567. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2568. Updated help message for --bt-prioritize-piece. Some cosmetic
  2569. changes.
  2570. * doc/aria2c.1.txt
  2571. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2572. Set default value for SIZE in --bt-prioritize-piece to 1MiB.
  2573. * src/usage_text.h
  2574. * src/util.cc
  2575. * test/UtilTest.cc
  2576. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2577. Updated Russian, Ukrainian, German and French translations.
  2578. Thanks to all translators involved.
  2579. * po/de.po
  2580. * po/fr.po
  2581. * po/ru.po
  2582. * po/uk.po
  2583. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2584. Mentioned about pkg-config
  2585. * README
  2586. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2587. Fixed typo. Referred --index-out option in BitTorrent notes.
  2588. * README
  2589. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2590. Store all addresses found by getifaddrs() and getaddrinfo(). In
  2591. bind, try all addresses until success
  2592. * src/SocketCore.cc
  2593. * src/SocketCore.h
  2594. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2595. Updated po templates.
  2596. * po/aria2.pot
  2597. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2598. Bump up version number to 1.7.0
  2599. * configure.ac
  2600. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2601. Fixed compile error if ENABLE_BITTORRENT is undefined.
  2602. * src/DefaultPieceStorage.cc
  2603. * src/DefaultPieceStorage.h
  2604. * src/PieceStorage.h
  2605. * src/UnknownLengthPieceStorage.cc
  2606. * src/UnknownLengthPieceStorage.h
  2607. * test/MockPieceStorage.h
  2608. * test/ProtocolDetectorTest.cc
  2609. * test/XmlRpcMethodTest.cc
  2610. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2611. Documented in man page that if getifaddrs() is missing,
  2612. --interface option doesn't accept interface name.
  2613. * doc/aria2c.1.txt
  2614. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2615. Use last 8 bytes of peer ID as 'key' parameter for tracker request.
  2616. * src/DefaultBtAnnounce.cc
  2617. * src/DefaultBtAnnounce.h
  2618. * test/DefaultBtAnnounceTest.cc
  2619. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2620. Fixed the bug that connection is always dropped if handshake
  2621. message in extension protocol don't have metadata_size.
  2622. src/HandshakeExtensionMessage.cc
  2623. * src/HandshakeExtensionMessage.cc
  2624. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2625. Updated "URI, MAGNET, TORRENT_FILE, METALINK_FILE" section. Added
  2626. text saying DHT is recommended when Magnet URI is provided.
  2627. * doc/aria2c.1.txt
  2628. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2629. Fixed the bug that DHT is always enabled when BitTorrent Magnet
  2630. URI is supplied. Notify user that they should consider enabling
  2631. DHT if they use Magnet URI.
  2632. * src/RequestGroup.cc
  2633. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2634. Added --disable-ipv6 option to disable IPv6.
  2635. * doc/aria2c.1.txt
  2636. * src/InitiateConnectionCommand.cc
  2637. * src/NameResolver.cc
  2638. * src/NameResolver.h
  2639. * src/OptionHandlerFactory.cc
  2640. * src/main.cc
  2641. * src/prefs.cc
  2642. * src/prefs.h
  2643. * src/usage_text.h
  2644. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2645. Updated usage text for --bt-prioritize-piece option.
  2646. * doc/aria2c.1.txt
  2647. * src/usage_text.h
  2648. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2649. In configure script, if --with-PACKAGE and --enable-FEATURE are
  2650. given and PACKAGE is missing in the system or FEATURE cannot be
  2651. enabled, print error message and stop the script.
  2652. * configure.ac
  2653. * m4/aria2_arg.m4
  2654. 2009-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2655. Halt metadata download immediately when metadata download is done.
  2656. Don't wait unresponsive tracker.
  2657. * src/ByteArrayDiskWriter.h
  2658. * src/DefaultBtInteractive.cc
  2659. * src/DefaultExtensionMessageFactory.cc
  2660. * src/DefaultExtensionMessageFactory.h
  2661. * src/PeerInteractionCommand.cc
  2662. * src/UTMetadataDataExtensionMessage.cc
  2663. * src/UTMetadataDataExtensionMessage.h
  2664. * src/UTMetadataRequestExtensionMessage.cc
  2665. * test/UTMetadataDataExtensionMessageTest.cc
  2666. * test/UTMetadataRequestExtensionMessageTest.cc
  2667. 2009-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2668. Documented --interface option in man page.
  2669. * doc/aria2c.1.txt
  2670. 2009-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2671. Try resolved address in the order received from the resolver.
  2672. * src/DNSCache.h
  2673. 2009-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2674. Added debug logs.
  2675. * src/SocketCore.cc
  2676. 2009-12-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2677. Fixed type of tail to uint64_t
  2678. * src/util.cc
  2679. 2009-12-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2680. Added --interface option. This feature binds sockets to given
  2681. interface. You can specify interface name, IP address and
  2682. hostname.
  2683. * configure.ac
  2684. * src/OptionHandlerFactory.cc
  2685. * src/SocketCore.cc
  2686. * src/SocketCore.h
  2687. * src/main.cc
  2688. * src/message.h
  2689. * src/prefs.cc
  2690. * src/prefs.h
  2691. * src/usage_text.h
  2692. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2693. Updated man page for bt-prioritize-piece option in -i list.
  2694. * doc/aria2c.1.txt
  2695. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2696. Added bt-prioritize-piece option to -i list.
  2697. * src/download_helper.cc
  2698. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2699. Removed --http-auth-scheme option from man page.
  2700. * doc/aria2c.1.txt
  2701. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2702. Removed --http-auth-scheme option since it doesn't do nothing.
  2703. * src/OptionHandlerFactory.cc
  2704. * src/prefs.cc
  2705. * src/prefs.h
  2706. * src/usage_text.h
  2707. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2708. Adjusted the number of peer info which get_peers reply message can
  2709. carry.
  2710. * src/DHTGetPeersReplyMessage.cc
  2711. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2712. Added extension_message_test_helper.h to aria2c_SOURCES.
  2713. * test/Makefile.am
  2714. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2715. Documented --bt-prioritize-piece option in man page.
  2716. * doc/aria2c.1.txt
  2717. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2718. Added option --bt-prioritize-piece. This option instruct aria2 to
  2719. try to download first and last pieces of each file first. The
  2720. argument can contain 2 keywords:head and tail. To include both
  2721. keywords, they must be separated by comma. These keywords can take
  2722. one parameter, SIZE. For example , if head=SIZE is specified,
  2723. pieces in the range of first SIZE bytes of each file get higher
  2724. priority. tail=SIZE means the range of last SIZE bytes of each
  2725. file. SIZE can include K or M(1K = 1024, 1M = 1024K).
  2726. * src/DefaultPieceStorage.h
  2727. * src/Makefile.am
  2728. * src/OptionHandlerFactory.cc
  2729. * src/OptionHandlerImpl.h
  2730. * src/PriorityPieceSelector.cc
  2731. * src/PriorityPieceSelector.h
  2732. * src/RequestGroup.cc
  2733. * src/prefs.cc
  2734. * src/prefs.h
  2735. * src/usage_text.h
  2736. * src/util.cc
  2737. * src/util.h
  2738. * test/Makefile.am
  2739. * test/MockPieceSelector.h
  2740. * test/PriorityPieceSelectorTest.cc
  2741. * test/UtilTest.cc
  2742. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2743. Fixed typo
  2744. * src/HttpRequest.h
  2745. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2746. In Magnet URI with tr parameter, put each announce URI in separate
  2747. tier.
  2748. * src/bittorrent_helper.cc
  2749. * test/BittorrentHelperTest.cc
  2750. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2751. Renamed ExtensionMessage::getBencodedData() as
  2752. ExtensionMessage::getPayload()
  2753. * src/BtExtendedMessage.cc
  2754. * src/ExtensionMessage.h
  2755. * src/HandshakeExtensionMessage.cc
  2756. * src/HandshakeExtensionMessage.h
  2757. * src/UTMetadataDataExtensionMessage.cc
  2758. * src/UTMetadataDataExtensionMessage.h
  2759. * src/UTMetadataRejectExtensionMessage.cc
  2760. * src/UTMetadataRejectExtensionMessage.h
  2761. * src/UTMetadataRequestExtensionMessage.cc
  2762. * src/UTMetadataRequestExtensionMessage.h
  2763. * src/UTPexExtensionMessage.cc
  2764. * src/UTPexExtensionMessage.h
  2765. * test/HandshakeExtensionMessageTest.cc
  2766. * test/MockExtensionMessage.h
  2767. * test/UTMetadataDataExtensionMessageTest.cc
  2768. * test/UTMetadataRejectExtensionMessageTest.cc
  2769. * test/UTMetadataRequestExtensionMessageTest.cc
  2770. * test/UTPexExtensionMessageTest.cc
  2771. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2772. Updated man page for BitTorrent Magnet URI.
  2773. * doc/aria2c.1.txt
  2774. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2775. Call DownloadContext::setOwnerRequestGroup() in
  2776. RequestGroup::setDownloadContext().
  2777. * src/BtDependency.cc
  2778. * src/RequestGroup.cc
  2779. * src/RequestGroup.h
  2780. * src/download_helper.cc
  2781. * test/DefaultBtMessageDispatcherTest.cc
  2782. * test/DefaultExtensionMessageFactoryTest.cc
  2783. * test/HandshakeExtensionMessageTest.cc
  2784. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2785. Accept BitTorrent Magnet URI in Metalink resource type bittorrent.
  2786. Rewritten UTMetadataPostDownloadHandler. To create torrent data
  2787. from metadata, use new metadata2Torrent() function.
  2788. * src/BtDependency.cc
  2789. * src/UTMetadataPostDownloadHandler.cc
  2790. * src/bittorrent_helper.cc
  2791. * src/bittorrent_helper.h
  2792. * test/BittorrentHelperTest.cc
  2793. * test/BtDependencyTest.cc
  2794. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2795. Use createRequestGroupForUri to create the download for torrent
  2796. file.
  2797. * src/Metalink2RequestGroup.cc
  2798. * test/Metalink2RequestGroupTest.cc
  2799. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2800. Fixed typo
  2801. * src/DownloadContext.h
  2802. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2803. Use createRequestGroupForBitTorrent()
  2804. * src/BtPostDownloadHandler.cc
  2805. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2806. Added remove().
  2807. * src/Option.cc
  2808. * src/Option.h
  2809. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2810. Removed options which is only valid for URIs specified in
  2811. command-line. If they are left, because op is used as a template
  2812. for new RequestGroup(such as created in XML-RPC command,
  2813. BtPostDownloadHandler etc), they causes unintentional effect.
  2814. * src/main.cc
  2815. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2816. Refer to option value of PREF_OUT only in download_helper.
  2817. * src/FtpNegotiationCommand.cc
  2818. * src/HttpResponseCommand.cc
  2819. 2009-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2820. Now addUri XML-RPC method accepts BitTorrent Magnet URI.
  2821. * src/download_helper.cc
  2822. * src/download_helper.h
  2823. * src/XmlRpcMethodImpl.cc
  2824. 2009-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2825. Updated man page for changeOption XML-RPC method.
  2826. * doc/aria2c.1.txt
  2827. 2009-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2828. Added --bt-max-peers option to changeOption XML-RPC method.
  2829. * src/XmlRpcMethod.cc
  2830. * src/XmlRpcMethodImpl.cc
  2831. * test/XmlRpcMethodTest.cc
  2832. 2009-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2833. Added test case for PREF_BT_REQUEST_PEER_SPEED_LIMIT
  2834. * test/XmlRpcMethodTest.cc
  2835. 2009-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2836. Removed redundant DownloadContext::hasAttribute(...) calls.
  2837. * src/ConsoleStatCalc.cc
  2838. * src/RequestGroup.cc
  2839. * src/XmlRpcMethodImpl.cc
  2840. 2009-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2841. Changed the number of tracker request attempt from 5 to 2.
  2842. * src/TrackerWatcherCommand.cc
  2843. 2009-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2844. Use host and protocol in original URI, because URI selector
  2845. selects URI based on original URI, not redirected one.
  2846. * src/Request.cc
  2847. 2009-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2848. Fixed the bug which causes segmentation fault with tellWaiting
  2849. XML-RPC method when BitTorrent download is waiting. The key of
  2850. BtRegistry is changed from info hash to GID, because it is
  2851. registered per RequestGroup, not info hash.
  2852. * src/BtRegistry.cc
  2853. * src/BtRegistry.h
  2854. * src/BtSetup.cc
  2855. * src/ConsoleStatCalc.cc
  2856. * src/InitiatorMSEHandshakeCommand.cc
  2857. * src/PeerInitiateConnectionCommand.cc
  2858. * src/PeerInteractionCommand.cc
  2859. * src/PeerInteractionCommand.h
  2860. * src/PeerReceiveHandshakeCommand.cc
  2861. * src/RequestGroup.cc
  2862. * src/XmlRpcMethodImpl.cc
  2863. * test/BtRegistryTest.cc
  2864. * test/XmlRpcMethodTest.cc
  2865. 2009-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2866. Updated man page for changeOption XML-RPC method.
  2867. * doc/aria2c.1.txt
  2868. 2009-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2869. Added --bt-request-peer-speed-limit option to changeOption XML-RPC
  2870. method.
  2871. * src/XmlRpcMethod.cc
  2872. 2009-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2873. Documented about BitTorrent Magnet URI in man page.
  2874. * doc/aria2c.1.txt
  2875. 2009-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2876. Fixed the bug that trackers in BitTorrent Magnet URI are not
  2877. inherited to generated RequestGroup.
  2878. * src/UTMetadataPostDownloadHandler.cc
  2879. * test/UTMetadataPostDownloadHandlerTest.cc
  2880. 2009-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2881. Prepended "[METADATA]" before dn.
  2882. * src/bittorrent_helper.cc
  2883. * test/BittorrentHelperTest.cc
  2884. 2009-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2885. Rewritten Magnet URI parser.
  2886. * src/Makefile.am
  2887. * src/ProtocolDetector.cc
  2888. * src/bittorrent_helper.cc
  2889. * src/bittorrent_helper.h
  2890. * src/download_helper.cc
  2891. * src/magnet.cc
  2892. * src/magnet.h
  2893. * test/BittorrentHelperTest.cc
  2894. * test/MagnetTest.cc
  2895. * test/Makefile.am
  2896. * test/ProtocolDetectorTest.cc
  2897. 2009-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2898. Use hton64
  2899. * src/base32.cc
  2900. 2009-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2901. Added Base32 encoded BitTorrent Magnet Link support.
  2902. * src/Makefile.am
  2903. * src/base32.cc
  2904. * src/base32.h
  2905. * src/bittorrent_helper.cc
  2906. * test/Base32Test.cc
  2907. * test/BittorrentHelperTest.cc
  2908. * test/Makefile.am
  2909. 2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2910. Added BitTorrent Magnet Link support. Base32 encoded link is not
  2911. supported yet. Fixed typo in method name in RequestGroup. In
  2912. metadataGetMode, don't show "Your share ratio was ..." message.
  2913. * src/DefaultBtInteractive.cc
  2914. * src/DefaultBtInteractive.h
  2915. * src/DownloadHandlerFactory.cc
  2916. * src/DownloadHandlerFactory.h
  2917. * src/HandshakeExtensionMessage.cc
  2918. * src/Makefile.am
  2919. * src/Metalink2RequestGroup.cc
  2920. * src/PeerInteractionCommand.cc
  2921. * src/RequestGroup.cc
  2922. * src/RequestGroup.h
  2923. * src/UTMetadataPostDownloadHandler.cc
  2924. * src/UTMetadataPostDownloadHandler.h
  2925. * src/download_helper.cc
  2926. * test/HandshakeExtensionMessageTest.cc
  2927. * test/Makefile.am
  2928. * test/UTMetadataPostDownloadHandlerTest.cc
  2929. * test/UTMetadataRejectExtensionMessageTest.cc
  2930. 2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2931. In metadataGetMode, don't show SEEDING.
  2932. * src/ConsoleStatCalc.cc
  2933. 2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2934. Fixed ut_metadata data handling. Implemented
  2935. UTMetadataDataExtensionMessage::doReceivedAction(). Initialize
  2936. PeerStorage in HandshakeExtensionMessage::doReceivedAction() when
  2937. metadata_size is received.
  2938. * src/DefaultExtensionMessageFactory.cc
  2939. * src/DefaultExtensionMessageFactory.h
  2940. * src/HandshakeExtensionMessage.cc
  2941. * src/HandshakeExtensionMessage.h
  2942. * src/UTMetadataDataExtensionMessage.cc
  2943. * src/UTMetadataDataExtensionMessage.h
  2944. * src/UTMetadataRequestExtensionMessage.cc
  2945. * src/UTMetadataRequestFactory.cc
  2946. * src/UTMetadataRequestFactory.h
  2947. * src/UTMetadataRequestTracker.cc
  2948. * src/UTMetadataRequestTracker.h
  2949. * test/DefaultExtensionMessageFactoryTest.cc
  2950. * test/HandshakeExtensionMessageTest.cc
  2951. * test/MockBtMessage.h
  2952. * test/UTMetadataDataExtensionMessageTest.cc
  2953. * test/UTMetadataRequestExtensionMessageTest.cc
  2954. * test/UTMetadataRequestFactoryTest.cc
  2955. * test/UTMetadataRequestTrackerTest.cc
  2956. * test/extension_message_test_helper.h
  2957. 2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2958. Drop connection if ut_metadata reject message is received.
  2959. * src/UTMetadataRejectExtensionMessage.cc
  2960. 2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2961. Set thresholdSpeed to 0 in metadataGetMode because speed doesn't
  2962. get high enough in that mode.
  2963. * src/ActivePeerConnectionCommand.cc
  2964. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2965. Added BitTorrent magnet link support to ProtocolDetector.
  2966. * src/ProtocolDetector.cc
  2967. * src/ProtocolDetector.h
  2968. * test/ProtocolDetectorTest.cc
  2969. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2970. Don't inject validator into BtMessage in metadataGetMode because
  2971. most of the checks depends on the total length of download but it
  2972. is unknown. Delegate metadataGetMode to BtMessage.
  2973. * src/DefaultBtMessageFactory.cc
  2974. * src/DefaultBtMessageFactory.h
  2975. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2976. Added setEndGamePieceNum() pure virtual function to PieceStorage.
  2977. * src/DefaultPieceStorage.h
  2978. * src/PieceStorage.h
  2979. * src/UnknownLengthPieceStorage.h
  2980. * test/MockPieceStorage.h
  2981. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2982. Added markTotalLengthIsKnown().
  2983. * src/DownloadContext.h
  2984. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2985. Don't add PeerChokeCommand and SeedCheckCommand if metadata is
  2986. missing. If metadata is missing, always use DHT when it is ready.
  2987. * src/BtSetup.cc
  2988. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2989. Added parseMagnetLink(). Hex encoded info hash is supported.
  2990. Base32 encoded info hash is not supported yet.
  2991. * src/bittorrent_helper.cc
  2992. * src/bittorrent_helper.h
  2993. * test/BittorrentHelperTest.cc
  2994. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2995. Added FromHex()
  2996. * src/util.cc
  2997. * src/util.h
  2998. * test/UtilTest.cc
  2999. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3000. Added _metadataGetMode member variable. It toggles the action when
  3001. messages are received: usually they almost do nothing if
  3002. _metadataGetMode is true.
  3003. * src/AbstractBtMessage.cc
  3004. * src/AbstractBtMessage.h
  3005. * src/BtAllowedFastMessage.cc
  3006. * src/BtBitfieldMessage.cc
  3007. * src/BtCancelMessage.cc
  3008. * src/BtChokeMessage.cc
  3009. * src/BtHaveAllMessage.cc
  3010. * src/BtHaveMessage.cc
  3011. * src/BtInterestedMessage.cc
  3012. * src/BtNotInterestedMessage.cc
  3013. * src/BtPieceMessage.cc
  3014. * src/BtRejectMessage.cc
  3015. * src/BtRequestMessage.cc
  3016. * src/BtUnchokeMessage.cc
  3017. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3018. Added bencode::decode overload functions. They have extra argument
  3019. 'end', passed by reference. 'end' points to the beyond the last
  3020. position of data used in decoding process.
  3021. * src/bencode.cc
  3022. * src/bencode.h
  3023. * test/BencodeTest.cc
  3024. 2009-11-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3025. Initial support of Extension for Peers to Send Metadata
  3026. Files(BEP9). Currently aria2 only serves metadata and cannot get
  3027. metadata from swarm.
  3028. * src/BtConstants.h
  3029. * src/DefaultBtInteractive.cc
  3030. * src/DefaultExtensionMessageFactory.cc
  3031. * src/DefaultExtensionMessageFactory.h
  3032. * src/ExtensionMessage.h
  3033. * src/ExtensionMessageRegistry.h
  3034. * src/HandshakeExtensionMessage.cc
  3035. * src/HandshakeExtensionMessage.h
  3036. * src/Makefile.am
  3037. * src/PeerConnection.h
  3038. * src/PeerInteractionCommand.cc
  3039. * src/UTMetadataDataExtensionMessage.cc
  3040. * src/UTMetadataDataExtensionMessage.h
  3041. * src/UTMetadataExtensionMessage.cc
  3042. * src/UTMetadataExtensionMessage.h
  3043. * src/UTMetadataRejectExtensionMessage.cc
  3044. * src/UTMetadataRejectExtensionMessage.h
  3045. * src/UTMetadataRequestExtensionMessage.cc
  3046. * src/UTMetadataRequestExtensionMessage.h
  3047. * src/bittorrent_helper.cc
  3048. * src/bittorrent_helper.h
  3049. * test/BittorrentHelperTest.cc
  3050. * test/DefaultExtensionMessageFactoryTest.cc
  3051. * test/HandshakeExtensionMessageTest.cc
  3052. * test/Makefile.am
  3053. * test/UTMetadataDataExtensionMessageTest.cc
  3054. * test/UTMetadataRejectExtensionMessageTest.cc
  3055. * test/UTMetadataRequestExtensionMessageTest.cc
  3056. 2009-11-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3057. Cancel segment in prepareForRetry() because there is a chance that
  3058. the command has segments.
  3059. * src/CreateRequestCommand.cc
  3060. 2009-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3061. Fixed the bug that slow server is not knocked down in favor of
  3062. faster one.
  3063. * src/AbstractCommand.cc
  3064. * src/DefaultPieceStorage.cc
  3065. * src/DefaultPieceStorage.h
  3066. * src/PieceStorage.h
  3067. * src/UnknownLengthPieceStorage.cc
  3068. * src/UnknownLengthPieceStorage.h
  3069. * test/MockPieceStorage.h
  3070. 2009-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3071. Fixed the bug that Request object is not added to
  3072. _inFlightRequests in findFasterRequest().
  3073. * src/FileEntry.cc
  3074. 2009-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3075. Changed the strategry of how to increase the number of outstanding
  3076. requests. Now the number is doubled if there are no outstanding
  3077. requests after receiving messages.
  3078. * src/BtConstants.h
  3079. * src/DefaultBtInteractive.cc
  3080. * src/DefaultBtInteractive.h
  3081. 2009-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3082. Check socket for reading if there are outstanding requests.
  3083. * src/PeerInteractionCommand.cc
  3084. 2009-11-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3085. Moved frequently called methods to header file so they get
  3086. inlined.
  3087. * src/RequestSlot.cc
  3088. * src/RequestSlot.h
  3089. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3090. Copied in_addr instead of just casting from char* which might
  3091. violate strict aliasing rules.
  3092. * src/AsyncNameResolver.cc
  3093. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3094. Use dynamic_pointer_cast
  3095. * test/BtPieceMessageTest.cc
  3096. * test/BtRequestMessageTest.cc
  3097. * test/DefaultBtRequestFactoryTest.cc
  3098. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3099. Added testSetUrl20()
  3100. * test/RequestTest.cc
  3101. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3102. Code cleanup
  3103. * src/bittorrent_helper.cc
  3104. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3105. Use C++ style cast
  3106. * src/AsyncNameResolver.cc
  3107. * src/Base64.h
  3108. * src/BtBitfieldMessage.cc
  3109. * src/BtHandshakeMessage.cc
  3110. * src/DefaultBtMessageFactory.cc
  3111. * src/DefaultBtProgressInfoFile.cc
  3112. * src/EpollEventPoll.cc
  3113. * src/ExpatMetalinkProcessor.cc
  3114. * src/IteratableChecksumValidator.cc
  3115. * src/IteratableChunkChecksumValidator.cc
  3116. * src/MessageDigestHelper.cc
  3117. * src/Platform.cc
  3118. * src/RequestGroupMan.cc
  3119. * src/SingleFileAllocationIterator.cc
  3120. * src/Sqlite3MozCookieParser.cc
  3121. * src/XML2SAXMetalinkProcessor.cc
  3122. * src/Xml2XmlRpcRequestProcessor.cc
  3123. * src/util.cc
  3124. * src/util.h
  3125. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3126. Fixed integer potential alignment problem.
  3127. * src/bitfield.h
  3128. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3129. Applied a patch from tizianomueller to fix sigbus errors on Linux
  3130. sparc. I modified the patch to eliminate a cast to uint32_t* and
  3131. include file ordering.
  3132. * src/PeerListProcessor.h
  3133. * src/bittorrent_helper.cc
  3134. 2009-11-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3135. Added util::parseUIntNoThrow(). Use it in Request::parseUrl().
  3136. * src/Request.cc
  3137. * src/util.cc
  3138. * src/util.h
  3139. * test/RequestTest.cc
  3140. 2009-11-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3141. Rewritten util::uitos()
  3142. * src/util.h
  3143. 2009-11-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3144. Code cleanup
  3145. * src/Request.cc
  3146. * src/Request.h
  3147. 2009-11-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3148. Rewritten Request::parseUrl()
  3149. * src/Request.cc
  3150. * test/RequestTest.cc
  3151. 2009-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3152. Removed unused macro SAFE_CHARS
  3153. * src/Request.cc
  3154. 2009-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3155. Updated doc
  3156. * src/DHTRoutingTableDeserializer.cc
  3157. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3158. Release 1.6.3
  3159. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3160. Removed unused function.
  3161. * test/DHTPeerAnnounceStorageTest.cc
  3162. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3163. Only decrement cols if cols > 0
  3164. * src/ConsoleStatCalc.cc
  3165. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3166. Updated Polish, Catalan, French, Italian, Russian and Japanese
  3167. translations. Thanks to all translators.
  3168. * po/ca.po
  3169. * po/fr.po
  3170. * po/it.po
  3171. * po/ja.po
  3172. * po/pl.po
  3173. * po/ru.po
  3174. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3175. Updated translation template
  3176. * po
  3177. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3178. Fixed compile error without ssl library.
  3179. * src/util.cc
  3180. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3181. Logged received nodes in get_peers reply message.
  3182. * src/DHTAbstractNodeLookupTask.cc
  3183. * src/DHTAbstractNodeLookupTask.h
  3184. 2009-11-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3185. Fixed the bug that DHTAbstractNodeLookupTask never finishes if
  3186. error occurred in DHTMessageDispatcherImpl::sendMessage().
  3187. * src/DHTMessageDispatcherImpl.cc
  3188. 2009-11-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3189. Don't reuse URI if Request pool is not empty.
  3190. * src/CreateRequestCommand.cc
  3191. 2009-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3192. Removed peerStorage from DHTPeerAnnounceEntry. It is unlikely to
  3193. receive get_peers request for torrent which the client is now
  3194. downloading.
  3195. * src/BtSetup.cc
  3196. * src/DHTPeerAnnounceEntry.cc
  3197. * src/DHTPeerAnnounceEntry.h
  3198. * src/DHTPeerAnnounceStorage.cc
  3199. * src/DHTPeerAnnounceStorage.h
  3200. * src/RequestGroup.cc
  3201. * test/DHTPeerAnnounceEntryTest.cc
  3202. * test/DHTPeerAnnounceStorageTest.cc
  3203. 2009-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3204. Fixed the bug that in Windows environment new blank line is
  3205. inserted when console readout is updated.
  3206. * src/ConsoleStatCalc.cc
  3207. 2009-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3208. Throw exception if binding listening port is failed. Removed
  3209. RequestGroupMan::getInitialCommand(). Use
  3210. fillRequestGroupFromReserver() instead. Delete commands for
  3211. RequestGroup which has errors when it is being added.
  3212. * src/BtSetup.cc
  3213. * src/DownloadEngine.cc
  3214. * src/DownloadEngine.h
  3215. * src/DownloadEngineFactory.cc
  3216. * src/MultiUrlRequestInfo.cc
  3217. * src/RequestGroupMan.cc
  3218. * src/RequestGroupMan.h
  3219. * test/RequestGroupManTest.cc
  3220. 2009-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3221. Fixed the bug that when downloading more than one torrent,
  3222. listening port is not reported properly to tracker for 2nd or
  3223. later torrents.
  3224. * src/BtSetup.cc
  3225. * src/PeerListenCommand.cc
  3226. * src/PeerListenCommand.h
  3227. * src/RequestGroup.cc
  3228. 2009-10-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3229. Bump up version number to 1.6.3
  3230. * configure.ac
  3231. 2009-10-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3232. Removed Util.cc from POTFILES.in
  3233. * po/POTFILES.in
  3234. 2009-10-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3235. Updated man page for previous change.
  3236. * doc/aria2c.1.txt
  3237. 2009-10-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3238. If user name is embedded but password is missing in URI, first
  3239. resolve password using .netrc. If password is found in .netrc,
  3240. then use it as password. If not, use the password specified in
  3241. --ftp-passwd.
  3242. * src/AuthConfigFactory.cc
  3243. * src/Request.cc
  3244. * src/Request.h
  3245. * test/AuthConfigFactoryTest.cc
  3246. 2009-10-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3247. Fixed typo
  3248. * doc/aria2c.1.txt
  3249. 2009-10-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3250. Fixed typo
  3251. * src/usage_text.h
  3252. 2009-10-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3253. Added missing bitfield.cc
  3254. * src/bitfield.cc
  3255. 2009-10-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3256. Renamed Util.{cc,h} as util.{cc,h}
  3257. * src/Util.cc
  3258. * src/Util.h
  3259. * src/util.cc
  3260. * src/util.h
  3261. 2009-10-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3262. Moved static functions in Util class to namespace util.
  3263. * src
  3264. * test
  3265. 2009-10-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3266. Moved generateRandomData to Util.cc Moved flipBit to bitfield.cc.
  3267. Moved generateRandomKey to bittorrent_helper.cc.
  3268. * src/DHTBucket.cc
  3269. * src/DHTGetPeersMessage.cc
  3270. * src/DHTGetPeersReplyMessage.cc
  3271. * src/DHTMessage.cc
  3272. * src/DHTNode.cc
  3273. * src/DHTTokenTracker.cc
  3274. * src/DHTUtil.cc: Removed.
  3275. * src/DHTUtil.h: Removed.
  3276. * src/Makefile.am
  3277. * src/Util.cc
  3278. * src/Util.h
  3279. * src/bitfield.h
  3280. * src/bittorrent_helper.cc
  3281. * src/bittorrent_helper.h
  3282. * test/ARC4Test.cc
  3283. * test/BNodeTest.cc
  3284. * test/DHTAnnouncePeerMessageTest.cc
  3285. * test/DHTAnnouncePeerReplyMessageTest.cc
  3286. * test/DHTFindNodeMessageTest.cc
  3287. * test/DHTFindNodeReplyMessageTest.cc
  3288. * test/DHTGetPeersMessageTest.cc
  3289. * test/DHTGetPeersReplyMessageTest.cc
  3290. * test/DHTPingMessageTest.cc
  3291. * test/DHTPingReplyMessageTest.cc
  3292. * test/DHTTokenTrackerTest.cc
  3293. * test/DHTUtilTest.cc: Removed.
  3294. * test/Makefile.am
  3295. * test/UtilTest.cc
  3296. 2009-10-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3297. Removed the call to trim() because trim() is called for each
  3298. element in split().
  3299. * src/CookieParser.cc
  3300. 2009-10-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3301. Replaced Util::slice() with split()
  3302. * src/AbstractCommand.cc
  3303. * src/CookieParser.cc
  3304. * src/File.cc
  3305. * src/HttpHeaderProcessor.cc
  3306. * src/HttpRequest.cc
  3307. * src/Metalink2RequestGroup.cc
  3308. * src/MetalinkParserController.cc
  3309. * src/Netrc.cc
  3310. * src/NsCookieParser.cc
  3311. * src/ParameterizedStringParser.cc
  3312. * src/ServerStatMan.cc
  3313. * src/UriListParser.cc
  3314. * src/Util.cc
  3315. * src/Util.h
  3316. * src/bittorrent_helper.cc
  3317. * test/UtilTest.cc
  3318. 2009-10-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3319. Use request->getDir() instead of "/" for embedded user/pass in
  3320. URI.
  3321. * src/AuthConfigFactory.cc
  3322. 2009-10-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3323. Fixed wrong insertion point for BasicCred.
  3324. * src/AuthConfigFactory.cc
  3325. 2009-10-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3326. Allowed non-regular file in LocalFilePathOptionHandler
  3327. * src/OptionHandlerImpl.h
  3328. * src/message.h
  3329. 2009-10-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3330. Fixed the bug that Netrc::parse() cannot recognize comment line.
  3331. * src/Netrc.cc
  3332. * src/Util.h
  3333. * test/NetrcTest.cc
  3334. * test/sample.netrc
  3335. 2009-10-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3336. Fixed typo
  3337. * src/BtDependency.cc
  3338. * src/BtRejectMessage.cc
  3339. * src/FtpConnection.cc
  3340. * src/HttpHeaderProcessor.h
  3341. 2009-10-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3342. Fixed lintian report in man page
  3343. * doc/aria2c.1.txt
  3344. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3345. Release 1.6.2
  3346. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3347. Updated Ukrainian translation. Thanks to all translators.
  3348. * po/uk.po
  3349. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3350. Updated translation template
  3351. * po
  3352. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3353. Bump up version number to 1.6.2
  3354. * configure.ac
  3355. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3356. Updated licence message in -v output.
  3357. * src/version_usage.cc
  3358. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3359. Replaced aria2 with aria2c in help message.
  3360. * src/version_usage.cc
  3361. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3362. Use PACKAGE_BUGREPORT and PACKAGE_URL.
  3363. * src/version_usage.cc
  3364. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3365. Quoted localedir
  3366. * src/Makefile.am
  3367. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3368. Added AC_FUNC_STRTOD and AC_TYPE_PID_T. Check function for pow,
  3369. utime. Check header for utime.h.
  3370. * configure.ac
  3371. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3372. Use AC_FUNC_FORK. Replaced HAVE_FORK with HAVE_WORKING_FORK.
  3373. * configure.ac
  3374. * src/daemon.cc
  3375. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3376. Don't set localedir manually. Leave it to autoconf.
  3377. * configure.ac
  3378. * src/Makefile.am
  3379. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3380. Added --install to ACLOCAL_AMFLAGS.
  3381. Removed m4 from SUBDIRS.
  3382. Updated automake 1.11 and autoconf 2.64.
  3383. Replaced some obsolute macros with new one.
  3384. * Makefile.am
  3385. * configure.ac
  3386. * m4/aria2_arg.m4
  3387. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3388. Removed Makefile.am in m4 directory.
  3389. * configure.ac
  3390. * m4/ChangeLog
  3391. * m4/Makefile.am
  3392. * m4/Makefile.in
  3393. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3394. Removed unused m4 macros.
  3395. * m4/intldir.m4
  3396. * m4/inttypes.m4
  3397. * m4/isc-posix.m4
  3398. * m4/libgnutls-extra.m4
  3399. * m4/ulonglong.m4
  3400. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3401. Fixed the bug that causes segmentation fault if
  3402. req->getCurrentUrl() contains printf formatting characters such as
  3403. %d. The statement that causes this bug is useless and removed.
  3404. * src/AbstractCommand.cc
  3405. 2009-10-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3406. * Release 1.6.1
  3407. 2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3408. Updated Simplified Chinese translation. Thanks to translators.
  3409. * po/zh_CN.po
  3410. 2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3411. Updated translation template
  3412. * po
  3413. 2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3414. Bump up version number to 1.6.1
  3415. * configure.ac
  3416. 2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3417. Changed interval from 120 to 60 for dropping inactive peer.
  3418. * src/DefaultBtInteractive.cc
  3419. 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3420. Updated man page for --user-agent and --peer-id-prefix option.
  3421. * doc/aria2c.1.txt
  3422. 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3423. Code clean up
  3424. * src/BtPostDownloadHandler.cc
  3425. * src/ContentTypeRequestGroupCriteria.cc
  3426. * src/ContentTypeRequestGroupCriteria.h
  3427. * src/DownloadHandlerConstants.cc
  3428. * src/DownloadHandlerConstants.h
  3429. * src/DownloadHandlerFactory.cc
  3430. * src/MetalinkPostDownloadHandler.cc
  3431. 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3432. Don't save control file when aria2 exists while checking piece
  3433. hash(behavior of -V option). If control file doesn't exist when
  3434. aria2 launched, the completed length in saved control file will be
  3435. 0 byte and this confuses user. disableSaveControlFile() is called
  3436. in RequestGroup::processCheckIntegrityEntry().
  3437. enableSaveControlFile() will be called after hash checking is
  3438. done. See CheckIntegrityCommand.
  3439. * src/CheckIntegrityCommand.cc
  3440. * src/RequestGroup.cc
  3441. * src/RequestGroup.h
  3442. * src/RequestGroupMan.cc
  3443. 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3444. Included version number in Peer ID and client version. Peer ID
  3445. now starts with "aria2/VERSION-", where VERSION is
  3446. MAJOR.MINOR.MICRO. Client version is aria2/VERSION.
  3447. * src/DefaultBtInteractive.cc
  3448. * src/OptionHandlerFactory.cc
  3449. * src/bittorrent_helper.cc
  3450. * src/bittorrent_helper.h
  3451. * src/main.cc
  3452. * src/usage_text.h
  3453. * test/BittorrentHelperTest.cc
  3454. 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3455. Fixed memory leak.
  3456. * src/DownloadCommand.cc
  3457. 2009-10-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3458. Removed server, port, user and passwd key from options before
  3459. XMLRPC::Client.call since they are not options of aria2.
  3460. * doc/xmlrpc/aria2mon
  3461. * doc/xmlrpc/aria2rpc
  3462. 2009-10-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3463. Included version number in user-agent string.
  3464. * src/OptionHandlerFactory.cc
  3465. 2009-10-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3466. Fixed the bug that the option values changed by XML-RPC
  3467. method(changeOption and changeGlobalOption) are overwritten to the
  3468. previous value by the next these request which doesn't contain
  3469. that option value. Supporse max-download-limit is initially 0. You
  3470. changed this value to 100K by changeOption. Then you issue
  3471. changeOption request to change max-upload-limit to 50K. This
  3472. second request doesn't contain xml-download-limit, so it is back
  3473. to initial value, 0. Another improvement is that exception is
  3474. thrown when changeOption and changeGlobalOption request contains
  3475. option name which doesn't allowed in each request.
  3476. * src/DownloadEngine.h
  3477. * src/XmlRpcMethod.cc
  3478. * src/XmlRpcMethod.h
  3479. * src/XmlRpcMethodImpl.cc
  3480. * src/download_helper.cc
  3481. * src/download_helper.h
  3482. * test/XmlRpcMethodTest.cc
  3483. 2009-10-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3484. Added missing MetalinkParserStateImpl.{cc,h}
  3485. * src/MetalinkParserStateImpl.cc
  3486. * src/MetalinkParserStateImpl.h
  3487. 2009-10-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3488. Put all MetalinkParserState subclasses into
  3489. MetalinkParserStateImpl.cc. Use stack to track element structure.
  3490. * src/FileMetalinkParserState.cc: Removed
  3491. * src/FileMetalinkParserState.h: Removed
  3492. * src/FilesMetalinkParserState.cc: Removed
  3493. * src/FilesMetalinkParserState.h: Removed
  3494. * src/FinMetalinkParserState.cc: Removed
  3495. * src/FinMetalinkParserState.h: Removed
  3496. * src/HashMetalinkParserState.cc: Removed
  3497. * src/HashMetalinkParserState.h: Removed
  3498. * src/InitialMetalinkParserState.cc: Removed
  3499. * src/InitialMetalinkParserState.h: Removed
  3500. * src/LanguageMetalinkParserState.cc: Removed
  3501. * src/LanguageMetalinkParserState.h: Removed
  3502. * src/Makefile.am
  3503. * src/MetalinkMetalinkParserState.cc: Removed
  3504. * src/MetalinkMetalinkParserState.h: Removed
  3505. * src/MetalinkParserState.h
  3506. * src/MetalinkParserStateMachine.cc
  3507. * src/MetalinkParserStateMachine.h
  3508. * src/OSMetalinkParserState.cc: Removed
  3509. * src/OSMetalinkParserState.h: Removed
  3510. * src/PieceHashMetalinkParserState.cc: Removed
  3511. * src/PieceHashMetalinkParserState.h: Removed
  3512. * src/PiecesMetalinkParserState.cc: Removed
  3513. * src/PiecesMetalinkParserState.h: Removed
  3514. * src/ResourcesMetalinkParserState.cc: Removed
  3515. * src/ResourcesMetalinkParserState.h: Removed
  3516. * src/SignatureMetalinkParserState.cc: Removed
  3517. * src/SignatureMetalinkParserState.h: Removed
  3518. * src/SizeMetalinkParserState.cc: Removed
  3519. * src/SizeMetalinkParserState.h: Removed
  3520. * src/SkipTagMetalinkParserState.cc: Removed
  3521. * src/SkipTagMetalinkParserState.h: Removed
  3522. * src/URLMetalinkParserState.cc: Removed
  3523. * src/URLMetalinkParserState.h: Removed
  3524. * src/VerificationMetalinkParserState.cc: Removed
  3525. * src/VerificationMetalinkParserState.h: Removed
  3526. * src/VersionMetalinkParserState.cc: Removed
  3527. * src/VersionMetalinkParserState.h: Removed
  3528. 2009-09-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3529. Move all functions in PeerMessageUtil to bittorrent_helper.
  3530. * src/BtBitfieldMessage.cc
  3531. * src/BtBitfieldMessageValidator.h
  3532. * src/BtExtendedMessage.cc
  3533. * src/BtHandshakeMessage.cc
  3534. * src/BtHandshakeMessageValidator.h
  3535. * src/BtPieceMessage.cc
  3536. * src/BtPieceMessageValidator.h
  3537. * src/BtPortMessage.cc
  3538. * src/DHTFindNodeReplyMessage.cc
  3539. * src/DHTGetPeersReplyMessage.cc
  3540. * src/DHTMessageFactoryImpl.cc
  3541. * src/DHTRoutingTableDeserializer.cc
  3542. * src/DHTRoutingTableSerializer.cc
  3543. * src/DHTTokenTracker.cc
  3544. * src/DefaultBtMessageFactory.cc
  3545. * src/IndexBtMessage.cc
  3546. * src/IndexBtMessage.h
  3547. * src/IndexBtMessageValidator.h
  3548. * src/Makefile.am
  3549. * src/PeerMessageUtil.cc: Removed.
  3550. * src/PeerMessageUtil.h: Removed.
  3551. * src/RangeBtMessage.cc
  3552. * src/RangeBtMessage.h
  3553. * src/RangeBtMessageValidator.h
  3554. * src/UTPexExtensionMessage.cc
  3555. * src/ZeroBtMessage.cc
  3556. * src/ZeroBtMessage.h
  3557. * src/bittorrent_helper.cc
  3558. * src/bittorrent_helper.h
  3559. * test/BittorrentHelperTest.cc
  3560. * test/BtAllowedFastMessageTest.cc
  3561. * test/BtBitfieldMessageTest.cc
  3562. * test/BtCancelMessageTest.cc
  3563. * test/BtChokeMessageTest.cc
  3564. * test/BtExtendedMessageTest.cc
  3565. * test/BtHandshakeMessageTest.cc
  3566. * test/BtHaveAllMessageTest.cc
  3567. * test/BtHaveMessageTest.cc
  3568. * test/BtHaveNoneMessageTest.cc
  3569. * test/BtInterestedMessageTest.cc
  3570. * test/BtNotInterestedMessageTest.cc
  3571. * test/BtPieceMessageTest.cc
  3572. * test/BtPortMessageTest.cc
  3573. * test/BtRejectMessageTest.cc
  3574. * test/BtRequestMessageTest.cc
  3575. * test/BtSuggestPieceMessageTest.cc
  3576. * test/BtUnchokeMessageTest.cc
  3577. * test/DHTFindNodeReplyMessageTest.cc
  3578. * test/DHTGetPeersReplyMessageTest.cc
  3579. * test/DHTMessageFactoryImplTest.cc
  3580. * test/DHTRoutingTableDeserializerTest.cc
  3581. * test/DHTRoutingTableSerializerTest.cc
  3582. * test/DefaultBtMessageFactoryTest.cc
  3583. * test/DefaultExtensionMessageFactoryTest.cc
  3584. * test/Makefile.am
  3585. * test/PeerListProcessorTest.cc
  3586. * test/PeerMessageUtilTest.cc: Removed.
  3587. * test/UTPexExtensionMessageTest.cc
  3588. 2009-09-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3589. Limit the size of values list when sending get_peers reply.
  3590. * src/DHTGetPeersReplyMessage.cc
  3591. 2009-09-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3592. Updated banner
  3593. * doc/xmlrpc/aria2rpc
  3594. 2009-09-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3595. Added missing help message for remove command.
  3596. * doc/xmlrpc/aria2rpc
  3597. 2009-09-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3598. Generated configure and config.h.in
  3599. 2009-09-23 Ross Smith II <aria2spam at smithii dot com>
  3600. Add check for fork(), which is missing on MinGW
  3601. * src/daemon.cc
  3602. * configure.ac
  3603. 2009-09-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3604. Removed unused methods Util::fileCopy(), Util::rangedFileCopy(),
  3605. Util::expandBuffer(), Util::unfoldRange(), Util::indexRange() and
  3606. Util::httpGMT().
  3607. * src/Util.cc
  3608. * src/Util.h
  3609. * test/UtilTest.cc
  3610. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3611. * Release 1.6.0
  3612. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3613. Fixed a path to xmlrpc/README.txt
  3614. * doc/Makefile.am
  3615. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3616. Added XML-RPC in -v Configuration output.
  3617. * src/FeatureConfig.cc
  3618. * src/FeatureConfig.h
  3619. * test/FeatureConfigTest.cc
  3620. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3621. Updated Bulgarian, Russian, Slovak and Japanese
  3622. translations. Thanks to all translators.
  3623. * po/bg.po
  3624. * po/ja.po
  3625. * po/ru.po
  3626. * po/sk.po
  3627. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3628. Removed --retry-wait option from aria2rpc
  3629. * doc/xmlrpc/aria2rpc
  3630. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3631. Removed --retry-wait option from man page.
  3632. * doc/aria2c.1.txt
  3633. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3634. Removed --retry-wait option since the current architecture doesn't
  3635. allow sleep for particular URI.
  3636. * src/AbstractCommand.cc
  3637. * src/OptionHandlerFactory.cc
  3638. * src/download_helper.cc
  3639. * src/prefs.cc
  3640. * src/prefs.h
  3641. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3642. Removed Retry-After header support. Since the current architecture
  3643. doesn't allow sleep for particular URI.
  3644. * src/HttpSkipResponseCommand.cc
  3645. 2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3646. Updated the help message for --daemon option.
  3647. * doc/aria2c.1.txt
  3648. * src/usage_text.h
  3649. 2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3650. Added our own daemon() function for systems which desn't have
  3651. daemon(3).
  3652. * configure.ac
  3653. * src/Makefile.am
  3654. * src/daemon.cc
  3655. * src/daemon.h
  3656. * src/option_processing.cc
  3657. 2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3658. Simplified File::getCurrentDir()
  3659. * src/File.cc
  3660. 2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3661. Use exit() instead of _exit
  3662. * src/RequestGroupMan.cc
  3663. 2009-09-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3664. Replaced "CATEGORY" with "TAGS".
  3665. * src/usage_text.h
  3666. * doc/aria2c.1.txt
  3667. 2009-09-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3668. Updated the help message for --help option.
  3669. * src/usage_text.h
  3670. * doc/aria2c.1.txt
  3671. 2009-09-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3672. Updated man page for added help tags.
  3673. * doc/aria2c.1.txt
  3674. 2009-09-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3675. Added help category #file. Added #file tag to the options related
  3676. to downloaded file.
  3677. * src/OptionHandlerFactory.cc
  3678. * src/help_tags.h
  3679. 2009-09-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3680. Added help categories: #cookie and #hook. Added #https tag to
  3681. --https-proxy and --https-proxy, --all-proxy and --no-proxy.
  3682. * src/OptionHandlerFactory.cc
  3683. * src/help_tags.h
  3684. 2009-09-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3685. Made MSG_NOT_FILE translatable.
  3686. * src/message.h
  3687. 2009-09-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3688. Updated man page for --help option.
  3689. * doc/aria2c.1.txt
  3690. 2009-09-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3691. Updated doc.
  3692. * src/XmlRpcMethod.h
  3693. 2009-09-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3694. Help category now starts with "#" to distinguish a category from
  3695. keyword search. For example, "http" categroy is now "#http". You
  3696. can type "--help=#http" to get explanation of options related to
  3697. http. If '#' is omitted, then the argument is treated as a keyword
  3698. and aria2 searches options whose name includes the keyword and
  3699. print matched ones. For example, "--help=http" will show options
  3700. whose name includes "http".
  3701. * src/OptionHandlerFactory.cc
  3702. * src/help_tags.h
  3703. * src/usage_text.h
  3704. * src/version_usage.cc
  3705. 2009-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3706. Documented missing experimental tag and newly added xml-rpc tag in
  3707. man page.
  3708. * doc/aria2c.1.txt
  3709. 2009-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3710. Added xml-rpc help tag. Tagged xml-rpc related options with
  3711. xml-rpc tag.
  3712. * src/OptionHandlerFactory.cc
  3713. * src/help_tags.h
  3714. 2009-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3715. Updated message when a path is not a file. Updated common message
  3716. for wrong option.
  3717. * src/OptionHandlerException.cc
  3718. * src/message.h
  3719. 2009-09-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3720. Use File::isFile() instead of File::exists(). Updated message when
  3721. a path is not a file.
  3722. * src/OptionHandlerImpl.cc
  3723. * src/message.h
  3724. 2009-09-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3725. Fixed the bug that server performence profile is not updated when
  3726. aria2c was terminated by emergency shutdown.
  3727. * src/TrackerWatcherCommand.cc
  3728. 2009-09-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3729. Use LocalFilePathOptionHandler for -T and -M option.
  3730. Updated message of MSG_FILE_NOT_EXIST.
  3731. * src/OptionHandlerFactory.cc
  3732. * src/message.h
  3733. 2009-09-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3734. Added LocalFilePathOptionHandler which check whether the specified
  3735. file path does exist or not.
  3736. * src/OptionHandlerImpl.cc
  3737. * src/message.h
  3738. 2009-09-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3739. Updated wiki page URI.
  3740. * README
  3741. * doc/aria2c.1.txt
  3742. 2009-09-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3743. Added README.txt for xmlrpc directory.
  3744. * doc/Makefile.am
  3745. * doc/xmlrpc/README.txt
  3746. 2009-09-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3747. Bump up version number to 1.6.0.
  3748. * configure.ac
  3749. 2009-09-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3750. Added XML-RPC client scripts written in ruby.
  3751. * doc/Makefile.am
  3752. * doc/xmlrpc/aria2mon
  3753. * doc/xmlrpc/aria2rpc
  3754. 2009-08-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3755. Added support for IPv6 literal address in URI. Now aria2 can
  3756. handle URI such as http://[::1]/
  3757. * src/HttpRequest.cc
  3758. * src/HttpRequest.h
  3759. * src/Request.cc
  3760. * src/Request.h
  3761. * test/HttpRequestTest.cc
  3762. * test/OptionHandlerTest.cc
  3763. * test/RequestTest.cc
  3764. 2009-08-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3765. Fixed the bug that HTTP request header for XML-RPC request is not
  3766. parsed properly.
  3767. * src/HttpHeader.cc
  3768. * src/HttpHeaderProcessor.cc
  3769. 2009-08-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3770. Fixed the bug that XML-RPC authorization might be done before HTTP
  3771. request header is fully received.
  3772. * src/HttpServerCommand.cc
  3773. 2009-08-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3774. Documented --xml-rpc-listen-all option in man page.
  3775. * doc/aria2c.1.txt
  3776. 2009-08-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3777. Added --xml-rpc-listen-all option. If true is given to this
  3778. option, aria2 listens incoming XML-RPC requests on all network
  3779. interfaces. If false is given, listens only on local loopback
  3780. interface. The default value is false.
  3781. * src/HttpListenCommand.cc
  3782. * src/OptionHandlerFactory.cc
  3783. * src/SocketCore.cc
  3784. * src/SocketCore.h
  3785. * src/prefs.cc
  3786. * src/prefs.h
  3787. * src/usage_text.h
  3788. 2009-08-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3789. * Release 1.5.2
  3790. 2009-08-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3791. Updated Ukrainian and Russian translations. Thanks to all
  3792. translators.
  3793. * po/ru.po
  3794. * po/uk.po
  3795. 2009-08-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3796. Bump up version number to 1.5.2
  3797. * configure.ac
  3798. 2009-08-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3799. Get comment, comment.utf-8, created by and creation date from
  3800. .torrent file and print them in -S output.
  3801. * src/bittorrent_helper.cc
  3802. * src/bittorrent_helper.h
  3803. * test/BittorrentHelperTest.cc
  3804. * test/test.torrent
  3805. * test/utf8.torrent
  3806. 2009-08-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3807. Show exact file size along in -S option output.
  3808. * src/Util.h
  3809. * src/bittorrent_helper.cc
  3810. * test/UtilTest.cc
  3811. 2009-08-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3812. Avoided unnecessary memory allocation in
  3813. BitfieldMan::getCompletedLength().
  3814. * src/BitfieldMan.cc
  3815. 2009-08-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3816. Fixed the bug that download fails if
  3817. SocketCore::establishConnection() throws exception and aria2
  3818. doesn't try another address.
  3819. * src/AbstractCommand.cc
  3820. * src/InitiateConnectionCommand.cc
  3821. * src/message.h
  3822. 2009-08-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3823. Fixed sqlite3.m4 macro so that sqlite3_open_v2 function is
  3824. detected properly.
  3825. * m4/sqlite3.m4
  3826. 2009-08-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3827. Renamed xmlrpc::elements::PARAMS to xmlrpc::elements::A2_PARAMS
  3828. because it causes compile error if PARAMS macro is defined.
  3829. * src/XmlRpcElements.cc
  3830. * src/XmlRpcElements.h
  3831. * src/XmlRpcRequestParserStateImpl.cc
  3832. 2009-07-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3833. * Release 1.5.1
  3834. 2009-07-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3835. Bump up version number to 1.5.1
  3836. * configure.ac
  3837. 2009-07-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3838. Fixed compile error without BitTorrent support
  3839. * src/DefaultBtProgressInfoFile.cc
  3840. * src/DownloadEngine.cc
  3841. * src/DownloadEngine.h
  3842. 2009-07-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3843. Added missing '=' in Download Results
  3844. * src/RequestGroupMan.cc
  3845. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3846. Fixed compiler warning
  3847. * src/DefaultBtProgressInfoFile.cc
  3848. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3849. Fixed compiler warning on 32bit systems.
  3850. * src/DownloadCommand.cc
  3851. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3852. Call flush from ServerStatMan::save()
  3853. * src/ServerStatMan.cc
  3854. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3855. Check stream status after file is opened.
  3856. * src/CookieStorage.cc
  3857. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3858. Rewritten Signature::save()
  3859. * src/Signature.cc
  3860. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3861. Rewritten RequestGroupMan::saveServerStat()
  3862. * src/RequestGroupMan.cc
  3863. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3864. Rewritten stream error handling
  3865. * src/DHTAutoSaveCommand.cc
  3866. * src/DHTRoutingTableDeserializer.cc
  3867. * src/DHTRoutingTableSerializer.cc
  3868. * src/DHTSetup.cc
  3869. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3870. Check stream status after file is opened.
  3871. * src/DefaultBtProgressInfoFile.cc
  3872. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3873. Rewritten stream error handling
  3874. * src/DefaultBtProgressInfoFile.cc
  3875. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3876. Make sure that stream is closed before renaming file. Unit test
  3877. fails on mingw32 in the previous implementation.
  3878. * src/CookieStorage.cc
  3879. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3880. Fixed the unit test error without sqlite3
  3881. * test/CookieStorageTest.cc
  3882. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3883. Fixed the undefined reference error
  3884. * test/HttpResponseTest.cc
  3885. 2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3886. * Release 1.5.0
  3887. 2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3888. Updated Russian, Italian, Danish, Bulgarian, Japanese and
  3889. Ukrainian translations. Thanks to all translators.
  3890. * po/ru.po
  3891. * po/it.po
  3892. * po/da.po
  3893. * po/bg.po
  3894. * po/ja.po
  3895. * po/uk.po
  3896. 2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3897. Added missing src/Logger.cc
  3898. * src/Logger.cc
  3899. 2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3900. Rewritten Logger to avoiding constly virtual call.
  3901. * src/LogFactory.cc
  3902. * src/LogFactory.h
  3903. * src/Logger.h
  3904. * src/Makefile.am
  3905. * src/Makefile.in
  3906. * src/NullLogger.h: Removed.
  3907. * src/SimpleLogger.cc
  3908. * src/SimpleLogger.h
  3909. 2009-07-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3910. Updated doc
  3911. * src/main.cc
  3912. 2009-07-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3913. Updated debug log message
  3914. * src/AbstractCommand.cc
  3915. * src/message.h
  3916. 2009-07-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3917. Avoid to create zombie process when commands specified in
  3918. --on-download-* options are executed. Tested on Linux 2.6, Mac OS
  3919. X and NetBSD.
  3920. * src/main.cc
  3921. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3922. Fixed typo
  3923. * src/usage_text.h
  3924. * doc/aria2c.1.txt
  3925. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3926. Documented 'errorCode' of tellStatus in man page.
  3927. * doc/aria2c.1.txt
  3928. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3929. Added 'errorCode' to the reponse of tellStatus xml-rpc method.
  3930. This key is only available for stopped/completed downloads and its
  3931. value is the error code defined in EXIT STATUS in man page.
  3932. * src/XmlRpcMethodImpl.cc
  3933. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3934. Fixed the bug that session download length is not updated when
  3935. PeerStat is not fastest one.
  3936. * src/SegmentMan.cc
  3937. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3938. Updated doc.
  3939. * doc/aria2c.1.txt
  3940. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3941. Updated doc.
  3942. * src/AbstractCommand.cc
  3943. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3944. Handle the case when DownloadContext has no FileEntry.
  3945. * src/XmlRpcMethodImpl.cc
  3946. 2009-07-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3947. Handle the situation where struct option.name is char *.
  3948. * configure.ac
  3949. * src/OptionParser.cc
  3950. 2009-07-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3951. Code cleanup
  3952. * src/AbstractCommand.cc
  3953. * src/DownloadCommand.cc
  3954. 2009-07-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3955. Use option of each download to create AuthConfig instead of global
  3956. option.
  3957. * src/AuthConfigFactory.cc
  3958. * src/AuthConfigFactory.h
  3959. * src/FtpNegotiationCommand.cc
  3960. * src/HttpRequest.cc
  3961. * src/HttpRequest.h
  3962. * src/HttpRequestCommand.cc
  3963. * src/HttpSkipResponseCommand.cc
  3964. * src/MultiUrlRequestInfo.cc
  3965. * test/AuthConfigFactoryTest.cc
  3966. * test/FtpConnectionTest.cc
  3967. * test/HttpRequestTest.cc
  3968. 2009-07-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3969. Don't call prepareForRetry(1) if all segments are ignored in
  3970. SegmentMan.
  3971. * src/AbstractCommand.cc
  3972. * src/BitfieldMan.cc
  3973. * src/BitfieldMan.h
  3974. * src/SegmentMan.cc
  3975. * src/SegmentMan.h
  3976. 2009-07-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3977. Removed FileEntry::getAssociatedUris()
  3978. * src/FileEntry.h
  3979. 2009-07-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3980. Updated doc: TODO1.5 -> TODO
  3981. * src/FileEntry.cc
  3982. * src/HttpResponseCommand.cc
  3983. 2009-07-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3984. Added assertion fileEntries.size() == 1 if BitTorrent is not
  3985. involved.
  3986. * src/RequestGroup.cc
  3987. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3988. Eliminated duplicated filterBitfield initialization code.
  3989. * src/BitfieldMan.cc
  3990. * src/BitfieldMan.h
  3991. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3992. Added assert(!req.isNull()) when DlRetryEx is caught(this is
  3993. relatively naive approach, though). For DownloadFailureException,
  3994. we handle the case when req is null properly.
  3995. * src/AbstractCommand.cc
  3996. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3997. Added function returning suffix of control file to
  3998. DefaultBtProgressInfoFile.
  3999. * src/DefaultBtProgressInfoFile.cc
  4000. * src/DefaultBtProgressInfoFile.h
  4001. * src/RequestGroup.cc
  4002. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4003. Documented getVersion in man page.
  4004. * doc/aria2c.1.txt
  4005. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4006. Documented type of offset and num for tellWaiting xml-rpc method.
  4007. * doc/aria2c.1.txt
  4008. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4009. Implemented getVersion xml-rpc method. This method returns struct
  4010. which has 2 key-value pairs: "version" key is associated to the
  4011. version of aria2, such as "1.5.0". "enabledFeatures" key is
  4012. associated to the list of enabled features, such as "Async DNS",
  4013. "BitTorrent".
  4014. * src/FeatureConfig.h
  4015. * src/XmlRpcMethodFactory.cc
  4016. * src/XmlRpcMethodImpl.cc
  4017. * src/XmlRpcMethodImpl.h
  4018. * test/XmlRpcMethodTest.cc
  4019. 2009-07-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4020. Removed TLS1.1 protocol support when aria2 is built with gnutls
  4021. for compatibility issue.
  4022. * src/SocketCore.cc
  4023. 2009-07-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4024. Fixed compile error with openSSL
  4025. * src/bittorrent_helper.cc
  4026. * src/messageDigest.h
  4027. 2009-07-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4028. Removed bad code: setting certificate type priority to key
  4029. exchange priority.
  4030. * src/SocketCore.cc
  4031. 2009-07-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4032. Disconnect seeder if client is also in seed state.
  4033. * src/BtBitfieldMessage.cc
  4034. * src/BtHaveAllMessage.cc
  4035. * src/BtHaveMessage.cc
  4036. * src/message.h
  4037. * test/BtBitfieldMessageTest.cc
  4038. * test/BtHaveAllMessageTest.cc
  4039. * test/BtHaveMessageTest.cc
  4040. * test/MockPieceStorage.h
  4041. 2009-07-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4042. Keep CreateRequestCommand in queue when no segment is available so
  4043. that they can pick up pieces which slow BitTorrent peers are
  4044. downloading.
  4045. * src/AbstractCommand.cc
  4046. * src/CreateRequestCommand.cc
  4047. * src/CreateRequestCommand.h
  4048. 2009-07-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4049. --bt-stop-timeout now only checks download speed.
  4050. * src/BtStopDownloadCommand.cc
  4051. * src/BtStopDownloadCommand.h
  4052. * src/BtSetup.cc
  4053. * src/usage_text.h
  4054. * doc/aria2c.1.txt
  4055. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4056. Fixed compile error regarding BUFSIZE.
  4057. * src/DownloadCommand.cc
  4058. * src/DownloadCommand.h
  4059. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4060. Documented tellWaiting xml-rpc method in man page.
  4061. * doc/aria2c.1.txt
  4062. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4063. Bump up version number to 1.5.0
  4064. * configure.ac
  4065. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4066. Removed resolved TODO1.5
  4067. * src/AbstractCommand.cc
  4068. * src/DownloadCommand.cc
  4069. * src/RequestGroup.cc
  4070. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4071. Release pooled and in-flight Request objectsand URIResult objects
  4072. in FileEntry after download completed.
  4073. * src/DownloadContext.cc
  4074. * src/DownloadContext.h
  4075. * src/FileEntry.cc
  4076. * src/FileEntry.h
  4077. * src/RequestGroup.cc
  4078. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4079. Set manual and source attribute in aria2c.1.txt
  4080. * doc/aria2c.1.txt
  4081. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4082. Documented that the default value of --use-head is 'false' in man
  4083. page.
  4084. * doc/aria2c.1.txt
  4085. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4086. Added bt-stop-timeout option to -i list.
  4087. * doc/aria2c.1.txt
  4088. * src/download_helper.cc
  4089. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4090. Fixed typo
  4091. * doc/aria2c.1.txt
  4092. * src/usage_text.h
  4093. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4094. Removed peer-id-prefix option from -i list.
  4095. * doc/aria2c.1.txt
  4096. * src/download_helper.cc
  4097. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4098. Fixed typo
  4099. * doc/aria2c.1.txt
  4100. * src/usage_text.h
  4101. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4102. Documented --bt-stop-timeout option in man page.
  4103. * doc/aria2c.1.txt
  4104. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4105. Updated README regarding multi-file torrent web-seeding.
  4106. * doc/README.txt
  4107. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4108. Updated man page regarding multi-file torrent web-seeding.
  4109. * doc/aria2c.1.txt
  4110. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4111. Updated doc
  4112. * src/version_usage.cc
  4113. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4114. Winsock select() doesn't work if no socket is in FD_SET. To
  4115. overcome this problem, a dummy socket is added to FD_SET and it is
  4116. given to select().
  4117. * src/SelectEventPoll.cc
  4118. * src/SelectEventPoll.h
  4119. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4120. Disabled --use-head option by default because --use-head=true
  4121. causes problems on some web sites.
  4122. * src/OptionHandlerFactory.cc
  4123. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4124. Print URL List in -S option for torrent.
  4125. * src/bittorrent_helper.cc
  4126. * src/bittorrent_helper.h
  4127. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4128. Allocate buffer in ctor of DownloadCommand.
  4129. * src/DownloadCommand.cc
  4130. * src/DownloadCommand.h
  4131. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4132. Removed DiskAdaptor::onDownloadComplete()
  4133. * src/DirectDiskAdaptor.cc
  4134. * src/DirectDiskAdaptor.h
  4135. * src/DiskAdaptor.h
  4136. * src/MultiDiskAdaptor.cc
  4137. * src/MultiDiskAdaptor.h
  4138. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4139. Committed missing BtStopDownloadCommand.{cc,h}
  4140. * src/BtStopDownloadCommand.cc
  4141. * src/BtStopDownloadCommand.h
  4142. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4143. Added --bt-stop-timeout=SEC option. This function stops BitTorrent
  4144. download if the download speed is 0 and the number of seeder is 0
  4145. in consecutive SEC seconds. By default, this function is disabled.
  4146. * src/BtSetup.cc
  4147. * src/Makefile.am
  4148. * src/OptionHandlerFactory.cc
  4149. * src/prefs.cc
  4150. * src/prefs.h
  4151. * src/usage_text.h
  4152. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4153. Removed the call to DiskAdaptor::onDownloadComplete() from
  4154. BtCheckIntegrityEntry and DefaultPieceStorage.
  4155. * src/BtCheckIntegrityEntry.cc
  4156. * src/DefaultPieceStorage.cc
  4157. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4158. Commented out throw statements when number of piece is 0 to
  4159. download 0 length torrent.
  4160. * src/bittorrent_helper.cc
  4161. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4162. Call RequestGroup::createNextCommandWithAdj() from
  4163. BtFileAllocationEntry if at least one FileEntry has URI. The
  4164. static function hasAssociatedUri in RequestGroup.cc is renamed as
  4165. isUriSuppliedForRequsetFileEntry() and placed in FileEntry.h.
  4166. * src/BtFileAllocationEntry.cc
  4167. * src/FileEntry.h
  4168. * src/RequestGroup.cc
  4169. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4170. Generate peer ID after SimpleRandomizer is initialized.
  4171. * src/main.cc
  4172. * src/option_processing.cc
  4173. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4174. Removed unused method argument.
  4175. * src/CreateRequestCommand.cc
  4176. * src/RequestGroup.cc
  4177. * src/RequestGroup.h
  4178. * src/RequestGroupMan.cc
  4179. * src/TrackerWatcherCommand.cc
  4180. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4181. Made URI reusing function work.
  4182. * src/CreateRequestCommand.cc
  4183. * src/FileEntry.cc
  4184. * src/FileEntry.h
  4185. * test/FileEntryTest.cc
  4186. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4187. Add formerly fastest PeerStat's sessionDownloadLength to new
  4188. fastest PeerStat and use _fastestPeerStats to calcuate downloaded
  4189. bytes in a session.
  4190. * src/PeerStat.cc
  4191. * src/SegmentMan.cc
  4192. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4193. If pipelining is enabled, we can always pool socket.
  4194. * src/HttpDownloadCommand.cc
  4195. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4196. In a single file download, file size becomes known just after
  4197. downloading, set total length to FileEntry object when download
  4198. completed.
  4199. * src/DownloadCommand.cc
  4200. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4201. Use std::vector::reserve() for fileEntries and pieceHashes in
  4202. bittorrent_helper
  4203. * src/bittorrent_helper.cc
  4204. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4205. Removed calls to Request::resetUrl() in AbstractCommand.cc.
  4206. Removed hidden option PREF_RESET_URI.
  4207. * src/AbstractCommand.cc
  4208. * src/OptionHandlerFactory.cc
  4209. * src/prefs.cc
  4210. * src/prefs.h
  4211. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4212. Removed unused variable/function.
  4213. * src/PeerStat.h
  4214. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4215. Show first URL in Download Results if file path is not available.
  4216. * src/FileEntry.h
  4217. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4218. Throw exception if file path doesn't exist in FTP URL.
  4219. * src/InitiateConnectionCommandFactory.cc
  4220. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4221. Refactored BitfieldMan::getSparseMissingUnusedIndex()
  4222. * src/BitfieldMan.cc
  4223. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4224. Rewritten PeerStats handling in SegmentMan.cc. Now we have 2 list
  4225. of PeerStat in SegmentMan. peerStats is used for calculating
  4226. download speed. Therefore all active PeerStats should be in
  4227. there. Another one is _fastestPeerStats and it only contains
  4228. fastest PeerStat for each hostname/protocol pair. They are used
  4229. for updating ServerStat.
  4230. * src/DownloadCommand.cc
  4231. * src/Request.h
  4232. * src/RequestGroupMan.cc
  4233. * src/SegmentMan.cc
  4234. * src/SegmentMan.h
  4235. * test/SegmentManTest.cc
  4236. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4237. Try all available addresses returned by DNS until it gets
  4238. connected in HTTP(S)/FTP download
  4239. * src/AbstractCommand.cc
  4240. * src/AbstractCommand.h
  4241. * src/AbstractProxyRequestCommand.cc
  4242. * src/AbstractProxyRequestCommand.h
  4243. * src/DNSCache.h
  4244. * src/DownloadEngine.cc
  4245. * src/DownloadEngine.h
  4246. * src/FtpInitiateConnectionCommand.cc
  4247. * src/FtpInitiateConnectionCommand.h
  4248. * src/FtpNegotiationCommand.cc
  4249. * src/FtpNegotiationCommand.h
  4250. * src/HttpInitiateConnectionCommand.cc
  4251. * src/HttpInitiateConnectionCommand.h
  4252. * src/HttpRequestCommand.cc
  4253. * src/HttpRequestCommand.h
  4254. * src/InitiateConnectionCommand.cc
  4255. * src/InitiateConnectionCommand.h
  4256. * test/DNSCacheTest.cc
  4257. * test/Makefile.am
  4258. * test/SimpleDNSCacheTest.cc
  4259. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4260. Updated doc
  4261. * src/download_helper.cc
  4262. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4263. Refactored fieldMan ctor.
  4264. * src/BitfieldMan.cc
  4265. * src/BitfieldMan.h
  4266. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4267. Don't print "No files to download." message if -S is given.
  4268. * src/main.cc
  4269. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4270. Set referer and method to newly created Request object.
  4271. * src/CreateRequestCommand.cc
  4272. * src/FileEntry.cc
  4273. * src/FileEntry.h
  4274. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4275. Removed ctor of AbstractCommand which doesn't take FileEntry.
  4276. * src/AbstractCommand.cc
  4277. * src/AbstractCommand.h
  4278. * src/CreateRequestCommand.cc
  4279. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4280. Get proxy download working
  4281. * src/AbstractProxyRequestCommand.cc
  4282. * src/AbstractProxyRequestCommand.h
  4283. * src/AbstractProxyResponseCommand.cc
  4284. * src/AbstractProxyResponseCommand.h
  4285. * src/FtpInitiateConnectionCommand.cc
  4286. * src/FtpTunnelRequestCommand.cc
  4287. * src/FtpTunnelRequestCommand.h
  4288. * src/FtpTunnelResponseCommand.cc
  4289. * src/FtpTunnelResponseCommand.h
  4290. * src/HttpInitiateConnectionCommand.cc
  4291. * src/HttpProxyRequestCommand.cc
  4292. * src/HttpProxyRequestCommand.h
  4293. * src/HttpProxyResponseCommand.cc
  4294. * src/HttpProxyResponseCommand.h
  4295. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4296. Use SegmentMan::getSegment(cuid) for single file download.
  4297. * src/AbstractCommand.cc
  4298. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4299. Fixed bufSize calculation
  4300. * src/DownloadCommand.cc
  4301. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4302. Don't append "/" if base URI ends with "/".
  4303. * src/bittorrent_helper.cc
  4304. * test/url-list-multiFile.torrent
  4305. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4306. HTTP pipelining is now working. Fixed Segmention fault in
  4307. BitfieldMan's copy ctor.
  4308. * src/AbstractCommand.cc
  4309. * src/BitfieldMan.cc
  4310. * src/BitfieldMan.h
  4311. * src/DownloadCommand.cc
  4312. * src/HttpDownloadCommand.cc
  4313. * src/HttpRequest.cc
  4314. * src/SegmentMan.cc
  4315. * src/SegmentMan.h
  4316. * test/BitfieldManTest.cc
  4317. * test/SegmentManTest.cc
  4318. 2009-06-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4319. Removed ServerHost. Same functionality is implemented using
  4320. FileEntry's in-flight Request objects.
  4321. * src/AbstractCommand.cc
  4322. * src/BtDependency.cc
  4323. * src/CreateRequestCommand.cc
  4324. * src/FileEntry.cc
  4325. * src/FileEntry.h
  4326. * src/FtpNegotiationCommand.cc
  4327. * src/HttpResponseCommand.cc
  4328. * src/Makefile.am
  4329. * src/Metalink2RequestGroup.cc
  4330. * src/RequestGroup.cc
  4331. * src/RequestGroup.h
  4332. * src/ServerHost.cc: Removed
  4333. * src/ServerHost.h: Removed
  4334. * test/BtDependencyTest.cc
  4335. * test/FileEntryTest.cc
  4336. * test/RequestGroupTest.cc
  4337. 2009-06-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4338. Rewritten PeerStat handling. In the previous implementation,
  4339. faster command tries to find slower command. In this new
  4340. implementation, slower command tries to find faster command.
  4341. PeerStat is now created in each HTTP/FTP request to get download
  4342. rate correctly. If the download range is small, the download rate
  4343. tends to small and this will occur at the later stage of download.
  4344. * src/AbstractCommand.cc
  4345. * src/DownloadCommand.cc
  4346. * src/FileEntry.cc
  4347. * src/FileEntry.h
  4348. * src/Request.cc
  4349. * src/Request.h
  4350. * src/RequestGroup.h
  4351. * src/RequestGroupMan.cc
  4352. * src/SegmentMan.cc
  4353. * src/SegmentMan.h
  4354. * test/SegmentManTest.cc
  4355. 2009-06-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4356. Removed _uris from RequestGroup. All functions that refer to _uris
  4357. were moved to FileEntry. Exit status code are now defined in
  4358. DownloadResultCode.h.
  4359. * src/AbstractCommand.cc
  4360. * src/AdaptiveURISelector.cc
  4361. * src/AdaptiveURISelector.h
  4362. * src/AutoSaveCommand.cc
  4363. * src/BtPostDownloadHandler.cc
  4364. * src/CheckIntegrityDispatcherCommand.cc
  4365. * src/CookieStorage.cc
  4366. * src/DHTAutoSaveCommand.cc
  4367. * src/DHTBucketRefreshCommand.cc
  4368. * src/DHTEntryPointNameResolveCommand.cc
  4369. * src/DHTInteractionCommand.cc
  4370. * src/DHTPeerAnnounceCommand.cc
  4371. * src/DHTTokenUpdateCommand.cc
  4372. * src/DlAbortEx.h
  4373. * src/DlRetryEx.h
  4374. * src/DownloadCommand.cc
  4375. * src/DownloadContext.h
  4376. * src/DownloadFailureException.h
  4377. * src/DownloadResult.h
  4378. * src/DownloadResultCode.h
  4379. * src/FeedbackURISelector.cc
  4380. * src/FeedbackURISelector.h
  4381. * src/FileEntry.cc
  4382. * src/FileEntry.h
  4383. * src/FtpNegotiationCommand.cc
  4384. * src/HttpListenCommand.cc
  4385. * src/HttpResponseCommand.cc
  4386. * src/HttpServerResponseCommand.cc
  4387. * src/HttpSkipResponseCommand.cc
  4388. * src/InOrderURISelector.cc
  4389. * src/InOrderURISelector.h
  4390. * src/Makefile.am
  4391. * src/Makefile.in
  4392. * src/Metalink2RequestGroup.cc
  4393. * src/MultiUrlRequestInfo.cc
  4394. * src/MultiUrlRequestInfo.h
  4395. * src/OptionHandlerFactory.cc
  4396. * src/PeerListenCommand.cc
  4397. * src/RecoverableException.h
  4398. * src/RequestGroup.cc
  4399. * src/RequestGroup.h
  4400. * src/RequestGroupMan.cc
  4401. * src/RequestGroupMan.h
  4402. * src/TimedHaltCommand.cc
  4403. * src/TrackerWatcherCommand.cc
  4404. * src/URIResult.cc
  4405. * src/URIResult.h
  4406. * src/URISelector.h
  4407. * src/XmlRpcMethodImpl.cc
  4408. * src/bittorrent_helper.cc
  4409. * src/bittorrent_helper.h
  4410. * src/download_helper.cc
  4411. * src/main.cc
  4412. * src/option_processing.cc
  4413. * test/BtDependencyTest.cc
  4414. * test/BtPostDownloadHandlerTest.cc
  4415. * test/CookieStorageTest.cc
  4416. * test/DefaultBtMessageDispatcherTest.cc
  4417. * test/DownloadHandlerFactoryTest.cc
  4418. * test/DownloadHelperTest.cc
  4419. * test/FeedbackURISelectorTest.cc
  4420. * test/FileEntryTest.cc
  4421. * test/InOrderURISelectorTest.cc
  4422. * test/Metalink2RequestGroupTest.cc
  4423. * test/MetalinkPostDownloadHandlerTest.cc
  4424. * test/RequestGroupManTest.cc
  4425. * test/RequestGroupTest.cc
  4426. * test/XmlRpcMethodTest.cc
  4427. 2009-06-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4428. Removed MockBtContext.h
  4429. * test/Makefile.am
  4430. 2009-06-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4431. Removed _currentRequest from StreamCheckIntegrityEntry and
  4432. StreamFileAllocationEntry.
  4433. * src/AbstractCommand.cc
  4434. * src/HttpResponseCommand.cc
  4435. * src/RequestGroup.cc
  4436. * src/StreamCheckIntegrityEntry.cc
  4437. * src/StreamCheckIntegrityEntry.h
  4438. * src/StreamFileAllocationEntry.cc
  4439. * src/StreamFileAllocationEntry.h
  4440. 2009-06-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4441. Rewritten DownloadContext and removed SingleFileDownloadContext
  4442. and BtContext and its derived classes. BitTorrent specific
  4443. attributes are now set by DownloadContext::setAttribute() with key
  4444. bittorrent::BITTORRENT.
  4445. * src/AbstractBtMessage.cc
  4446. * src/AbstractBtMessage.h
  4447. * src/AbstractCommand.cc
  4448. * src/AbstractCommand.h
  4449. * src/AbstractProxyRequestCommand.cc
  4450. * src/AbstractProxyResponseCommand.cc
  4451. * src/ActivePeerConnectionCommand.cc
  4452. * src/ActivePeerConnectionCommand.h
  4453. * src/AnnounceList.cc
  4454. * src/BtCheckIntegrityEntry.cc
  4455. * src/BtConstants.h
  4456. * src/BtContext.h: Removed
  4457. * src/BtDependency.cc
  4458. * src/BtExtendedMessage.cc
  4459. * src/BtPieceMessage.cc
  4460. * src/BtPieceMessage.h
  4461. * src/BtPostDownloadHandler.cc
  4462. * src/BtRegistry.cc
  4463. * src/BtRegistry.h
  4464. * src/BtSetup.cc
  4465. * src/CheckIntegrityCommand.cc
  4466. * src/CheckIntegrityEntry.cc
  4467. * src/ChecksumCheckIntegrityEntry.cc
  4468. * src/ConsoleStatCalc.cc
  4469. * src/ContentTypeRequestGroupCriteria.cc
  4470. * src/DHTGetPeersCommand.cc
  4471. * src/DHTGetPeersCommand.h
  4472. * src/DHTPeerLookupTask.cc
  4473. * src/DHTPeerLookupTask.h
  4474. * src/DHTTaskFactory.h
  4475. * src/DHTTaskFactoryImpl.cc
  4476. * src/DHTTaskFactoryImpl.h
  4477. * src/DefaultBtAnnounce.cc
  4478. * src/DefaultBtAnnounce.h
  4479. * src/DefaultBtContext.cc: Removed
  4480. * src/DefaultBtContext.h: Removed
  4481. * src/DefaultBtInteractive.cc
  4482. * src/DefaultBtInteractive.h
  4483. * src/DefaultBtMessageDispatcher.cc
  4484. * src/DefaultBtMessageDispatcher.h
  4485. * src/DefaultBtMessageFactory.cc
  4486. * src/DefaultBtMessageFactory.h
  4487. * src/DefaultBtMessageReceiver.cc
  4488. * src/DefaultBtMessageReceiver.h
  4489. * src/DefaultBtProgressInfoFile.cc
  4490. * src/DefaultBtRequestFactory.cc
  4491. * src/DefaultBtRequestFactory.h
  4492. * src/DefaultExtensionMessageFactory.cc
  4493. * src/DefaultExtensionMessageFactory.h
  4494. * src/DefaultPeerStorage.cc
  4495. * src/DefaultPeerStorage.h
  4496. * src/DefaultPieceStorage.cc
  4497. * src/DefaultSegmentManFactory.cc
  4498. * src/DiskAdaptor.cc
  4499. * src/DiskAdaptor.h
  4500. * src/DownloadContext.cc
  4501. * src/DownloadContext.h
  4502. * src/DownloadEngine.cc
  4503. * src/DownloadEngineFactory.cc
  4504. * src/DownloadHandler.cc
  4505. * src/DownloadResult.h
  4506. * src/FileAllocationCommand.cc
  4507. * src/FileAllocationDispatcherCommand.cc
  4508. * src/FileAllocationEntry.cc
  4509. * src/FileEntry.h
  4510. * src/FillRequestGroupCommand.cc
  4511. * src/FtpDownloadCommand.cc
  4512. * src/FtpFinishDownloadCommand.cc
  4513. * src/FtpInitiateConnectionCommand.cc
  4514. * src/FtpNegotiationCommand.cc
  4515. * src/FtpTunnelRequestCommand.cc
  4516. * src/FtpTunnelResponseCommand.cc
  4517. * src/HandshakeExtensionMessage.cc
  4518. * src/HandshakeExtensionMessage.h
  4519. * src/HaveEraseCommand.cc
  4520. * src/HttpDownloadCommand.cc
  4521. * src/HttpInitiateConnectionCommand.cc
  4522. * src/HttpProxyRequestCommand.cc
  4523. * src/HttpProxyResponseCommand.cc
  4524. * src/HttpRequest.cc
  4525. * src/HttpRequest.h
  4526. * src/HttpRequestCommand.cc
  4527. * src/HttpResponseCommand.cc
  4528. * src/HttpServerBodyCommand.cc
  4529. * src/HttpServerCommand.cc
  4530. * src/HttpSkipResponseCommand.cc
  4531. * src/InitiateConnectionCommandFactory.cc
  4532. * src/InitiatorMSEHandshakeCommand.cc
  4533. * src/InitiatorMSEHandshakeCommand.h
  4534. * src/IteratableChecksumValidator.cc
  4535. * src/IteratableChecksumValidator.h
  4536. * src/IteratableChunkChecksumValidator.cc
  4537. * src/MSEHandshake.cc
  4538. * src/MSEHandshake.h
  4539. * src/Makefile.am
  4540. * src/Makefile.in
  4541. * src/Metalink2RequestGroup.cc
  4542. * src/MetalinkPostDownloadHandler.cc
  4543. * src/MultiDiskAdaptor.cc
  4544. * src/MultiDiskAdaptor.h
  4545. * src/MultiFileAllocationIterator.cc
  4546. * src/MultiUrlRequestInfo.cc
  4547. * src/PeerChokeCommand.cc
  4548. * src/PeerChokeCommand.h
  4549. * src/PeerInitiateConnectionCommand.cc
  4550. * src/PeerInitiateConnectionCommand.h
  4551. * src/PeerInteractionCommand.cc
  4552. * src/PeerInteractionCommand.h
  4553. * src/PeerReceiveHandshakeCommand.cc
  4554. * src/PieceHashCheckIntegrityEntry.cc
  4555. * src/RealtimeCommand.cc
  4556. * src/ReceiverMSEHandshakeCommand.cc
  4557. * src/RequestGroup.cc
  4558. * src/RequestGroup.h
  4559. * src/RequestGroupEntry.cc
  4560. * src/RequestGroupMan.cc
  4561. * src/SeedCheckCommand.cc
  4562. * src/SeedCheckCommand.h
  4563. * src/SegmentMan.cc
  4564. * src/ShareRatioSeedCriteria.h
  4565. * src/SingleFileDownloadContext.cc: Removed
  4566. * src/SingleFileDownloadContext.h: Removed
  4567. * src/SleepCommand.cc
  4568. * src/StreamCheckIntegrityEntry.cc
  4569. * src/TrackerWatcherCommand.cc
  4570. * src/TrackerWatcherCommand.h
  4571. * src/UnknownLengthPieceStorage.cc
  4572. * src/Util.cc
  4573. * src/Util.h
  4574. * src/XmlRpcMethodImpl.cc
  4575. * src/bittorrent_helper.cc
  4576. * src/bittorrent_helper.h
  4577. * src/download_helper.cc
  4578. * src/main.cc
  4579. * src/option_processing.cc
  4580. * test/BitfieldManTest.cc
  4581. * test/BittorrentHelperTest.cc
  4582. * test/BtCancelMessageTest.cc
  4583. * test/BtChokeMessageTest.cc
  4584. * test/BtDependencyTest.cc
  4585. * test/BtPieceMessageTest.cc
  4586. * test/BtPostDownloadHandlerTest.cc
  4587. * test/BtRegistryTest.cc
  4588. * test/BtRejectMessageTest.cc
  4589. * test/BtRequestMessageTest.cc
  4590. * test/DHTPeerAnnounceStorageTest.cc
  4591. * test/DefaultBtAnnounceTest.cc
  4592. * test/DefaultBtContextTest.cc: Removed
  4593. * test/DefaultBtMessageDispatcherTest.cc
  4594. * test/DefaultBtMessageFactoryTest.cc
  4595. * test/DefaultBtProgressInfoFileTest.cc
  4596. * test/DefaultBtRequestFactoryTest.cc
  4597. * test/DefaultExtensionMessageFactoryTest.cc
  4598. * test/DefaultPeerStorageTest.cc
  4599. * test/DefaultPieceStorageTest.cc
  4600. * test/DirectDiskAdaptorTest.cc
  4601. * test/DownloadContextTest.cc
  4602. * test/DownloadHandlerFactoryTest.cc
  4603. * test/DownloadHelperTest.cc
  4604. * test/HandshakeExtensionMessageTest.cc
  4605. * test/HttpRequestTest.cc
  4606. * test/HttpResponseTest.cc
  4607. * test/IteratableChecksumValidatorTest.cc
  4608. * test/IteratableChunkChecksumValidatorTest.cc
  4609. * test/MSEHandshakeTest.cc
  4610. * test/Makefile.am
  4611. * test/Makefile.in
  4612. * test/Metalink2RequestGroupTest.cc
  4613. * test/MetalinkPostDownloadHandlerTest.cc
  4614. * test/MockBtContext.h: Removed
  4615. * test/MockDHTTaskFactory.h
  4616. * test/MockDownloadContext.h: Removed
  4617. * test/MockPieceStorage.h
  4618. * test/MultiDiskAdaptorTest.cc
  4619. * test/MultiFileAllocationIteratorTest.cc
  4620. * test/RequestGroupManTest.cc
  4621. * test/RequestGroupTest.cc
  4622. * test/SegmentManTest.cc
  4623. * test/ShareRatioSeedCriteriaTest.cc
  4624. * test/SingleFileDownloadContextTest.cc: Removed
  4625. * test/UtilTest.cc
  4626. * test/XmlRpcMethodTest.cc
  4627. 2009-06-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4628. Added experimental support of WEB-Seeding for multi-file torrent.
  4629. Due to fundamental changes in file handling in HTTP/FTP code, many
  4630. functions are not working: PeerStat, ServerHost, proxy..etc
  4631. * src/AbstractCommand.cc
  4632. * src/AbstractCommand.h
  4633. * src/BitfieldMan.cc
  4634. * src/BitfieldMan.h
  4635. * src/CreateRequestCommand.cc
  4636. * src/CreateRequestCommand.h
  4637. * src/DefaultPieceStorage.cc
  4638. * src/DefaultPieceStorage.h
  4639. * src/DownloadCommand.cc
  4640. * src/DownloadCommand.h
  4641. * src/DownloadContext.cc
  4642. * src/DownloadContext.h
  4643. * src/FileEntry.cc
  4644. * src/FileEntry.h
  4645. * src/FtpDownloadCommand.cc
  4646. * src/FtpDownloadCommand.h
  4647. * src/FtpFinishDownloadCommand.cc
  4648. * src/FtpFinishDownloadCommand.h
  4649. * src/FtpInitiateConnectionCommand.cc
  4650. * src/FtpInitiateConnectionCommand.h
  4651. * src/FtpNegotiationCommand.cc
  4652. * src/FtpNegotiationCommand.h
  4653. * src/FtpTunnelResponseCommand.cc
  4654. * src/HttpDownloadCommand.cc
  4655. * src/HttpDownloadCommand.h
  4656. * src/HttpInitiateConnectionCommand.cc
  4657. * src/HttpInitiateConnectionCommand.h
  4658. * src/HttpProxyResponseCommand.cc
  4659. * src/HttpRequest.cc
  4660. * src/HttpRequest.h
  4661. * src/HttpRequestCommand.cc
  4662. * src/HttpRequestCommand.h
  4663. * src/HttpResponseCommand.cc
  4664. * src/HttpResponseCommand.h
  4665. * src/HttpSkipResponseCommand.cc
  4666. * src/HttpSkipResponseCommand.h
  4667. * src/InitiateConnectionCommand.cc
  4668. * src/InitiateConnectionCommand.h
  4669. * src/InitiateConnectionCommandFactory.cc
  4670. * src/InitiateConnectionCommandFactory.h
  4671. * src/Makefile.am
  4672. * src/PieceStorage.h
  4673. * src/RequestGroup.cc
  4674. * src/RequestGroup.h
  4675. * src/RequestGroupMan.cc
  4676. * src/SegmentMan.cc
  4677. * src/SegmentMan.h
  4678. * src/SingleFileDownloadContext.h
  4679. * src/StreamFileAllocationEntry.cc
  4680. * src/TrackerWatcherCommand.cc
  4681. * src/UnknownLengthPieceStorage.cc
  4682. * src/UnknownLengthPieceStorage.h
  4683. * src/array_fun.h
  4684. * src/bitfield.h
  4685. * src/download_helper.cc
  4686. * test/DownloadContextTest.cc
  4687. * test/Makefile.am
  4688. * test/MockDownloadContext.h
  4689. 2009-06-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4690. Added tellWaiting XML-RPC method.
  4691. * src/SingleFileDownloadContext.cc
  4692. * src/XmlRpcMethodFactory.cc
  4693. * src/XmlRpcMethodImpl.cc
  4694. * src/XmlRpcMethodImpl.h
  4695. * test/XmlRpcMethodTest.cc
  4696. 2009-06-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4697. Updated CookieStorageTest
  4698. * test/CookieStorageTest.cc
  4699. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4700. In TLSContext::addClientKeyFile() and addTrustedCACertFile(),
  4701. handle excepion inside these functions.
  4702. * src/LibgnutlsTLSContext.cc
  4703. * src/LibgnutlsTLSContext.h
  4704. * src/LibsslTLSContext.cc
  4705. * src/LibsslTLSContext.h
  4706. * src/MultiUrlRequestInfo.cc
  4707. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4708. Added comment
  4709. * src/RequestGroup.cc
  4710. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4711. In CookieStorage::load() and saveNsFormat(), handle exception
  4712. inside the functions. When saving Cookies, first write temporary
  4713. file and after successful writes, then renames it to final
  4714. destination.
  4715. * src/CookieStorage.cc
  4716. * src/CookieStorage.h
  4717. * src/MultiUrlRequestInfo.cc
  4718. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4719. The default value of --dir option is the absolute path to the
  4720. current directory. If getcwd() is failed, then it is ".", which is
  4721. the same value with old implementation. This change is necessary
  4722. because after daemon() call, the current working directory is
  4723. changed to /.
  4724. * src/File.cc
  4725. * src/File.h
  4726. * src/OptionHandlerFactory.cc
  4727. * src/option_processing.cc
  4728. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4729. Call daemon() with arguments(0,0), which means daemon() changes
  4730. current working directory to / and redirects stdin, stdout and
  4731. stderr to /dev/null.
  4732. * src/option_processing.cc
  4733. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4734. Small performance optimizations.
  4735. * src/RequestGroupMan.cc
  4736. 2009-06-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4737. Added _xmlRpc member variable to RequestGroupMan to reduce the
  4738. number of call Option::getAsBool(PREF_ENABLE_XML_RPC)
  4739. * src/RequestGroupMan.cc
  4740. * src/RequestGroupMan.h
  4741. 2009-06-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4742. Call setStatus(STATUS_ONESHOT_REALTIME) from constructor. Call
  4743. setNoWiat(true) if newly created command calls
  4744. setStatus(STATUS_ONESHOT_REALTIME) from its constructor.
  4745. * src/HttpListenCommand.cc
  4746. * src/HttpServerBodyCommand.cc
  4747. * src/HttpServerCommand.cc
  4748. * src/HttpServerResponseCommand.cc
  4749. * src/InitiateConnectionCommand.cc
  4750. * src/RequestGroup.cc
  4751. * src/StreamFileAllocationEntry.cc
  4752. 2009-06-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4753. Removed include vector
  4754. * src/BtRegistry.h
  4755. 2009-06-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4756. Rewritten BtRegistry
  4757. * src/BtRegistry.cc
  4758. * src/BtRegistry.h
  4759. * src/BtSetup.cc
  4760. * src/ConsoleStatCalc.cc
  4761. * src/PeerInteractionCommand.cc
  4762. * src/PeerReceiveHandshakeCommand.cc
  4763. * src/ReceiverMSEHandshakeCommand.cc
  4764. * src/RequestGroup.cc
  4765. * src/XmlRpcMethodImpl.cc
  4766. * test/BtRegistryTest.cc
  4767. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4768. Used array_ptr for savedInfoHash, savedBitfield and pieceBitfield.
  4769. * src/DefaultBtProgressInfoFile.cc
  4770. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4771. Throw an exception if position is less than 0.
  4772. * src/XmlRpcMethodImpl.cc
  4773. * test/XmlRpcMethodTest.cc
  4774. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4775. Use writeFilePath() in ConsoleStatCalc.cc
  4776. * src/ConsoleStatCalc.cc
  4777. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4778. Receive the return value as const reference from
  4779. DownloadContext::getFileEntries().
  4780. * src/DefaultPieceStorage.cc
  4781. * src/RequestGroupMan.cc
  4782. * src/XmlRpcMethodImpl.cc
  4783. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4784. DownloadContext now has _fileEntries so that
  4785. DownloadContext::getFileEntries() can returns its const reference.
  4786. * src/DefaultBtContext.cc
  4787. * src/DefaultBtContext.h
  4788. * src/DownloadContext.cc
  4789. * src/DownloadContext.h
  4790. * src/SingleFileDownloadContext.cc
  4791. * src/SingleFileDownloadContext.h
  4792. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4793. Moved getFirstRequestedFileEntry(), countRequestedFileEntry() and
  4794. writeFilePath() function template from RequestGroupMan.cc to
  4795. FileEntry.h
  4796. * src/FileEntry.h
  4797. * src/RequestGroupMan.cc
  4798. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4799. Documented 'position' parameter is starting from 0 in man page.
  4800. * doc/aria2c.1.txt
  4801. 2009-06-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4802. Updated doc.
  4803. * src/MSEHandshake.cc
  4804. 2009-06-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4805. Removed _acceptFeatures and its accessor functions from
  4806. RequestGroup since they are not used practically.
  4807. * src/HttpRequestCommand.cc
  4808. * src/RequestGroup.cc
  4809. * src/RequestGroup.h
  4810. 2009-06-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4811. Removed member _maxTries from RequestGroup class to avoid
  4812. duplicate option value. Those classes who refer this variable
  4813. should use option value of PREF_MAX_TRIES directly.
  4814. * src/AbstractCommand.cc
  4815. * src/RequestGroup.cc
  4816. * src/RequestGroup.h
  4817. * src/TrackerWatcherCommand.cc
  4818. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4819. * Release 1.4.1
  4820. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4821. Fixed compiler warnings on netbsd
  4822. * src/DHTConnectionImpl.cc
  4823. * src/PeerListenCommand.cc
  4824. * src/PeerSessionResource.cc
  4825. * src/SegmentMan.cc
  4826. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4827. Updated Ukrainian translation. Thanks to all translators.
  4828. * po/uk.po
  4829. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4830. Bump up version number to 1.4.1.
  4831. * configure.ac
  4832. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4833. Added unit tests for strjoin, strconcat and strappend.
  4834. * test/a2functionalTest.cc
  4835. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4836. Rewritten strconcat and strappend using operator+ instead of
  4837. append().
  4838. * src/a2functional.h
  4839. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4840. Compile bencode.cc and BencodeTest.cc only if BitTorrent support
  4841. is enabled.
  4842. * src/Makefile.am
  4843. * test/Makefile.am
  4844. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4845. Added countSeeder() function which counts seeder in the given
  4846. iterator range. Use it in ConsoleStatCalc and XmlRpcMethodImpl.
  4847. * src/ConsoleStatCalc.cc
  4848. * src/Peer.h
  4849. * src/XmlRpcMethodImpl.cc
  4850. * test/PeerTest.cc
  4851. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4852. Documented missing seeder in getPeers xml-rpc method.
  4853. Documented uploadLength and numSeeders.
  4854. * doc/aria2c.1.txt
  4855. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4856. Added uploadLength and numSeeders to the response of tellStatus
  4857. xml-rpc method. Assert that PeerStorage instance is not null
  4858. instead of checking if statement. It should be non-null in this
  4859. context.
  4860. * src/XmlRpcMethodImpl.cc
  4861. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4862. Use htmlEscape instead of xmlEscape. Removed static function xmlEscape.
  4863. * src/XmlRpcResponse.cc
  4864. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4865. Avoid intermediate object during string concatenation.
  4866. * src/HttpRequest.cc
  4867. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4868. Added strjoin function template. Use it in pathJoin()
  4869. * src/Util.h
  4870. * src/a2functional.h
  4871. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4872. Avoid intermediate object during string concatenation. Replaced
  4873. post-increment unary operator with pre-increment one in for loop.
  4874. * src/AdaptiveURISelector.cc
  4875. * src/AnnounceList.cc
  4876. * src/AuthConfig.h
  4877. * src/BtBitfieldMessage.cc
  4878. * src/BtExtendedMessage.cc
  4879. * src/BtHandshakeMessage.cc
  4880. * src/BtPieceMessage.cc
  4881. * src/BtPortMessage.cc
  4882. * src/Cookie.cc
  4883. * src/DHTAnnouncePeerMessage.cc
  4884. * src/DHTAutoSaveCommand.cc
  4885. * src/DHTGetPeersReplyMessage.cc
  4886. * src/DHTNode.cc
  4887. * src/DHTQueryMessage.cc
  4888. * src/DHTResponseMessage.cc
  4889. * src/DHTUnknownMessage.cc
  4890. * src/DefaultBtAnnounce.cc
  4891. * src/DefaultBtContext.cc
  4892. * src/DefaultBtInteractive.cc
  4893. * src/DefaultBtProgressInfoFile.cc
  4894. * src/DefaultPeerStorage.cc
  4895. * src/DownloadEngine.cc
  4896. * src/FeatureConfig.cc
  4897. * src/File.cc
  4898. * src/FtpConnection.cc
  4899. * src/FtpNegotiationCommand.cc
  4900. * src/HandshakeExtensionMessage.cc
  4901. * src/HttpConnection.cc
  4902. * src/HttpRequest.cc
  4903. * src/HttpResponseCommand.cc
  4904. * src/HttpServer.cc
  4905. * src/IndexBtMessage.cc
  4906. * src/Metalink2RequestGroup.cc
  4907. * src/OptionHandlerImpl.h
  4908. * src/PStringBuildVisitor.cc
  4909. * src/Peer.cc
  4910. * src/PeerListenCommand.cc
  4911. * src/Piece.cc
  4912. * src/RangeBtMessage.cc
  4913. * src/Request.cc
  4914. * src/Request.h
  4915. * src/RequestGroup.cc
  4916. * src/RequestGroupMan.cc
  4917. * src/ServerStat.cc
  4918. * src/ServerStatMan.cc
  4919. * src/UTPexExtensionMessage.cc
  4920. * src/Util.cc
  4921. * src/a2functional.h
  4922. * src/download_helper.cc
  4923. * src/messageDigest.cc
  4924. 2009-06-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4925. Unchoke a peer randomly at first and second choke round in seed
  4926. state.
  4927. * src/BtSeederStateChoke.cc
  4928. 2009-06-02 Ross Smith II <aria2spam at smithii dot com>
  4929. Added (sock_t) to quiet compiler warnings in MinGW
  4930. * src/SocketCore.cc
  4931. * src/SocketCore.h
  4932. 2009-06-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4933. Added missing #ifdef ENABLE_ASYNC_DNS guard.
  4934. * src/EpollEventPoll.h
  4935. 2009-06-01 Ross Smith II <aria2spam at smithii dot com>
  4936. Added fork() emulation using CreateProcess() in MinGW
  4937. * src/RequestGroupMan.cc
  4938. 2009-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4939. * Release 1.4.0
  4940. 2009-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4941. Added utf8.torrent to EXTRA_DIST
  4942. * test/Makefile.am
  4943. 2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4944. Fixed docs of aria2.addMetalink xml-rpc method.
  4945. * doc/aria2c.1.txt
  4946. 2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4947. Added Slovak translation. Updated Ukrainian and Brazilian
  4948. Portuguese translation. Thanks to all translators.
  4949. * po/sk.po
  4950. * po/uk.po
  4951. * po/pt_BR.po
  4952. * po/LINGUAS
  4953. 2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4954. Added test case for XmlRpcProcessor to fail to parse malformed
  4955. document.
  4956. * test/XmlRpcRequestProcessorTest.cc
  4957. 2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4958. Removed *.gmo files in po because they are generated on 'make
  4959. dist'
  4960. * po/*.gmo
  4961. 2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4962. Documented max-concurrent-downloads of changeGlobalOption method
  4963. in man page.
  4964. * doc/aria2c.1.txt
  4965. 2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4966. Added max-concurrent-downloads option to changeGlobalOption
  4967. xml-rpc method. Rewritten loop conditional in
  4968. RequestGroupMan::fillRequestGroupFromReserver().
  4969. * src/RequestGroupMan.cc
  4970. * src/RequestGroupMan.h
  4971. * src/XmlRpcMethod.cc
  4972. * src/XmlRpcMethodImpl.cc
  4973. 2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4974. Documented position parameter in man page.
  4975. * doc/aria2c.1.txt
  4976. 2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4977. Added 'position' parameter to addUri, addTorrent and addMetalink
  4978. xml-rpc method.
  4979. * src/RequestGroupMan.cc
  4980. * src/RequestGroupMan.h
  4981. * src/XmlRpcMethodImpl.cc
  4982. * test/XmlRpcMethodTest.cc
  4983. 2009-05-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4984. Removed Peer.cc from compile source list when --disable-bittorrent
  4985. is specified. Added #ifdef ENABLE_BITTORRENT guard to methods that
  4986. takes Peer.
  4987. * src/DefaultPieceStorage.cc
  4988. * src/DefaultPieceStorage.h
  4989. * src/Makefile.am
  4990. * src/PieceStorage.h
  4991. * src/UnknownLengthPieceStorage.cc
  4992. * src/UnknownLengthPieceStorage.h
  4993. * test/MockPieceStorage.h
  4994. 2009-05-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4995. Implemented getter methods in header files to give them more
  4996. chance of optimization.
  4997. Return const reference for SharadHandle if possible.
  4998. * src/AbstractAuthResolver.cc
  4999. * src/AbstractAuthResolver.h
  5000. * src/AbstractBtMessage.cc
  5001. * src/AbstractBtMessage.h
  5002. * src/AbstractSingleDiskAdaptor.cc
  5003. * src/AbstractSingleDiskAdaptor.h
  5004. * src/AsyncNameResolver.cc
  5005. * src/AsyncNameResolver.h
  5006. * src/BNode.cc
  5007. * src/BNode.h
  5008. * src/BitfieldMan.cc
  5009. * src/BitfieldMan.h
  5010. * src/BtAbortOutstandingRequestEvent.h
  5011. * src/BtExtendedMessage.cc
  5012. * src/BtExtendedMessage.h
  5013. * src/BtSeederStateChoke.cc
  5014. * src/BtSeederStateChoke.h
  5015. * src/Cookie.cc
  5016. * src/Cookie.h
  5017. * src/DHTBucket.cc
  5018. * src/DHTBucket.h
  5019. * src/DHTConnectionImpl.cc
  5020. * src/DHTConnectionImpl.h
  5021. * src/DHTFindNodeReplyMessage.cc
  5022. * src/DHTFindNodeReplyMessage.h
  5023. * src/DHTGetPeersReplyMessage.cc
  5024. * src/DHTGetPeersReplyMessage.h
  5025. * src/DHTInteractionCommand.cc
  5026. * src/DHTMessage.cc
  5027. * src/DHTMessage.h
  5028. * src/DHTMessageDispatcherImpl.cc
  5029. * src/DHTMessageEntry.cc
  5030. * src/DHTMessageReceiver.cc
  5031. * src/DHTMessageReceiver.h
  5032. * src/DHTMessageTrackerEntry.cc
  5033. * src/DHTMessageTrackerEntry.h
  5034. * src/DHTPeerAnnounceEntry.cc
  5035. * src/DHTPeerAnnounceEntry.h
  5036. * src/DHTPeerLookupTask.cc
  5037. * src/DHTPeerLookupTask.h
  5038. * src/DHTRoutingTableDeserializer.cc
  5039. * src/DHTRoutingTableDeserializer.h
  5040. * src/DefaultBtAnnounce.cc
  5041. * src/DefaultBtAnnounce.h
  5042. * src/DefaultBtMessageDispatcher.cc
  5043. * src/DefaultBtMessageDispatcher.h
  5044. * src/DefaultBtRequestFactory.cc
  5045. * src/DefaultBtRequestFactory.h
  5046. * src/DiskAdaptor.cc
  5047. * src/DiskAdaptor.h
  5048. * src/DownloadContext.cc
  5049. * src/DownloadContext.h
  5050. * src/DownloadEngine.cc
  5051. * src/DownloadEngine.h
  5052. * src/EpollEventPoll.cc
  5053. * src/EpollEventPoll.h
  5054. * src/FtpConnection.cc
  5055. * src/FtpConnection.h
  5056. * src/HttpConnection.cc
  5057. * src/HttpConnection.h
  5058. * src/HttpHeader.cc
  5059. * src/HttpHeader.h
  5060. * src/HttpRequest.cc
  5061. * src/HttpRequest.h
  5062. * src/HttpResponse.cc
  5063. * src/HttpResponse.h
  5064. * src/LibsslTLSContext.cc
  5065. * src/LibsslTLSContext.h
  5066. * src/MSEHandshake.cc
  5067. * src/MSEHandshake.h
  5068. * src/MetalinkEntry.cc
  5069. * src/MetalinkEntry.h
  5070. * src/MetalinkParserController.cc
  5071. * src/MetalinkParserController.h
  5072. * src/MetalinkParserStateMachine.cc
  5073. * src/MetalinkParserStateMachine.h
  5074. * src/MultiDiskAdaptor.cc
  5075. * src/MultiDiskAdaptor.h
  5076. * src/NetrcAuthResolver.cc
  5077. * src/NetrcAuthResolver.h
  5078. * src/Peer.cc
  5079. * src/Peer.h
  5080. * src/PeerSessionResource.cc
  5081. * src/PeerSessionResource.h
  5082. * src/Piece.cc
  5083. * src/Piece.h
  5084. * src/PieceStatMan.cc
  5085. * src/PieceStatMan.h
  5086. * src/Request.cc
  5087. * src/Request.h
  5088. * src/RequestGroup.cc
  5089. * src/RequestGroup.h
  5090. * src/RequestGroupMan.cc
  5091. * src/RequestGroupMan.h
  5092. * src/RequestSlot.cc
  5093. * src/RequestSlot.h
  5094. * src/SegmentMan.cc
  5095. * src/SegmentMan.h
  5096. * src/SelectEventPoll.cc
  5097. * src/SelectEventPoll.h
  5098. * src/ServerStat.cc
  5099. * src/ServerStat.h
  5100. * src/Signature.cc
  5101. * src/Signature.h
  5102. * src/URIResult.cc
  5103. * src/URIResult.h
  5104. * src/UTPexExtensionMessage.cc
  5105. * src/UTPexExtensionMessage.h
  5106. 2009-05-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5107. Fixed compile error without BitTorrent and Metalink support.
  5108. * src/XmlRpcMethod.cc
  5109. * src/XmlRpcMethodFactory.cc
  5110. * src/XmlRpcMethodImpl.cc
  5111. * src/XmlRpcMethodImpl.h
  5112. * test/XmlRpcMethodTest.cc
  5113. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5114. Rewritten the help message for --allow-overwrite option.
  5115. * doc/aria2c.1.txt
  5116. * src/usage_text.h
  5117. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5118. Fixed typo
  5119. * doc/aria2c.1.txt
  5120. * src/usage_text.h
  5121. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5122. Updated README for 1.4.0 release. Use new table syntax of
  5123. asciidoc.
  5124. * README
  5125. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5126. Documented --xml-rpc-max-request-size option in man page.
  5127. * doc/aria2c.1.txt
  5128. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5129. Moved C_* constants from BtContext to DefaultBtContext.
  5130. * src/BtContext.cc: Removed.
  5131. * src/BtContext.h
  5132. * src/DefaultBtContext.cc
  5133. * src/DefaultBtContext.h
  5134. * src/Makefile.am
  5135. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5136. Use name.utf-8 and path.utf-8 key in higher priority than name and
  5137. path key respectively when persing .torrent file.
  5138. * src/BtContext.cc
  5139. * src/BtContext.h
  5140. * src/DefaultBtContext.cc
  5141. * test/DefaultBtContextTest.cc
  5142. * test/utf8.torrent
  5143. 2009-05-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5144. Added --xml-rpc-max-request-size option to limit the size of
  5145. XML-RPC request.
  5146. 2009-05-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5147. Documented XML-RPC API in man page.
  5148. * doc/aria2c.1.txt
  5149. 2009-05-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5150. Fixed g++-4.4 compiler warning: dereferencing type-punned pointer
  5151. will break strict-aliasing rules
  5152. * src/PeerConnection.cc
  5153. * test/DHTRoutingTableSerializerTest.cc
  5154. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5155. Removed PKG_CONFIG variable in sqlite3.m4, which conflicts the
  5156. variable in pkg.m4. Use PKG_CHECK_MODULES instead of hand-crafted
  5157. scripts. Renamed SQLITE3_CPPFLAGS as SQLITE3_CFLAGS since
  5158. PKG_CHECK_MODULES macro uses latter name.
  5159. * m4/sqlite3.m4
  5160. * src/Makefile.am
  5161. * test/Makefile.am
  5162. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5163. Fixed typo
  5164. * configure.ac
  5165. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5166. Since upcoming libgnutls 2.8 doesn't have libgnutls-config, Check
  5167. presence of libgnutls using pkg-config first. If it fails, fall
  5168. back to old macro libgnutls.m4.
  5169. * configure.ac
  5170. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5171. Use s itself instead of !s.bad()
  5172. * src/CookieStorage.cc
  5173. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5174. Documented --on-download-* option and --save-cookies option in man
  5175. page.
  5176. * doc/aria2c.1.txt
  5177. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5178. Set possible values for --load-cookie option to "/path/to/file".
  5179. * src/OptionHandlerFactory.cc
  5180. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5181. Added --save-cookies option.
  5182. * src/Cookie.cc
  5183. * src/Cookie.h
  5184. * src/CookieStorage.cc
  5185. * src/CookieStorage.h
  5186. * src/MultiUrlRequestInfo.cc
  5187. * src/OptionHandlerFactory.cc
  5188. * src/prefs.cc
  5189. * src/prefs.h
  5190. * src/usage_text.h
  5191. * test/CookieStorageTest.cc
  5192. * test/CookieTest.cc
  5193. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5194. Removed tellAll XML-RPC command because its reponse tends to be
  5195. big if stopped/waiting downloads pile up.
  5196. * src/XmlRpcMethodFactory.cc
  5197. * src/XmlRpcMethodImpl.cc
  5198. * src/XmlRpcMethodImpl.h
  5199. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5200. Added the ability to execute command when download starts and
  5201. stops. You can also specify command for particular cases such as
  5202. complete/error download. Added --on-download-start,
  5203. --on-download-stop, --on-download-complete and --on-download-error
  5204. option.
  5205. * src/OptionHandlerFactory.cc
  5206. * src/RequestGroupMan.cc
  5207. * src/prefs.cc
  5208. * src/prefs.h
  5209. * src/usage_text.h
  5210. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5211. Fixed test error
  5212. * test/BencodeTest.cc
  5213. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5214. Added unit tests.
  5215. * test/XmlRpcMethodTest.cc
  5216. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5217. Made exception message more verbose.
  5218. * src/bencode.cc
  5219. 2009-05-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5220. Abbreviated KiB/s to KiBs and its precision decreased to 1 to save
  5221. space in console readout. Also they are now shown in MiB/s if
  5222. speed > 1024KiB/s.
  5223. * src/ConsoleStatCalc.cc
  5224. 2009-05-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5225. Added SEED to console output, which represents the number of
  5226. seeders currently the client is connecting to.
  5227. * src/ConsoleStatCalc.cc
  5228. * src/ConsoleStatCalc.h
  5229. * src/DownloadEngine.cc
  5230. * src/NullStatCalc.h
  5231. * src/StatCalc.h
  5232. 2009-05-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5233. Added source filename(__FILE__) and line number(__LINE__) to
  5234. exception message.
  5235. * src/AbstractCommand.cc
  5236. * src/AbstractDiskWriter.cc
  5237. * src/AbstractProxyResponseCommand.cc
  5238. * src/BDE.h
  5239. * src/BtAllowedFastMessage.cc
  5240. * src/BtHandshakeMessageValidator.h
  5241. * src/BtHaveAllMessage.cc
  5242. * src/BtHaveNoneMessage.cc
  5243. * src/BtPieceMessage.cc
  5244. * src/BtRejectMessage.cc
  5245. * src/ChunkedDecoder.cc
  5246. * src/CookieStorage.cc
  5247. * src/DHTAnnouncePeerMessage.cc
  5248. * src/DHTEntryPointNameResolveCommand.cc
  5249. * src/DHTMessageFactoryImpl.cc
  5250. * src/DHTMessageTracker.cc
  5251. * src/DHTRoutingTableDeserializer.cc
  5252. * src/DHTRoutingTableSerializer.cc
  5253. * src/DHTSetup.cc
  5254. * src/DHTTokenTracker.cc
  5255. * src/DefaultBtAnnounce.cc
  5256. * src/DefaultBtContext.cc
  5257. * src/DefaultBtInteractive.cc
  5258. * src/DefaultBtMessageFactory.cc
  5259. * src/DefaultBtProgressInfoFile.cc
  5260. * src/DefaultExtensionMessageFactory.cc
  5261. * src/DlAbortEx.h
  5262. * src/DlRetryEx.h
  5263. * src/DownloadCommand.cc
  5264. * src/DownloadEngineFactory.cc
  5265. * src/DownloadFailureException.h
  5266. * src/Exception.cc
  5267. * src/Exception.h
  5268. * src/ExpatMetalinkProcessor.cc
  5269. * src/ExpatXmlRpcRequestProcessor.cc
  5270. * src/FallocFileAllocationIterator.cc
  5271. * src/FatalException.h
  5272. * src/FtpConnection.cc
  5273. * src/FtpFinishDownloadCommand.cc
  5274. * src/FtpInitiateConnectionCommand.cc
  5275. * src/FtpNegotiationCommand.cc
  5276. * src/GZipDecoder.cc
  5277. * src/HandshakeExtensionMessage.cc
  5278. * src/HttpConnection.cc
  5279. * src/HttpHeaderProcessor.cc
  5280. * src/HttpInitiateConnectionCommand.cc
  5281. * src/HttpResponse.cc
  5282. * src/HttpResponseCommand.cc
  5283. * src/HttpServer.cc
  5284. * src/HttpSkipResponseCommand.cc
  5285. * src/InitiateConnectionCommandFactory.cc
  5286. * src/IteratableChunkChecksumValidator.cc
  5287. * src/LibgcryptARC4Context.h
  5288. * src/LibgcryptARC4Decryptor.h
  5289. * src/LibgcryptARC4Encryptor.h
  5290. * src/LibgcryptDHKeyExchange.h
  5291. * src/LibgnutlsTLSContext.cc
  5292. * src/LibsslARC4Context.h
  5293. * src/LibsslARC4Decryptor.h
  5294. * src/LibsslARC4Encryptor.h
  5295. * src/LibsslDHKeyExchange.h
  5296. * src/LibsslTLSContext.cc
  5297. * src/MSEHandshake.cc
  5298. * src/MessageDigestHelper.cc
  5299. * src/MetalinkHelper.cc
  5300. * src/MultiDiskAdaptor.cc
  5301. * src/NameMatchOptionHandler.h
  5302. * src/NameResolver.cc
  5303. * src/Netrc.cc
  5304. * src/NsCookieParser.cc
  5305. * src/OptionHandlerException.cc
  5306. * src/OptionHandlerException.h
  5307. * src/OptionHandlerImpl.h
  5308. * src/OptionParser.cc
  5309. * src/ParameterizedStringParser.cc
  5310. * src/PeerAbstractCommand.cc
  5311. * src/PeerConnection.cc
  5312. * src/PeerMessageUtil.cc
  5313. * src/PeerReceiveHandshakeCommand.cc
  5314. * src/Platform.cc
  5315. * src/ReceiverMSEHandshakeCommand.cc
  5316. * src/RecoverableException.h
  5317. * src/RequestGroup.cc
  5318. * src/SimpleLogger.cc
  5319. * src/SocketCore.cc
  5320. * src/Sqlite3MozCookieParser.cc
  5321. * src/UTPexExtensionMessage.cc
  5322. * src/Util.cc
  5323. * src/XML2SAXMetalinkProcessor.cc
  5324. * src/Xml2XmlRpcRequestProcessor.cc
  5325. * src/XmlRpcMethodImpl.cc
  5326. * src/bencode.cc
  5327. * src/download_helper.cc
  5328. * src/messageDigest.h
  5329. * test/ExceptionTest.cc
  5330. * test/TestUtil.cc
  5331. 2009-05-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5332. Bump up version number to 1.4.0
  5333. * configure.ac
  5334. 2009-05-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5335. Added 2files.metalink to EXTRA_DIST
  5336. * test/Makefile.am
  5337. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5338. Added missing 2files.metalink
  5339. * test/2files.metalink
  5340. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5341. Show "[MEMORY]" prefix before filename in download summary if it
  5342. is downloaded into memory.
  5343. * src/DownloadResult.h
  5344. * src/RequestGroup.cc
  5345. * src/RequestGroupMan.cc
  5346. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5347. Defined MSG_CANNOT_PARSE_XML_RPC_REQUEST
  5348. * src/ExpatXmlRpcRequestProcessor.cc
  5349. * src/Xml2XmlRpcRequestProcessor.cc
  5350. * src/message.h
  5351. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5352. Defined const BDEs to avoid duplicate instantiation.
  5353. Defined MSG_GID_NOT_PROVIDED.
  5354. * src/XmlRpcMethodImpl.cc
  5355. * src/message.h
  5356. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5357. Code cleanup
  5358. * src/Xml2XmlRpcRequestProcessor.cc
  5359. * src/Xml2XmlRpcRequestProcessor.h
  5360. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5361. Defined ENABLE_XML_RPC
  5362. * configure.ac
  5363. * configure
  5364. * config.h.in
  5365. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5366. Added ExpatXmlRpcRequestProcessor
  5367. * src/ExpatXmlRpcRequestProcessor.cc
  5368. * src/ExpatXmlRpcRequestProcessor.h
  5369. * src/Makefile.am
  5370. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5371. Added tests for addTorrent and addMetalink command.
  5372. * test/TestUtil.cc
  5373. * test/TestUtil.h
  5374. * test/XmlRpcMethodTest.cc
  5375. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5376. Corrected the description of --file-allocation option.
  5377. * doc/aria2c.1.txt
  5378. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5379. Added tellAll command.
  5380. * src/XmlRpcMethodFactory.cc
  5381. * src/XmlRpcMethodImpl.cc
  5382. * src/XmlRpcMethodImpl.h
  5383. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5384. Use gatherProgress() in TellActiveXmlRpcMethod::process().
  5385. * src/XmlRpcMethodImpl.cc
  5386. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5387. Added changeGlobalOption command. Currently,
  5388. max-overall-download-limit and max-overall-upload-limit option are
  5389. available.
  5390. * src/RequestGroupMan.h
  5391. * src/XmlRpcMethod.cc
  5392. * src/XmlRpcMethod.h
  5393. * src/XmlRpcMethodFactory.cc
  5394. * src/XmlRpcMethodImpl.cc
  5395. * src/XmlRpcMethodImpl.h
  5396. * test/XmlRpcMethodTest.cc
  5397. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5398. Added changeOption command. Currently, max-download-limit,
  5399. max-upload-limit option are available in this command.
  5400. * src/RequestGroup.h
  5401. * src/XmlRpcMethod.cc
  5402. * src/XmlRpcMethod.h
  5403. * src/XmlRpcMethodFactory.cc
  5404. * src/XmlRpcMethodImpl.cc
  5405. * src/XmlRpcMethodImpl.h
  5406. * test/XmlRpcMethodTest.cc
  5407. 2009-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5408. Added purgeDownloadResult command.
  5409. * src/RequestGroupMan.cc
  5410. * src/RequestGroupMan.h
  5411. * src/XmlRpcMethodFactory.cc
  5412. * src/XmlRpcMethodImpl.cc
  5413. * src/XmlRpcMethodImpl.h
  5414. 2009-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5415. Refactored.
  5416. * src/XmlRpcMethod.cc
  5417. 2009-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5418. Added XmlRpcResponse class. XmlRpcMethod::execute() now returns
  5419. XmlRpcResponse.
  5420. * src/HttpServerBodyCommand.cc
  5421. * src/Makefile.am
  5422. * src/XmlRpcMethod.cc
  5423. * src/XmlRpcMethod.h
  5424. * src/XmlRpcMethodImpl.cc
  5425. * src/XmlRpcResponse.cc
  5426. * src/XmlRpcResponse.h
  5427. * test/XmlRpcMethodTest.cc
  5428. 2009-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5429. In XML-RPC option struct, header and index-out option can take
  5430. array as value.
  5431. * src/XmlRpcMethod.cc
  5432. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5433. Removed unused option member from PeerConnection.
  5434. * src/InitiatorMSEHandshakeCommand.cc
  5435. * src/PeerConnection.cc
  5436. * src/PeerConnection.h
  5437. * src/PeerInteractionCommand.cc
  5438. * src/PeerReceiveHandshakeCommand.cc
  5439. * src/ReceiverMSEHandshakeCommand.cc
  5440. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5441. Added "seeder" key to getPeers response.
  5442. * src/XmlRpcMethodImpl.cc
  5443. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5444. Added addMetalink XML-RPC command.
  5445. * src/XmlRpcMethodFactory.cc
  5446. * src/XmlRpcMethodImpl.cc
  5447. * src/XmlRpcMethodImpl.h
  5448. * src/download_helper.cc
  5449. * src/download_helper.h
  5450. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5451. Fixed the bug that POU peers are never choked in seeding.
  5452. * src/BtSeederStateChoke.cc
  5453. * src/BtSeederStateChoke.h
  5454. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5455. Added web-seeding URI handling in addTorrent command.
  5456. * src/XmlRpcMethodImpl.cc
  5457. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5458. Added "length" key to getFiles response.
  5459. * src/XmlRpcMethodImpl.cc
  5460. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5461. Moved --no-netrc option from ftp option section to http/ftp option
  5462. section.
  5463. * doc/aria2c.1.txt
  5464. * src/OptionHandlerFactory.cc
  5465. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5466. Removed garbage "\" character before '
  5467. * doc/aria2c.1.txt
  5468. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5469. Removed garbage "\" character before http.
  5470. * doc/aria2c.1.txt
  5471. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5472. Documented additional options that can be specified in -i list.
  5473. Documented --enable-xml-rpc, --xml-rpc-listen-port, --xml-rpc-user
  5474. and --xml-rpc-passwd. Removed --enable-http-server and
  5475. --http-server-listen-port.
  5476. * doc/aria2c.1.txt
  5477. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5478. Added "downloadSpeed" and uploadSpeed" key in getPeers response.
  5479. * src/DefaultPeerStorage.cc
  5480. * src/DefaultPeerStorage.h
  5481. * src/PeerStorage.h
  5482. * src/XmlRpcMethodImpl.cc
  5483. * test/MockPeerStorage.h
  5484. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5485. Put a call to Socket::isReadable() in try block.
  5486. * src/HttpServerBodyCommand.cc
  5487. * src/HttpServerCommand.cc
  5488. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5489. Fixed segmentation fault error. SocketBuffer::sendResponse() may throw
  5490. exception , so it is now in try block.
  5491. * src/HttpServerResponseCommand.cc
  5492. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5493. Added "amChoking" and "peerChoking" key in getPeers response.
  5494. * src/XmlRpcMethodImpl.cc
  5495. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5496. Added test case for zero-length filter.
  5497. * test/BitfieldManTest.cc
  5498. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5499. getFiles command now returns file data for finished/stopped
  5500. downloads.
  5501. * src/XmlRpcMethodImpl.cc
  5502. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5503. DownloadResult now has the list of FileEntry. The download
  5504. summary displays the path of first selected file and the number of
  5505. remaining files for multi-file torrent.
  5506. * src/DownloadResult.h
  5507. * src/RequestGroup.cc
  5508. * src/RequestGroupMan.cc
  5509. * test/RequestGroupTest.cc
  5510. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5511. Fixed segmentation fault error when no file is selected in
  5512. multi-file torrent.
  5513. * src/BitfieldMan.cc
  5514. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5515. Escaped <,>,& character in XML-RPC response.
  5516. * src/XmlRpcMethod.cc
  5517. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5518. Throw DlAbortEx instead of FatalException during parsing options
  5519. because we don't want for aria2 to quit when bad option is passed
  5520. via XML-RPC.
  5521. * src/OptionHandlerException.cc
  5522. * src/OptionHandlerException.h
  5523. * src/OptionHandlerImpl.h
  5524. * src/OptionParser.cc
  5525. * src/OptionParser.h
  5526. * src/PStringSegment.cc
  5527. * src/ParameterizedStringParser.cc
  5528. * src/download_helper.cc
  5529. * test/ParameterizedStringParserTest.cc
  5530. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5531. Selecting files are now done in
  5532. DefaultBtContext::setFileFileter().
  5533. PieceStorage::setFileFilter(), DiskAdaptor::addDownloadEntry()
  5534. functions are removed because they are no longer used. Creating
  5535. filter in BitfieldMan is done in new funtion
  5536. PieceStorage::setupFileFilter()
  5537. * src/BtContext.cc
  5538. * src/BtContext.h
  5539. * src/DefaultBtContext.cc
  5540. * src/DefaultBtContext.h
  5541. * src/DefaultPieceStorage.cc
  5542. * src/DefaultPieceStorage.h
  5543. * src/DiskAdaptor.cc
  5544. * src/DiskAdaptor.h
  5545. * src/PieceStorage.h
  5546. * src/RequestGroup.cc
  5547. * src/UnknownLengthPieceStorage.h
  5548. * src/XmlRpcMethodImpl.cc
  5549. * test/DefaultBtContextTest.cc
  5550. * test/MockBtContext.h
  5551. * test/MockPieceStorage.h
  5552. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5553. Fixed compile error on Mac OS X
  5554. * src/HttpServer.cc
  5555. * src/XmlRpcMethod.h
  5556. * src/XmlRpcMethodImpl.cc
  5557. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5558. Use std::binary_search instead of std::find
  5559. * src/DefaultPieceStorage.cc
  5560. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5561. Removed unnecessary BDE() call; leave them to implicit conversion.
  5562. * src/XmlRpcMethodImpl.cc
  5563. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5564. Return connections and gid in string
  5565. * src/XmlRpcMethodImpl.cc
  5566. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5567. Renamed addURI as addUri
  5568. * src/XmlRpcMethodFactory.cc
  5569. * src/XmlRpcMethodImpl.cc
  5570. * src/XmlRpcMethodImpl.h
  5571. * test/XmlRpcMethodTest.cc
  5572. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5573. Renamed addTorrentFile as addTorrent
  5574. * src/XmlRpcMethodFactory.cc
  5575. * src/XmlRpcMethodImpl.cc
  5576. * src/XmlRpcMethodImpl.h
  5577. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5578. The information for files, URIs, peers are removed from the
  5579. reponse of TellaActive, TellStatus command because they tend to be
  5580. large. Instead they can be retrieved by the dedicated commands:
  5581. getFiles, getUris and getPeers respectively.
  5582. * src/XmlRpcMethodFactory.cc
  5583. * src/XmlRpcMethodImpl.cc
  5584. * src/XmlRpcMethodImpl.h
  5585. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5586. Removed --max-overall-upload-limit and
  5587. --max-overall-download-limit option from listRequestOptions.
  5588. * src/download_helper.cc
  5589. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5590. Log incoming host in HttpListenCommand.
  5591. * src/HttpListenCommand.cc
  5592. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5593. Added BASIC authentication for XML-RPC. Added --xml-rpc-user and
  5594. --xml-rpc-passwd option.
  5595. * src/HttpServer.cc
  5596. * src/HttpServer.h
  5597. * src/HttpServerCommand.cc
  5598. * src/OptionHandlerFactory.cc
  5599. * src/prefs.cc
  5600. * src/prefs.h
  5601. * src/usage_text.h
  5602. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5603. Fixed the bug that SocketCore::isReadable() prevents aria2 from
  5604. processing 0 length request.
  5605. * src/HttpServerBodyCommand.cc
  5606. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5607. Removed --enable-http-server and --http-server-listen-port
  5608. options. Added --enable-xml-rpc and --xml-rpc-listen-port
  5609. instead. The original feature for --enable-http-server that
  5610. reports download progress in HTML was officially removed. Persist
  5611. XML-RPC connection if client supports keep-alive.
  5612. * src/DownloadEngineFactory.cc
  5613. * src/HttpServerCommand.cc
  5614. * src/HttpServerResponseCommand.cc
  5615. * src/Makefile.am
  5616. * src/Makefile.in
  5617. * src/OptionHandlerFactory.cc
  5618. * src/RequestGroupMan.cc
  5619. * src/main.cc
  5620. * src/option_processing.cc
  5621. * src/prefs.cc
  5622. * src/prefs.h
  5623. * src/usage_text.h
  5624. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5625. Added "uris" key to the response of tellStatus command. Added
  5626. "connections" key to the response of tellStatus and tellActive
  5627. command.
  5628. * src/XmlRpcMethodImpl.cc
  5629. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5630. Renamed TellActiveStatusXmlRpcMethod as TellActiveXmlRpcMethod.
  5631. Added TellStatusXmlRpcMethod. Remove command can now remove
  5632. waiting RequestGroup.
  5633. * src/RequestGroupMan.cc
  5634. * src/RequestGroupMan.h
  5635. * src/XmlRpcMethodFactory.cc
  5636. * src/XmlRpcMethodImpl.cc
  5637. * src/XmlRpcMethodImpl.h
  5638. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5639. Initialized _peerId
  5640. * src/Peer.cc
  5641. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5642. Return fault structure for error. FailXmlRpcMethod is renamed as
  5643. NoSuchMethodXmlRpcMethod. pieceLength and numPieces are returned
  5644. in non-torrent download. Return single param value.
  5645. * src/XmlRpcMethod.cc
  5646. * src/XmlRpcMethodFactory.cc
  5647. * src/XmlRpcMethodImpl.cc
  5648. * src/XmlRpcMethodImpl.h
  5649. * test/XmlRpcMethodTest.cc
  5650. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5651. Set DownloadResult::IN_PROGRESS for downloads removed by xml-rpc
  5652. command.
  5653. * src/RequestGroup.cc
  5654. * src/RequestGroup.h
  5655. * src/RequestGroupMan.cc
  5656. * src/XmlRpcMethodImpl.cc
  5657. * test/RequestGroupTest.cc
  5658. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5659. Added more options that can be specified in -i list and xml-rpc
  5660. add* command.
  5661. * src/download_helper.h
  5662. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5663. The available options in -i list should be listed in
  5664. listRequestOptions().
  5665. * src/download_helper.cc
  5666. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5667. Added infoHash, pieceLength, numPieces value for tellActiveStatus
  5668. command.
  5669. * src/XmlRpcMethodImpl.cc
  5670. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5671. Now RequestGroup has its own copy of Option object. This will help
  5672. to give custom option for each RequestGroup.
  5673. addTorrentFile command now takes options.
  5674. * src/AbstractCommand.cc
  5675. * src/AbstractCommand.h
  5676. * src/AbstractProxyRequestCommand.cc
  5677. * src/ActivePeerConnectionCommand.cc
  5678. * src/ActivePeerConnectionCommand.h
  5679. * src/AdaptiveURISelector.cc
  5680. * src/BtCheckIntegrityEntry.cc
  5681. * src/BtDependency.cc
  5682. * src/BtDependency.h
  5683. * src/BtFileAllocationEntry.cc
  5684. * src/BtPostDownloadHandler.cc
  5685. * src/CheckIntegrityEntry.cc
  5686. * src/DownloadCommand.cc
  5687. * src/FtpDownloadCommand.cc
  5688. * src/FtpFinishDownloadCommand.cc
  5689. * src/FtpInitiateConnectionCommand.cc
  5690. * src/FtpNegotiationCommand.cc
  5691. * src/HttpInitiateConnectionCommand.cc
  5692. * src/HttpRequestCommand.cc
  5693. * src/HttpResponseCommand.cc
  5694. * src/HttpSkipResponseCommand.cc
  5695. * src/InitiateConnectionCommand.cc
  5696. * src/InitiateConnectionCommandFactory.cc
  5697. * src/InitiatorMSEHandshakeCommand.cc
  5698. * src/InitiatorMSEHandshakeCommand.h
  5699. * src/Metalink2RequestGroup.cc
  5700. * src/Metalink2RequestGroup.h
  5701. * src/MetalinkPostDownloadHandler.cc
  5702. * src/MultiUrlRequestInfo.cc
  5703. * src/MultiUrlRequestInfo.h
  5704. * src/PeerAbstractCommand.cc
  5705. * src/PeerInteractionCommand.cc
  5706. * src/PeerInteractionCommand.h
  5707. * src/PeerReceiveHandshakeCommand.cc
  5708. * src/PeerReceiveHandshakeCommand.h
  5709. * src/RequestGroup.cc
  5710. * src/RequestGroup.h
  5711. * src/TrackerWatcherCommand.cc
  5712. * src/TrackerWatcherCommand.h
  5713. * src/XmlRpcMethod.cc
  5714. * src/XmlRpcMethod.h
  5715. * src/XmlRpcMethodImpl.cc
  5716. * src/download_helper.cc
  5717. * src/download_helper.h
  5718. * src/main.cc
  5719. * test/BtDependencyTest.cc
  5720. * test/BtPostDownloadHandlerTest.cc
  5721. * test/DefaultBtMessageDispatcherTest.cc
  5722. * test/DownloadHandlerFactoryTest.cc
  5723. * test/DownloadHelperTest.cc
  5724. * test/Metalink2RequestGroupTest.cc
  5725. * test/MetalinkPostDownloadHandlerTest.cc
  5726. * test/RequestGroupManTest.cc
  5727. * test/RequestGroupTest.cc
  5728. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5729. Added tellActiveStatus xml-rpc command which reports download
  5730. status of active downloads.
  5731. * src/XmlRpcMethodFactory.cc
  5732. * src/XmlRpcMethodImpl.cc
  5733. * src/XmlRpcMethodImpl.h
  5734. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5735. Added addTorrentFile xml-rpc command which receives uploaded
  5736. torrent file and add download for it.
  5737. * src/RequestGroupMan.cc
  5738. * src/XmlRpcMethodFactory.cc
  5739. * src/XmlRpcMethodImpl.cc
  5740. * src/XmlRpcMethodImpl.h
  5741. * src/download_helper.cc
  5742. * src/download_helper.h
  5743. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5744. Added remove xml-rpc command which removes specified download.
  5745. There is a known issue: the removed unfinished downloads are
  5746. reported ERR when aria2 exits. They should be reported as INPR.
  5747. * src/RequestGroupMan.cc
  5748. * src/RequestGroupMan.h
  5749. * src/XmlRpcMethodFactory.cc
  5750. * src/XmlRpcMethodImpl.cc
  5751. * src/XmlRpcMethodImpl.h
  5752. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5753. If --enable-http-server is enabled, don't stop aria2 when all
  5754. download finished and don't quit when no files to download at
  5755. start up.
  5756. * src/RequestGroupMan.cc
  5757. * src/main.cc
  5758. * src/option_processing.cc
  5759. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5760. Added missing AM_CONDITIONAL
  5761. * configure.ac
  5762. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5763. Added xml-rpc functionality. Currently only addURI commad is
  5764. supported. To enable xml-rpc, run aria2 with
  5765. --enable-http-server. This option name is temporal and will be
  5766. changed. The feature that reports download progress in html format
  5767. is temporarily disabled.
  5768. * src/HttpServer.cc
  5769. * src/HttpServer.h
  5770. * src/HttpServerBodyCommand.cc
  5771. * src/HttpServerBodyCommand.h
  5772. * src/HttpServerCommand.cc
  5773. * src/HttpServerResponseCommand.cc
  5774. * src/Makefile.am
  5775. * src/OptionParser.cc
  5776. * src/OptionParser.h
  5777. * src/RequestGroupMan.cc
  5778. * src/RequestGroupMan.h
  5779. * src/XmlRpcMethod.cc
  5780. * src/XmlRpcMethod.h
  5781. * src/XmlRpcMethodFactory.cc
  5782. * src/XmlRpcMethodFactory.h
  5783. * src/XmlRpcMethodImpl.cc
  5784. * src/XmlRpcMethodImpl.h
  5785. * src/download_helper.cc
  5786. * src/download_helper.h
  5787. * test/Makefile.am
  5788. * test/XmlRpcMethodTest.cc
  5789. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5790. Added xml-rpc request parser. The supported value types are:
  5791. i4/int, string, double, struct, array, base64. Currently only
  5792. libxml2 version is provided.
  5793. * src/Xml2XmlRpcRequestProcessor.cc
  5794. * src/Xml2XmlRpcRequestProcessor.h
  5795. * src/XmlRpcElements.cc
  5796. * src/XmlRpcElements.h
  5797. * src/XmlRpcRequest.h
  5798. * src/XmlRpcRequestParserController.cc
  5799. * src/XmlRpcRequestParserController.h
  5800. * src/XmlRpcRequestParserState.h
  5801. * src/XmlRpcRequestParserStateImpl.cc
  5802. * src/XmlRpcRequestParserStateImpl.h
  5803. * src/XmlRpcRequestParserStateMachine.cc
  5804. * src/XmlRpcRequestParserStateMachine.h
  5805. * src/XmlRpcRequestProcessor.h
  5806. * test/XmlRpcRequestParserControllerTest.cc
  5807. * test/XmlRpcRequestProcessorTest.cc
  5808. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5809. * Release 1.3.3
  5810. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5811. Fixed compile error since r1202.
  5812. * src/ExpatMetalinkProcessor.cc
  5813. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5814. Updated Ukrainian, Russian and Simplified Chinese
  5815. translations. Thanks to all translators.
  5816. * po/ru.po
  5817. * po/uk.po
  5818. * po/zh_CN.po
  5819. 2009-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5820. Pass reference of Option object instead of pointer.
  5821. * src/download_helper.cc
  5822. * src/download_helper.h
  5823. * src/main.cc
  5824. * test/DownloadHelperTest.cc
  5825. 2009-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5826. Don't retrieve PREF_MAX_DOWNLOAD_LIMIT and PREF_MAX_UPLOAD_LIMIT
  5827. from option directly. Instead, get them from RequestGroup.
  5828. * src/ActivePeerConnectionCommand.cc
  5829. * src/ActivePeerConnectionCommand.h
  5830. * src/PeerReceiveHandshakeCommand.cc
  5831. * src/RequestGroup.h
  5832. 2009-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5833. Removed unused uploadLimitCheck and uploadLimit from
  5834. PeerAbstractCommand. Removed unused maxDownloadLimit from
  5835. PeerInteractionCommand.
  5836. * src/PeerAbstractCommand.cc
  5837. * src/PeerAbstractCommand.h
  5838. * src/PeerInteractionCommand.cc
  5839. * src/PeerInteractionCommand.h
  5840. 2009-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5841. Fixed broken file renaming feature since r1202.
  5842. * src/FtpNegotiationCommand.cc
  5843. * src/FtpNegotiationCommand.h
  5844. * src/HttpResponseCommand.cc
  5845. * src/RequestGroup.cc
  5846. * src/RequestGroup.h
  5847. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5848. Removed unused debug log
  5849. * src/SocketCore.cc
  5850. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5851. Generated configure and Makefile.in using autoconf 2.63 and
  5852. automake 1.10.2. Removed AC_GNU_SOURCE from configure.ac because
  5853. it is subset of AC_USE_SYSTEM_EXTENSIONS and we use latter.
  5854. * configure.ac
  5855. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5856. Moved piece statistics stuff to new PieceStatMan class.
  5857. Refactored PieceSelector interface.
  5858. * src/DefaultPieceStorage.cc
  5859. * src/DefaultPieceStorage.h
  5860. * src/LongestSequencePieceSelector.cc
  5861. * src/LongestSequencePieceSelector.h
  5862. * src/Makefile.am
  5863. * src/PieceSelector.h
  5864. * src/PieceStatMan.cc
  5865. * src/PieceStatMan.h
  5866. * src/RarestPieceSelector.cc
  5867. * src/RarestPieceSelector.h
  5868. * src/RequestGroup.cc
  5869. * test/DefaultPieceStorageTest.cc
  5870. * test/InOrderPieceSelector.h
  5871. * test/Makefile.am
  5872. * test/PieceStatManTest.cc
  5873. * test/RarestPieceSelectorTest.cc
  5874. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5875. Added static member _protocolFamily to SocketCore. By default,
  5876. SocketCore uses AF_UNSPEC for getaddrinfo hints to resolve
  5877. address. Sometime SocketCore::bind() and
  5878. SocketCore::establishConnection() use difference protocl family
  5879. and latter cannot connect to former. To avoid this situation, we
  5880. limit protocol family to AF_INET for unit tests.
  5881. * src/SocketCore.cc
  5882. * src/SocketCore.h
  5883. * test/AllTest.cc
  5884. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5885. Avoid std::bad_alloc for negative bencode string length.
  5886. * src/bencode.cc
  5887. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5888. Supported segmented downloading with chunked transfer encoding and
  5889. content-length.
  5890. * src/DownloadCommand.cc
  5891. * src/HttpResponseCommand.cc
  5892. 2009-05-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5893. Bump up version number to 1.3.3
  5894. * configure.ac
  5895. 2009-05-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5896. Applied Pascal Bleser's patch: increases MAX_RECV_BUFFER for ftp
  5897. from 4096 to 65536 (for insanely large ftp login banners)
  5898. * src/FtpConnection.h
  5899. * test/FtpConnectionTest.cc
  5900. 2009-05-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5901. In DefaultBtContext::getActualBasePath(), return first
  5902. FileEntry::getPath() for single file torrent.
  5903. * src/DefaultBtContext.cc
  5904. * test/DefaultBtContextTest.cc
  5905. 2009-05-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5906. Removed directIOAllowed() from BinaryStream, DiskWriter,
  5907. DiskAdaptor. setDirectIOAllowed() was renamed as allowDirectIO().
  5908. Removed _directIOAllowed member from DiskWriter.
  5909. * src/AbstractDiskWriter.cc
  5910. * src/AbstractDiskWriter.h
  5911. * src/AbstractSingleDiskAdaptor.cc
  5912. * src/AbstractSingleDiskAdaptor.h
  5913. * src/BinaryStream.h
  5914. * src/ByteArrayDiskWriter.h
  5915. * src/DefaultPieceStorage.cc
  5916. * src/DiskWriter.h
  5917. * src/MultiDiskAdaptor.cc
  5918. * src/MultiDiskAdaptor.h
  5919. 2009-05-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5920. Now the constructor of AbstractDiskWriter takes filename as an
  5921. argument and filename argument is removed from openFile(),
  5922. initAndOpenFile(), openExistingFile() interface. storeDir member
  5923. and its accessor functions are removed from DiskAdaptor because it
  5924. is not used anymore. size() member function of DefaultDiskWriter,
  5925. DirectDiskAdaptor and MultiDiskAdaptor now can be called without
  5926. opening file.
  5927. * src/AbstractDiskWriter.cc
  5928. * src/AbstractDiskWriter.h
  5929. * src/AbstractSingleDiskAdaptor.cc
  5930. * src/AbstractSingleDiskAdaptor.h
  5931. * src/ByteArrayDiskWriter.cc
  5932. * src/ByteArrayDiskWriter.h
  5933. * src/ByteArrayDiskWriterFactory.cc
  5934. * src/ByteArrayDiskWriterFactory.h
  5935. * src/DefaultDiskWriter.cc
  5936. * src/DefaultDiskWriter.h
  5937. * src/DefaultDiskWriterFactory.cc
  5938. * src/DefaultDiskWriterFactory.h
  5939. * src/DefaultPieceStorage.cc
  5940. * src/DirectDiskAdaptor.cc
  5941. * src/DirectDiskAdaptor.h
  5942. * src/DiskAdaptor.h
  5943. * src/DiskWriter.h
  5944. * src/DiskWriterFactory.h
  5945. * src/MessageDigestHelper.cc
  5946. * src/MultiDiskAdaptor.cc
  5947. * src/RequestGroup.cc
  5948. * src/UnknownLengthPieceStorage.cc
  5949. * src/Util.cc
  5950. * test/DefaultDiskWriterTest.cc
  5951. * test/DirectDiskAdaptorTest.cc
  5952. * test/FallocFileAllocationIteratorTest.cc
  5953. * test/MessageDigestHelperTest.cc
  5954. * test/MetalinkProcessorTest.cc
  5955. * test/MultiDiskAdaptorTest.cc
  5956. * test/MultiFileAllocationIteratorTest.cc
  5957. * test/SingleFileAllocationIteratorTest.cc
  5958. * test/UtilTest.cc
  5959. 2009-05-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5960. Fixed the bug that aria2 aborts when --select-file is used. This
  5961. bug was introduced in r1199.
  5962. * src/MultiDiskAdaptor.cc
  5963. 2009-05-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5964. Code cleanup
  5965. * test/MockPieceStorage.cc
  5966. 2009-05-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5967. Fixed the bug that read-only file with wrong file size will cause
  5968. error because it cannot be truncated to the correct size. Now if
  5969. file size is different than the expected one, re-open file in
  5970. writable mode.
  5971. * src/AbstractSingleDiskAdaptor.cc
  5972. * src/AbstractSingleDiskAdaptor.h
  5973. * src/BtCheckIntegrityEntry.cc
  5974. * src/DiskAdaptor.h
  5975. * src/MultiDiskAdaptor.h
  5976. * src/RequestGroup.cc
  5977. 2009-05-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5978. Fixed the bug that with --check-integrity option aria2 reports
  5979. downloaded file size is 0 even if some parts of file is correctly
  5980. downloaded. This bug is reproducible for the download that a file
  5981. includes last piece is missing. This bug doesn't reveal for
  5982. single-torrent with file allocation on.
  5983. * src/IteratableChecksumValidator.cc
  5984. * test/IteratableChecksumValidatorTest.cc
  5985. 2009-05-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5986. Avoid circular reference between RequestGroup and AdaptiveURISelector
  5987. * src/RequestGroupMan.cc
  5988. * src/AdaptiveURISelector.cc
  5989. * src/AdaptiveURISelector.h
  5990. 2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5991. * Release 1.3.2
  5992. 2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5993. Updated README
  5994. * README
  5995. 2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5996. Updated Ukrainian translations. Thanks to Alexander10.
  5997. * po/uk.po
  5998. 2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5999. Code cleanup
  6000. * src/MetalinkParserStateMachine.cc
  6001. * src/MetalinkParserStateMachine.h
  6002. 2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6003. Removed MetalinkProcessorFactory. Since we don't use both libxml2
  6004. and expat simultaneously, MetalinkProcessor is now not base class
  6005. and it is directly implemented in XML2SAXMetalinkProcessor and
  6006. ExpatMetalinkProcessor.
  6007. * src/ExpatMetalinkProcessor.cc
  6008. * src/ExpatMetalinkProcessor.h
  6009. * src/Makefile.am
  6010. * src/MetalinkHelper.cc
  6011. * src/MetalinkProcessor.h
  6012. * src/MetalinkProcessorFactory.cc: Removed.
  6013. * src/MetalinkProcessorFactory.h: Removed
  6014. * src/XML2SAXMetalinkProcessor.cc
  6015. * src/XML2SAXMetalinkProcessor.h
  6016. * test/MetalinkProcessorTest.cc
  6017. 2009-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6018. Bump up version number to 1.3.2
  6019. * configure.ac
  6020. 2009-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6021. Added missing file.
  6022. * test/Makefile.am
  6023. * test/url-list-singleFileEndsWithSlash.torrent
  6024. 2009-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6025. Put BDE in aria2 namespace. BDE will also be used to store xml-rpc
  6026. request.
  6027. * src/AnnounceList.cc
  6028. * src/AnnounceList.h
  6029. * src/BDE.cc: Added
  6030. * src/BDE.h: Added
  6031. * src/DHTAbstractMessage.cc
  6032. * src/DHTAbstractMessage.h
  6033. * src/DHTAnnouncePeerMessage.cc
  6034. * src/DHTAnnouncePeerMessage.h
  6035. * src/DHTAnnouncePeerReplyMessage.cc
  6036. * src/DHTAnnouncePeerReplyMessage.h
  6037. * src/DHTFindNodeMessage.cc
  6038. * src/DHTFindNodeMessage.h
  6039. * src/DHTFindNodeReplyMessage.cc
  6040. * src/DHTFindNodeReplyMessage.h
  6041. * src/DHTGetPeersMessage.cc
  6042. * src/DHTGetPeersMessage.h
  6043. * src/DHTGetPeersReplyMessage.cc
  6044. * src/DHTGetPeersReplyMessage.h
  6045. * src/DHTMessageFactory.h
  6046. * src/DHTMessageFactoryImpl.cc
  6047. * src/DHTMessageFactoryImpl.h
  6048. * src/DHTMessageReceiver.cc
  6049. * src/DHTMessageTracker.cc
  6050. * src/DHTMessageTracker.h
  6051. * src/DHTPingMessage.cc
  6052. * src/DHTPingMessage.h
  6053. * src/DHTPingReplyMessage.cc
  6054. * src/DHTPingReplyMessage.h
  6055. * src/DHTQueryMessage.cc
  6056. * src/DHTQueryMessage.h
  6057. * src/DHTResponseMessage.cc
  6058. * src/DHTResponseMessage.h
  6059. * src/DefaultBtAnnounce.cc
  6060. * src/DefaultBtContext.cc
  6061. * src/DefaultBtContext.h
  6062. * src/HandshakeExtensionMessage.cc
  6063. * src/Makefile.am
  6064. * src/PeerListProcessor.h
  6065. * src/UTPexExtensionMessage.cc
  6066. * src/bencode.cc
  6067. * src/bencode.h
  6068. * test/AnnounceListTest.cc
  6069. * test/BDETest.cc: Added
  6070. * test/BencodeTest.cc
  6071. * test/DHTAnnouncePeerMessageTest.cc
  6072. * test/DHTAnnouncePeerReplyMessageTest.cc
  6073. * test/DHTFindNodeMessageTest.cc
  6074. * test/DHTFindNodeReplyMessageTest.cc
  6075. * test/DHTGetPeersMessageTest.cc
  6076. * test/DHTGetPeersReplyMessageTest.cc
  6077. * test/DHTMessageFactoryImplTest.cc
  6078. * test/DHTMessageTrackerTest.cc
  6079. * test/DHTPingMessageTest.cc
  6080. * test/DHTPingReplyMessageTest.cc
  6081. * test/Makefile.am
  6082. * test/MockDHTMessageFactory.h
  6083. * test/PeerListProcessorTest.cc
  6084. 2009-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6085. Use url-list (web-seeding) only for single-file torrent. This is
  6086. basically the same behavior with Metalink file with torrent and
  6087. URIs.
  6088. * src/RequestGroup.cc
  6089. * src/DefaultBtContext.cc
  6090. * test/DefaultBtContextTest.cc
  6091. 2009-04-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6092. Rewritten expr
  6093. * src/array_fun.h
  6094. * test/array_funTest.cc
  6095. 2009-04-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6096. Added forEachMemFunSH(). Use it in BitTorrent event dispatch.
  6097. * src/DefaultBtMessageDispatcher.cc
  6098. * src/a2algo.h
  6099. 2009-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6100. Removed ExtendedMessagingAware. Instead of using inheritance,
  6101. added ExtensionMessageRegistry and it is passed to
  6102. DefaultExtensionMessageFactory.
  6103. * src/DefaultBtInteractive.cc
  6104. * src/DefaultBtInteractive.h
  6105. * src/DefaultExtensionMessageFactory.cc
  6106. * src/DefaultExtensionMessageFactory.h
  6107. * src/ExtendedMessagingAware.h: Removed.
  6108. * src/ExtensionMessageFactory.h
  6109. * src/ExtensionMessageRegistry.h: Added.
  6110. * src/Makefile.am
  6111. * src/PeerInteractionCommand.cc
  6112. * test/DefaultExtensionMessageFactoryTest.cc
  6113. 2009-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6114. Fixed typo in log messages
  6115. * src/MSEHandshake.cc
  6116. 2009-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6117. Fixed the bug that prevents torrent download from finishing. The
  6118. bug doesn't reveal for all torrents. The torrents affected this
  6119. bug satisfies ((N+7)/8)%4 == 0 and N%32 != 0 where N is the number
  6120. of pieces.
  6121. * src/bitfield.h
  6122. * test/bitfieldTest.cc
  6123. 2009-04-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6124. Code cleanup
  6125. * src/PeerListProcessor.h
  6126. 2009-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6127. Removed RequestGroupAware
  6128. * src/AbstractCommand.cc
  6129. * src/AbstractCommand.h
  6130. * src/ActivePeerConnectionCommand.cc
  6131. * src/ActivePeerConnectionCommand.h
  6132. * src/DHTGetPeersCommand.cc
  6133. * src/DHTGetPeersCommand.h
  6134. * src/InitiatorMSEHandshakeCommand.cc
  6135. * src/InitiatorMSEHandshakeCommand.h
  6136. * src/Makefile.am
  6137. * src/PeerInitiateConnectionCommand.cc
  6138. * src/PeerInitiateConnectionCommand.h
  6139. * src/PeerInteractionCommand.cc
  6140. * src/PeerInteractionCommand.h
  6141. * src/RealtimeCommand.cc
  6142. * src/RealtimeCommand.h
  6143. * src/RequestGroupAware.cc: Removed
  6144. * src/RequestGroupAware.h: Removed
  6145. * src/SeedCheckCommand.cc
  6146. * src/SeedCheckCommand.h
  6147. * src/SleepCommand.cc
  6148. * src/TrackerWatcherCommand.cc
  6149. * src/TrackerWatcherCommand.h
  6150. 2009-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6151. Rewritten PeerListProcessor
  6152. * src/PeerListProcessor.h
  6153. * src/CompactPeerListProcessor.h: Removed
  6154. * src/CompactPeerListProcessor.cc: Removed
  6155. * src/DelegatingPeerListProcessor.cc: Removed.
  6156. * src/DefaultBtAnnounce.cc
  6157. * src/Makefile.am
  6158. * src/UTPexExtensionMessage.cc
  6159. * src/DefaultPeerListProcessor.h: Removed.
  6160. * src/DefaultPeerListProcessor.cc: Removed.
  6161. * src/DelegatingPeerListProcessor.h: Removed.
  6162. * test/Makefile.am
  6163. * test/PeerListProcessorTest.cc
  6164. * test/DefaultPeerListProcessorTest.cc: Removed.
  6165. 2009-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6166. Rewritten RequestGroupMan::calculateStat()
  6167. * src/RequestGroupMan.cc
  6168. 2009-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6169. Removed unnecessary virtual destructor for Request class.
  6170. * src/Request.cc
  6171. * src/Request.h
  6172. 2009-04-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6173. Avoid dynamic_pointer_cast.
  6174. * src/DHTGetPeersCommand.cc
  6175. * src/DHTGetPeersCommand.h
  6176. 2009-04-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6177. Rewritten event dispatch in BtMessage. Removed BtEventListener,
  6178. BtEvent.
  6179. * src/AbstractBtEventListener.h: Removed.
  6180. * src/AbstractBtMessage.cc
  6181. * src/AbstractBtMessage.h
  6182. * src/BtAbortOutstandingRequestEvent.h
  6183. * src/BtCancelSendingPieceEvent.h
  6184. * src/BtChokedEvent.h: Removed.
  6185. * src/BtChokingEvent.h
  6186. * src/BtEvent.h: Removed
  6187. * src/BtEventListener.h: Removed.
  6188. * src/BtMessage.h
  6189. * src/BtPieceMessage.cc
  6190. * src/BtPieceMessage.h
  6191. * src/BtRequestMessage.cc
  6192. * src/BtRequestMessage.h
  6193. * src/DefaultBtMessageDispatcher.cc
  6194. * src/Makefile.am
  6195. * src/a2functional.h
  6196. * test/BtPieceMessageTest.cc
  6197. * test/BtRequestMessageTest.cc
  6198. * test/DefaultBtMessageDispatcherTest.cc
  6199. * test/MockBtMessage.h
  6200. 2009-04-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6201. Code cleanup
  6202. * src/RequestGroupMan.cc
  6203. 2009-04-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6204. Code cleanup
  6205. * src/DownloadCommand.cc
  6206. 2009-04-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6207. Fixed segmentation fault when GZipDecoder::decode() returns 0
  6208. byte.
  6209. * src/DownloadCommand.cc
  6210. * src/bitfield.h
  6211. * test/bitfieldTest.cc
  6212. Fixed the bug that causes infinite loop if broken web server
  6213. returns chunked response without last "0" chunk-size marker and
  6214. closes connection.
  6215. * src/DownloadCommand.cc
  6216. Instantiate properly configured HttpDownloadCommand for
  6217. non-resumable downlaods.
  6218. * src/HttpResponseCommand.cc
  6219. 2009-04-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6220. Rewritten array operation functions.
  6221. * src/BitfieldMan.cc
  6222. * src/array_fun.h
  6223. * test/array_funTest.cc
  6224. 2009-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6225. Removed unused variable 'query'
  6226. * src/Request.cc
  6227. 2009-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6228. Set conditional HAVE_GETADDRINFO true for mingw32. It was
  6229. accidentally set to false in r1162.
  6230. * configure.ac
  6231. 2009-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6232. Code cleanup
  6233. * src/BNode.cc
  6234. 2009-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6235. Increase prefixLength for the bucket which doesn't own local node
  6236. ID when splitting bucket.
  6237. * src/DHTBucket.cc
  6238. * test/DHTBucketTest.cc
  6239. 2009-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6240. * Release 1.3.1
  6241. 2009-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6242. Bump up version number to 1.3.1
  6243. * configure.ac
  6244. 2009-04-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6245. Removed unused variable checkPoint. Also removed include directive
  6246. for TimeA2.h.
  6247. * src/SeedCheckCommand.h
  6248. 2009-04-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6249. Fixed the bug that upload limit exceeds the value specified in
  6250. --seed-ratio option depending on the timing of the execution of
  6251. SeedCheckCommand.
  6252. * src/SeedCheckCommand.cc
  6253. 2009-04-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6254. Fixed the bug that removed peer's session upload/download length
  6255. are counted twice in _cachedTransferStat before it is
  6256. re-calculated. This affected the calculation of shara ratio,
  6257. resulting aria2 wrongly determines that specified share ratio is
  6258. reached. Also fixed the typo in calculateStatFor function name.
  6259. * src/BtSetup.cc
  6260. * src/DefaultPeerStorage.cc
  6261. * src/ShareRatioSeedCriteria.h
  6262. * test/ShareRatioSeedCriteriaTest.cc
  6263. 2009-04-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6264. * Release 1.3.0
  6265. 2009-04-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6266. Updated Russian, Japanese, Spanish, Ukrainian and Norwegian
  6267. Nynorsk translations. Thanks to all translators.
  6268. * po/es.po
  6269. * po/ja.po
  6270. * po/nn.po
  6271. * po/ru.po
  6272. * po/uk.po
  6273. 2009-04-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6274. Rewritten isInRange()
  6275. * src/DHTBucket.cc
  6276. * test/DHTBucketTest.cc
  6277. 2009-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6278. Fixed typo
  6279. * doc/aria2c.1.txt
  6280. 2009-03-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6281. Removed AC_FUNC_MALLOC and AC_FUNC_REALLOC because 0-byte
  6282. malloc/realloc is not used.
  6283. * src/configure.ac
  6284. 2009-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6285. BitfieldMan::getMissingIndexes family functions now takes unsigned
  6286. char* bitfield instead of stl container for efficiency.
  6287. PieceSelector::select now takes this
  6288. bitfield. RarestPieceSelector::select now also performs
  6289. efficiently for this change. bitfield namespace is introduced and
  6290. it has several helper functions to handle basic bitfield
  6291. operations such as test, count set bits, etc.
  6292. * src/BitfieldMan.cc
  6293. * src/BitfieldMan.h
  6294. * src/DefaultBtRequestFactory.cc
  6295. * src/DefaultPieceStorage.cc
  6296. * src/DefaultPieceStorage.h
  6297. * src/LongestSequencePieceSelector.cc
  6298. * src/LongestSequencePieceSelector.h
  6299. * src/Makefile.am
  6300. * src/Piece.cc
  6301. * src/Piece.h
  6302. * src/PieceSelector.h
  6303. * src/RarestPieceSelector.cc
  6304. * src/RarestPieceSelector.h
  6305. * src/Util.cc
  6306. * src/Util.h
  6307. * src/bitfield.h
  6308. * test/BitfieldManTest.cc
  6309. * test/LongestSequencePieceSelectorTest.cc
  6310. * test/Makefile.am
  6311. * test/RarestPieceSelectorTest.cc
  6312. * test/UtilTest.cc
  6313. * test/bitfieldTest.cc
  6314. 2009-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6315. Made accepted socket non-block.
  6316. * src/FtpNegotiationCommand.cc
  6317. * src/HttpListenCommand.cc
  6318. 2009-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6319. Guarded #ifdef HAVE_POSIX_FALLOCATE
  6320. * src/AbstractSingleDiskAdaptor.cc
  6321. * src/DefaultPieceStorage.cc
  6322. * src/DiskAdaptor.h
  6323. * src/DiskAdaptor.h
  6324. * src/MultiFileAllocationIterator.cc
  6325. 2009-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6326. Run
  6327. DefaultBtMessageDispatcher::checkRequestSlotAndDoNecessaryThing()
  6328. in every 1 sec. The timeout of RequestSlot is 60s by default and
  6329. it doesn't need to be called every time when
  6330. DefaultBtInteractive::doInteractionProcessing() is called.
  6331. * src/DefaultBtInteractive.cc
  6332. * src/DefaultBtInteractive.h
  6333. 2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6334. Documented 'falloc' in man page.
  6335. * doc/aria2c.1.txt
  6336. 2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6337. Updated doc
  6338. * src/usage_text.h
  6339. 2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6340. Added 'falloc' parameter for --file-allocation option. 'falloc'
  6341. allocation mode uses posix_fallocate() system call to allocate
  6342. file on disk. If you are using newer file systems such as ext4
  6343. (with extents support), btrfs or xfs, 'falloc' is your best
  6344. choice. It allocates large(few GiB) files almost instantly. Don't
  6345. use 'falloc' with legacy file systems such as ext3 because it
  6346. takes almost same time as 'prealloc' and it blocks aria2 entirely
  6347. until allocation finishes. 'falloc' may not be available if your
  6348. system doesn't have posix_fallocate() system call.
  6349. * configure.ac
  6350. * src/AbstractDiskWriter.cc
  6351. * src/AbstractDiskWriter.h
  6352. * src/AbstractSingleDiskAdaptor.cc
  6353. * src/BinaryStream.h
  6354. * src/BtCheckIntegrityEntry.cc
  6355. * src/ByteArrayDiskWriter.h
  6356. * src/CheckIntegrityEntry.cc
  6357. * src/CheckIntegrityEntry.h
  6358. * src/DefaultPieceStorage.cc
  6359. * src/DiskAdaptor.cc
  6360. * src/DiskAdaptor.h
  6361. * src/DiskWriter.h
  6362. * src/FallocFileAllocationIterator.cc
  6363. * src/FallocFileAllocationIterator.h
  6364. * src/FileAllocationEntry.cc
  6365. * src/FileAllocationEntry.h
  6366. * src/Makefile.am
  6367. * src/MultiFileAllocationIterator.cc
  6368. * src/MultiFileAllocationIterator.h
  6369. * src/OptionHandlerFactory.cc
  6370. * src/RequestGroup.cc
  6371. * src/StreamCheckIntegrityEntry.cc
  6372. * src/prefs.cc
  6373. * src/prefs.h
  6374. * src/usage_text.h
  6375. * test/FallocFileAllocationIteratorTest.cc
  6376. * test/Makefile.am
  6377. 2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6378. Removed duplicate enableDirectIO() call.
  6379. * src/MultiFileAllocationIterator.cc
  6380. 2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6381. Replaced std::vector<SharedHandle<PieceStats> _sortedPieceStats
  6382. with std::vector<size_t> _sortedPieceStatIndexes to reduce the
  6383. cost of std::rotate().
  6384. * src/RarestPieceSelector.cc
  6385. * src/RarestPieceSelector.h
  6386. * test/RarestPieceSelectorTest.cc
  6387. 2009-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6388. Updated usage doc for --bt-tracker-interval option.
  6389. * src/usage_text.h
  6390. * doc/aria2c.1.txt
  6391. 2009-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6392. Documented --bt-tracker-interval option in man page.
  6393. * doc/aria2c.1.txt
  6394. 2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6395. Added an option to specify the interval between tracker requests.
  6396. If non-zero value is specified, aria2 uses it and ignores the
  6397. interval value in the response of tracker. If zero is specified,
  6398. aria2 determines the inteval value based on the tarcker response
  6399. and download progress.
  6400. * src/DefaultBtAnnounce.cc
  6401. * src/DefaultBtAnnounce.h
  6402. * src/OptionHandlerFactory.cc
  6403. * src/RequestGroup.cc
  6404. * src/prefs.cc
  6405. * src/prefs.h
  6406. * src/usage_text.h
  6407. 2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6408. Added operator+=, operator-=, operator-
  6409. * src/TransferStat.cc
  6410. * src/TransferStat.h
  6411. 2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6412. Refactored RarestPieceSelector to reduce CPU load, especially for
  6413. addPieceStats.
  6414. * src/RarestPieceSelector.cc
  6415. * src/RarestPieceSelector.h
  6416. 2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6417. Refactored getMissingIndexRandomly, getFirstMissingIndex,
  6418. getAllMissingBlockIndexes to reduce a call to
  6419. array_function_base::operator[].
  6420. * src/BitfieldMan.cc
  6421. 2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6422. Cached TransferStat/download speed to avoid to sum them up in each
  6423. call.
  6424. * src/DefaultPeerStorage.cc
  6425. * src/DefaultPeerStorage.h
  6426. * src/SegmentMan.cc
  6427. * src/SegmentMan.h
  6428. 2009-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6429. Typedefed cuid_t as int32_t in Command.h
  6430. * src/CUIDCounter.h
  6431. * src/Command.cc
  6432. * src/Command.h
  6433. * src/DownloadEngine.cc
  6434. * src/DownloadEngine.h
  6435. * src/PeerStat.h
  6436. * src/SegmentMan.cc
  6437. * src/SegmentMan.h
  6438. 2009-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6439. Reduced the number of calls to PeerStorage::calculateStat() and
  6440. SegmentMan::calculateDownloadSpeed() to lower CPU usage on higher
  6441. transfer rate.
  6442. * src/DefaultBtInteractive.cc
  6443. * src/DefaultBtMessageDispatcher.cc
  6444. * src/DefaultPeerStorage.cc
  6445. * src/DefaultPeerStorage.h
  6446. * src/DownloadCommand.cc
  6447. * src/DownloadEngine.cc
  6448. * src/PeerStorage.h
  6449. * src/SegmentMan.cc
  6450. * src/SegmentMan.h
  6451. * test/MockPeerStorage.h
  6452. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6453. Prepended _dir+"/" after joining path elements in torrent file.
  6454. * src/DefaultBtContext.cc
  6455. * test/DefaultBtContextTest.cc
  6456. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6457. Added missing IndexBtMessageValidator.h
  6458. * src/Makefile.am
  6459. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6460. Updated Indonesian, Russian, Italian, Ukrainian and Simplified
  6461. Chinese translations. Thank you for contributing our project.
  6462. * po/id.po
  6463. * po/it.po
  6464. * po/ru.po
  6465. * po/uk.po
  6466. * po/zh_CN.po
  6467. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6468. Updated README
  6469. * README
  6470. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6471. Bump up version number to 1.3.0
  6472. * configure.ac
  6473. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6474. Updated doc
  6475. * src/DefaultBtContext.h
  6476. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6477. Slice/joinPath for name of single torrent.
  6478. * src/DefaultBtContext.cc
  6479. * test/DefaultBtContextTest.cc
  6480. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6481. Updated man page: Documented --dry-run and --index-out
  6482. options. Changed the default value of --uri-selector and
  6483. --http-auth-challenge options. Removed --direct-file-mapping
  6484. option. Added example for --index-out
  6485. * doc/aria2c.1.txt
  6486. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6487. Updated TEXT_DRY_RUN
  6488. * src/usage_text.h
  6489. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6490. Changed the default value of --uri-selector option from 'inorder'
  6491. to 'feedback'
  6492. * src/OptionHandlerFactory.cc
  6493. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6494. Included current URI in exception message.
  6495. * src/AbstractCommand.cc
  6496. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6497. Renamed ServerStatURISelector as FeedbackURISelector.
  6498. * src/FeedbackURISelector.cc
  6499. * src/FeedbackURISelector.h
  6500. * src/Makefile.am
  6501. * src/RequestGroupMan.cc
  6502. * src/ServerStatURISelector.cc
  6503. * src/ServerStatURISelector.h
  6504. * test/FeedbackURISelectorTest.cc
  6505. * test/Makefile.am
  6506. * test/ServerStatURISelectorTest.cc
  6507. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6508. Fixed the bug that AdaptiveURISelector doesn't select any URI when
  6509. all URIs are tested and their timeout is not reached.
  6510. * src/AdaptiveURISelector.cc
  6511. * src/AdaptiveURISelector.h
  6512. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6513. Changed the default value of --http-auth-challenge option to false.
  6514. * src/OptionHandlerFactory.cc
  6515. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6516. Reuse URIs when all unused URIs run out.
  6517. * src/OptionHandlerFactory.cc
  6518. * src/RequestGroup.cc
  6519. * src/prefs.cc
  6520. * src/prefs.h
  6521. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6522. Refactored BtMessage subclasses. BtCancelMessage, BtRequestMessage
  6523. and BtRejectMessage are derived from RangeBtMessage class.
  6524. BtAllowedFastMessage, BtHaveMessage and BtSuggestPieceMessage are
  6525. derived from IndexBtMessage class. BtChokeMessage,
  6526. BtHaveAllMessage, BtHaveNoneMessage, BtInterestedMessage,
  6527. BtNotInterestedMessage and BtUnchokeMessage are derived from
  6528. ZeroBtMessage class.
  6529. * src/AbstractBtMessage.cc
  6530. * src/AbstractBtMessage.h
  6531. * src/BtAllowedFastMessage.cc
  6532. * src/BtAllowedFastMessage.h
  6533. * src/BtAllowedFastMessageValidator.h: Removed
  6534. * src/BtBitfieldMessage.cc
  6535. * src/BtBitfieldMessage.h
  6536. * src/BtCancelMessage.cc
  6537. * src/BtCancelMessage.h
  6538. * src/BtCancelMessageValidator.h: Removed
  6539. * src/BtChokeMessage.cc
  6540. * src/BtChokeMessage.h
  6541. * src/BtExtendedMessage.cc
  6542. * src/BtExtendedMessage.h
  6543. * src/BtHandshakeMessage.cc
  6544. * src/BtHandshakeMessage.h
  6545. * src/BtHaveAllMessage.cc
  6546. * src/BtHaveAllMessage.h
  6547. * src/BtHaveMessage.cc
  6548. * src/BtHaveMessage.h
  6549. * src/BtHaveMessageValidator.h: Removed
  6550. * src/BtHaveNoneMessage.cc
  6551. * src/BtHaveNoneMessage.h
  6552. * src/BtInterestedMessage.cc
  6553. * src/BtInterestedMessage.h
  6554. * src/BtKeepAliveMessage.cc
  6555. * src/BtKeepAliveMessage.h
  6556. * src/BtNotInterestedMessage.cc
  6557. * src/BtNotInterestedMessage.h
  6558. * src/BtPieceMessage.cc
  6559. * src/BtPieceMessage.h
  6560. * src/BtPortMessage.cc
  6561. * src/BtPortMessage.h
  6562. * src/BtRejectMessage.cc
  6563. * src/BtRejectMessage.h
  6564. * src/BtRejectMessageValidator.h: Removed
  6565. * src/BtRequestMessage.cc
  6566. * src/BtRequestMessage.h
  6567. * src/BtRequestMessageValidator.h: Removed
  6568. * src/BtSuggestPieceMessage.cc
  6569. * src/BtSuggestPieceMessage.h
  6570. * src/BtSuggestPieceMessageValidator.h: Removed
  6571. * src/BtUnchokeMessage.cc
  6572. * src/BtUnchokeMessage.h
  6573. * src/DefaultBtMessageFactory.cc
  6574. * src/IndexBtMessage.cc
  6575. * src/IndexBtMessage.h
  6576. * src/IndexBtMessageValidator.h
  6577. * src/Makefile.am
  6578. * src/PeerMessageUtil.cc
  6579. * src/PeerMessageUtil.h
  6580. * src/RangeBtMessage.cc
  6581. * src/RangeBtMessage.h
  6582. * src/RangeBtMessageValidator.h
  6583. * src/SimpleBtMessage.cc
  6584. * src/SimpleBtMessage.h
  6585. * src/ZeroBtMessage.cc
  6586. * src/ZeroBtMessage.h
  6587. * test/BtRequestMessageTest.cc
  6588. 2009-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6589. Reverted usage_text.h to r1093 to avoid to lose translated
  6590. messages.
  6591. * src/usage_text.h
  6592. 2009-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6593. BtMessage now holds _id attribute. MESSAGE_LENGTH that is
  6594. declared as non-const previously is now const and defined in class
  6595. definition.
  6596. * src/AbstractBtMessage.cc
  6597. * src/AbstractBtMessage.h
  6598. * src/BtAllowedFastMessage.cc
  6599. * src/BtAllowedFastMessage.h
  6600. * src/BtBitfieldMessage.h
  6601. * src/BtCancelMessage.cc
  6602. * src/BtCancelMessage.h
  6603. * src/BtChokeMessage.cc
  6604. * src/BtChokeMessage.h
  6605. * src/BtExtendedMessage.cc
  6606. * src/BtExtendedMessage.h
  6607. * src/BtHandshakeMessage.cc
  6608. * src/BtHandshakeMessage.h
  6609. * src/BtHaveAllMessage.cc
  6610. * src/BtHaveAllMessage.h
  6611. * src/BtHaveMessage.cc
  6612. * src/BtHaveMessage.h
  6613. * src/BtHaveNoneMessage.cc
  6614. * src/BtHaveNoneMessage.h
  6615. * src/BtInterestedMessage.cc
  6616. * src/BtInterestedMessage.h
  6617. * src/BtKeepAliveMessage.cc
  6618. * src/BtKeepAliveMessage.h
  6619. * src/BtMessage.h
  6620. * src/BtNotInterestedMessage.cc
  6621. * src/BtNotInterestedMessage.h
  6622. * src/BtPieceMessage.h
  6623. * src/BtPortMessage.cc
  6624. * src/BtPortMessage.h
  6625. * src/BtRejectMessage.cc
  6626. * src/BtRejectMessage.h
  6627. * src/BtRequestMessage.cc
  6628. * src/BtRequestMessage.h
  6629. * src/BtSuggestPieceMessage.cc
  6630. * src/BtSuggestPieceMessage.h
  6631. * src/BtUnchokeMessage.cc
  6632. * src/BtUnchokeMessage.h
  6633. * src/SimpleBtMessage.cc
  6634. * src/SimpleBtMessage.h
  6635. * test/MockBtMessage.h
  6636. 2009-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6637. Use FileEntry::exists()
  6638. * src/MultiDiskAdaptor.cc
  6639. 2009-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6640. Added exists()
  6641. * src/FileEntry.cc
  6642. * src/FileEntry.h
  6643. 2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6644. Added missing prefix dir.
  6645. * src/download_helper.cc
  6646. 2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6647. Removed --direct-file-mapping option and CopyDiskAdaptor.
  6648. * src/CopyDiskAdaptor.cc: Removed
  6649. * src/CopyDiskAdaptor.h: Removed
  6650. * src/DefaultPieceStorage.cc
  6651. * src/Makefile.am
  6652. * src/OptionHandlerFactory.cc
  6653. * src/prefs.cc
  6654. * src/prefs.h
  6655. * src/usage_text.h
  6656. * test/CopyDiskAdaptorTest.cc: Removed
  6657. * test/Makefile.am
  6658. 2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6659. Rewritten isSameFileBeingDownloaded()
  6660. * src/RequestGroupMan.cc
  6661. 2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6662. Removed getName() from DownloadContext. getName() is declared in
  6663. BtContext.
  6664. * src/BtContext.h
  6665. * src/DownloadContext.h
  6666. * src/SingleFileDownloadContext.cc
  6667. * src/SingleFileDownloadContext.h
  6668. Removed getFilePath() from DiskAdaptor. getFilePath() is declared
  6669. in AbstractSingleDiskAdaptor.
  6670. * src/AbstractSingleDiskAdaptor.h
  6671. * src/DiskAdaptor.h
  6672. * src/MultiDiskAdaptor.h
  6673. * src/RequestGroup.cc
  6674. Removed setTopDir() and getTopDir() and getTopDirPath() from
  6675. MultiDiskAdaptor.
  6676. * src/DefaultPieceStorage.cc
  6677. * src/MultiDiskAdaptor.cc
  6678. * src/MultiDiskAdaptor.h
  6679. * test/MultiDiskAdaptorTest.cc
  6680. 2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6681. FileEntry::getPath() contains store(top level) directory to
  6682. simplify path handling operation. In the previous implementation,
  6683. store directory is concatenated to FileEntry::getPath() in
  6684. DownloadContext.
  6685. * src/BtDependency.cc
  6686. * src/BtPostDownloadHandler.cc
  6687. * src/CopyDiskAdaptor.cc
  6688. * src/DefaultBtContext.cc
  6689. * src/DirectDiskAdaptor.cc
  6690. * src/FileEntry.cc
  6691. * src/FileEntry.h
  6692. * src/FtpNegotiationCommand.cc
  6693. * src/HttpResponse.cc
  6694. * src/HttpResponseCommand.cc
  6695. * src/Metalink2RequestGroup.cc
  6696. * src/MultiDiskAdaptor.cc
  6697. * src/MultiDiskAdaptor.h
  6698. * src/MultiFileAllocationIterator.cc
  6699. * src/RequestGroup.cc
  6700. * src/SingleFileDownloadContext.cc
  6701. * src/SingleFileDownloadContext.h
  6702. * src/download_helper.cc
  6703. * test/BtDependencyTest.cc
  6704. * test/CopyDiskAdaptorTest.cc
  6705. * test/DefaultBtContextTest.cc
  6706. * test/DefaultBtProgressInfoFileTest.cc
  6707. * test/DirectDiskAdaptorTest.cc
  6708. * test/DownloadHelperTest.cc
  6709. * test/FileEntryTest.cc
  6710. * test/MultiDiskAdaptorTest.cc
  6711. * test/MultiFileAllocationIteratorTest.cc
  6712. * test/RequestGroupTest.cc
  6713. * test/SingleFileDownloadContextTest.cc
  6714. 2009-03-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6715. Fixed compiler warning
  6716. * src/download_helper.cc
  6717. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6718. Throw exception if same infohash torrent is now downloading.
  6719. * src/RequestGroup.cc
  6720. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6721. Added --dry-run option. In this mode, aria2 just checks whether
  6722. the remote file is available and doesn't download data. This
  6723. option has effect on HTTP/FTP downloads and BitTorrent downloads
  6724. are canceled in this mode.
  6725. * src/FtpNegotiationCommand.cc
  6726. * src/HttpResponseCommand.cc
  6727. * src/HttpResponseCommand.h
  6728. * src/OptionHandlerFactory.cc
  6729. * src/RequestGroup.cc
  6730. * src/RequestGroupMan.cc
  6731. * src/prefs.cc
  6732. * src/prefs.h
  6733. * src/usage_text.h
  6734. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6735. Fixed compiler waring
  6736. * test/UriListParserTest.cc
  6737. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6738. Parse options in -i list using OptionParser.
  6739. * src/UriListParser.cc
  6740. * src/UriListParser.h
  6741. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6742. Don't reset URI in retry to avoid additional round trips because
  6743. of redirects.
  6744. * src/AbstractCommand.cc
  6745. * src/OptionHandlerFactory.cc
  6746. * src/prefs.cc
  6747. * src/prefs.h
  6748. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6749. Declared hide() in OptionHandler.
  6750. * src/NameMatchOptionHandler.h
  6751. * src/OptionHandler.h
  6752. * src/OptionHandlerImpl.h
  6753. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6754. Updated doc
  6755. * src/Peer.h
  6756. 2009-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6757. Added log message in setStatusInternal()
  6758. * src/ServerStat.cc
  6759. 2009-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6760. Call ServerStat::setError() in AbstractCommand::onAbort() to
  6761. effectively exclude failed server.
  6762. * src/AbstractCommand.cc
  6763. 2009-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6764. Added --index-out option to specify each file path for torrent.
  6765. Here index shown in --show-files option is used to specify which
  6766. file path should be altered. For example, to change the file path
  6767. with index=2, use --index-out=2=aria2.tar.bz2. You can use this
  6768. option multiple times: --index-out=1=aria2.tar.bz2
  6769. --index-out=2=aria2-opt.tar.bz2. The short hand form -O is also
  6770. available. This option can be specified in -i list.
  6771. * src/DefaultBtContext.cc
  6772. * src/DefaultBtContext.h
  6773. * src/MultiDiskAdaptor.cc
  6774. * src/MultiDiskAdaptor.h
  6775. * src/MultiFileAllocationIterator.cc
  6776. * src/OptionHandlerFactory.cc
  6777. * src/OptionHandlerImpl.h
  6778. * src/Util.cc
  6779. * src/Util.h
  6780. * src/download_helper.cc
  6781. * src/prefs.cc
  6782. * src/prefs.h
  6783. * src/usage_text.h
  6784. * test/DefaultBtContextTest.cc
  6785. * test/MultiDiskAdaptorTest.cc
  6786. * test/MultiFileAllocationIteratorTest.cc
  6787. * test/UtilTest.cc
  6788. 2009-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6789. Use Util::pathJoin()
  6790. * src/MetalinkParserController.cc
  6791. * test/test.xml
  6792. 2009-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6793. Use Util::pathJoin()
  6794. * src/DefaultBtContext.cc
  6795. 2009-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6796. Added Util::pathJoin()
  6797. * src/Util.h
  6798. * test/UtilTest.cc
  6799. 2009-03-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6800. Applied basename function to remove directory element in
  6801. content-disposition value.
  6802. Return empty string if content-disposition value is ".." or ".".
  6803. * src/Util.cc
  6804. * test/UtilTest.cc
  6805. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6806. Added --max-overall-download-limit in man page.
  6807. Updated --max-overall-upload-limit, --max-download-limit option's doc.
  6808. * doc/aria2c.1.txt
  6809. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6810. Added --max-overall-download-limit option. Now --max-upload-limit
  6811. option is not ignored when --max-overall-upload-limit option has
  6812. non-zero value. aria2 checks download(upload) speed in the order:
  6813. first checks overall speed limit and if it is not exceeded, then
  6814. checks speed limit per download. Thus you can specify both
  6815. value. For example, set --max-overall-download-limit=1M and
  6816. --max-download-limit=500K to prevent from one download from eating
  6817. all overall speed limit.
  6818. * src/DefaultBtInteractive.cc
  6819. * src/DefaultBtInteractive.h
  6820. * src/DefaultBtMessageDispatcher.cc
  6821. * src/DefaultBtMessageDispatcher.h
  6822. * src/DownloadCommand.cc
  6823. * src/DownloadCommand.h
  6824. * src/FtpNegotiationCommand.cc
  6825. * src/HttpResponseCommand.cc
  6826. * src/OptionHandlerFactory.cc
  6827. * src/PeerInteractionCommand.cc
  6828. * src/RequestGroup.cc
  6829. * src/RequestGroup.h
  6830. * src/RequestGroupMan.cc
  6831. * src/RequestGroupMan.h
  6832. * src/prefs.cc
  6833. * src/prefs.h
  6834. * src/usage_text.h
  6835. * test/DefaultBtMessageDispatcherTest.cc
  6836. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6837. Documented select-file option in Input File section.
  6838. Documented --http-auth-challenge option.
  6839. * doc/aria2c.1.txt
  6840. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6841. Now select-file can be specified in the uri list(-i list).
  6842. * src/BtContext.cc
  6843. * src/BtContext.h
  6844. * src/RequestGroup.cc
  6845. * src/Sequence.h
  6846. * src/download_helper.cc
  6847. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6848. Made the upper value of --max-concurrent-downloads options unlimited.
  6849. * src/OptionHandlerFactory.cc
  6850. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6851. Fixed the bug that disk writer is not created even if it shares
  6852. same piece with the preceding file if the length of previous file
  6853. is 0.
  6854. * src/MultiDiskAdaptor.cc
  6855. * test/MultiDiskAdaptorTest.cc
  6856. 2009-02-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6857. In BitTorrent, Open files in read-only mode for hash check. After
  6858. that, re-open file in read/write mode only when the download is
  6859. not finished.
  6860. * src/AbstractDiskWriter.cc
  6861. * src/AbstractDiskWriter.h
  6862. * src/AbstractSingleDiskAdaptor.cc
  6863. * src/AbstractSingleDiskAdaptor.h
  6864. * src/BtCheckIntegrityEntry.cc
  6865. * src/DiskAdaptor.h
  6866. * src/DiskWriter.h
  6867. * src/MultiDiskAdaptor.cc
  6868. * src/MultiDiskAdaptor.h
  6869. * src/RequestGroup.cc
  6870. 2009-02-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6871. Added --http-auth-challenge option. If it is set to true(by
  6872. default), aria2 sends HTTP authorization header only when it is
  6873. requested by the server. If false is set, then authorization
  6874. header is always sent to the server. This is useful for servers
  6875. that don't respond 401 code when authentication is required.
  6876. There is an exception: if username and password are embedded in
  6877. URI, authorization header is always sent to the server regardless
  6878. of this option.
  6879. * src/AuthConfigFactory.cc
  6880. * src/HttpSkipResponseCommand.cc
  6881. * src/OptionHandlerFactory.cc
  6882. * src/prefs.cc
  6883. * src/prefs.h
  6884. * src/usage_text.h
  6885. * test/AuthConfigFactoryTest.cc
  6886. * test/HttpRequestTest.cc
  6887. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6888. * Release 1.2.0
  6889. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6890. Updated Spanish, Ukrainian, Russian and Japanese translations.
  6891. Thanks to all translators.
  6892. * po/es.po
  6893. * po/ja.po
  6894. * po/ru.po
  6895. * po/uk.po
  6896. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6897. Call deleteSocketForReadCheck() before socket is closed.
  6898. * src/HttpListenCommand.cc
  6899. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6900. Defined virtual destructor for BObject.
  6901. * src/bencode.h
  6902. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6903. Rewritten BDE to make it efficient.
  6904. * src/bencode.cc
  6905. * src/bencode.h
  6906. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6907. Removed function throw list.
  6908. * src/bencode.cc
  6909. * src/bencode.h
  6910. * test/BencodeTest.cc
  6911. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6912. Enclosed all URLs in double quotes in command-line examples.
  6913. * doc/aria2c.1.txt
  6914. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6915. Updated reference/see also section.
  6916. * README
  6917. * doc/aria2c.1.txt
  6918. 2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6919. Reorganized man page based on man man-pages.
  6920. * doc/aria2c.1.txt
  6921. 2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6922. Removed SERVER PERFORMANCE PROFILE and Configuration file section
  6923. because same documents are available in man page. Added
  6924. References section.
  6925. * README
  6926. 2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6927. Documented sc_avg_speed, mc_avg_speed and counter in SERVER
  6928. PERFORMANCE PROFILE section.
  6929. * doc/aria2c.1.txt
  6930. 2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6931. Rewritten the section for configuration file.
  6932. * README
  6933. * doc/aria2c.1.txt
  6934. 2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6935. Fixed the segmentation fault during execution of choking algorithm
  6936. in leecher state because of broken compare operator
  6937. implementation.
  6938. * src/BtLeecherStateChoke.cc
  6939. * src/BtLeecherStateChoke.h
  6940. 2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6941. Open file in binary mode.
  6942. * src/CookieStorage.cc
  6943. * src/DHTSetup.cc
  6944. * src/DHTUtil.cc
  6945. * src/Netrc.cc
  6946. * src/NsCookieParser.cc
  6947. * src/ProtocolDetector.cc
  6948. * src/RequestGroupMan.cc
  6949. * src/Signature.cc
  6950. * src/bencode.cc
  6951. * src/download_helper.cc
  6952. * src/option_processing.cc
  6953. * test/CookieParserTest.cc
  6954. * test/DefaultBtProgressInfoFileTest.cc
  6955. * test/FileTest.cc
  6956. * test/GZipDecoderTest.cc
  6957. * test/RequestGroupManTest.cc
  6958. * test/SignatureTest.cc
  6959. * test/SingleFileAllocationIteratorTest.cc
  6960. * test/UriListParserTest.cc
  6961. 2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6962. Removed operator[] because it is ambiguous with built-in []
  6963. operator.
  6964. * src/array_fun.h
  6965. 2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6966. Fixed compile error
  6967. * src/OptionParser.cc
  6968. 2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6969. Added missing call to arrayWrapperConst
  6970. * test/array_funTest.cc
  6971. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6972. Use array_wrapper instead of array_ptr.
  6973. * src/DHTRoutingTableDeserializer.cc
  6974. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6975. Removed template<typename S> array_ptr(const array_ptr<S>& s)
  6976. * src/array_fun.h
  6977. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6978. Added array_wrapper template.
  6979. * src/array_fun.h
  6980. * test/array_funTest.cc
  6981. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6982. Use operator T* of array_ptr.
  6983. * src/OptionParser.cc
  6984. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6985. Use localhost instead of 127.0.0.1
  6986. * test/FtpConnectionTest.cc
  6987. * test/MSEHandshakeTest.cc
  6988. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6989. Added operator T*
  6990. * src/array_fun.h
  6991. * test/array_funTest.cc
  6992. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6993. Use dynamically allocated char array to detect memory access
  6994. violation.
  6995. * src/DHTRoutingTableDeserializer.cc
  6996. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6997. Set struct sockaddr_in.sin_len if HAVE_SOCKADDR_IN_SIN_LEN is
  6998. defined.
  6999. * src/PeerMessageUtil.cc
  7000. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7001. Renamed HAVE_SOCKADDR_SIN_LEN as HAVE_SOCKADDR_IN_SIN_LEN
  7002. * configure.ac
  7003. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7004. Added a check to see struct sockaddr_in has sin_len member.
  7005. * configure.ac
  7006. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7007. Fixed buffer overrun.
  7008. * src/DHTRoutingTableDeserializer.cc
  7009. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7010. Added LL for long long int constant.
  7011. * test/FtpConnectionTest.cc
  7012. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7013. Casted to unsigned int to suppress compiler warning on netbsd.
  7014. * src/BtRuntime.h
  7015. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7016. Assign the value of tv.tv_sec to time_t timesec instead of giving
  7017. tv.tv_sec to localtime_r directly because tv.tv_sec may not be of
  7018. type time_t.
  7019. * src/SimpleLogger.cc
  7020. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7021. Added test for FtpConnection::receiveSizeResponse().
  7022. * test/FtpConnectionTest.cc
  7023. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7024. Fix epoll error on the old kernel 2.6.8 or ealier.
  7025. * src/EpollEventPoll.cc
  7026. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7027. Use Util::parseLLInt instead of sscanf for portability. The
  7028. conversion "%Lu" fails in Mac OSX which requires "%llu" instead.
  7029. * src/FtpConnection.cc
  7030. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7031. Fixed the bug that adding 0 length filter to BitfieldMan filters 1
  7032. block. It should not filter anything.
  7033. * src/BitfieldMan.cc
  7034. * src/ConsoleStatCalc.cc
  7035. * test/BitfieldManTest.cc
  7036. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7037. Fixed the bug that the boolean options that don't take arguments
  7038. don't work.
  7039. * src/OptionHandlerImpl.h
  7040. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7041. Fixed broken selected file BitTorrent download.
  7042. * src/MultiDiskAdaptor.cc
  7043. * test/MultiDiskAdaptorTest.cc
  7044. * test/MultiFileAllocationIteratorTest.cc
  7045. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7046. Fixed #define guard for EpollEventPoll
  7047. * src/EpollEventPoll.h
  7048. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7049. Wait 2 seconds. 1 second is sometimes not enough.
  7050. * test/TimeSeedCriteriaTest.cc
  7051. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7052. Use localhost instead of 127.0.0.1.
  7053. * test/DHTConnectionImplTest.cc
  7054. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7055. Suppressed compiler warning.
  7056. * src/AdaptiveURISelector.cc
  7057. * src/DefaultPieceStorage.cc
  7058. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7059. Defined virtual destructor.
  7060. * src/MetalinkParserState.h
  7061. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7062. Give NULL for second argument of getaddrinfo instead of "0".
  7063. * src/NameResolver.cc
  7064. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7065. Don't use Time::parse(buf, "%Y%m%d%H%M%S") because Mac OS X and
  7066. included strptime doesn't parse data for this format.
  7067. * src/FtpConnection.cc
  7068. * test/FtpConnectionTest.cc
  7069. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7070. Removed tests giving -1 for unsigned argument.
  7071. * test/SingleFileDownloadContextTest.cc
  7072. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7073. Don't use sha256 in tests because it might not be supported by the
  7074. SSL library.
  7075. * test/MetalinkProcessorTest.cc
  7076. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7077. Removed tests giving -1 for unsigned argument.
  7078. * test/AlphaNumberDecoratorTest
  7079. * test/BitfieldManTest.cc
  7080. * test/DefaultBtContextTest.cc
  7081. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7082. Fixed compile error without libcares when epoll is available.
  7083. * src/EpollEventPoll.cc
  7084. 2009-02-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7085. Included fstream instead of iostream.
  7086. * test/SignatureTest.cc
  7087. 2009-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7088. Removed #include <algorithm>
  7089. * test/RequestGroupTest.cc
  7090. 2009-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7091. Rewritten AdaptiveURISelector::mayRetryWithIncreasedTimeout()
  7092. using RequestGroup::extractURIResult().
  7093. * src/AdaptiveURISelector.cc
  7094. * src/RequestGroup.cc
  7095. * src/RequestGroup.h
  7096. * test/RequestGroupTest.cc
  7097. 2009-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7098. Added tests for array_ptr.
  7099. * test/array_funTest.cc
  7100. 2009-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7101. Don't send ip parameter to a tracker if ip parameter is empty
  7102. string.
  7103. * src/DefaultBtAnnounce.cc
  7104. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7105. Adjusted line feed.
  7106. * src/version_usage.cc
  7107. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7108. Print tags, possible values when OptionHandlerException is caught.
  7109. * src/option_processing.cc
  7110. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7111. Changed the message for FatalException.
  7112. * src/OptionParser.cc
  7113. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7114. Documented --bt-external-ip option in man page. Updated man pages
  7115. for --proxy-method option.
  7116. * doc/aria2c.1.txt
  7117. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7118. Use GET method for FTP via HTTP proxy.
  7119. * src/FtpInitiateConnectionCommand.cc
  7120. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7121. Changed the default value of --proxy-method option from 'tunnel'
  7122. to 'get'. Use 'tunnel' for HTTPS regardless of --proxy-method
  7123. option.
  7124. * src/AbstractCommand.cc
  7125. * src/AbstractCommand.h
  7126. * src/FtpInitiateConnectionCommand.cc
  7127. * src/HttpDownloadCommand.cc
  7128. * src/HttpInitiateConnectionCommand.cc
  7129. * src/HttpInitiateConnectionCommand.h
  7130. * src/OptionHandlerFactory.cc
  7131. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7132. Initialized _logger
  7133. * src/SelectEventPoll.cc
  7134. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7135. Defined a copy constructor for the same type.
  7136. * src/SharedHandle.h
  7137. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7138. Added OptionParser::parseArg() which internally uses getopt_long
  7139. to parse command-line options. All command-line options are now
  7140. configured by OptionHandler. No manual editing of struct option*
  7141. is required any more.
  7142. * src/NameMatchOptionHandler.h
  7143. * src/OptionHandler.h
  7144. * src/OptionHandlerFactory.cc
  7145. * src/OptionHandlerImpl.h
  7146. * src/OptionParser.cc
  7147. * src/OptionParser.h
  7148. * src/array_fun.h
  7149. * src/main.cc
  7150. * src/option_processing.cc
  7151. * test/OptionHandlerTest.cc
  7152. * test/OptionParserTest.cc
  7153. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7154. Fixed configure error with --disable-epoll
  7155. * configure.ac
  7156. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7157. Fixed compile error when HAVE_EPOLL is not defined.
  7158. Fixed linker error on bigendian systems.
  7159. * src/SocketCore.cc
  7160. * src/SocketCore.h
  7161. * test/DefaultBtProgressInfoFileTest.cc
  7162. 2009-02-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7163. Added --bt-external-ip option. You can specify the external IP
  7164. address to report to a BitTorrent tracker. Although this function
  7165. is named 'external', it can accept any kind of IP addresses.
  7166. * src/DefaultBtAnnounce.cc
  7167. * src/OptionHandlerFactory.cc
  7168. * src/option_processing.cc
  7169. * src/prefs.cc
  7170. * src/prefs.h
  7171. * src/usage_text.h
  7172. * test/DefaultBtAnnounceTest.cc
  7173. 2009-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7174. Extracted the algorithm to find the longest incremental sequence
  7175. as max_sequence template.
  7176. * src/LongestSequencePieceSelector.cc
  7177. * src/a2algo.h
  7178. * test/Makefile.am
  7179. * test/a2algoTest.cc
  7180. 2009-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7181. Removed TEXT_HTTP_SERVER_LISTEN_PORT from translation texts.
  7182. * src/usage_text.h
  7183. 2009-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7184. Updated doc for --uri-selector, --http-server-listen-port and
  7185. --enable-http-server option. Documented --event-poll option.
  7186. * doc/aria2c.1.txt
  7187. 2009-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7188. Updated doc for --enable-http-server.
  7189. * src/usage_text.h
  7190. 2009-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7191. Documented --http-server-listen-port and --enable-http-server in
  7192. man page.
  7193. * doc/aria2c.1.txt
  7194. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7195. Updated Spanish, Indonesian, Russian, Ukrainian and Italian
  7196. translations. Thanks to all translators.
  7197. * po/es.po
  7198. * po/id.po
  7199. * po/it.po
  7200. * po/ru.po
  7201. * po/uk.po
  7202. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7203. Bump up version number to 1.2.0
  7204. * configure.ac
  7205. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7206. BtContext::getAnnounceTiers() now returns const reference.
  7207. * src/BtContext.h
  7208. * src/DefaultBtContext.cc
  7209. * src/DefaultBtContext.h
  7210. * test/MockBtContext.h
  7211. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7212. Change the number of retries for tracker request based on the
  7213. number of available tracker in a torrent file.
  7214. * src/TrackerWatcherCommand.cc
  7215. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7216. Added _maxTries property to RequestGroup and assign the option
  7217. value of PREF_MAX_TRIES to it. AbstractCommand now looks up
  7218. RequestGroup::getMaxTries() instead of
  7219. Option::getAsInt(PREF_MAX_TRIES).
  7220. * src/AbstractCommand.cc
  7221. * src/RequestGroup.cc
  7222. * src/RequestGroup.h
  7223. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7224. Applied AdaptiveURISelector-timeout patch from Pascal Rigaux at
  7225. Mandriva. I modified the patch: make RequestGroup have the
  7226. timeout value and AdaptiveURISelector directly modifies that
  7227. value.
  7228. * src/AbstractCommand.cc
  7229. * src/AdaptiveURISelector.cc
  7230. * src/AdaptiveURISelector.h
  7231. * src/FtpNegotiationCommand.cc
  7232. * src/RequestGroup.cc
  7233. * src/RequestGroup.h
  7234. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7235. Fixed compiler warning
  7236. * test/IteratableChecksumValidatorTest.cc
  7237. 2009-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7238. Use LongestSequencePieceSelector for HTTP/FTP/BitTorrent
  7239. integrated downloads. This PieceSelector subclass finds the
  7240. longest continuous sequence in the available missing pieces and
  7241. selects the last index of such sequence. This makes HTTP/FTP
  7242. connections less interrupted by the pieces obtained by BitTorrent
  7243. peers.
  7244. * src/DefaultPieceStorage.cc
  7245. * src/DefaultPieceStorage.h
  7246. * src/LongestSequencePieceSelector.cc
  7247. * src/LongestSequencePieceSelector.h
  7248. * src/Makefile.am
  7249. * src/PieceSelector.h
  7250. * src/RarestPieceSelector.h
  7251. * src/RequestGroup.cc
  7252. * test/BtDependencyTest.cc
  7253. * test/DefaultPieceStorageTest.cc
  7254. * test/IteratableChecksumValidatorTest.cc
  7255. * test/LongestSequencePieceSelectorTest.cc
  7256. * test/Makefile.am
  7257. * test/SegmentManTest.cc
  7258. 2009-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7259. Fixed the bug that the average speed is wrong in
  7260. http/ftp/BitTorrent integrated download. Only the download bytes
  7261. in BitTorrent were considered.
  7262. * src/RequestGroup.cc
  7263. 2009-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7264. Choose port for BitTorrent/DHT randomly from the specified range.
  7265. * src/DHTConnectionImpl.cc
  7266. * src/PeerListenCommand.cc
  7267. 2009-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7268. Send HTTP Authorization header only if it is requested by the
  7269. server(response 401). There are some exceptions. The authorization
  7270. header for proxy is always sent if it is available without request
  7271. by the server. If username/password is specified in the URI, it
  7272. is immediately sent to the server without request by the server.
  7273. AbstractAuthResolver::_defaultAuthConfig is now initialized as
  7274. SharedHandle<AuthConfig>().
  7275. NetrcAuthResolver::resolveAuthConfig() returns
  7276. SharedHandle<AuthConfig>() if no AuthConfig is available.
  7277. * src/AbstractAuthResolver.cc
  7278. * src/AbstractProxyRequestCommand.cc
  7279. * src/AuthConfigFactory.cc
  7280. * src/AuthConfigFactory.h
  7281. * src/HttpConnection.cc
  7282. * src/HttpRequest.cc
  7283. * src/HttpRequest.h
  7284. * src/HttpResponse.cc
  7285. * src/HttpResponseCommand.cc
  7286. * src/HttpSkipResponseCommand.cc
  7287. * test/AuthConfigFactoryTest.cc
  7288. * test/HttpRequestTest.cc
  7289. * test/HttpResponseTest.cc
  7290. 2009-01-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7291. Remove leading "--" from help keyword and a substring after "="
  7292. from help keyword, so that one can query options by '-h--max-' or
  7293. '-hmax-peers=10'.
  7294. * src/option_processing.cc
  7295. 2009-01-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7296. Rewritten PStringVisitor and its implementation.
  7297. * src/PStringBuildVisitor.cc
  7298. * src/PStringBuildVisitor.h
  7299. * src/PStringDatum.h
  7300. * src/PStringNumLoop.h
  7301. * src/PStringSegment.cc
  7302. * src/PStringSegment.h
  7303. * src/PStringSelect.h
  7304. * src/PStringVisitor.h
  7305. * src/download_helper.cc
  7306. * test/PStringBuildVisitorTest.cc
  7307. * test/ParameterizedStringParserTest.cc
  7308. 2009-01-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7309. Persist connection between the built-in HTTP server and a client
  7310. if a client supports keep-alive. Fixed the bug that aria2 exits
  7311. when the HTTP server receives EOF from a client.
  7312. * src/HttpServer.cc
  7313. * src/HttpServer.h
  7314. * src/HttpServerCommand.cc
  7315. * src/HttpServerCommand.h
  7316. * src/HttpServerResponseCommand.cc
  7317. 2009-01-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7318. Added experimental built-in HTTP server. Currently, when a client
  7319. accesses to the server, it responds with the current download
  7320. progress. By default, it is disabled. To enable the server, give
  7321. --enable-http-server option. To change the default port number
  7322. for the server to listen to, use --http-server-listen-port option.
  7323. The response HTML is very simple and refreshes it self each 1
  7324. second. Because of this refresh, you see flicker in normal web
  7325. browser such as Firefox. I recommend to use console-based browser
  7326. such as elinks, w3m. To connect to the server, run 'elinks
  7327. http://localhost:6800/' while running aria2. Please replace port
  7328. number '6800'(which is default) with your preference.
  7329. * src/DownloadEngineFactory.cc
  7330. * src/HttpHeader.cc
  7331. * src/HttpHeader.h
  7332. * src/HttpHeaderProcessor.cc
  7333. * src/HttpHeaderProcessor.h
  7334. * src/HttpListenCommand.cc
  7335. * src/HttpListenCommand.h
  7336. * src/HttpServer.cc
  7337. * src/HttpServer.h
  7338. * src/HttpServerCommand.cc
  7339. * src/HttpServerCommand.h
  7340. * src/HttpServerResponseCommand.cc
  7341. * src/HttpServerResponseCommand.h
  7342. * src/Makefile.am
  7343. * src/OptionHandlerFactory.cc
  7344. * src/Util.cc
  7345. * src/Util.h
  7346. * src/help_tags.h
  7347. * src/option_processing.cc
  7348. * src/prefs.cc
  7349. * src/prefs.h
  7350. * src/usage_text.h
  7351. * test/HttpHeaderProcessorTest.cc
  7352. * test/UtilTest.cc
  7353. 2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7354. Removed.
  7355. * src/CheckIntegrityMan.cc
  7356. * src/FileAllocationMan.cc
  7357. 2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7358. Made (piece) hash check sequential for each RequestGroup because
  7359. simultaneous hash check is slower than sequential execution.
  7360. * src/CheckIntegrityCommand.cc
  7361. * src/CheckIntegrityDispatcherCommand.cc
  7362. * src/CheckIntegrityDispatcherCommand.h
  7363. * src/CheckIntegrityMan.h
  7364. * src/ConsoleStatCalc.cc
  7365. * src/DownloadCommand.cc
  7366. * src/DownloadEngine.cc
  7367. * src/DownloadEngine.h
  7368. * src/DownloadEngineFactory.cc
  7369. * src/Makefile.am
  7370. * src/Makefile.in
  7371. * src/RequestGroup.cc
  7372. * src/StatCalc.h
  7373. 2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7374. Moved setStatusRealtime() from FileAllocationDispatcherCommand to
  7375. SequentialDispatcherCommand.
  7376. * src/FileAllocationDispatcherCommand.cc
  7377. * src/SequentialDispatcherCommand.h
  7378. 2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7379. Rewritten FileAllocationDispatcherCommand using brand new
  7380. SequentialDispatcherCommand.
  7381. * src/DownloadEngineFactory.cc
  7382. * src/FileAllocationCommand.cc
  7383. * src/FileAllocationDispatcherCommand.cc
  7384. * src/FileAllocationDispatcherCommand.h
  7385. * src/Makefile.am
  7386. * src/SequentialDispatcherCommand.h
  7387. 2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7388. Replaced FileAllocationMan with
  7389. SequentialPicker<FileAllocationEntry>.
  7390. * src/BtCheckIntegrityEntry.cc
  7391. * src/ConsoleStatCalc.cc
  7392. * src/DownloadEngine.cc
  7393. * src/DownloadEngine.h
  7394. * src/DownloadEngineFactory.cc
  7395. * src/FileAllocationCommand.cc
  7396. * src/FileAllocationDispatcherCommand.cc
  7397. * src/FileAllocationMan.h
  7398. * src/Makefile.am
  7399. * src/SequentialPicker.h
  7400. * src/StatCalc.h
  7401. * src/StreamCheckIntegrityEntry.cc
  7402. * test/Makefile.am
  7403. * test/SequentialPickerTest.cc
  7404. 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7405. Added doc for adaptive URI selector.
  7406. * doc/aria2c.1.txt
  7407. 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7408. Added doc for adaptive URI selector.
  7409. * src/usage_text.h
  7410. 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7411. Added doc for --bt-max-peers option.
  7412. * doc/aria2c.1.txt
  7413. 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7414. Added doc for --bt-hash-check-seed option.
  7415. * doc/aria2c.1.txt
  7416. 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7417. Documented exit codes.
  7418. * doc/aria2c.1.txt
  7419. 2009-01-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7420. Added --bt-max-peers option to specify the maximum number of peers
  7421. per torrent. 0 means unlimited number of peers.
  7422. * src/ActivePeerConnectionCommand.cc
  7423. * src/BtRuntime.h
  7424. * src/DefaultPeerStorage.cc
  7425. * src/DefaultPeerStorage.h
  7426. * src/OptionHandlerFactory.cc
  7427. * src/RequestGroup.cc
  7428. * src/option_processing.cc
  7429. * src/prefs.cc
  7430. * src/prefs.h
  7431. * src/usage_text.h
  7432. * test/DefaultPeerStorageTest.cc
  7433. 2009-01-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7434. Added --bt-hash-check-seed option. If true is given to this
  7435. option, after hash check using --check-integrity option and file
  7436. is complete, continue to seed file. If you want to check file and
  7437. download it only when it is damaged or incomplete, set this option
  7438. to false. This option has effect only on BitTorrent download.
  7439. The default value is true(This is the same behavior with the
  7440. previous release).
  7441. * src/BtCheckIntegrityEntry.cc
  7442. * src/OptionHandlerFactory.cc
  7443. * src/option_processing.cc
  7444. * src/prefs.cc
  7445. * src/prefs.h
  7446. * src/usage_text.h
  7447. 2009-01-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7448. Updated copyright year.
  7449. * src/version_usage.cc
  7450. 2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7451. Rewritten the usage text for --bt-request-peer-speed-limit option.
  7452. * doc/aria2c.1.txt
  7453. * src/usage_text.h
  7454. 2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7455. Made the max value of split option unlimited.
  7456. * doc/aria2c.1.txt
  7457. * src/OptionHandlerFactory.cc
  7458. 2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7459. Fixed compile warning/error.
  7460. * src/DownloadResult.h
  7461. * src/HttpDownloadCommand.cc
  7462. * src/ServerStat.cc
  7463. * test/RequestGroupTest.cc
  7464. 2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7465. Added --event-poll option to select the method for polling events.
  7466. The available methods are "select" and "epoll". "epoll" is
  7467. available on Linux only. The earlier release has the compile
  7468. option to choose from these methods.
  7469. * configure.ac
  7470. * src/RequestGroupMan.cc
  7471. * src/OptionHandlerFactory.cc
  7472. * src/EpollEventPoll.h
  7473. * src/StreamFileAllocationEntry.cc
  7474. * src/a2io.h
  7475. * src/SelectEventPoll.h
  7476. * src/option_processing.cc
  7477. * src/prefs.h
  7478. * src/EpollEventPoll.cc
  7479. * src/EventPoll.h
  7480. * src/SocketCore.h
  7481. * src/Makefile.am
  7482. * src/main.cc
  7483. * src/DownloadEngine.h
  7484. * src/SelectEventPoll.cc
  7485. * src/DownloadEngine.cc
  7486. * src/SocketCore.cc
  7487. * src/DownloadEngineFactory.cc
  7488. * src/Makefile.in
  7489. * src/prefs.cc
  7490. * src/usage_text.h
  7491. 2009-01-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7492. Included RecoverableException.h from main.cc
  7493. * src/main.cc
  7494. 2009-01-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7495. Applied exit-status patch from Pascal Rigaux at Mandriva. aria2
  7496. now returns last error encountered in the HTTP/FTP downloads as a
  7497. exit status value. If all downloads finished successfully, aria2
  7498. returns 0. The error code is defined in src/DownloadResult.h.
  7499. The error occurred in the download currently in progress is not
  7500. reported as a last error. If no error has encountered but there
  7501. are in progress or waiting downloads, aria2 returns 7.
  7502. * src/AbstractCommand.cc
  7503. * src/DlAbortEx.h
  7504. * src/DlRetryEx.h
  7505. * src/DownloadCommand.cc
  7506. * src/DownloadFailureException.h
  7507. * src/DownloadResult.h
  7508. * src/FtpNegotiationCommand.cc
  7509. * src/HttpSkipResponseCommand.cc
  7510. * src/Makefile.am
  7511. * src/MultiUrlRequestInfo.cc
  7512. * src/MultiUrlRequestInfo.h
  7513. * src/RecoverableException.h
  7514. * src/RequestGroup.cc
  7515. * src/RequestGroup.h
  7516. * src/RequestGroupMan.cc
  7517. * src/RequestGroupMan.h
  7518. * src/URIResult.cc
  7519. * src/URIResult.h
  7520. * src/main.cc
  7521. * src/option_processing.cc
  7522. * test/RequestGroupTest.cc
  7523. 2009-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7524. Applied AdaptiveURISelector patch from Aurelien Lefebvre. This
  7525. patch adds AdaptiveURISelector, which selects one of the bests
  7526. mirrors for first and reserved connections. For supplementary
  7527. ones, it returns mirrors which has not been tested yet, and if
  7528. each of them already tested, returns mirrors which has to be
  7529. tested again. Otherwise, it doesn't return anymore mirrors.
  7530. * src/AdaptiveURISelector.cc
  7531. * src/AdaptiveURISelector.h
  7532. * src/FtpNegotiationCommand.cc
  7533. * src/HttpResponseCommand.cc
  7534. * src/Makefile.am
  7535. * src/Makefile.in
  7536. * src/OptionHandlerFactory.cc
  7537. * src/RequestGroup.cc
  7538. * src/RequestGroup.h
  7539. * src/RequestGroupMan.cc
  7540. * src/ServerStat.cc
  7541. * src/ServerStat.h
  7542. * src/ServerStatMan.cc
  7543. * src/SpeedCalc.cc
  7544. * src/URISelector.h
  7545. * src/prefs.cc
  7546. * src/prefs.h
  7547. * test/RequestGroupManTest.cc
  7548. * test/ServerStatManTest.cc
  7549. * test/ServerStatTest.cc
  7550. 2009-01-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7551. Fixed unit test error.
  7552. * test/HttpResponseTest.cc (HttpResponseTest::testRetrieveCookie)
  7553. 2008-12-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7554. * Release 1.1.2
  7555. 2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7556. Updated Russian translation. Thanks to the translators.
  7557. * po/ru.po
  7558. 2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7559. Added the description of --use-head option to man page.
  7560. * doc/aria2c.1.txt
  7561. 2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7562. Bump up version number to 1.1.2
  7563. * configure.ac
  7564. 2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7565. Added --use-head option to toggle whether HEAD method should be
  7566. used in the first HTTP request. By default aria2 uses HEAD method
  7567. as the first request. When the server doesn't recognize HEAD, then
  7568. give aria2 --use-head=false to force aria2 to use GET method
  7569. instead.
  7570. * src/OptionHandlerFactory.cc
  7571. * src/RequestGroupMan.cc
  7572. * src/option_processing.cc
  7573. * src/prefs.cc
  7574. * src/prefs.h
  7575. * src/usage_text.h
  7576. 2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7577. Fixed the bug that BitTorrent download doesn't finish when REJECT
  7578. message is received before CHOKE message. The old implementation
  7579. doen't clear the use-bit of the piece when recieved REJECT
  7580. message.
  7581. * src/DefaultBtMessageDispatcher.cc
  7582. * test/DefaultBtMessageDispatcherTest.cc
  7583. 2008-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7584. * Release 1.1.1
  7585. 2008-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7586. Bump up version number to 1.1.1.
  7587. * configure.ac
  7588. 2008-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7589. Fixed the bug that --summary-interval=0 doesn't work. The summary
  7590. is printed repeatedly.
  7591. * src/ConsoleStatCalc.cc
  7592. 2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7593. * Release 1.1.0
  7594. 2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7595. Added ifdef clause for conditional compilation.
  7596. * src/main.cc
  7597. 2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7598. Updated Russian, Simplified Chinese, Ukrainian and Japanese
  7599. translations. Thanks to all translators.
  7600. * po/ja.po
  7601. * po/ru.po
  7602. * po/uk.po
  7603. * po/zh_CN.po
  7604. 2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7605. Added the preceding ">>> " before the message "Printing the
  7606. contents of file..." to make the output more readable.
  7607. * src/main.cc
  7608. 2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7609. Added try-catch block in the loop in showFiles() to continue the
  7610. operation even if the exception occurred in one file.
  7611. * src/main.cc (showFiles)
  7612. 2008-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7613. Made messages in showFiles() translatable.
  7614. * po/aria2.pot
  7615. * src/main.cc
  7616. * src/message.h
  7617. 2008-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7618. Print the contents of Torrent/Metalink files are printed without
  7619. -T/-M options.
  7620. * src/main.cc
  7621. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7622. Escaped '--' with '\--'
  7623. * README
  7624. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7625. Updated "How to build" section in README. Mentioned about
  7626. --with-ca-bundle compile option.
  7627. * README
  7628. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7629. Bump up version number to 1.1.0.
  7630. * configure.ac
  7631. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7632. Added a note for --dht-listen-port option.
  7633. * doc/aria2c.1.txt
  7634. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7635. Update doc for --realtime-chunk-checksum option.
  7636. * doc/aria2c.1.txt
  7637. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7638. Update doc for --realtime-chunk-checksum option.
  7639. * src/usage_text.h
  7640. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7641. Updated French, Japanese, Russian and Ukrainian translations.
  7642. Thanks to all translators.
  7643. * po/fr.po
  7644. * po/ja.po
  7645. * po/ru.po
  7646. * po/uk.po
  7647. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7648. Renamed aria2c.pot to aria2.pot
  7649. * po/aria2.pot
  7650. * po/aria2c.pot: Removed.
  7651. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7652. Removed MetaEntry.h
  7653. * src/Makefile.am
  7654. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7655. Rename file by appending digits if a local file exists and its
  7656. file size is larger than that of remote file with --continue
  7657. option. The old implementation just throws exception in such case.
  7658. * src/RequestGroup.cc
  7659. 2008-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7660. Fixed the bug that download progress summary is not printed in the
  7661. interval specified by the option.
  7662. * src/ConsoleStatCalc.cc
  7663. * src/ConsoleStatCalc.h
  7664. 2008-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7665. Fixed compiler warning
  7666. * src/Cookie.cc
  7667. 2008-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7668. Fixed the cookie implementation based on RFC2965.
  7669. Now if a value in domain field is not started with dot, then
  7670. prepend dot. That means a cookie with domain=sf.net is sent to
  7671. wiki.sf.net.
  7672. * src/Cookie.cc
  7673. * test/CookieParserTest.cc
  7674. * test/CookieStorageTest.cc
  7675. * test/CookieTest.cc
  7676. * test/NsCookieParserTest.cc
  7677. * test/Sqlite3MozCookieParserTest.cc
  7678. 2008-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7679. Fixed the bug that causes corrupted downloads if HTTP pipelining
  7680. is enabled and the server doesn't support keep-alive.
  7681. * src/AbstractCommand.cc
  7682. * src/DownloadCommand.cc
  7683. * src/HttpDownloadCommand.cc
  7684. * src/HttpDownloadCommand.h
  7685. * src/HttpResponseCommand.cc
  7686. * src/Request.cc
  7687. * src/Request.h
  7688. * test/RequestTest.cc
  7689. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7690. Removed Dictionary/List/Data and its related classes.
  7691. * src/BencodeVisitor.cc: Removed.
  7692. * src/BencodeVisitor.h: Removed.
  7693. * src/Data.cc: Removed.
  7694. * src/Data.h: Removed.
  7695. * src/Dictionary.cc: Removed.
  7696. * src/Dictionary.h: Removed.
  7697. * src/List.cc: Removed.
  7698. * src/List.h: Removed.
  7699. * src/Makefile.am
  7700. * src/MetaEntry.h: Removed.
  7701. * src/MetaEntryVisitor.h: Removed.
  7702. * src/MetaFileUtil.cc: Removed.
  7703. * src/MetaFileUtil.h: Removed.
  7704. * test/BencodeVisitorTest.cc: Removed.
  7705. * test/DataTest.cc: Removed.
  7706. * test/DictionaryTest.cc: Removed.
  7707. * test/ListTest.cc: Removed.
  7708. * test/Makefile.am
  7709. * test/MetaFileUtilTest.cc: Removed.
  7710. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7711. Removed include of MetaEntry.h
  7712. * test/DHTMessageTrackerEntryTest.cc
  7713. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7714. Use BDE instead of Dictionary/List/Data.
  7715. * src/AnnounceList.cc
  7716. * src/AnnounceList.h
  7717. * test/AnnounceListTest.cc
  7718. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7719. Use BDE instead of Dictionary/List/Data.
  7720. * src/DHTAbstractMessage.cc
  7721. * src/DHTAbstractMessage.h
  7722. * src/DHTAnnouncePeerMessage.cc
  7723. * src/DHTAnnouncePeerMessage.h
  7724. * src/DHTAnnouncePeerReplyMessage.cc
  7725. * src/DHTAnnouncePeerReplyMessage.h
  7726. * src/DHTFindNodeMessage.cc
  7727. * src/DHTFindNodeMessage.h
  7728. * src/DHTFindNodeReplyMessage.cc
  7729. * src/DHTFindNodeReplyMessage.h
  7730. * src/DHTGetPeersMessage.cc
  7731. * src/DHTGetPeersMessage.h
  7732. * src/DHTGetPeersReplyMessage.cc
  7733. * src/DHTGetPeersReplyMessage.h
  7734. * src/DHTMessageFactory.h
  7735. * src/DHTMessageFactoryImpl.cc
  7736. * src/DHTMessageFactoryImpl.h
  7737. * src/DHTMessageReceiver.cc
  7738. * src/DHTMessageTracker.cc
  7739. * src/DHTMessageTracker.h
  7740. * src/DHTPingMessage.cc
  7741. * src/DHTPingMessage.h
  7742. * src/DHTPingReplyMessage.cc
  7743. * src/DHTPingReplyMessage.h
  7744. * src/DHTQueryMessage.cc
  7745. * src/DHTQueryMessage.h
  7746. * src/DHTResponseMessage.cc
  7747. * src/DHTResponseMessage.h
  7748. * test/DHTAnnouncePeerMessageTest.cc
  7749. * test/DHTAnnouncePeerReplyMessageTest.cc
  7750. * test/DHTFindNodeMessageTest.cc
  7751. * test/DHTFindNodeReplyMessageTest.cc
  7752. * test/DHTGetPeersMessageTest.cc
  7753. * test/DHTGetPeersReplyMessageTest.cc
  7754. * test/DHTMessageFactoryImplTest.cc
  7755. * test/DHTMessageTrackerTest.cc
  7756. * test/DHTPingMessageTest.cc
  7757. * test/DHTPingReplyMessageTest.cc
  7758. * test/MockDHTMessageFactory.h
  7759. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7760. Added tests the case where length < 0 is specified.
  7761. * test/BencodeTest.cc
  7762. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7763. Fixed memory leak in decoderawstring()
  7764. * src/bencode.cc
  7765. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7766. Added missing #ifdef guard. Added uc() function for String and
  7767. removeKey() for Dict.
  7768. * src/bencode.cc
  7769. * src/bencode.h
  7770. * test/BencodeTest.cc
  7771. 2008-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7772. Use BDE instead of Dictionary/List/Data.
  7773. * src/HandshakeExtensionMessage.cc
  7774. * src/HandshakeExtensionMessage.h
  7775. * test/HandshakeExtensionMessageTest.cc
  7776. 2008-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7777. Added --max-overall-upload-limit option. This option limits the
  7778. overall upload speed. Stated in help message that the existing
  7779. --max-upload-limit option limits the upload speed per each
  7780. torrent. Man page is also updated.
  7781. * doc/aria2c.1.txt
  7782. * src/DefaultBtMessageDispatcher.cc
  7783. * src/DefaultBtMessageDispatcher.h
  7784. * src/OptionHandlerFactory.cc
  7785. * src/PeerInteractionCommand.cc
  7786. * src/option_processing.cc
  7787. * src/prefs.cc
  7788. * src/prefs.h
  7789. * src/usage_text.h
  7790. 2008-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7791. Use BDE instead of Dictionary/List/Data classes.
  7792. * src/CompactPeerListProcessor.cc
  7793. * src/CompactPeerListProcessor.h
  7794. * src/DefaultBtAnnounce.cc
  7795. * src/DefaultBtContext.cc
  7796. * src/DefaultBtContext.h
  7797. * src/DefaultPeerListProcessor.cc
  7798. * src/DefaultPeerListProcessor.h
  7799. * src/DelegatingPeerListProcessor.cc
  7800. * src/DelegatingPeerListProcessor.h
  7801. * src/PeerListProcessor.h
  7802. * src/UTPexExtensionMessage.cc
  7803. * src/Util.h
  7804. * src/message.h
  7805. * test/DefaultBtContextTest.cc
  7806. * test/DefaultPeerListProcessorTest.cc
  7807. 2008-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7808. Added bencode helper functions and BDE class.
  7809. They will replace MetaFileUtil and Dictionary/List/Data classes.
  7810. * src/Makefile.am
  7811. * src/bencode.cc
  7812. * src/bencode.h
  7813. * test/BencodeTest.cc
  7814. * test/Makefile.am
  7815. 2008-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7816. Fixed the bug that bad URI is sent to the tracker when the announe
  7817. URI in torrent file includes query.
  7818. * src/DefaultBtAnnounce.cc
  7819. * test/DefaultBtAnnounceTest.cc
  7820. 2008-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7821. Added Option::blank().
  7822. Use !Option::blank(name) instead of Option::defined(name) for
  7823. the options that take filename.
  7824. * src/MultiUrlRequestInfo.cc
  7825. * src/Option.cc
  7826. * src/Option.h
  7827. * src/main.cc
  7828. * src/option_processing.cc
  7829. * test/OptionTest.cc
  7830. 2008-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7831. Documented the default value of --check-certificate option in man
  7832. page.
  7833. * doc/aria2c.1.txt
  7834. 2008-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7835. Enabled --check-certificate by default. Added compile
  7836. time(configure) option --with-ca-bundle to specify CA bundle.
  7837. Warn if --check-certificate=true and --ca-certificate is not
  7838. specified or loading CA certificate is failed.
  7839. * configure.ac
  7840. * src/MultiUrlRequestInfo.cc
  7841. * src/OptionHandlerFactory.cc
  7842. * src/message.h
  7843. 2008-12-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7844. Mentioned https tag in help option.
  7845. * doc/aria2c.1.txt
  7846. 2008-12-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7847. Added `https' tag to help option category. Added https tag to
  7848. --ca-certificate, --certificate, --check-certificate and
  7849. --private-key option.
  7850. * src/OptionHandlerFactory.cc
  7851. * src/help_tags.h
  7852. * src/option_processing.cc
  7853. 2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7854. Changed the package name from `aria2c' to `aria2' in order to fix
  7855. the packaging issue in Debian and Fedora. The name of the
  7856. executable is not changed.
  7857. * configure.ac
  7858. 2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7859. Fixed typos
  7860. * src/usage_text.h
  7861. 2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7862. Fixed typos and updated doc.
  7863. * README
  7864. 2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7865. Fixed typos
  7866. * doc/aria2c.1.txt
  7867. 2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7868. Fixed typos
  7869. * src/usage_text.h
  7870. 2008-11-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7871. Print a message when no files to download.
  7872. * src/download_helper.cc
  7873. * src/main.cc
  7874. * src/message.h
  7875. 2008-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7876. RFC3986 complied Percent-Encoding(urlencode).
  7877. Use uppercase hexadecimal digits for encoded text instead of lowercase
  7878. ones.
  7879. * src/Request.cc
  7880. * src/Util.cc
  7881. * src/Util.h
  7882. * test/BtHandshakeMessageTest.cc
  7883. * test/DefaultBtAnnounceTest.cc
  7884. * test/DefaultBtContextTest.cc
  7885. * test/RequestTest.cc
  7886. * test/UtilTest.cc
  7887. 2008-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7888. Fixed the bug that prevents aria2 from downloading 0-length files
  7889. via HTTP/FTP.
  7890. * src/DefaultBtContext.cc
  7891. * src/DefaultBtContext.h
  7892. * src/DownloadContext.h
  7893. * src/FtpNegotiationCommand.cc
  7894. * src/HttpResponseCommand.cc
  7895. * src/HttpResponseCommand.h
  7896. * src/RequestGroup.cc
  7897. * src/SingleFileDownloadContext.cc
  7898. * src/SingleFileDownloadContext.h
  7899. * test/BtPostDownloadHandlerTest.cc
  7900. * test/MetalinkPostDownloadHandlerTest.cc
  7901. * test/MockBtContext.h
  7902. 2008-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7903. Fixed the bug that -pfalse and -ptrue are not recognized properly.
  7904. * src/option_processing.cc
  7905. 2008-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7906. Applied aria2-1.0.1-mingw.patch.
  7907. Use SOCKET_ERRNO instead of errno if the code is used both linux and
  7908. mingw.
  7909. Collected 4th and 5th argument types for getsockopt and setsockopt.
  7910. * src/SocketCore.cc
  7911. * src/a2netcompat.h
  7912. * test/SocketCoreTest.cc
  7913. 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7914. * Release 1.0.1
  7915. 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7916. Updated Ukrainian and Norwegian Nynorsk translations.
  7917. Thanks to all translators.
  7918. * po/nn.po
  7919. * po/uk.po
  7920. 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7921. Don't show download result when -S option is used.
  7922. * src/main.cc
  7923. 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7924. Bump up version number to 1.0.1
  7925. * configure.ac
  7926. 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7927. Closed files after the test cases in MultiDiskWriterTest::
  7928. testResetDiskWriterEntries(). This will fix the unit test error
  7929. in mingw32 build.
  7930. * test/MultiDiskWriterTest.cc
  7931. 2008-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7932. Use HEAD method to get file size from HTTP server for segmented
  7933. downloading.
  7934. The request to the BitTorrent Tracker always uses GET method because
  7935. the response of the tracker is small and it doesn't need segmented
  7936. download.
  7937. * src/FtpNegotiationCommand.cc
  7938. * src/HttpRequest.cc
  7939. * src/HttpResponseCommand.cc
  7940. * src/HttpSkipResponseCommand.cc
  7941. * src/RequestGroup.cc
  7942. * src/RequestGroup.h
  7943. * src/TrackerWatcherCommand.cc
  7944. * test/HttpRequestTest.cc
  7945. 2008-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7946. Fixed the bug that causes floating exception when -T option is used and
  7947. no URIs are given.
  7948. * src/download_helper.cc
  7949. * test/DownloadHelperTest.cc
  7950. 2008-11-22 Ross Smith II <aria2spam at smithii dot com>
  7951. Applied aria2-1.0.0-mingw-r5.patch to fix numerous compile/unit test
  7952. errors in MinGW:
  7953. Closed file after saving server stats (RequestGroupMan.cc)
  7954. Fixed time parsing if internal strptime() is missing (FtpConnection.cc)
  7955. Ignored case & handled 2-digit years (strptime.c)
  7956. Added missing suseconds_t definition (a2time.h)
  7957. Fixed socket CLOSE() define (SocketCore.cc)
  7958. Changed EINPROGRESS to A2_EINPROGRESS (SocketCore.cc)
  7959. Changed utime() test values from x000 to x00000 as MinGW failed on
  7960. values less than timezone offset from Unix epoch
  7961. Changed 'struct stat' to 'a2_struct_stat' (FileTest.cc)
  7962. Added waitRead() call prior to reading socket (FtpConnectionTest.cc)
  7963. Changed date from 01-Jan-1960 to 01-Jan-1970 00:00:01 as MinGW can't
  7964. handle negative dates (CookieParserTest.cc)
  7965. * src/a2time.h
  7966. * src/FtpConnection.cc
  7967. * src/RequestGroupMan.cc
  7968. * src/SocketCore.cc
  7969. * src/strptime.c
  7970. * test/CookieParserTest.cc
  7971. * test/CopyDiskAdaptorTest.cc
  7972. * test/FileTest.cc
  7973. * test/FtpConnectionTest.cc
  7974. * test/MultiDiskAdaptorTest.cc
  7975. 2008-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7976. Fixed typo in "OPTIONS THAT TAKE AN OPTIONAL ARGUMENT" section.
  7977. * doc/aria2c.1.txt
  7978. 2008-11-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7979. * Release 1.0.0
  7980. 2008-11-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7981. Added '~' to reserved characters.
  7982. * src/Util.cc
  7983. 2008-11-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7984. Do not urlencode Request::url in setUrl() because we want unmodified
  7985. URL using Request::getUrl()
  7986. * src/Request.cc
  7987. * src/Request.h
  7988. * test/RequestTest.cc
  7989. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7990. Updated Ukrainian, Japanese, Bulgarian, Russian and French translations.
  7991. Thanks to all translators.
  7992. * po/bg.po
  7993. * po/fr.po
  7994. * po/ja.po
  7995. * po/ru.po
  7996. * po/uk.po
  7997. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7998. Bump up version number to 1.0.0
  7999. * configure.ac
  8000. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8001. Added nosqlite3 build to build_test.sh.
  8002. Renamed noxml as expat.
  8003. * build_test.sh
  8004. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8005. Updated INPUT FILE section.
  8006. * doc/aria2c.1.txt
  8007. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8008. Excluded testLoad_compat() and testLoad_nonBt_compat() when compiled
  8009. on big endian systems because test .aria2 files are made for little
  8010. endian systems.
  8011. * test/DefaultBtProgressInfoFileTest.cc
  8012. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8013. Dropped ares support.
  8014. * README
  8015. * configure.ac
  8016. * m4/libares.m4: Removed.
  8017. * src/AsyncNameResolver.cc
  8018. * src/Makefile.am
  8019. * test/Makefile.am
  8020. 2008-11-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8021. Rewritten ByteArrayDiskWriter::size() using seekg() and tellg().
  8022. Removed const qualifier from DiskWriter::size().
  8023. * src/AbstractDiskWriter.cc
  8024. * src/AbstractDiskWriter.h
  8025. * src/ByteArrayDiskWriter.cc
  8026. * src/ByteArrayDiskWriter.h
  8027. * src/DiskWriter.h
  8028. * test/ByteArrayDiskWriterTest.cc
  8029. 2008-11-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8030. Fixed the bug that causes segmentation fault/bus error during executing
  8031. choking algorithm while seeding. This is caused by improper
  8032. implementation of compare function which returns inconsistent results
  8033. depending on the timing of last unchoke.
  8034. * src/BtSeederStateChoke.cc
  8035. * src/BtSeederStateChoke.h
  8036. * src/DefaultPeerStorage.cc
  8037. 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8038. Removed TODO
  8039. * TODO
  8040. 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8041. Added a section that explains how to pass argument to options that
  8042. takes optional arguments with its short form.
  8043. * doc/aria2c.1.txt
  8044. 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8045. Added -u for the short form of --max-upload-limit option.
  8046. * doc/aria2c.1.txt
  8047. * src/option_processing.cc
  8048. * src/usage_text.h
  8049. 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8050. Added -V for the short form of --check-integrity option.
  8051. Now the argument of --check-integrity option is optional:
  8052. if it is omitted, it is evaluated as true.
  8053. * doc/aria2c.1.txt
  8054. * src/option_processing.cc
  8055. * src/usage_text.h
  8056. 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8057. Made the default value of --ftp-pasv option set to true and it can take
  8058. true/false values.
  8059. * src/OptionHandlerFactory.cc
  8060. * src/option_processing.cc
  8061. * src/usage_text.h
  8062. * doc/aria2c.1.txt
  8063. 2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8064. Given custom random number generator to std::random_shuffle.
  8065. * src/AnnounceList.cc
  8066. * src/BtLeecherStateChoke.cc
  8067. * src/BtSeederStateChoke.cc
  8068. * src/DefaultBtRequestFactory.cc
  8069. * src/MetalinkEntry.cc
  8070. * src/RarestPieceSelector.cc
  8071. * src/SimpleRandomizer.cc
  8072. * src/SimpleRandomizer.h
  8073. 2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8074. Now the default value of --enable-direct-io is true.
  8075. * src/OptionHandlerFactory.cc
  8076. * doc/aria2c.1.txt
  8077. 2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8078. Erase peer before executing onReturningPeer and onErasingPeer
  8079. because choking algorithm called from onReturningPeer doesn't
  8080. like erasing peer in the active peer list.
  8081. * src/DefaultPeerStorage.cc
  8082. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8083. Instead of creating special filename in createDownloadResult() if
  8084. inMemoryDownload() is true, now it is done in getFilePath().
  8085. * src/RequestGroup.cc
  8086. * test/RequestGroupTest.cc
  8087. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8088. Print "[MEMORY]" and filename if a file is not saved in disk and just
  8089. processed in memory. This is the fix for previous comment out.
  8090. * src/MemoryBufferPreDownloadHandler.cc
  8091. * src/RequestGroup.cc
  8092. * src/RequestGroup.h
  8093. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8094. Commented out the code which sets virtual directory path "[MEMORY]"
  8095. propagate directory to store to following RequestGroup.
  8096. * src/MemoryBufferPreDownloadHandler.cc
  8097. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8098. Bump up version number to 1.0.0b
  8099. * configure.ac
  8100. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8101. Added input_uris.txt to EXTRA_DIST
  8102. * test/Makefile.am
  8103. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8104. Removed PeerObject.h from Makefile.am
  8105. * src/Makefile.am
  8106. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8107. Avoid slow seeding
  8108. * src/PeerInteractionCommand.cc
  8109. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8110. Updated usage for -i option.
  8111. * src/usage_text.h (TEXT_INPUT_FILE)
  8112. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8113. Added INPUT FILE section to man page.
  8114. Escaped fake URLs.
  8115. * doc/aria2c.1.txt
  8116. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8117. Fixed wrong note position for -o option.
  8118. * doc/aria2c.1.txt
  8119. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8120. Fixed compile error without SSL/XML library.
  8121. * src/DefaultBtProgressInfoFile.cc
  8122. * src/DefaultBtProgressInfoFile.h
  8123. * src/FileMetalinkParserState.cc
  8124. * src/RequestGroup.h
  8125. * src/SocketCore.cc
  8126. * src/SocketCore.h
  8127. * src/VerificationMetalinkParserState.cc
  8128. * src/download_helper.h
  8129. * src/main.cc
  8130. * test/DefaultBtProgressInfoFileTest.cc
  8131. * test/DownloadHelperTest.cc
  8132. 2008-11-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8133. Rewritten URI handling functions. They are now provided as a testable
  8134. functions.
  8135. * src/Makefile.am
  8136. * src/RequestGroup.cc
  8137. * src/RequestGroup.h
  8138. * src/download_helper.cc
  8139. * src/download_helper.h
  8140. * src/main.cc
  8141. * test/DownloadHelperTest.cc
  8142. * test/Makefile.am
  8143. * test/input_uris.txt
  8144. 2008-11-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8145. Quickly terminate commands when ctrl-c is pressed.
  8146. * src/DownloadEngine.cc
  8147. 2008-11-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8148. Quickly terminate idle commands when download finished.
  8149. * src/AbstractCommand.cc
  8150. * src/DownloadCommand.cc
  8151. * src/DownloadEngine.cc
  8152. * src/DownloadEngine.h
  8153. * src/SleepCommand.cc
  8154. * src/SleepCommand.h
  8155. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8156. Added the ability to specify output filename and directory in input
  8157. file.
  8158. Additional parameters are added in the following line of URIs
  8159. with proceeding white space(s), 1 parameter in 1 line.
  8160. The parameter names are the same with the command-line option name
  8161. without proceeding "--". Not all the options are available here:
  8162. at the moment, 'dir' and 'out' options are avialable.
  8163. Please note that out option has no effect against Metalink or BitTorrent
  8164. downloads.
  8165. Example input file:
  8166. http://host/foo-1.1.tar.bz2
  8167. out=foo.tar.bz2
  8168. dir=/tmp/downloads
  8169. http://host/thundermonkey-2.0.tar.bz2
  8170. And then invoke 'aria2c -i url.txt --dir ~/mydownloads'.
  8171. foo-1.1.tar.bz2 is saved as /tmp/downloads/foo.tar.bz2, whereas
  8172. thundermonkey-2.0.tar.bz2 is saved as
  8173. ~/mydownloads/thundermonkey-2.0.tar.bz2.
  8174. * src/BtPostDownloadHandler.cc
  8175. * src/Metalink2RequestGroup.cc
  8176. * src/Metalink2RequestGroup.h
  8177. * src/MetalinkPostDownloadHandler.cc
  8178. * src/UriListParser.cc
  8179. * src/UriListParser.h
  8180. * src/main.cc
  8181. * test/Metalink2RequestGroupTest.cc
  8182. * test/UriListParserTest.cc
  8183. * test/filelist1.txt
  8184. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8185. Fixed error when SSL library is not found.
  8186. * configure.ac
  8187. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8188. Cross referenced among -s, -C and -j options.
  8189. Updated usage of -C and -s options.
  8190. * src/usage_text.h
  8191. * doc/aria2c.1.txt
  8192. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8193. Fixed bad cast in 32bit platforms.
  8194. * test/DefaultPieceStorageTest.cc
  8195. (DefaultPieceStorageTest::testGetCompletedLength)
  8196. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8197. Fixed unit test fails on 32bit platforms.
  8198. * test/CookieParserTest.cc
  8199. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8200. Show an average download speed in Download results.
  8201. * src/BtFileAllocationEntry.cc
  8202. * src/DefaultPieceStorage.cc
  8203. * src/DownloadContext.cc
  8204. * src/DownloadContext.h
  8205. * src/DownloadResult.h
  8206. * src/RequestGroup.cc
  8207. * src/RequestGroupMan.cc
  8208. * src/StreamFileAllocationEntry.cc
  8209. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8210. Fixed the bug that metalink file is not processed if Content-Type
  8211. field has a paramter.
  8212. * src/HttpResponse.cc
  8213. * src/HttpResponse.h
  8214. * test/HttpResponseTest.cc
  8215. 2008-11-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8216. Removed unused code.
  8217. * src/DefaultBtAnnounce.cc
  8218. 2008-11-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8219. Fixed the bug that DefaultPieceStorage::getCompletedLength() returns
  8220. the value larger than DefaultPieceStorage::getTotalLength() when
  8221. in flight pieces are involved.
  8222. * src/DefaultPieceStorage.cc
  8223. * test/DefaultPieceStorageTest.cc
  8224. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8225. Bump up version number to 1.0.0a.
  8226. * configure.ac
  8227. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8228. Updated configure.ac
  8229. * configure.ac
  8230. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8231. Added usege for proxy.
  8232. * doc/aria2c.1.txt
  8233. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8234. Added usage for --ca-certificate, --certificate, --private-key and
  8235. --check-certificate options.
  8236. * doc/aria2c.1.txt
  8237. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8238. Updated man page
  8239. * doc/aria2c.1.txt
  8240. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8241. Added --no-proxy option. It receives comman separated hostname or
  8242. domains to which proxy should not be used.
  8243. aria2 honors the environment variable no_proxy to override no-proxy
  8244. value in configuration file. The user can override the environment
  8245. variable no_proxy with --no-proxy command-line option.
  8246. * src/AbstractCommand.cc
  8247. * src/OptionHandlerFactory.cc
  8248. * src/option_processing.cc
  8249. * src/prefs.cc
  8250. * src/prefs.h
  8251. * src/usage_text.h
  8252. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8253. Added the ability to verify peer in SSL/TLS using given CA certificates.
  8254. The CA certificates are specified in --ca-certificate option.
  8255. By default, the verification is disabled. Use --check-certificate
  8256. option to enable it.
  8257. * src/HttpRequestCommand.cc
  8258. * src/LibgnutlsTLSContext.cc
  8259. * src/LibgnutlsTLSContext.h
  8260. * src/LibsslTLSContext.cc
  8261. * src/LibsslTLSContext.h
  8262. * src/MultiUrlRequestInfo.cc
  8263. * src/OptionHandlerFactory.cc
  8264. * src/SocketCore.cc
  8265. * src/SocketCore.h
  8266. * src/a2functional.h
  8267. * src/message.h
  8268. * src/option_processing.cc
  8269. * src/prefs.cc
  8270. * src/prefs.h
  8271. * src/usage_text.h
  8272. 2008-11-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8273. Added client certificate authentication for SSL/TLS.
  8274. Currently a private key must be decrypted for use with aria2.
  8275. If a user accidentally gives encrypted file to aria2 then following
  8276. thing happens:
  8277. If encrypted private key is given to aria2, it behaves differently
  8278. depending on the ssl library it uses. If aria2 built with openssl then
  8279. openssl prompts the user for password. If aria2 build with gnutls then
  8280. aria2 exists with error at start up.
  8281. * src/DownloadEngineFactory.cc
  8282. * src/MultiUrlRequestInfo.cc
  8283. * src/OptionHandlerFactory.cc
  8284. * src/option_processing.cc
  8285. * src/prefs.cc
  8286. * src/prefs.h
  8287. * src/usage_text.h
  8288. 2008-11-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8289. Introduced TLSContext that holds TLS related data that can be shared
  8290. with multiple SSL connections.
  8291. * src/DownloadEngineFactory.cc
  8292. * src/LibgnutlsTLSContext.cc
  8293. * src/LibgnutlsTLSContext.h
  8294. * src/LibsslTLSContext.cc
  8295. * src/LibsslTLSContext.h
  8296. * src/Makefile.am
  8297. * src/SocketCore.cc
  8298. * src/SocketCore.h
  8299. * src/TLSContext.h
  8300. * src/message.h
  8301. 2008-11-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8302. Fixed the bug that the DiskWriter of the first FileEntry whose
  8303. `needsFileAllocation' property is false is not created
  8304. even if it shares a piece with next FileEntry which `requested' property
  8305. is true.
  8306. Fixed the bug that zero-length file is not created if pre file
  8307. allocation is not done.
  8308. * src/MultiDiskAdaptor.cc
  8309. * src/MultiDiskAdaptor.h
  8310. * test/MultiDiskAdaptorTest.cc
  8311. 2008-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8312. Added the ability to pool proxy connection.
  8313. The conneciton in FTP with proxy-method=GET is not pooled.
  8314. Proxy-Connection header will not be sent when sending CONNECT method.
  8315. * src/DownloadEngine.cc
  8316. * src/DownloadEngine.h
  8317. * src/FtpFinishDownloadCommand.cc
  8318. * src/FtpInitiateConnectionCommand.cc
  8319. * src/FtpNegotiationCommand.cc
  8320. * src/HttpDownloadCommand.cc
  8321. * src/HttpInitiateConnectionCommand.cc
  8322. * src/HttpRequest.cc
  8323. * src/HttpRequest.h
  8324. * src/HttpResponse.cc
  8325. * src/HttpSkipResponseCommand.cc
  8326. * test/HttpRequestTest.cc
  8327. * test/HttpResponseTest.cc
  8328. 2008-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8329. Handle date before epoch.
  8330. To create *bad* Time object, call Time::null().
  8331. * src/CookieParser.cc
  8332. * src/FtpConnection.cc
  8333. * src/FtpConnection.h
  8334. * src/FtpNegotiationCommand.cc
  8335. * src/RequestGroup.cc
  8336. * src/TimeA2.cc
  8337. * src/TimeA2.h
  8338. * test/CookieParserTest.cc
  8339. * test/FtpConnectionTest.cc
  8340. * test/TimeTest.cc
  8341. 2008-11-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8342. Added support for following envrionment variables: http_proxy,
  8343. https_proxy, ftp_proxy and all_proxy.
  8344. Each variable is equivalent to the aria2 option whose name is the
  8345. variable name with '_' replaced with '-'.
  8346. They overrides options specified in aria2.conf file.
  8347. The envrionment variables can be overrode using command-line option.
  8348. * src/option_processing.cc
  8349. 2008-11-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8350. Renamed --http-proxy-method as --proxy-method.
  8351. * src/AbstractCommand.cc
  8352. * src/FtpInitiateConnectionCommand.cc
  8353. * src/HttpInitiateConnectionCommand.cc
  8354. * src/OptionHandlerFactory.cc
  8355. * src/option_processing.cc
  8356. * src/prefs.cc
  8357. * src/prefs.h
  8358. * src/usage_text.h
  8359. 2008-11-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8360. Deprecated --http-proxy-user and --http-proxy-passwd options.
  8361. Added --https-proxy, --ftp-proxy and --all-proxy options.
  8362. Above 3 options and --http-proxy option can handle proxy in URL format
  8363. like: http://user:passwd@host:port.
  8364. If a proxy requires user/password, they must be specified in a URL.
  8365. Deprecated --ftp-via-http-proxy option. Use --http-proxy-method option
  8366. instead.
  8367. * src/AbstractCommand.cc
  8368. * src/AbstractCommand.h
  8369. * src/AbstractProxyRequestCommand.cc
  8370. * src/AbstractProxyRequestCommand.h
  8371. * src/AuthConfigFactory.cc
  8372. * src/AuthConfigFactory.h
  8373. * src/FtpFinishDownloadCommand.cc
  8374. * src/FtpInitiateConnectionCommand.cc
  8375. * src/FtpInitiateConnectionCommand.h
  8376. * src/FtpNegotiationCommand.cc
  8377. * src/FtpTunnelRequestCommand.cc
  8378. * src/FtpTunnelRequestCommand.h
  8379. * src/HttpDownloadCommand.cc
  8380. * src/HttpInitiateConnectionCommand.cc
  8381. * src/HttpInitiateConnectionCommand.h
  8382. * src/HttpProxyRequestCommand.cc
  8383. * src/HttpProxyRequestCommand.h
  8384. * src/HttpRequest.cc
  8385. * src/HttpRequest.h
  8386. * src/HttpRequestCommand.cc
  8387. * src/HttpRequestCommand.h
  8388. * src/HttpSkipResponseCommand.cc
  8389. * src/InitiateConnectionCommand.cc
  8390. * src/InitiateConnectionCommand.h
  8391. * src/OptionHandlerFactory.cc
  8392. * src/OptionHandlerImpl.h
  8393. * src/Request.cc
  8394. * src/option_processing.cc
  8395. * src/prefs.cc
  8396. * src/prefs.h
  8397. * src/usage_text.h
  8398. * test/AuthConfigFactoryTest.cc
  8399. * test/HttpRequestTest.cc
  8400. * test/OptionHandlerTest.cc
  8401. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8402. Execute choking algorithm when unchoked and interested peer is
  8403. disconected.
  8404. * src/DefaultPeerStorage.cc
  8405. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8406. Added testcase for BtNotInterestedMessage from unchoked peer.
  8407. * test/BtNotInterestedMessageTest.cc
  8408. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8409. Execute choking algorithm when BtInterestedMessage arrives from
  8410. unchoked peer.
  8411. * src/BtInterestedMessage.cc
  8412. * src/BtInterestedMessage.h
  8413. * src/DefaultBtMessageFactory.cc
  8414. * test/BtInterestedMessageTest.cc
  8415. * test/MockPeerStorage.h
  8416. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8417. AuthConfigFactory is now part of DownloadEngine.
  8418. * src/AbstractProxyRequestCommand.cc
  8419. * src/AuthConfigFactory.h
  8420. * src/DownloadEngine.cc
  8421. * src/DownloadEngine.h
  8422. * src/FtpConnection.cc
  8423. * src/FtpConnection.h
  8424. * src/FtpNegotiationCommand.cc
  8425. * src/HttpConnection.cc
  8426. * src/HttpRequest.cc
  8427. * src/HttpRequest.h
  8428. * src/HttpRequestCommand.cc
  8429. * src/HttpResponse.cc
  8430. * src/HttpResponseCommand.cc
  8431. * src/HttpSkipResponseCommand.cc
  8432. * src/MultiUrlRequestInfo.cc
  8433. * src/main.cc
  8434. * test/FtpConnectionTest.cc
  8435. * test/HttpRequestTest.cc
  8436. * test/HttpResponseTest.cc
  8437. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8438. Corrected catched exception type.
  8439. * src/ServerStatMan.cc
  8440. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8441. DNSCache is now part of DownloadEngine.
  8442. * src/DNSCache.h
  8443. * src/DownloadEngine.cc
  8444. * src/DownloadEngine.h
  8445. * src/InitiateConnectionCommand.cc
  8446. * src/MultiUrlRequestInfo.cc
  8447. * test/Makefile.am
  8448. * test/Makefile.in
  8449. * test/SimpleDNSCacheTest.cc
  8450. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8451. Removed SingletonHolder of CUIDCounter. CUIDCounter is now part of
  8452. DownloadEngine.
  8453. * src/ActivePeerConnectionCommand.cc
  8454. * src/BtSetup.cc
  8455. * src/CUIDCounter.h
  8456. * src/DHTSetup.cc
  8457. * src/DownloadCommand.cc
  8458. * src/DownloadEngine.cc
  8459. * src/DownloadEngine.h
  8460. * src/DownloadEngineFactory.cc
  8461. * src/FileAllocationDispatcherCommand.cc
  8462. * src/InitiatorMSEHandshakeCommand.cc
  8463. * src/PeerInitiateConnectionCommand.cc
  8464. * src/PeerInteractionCommand.cc
  8465. * src/PeerListenCommand.cc
  8466. * src/RequestGroup.cc
  8467. * src/StreamFileAllocationEntry.cc
  8468. * src/TrackerWatcherCommand.cc
  8469. * src/main.cc
  8470. * test/RequestGroupManTest.cc
  8471. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8472. Implemented commented code in BtSeederStateChoke
  8473. * src/BtSeederStateChoke.cc
  8474. * src/Peer.cc
  8475. * src/Peer.h
  8476. * src/PeerInteractionCommand.cc
  8477. * src/PeerSessionResource.cc
  8478. * src/PeerSessionResource.h
  8479. * test/MockBtMessageDispatcher.h
  8480. * test/PeerSessionResourceTest.cc
  8481. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8482. Made BtRegistry non-static object. Now DownloadEngine has a reference to
  8483. its object.
  8484. * src/AbstractBtMessage.cc
  8485. * src/ActivePeerConnectionCommand.cc
  8486. * src/ActivePeerConnectionCommand.h
  8487. * src/BtContextAwareCommand.cc
  8488. * src/BtContextAwareCommand.h
  8489. * src/BtExtendedMessage.cc
  8490. * src/BtExtendedMessage.h
  8491. * src/BtInterestedMessage.cc
  8492. * src/BtInterestedMessage.h
  8493. * src/BtNotInterestedMessage.cc
  8494. * src/BtNotInterestedMessage.h
  8495. * src/BtRegistry.cc
  8496. * src/BtRegistry.h
  8497. * src/BtSeederStateChoke.cc
  8498. * src/BtSetup.cc
  8499. * src/DHTGetPeersCommand.cc
  8500. * src/DHTGetPeersCommand.h
  8501. * src/DHTPeerAnnounceEntry.cc
  8502. * src/DHTPeerAnnounceEntry.h
  8503. * src/DHTPeerAnnounceStorage.cc
  8504. * src/DHTPeerAnnounceStorage.h
  8505. * src/DHTPeerLookupTask.cc
  8506. * src/DHTPeerLookupTask.h
  8507. * src/DHTSetup.cc
  8508. * src/DHTSetup.h
  8509. * src/DHTTaskFactory.h
  8510. * src/DHTTaskFactoryImpl.cc
  8511. * src/DHTTaskFactoryImpl.h
  8512. * src/DefaultBtAnnounce.cc
  8513. * src/DefaultBtInteractive.cc
  8514. * src/DefaultBtInteractive.h
  8515. * src/DefaultBtMessageDispatcher.cc
  8516. * src/DefaultBtMessageDispatcher.h
  8517. * src/DefaultBtMessageFactory.cc
  8518. * src/DefaultBtMessageFactory.h
  8519. * src/DefaultBtMessageReceiver.cc
  8520. * src/DefaultBtProgressInfoFile.cc
  8521. * src/DefaultBtProgressInfoFile.h
  8522. * src/DefaultBtRequestFactory.cc
  8523. * src/DefaultBtRequestFactory.h
  8524. * src/DefaultExtensionMessageFactory.cc
  8525. * src/DefaultExtensionMessageFactory.h
  8526. * src/DefaultPeerStorage.cc
  8527. * src/DefaultPeerStorage.h
  8528. * src/DownloadEngine.cc
  8529. * src/DownloadEngine.h
  8530. * src/InitiatorMSEHandshakeCommand.cc
  8531. * src/InitiatorMSEHandshakeCommand.h
  8532. * src/MSEHandshake.cc
  8533. * src/MSEHandshake.h
  8534. * src/Makefile.am
  8535. * src/Makefile.in
  8536. * src/PeerChokeCommand.cc
  8537. * src/PeerChokeCommand.h
  8538. * src/PeerInitiateConnectionCommand.cc
  8539. * src/PeerInitiateConnectionCommand.h
  8540. * src/PeerInteractionCommand.cc
  8541. * src/PeerInteractionCommand.h
  8542. * src/PeerObject.h
  8543. * src/PeerReceiveHandshakeCommand.cc
  8544. * src/PeerReceiveHandshakeCommand.h
  8545. * src/ReceiverMSEHandshakeCommand.cc
  8546. * src/RequestGroup.cc
  8547. * src/RequestGroup.h
  8548. * src/RequestGroupMan.cc
  8549. * src/RequestGroupMan.h
  8550. * src/SeedCheckCommand.cc
  8551. * src/SeedCheckCommand.h
  8552. * src/ShareRatioSeedCriteria.h
  8553. * src/SimpleBtMessage.cc
  8554. * src/TrackerWatcherCommand.cc
  8555. * src/TrackerWatcherCommand.h
  8556. * src/UTPexExtensionMessage.cc
  8557. * src/UTPexExtensionMessage.h
  8558. * test/BtCancelMessageTest.cc
  8559. * test/BtChokeMessageTest.cc
  8560. * test/BtExtendedMessageTest.cc
  8561. * test/BtInterestedMessageTest.cc
  8562. * test/BtNotInterestedMessageTest.cc
  8563. * test/BtPieceMessageTest.cc
  8564. * test/BtPortMessageTest.cc
  8565. * test/BtRegistryTest.cc
  8566. * test/BtRejectMessageTest.cc
  8567. * test/BtRequestMessageTest.cc
  8568. * test/DHTPeerAnnounceEntryTest.cc
  8569. * test/DHTPeerAnnounceStorageTest.cc
  8570. * test/DefaultBtMessageDispatcherTest.cc
  8571. * test/DefaultBtMessageFactoryTest.cc
  8572. * test/DefaultBtProgressInfoFileTest.cc
  8573. * test/DefaultBtRequestFactoryTest.cc
  8574. * test/DefaultExtensionMessageFactoryTest.cc
  8575. * test/MSEHandshakeTest.cc
  8576. * test/MockDHTTaskFactory.h
  8577. * test/ShareRatioSeedCriteriaTest.cc
  8578. * test/UTPexExtensionMessageTest.cc
  8579. 2008-10-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8580. Fixed compiler warning.
  8581. * test/UtilTest.cc
  8582. 2008-10-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8583. Treat Cookie object as session cookie if expiry = 0 is given.
  8584. With this change, you can specify session scoped cookies in an external
  8585. file setting expiry value to 0.
  8586. * src/Cookie.cc
  8587. * src/Cookie.h
  8588. * test/CookieParserTest.cc
  8589. * test/CookieStorageTest.cc
  8590. * test/CookieTest.cc
  8591. 2008-10-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8592. Changed signature of DHTMessageFactory::createResponseMessage().
  8593. Removed unused validateIDMatch.
  8594. * src/DHTMessageFactory.h
  8595. * src/DHTMessageFactoryImpl.cc
  8596. * src/DHTMessageFactoryImpl.h
  8597. * src/DHTMessageTracker.cc
  8598. * test/DHTMessageFactoryImplTest.cc
  8599. * test/MockDHTMessageFactory.h
  8600. Dropped DHT message coming from same ID of localhost.
  8601. * src/DHTMessageReceiver.cc
  8602. Rejected adding node whose ID is the same as localhost's.
  8603. * src/DHTRoutingTable.cc
  8604. * test/BtPortMessageTest.cc
  8605. * test/DHTRoutingTableTest.cc
  8606. 2008-10-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8607. Pool connection when redirection occurs with Content-Length = 0.
  8608. * src/HttpSkipResponseCommand.cc
  8609. * src/HttpSkipResponseCommand.h
  8610. 2008-10-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8611. Fixed the bug that causes time out when redirection occurs with
  8612. content-length 0.
  8613. * src/HttpResponseCommand.cc
  8614. * src/HttpSkipResponseCommand.cc
  8615. * src/HttpSkipResponseCommand.h
  8616. 2008-10-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8617. Now each status legends is shown only when it appears in Download
  8618. Result. If Download Result has no item, then status legend will not
  8619. be printed.
  8620. * src/RequestGroupMan.cc
  8621. 2008-10-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8622. Removed duplicate creation of OptionHandlers.
  8623. * src/option_processing.cc
  8624. 2008-10-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8625. Fixed the bug that causes segmentation fault when accessing files which
  8626. don't exist or are not included in --select-file option while
  8627. validating chunk checksum.
  8628. * src/MultiDiskAdaptor.cc
  8629. 2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8630. Fixed compiler warning.
  8631. * test/UtilTest.cc
  8632. 2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8633. Included cstdlib. This fixed the compile error with g++-4.3.2.
  8634. * src/IteratableChecksumValidator.cc
  8635. * src/IteratableChunkChecksumValidator.cc
  8636. 2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8637. * Release 0.16.2
  8638. 2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8639. Added Serbian translation. Updated Ukrainian translation.
  8640. Thanks to all translators.
  8641. * po/sr.po
  8642. * po/uk.po
  8643. * po/LINGUAS
  8644. 2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8645. Bump up version number to 0.16.2
  8646. * configure.ac
  8647. 2008-10-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8648. Added length equality test to operator== to drop a piece message
  8649. whose length does not match to the requested one.
  8650. * src/RequestSlot.cc
  8651. * test/DefaultBtMessageDispatcherTest.cc
  8652. 2008-10-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8653. Fixed the bug that aria2 aborts when a request larger than 16KiB is
  8654. recieved.
  8655. In this fix, if a request larger than 16KiB length is received, aria2
  8656. disconnects the peer.
  8657. * src/BtConstants.h
  8658. * src/PeerMessageUtil.cc
  8659. * src/PeerMessageUtil.h
  8660. * test/BtRequestMessageTest.cc
  8661. 2008-10-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8662. * Release 0.16.1
  8663. 2008-10-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8664. Replaced '@' with 'at' in AUTHOR and REPORT BUG.
  8665. * doc/aria2c.1.txt
  8666. 2008-10-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8667. Added Ukrainian, Vietnamese, Traditional Chinese translations.
  8668. Updated French, Simplified Chinese and Japanese translations.
  8669. Thanks to all translators.
  8670. en@quot and en@boldquot are also added.
  8671. * po/LINGUAS
  8672. * po/fr.po
  8673. * po/ja.po
  8674. * po/uk.po
  8675. * po/vi.po
  8676. * po/zh_CN.po
  8677. * po/zh_TW.po
  8678. 2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8679. Bump up version number to 0.16.1.
  8680. * configure.ac
  8681. 2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8682. Updated README.
  8683. * README
  8684. 2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8685. Updated man page. Changed doctype of aria2c.1.html to manpage in order
  8686. not to replace '--' with em dash character.
  8687. * doc/aria2c.1.txt
  8688. * doc/makeman
  8689. 2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8690. Added --auto-save-interval=SEC option. A control file(*.aria2) is saved
  8691. every SEC seconds.
  8692. * src/DownloadEngineFactory.cc
  8693. * src/OptionHandlerFactory.cc
  8694. * src/option_processing.cc
  8695. * src/usage_text.h
  8696. 2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8697. Fixed compile warning on linux-amd64
  8698. * src/FtpConnection.cc
  8699. * src/IteratableChunkChecksumValidator.cc
  8700. * src/MultiDiskAdaptor.cc
  8701. Fixed the bug that unit test fails on linux-amd64
  8702. * test/UtilTest.cc
  8703. 2008-10-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8704. Added --dht-file-path option to change the path to dht.dat, which is a
  8705. serialized DHT routing table.
  8706. * src/OptionHandlerFactory.cc
  8707. * src/option_processing.cc
  8708. * src/usage_text.h
  8709. 2008-10-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8710. Fixed possible underflow.
  8711. * src/BitfieldMan.cc (BitfieldMan::getNthBitIndex)
  8712. 2008-10-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8713. Fixed the bug that last character in URI is not encoded.
  8714. * src/Request.cc
  8715. * test/RequestTest.cc
  8716. 2008-10-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8717. Fixed the bug that referer header field contains fragment.
  8718. Now Request class removes fragment part of URI and encodes it
  8719. in Request::setUri() and setReferer().
  8720. * src/Request.h
  8721. * src/Request.cc
  8722. * test/RequestTest.cc
  8723. 2008-10-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8724. Added missing m4 macros.
  8725. * m4/cppunit.m4
  8726. * m4/libgcrypt.m4
  8727. * m4/libgnutls-extra.m4
  8728. * m4/libgnutls.m4
  8729. * m4/libxml2.m4
  8730. 2008-10-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8731. Fixed compile error with gcc-4.4(snapshot)
  8732. * src/File.cc
  8733. * src/FtpConnection.cc
  8734. * src/OptionHandlerImpl.h
  8735. * src/Util.cc
  8736. 2008-10-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8737. Removed assert()
  8738. * src/SocketBuffer.cc (SocketBuffer::send)
  8739. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8740. Changed the type of _numNewConnection to unsigned int.
  8741. * src/ActivePeerConnectionCommand.cc
  8742. * src/ActivePeerConnectionCommand.h
  8743. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8744. * Release 0.16.0
  8745. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8746. Updated doc
  8747. * README
  8748. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8749. Updated French, Simplified Chinese, German, Bulgarian and Japanese
  8750. translations. Thanks to all translators.
  8751. * po/bg.po
  8752. * po/de.po
  8753. * po/fr.po
  8754. * po/ja.po
  8755. * po/zh_CN.po
  8756. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8757. Bump up version number to 0.16.0.
  8758. * configure.ac
  8759. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8760. Casted entry->maxConnections to int32_t for std::min<T> with T =
  8761. int32_t.
  8762. Changed the type of count to int32_t.
  8763. * src/Metalink2RequestGroup.cc
  8764. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8765. Added test for Time::elapsed(time_t).
  8766. * test/TimeTest.cc
  8767. 2008-10-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8768. Fixed the bug in Time::elapsed(): Util::difftvsec() is used where
  8769. Util::difftv() should be used instead.
  8770. * src/TimeA2.cc
  8771. * src/TimeA2.h
  8772. 2008-10-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8773. Made socket for dht connections non-blocking
  8774. * src/DHTAbstractMessage.cc
  8775. * src/DHTAbstractMessage.h
  8776. * src/DHTConnection.h
  8777. * src/DHTConnectionImpl.cc
  8778. * src/DHTConnectionImpl.h
  8779. * src/DHTMessage.h
  8780. * src/DHTMessageDispatcherImpl.cc
  8781. * src/DHTMessageDispatcherImpl.h
  8782. * src/DHTUnknownMessage.cc
  8783. * src/DHTUnknownMessage.h
  8784. * src/SocketCore.cc
  8785. * src/SocketCore.h
  8786. * test/MockDHTMessage.h
  8787. 2008-10-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8788. Changed the type of offset to int.
  8789. * src/ParameterizedStringParser.cc
  8790. 2008-10-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8791. Made getAsInt() return int32_t
  8792. * src/Option.h
  8793. 2008-10-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8794. Check the availability of winsock2.h and ws2tcpip.h only for mingw32
  8795. build.
  8796. * configure.ac
  8797. 2008-10-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8798. Use sqlite3_open if sqlite3_open_v2 is not available.
  8799. * src/Sqlite3MozCookieParser.cc
  8800. * src/Sqlite3MozCookieParser.h
  8801. * m4/sqlite3.m4
  8802. * test/Sqlite3MozCookieParserTest.cc
  8803. 2008-10-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8804. Replaced '%zu' with '%lu' since mingw32 doesn't recognize '%zu'.
  8805. * src/BtPieceMessage.cc
  8806. * src/DHTPeerAnnounceStorage.cc
  8807. * src/DefaultPieceStorage.cc
  8808. * src/DownloadCommand.cc
  8809. * src/DownloadEngine.cc
  8810. * src/FtpConnection.cc
  8811. * src/PeerConnection.cc
  8812. * src/PeerMessageUtil.cc
  8813. * src/RequestGroup.cc
  8814. * src/RequestGroupMan.cc
  8815. * src/SimpleBtMessage.cc
  8816. 2008-10-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8817. Use seek() and SetEndOfFile() for mingw32 build instead of ftruncate(),
  8818. because mingw32's ftruncate() cannot handle more than 2GB-size file.
  8819. * src/AbstractDiskWriter.cc
  8820. 2008-10-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8821. Don't set Request::supportsPersistentConnection() in HttpConnection
  8822. since this code is also used in AbstractProxyResponseCommand.
  8823. Moved those code to HttpResponse.
  8824. * src/HttpResponse.cc
  8825. * src/HttpResponse.h
  8826. * src/HttpConnection.cc
  8827. * src/HttpConnection.h
  8828. * src/HttpResponseCommand.cc
  8829. * test/HttpResponseTest.cc
  8830. 2008-09-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8831. Fixed compile error with debian mingw32 cross compiler(4.2.1).
  8832. The configuration is minimum: no torrent, no metalink, so there may be
  8833. other compile error on their code.
  8834. * src/a2netcompat.h
  8835. * src/File.cc
  8836. * src/File.h
  8837. * src/SocketCore.cc
  8838. * src/SocketCore.h
  8839. 2008-09-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8840. Made a socket of incoming peer non-blocking.
  8841. * src/PeerListenCommand.cc
  8842. 2008-09-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8843. Fixed the bug that aria2 may send duplicate data to BitTorrent peer if
  8844. whole message data is not sent in one send() call.
  8845. * src/BtPieceMessage.cc
  8846. * src/BtPieceMessage.h
  8847. * src/PeerConnection.cc
  8848. * src/PeerConnection.h
  8849. * src/SimpleBtMessage.cc
  8850. * src/SimpleBtMessage.h
  8851. 2008-09-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8852. Fixed the bug that aria2 downloads faster than max-download-limit when
  8853. downloading file using both HTTP(or FTP) and BitTorrent, because aria2
  8854. evaluates speed separatly(HTTP and BiTorrent) against max-download-limit
  8855. , instead of sum of them.
  8856. * src/ActivePeerConnectionCommand.cc
  8857. * src/DefaultBtInteractive.cc
  8858. * src/DownloadCommand.cc
  8859. * src/PeerInteractionCommand.cc
  8860. * src/PeerReceiveHandshakeCommand.cc
  8861. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8862. Fixed the bug that HTTPS download fails.
  8863. * src/AbstractCommand.cc
  8864. * src/AbstractCommand.h
  8865. * src/DownloadCommand.cc
  8866. * src/FtpConnection.cc
  8867. * src/HttpConnection.cc
  8868. * src/HttpRequestCommand.cc
  8869. * src/HttpResponseCommand.cc
  8870. * src/HttpSkipResponseCommand.cc
  8871. * src/MSEHandshake.cc
  8872. * src/PeerConnection.cc
  8873. * src/SocketCore.cc
  8874. * src/SocketCore.h
  8875. Fixed the bug that aria2 doesn't download whole content body and cannot
  8876. reuse connection if chunked transfer encoding and gzip content encoding
  8877. are set.
  8878. * src/DownloadCommand.cc
  8879. * src/HttpSkipResponseCommand.cc
  8880. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8881. Updated man page.
  8882. * doc/aria2c.1.txt
  8883. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8884. When error occurred while aria2 was parsing an .aria2.conf file, print
  8885. the usage of the option that caused error.
  8886. * src/option_processing.cc
  8887. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8888. Fixed compile error on OptionHandlerException
  8889. * src/Makefile.am
  8890. * src/OptionHandlerException.cc
  8891. * src/OptionHandlerException.h
  8892. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8893. Moved message of the error to OptionHandlerException.h
  8894. * src/NameMatchOptionHandler.h
  8895. * src/OptionHandlerException.h
  8896. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8897. When error occurs while aria2 is parsing an command-line option, print
  8898. the usage of the option.
  8899. * src/Makefile.am
  8900. * src/NameMatchOptionHandler.h
  8901. * src/OptionHandlerException.h
  8902. * src/option_processing.cc
  8903. 2008-09-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8904. Reverted previous change.
  8905. Insert username+'@' to URI(after ftp://) when URI is FTP scheme and
  8906. username is not in URI.
  8907. * src/HttpRequest.cc
  8908. * src/Request.cc
  8909. * test/HttpRequestTest.cc
  8910. * test/RequestTest.cc
  8911. 2008-09-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8912. Now colon is required for username and password in FTP URL, like:
  8913. ftp://username:password@host.
  8914. If colon is not there, aria2 don't parse it as a username. For example,
  8915. aria2 don't retrieve username from ftp://username@host.
  8916. This fix was made in order to login FTP server via non-transparent ftp
  8917. proxy.
  8918. * src/Request.cc
  8919. * test/RequestTest.cc
  8920. 2008-09-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8921. Use netrc for HTTP.
  8922. Now FTP user/password is sent in Authorization header when
  8923. --ftp-via-http-proxy=get is given.
  8924. * src/AuthConfigFactory.cc
  8925. * src/HttpRequest.cc
  8926. * src/HttpRequest.h
  8927. * src/NetrcAuthResolver.cc
  8928. * src/NetrcAuthResolver.h
  8929. * src/OptionHandlerFactory.cc
  8930. * src/option_processing.cc
  8931. * src/prefs.cc
  8932. * src/prefs.h
  8933. * test/AuthConfigFactoryTest.cc
  8934. * test/HttpRequestTest.cc
  8935. * test/NetrcAuthResolverTest.cc
  8936. 2008-09-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8937. Issue PWD command first and get working directory and use it as a prefix
  8938. for CWD command.
  8939. * src/DownloadEngine.cc
  8940. * src/DownloadEngine.h
  8941. * src/FtpConnection.cc
  8942. * src/FtpConnection.h
  8943. * src/FtpFinishDownloadCommand.cc
  8944. * src/FtpInitiateConnectionCommand.cc
  8945. * src/FtpNegotiationCommand.cc
  8946. * src/FtpNegotiationCommand.h
  8947. * test/FtpConnectionTest.cc
  8948. 2008-09-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8949. Removed default user/pass for FTP user/pass, since it should not have
  8950. precedence over netrc configuration by default.
  8951. * src/OptionHandlerFactory.cc
  8952. 2008-09-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8953. Added debug log for socket event.
  8954. * src/AbstractCommand.cc
  8955. * src/PeerAbstractCommand.cc
  8956. 2008-09-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8957. Log microseconds.
  8958. * src/SimpleLogger.cc (SimpleLogger::writeLog)
  8959. 2008-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8960. Replaced HelpItem.cc with OptionHandler.cc.
  8961. * po/POTFILES.in
  8962. Updated po files with 'make update-po'
  8963. * po/aria2c.pot
  8964. * po/*.po
  8965. 2008-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8966. Removed possible values from the text.
  8967. * src/usage_text.h (TEXT_METALINK_PREFERRED_PROTOCOL)
  8968. 2008-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8969. Removed unused preferences:
  8970. PREF_NO_PREALLOCATION
  8971. PREF_STDOUT_LOG
  8972. PREF_TRACKER_MAX_TRIES
  8973. PREF_DIRECT_DOWNLOAD_TIMEOUT
  8974. PREF_MIN_SEGMENT_SIZE
  8975. * src/option_processing.cc
  8976. * src/prefs.cc
  8977. * src/prefs.h
  8978. 2008-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8979. Integrated HelpItem into OptionParser to ease the workload for adding
  8980. new options. Removed default value from usage text.
  8981. * src/HelpItem.cc: Removed.
  8982. * src/HelpItem.h: Removed.
  8983. * src/HelpItemFactory.cc: Removed.
  8984. * src/HelpItemFactory.h: Removed.
  8985. * src/Makefile.am
  8986. * src/Makefile.in
  8987. * src/NameMatchOptionHandler.h
  8988. * src/OptionHandler.cc
  8989. * src/OptionHandler.h
  8990. * src/OptionHandlerFactory.cc
  8991. * src/OptionHandlerImpl.h
  8992. * src/OptionParser.cc
  8993. * src/OptionParser.h
  8994. * src/TagContainer.cc: Removed.
  8995. * src/TagContainer.h: Removed.
  8996. * src/TaggedItem.cc: Removed.
  8997. * src/TaggedItem.h: Removed.
  8998. * src/main.cc
  8999. * src/option_processing.cc
  9000. * src/usage_text.h
  9001. * src/version_usage.cc
  9002. * test/HelpItemTest.cc: Removed.
  9003. * test/Makefile.am
  9004. * test/Makefile.in
  9005. * test/OptionHandlerTest.cc
  9006. * test/OptionParserTest.cc
  9007. * test/TagContainerTest.cc: Removed.
  9008. 2008-09-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9009. Moved `TransferStat stat = ...' to inside the `if' clause.
  9010. * src/RequestGroup.cc (RequestGroup::reportDownloadFinished)
  9011. 2008-09-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9012. Fixed the bug that a block in a piece is requested when same block is
  9013. already requested to the same peer in end game mode.
  9014. * src/BtRequestFactory.h
  9015. * src/DefaultBtInteractive.cc
  9016. * src/DefaultBtRequestFactory.cc
  9017. * src/DefaultBtRequestFactory.h
  9018. * src/DefaultPieceStorage.cc
  9019. * src/DefaultPieceStorage.h
  9020. * src/PieceStorage.h
  9021. * src/UnknownLengthPieceStorage.cc
  9022. * src/UnknownLengthPieceStorage.h
  9023. * test/DefaultBtRequestFactoryTest.cc
  9024. * test/DefaultPieceStorageTest.cc
  9025. * test/MockBtRequestFactory.h
  9026. * test/MockPieceStorage.h
  9027. 2008-09-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9028. Removed _uploadLength and _downloadLength from PeerSessionResource
  9029. and use PeerStat::_sessionUploadLength and
  9030. PeerStat::_sessionDownloadLength.
  9031. * src/PeerSessionResource.cc
  9032. * src/PeerSessionResource.h
  9033. 2008-09-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9034. Fixed the bug that prefixLength of split bucket which doesn't include
  9035. local node ID is incremented.
  9036. * src/DHTBucket.cc
  9037. * src/DHTBucket.h
  9038. * test/DHTBucketTest.cc
  9039. 2008-09-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9040. Added cookies.sqlite to EXTRA_DIST
  9041. * test/Makefile.am
  9042. 2008-09-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9043. Added Turkish translation. Updated French, German, Russian and
  9044. Simplified Chinese translations. Thanks to all translators.
  9045. * po/LINGUAS
  9046. * po/de.po
  9047. * po/fr.po
  9048. * po/ru.po
  9049. * po/tr.po
  9050. * po/zh_CN.po
  9051. 2008-09-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9052. Added deliminating text to the beginning of the log so that one can find
  9053. where the log starts easily.
  9054. * src/main.cc
  9055. 2008-09-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9056. Moved isProxyGETRequest function outside #ifdef ENABLE_ASYNC_DNS clause
  9057. to fix compile error when async DNS is not enabled by configuration.
  9058. * src/AbstractCommand.cc
  9059. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9060. If establishing conneciton to a server is failed, then mark error on
  9061. its ServerStat.
  9062. Added the cause of error to log when error event occurred.
  9063. Moved message string to message.h for translation.
  9064. * src/AbstractCommand.cc
  9065. * src/AbstractCommand.h
  9066. * src/FtpNegotiationCommand.cc
  9067. * src/HttpRequestCommand.cc
  9068. * src/PeerAbstractCommand.cc
  9069. * src/message.h
  9070. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9071. Added the function to get error message from socket.
  9072. * src/SocketCore.cc
  9073. * src/SocketCore.h
  9074. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9075. Added convenient method RequestGroupMan::getOrCreateServerStat()
  9076. * src/RequestGroupMan.cc
  9077. * src/RequestGroupMan.h
  9078. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9079. If error event is received in epoll, then abort download immediately.
  9080. * src/AbstractCommand.cc
  9081. * src/Command.cc
  9082. * src/Command.h
  9083. * src/DownloadEngine.cc
  9084. * src/PeerAbstractCommand.cc
  9085. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9086. Added usage message for --uri-selector, --server-stat-of,
  9087. --server-stat-in, --server-stat-timeout options.
  9088. * src/HelpItemFactory.cc
  9089. * src/usage_text.h
  9090. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9091. Added upper limit of FTP response buffer. The current implementation
  9092. uses 4096bytes as a limit.
  9093. * src/FtpConnection.cc
  9094. * src/FtpConnection.h
  9095. * test/FtpConnectionTest.cc
  9096. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9097. Use non-blocking socket for TCP communication to avoid possible
  9098. blocking due to buffer full.
  9099. * src/AbstractProxyRequestCommand.cc
  9100. * src/FtpConnection.cc
  9101. * src/FtpConnection.h
  9102. * src/FtpNegotiationCommand.cc
  9103. * src/FtpNegotiationCommand.h
  9104. * src/HttpConnection.cc
  9105. * src/HttpConnection.h
  9106. * src/HttpRequestCommand.cc
  9107. * src/InitiatorMSEHandshakeCommand.cc
  9108. * src/InitiatorMSEHandshakeCommand.h
  9109. * src/MSEHandshake.cc
  9110. * src/MSEHandshake.h
  9111. * src/Makefile.am
  9112. * src/PeerConnection.cc
  9113. * src/PeerConnection.h
  9114. * src/PeerInteractionCommand.cc
  9115. * src/PeerListenCommand.cc
  9116. * src/ReceiverMSEHandshakeCommand.cc
  9117. * src/ReceiverMSEHandshakeCommand.h
  9118. * src/SocketBuffer.cc
  9119. * src/SocketBuffer.h
  9120. * src/SocketCore.cc
  9121. * src/SocketCore.h
  9122. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9123. Call setStatusRealtime() in constructor.
  9124. * src/RealtimeCommand.cc
  9125. * src/RealtimeCommand.h
  9126. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9127. Call Download::setNoWait(true) to execute newly created command without
  9128. a pause.
  9129. * src/AbstractCommand.cc
  9130. 2008-09-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9131. Added --max-file-not-found=NUM option. If aria2 receives `file not
  9132. found' error from HTTP/FTP server NUM times without getting single
  9133. bytes of data, then force the download to fail.
  9134. Basically aria2 tris all URIs available. So if long list of URIs are
  9135. specified in Metalink, then aria2 will take a long time to fail
  9136. eventually if all URIs are outdated. This option eases this situation
  9137. to limit the number of servers to try.
  9138. * src/FtpNegotiationCommand.cc
  9139. * src/HelpItemFactory.cc
  9140. * src/HttpResponseCommand.cc
  9141. * src/OptionHandlerFactory.cc
  9142. * src/PeerStat.h
  9143. * src/RequestGroup.cc
  9144. * src/RequestGroup.h
  9145. * src/SegmentMan.cc
  9146. * src/SegmentMan.h
  9147. * src/option_processing.cc
  9148. * src/prefs.cc
  9149. * src/prefs.h
  9150. * src/usage_text.h
  9151. 2008-09-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9152. Fixed the bug that bulkReceiveResponse() reads all received data as a
  9153. response even if more than one response is in it.
  9154. * src/FtpConnection.cc
  9155. * src/FtpConnection.h
  9156. * test/FtpConnectionTest.cc
  9157. 2008-09-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9158. Merged from stable-0.15
  9159. * m4/libcares.m4
  9160. Use pkg-config
  9161. * m4/sqlite3.m4
  9162. 2008-09-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9163. Removed unnecessary if statement.
  9164. * src/DefaultPieceStorage.cc (initPieceStorage)
  9165. 2008-09-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9166. Added --connect-timeout option to specify connect timeout in seconds.
  9167. This option is in effect for HTTP/FTP/proxy server. The timeout for
  9168. connecting to BitTorrent peer is not controlled by this option.
  9169. * src/AbstractProxyRequestCommand.cc
  9170. * src/FtpNegotiationCommand.cc
  9171. * src/HelpItemFactory.cc
  9172. * src/HttpRequestCommand.cc
  9173. * src/OptionHandlerFactory.cc
  9174. * src/option_processing.cc
  9175. * src/prefs.cc
  9176. * src/prefs.h
  9177. * src/usage_text.h
  9178. 2008-09-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9179. Added help message for -R option.
  9180. * src/HelpItemFactory.cc
  9181. * src/usage_text.h
  9182. 2008-09-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9183. Added the message that the time is in local time zone.
  9184. * src/RequestGroup.cc
  9185. 2008-09-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9186. Implemented the ability to get timestamp from remote FTP server using
  9187. MDTM command described in RFC3659.
  9188. * src/FtpConnection.cc
  9189. * src/FtpConnection.h
  9190. * src/FtpNegotiationCommand.cc
  9191. * src/FtpNegotiationCommand.h
  9192. * test/FtpConnectionTest.cc
  9193. * test/Makefile.am
  9194. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9195. Implemented the ability to get timestamp from remote HTTP server and
  9196. apply it to local file. To enable this feature, --remote-time option
  9197. is added. No usage text has been written yet.
  9198. If several servers returns difference timestamp, then aria2 uses latest
  9199. one.
  9200. * src/CopyDiskAdaptor.cc
  9201. * src/CopyDiskAdaptor.h
  9202. * src/DirectDiskAdaptor.cc
  9203. * src/DirectDiskAdaptor.h
  9204. * src/DiskAdaptor.h
  9205. * src/File.cc
  9206. * src/File.h
  9207. * src/HttpHeader.cc
  9208. * src/HttpHeader.h
  9209. * src/HttpResponse.cc
  9210. * src/HttpResponse.h
  9211. * src/HttpResponseCommand.cc
  9212. * src/HttpResponseCommand.h
  9213. * src/MultiDiskAdaptor.cc
  9214. * src/MultiDiskAdaptor.h
  9215. * src/OptionHandlerFactory.cc
  9216. * src/RequestGroup.cc
  9217. * src/RequestGroup.h
  9218. * src/RequestGroupMan.cc
  9219. * src/option_processing.cc
  9220. * src/prefs.cc
  9221. * src/prefs.h
  9222. * test/CopyDiskAdaptorTest.cc
  9223. * test/FileTest.cc
  9224. * test/Makefile.am
  9225. * test/Makefile.in
  9226. * test/MultiDiskAdaptorTest.cc
  9227. * test/TestUtil.cc
  9228. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9229. Fixed the bug that DiskWriterEntry is not created when its
  9230. FileEntry.isRequested() is false and it doesn't share a piece with
  9231. other FileEntries that are requested. This bug causes segmentation fault
  9232. in the end.
  9233. * src/MultiDiskAdaptor.cc
  9234. * src/MultiDiskAdaptor.h
  9235. * src/MultiFileAllocationIterator.cc
  9236. * test/MultiDiskAdaptorTest.cc
  9237. * test/MultiFileAllocationIteratorTest.cc
  9238. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9239. Fixed the bug that exception is thrown when MultiDiskAdaptor::size() is
  9240. called if the number of file entries are greater than max open files.
  9241. * src/AbstractSingleDiskAdaptor.cc
  9242. * src/AbstractSingleDiskAdaptor.h
  9243. * src/DiskAdaptor.h
  9244. * src/MultiDiskAdaptor.cc
  9245. * src/MultiDiskAdaptor.h
  9246. * test/MultiDiskAdaptorTest.cc
  9247. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9248. Added a constuctor that receives struct timeval.
  9249. Added operator<.
  9250. * src/TimeA2.cc
  9251. * src/TimeA2.h
  9252. * test/TimeTest.cc
  9253. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9254. Parse `expires' of Set-Cookie using Time::parseHTTPDate()
  9255. * src/CookieParser.cc
  9256. * test/CookieParserTest.cc
  9257. * test/HttpResponseTest.cc
  9258. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9259. Implmented the functions to parse date.
  9260. * src/TimeA2.cc
  9261. * src/TimeA2.h
  9262. * test/TimeTest.cc
  9263. 2008-09-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9264. Added "Firefox3 Cookie" feature to FeatureConfig
  9265. * src/FeatureConfig.cc
  9266. * src/FeatureConfig.h
  9267. * test/FeatureConfigTest.cc
  9268. 2008-09-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9269. Bump up version number to 0.16.0b
  9270. * configure.ac
  9271. 2008-09-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9272. Use pkg-config if is is available.
  9273. * m4/openssl.m4
  9274. 2008-09-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9275. DEFAULT_ANNOUNCE_INTERVAL: unsigned int -> time_t
  9276. * src/BtAnnounce.h
  9277. 2008-09-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9278. If an error occurred with a URI, remove identical URI from remaining
  9279. URI list because it is likely that same error occurred in the end and it
  9280. is waste of time.
  9281. * src/AbstractCommand.cc
  9282. * src/RequestGroup.cc
  9283. * src/RequestGroup.h
  9284. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9285. Removed wrong comment.
  9286. * src/DefaultPeerStorage.cc
  9287. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9288. Moved implementation to SimpleRandomizer.cc from SimpleRandomizer.h.
  9289. Added return value of getpid() to argument of srand() to achieve more
  9290. randomized value.
  9291. * src/SimpleRandomizer.cc
  9292. * src/SimpleRandomizer.h
  9293. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9294. Contact tracker frequently when the number of connections are 0 and
  9295. download is not finished yet.
  9296. * src/ActivePeerConnectionCommand.cc
  9297. * src/BtAnnounce.h
  9298. * src/DefaultBtAnnounce.cc
  9299. * src/DefaultBtAnnounce.h
  9300. * test/MockBtAnnounce.h
  9301. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9302. Moved threshold values to UTPexExtensionMessage.
  9303. * src/DefaultBtInteractive.cc
  9304. * src/Peer.cc
  9305. * src/Peer.h
  9306. * src/UTPexExtensionMessage.cc
  9307. * src/UTPexExtensionMessage.h
  9308. * test/UTPexExtensionMessageTest.cc
  9309. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9310. Added _incoming member to Peer class and made it true if the peer
  9311. initiated connection. Don't add those peer to UTPex message.
  9312. If extended handshake is received, assign _incoming to false.
  9313. * src/DefaultBtInteractive.cc
  9314. * src/HandshakeExtensionMessage.cc
  9315. * src/Peer.cc
  9316. * src/Peer.h
  9317. * src/PeerListenCommand.cc
  9318. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9319. Made files whose name ends with ".gz", ".tgz" not inflated by Content
  9320. Encoding Decoder. Removed size threshold for turning off on the fly
  9321. inflation because resulting file may or may not be inflated depending
  9322. on the file size and I think it is not expected by users.
  9323. This change fixes segmentation fault when Metalink file contains gzipped
  9324. file and its filesize is provided.
  9325. * src/HttpResponseCommand.cc
  9326. * src/HttpResponseCommand.h
  9327. 2008-09-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9328. Made Cookie immutable.
  9329. * src/Cookie.cc
  9330. * src/Cookie.h
  9331. * src/CookieParser.cc
  9332. * src/CookieParser.h
  9333. * src/CookieStorage.cc
  9334. * test/CookieParserTest.cc
  9335. * test/CookieStorageTest.cc
  9336. * test/NsCookieParserTest.cc
  9337. * test/Sqlite3MozCookieParserTest.cc
  9338. 2008-09-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9339. Removed CookieBox, CookieBoxFactory.
  9340. * src/CookieBox.cc
  9341. * src/CookieBox.h
  9342. * src/CookieBoxFactory.cc
  9343. * src/CookieBoxFactory.h
  9344. * src/Makefile.am
  9345. 2008-09-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9346. Use CookieStorage class instead of CookieBox class.
  9347. Now CookieStorage accepts cookies from numeric host such as 192.168.1.1.
  9348. * src/AbstractProxyRequestCommand.cc
  9349. * src/CookieStorage.cc
  9350. * src/DownloadEngine.cc
  9351. * src/DownloadEngine.h
  9352. * src/HttpConnection.cc
  9353. * src/HttpConnection.h
  9354. * src/HttpRequest.cc
  9355. * src/HttpRequest.h
  9356. * src/HttpRequestCommand.cc
  9357. * src/HttpResponse.cc
  9358. * src/HttpResponseCommand.cc
  9359. * src/HttpSkipResponseCommand.cc
  9360. * src/Makefile.am
  9361. * src/MultiUrlRequestInfo.cc
  9362. * src/Request.cc
  9363. * src/Request.h
  9364. * src/main.cc
  9365. * test/AllTest.cc
  9366. * test/CookieStorageTest.cc
  9367. * test/CookieTest.cc
  9368. * test/HttpRequestTest.cc
  9369. * test/HttpResponseTest.cc
  9370. * test/Makefile.am
  9371. * test/NsCookieParserTest.cc
  9372. * test/Sqlite3MozCookieParserTest.cc
  9373. * test/nscookietest.txt
  9374. 2008-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9375. Updated
  9376. * test/Cookies.sqlite
  9377. * test/nscookietest.txt
  9378. 2008-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9379. Added tests for CookieStorage::load()
  9380. * test/CookieStorageTest.cc
  9381. 2008-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9382. Added CookieStorage class which is based on RFC2109 and manages cookies
  9383. more strictly than CookieBox and CookieBoxFactory class.
  9384. * src/CookieStorage.cc
  9385. * src/CookieStorage.h
  9386. * src/Cookie.cc
  9387. * src/Cookie.h
  9388. * test/CookieStorageTest.cc
  9389. * test/CookieTest.cc
  9390. 2008-08-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9391. Fixed the bug that commands are created more than the number of pieces.
  9392. * src/RequestGroup.cc
  9393. 2008-08-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9394. Fixed infinite loop bug in FTP when SIZE command failed.
  9395. * src/FtpNegotiationCommand.cc
  9396. 2008-08-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9397. Removed DirectDiskAdaptorTest.h
  9398. * test/Makefile.am
  9399. 2008-08-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9400. Fixed chunk checksum validation cannot detect trailing garbage data.
  9401. BUG#2074141
  9402. * src/AbstractSingleDiskAdaptor.cc
  9403. * src/AbstractSingleDiskAdaptor.h
  9404. * src/CheckIntegrityEntry.cc
  9405. * src/CheckIntegrityEntry.h
  9406. * src/DiskAdaptor.h
  9407. * src/MultiDiskAdaptor.cc
  9408. * src/MultiDiskAdaptor.h
  9409. * src/RequestGroup.cc
  9410. * test/DirectDiskAdaptorTest.cc
  9411. * test/MultiDiskAdaptorTest.cc
  9412. * test/TestUtil.cc
  9413. * test/TestUtil.h
  9414. 2008-08-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9415. Bump up version number of dht.dat file to 3. In version 3 format, time
  9416. is stored in 64bit, network byte order.
  9417. New build can load old format(version 2) but it saves the file in new
  9418. format. It means once you used new build, your dht.dat becomes
  9419. incompatible with older build.
  9420. * src/DHTRoutingTableDeserializer.cc
  9421. * src/DHTRoutingTableSerializer.cc
  9422. * test/DHTRoutingTableSerializerTest.cc
  9423. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9424. Added load-v0001.aria2 and load-nonBt-v0001.aria2 to EXTRA_DIST.
  9425. * test/Makefile.am
  9426. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9427. Bump up version number of .aria2 control file to 0001.
  9428. New aria2 can still load version 0000 file but it saves the file in
  9429. version 0001 format. It means that new aria2 can resume download
  9430. started by old aria2 but the opposite is not true.
  9431. * src/DefaultBtProgressInfoFile.cc
  9432. * src/DefaultBtProgressInfoFile.h
  9433. * test/DefaultBtProgressInfoFileTest.cc
  9434. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9435. Added ntoh64 and hton64 as inline functions.
  9436. * src/Util.cc
  9437. * test/UtilTest.cc
  9438. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9439. Added sqlite3 depenency and Firefox3 cookie support.
  9440. * README
  9441. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9442. State that firefox3 cookie is supported explicitly in the usage.
  9443. * src/usage_text.h
  9444. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9445. Externalized message.
  9446. * src/RequestGroupMan.cc
  9447. * src/message.h
  9448. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9449. Save temporary file first and rename to the destination on success.
  9450. Added test cases.
  9451. * src/RequestGroupMan.cc
  9452. * test/RequestGroupManTest.cc
  9453. 2008-08-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9454. Fixed the bug that the number of connected peer is exceeding the limit
  9455. (55 by default) in seeding mode.
  9456. Multiplied 0.8 to _maxUploadSpeedLimit.
  9457. * src/ActivePeerConnectionCommand.cc
  9458. 2008-08-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9459. Clear table item.
  9460. * src/Dictionary.cc
  9461. 2008-08-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9462. Fixed error handling of lseek.
  9463. * src/AbstractDiskWriter.cc
  9464. 2008-08-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9465. Removed "(1.x/2.x)" from TEXT_LOAD_COOKIES since aria2 can load Firefox3
  9466. style cookie file.
  9467. * src/usage_text.h
  9468. 2008-08-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9469. If a cookie whose expire date is later than 2038-01-19 03:14:07 GMT is
  9470. sent from server, its expire date is assumed to 2038-01-19 03:14:07 GMT.
  9471. If Util::httpGMT is failed, then Cookie::onetime is set to true.
  9472. * src/Util.cc
  9473. * src/Util.h
  9474. * src/CookieParser.cc
  9475. * test/UtilTest.cc
  9476. * test/CookieParserTest.cc
  9477. 2008-08-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9478. Separate the implementation to load old mozilla format of cookie to
  9479. NsCookieParser class.
  9480. * src/CookieBoxFactory.cc
  9481. * src/CookieBoxFactory.h
  9482. * src/NsCookieParser.cc
  9483. * src/NsCookieParser.h
  9484. * test/NsCookieParserTest.cc
  9485. 2008-08-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9486. Made parse() const
  9487. * src/Sqlite3MozCookieParser.cc
  9488. * src/Sqlite3MozCookieParser.h
  9489. 2008-08-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9490. Added firefox3 cookie support based on the patch submitted by
  9491. tizianomueller.
  9492. firefox3 cookie is SQLite3 database. libsqlite3 is required to enable
  9493. this functionality.
  9494. * configure.ac
  9495. * m4/sqlite3.m4
  9496. * src/CookieBoxFactory.cc
  9497. * src/CookieBoxFactory.h
  9498. * src/Makefile.am
  9499. * src/Makefile.in
  9500. * src/Sqlite3MozCookieParser.cc
  9501. * src/Sqlite3MozCookieParser.h
  9502. * src/main.cc
  9503. * test/CookieBoxFactoryTest.cc
  9504. * test/Makefile.am
  9505. * test/Makefile.in
  9506. * test/Sqlite3MozCookieParserTest.cc
  9507. * test/badcookies.sqlite
  9508. * test/cookies.sqlite
  9509. 2008-08-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9510. Added Danish and Greek translations.
  9511. Updated Spanish, Catalan, Norwegian Nynorsk translations.
  9512. Great thanks to all translators.
  9513. * po/LINGUAS
  9514. * po/el.po
  9515. * po/da.po
  9516. * po/es.po
  9517. * po/ca.po
  9518. * po/nn.po
  9519. 2008-08-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9520. Fixed man page: --follow-bittorrent should be --follow-torrent
  9521. * doc/aria2c.1.txt
  9522. 2008-08-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9523. Fixed: numCommand is less than the value specified in -C option.
  9524. * src/RequestGroup.cc
  9525. 2008-08-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9526. Fixed occasional assertion failure in PieceSegment.
  9527. Calling PieceStorage::getMissingPiece(size_t) was missing after
  9528. canceling segments in SegmentMan::getSegment(int32_t). This resulted in
  9529. creation of duplicate segments and one of the segment was finished then
  9530. assertion failure was caused.
  9531. * src/SegmentMan.cc
  9532. * test/SegmentManTest.cc
  9533. 2008-08-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9534. Added options to load/save the server's performance/status to a file
  9535. and the timeout to drop their data.
  9536. --server-stat-of=FILE specifies the file to which performance data
  9537. is saved.
  9538. --server-stat-if=FILE specifies the file to read previously saved
  9539. by --server-stat-of option. Might be used with --uri-selector=feedback.
  9540. --server-stat-timeout=TIMEOUT specifies timeout to invalidate the data.
  9541. TIMEOUT is specified in seconds and the default value is 24hours.
  9542. * src/MultiUrlRequestInfo.cc
  9543. * src/OptionHandlerFactory.cc
  9544. * src/RequestGroupMan.cc
  9545. * src/RequestGroupMan.h
  9546. * src/ServerStatMan.cc
  9547. * src/ServerStatMan.h
  9548. * src/option_processing.cc
  9549. * src/prefs.cc
  9550. * src/prefs.h
  9551. * test/ServerStatManTest.cc
  9552. 2008-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9553. Implemented ServerStatMan::removeStaleServerStat() and its test case.
  9554. * src/ServerStatMan.cc
  9555. * src/ServerStatMan.h
  9556. * test/ServerStatManTest.cc
  9557. 2008-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9558. Implemented ServerStatMan::load(...) function and its test case.
  9559. * src/ServerStat.cc
  9560. * src/ServerStat.h
  9561. * src/ServerStatMan.cc
  9562. * test/ServerStatManTest.cc
  9563. * test/ServerStatTest.cc
  9564. 2008-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9565. Use time_t instead of int32_t. Use int64_t where milli second is
  9566. expected.
  9567. * src/TimeA2.cc
  9568. * src/TimeA2.h
  9569. 2008-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9570. Implemented ServerStatMan::save(...) function and its test case.
  9571. * src/ServerStat.cc
  9572. * src/ServerStat.h
  9573. * src/ServerStatMan.cc
  9574. * src/ServerStatMan.h
  9575. * test/ServerStatManTest.cc
  9576. 2008-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9577. Now aria2 uses name attribute in Metalink as local filename in
  9578. BitTorrent downloads. BUG#2033999
  9579. * src/BtContext.h
  9580. * src/BtDependency.cc
  9581. * src/DefaultBtContext.cc
  9582. * src/DefaultBtContext.h
  9583. * src/SingleFileDownloadContext.cc
  9584. * src/SingleFileDownloadContext.h
  9585. * test/BtDependencyTest.cc
  9586. * test/DefaultBtContextTest.cc
  9587. * test/MockBtContext.h
  9588. 2008-08-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9589. Added AC_C_BIGENDIAN
  9590. * src/configure.ac
  9591. 2008-08-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9592. Limited numCommand less than or equal to the number of piece.
  9593. * src/RequestGroup.cc
  9594. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9595. Eliminated randomness from the test case. Removed #ifdef __MINGW32
  9596. directive.
  9597. * test/DefaultPieceStorageTest.cc
  9598. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9599. Fixed memory leak in test code
  9600. * test/AnnounceListTest.cc
  9601. * test/DefaultPeerListProcessorTest.cc
  9602. * test/DefaultPeerStorageTest.cc
  9603. * test/MetaFileUtilTest.cc
  9604. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9605. Fixed wrong argument passing to BitfieldMan::isBitSet()
  9606. * src/DefaultPieceStorage.cc
  9607. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9608. Initialized _directIOAllowed
  9609. * src/MultiDiskAdaptor.cc
  9610. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9611. Fixed memory leak
  9612. * src/GZipDecoder.cc
  9613. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9614. Fixed memory leak
  9615. * src/MetalinkParserStateMachine.cc
  9616. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9617. Fixed memory leak
  9618. * src/Dictionary.cc
  9619. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9620. Fixed memory leak
  9621. * src/IteratableChunkChecksumValidator.h
  9622. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9623. Fixed unmatched malloc/free.
  9624. * src/IteratableChunkChecksumValidator.cc
  9625. * src/IteratableChecksumValidator.cc
  9626. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9627. Removed max chunk size check. This change fixes BUG#2040169
  9628. * src/ChunkedDecoder.cc
  9629. * src/ChunkedDecoder.h
  9630. * test/ChunkedDecoderTest.cc
  9631. 2008-08-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9632. Implemented download speed based URI selection algorithm.
  9633. Introduced new option --uri-selector.
  9634. If --uri-selector=feedback is given, aria2 uses download speed observed
  9635. in the previous downloads and chooses fastest server in the URI list.
  9636. Currently at most 10 URIs are considered to introduce randomeness for
  9637. finding better servers. The speed is average download speed in the
  9638. downloads.
  9639. On the other hand, if --uri-selector=inorder is given, which is default,
  9640. URI is tried in order in URI list.
  9641. The usage text for the new option has not been written yet.
  9642. * src/AbstractCommand.cc
  9643. * src/DownloadCommand.cc
  9644. * src/DownloadEngine.cc
  9645. * src/DownloadEngineFactory.cc
  9646. * src/InOrderURISelector.cc
  9647. * src/InOrderURISelector.h
  9648. * src/OptionHandlerFactory.cc
  9649. * src/PeerStat.h
  9650. * src/RequestGroup.cc
  9651. * src/RequestGroup.h
  9652. * src/RequestGroupMan.cc
  9653. * src/RequestGroupMan.h
  9654. * src/SegmentMan.cc
  9655. * src/SegmentMan.h
  9656. * src/ServerStat.cc
  9657. * src/ServerStat.h
  9658. * src/ServerStatMan.cc
  9659. * src/ServerStatMan.h
  9660. * src/ServerStatURISelector.cc
  9661. * src/ServerStatURISelector.h
  9662. * src/URISelector.h
  9663. * src/option_processing.cc
  9664. * src/prefs.cc
  9665. * src/prefs.h
  9666. * test/InOrderURISelectorTest.cc
  9667. * test/RequestGroupManTest.cc
  9668. * test/ServerStatManTest.cc
  9669. * test/ServerStatURISelectorTest.cc
  9670. 2008-08-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9671. * Release 0.15.1+2
  9672. 2008-08-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9673. Bump up version number to 0.15.1+2
  9674. * configure.ac
  9675. 2008-08-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9676. Fixed the bug that configure --enable-FEATURE actually disables FEATURE.
  9677. * m4/aria2_arg.m4
  9678. 2008-08-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9679. * Release 0.15.1+1
  9680. 2008-08-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9681. Bump up version number to 0.15.1+1
  9682. * configure.ac
  9683. 2008-08-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9684. Fixed the bug that causes segmentaion fault when resuming download
  9685. using metalink without size tag. Reproducible only using HTTP URI.
  9686. * src/HttpResponseCommand.cc
  9687. * src/FtpNegotiationCommand.cc
  9688. 2008-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9689. * Release 0.15.1
  9690. 2008-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9691. Updated Bulgarian and French translations, thanks to all translators.
  9692. * po/bg.po
  9693. * po/fr.po
  9694. 2008-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9695. Bump up version number to 0.15.1
  9696. * configure.ac
  9697. 2008-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9698. Avoid repeated call of gettimeofday() when calculating speed.
  9699. * src/SpeedCalc.cc
  9700. * src/SpeedCalc.h
  9701. 2008-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9702. Removed writable check when socket's send buffer is full in BitTorrent
  9703. downloads to lower CPU usage.
  9704. * src/PeerInteractionCommand.cc
  9705. 2008-07-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9706. Fixed broken gzip inflation.
  9707. Turn off segmented downloading if gzip content is smaller than or equal
  9708. to 1MiB and inflate the data on the fly, because HTTP response header
  9709. doesn't contain the length of inflated file we can't determin where
  9710. the chunk of data should be written.
  9711. On the other hand, if gzip content is larger than 1MB, then turn off
  9712. on the fly inflation, because some servers returns "content-type: gzip"
  9713. for *.tgz, *.gz files.
  9714. * src/DownloadCommand.cc
  9715. * src/HttpResponseCommand.cc
  9716. * src/HttpResponseCommand.h
  9717. 2008-07-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9718. Applied tizianomueller's patch to fix compile error.
  9719. * test/BitfieldManTest.cc
  9720. * test/BtRequestMessageTest.cc
  9721. * test/DefaultBtContextTest.cc
  9722. * test/DefaultDiskWriterTest.cc
  9723. * test/DefaultPieceStorageTest.cc
  9724. * test/HttpHeaderProcessorTest.cc
  9725. * test/HttpResponseTest.cc
  9726. * test/Metalink2RequestGroupTest.cc
  9727. * test/MetalinkParserControllerTest.cc
  9728. * test/MetalinkProcessorTest.cc
  9729. * test/PeerSessionResourceTest.cc
  9730. * test/UtilTest.cc
  9731. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9732. * Release 0.15.0
  9733. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9734. Reordered src files in POTFILES.in so that usage text appears first.
  9735. * po/POTFILES.in
  9736. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9737. Bump up version number to 0.15.0
  9738. * configure.ac
  9739. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9740. Added Bulgarian translation.
  9741. Updated Catalan, Spanish, French and Japanese translations.
  9742. Thanks to all translators.
  9743. * po/LINGUAS
  9744. * po/bg.po
  9745. * po/ca.po
  9746. * po/es.po
  9747. * po/fr.po
  9748. * po/ja.po
  9749. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9750. Updated feature list. Added libz for dependency section.
  9751. Added a description about unit testing using CppUnit.
  9752. * README
  9753. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9754. Added a test for libz. Quoted where it is necessary.
  9755. * build_test.sh
  9756. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9757. Added GZip to `Enabled Features' list.
  9758. * src/FeatureConfig.cc
  9759. * src/FeatureConfig.h
  9760. * test/FeatureConfigTest.cc
  9761. 2008-07-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9762. Now SegmentMan::findSlowerSegmentEntry() picks up the segment for which
  9763. the transfer has not yet started.
  9764. Rewritten SegmentMan::registerPeerStat() and SegmentMan::getPeerStat().
  9765. * src/SegmentMan.cc
  9766. * src/SegmentMan.h
  9767. * test/SegmentManTest.cc
  9768. 2008-07-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9769. Cache last calculated average download/upload speed.
  9770. PeerStat::getAvgDownloadSpeed(), PeerStat::getAvgUploadSpeed() return
  9771. cached value.
  9772. Now SpeedCalc::changeSw() is called from SpeedCalc::calculateSpeed()
  9773. * src/PeerStat.h
  9774. * src/SpeedCalc.cc
  9775. * src/SpeedCalc.h
  9776. 2008-07-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9777. Call parseUrl directly.
  9778. * src/Request.cc (resetUrl)
  9779. 2008-07-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9780. Supported absolute/relative path in Location header field.
  9781. * src/AbstractCommand.cc: Call resetUrl() when DlRetryEx is caught.
  9782. * src/HttpHeader.cc
  9783. * src/HttpHeader.h
  9784. * src/HttpResponse.cc
  9785. * src/HttpSkipResponseCommand.cc
  9786. * src/Request.cc
  9787. * test/HttpHeaderTest.cc
  9788. * test/HttpResponseTest.cc
  9789. * test/RequestTest.cc
  9790. 2008-07-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9791. Changed help text for --load-cookie option.
  9792. * doc/aria2c.1.txt
  9793. * src/usage_text.h
  9794. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9795. Regenerated test/Makefile.in to remove stale ChangeLog.
  9796. * test/Makefile.in
  9797. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9798. Updated po files.
  9799. * po/aria2c.pot
  9800. * po/*.po
  9801. * po/*.gmo
  9802. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9803. Bump up version number to 0.15.0b
  9804. * configure.ac
  9805. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9806. Externalize messages.
  9807. * src/RequestGroupMan.cc
  9808. * src/message.h: Added MSG_SIGNATURE_SAVED, MSG_SIGNATURE_NOT_SAVED.
  9809. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9810. Use File::exists() instead of File::isFile() to allow non-regular file
  9811. such as block special files.
  9812. * src/AbstractDiskWriter.cc
  9813. * src/MultiDiskWriter.cc
  9814. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9815. Supplied missing EAI_SYSTEM. Thanks ggknauf for the patch.
  9816. * src/gai_strerror.h
  9817. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9818. Fixed compile error. Thanks gknauf for the patch.
  9819. * src/asctime_r.c
  9820. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9821. Included asctime_r.h from a2time.h.
  9822. * src/a2time.h
  9823. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9824. Added a message "aria2 doesn't verify signature" to log message when
  9825. signature file is saved.
  9826. * src/RequestGroupMan.cc
  9827. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9828. Added the ability to save signature when download is completed if
  9829. signature is available. The filename of signature file is the path to
  9830. download file followed by ".sig". If it already exists, then signature
  9831. will not be saved.
  9832. * src/RequestGroupMan.cc
  9833. * src/Signature.cc
  9834. * test/SignatureTest.cc
  9835. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9836. Updated the descriptions for --bt-seed-unverified.
  9837. * doc/aria2c.1
  9838. * doc/aria2c.1.html
  9839. * doc/aria2c.1.txt
  9840. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9841. Renamed --bt-seed option as --bt-seed-unverified so that it makes clear
  9842. that this is not going to verify files using piece hashes.
  9843. * src/HelpItemFactory.cc
  9844. * src/OptionHandlerFactory.cc
  9845. * src/RequestGroup.cc
  9846. * src/option_processing.cc
  9847. * src/prefs.cc
  9848. * src/prefs.h
  9849. * src/usage_text.h
  9850. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9851. Added the ability to retrieve signature from Metalink file.
  9852. A retrieved signature is stored in Signature class and it is held by
  9853. DownloadContext class. Note that aria2 doesn't verify signature.
  9854. * src/DownloadContext.cc
  9855. * src/DownloadContext.h
  9856. * src/Makefile.am
  9857. * src/Makefile.in
  9858. * src/Metalink2RequestGroup.cc
  9859. * src/MetalinkEntry.cc
  9860. * src/MetalinkEntry.h
  9861. * src/MetalinkParserController.cc
  9862. * src/MetalinkParserController.h
  9863. * src/MetalinkParserStateMachine.cc
  9864. * src/MetalinkParserStateMachine.h
  9865. * src/Signature.cc
  9866. * src/Signature.h
  9867. * src/SignatureMetalinkParserState.cc
  9868. * src/SignatureMetalinkParserState.h
  9869. * src/VerificationMetalinkParserState.cc
  9870. * src/VerificationMetalinkParserState.h
  9871. * test/Metalink2RequestGroupTest.cc
  9872. * test/MetalinkParserControllerTest.cc
  9873. * test/MetalinkProcessorTest.cc
  9874. * test/test.xml
  9875. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9876. Close DiskAdaptor after renaming file.
  9877. * src/RequestGroup.cc
  9878. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9879. Corrected indentation
  9880. * src/DefaultBtProgressInfoFile.cc
  9881. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9882. Moved the calls of std::ios::exceptions() inside of try-catch block
  9883. because if an error occurred in constructor of std::fstream, then
  9884. exception is thrown immediately when std::ios::exceptions() is called
  9885. which results unhandled exception and aria2c aborts.
  9886. * src/DefaultBtProgressInfoFile.cc
  9887. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9888. Added the test for the previous change in DefaultBtContext.cc
  9889. * test/DefaultBtContextTest.cc
  9890. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9891. Fixed the bug that causes infinite loop when the number of pieces are
  9892. fewer than allowed fast set size which is 10 by default.
  9893. * src/DefaultBtContext.cc
  9894. 2008-07-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9895. Updated the descriptions for -j, -s. Added --bt-seed.
  9896. * doc/aria2c.1
  9897. * doc/aria2c.1.html
  9898. * doc/aria2c.1.txt
  9899. 2008-07-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9900. Added --bt-seed option. If --bt-seed=true is given at the command-line,
  9901. aria2 seeds previously downloaded files without validating piece hashs.
  9902. * src/HelpItemFactory.cc
  9903. * src/OptionHandlerFactory.cc
  9904. * src/RequestGroup.cc
  9905. * src/option_processing.cc
  9906. * src/prefs.cc
  9907. * src/prefs.h
  9908. * src/usage_text.h
  9909. 2008-07-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9910. Updated DESCRIPTION of man page.
  9911. * doc/aria2c.1
  9912. * doc/aria2c.1.html
  9913. * doc/aria2c.1.txt
  9914. 2008-07-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9915. Fixed the compile error on Nexenta OS(GNU/Solaris OS).
  9916. Don't define `struct addrinfo' when __sun is defined.
  9917. * src/getaddrinfo.h
  9918. 2008-07-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9919. Introduced a2_struct_stat. It is defined as `struct _stati64' if
  9920. __MINGW32__ is defined, because under MinGW32, _stati64 is used and its
  9921. second argument is of type `struct _stati64'. Otherwise it is defined as
  9922. `struct stat'.
  9923. * src/AbstractDiskWriter.cc
  9924. * src/File.cc
  9925. * src/File.h
  9926. * src/a2io.h
  9927. 2008-07-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9928. Fixed the compile error in hurd-i386
  9929. See the original bug report:
  9930. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488602
  9931. * src/a2io.h
  9932. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9933. Code cleanup.
  9934. * src/PeerAbstractCommand.cc
  9935. * src/PeerAbstractCommand.h
  9936. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9937. Removed TransferEncoding.
  9938. * src/DownloadCommand.cc
  9939. * src/DownloadCommand.h
  9940. * src/HttpResponseCommand.cc
  9941. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9942. Updated po files.
  9943. * po/aria2c.pot
  9944. * po/*.po
  9945. * po/*.gmo
  9946. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9947. Rewritten ChunkedEncoding class as ChunkedDecoder class.
  9948. * src/A2STR.cc
  9949. * src/A2STR.h
  9950. * src/ChunkedDecoder.cc
  9951. * src/ChunkedDecoder.h
  9952. * src/ChunkedEncoding.cc: Removed
  9953. * src/ChunkedEncoding.h: Removed
  9954. * src/DownloadCommand.cc
  9955. * src/DownloadCommand.h
  9956. * src/HttpDownloadCommand.cc
  9957. * src/HttpResponse.cc
  9958. * src/HttpResponse.h
  9959. * src/HttpResponseCommand.cc
  9960. * src/HttpSkipResponseCommand.cc
  9961. * src/HttpSkipResponseCommand.h
  9962. * src/Makefile.am
  9963. * src/TransferEncoding.h: Removed
  9964. * test/ChunkedDecoderTest.cc
  9965. * test/ChunkedEncodingTest.cc: Removed
  9966. * test/HttpResponseTest.cc
  9967. * test/Makefile.am
  9968. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9969. Use append instead of insert.
  9970. * src/GZipDecoder.cc
  9971. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9972. Updated doc
  9973. * src/Decoder.h
  9974. 2008-06-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9975. Updated usage text for -s option.
  9976. * src/usage_text.h
  9977. 2008-06-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9978. Fixed the bug that UTF-8 encoded URL is not URL-encoded properly.
  9979. * src/Request.cc
  9980. 2008-06-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9981. Cleaned up configure.ac.
  9982. * configure.ac
  9983. 2008-06-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9984. Use ARIA2_ARG_WITH and ARIA2_ARG_ENABLE instead of AC_ARG_WITH and
  9985. AC_ARG_ENABLE.
  9986. * configure.ac
  9987. 2008-06-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9988. Added gzip, deflate decoding support in HTTP using libz. If compiled
  9989. with this feature, aria2 sends "Accept-Encoding: deflate, gzip" header
  9990. to a HTTP server. If a server returns "Content-Encoding: gzip" or
  9991. "Content-Encoding: deflate" then, aria2 decodes the response body on the
  9992. fly and writes decoded data to a local disk.
  9993. * README
  9994. * README.html
  9995. * configure.ac
  9996. * m4/aria2_arg.m4: Added ARIA2_ARG_WITH and ARIA2_ARG_ENABLE, they are
  9997. wrapper function for AC_ARG_WITH and AC_ARG_ENABLE respectively.
  9998. * m4/libz.m4
  9999. * src/Decoder.h
  10000. * src/DownloadCommand.cc
  10001. * src/DownloadCommand.h
  10002. * src/Exception.h
  10003. * src/GZipDecoder.cc
  10004. * src/GZipDecoder.h
  10005. * src/HttpHeader.cc
  10006. * src/HttpHeader.h
  10007. * src/HttpRequest.cc
  10008. * src/HttpRequest.h
  10009. * src/HttpResponse.cc
  10010. * src/HttpResponse.h
  10011. * src/HttpResponseCommand.cc
  10012. * src/Makefile.am
  10013. * test/GZipDecoderTest.cc
  10014. * test/HttpRequestTest.cc
  10015. * test/HttpResponseTest.cc
  10016. * test/Makefile.am
  10017. * test/Makefile.in
  10018. * test/gzip_decode_test.gz
  10019. 2008-06-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10020. Clarified usage of -j option.
  10021. * src/usage_text.h
  10022. 2008-06-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10023. Disabled getting size from the response of RETR.
  10024. If SIZE command failed, then disable resuming and segmented downloading.
  10025. * src/FtpConnection.cc
  10026. * src/FtpConnection.h
  10027. * src/FtpNegotiationCommand.cc
  10028. * src/FtpNegotiationCommand.h
  10029. 2008-06-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10030. Use digits to find first byte of file size, which makes the intention
  10031. of the code clearer.
  10032. * src/FtpConnection.cc
  10033. Don't call validateTotalLength() when size is 0.
  10034. * src/FtpNegotiationCommand.cc
  10035. 2008-06-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10036. Updated po files.
  10037. * po/aria2c.pot
  10038. * po/*.gmo
  10039. * po/*.po
  10040. 2008-06-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10041. Clarified usage text for --split option.
  10042. * src/usage_text.h
  10043. 2008-06-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10044. Bump up version number to 0.15.0dev. "dev" means "development"
  10045. version, which means I started the development of the next release!
  10046. * src/configure.ac
  10047. 2008-06-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10048. If FTP server returns negative response with REST raw command and
  10049. requested range is not 0, throw exception. If requested range is 0,
  10050. continue download a file from 0 byte.
  10051. * src/FtpNegotiationCommand.cc
  10052. * src/FtpNegotiationCommand.h
  10053. 2008-06-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10054. Supported FTP server which don't recognize SIZE raw command.
  10055. If SIZE raw command is failed, aria2 will try to get file size
  10056. from the response of RETR raw command. If both attempts are failed,
  10057. then resuming and segmented downloading are disabled.
  10058. * src/FtpConnection.cc
  10059. * src/FtpConnection.h
  10060. * src/FtpNegotiationCommand.cc
  10061. * src/FtpNegotiationCommand.h
  10062. 2008-06-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10063. * Release 0.14.0+1
  10064. 2008-06-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10065. Bump up version number to 0.14.0+1
  10066. * src/configure.ac
  10067. 2008-06-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10068. Fixed the code that refers static member variable from non-static
  10069. context.
  10070. * src/DefaultPeerStorage.cc
  10071. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10072. * Release 0.14.0
  10073. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10074. Added build test script
  10075. * build_test.sh
  10076. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10077. Updated ja.po
  10078. * src/ja.po
  10079. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10080. Bump up version number to 0.14.0
  10081. * src/configure.ac
  10082. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10083. Updated ja.po and fr.po. Great thanks for french translators and
  10084. Sebastien WILLEMIJNS.
  10085. * po/fr.po
  10086. * po/ja.po
  10087. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10088. Added configure option to enable/disable epoll support.
  10089. * configure.ac
  10090. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10091. Updated man page.
  10092. * doc/aria2c.1.txt
  10093. * doc/aria2c.1
  10094. * doc/aria2c.1.html
  10095. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10096. Added missing default value '5' to the usage of --split option.
  10097. * src/HelpItemFactory.cc
  10098. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10099. Filled up pieces based on the number of missing blocks, rather than
  10100. simplay the number of piece * block length.
  10101. * src/BtRequestFactory.h
  10102. * src/DefaultBtInteractive.cc
  10103. * src/DefaultBtInteractive.h
  10104. * src/DefaultBtRequestFactory.cc
  10105. * src/DefaultBtRequestFactory.h
  10106. * src/Piece.cc
  10107. * src/Piece.h
  10108. * test/BitfieldManTest.cc
  10109. * test/DefaultBtRequestFactoryTest.cc
  10110. * test/MockBtRequestFactory.h
  10111. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10112. Made _epEvents a member variable.
  10113. * src/DownloadEngine.cc
  10114. * src/DownloadEngine.h
  10115. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10116. Cancel download if http redirect is bounded more than 20 times.
  10117. * src/AbstractCommand.cc
  10118. * src/HttpSkipResponseCommand.cc
  10119. * src/Request.cc
  10120. * src/Request.h
  10121. * test/RequestTest.cc
  10122. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10123. Fixed unhandled exception(removed keyword `new').
  10124. * src/SocketCore.cc (initEPOLL)
  10125. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10126. Removed visit(const MetaEntry*)
  10127. * src/MetaEntryVisitor.h:
  10128. Added visit(const Data*),visit(const Dictionary*),visit(const List*)
  10129. and made them virtual.
  10130. * src/BencodeVisitor.h
  10131. * src/BencodeVisitor.cc
  10132. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10133. Updated po files.
  10134. * po/aria2c.pot
  10135. * po/*.po
  10136. * po/*.gmo
  10137. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10138. Moved the call setWriteCheckSocket inside the previous clause to reduce
  10139. the number of socket to watch out.
  10140. * src/PeerInteractionCommand.cc
  10141. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10142. When there is not enough space in disk when writing a chunk of data,
  10143. aria2 now prints the message to the console to warn user and aborts
  10144. its download. Not all downloads are canceled because some downloads
  10145. may use another disk or partition. BUG#1640332
  10146. * src/AbstractDiskWriter.cc
  10147. * src/PeerAbstractCommand.cc
  10148. * src/PeerAbstractCommand.h: Added onFailure() function for override.
  10149. * src/PeerInteractionCommand.cc: In onFailure(), call RequestGroup::
  10150. setHaltRequested(true) to cancel download.
  10151. * src/PeerInteractionCommand.h
  10152. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10153. Applied Ross's aria2-0.13.2+1-mingw-5.patch, which changes the type of
  10154. socket from int to sock_t as sockets are unsigned in Windows.
  10155. For AsyncNameResolver, DownloadEngine, I did additional modification
  10156. for the portion of the code changed according to epoll support.
  10157. I defined sock_t in a2netcompat.h to use sock_t without including
  10158. SocketCore.h.
  10159. * src/AsyncNameResolver.cc
  10160. * src/AsyncNameResolver.h
  10161. * src/DownloadEngine.cc
  10162. * src/DownloadEngine.h
  10163. * src/SocketCore.cc
  10164. * src/SocketCore.h
  10165. * src/a2netcompat.h
  10166. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10167. Applied Ross's aria2-0.13.2+1-mingw-4.patch. With this change, all
  10168. changes in the patch were applied.
  10169. * test/DHTConnectionImplTest.cc: Fixed unit test error in MinGW.
  10170. * test/DefaultPieceStorageTest.cc: Fixed unit test error in MinGW.
  10171. * test/PeerMessageUtilTest.cc: Fixed unit test error in MinGW.
  10172. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10173. Applied Ross's aria2-0.13.2+1-mingw-4.patch. In this change,
  10174. a2io.h and common.h were modified.
  10175. * src/a2io.h: Changed seek/stat/tell calls to use 64 bit versions in
  10176. MinGW.
  10177. * src/common.h: Changed off_t to 64 bit in MinGW.
  10178. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10179. Applied Ross's aria2-0.13.2+1-mingw-4.patch. In this commit,
  10180. only a2netcompat.h is modified.
  10181. * src/a2netcompat.h: Removed unused getaddrinfo related #define
  10182. directives.
  10183. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10184. Applied Ross's aria2-0.13.2+1-mingw-4.patch. In this commit,
  10185. only gai_strerror.h is modified.
  10186. * src/gai_strerror.h: Fixed gai_strerror() function to report all
  10187. winsock errors in MinGW.
  10188. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10189. Applied Ross's aria2-0.13.2+1-mingw-4.patch. In this commit, only the
  10190. follow sources are applied.
  10191. * src/Platform.h: I removed HAVE_WINSOCK2_H directive from Platform.h.
  10192. * src/Platform.cc: Moved common setup/teardown code to Platform class.
  10193. I moved #endif // HAVE_WINSOCK2_H to the front of #include "DlAbortEx.h"
  10194. I included locale.h from Platform.cc.
  10195. * src/main.cc: Moved common setup/teardown code to Platform class.
  10196. * test/AllTest.cc: Use Platform class.
  10197. Set locale to C in AllTest.cc to prevent the messages to be localized.
  10198. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10199. Applied Ross's aria2-0.13.2+1-mingw-3.patch.
  10200. * test/HttpHeaderTest.cc: Casted to off_t where it should.
  10201. * test/HttpRequestTest.cc: Casted to off_t where it should.
  10202. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10203. Applied Ross's aria2-0.13.2+1-mingw.patch and
  10204. aria2-0.13.2+1-mingw-2.patch.
  10205. * src/ConsoleStatCalc.cc: Added HAVE_TERMIOUS_H directive for the
  10206. systems which don't have termious.h. I moved the directive inside of
  10207. if(isTTY) { ... clause so that line is wiped out without termious.h.
  10208. I also removed HAVE_ASCTIME_R clause because asctime_r is provided
  10209. anyway.
  10210. * src/asctime_r.h
  10211. * src/asctime_r.c: Added for the systems don't have asctime_r function.
  10212. I added 2nd argument to the prototype declaration.
  10213. * src/StringFormat.cc: Get rid of vasprintf.
  10214. * src/getaddrinfo.h: Fixed constants.
  10215. * configure.ac: Added the check for asctime_r function.
  10216. * src/Makefile.am: Added conditional based on HAVE_ASCTIME_R
  10217. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10218. Added writable test for Socket when the sending message is in progress.
  10219. Usually the sending message is piece message. Without wriable check,
  10220. upload latency is dropped to more than 1sec.
  10221. * src/PeerInteractionCommand.cc
  10222. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10223. Create only requested files and files which shares a piece with
  10224. requested file in multi-torrent downloads. Directory structures are
  10225. also created in the same rule.
  10226. MultiDiskAdaptor::fileExists() now uses FileEntry instead of
  10227. DiskWriterEntry as in the previous implementation.
  10228. * src/MultiDiskWriter.cc
  10229. * src/MultiFileAllocationIterator.cc
  10230. * src/MultiFileAllocationIterator.h
  10231. * test/MultiFileAllocationIteratorTest.cc
  10232. 2008-06-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10233. Commented out -lprofiler
  10234. * src/Makefile.am
  10235. 2008-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10236. Bump up version number to 0.14.0b.
  10237. * src/configure.ac
  10238. 2008-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10239. Actively establish connection to peers in seeding, when peer cache
  10240. is not full and max upload speed limit is not reached.
  10241. * src/ActivePeerConnectionCommand.cc
  10242. * src/ActivePeerConnectionCommand.h
  10243. 2008-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10244. Always remove a peer from cache in DefaultPeerStorage::returnPeer(),
  10245. to make room more fleshy, recently found peers.
  10246. Peer::_badConditionStartTime is not used anymore. Consider to remove
  10247. it.
  10248. * src/DefaultPeerStorage.cc
  10249. * test/DefaultPeerStorageTest.cc
  10250. 2008-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10251. Returns cached data only when the previous receiveHandshake() is called
  10252. with peek = true.
  10253. * src/PeerConnection.cc (receiveHandshake)
  10254. * src/PeerConnection.h (receiveHandshake)
  10255. 2008-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10256. Changed default value of -s option from 1 to 5.
  10257. Also max value of -s option is changed from 5 to 16.
  10258. * src/HelpItemFactory.cc
  10259. * src/OptionHandlerFactory.cc
  10260. * src/option_processing.cc
  10261. * src/usage_text.h
  10262. 2008-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10263. Changed -s options behavior. Now it means the number of connections
  10264. made simultaneously in each http/ftp download.
  10265. If 1 URL is specified, the behavior is the same with old implementation.
  10266. If -s N is given and more than N URLs are specified, first N URLs are
  10267. used and remaining URLs are used for backup. If less than N URLs are
  10268. specified, some of URLs are used more than once so that totally N
  10269. connections are made simultaneously.
  10270. * src/main.cc
  10271. 2008-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10272. Included missing iosfwd or ostream header.
  10273. * src/RequestGroupMan.cc
  10274. * src/TaggedItem.cc
  10275. * src/TaggedItem.h
  10276. * src/Util.cc
  10277. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10278. * src/HttpHeaderProcessor.cc: Rewritten using std::string as a buffer.
  10279. * src/HttpHeaderProcessor.h: Rewritten using std::string as a buffer.
  10280. * src/HttpConnection.cc: Included missing sstream.
  10281. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10282. Added --bt-max-open-files option.
  10283. * src/DefaultPieceStorage.cc
  10284. * src/HelpItemFactory.cc
  10285. * src/MultiDiskAdaptor.cc
  10286. * src/MultiDiskAdaptor.h
  10287. * src/OptionHandlerFactory.cc
  10288. * src/option_processing.cc
  10289. * src/prefs.cc
  10290. * src/prefs.h
  10291. * src/usage_text.h
  10292. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10293. Fixed the bug that aria2 aborts when a path to a directory is given
  10294. in command-line.
  10295. * src/ProtocolDetector.cc
  10296. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10297. Limited the number files opened in each BitTorrent download. The default
  10298. value is 100. The option to change this value will be added.
  10299. * src/MultiDiskAdaptor.cc
  10300. * src/MultiDiskAdaptor.h
  10301. * src/MultiFileAllocationIterator.cc
  10302. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10303. Fixed the bug that HTTP downloads don't start with old libraries.
  10304. * src/HttpHeaderProcessor.cc
  10305. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10306. Use empty() instead of size() > 0.
  10307. * src/HttpConnection.cc
  10308. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10309. Drop connection if the incoming peer ID is the same with localhost's
  10310. one. The previous implementation drops connection when incoming peer's
  10311. IP address is the same with localhost's one.
  10312. * src/PeerListenCommand.cc
  10313. * src/DefaultBtInteractive.cc
  10314. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10315. Returns cached data without checking whether socket is readable
  10316. if the cache is available.
  10317. * src/PeerConnection.cc (receiveHandshake)
  10318. 2008-06-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10319. Included stdint.h
  10320. * src/common.h
  10321. 2008-06-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10322. Removed duplicate HAVE_GETTIMEOFDAY
  10323. * src/Makefile.am
  10324. * src/Makefile.in
  10325. 2008-06-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10326. Use interval as a minInterval when minInterval is not supplied.
  10327. * src/DefaultBtAnnounce.cc
  10328. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10329. Made DEFAULT_ANNOUNCE_INTERVAL 120, so that if first tracker request
  10330. attempt is failed, then 2nd attempt get kicked out more quickly.
  10331. And it is now static const member of DefaultBtAnnounce.
  10332. * src/DefaultBtAnnounce.h
  10333. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10334. Renamed BtRuntime::lessThanMinPeers() and BtRuntime::lessThanEqMinPeers.
  10335. Made MAX_PEERS and MIN_PEERS static const members of BtRuntime.
  10336. * src/ActivePeerConnectionCommand.cc
  10337. * src/BtConstants.h
  10338. * src/BtRuntime.h
  10339. * src/DHTGetPeersCommand.cc
  10340. * src/DefaultBtAnnounce.cc
  10341. * src/DefaultPeerStorage.cc: Calculate maxPeerListSize based on
  10342. BtRuntime::MAX_PEERS.
  10343. * src/DefaultPeerStorage.h
  10344. * src/InitiatorMSEHandshakeCommand.cc
  10345. * src/PeerInitiateConnectionCommand.cc
  10346. * src/PeerInteractionCommand.cc
  10347. * src/PeerReceiveHandshakeCommand.cc
  10348. * src/TrackerWatcherCommand.cc
  10349. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10350. Always Connect to _numNewConnection
  10351. * src/ActivePeerConnectionCommand.cc
  10352. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10353. Made `begin' unsigned int.
  10354. * src/GrowSegment.h
  10355. * src/Piece.cc
  10356. * src/Piece.h
  10357. * src/PiecedSegment.cc
  10358. * src/PiecedSegment.h
  10359. * src/Segment.h
  10360. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10361. Calculate piece hash when data is arrived if the data is arrived in
  10362. order. This removes additional read operation for hash calculation.
  10363. If the data is arrived in out of order, the hash is calucated when the
  10364. piece is completed. This is the same behavior as the old implementation.
  10365. * src/BtPieceMessage.cc
  10366. * src/DefaultBtProgressInfoFile.cc
  10367. * src/DefaultPieceStorage.cc
  10368. * src/DownloadCommand.cc
  10369. * src/DownloadCommand.h
  10370. * src/DownloadEngine.cc
  10371. * src/GrowSegment.cc
  10372. * src/GrowSegment.h
  10373. * src/Piece.cc
  10374. * src/Piece.h
  10375. * src/PiecedSegment.cc
  10376. * src/PiecedSegment.h
  10377. * src/Segment.h
  10378. * test/PieceTest.cc
  10379. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10380. Try to keep the ordering of outgoing piece message.
  10381. * src/DefaultBtMessageDispatcher.cc
  10382. (DefaultBtMessageDispatcher::sendMessages)
  10383. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10384. Fixed busy loop when error/hup epoll events occur.
  10385. * src/AbstractCommand.cc
  10386. * src/PeerAbstractCommand.cc
  10387. 2008-06-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10388. Added --bt-request-peer-speed-limit option, which was a constant
  10389. SLOW_SPEED_THRESHOLD.
  10390. * src/ActivePeerConnectionCommand.cc
  10391. * src/ActivePeerConnectionCommand.h
  10392. * src/BtConstants.h
  10393. * src/HelpItemFactory.cc
  10394. * src/OptionHandlerFactory.cc
  10395. * src/PeerReceiveHandshakeCommand.cc
  10396. * src/option_processing.cc
  10397. * src/prefs.cc
  10398. * src/prefs.h
  10399. * src/usage_text.h
  10400. 2008-06-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10401. Removed repeated call of getTopDirPath(). Instead, call it once and
  10402. cache the result.
  10403. * src/MultiDiskAdaptor.cc
  10404. * src/MultiDiskAdaptor.h
  10405. (mkdir, openFile, initAndOpenFile, openExistingFile)
  10406. 2008-06-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10407. Fixed compile error on debian etch.
  10408. The libc6 shipped with debian etch doesn't define ULLONG_MAX properly
  10409. even if _GNU_SOURCE is defined. So define ULLONG_MAX in case when
  10410. it is undefined.
  10411. * src/Util.cc (ULLONG_MAX)
  10412. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10413. Added epoll support. Use epoll if it is available. If not, use select.
  10414. When async dns is enabled in compile time, epoll support is enabled
  10415. only when aria2 is built with c-ares. This condition statement is
  10416. defined in a2io.h.
  10417. Currently aria2 supports both c-ares and ares, but ares is maintained
  10418. for quite a while and debian already has c-ares package, ares support
  10419. will be dropped in the future version.
  10420. * configure.ac
  10421. * src/AbstractCommand.cc
  10422. * src/AsyncNameResolver.cc
  10423. * src/AsyncNameResolver.h
  10424. * src/Command.cc
  10425. * src/Command.h
  10426. * src/DownloadEngine.cc
  10427. * src/DownloadEngine.h
  10428. * src/PeerAbstractCommand.cc
  10429. * src/SocketCore.cc
  10430. * src/SocketCore.h
  10431. * src/a2io.h
  10432. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10433. * test/MetalinkEntryTest.cc: Added missing `defined' keyword to #if
  10434. directive.
  10435. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10436. Do not do write operation to /dev/null file.
  10437. * src/LogFactory.cc
  10438. * src/SimpleLogger.cc
  10439. Replaced vasprintf with vsnprintf
  10440. * src/SimpleLogger.cc (SimpleLogger::writeLog)
  10441. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10442. * src/BtRequestMessage.cc
  10443. (BtRequestMessage::onQueue): Given piece to RequestSlot. This is a fix
  10444. for segmentation fault caused by previous commit.
  10445. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10446. Reduced the usage of gettimeofday().
  10447. * src/DefaultBtMessageDispatcher.cc
  10448. (DefaultBtMessageDispatcher::checkRequestSlotAndDoNecessaryThing)
  10449. (class FindStaleRequestSlot, class ProcessStaleRequestSlot)
  10450. * src/RequestSlot.cc
  10451. * src/RequestSlot.h
  10452. (RequestSlot::isTimeout)
  10453. Made RequestSlot have a reference to Piece object to avoid find
  10454. Piece repeatedly.
  10455. * src/DefaultBtMessageDispatcher.cc
  10456. (class FindStaleRequestSlot, class ProcessStaleRequestSlot)
  10457. * src/RequestSlot.cc
  10458. * src/RequestSlot.h
  10459. (RequestSlot::getPiece)
  10460. * test/DefaultBtMessageDispatcherTest.cc
  10461. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10462. * src/TimeA2.cc
  10463. * src/TimeA2.h
  10464. (Time::difference): New function.
  10465. (Time::elapsed): Done optimization.
  10466. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10467. * src/HelpItemFactory.cc: Added missing `defined' keyword to #if
  10468. directive.
  10469. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10470. * src/option_processing.cc: Added missing `defined' keyword to #if
  10471. directive.
  10472. 2008-05-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10473. Bump up version number to 0.13.2+1
  10474. * src/configure.ac
  10475. 2008-05-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10476. Refactored broken outstanding piece handling.
  10477. * src/DefaultPieceStorage.cc
  10478. * src/DefaultPieceStorage.h
  10479. * src/Piece.cc
  10480. * src/Piece.h
  10481. 2008-05-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10482. Fixed compile error on Mac OS X 10.3.9. This error was caused by the
  10483. name collision of static variable and predefined macro.
  10484. * src/BtContext.cc
  10485. * src/BtContext.h
  10486. * src/CookieBoxFactory.cc
  10487. * src/CookieBoxFactory.h
  10488. * src/CookieParser.cc
  10489. * src/CookieParser.h
  10490. * src/DefaultBtContext.cc
  10491. 2008-05-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10492. * src/RequestGroup.cc
  10493. (RequestGroup::createInitialCommand): Use empty() instead of size().
  10494. 2008-05-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10495. * Release 0.13.2
  10496. 2008-05-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10497. Updated fr.po(thanks to Sebastien) and ja.po. ThanksDone make update-po
  10498. * po/fr.po
  10499. * po/ja.po
  10500. * po/aria2c.pot
  10501. * po/*.po
  10502. * po/*.gmo
  10503. 2008-05-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10504. Bump up version number to 0.13.2
  10505. * src/configure.ac
  10506. 2008-05-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10507. Refactord.
  10508. * src/RequestGroupMan.cc
  10509. (removeStoppedGroup)
  10510. (fillRequestGroupFromReserver)
  10511. 2008-05-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10512. Fixed compile error on Ubuntu.
  10513. * src/BtPieceMessage.cc
  10514. * src/MessageDigestHelper.cc
  10515. * src/Util.cc
  10516. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10517. Fixed compile error when configured with --disable-bittorrent
  10518. * test/DownloadHandlerFactoryTest.cc
  10519. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10520. Done make update-po
  10521. * po/aria2c.pot
  10522. * po/*.po
  10523. * po/*.gmo
  10524. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10525. Bump up version number to 0.13.2rc.
  10526. * src/configure.ac
  10527. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10528. Made option name bold. Updated SYNOPSIS to make it more readable.
  10529. * doc/aria2c.1.txt
  10530. * doc/aria2c.1
  10531. * doc/aria2c.1.html
  10532. * src/version_usage.cc
  10533. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10534. Refactored. Use std::string instead of size and char*.
  10535. * Data.cc
  10536. * Data.h
  10537. * test/Data.cc
  10538. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10539. Added trimSelf(). Rewritten trim() to use trimSelf().
  10540. * Util.cc
  10541. * Util.h
  10542. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10543. * src/ChunkChecksum.h (getChecksum): Return const reference.
  10544. 2008-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10545. Fixed compile error when configured with --disable-metalink.
  10546. Also moved test/DownloadHandlerFactoryTest.cc to SRC in Makefile.am.
  10547. * test/FeatureConfigTest.cc
  10548. * test/DownloadHandlerFactoryTest.cc
  10549. 2008-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10550. Fixed compile error when configured with --without-gnutls
  10551. --without-openssl
  10552. * src/main.cc
  10553. * test/DefaultBtProgressInfoFileTest.cc
  10554. * test/SegmentManTest.cc
  10555. 2008-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10556. Fixed compile error with OpenSSL.
  10557. * src/IteratableChunkChecksumValidator.cc
  10558. * src/LibsslDHKeyExchange.h
  10559. * src/MessageDigestHelper.cc
  10560. 2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10561. Revert the default value of --max-concurrent-downloads to 5.
  10562. Revert the default value of --metalink-servers to 5.
  10563. Man pages was also updated.
  10564. * src/option_processing.cc
  10565. * doc/aria2c.1.txt
  10566. * doc/aria2c.1.html
  10567. * doc/aria2c.1
  10568. 2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10569. Returns const reference:
  10570. DownloadContext::getPieceHash, DownloadContext::getName,
  10571. DownloadContext::getPieceHashAlgo, DownloadContext::getDir,
  10572. BtContext::getInfoHashAsString,
  10573. * src/BtContext.h
  10574. * src/DefaultBtContext.cc
  10575. * src/DefaultBtContext.h
  10576. * src/DownloadContext.h
  10577. * src/SingleFileDownloadContext.h
  10578. * test/MockBtContext.h
  10579. 2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10580. * src/RequestGroup.h (getDir): Removed.
  10581. 2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10582. Returns const reference. The internal urlencode function was optimized
  10583. a little bit.
  10584. * src/Request.cc
  10585. * src/Request.h
  10586. * src/HttpRequest.cc
  10587. * src/HttpRequest.h
  10588. 2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10589. Defined option name and possible values as std::string to reduce
  10590. temporary string object creation in runtime.
  10591. * src/HelpItemFactory.cc
  10592. * src/LogFactory.cc
  10593. * src/Option.cc
  10594. * src/OptionHandlerFactory.cc
  10595. * src/option_processing.cc
  10596. * src/prefs.cc
  10597. * src/prefs.h
  10598. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10599. Return const reference.
  10600. * src/DownloadHandlerConstants.cc
  10601. * src/DownloadHandlerConstants.h
  10602. (getMetalinkExtensions)
  10603. (getMetalinkContentTypes)
  10604. (getBtExtensions)
  10605. (getBtContentTypes)
  10606. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10607. * src/HttpHeader.cc (get): Rewritten.
  10608. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10609. Make HttpHeader::getFirst(...) return const reference.
  10610. * src/HttpHeader.cc
  10611. * src/HttpHeader.h
  10612. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10613. Use Option::getAsBool(...) instead of Option::get(...) and compare
  10614. it with V_TRUE.
  10615. * src/DefaultPieceStorage.cc
  10616. * src/DownloadCommand.cc
  10617. * src/FtpNegotiationCommand.cc
  10618. * src/HttpRequest.cc
  10619. * src/InitiateConnectionCommand.cc
  10620. * src/RequestGroup.cc
  10621. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10622. Made Option::get(...) return const reference of std::string.
  10623. * src/Option.cc
  10624. * src/Option.h
  10625. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10626. Replaced std:copy with insert.
  10627. * src/DefaultBtMessageDispatcher.cc
  10628. * src/DefaultPieceStorage.cc
  10629. * src/DownloadEngineFactory.cc
  10630. * src/RequestGroup.cc
  10631. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10632. Included SocketCore.h to fix compiler warning.
  10633. * src/InitiateConnectionCommand.cc
  10634. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10635. Put piece selection strategy algorithm to RarestPieceSelector class,
  10636. Added a switch to choose whether randomized selection so that unit
  10637. tests emit same results in, possibly, win32.
  10638. * src/DefaultPieceStorage.cc
  10639. * src/DefaultPieceStorage.h
  10640. * src/RarestPieceSelector.cc
  10641. * src/RarestPieceSelector.h
  10642. * test/DefaultPieceStorageTest.cc
  10643. * test/RarestPieceSelectorTest.cc
  10644. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10645. Don't pool connection if HTTP proxy is enabled.
  10646. * src/FtpFinishDownloadCommand.cc
  10647. * src/FtpNegotiationCommand.cc
  10648. * src/HttpSkipResponseCommand.cc
  10649. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10650. Don't add closed socket to DownloadEngine::addSocketForReadCheck()
  10651. * src/AbstractCommand.cc
  10652. * src/AbstractCommand.h
  10653. * src/ActivePeerConnectionCommand.cc
  10654. * src/FtpInitiateConnectionCommand.cc
  10655. * src/HttpInitiateConnectionCommand.cc
  10656. * src/InitiateConnectionCommandFactory.cc
  10657. * src/PeerAbstractCommand.cc
  10658. * src/PeerAbstractCommand.h
  10659. * src/PeerInitiateConnectionCommand.cc
  10660. * src/TrackerWatcherCommand.cc
  10661. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10662. Sort RequestSlot in ascending order and manipulate them using
  10663. lower_bound.
  10664. * src/DefaultBtMessageDispatcher.cc
  10665. * src/DefaultBtMessageDispatcher.h
  10666. (getMessageQueue): Added const qualifier.
  10667. (getRequestSlots): Added const qualifier.
  10668. (sendMessages): Use empty() instead of size().
  10669. (doCancelSendingPieceAction): Use HandleEvent object.
  10670. (doAbortOutstandingRequestAction): Rewritten.
  10671. (doChokedAction): Rewritten.
  10672. (checkRequestSlotAndDoNecessaryThing): Rewritten.
  10673. (isOutstandingRequest): Rewritten.
  10674. (getOutstandingRequest): Rewritten.
  10675. (removeOutstandingRequest): Rewritten.
  10676. (addOutstandingRequest): Rewritten.
  10677. * src/RequestSlot.cc
  10678. * src/RequestSlot.h
  10679. (operator=): Rewritten.
  10680. (operator!=): New function.
  10681. (operator<): New function.
  10682. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10683. * src/DefaultBtRequestFactory.cc
  10684. (doChokedAction): Rewritten.
  10685. (removeCompletedPiece): Rewritten.
  10686. (removeTargetPiece): Rewritten.
  10687. (createRequestMessages): Added the debug log.
  10688. (createRequestMessagesOnEndGame: Added the debug log.
  10689. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10690. Added the debug log message.
  10691. * src/BtPieceMessage.cc (doReceivedAction)
  10692. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10693. Sorted DHTPeerAnnounceEntry in a ascending order of info hash and
  10694. used lower_bound to process them rather than linear search.
  10695. * src/DHTPeerAnnounceStorage.cc
  10696. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10697. Call subtractPieceStats from ~PeerInteractionCommand only when the
  10698. peer has at least one completed piece.
  10699. * src/Peer.cc
  10700. * src/Peer.h
  10701. * src/PeerInteractionCommand.cc
  10702. * src/PeerSessionResource.cc
  10703. * src/PeerSessionResource.h
  10704. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10705. Removed unnecessary sorting
  10706. * src/DefaultPieceStorage (DefaultPieceStorage)
  10707. 2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10708. Rewritten the portion of the code that mangaes allowed fast indexes.
  10709. * src/PeerSessionResource.cc
  10710. * src/PeerSessionResource.h
  10711. 2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10712. Removed the invalid string including '\r' from ru.po and
  10713. did make update-po.
  10714. 2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10715. Added --log-level and --summary-interval to man page.
  10716. * doc/aria2c.1.txt
  10717. * doc/aria2c.1.html
  10718. * doc/aria2c.1
  10719. 2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10720. Added --log-level option to specify log level. Log messages under
  10721. the specified level are not output. Default value is `debug'.
  10722. * src/HelpItemFactory.cc
  10723. * src/LogFactory.cc
  10724. * src/LogFactory.h
  10725. * src/Logger.h
  10726. * src/OptionHandlerFactory.cc
  10727. * src/SimpleLogger.cc
  10728. * src/SimpleLogger.h
  10729. * src/main.cc
  10730. * src/option_processing.cc
  10731. * src/prefs.h
  10732. * src/usage_text.h
  10733. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10734. Print download progress summary of all parallel downloads in specified
  10735. interval, default 60 secs. While aria2 could download several files
  10736. in parallel (see -j option), it displayed just first download progress,
  10737. and the other downloads are hidden from the users. This new feature
  10738. prints all downloads currently in-progress to the console so that you
  10739. can check the status of all downloads. The interval can be adjusted
  10740. by --summary-interval option.
  10741. The progress readout is now cut so that all fits in the one line of
  10742. console.
  10743. * src/ConsoleStatCalc.cc
  10744. * src/ConsoleStatCalc.h
  10745. * src/HelpItemFactory.cc
  10746. * src/OptionHandlerFactory.cc
  10747. * src/RequestGroupMan.cc
  10748. * src/RequestGroupMan.h
  10749. * src/main.cc
  10750. * src/option_processing.cc
  10751. * src/prefs.h
  10752. * src/usage_text.h
  10753. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10754. Call updateFdSet() to initialize rfdset, wfdset fdmax.
  10755. * src/DownloadEngine.cc (DownloadEngine)
  10756. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10757. Use free() to deallocate memory for _buffer if HAVE_POSIX_MEMALIGN is
  10758. defined.
  10759. * src/SingleFileAllocationIterator.cc (~SingleFileAllocationIterator)
  10760. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10761. Use erase+lower_bound+insert instead of sort.
  10762. * src/DefaultPieceStorage.cc (addPieceStats)
  10763. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10764. Use A2STR::SHARP_C and A2STR::EQUAL_C.
  10765. * src/A2STR.cc
  10766. * src/A2STR.h
  10767. * src/OptionParser.cc (parse)
  10768. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10769. Defined fake filename `[tracker.announce]' as static const std::string.
  10770. * src/TrackerWatcherCommand.cc (createRequestGroup)
  10771. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10772. Defined default filename `index.html' as static const std::string
  10773. * src/SingleFileDownloadContext.cc
  10774. * src/SingleFileDownloadContext.h
  10775. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10776. Defined "[MEMORY]" as static const std::string.
  10777. * src/MemoryBufferPreDownloadHandler.cc (execute)
  10778. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10779. Defined control file's version number as static const std::string.
  10780. * src/DefaultBtProgressInfoFile.cc
  10781. * src/DefaultBtProgressInfoFile.h
  10782. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10783. Use Request::METHOD_GET
  10784. * src/RequestGroup.cc (createNextCommandWithAdj)
  10785. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10786. Defined "OK", "ERR", "INPR" as static const std::string
  10787. * src/RequestGroupMan.cc (showDownloadResults)
  10788. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10789. Defined default client used in extended handshake as static const
  10790. std::string
  10791. * src/DefaultBtInteractive.cc (addHandshakeExtendedMessageToQueue)
  10792. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10793. Defined AUTH_HEADER, PROXY_AUTH_HEADER as static const std::string
  10794. * src/HttpConnection.cc (eraseConfidentialInfo)
  10795. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10796. Defined default ftp user and password as static const std::string
  10797. * src/AuthConfigFactory.cc
  10798. * src/AuthConfigFactory.h
  10799. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10800. Defined strings used in netrc as static const std::string
  10801. * src/Netrc.cc
  10802. * src/Netrc.h
  10803. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10804. Defined HTTP status as static const std::string
  10805. * src/AbstractProxyResponseCommand.cc
  10806. * src/HttpHeader.cc
  10807. * src/HttpHeader.h
  10808. * src/HttpResponse.cc
  10809. * src/HttpResponseCommand.cc
  10810. * src/HttpSkipResponseCommand.cc
  10811. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10812. Defined "\r\n", "A", "I" as static const std::string
  10813. * src/A2STR.cc
  10814. * src/A2STR.h
  10815. * src/FtpConnection.cc
  10816. * src/FtpConnection.h
  10817. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10818. Added COLON_C(".") and used it in Request::parseUrl()
  10819. * src/A2STR.cc
  10820. * src/A2STR.h
  10821. * src/Request.cc (parseUrl)
  10822. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10823. Changed the type of padName from `const std::string&' to `const char*'.
  10824. * src/MSEHandshake.cc (verifyPadLength)
  10825. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10826. Defined "sha1" as static const std::string.
  10827. * src/MetalinkParserController.cc
  10828. * src/MetalinkParserController.h
  10829. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10830. Defined message digest algorithm name as static const std::string
  10831. * src/DHTTokenTracker.cc
  10832. * src/DHTUtil.cc
  10833. * src/DefaultBtContext.cc
  10834. * src/MSEHandshake.cc
  10835. * src/MessageDigestHelper.cc
  10836. * src/Peer.cc
  10837. * src/messageDigest.cc
  10838. * src/messageDigest.h
  10839. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10840. Made string literals used in SAX parser static const std::string.
  10841. * src/FileMetalinkParserState.cc
  10842. * src/FileMetalinkParserState.h
  10843. * src/FilesMetalinkParserState.cc
  10844. * src/FilesMetalinkParserState.h
  10845. * src/InitialMetalinkParserState.cc
  10846. * src/InitialMetalinkParserState.h
  10847. * src/MetalinkMetalinkParserState.cc
  10848. * src/MetalinkMetalinkParserState.h
  10849. * src/PiecesMetalinkParserState.cc
  10850. * src/PiecesMetalinkParserState.h
  10851. * src/ResourcesMetalinkParserState.cc
  10852. * src/ResourcesMetalinkParserState.h
  10853. * src/VerificationMetalinkParserState.cc
  10854. * src/VerificationMetalinkParserState.h
  10855. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10856. Use A2STR::SLASH_C, A2STR::DOT_C instead of "/", "." respectively.
  10857. * src/A2STR.cc
  10858. * src/A2STR.h
  10859. * src/File.cc
  10860. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10861. Defined static const std::string IP("ip"), PORT("port") and use them
  10862. instead of string literals.
  10863. * src/DefaultPeerListProcessor.cc
  10864. * src/DefaultPeerListProcessor.h
  10865. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10866. Made string literals for torrent file processing static const
  10867. std::string.
  10868. * src/BtContext.cc
  10869. * src/BtContext.h
  10870. * src/DefaultBtContext.cc
  10871. * src/DefaultBtContext.h
  10872. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10873. Made string literal for tracker response static const std::string
  10874. * src/BtAnnounce.cc
  10875. * src/BtAnnounce.h
  10876. * src/DefaultBtAnnounce.cc
  10877. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10878. Use DHTMessage::T instead of "t".
  10879. * src/DHTMessageTracker.cc (messageArrived)
  10880. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10881. Made keyName static const. Made trimmed charset static const
  10882. std::string.
  10883. * src/Util.cc (getContentDispositionFilename)
  10884. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10885. Made USER_AGENT const. Made "/" static const std::string.
  10886. * src/A2STR.cc
  10887. * src/A2STR.h
  10888. * src/HttpRequest.cc
  10889. * src/HttpRequest.h
  10890. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10891. Made string listeral to static const std::string:
  10892. "Content-Range", "Content-Length"
  10893. * src/HttpHeader.cc
  10894. * src/HttpHeader.h
  10895. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10896. Made string listeral to static const std::string.
  10897. * src/HttpConnection.cc
  10898. * src/HttpHeader.cc
  10899. * src/HttpHeader.h
  10900. * src/HttpResponse.cc
  10901. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10902. Made string listeral to static const std::string.
  10903. * src/A2STR.cc
  10904. * src/A2STR.h
  10905. * src/SimpleLogger.cc
  10906. * src/SimpleLogger.h
  10907. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10908. Made string literal to static const std::string.
  10909. Rewritten CookieParser::setField.
  10910. * src/A2STR.cc
  10911. * src/A2STR.h
  10912. * src/CookieBoxFactory.cc
  10913. * src/CookieBoxFactory.h
  10914. * src/CookieParser.cc
  10915. * src/CookieParser.h
  10916. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10917. Made string literal to static const std::string
  10918. * src/DHTAbstractMessage.cc
  10919. * src/DHTAnnouncePeerMessage.cc
  10920. * src/DHTAnnouncePeerMessage.h
  10921. * src/DHTAnnouncePeerReplyMessage.cc
  10922. * src/DHTAnnouncePeerReplyMessage.h
  10923. * src/DHTFindNodeMessage.cc
  10924. * src/DHTFindNodeMessage.h
  10925. * src/DHTFindNodeReplyMessage.cc
  10926. * src/DHTFindNodeReplyMessage.h
  10927. * src/DHTGetPeersMessage.cc
  10928. * src/DHTGetPeersMessage.h
  10929. * src/DHTGetPeersReplyMessage.cc
  10930. * src/DHTGetPeersReplyMessage.h
  10931. * src/DHTMessage.cc
  10932. * src/DHTMessage.h
  10933. * src/DHTMessageFactoryImpl.cc
  10934. * src/DHTMessageReceiver.cc
  10935. * src/DHTPingMessage.cc
  10936. * src/DHTPingMessage.h
  10937. * src/DHTPingReplyMessage.cc
  10938. * src/DHTPingReplyMessage.h
  10939. * src/DHTQueryMessage.cc
  10940. * src/DHTQueryMessage.h
  10941. * src/DHTResponseMessage.cc
  10942. * src/DHTResponseMessage.h
  10943. * src/DHTUnknownMessage.cc
  10944. * src/DHTUnknownMessage.h
  10945. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10946. Made string literal to static const std::string
  10947. * src/BtChokeMessage.cc (toString)
  10948. * src/BtHaveAllMessage.cc (toString)
  10949. * src/BtHaveNoneMessage.cc (toString)
  10950. * src/BtInterestedMessage.cc (toString)
  10951. * src/BtNotInterestedMessage.cc (toString)
  10952. * src/BtUnchokeMessage.cc (toString)
  10953. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10954. Replaced "" with static const variable A2STR::NIL.
  10955. Replaced string comparison against "" with std::string::empty().
  10956. Added PROTO_* to Request class and use them as a protocol string
  10957. constant.
  10958. Made "started", "stopped", "completed" static const variable in
  10959. AnnounceList class.
  10960. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10961. Updated translations. Great thanks to translators.
  10962. * po/ca.po
  10963. * po/de.po
  10964. * po/fr.po
  10965. * po/it.po
  10966. * po/ja.po
  10967. * po/ru.po
  10968. * po/zh_CN.po
  10969. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10970. Updated man page; categorized options and fixed typo.
  10971. * doc/aria2c.1.txt
  10972. * doc/aria2c.1.html
  10973. * doc/aria2c.1
  10974. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10975. Removed const ref
  10976. * src/MetalinkEntry.cc (AddProtocolPreference)
  10977. * src/RequestGroup.cc (FindServerHostByHostname)
  10978. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10979. Rewritten Accept-Features handling.
  10980. * src/HttpRequestCommand.cc (createHttpRequest)
  10981. * src/a2functional.h
  10982. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10983. Changed method signature:
  10984. DHTAbstractNodeLookupTask::toEntries
  10985. * src/DHTAbstractNodeLookupTask.cc
  10986. * src/DHTAbstractNodeLookupTask.h
  10987. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10988. Changed method signature:
  10989. BtContext::computeFastSet, DefaultBtContext::extractUrlList
  10990. * src/BtContext.h
  10991. * src/DefaultBtContext.cc
  10992. * src/DefaultBtContext.h
  10993. * src/DefaultBtInteractive.cc
  10994. * test/DefaultBtContextTest.cc
  10995. * test/MockBtContext.h
  10996. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10997. Changed method signature:
  10998. MultiFileAllocationIterator::makeDiskWriterEntries
  10999. * src/MultiFileAllocationIterator.cc
  11000. * src/MultiFileAllocationIterator.h
  11001. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11002. Changed method sinature:
  11003. MetalinkEntry::toFileEntry,
  11004. MetalinkHelper::query, MetalinkHelper::parseAndQuery,
  11005. Metalinker::queryEntry
  11006. * src/Metalink2RequestGroup.cc
  11007. * src/MetalinkEntry.cc
  11008. * src/MetalinkEntry.h
  11009. * src/MetalinkHelper.cc
  11010. * src/MetalinkHelper.h
  11011. * src/Metalinker.cc
  11012. * src/Metalinker.h
  11013. * src/main.cc
  11014. * test/MetalinkHelperTest.cc
  11015. * test/MetalinkerTest.cc
  11016. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11017. Changed method sinature:
  11018. RequestGroup::getURIs
  11019. * src/RequestGroup.cc
  11020. * src/RequestGroup.h
  11021. * test/Metalink2RequestGroupTest.cc
  11022. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11023. Changed method signature:
  11024. PeerListProcessor::extractPeer
  11025. * src/CompactPeerListProcessor.cc
  11026. * src/CompactPeerListProcessor.h
  11027. * src/DefaultBtAnnounce.cc
  11028. * src/DefaultPeerListProcessor.cc
  11029. * src/DefaultPeerListProcessor.h
  11030. * src/DelegatingPeerListProcessor.cc
  11031. * src/DelegatingPeerListProcessor.h
  11032. * src/PeerListProcessor.h
  11033. * src/UTPexExtensionMessage.cc
  11034. * test/DefaultPeerListProcessorTest.cc
  11035. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11036. Changed method signature:
  11037. BtRequestFactory::createRequestMessages,
  11038. BtRequestFactory::createRequestMessagesOnEndGame
  11039. * src/BtRequestFactory.h
  11040. * src/DefaultBtInteractive.cc
  11041. * src/DefaultBtRequestFactory.cc
  11042. * src/DefaultBtRequestFactory.h
  11043. * test/DefaultBtRequestFactoryTest.cc
  11044. * test/MockBtRequestFactory.h
  11045. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11046. Changed method signature:
  11047. PieceStorage::getInFlightPieces
  11048. * src/DefaultBtProgressInfoFile.cc
  11049. * src/DefaultPieceStorage.cc
  11050. * src/DefaultPieceStorage.h
  11051. * src/PieceStorage.h
  11052. * src/UnknownLengthPieceStorage.cc
  11053. * src/UnknownLengthPieceStorage.h
  11054. * test/DefaultBtProgressInfoFileTest.cc
  11055. * test/MockPieceStorage.h
  11056. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11057. Changed method signature:
  11058. PostDownloadHandler::getNextRequestGroups
  11059. Metalink2RequestGroup::generate
  11060. RequestGroup::postDownloadProcessing
  11061. * src/BtPostDownloadHandler.cc
  11062. * src/BtPostDownloadHandler.h
  11063. * src/Metalink2RequestGroup.cc
  11064. * src/Metalink2RequestGroup.h
  11065. * src/MetalinkPostDownloadHandler.cc
  11066. * src/MetalinkPostDownloadHandler.h
  11067. * src/PostDownloadHandler.h
  11068. * src/RequestGroup.cc
  11069. * src/RequestGroup.h
  11070. * src/RequestGroupMan.cc
  11071. * src/main.cc
  11072. * test/BtPostDownloadHandlerTest.cc
  11073. * test/Metalink2RequestGroupTest.cc
  11074. * test/MetalinkPostDownloadHandlerTest.cc
  11075. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11076. Rewritten AccRequestGroup
  11077. * src/main.cc
  11078. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11079. Rewritten.
  11080. * src/TaggedItem.cc (toTagString)
  11081. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11082. Rewritten Accept-Features handling.
  11083. * src/HttpRequestCommand.cc (createHttpRequest)
  11084. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11085. Rewritten accept types handling.
  11086. * HttpRequest.cc (createRequest)
  11087. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11088. Rewritten
  11089. * src/FeatureConfig.cc (featureSummary)
  11090. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11091. Changed method signature:
  11092. PeerStorage::getActivePeers
  11093. * src/DHTPeerAnnounceEntry.cc
  11094. * src/DefaultPeerStorage.cc
  11095. * src/DefaultPeerStorage.h
  11096. * src/PeerStorage.h
  11097. * test/DefaultPeerStorageTest.cc
  11098. * test/MockPeerStorage.h
  11099. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11100. Changed method signature:
  11101. DHTPeerAnnounceStorage::getPeers,
  11102. DHTPeerAnnounceEntry::getPeers
  11103. * src/DHTGetPeersMessage.cc
  11104. * src/DHTPeerAnnounceEntry.cc
  11105. * src/DHTPeerAnnounceEntry.h
  11106. * src/DHTPeerAnnounceStorage.cc
  11107. * src/DHTPeerAnnounceStorage.h
  11108. * test/DHTAnnouncePeerMessageTest.cc
  11109. * test/DHTPeerAnnounceEntryTest.cc
  11110. * test/DHTPeerAnnounceStorageTest.cc
  11111. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11112. Changed method signature:
  11113. NameResolver::resolve
  11114. * src/DHTEntryPointNameResolveCommand.cc
  11115. * src/InitiateConnectionCommand.cc
  11116. * src/NameResolver.cc
  11117. * src/NameResolver.h
  11118. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11119. Changed method signature:
  11120. PieceStorage::getAdvertisedPieceIndexes
  11121. * src/DefaultBtInteractive.cc
  11122. * src/DefaultPieceStorage.cc
  11123. * src/DefaultPieceStorage.h
  11124. * src/PieceStorage.h
  11125. * src/UnknownLengthPieceStorage.h
  11126. * test/MockPieceStorage.h
  11127. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11128. Changed method signature:
  11129. SegmentMan::getInFlightSegment
  11130. * src/AbstractCommand.cc
  11131. * src/SegmentMan.cc
  11132. * src/SegmentMan.h
  11133. * test/SegmentManTest.cc
  11134. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11135. Changed method signature:
  11136. DHTAbstractNodeLookupTask::getNodesFromMessage
  11137. * src/DHTAbstractNodeLookupTask.cc
  11138. * src/DHTAbstractNodeLookupTask.h
  11139. * src/DHTNodeLookupTask.cc
  11140. * src/DHTNodeLookupTask.h
  11141. * src/DHTPeerLookupTask.cc
  11142. * src/DHTPeerLookupTask.h
  11143. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11144. Pass std::deque<Command*> by reference to avoid unnecessary coping.
  11145. * src/AbstractCommand.cc
  11146. * src/BtCheckIntegrityEntry.cc
  11147. * src/BtCheckIntegrityEntry.h
  11148. * src/BtFileAllocationEntry.cc
  11149. * src/BtFileAllocationEntry.h
  11150. * src/BtSetup.cc
  11151. * src/BtSetup.h
  11152. * src/CheckIntegrityCommand.cc
  11153. * src/CheckIntegrityEntry.h
  11154. * src/ChecksumCheckIntegrityEntry.cc
  11155. * src/ChecksumCheckIntegrityEntry.h
  11156. * src/DHTSetup.cc
  11157. * src/DHTSetup.h
  11158. * src/DownloadEngine.cc
  11159. * src/FileAllocationCommand.cc
  11160. * src/FileAllocationEntry.h
  11161. * src/RequestGroup.cc
  11162. * src/RequestGroup.h
  11163. * src/RequestGroupMan.cc
  11164. * src/RequestGroupMan.h
  11165. * src/StreamCheckIntegrityEntry.cc
  11166. * src/StreamCheckIntegrityEntry.h
  11167. * src/StreamFileAllocationEntry.cc
  11168. * src/StreamFileAllocationEntry.h
  11169. * src/TrackerWatcherCommand.cc
  11170. * src/a2functional.h
  11171. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11172. Changed method signature:
  11173. BNode::findClosestKNodes, BNode:: enumerateBucket,
  11174. DHTBucket::getGoodNodes,
  11175. DHTRoutingTable::getClosestKNodes, DHTRoutingTable::getBuckets
  11176. * src/BNode.cc
  11177. * src/BNode.h
  11178. * src/DHTAbstractNodeLookupTask.cc
  11179. * src/DHTAutoSaveCommand.cc
  11180. * src/DHTBucket.cc
  11181. * src/DHTBucket.h
  11182. * src/DHTBucketRefreshTask.cc
  11183. * src/DHTFindNodeMessage.cc
  11184. * src/DHTGetPeersMessage.cc
  11185. * src/DHTRoutingTable.cc
  11186. * src/DHTRoutingTable.h
  11187. * test/BNodeTest.cc
  11188. * test/DHTBucketTest.cc
  11189. * test/DHTRoutingTableTest.cc
  11190. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11191. In piece selection functions, Pass std::deque<...> by reference rather
  11192. than returning it.
  11193. * src/BitfieldMan.cc
  11194. * src/BitfieldMan.h
  11195. * src/DefaultBtRequestFactory.cc
  11196. * src/DefaultPieceStorage.cc
  11197. * src/Piece.cc
  11198. * src/Piece.h
  11199. * test/BitfieldManTest.cc
  11200. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11201. Implemented rarest piece first piece selection strategy.
  11202. * src/AbstractBtMessage.cc
  11203. * src/AbstractBtMessage.h
  11204. * src/BitfieldMan.cc
  11205. * src/BitfieldMan.h
  11206. * src/BtBitfieldMessage.cc
  11207. * src/BtHaveAllMessage.cc
  11208. * src/BtHaveMessage.cc
  11209. * src/DefaultPieceStorage.cc
  11210. * src/DefaultPieceStorage.h
  11211. * src/PeerInteractionCommand.cc
  11212. * src/PieceStorage.h
  11213. * src/UnknownLengthPieceStorage.h
  11214. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11215. Rewritten readData and writeData.
  11216. * src/MultiDiskAdaptor.cc
  11217. * src/MultiDiskAdaptor.h
  11218. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11219. Move \n out of the message "Usage: ...".
  11220. * src/version_usage.cc
  11221. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11222. Bump up version number to 0.13.2b.
  11223. * configure.ac
  11224. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11225. Added const qualifier to argument Exception& e.
  11226. * src/Logger.h
  11227. * src/SimpleLogger.cc
  11228. * src/SimpleLogger.h
  11229. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11230. Pool connection when CWD, SIZE command fails.
  11231. * src/FtpNegotiationCommand.cc
  11232. * src/FtpNegotiationCommand.h
  11233. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11234. Renamed HttpNullDownloadCommand as HttpSkipResponseCommand
  11235. * src/HttpResponseCommand.cc
  11236. * src/HttpSkipResponseCommand.cc
  11237. * src/HttpSkipResponseCommand.h
  11238. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11239. Pool connection when a server returns 4xx, 5xx responses.
  11240. * src/HttpNullDownloadCommand.cc
  11241. * src/HttpNullDownloadCommand.h
  11242. * src/HttpResponse.cc
  11243. * src/HttpResponse.h
  11244. * src/HttpResponseCommand.cc
  11245. * src/HttpResponseCommand.h
  11246. * test/HttpResponseTest.cc
  11247. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11248. Print usage when no URL is specifed or bad command-line option is
  11249. specified.
  11250. * src/HelpItemFactory.cc
  11251. * src/help_tags.h
  11252. * src/option_processing.cc
  11253. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11254. Removed duplicate log message.
  11255. * src/AbstractCommand.cc (asyncResolveHostname)
  11256. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11257. Updated man page: --async-dns and --ftp-reuse-connection were added.
  11258. Changed -j option's default value from 5 to 1.
  11259. Added new examples using protocol auto detection feature.
  11260. Removed -T, -M usage where it can be omitted.
  11261. * doc/aria2c.1.txt
  11262. * doc/aria2c.1.html
  11263. * doc/aria2c.1.txt
  11264. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11265. Updated command-line usage text, so that it tells users that they
  11266. can specify any number of torrent files and metalink files in
  11267. command-line.
  11268. * src/version_usage.cc
  11269. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11270. Changed the default value of -j option to 1.
  11271. * src/HelpItemFactory.cc
  11272. * src/option_processing.cc
  11273. * src/usage_text.h
  11274. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11275. Added the ability to reuse connection in FTP and it is enabled by
  11276. default. It can be disabled by --ftp-reuse-connection=false option.
  11277. * src/Command.cc
  11278. * src/DownloadCommand.cc
  11279. * src/FtpDownloadCommand.cc
  11280. * src/FtpDownloadCommand.h
  11281. * src/FtpFinishDownloadCommand.cc
  11282. * src/FtpFinishDownloadCommand.h
  11283. * src/FtpInitiateConnectionCommand.cc
  11284. * src/FtpNegotiationCommand.cc
  11285. * src/FtpNegotiationCommand.h
  11286. * src/HelpItemFactory.cc
  11287. * src/Makefile.am
  11288. * src/Makefile.in
  11289. * src/OptionHandlerFactory.cc
  11290. * src/option_processing.cc
  11291. * src/prefs.h
  11292. * src/usage_text.h
  11293. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11294. Call Command::transitStatus() before calling Command::execute(),
  11295. so that the status change made in execute() is not cleared.
  11296. * src/DownloadEngine.cc
  11297. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11298. Removed forward declaration of SocketCore class.
  11299. * src/HttpDownloadCommand.h
  11300. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11301. Set Request::setKeepAliveHint() and Request::setPipeliningHint()
  11302. in InitiateConnectionCommandFactory. They should be set only when
  11303. the protocol is HTTP or HTTPS.
  11304. * src/InitiateConnectionCommandFactory.cc
  11305. * src/RequestGroup.cc
  11306. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11307. Fixed infinite loop in checksum checking.
  11308. * src/IteratableChecksumValidator.cc
  11309. 2008-05-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11310. Set _supportsPersistentConnection to true by default.
  11311. * src/Request.cc
  11312. * src/RequestGroup.cc
  11313. * test/HttpRequestTest.cc
  11314. * test/RequestTest.cc
  11315. 2008-05-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11316. Added timeout to socket pool. The default timeout is 15 seconds,
  11317. which is the same value Apache uses.
  11318. * src/DownloadEngine.cc
  11319. * src/DownloadEngine.h
  11320. 2008-05-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11321. Fixed misuse of multimap::find()
  11322. * src/HttpHeader.cc
  11323. * test/HttpHeaderTest.cc
  11324. 2008-05-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11325. Rewritten name resolver. Now async DNS can be disabled by --async-dns
  11326. option.
  11327. The asynchronous DNS is not capable of IPv6 yet.
  11328. By disabling asynchronous DNS, aria2 is IPv6 enabled application, at
  11329. least for HTTP download.
  11330. * src/AbstractCommand.cc
  11331. * src/AbstractCommand.h
  11332. * src/AsyncNameResolver.cc
  11333. * src/AsyncNameResolver.h
  11334. * src/DHTEntryPointNameResolveCommand.cc
  11335. * src/DHTEntryPointNameResolveCommand.h
  11336. * src/DownloadEngine.cc
  11337. * src/DownloadEngine.h
  11338. * src/FtpInitiateConnectionCommand.cc
  11339. * src/FtpInitiateConnectionCommand.h
  11340. * src/HelpItemFactory.cc
  11341. * src/HttpInitiateConnectionCommand.cc
  11342. * src/HttpInitiateConnectionCommand.h
  11343. * src/InitiateConnectionCommand.cc
  11344. * src/InitiateConnectionCommand.h
  11345. * src/Makefile.am
  11346. * src/Makefile.in
  11347. * src/NameResolver.cc
  11348. * src/NameResolver.h
  11349. * src/OptionHandlerFactory.cc
  11350. * src/SocketCore.cc
  11351. * src/SocketCore.h
  11352. * src/Util.cc
  11353. * src/Util.h
  11354. * src/option_processing.cc
  11355. * src/prefs.h
  11356. * src/usage_text.h
  11357. 2008-05-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11358. Updated man page: --quiet, --header were added.
  11359. --metalink-servers and --enable-http-keep-alive option were updated.
  11360. * doc/aria2c.1
  11361. * doc/aria2c.1.html
  11362. * doc/aria2c.1.txt
  11363. 2008-05-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11364. Enable HTTP keep-alive by default.
  11365. * src/HelpItemFactory.cc
  11366. * src/option_processing.cc
  11367. * src/usage_text.h
  11368. 2008-05-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11369. Disable http keep-alive if the remote server is not HTTP/1.1.
  11370. * src/HttpConnection.cc
  11371. 2008-05-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11372. Receive content body of 302 response so that the connection can be
  11373. reused later when http keep-alive is enabled.
  11374. * src/HttpNullDownloadCommand.cc
  11375. * src/HttpNullDownloadCommand.h
  11376. * src/HttpResponseCommand.cc
  11377. * src/HttpResponseCommand.h
  11378. 2008-05-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11379. const SharedHandle<Request> -> const SharedHandle<Request>&
  11380. * src/FtpDowndloadCommand.cc
  11381. * src/FtpDowndloadCommand.h
  11382. * src/HttpDownloadCommand.cc
  11383. * src/HttpDownloadCommand.h
  11384. 2008-05-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11385. Fixed the bug that the control file(.aria2 file) is not renamed
  11386. according to tryAutoFileRenaming().
  11387. tryAutoFileRenaming() was rewritten so that if both renamed file and
  11388. its control file exist, use them and continue download.
  11389. The old implementation didn't take into account of control file's
  11390. existence, so basically you couldn't continue download of renamed file.
  11391. * src/BtProgressInfoFile.h
  11392. * src/DefaultBtProgressInfoFile.cc
  11393. * src/DefaultBtProgressInfoFile.h
  11394. * src/NullProgressInfoFile.h
  11395. * src/RequestGroup.cc
  11396. * test/DefaultBtProgressInfoFileTest.cc
  11397. * test/MockBtProgressInfoFile.h
  11398. 2008-05-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11399. Change the default value of --metalink-servers option from `5' to `1'.
  11400. * src/HelpItemFactory.cc
  11401. * src/option_processing.cc
  11402. * src/usage_text.h
  11403. 2008-05-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11404. Reimplemented transparent metalink using Accept request header.
  11405. * src/HttpRequest.cc
  11406. * src/HttpRequest.h
  11407. * src/HttpRequestCommand.cc
  11408. * src/Metalink2RequestGroup.cc
  11409. * src/RequestGroup.cc
  11410. * src/RequestGroup.h
  11411. * test/HttpRequestTest.cc
  11412. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11413. Bump up version number to 0.13.2a
  11414. * configure.ac
  11415. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11416. Updated configure.ac using the result of autoscan.
  11417. * configure.ac
  11418. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11419. Fixed compilation error without gcrypt/openssl.
  11420. * src/DownloadCommand.cc
  11421. * src/DownloadCommand.h
  11422. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11423. Reorganized version information so that it can be displayed in a
  11424. standard terminal screen without scrolling.
  11425. Removed http, ftp from Configuration section, because they are always
  11426. enabled.
  11427. * src/FeatureConfig.cc
  11428. * src/FeatureConfig.h
  11429. * src/main.cc
  11430. * src/messageDigest.cc
  11431. * src/messageDigest.h
  11432. * src/version_usage.cc
  11433. * test/FeatureConfigTest.cc
  11434. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11435. Masked user ID in log.
  11436. * src/FtpConnection.cc (sendUser)
  11437. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11438. Removed query part from filename in HTTP download. The query part means
  11439. the substring after "?" in URL. Firefox seems do the same thing.
  11440. A query part is sometimes very long and not suitable to filename,
  11441. so I think it is better to remove it from filename.
  11442. * src/HttpRequest.cc
  11443. * src/HttpRequest.h
  11444. * src/Request.cc
  11445. * src/Request.h
  11446. * test/HttpRequestTest.cc
  11447. * test/RequestTest.cc
  11448. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11449. Rewritten Exception class. Throw exception object, not its pointer and
  11450. catch by reference, so that remove problematic delete operator for
  11451. catched exception.
  11452. * src/Exception.cc
  11453. * src/Exception.h
  11454. * test/ExceptionTest.cc
  11455. * src/*: All files throwing/catching exception.
  11456. * test/*: All files throwing/catching exception.
  11457. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11458. Now auto protocol detection is enabled without -Z option.
  11459. But there is a important difference between with/without -Z optoin.
  11460. For example, if you type:
  11461. aria2c http://host/file file1.torrent file2.metalink http://mirror/file
  11462. then, aria2 interprets there are 3 request groups:
  11463. (1) http://host/file, http://mirror/file <-- multi-source download
  11464. (2) file1.torrent
  11465. (3) file2.metalink
  11466. On the other hand, if you invoke above command with -Z option, it is
  11467. interpreted as 4 request groups:
  11468. (1) http://host/file
  11469. (2) file1.torrent
  11470. (3) file2.metalink
  11471. (4) http://mirror/file
  11472. I think usually user don't mix multi-source URLs and torrent files, so
  11473. there is no big problem here.
  11474. * src/main.cc
  11475. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11476. Fixed the bug that causes segmentaion fault when reading XML containing
  11477. unescapsed character like '&'.
  11478. Also a modification was made which avoids adding unnecessary
  11479. characters stack and appending unused string.
  11480. * src/ExpatMetalinkProcessor.cc
  11481. * src/FileMetalinkParserState.h
  11482. * src/FilesMetalinkParserState.h
  11483. * src/FinMetalinkParserState.h
  11484. * src/HashMetalinkParserState.h
  11485. * src/InitialMetalinkParserState.h
  11486. * src/LanguageMetalinkParserState.h
  11487. * src/MetalinkMetalinkParserState.h
  11488. * src/MetalinkParserState.h
  11489. * src/MetalinkParserStateMachine.cc
  11490. * src/MetalinkParserStateMachine.h
  11491. * src/OSMetalinkParserState.h
  11492. * src/PieceHashMetalinkParserState.h
  11493. * src/PiecesMetalinkParserState.h
  11494. * src/ResourcesMetalinkParserState.h
  11495. * src/SizeMetalinkParserState.h
  11496. * src/SkipTagMetalinkParserState.h
  11497. * src/URLMetalinkParserState.h
  11498. * src/VerificationMetalinkParserState.h
  11499. * src/VersionMetalinkParserState.h
  11500. * src/XML2SAXMetalinkProcessor.cc
  11501. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11502. Added StringFormat class, which internally calls vasprintf.
  11503. operator<< is defined for this class, so it can be used with iostream
  11504. classes nicely. SimpleLogger and following functions are rewritten
  11505. using StringFormat class.
  11506. Besides, now Logger class's methods are non-const, many classes
  11507. that has a const Logger* as a member variable are modified to remove
  11508. const qualifier from the variable declaration.
  11509. * src/HelpItemFactory.cc
  11510. * src/Request.cc
  11511. * src/SimpleLogger.cc
  11512. * src/StringFormat.cc
  11513. * src/StringFormat.h
  11514. * src/Util.cc
  11515. * src/option_processing.cc
  11516. * src/version_usage.cc
  11517. * test/StringFormatTest.cc
  11518. * src/*.h: The classes that has const Logger* as a member variable.
  11519. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11520. Log error in AccRequestGroup when reading BitTorrent/Metalink file is
  11521. failed. Also fixed memory link when exception is thrown there.
  11522. * src/main.cc (AccRequestGroup)
  11523. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11524. Added build-in "Accept-Features" support. For now only "metalink" is
  11525. used in this header field.
  11526. This "metalink" value is removed from the list when connecting URLs
  11527. fed by metalink file to avoid loop in "transparent" metlaink.
  11528. * src/HttpRequest.cc
  11529. * src/HttpRequest.h: Renamed _userHeaders as _headers. Accept-Features
  11530. header is also held in this variable. Also renamed setUserHeaders as
  11531. addHeader and it was rewritten to add header not just to clear the old
  11532. value.
  11533. * src/HttpRequestCommand.cc
  11534. * src/Metalink2RequestGroup.cc: Added the code to remove "metalink"
  11535. from "Accept-Features" list.
  11536. * src/RequestGroup.cc: Added "metalink" to "Accept-Features" by
  11537. default.
  11538. * src/RequestGroup.h
  11539. * src/TaggedItem.cc: Moved Concat class to a2functional.h.
  11540. * src/a2functional.h: Included <string> because Concat class depends on
  11541. it.
  11542. * test/HttpRequestTest.cc
  11543. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11544. Added comment
  11545. * src/RequestGroup.cc (createNextCommand)
  11546. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11547. Capitalized METHOD_GET and METHOD_HEAD
  11548. * src/Request.cc
  11549. 2008-04-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11550. Added getDownloadResults() method
  11551. * src/RequestGroupMan.cc
  11552. * src/RequestGroupMan.h
  11553. 2008-04-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11554. Fixed the bug that aria2 exits when commands is empty() but
  11555. _routineCommands are not.
  11556. * src/DownloadEngine.cc
  11557. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11558. Use the default value pulled from Option object in HelpItemFactory.
  11559. except options whose defualt value is embedded in a usage text.
  11560. * src/HelpItemFactory.cc
  11561. * src/HelpItemFactory.h
  11562. * src/option_processing.cc
  11563. * src/version_usage.cc
  11564. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11565. Added --quiet option to make aria2 quiet (no console output).
  11566. --quiet option is tagged with ADVANCED.
  11567. * src/HelpItemFactory.cc
  11568. * src/LogFactory.cc
  11569. * src/LogFactory.h
  11570. * src/MultiUrlRequestInfo.cc
  11571. * src/MultiUrlRequestInfo.h
  11572. * src/NullStatCalc.h: New class. This class prints nothing.
  11573. * src/OptionHandlerFactory.cc
  11574. * src/main.cc
  11575. * src/option_processing.cc
  11576. * src/prefs.h
  11577. * src/usage_text.h
  11578. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11579. Add HTTP tag to --header option. Removed ADVANCED tag instead.
  11580. * src/HelpItemFactory.cc (createHelpItems):
  11581. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11582. Fixed compilation error in ExpatMetalinkProcessor.cc
  11583. * src/ExpatMetalinkProcessor.cc
  11584. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11585. Reuse socket if the origin server supports HTTP keep-alive and
  11586. --enable-http-keep-alive or --enable-http-pipelining is given.
  11587. The current implementation doesn't reuse the connections established
  11588. against proxy server.
  11589. * src/AbstractCommand.cc
  11590. * src/DownloadEngine.cc
  11591. * src/DownloadEngine.h
  11592. * src/HttpDownloadCommand.cc
  11593. * src/HttpInitiateConnectionCommand.cc
  11594. * src/HttpResponseCommand.cc
  11595. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11596. Rewritten HTTP keep-alive and pipelining routine.
  11597. * src/AbstractCommand.cc
  11598. * src/HttpConnection.cc
  11599. * src/HttpDownloadCommand.cc
  11600. * src/HttpRequest.cc
  11601. * src/HttpRequestCommand.cc
  11602. * src/HttpResponseCommand.cc
  11603. * src/Request.cc
  11604. * src/Request.h
  11605. * src/RequestGroup.cc
  11606. * test/HttpRequestTest.cc
  11607. * test/HttpResponseTest.cc
  11608. * test/RequestTest.cc
  11609. 2008-04-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11610. Added missing setUserHeaders call
  11611. * src/HttpRequestCommand.cc
  11612. 2008-04-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11613. Call FileAllocationMan::nextFileAllocationEntryExists() first.
  11614. Calling FileAllocationMan::isFileAllocationBeingExecuted() is somwhat
  11615. waste of time because it is more likey false.
  11616. * src/FileAllocationDispatcherCommand.cc (execute)
  11617. 2008-04-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11618. Now HTTP status and version are a member variable of HttpHeader.
  11619. HTTP status is processed as a string, not integer.
  11620. * src/AbstractProxyResponseCommand.cc
  11621. * src/HttpConnection.cc
  11622. * src/HttpHeader.cc
  11623. * src/HttpHeader.h
  11624. * src/HttpHeaderProcessor.cc
  11625. * src/HttpHeaderProcessor.h
  11626. * src/HttpResponse.cc
  11627. * src/HttpResponse.h
  11628. * test/HttpHeaderProcessorTest.cc
  11629. * test/HttpResponseTest.cc
  11630. 2008-04-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11631. Added --header option. You can specify any number of additional HTTP headers
  11632. like:
  11633. aria2 --header="X-A: 300" --header="X-B: 900" http://host/file
  11634. Unlike other commad-line option, you can use --header option multiple times.
  11635. * src/HelpItemFactory.cc
  11636. * src/HttpRequest.{cc, h}
  11637. * src/HttpRequestCommand.cc
  11638. * src/OptionHandlerFactory.cc
  11639. * src/OptionHandlerImpl.h
  11640. * src/option_processing.cc
  11641. * src/prefs.h
  11642. * src/usage_text.h
  11643. * test/HttpRequestTest.cc (testUserHeaders)
  11644. 2008-04-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11645. Eliminates the time lag between sequential downloads and commands in
  11646. the same RequestGroup.
  11647. In old implementation, aria2 occasionally waits 1 seconds before
  11648. executing next command or RequestGroup.
  11649. This is really a waste of time, and new implementation eliminates
  11650. this unnecessary time lag.
  11651. * src/AbstractCommand.cc
  11652. * src/AutoSaveCommand.cc
  11653. * src/CheckIntegrityCommand.cc
  11654. * src/Command.{cc, h}
  11655. * src/DownloadEngine.{cc, h}
  11656. * src/DownloadEngineFactory.cc
  11657. * src/FileAllocationCommand.cc
  11658. * src/FileAllocationDispatcherCommand.cc
  11659. * src/FillRequestGroupCommand.cc
  11660. * src/FtpInitiateConnectionCommand.cc
  11661. * src/HaveEraseCommand.cc
  11662. * src/HttpInitiateConnectionCommand.cc
  11663. * src/HttpResponseCommand.cc
  11664. * src/RealtimeCommand.cc
  11665. * src/RequestGroup.cc
  11666. * src/RequestGroupMan.cc
  11667. * src/StreamFileAllocationEntry.cc
  11668. * src/TimeBasedCommand.{cc, h}
  11669. * src/TimedHaltCommand.cc
  11670. 2008-04-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11671. Rewritten SharedHandle. Now copy constructor taking raw pointer has
  11672. keyword explicit and SharedHandle's default constructor initializes
  11673. its internal obj to null, old implementation initializes it using
  11674. obj's default constructor.
  11675. To assign null, write SharedHandle<T> x(...); x.reset();
  11676. TODO: test/SharedHandleTest.cc needs more tests.
  11677. * src/SharedHandle.h
  11678. 2008-04-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11679. Fixed type in man page.
  11680. * doc/aria2c.1.txt
  11681. 2008-04-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11682. Merged Ross's 0.13.1+1 Cygwin compile fix patch.
  11683. * src/SimpleLogger.{cc, h}
  11684. 2008-04-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11685. Implemented auto protocol detection.
  11686. Now you can do:
  11687. aria2c -Z http://host/file file1.torrent file2.metalink
  11688. (Note: -Z option is required for auto protcol detection.)
  11689. Then aria2c downloads 3 files simultaneously:
  11690. 1. http://host/file
  11691. 2. file1.torrent <-- read local torrent file
  11692. 3. file2.metalink <-- read local Metalink file.
  11693. Same thing goes with -i option. Assume your uris.txt contans:
  11694. http://host/file
  11695. file1.torrent
  11696. file2.metalink
  11697. Then you can do: aria2c -i uris.txt
  11698. (Note: -Z option is not needed if -i option is given.)
  11699. * src/main.cc
  11700. * src/ProtocolDetector.{cc, h}
  11701. * test/ProtocolDetectorTest.cc
  11702. 2008-04-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11703. Fixed compile error without gnutls/libgcrypt/libgpg-error and openSSL
  11704. installed
  11705. * src/ARC4Encryptor.h
  11706. * src/ARC4Decryptor.h
  11707. 2008-04-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11708. Renamed argument from 'errno' to 'err', since errno is confused with
  11709. errno defined in errno.h.
  11710. * src/LibgcryptARC4Decryptor.h
  11711. * src/LibgcryptARC4Context.h
  11712. * src/LibgcryptDHKeyExchange.h
  11713. * src/LibgcryptARC4Encryptor.h
  11714. 2008-04-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11715. Rewritten choking algorithm.
  11716. * src/PeerChokeCommand.{cc, h}
  11717. * src/BtInterestedMessage.cc
  11718. * src/PeerSessionResource.{cc, h}
  11719. * src/DefaultPeerStorage.{cc, h}
  11720. * src/BtNotInterestedMessage.cc
  11721. * src/DefaultBtMessageDispatcher.{cc, h}
  11722. * src/BtMessageDispatcher.h
  11723. * src/Peer.{cc, h}
  11724. * src/BtLeecherStateChoke.{cc, h}
  11725. * src/BtSetup.cc
  11726. * src/BtSeederStateChoke.{cc, h}
  11727. * src/PeerStorage.h
  11728. * test/MockPeerStorage.h
  11729. * test/MockBtMessageDispatcher.h
  11730. 2008-04-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11731. Fixed compilation error on x84-64 platform.
  11732. * src/AuthConfig.cc: Included ostream.
  11733. 2008-03-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11734. Rewritten getBasename() and getDirname(), without standard library
  11735. basename(), dirname().
  11736. * src/File.cc
  11737. * test/FileTest.cc
  11738. 2008-03-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11739. Added Simplified Chinese translation. Also updated the following
  11740. translations: Polish, Dutch, German. Great thanks to all translators.
  11741. 2008-03-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11742. Suppress content-range error when 'Content-Range' response header
  11743. doesn't contains bytes-unit specifier 'bytes'
  11744. * src/HttpHeader.cc (getRange)
  11745. * test/HttpHeaderTest.cc
  11746. 2008-03-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11747. Fixed compilation error with g++-4.3
  11748. 2008-03-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11749. Added missing include files for MinGW
  11750. * test/HttpHeaderProcessorTest.cc
  11751. * test/DHTRoutingTableSerializerTest.cc
  11752. * test/DHTRoutingTableDeserializerTest.cc
  11753. * test/UriListParserTest.cc
  11754. 2008-03-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11755. Now download line is printed nicely with no garbage at the end of
  11756. line. I use ioctl to get the columns of terminal.
  11757. If stdout is redirected to another device, instead of carriage return,
  11758. end of line '\n' character is used. This is feature request#1909659
  11759. * src/ConsoleStatCalc.cc (calculateStat)
  11760. 2008-03-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11761. Included a2time.h
  11762. * src/DHTMessageDispatcher.h
  11763. * src/DHTMessageEntry.h
  11764. * src/DHTReplaceNodeTask.h
  11765. * src/DHTMessageTracker.h
  11766. * src/Util.h
  11767. * src/CookieBox.h
  11768. * src/SocketCore.h
  11769. * src/DefaultBtMessageDispatcher.h
  11770. * src/SocketCore.cc
  11771. * src/Util.cc
  11772. * src/DHTPingTask.h
  11773. 2008-03-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11774. Fixed high memory footprint when DHT is enabled.
  11775. This is not a memory leak, but DHTReplaceNodeTask is more frequently
  11776. queued than it is processed and the queue is getting longer. As a
  11777. consequence, momory usage is increased.
  11778. As for a fix, instead of issuing DHTReplaceNodeTask, I've implemented
  11779. replacement cache in DHTBucket which is described in Kademlia paper.
  11780. * src/DHTRoutingTable.cc (addNode): Removed the issuing of
  11781. DHTReplaceNodeTask.
  11782. * src/DHTBucket.{h, cc}
  11783. (cacheNode): New function.
  11784. (getCachedNodes): New function.
  11785. (dropNode): Push back cached node to _nodes.
  11786. * test/DHTBucketTest.cc
  11787. (testCacheNode): New test
  11788. (testDropNode): New test
  11789. 2008-03-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11790. Allocate memory for peekBuf in initiateSecureConnection() to avoid
  11791. the unused 4KB memory when ssl is not used.
  11792. * src/SocketCore.cc
  11793. 2008-03-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11794. Added summary log for peer announce storage.
  11795. * src/DHTPeerAnnounceStorage.cc (handleTimeout)
  11796. Removed cast
  11797. * src/DefaultPeerStorage.cc (addPeer)
  11798. Log exception message
  11799. * src/DHTMessageTracker.cc (handleTimeout)
  11800. Fixed casting
  11801. * test/HttpRequestTest.cc
  11802. * test/MetalinkProcessorTest.cc
  11803. * test/PieceTest.cc
  11804. * test/MetalinkEntryTest.cc
  11805. * test/SequenceTest.cc
  11806. 2008-03-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11807. * src/ParameterizedStringParser.cc (createLoop):
  11808. Removed unused variable sstep.
  11809. * src/AlphaNumberDecorator.h (decode): Rewritten.
  11810. 2008-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11811. * src/Util.{h, cc}
  11812. (parseUInt): New function.
  11813. (alphaToNum): Now returns unsigned int and 0 when overflow detected.
  11814. The actual range is uint32_t.
  11815. * test/UtilTest.cc
  11816. * src/ParameterizedStringParser.cc:
  11817. Use Util::parseUInt() for loop variables.
  11818. * test/ParameterizedStringParserTest.cc
  11819. * src/PStringNumLoop.h: Make _startValue and _endValue unsigned int.
  11820. 2008-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11821. Rewritten the functions for binding port.
  11822. * src/DHTConnectionImpl.{h, cc}
  11823. * src/PeerListenCommand.{h, cc}
  11824. * src/DHTSetup.cc
  11825. * src/BtSetup.cc
  11826. * test/DHTConnectionImplTest.cc
  11827. 2008-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11828. type cleanup for allmost all remaining files.
  11829. 2008-03-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11830. Type clarification
  11831. * src/PeerSessionResource.{h, cc}
  11832. * src/DefaultPieceStorage.{h, cc}
  11833. * src/Peer.{h, cc}
  11834. * test/PeerSessionResourceTest.cc
  11835. Use div function
  11836. * src/BtPieceMessage.cc (erasePieceOnDisk)
  11837. 2008-03-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11838. Type clarification
  11839. * src/DefaultPeerStorage.{h, cc}
  11840. * test/DefaultPeerStorageTest.cc
  11841. 2008-03-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11842. Type clarification: size_t for length or size, uint64_t for file
  11843. length, off_t for file offset.
  11844. * src/DefaultBtProgressInfoFile.cc
  11845. * src/DefaultBtContext.{h, cc}
  11846. * src/DefaultBtInteractive.cc
  11847. * src/DownloadCommand.{h, cc}
  11848. * src/IteratableChunkChecksumValidator.{h, cc}
  11849. * src/SegmentMan.{h, cc}
  11850. * src/SingleFileDownloadContext.{h, cc}
  11851. * src/IteratableChecksumValidator.{h, cc}
  11852. * src/BtContext.h
  11853. * src/IteratableValidator.h
  11854. * src/DownloadContext.h
  11855. * test/SingleFileDownloadContextTest.cc
  11856. * test/DefaultBtContextTest.cc
  11857. * test/MockBtContext.h
  11858. * test/Metalink2RequestGroupTest.cc
  11859. 2008-03-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11860. Type clarification: size_t for length or size, uint64_t for file
  11861. length, off_t for file offset.
  11862. * src/PiecedSegment.cc
  11863. * src/GrowSegment.h
  11864. * src/DefaultBtRequestFactory.h
  11865. * src/DefaultBtProgressInfoFile.cc
  11866. * src/UnknownLengthPieceStorage.h
  11867. * src/DefaultPieceStorage.cc
  11868. * src/UnknownLengthPieceStorage.cc
  11869. * src/DefaultBtInteractive.cc
  11870. * src/GrowSegment.cc
  11871. * src/BitfieldMan.h
  11872. * src/DownloadCommand.cc
  11873. * src/BtRequestFactory.h
  11874. * src/PiecedSegment.h
  11875. * src/DefaultPieceStorage.h
  11876. * src/Piece.cc
  11877. * src/DefaultBtRequestFactory.cc
  11878. * src/PieceStorage.h
  11879. * src/Segment.h
  11880. * src/Piece.h
  11881. * src/BitfieldMan.cc
  11882. * src/Util.cc
  11883. * test/DefaultBtProgressInfoFileTest.cc
  11884. * test/DefaultPieceStorageTest.cc
  11885. * test/MockPieceStorage.h
  11886. * test/BtRequestMessageTest.cc
  11887. * test/DefaultBtMessageDispatcherTest.cc
  11888. * test/BitfieldManTest.cc
  11889. * test/GrowSegmentTest.cc
  11890. * test/PieceTest.cc
  11891. * test/SegmentTest.cc
  11892. * test/SegmentManTest.cc
  11893. * test/DefaultBtRequestFactoryTest.cc
  11894. * test/MockBtRequestFactory.h
  11895. 2008-03-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11896. Fixed compilation error with --disable-nls
  11897. It seems that defining gettext(Msgid) to ((const char *) (Msgid))
  11898. in gettext.h causes the problem.
  11899. * src/common.h
  11900. 2008-03-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11901. Removed subPiece related functions.
  11902. * src/Piece.{h, cc} : Also rewritten getCompletedLength().
  11903. * src/DefaultPieceStorage.{h, cc}
  11904. * test/PieceTest.cc
  11905. * test/DefaultPieceStorageTest.cc
  11906. 2008-03-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11907. Use unsigned char for data store.
  11908. 2008-03-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11909. Bump up version number to 0.13.0+1
  11910. * configure.ac
  11911. * Release 0.13.0+1
  11912. 2008-03-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11913. Changed inactive connection timeout to 120.
  11914. To accept more mulually interested peers, disconnect peer when there
  11915. is no interest between us after certain time passed.
  11916. * src/DefaultBtInteractive.cc (checkActiveInteraction)
  11917. 2008-03-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11918. Fixed the bug that aria2 only uses first dns server in resolv.conf
  11919. when compiled with async DNS support.
  11920. * src/DownloadEngine.cc
  11921. * src/option_processing.cc: Lengthened DNS timeout to 30. I think old
  11922. value '10' will be a little bit short when some DNS servers are
  11923. offline and several DNS servers are tried. It should be configured
  11924. by command-line option.
  11925. 2008-03-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11926. Merged Ross's mingw patch.
  11927. * src/DHTRoutingTableDeserializer.cc
  11928. * src/DHTRoutingTableSerializer.cc
  11929. * src/Platform.{h, cc}
  11930. * src/timegm.h
  11931. * src/gettimeofday.h
  11932. * src/getaddrinfo.h
  11933. * src/SocketCore.h
  11934. * src/common.h
  11935. * src/inet_aton.h
  11936. * src/DownloadEngine.h
  11937. * src/gai_strerror.h
  11938. * src/a2netcompat.h
  11939. * configure.ac
  11940. * configure
  11941. * aclocal.m4
  11942. 2008-03-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11943. Included missing iostream.
  11944. * test/AllTest.cc
  11945. * test/BtDependencyTest.cc
  11946. * test/BtExtendedMessageTest.cc
  11947. * test/DHTConnectionImplTest.cc
  11948. * test/DHTMessageFactoryImplTest.cc
  11949. * test/DHTMessageTrackerEntryTest.cc
  11950. * test/DHTNodeTest.cc
  11951. * test/DHTRoutingTableSerializerTest.cc
  11952. * test/DefaultBtAnnounceTest.cc
  11953. * test/DefaultBtContextTest.cc
  11954. * test/DefaultBtMessageFactoryTest.cc
  11955. * test/DefaultExtensionMessageFactoryTest.cc
  11956. * test/HandshakeExtensionMessageTest.cc
  11957. * test/HttpResponseTest.cc
  11958. * test/MetalinkProcessorTest.cc
  11959. * test/MultiFileAllocationIteratorTest.cc
  11960. * test/SocketCoreTest.cc
  11961. * test/UTPexExtensionMessageTest.cc
  11962. 2008-03-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11963. Reorganized includes.
  11964. * src/NameResolver.cc
  11965. 2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11966. Fixed compilation error without ares/c-ares
  11967. * src/NameResolver.h:
  11968. 2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11969. Added a test for large file.
  11970. * test/MetalinkProcessorTest.cc (testLargeFileSize):
  11971. 2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11972. Fixed the bug that file size is ignored if size > INT32_MAX
  11973. * src/SizeMetalinkParserState.cc (endElement):
  11974. 2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11975. Bump up version number to 0.13.0
  11976. * configure.ac
  11977. * Release 0.13.0
  11978. 2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11979. Updated Makfefile.am to make 'make dist' work.
  11980. Now packaged filename is aria2c-VERSION.tar.bz2.
  11981. Added README, README.html, and aria2c.1.html to dist_doc_DATA.
  11982. Added LICENSE.OpenSSL to dist_noinst_DATA.
  11983. Large file support is now configured by configure script.
  11984. * configure.ac
  11985. Removed unsused source files
  11986. * src/
  11987. * test/
  11988. Removed PeerDecl.h and BtContextDecl.h. typedefs are removed to
  11989. Peer.h and BtContext.h respectively.
  11990. * src/Peer.h
  11991. * src/BtContext.h
  11992. Updated translations.
  11993. Added Polish, Thai, Indonesian, Norwegian Nynorsk, Hungarian
  11994. translations. Great thanks to all translators!;)
  11995. * po/*.{po, gmo}
  11996. 2008-02-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11997. Create MessageDigestHelper::staticSHA1DigestInit() which uses
  11998. statically declared sha1 MessageDigestContext.
  11999. * src/BtPieceMessage.cc: Use staticSHA1DigestInit() to avoid
  12000. initialization of short-lived MessageDigestContext.
  12001. * src/MessageDigestHelper.{h, cc}
  12002. * src/main.cc
  12003. Now DownloadCommand has a reference to MessageDigestContext to avoid
  12004. the initialization of MessageDigestContext every time in validating
  12005. chunk checksum.
  12006. * src/DownloadCommand.{h, cc}
  12007. 2008-02-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12008. Add a file descriptor which connected to fast peer(latency<1500) to
  12009. select(). This change reduced CPU load.
  12010. * src/PeerInteractionCommand.cc
  12011. * src/DefaultBtInteractive.{h, cc}
  12012. * src/BtInteractive.h
  12013. 2008-02-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12014. Fixed the previous insufficient fix for possible busy loop.
  12015. * src/MSEHandshake.cc (identifyHandshakeType)
  12016. Removed unused functions.
  12017. * src/MSEHandshake.{h, cc} (readDataAndDecrypt)
  12018. 2008-02-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12019. Fixed possible busy loop if first 20 bytes are not received for a few
  12020. minutes.
  12021. * src/MSEHandshake.{h, cc} (identifyHandshakeType)
  12022. * src/ReceiverMSEHandshakeCommand.cc
  12023. 2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12024. Fixed compilation error
  12025. * src/ExpatMetalinkProcessor.cc
  12026. 2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12027. Fixed compile error on Mac OS X, on 64Bit OS maybe.
  12028. * src/DHTBucket.cc
  12029. Removed unnecessary cast.
  12030. * src/HandshakeExtensionMessage.cc
  12031. 2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12032. Fixed the bug that option handler for PREF_METALINK_ENABLE_UNIQUE_PROTOCOL.
  12033. is missing.
  12034. * src/OptionHandlerFactory.cc
  12035. 2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12036. Fixed the bug that HAVE message is not sent for a piece they are
  12037. downloaded fom http/ftp server before any BitTorrent handshake is done
  12038. with peers.
  12039. * src/DefaultBtInteractive.cc
  12040. 2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12041. Removed RequestInfo.h and FileAllocator.h since they have been removed.
  12042. * src/Makefile.am
  12043. * src/Makefile.in
  12044. 2008-02-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12045. Updated README. Added html version of README and man page.
  12046. * README
  12047. * README.html
  12048. * readme2html: Shell script to generate README.html from README using
  12049. asciidoc.
  12050. * doc/aria2c.1.html
  12051. * doc/makeman: Added the line to generate aria2c.1.html
  12052. 2008-02-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12053. Fixed offset calculation.
  12054. * src/LibgcryptDHKeyExchange.h (computeSecret)
  12055. 2008-02-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12056. Rewritten itos and uitos using template. llitos and ullitos are
  12057. replaced with itos and uitos respectively.
  12058. * src/Util.{h, cc}
  12059. * test/UtilTest.cc
  12060. 2008-02-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12061. Fixed the bug that DH key exchange sometimes fails due to bad handling
  12062. of the number of bytes required for storing public key and shared
  12063. secret.
  12064. * src/LibgcryptDHKeyExchange.h
  12065. * src/LibsslDHKeyExchange.h: Also added function name to handleError.
  12066. * src/MSEHandshake.cc
  12067. * test/DHKeyExchangeTest.cc
  12068. 2008-02-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12069. Removed since they are not used.
  12070. * src/Xml2MetalinkProcessor.{h, cc}
  12071. * src/Socket.cc
  12072. * src/SegmentSplitter.{h, cc}
  12073. * test/Xml2MetalinkProcessorTest.cc
  12074. 2008-02-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12075. Fixed the bug that prevents aria2 from stopping other than by pressing
  12076. Ctrl-C in BitTorrent download. It is reproducible using --seed-time
  12077. option. aria2 doesn't stop even after --seed-time is satisfied and
  12078. continues to output blank lines in the console.
  12079. * src/ReceiverMSEHandshakeCommand.cc
  12080. * src/PeerReceiveHandshakeCommand.cc
  12081. * src/PeerListenCommand.cc
  12082. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12083. Bump up version number to 0.13.0rc
  12084. * configure.ac
  12085. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12086. Updated man page and some usage text.
  12087. * doc/aria2c.1.txt
  12088. * src/usage_text.h
  12089. * po/*.{po, gmo}
  12090. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12091. Updated translations. Added Finnish and Hebrew translations.
  12092. Great thanks to all translators!
  12093. * po/*.{po, gmo}
  12094. * po/LINGUAS
  12095. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12096. Log more detailed information about each message.
  12097. * src/DHTQueryMessage.{h, cc}
  12098. * src/DHTGetPeersMessage.{h, cc}
  12099. * src/DHTFindNodeReplyMessage.{h, cc}
  12100. * src/DHTGetPeersReplyMessage.{h, cc}
  12101. * src/DHTAnnouncePeerMessage.{h, cc}
  12102. * src/DHTResponseMessage.{h, cc}
  12103. * src/DHTFindNodeMessage.{h, cc}
  12104. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12105. Use constants defined in prefs.h
  12106. * src/option_processing.cc
  12107. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12108. * test/AllTest.cc: Added OpenSSL, GNUTLS initialization code.
  12109. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12110. Make room for future enchancements for IPv6 addresses.
  12111. Bump up version number of dht.dat file format to 2.
  12112. Not compatible with previous version.
  12113. * src/DHTRoutingTableSerializer.cc
  12114. * src/DHTRoutingTableDeserializer.cc
  12115. * test/DHTRoutingTableSerializerTest.cc
  12116. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12117. Added handling for the return values from
  12118. PeerMessageUtil::createcompact().
  12119. * src/DefaultBtContext.cc (computeFastSet):
  12120. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12121. Fixed abort when peer's ip address is IPv4-mapped address.
  12122. * src/DefaultBtContext.cc (computeFastSet)
  12123. Removed number-and-dots criteria, since Util::isNumberAndDotsNotation()
  12124. cannot handle IPv4-mapped addresses.
  12125. * src/DefaultBtInteractive.cc (addPeerExchangeMessage)
  12126. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12127. Proper return value handling for OpenSSL functions.
  12128. * src/LibsslDHKeyExchange.h
  12129. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12130. Random bytes generation using libgcrypt and OpenSSL.
  12131. * src/DHTUtil.{h, cc}
  12132. * test/DHTUtilTest.cc
  12133. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12134. Fixed segmentation fault when a DHT message which doesn't have 'y' key
  12135. received.
  12136. * src/DHTMessageReceiver.cc (receiveMessage)
  12137. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12138. Fixed the bug that a return code is always 0. BUG#1897704
  12139. If error occurred during the download or there exist unfinished
  12140. downloads, aria2 returns with code 1.
  12141. * src/RequestGroupMan.{h, cc}
  12142. * src/MultiUrlRequestInfo.{h, cc}
  12143. * src/main.cc
  12144. 2008-02-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12145. IPv6 support for SocketCore class.
  12146. TODO: In SocketCore::establishConnection(), this is insufficient to
  12147. determin the failure of connect() here because the socket is
  12148. non-blocking state. The next addresses should be tried after select().
  12149. TODO: NameResolver still uses c-ares(<= 1.4) ares_gethostbyname().
  12150. If c-ares 1.5 or newer is installed, ares_getaddrinfo() should be used
  12151. instead which address family independent.
  12152. TODO: DHTRoutingTable{Deserializer,Serializer} currently saves peer
  12153. information in a compact peer format which is for IPv4 only.
  12154. Some BitTorrent functions in PeerMessageUtil still depends on IPv4 but
  12155. this is a spec of BitTorrent protocol.
  12156. * src/SocketCore.{h, cc}
  12157. * src/PeerMessageUtil.cc
  12158. * test/SocketCoreTest.cc
  12159. * test/PeerMessageUtilTest.cc
  12160. * test/DHTConnectionImplTest.cc
  12161. Handle IPv4-mapped addresses.
  12162. * src/DHTNode.cc: Now identity is determined by node id.
  12163. * src/DHTMessageTrackerEntry.cc
  12164. Because now PeerMessageUtil::unpackcompact() could fail, the caller
  12165. should handle it.
  12166. * src/DHTRoutingTableDeserializer.cc
  12167. * src/DHTMessageFactoryImpl.cc
  12168. 2008-02-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12169. Change the unit of --stop option from a minute to a second.
  12170. * src/usage_text.h
  12171. * src/DownloadEngineFactory.cc
  12172. * src/OptionHandlerFactory.cc
  12173. * src/message.h
  12174. * src/TimedHaltCommand.cc
  12175. 2008-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12176. Make listening socket non-block mode.
  12177. * src/FtpConnection.cc
  12178. * src/FtpNegotiationCommand.{h, cc}
  12179. * src/PeerListenCommand.cc
  12180. Fixed the bug that cause slow ftp negotiation.
  12181. * src/FtpNegotiationCommand.{h, cc}
  12182. 2008-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12183. Added basic tag to --enable-dht, --dht-listen-port option.
  12184. * src/HelpItemFactory.cc (createHelpItems)
  12185. 2008-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12186. Updated text.
  12187. * src/usage_text.h
  12188. 2008-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12189. * src/MSEHandshake.cc (encryptAndSendData): Use std::min().
  12190. 2008-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12191. Determin _threadtholdSpeed in each constructor for
  12192. ActivePeerConnectionCommand and PeerReceiveHandshakeCommand.
  12193. * src/ActivePeerConnectionCommand.{h, cc}
  12194. * src/PeerReceiveHandshakeCommand.{h, cc}
  12195. * src/BtSetup.cc
  12196. * src/BtConstants.h
  12197. 2008-02-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12198. Added --bt-min-crypto-level and --bt-require-crypto options.
  12199. * src/OptionHandlerFactory.cc
  12200. * src/MSEHandshake.cc
  12201. * src/HelpItemFactory.cc
  12202. * src/option_processing.cc
  12203. * src/ReceiverMSEHandshakeCommand.cc
  12204. * src/prefs.h
  12205. * src/DefaultBtAnnounce.cc
  12206. * src/InitiatorMSEHandshakeCommand.cc
  12207. * src/usage_text.h
  12208. * test/MSEHandshakeTest.cc
  12209. 2008-02-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12210. Bump version number to 0.13.0b
  12211. * configure.ac
  12212. 2008-02-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12213. Updated doc.
  12214. * src/MessageDigestHelper.h:
  12215. 2008-02-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12216. Use raw message digest as a token instead of its hexadecimal
  12217. representation.
  12218. * src/DHTTokenTracker.cc (generateToken)
  12219. 2008-02-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12220. Added Message Stream Encryption(MSE) support.
  12221. Currently, aria2 accepts incoming connections with Obfuscation Header
  12222. and legacy BitTorrent Header and establishes connections with
  12223. Obfuscation Header first and if failed then retry with legacy
  12224. BitTorrent header. If plain text and ARC4 is provided, aria2 always
  12225. choose ARC4. The new option to change the default behavior is planned.
  12226. For tracker extension, "supportcrypto=1" is added statically.
  12227. * src/PeerInitiateConnectionCommand.{h, cc}
  12228. * src/PeerConnection.{h, cc}
  12229. * src/HandleRegistry.h
  12230. * src/SocketCore.h
  12231. * src/PeerReceiveHandshakeCommand.{h, cc}
  12232. * src/BtRegistry.{h, cc}
  12233. * src/PeerListenCommand.cc
  12234. * src/InitiatorMSEHandshakeCommand.{h, cc}
  12235. * src/ReceiverMSEHandshakeCommand.{h, cc}
  12236. * src/MSEHandshake.{h, cc}
  12237. * src/ARC4Encryptor.h
  12238. * src/ARC4Decryptor.h
  12239. * src/LibgcryptARC4Encryptor.h
  12240. * src/LibgcryptARC4Decryptor.h
  12241. * src/LibgcryptARC4Context.h
  12242. * src/LibsslARC4Encryptor.h
  12243. * src/LibsslARC4Decryptor.h
  12244. * src/LibsslARC4Context.h
  12245. * src/DHKeyExchange.h
  12246. * src/LibgcryptDHKeyExchange.h
  12247. * src/LibsslDHKeyExchange.h
  12248. * src/DefaultBtAnnounce.cc: Just added "supportcrypto=1" parameter.
  12249. * test/DefaultBtAnnounceTest.cc
  12250. * test/ARC4Test.cc
  12251. * test/DHKeyExchangeTest.cc
  12252. Removed prepareForRetry() because it is not used.
  12253. * src/PeerAbstractCommand.{h, cc}
  12254. * src/PeerInteractionCommand.{h, cc}
  12255. * src/PeerInitiateConnectionCommand.{h, cc}
  12256. 2008-02-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12257. Added the ability to load nodes from torrent file. These nodes are
  12258. added to the routing table when downloading that torrent.
  12259. * src/BtContext.h
  12260. * src/DefaultBtContext.{h, cc}
  12261. * src/DHTSetup.cc
  12262. * src/DHTEntryPointNameResolveCommand.{h, cc}: Now accepts list of
  12263. hostname and port pair, and resolves all of them.
  12264. * src/NameResolver.{h, cc}: Added reset().
  12265. * src/RequestGroup.cc
  12266. * test/DefaultBtContextTest.cc
  12267. * test/MockBtContext.h
  12268. Removed assert() from DefaultBtContext and throw exception instead.
  12269. * src/DefaultBtContext.cc
  12270. 2008-02-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12271. Fixed segmentation fault bug when exiting if dht is disabled.
  12272. * src/RequestGroup.cc
  12273. 2008-02-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12274. Fixed typo in log message and define the message in message.h
  12275. * src/TimedHaltCommand.cc
  12276. * src/message.h
  12277. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12278. Included RecoverableException.h to fix compilation error.
  12279. * test/DHTMessageFactoryImplTest.cc
  12280. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12281. Added test 'testDoReceivedAction' for DHTQueryMessage subclasses.
  12282. * test/DHTPingMessageTest.cc
  12283. * test/DHTGetPeersMessageTest.cc
  12284. * test/DHTFindNodeMessageTest.cc
  12285. * test/DHTAnnouncePeerMessageTest.cc
  12286. * test/MockDHTMessage.h
  12287. * test/MockDHTMessageFactory.h
  12288. * test/MockDHTMessageDispatcher.h: New class.
  12289. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12290. Added DHTMessageDispatcherImpl. Now DHTMessageDispatcher is pure
  12291. virtual.
  12292. * src/DHTMessageDispatcher.h
  12293. * src/DHTMessageDispatcherImpl.{h, cc}
  12294. * src/DHTSetup.cc
  12295. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12296. Adding handling of DHT error message. Just log error message and
  12297. throw exception.
  12298. * src/DHTMessageFactoryImpl.cc
  12299. * test/DHTMessageFactoryImplTest.cc
  12300. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12301. Added handling of dynamic cast failure.
  12302. * src/DHTNodeLookupTask.cc
  12303. * src/DHTPeerLookupTask.cc
  12304. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12305. Added the ability to stop aria2 itself when given time has passed
  12306. from start. Use --stop option to specify time in minutes.
  12307. When 0 is given, this feature is disabled.
  12308. * src/OptionHandlerFactory.cc
  12309. * src/TimeBasedCommand.h: Make _interval protected scope.
  12310. * src/HelpItemFactory.cc
  12311. * src/option_processing.cc
  12312. * src/prefs.h
  12313. * src/FillRequestGroupCommand.cc: Evaluate _e->isHaltRequested()
  12314. before calling RequestGroupMan::fillRequestGroupFromReserver().
  12315. Without this modification, the result list shows "ERR" when aria2 is
  12316. stopped by --stop option. It should be "INPR".
  12317. * src/DownloadEngine.{h, cc}
  12318. * src/DownloadEngineFactory.cc
  12319. * src/usage_text.h
  12320. * src/TimedHaltCommand.{h, cc}: New class.
  12321. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12322. Bootstrap through node added by port message.
  12323. Currently bootstrap is executed if the number of buckets in routing
  12324. table is 1.
  12325. * src/BtPortMessage.{h, cc}
  12326. * src/DefaultBtMessageFactory.{h, cc}
  12327. * src/PeerInteractionCommand.cc
  12328. * test/BtPortMessageTest.cc
  12329. * test/MockDHTTask.h
  12330. 2008-02-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12331. Extract the Peer class's member variables, which are only needed after
  12332. PeerInteractionCommand, into PeerSessionResource class.
  12333. This class is instantiated in PeerInteractionCommand class's ctor and
  12334. released in its dtor.
  12335. This will make Peer class lightweight and uses less memory for peers
  12336. which are not connected and wait in the queue.
  12337. * src/PeerChokeCommand.cc
  12338. * src/PeerSessionResource.{h, cc}
  12339. * src/PeerInteractionCommand.cc
  12340. * src/PeerAbstractCommand.cc: Note: 0 is given to onAbort() function.
  12341. * src/DefaultBtInteractive.cc
  12342. * src/BtPieceMessage.cc
  12343. * src/BtInterestedMessage.cc
  12344. * src/BtUnchokeMessage.cc
  12345. * src/DefaultPeerStorage.{h, cc}
  12346. * src/PeerInitiateConnectionCommand.cc
  12347. * src/ActivePeerConnectionCommand.cc
  12348. * src/BtNotInterestedMessage.cc
  12349. * src/DefaultBtMessageDispatcher.cc
  12350. * src/BtChokeMessage.cc
  12351. * src/BtRequestMessage.cc
  12352. * src/Peer.{h, cc}
  12353. * src/BtRegistry.h
  12354. * src/TrackerWatcherCommand.cc
  12355. * src/PeerReceiveHandshakeCommand.cc
  12356. * test/BtExtendedMessageTest.cc
  12357. * test/BtAllowedFastMessageTest.cc
  12358. * test/BtCancelMessageTest.cc
  12359. * test/DefaultPieceStorageTest.cc
  12360. * test/BtBitfieldMessageTest.cc
  12361. * test/BtHaveMessageTest.cc
  12362. * test/BtNotInterestedMessageTest.cc
  12363. * test/BtRequestMessageTest.cc
  12364. * test/PeerSessionResourceTest.cc
  12365. * test/DefaultBtMessageDispatcherTest.cc
  12366. * test/PeerTest.cc
  12367. * test/BtInterestedMessageTest.cc
  12368. * test/BtRejectMessageTest.cc
  12369. * test/BtChokeMessageTest.cc
  12370. * test/DefaultPeerStorageTest.cc
  12371. * test/BtHaveNoneMessageTest.cc
  12372. * test/BtHaveAllMessageTest.cc
  12373. * test/DefaultExtensionMessageFactoryTest.cc
  12374. * test/BtUnchokeMessageTest.cc
  12375. * test/DefaultBtMessageFactoryTest.cc
  12376. * test/HandshakeExtensionMessageTest.cc
  12377. * test/UTPexExtensionMessageTest.cc
  12378. * test/DefaultBtRequestFactoryTest.cc
  12379. * test/BtPieceMessageTest.cc
  12380. Removed typedef PeerStats.
  12381. * src/PeerStat.h
  12382. * src/SegmentMan.cc
  12383. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12384. Added std namespace to copy, remove_copy, back_inserter,
  12385. front_inserter.
  12386. * src/RequestGroupMan.cc
  12387. * src/DefaultPieceStorage.cc
  12388. * src/StreamFileAllocationEntry.cc
  12389. * src/BtFileAllocationEntry.cc
  12390. * src/RequestGroup.cc
  12391. * src/MetalinkEntry.cc
  12392. * src/DelegatingPeerListProcessor.cc
  12393. * src/DefaultBtRequestFactory.cc
  12394. * src/DefaultBtMessageDispatcher.cc
  12395. * src/version_usage.cc: Included <algorithm>
  12396. * src/main.cc
  12397. * src/MetalinkParserController.cc
  12398. * src/DefaultBtContext.cc
  12399. * src/DownloadEngineFactory.cc
  12400. * src/a2algo.h
  12401. Removed.
  12402. * test/StreamUriListParserTest.cc
  12403. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12404. Use PREF_MAX_DOWNLOAD_LIMIT as a threshold for
  12405. ActivePeerConnectionCommand when it is given and
  12406. PREF_MAX_DOWNLOAD_LIMIT < default threshold.
  12407. * src/ActivePeerConnectionCommand.{h, cc}
  12408. * src/BtSetup.cc
  12409. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12410. Only add socket to DownloadEngine's select routine when peer or
  12411. localhost is unchoked and interested. This lowers CPU usage a
  12412. little bit.
  12413. * src/PeerInteractionCommand.cc
  12414. * src/PeerAbstractCommand.{h, cc}
  12415. * src/BtInteractive.h
  12416. * src/DefaultBtInteractive.{h, cc}
  12417. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12418. Revert previous change because get_peers message is needed for
  12419. announce_peer anyway.
  12420. * src/DHTGetPeersCommand.cc
  12421. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12422. Request peers thought DHT only when download hasn't finished.
  12423. * src/DHTGetPeersCommand.cc
  12424. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12425. Force refresh bucket when startup if certain time has passed(currently 15 minutes).
  12426. * src/DHTBucketRefreshTask.{h, cc}
  12427. * src/DHTSetup.cc
  12428. 2008-02-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12429. Removed "using namespace std;" from all sources. Appended std:: prefix to c++
  12430. standard classes.
  12431. Included string.h where mem* function are used.
  12432. Added namespace aria2.
  12433. 2008-02-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12434. Create directory before saving DHT routing table.
  12435. Now ios::failure is now handled properly.
  12436. * src/DHTAutoSaveCommand.cc
  12437. 2008-02-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12438. Removed unnecessary cerr.
  12439. * src/DownloadEngine.cc
  12440. 2008-02-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12441. Catch exception inside DHTMessageReceiver::receiveMessage().
  12442. Log unknown message.
  12443. * src/DHTMessageReceiver.{h, cc}
  12444. * src/DHTMessageFactory.h
  12445. * src/DHTMessageFactoryImpl.{h, cc}
  12446. * src/DHTMessageTracker.cc (handleTimeout): Catch and handle exception.
  12447. * src/DHTInteractionCommand.cc
  12448. * src/DHTUnknownMessage.{h, cc}
  12449. * test/DHTUnknownMessageTest.cc
  12450. * test/MockDHTMessageFactory.h
  12451. 2008-02-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12452. Commented out ip address comparison because a host can have multiple
  12453. ip addresses and it is hard to predict the hostname is resolved into
  12454. which one.
  12455. * test/SocketCoreTest.cc (testWriteAndReadDatagram)
  12456. 2008-02-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12457. * po/Makefile.in: Removed since this is generated by configure.
  12458. 2008-02-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12459. Fixed compiler warning about redefinition of SIZE_MAX.
  12460. Use common.h instead of config.h directly here.
  12461. * src/Platform.{h, cc}
  12462. The check of ENABLE_NLS is made in gettext.h, so it is not required
  12463. here.
  12464. * common.h
  12465. 2008-02-02 gettextize <bug-gnu-gettext@gnu.org>
  12466. Updated gettext related files.
  12467. * configure.ac (AC_CONFIG_FILES): Add intl/Makefile.
  12468. * configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.17.
  12469. 2008-02-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12470. Added DHT functionality, compatible with mainline.
  12471. DHT is disabled by default. To enable it, give --enable-dht to aria2c.
  12472. You may need to specify entry point to DHT network using
  12473. --dht-entry-point. DHT uses UDP port to listen incoming message.
  12474. Use --dht-listen-port to specify port number. Make sure that your
  12475. firewall configuration can pass through UDP traffic to the port.
  12476. The routing table is saved in $HOME/.aria2/dht.dat.
  12477. * src/DHT*
  12478. * src/BNode.{h, cc}
  12479. * src/PeerInteractionCommand.cc: enable DHT functionality for a
  12480. particular torrent.
  12481. * src/Data.cc: Rewritten ctor.
  12482. * src/OptionHandlerFactory.cc: Added --enable-dht, --dht-listen-port,
  12483. --dht-entry-point.
  12484. * src/DefaultBtInteractive.cc: Send port message if dht is enabled.
  12485. * src/RequestGroup.cc: Initialize DHT functionality. When download
  12486. ends, remove BtContext from DHTPeerAnnounceStorage.
  12487. * src/BtPortMessage.{h, cc}: Rewritten.
  12488. * src/message.h
  12489. * src/OptionHandlerImpl.cc
  12490. * src/option_processing.cc: Added --enable-dht, --dht-listen-port,
  12491. --dht-entry-point.
  12492. * src/Dictionary.{h, cc} (remove): New function.
  12493. * src/prefs.h
  12494. * src/DefaultBtMessageFactory.h
  12495. * src/BtHandshakeMessage.cc
  12496. * src/ActivePeerConnectionCommand.cc
  12497. * src/SocketCore.{h, cc}: Added datagram socket support.
  12498. * src/DefaultBtMessageFactory.cc
  12499. * src/BtSetup.cc: Add BtContext to DHTPeerAnnounceStorage here.
  12500. Create DHT commands.
  12501. * src/BtMessageFactory.h
  12502. * src/PeerMessageUtil.{h, cc}
  12503. 2008-01-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12504. Fixed the bug that log file is not written when configuration file doesn't exist.
  12505. This is caused by using Logger class before LogFactory is not configured.
  12506. BUG #1875079
  12507. * src/option_processing.cc
  12508. Warning message "configuration doesn't exist" is only printed when --conf is
  12509. given.
  12510. * src/option_processing.cc
  12511. 2008-01-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12512. Use BencodeVisitor and MessageDigestHelper instead of ShaVisitor.
  12513. ShaVisitor is now deprecated and slated to be removed.
  12514. * src/DefaultBtContext.cc
  12515. 2008-01-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12516. Externalize message to message.h
  12517. * src/Platform.cc
  12518. * src/message.h
  12519. 2008-01-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12520. Set default domain and default path to cookie.
  12521. * src/HttpResponse.cc
  12522. * src/CookieBox.{h, cc}
  12523. * src/CookieParser.{h, cc}
  12524. * test/CookieParserTest.cc
  12525. 2008-01-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12526. Added --no-conf and --conf-path command-line option.
  12527. --no-conf option disables loading aria2.conf file.
  12528. --conf-path option changes the configuration file path. The default
  12529. file path is $HOME/.aria2/aria2.conf
  12530. Added a warning message when the configuration file is not found.
  12531. * src/HelpItemFactory.cc
  12532. * src/option_processing.cc
  12533. * src/prefs.h
  12534. * src/usage_text.h
  12535. 2008-01-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12536. Added the message to inform users that other help categories are
  12537. available in -h option.
  12538. * src/version_usage.cc
  12539. * src/TagContainer.{h, cc}
  12540. * test/TagContainerTest.cc
  12541. * src/TaggedItem.{h, cc}
  12542. * test/TaggedItemTest.cc
  12543. * src/HelpItem.h
  12544. 2008-01-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12545. Added Piece::getFirstMissingBlockIndexWithoutLock() and it is called
  12546. from PiecedSegment's ctor.
  12547. Previously Piece::getAllMissingBlockIndexes() is called from
  12548. PiecedSegment() but it is rather expensive since only first element is
  12549. used.
  12550. * src/PiecedSegment.cc
  12551. * src/Piece.{h, cc}
  12552. 2008-01-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12553. Rewritten get*Missing*Index functions. Now no need to allocate memory
  12554. each time these functions are called.
  12555. * src/BitfieldMan.{h, cc}
  12556. * test/BitfieldManTest.cc
  12557. * src/array_fun.h
  12558. * test/array_funTest.cc
  12559. Now BitfieldMan::countBlock() returns BitfieldMan::blocks.
  12560. Added new BitfieldMan::countFilteredBlock() to get the number of blocks
  12561. filtered. Removed unnecessary cast to int32_t.
  12562. * src/BitfieldMan.{h, cc}
  12563. 2008-01-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12564. Fixed the bug that EX_TOO_LONG_PAYLOAD exception is thrown if just
  12565. payload length(4bytes) are received. This happens because lenbufLength
  12566. is not updated in this particular case and successive call of
  12567. receiveMessage() overwrites payload length with bytes recieved which
  12568. are payload body.
  12569. * src/PeerConnection.{h, cc}
  12570. * src/message.h
  12571. 2008-01-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12572. Fixed the bug that DefaultPeerStorage::returnPeer() may delete wrong
  12573. peer if there are peers that have same ipaddr and port.
  12574. I've experiened segmentation fault and "pure virtual function was
  12575. called" error.
  12576. * src/Peer.h
  12577. * test/PeerTest.cc
  12578. * src/DefaultPeerStorage.cc
  12579. * test/DefaultPeerStorageTest.cc
  12580. 2008-01-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12581. Removed a call to isPowerOf() because it is no longer necessary here
  12582. and a request block is not always power of 2.
  12583. BUG#1866924
  12584. * src/PeerMessageUtil.cc (checkLength)
  12585. 2008-01-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12586. Fixed the bug that always first found Segment is removed from
  12587. usedSegmentEntries. Removed unused functions.
  12588. * src/SegmentMan.{h, cc}
  12589. * test/SegmentManTest.cc
  12590. Fixed the bug that ServerHost is not removed.
  12591. * src/RequestGroup.cc
  12592. 2008-01-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12593. Fixed the bug that SegmentMan::completeSegment() is not called
  12594. even if Segment is complete when --lowest-speed-limit is enabled.
  12595. BUG#1864525
  12596. * src/DownloadCommand.{h, cc}
  12597. 2008-01-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12598. Fixed: hash algorithm 'sha1' is always used.
  12599. * src/DownloadCommand.cc (validatePieceHash)
  12600. 2008-01-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12601. Added --enable-peer-exchange command-line option.
  12602. * src/OptionHandlerFactory.cc
  12603. * src/HelpItemFactory.cc
  12604. * src/option_processing.cc
  12605. * src/usage_text.h
  12606. 2008-01-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12607. Move extension from BtRuntime to ExtensionMessageFactory, because
  12608. extension can be specified per peer, not per torrent.
  12609. * src/DefaultBtInteractive.cc
  12610. * src/BtRuntime.h
  12611. * src/ExtendedMessagingAware.h
  12612. * src/ExtensionMessageFactory.h
  12613. * src/DefaultExtensionMessageFactory.cc
  12614. * test/DefaultExtensionMessageFactoryTest.cc
  12615. 2008-01-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12616. Added categorized option help. Specify category using --help option.
  12617. Also added the ability to search options in forward match.
  12618. * src/HelpItem.{h, cc}
  12619. * test/HelpItemTest.cc
  12620. * src/HelpItemFactory.{h, cc}
  12621. * src/TagContainer.{h, cc}
  12622. * test/TagContainerTest.cc
  12623. * src/option_processing.cc
  12624. * src/prefs.h
  12625. * src/TaggedItem.{h, cc}
  12626. * test/TaggedItemTest.cc
  12627. * src/version_usage.cc
  12628. * src/help_tags.h
  12629. * src/usage_text.h
  12630. 2008-01-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12631. Fixed segmentation fault when bad torrent metainfo is parsed.
  12632. Added dynamic_cast properly to detect the misconfiguration of metainfo
  12633. and then throw exception or skip it.
  12634. * src/DefaultBtContext.{h, cc}
  12635. * test/DefaultBtContextTest.cc
  12636. * src/AnnounceList.cc
  12637. * src/CompactPeerListProcessor.cc
  12638. * src/message.h
  12639. * src/DefaultBtAnnounce.{h, cc}
  12640. * test/DefaultBtAnnounceTest.cc
  12641. * src/BencodeVisitor.cc
  12642. 2007-12-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12643. Added missing "B"(=Byte). So now the message looks like this:
  12644. Your share ratio was 1.0, uploaded/downloaded=12MiB/12MiB
  12645. * src/message.h (MSG_SHARE_RATIO_REPORT)
  12646. 2007-12-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12647. Show the seed ratio after torrent downloads.
  12648. For example, after torrent download completed and --seed-time and
  12649. --seed-ratio conditions are fulfilled, following message is printed
  12650. right after "Download complete: .....":
  12651. Your share ratio was 1.0, uploaded/downloaded=12M/12M
  12652. * src/RequestGroupMan.cc
  12653. * src/RequestGroup.{h, cc}
  12654. * src/message.h
  12655. 2007-12-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12656. Remove a defunct control file. A defunct control file means that while
  12657. it exists, but the corresponding download file is missing.
  12658. After its removal, a download restarts from the beginning.
  12659. * src/RequestGroup.cc
  12660. * src/message.h
  12661. 2007-12-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12662. Allocate bitfield in Peer when it is really used. More specifically,
  12663. bitfield in Peer is allocated after the connection is established and
  12664. deallocated when the connection is dropped.
  12665. Since 2 parameters(piece length and total length) was removed from the
  12666. constructor of Peer class, many test classes were modified accordingly.
  12667. See svn log for more detailed information.
  12668. * src/PeerInteractionCommand.cc
  12669. * src/CompactPeerListProcessor.cc
  12670. * src/Peer.cc
  12671. * src/DefaultPeerListProcessor.cc
  12672. * src/PeerListenCommand.cc
  12673. * src/PeerReceiveHandshakeCommand.cc
  12674. Fixed memory leak
  12675. * src/Piece.cc
  12676. 2007-12-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12677. Changed the default value of PREF_PEER_CONNECTION_TIMEOUT and
  12678. lowestSpeedLimit in ActivePeerConnectionCommand. TODO: Make them
  12679. command-line options.
  12680. * src/option_processing.cc
  12681. * src/ActivePeerConnectionCommand.cc
  12682. 2007-12-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12683. Send have message to peer if it already has the piece.
  12684. * src/BtHaveMessage.{h, cc}
  12685. 2007-12-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12686. Removed incomingPeer. Set 0 to peer's port if it is not a listening
  12687. port.
  12688. * src/DefaultPeerStorage.{h, cc}
  12689. * test/DefaultPeerStorageTest.cc
  12690. * src/HandshakeExtensionMessage.cc
  12691. * test/HandshakeExtensionMessageTest.cc
  12692. * src/Peer.{h, cc}: Added ipaddr and port to identity comparison.
  12693. * src/PeerStorage.h
  12694. * test/MockPeerStorage.h
  12695. * src/PeerListenCommand.cc
  12696. * src/PeerReceiveHandshakeCommand.cc
  12697. 2007-12-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12698. Added --metalink-enable-unique-protocol option.
  12699. * src/Metalink2RequestGroup.cc
  12700. * src/option_processing.cc
  12701. * src/prefs.h
  12702. * src/version_usage.cc
  12703. * doc/aria2c.1.txt
  12704. * doc/aria2c.1
  12705. 2007-12-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12706. Allow a peer in incomingPeer to be added peers.
  12707. * src/DefaultPeerStorage.cc
  12708. * test/DefaultPeerStorageTest.cc
  12709. 2007-12-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12710. Fixed the bug that causes aria2 not to finish download. BUG#1855875.
  12711. I could reproduce this bug in following procedure:
  12712. 1. Stop the download at the very beginning(1% or 100KB downloaded).
  12713. 2. Restart aria2.
  12714. 3. You see the download stopped around 99%.
  12715. * src/HttpResponseCommand.cc (handleDefaultEncoding)
  12716. * src/StreamFileAllocationEntry.cc: Removed the timeout handling.
  12717. If timeout is reached, then _nextCommand is unused and it may contains
  12718. segments and they won't be canceled. Actually, timeout is not needed
  12719. here because if the server dropped connection, then retry is made.
  12720. 2007-12-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12721. Added uTorrent compatible Peer Exchange.
  12722. * src/BencodeVisitor.{h, cc}
  12723. * test/BencodeVisitorTest.cc
  12724. * src/BtConstants.h
  12725. * src/BtContext.h: Added 'private' flag.
  12726. * src/BtExtendedMessage.{h, cc}
  12727. * test/BtExtendedMessageTest.cc
  12728. * src/BtHandshakeMessage.{h, cc}: Set extended messaging bit in
  12729. reserved field.
  12730. * test/BtHandshakeMessageTest.cc
  12731. * src/BtMessageFactory.h
  12732. * src/BtRegistry.h
  12733. * src/BtRuntime.h: This class holds default extension message IDs for
  12734. aria2. By default, aria2 uses ID 8 for ut_pex.
  12735. * src/DefaultBtContext.cc
  12736. * src/DefaultBtInteractive.{h, cc}: This class holds _utPexEnabled.
  12737. When it is true, aria2 enables ut_pex. This value is set by
  12738. PeerInteractionCommand.
  12739. * src/DefaultBtMessageFactory.{h, cc}
  12740. * test/DefaultBtMessageFactoryTest.cc
  12741. * src/DefaultBtMessageReceiver.cc: Moved the code of fast extension
  12742. handling to DefaultBtInteractive class.
  12743. * src/DefaultExtensionMessageFactory.{h, cc}
  12744. * test/DefaultExtensionMessageFactoryTest.cc
  12745. * src/DefaultPeerStorage.cc: Returns false if a peer is already in
  12746. the container(peers and incomingPeers. The equality is determined by
  12747. Peer::id).
  12748. * test/DefaultPeerStorageTest.cc
  12749. * src/ExtensionMessage.h
  12750. * test/MockExtensionMessage.h
  12751. * src/ExtensionMessageFactory.h
  12752. * test/MockExtensionMessageFactory.h
  12753. * src/HandshakeExtensionMessage.{h, cc}
  12754. * test/HandshakeExtensionMessageTest.cc
  12755. * src/MetaEntry.h
  12756. * src/Peer.{h, cc}
  12757. * src/PeerInteractionCommand.cc
  12758. * src/PeerReceiveHandshakeCommand.cc: Evaluate the return value of
  12759. addIncomingPeer.
  12760. * src/PeerMessageUtil.{h, cc}
  12761. * src/PeerObject.h
  12762. * src/UTPexExtensionMessage.{h, cc}
  12763. * test/UTPexExtensionMessageTest.cc
  12764. * src/message.h
  12765. * src/prefs.h
  12766. Fixed the bug that returns incomplete data when it contains null
  12767. character. A convenient constructor was also added.
  12768. * src/Data.{h, cc}
  12769. Rewritten.
  12770. * src/CompactPeerListProcessor.cc
  12771. Fixed typos.
  12772. * src/message.h
  12773. * src/MetaFileUtil.cc
  12774. 2007-12-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12775. Added "Status Legend" label to the explanation text of 'stat' in
  12776. download result and moved it to the last. BUG#1848214
  12777. * src/RequestGroupMan.cc
  12778. 2007-12-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12779. Fixed the bug that -lexpat is always added to aria2c_LDADD.
  12780. * src/Makefie.am
  12781. * test/Makefile.am
  12782. 2007-12-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12783. Fixed the bug that prevents aria2 from loading cookie file when expire
  12784. value is greater than 2^31-1. BUG#1851066
  12785. * src/CookieBoxFactory.cc
  12786. * test/CookieBoxFactoryTest.cc
  12787. 2007-12-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12788. Fixed possible memory leak when an exception is thrown.
  12789. * src/XML2SAXMetalinkProcessor.cc
  12790. Added Expat support. If both libxml2 and Expat are installed, then
  12791. libxml2 is used by default.
  12792. MetalinkProcessorFactory chooses from XML2SAXMetalinkProcessor and
  12793. ExpatMetalinkProcessor according to the configuration.
  12794. * src/ExpatMetalinkProcessor.{h, cc}
  12795. * src/main.cc: Removed libxml2 specific header and init/free function.
  12796. * src/MetalinkProcessorFactory.{h, cc}
  12797. * src/MetalinkHelper.cc
  12798. * src/Metalinker.h: Removed unnecessary libxml2 header.
  12799. * src/MetalinkProcessor.h
  12800. * test/XML2SAXMetalinkProcessorTest.cc: Removed because
  12801. MetalinkProcessorTest is used instead.
  12802. * test/MetalinkProcessorTest.cc: Added. It is actually the same with
  12803. XML2SAXMetalinkProcessor, replaced XML2SAXMetalinkProcessor with
  12804. MetalinkProcessorFactory::newInstance().
  12805. * m4/libexpat.m4
  12806. * configure.ac: Added configuration options for libexpat.
  12807. 2007-12-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12808. Disabled -s option in metalink download.
  12809. * src/Metalink2RequestGroup.cc
  12810. 2007-12-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12811. If several protocols are available for a mirror in metalink file,
  12812. aria2 now use one of them. --metalink-preferred-protocol option was
  12813. added to specify the preference of protocol.
  12814. * src/AbstractCommand.cc
  12815. * src/OptionHandlerFactory.cc
  12816. * src/ServerHost.{h, cc}
  12817. * src/Metalink2RequestGroup.cc
  12818. * src/RequestGroup.{h, cc}
  12819. * test/RequestGroupTest.cc
  12820. * src/option_processing.cc
  12821. * src/prefs.h
  12822. * src/HttpResponseCommand.cc
  12823. * src/MetalinkResource.{h, cc}
  12824. * src/FtpNegotiationCommand.cc
  12825. * src/MetalinkEntry.{h, cc}
  12826. * src/MetalinkEntryTest.cc
  12827. 2007-12-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12828. Code cleanup and added debug log.
  12829. * src/PeerConnection.cc
  12830. 2007-12-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12831. Compiler error fix: applied the patch by Tiziano Mueller
  12832. * src/RequestGroup.cc
  12833. 2007-12-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12834. Fixed the bug: only first announce URL is tried in AnnounceTier,
  12835. in stopped and completed event.
  12836. * src/AnnounceList.{h, cc}
  12837. * test/AnnounceListTest.cc
  12838. * src/DefaultBtAnnounce.cc
  12839. * test/DefaultBtAnnounceTest.cc
  12840. Sorted URLs.
  12841. * test/Metalink2RequestGroupTest.cc
  12842. 2007-12-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12843. Removed unnecessary string copy. Updated doc and corrected indentation.
  12844. * src/Base64.cc
  12845. Fixed compilation warnings
  12846. * test/DataTest.cc
  12847. * test/HttpRequestTest.cc
  12848. * test/MetaFileUtilTest.cc
  12849. * test/RequestTest.cc
  12850. * Release 0.12.0
  12851. 2007-12-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12852. Updated translations
  12853. * po/{de,fr,ja,nl,ru}.po
  12854. Added Brazilian Portuguese, Catalan, Italian, Spanish, Swedish
  12855. translations. Many thanks to translators.
  12856. * po/{ca,es,it,pt_BR,sv}.po
  12857. * po/LINGUAS
  12858. 2007-12-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12859. Added a notice about URL
  12860. * src/version_usage.cc
  12861. 2007-12-07 Tatsuhiro Tsujikawa <tujikawa at rednoah com>
  12862. Fixed the bug#1845750; CTRL+C does not stop torrent.
  12863. aria2 repeatedly sends stopped request when tracker returns error code.
  12864. * src/AnnounceList.cc
  12865. * test/AnnounceListTest.cc
  12866. * src/AnnounceTier.h
  12867. Added a message when ctrl-c is hit.
  12868. Now second ctrl-c is also handled in signal handler.
  12869. * src/RequestGroupMan.{h, cc}
  12870. * src/RequestGroup.{h, cc}
  12871. * src/MultiUrlRequestInfo.cc
  12872. * src/DownloadEngine.cc
  12873. * src/TrackerWatcherCommand.cc
  12874. 2007-12-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12875. Code cleanup
  12876. * src/Base64.cc (encode)
  12877. 2007-12-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12878. Changed Direct/IO enable/disable procesure in file allocation routine.
  12879. * src/SingleFileAllocationIterator.cc
  12880. (SingleFileAllocationIterator):
  12881. Disable directIO if offset is not multiple of 512.
  12882. (~SingleFileAllocationIterator): Removed a call to disableDirectIO.
  12883. * src/MultiFileAllocationIterator.cc (allocateChunk):
  12884. Enable created SingleFileAllocationIterator's directIO.
  12885. * src/FileAllocationEntry.cc
  12886. (FileAllocationEntry): Enable directIO here.
  12887. (~FileAllocationEntry): Disable directIO here.
  12888. 2007-12-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12889. Fixed the bug: aria2 doesn't utilize fast set index offered by peer.
  12890. * src/Peer.{h, cc}
  12891. * src/DefaultPieceStorage.cc
  12892. * test/DefaultPieceStorageTest.cc
  12893. 2007-12-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12894. Rewritten direct I/O support routine
  12895. * src/SingleFileAllocationIterator.cc
  12896. * src/MultiDiskAdaptor.{h, cc}
  12897. * src/ByteArrayDiskWriter.h
  12898. * src/AbstractSingleDiskAdaptor.h
  12899. * src/AbstractDiskWriter.cc
  12900. * src/DefaultPieceStorage.cc
  12901. * src/DiskWriter.h
  12902. * src/BinaryStream.h
  12903. * src/IteratableChunkChecksumValidator.cc
  12904. * src/IteratableChecksumValidator.cc
  12905. * src/CheckIntegrityEntry.cc
  12906. * src/FileAllocationEntry.cc
  12907. 2007-12-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12908. Fixed typo
  12909. * src/version_usage.cc
  12910. Updated doc
  12911. * doc/aria2c.1.txt
  12912. * doc/aria2c.1
  12913. 2007-12-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12914. Fixed compile error without message digest support.
  12915. * src/FileMetalinkParserState.cc
  12916. * src/MetalinkParserController.{h, cc}
  12917. * test/XML2SAXMetalinkProcessorTest.cc
  12918. * test/MetalinkParserControllerTest.cc
  12919. 2007-12-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12920. Enable direct I/O support in checksum checking.
  12921. * src/IteratableChunkChecksumValidator.{h, cc}
  12922. * test/IteratableChunkChecksumValidatorTest.cc
  12923. * src/CheckIntegrityEntry.cc
  12924. * src/PieceHashCheckIntegrityEntry.cc
  12925. * src/IteratableChecksumValidator.{h, cc}
  12926. * src/BtCheckIntegrityEntry.cc: Added doc.
  12927. 2007-12-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12928. Added --allow-piece-length-change option.
  12929. * src/DefaultBtProgressInfoFile.cc
  12930. * test/DefaultBtProgressInfoFileTest.cc
  12931. * src/OptionHandlerFactory.cc
  12932. * src/option_processing.cc
  12933. * src/prefs.h
  12934. * src/version_usage.cc
  12935. * doc/aria2c.1.txt
  12936. * doc/aria2c.1
  12937. Fixed: duplicated result entry appears when exception is thrown in
  12938. RequestGroup::createInitiateConnectionCommand().
  12939. * src/RequestGroupMan.cc (fillRequestGroupFromReserver):
  12940. Add RequestGroup to _requestGroup after RequetGroup::
  12941. createInitiateConnectionCommand() succeeds.
  12942. Externalized message
  12943. * src/XML2SAXMetalinkProcessor.cc
  12944. * src/message.h
  12945. 2007-12-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12946. Forced download abort when received negative response from http/ftp
  12947. server.
  12948. * src/HttpResponseCommand.cc
  12949. * src/FtpNegotiationCommand.cc
  12950. * src/HttpResponse.cc
  12951. * src/FtpConnection.cc
  12952. 2007-12-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12953. Added XML2SAXMetalinkProcessor class, which is a lot faster than
  12954. the predecessor, Xml2MetalinkParser class.
  12955. I tested them against 94KB metalink file with 1234 chunk checksums.
  12956. The new one parsed it in 22msec, while it took 6000msec with old one.
  12957. * src/XML2SAXMetalinkProcessor.{h, cc}
  12958. * test/XML2SAXMetalinkProcessorTest.cc
  12959. * src/MetalinkParserController.{h, cc}
  12960. * test/MetalinkParserControllerTest.cc
  12961. * src/MetalinkParserState.h: Also added 16 subclasses.
  12962. * src/main.cc
  12963. * src/Metalink2RequestGroup.cc
  12964. * src/MetalinkHelper.cc
  12965. * src/MetalinkEntry.cc
  12966. * src/ChunkChecksum.h
  12967. Rewritten Base64 class for better performance.
  12968. * src/Base64.{h, cc}
  12969. * test/Base64Test.cc
  12970. * src/HttpRequest.cc
  12971. 2007-12-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12972. Fixed the bug#1841757: aria2 will connect to server to only get
  12973. file size.
  12974. * src/StreamFileAllocationEntry.cc
  12975. * src/option_processing.cc
  12976. * src/HttpResponseCommand.cc: Now reuse connection in segmented
  12977. downloads.
  12978. * src/FtpNegotiationCommand.cc
  12979. Suppressed wrong message when finding PreDownloadHandler
  12980. * src/RequestGroup.cc
  12981. 2007-11-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12982. Updated usage
  12983. * src/version_usage.cc
  12984. Updated man page
  12985. * doc/aria2c.1.txt
  12986. * doc/aria2c.1
  12987. Updated po files
  12988. * po/aria2c.pot
  12989. * po/*.po
  12990. * po/*.gmo
  12991. 2007-11-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12992. Eliminated g++-4.2 warning
  12993. * src/DownloadHandlerConstants.{h, cc}
  12994. * src/Util.cc
  12995. * test/MetaFileUtilTest.cc
  12996. * test/PStringBuildVisitorTest.cc
  12997. Fixed bug: --check-integrity doesn't work for multi file torrent.
  12998. * src/RequestGroup.cc
  12999. * src/BtCheckIntegrityEntry.cc
  13000. 2007-11-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13001. Fixed a2io.h
  13002. * src/a2io.h
  13003. 2007-11-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13004. Added direct I/O support. The current implementation uses O_DIRECT,
  13005. which is not posix standard and is tested on linux 2.6.21.
  13006. Currently only file allocation uses direct I/O.
  13007. * src/SingleFileAllocationIterator.{h, cc}
  13008. * test/SingleFileAllocationIteratorTest.cc
  13009. * src/MultiFileAllocationIterator.{h, cc}
  13010. * test/MultiFileAllocationIteratorTest.cc
  13011. * src/BinaryStream.h
  13012. * src/DiskWriter.h
  13013. * src/AbstractDiskWriter.{h, cc}
  13014. * src/ByteArrayDiskWriter.h
  13015. * src/DiskAdaptor.h
  13016. * src/AbstractSingleDiskAdaptor.{h, cc}
  13017. * src/MultiDiskAdaptor.{h, cc}
  13018. * src/FileAllocationEntry.cc
  13019. * src/Util.{h, cc}
  13020. * src/OptionHandlerFactory.cc
  13021. * src/prefs.h
  13022. * src/version_usage.cc
  13023. * src/option_processing.cc
  13024. Moved FileAllocationMan::markCurrentFileAllocationEntryDone() to
  13025. handleException.
  13026. * src/MultiFileAllocationIterator.cc
  13027. Added EINTR handling
  13028. * src/SocketCore.cc
  13029. 2007-11-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13030. Updated usage
  13031. * src/version_usage.cc
  13032. 2007-11-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13033. Applied Ross's patch for MinGW port.
  13034. * src/DownloadEngine.h
  13035. 2007-11-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13036. Set Content-Type to SingleFileDownloadContext when http response is
  13037. received.
  13038. * src/HttpResponseCommand.cc
  13039. * src/HttpResponse.{h, cc}
  13040. * test/HttpResponseTest.cc
  13041. 2007-11-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13042. Rewritten to add content-type support.
  13043. * src/DownloadHandler.{h, cc}
  13044. * src/BtPostDownloadHandler.{h, cc}
  13045. * test/BtPostDownloadHandlerTest.cc
  13046. * src/MetalinkPostDownloadHandler.{h, cc}
  13047. * test/MetalinkPostDownloadHandlerTest.cc
  13048. * src/PostDownloadHandler.{h, cc}
  13049. * src/DownloadHandlerConstants.{h, cc}
  13050. * src/RequestGroup.cc
  13051. * src/HttpResponseCommand.cc
  13052. * src/FtpNegotiationCommand.cc
  13053. * src/SingleFileDownloadContext.{h, cc}
  13054. * src/RequestGroup.h
  13055. * src/RequestGroupCriteria.h
  13056. * src/ContentTypeRequestGroupCriteria.h
  13057. Added 'mem' option value for --follow-metalink, --follow-torrent.
  13058. If it is give, metalink/torrent file is not written to the disk, but
  13059. just is kept in memory. Parsing is occurred on memory.
  13060. * src/MetalinkHelper.{h, cc}
  13061. * src/MetalinkProcessor.h
  13062. * src/Xml2MetalinkProcessor.{h, cc}
  13063. * test/Xml2MetalinkProcessorTest.cc
  13064. * src/DownloadHandlerFactory.{h, cc}
  13065. * test/DownloadHandlerFactoryTest.cc
  13066. * src/PreDownloadHandler.{h, cc}
  13067. * src/OptionHandlerFactory.cc
  13068. * src/DefaultBtContext.{h, cc}
  13069. * test/DefaultBtContextTest.cc
  13070. * src/version_usage.cc
  13071. * src/Metalink2RequestGroup.{h, cc}
  13072. * src/RequestGroup.{h, cc}
  13073. * src/a2functional.h
  13074. * test/a2functionalTest.cc
  13075. * src/MemoryBufferPreDownloadHandler.{h, cc}
  13076. * src/OptionHandlerImpl.h
  13077. * src/prefs.h
  13078. * src/Util.{h, cc}
  13079. * test/UtilTest.cc
  13080. Keep DownloadResult rather than RequestGroup after downloads to reduce
  13081. memory usage.
  13082. * src/RequestGroupMan.{h, cc}
  13083. * src/DownloadEngine.cc
  13084. * src/BtDependency.{h, cc}: Changed the type of dependee from
  13085. WeakHandle to SharedHandle because WeakHandle could be null.
  13086. * src/RequestGroup.{h, cc}
  13087. * src/DownloadEngineFactory.cc
  13088. * src/DownloadResult.h
  13089. Set totalLength after download finished
  13090. * src/UnknownLengthPieceStorage.{h, cc}
  13091. Keep torrent file specified in metalink in memory.
  13092. * src/Metalink2RequestGroup.cc
  13093. * src/BtDependency.cc
  13094. * src/TrueRequestGroupCriteria.h
  13095. Fixed the bug: seekg is used where seekp should be used.
  13096. * src/ByteArrayDiskWriter.cc
  13097. * test/ByteArraydiskWriterTest.cc
  13098. 2007-11-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13099. Fixed syntax error
  13100. * test/SequenceTest.cc
  13101. 2007-11-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13102. Return false if RequestGroup::isPreLocalFileCheckEnabled() == true
  13103. * src/RequestGroupMan.cc (isSameFileBeingDownloaded)
  13104. Return false if RequestGroup::isPreLocalFileCheckEnabled() == true
  13105. * src/RequestGroup.cc (downloadFinishedByFileLength)
  13106. 2007-11-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13107. Added the check to see whether ares_host_callback accepts timeouts
  13108. with c-ares; only c-ares 1.5.0 or newer accepts it.
  13109. * src/NameResolver.{h, cc}
  13110. * m4/libcares.m4
  13111. * configure.ac: Set C++ for language choice.
  13112. 2007-11-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13113. Fixed: compilation fails without c-ares/ares
  13114. * src/DownloadEngine.cc (addCommand): Moved outside #ifdef
  13115. Generate http/ftp commands only when download is incomplete.
  13116. * src/BtFileAllocationEntry.cc (prepareForNextAction)
  13117. 2007-11-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13118. Corrected typo. Examples are removed since they are available in man
  13119. page.
  13120. * src/version_usage.cc
  13121. Updated man page.
  13122. * doc/aria2c.1
  13123. * doc/aria2c.1.txt
  13124. * doc/makeman: Commented out sed command.
  13125. 2007-11-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13126. Throw DlAbortEx when a remote file is not found.
  13127. * src/HttpResponse.cc
  13128. * src/FtpNegotiationCommand.cc
  13129. * src/message.h
  13130. Overwrite an existing file if --allow-overwrite=true is given.
  13131. * src/RequestGroup.cc
  13132. Removed unused functions
  13133. * src/AbstractCommand.h
  13134. 2007-11-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13135. Removed 'extern' from 'extern typedef ...' in src/*.h
  13136. 2007-11-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13137. Updated usage
  13138. * src/version_usage.cc
  13139. 2007-11-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13140. Trim announce URL
  13141. * src/DefaultBtContext.cc
  13142. * test/ShaVisitorTest.cc
  13143. Trim argument s. Give trimed s to exception constructor.
  13144. * src/Util.cc (parseInt)(parseLLInt)
  13145. * test/UtilTest.cc
  13146. 2007-11-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13147. Set precision back to 1.
  13148. * src/ConsoleStatCalc.cc (calculateStat)
  13149. 2007-11-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13150. Replaced strtol with Util::parseInt
  13151. * src/ChunkedEncoding.cc
  13152. * src/HttpConnection.cc
  13153. * src/CookieBoxFactory.cc
  13154. * src/ParameterizedStringParser.cc
  13155. * src/Util.cc
  13156. * test/UtilTest.cc
  13157. * test/OptionHandlerTest.cc
  13158. * src/Request.cc
  13159. Throw exception when empty string is given. The message for exception
  13160. changed.
  13161. * src/Util.cc (parseInt)(parseLLInt)
  13162. * src/message.h
  13163. 2007-11-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13164. Set precision to 2 because share ratio is rounded into 1.0 if precision
  13165. set to 1.
  13166. * src/ConsoleStatCalc.cc (calculateStat)
  13167. 2007-11-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13168. Preallocate non-requested file which is adjacent forward to requested
  13169. file('requested' files means the files given in --select-file option)
  13170. if they share a same piece.
  13171. This fixes long pause in the file system which doesn't support sparse
  13172. files like FAT32 while downloading.
  13173. * src/MultiFileAllocationIterator.{h, cc}
  13174. * test/MultiFileAllocationIteratorTest.cc
  13175. * src/FileEntry.{h, cc}
  13176. Removed unused _option.
  13177. * src/MultiDiskAdaptor.h
  13178. * test/MultiDiskAdaptorTest.cc
  13179. * src/DefaultPieceStorage.cc
  13180. Set the default value of --seed-ratio to 1.0.
  13181. If 0.0 is given, then seeding continues regardless of share ratio.
  13182. * src/version_usage.cc
  13183. * src/option_processing.cc
  13184. * src/BtSetup.cc
  13185. * doc/aria2c.1.txt
  13186. * doc/aria2c.1
  13187. Fixed: Selective download is not working in BitTorrent
  13188. * src/RequestGroup.cc
  13189. Introduced Sequence class. Use this instead of Util::unfoldRange()
  13190. * src/PieceStorage.h
  13191. * test/MockPieceStorage.h
  13192. * src/UnknownLengthPieceStorage.h
  13193. * src/DefaultPieceStorage.{h, cc}
  13194. * src/Metalink2RequestGroup.cc
  13195. * src/RequestGroup.cc
  13196. * src/Sequence.h
  13197. * test/SequenceTest.cc
  13198. * src/IntSequence.h
  13199. * src/message.h
  13200. * src/Util.{h, cc}
  13201. * test/UtilTest.cc
  13202. Added new function 'parse' to catch exception thrown by subclass's
  13203. parseArg
  13204. * src/OptionHandler.h
  13205. * src/OptionParser.cc
  13206. * src/NameMatchOptionHandler.h
  13207. * src/OptionHandlerImpl.h
  13208. * test/OptionHandlerTest.cc
  13209. Added IntegerRangeOptionHandler. Used for --listen-port and
  13210. --select-file. Now --listen-port accepts range of port.
  13211. * src/OptionHandlerFactory.cc
  13212. * src/version_usage.cc
  13213. * src/OptionHandlerImpl.h
  13214. * src/option_processing.cc
  13215. * src/BtSetup.cc
  13216. * src/PeerListenCommand.{h, cc}
  13217. * doc/aria2c.1.txt
  13218. * doc/aria2c.1
  13219. Implemented operator< for Exception class to provide easy way to print
  13220. exception stack trace.
  13221. * src/Exception.{h, cc}
  13222. * src/main.cc
  13223. * src/option_processing.cc
  13224. 2007-11-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13225. * src/version_usage.cc
  13226. (showVersion): Reworked.
  13227. (showUsage): Added examples.
  13228. Removed Hint for total length and file name.
  13229. * src/Metalink2RequestGroup.cc
  13230. * src/RequestGroup.{h, cc}
  13231. * src/HttpResponseCommand.cc
  13232. * src/FtpNegotiationCommand.cc
  13233. Now --follow-torrent and --follow-metalink option work properly.
  13234. * src/RequestGroup.cc
  13235. Updated man page
  13236. * doc/aria2c.1.txt
  13237. * doc/aria2c.1
  13238. 2007-11-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13239. Removed.
  13240. * src/PiecedSegment.{h, cc} (operator==)(operator!=)
  13241. Use Segment::operator==()
  13242. * src/HttpConnection.cc
  13243. * src/Segment.h
  13244. Updated usage
  13245. * src/version_usage.cc
  13246. Added EINTR treatment.
  13247. * src/SocketCore.cc
  13248. * src/AbstractDiskWriter.cc
  13249. Rewritten.
  13250. * src/Util.cc (rangedFileCopy)
  13251. 2007-11-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13252. Fixed typo.
  13253. * src/version_usage.cc
  13254. 2007-11-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13255. Implemented. Now -c option works fine.
  13256. * src/DefaultPieceStorage.cc (markPiecesDone)
  13257. * test/DefaultPieceStorageTest.cc
  13258. Removed.
  13259. * src/SegmentMan.{h, cc}
  13260. (markAllPiecesDone)
  13261. (markPieceDone)
  13262. Synchronized po files with
  13263. https://translations.launchpad.net/aria2/trunk/+pots/aria2c
  13264. * src/fr.po
  13265. * src/ru.po
  13266. * src/de.po
  13267. * src/ja.po
  13268. 2007-11-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13269. Added ifdef and some modifications to compile without BitTorrent,
  13270. Metalink, MessageDigest
  13271. support.
  13272. * src/PieceHashCheckIntegrityEntry.cc
  13273. * src/MetalinkEntry.h
  13274. * src/version_usage.cc
  13275. * src/main.cc
  13276. * src/DownloadEngine.{h, cc}
  13277. * src/Metalink2RequestGroup.cc
  13278. * src/Peer.cc
  13279. * src/RequestGroup.cc
  13280. * src/MetalinkHelper.cc
  13281. * test/DefaultPieceStorageTest.cc
  13282. * test/MetalinkPostDownloadHandlerTest.cc
  13283. * test/Metalink2RequestGroupTest.cc
  13284. Hide TOTAL SPD when all downloads complete.
  13285. * src/ConsoleStatCalc.cc
  13286. Log target system information.
  13287. * src/main.cc
  13288. 2007-11-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13289. Now --metalink-location accepts a comma-deliminated list of locations.
  13290. * src/MetalinkEntry.{h, cc}
  13291. * test/MetalinkEntryTest.cc
  13292. * src/version_usage.cc
  13293. * src/Metalink2RequestGroup.cc
  13294. * src/Xml2MetalinkProcessor.cc
  13295. * test/Xml2MetalinkProcessorTest.cc
  13296. * doc/aria2c.1.txt
  13297. * doc/aria2c.1
  13298. * src/Util.cc (toUpper)(toLower): Rewritten.
  13299. 2007-11-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13300. Added the ability to detect duplicate download entry which is about to
  13301. download the same file other RequestGroup is downloading.
  13302. * src/RequestGroup.cc
  13303. * src/HttpResponseCommand.cc
  13304. * src/FtpNegotiationCommand.cc
  13305. 2007-11-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13306. Recalculates download progress when loading a control file,
  13307. if the piece length of DownloadContext is different from the one saved
  13308. in the control file. Currently in-flight pieces are ignored.
  13309. * src/DefaultBtProgressInfoFile.cc
  13310. * test/DefaultBtProgressInfoFileTest.cc
  13311. * src/Util.{h, cc}
  13312. * test/UtilTest.cc
  13313. 2007-11-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13314. Do not rotate tiers in announce-list.
  13315. * src/DefaultBtAnnounce.{h, cc}: Removed trackerNumTry.
  13316. AnnounceList::allTiersFailed() used instead to detect whether all
  13317. tiers are tried and failed.
  13318. * test/DefaultBtAnnounceTest.cc
  13319. * src/AnnounceList.{h, cc}: If all tiers are tried and failed then
  13320. allTiersFailed() returns true. To reset tier pointer, call resetTier();
  13321. * test/AnnounceListTest.cc
  13322. * src/TrackerWatcherCommand.cc (execute): Removed DlAbortEx catch
  13323. clause. Catch RecoverableException instead of DlRetryEx instead.
  13324. 2007-11-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13325. Implemented checksum validation feature(1 checksum for each file)
  13326. The validation takes place after the download.
  13327. * src/PieceHashCheckIntegrityEntry.{h, cc}: New class.
  13328. * src/IteratableChecksumValidator.{h, cc}: Rewritten.
  13329. * src/CheckIntegrityCommand.cc: Changed log message.
  13330. * src/Metalink2RequestGroup.cc: Set checksum to
  13331. SingleFileDownloadContext.
  13332. * src/StreamCheckIntegrityEntry.{h, cc}: Now derived from
  13333. PieceHashCheckIntegrity class.
  13334. * src/BtCheckIntegrityEntry.{h, cc}: Now derived from
  13335. PieceHashCheckIntegrity class.
  13336. * src/ChecksumCheckIntegrityEntry.{h, cc}: New class.
  13337. * src/IteratableValidator.h: New class.
  13338. * src/message.h
  13339. * src/CheckIntegrityEntry.{h, cc}
  13340. * src/IteratableChunkChecksumValidator.{h, cc}
  13341. * src/SingleFileDownloadContext.h
  13342. * src/DownloadCommand.cc
  13343. --allow-overwrite=true is no longer needed to check file integrity
  13344. before download in BitTorrent download.
  13345. * src/RequestGroup.cc (getInitialCommand)
  13346. Removed RequestGroup from queue when RequestGroup::getInitialCommand()
  13347. throws exception.
  13348. * src/RequestGroupMan.cc (getInitialCommands)
  13349. 2007-11-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13350. urlencode the given url inside Request::parseUrl(...)
  13351. * src/Request.{h, cc}
  13352. * src/Util.{h, cc}
  13353. * test/RequestTest.cc
  13354. Removed #!metalink3! notation support because it is deleted from
  13355. the metalink specification.
  13356. * src/Request.{h, cc}
  13357. * test/RequestTest.cc
  13358. 2007-11-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13359. Don't connect server before checking file integrity at startup, if
  13360. filesize and output file path are known.
  13361. * src/AbstractCommand.cc
  13362. * src/StreamFileAllocationEntry.cc
  13363. * src/Metalink2RequestGroup.cc
  13364. * src/RequestGroup.{h, cc}
  13365. * src/HttpResponseCommand.cc
  13366. * src/FtpNegotiationCommand.cc
  13367. Added DownloadFailureException. If it is thrown, RequestGroup should
  13368. halt.
  13369. * src/AbstractCommand.cc
  13370. * src/DownloadFailureException.h
  13371. * src/RequestGroup.cc
  13372. Catch RecoverableException, instead of DlAbortEx.
  13373. * src/RequestGroupMan.cc
  13374. * src/FillRequestGroupCommand.cc
  13375. * src/MetaFileUtil.cc
  13376. * src/IteratableChunkChecksumValidator.cc
  13377. Now first parameter of MSG_DOWNLOAD_ABORTED is gid(RequestGroup::
  13378. getGID())
  13379. * src/CheckIntegrityCommand.cc
  13380. * src/message.h
  13381. Print gid instead of idx.
  13382. * src/RequestGroupMan.cc
  13383. Removed exception throwers declaration.
  13384. * src/DirectDiskAdaptor.{h, cc}
  13385. * src/SocketCore.{h, cc}
  13386. * src/MultiDiskAdaptor.{h, cc}
  13387. * src/HttpConnection.{h, cc}
  13388. * src/HttpResponse.{h, cc}
  13389. * src/DiskAdaptor.{h, cc}
  13390. * src/CopyDiskAdaptor.{h, cc}
  13391. * src/MultiDiskAdaptor.{h, cc}
  13392. * src/HttpHeaderProcessor.{h, cc}
  13393. * src/AbstractSingleDiskAdaptor.{h, cc}
  13394. * src/Util.{h, cc}
  13395. * test/UtilTest.cc
  13396. * src/DefaultDiskWriter.{h, cc}
  13397. * src/FtpConnection.{h, cc}
  13398. * src/AbstractDiskWriter.{h, cc}
  13399. Removed duplicate code.
  13400. * src/StreamCheckIntegrityEntry.cc
  13401. Removed unnecessary include.
  13402. * src/DiskWriter.h
  13403. Included Exception.h
  13404. * src/option_processing.cc
  13405. Included 2 files and added doc
  13406. * src/TrackerWatcherCommand.cc
  13407. * src/SocketCore.cc (writeData): Fixed send error with GnuTLS.
  13408. 2007-11-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13409. Changed CheckIntegrityEntry interface so that it can define
  13410. the action when all the chunk checksums are valid.
  13411. * src/CheckIntegrityEntry.h
  13412. * src/StreamCheckIntegrityEntry.{h, cc}
  13413. * src/BtCheckIntegrityEntry.{h, cc}: Currently,when all the checksums
  13414. are valid, then aira2 goes to seeding mode. Sometimes it is better
  13415. to exit rather than doing seeding. So, it would be good to toggle this
  13416. behavior.
  13417. * src/CheckIntegrityCommand.cc
  13418. * src/AbstractCommand.cc
  13419. * src/RequestGroup.cc
  13420. 2007-11-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13421. Reflect the download length of in-flight pieces.
  13422. It makes the download length readout more precise.
  13423. * src/DefaultPieceStorage.{h, cc}
  13424. * test/DefaultPieceStorageTest.cc
  13425. * src/a2functional.h
  13426. * test/a2functionalTest.cc
  13427. Lower CPU load when --max-download-limit is used.
  13428. There is up and down in speed indicator when enabling
  13429. http-pipelining but a download goes well. I think the problem is that
  13430. because http-pipelining is enabled, DownloadCommand is created for
  13431. each segment and in its constructor, PeerStat::downloadStart() is
  13432. called. In PeerStat::downloadStart(), speed calculation object is
  13433. reseted, which makes download speed zero.
  13434. * src/DownloadCommand.cc
  13435. Rewritten using accumulate.
  13436. * src/RequestGroupMan.cc (calculateStat)
  13437. Code clearnup.
  13438. * src/FtpNegotiationCommand.cc
  13439. * src/HttpResponseCommand.cc
  13440. 2007-11-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13441. Fixed: Can not resume: aria2 reports download already finished.
  13442. * src/AbstractCommand.{h, cc}
  13443. * src/HttpResponseCommand.cc
  13444. * src/FtpNegotiateCommand.cc
  13445. 2007-11-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13446. Now a file is stored in the directory specified in .metalnk file
  13447. (file[@name]).
  13448. * src/Metalink2RequestGroup.cc
  13449. Create the directory structure when opening the file if it doesn't
  13450. exist.
  13451. * src/AbstractDiskWriter.cc
  13452. * src/Util.{h, cc}
  13453. * src/File.h
  13454. * test/UtilTest.cc
  13455. Removed file name comparison
  13456. * src/Metalink2RequestGroup.cc
  13457. * src/HttpResponseCommand.cc
  13458. Rewritten using Util::mkdirs()
  13459. * src/FileEntry.cc (setupDir)
  13460. * test/FileEntryTest.cc
  13461. Updated doc
  13462. * src/SingleFileDownloadContext.h
  13463. 2007-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13464. Now SleepCommand dispatches nextCommand when halt is requested.
  13465. It avoids a possible long wait after hitting CTRL-C.
  13466. * src/SleepCommand.{h, cc}
  13467. * src/RequestGroupAware.{h, cc}
  13468. 2007-11-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13469. Fixed: the listen port sent to the tracker is wrong. If aria2 fails
  13470. to open listen port, then remove the port number from the tracker
  13471. request.
  13472. * src/DefaultBtAnnounce.cc
  13473. * test/DefaultBtAnnounceTest.cc
  13474. * test/MockPieceStorage.h
  13475. Inject randomizer to DefaultBtAnnounce and DefaultBtContext to make
  13476. them more testable.
  13477. * src/DefaultBtAnnounce.{h, cc}
  13478. * src/DefaultBtContext.{h, cc}
  13479. * src/Util.{h, cc}
  13480. * test/DefaultBtAnnounceTest.cc
  13481. * test/DefaultBtContextTest.cc
  13482. * test/UtilTest.cc
  13483. Added 'B' to upload bytes readout.
  13484. * src/ConsoleStatCalc.cc
  13485. Now the listen port for BitTorrent download is opened when it is
  13486. needed.
  13487. * src/DownloadEngineFactory.cc
  13488. * src/BtSetup.{h, cc}
  13489. * src/PeerListenCommand.{h, cc}
  13490. Now an exception thrown while parsing tracker response is now logged.
  13491. If DlAbortEx is catched, then btAnnounce->resetAnnounce() immediately
  13492. called, which means no retry is made in this case, assuming a tracker
  13493. has a problem.
  13494. * src/TrackerWatcherCommand.cc
  13495. Fixed: downloading a file whose length is unkown fails.
  13496. * src/DownloadCommand.cc
  13497. Simplified prepareForNextSegment()
  13498. * src/DownloadCommand.cc
  13499. Updated
  13500. * po/POTFILES.in
  13501. 2007-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13502. Re-implemented a file listing for Metalink, which was dropped while
  13503. http/ftp/torrent integration was being implemented.
  13504. * src/MetalinkHelper.{h, cc}: New class.
  13505. * test/MetalinkHelperTest.cc
  13506. * src/main.cc
  13507. * src/Metalink2RequestGroup.cc
  13508. 2007-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13509. Added the ability to display the detailed torrent file information.
  13510. Now -S option gives not only a file listing, but also total download
  13511. length, info hash, announce URI, piece length, the number of pieces,
  13512. and mode(single or multi-torrent).
  13513. * src/DefaultBtContext.{h, cc} (operator<<): New function.
  13514. * src/Util.cc (toStream): Show file length in a abbreviated form(like
  13515. KiB)
  13516. * test/UtilTest.cc
  13517. * src/main.cc
  13518. 2007-10-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13519. Added ftp://USER:PASSWD@Servername automatic parsing.
  13520. * src/Request.{h, cc}: Removed AuthResolvers. Added _username and
  13521. _password. Recognize username and password in URI.
  13522. * src/main.cc: Use AuthConfigFactory instead of RequestFactory.
  13523. * src/RequestGroup.cc: Use AuthConfigFactory instead of RequestFactory.
  13524. * src/RequestFactory.{h, cc}: Removed.
  13525. * src/AuthConfigFactory.{h, cc}: New class.
  13526. * src/FtpConnection.cc: Use AuthConfigFactory.
  13527. * src/HttpRequest.cc: Use AuthConfigFactory.
  13528. * test/HttpRequestTest.cc: Updated.
  13529. * test/RequestTest.cc: Updated.
  13530. * test/AuthConfigFactoryTest.cc: New class.
  13531. * test/RequestFactoryTest.cc: Removed.
  13532. 2007-10-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13533. Use RequestGroup::allDownloadFinished() to decide whether the control
  13534. file should be removed or saved.
  13535. * src/RequestGroup.{h, cc} (allDownloadFinished): New function.
  13536. * src/RequestGroupMan.cc (removeStoppedGroup) (save)
  13537. 2007-10-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13538. Use File::renameTo()
  13539. * src/DefaultBtProgressInfoFile.cc
  13540. Added --no-file-allocation-limit command-line option.
  13541. * src/version_usage.cc
  13542. * src/option_processing.cc
  13543. * src/OptionHandlerFactory.cc
  13544. * src/RequestGroup.{h, cc}
  13545. * src/BtCheckIntegrityEntry.cc
  13546. * src/StreamCheckIntegrityEntry.cc
  13547. * src/prefs.h
  13548. * doc/aria2c.1.txt
  13549. * doc/aria2c.1
  13550. Now prealloc is the default value for --file-allocation option.
  13551. * src/version_usage.cc
  13552. * src/option_processing.cc
  13553. * doc/aria2c.1.txt
  13554. * doc/aria2c.1
  13555. Don't URL-encode user-agent.
  13556. * src/HttpRequest.cc
  13557. Updated translations
  13558. * po/LINGUAS: Added nl for Dutch translation.
  13559. * po/nl.po: Added Dutch translation, thanks to A. Bram Neijt.
  13560. * po/de.po: Updated German translation, thanks to Patrick Ruckstuhl.
  13561. * po/POTFILES.in: Updated.
  13562. 2007-10-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13563. Added the ability to recognize url-list in a torrent file.
  13564. The retrieved URLs are attached to the corresponding FileEntry.
  13565. * src/DefaultBtContext.{h, cc}
  13566. * src/FileEntry.{h, cc}
  13567. * test/DefaultBtContextTest.cc
  13568. 2007-10-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13569. * src/ConsoleStatCalc.cc: Let the user know that aria2 is now seeding
  13570. after the download finishes.
  13571. 2007-10-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13572. * src/Piece.{h, cc}: Added SubPiece infrastructure to track down
  13573. the data smaller than block length.
  13574. A block length can be specified by constructor's argument.
  13575. * src/DefaultPieceStorage.{h, cc} (getMissingPiece):
  13576. Get a missing piece in the range of given FileEntry. This function is
  13577. not used in the program yet.
  13578. * src/Util.h: Added some macros.
  13579. 2007-10-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13580. Added HTTP/1.1 keep alive and pipelining support.
  13581. See --enable-http-keep-alive and --enable-http-pipelining option.
  13582. * src/AbstractCommand.{h, cc}: Now it has one-to-many relation to
  13583. Segment.
  13584. * src/HttpDownloadCommand.{h, cc}
  13585. * src/OptionHandlerFactory.cc
  13586. * src/HttpConnection.{h, cc}
  13587. * src/version_usage.cc
  13588. * src/HttpInitiateConnectionCommand.cc
  13589. * src/FtpInitiateConnectionCommand.cc
  13590. * src/Segment.h
  13591. * src/HttpRequestCommand.{h, cc}
  13592. * src/option_processing.cc
  13593. * src/prefs.h
  13594. * src/HttpResponseCommand.cc
  13595. * src/SegmentMan.{h, cc}
  13596. * src/FtpNegotiateCommand.cc
  13597. * src/HttpProxyResponseCommand.cc
  13598. * src/Request.cc
  13599. * src/HttpRequest.cc
  13600. * src/DownloadCommand.cc
  13601. * test/HttpRequestTest.cc
  13602. * test/RequestTest.cc
  13603. 2007-10-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13604. * src/ConsoleCalc.cc (calculateStat): Hide SPD after the download
  13605. finished.
  13606. 2007-10-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13607. * src/Metalink2RequestGroup.cc (generate): Throw exception instead of
  13608. catching it inside the method.
  13609. When no file entry is found in a metalink without querying user
  13610. preferences, throw the exception with the error message that suggests
  13611. metalink file is probably broken.
  13612. * src/RequestGroup.cc (postDownloadProcessing): Catch exception here.
  13613. 2007-10-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13614. Fixed the bug that prevents remote Metalink/Torrent file from begin
  13615. processed.
  13616. * src/RequestGroupMan.cc (removeStoppedGroup)
  13617. Added debug message.
  13618. * src/BtPostDownloadHandler.cc
  13619. * src/MetalinkPostDownloadHandler.cc
  13620. * src/PostDownloadHandler.{h, cc}
  13621. * src/RequestGroup.cc
  13622. 2007-10-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13623. * src/Request.cc (parseUrl): Removed unnecessary slashes around dir.
  13624. 2007-10-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13625. * src/MultiUrlRequestInfo.h: Updated the message shown when program
  13626. stops and there are any unfinished or in-progress downloads.
  13627. Added the legend of "stat".
  13628. 2007-10-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13629. Throw exception when chunck checksum verification fails.
  13630. * src/DownloadCommand.cc (validatePieceHash): New function.
  13631. * src/PiecedSegment.{h, cc} (clear): New function.
  13632. * src/GrowSegment.{h, cc} (clear): New function.
  13633. * src/Segment.h (clear): New function.
  13634. * src/SegmentMan.{h, cc} (validatePieceHash): Removed.
  13635. * test/SegmentTest.cc
  13636. * test/GrowSegmentTest.cc
  13637. 2007-10-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13638. Do not send referer when redirected.
  13639. * src/Request.cc (redirectUrl)
  13640. * test/RequestTest.cc
  13641. * test/HttpRequestTest.cc
  13642. 2007-10-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13643. Implemented BitTorrent/http/ftp integrated download.
  13644. I've rewritten lots of files and now some headers have forward
  13645. class declarations to reduce compile time.
  13646. The implementation is extremely alpha stage, I recommend to use this
  13647. for testing purpose only.
  13648. 2007-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13649. Fixed the compilation error on 64bit platform.
  13650. * test/HttpHeaderProcessorTest.cc
  13651. 2007-09-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13652. Merged Ross's patch that fixes compilation problem in MinGW
  13653. * test/DefaultBtProgressInfoFileTest.cc
  13654. 2007-09-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13655. Updated fr.po by sebone
  13656. * po/fr.po
  13657. Updated man page.
  13658. * doc/aria2c.1.txt
  13659. * Release 0.11.3
  13660. 2007-09-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13661. * src/MetalinkRequestInfo.cc (execute): Fixed BitTorrent download
  13662. failure in Metalink.
  13663. 2007-09-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13664. Automatically save *.aria2 control file of http/ftp download in every
  13665. 60 seconds.
  13666. * src/AutoSaveCommand.{h, cc}: New class.
  13667. * src/TimeBasedCommand.{h, cc}: New class.
  13668. * src/DownloadEngineFactory.cc (newConsoleEngine)
  13669. Disable parameterized URI support by default. Added -P option to
  13670. enable the feature.
  13671. * src/prefs.h: Added PREF_PARAMETERIZED_URI
  13672. * src/OptionHandlerFactory.cc
  13673. * src/main.cc: Also updated usages for -Z and --auto-file-renaming
  13674. Updated Japanese translation.
  13675. * po/ja.po
  13676. Updated man page.
  13677. * doc/aria2c.1.txt
  13678. * Release 0.11.3-rc
  13679. 2007-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13680. Now *.aria2 contorol file is first saved to *.aria2__temp and if
  13681. it is successful, then renamed to *.aria2.
  13682. This prevents *.aria2 file from being truncated or corrupted when
  13683. file system becomes out of space.
  13684. * src/DefaultBtProgressInfoFile.cc (save)
  13685. * src/SegmentMan.cc (save)
  13686. * test/DefaultBtProgressInfoFileTest.cc (testSave): Implemented.
  13687. 2007-09-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13688. Reduced the fragmentation of bitfield in http/ftp download.
  13689. * src/BitfieldMan.cc (getSparseMissingUnusedIndex)
  13690. * test/BitfieldManTest.cc
  13691. 2007-08-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13692. Added the ability to disable segmented download in .metalink.
  13693. aria2 can now recognize 'maxconnections' attribute in 'resources' and
  13694. 'url' tag.
  13695. * src/MetalinkEntry.{h, cc}
  13696. * src/RequestResource.{h, cc}
  13697. * src/MetalinkRequestInfo.cc
  13698. * src/Xml2MetalinkProcessor.cc
  13699. * test/Xml2MetalinkProcessorTest.cc
  13700. 2007-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13701. Added parameterized URI support.
  13702. * src/main.cc: -Z option added.
  13703. * src/OptionHandlerFactory.cc
  13704. * src/prefs.h: Added PREF_FORCE_SEQUENTIAL.
  13705. * src/PStringDatum.h: New class.
  13706. * src/PStringSegment.{h,cc}: New class.
  13707. * src/PStringNumLoop.h: New class.
  13708. * src/PStringSelect.h: New class.
  13709. * src/NumberDecorator.h: New class.
  13710. * src/FixedWidthNumberDecorator.h: New class.
  13711. * src/AlphaNumberDecorator.h: New class.
  13712. * src/PStringVisitor.h: New class.
  13713. * src/PStringBuildVisitor.{h,cc}: New class.
  13714. * src/ParameterizedStringParser.{h,cc}: New class.
  13715. * src/Util.{h,cc}
  13716. (isNumber): New function.
  13717. (isLowercase): New function.
  13718. (isUppercase): New function.
  13719. (alphaToNum): New function.
  13720. * test/ParameterizedStringParserTest.cc: New class.
  13721. * test/AlphaNumberDecoratorTest.cc: New class.
  13722. * test/PStringBuildVisitorTest.cc: New class.
  13723. * test/UtilTest.cc
  13724. (testIsNumber): New function.
  13725. (testIsLowercase): New function.
  13726. (testIsUppercase): New function.
  13727. (testAlphaToNum): New function.
  13728. Added '\n' after the error message
  13729. * src/RequestInfo.h (printDownloadAbortMessage)
  13730. Added auto file renaming feature in http(s)/ftp download.
  13731. * src/main.cc: Added --auto-file-renaming command-line option.
  13732. * src/OptionHandlerFactory.cc
  13733. * src/prefs.h: Added PREF_AUTO_FILE_RENAMING
  13734. * src/RequestGroup.{h, cc}
  13735. (shouldCancelDownloadForSafety): Rewritten
  13736. (tryAutoFileRenaming): New function.
  13737. * src/SegmentMan.{h, cc} (shouldCancelDownloadForSafety): Removed.
  13738. * src/HttpResponseCommand.cc
  13739. (executeInternal): Removed the call to RequestGroupMan::
  13740. isSameFileBeingDownloaded()
  13741. * src/FtpNegotiateCommand.cc
  13742. (recvSize): Removed the call to RequestGroupMan::
  13743. isSameFileBeingDownloaded()
  13744. * test/RequestGroupTest.cc: New class.
  13745. 2007-08-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13746. Merged Ross's patch: Removed setmode(). Use _CRT_fmode to enable binary
  13747. IO.
  13748. * src/DefaultBtProgressInfoFile.cc
  13749. * src/MetaFileUtil.cc
  13750. * src/SimpleLogger.cc
  13751. * src/SegmentMan.cc
  13752. * src/Util.cc
  13753. * src/Platform.cc
  13754. 2007-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13755. * src/Xml2MetalinkProcessor.cc (getPieceHash): Added missing .c_str().
  13756. 2007-08-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13757. Avoid sparse files if possible, because VFAT32 doesn't support it.
  13758. * src/DefaultDiskWriter.cc (initAndOpenFile)
  13759. Fixed the bug that prevents file allocation is not done when
  13760. dowloading multi-torrent file.
  13761. * src/AbstractDiskWriter.cc (openFile)
  13762. Increase the maximum number of -j option from 15 to 45.
  13763. * src/OptionHandlerFactory.cc (createOptionHandlers)
  13764. Added fr.po, thanks to Charles Landemaine.
  13765. * po/fr.po
  13766. * po/LINGUAS
  13767. 2007-08-10 Ross Smith II <aria2spam at smithii dot com>
  13768. gcc 3.4.4 support:
  13769. * src/DefaultBtContext.cc: int32_t -> int
  13770. * src/main.cc: int -> int32_t, int32_t -> int
  13771. * src/messageDigest.h: uint32_t -> unsigned int
  13772. * src/NameResolver.h: int32_t -> int
  13773. * src/PeerConnection.cc: int -> int32_t
  13774. * src/SpeedCalc.cc: int32_t -> int
  13775. * src/TrackerUpdateCommand.h: int -> int32_t
  13776. * src/Util.cc: int32_t -> int
  13777. * src/Util.h: int32_t -> int
  13778. * src/Xml2MetalinkProcessor.cc: int -> uint32_t, int64_t -> uint64_t
  13779. * test/AnnounceListTest.cc: int -> int32_t
  13780. * test/ChunkedEncodingTest.cc: int -> int32_t
  13781. * test/DataTest.cc: int -> int32_t
  13782. * test/DefaultBtRequestFactoryTest.cc: int -> int32_t
  13783. * test/DefaultPeerListProcessorTest.cc: int -> int32_t
  13784. * test/DefaultPieceStorageTest.cc: int -> int32_t
  13785. * test/FeatureConfigTest.cc: int -> int32_t
  13786. * test/MetalinkEntryTest.cc: int -> int32_t
  13787. * test/MockBtRequestFactory.h: int -> int32_t
  13788. * test/MockPieceStorage.h: int -> int32_t
  13789. * test/OptionTest.cc: int -> int32_t
  13790. * test/RequestTest.cc: int -> int32_t
  13791. * test/SegmentManTest.cc: int -> int32_t
  13792. * test/Xml2MetalinkProcessorTest.cc: int -> int32_t
  13793. 2007-08-10 Ross Smith II <aria2spam at smithii dot com>
  13794. Move sleep functions to Util class:
  13795. * src/Util.cc
  13796. (sleep): New function.
  13797. (usleep): New function.
  13798. * src/DownloadCommand.cc: sleep -> Util::sleep
  13799. * test/TimeSeedCriteriaTest.cc: sleep -> Util::sleep
  13800. MinGW build enhancements. The following files are added:
  13801. * src/timegm.{c,h}
  13802. Changes to support the above new files:
  13803. * configure.ac
  13804. * src/Makefile.am
  13805. * src/a2time.h
  13806. * src/Util.cc:
  13807. * src/strptime.c: Added support for %Z option.
  13808. Fixed MinGW non-blocking bug.
  13809. * src/SocketCore.cc
  13810. * src/HttpRequestCommand.cc
  13811. Miscellenous build fixes/enhancements.
  13812. * configure.ac: Added summary report.
  13813. * src/Platform.h: Tweaked #include's.
  13814. * src/a2netcompat.h: Tweaked #include's.
  13815. * src/strptime.h: Tweaked #include's.
  13816. * src/gai_strerror.c: Tweaked #include's.
  13817. * src/gai_strerror.h: _D_GETADDRINFO_H -> _D_GAI_STRERROR_H
  13818. * src/getaddrinfo.h: Moved #ifndef __MINGW32__
  13819. * src/gettimeofday.h: Added HAVE_CONFIG_H
  13820. 2007-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13821. Increased the initial connection size in BitTorrent download to 40.
  13822. * src/BtRuntime.h
  13823. Added the usage message of --peer-id-prefix option.
  13824. * src/main.cc
  13825. * Release 0.11.2
  13826. 2007-08-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13827. MessageDigestHelper is introduced in order to simplify the use
  13828. of message digest. Removed repeated code.
  13829. The message digest algorithm is now specified by string, like "sha1",
  13830. "md5".
  13831. * src/messageDigest.{h, cc}
  13832. * src/MessageDigestHelper.{h, cc}: New class.
  13833. * src/DefaultPieceStorage.cc
  13834. * src/DefaultBtContext.{h, cc}
  13835. (computeFastSet): New function.
  13836. (setInfoHash): Added for unit testing.
  13837. (setNumPieces): Added for unit testing.
  13838. * src/DefaultBtInteractive.cc
  13839. * src/BtPieceMessage.cc
  13840. * src/Peer.cc
  13841. * src/Checksum.h
  13842. * src/message.h
  13843. * src/IteratableChecksumValidator.h
  13844. * src/ChunkChecksumValidator.{h, cc}: Use IteratableChecksumValidator
  13845. inside it.
  13846. * src/SegmentMan.{h, cc}
  13847. (checkIntegrity): Removed.
  13848. * src/IteratableChunkChecksumValidator.{h, cc}
  13849. * src/Util.h
  13850. (sha1Sum): Removed.
  13851. (simpleMessageDigest): Removed.
  13852. (fileChecksum): Removed.
  13853. (computeFastSet): Removed.
  13854. * src/ShaVisitor.cc
  13855. * src/ChunkChecksum.h
  13856. * src/DownloadCommand.cc
  13857. Removed messageDigest virtual functions.
  13858. * src/MultiDiskAdaptor.{h, cc}
  13859. * src/DiskAdaptor.h
  13860. * src/ByteArrayDiskWriter.h
  13861. * src/DiskWriter.h
  13862. * src/DiskAdaptorWriter.h
  13863. * src/AbstractSingleDiskAdaptor.{h, cc}
  13864. * src/AbstractDiskWriter.{h, cc}
  13865. Fixed comilation error when message digest is disabled.
  13866. * src/MetalinkEntry.{h, cc}
  13867. * src/MetalinkRequestInfo.cc
  13868. Removed srandom and random.
  13869. * src/SimpleRandomizer.h
  13870. Added size() virtual function to DiskAdaptor
  13871. * src/MultiDiskAdaptor.h
  13872. Fixed the bug that causes that files are not opened correctly in
  13873. multi-file torrent.
  13874. * src/TorrentRequestInfo.cc
  13875. * src/MultiDiskAdaptor.cc
  13876. Added SHA256 support
  13877. * src/messageDigest.cc
  13878. * src/Xml2MetalinkProcessor.cc
  13879. Show supported message digest algorithms
  13880. * src/main.cc
  13881. Updated contact info.
  13882. * src/main.cc
  13883. Applied Ross's patch
  13884. * src/a2netcompat.h
  13885. * src/main.cc
  13886. Fixed the bug that prevents a remote metalink from not being processed
  13887. even if '-o foo.metalink' is specified.
  13888. * src/MetalinkRequestInfo.cc
  13889. 2007-08-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13890. Merged Dan's patch:
  13891. * src/ByteArrayDiskWriter.cc: ios_base -> ios
  13892. Use va_copy to avoid core dump on amd64:
  13893. * src/SimpleLogger.cc
  13894. Updated contact info.
  13895. * src/main.cc
  13896. Added #ifdef ENABLE_MESSAGE_DIGEST to fix test errors when message
  13897. digest is not available.
  13898. * src/MetalinkEntry.h
  13899. 2007-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13900. Make a2netcompat.h include a2io.h to fix compilation error:
  13901. * src/a2netcompat.h
  13902. * src/SocketCore.cc: Removed include of a2io.h
  13903. * src/Util.cc: Removed include of a2io.h
  13904. Gather time related functions to a2time.h:
  13905. * src/a2time.h: New file.
  13906. * src/DefaultPeerStorage.cc
  13907. * src/SimpleLogger.cc
  13908. * src/Util.{h, cc}
  13909. * src/SimpleRandomizer.h
  13910. * src/TimeA2.{h,cc}
  13911. * src/DownloadCommand.cc
  13912. * src/main.cc
  13913. Removed #ifdef __MINGW32__ since gai_strerror is included in
  13914. a2netcompat.h:
  13915. * src/NameResolver.cc
  13916. Fixed compilation error without openssl:
  13917. * src/SocketCore.{h,cc}: Moved include of openssl/err.h to SocketCore.h
  13918. Added default block to suppress compiler warnings:
  13919. * src/MetalinkRequestInfo.cc (AccumulateNonP2PUrl::operator())
  13920. 2007-07-26 Ross Smith II <aria2spam at smithii dot com>
  13921. MinGW build enhancements. The following files are added:
  13922. * src/gai_strerror.{c,h}
  13923. * src/gettimeofday.{c,h}
  13924. Changes to support the above new files:
  13925. * configure.ac
  13926. * src/Makefile.am
  13927. * src/a2netcompat.h
  13928. * src/TimeA2.cc
  13929. * src/DefaultPeerStorage.cc
  13930. * src/NameResolver.cc: removed mingw_strerror() function.
  13931. * src/SocketCore.cc: removed mingw_strerror() function.
  13932. Miscellaneous MinGW build fixes.
  13933. * src/a2io.h: Use _lseeki64() instead of lseek()
  13934. * src/common.h
  13935. * src/DefaultFileAllocator.cc
  13936. * src/GlowFileAllocator.cc
  13937. * src/main.cc: Moved #include "prefs.h" to quiet compile error.
  13938. * src/NameResolver.cc
  13939. (callback): Changed int32_t to int.
  13940. (resolve): Changed int32_t to int.
  13941. * src/Platform.cc
  13942. * src/Platform.h
  13943. * test/MultiDiskWriterTest.cc
  13944. * test/PeerMessageUtilTest.cc
  13945. * src/localtime_r.c: Add DeleteCriticalSection() and at exit().
  13946. Other enhancements and fixes.
  13947. * src/HttpRequestCommand.cc
  13948. (executeInternal) Use non-blocking socket for HTTPS (MinGW only).
  13949. * src/SocketCore.cc:
  13950. (error): New function to abstract errno/WSAGetLastError().
  13951. (errorMsg): New function to abstract errno/WSAGetLastError().
  13952. (initiateSecureConnection): Added more detailed error reporting.
  13953. * src/SocketCore.h: Added private variable blocking, to allow
  13954. proper handling of OpenSSL psuedo-errors.
  13955. * src/message.h
  13956. (EX_SSL_INIT_FAILURE)
  13957. (EX_SSL_IO_ERROR)
  13958. (EX_SSL_PROTOCOL_ERROR)
  13959. (EX_SSL_UNKNOWN_ERROR)
  13960. (EX_SSL_CONNECT_ERROR)
  13961. (EX_SOCKET_BLOCKING)
  13962. (EX_SOCKET_NONBLOCKING)
  13963. (EX_SOCKET_UNKNOWN_ERROR)
  13964. * src/Util.cc
  13965. (setGlobalSignalHandler): Renamed signal to sig as signal is a
  13966. reserved name.
  13967. (httpGMT): Fixed typo.
  13968. 2007-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13969. Merged Ross's win32 patch(manually)
  13970. In the course of merging, following files are added.
  13971. * src/strptime.{h,c}
  13972. * src/libgen.{h,c}
  13973. * src/inet_aton.{h,c}
  13974. * src/Platform.{h,cc}
  13975. * src/localtime_r.{h,c}
  13976. * src/getaddrinfo.{h,c}
  13977. I've gethered network related things, and put them to following file:
  13978. * src/a2netcompat.h
  13979. Also io related things are put to following file:
  13980. * src/a2io.h
  13981. Changed %lld to %s because mingw32 doesn't recognize %lld.
  13982. * src/message.h
  13983. (MSG_ALLOCATION_COMPLETED)
  13984. (EX_TOO_LARGE_FILE)
  13985. (EX_SIZE_MISMATCH)
  13986. (EX_FILE_OFFSET_OUT_OF_RANGE)
  13987. (EX_INVALID_CHUNK_CHECKSUM)
  13988. (EX_INVALID_RANGE_HEADER)
  13989. * src/FileAllocationCommand.cc
  13990. * src/HttpResponse.cc
  13991. * src/RequestGroup.cc
  13992. * src/MultiDiskAdaptor.cc
  13993. * src/OptionHandlerImpl.h
  13994. * src/HttpResponseCommand.cc
  13995. * src/FtpNegotiateCommand.cc
  13996. * src/IteratableChecksumValidator.cc
  13997. * src/SegmentMan.cc
  13998. * src/ChunkChecksumValidator.cc
  13999. Added Randomizer::getRandomNumber(long int)
  14000. * src/Randomizer.h (getRandomNumber)
  14001. * src/SimpleRandomizer.h (getRandomNumber)
  14002. * src/BitfieldMan.cc (getMissingIndexRandomly): Use this new function.
  14003. * src/Util.cc (randomAlpha): Use this new function.
  14004. 2007-07-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14005. Converted int's to in32_t. long long int's are also converted to
  14006. int64_t
  14007. 2007-07-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14008. Fixed the bug that prevents cookies from being sent to the server
  14009. if the domain of cookie is FQDN and starts with ".".
  14010. * src/Cookie.cc (match)
  14011. To add the ability to change peer id.
  14012. * src/DefaultBtContext.h
  14013. (_peerIdPrefix): New variable
  14014. (setPeerIdPrefix): New function.
  14015. * src/torrentRequestInfo.cc
  14016. (execute): Set the option value of PREF_PEER_ID_PREFIX to
  14017. DefaultBtContext.
  14018. * src/main.cc (main): Added peer-id-prefix command-line option.
  14019. The usage message is not added yet.
  14020. * src/DefaultBtContext.cc
  14021. (generatePeerId): Use _peerIdPrefix.
  14022. * src/prefs.h (PREF_PEER_ID_PREFIX): New definition.
  14023. 2007-07-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14024. Fixed the bug that prevents filename in content-disposition from
  14025. being retrieved when filename is not quoted.
  14026. * src/Util.cc (getContentDispositionFilename)
  14027. Fixed the bug that causes infinate loop and memory leak when file open
  14028. operation failed.
  14029. * src/HttpResponseCommand.cc (handleDefaultEncoding)
  14030. 2007-07-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14031. Fixed the bug that causes segfault when all URIs specified are
  14032. unsupported.
  14033. * src/RequestGroupMan.cc (getInitialCommands)
  14034. Check if RequestGroup::createNextCommand() returns empty list of
  14035. commands.
  14036. * src/RequestGroup.cc (createNextCommand)
  14037. Change log level from info to error so that users can notice that
  14038. an error occurred.
  14039. Fixed the bug that causes segfault when a zero-sized file is
  14040. downloaded.
  14041. * src/BitfieldMan.cc (isAllBitSet)
  14042. Return true if bitfieldLength is 0.
  14043. 2007-07-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14044. * src/main.cc
  14045. (showUsage): Added 3 usage examples for metalink download.
  14046. Replace MetalinkChunkChecksum with ChunkChecksum.
  14047. * src/MetalinkChunkChecksum.h: Removed.
  14048. * src/MetalinkEntry.h: MetalinkChunkChecksum -> ChunkChecksum.
  14049. * src/Xml2MetalinkProcessor.h: MetalinkChunkChecksum -> ChunkChecksum.
  14050. * src/Xml2MetalinkProcessor.cc
  14051. (getPieceHash): Use ChunkChecksum instead of MetalinkChunkChecksum.
  14052. * src/MetalinkRequestInfo.cc (execute)
  14053. * Release 0.11.1
  14054. 2007-07-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14055. Reads URIs from stdin when "-i -" is specified.
  14056. * src/UriFileListParser.h, src/UriFileListParser.cc: Removed.
  14057. * src/UriListParser.h, src/UriListParser.cc: New class.
  14058. * src/StreamUriListParser.h: New class.
  14059. * src/FileUriListParser.h: New class.
  14060. * src/main.cc (main): Use StreamUriListParser and FileUriListParser
  14061. instead of UriFileListParser.
  14062. 2007-07-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14063. Made console readout more readable.
  14064. * src/ConsoleDownloadEngine.cc (sendStatistics)
  14065. 2007-07-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14066. Fix the bug that causes -s option not to work.
  14067. * src/main.cc (main)
  14068. * src/a2algo.h: New file.
  14069. 2007-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14070. Create directory structure specified in metalink file.
  14071. * src/RequestGroup.h, src/RequestGroup.cc
  14072. (initAndOpenFile): Create a directory to store files if it does not
  14073. exist.
  14074. (getDir): New function.
  14075. Added ETA and download speed for an individual file to readout.
  14076. * src/ConsoleDownloadEngine.cc (sendStatistics)
  14077. * src/RequestGroup.h
  14078. (calculateDownloadSpeed): New function.
  14079. 2007-06-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14080. Made -S option work with metalink file and provided selective download
  14081. to metalink.
  14082. * src/MetalinkEntry.h, src/MetalinkEntry.cc
  14083. (filename): Removed.
  14084. (file): New variable.
  14085. (size): Removed.
  14086. (operator=): Updated.
  14087. (getPath): New function.
  14088. (getLength): New function.
  14089. (toFileEntry): New function.
  14090. * src/TorrentRequestInfo.h, src/TorrentRequestInfo.cc
  14091. (execute): Use toStream.
  14092. (showFileEntry): Removed.
  14093. * src/MetalinkRequestInfo.h
  14094. (targetFiles): New variable.
  14095. (setTargetFiles): New variable.
  14096. * src/MetalinkRequestInfo.cc
  14097. (execute): Added the ability to print file information included in
  14098. a metalink file.
  14099. Added selective download mode to metalink.
  14100. * src/main.cc
  14101. (showUsage): Updated to denote that -S and --select-file options are
  14102. applicable to metalink.
  14103. * src/FileEntry.h
  14104. (operator=): New function.
  14105. (getBasename): New function.
  14106. (getDirname): New function.
  14107. * src/Util.h, src/Util.cc
  14108. (toStream): New function.
  14109. * src/Xml2MetalinkProcessor.cc: Updated.
  14110. Made aria2 work with metalink with directory structure.
  14111. * src/File.h, src/File.cc
  14112. (getBasename): New function.
  14113. (getDirname): New function.
  14114. * src/RequestGroup.h, src/RequestGroup.cc
  14115. (_topDir): New variable.
  14116. (setTopDir): New function.
  14117. (initSegmentMan): A directory structure is added to _segmentMan->dir.
  14118. Rewrote HTTP header parsing with stringstream.
  14119. * src/HttpConnection.h, src/HttpConnection.cc
  14120. (HttpRequestEntry): New class.
  14121. (headerBuf): Removed.
  14122. (headerBufLength): Removed.
  14123. (outstandingHttpRequests): Now its element type is
  14124. HttpRequestEntryHandle.
  14125. (findEndOfHeader): Removed.
  14126. (receiveResponse): Rewritten.
  14127. * src/HttpHeaderProcessor.h, src/HttpHeaderProcessor.cc: New class.
  14128. Updated doc for -j option to notice that it should be used with -i
  14129. option.
  14130. * src/main.cc (showUsage)
  14131. Removed unused classes.
  14132. * src/RequestInfo.h
  14133. (FileInfo): Removed.
  14134. (checksum): Removed.
  14135. (fileInfo): Removed.
  14136. (setChecksum): Removed.
  14137. (getChecksum): Removed.
  14138. (getFileInfo): Removed.
  14139. Use ISO units.
  14140. * src/ConsoleDownloadEngine.cc
  14141. * src/TorrentConsoleDownloadEngine.cc
  14142. * src/Util.cc (abbrevSize)
  14143. 2007-06-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14144. Added the default listening ports to the help message.
  14145. * src/main.cc (showUsage)
  14146. 2007-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14147. Reduce the number of calls to gettimeofday to lower CPU load.
  14148. * src/TimeA2.h, src/TimeA2.cc (differenceInMillis): New function.
  14149. * src/SpeedCalc.h, src/SpeedCalc.cc (calculateSpeed): New function.
  14150. * src/Peer.h (calculateUploadSpeed): New function.
  14151. (calculateDownloadSpeed): New function.
  14152. * src/DefaultPeerStorage.cc
  14153. (CalculateStat): Added _now variable.
  14154. In operator(), call Peer::calculateDownloadSpeed(const struct timeval&)
  14155. and Peer::calculateUploadSpeed(const struct timeval&)
  14156. Drop connection if no request or piece message is exchanged in
  14157. a certain interval.
  14158. * src/DefaultBtInteractive.h
  14159. (btRuntime): New variable.
  14160. (inactiveCheckPoint): New variable.
  14161. (checkActiveInteraction): New function.
  14162. * src/DefaultBtInteractive.cc (receiveMessages): Reset timer when
  14163. request or piece message is received.
  14164. (checkActiveInteraction): New function.
  14165. (doInteractionProcessing): Call checkActiveInteraction.
  14166. Fixed the bug that causes remote Metalink and Torrent files are not
  14167. processed.
  14168. * src/MultiUrlRequestInfo.cc (createNextRequestInfo): Fixed the bug.
  14169. 2007-06-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14170. Changed format of log file.
  14171. * src/SimpleLogger.cc
  14172. * Release 0.11.0
  14173. 2007-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14174. * src/AbstractCommand.cc
  14175. (execute): Changed log level of MSG_RESTARTING_DOWNLOAD and
  14176. MSG_MAX_TRY from error to info.
  14177. Added MSG_DOWNLOAD_ABORTED after MSG_MAX_TRY.
  14178. * src/message.h
  14179. (MSG_TORRENT_DOWNLOAD_ABORTED): New definition.
  14180. (MSG_DOWNLOAD_ABORTED): Added %s.
  14181. (MSG_RESTARTING_DOWNLOAD): Added %s.
  14182. (MSG_DOWNLOAD_ALREADY_COMPLETED): Updated.
  14183. * src/PeerAbstractCommand.cc
  14184. (execute): MSG_DOWNLOAD_ABORTED -> MSG_TORRENT_DOWNLOAD_ABORTED
  14185. * src/Request.h
  14186. (cookieBox): Made ShardHandle.
  14187. * src/RequestGroup.h, src/RequestGroup.cc
  14188. (createNextCommandWithAdj): New function.
  14189. * src/FileAllocationCommand.cc
  14190. (executeInternal): Use createNextCommandWithAdj().
  14191. * src/CheckIntegrityCommand.cc
  14192. (executeInternal): Use createNextCommandWithAdj().
  14193. Added --load-cookies command-option.
  14194. * src/OptionHandlerFactory.cc
  14195. (createOptionHandlers): Added PREF_LOAD_COOKIES.
  14196. * src/CookieBox.h, src/CookieBox.cc: Rwritten using CookieParser.
  14197. Now aria2 can handle cookie's expiration date.
  14198. * src/Cookie.h (expires): Changed its type to time_t.
  14199. * src/main.cc: Added --load-cookies command-line option.
  14200. * src/prefs.h (PREF_LOAD_COOKIES): New definition.
  14201. * src/Util.h, src/Util.cc (httpGMT): New function.
  14202. * src/Request.cc (Request): Initialize cookieBox using
  14203. CookieBoxFactory.
  14204. * src/CookieBoxFactory.h, src/CookieBoxFactory.cc: New class.
  14205. * src/CookieParser.h, src/CookieParser.cc: New class.
  14206. * src/main.cc: Chagned the default value of --metalink-servers to 5.
  14207. * src/HttpResponseCommand.cc
  14208. (handleOtherEncoding): Call RequestGroup::shouldCancelDownloadForSafety
  14209. * src/MetalinkRequestInfo.cc: Now -s option is ignored in Metalink
  14210. download.
  14211. 2007-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14212. Added -j command-line option.
  14213. * src/OptionHandlerFactory.cc (createOptionHandlers)
  14214. * src/main.cc
  14215. * src/ByteArrayDiskWriter.h, src/ByteArrayDiskWriter.cc
  14216. Rewritten using stringstream.
  14217. * src/TrackerUpdateCommand.h, src/TrackerUpdateCommand.cc
  14218. Rewritten using stringstream.
  14219. 2007-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14220. Make download size shown in MB, KB.
  14221. * src/ConsoleDownloadEngine.h (sendStatistics)
  14222. * src/Util.h, srcUtil.cc (abbrevSize): New function.
  14223. 2007-06-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14224. Accept incoming connections if download rate is low.
  14225. * src/PeerListenCommand.h, src/PeerListenCommand.cc:
  14226. (_lowestSpeedLimit): New variable.
  14227. (setLowestSpeedLimit): New function.
  14228. (execute): Accept incoming connections if download rate is low.
  14229. MAX_PEERS is ignored in this case.
  14230. Disable PREF_OUT in multiple concurrent download:
  14231. * src/RequestGroup.h, src/RequestGroup.cc
  14232. (setUserDefinedFilename): New function.
  14233. * src/DownloadEngineFactory.cc
  14234. (newConsoleEngine): Do not set PREF_OUT to requestGroup in multiple
  14235. concurrent download.
  14236. * src/DefaultSegmentManFactory.cc
  14237. (createNewInstance): Comment out the line: segmentMan->ufilename = ...
  14238. 2007-06-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14239. RequestGroup::getNextCommand() was renamed to createNextCommand().
  14240. Added its overloaded method.
  14241. * src/RequestGroup.h
  14242. (_numConcurrentCommand): New variable.
  14243. (setNumConcurrentCommand): New function.
  14244. * src/RequestGroup.cc
  14245. Abort download if same file is being downloaded concurrently.
  14246. * src/RequestGroup.h, src/RequestGroupMan.cc
  14247. (isSameFileBeingDownloaded): New function.
  14248. * src/HttpResponseCommand.cc (executeInternal)
  14249. * src/FtpNegotiateCommand.cc (recvSize)
  14250. * src/message.h (EX_DUPLICATE_FILE_DOWNLOAD): New definition.
  14251. * main.cc: Added help message for -i option.
  14252. 2007-06-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14253. * src/FileAllocationCommand.cc: Derived from RealtimeCommand.
  14254. * src/CheckIntegrityCommand.cc: Derived from RealtimeCommand.
  14255. * src/MetalinkEntry.h
  14256. (checksum): Changed to ChecksumHandle
  14257. * src/MetalinkRequestInfo.cc
  14258. (checksum): Changed to ChecksumHandle
  14259. * src/File.cc
  14260. (mkdirs): OPEN_MODE -> DIR_OPEN_MODE
  14261. * src/common.h
  14262. (DIR_OPEN_MODE): New definition
  14263. * src/RequestGroup.cc
  14264. (prepareForNextAction): Added an argument.
  14265. * src/message.h
  14266. (MSG_GOOD_CHECKSUM): New definition
  14267. (MSG_BAD_CHECKSUM): New definition
  14268. * src/HttpResponseCommand.cc
  14269. (handleDefaultEncoding): Continue download sequence in new
  14270. non-segmented download.
  14271. * src/FileAllocationEntry.h
  14272. (_nextDownloadCommand): New variable.
  14273. * src/DownloadCommand.cc
  14274. (prepareForNextSegment): Create ChecksumCommand if checksum is
  14275. available.
  14276. * src/RealtimeCommand.h, src/RealtimeCommand.cc: New class.
  14277. * src/IteratableChecksumValidator.h,
  14278. src/IteratableChecksumValidator.cc: New class.
  14279. * src/ChecksumCommand.h, src/ChecksumCommand.cc: New class.
  14280. 2007-05-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14281. Change file mode to 666:
  14282. * src/common.h (OPEN_MODE): New definition.
  14283. * src/File.cc
  14284. * src/Util.cc
  14285. * src/Directry.cc
  14286. * src/AbstractDiskWriter.cc
  14287. Change the level of log message "download aborted" to debug:
  14288. * src/PeerAbstractCommand.cc (execute)
  14289. * src/RequestGroup.h (RequestGroup): Initialized _hintTotalLength to 0.
  14290. * src/TrackerWatcherCommand.cc
  14291. (createCommand): Sleep some seconds after request failed.
  14292. If tracker request fails more than value of PREF_TRACKER_MAX_TRIES,
  14293. then abort tracker request.
  14294. 2007-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14295. * Added the simultaneous download feature.
  14296. * src/main.cc: Print "Exception caught: " when exception is caught.
  14297. Use CUIDCounter instead of BtRuntime::getNewCuid():
  14298. * src/ActivePeerConnectionCommand.cc
  14299. * src/PeerInteractionCommand.cc
  14300. * src/BtRuntime.h
  14301. (cuidCounter): Removed.
  14302. (getNewCuid): Removed.
  14303. * src/DownloadEngineFactory.cc
  14304. * src/PeerListenCommand.cc
  14305. * src/TrackerUpdateCommand.cc
  14306. * src/PeerInitiateConnectionCommand.cc
  14307. 2007-04-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14308. * src/PeerAbstractCommand.cc
  14309. (onAbort): Call PeerStorage::returnPeer()
  14310. * src/DefaultPeerStorage.h, src/DefaultPeerStorage.cc
  14311. (incomingPeers): New variable.
  14312. (addIncomingPeer): New function.
  14313. (returnPeer): New function.
  14314. (onErasingPeer): New function.
  14315. (addPeer): push_back -> push_front
  14316. (getActivePeers): Rewritten.
  14317. (calculateStat): Rewritten.
  14318. * src/PeerStorage.h
  14319. (TransferStat::copy): New function.
  14320. (TransferStat::TransferStat): New function.
  14321. (TransferStat::operator=): New function.
  14322. (addIncomingPeer): New function.
  14323. (returnPeer): New function.
  14324. * src/PeerListenCommand.cc
  14325. (execute): Use PeerStorage::addIncomingPeer() instead of
  14326. Peer::addPeer().
  14327. 2007-04-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14328. Connect to a peer actively when download speed is lower than specified
  14329. speed in torrent download:
  14330. * src/ActivePeerConnectionCommand.h: New class.
  14331. 2007-03-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14332. * src/HttpRequest.cc (createRequest): url-encode user-agent
  14333. * src/main.cc: Fixed the bug that prevents download if .netrc
  14334. doesn't exist.
  14335. 2007-03-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14336. To cache resolved hostname:
  14337. * src/AbstractCommand.h, src/AbstractCommand.cc
  14338. (resolveHostname): Put outside #ifdef ENABLE_ASYNC_DNS clause.
  14339. Added dns cache.
  14340. * src/FtpInitiateConnectionCommand.cc
  14341. (executeInternal): Removed #ifdef ENABLE_ASYNC_DNS.
  14342. * src/NameResolver.h, src/NameResolver.cc: Added synchronized
  14343. NameResolver working without ares.
  14344. * src/TorrentRequestInfo.cc
  14345. (execute): Don't cache dns in torrent download.
  14346. * src/HttpInitiateConnectionCommand.cc
  14347. (executeInternal): Removed #ifdef ENABLE_ASYNC_DNS
  14348. * src/DNSCache.h: New class.
  14349. * src/UrlRequestInfo.cc
  14350. (execute): Use dns cache.
  14351. In http request, suppress port number in http request header if port
  14352. is 80 or 443:
  14353. * src/HttpRequest.cc (getHostText): Suppress port number in http
  14354. request header if port is 80 or 443.
  14355. (createProxyRequest): Allways send port number.
  14356. 2007-03-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14357. To add the command-line option which disables netrc support:
  14358. * src/OptionHandlerFactory.cc
  14359. (createOptionHandlers): Added PREF_NO_NETRC.
  14360. * src/main.cc: Added -n option.
  14361. * src/prefs.h (PREF_NO_NETRC): New definition.
  14362. * src/RequestFactory.cc: Do not use netrc in ftp if PREF_NO_NETRC is
  14363. V_TRUE.
  14364. Note that netrc is not used in http, http proxy even if PREF_NO_NETRC
  14365. is V_FALSE. This may get configurable in the future release.
  14366. To clear peer's error status by time basis:
  14367. * src/PeerAbstractCommand.cc
  14368. (onAbort): Call Peer::startBadCondition().
  14369. * src/Peer.h, src/Peer.cc
  14370. (error): Removed.
  14371. (_badConditionStartTime): New variable.
  14372. (_badConditionInterval): New variable. Initialized to 10 seconds.
  14373. (startBadCondition): New function.
  14374. (isGood): New function.
  14375. * src/DefaultPeerStorage.cc
  14376. (addPeer): Use Peer::isGood().
  14377. (FindFinePeer): Use Peer::isGood().
  14378. Always include port number in http request header:
  14379. * src/HttpRequest.cc (getHostText): Always include port number in
  14380. http request header.
  14381. 2007-03-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14382. To the ability to read options from a config file:
  14383. * src/main.cc: Command-line parameter validation is delegated to
  14384. OptionHandler class.
  14385. * src/OptionHandlerFactory.h, src/OptionHandlerFactory.cc: New class.
  14386. * src/Option.h, src/Option.cc (clear): New function.
  14387. * src/OptionParser.h, src/OptionParser.cc: New class.
  14388. * src/OptionHandler.h: New class.
  14389. * src/NameMatchOptionHandler.h: New class.
  14390. * src/OptionHandlerImpl.h: New classes.
  14391. * src/prefs.h: '_' -> '-'
  14392. (FTP_PASV_ENABLED): Renamed to FTP_PASV.
  14393. (FTP_PASV): New definition.
  14394. * src/Util.h, src/Util.cc (getRealSize): New function.
  14395. To disable netrc support if .netrc file does not have correct
  14396. permissions:
  14397. * src/File.h, src/File.cc (mode): New function.
  14398. To prevent confidential information to be logged:
  14399. * src/HttpConnection.h, src/HttpConnection.cc
  14400. (eraseConfidentialInfo): New function.
  14401. (sendRequest): Call eraseConfidentialInfo().
  14402. (sendProxyRequest): Call eraseConfidentialInfo().
  14403. * src/main.cc: Validate permissions of .netrc file.
  14404. To add --user-agent command-line option:
  14405. * src/main.cc: Added new command line option: --user-agent
  14406. * src/prefs.h (PREF_USER_AGENT): New definition.
  14407. * src/HttpRequestCommand.cc (executeInternal): Set user-agent option
  14408. parameter to HttpRequest object.
  14409. * src/AbstractProxyRequestCommand.cc
  14410. (executeInternal): Set user-agent option parameter to HttpRequest
  14411. object.
  14412. Marged the patches from Dan Fandrich.
  14413. 2007-03-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14414. Use filename and size from Metalink file instead of sending HEAD
  14415. request:
  14416. * src/UrlRequestInfo.h
  14417. (_filename): New variable.
  14418. (_totalLength): New variable.
  14419. (setTotalLength): New variable.
  14420. (setFilename): New variable.
  14421. * src/MetalinkRequestInfo.cc
  14422. (execute): Set filename and size to UrlRequestInfo
  14423. * src/UrlRequestInfo.cc
  14424. (execute): Use filename and size from Metalink instead of seding
  14425. HEAD request to servers.
  14426. 2007-03-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14427. To add the ability to resume downloading a partially downloaded file
  14428. which is downloaded from the beginning:
  14429. * src/FileAllocator.h: Made abstract class. New DefaultFileAllocator
  14430. takes this role.
  14431. * src/main.cc: Added -c option.
  14432. * src/BitfieldMan.h, src/BitfieldMan.cc (setBitRange): New function.
  14433. * src/DiskWriter.h (openExistingFile): Added totalLength argument.
  14434. * src/prefs.h (PREF_CONTINUE): New definition.
  14435. * src/SegmentMan.h, src/SegmentMan.cc (markPieceDone): New function.
  14436. * src/DefaultDiskWriter.cc
  14437. (createNewDiskWriter): Add GlowFileAllocator to the new object.
  14438. * src/AbstractDiskWriter.h
  14439. (glowFileAllocator): New variable.
  14440. * src/AbstractDiskWriter.cc
  14441. (openExistingFile): Now preallocate file space from the end of the
  14442. existing file if totalLength argument is specified and grater than 0.
  14443. * src/UrlRequestInfo.cc: If -c option is specified and the file
  14444. to download exists in local, continue the download of the file.
  14445. --allow-overwrite=true is assumed in this context.
  14446. * src/DefaultFileAllocator.h, src/DefaultFileAllocator.cc: New class.
  14447. * src/GlowFileAllocator.h, src/GlowFileAllocator.cc: New class.
  14448. Throw exception if --check-integrity=true is specified but chunk
  14449. checksums are not provided:
  14450. * src/UrlRequestInfo.cc
  14451. Do not print URLs to stdout:
  14452. * src/UrlRequestInfo.cc
  14453. 2007-03-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14454. * src/Request.h: Use AuthResolver to get authentication information.
  14455. * src/main.cc: Made RequestFactory a singleton object. Netrc is now
  14456. set to RequestFactory object.
  14457. * src/AuthConfigItem.h, src/AuthConfigItem.cc: Removed.
  14458. * src/AuthConfig.h, src/AuthConfig.cc: Rewritten.
  14459. * src/TrackerWatcherComand.cc: Use RequestFactorySingletonHolder to
  14460. create Request object.
  14461. 2007-03-19 Tatsuhiro Tsujikawa <tujikawa at valkyrie dot rednoah com>
  14462. To integrate Netrc into exsiting classes:
  14463. * src/Request.h
  14464. (_userDefinedAuthConfig): New variable.
  14465. (findNetrcAuthenticator): New function.
  14466. (segment): Removed.
  14467. (setUserDefinedAuthConfig): New function.
  14468. (resolveHttpAuthConfigItem): New function.
  14469. (resolveFtpAuthConfigItem): New function.
  14470. (resolveHttpProxyAuthConfigItem): New function.
  14471. * src/HttpRequest.h
  14472. (authConfig): Removed.
  14473. (proxyAuthConfig): Removed.
  14474. (setAuthConfig): Removed.
  14475. (setProxyAuthConfig): Removed.
  14476. * src/UrlRequest.h
  14477. (getHeadResult): Added a parameter: authConfigHandle
  14478. * src/common.h
  14479. (SingletonHolder.h): New include.
  14480. * src/main.cc
  14481. (Netrc.h): New include.
  14482. (main): Removed initial values of PREF_FTP_USER, PREF_FTP_PASSWD.
  14483. Added initial value of PREF_NETRC_PATH.
  14484. Added the initialization of netrc.
  14485. * src/AuthConfig.h: New class.
  14486. * src/prefs.h
  14487. (PREF_NETRC_PATH): New definition.
  14488. * src/HttpAuthConfig.h: Removed.
  14489. * src/Netrc.cc
  14490. (getRequiredNextToken): New function.
  14491. (skipMacdef): New function.
  14492. (parse): Rewritten.
  14493. * src/Netrc.h
  14494. (getRequiredNextToken): New function.
  14495. (skipMacdef): New function.
  14496. * src/Util.h, src/Util.cc
  14497. (getHomeDir): New function.
  14498. * src/TrackerWatcherComand.cc
  14499. (createRequestCommand): Use AuthConfig.
  14500. * src/FtpConnection.cc
  14501. (sendUser): Use Request::resolveFtpAuthConfigItem().
  14502. (sendPass): Use Request::resolveFtpAuthConfigItem().
  14503. * src/Request.cc
  14504. (findNetrcAuthenticator): New function.
  14505. (resolveHttpAuthConfigItem): New function.
  14506. (resolveFtpAuthConfigItem): New function.
  14507. (resolveHttpProxyAuthConfigItem): New function.
  14508. * src/UrlRequestInfo.cc: Use AuthConfig.
  14509. * src/HttpRequest.cc
  14510. (createRequest): Use authConfig.
  14511. (getProxyAuthString): Use authConfig.
  14512. (configure): Removed PREF_HTTP_USER, PREF_HTTP_PASSWD,
  14513. PREF_HTTP_PROXY_USER, PREF_HTTP_PROXY_PASSWD.
  14514. 2007-03-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14515. To reduce overhead to find commands whose socket is either
  14516. readable or writable in the download engine loop:
  14517. * src/Command.h, src/Command.cc
  14518. (STATUS): New enum.
  14519. (status): New variable.
  14520. (statusMatch): New function.
  14521. (setStatusActive): New function.
  14522. (setStatusInactive): New function.
  14523. * src/DownloadEngine.h, src/DownloadEngine.cc
  14524. (executeCommand): New function.
  14525. (run): Simplified.
  14526. (waitData): Call Command::setStatusActive() when command's socket is
  14527. readable or writable.
  14528. 2007-03-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14529. To handle Segment as SegmentHandle:
  14530. * src/AbstractCommand.cc (execute): Rewritten.
  14531. * src/SegmentMan.h: Segment -> SegmentHandle
  14532. Introducded HttpResponse class, HttpRequest class to improve code
  14533. extensiveness and make it clear:
  14534. * src/HttpDownloadCommand.cc: transfer encoders are now managed by
  14535. HttpResponse class.
  14536. * src/HttpRequest.h, src/HttpRequest.cc: New class.
  14537. * src/HttpResponse.h, src/HttpResponse.cc: New class.
  14538. * src/HttpConnection.cc: Contruction of http request were moved to
  14539. HttpRequest class.
  14540. * src/HttpResponseCommand.h, src/HttpResponseCommand.cc: Refactored.
  14541. * src/HttpRequestCommand.cc (executeInternal): Rewritten.
  14542. * src/HttpAuthConfig.h: New class.
  14543. * src/Range.h: New class.
  14544. To make FtpTunnel{Request, Response}Command and
  14545. HttpProxy{Request, Response}Command derived from
  14546. AbstractProxy{Request, Response}Command:
  14547. * src/FtpTunnelResponseCommand.h, src/FtpTunnelResponseCommand.cc:
  14548. Derived from AbstractProxyRequestCommand class.
  14549. * src/FtpTunnelRequestCommand.h, src/FtpTunnelRequestCommand.cc:
  14550. Derived from AbstractProxyResponseCommand class.
  14551. * src/HttpProxyRequestCommand.h, src/HttpProxyRequestCommand.cc:
  14552. Derived from AbstractProxyRequestCommand class.
  14553. * src/HttpProxyResponseCommand.h, src/HttpProxyResponseCommand.cc:
  14554. Derived from AbstractProxyResponseCommand class.
  14555. * src/AbstractProxyRequestCommand.h, src/AbstractProxyRequestCommand.cc
  14556. : New class.
  14557. * src/AbstractProxyResponseCommand.h,
  14558. src/AbstractProxyResponseCommand.cc: New class.
  14559. To add netrc support:
  14560. * src/Netrc.h, src/Netrc.cc: New class.
  14561. * src/Util.h, src/Util.cc (split): New function.
  14562. * src/HttpHeader.cc (getRange): Fixed so that it inspects
  14563. "Content-Range" header instead of "Range" header.
  14564. * src/HttpHeader.h
  14565. (getStatus): Removed.
  14566. (setStatus): Removed.
  14567. * src/Segment.h
  14568. (getPositionToWrite): New function.
  14569. 2007-03-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14570. * src/HttpHeader.h
  14571. (Range.h): New include.
  14572. (status): New variable.
  14573. (HttpHeader): Initialized status with 0.
  14574. (getStatus): New function.
  14575. (setStatus): New function.
  14576. (getRange): New function.
  14577. (HttpHeaderHandle): New function.
  14578. * src/HttpHeader.cc
  14579. (getRange): New function.
  14580. * src/Request.h
  14581. (RequestWeakHandle): New definition.
  14582. * src/HttpConnection.h
  14583. (HttpConnectionHandle): New type definition.
  14584. * src/HttpConnection.cc
  14585. (receiveResponse): Set HTTP status to headers.
  14586. * src/main.cc
  14587. (showUsage): Fixed typo.
  14588. * src/Segment.h
  14589. (SegmentHandle): New type definition.
  14590. * src/BitfieldMan.h
  14591. (getMissingUnusedLength): New function.
  14592. * src/BitfieldMan.cc
  14593. (getMissingUnusedLength): New function.
  14594. 2007-02-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14595. To fix static initialization order problem:
  14596. * src/BitfieldManFactory.h
  14597. (defaultRandomizer): Removed.
  14598. (factory): New variable.
  14599. (getNewFactory): Removed.
  14600. (getFactoryInstance): New function.
  14601. (setDefaultRandomizer): Rewritten.
  14602. (getDefaultRandomizer): Rewritten.
  14603. * src/BitfieldManFactory.cc
  14604. (defaultRandomizer): Removed.
  14605. (factory): Initialized to 0.
  14606. (BitfieldManFactory): Initialized randomizer to 0.
  14607. * src/DefaultPieceStorage.cc
  14608. (DefaultPieceStorage): getNewFactory() -> getFactoryInstance()
  14609. * src/Peer.cc
  14610. (Peer): getNewFactory() -> getFactoryInstance()
  14611. * src/SegmentMan.cc
  14612. (initBitfield): getNewFactory() -> getFactoryInstance()
  14613. * src/Piece.cc
  14614. (Piece): getNewFactory() -> getFactoryInstance()
  14615. 2007-02-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14616. To fix the bug that causes crash on Max OS X:
  14617. * src/SimpleRandomizer.h
  14618. (getInstance): Create new instance if the static variable is null.
  14619. * src/SimpleRandomizer.cc
  14620. (randomizer): Initialized to 0.
  14621. * src/BitfieldManFactory.h
  14622. (getNewFactory): Removed the call to setRandomizer().
  14623. To fix the miscalculation of the range of checksum:
  14624. * src/BitfieldMan.h
  14625. (isBitSetOffsetRange): New function.
  14626. * src/BitfieldMan.cc
  14627. (isBitSetOffsetRange): New function.
  14628. * src/SegmentMan.cc
  14629. (tryChunkChecksumValidation): Use BitfieldMan::isBitSetOffsetRange().
  14630. Use bitfield->getBlockLength() instead of segment.segmentLength.
  14631. * Release 0.10.1
  14632. 2007-02-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14633. To lower CPU usage in BitTorrent download when --max-upload-limit
  14634. command-line option specified:
  14635. * src/DefaultBtMessageDispatcher.cc
  14636. (sendMessages): Calculate uploading speed only when current message
  14637. is uploading data and is not sent yet.
  14638. * src/DefaultPeerStorage.h
  14639. (MAX_PEER_LIST_SIZE): 100 -> 60, because 60 is well enough.
  14640. * src/HttpResponseCommand.cc
  14641. (handleDefaultEncoding): Added the cast to int32_t to itos.
  14642. This fixes compile error in Soralis 10.
  14643. 2007-01-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14644. To fix segfault in Metalink download:
  14645. * src/UrlRequestInfo.h
  14646. (filename): Removed.
  14647. (totalLength): Removed.
  14648. (setTotalLength): Removed.
  14649. (setFilename): Removed.
  14650. * src/MetalinkRequestInfo.cc
  14651. (execute): Do not set filename and totalLength to reqInfo.
  14652. Set chunk checksum to reqInfo if it is not null.
  14653. * src/HttpResponseCommand.cc
  14654. (executeInternal): Fixed filename in log.
  14655. (handleDefaultEncoding): Removed the call to initBitfield() and
  14656. markAllPiecesDone().
  14657. (handleOtherEncoding): Added HEAD method handling.
  14658. * src/FtpNegotiateCommand.cc
  14659. (executeInternal): Added SEQ_HEAD_OK handling.
  14660. (recvSize): In HEAD handling, set sequence to SEQ_HEAD_OK and
  14661. return false.
  14662. * src/FtpNegotiateCommand.h
  14663. (SEQ_HEAD_OK): New definition.
  14664. * src/SegmentMan.cc
  14665. (initBitfield): Delete bitfield.
  14666. (isChunkChecksumValidationReady): Fixed the condition.
  14667. * src/UrlRequestInfo.cc: Fixed so that Metalink and Torrent download
  14668. works fine.
  14669. 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14670. * src/Xml2MetalinkProcessor.h
  14671. (xpathExists): New function.
  14672. * src/Xml2MetalinkProcessor.cc
  14673. (xpathExists): New function.
  14674. Not to send HEAD request if filename and size are available in Metalink
  14675. file:
  14676. * src/UrlRequestInfo.h
  14677. (filename): New variable.
  14678. (totalLength): New variable.
  14679. (setTotalLength): New function.
  14680. (setFilename): New function.
  14681. * src/MetalinkRequestInfo.cc
  14682. (execute): Set filename and size to UrlRequestInfo.
  14683. * src/MetalinkEntry.cc
  14684. (MetalinkEntry): Initialize size with 0.
  14685. * src/UrlRequestInfo.cc
  14686. (execute): Set filename and size to SegmentMan.
  14687. Not to download rest of the files after selected files are downloaded
  14688. in BitTorrent:
  14689. * src/PieceStorage.h
  14690. (allDownloadFinished): New function.
  14691. * src/DefaultBtAnnounce.cc
  14692. (isCompleteAnnounceReady): Use allDownloadFinished instead of
  14693. downloadFinished.
  14694. (getAnnounceUrl): Use allDownloadFinished instead of downloadFinished.
  14695. * src/DefaultPieceStorage.cc
  14696. (completePiece): Use allDownloadFinished instead of downloadFinished.
  14697. Commented out the call to finishSelectiveDownloadingMode().
  14698. (downloadFinished): Call isFilteredAllBitSet() instead of
  14699. isAllBitSet().
  14700. (allDownloadFinished): New function.
  14701. * src/DefaultBtInteractive.cc
  14702. (addBitfieldMessageToQueue): Call allDownloadFinished() instead of
  14703. downloadFinished().
  14704. (checkHave): Call allDownloadFinished() instead of downloadFinished().
  14705. * src/TorrentDownloadEngine.cc
  14706. (onEndOfRun): Call allDownloadFinished() instead of downloadFinished().
  14707. * src/BitfieldMan.h
  14708. (isFilteredAllBitSet): New function.
  14709. * src/ShareRatioSeedCriteria.h
  14710. (PieceStorage.h): New include.
  14711. (pieceStorage): New variable.
  14712. (evaluate):
  14713. btContext->getTotalLength() -> pieceStorage->getCompletedLength()
  14714. * src/BitfieldMan.cc
  14715. (isFilteredAllBitSet): New function.
  14716. (isAllBitSet): Filter is not took into account.
  14717. Rename --force-truncate as --allow-overwrite:
  14718. * src/TorrentRequestInfo.cc
  14719. (execute): PREF_FORCE_TRUNCATE -> PREF_ALLOW_OVERWRITE
  14720. * src/main.cc
  14721. (showUsage): --force-truncate -> --allow-overwrite
  14722. * src/message.h
  14723. (EX_FILE_ALREADY_EXISTS): --force-truncate -> --allow-overwrite
  14724. * src/prefs.h
  14725. (PREF_FORCE_TRUNCATE): Removed.
  14726. (PREF_ALLOW_OVERWRITE): New definition.
  14727. * src/SegmentMan.cc
  14728. (shouldCancelDownloadForSafety): --force-truncate -> --allow-overwrite
  14729. * src/MetalinkRequestInfo.cc
  14730. (execute): Queueing message are now logged in info level.
  14731. * src/common.h
  14732. (LONG_LONG_MAX): Removed.
  14733. (LONG_LONG_MIN): Removed.
  14734. * src/HttpResponseCommand.cc
  14735. (handleDefaultEncoding): LONG_LONG_MAX -> INT64_MAX
  14736. * src/FtpNegotiateCommand.cc
  14737. (recvSize): LONG_LONG_MAX -> INT64_MAX
  14738. * src/main.cc
  14739. (showUsage): Added --check-integriy and --realtime-chunk-checksum
  14740. command-line option.
  14741. (main): Added --check-integriy and --realtime-chunk-checksum
  14742. command-line option.
  14743. --force-truncate -> --allow-overwrite
  14744. Set initial value of --check-integrity option to false.
  14745. Don't show usage when error occurs while persing command-line options.
  14746. Removed deprecated --upload-limit option.
  14747. 2007-01-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14748. * src/message.h: Added EX_INVALID_PAYLOAD_SIZE and
  14749. EX_INVALID_BT_MESSAGE_ID. Following source files affected.
  14750. * src/BtAllowedFastMessage.cc:
  14751. * src/BtBitfieldMessage.cc
  14752. * src/BtCancelMessage.cc
  14753. * src/BtChokeMessage.cc
  14754. * src/BtHaveAllMessage.cc
  14755. * src/BtHaveMessage.cc
  14756. * src/BtHaveNoneMessage.cc
  14757. * src/BtInterestedMessage.cc
  14758. * src/BtNotInterestedMessage.cc
  14759. * src/BtPieceMessage.cc
  14760. * src/BtPortMessage.cc
  14761. * src/BtRejectMessage.cc
  14762. * src/BtRequestMessage.cc
  14763. * src/BtSuggestPieceMessage.cc
  14764. * src/BtUnchokeMessage.cc
  14765. * src/message.h: Added EX_INVALID_CHUNK_CHECKSUM. Following source
  14766. files are affected.
  14767. * src/ChunkChecksumValidator.cc
  14768. * src/SegmentMan.cc
  14769. 2007-01-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14770. To add chunk checksum validation:
  14771. * src/MetalinkEntry.h
  14772. (MetalinkChunkChecksum.h): New include.
  14773. (chunkChecksum): New variable.
  14774. * src/Request.h
  14775. (method): New variable.
  14776. (setMethod): New function.
  14777. (getMethod): New function.
  14778. (METHOD_GET): New static constant.
  14779. (METHOD_HEAD): New static constant.
  14780. * src/Xml2MetalinkProcessor.h
  14781. (getPieceHash): New function.
  14782. * src/PieceStorage.h
  14783. (markAllPiecesDone): New function.
  14784. (checkIntegrity): New function.
  14785. * src/FileAllocator.h
  14786. (NullFileAllocationMonitor.h): New include.
  14787. (FileAllocator): Initialize fileAllocationMonitor with new
  14788. NullFileAllocationMonitor().
  14789. * src/MultiDiskAdaptor.h
  14790. (messageDigest.h): Remove include.
  14791. (ctx): Removed.
  14792. (hashUpdate): Added ctx.
  14793. (MultiDiskAdaptor): Removed ctx.
  14794. (sha1Sum): Renamed as messageDigest.
  14795. (messageDigest): New function.
  14796. * src/UrlRequestInfo.h
  14797. (HeadResult): New class.
  14798. (digestAlgo): New variable.
  14799. (chunkChecksumLength): New variable.
  14800. (chunkChecksums): New variable.
  14801. (getHeadResult): New function.
  14802. (UrlRequestInfo): Added digestAlgo, chunkChecksumLength.
  14803. (setDigestAlgo): New function.
  14804. (setChunkChecksumLength): New function.
  14805. (setChunkChecksums): New function.
  14806. * src/DefaultPieceStorage.cc
  14807. (DiskAdaptorWriter.h): New include.
  14808. (ChunkChecksumValidator.h): New include.
  14809. (markAllPiecesDone): New function.
  14810. (checkIntegrity): New function.
  14811. * src/DefaultBtContext.h
  14812. (getPieceHashes): New function.
  14813. * src/TorrentRequestInfo.cc
  14814. (execute): Try to validate chunk checksum if file already exists and
  14815. .aria2 file doesn't there and user allows aria2 to overwrite it.
  14816. * src/messageDigest.h
  14817. (~MessageDigestContext): Added digestFree().
  14818. * src/MetalinkRequestInfo.cc
  14819. (execute): Set digestAlgo, chunkChecksum, chunkChecksums to reqInfo.
  14820. * src/DiskAdaptor.h
  14821. (messageDigest.h): New include.
  14822. (sha1Sum): Renamed as messageDigest.
  14823. (messageDigest): New function.
  14824. * src/DownloadCommand.h
  14825. (PeerStat.h): New include.
  14826. (maxDownloadSpeedLimit): New variable.
  14827. (startupIdleTime): New variable.
  14828. (lowestDownloadSpeedLimit): New variable.
  14829. (peerStat): New variable.
  14830. (setMaxDownloadSpeedLimit): New function.
  14831. (setStartupIdleTime): New function.
  14832. (setLowestDownloadSPeedLimit): New function.
  14833. * src/BtContext.h
  14834. (getPieceHashes): New function.
  14835. * src/main.cc
  14836. (main): Set PREF_REALTIME_CHUNK_CHECKSUM and PREF_CHECK_INTEGRITY
  14837. option to true for testing purpose.
  14838. * src/BtPieceMessage.cc
  14839. (checkPieceHash): Use messageDigest
  14840. * src/DownloadEngine.cc
  14841. (SetDescriptor): Removed.
  14842. (AccumulateActiveCommand): Removed.
  14843. (waitData): Rewritten.
  14844. (updateFdSet): Rewritten.
  14845. * src/MultiDiskAdaptor.cc
  14846. (hashUpdate): Added ctx.
  14847. (sha1Sum): Renamed as messageDigest.
  14848. (messageDigest): New function.
  14849. * src/BitfieldMan.h
  14850. (isBitRangeSet): New function.
  14851. (unsetBitRange): New function.
  14852. * src/ByteArrayDiskWriter.h
  14853. (sha1Sum): Renamed as messageDigest.
  14854. (messageDigest): New function.
  14855. * src/ConsoleDownloadEngine.cc
  14856. (calculateStatistics): If nspeed < 0 then set nspeed to 0.
  14857. * src/DiskWriter.h
  14858. (messageDigest.h): New include.
  14859. (sha1Sum): Renamed as messageDigest.
  14860. (messageDigest): New function.
  14861. * src/ChunkChecksumValidator.h: New class.
  14862. * src/DiskAdaptorWriter.h: New class.
  14863. * src/prefs.h
  14864. (PREF_REALTIME_CHUNK_CHECKSUM): New definition.
  14865. (PREF_CHECK_INTEGRITY): New definition.
  14866. * src/HttpResponseCommand.cc
  14867. (handleDefaultEncoding): Added method "HEAD" handling.
  14868. Removed the call to e->segmentMan->shouldCancelDownloadForSafety().
  14869. (handleOtherEncoding):
  14870. Added the call to e->segmentMan->shouldCancelDownloadForSafety().
  14871. (createHttpDownloadCommand): Set maxDownloadSpeedLimit,
  14872. startupIdleTime, lowestDownloadSpeedLimit to command.
  14873. * src/SegmentMan.h
  14874. (getSegmentEntryByIndex): New function.
  14875. (getSegmentEntryByCuid): New function.
  14876. (getSegmentEntryIteratorByCuid): New function.
  14877. (diskWriter): DiskWriter -> DiskWriterHandle
  14878. (pieceHashes): New variable.
  14879. (chunkHashLength): New variable.
  14880. (digestAlgo): New variable.
  14881. (FindPeerStat): Removed.
  14882. (getPeerStat): Rewritten.
  14883. (markAllPiecesDone): New function.
  14884. (checkIntegrity): New function.
  14885. (tryChunkChecksumValidation): New function.
  14886. (isChunkChecksumValidationReady): New function.
  14887. * src/BitfieldMan.cc
  14888. (BitfieldMan): Initialized bitfieldLength, blocks to 0.
  14889. (BitfieldMan): Initialized blockLength, totalLength, bitfieldLength,
  14890. blocks to 0.
  14891. (isBitRangeSet): New function.
  14892. (unsetBitRange): New function.
  14893. * src/FtpNegotiateCommand.cc
  14894. (executeInternal): Set maxDownloadSpeedLimit,
  14895. startupIdleTime, lowestDownloadSpeedLimit to command.
  14896. (recvSize): Added method "HEAD" handling.
  14897. Removed the call to e->segmentMan->shouldCancelDownloadForSafety().
  14898. * src/AbstractSingleDiskAdaptor.cc
  14899. (sha1Sum): Renamed as messageDigest.
  14900. (messageDigest): New function.
  14901. * src/AbstractSingleDiskAdaptor.h
  14902. (sha1Sum): Renamed as messageDigest.
  14903. (messageDigest): New function.
  14904. * src/Util.h
  14905. (indexRange): New function.
  14906. * src/MetalinkEntry.cc
  14907. (MetalinkEntry): Initialized chunkChecksum to 0.
  14908. * src/ShaVisitor.cc
  14909. (~ShaVisitor): Removed the call to ctx.digestFree().
  14910. * src/SegmentMan.cc
  14911. (ChunkChecksumValidator.h): New include.
  14912. (SegmentMan): Initialized chunkHashLength to 0. Initialized digestAlgo
  14913. to DIGEST_ALGO_SHA1.
  14914. (~SegmentMan): Removed diskWriter.
  14915. (FindSegmentEntryByIndex): Removed.
  14916. (FindSegmentEntryByCuid): Removed.
  14917. (checkoutSegment): Rewritten.
  14918. (findSlowerSegmentEntry): Rewritten.
  14919. (getSegment): Rewritten.
  14920. (updateSegment): Rewritten.
  14921. (completeSegment): Rewritten.
  14922. (markAllPiecesDone): New function.
  14923. (checkIntegrity): New function.
  14924. (isChunkChecksumValidationReady): New function.
  14925. (tryChunkChecksumValidation): New function.
  14926. * src/Xml2MetalinkProcessor.cc
  14927. (getEntry): Get size and set it to entry.
  14928. Get chunk checksum and set it to entry.
  14929. (getPieceHash): New function.
  14930. * src/Util.cc
  14931. (sha1Sum): Removed ctx.digestFree()
  14932. (fileChecksum): Removed ctx.digestFree()
  14933. (indexRange): New function.
  14934. * src/Request.cc
  14935. (METHOD_GET): New variable.
  14936. (METHOD_HEAD): New variable.
  14937. (Request): Added method.
  14938. * src/UrlRequestInfo.cc
  14939. (FatalException.h): New include.
  14940. (message.h): New include.
  14941. (operator<<): Added operator<< for class HeadResult.
  14942. (getHeadResult): New function.
  14943. (execute): Get filename and size in separate download engine.
  14944. * src/ChunkChecksumValidator.cc: New class.
  14945. * src/DownloadCommand.cc:
  14946. (DownloadCommand): Added peerStat.
  14947. (executeInternal): Use maxDownloadSpeedLimit member instead of getting
  14948. the value from Option.
  14949. The buffer size is now 16KB.
  14950. Use peerStat member instead of getting it from SegmentMan.
  14951. Use startupIdleTime member instead of gettingit from Option.
  14952. Added chunk checksum validation.
  14953. * src/AbstractDiskWriter.cc
  14954. (AbstractDiskWriter): Removed ctx.
  14955. (~AbstractDiskWriter): Removed ctx.digestFree()
  14956. (writeDataInternal): Returns the return value of write.
  14957. (readDataInternal): Returns the return value of read.
  14958. (sha1Sum): Renamed as messageDigest
  14959. (messageDigest): New function.
  14960. * src/AbstractDiwkWriter.h
  14961. (messageDigest.h): Removed include.
  14962. (ctx): Removed.
  14963. (sha1Sum): Renamed as messageDigest
  14964. (messageDigest): New function.
  14965. * src/DefaultPieceStorage.h
  14966. (markAllPiecesDone): New function.
  14967. (checkIntegrity): New function.
  14968. * src/NullFileAllocationMonitor.h: New class.
  14969. * src/MetalinkChunkChecksum.h: New class.
  14970. 2007-01-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14971. To decrease CPU usage in bittorrent download, calculation results in
  14972. BitfieldMan were cached and realtime fetching PeerObject was removed
  14973. with WeakHandle introduced. Option values are set to the objects
  14974. by setter before download begins.
  14975. * src/DefaultBtRequestFactory.cc: Use messageFactory member.
  14976. * src/DefaultBtRequestFactory.h
  14977. (dispatcher): BtMessageDispatcherHandle ->
  14978. BtMessageDispatcherWeakHandle.
  14979. (messageFactory): New variable.
  14980. (setBtMessageDispatcher): BtMessageDispatcherHandle ->
  14981. BtMessageDispatcherWeakHandle.
  14982. (setBtMessageFactory): New function.
  14983. * src/DefaultBtMessageDispatcher.cc:
  14984. (sendMessages): Use maxUploadSpeedLimit instead of fetching the value
  14985. from Option.
  14986. (checkRequestSlotAndDoNecessaryThing): Use requestTimeout instead of
  14987. feating the value from Option.
  14988. Use messageFactory member.
  14989. * src/PeerInteractionCommand.cc
  14990. (PeerInteractionCommand): Added maxDownloadSpeedLimit.
  14991. Add reverse dependencies to factory object.
  14992. Set maxUploadSpeedLimit and requestTimeout and messageFactory to
  14993. dispatcher.
  14994. Set messageFactory to receiver.
  14995. Set keepAliveInterval and maxDownloadSpeedLimit and messageFactory to
  14996. btInteractive.
  14997. Set receiver to peerObject.
  14998. Set maxDownloadSpeedLimit to this.
  14999. (executeInternal): Use maxDownloadSpeedLimit member.
  15000. * src/BtChokeMessage.cc
  15001. (doReceivedAction): Use dispatcher, requestFactory member.
  15002. (onSendComplete): Use dispatcher member.
  15003. * src/PeerInteractionCommand.h
  15004. (maxDownloadSpeedLimit): New variable.
  15005. * src/DefaultBtMessageReceiver.h
  15006. (peerConnection): PeerConnectionHandle -> PeerConnectionWeakHandle
  15007. (dispatcher):
  15008. BtMessageDispatcherHandle -> BtMessageDispatcherWeakHandle
  15009. (messageFactory): New variable.
  15010. (setPeerConnection): PeerConnectionHandle -> PeerConnectionWeakHandle
  15011. (getPeerConnection): PeerConnectionHandle -> PeerConnectionWeakHandle
  15012. (setDispatcher):
  15013. BtMessageDispatcherHandle -> BtMessageDispatcherWeakHandle
  15014. (setBtMessageFactory): New function.
  15015. * src/DefaultBtInteractive.cc
  15016. (initiateHandshake): Use messageFactory member.
  15017. (addBitfieldMessageToQueue): Use messageFactory member.
  15018. (addAllowedFastMessageToQueue): Use messageFactory member.
  15019. (decideChoking): Use messageFactory member.
  15020. (checkHave): Use messageFactory member.
  15021. (sendKeepAlive): Use keepAliveInterval, messageFactory member.
  15022. (receiveMessages): Use maxDownloadSpeedLimit member.
  15023. (decideInterest): Use messageFactory member.
  15024. * src/BtRequestMessage.cc
  15025. (doReceivedAction): Use messageFactory, dispatcher member.
  15026. (onQueued): Use dispatcher member.
  15027. * src/BtPieceMessage.cc
  15028. (doReceivedAction): Use dispatcher member.
  15029. (send): Use peerConnection member.
  15030. (onWrongPiece): Use requestFactory member.
  15031. (handleChokingEvent): Use messageFactory, dispatcher member.
  15032. (handleCancelSendingPieceEvent): Use messageFactory, dispatcher member.
  15033. * src/BtMessageDispatcher.h
  15034. (BtMessageDispatcherWeakHandle): New type definition.
  15035. * src/SimpleBtMessage.cc
  15036. (send): Use peerConnection member.
  15037. * src/BtRejectMessage.cc
  15038. (doReceivedAction): Use dispatcher member.
  15039. * src/DefaultBtMessageDispatcher.h
  15040. (Option.h): Removed include.
  15041. (messageFactory): New variable.
  15042. (option): Removed.
  15043. (maxUploadSpeedLimit): New variable.
  15044. (requestTimeout): New variable.
  15045. (DefaultBtMessageDispatcher): Removed option.
  15046. Added maxUploadSpeedLimit, requestTimeout.
  15047. (setOption): Removed.
  15048. (getOption): Removed.
  15049. (setMaxUploadSpeedLimit): New function.
  15050. (setRequestTimeout): New function.
  15051. (setBtMessageFactory): New function.
  15052. * src/DefaultBtInteractive.h
  15053. (btMessageReceiver):
  15054. BtMessageReceiverHandle -> BtMessageReceiverWeakHandle
  15055. (dispatcher):
  15056. BtMessageDispatcherHandle -> BtMessageReceiverWeakHandle
  15057. (btRequestFactory):
  15058. BtRequestFactoryHandle -> BtRequestFactoryWeakHandle
  15059. (peerConnection):
  15060. PeerConnectionHandle -> PeerConnectionWeakHandle
  15061. (messageFactory): New variable.
  15062. (option): Removed.
  15063. (keepAliveInterval): New variable.
  15064. (maxDownloadSpeedLimit): New variable.
  15065. (DefaultBtInteractive): Added keepAliveInterval, maxDownloadSpeedLimit.
  15066. (setBtMessageReceiver):
  15067. BtMessageReceiverHandle -> BtMessageReceiverWeakHandle
  15068. (setDispatcher):
  15069. BtMessageDispatcherHandle -> BtMessageReceiverWeakHandle
  15070. (setBtRequestFactory):
  15071. BtRequestFactoryHandle -> BtRequestFactoryWeakHandle
  15072. (setPeerConnection):
  15073. PeerConnectionHandle -> PeerConnectionWeakHandle
  15074. (setOption): Removed.
  15075. (setKeepAliveInterval): New function.
  15076. (setMaxDownloadSpeedLimit): New function.
  15077. (setBtMessageFactory): New function.
  15078. * src/BitfieldMan.h
  15079. (cachedNumMissingBlock): New variable.
  15080. (cachedNumFilteredBlock): New variable.
  15081. (cachedCompletedLength): New variable.
  15082. (cachedFilteredComletedLength): New variable.
  15083. (cachedFilteredTotalLength): New variable.
  15084. (countMissingBlockNow): New function.
  15085. (countFilteredBlockNow): New function.
  15086. (getFilteredTotalLengthNow): New function.
  15087. (getCompletedLengthNow): New function.
  15088. (getFilteredCompletedLengthNow): New function.
  15089. (updateCache): New function.
  15090. * src/AbstractBtMessage.h
  15091. (BtMessageDispatcher.h): New include.
  15092. (PeerConnection.h): New include.
  15093. (BtRequestFactory.h): New include
  15094. (BtMessageFactory.h): New include.
  15095. (dispatcher): New variable.
  15096. (messageFactory): New variable.
  15097. (peerConnection: New variable.
  15098. (setBtMessageDispatcher): New function.
  15099. (setPeerConnection): New function.
  15100. (setBtMessageFactory): New function.
  15101. (setBtRequestFactory): New function.
  15102. * src/DefaultBtMessageFactory.cc
  15103. (setCommonProperty): Set dispatcher, requestFactory, this,
  15104. peerConnection to msg.
  15105. * src/BtRegistry.h
  15106. (BT_MESSAGE_RECEIVER): New macro.
  15107. * src/PeerConnection.h
  15108. (PeerConnectionWeakHandle): New type definition.
  15109. * src/BtMessageFactory.h
  15110. (BtMessageFactoryWeakHandle): New type definition.
  15111. * src/BitfieldMan.cc
  15112. (BitfieldMan): Added cachedNumMissingBlock, cachedNumFilteredBlock,
  15113. cachedCompletedLength, cachedFilteredComletedLength,
  15114. cachedFilteredTotalLength.
  15115. Call updateCache().
  15116. (countMissingBlock): Return cachedNumMissingBlock.
  15117. (countMissingBlockNow): New function.
  15118. (countBlock): Return cachedNumFilteredBlock if filterEnabled is true.
  15119. (countFilteredBlockNow): New function.
  15120. (setBit): Call updateCache().
  15121. (unsetBit): Call updateCache().
  15122. (setBitfield): Call updateCache().
  15123. (clearAllBit): Call updateCache().
  15124. (setAllBit): Use setBitInternal instead of setBit.
  15125. Call updateCache().
  15126. (addFilter): Call updateCache().
  15127. (enableFilter): Call updateCache().
  15128. (disableFilter): Call updateCache().
  15129. (clearFilter): Call updateCache().
  15130. (getFilteredTotalLength): Return cachedFilteredTotalLength.
  15131. (getFilteredTotalLengthNow): New function.
  15132. (getCompletedLength): Return cachedCompletedLength.
  15133. (getCompletedLengthNow): New function.
  15134. (getFilteredCompletedLength): Return cachedFilteredComletedLength.
  15135. (getFilteredCompletedLengthNow): New function.
  15136. (updateCache): New function.
  15137. * src/BtMessageReceiver.h
  15138. (BtMessageReceiverWeakHandle): New type definition.
  15139. * src/DefaultBtMessageReceiver.cc
  15140. (receiveHandshake): Use messageFactory member.
  15141. (sendHandshake): Use messageFactory member.
  15142. (receiveMessage): Use messageFactory member.
  15143. * src/DefaultBtMessageFactory.h
  15144. (dispatcher): New variable.
  15145. (requestFactory): New variable.
  15146. (peerConnection): New variablle.
  15147. (setBtMessageDispatcher): New function.
  15148. (setBtRequestFactory): New function.
  15149. (setPeerConnection): New function.
  15150. * src/SharedHandle.h
  15151. (RefCount): New class.
  15152. (WeakHandle): New class.
  15153. * src/PeerObject.h
  15154. (BtMessageReceiver.h): New include.
  15155. (PeerObject): Added btMessageReceiver.
  15156. (btMessageReceiver): New variable.
  15157. * src/Util.cc
  15158. (countBit): Simplified.
  15159. * src/BtCancelMessage.cc
  15160. (doReceivedAction): Use dispatcher member.
  15161. * src/BtRequestFactory.h
  15162. (BtRequestFactoryWeakHandle): New type definition.
  15163. * src/PeerStorage.h
  15164. (downloadSpeed): int -> uint32_t
  15165. (uploadSpeed): int -> uint32_t
  15166. (sessionDownloadLength): long long int -> uint64_t
  15167. (sessionUploadLength): long long int -> uint64_t
  15168. 2007-01-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15169. To add RecoverableException, FatalException:
  15170. * src/AbstractCommand.cc
  15171. (onAbort): Exception -> RecoverableException
  15172. * src/PeerAbstractCommand.h
  15173. (RecoverableException.h): New include.
  15174. (onAbort): Exception -> RecoverableException.
  15175. * src/PeerInteractionCommand.cc
  15176. (onAbort): Exception -> RecoverableException.
  15177. * src/PeerAbstractCommand.cc
  15178. (execute): Exception -> RecoverableException.
  15179. (onAbort): Exception -> RecoverableException.
  15180. * src/TorrentRequestInfo.cc
  15181. (execute): Exception -> RecoverableException.
  15182. * src/MetalinkRequestInfo.cc
  15183. (execute): Exception -> RecoverableException.
  15184. * src/MetaFileUtil.cc: RecoverableException.
  15185. * src/AbstractCommand.h
  15186. (onAbort): Exception -> RecoverableException.
  15187. * src/DlRetryEx.h: Exception -> RecoverableException.
  15188. * src/DlAbortEx.h: Exception -> RecoverableException.
  15189. * src/PeerListenCommand.cc: Exception -> RecoverableException.
  15190. * src/Util.cc: Exception -> RecoverableException.
  15191. * src/DefauldDiskWriter.cc: Exception -> RecoverableException.
  15192. * src/TrackerUpdateCommand.cc: Exception -> RecoverableException.
  15193. * src/UrlRequestInfo.cc: Exception -> RecoverableException.
  15194. To make ID static const int
  15195. * src/BtInterestedMessage.h
  15196. (ID_t): Removed.
  15197. (ID): New variable.
  15198. (getId): Made non-const.
  15199. * src/BtPieceMessage.h
  15200. (ID_t): Removed.
  15201. (ID): New variable.
  15202. (getId): Made non-const.
  15203. * src/BtChokeMessage.h
  15204. (ID_t): Removed.
  15205. (ID): New variable.
  15206. (getId): Made non-const.
  15207. * src/BtHaveAllMessage.h
  15208. (ID_t): Removed.
  15209. (ID): New variable.
  15210. (getId): Made non-const.
  15211. * src/BtKeepAliveMessage.h
  15212. (ID_t): Removed.
  15213. (ID): New variable.
  15214. (getId): Made non-const.
  15215. * src/BtHandshakeMessage.h
  15216. (ID): New variable.
  15217. (getId): Made non-const.
  15218. * src/BtSuggestPieceMessage.h
  15219. (ID_t): Removed.
  15220. (ID): New variable.
  15221. (getId): Made non-const.
  15222. * src/BtPortMessage.h
  15223. (ID_t): Removed.
  15224. (ID): New variable.
  15225. (getId): Made non-const.
  15226. * src/AbstractBtMessage.h
  15227. (id): Removed.
  15228. (AbstractBtMessage): Removed id.
  15229. (getId): Removed.
  15230. * src/BtHaveMessage.h
  15231. (ID_t): Removed.
  15232. (ID): New variable.
  15233. (getId): Made non-const.
  15234. * src/BtAllowedFastMessage.h
  15235. (ID_t): Removed.
  15236. (ID): New variable.
  15237. (getId): Made non-const.
  15238. * src/BtCancelMessage.h
  15239. (ID_t): Removed.
  15240. (ID): New variable.
  15241. (getId): Made non-const.
  15242. * src/BtNotInterestedMessage.h
  15243. (ID_t): Removed.
  15244. (ID): New variable.
  15245. (getId): Made non-const.
  15246. * src/BtChokeMessage.h
  15247. (ID_t): Removed.
  15248. (ID): New variable.
  15249. (getId): Made non-const.
  15250. * src/BtRejectMessage.h
  15251. (ID_t): Removed.
  15252. (ID): New variable.
  15253. (getId): Made non-const.
  15254. * src/BtBitfieldMessage.h
  15255. (ID_t): Removed.
  15256. (ID): New variable.
  15257. (getId): Made non-const.
  15258. * src/BtUnchokeMessage.h
  15259. (ID_t): Removed.
  15260. (ID): New variable.
  15261. (getId): Made non-const.
  15262. * src/BtRequestMessage.h
  15263. (ID_t): Removed.
  15264. (ID): New variable.
  15265. (getId): Made non-const.
  15266. * src/BtHaveMessage.h
  15267. (ID_t): Removed.
  15268. (ID): New variable.
  15269. (getId): Made non-const.
  15270. To add --force-truncate command-line option and a check whether
  15271. the file already exists:
  15272. * src/DirectDiskAdaptor.h
  15273. (getFilePath): Made virtual public.
  15274. * src/MultiDiskAdaptor.h
  15275. (File.h): New include.
  15276. (DiskWriterEntry::fileEntry): Made private.
  15277. (DiskWriterEntry::fileExists): New function.
  15278. (DiskWriterEntry::getFileEntry): New function.
  15279. (fileExists): New function.
  15280. (getFilePath): New function.
  15281. * src/TorrentRequestInfo.cc
  15282. (FatalException.h): New include.
  15283. (message.h): New include.
  15284. (RecoverableException.h): New include.
  15285. (execute): Added a check whether file is already exists or not.
  15286. * src/DiskAdaptor.h
  15287. (fileExists): New function.
  15288. (getFilePath): New function.
  15289. * src/main.cc
  15290. (showUsage): Added an explanation of --force-truncate command-line
  15291. option.
  15292. (main): Added --force-truncate command-line option.
  15293. * src/Exception.h
  15294. (setMsg): buf[256] -> buf[1024]
  15295. * src/CopyDiskWriter.h
  15296. (getFilePath): Made public virtual.
  15297. * src/MultiDiskAdaptor.cc: fileEntry -> getFileEntry()
  15298. (fileExists): New function.
  15299. * src/DownloadEngineFactory.cc
  15300. (newTorrentConsoleEngine): Don't open file here.
  15301. * src/message.h
  15302. (EX_FILE_ALREADY_EXISTS): New definition.
  15303. * src/prefs.h
  15304. (PREF_FOECE_TRUNCATE): New definition.
  15305. * src/HttpResponseCommand.cc
  15306. (handleDefaultEncoding): Added a check whether the file already exists.
  15307. * src/SegmentMan.h
  15308. (fileExists): New function.
  15309. (shouldCancelDownloadForSafety): New function.
  15310. * src/FtpNegotiateCommand.cc
  15311. (recvSize): Added a check whether the file already exists.
  15312. * src/AbstractSingleDiskAdaptor.cc
  15313. (File.h): New include.
  15314. (fileExists): New function.
  15315. * src/AbstractSingleDiskAdaptor.h
  15316. (getFilePath): Removed.
  15317. (fileExists): New function.
  15318. * src/SegmentMan.cc
  15319. (fileExists): New function.
  15320. (shouldCancelDownloadForSafety): New function.
  15321. To fix regression bug in torrent downloading:
  15322. * src/DefaultBtRequestFactory.cc
  15323. (doChokedAction): New function.
  15324. * src/DefaultBtRequestFactory.h
  15325. (doChokedAction): New function.
  15326. * src/DefaultBtMessageDispatcher.cc
  15327. (doChokedAction): Do not delete request if its target is in allowed
  15328. fast set.
  15329. * src/DefaultBtInteractive.cc
  15330. (doPostHandshakeProcessing): Added a call to sendPendingMessage().
  15331. (sendKeepAlive): Send keep alive message even if the outgoing message
  15332. queue is not empty.
  15333. (decideInterest): Simplified the code.
  15334. (fillPiece): Remove a call to dispatcher->doChokedAction() because
  15335. it is already called when BtChokeMessage is received from a peer.
  15336. * src/BtRequestFactory.h
  15337. (doChokedAction): New function.
  15338. To clean up code:
  15339. * src/PeerInteractionCommand.h
  15340. (executeInternal): Added virtual keyword explicitly.
  15341. (prepareForRetry): Added virtual keyword explicitly.
  15342. (prepareForNextPeer): Added virtual keyword explicitly.
  15343. (onAbort): Added virtual keyword explicitly.
  15344. * src/RequestSlot.cc
  15345. (isTimeout): Use Time::elapsed() instead of differenceInMillis().
  15346. * src/BtPieceMessage.cc
  15347. (doReceivedAction): Added a debug log of piece's bitfield.
  15348. * src/Piece.h
  15349. (getBitfieldLength): New function.
  15350. * src/ByteArrayDiskWriter.cc
  15351. (clear): Added buf = 0 to avoid double free corruption.
  15352. * src/FileAllocator.cc
  15353. (allocate): Fixed an assignment of fileAllocationMonitor->currentValue.
  15354. Added cp.reset().
  15355. * src/BitfieldMan.h
  15356. (operator=): Rewritten.
  15357. * src/BitfieldMan.cc
  15358. (BitfieldMan): Initialized bitfield, useBitfield.
  15359. * src/PeerConnection.cc
  15360. (receiveMessage): Added a call to socket->readable() after getting
  15361. message length to avoid possible EOF.
  15362. * src/Util.cc
  15363. (torrentUrlencode): Fixed an encodeing bug. BUG#1629912
  15364. 2007-01-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15365. To add an ability to pre-allocate file space:
  15366. * src/DirectDiskAdaptor.h: Rewritten.
  15367. * src/PieceStorage.h: DiskAdaptor -> DiskAdaptorHandle
  15368. * src/MultiDiskAdaptor.h: Rewritten.
  15369. * src/DefaultPieceStorage.cc
  15370. (MultiDiskWriter.h): Removed include.
  15371. (PreAllocationDiskWriter.h): Removed include.
  15372. (FileAllocationMonitor.h): New include.
  15373. (~DefaultPieceStorage): Removed deletion of diskAdaptor.
  15374. (initStorage): Rewritten.
  15375. (getDiskAdaptor): DiskAdaptor -> DiskAdaptorHandle
  15376. * src/FileAllocator.h: New class.
  15377. * src/FileAllocator.cc: New class.
  15378. * src/FileAllocationMonitor.h: New class.
  15379. * src/FileAllocationMonitor.cc: New class.
  15380. * src/ConsoleFileAllocationMonitor.h: New class.
  15381. * src/ConsoleFileAllocationMonitor.cc: New class.
  15382. * src/AbstractSingleDiskAdaptor.h: New class.
  15383. * src/AbstractSingleDiskAdaptor.cc: New class.
  15384. * src/DiskAdaptor.h
  15385. (Directory.h): Removed include.
  15386. (DiskWriter.h): Removed include.
  15387. (FileEntry.h): Removed include.
  15388. (diskWriter): Removed.
  15389. (DiskAdaptor): Removed diskWriter.
  15390. (openFile): Made pure virtual.
  15391. (closeFile): Made pure virtual.
  15392. (openExistingFile): Made pure virtual.
  15393. (initAndOpenFile): Made pure virtual.
  15394. (writeData): Made pure virtual.
  15395. (readData): Made pure virtual.
  15396. (sha1Sum): Made pure virtual.
  15397. (getStoreDir): Returns const reference of storeDir.
  15398. (DiskAdaptorHandle): New type definition.
  15399. * src/main.cc
  15400. (ConsoleFileAllocationMonitor.h): New include.
  15401. (showUsage): Added default value description of -s option.
  15402. Added the description of --file-allocation option.
  15403. (main): Set default value of --file-allocation option to 'none'.
  15404. Added --file-allocation command-line option.
  15405. Setup FileAllocationMonitorFactory.
  15406. * src/FtpInitiateConnectionCommand.cc
  15407. (executeInternal): Removed diskWriter related processing, which was
  15408. moved to FtpNegotiationCommand.cc.
  15409. * src/DirectDiskAdaptor.cc
  15410. (getFilePath): Made non-const.
  15411. * src/CopyDiskAdaptor.h
  15412. (DiskAdaptor.h): Removed include.
  15413. (DiskWriter.h): Removed include.
  15414. (AbstractSingleDiskAdaptor.h): New include.
  15415. (getFilePath): Made non-const. Added virtual keyword.
  15416. (CopyDiskAdaptor): Removed diskWriter.
  15417. (getTempFile): Returns const reference.
  15418. (CopyDiskAdaptorHandle): New type definition.
  15419. * src/ByteArrayDiskWriter.cc
  15420. (clear): Simplified.
  15421. (initAndOpenFile): Rewritten.
  15422. (openFile): Call initAndOpenFile()
  15423. * src/MultiDiskAdaptor.cc: Rewritten.
  15424. * src/DownloadEngineFactory.cc
  15425. (FileAllocator.h): New include.
  15426. (FileAllocationMonitor.h): New include.
  15427. (newConsoleEngine): Call DefaultDiskWriter::createNewDiskWriter() to
  15428. create DefaultDiskWriter with file allocator.
  15429. * src/DiskWriter.h
  15430. (initAndOpenFile): Added totalLength argument.
  15431. (openFile): Added totalLength argument.
  15432. * src/prefs.h
  15433. (PREF_FILE_ALLOCATION): New definition.
  15434. (V_PREALLOC): New definition.
  15435. (V_NONE): New definition.
  15436. * src/HttpResponseCommand.cc
  15437. (handleDefaultEncoding): Call DefaultDiskWriter::initAndOpenFile with
  15438. size.
  15439. * src/FtpNegotiateCommand.cc
  15440. (Util.h): New include.
  15441. (recvSize): Open file here.
  15442. * src/Util.h
  15443. (ullitos): New function.
  15444. * src/CopyDiskWriter.h
  15445. (getFilePath): Made non-const.
  15446. * src/DefaultDiskWriter.h
  15447. (Option.h): New include.
  15448. (totalLength): Removed.
  15449. (DefaultDiskWriter): Removed totalLength.
  15450. (initAndOpenFile): Added totalLength argument.
  15451. (DefaultDiskWriterHandle): New type definition.
  15452. (createNewDiskWriter): New function.
  15453. * src/Util.cc
  15454. (ullitos): New function.
  15455. * src/DefaultDiskWriter.cc
  15456. (message.h): New include.
  15457. (FileAllocator.h): New include.
  15458. (prefs.h): New include.
  15459. (Util.h): New include.
  15460. (DefaultDiskWriter): Removed totalLength.
  15461. (initAndOpenFile): Added file allocation.
  15462. (createNewDiskWriter): New function. Just for temporary solution.
  15463. It will be rewritten later.
  15464. * src/DiskAdaptor.cc
  15465. (DiskAdaptor): Removed diskWriter.
  15466. * src/AbstractDiskWriter.cc
  15467. (LogFactory.h): New include.
  15468. (AbstractDiskWriter): Added fileAllocator, logger.
  15469. (openFile): Added totalLength argument.
  15470. * src/AbstractDiskWriter.h
  15471. (FileAllocator.h): New include.
  15472. (Logger.h): New include.
  15473. (fileAllocator): New variable.
  15474. (logger): New variable.
  15475. (openFile): Added totalLength argument. Added virtual keyword
  15476. explicitly.
  15477. (openExistingFile): Added totalLength argument. Added virtual keyword
  15478. explicitly.
  15479. (closeFile): Added virtual keyword explicitly.
  15480. (sha1Sum): Added virtual keyword explicitly.
  15481. (writeData): Added virtual keyword explicitly.
  15482. (readData): Added virtual keyword explicitly.
  15483. (setFileAllocator): New function.
  15484. * src/DefaultPieceStorage.h
  15485. (FileAllocator.h): New include.
  15486. (diskAdaptor): DiskAdaptor -> DiskAdaptorHandle
  15487. (getDiskAdaptor): DiskAdaptor -> DiskAdaptorHandle
  15488. * src/FileProgressMonitor.h: New class.
  15489. To compile aria2 on PC-BSD:
  15490. * src/DefaultBtContext.cc
  15491. (libgen.h): New include.
  15492. To fix memory leak:
  15493. * src/Exception.h
  15494. (~Exception): Delete cause. Fixed memory leak.
  15495. 2006-12-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15496. Rewritten a portion of bittorrent implementation:
  15497. * src/BtMessageValidator.h: New class.
  15498. * src/BtBitfieldMessageValidator.h: New class.
  15499. * src/BtHandshakeMessageValidator.h: New class.
  15500. * src/BtRequestMessageValidator.h: New class.
  15501. * src/BtSuggestPieceMessageValidator.h: New class.
  15502. * src/BtAllowedFastMessageValidator.h: New class.
  15503. * src/BtRejectMessageValidator.h: New class.
  15504. * src/BtCancelMessageValidator.h: New class.
  15505. * src/BtPieceMessageValidator.h: New class.
  15506. * src/BtHaveMessageValidator.h: New class.
  15507. * src/BtEventListener.h: New class.
  15508. * src/AbstractBtEventListener.h: New class.
  15509. * src/BtEvent.h: New class.
  15510. * src/BtChokingEvent.h: New class.
  15511. * src/BtChokedEvent.h: New class.
  15512. * src/BtCancelSendingPieceEvent.h: New class.
  15513. * src/BtAbortOutstandingRequestEvent.h: New class.
  15514. * src/Randomizer.h: New class.
  15515. * src/SimpleRandomizer.h: New class.
  15516. * src/BtMessage.h: New class.
  15517. * src/AbstractBtMessage.h: New class.
  15518. * src/SimpleBtMessage.h: New class.
  15519. * src/BtHaveMessage.h: New class.
  15520. * src/BtInterestedMessage.h: New class.
  15521. * src/BtAllowedFastMessage.h: New class.
  15522. * src/BtUnchokeMessage.h: New class.
  15523. * src/BtCancelMessage.h: New class.
  15524. * src/BtNotInterestedMessage.h: New class.
  15525. * src/BtChokeMessage.h: New class.
  15526. * src/BtHaveNoneMessage.h: New class.
  15527. * src/BtHandshakeMessage.h: New class.
  15528. * src/BtSuggestPieceMessage.h: New class.
  15529. * src/BtHaveMessage.h: New class.
  15530. * src/BtPieceMessage.h: New class.
  15531. * src/BtHaveAllMessage.h: New class.
  15532. * src/BtKeepAliveMessage.h: New class.
  15533. * src/BtPortMessage.h: New class.
  15534. * src/BtRejectMessage.h: New class.
  15535. * src/BtBitfieldMessage.h: New class.
  15536. * src/BtRequestMessage.h: New class.
  15537. * src/DefaultBtRequestFactory.h: New class.
  15538. * src/DefaultBtMessageReceiver.h: New class.
  15539. * src/BtInteractive.h: New class.
  15540. * src/BtMessageDispatcher.h: New class.
  15541. * src/DefaultBtMessageDispatcher.h: New class.
  15542. * src/DefaultBtInteractive.h: New class.
  15543. * src/BitfieldManFactory.h: New class.
  15544. * src/HandleRegistry.h: New class.
  15545. * src/BtMessageFactory.h: New class.
  15546. * src/BtMessageReceiver.h: New class.
  15547. * src/DefaultBtMessageFactory.h: New class.
  15548. * src/PeerObject.h: New class.
  15549. * src/BtRequestFactory.h: New class.
  15550. * src/SuggestPieceMessage.h: Removed.
  15551. * src/PortMessage.h: Removed.
  15552. * src/SuggestPieceMessage.h: Removed.
  15553. * src/KeepAliveMessage.h: Removed.
  15554. * src/HandshakeMessage.h: Removed.
  15555. * src/PeerInteraction.h: Removed.
  15556. * src/UnchokeMessage.h: Removed.
  15557. * src/PieceMessage.h: Removed.
  15558. * src/RequestMessage.h: Removed.
  15559. * src/InterestedMessage.h: Removed.
  15560. * src/HaveMessage.h: Removed.
  15561. * src/CancelMessage.h: Removed.
  15562. * src/RejectMessage.h: Removed.
  15563. * src/AllowedFastMessage.h: Removed.
  15564. * src/HaveNoneMessage.h: Removed.
  15565. * src/SimplePeerMessage.h: Removed.
  15566. * src/HaveAllMessage.h: Removed.
  15567. * src/BitfieldMessage.h: Removed.
  15568. * src/PeerMessageFactory.h: Removed.
  15569. * src/NotInterestedMessage.h: Removed.
  15570. * src/ChokeMessage.h: Removed.
  15571. * src/PeerMessage.h: Removed.
  15572. 2006-12-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15573. To know root cause of exception:
  15574. * src/Exception.h
  15575. (cause): New variable.
  15576. (Exception): Added a parameter.
  15577. (getMsg): Return const reference to msg.
  15578. (getCause): New function.
  15579. * src/DlRetryEx.h
  15580. (DlRetryEx): Added a parameter 'cause'.
  15581. Added an overloaded constructor.
  15582. (DlAbortEx): Added a parameter 'cause'.
  15583. Added an overloaded constructor.
  15584. * src/SimpleLogger.cc
  15585. (writeLog): Log nested exception messages recursively.
  15586. 2006-11-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15587. * src/DefaultBtProgressInfoFile.cc
  15588. (load): Fixed memory leak when the infohash doesn't match.
  15589. 2006-11-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15590. * src/DefaultPeerStorage.cc
  15591. (calculateStat): Simplified the code by combining 2 loops into 1.
  15592. 2006-11-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15593. Introduce new preference PREF_BT_TIMEOUT. This is the timeout value
  15594. for BitTorrent download:
  15595. * src/PeerAbstractCommand.cc
  15596. (PeerAbstractCommand): PREF_TIMEOUT -> PREF_BT_TIMEOUT
  15597. * src/main.cc:
  15598. (timeoutSpecified): Removed.
  15599. (main): Set the initial value of PREF_BT_TIMEOUT to 180.
  15600. Removed timeoutSpecified. TODO: Add --bt-timeout command line option.
  15601. * src/TorrentRequestInfo.cc
  15602. (timeoutSpecified): Removed.
  15603. (torrentHandler): Removed timeoutSpecified and the adjustment of
  15604. timeout value.
  15605. * src/prefs.h
  15606. (PREF_BT_TIMEOUT): New definition.
  15607. Delete unused variables:
  15608. * src/TorrentRequestInfo.cc
  15609. (requestInfo): Removed.
  15610. Move setSignalHander to Util::setGlobalSignalHandler:
  15611. * src/TorrentRequestInfo.cc:
  15612. setSignalHander -> Util::setGlobalSignalHandler
  15613. * src/main.cc
  15614. (setSignalHander): Removed.
  15615. (main): setSignalHander -> Util::setGlobalSignalHandler
  15616. * src/Util.h
  15617. (setGlobalSignalHandler): New function.
  15618. * src/Util.cc
  15619. (setGlobalSignalHandler): New function.
  15620. * src/UrlRequestInfo.cc:
  15621. setSignalHander -> Util::setGlobalSignalHandler
  15622. Reset peer status in order to exit gracefully:
  15623. * src/PeerAbstractCommand.cc
  15624. (execute): Call peer->resetStatus() when btRuntime->isHalt() is true.
  15625. To fix the bug that causes the number of bytes uploaded is not saved
  15626. to .aria2 file:
  15627. * src/DefaultPeerStorage.h
  15628. (removedPeerSessionDownloadLength): New variable.
  15629. (removedPeerSessionUploadLength): New variable.
  15630. * src/DefaultPeerStorage.cc
  15631. (DefaultPieceStorage): Added removedPeerSessionDownloadLength(0),
  15632. removedPeerSessionUploadLength(0).
  15633. (calculateStat): Calculate the number of bytes downloaded(uploaded)
  15634. through all peers, and then add removedPeerSessionDownloadLength(
  15635. removedPeerSessionUploadLength) to it.
  15636. (deleteUnusedPeer): Add the number of bytes downloaded(uploaded) from
  15637. (to) the peer to removedPeerSessionDownloadLength
  15638. (removedPeerSessionUploadLength).
  15639. 2006-11-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15640. To add Metalink location option:
  15641. * src/MetalinkRequestInfo.cc
  15642. (execute): Call MetalinkEntry::setLocationPreference()
  15643. * src/main.cc
  15644. (showUsage): Added the help message for --metalink-location option.
  15645. (main): Added --metalink-location option.
  15646. * src/prefs.h
  15647. (PREF_METALINK_LOCATION): New definition.
  15648. * src/MetalinkEntry.cc
  15649. (AddLocationPreference): New function object.
  15650. (setLocationPreference): New function.
  15651. * src/Xml2MetalinkProcessor.cc
  15652. (getResource): Set location attribute to MetalinkResource
  15653. To show URLs to download
  15654. * src/UrlRequestInfo.h
  15655. (printUrls): New function.
  15656. To add multiple <file> Metalink support:
  15657. * src/MetalinkEntry.h
  15658. (MetalinkResources): Removed.
  15659. (setLocationPreference): New function.
  15660. (MetalinkEntryHandle): New type definition.
  15661. (MetalinkEntries): New type definition.
  15662. * src/Xml2MetalinkProcessor.h
  15663. (getEntry): MetalinkEntry* -> MetalinkEntryHandle
  15664. (getResource): MetalinkResource* -> MetalinkResourceHandle
  15665. (parseFile): Metalinker* -> MetalinkerHandle
  15666. * src/UrlRequestInfo.h
  15667. (execute): RequestInfo* -> RequestInfos
  15668. * src/MetalinkRequestInfo.cc
  15669. (AccumulateNonP2PUrl): MetalinkResource* -> MetalinkResourceHandle
  15670. (FindBitTorrentUrl): MetalinkResource* -> MetalinkResourceHandle
  15671. (execute): RequestInfo* -> RequestInfos
  15672. Added multiple <file> support. Print filename when it is queued.
  15673. * src/MetalinkRequestInfo.h
  15674. (execute): RequestInfo* -> RequestInfos
  15675. (getDownloadEngine): Removed.
  15676. * src/RequestInfo.h
  15677. (RequestInfoHandle): New type definition.
  15678. (RequestInfos): New type definition.
  15679. (execute): RequestInfo* -> RequestInfos
  15680. (getDownloadEngine): Removed.
  15681. * src/MetalinkResource.h
  15682. (MetalinkResourceHandle): New type definition.
  15683. (MetalinkResources): New type definition.
  15684. * src/MetalinkEntry.cc
  15685. (~MetalinkEntry): Removed the deletion of the elements of resources,
  15686. because the element is now of type MetalinkResourceHandle.
  15687. (PrefOrder): MetalinkResource* -> MetalinkResourceHandle
  15688. (Supported): MetalinkResource* -> MetalinkResourceHandle
  15689. (dropUnsupportedResource): Removed the deletion of the elements of
  15690. resources because the element is now of type MetalinkResourceHandle.
  15691. * src/Xml2MetalinkProcessor.cc
  15692. (parseFile): Metalinker* -> MetalinkerHandle
  15693. MetalinkEntry* -> MetalinkEntryHandle
  15694. Removed try-catch block.
  15695. (getEntry): MetalinkEntry* -> MetalinkEntryHandle
  15696. MetalinkResource* -> MetalinkResourceHandle
  15697. Removed try-catch block.
  15698. (getResource): MetalinkResource* -> MetalinkResourceHandle
  15699. Free result by using xmlXPathFreeObject()
  15700. * src/Metalinker.cc
  15701. (~Metalinker): Removed the deletion of entries.
  15702. MetalinkEntry* -> MetalinkEntryHandle
  15703. (queryEntry): Add multiple <file> Metalink support.
  15704. * src/Metalinker.h
  15705. (MetalinkEntries): Removed.
  15706. (queryEntry): MetalinkEntry* -> MetalinkEntries
  15707. * src/MetalinkProcessor.h
  15708. (parseFile): Metalinker* -> MetalinkerHandle
  15709. Bug fixes:
  15710. * src/PeerChokeCommand.cc
  15711. (execute): cat01->cat02
  15712. * src/DefaultPieceStorage.cc
  15713. (DefaultPieceStorage): Added diskAdaptor(0)
  15714. * src/TrackerWatcherComand.cc:
  15715. (execute): Use btAnnounce->noMoreAnnounce()
  15716. to determin whether the function returns true or not.
  15717. * src/TrackerUpdateCommand.cc:
  15718. (execute): Use btAnnounce->noMoreAnnounce()
  15719. to determin whether the function returns true or not.
  15720. * src/FtpConnection.cc
  15721. (bulkReceiveResponse): Throw DlRetryEx if EOF got.
  15722. This is the fix of the busy loop bug.
  15723. * src/DownloadCommand.cc
  15724. (DownloadCommand): Reuse PeerStat. segmentMan->getPeerStat() returns
  15725. cached PeerStat.
  15726. The value of "name" entry in torrent file is now set by
  15727. *DiskAdaptor::setTopDir(...) methods.
  15728. * src/MultiDiskAdaptor.h
  15729. (topDir): New variable.
  15730. (setTopDir): New function.
  15731. (getTopDir): New function.
  15732. * src/MultiDiskAdaptor.cc
  15733. (getFilePath): Concat storDir, "/" and topDir.
  15734. (mkdir): Use getFilePath() to get the directory path for output.
  15735. * src/DefaultPieceStorage.cc
  15736. (initStorage): Set the value of "name" entry to MultiDiskAdaptor,
  15737. CopyDiskAdaptor.
  15738. * src/CopyDiskAdaptor.h
  15739. (topDir): New variable.
  15740. (setTopDir): New function.
  15741. (getTopDir): New function.
  15742. * src/CopyDiskAdaptor.cc
  15743. (fixFilename): Updated.
  15744. Misc
  15745. * src/UrlRequestInfo.h
  15746. (e): Removed.
  15747. (UrlRequestInfo): Removed e.
  15748. (getDownloadEngine): Removed.
  15749. * src/UrlRequestInfo.cc
  15750. (handler): Rewritten.
  15751. (printUrls): New function.
  15752. (execute): Call printUrls().
  15753. * src/HandshakeMessage.cc
  15754. (check): peerinteraction->getBtContext() -> btContext
  15755. * src/PeerInteraction.h
  15756. (getBtContext): Removed.
  15757. * src/TorrentRequestInfo.h
  15758. (execute): RequestInfo* -> RequestInfos
  15759. (getDownloadEngine): Removed.
  15760. * src/TorrentRequestInfo.cc
  15761. (haltRequested): Removed.
  15762. (btHaltRequested): New variable.
  15763. (torrentHandler): haltRequested -> btHaltRequested
  15764. (execute): RequestInfo* -> RequestInfos
  15765. * src/TorrentConsoleDownloadEngine.cc
  15766. (afterEachIteration): haltRequested -> btHaltRequested.
  15767. * src/ConsoleDownloadEngine.h
  15768. (initStatistics): Added virtual.
  15769. (calculateStatistics): Added virtual.
  15770. (onEndOfRun): Added virtual.
  15771. (afterEachIteration): Added virtual.
  15772. * src/ConsoleDownloadEngine.cc
  15773. (haltRequested): New variable.
  15774. (afterEachIteration): New function.
  15775. * src/main.cc
  15776. (requestInfo): Removed.
  15777. * src/SegmentMan.cc
  15778. (findSlowerSegmentEntry): Refactored.
  15779. * Release 0.9.0
  15780. 2006-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15781. To divide TorrentMan into 6 classes: BtContext, BtRuntime,
  15782. PeerStorage, PieceStorage, BtAnnounce and BtProgressInfoFile
  15783. * src/TorrentMan.h: Removed.
  15784. * src/TorrentMan.cc: Removed.
  15785. * src/TrackerWatcherComand.h: Made subclass of BtContextAwareCommand.
  15786. * src/SeedCheckCommand.cc: Use pieceStorage, btRuntime
  15787. * src/PeerAbstractCommand.h: Made subclass of BtContextAwareCommand.
  15788. * src/PeerAbstractCommand.cc: Use btRuntime.
  15789. * src/BtContextAwareCommand.h: New class.
  15790. * src/FileEntry.h: Added accessor methods for following variables.
  15791. (path): Made private.
  15792. (length): Made private.
  15793. (offset): Made private.
  15794. (extracted): Made private.
  15795. (requested): Made private.
  15796. (FileEntries): New definition.
  15797. (FileEntryHandle): New definition.
  15798. * src/FileEntry.cc: New file.
  15799. * src/HaveEraseCommand.h: Made subclass of BtContextAwareCommand.
  15800. * src/HaveEraseCommand.cc: Use btRuntime, pieceStorage.
  15801. * src/PeerChokeCommand.h: Made subclass of BtContextAwareCommand.
  15802. * src/PeerChokeCommand.cc: Use btRuntime, peerStorage, pieceStorage.
  15803. * src/PieceStorage.h: New file.
  15804. * src/PeerInteractionCommand.h: Use btContext.
  15805. * src/PeerInteractionCommand.cc: Use pieceStorage, peerStorage,
  15806. btRuntime.
  15807. * src/DefaultBtProgressInfoFile.h: New file.
  15808. * src/DefaultBtProgressInfoFile.cc: New file.
  15809. * src/File.cc
  15810. (Util.h): New include.
  15811. (mkdirs): New function.
  15812. * src/MultiDiskAdaptor.h
  15813. (mkdir): New function.
  15814. * src/PeerListProcessor.h
  15815. (Peers): Removed.
  15816. * src/PeerInteraction.h
  15817. (torrentMan): Removed.
  15818. (btContext): New variable.
  15819. (peerStorage): New variable.
  15820. (pieceStorage): New variable.
  15821. (btAnnounce): New variable.
  15822. (getTorrentMan): Removed.
  15823. (getBtContext): New function.
  15824. * src/PeerInteraction.cc: Use btContext, peerStorage, pieceStorage,
  15825. btAnnounce.
  15826. * src/HandshakeMessage.h
  15827. (TorrentMan.h): Removed.
  15828. * src/HandshakeMessage.cc: Use btContext.
  15829. * src/DefaultBtAnnounce.cc: New file.
  15830. * src/MultiDiskWriter.cc: Use the accessor methods of FileEntry.
  15831. * src/DefaultPieceStorage.cc: New file.
  15832. * src/DefaultBtContext.h: New file.
  15833. * src/TorrentRequestInfo.cc: Use btContext, pieceStorage.
  15834. Use the accessor methods of FileEntry.
  15835. * src/CookieBox.cc: Updated to use Util::slice().
  15836. * src/PieceMessage.cc: Use btContext, pieceStorage.
  15837. * src/common.h (SharedHandle.h): New include.
  15838. * src/PeerMessage.cc (PeerMessage): Added btContext, peerStorage,
  15839. pieceStorage.
  15840. * src/TorrentAutoSaveCommand.h: Made subclass of BtContextAwareCommand.
  15841. * src/DiskAdaptor.h
  15842. (topDir): Removed.
  15843. (getFileEntryFromPath): Changed the return type to FileEntryHandle.
  15844. (setTopDir): Removed.
  15845. (getTopDir): Removed.
  15846. * src/BtContext.h: New file.
  15847. * src/DefaultPeerStorage.h: New file.
  15848. * src/PieceMessage.h (TorrentMan.h): Removed.
  15849. * src/RequestMessage.h (TorrentMan.h): Removed.
  15850. * src/TorrentDownloadEngine.h
  15851. (uploadLength): New variable.
  15852. (btContext): New variable.
  15853. (btRuntime): New variable.
  15854. (pieceStorage): New variable.
  15855. (peerStorage): New variable.
  15856. (btAnnounce): New variable.
  15857. (btProgressInfoFile): New variable.
  15858. (torrentMan): Removed.
  15859. (setBtContext): New function.
  15860. * src/TorrentDownloadEngine.cc: Use BtContext, BtRuntime, pieceStorage,
  15861. peerStorage, btAnnounce, btProgressInfoFile.
  15862. * src/Piece.h
  15863. (toString): New function.
  15864. (Pieces): New type definition.
  15865. * src/Peer.h
  15866. (active): New variable.
  15867. (Peer): Added active.
  15868. (activate): Set active to true.
  15869. (deactivate): Set active to false.
  15870. (isActive): New function.
  15871. (Peers): New type definition.
  15872. * src/DirectDiskAdaptor.cc
  15873. (getFilePath): Use the accessor methods of FileEntry.
  15874. * src/TorrentConsoleDownloadEngine.h
  15875. (afterEachIteration): New function.
  15876. * src/TorrentConsoleDownloadEngine.cc
  15877. (haltRequested): New variable.
  15878. (sendStatistics): Use pieceStorage, btRuntime.
  15879. (afterEachIteration): New function.
  15880. * src/AnnounceList: AnnounceTier->AnnounceTierHandle.
  15881. * src/Directry.h
  15882. (Directory): New function.
  15883. (DirectoryHandle): New type definition.
  15884. * src/BtProgressInfoFile.h: New file.
  15885. * src/RequestMessage.cc: Use pieceStorage.
  15886. * src/BtRuntime.h: New file.
  15887. * src/DefaultBtContext.cc: New file.
  15888. * src/BitfieldMan.h
  15889. (getCompletedLength): New function(private).
  15890. (getCompletedLength): New function.
  15891. (getFilteredCompletedLength): New function.
  15892. * src/BitfieldMan.h
  15893. (getCompletedLength): New function(private).
  15894. (getCompletedLength): New function.
  15895. (getFilteredCompletedLength): New function.
  15896. * src/MultiDiskAdaptor.cc
  15897. (mkdir): New function.
  15898. (openFile): Call mkdir().
  15899. (initAndOpenFile): Call mkdir().
  15900. * src/CancelMessage.h
  15901. (TorrentMan.h): Removed.
  15902. * src/RejectMessage.h
  15903. (TorrentMan.h): Removed.
  15904. * src/DownloadEngineFactory.cc
  15905. (DefaultPieceStorage.h): New include.
  15906. (DefaultPeerStorage.h): New include.
  15907. (DefaultBtAnnounce.h): New include.
  15908. (DefaultBtProgressInfoFile.h): New include.
  15909. (newTorrentConsoleEngine): Rewritten.
  15910. * src/ShareRatioSeedCriteria.h
  15911. (torrentMan): Removed.
  15912. (btContext): New variable.
  15913. (peerStorage): New variable.
  15914. (btRuntime): New variable.
  15915. (evaluate): Use btContext, btRuntime, peerStorage.
  15916. * src/AnnounceTier.h: New file.
  15917. * src/BtAnnounce.h: New file.
  15918. * src/BtRegistry.h: New file.
  15919. * src/PeerInitiateConnectionCommand.h: Added btContext.
  15920. * src/PeerConnection.h (TorrentMan.h): Removed.
  15921. * src/PeerMessageFactory.cc: Use btContext, pieceStorage.
  15922. * src/Util.h
  15923. (slice): Added an argument.
  15924. * src/Util.cc
  15925. (slice): Added an argument to control whether trim is made or not.
  15926. * src/PeerStorage.h: New file.
  15927. * src/BtRegistry.cc: New file.
  15928. * src/TrackerUpdateCommand.h: Made subclass of BtContextAwareCommand.
  15929. * src/CopyDiskAdaptor.cc: Use the accessor methods of FileEntry.
  15930. * src/MultiDiskWriter.h: FileEntry -> FileEntryHandle
  15931. * src/PeerListenCommand.cc: Use btRuntime, peerStorage, btContext.
  15932. * src/TorrentRequestInfo.h
  15933. (e): Removed.
  15934. (showFileEntry): Added an argument.
  15935. (getDownloadEngine): Return 0.
  15936. * src/DefaultBtAnnounce.h: New file.
  15937. * src/TorrentAutoSaveCommand.cc: Use btRuntime, btProgressInfoFile.
  15938. * src/TrackerWatcherComand.cc: Use btRuntime, btAnnounce,
  15939. * src/PeerMessageFactory.h
  15940. (btContext): New variable.
  15941. (pieceStorage): New variable.
  15942. * src/TrackerUpdateCommand.cc: Use btRuntime, peerStorage, btContext,
  15943. btAnnounce.
  15944. * src/DiskAdaptor.cc
  15945. (DiskAdaptor): Removed topDir.
  15946. (~DiskAdaptor): Removed topDir.
  15947. * src/PeerListenCommand.h: Made subclass of BtContextAwareCommand.
  15948. * src/SeedCheckCommand.h: Made subclass of BtContextAwareCommand.
  15949. * src/File.h (mkdirs): New function.
  15950. * src/DefaultPeerStorage): New file.
  15951. * src/DownloadEngineFactory.h
  15952. (newTorrentConsoleEngine): Use btContext.
  15953. * src/BtContextAwareCommand.cc: New file.
  15954. * src/PeerInitiateConnectionCommand.cc: Use btRuntime, peerStorage.
  15955. * src/PeerMessage.h
  15956. (btContext): New variable.
  15957. (peerStorage): New variable.
  15958. (pieceStorage): New variable.
  15959. (setBtContext): New function.
  15960. * src/Directry.cc
  15961. (Directory): New function.
  15962. (createDir): Do nothing if name.size() == 0.
  15963. * src/AnnounceList.h
  15964. (AnnounceTier): Removed.
  15965. (AnnounceTiers): Removed.
  15966. * src/DefaultPieceStorage.h: New file.
  15967. * src/Piece.cc (toString): New function.
  15968. To fix typo:
  15969. * src/main.cc (showVersion): Fixed typo.
  15970. To fix compile warning:
  15971. * src/DelegatingPeerListProcessor.cc
  15972. (canHandle): Added "return false".
  15973. 2006-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15974. To simplify TrackerWatherCommand, TrackerUpdateCommand and
  15975. make the process of announce request testable.
  15976. * src/TrackerWatcherCommand.h
  15977. (TimeA2.h): Removed.
  15978. (interval): Removed.
  15979. (checkPoint): Removed.
  15980. (createRequestCommand): Added an argument 'url'.
  15981. (TrackerWatherCommand): Removed interval.
  15982. (createCommand): New function.
  15983. * src/DownloadEngineFactory.cc
  15984. (newTorrentConsoleEngine): Updated according to the changes in
  15985. TrackerWatherCommand.
  15986. * src/TorrentMan.cc
  15987. (DelegatingPeerListProcessor.h): New includes.
  15988. (TorrentMan): Added the initialization of announceInterval.
  15989. (isStoppedAnnounceReady): New function.
  15990. (isCompletedAnnounceReady): New function.
  15991. (isDefaultAnnounceReady): New function.
  15992. (isAnnounceReady): New function.
  15993. (getAnnounceUrl): New function.
  15994. (announceStart): New function.
  15995. (announceFailure): New function.
  15996. (announceSuccess): New function.
  15997. (isAllAnnounceFailed): New function.
  15998. (resetAnnounce): New function.
  15999. (processAnnounceResponse): New function.
  16000. (needMorePeerConnection): New function.
  16001. (noMoreAnnounce): New function.
  16002. * src/TrackerUpdateCommand.h
  16003. (getTrackerResponse): int->size_t
  16004. * src/TorrentMan.h
  16005. (isStoppedAnnounceReady): New function.
  16006. (isCompletedAnnounceReady): New function.
  16007. (isDefaultAnnounceReady): New function.
  16008. (announceInterval): New variable.
  16009. (isAnnounceReady): New function.
  16010. (getAnnounceUrl): New function.
  16011. (announceStart): New function.
  16012. (announceFailure): New function.
  16013. (announceSuccess): New function.
  16014. (isAllAnnounceFailed): New function.
  16015. (resetAnnounce): New function.
  16016. (processAnnounceResponse): New function.
  16017. (needMorePeerConnection): New function.
  16018. (noMoreAnnounce): New function.
  16019. * src/TrackerWatcherCommand.cc
  16020. (TrackerWatherCommand): Removed interval and checkPoint.
  16021. (execute): Rewritten.
  16022. (createCommand): New function.
  16023. (createRequestCommand): Rewritten.
  16024. * src/TrackerUpdateCommand.cc
  16025. (MetaFileUtil.h): Removed.
  16026. (DelegatingPeerListProcessor.h): Removed.
  16027. (getTrackerResponse): int->size_t. Use torrentMan's new functions.
  16028. 2006-10-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16029. Request -> RequestHandle:
  16030. * src/HttpResponseCommand.h: Request->RequestHandle
  16031. * src/AbstractCommand.cc: Request->RequestHandle
  16032. * src/HttpDownloadCommand.cc: Request->RequestHandle
  16033. * src/HttpRequestCommand.cc: Request->RequestHandle
  16034. * src/FtpInitiateConnectionCommand.h: Request->RequestHandle
  16035. * src/AbstractCommand.h: Request->RequestHandle
  16036. * src/HttpProxyRequestCommand.h: Request->RequestHandle
  16037. * src/HttpResponseCommand.cc: Request->RequestHandle
  16038. * src/HttpInitiateConnectionCommand.h: Request->RequestHandle
  16039. * src/FtpNegotiateCommand.cc: Request->RequestHandle
  16040. * src/FtpTunnelResponseCommand.h: Request->RequestHandle
  16041. * src/HttpConnection.h: Request->RequestHandle
  16042. * src/HttpProxyResponseCommand.cc: Request->RequestHandle
  16043. * src/InitiateConnectionCommandFactory.h: Request->RequestHandle
  16044. * src/FtpTunnelResponseCommand.cc: Request->RequestHandle
  16045. * src/DownloadCommand.h: Request->RequestHandle
  16046. * src/FtpDowndloadCommand.cc: Request->RequestHandle
  16047. * src/HttpInitiateConnectionCommand.cc: Request->RequestHandle
  16048. * src/HttpRequestCommand.h: Request->RequestHandle
  16049. * src/FtpNegotiateCommand.h: Request->RequestHandle
  16050. * src/FtpTunnelResponseCommand.cc: Request->RequestHandle
  16051. * src/FtpInitiateConnectionCommand.cc: Request->RequestHandle
  16052. * src/HttpDownloadCommand.h: Request->RequestHandle
  16053. * src/FtpConnection.cc: Request->RequestHandle
  16054. * src/InitiateConnectionCommandFactory.cc: Request->RequestHandle
  16055. * src/UrlRequestInfo.cc: Request->RequestHandle
  16056. * src/HttpProxyResponseCommand.h: Request->RequestHandle
  16057. * src/HttpConnection.h: Request->RequestHandle
  16058. * src/DownloadCommand.cc: Request->RequestHandle
  16059. * src/FtpConnection.h: Request->RequestHandle
  16060. * src/FtpDowndloadCommand.h: Request->RequestHandle
  16061. * src/HttpProxyRequestCommand.cc: Request->RequestHandle
  16062. * src/FtpTunnelRequestCommand.h: Request->RequestHandle
  16063. * src/Request.h
  16064. (SharedHandle.h): New include.
  16065. (RequestHandle): New type definition.
  16066. (Requests): Redefined.
  16067. To add MULTITRACKER support:
  16068. * src/TrackerWatcherCommand.h
  16069. (createRequestCommand): New function.
  16070. * src/DownloadEngineFactory.cc
  16071. (newTorrentConsoleEngine): Removed req.
  16072. * src/prefs.h
  16073. (PREF_TRACKER_MAX_TRIES): New definition.
  16074. * src/TorrentMan.cc
  16075. (TorrentMan): Removed req. Added trackerNumTry.
  16076. (~TorrentMan): Removed req.
  16077. (setupInternal1): Added announceList.
  16078. * src/TorrentRequestInfo.cc
  16079. (execute): Set PREF_MAX_TIRES to 1. The max number of tries for
  16080. announces is now specified by PREF_TRACKER_MAX_TRIES.
  16081. * src/main.cc
  16082. (main): Added PREF_TRACKER_MAX_TRIES.
  16083. * src/TorrentMan.h
  16084. (Request.h): Removed.
  16085. (AnnounceList.h): New include.
  16086. (trackerNumTry): New variable.
  16087. (req): Removed.
  16088. (announceList): New variable.
  16089. * src/TrackerWatcherCommand.cc
  16090. (execute): Rewritten.
  16091. (createRequestCommand): New function.
  16092. * src/TrackerUpdateCommand.cc
  16093. (execute): Updated with the use of AnnounceList.
  16094. * src/AnnounceList.cc: New class.
  16095. * src/AnnounceList.h: New class.
  16096. To fix typo:
  16097. * src/prefs.h
  16098. (PREF_MAX_TRIES): max_try->max_tries
  16099. To not to decode "+" as space in URL decode:
  16100. * src/Util.cc
  16101. (urldecode): Removed "+"->space decoding rule. Test case was updated.
  16102. 2006-10-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16103. To add timeout to async name resolution:
  16104. * src/AbstractCommand.h
  16105. (nameResolveFinished): New function. This is not elegant way. It needs
  16106. to be more refined.
  16107. (nameResolverCheck): New variable.
  16108. * src/AbstractCommand.cc
  16109. (AbstractCommand): Added nameResolverCheck.
  16110. (execute): Added the check whether the name resolution has finished.
  16111. (setNameResolverCheck): Set nameResolverCheck to true.
  16112. (disableNameResolverCheck): Set nameResolverCheck to false.
  16113. (nameResolverFinished): New function.
  16114. * src/FtpInitiateConnectionCommand.h
  16115. (nameResolverFinished): New function.
  16116. * src/FtpInitiateConnectionCommand.cc
  16117. (FtpInitiateConnectionCommand): Set timeout to PREF_DNS_TIMEOUT.
  16118. * src/HttpInitiateConnectionCommand.h
  16119. (nameResolverFinished): New function.
  16120. * src/HttpInitiateConnectionCommand.cc
  16121. (HttpInitiateConnectionCommand): Set timeout to PREF_DNS_TIMEOUT.
  16122. * src/prefs.h
  16123. (PREF_DNS_TIMEOUT): New definition.
  16124. * src/main.cc
  16125. (main): Added PREF_DNS_TIMEOUT.
  16126. To add the support for a non-compact response from a tracker:
  16127. * src/PeerListProcessor.h: New class.
  16128. * src/DefaultPeerListProcessor.h: New class.
  16129. * src/DefaultPeerListProcessor.cc: New class.
  16130. * src/CompactPeerListProcessor.h: New class.
  16131. * src/CompactPeerListProcessor.cc: New class.
  16132. * src/DelegatingPeerListProcessor.h: New class.
  16133. * src/DelegatingPeerListProcessor.cc: New class.
  16134. * src/TorrentMan.cc
  16135. (addPeer): New function(overload).
  16136. (addPeer): Delete unused peers only when new peer is added.
  16137. * src/TorrentMan.h
  16138. (PeerListProcessor.h): Included.
  16139. (Peers): Removed.
  16140. (addPeer): New function(overload).
  16141. * src/TrackerUpdateCommand.cc
  16142. (netinet/in.h): Removed.
  16143. (DelegatingPeerListProcessor.h): Included.
  16144. (execute): Updated to use DelegatingPeerListProcessor.
  16145. To fix the memory leak in TorrentMan::peers:
  16146. * src/PeerAbstractCommand.cc
  16147. (onAbort): Added peer->resetStatus().
  16148. * src/Peer.h
  16149. (resetStatus): Made public.
  16150. To improve the precision of the speed calculation:
  16151. * src/SpeedCalc.h
  16152. (nextInterval): New variable.
  16153. * src/SpeedCalc.cc
  16154. (reset): Added nextInterval.
  16155. (isIntervalOver): Use nextInterval instead of CHANGE_INTERVAL_SEC.
  16156. (changeSw): Set nextInterval to 15 seconds relative to the current
  16157. instant time.
  16158. * src/main.cc
  16159. (showVersion): Updated.
  16160. (showUsage): Updated.
  16161. * Release 0.8.1
  16162. 2006-09-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16163. * src/main.cc
  16164. (showUsage): Commented out --min-segment-size option.
  16165. (main): Commented out --min-segment-size option.
  16166. * Release 0.8.0
  16167. 2006-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16168. * src/*.{h,cc}:
  16169. Added an exception to the license which allows linking with OpenSSL.
  16170. 2006-09-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16171. * src/AbstractCommand.cc
  16172. (execute): Check whether the download has finished before checking
  16173. socket status.
  16174. Return true if peerStat->getStatus() == REQUEST_IDLE.
  16175. Do not exit even if no segment is available.
  16176. * src/prefs.h
  16177. (PREF_STARTUP_IDLE_TIME): New definition.
  16178. * src/PeerInteractionCommand.cc
  16179. (executeInternal): Removed max speed limit. Because it performs bad.
  16180. (receiveMessages): Added max speed limit. This was better than above,
  16181. but still a little bit to be desired. Sometimes the download speed
  16182. became much faster than I specified.
  16183. * src/SpeedCalc.h
  16184. (start): New variable.
  16185. (accumulatedLength): New variable.
  16186. (getAvgSpeed): New function.
  16187. * src/SpeedCalc.cc
  16188. (reset): Added start, accumulatedLength.
  16189. (update): Added calculation of an average speed.
  16190. (getAvgSpeed): New function.
  16191. * src/DownloadCommand.h
  16192. (sw): Removed.
  16193. * src/main.cc
  16194. (main): Added PREF_STARTUP_IDLE_TIME.
  16195. * src/PeerStat.h
  16196. (STATUS): Added REQUEST_IDLE.
  16197. (getMaxSpeed): Renamed as getMaxDownloadSpeed().
  16198. (getAvgDownloadSpeed): New function
  16199. (requestIdle): New function.
  16200. * src/SegmentMan.h
  16201. (SegmentEntryHandle): New type definition.
  16202. (SegmentEntries): Now holds SegmentEntryHandle.
  16203. (findSlowerSegmentEntry): New funtion.
  16204. * src/SegmentMan.cc
  16205. (save): Updated according to the changes in SegmentEntries.
  16206. (read): Updated according to the changes in SegmentEntries.
  16207. (FindSegmentEntryByIndex): Updated according to the changes in
  16208. SegmentEntries.
  16209. (FindSegmentEntryByCuid): Updated according to the changes in
  16210. SegmentEntries.
  16211. (checkoutSegment): Updated according to the changes in SegmentEntries.
  16212. (onNullBitfield): Updated according to the changes in SegmentEntries.
  16213. Renamed uitr as itr.
  16214. (findSlowerSegmentEntry): New function.
  16215. (getSegment): Updated according to the changes in SegmentEntries.
  16216. Added the feature that cancels the segment with slow server and fast
  16217. one takes it over.
  16218. (cancelSegment): Updated according to the changes in SegmentEntries.
  16219. (getDownloadLength): Updated according to the changes in
  16220. SegmentEntries.
  16221. (init): Assigned 0 to bitfield after deleting it.
  16222. * src/DownloadCommand.cc
  16223. (STARTUP_IDLE_TIME): Removed.
  16224. (executeInternal): Use PREF_STARTUP_IDLE_TIME.
  16225. * src/PeerChokeCommand.cc
  16226. (optUnchokingPeer): Updated according to the changes in Peer.
  16227. (ResetDelta): Removed.
  16228. (UploadFaster): Updated according to the changes in Peer.
  16229. (DownloadFaster): Updated according to the changes in Peer.
  16230. (execute): I clarify the meaning of "upload" and "download" here.
  16231. "upload" means the transfer from localhost to remote host.
  16232. "download" means the transfer from remote host to localhost.
  16233. Based on this rule, I swapped orderByUploadRate and
  16234. orderByDownloadRate.
  16235. * src/PeerInteractionCommand.cc
  16236. (PeerInteraction): Removed peerInteraction->setUploadLImit().
  16237. (executeInternal): Removed the argument of
  16238. peerInteraction->sendMessages().
  16239. (receiveMessages): Rewritten download speed limit.
  16240. (sendKeepAlive): Removed peerInteraction->sendMessages().
  16241. * src/HttpResponseCommand.cc
  16242. (handleDefaultEncoding): If file size is unknown in torrent request,
  16243. do not call segmentMan->initBitfield() here.
  16244. Disabled persistent connection feature in torrent request.
  16245. * src/UrlRequestInfo.h
  16246. (UrlRequestInfo): Removed const qualifier from option.
  16247. * src/TorrentMan.h
  16248. (TransferStat): New class.
  16249. (deltaDownloadLength): Removed.
  16250. (deltaUploadLength): Removed.
  16251. (addDeltaDownloadLength): Removed.
  16252. (getDeltaDownloadLength): Removed.
  16253. (resetDeltaDownloadLength): Removed.
  16254. (addDeltaUploadLength): Removed.
  16255. (getDeltaUploadLength): Removed.
  16256. (resetDeltaUploadLength): Removed.
  16257. (addActivePeer): Added peer->activate().
  16258. (deleteActivePeer): Added peer->deactivate().
  16259. (calculateStat): New function.
  16260. * src/TorrentMan.cc
  16261. (TorrentMan): Removed deltaDownloadLength and deltaUploadLength.
  16262. (calculateStat): New function.
  16263. * src/PeerInteraction.h
  16264. (uploadLimit): Removed.
  16265. (option): New variable.
  16266. (setUploadLimit): Removed.
  16267. (getUploadSpeed): Removed.
  16268. (sendMessages): Removed the argument "currentUploadSpeed".
  16269. * src/PeerInteraction.cc
  16270. (prefs.h): Included.
  16271. (PeerInteraction): Removed uploadLimit. Added option.
  16272. (sendMessages): Rewritten upload speed limit.
  16273. (sendHandshake): Removed the argument from sendMessages().
  16274. (sendBitfield): Removed the argument from sendMessages().
  16275. * src/PeerAbstractCommand.cc
  16276. (execute): Commented out the portion of upload limit.
  16277. (onAbort): Removed peer->resetStatus().
  16278. * src/TorrentRequestInfo.cc
  16279. (timeoutSpecified): Declared extern.
  16280. (execute): Set timeout to 180 if timeout is not specified by.
  16281. command-line.
  16282. * src/PieceMessage.cc
  16283. (receivedAction): Added peer->updateDownloadLength().
  16284. Removed peer->addPeerUpload().
  16285. Removed torrentMan->addDeltaDownloadLength().
  16286. (send): Added peer->updateUploadLength().
  16287. Removed peer->addPeerDownload().
  16288. Removed torrentMan->addDeltaUploadLength().
  16289. * src/main.cc
  16290. (timeoutSpecified): New variable.
  16291. (main): Set timeoutSpecified to false.
  16292. If the command-line option "--upload-limit" is specified, then
  16293. timeoutSpecified is set to true. This option will remain in the next
  16294. release, but be deprecated in the future release.
  16295. * src/TorrentRequestInfo.h
  16296. (TorrentRequestInfo): Removed const qualifier from op.
  16297. * src/PeerStat.h
  16298. (uploadSpeed): New variable.
  16299. (PeerStat): Added default value to cuid.
  16300. (calculateUploadSpeed): New function.
  16301. (updateUploadLength): New function.
  16302. (getMaxUploadSpeed): New function.
  16303. (getAvgUploadSpeed): New function.
  16304. (reset): Added uploadSpeed. Set status to IDLE.
  16305. * src/TorrentDownloadEngine.h
  16306. (cp): Declared as Time.
  16307. (sessionDownloadLengthArray): Removed.
  16308. (sessionUploadLengthArray): Removed.
  16309. (currentCp): Removed.
  16310. (lastCalcStat): New variable
  16311. (lastElapsed): Removed.
  16312. (sessionDownloadLength): Removed.
  16313. (calculateStat): New function.
  16314. * src/TorrentDownloadEngine.cc
  16315. (initStatistics): Removed lastElapsed, cp[],
  16316. sessionDownloadLengthArray[], sessionUploadLengthArray[],
  16317. currentCp, sessionDownloadLength.
  16318. Added cp.reset() and lastCalcStat.reset().
  16319. (calculateSpeed): Changed the name of the argument.
  16320. (calculateStatistics): Rewritten.
  16321. (calculateStat): New function.
  16322. * src/Peer.h
  16323. (PeerStat.h): Included.
  16324. (peerUpload): Removed.
  16325. (peerDownload): Removed.
  16326. (peerStat): New variable.
  16327. (sessionUploadLength): New variable.
  16328. (sessionDownloadLength): New variable.
  16329. (deltaUpload): Removed.
  16330. (deltaDownload): Removed.
  16331. (resetStatus): Made private.
  16332. (Peer): Added sessionUploadLength, sessionDownloadLength.
  16333. Removed peerUpload, peerDownload.
  16334. (updateUploadLength): New function.
  16335. (addDeltaUpload): Removed.
  16336. (updateDownloadLength): New function.
  16337. (resetDeltaUpload): Removed.
  16338. (getDeltaUpload): Removed.
  16339. (addDeltaDownload): Removed.
  16340. (calculateUploadSpeed): New function.
  16341. (resetDeltaDownload): Removed.
  16342. (getDeltaDownload): Removed.
  16343. (calculateDownloadSpeed): New function.
  16344. (getSessionUploadLength): New function.
  16345. (getSessionDownloadLength): New function.
  16346. (activate): New function.
  16347. (deactivate): New function.
  16348. (addPeerUpload): Removed.
  16349. (setPeerUpload): Removed.
  16350. (getPeerUpload): Removed.
  16351. (addPeerDownload): Removed.
  16352. (setPeerDownload): Removed.
  16353. (getPeerDownload): Removed.
  16354. * src/Peer.cc
  16355. (resetStatus): Removed resetDeltaUpload() and resetDeltaDownload().
  16356. * src/MetalinkRequestInfo.h
  16357. (MetalinkRequestInfo): Removed const qualifier from op.
  16358. * src/RequestInfo.h
  16359. (op): Removed const qualifier.
  16360. (RequestInfo): Removed const qualifier from op.
  16361. * src/prefs.h
  16362. (PREF_MAX_SPEED_LIMIT): Renamed as PREF_MAX_DOWNLOAD_LIMIT.
  16363. (PREF_UPLOAD_LIMIT): Renamed as PREF_MAX_UPLOAD_LIMIT.
  16364. * src/PeerInteractionCommand.cc
  16365. (PeerInteractionCommand): Use PREF_MAX_UPLOAD_LIMIT.
  16366. (receiveMessages): Use PREF_MAX_DOWNLOAD_LIMIT.
  16367. * src/PeerInteraction.cc
  16368. (sendMessages): Use PREF_MAX_UPLOAD_LIMIT.
  16369. * src/main.cc
  16370. (showUsage): Updated the description of "--lowest-speed-limit" option.
  16371. Added the description of "--max-download-limit" option.
  16372. Removed the description of "--upload-limit" option.
  16373. Added the description of "--max-upload-limit" option.
  16374. (main): Use PREF_MAX_UPLOAD_LIMIT, PREF_MAX_DOWNLOAD_LIMIT.
  16375. Added "--max-download-limit" option and "--max-upload-limit" option.
  16376. Added the warning message if "--upload-limit" option is used.
  16377. * src/DownloadCommand.cc
  16378. (executeInternal): Use PREF_MAX_DOWNLOAD_LIMIT.
  16379. 2006-09-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16380. To rewrite segment download mechanism for HTTP/FTP download.
  16381. Use BitfieldMan to manage segment download.
  16382. * src/HttpResponseCommand.h
  16383. (executeInternal): Pass the reference of segment.
  16384. * src/AbstractCommand.cc
  16385. (prepareForRetry): Call segmentMan->cancelSegment here.
  16386. (onAbort): Call segmentMan->cancelSegment here.
  16387. * src/HttpDownloadCommand.cc
  16388. (prepareForNextSegment): New function.
  16389. * src/DownloadEngineFactory.cc
  16390. (newConsoleEngine): Removed splitter.
  16391. (newTorrentConsoleEngine): Removed splitter.
  16392. * src/Request.h
  16393. (segment): Renamed from seg.
  16394. * src/FtpInitiateConnectionCommand.h
  16395. (executeInternal): Pass the reference of segment.
  16396. * src/AbstractCommand.h
  16397. (executeInternal): Pass the reference of segment.
  16398. * src/pref.h
  16399. (PREF_SEGMENT_SIZE): New definition.
  16400. * src/HttpProxyRequestCommand.h
  16401. (executeInternal): Pass the reference of segment.
  16402. * src/HttpResponseCommand.cc
  16403. (checkResponse): Allowed status 206 when a request range starts 0.
  16404. (handleDefaultEncoding): Rewritten the code related to Segment.
  16405. (handleOtherEncoding): Rewritten the code related to Segment.
  16406. * src/SegmentMan.h
  16407. (SegmentEntry): New class.
  16408. (SegmentEntries): New type definition.
  16409. (bitfield): New variable.
  16410. (usedSegmentEntries): New variable.
  16411. (onNullBitfield): New function.
  16412. (checkoutSegment): New function.
  16413. (segments): Removed.
  16414. (splitter): Removed.
  16415. (unregisterId): Removed.
  16416. (getSegment): New function(overload)
  16417. (getDownloadedSize): Removed.
  16418. (cancelSegment): New function.
  16419. (completeSegment): New function.
  16420. (initBitfield): New function.
  16421. (hasSegment): New function.
  16422. (getDownloadLength): New function.
  16423. * src/BitfieldMan.h
  16424. (getStartIndex): New function.
  16425. (getEndIndex): New function.
  16426. (getMissingUnusedIndex): New function(overload).
  16427. (getSparseMissingUnusedIndex): New function.
  16428. * src/BitfieldMan.cc
  16429. (getMissingIndexRandomly): Handle the last byte of bitfield properly.
  16430. (getMissingUnusedIndex): New function(overload).
  16431. (Range): New class.
  16432. (getStartIndex): New function.
  16433. (getEndIndex): New function.
  16434. (getSparseMissingUnusedIndex): New function.
  16435. (isBitSetInternal): Return false if the given index is less than 0.
  16436. * src/HttpInitiateConnectionCommand.h
  16437. (executeInternal): Pass the reference of segment.
  16438. * src/FtpNegotiateCommand.h
  16439. (executeInternal): Pass the reference of segment.
  16440. * src/FtpNegotiateCommand.cc
  16441. (recvSize): Initialize bitfield here.
  16442. * src/FtpTunnelResponseCommand.h
  16443. (executeInternal): Pass the reference of segment.
  16444. * src/HttpConnection.cc
  16445. (createRequest): Rewritten range header processing.
  16446. * src/DownloadCommand.h
  16447. (executeInternal): Pass the reference of segment.
  16448. (prepareForRetry): Removed.
  16449. (prepareForNextSegment): Added an argument segment. Made it a virtual
  16450. function.
  16451. * src/main.cc
  16452. (main): Set the initial value of PREF_SEGMENT_SIZE to 1MB.
  16453. * src/SegmentMan.cc
  16454. (SegmentMan): Added bitfield. Removed splitter.
  16455. (~SegmentMan): Added bitfield. Removed splitter.
  16456. (unregisterId): Removed.
  16457. (getSegment): Rewritten.
  16458. (updateSegment): Rewritten.
  16459. (save): Rewritten.
  16460. (read): Rewritten.
  16461. (finished): Rewritten.
  16462. (getDownloadedSize): Removed.
  16463. (initBitfield): New function.
  16464. (FindSegmentEntryByIndex): New function object.
  16465. (FindSegmentEntryByCuid): New function object.
  16466. (checkoutSegment): New function.
  16467. (onNullBitfield): New function.
  16468. (getSegment): New function(overload).
  16469. (CancelSegment): New function object.
  16470. (cancelSegment): New function.
  16471. (completeSegment): New function.
  16472. (hasSegment): New function.
  16473. (getDownloadLength): New function.
  16474. * src/FtpInitiateConnectionCommand.cc
  16475. (executeInternal): Load .aria2 file after hostname resolution finishes.
  16476. * src/Segment.h: Rewritten.
  16477. * src/Segment.cc (operator<<): New function.
  16478. * src/HttpDownloadCommand.h
  16479. (prepareForNextSegment): New function.
  16480. * src/Request.cc
  16481. (resetUrl): Made segment null.
  16482. * src/DownloadEngine.cc
  16483. (~DownloadEngine): Call cleanQueue before deleting segmentMan.
  16484. * src/HttpProxyRequestCommand.h
  16485. (executeInternal): Pass the reference of segment.
  16486. * src/DownloadCommand.cc
  16487. (executeInternal): Rewritten the code related to Segment.
  16488. (prepareForRetry): Removed.
  16489. (prepareForNextSegment): Rewritten.
  16490. * src/FtpTunnelResponseCommand.h
  16491. (executeInternal): Pass the reference of segment.
  16492. To add HTTP 1.1 persistent connection support(experimental)
  16493. * src/HttpRequestCommand.cc
  16494. (executeInternal): Disable keep alive if it is disabled by
  16495. configuration.
  16496. * src/Request.h
  16497. (keepAlive): New variable.
  16498. (isKeepAlive): New function.
  16499. (setKeepAlive): New function.
  16500. * src/pref.h
  16501. (PREF_HTTP_KEEP_ALIVE): New definition.
  16502. * src/HttpResponseCommand.cc
  16503. (executeInternal): Check the remote server supports keep alive.
  16504. * src/HttpConnection.cc
  16505. (createRequest): Send "Connection: close" only if keep alive is
  16506. disabled.
  16507. * src/main.cc
  16508. (main):
  16509. Set the initial value(false) of PREF_KEEP_ALIVE to false.
  16510. To add max download speed limit:
  16511. * src/pref.h
  16512. (PREF_MAX_SPEED_LIMIT): New definition.
  16513. * src/PeerInteractionCommand.cc
  16514. (executeInternal): Added max download speed limit. Not tested yet.
  16515. * src/SegmentMan.h
  16516. (PeerStats): New type definition.
  16517. (peerStats): New variable.
  16518. (registerPeerStat): New function.
  16519. (FindPeerStat): New function object.
  16520. (getPeerStat): New function.
  16521. (calculateDownloadSpeed): New function.
  16522. * src/SpeedCalc.h: New class.
  16523. * src/SpeedCalc.cc: New class.
  16524. * src/main.cc
  16525. (main):
  16526. Set the initial value of PREF_MAX_SPEED_LIMIT to 0(which means the
  16527. download speed is not restricted).
  16528. * src/PeerStat.h: New class.
  16529. * src/SegmentMan.cc
  16530. (registerPeerStat): New function.
  16531. (calculateDownloadSpeed): New function.
  16532. * src/DownloadCommand.cc
  16533. (STARTUP_IDLE_TIME): New definition.
  16534. (DownloadCommand): Register peerStat to segmentMan. Call peerStat->
  16535. downloadStart.
  16536. (~DownloadCommand): Call peerStat->downloadStop.
  16537. (executeInternal): Added download speed limitter. Rewritten lowest
  16538. speed limitter.
  16539. * src/HttpConnection.cc
  16540. (receiveResponse): Fixed: eohIndex[headerBuf] -> headerBuf[eohIndex].
  16541. * src/AbstractCommand.cc
  16542. (resolveHostname): Throw DlAbortEx if a name resolution failes.
  16543. Added hostname to the error message.
  16544. * src/ConsoleDownloadEngine.cc
  16545. (calculateStatistics): Initialize psize with dlSize.
  16546. * src/PieceMessage.cc
  16547. (receivedAction): Do not call peerInteraction->abortPiece here.
  16548. (onGotWrongPiece): Call peerInteraction->abortPiece here.
  16549. * src/BitfieldMan.h
  16550. (clearAllUseBit): New function.
  16551. (setAllUseBit): New function.
  16552. * src/BitfieldMan.cc
  16553. (clearAllBit): Do not clear useBitfield here.
  16554. (clearAllUseBit): New function.
  16555. (setAllUseBit): New function.
  16556. * src/Piece.cc
  16557. (clearAllBlock): Call bitfield->clearAllUseBit().
  16558. 2006-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16559. To make filename URL-decoded:
  16560. * src/HttpResponseCommand.h: Updated doc.
  16561. * src/HttpResponseCommand.cc
  16562. (determinFilename): Made filename URL-decoded.
  16563. * src/FtpInitiateConnectionCommand.cc
  16564. (executeInternal): Made filename URL-decoded.
  16565. * src/Util.h (urldecode): New function.
  16566. * src/Util.cc (urldecode): New function.
  16567. To fix a bug that caused assertion failure in ares_strerror:
  16568. * src/NameResolver.cc (callback): Fixed the bug.
  16569. * Release 0.7.3
  16570. 2006-08-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16571. To add --seed-time and --seed-ratio command-line option:
  16572. * src/Option.h (getAsDouble): New function.
  16573. * src/Option.cc (getAsDouble): New function.
  16574. * src/SeedCheckCommand.h: New class.
  16575. * src/SeedCheckCommand.cc: New class.
  16576. * src/DownloadEngineFactory.cc
  16577. (SeedCheckCommand.h): Included.
  16578. (UnionSeedCriteria.h): Included.
  16579. (TimeSeedCriteria.h): Included.
  16580. (ShareRatioSeedCriteria.h): Included.
  16581. (newTorrentConsoleEngine): Added the processing of seed option.
  16582. * src/SeedCriteria.h: New class.
  16583. * src/ShareRatioSeedCriteria.h: New class.
  16584. * src/TimeSeedCriteria.h: New class.
  16585. * src/UnionSeedCriteria.h: New class.
  16586. * src/prefs.h
  16587. (PREF_SEED_TIME): New definition.
  16588. (PREF_SEED_RATIO): New definition.
  16589. * src/main.cc
  16590. (showUsage): Added --seed-time and --seed-ratio option.
  16591. (main): Added --seed-time and --seed-ratio option.
  16592. Made default log file name "/dev/null".
  16593. * src/SharedHandle.h
  16594. (SharedHandle): Copy constructor. Made it assignable from the
  16595. SharedHandle of the subclasses.
  16596. (operator=): Made it assignable from the SharedHandle of the
  16597. subclasses.
  16598. (getRefCount): New function.
  16599. To add notice log level and the switch to write log to stdout. This
  16600. switch is configurable per log level.
  16601. * src/Logger.h
  16602. (notice): New function.
  16603. (LEVEL): Added NOTICE. Assigned an explicit value to each log level
  16604. constant.
  16605. * src/LogFactory.cc
  16606. (getInstance): The use of NullLogger was removed. A log message with
  16607. notice log level was made written to stdout along with log file.
  16608. * src/NullLogger.h
  16609. (notice): New function.
  16610. * src/SimpleLogger.h
  16611. (writeHeader): Added the 'file' argument.
  16612. (writeLog): Added the 'file' argument.
  16613. (writeFile): New function.
  16614. (stdoutField): New variable.
  16615. (SimpleLogger): Removed the default constructor.
  16616. (SimpleLogger): Made the default value of logfile 0.
  16617. (debug): Added 'virtual' keyword.
  16618. (info): Added 'virtual' keyword.
  16619. (warn): Added 'virtual' keyword.
  16620. (error): Added 'virtual' keyword.
  16621. (notice): New function.
  16622. (setStdout): New function.
  16623. * src/SimpleLogger.cc
  16624. (WRITE_LOG): Replaced writeLog with writeFile.
  16625. (WRITE_LOG_EX): Replaced writeLog with writeFile.
  16626. (SimpleLogger): Removed the default constructor.
  16627. (setStdout): New function.
  16628. (writeLog): Added the handling of NOTICE log level.
  16629. (writeFile): New function.
  16630. (notice): New function.
  16631. * src/TorrentMan.h: Updated doc.
  16632. * src/BitfieldMan.h: Updated doc.
  16633. * src/TrackerWatcherCommand.cc
  16634. (execute): Return true if error occurred in the request to the tracker
  16635. and halt is requested.
  16636. * src/TrackerUpdateCommand.cc
  16637. (execute): Return true if error occurred in the request to the tracker
  16638. and halt is requested.
  16639. To call onDownloadComplete from TorrentMan::completePiece(), not from
  16640. DownloadEngine:
  16641. * src/TorrentConsoleDownloadEngine.h
  16642. (onSelectiveDownloadingCompletes): Removed.
  16643. * src/TorrentConsoleDownloadEngine.cc
  16644. (onSelectiveDownloadingCompletes): Removed.
  16645. * src/TorrentDownloadEngine.h
  16646. (onEndOfRun): Added 'virtual' keyword.
  16647. (afterEachIteration): Removed.
  16648. (onSelectiveDownloadingCompletes): Removed.
  16649. * src/TorrentDownloadEngine.cc
  16650. (onEndOfRun): Removed filenameFixed.
  16651. (afterEachIteration): Removed.
  16652. * src/TorrentMan.cc
  16653. (completePiece): Call onDownloadComplete here.
  16654. (onDownloadComplete): Added 2 log messages.
  16655. 2006-08-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16656. To fix compilation problem on gcc4.1.1(patch#1542283 by tizianomueller)
  16657. * src/NameResolver.h: Added the prototype declaration of callback().
  16658. To support c-ares library:
  16659. * src/AbstractCommand.cc: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16660. * src/FeatureConfig.cc: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16661. * src/FtpInitiateConnectionCommand.h:
  16662. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16663. * src/AbstractCommand.h: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16664. * src/HttpInitiateConnectionCommand.h:
  16665. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16666. * src/NameResolver.cc: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS.
  16667. Added thes upport of c-ares's ares_strerror(the idea came from patch
  16668. #1542285 by tizianomueller)
  16669. * src/HttpInitiateConnectionCommand.cc:
  16670. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16671. * src/FtpInitiateConnectionCommand.cc:
  16672. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16673. * src/DownloadEngine.h:
  16674. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16675. * src/DownloadEngine.cc:
  16676. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16677. To fix the bug that causes compilation failure with metalink-support
  16678. disabled(bug#1543587):
  16679. * src/main.cc: Fixed with the patch by tizianomueller.
  16680. * Release 0.7.2
  16681. 2006-08-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16682. * src/main.cc
  16683. (main): Added a message to inform users that aria2 is starting to
  16684. verify checksum.
  16685. * src/RequestInfo.cc
  16686. (printDownloadAbortMessage): Added a message to inform users that
  16687. transfer can be resumed.
  16688. * src/FeatureConfig.cc
  16689. (FEATURE_ASYNC_DNS): New definition.
  16690. (FeatureConfig): Added aysnc DNS entry.
  16691. To replace CommandUuid with Command* in SocketEntry and
  16692. NameResolverEntry:
  16693. * src/DownloadEngine.h
  16694. (CommandUuids): Removed.
  16695. (SocketEntry::commandUuid): Removed.
  16696. (SocketEntry::command): New variable.
  16697. (SocketEntry::SocketEntry): Updated.
  16698. (SocketEntry::operator==): Updated.
  16699. (NameResolverEntry::commandUuid): Removed.
  16700. (NameResolverEntry::command): New variable.
  16701. (NameResolverEntry::NameResolverEntry): Updated.
  16702. (NameResolverEntry::operator==): Updated.
  16703. (waitData): Changed the argument type.
  16704. (addSocketForReadCheck): Changed the argument type.
  16705. (deleteSocketForReadCheck): Changed the argument type.
  16706. (addSocketForWriteCheck): Changed the argument type.
  16707. (deleteSocketForWriteCheck): Changed the argument type.
  16708. (addNameResolverCheck): Changed the argument type.
  16709. (deleteNameResolverCheck): Changed the argument type.
  16710. * src/DownloadEngine.cc
  16711. (FindCommand): Removed.
  16712. (run): Removed activeUuid. Added activeCommands instead.
  16713. (AccumulateActiveUuid): Renamed as AccumulateActiveCommand.
  16714. (AccumulateActiveCommand): New function object.
  16715. (waitData): Use AccumulateActiveCommand.
  16716. (addSocketForReadCheck): Use Command instead of CommandUuid.
  16717. (deleteSocketForReadCheck): Use Command instead of CommandUuid.
  16718. (addSocketForWriteCheck): Use Command instead of CommandUuid.
  16719. (deleteSocketForWriteCheck): Use Command instead of CommandUuid.
  16720. (addNameResolverCheck): Use Command instead of CommandUuid.
  16721. (deleteNameResolverCheck): Use Command instead of CommandUuid.
  16722. * src/AbstractCommand.cc
  16723. (disableReadCheckSocket): Updated according to the changes in
  16724. DownloadEngine.
  16725. (setReadCheckSocket): Updated according to the changes in
  16726. DownloadEngine.
  16727. (disableWriteCheckSocket): Updated according to the changes in
  16728. DownloadEngine.
  16729. (setWriteCheckSocket): Updated according to the changes in
  16730. DownloadEngine.
  16731. (setNameResolverCheck): Updated according to the changes in
  16732. DownloadEngine.
  16733. (disableNameResolverCheck): Updated according to the changes in
  16734. DownloadEngine.
  16735. * src/AbstractCommand.cc
  16736. (disableReadCheckSocket): Updated according to the changes in
  16737. DownloadEngine.
  16738. (setReadCheckSocket): Updated according to the changes in
  16739. DownloadEngine.
  16740. (disableWriteCheckSocket): Updated according to the changes in
  16741. DownloadEngine.
  16742. (setWriteCheckSocket): Updated according to the changes in
  16743. DownloadEngine.
  16744. * release 0.7.1
  16745. 2006-08-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16746. To handle the case where some BitTorrent tracker requires all letters
  16747. except for [A-Za-z0-9] is URL encoded.
  16748. * src/Util.h
  16749. (torrentUrlencode): New function.
  16750. * src/Util.cc
  16751. (ctype.h): Included.
  16752. (torrentUrlencode): New function.
  16753. * src/TrackerWatcherCommand.cc
  16754. (execute): Use Util::torrentUrlencode() instead of Util::urlencode().
  16755. 2006-08-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16756. To add asynchronous DNS support(libares):
  16757. * src/AbstractCommand.h
  16758. (setNameResolverCheck): New function.
  16759. (disableNameResolverCheck): New function
  16760. (resolveHostname): New function.
  16761. * src/AbstractCommand.cc
  16762. (setNameResolverCheck): New function.
  16763. (disableNameResolverCheck): New function
  16764. (resolveHostname): New function.
  16765. * src/FtpInitiateConnectionCommand.h
  16766. (nameResolver): New function.
  16767. * src/FtpInitiateConnectionCommand.cc
  16768. (Util.h): Included.
  16769. (FtpInitiateConnectionCommand): Call disableReadCheckSocket,
  16770. disableWriteCheckSocket.
  16771. (~FtpInitiateConnectionCommand): Call disableNameResolverCheck.
  16772. (executeInternal): Added async DNS support.
  16773. * src/HttpInitiateConnectionCommand.h
  16774. (nameResolver): New function.
  16775. * src/HttpInitiateConnectionCommand.cc
  16776. (DlRetryEx.h): Included.
  16777. (HttpInitiateConnectionCommand): Call disableReadCheckSocket,
  16778. disableWriteCheckSocket.
  16779. (~HttpInitiateConnectionCommand): Call disableNameResolverCheck.
  16780. (executeInternal): Added async DNS support.
  16781. * src/NameResolver.h: New class. Note: #include <ares.h> is surrounded
  16782. by extern "C" declaration.
  16783. * src/NameResolver.cc: New class.
  16784. * src/Util.h:
  16785. (isNumberAndDotsNotation): New function
  16786. * src/Util.cc
  16787. (isNumberAndDotsNotation): New function.
  16788. * src/DownloadEngine.h
  16789. (NameResolver.h): Included.
  16790. (NameResolverEntry): New class.
  16791. (NameResolverEntries): New type definition.
  16792. (addNameResolverCheck): New function.
  16793. (deleteNameResolverCheck): New function.
  16794. * src/DownloadEngine.cc
  16795. (run): Initialize cp with 0.
  16796. (SetDescriptor::operator()): Added for NameResolverEntry.
  16797. (AccumulateActiveUuid::operator()): Added for NameResolverEntry.
  16798. (waitData): Check nameResolver entries.
  16799. (updateFdSet): Update fds in nameResolver entries.
  16800. (addNameResolverCheck): New function.
  16801. (deleteNameResolverCheck): new function.
  16802. * src/PeerInteractionCommand.cc
  16803. (executeInternal): Fixed wrong socket handling.
  16804. * src/main.cc
  16805. (main): Fixed the initial value of PREF_LOWEST_SPEED_LIMIT option to 0.
  16806. * src/Util.cc
  16807. (fileChecksum): Removed the call to ctx.digestReset().
  16808. 2006-08-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16809. * po/ru.po: Azamat sent me Russian translation.
  16810. * src/FtpNegotiateCommand.cc
  16811. (recvGreeting): Call disableWriteCheckSocket just after
  16812. socket->setBlockingMode(). This avoids unnecessary CPU-hog loop.
  16813. (recvRetr): Recognized status code 125 as a acceptable response code.
  16814. Rename Time.h to TimeA2.h to avoid compilation ploblem on
  16815. case-insesitive filesystem(BUG#1531057).
  16816. * src/Time.h: Renamed as TimeA2.h.
  16817. * src/Time.cc: Renamed as TimeA2.cc.
  16818. * src/TimeA2.h: New class.
  16819. * src/TimeA2.cc: New class.
  16820. * src/PeerChokeCommand.h: Replaced Time.h with TimeA2.h.
  16821. * src/TrackerWatcherCommand.h: Replaced Time.h with TimeA2.h.
  16822. * src/PeerAbstractCommand.h: Replaced Time.h with TimeA2.h.
  16823. * src/AbstractCommand.h: Replaced Time.h with TimeA2.h.
  16824. * src/PeerInteractionCommand.h: Replaced Time.h with TimeA2.h.
  16825. * src/ConsoleDownloadEngine.h: Replaced Time.h with TimeA2.h.
  16826. * src/TorrentAutoSaveCommand.h: Replaced Time.h with TimeA2.h.
  16827. * src/DownloadCommand.h: Replaced Time.h with TimeA2.h.
  16828. * src/TorrentMan.h: Replaced Time.h with TimeA2.h.
  16829. * src/TorrentDownloadEngine.h: Replaced Time.h with TimeA2.h.
  16830. * src/RequestSlot.h: Replaced Time.h with TimeA2.h.
  16831. * src/SleepCommand.h: Replaced Time.h with TimeA2.h.
  16832. * src/DownloadEngine.cc: Replaced Time.h with TimeA2.h.
  16833. * release 0.7.0
  16834. 2006-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16835. * src/PeerChokeCommand.h
  16836. (PeerChokeCommand): Rearranged the arguments.
  16837. * src/PeerChokeCommand.cc
  16838. (PeerChokeCommand): Rearranged the arguments.
  16839. * src/MetalinkEntry.h
  16840. (Checksum.h): Included.
  16841. (md5): Removed.
  16842. (sha1): Removed.
  16843. (checksum): New variable.
  16844. (operator=): Updated.
  16845. (check): Removed.
  16846. * src/prefs.h
  16847. (PREF_LOWEST_SPEED_LIMIT): New definition.
  16848. (PREF_FOLLOW_TORRENT): New definition.
  16849. (PREF_SELECT_FILE): New definition.
  16850. (PREF_FOLLOW_METALINK): New definition.
  16851. * src/MetalinkResource.h
  16852. (TYPE_HTTPS): Added to enum TYPE.
  16853. * src/TorrentMan.cc
  16854. (~TorrentMan): Rewritten.
  16855. * src/MultiDiskWriter.cc
  16856. (MultiDiskAdaptor): Updated according to the changes in
  16857. MessageDigestContext.
  16858. (~MultiDiskAdaptor): Updated according to the changes in
  16859. MessageDigestContext.
  16860. (hashUpdate): Updated according to the changes in MessageDigestContext.
  16861. (sha1Sum): Updated according to the changes in MessageDigestContext.
  16862. * src/Util.h
  16863. (fileChecksum): Updated according to the changes in
  16864. MessageDigestContext.
  16865. * src/Util.cc
  16866. (sha1Sum): Updated according to the changes in MessageDigestContext.
  16867. (fileChecksum): Updated according to the changes in
  16868. MessageDigestContext.
  16869. * src/messageDigest.h: Rewritten.
  16870. * src/MetalinkEntry.cc
  16871. (check): Removed.
  16872. (Supported): Updated.
  16873. (dropUnsupportedResource): Fixed a memory leak.
  16874. * src/ShaVisitor.cc
  16875. (ShaVisitor): Updated according to the changes in MessageDigestContext.
  16876. (~ShaVisitor): Updated according to the changes in
  16877. MessageDigestContext.
  16878. (visit): Updated according to the changes in MessageDigestContext.
  16879. * src/main.cc
  16880. (main): Rewritten the portion of download loop. --lowest-speed-limit
  16881. command-line option added.
  16882. * src/DownloadEngine.h
  16883. (SocketEntry): New class.
  16884. (SocketEntries): New definition.
  16885. (PairFind): Removed.
  16886. (SockCmdMap): Removed.
  16887. * src/DownloadEngine.cc
  16888. (DownloadEngine): Rewritten.
  16889. (~DownloadEngine): Rewritten.
  16890. (run): Renamed activeCommandUuids as activeUuids.
  16891. (SetDescriptor): Rewritten.
  16892. (AccumulateActiveCommandUuid): Removed.
  16893. (AccumulateActiveUuid): New function object.
  16894. (waitData): Rewritten.
  16895. (updateFdSet): Rewritten.
  16896. (addSocket): Rewritten.
  16897. (deleteSocket): Rewritten.
  16898. (addSocketForReadCheck): Rewritten.
  16899. (deleteSocketForReadCheck): Rewritten.
  16900. (addSocketForWriteCheck): Rewritten.
  16901. (deleteSocketForWriteCheck): Rewritten.
  16902. * src/Xml2MetalinkProcessor.cc
  16903. (getEntry): Rewritten the portion of MetalinkEntry creation.
  16904. * src/DownloadCommand.cc
  16905. (executeInternal): Added the check routine for lowest speed limit.
  16906. * src/AbstractDiskWriter.cc
  16907. (AbstractDiskWriter): Updated according to the changes in
  16908. MessageDigestContext.
  16909. (~AbstractDiskWriter): Updated according to the changes in
  16910. MessageDigestContext.
  16911. (sha1Sum): Updated according to the changes in MessageDigestContext.
  16912. * src/RequestInfo.h: New class.
  16913. * src/UrlRequestInfo.h: New class.
  16914. * src/UrlRequestInfo.cc: New class.
  16915. * src/TorrentRequestInfo.h: New class.
  16916. * src/TorrentRequestInfo.cc: New class.
  16917. * src/MetalinkRequestInfo.h: New class.
  16918. * src/MetalinkRequestInfo.cc: New class.
  16919. * src/Checksum.h: New class.
  16920. * src/DownloadEngineFactory.h: New class.
  16921. * src/DownloadEngineFactory.cc: New class.
  16922. 2006-08-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16923. * src/Option.h
  16924. (getAsBool): New function.
  16925. * src/Option.cc
  16926. (prefs.h): Included.
  16927. (defined): 0-length value is now recognized as undefined.
  16928. (getAsInt): Rewritten.
  16929. (getAsLLInt): Rewritten.
  16930. (getAsBool): New function.
  16931. * src/FeatureConfig.h: Rewritten.
  16932. * src/FeatureConfig.cc: Rewritten.
  16933. * src/prefs.h
  16934. (PREF_STDOUT_LOG): New definition.
  16935. (PREF_LOG): New definition.
  16936. (PREF_DIR): New definition.
  16937. (PREF_OUT): New definition.
  16938. (PREF_SPLIT): New definition.
  16939. (PREF_DAEMON): New definition.
  16940. (PREF_REFERER): New definition.
  16941. (PREF_TORRENT_FILE): New definition.
  16942. (PREF_LISTEN_PORT): New definition.
  16943. (PREF_METALINK_FILE): New definition.
  16944. (PREF_METALINK_VERSION): New definition.
  16945. (PREF_METALINK_LANGUAGE): New definition.
  16946. (PREF_METALINK_OS): New definition.
  16947. (PREF_METALINK_SERVERS): New definition.
  16948. * src/main.cc
  16949. (main): Following command-line parameters are now put into Option
  16950. class: stdoutLog, logfile, dir, ufilename, split, daemonMode,
  16951. referer, torrentFile, metalinkFile, listenPort, metalinkVersion,
  16952. metalinkLanguage, metalinkOs, metalinkServers
  16953. To fix the bug that aria2 can not handle http response header properly.
  16954. * src/HttpHeader.cc
  16955. (put): Made name lowercased.
  16956. (defined): Made name lowercased.
  16957. (getFirst): Made name lowercased.
  16958. (get): Made name lowercased.
  16959. (getFirstAsInt): Rewritten.
  16960. (getFirstAsLLInt): Rewritten.
  16961. 2006-07-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16962. * src/TorrentMan.h:
  16963. (advertisePiece): Updated doc.
  16964. (getAdvertisedPieceIndexes): Updated doc.
  16965. (removeAdvertisedPiece); New function.
  16966. * src/TorrentMan.cc
  16967. (FindElapsedHave): New function object.
  16968. (removeAdvertisedPiece): New function.
  16969. * src/HaveEraseCommand.h: New class.
  16970. * src/HaveEraseCommand.cc: New class.
  16971. * src/FeatureConfig.h: New class.
  16972. * src/FeatureConfig.cc: New class.
  16973. * src/Request.h
  16974. (defaultPorts): Removed.
  16975. * src/Request.cc
  16976. (FeatureConfig.h): Included.
  16977. (Request): Removed the statements related to defaultPorts.
  16978. (parseUrl): Removed metalinkEnabled. Use FeatureConfig instead.
  16979. A default port number is now retrieved from FeatureConfig.
  16980. * src/main.cc
  16981. (HaveEraseCommand.h): Included.
  16982. (showVersion): Added the output of feature list.
  16983. (main): Added HaveEraseCommand to command queue in BitTorrent
  16984. downloading.
  16985. * src/PeerInteractionCommand.h
  16986. (chokeCheckPoint): Commented out.
  16987. (periodicExecPoint): New variable.
  16988. * src/PeerInteractionCommand.cc
  16989. (executeInternal): Following methods are now called in at least every
  16990. 0.5 seconds to reduce CPU usage:
  16991. detectMessageFlooding(), peerInteraction->checkRequestSlot(),
  16992. checkHave(), sendKeepAlive().
  16993. (checkLongTimePeerChoking): Commented out.
  16994. * src/BitfieldMan.h
  16995. (getNthBitIndex): Changed the method signature.
  16996. (getMissingIndexRandomly): Changed the method signature.
  16997. * src/BitfieldMan.cc
  16998. (getNthBitIndex): Rewritten
  16999. (getMissingIndexRandomly): Rewritten.
  17000. (hasMissingPiece): Rewritten.
  17001. (getMissingIndex): Refactored.
  17002. (getMissingUnusedIndex); Refactored.
  17003. (getMissingIndex): Refactored.
  17004. 2006-07-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17005. * src/PeerMessage.h
  17006. (Piece.h): Included.
  17007. (SharedHandle.h): Included.
  17008. (invalidate): New variable.
  17009. (uploading): New variable.
  17010. (isInvalidate): New function.
  17011. (isUploading): New function.
  17012. (onPush): New function.
  17013. (onChoked): New function.
  17014. (onCanceled): New function.
  17015. (onAbortPiece): New function.
  17016. (PeerMessageHandle): New type definition.
  17017. * src/PeerMessage.cc
  17018. (PeerMessage): Added the initialization for invalidate and uploading.
  17019. * src/CancelMessage.h
  17020. (CancelMessage): Rewritten.
  17021. * src/RejectMessage.h
  17022. (RejectMessage): Rewritten.
  17023. * src/Metalinker.h
  17024. (operator=): Defined.
  17025. * src/MetaEntry.h
  17026. (operator=): Defined.
  17027. * src/MetalinkResource.h
  17028. (operator=): Defined.
  17029. * src/AllowedFastMessage.h
  17030. (AllowedFastMessage): Rewritten.
  17031. * src/HandshakeMessage.h
  17032. (HandshakeMessage): New function(overload).
  17033. * src/HandshakeMessage.cc
  17034. (HandshakeMessage): Rewritten.
  17035. (init): New function.
  17036. * src/HaveMessage.h
  17037. (HaveMessage): Rewritten.
  17038. * src/Time.h
  17039. (operator=): Defined the function body here.
  17040. * src/Time.cc
  17041. (operator=): Removed.
  17042. * src/SocketCore.h
  17043. (operator==): Defined here.
  17044. (operator!=): Defined here.
  17045. (operator<): Defined here.
  17046. * src/SocketCore.cc
  17047. (operator==): Removed.
  17048. (operator<): Removed.
  17049. * src/BitfieldMan.h
  17050. (operator=): Defined the function body here.
  17051. * src/BitfieldMan.cc
  17052. (operator=): Removed.
  17053. * src/TorrentMan.h
  17054. (deleteErrorPeer): Removed.
  17055. (deleteUnusedPeer); New function.
  17056. * src/TorrentMan.cc
  17057. (addPeer): Call deleteUnusedPeer.
  17058. (deleteErrorPeer): Removed.
  17059. (deleteUnusedPeer): New function.
  17060. * src/PeerAbstractCommand.h
  17061. (setNoCheck): New function.
  17062. (noCheck): New variable.
  17063. * src/PeerAbstractCommand.cc
  17064. (PeerAbstractCommand): Added the initialization of noCheck.
  17065. (execute): Added a check for noCheck.
  17066. (setNoCheck): New function.
  17067. * src/Util.h
  17068. (stdio.h): Included.
  17069. * src/Util.cc
  17070. (unistd.h): Included.
  17071. * src/DefaultDiskWriter.cc
  17072. (unistd.h): Included.
  17073. * src/Peer.h
  17074. (operator==): Defined the function body here.
  17075. (operator!=): Defined the function body here.
  17076. * src/Peer.cc
  17077. (operator==): Removed.
  17078. (operator!=): Removed.
  17079. * src/Piece.h
  17080. (Piece): Defined the function body here(copy constructor).
  17081. (operator=): Defined the function body here.
  17082. (operator==): Defined the function body here.
  17083. * src/Piece.cc
  17084. (Piece): Removed(copy constructor).
  17085. (operator=): Removed.
  17086. (operator==): Removed.
  17087. * src/PeerMessageUtil.h
  17088. (ChokeMessage.h): Removed.
  17089. (UnchokeMessage.h): Removed.
  17090. (InterestedMessage.h): Removed.
  17091. (NotInterestedMessage.h): Removed.
  17092. (HaveMessage.h): Removed.
  17093. (BitfieldMessage.h): Removed.
  17094. (RequestMessage.h): Removed.
  17095. (CancelMessage.h): Removed.
  17096. (PieceMessage.h): Removed.
  17097. (HandshakeMessage.h): Removed.
  17098. (KeepAliveMessage.h): Removed.
  17099. (PortMessage.h): Removed.
  17100. (HaveAllMessage.h): Removed.
  17101. (HaveNoneMessage.h): Removed.
  17102. (PeerConnection.h): Removed.
  17103. (HandshakeMessage.h): Included.
  17104. * src/BitfieldMessage.h
  17105. (init): New function.
  17106. (BitfieldMessage): Rewritten.
  17107. (BitfieldMessage): New function(overload).
  17108. * src/RequestSlot.h
  17109. (operator=): Defined the function body here.
  17110. (operator==): Defined the function body here.
  17111. * src/RequestSlot.cc
  17112. (operator=): Removed.
  17113. (operator==): Removed.
  17114. To remove the dependency on the PeerMessage subclass from
  17115. PeerInteraction:
  17116. * src/PeerMessageFactory.h: New class.
  17117. * src/PeerMessageFactory.cc: New class.
  17118. * src/SimplePeerMessage.cc
  17119. (send): If invalidate is true then do nothing.
  17120. * src/PeerInteractionCommand.cc
  17121. (HandshakeMessage.h): Included.
  17122. (KeepAliveMessage.h): Included.
  17123. (ChokeMessage.h): Included.
  17124. (UnchokeMessage.h): Included.
  17125. (HaveMessage.h): Included.
  17126. (executeInternal): Call setNoCheck().
  17127. Removed setWriteCheckSocket(socket).
  17128. * src/PeerInteraction.h
  17129. (ChokeMessage.h): Removed.
  17130. (UnchokeMessage.h): Removed.
  17131. (InterestedMessage.h): Removed.
  17132. (NotInterestedMessage.h): Removed.
  17133. (HaveMessage.h): Removed.
  17134. (BitfieldMessage.h): Removed.
  17135. (RequestMessage.h): Removed.
  17136. (CancelMessage.h): Removed.
  17137. (PieceMessage.h): Removed.
  17138. (HandshakeMessage.h): Removed.
  17139. (KeepAliveMessage.h): Removed.
  17140. (PortMessage.h): Removed.
  17141. (HaveAllMessage.h): Removed.
  17142. (HaveNoneMessage.h): Removed.
  17143. (RejectMessage.h): Removed.
  17144. (AllowedFastMessage.h): Removed.
  17145. (SuggestPieceMessage.h): Removed.
  17146. (PeerMessageFactory.h): Included.
  17147. (PeerMessageHandle): Removed typedef of PeerMessageHandle.
  17148. (HandshakeMessageHandle): Removed typedef of HandshakeMessageHandle.
  17149. (PeerMessageFactory): New variable.
  17150. (createPeerMessage): Removed.
  17151. (createHandshakeMessage): Removed.
  17152. (setPeerMessageCommonProperty): Removed.
  17153. (addRequestSlot): New function.
  17154. (receiveHandshake): Changed the return value type to PeerMessageHandle.
  17155. (getPeerMessageFactory): New function.
  17156. (createRequestMessage): Removed.
  17157. (createCancelMessage): Removed.
  17158. (createPieceMessage): Removed.
  17159. (createHaveMessage): Removed.
  17160. (createChokeMessage): Removed.
  17161. (createUnchokeMessage): Removed.
  17162. (createInterestedMessage): Removed.
  17163. (createNotInterestedMessage): Removed.
  17164. (createBitfieldMessage): Removed.
  17165. (createKeepAliveMessage): Removed.
  17166. (createHaveAllMessage): Removed.
  17167. (createHaveNoneMessage): Removed.
  17168. (createRejectMessage): Removed.
  17169. (createAllowedFastMessage): Removed.
  17170. * src/PeerInteraction.cc
  17171. (PeerInteraction): Allocate PeerMessageFactory here.
  17172. (~PeerInteraction): Deallocate PeerMessageFactory here.
  17173. (sendMessages): Use msg->isUploading() instead of msg->getId() ==
  17174. PieceMessage::ID.
  17175. (addMessage): Simplified by using PeerMessage::onPush().
  17176. (addRequestSlot): New function.
  17177. (rejectAllPieceMessageInQueue): Simplified by using
  17178. PeerMessage::onChoked().
  17179. (rejectPieceMessageInQueue): Simplified by using
  17180. PeerMessage::onCanceled().
  17181. (abortPiece): Simplified by using PeerMessage::abortPiece().
  17182. (receiveHandshake): Changed the return value type to PeerMessageHandle.
  17183. (createHandshakeMessage): Removed.
  17184. (createPeerMessage): Removed.
  17185. (sendHandshake): Call PeerMessageFactory::createHandshakeMessage().
  17186. (setPeerMessageCommonProperty): Removed.
  17187. (createRequestMessage): Removed.
  17188. (createCancelMessage): Removed.
  17189. (createPieceMessage): Removed.
  17190. (createHaveMessage): Removed.
  17191. (createChokeMessage): Removed.
  17192. (createUnchokeMessage): Removed.
  17193. (createInterestedMessage): Removed.
  17194. (createNotInterestedMessage): Removed.
  17195. (createBitfieldMessage): Removed.
  17196. (createKeepAliveMessage): Removed.
  17197. (createHaveAllMessage): Removed.
  17198. (createHaveNoneMessage): Removed.
  17199. (createRejectMessage): Removed.
  17200. (createAllowedFastMessage): Removed.
  17201. * src/PieceMessage.h
  17202. (createRejectMessage): New function.
  17203. (PieceMessage): Rewritten.
  17204. (onChoked): New function.
  17205. (onCanceled): New function.
  17206. * src/PieceMessage.cc
  17207. (send): If invalidate is true then do nothing, just return.
  17208. (createRejectMessage): New function.
  17209. (onChoked): New function.
  17210. (onCanceled): New function.
  17211. * src/RequestMessage.h
  17212. (RequestMessage): Rewritten.
  17213. (onPush): New function.
  17214. (onAbortPiece): New function.
  17215. * src/RequestMessage.cc
  17216. (onPush): New function.
  17217. (onAbortPiece): New function.
  17218. Update fd_set when a socket is added or deleted in order to improve
  17219. performance:
  17220. * src/DownloadEngine.h
  17221. (rfdset): New variable.
  17222. (wfdset): New variable.
  17223. (updateFdSet): New function.
  17224. * src/DownloadEngine.cc
  17225. (SetDescriptor::operator()): Use SockCmdMap::value_type.
  17226. (AccumulateActiveCommandUuid::operator()): Use SockCmdMap::value_type.
  17227. (waitData): Copy rfdset and wfdset.
  17228. (updateFdSet): New function.
  17229. (addSocket): Call updateFdSet.
  17230. (deleteSocket): Call updateFdSet.
  17231. 2006-07-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17232. To add the support for Metalink3.0 backward compatible links:
  17233. * src/Request.h
  17234. (SAFE_CHARS): Added '#'.
  17235. (METALINK_MARK): New definition.
  17236. * src/Request.cc
  17237. (parseUrl): Added the support for Metalink3.0 backward compatible
  17238. links.
  17239. etc
  17240. * src/PeerInteraction.cc
  17241. (MsgPushBack): Removed.
  17242. (sendMessages): Use STL copy and back_inserter.
  17243. (rejectAllPieceMessageInQueue): Use STL copy and back_inserter.
  17244. (rejectPieceMessageInQueue): Use STL copy and back_inserter.
  17245. * src/TorrentMan.h
  17246. (MAX_PEER_LIST_SIZE): Changed to 100 from 250.
  17247. 2006-07-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17248. * src/SharedHandle.h: New class.
  17249. To wrap Socket, Command, PeerMessage and Peer with SharedHandle:
  17250. * src/HttpResponseCommand.h
  17251. (HttpResponseCommand): Wrapped Socket.
  17252. * src/SocketCore.h
  17253. (operator==): New function.
  17254. (operator!=): New function.
  17255. (operator<): New function.
  17256. (getSockfd): New function.
  17257. (isOpen): New function.
  17258. (writeData): New function.
  17259. * src/SocketCore.cc
  17260. (operator==): New function.
  17261. (operator!=): New function.
  17262. (operator<): New function.
  17263. * src/AbstractCommand.h
  17264. (socket): Changed its type to SocketHandle.
  17265. (setReadCheckSocket): Replaced Socket with SocketHandle.
  17266. (setWriteCheckSocket): Replaced Socket with SocketHandle.
  17267. (disableReadCheckSocket): New function.
  17268. (disableWriteCheckSocket): New function.
  17269. (readCheckTarget): Changed its type to SocketHandle.
  17270. (writeCheckTarget): Changed its type to SocketHandle.
  17271. (AbstractCommand): Replaced Socket with SocketHandle.
  17272. * src/AbstractCommand.cc
  17273. (AbstractCommand): Replaced Socket with SocketHandle.
  17274. (~AbstractCommand): Removed the deallocation for Socket object.
  17275. (disableReadCheckSocket): New function.
  17276. (setReadCheckSocket): Replaced Socket with SocketHandle.
  17277. (disableWriteCheckSocket): New function.
  17278. (setWriteCheckSocket): Replaced Socket with SocketHandle.
  17279. * src/HttpDownloadCommand.cc
  17280. (DownloadCommand): Replaced Socket with SocketHandle.
  17281. * src/PeerAbstractCommand.h
  17282. (socket): Changed its type to SocketHandle.
  17283. (peer): Changed its type to PeerHandle.
  17284. (setReadCheckSocket): Replaced Socket with SocketHandle.
  17285. (setWriteCheckSocket): Replaced Socket with SocketHandle.
  17286. (disableReadCheckSocket): New function.
  17287. (disableWriteCheckSocket): New function.
  17288. (readCheckTarget): Changed its type to SocketHandle.
  17289. (writeCheckTarget): Changed its type to SocketHandle.
  17290. (PeerAbstractCommand): Replaced Socket with SocketHandle.
  17291. Replaced Peer with PeerHandle.
  17292. * src/HttpRequestCommand.cc
  17293. (HttpRequestCommand): Replaced Socket with SocketHandle.
  17294. Use disableReadCheckSocket.
  17295. * src/PeerInitiateConnectionCommand.h
  17296. (PeerInitiateConnectionCommand): Replaced Peer with PeerHandle.
  17297. * src/PeerChokeCommand.cc
  17298. (UploadFaster::operator()): Replaced Peer with PeerHandle.
  17299. (DownloadFaster::operator()): Replaced Peer with PeerHandle.
  17300. (execute): Use PeerHandle.
  17301. * src/PeerConnection.h
  17302. (HandshakeMessage.h): Removed include of HandshakeMessage.h.
  17303. (socket): Changed its type to SocketHandle.
  17304. (PeerConnection): Replaced Socket with SocketHandle.
  17305. * src/PeerConnection.cc
  17306. (PeerConnection): Replaced Socket with SocketHandle.
  17307. * src/PeerInteractionCommand.h
  17308. (PeerInteractionCommand): Replaced socket with SocketHandle.
  17309. Replaced Peer with PeerHandle.
  17310. * src/PeerInteractionCommand.cc
  17311. (PeerInteractionCommand): Replaced Socket with SocketHandle.
  17312. Replaced Peer with PeerHandle.
  17313. (executeInternal): Use disableWriteCheckSocket.
  17314. Use HandshakeMessageHandle.
  17315. (receiveMessages): Use PeerMessageHandle.
  17316. (prepareForNextPeer): Use PeerHandle.
  17317. * src/HttpProxyRequestCommand.h
  17318. (HttpProxyRequestCommand): Replaced Socket with SocketHandle.
  17319. * src/HttpResponseCommand.cc
  17320. (HttpResponseCommand): Replaced Socket with SocketHandle.
  17321. * src/TorrentMan.cc
  17322. (nullPeer): Added external reference.
  17323. (~TorrentMan): Removed the deallocation of the elements of peers.
  17324. (addPeer): Rewritten.
  17325. (isPeerAvailable): Use nullPeer.
  17326. (deleteOldpeers): Replaced with deleteErrorPeer.
  17327. (deleteErrorPeer): New function.
  17328. (getPeer): Use PeerHandle and nullPeer.
  17329. (hasMissingPiece): Replaced Peer with PeerHandle.
  17330. (getMissingPieceIndex): Replaced Peer with PeerHandle.
  17331. (getMissingFastPieceIndex): Replaced Peer with PeerHandle.
  17332. (getMissingFastPiece): Replaced Peer with PeerHandle.
  17333. (getMissingPiece): Replaced Peer with PeerHandle.
  17334. * src/FtpNegotiateCommand.cc
  17335. (FtpNegotiationCommand): Replaced Peer with PeerHandle.
  17336. (~FtpNegotiationCommand): Removed the deallocation of Sockets.
  17337. (recvGreeting): Use disableWriteCheckSocket.
  17338. (recvPasv): Removed the allocation of Socket.
  17339. Use disableReadCheckSocket.
  17340. (sendRestPasv): Use disableWriteCheckSocket.
  17341. (recvRetr): Changed assertion.
  17342. * src/PeerInteraction.h
  17343. (SharedHandle.h): Included SharedHandle.h.
  17344. (PeerMessageHandle): New type definition.
  17345. (HandshakeMessageHandle): New type definition.
  17346. (MessageQueue): Changed. Now its element is of type PeerMessageHandle.
  17347. (peer): Changed its type to PeerHandle.
  17348. (createHandshakeMessage): Replaced HandshakeMessage with
  17349. HandshakeMessageHandle.
  17350. (createPeerMessage): Replaced PeerMessageHandle with PeerMessage.
  17351. (PeerInteraction): Replaced Peer with PeerHandle.
  17352. Replaced Socket with SocketHandle.
  17353. (addMessage): Replaced PeerMessage with PeerMessageHandle.
  17354. (receiveMessage): Replaced PeerMessage with PeerMessageHandle.
  17355. (receiveHandshake): Replaced HandshakeMessage with
  17356. HandshakeMessageHandle.
  17357. * src/PeerInteraction.cc
  17358. (PeerInteraction): Replaced Peer with PeerHandle.
  17359. Replaced Socket with SocketHandle.
  17360. (~PeerInteraction): Removed the deallocation of the elements of
  17361. messageQueue.
  17362. (MsgPushBack::operator()): Replaced PeerMessage with PeerMessageHandle.
  17363. (isSendingMessageInProgress): Replaced PeerMessage with
  17364. PeerMessageHandle.
  17365. (sendMessages): Use PeerMessageHandle. Removed try-catch block.
  17366. (addMessage): Replaced PeerMessage with PeerMessageHandle.
  17367. (rejectAllPieceMessageInQueue): Use PeerMessageHandle.
  17368. (rejectPieceMessageInQueue): Use PeerMessageHandle.
  17369. (abortPiece): Use PeerMessageHandle.
  17370. (receiveHandshake): Replaced HandshakeMessage with
  17371. HandshakeMessageHandle. Removed try-catch block.
  17372. (createHandshakeMessage): Replaced HandshakeMessage with
  17373. HandshakeMessageHandle.
  17374. (receiveMessage): Replaced PeerMessage with PeerMessageHandle.
  17375. Removed try-catch block.
  17376. (createPeerMessage): Replaced PeerMessage with PeerMessageHandle.
  17377. * src/HttpProxyResponseCommand.cc
  17378. (HttpProxyRequestCommand): Replaced Socket with SocketHandle.
  17379. * src/FtpTunnelResponseCommand.h
  17380. (FtpTunnelResponseCommand): Replaced Socket with SocketHandle.
  17381. * src/HttpConnection.cc
  17382. (HttpConnection): Replaced Socket with SocketHandle.
  17383. * src/PeerAbstractCommand.cc
  17384. (PeerAbstractCommand): Replaced Socket with SocketHandle.
  17385. (~PeerAbstractCommand): Removed the deallocation of socket.
  17386. Use disableReadCheckSocket, disableWriteCheckSocket.
  17387. (disableReadCheckSocket): New function.
  17388. (setReadCheckSocket): Replaced Socket with SocketHandle.
  17389. (disableWriteCheckSocket): New function.
  17390. (setWriteCheckSocket): Replaced Socket with SocketHandle.
  17391. * src/InitiateConnectionCommandFactory.h: Corrected indentation.
  17392. * src/FtpTunnelRequestCommand.cc
  17393. (FtpTunnelRequestCommand): Replaced Socket with SocketHandle.
  17394. (~FtpTunnelRequestCommand): Corrected indentation.
  17395. * src/DownloadCommand.h
  17396. (DownloadCommand): Replaced Socket with SocketHandle.
  17397. * src/PeerListenCommand.cc
  17398. (PeerListenCommand): Removed the initialization of socket.
  17399. (~PeerListenCommand): Removed the deallocation of socket.
  17400. (bindPort): Use SocketHandle.
  17401. (execute): Use SocketHandle and PeerHandle.
  17402. * src/FtpDowndloadCommand.cc
  17403. (FtpDownloadCommand): Replaced Socket with SocketHandle.
  17404. (~FtpDownloadCommand): Removed the deallocation of ctrlSocket.
  17405. * src/main.cc
  17406. (main): Corrected indentation.
  17407. * src/HttpInitiateConnectionCommand.cc
  17408. (HttpInitiateConnectionCommand): Replaced Socket with SocketHandle.
  17409. (executeInternal): Removed the allocation of socket.
  17410. * src/HttpRequestCommand.h
  17411. (HttpRequestCommand): Replaced Socket with SocketHandle.
  17412. * src/FtpNegotiationCommand.h
  17413. (dataSocket): Changed its type to SocketHandle.
  17414. (serverSocket): Changed its type to SocketHandle.
  17415. (FtpNegotiationCommand): Replaced Socket with SocketHandle.
  17416. * src/TorrentMan.h
  17417. (MAX_PEER_UPDATE): Removed.
  17418. (MAX_PEERS): New definition.
  17419. (Peers): The element is now of type PeerHandle.
  17420. (addPeer): Replaced Peer with PeerHandle. Removed 'duplicate' argument.
  17421. (getPeer): Replaced Peer with PeerHandle.
  17422. (deleteOldErrorPeers): Removed.
  17423. (deleteErrorPeer): New function.
  17424. (hasMissingPiece): Replaced Peer with PeerHandle.
  17425. (getMissingPieceIndex): Replaced Peer with PeerHandle.
  17426. (getMissingPiece): Replaced Peer with PeerHandle.
  17427. (getMissingFastPieceIndex): Replaced Peer with PeerHandle.
  17428. (getMissingFastPiece): Replaced Peer with PeerHandle.
  17429. (addActivePeer): Replaced Peer with PeerHandle.
  17430. (deleteActivePeer): Replaced Peer with PeerHandle.
  17431. Added a check for the return value of find.
  17432. * src/FtpTunnelResponseCommand.cc
  17433. (FtpTunnelResponseCommand): Replaced Socket with SocketHandle.
  17434. * src/FtpInitiateConnectionCommand.cc
  17435. (executeInternal): Removed the allocation of socket.
  17436. * src/DownloadEngine.h
  17437. (Sockets): An element is now of type SocketHandle.
  17438. (SockCmdMap): A key is of type SocketHandle, a value is of type int.
  17439. (CommandUuids): New type definition.
  17440. (rsockets): Changed its type to SockCmdMap.
  17441. (wsockets): Changed its type to SockCmdMap.
  17442. (addSocket): Rewritten.
  17443. (deleteSocket): Rewritten.
  17444. (addSocketForReadCheck): Rewritten.
  17445. (deleteSocketForReadCheck): Rewritten.
  17446. (addSocketForWriteCheck): Rewritten.
  17447. (deleteSocketForWriteCheck): Rewritten.
  17448. (PairFind): New template class.
  17449. * src/HttpDownloadCommand.h
  17450. (HttpDownloadCommand): Replaced Socket with SocketHandle.
  17451. * src/FtpConnection.cc
  17452. (FtpConnection): Replaced Socket with SocketHandle.
  17453. (sendPort): Removed the allocation of serverSocket. Removed try-catch
  17454. block.
  17455. * src/InitiateConnectionCommandFactory.cc
  17456. (DlAbortEx.h): Included DlAbortEx.h.
  17457. (createInitiateConnectionCommand): Throw exception if the protocol of
  17458. requested URI is not supported.
  17459. * src/Peer.cc
  17460. (nullPeer): Changed its type to PeerHandle.
  17461. (operator==): New function.
  17462. (operator!=): New function.
  17463. * src/Peer.h
  17464. (SharedHandle.h): Included SharedHandle.h.
  17465. (operator==): New function.
  17466. (operator!=): New function.
  17467. (Peer): Added the default constructor.
  17468. Use resetStatus() to initialize member variables.
  17469. (nullPeer): Removed.
  17470. * src/TrackerUpdateCommand.cc
  17471. (execute): Brushed up using SharedHandle. Replaced MAX_PEER_UPDATE
  17472. with MIN_PEERS.
  17473. * src/PeerListenCommand.h
  17474. (socket): Changed its type to SocketHandle.
  17475. * src/Command.h
  17476. (CommandUuid): New type definition.
  17477. (uuid): New variable.
  17478. (uuidGen): New variable.
  17479. (Command): Added the initialization of uuid.
  17480. (getUuid): New function.
  17481. * src/Socket.h
  17482. (Socket): Removed.
  17483. (SocketHandle): New type definition.
  17484. * src/DownloadEngine.h
  17485. (FindCommand): New function object.
  17486. (run): The portion of socket check was rewritten.
  17487. (SetDescriptor): New function object.
  17488. (AccumulateActiveCommandUuid): New function object.
  17489. (waitData): Rewritten.
  17490. (addSocket): Rewritten.
  17491. (deleteSocket): Rewritten.
  17492. (addSocketForReadCheck): Rewritten.
  17493. (addSocketForWriteCheck): Rewritten.
  17494. (deleteSocketForReadCheck): Rewritten.
  17495. (deleteSocketForWriteCheck): Rewritten.
  17496. * src/HttpProxyResponseCommand.h
  17497. (HttpProxyResponseCommand): Replaced Socket with SocketHandle.
  17498. * src/HttpConnection.h
  17499. (socket): Changed its type to SocketHandle.
  17500. (HttpConnection): Replaced Socket with SocketHandle.
  17501. * src/PeerInitiateConnectionCommand.cc
  17502. (PeerInitiateConnectionCommand): Replaced Peer with PeerHandle.
  17503. (executeInternal): Removed the allocation of socket.
  17504. (prepareForNextPeer): Use PeerHandle.
  17505. * src/PeerMessage.h
  17506. (peer): Changed its type to PeerHandle.
  17507. (getPeer): Replaced Peer with PeerHandle.
  17508. (setPeer): Replaced Peer with PeerHandle.
  17509. * src/DownloadCommand.cc
  17510. (DownloadCommand): Replaced Socket with SocketHandle.
  17511. * src/FtpConnection.h
  17512. (socket): Changed its type to SocketHandle.
  17513. (FtpConnection): Replaced Socket with SocketHandle.
  17514. (sendPort); Replaced Socket with SocketHandle.
  17515. * src/FtpDowndloadCommand.h
  17516. (ctrlSocket): Changed its type to SocketHandle.
  17517. (FtpDownloadCommand): Replaced Socket with SocketHandle.
  17518. * src/HttpProxyRequestCommand.cc
  17519. (HttpProxyRequestCommand): Replaced Socket with SocketHandle.
  17520. * src/FtpTunnelRequestCommand.h
  17521. (FtpTunnelRequestCommand): Replaced Socket with SocketHandle.
  17522. etc
  17523. * src/PeerChokeCommand.h
  17524. (setAllPeerChoked): Removed.
  17525. (setAllPeerResetDelta): Removed.
  17526. * src/PeerChokeCommand.cc
  17527. (setAllPeerChoked): Removed.
  17528. (ChokePeer): New function object.
  17529. (setAllPeerResetDelta): Removed.
  17530. (ResetDelta): New function object.
  17531. (orderByDownloadRate): Fixed a bug: use DowloadFaster, not UploadFaster
  17532. (execute): Show download speed when the local node is a seeder.
  17533. setAllPeerChoked and setAllPeerResetDelta were rewritten
  17534. using STL.
  17535. * src/TrackerWatcherCommand.h
  17536. (MIN_PEERS): Removed.
  17537. * src/TorrentMan.cc
  17538. (getPeer): Replaced MAX_PEER_UPDATE with MIN_PEERS.
  17539. 2006-07-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17540. To fix the bug that .aria2 file is not saved if downloading is stopped
  17541. by the errors:it results that aria2 can not resume downloading:
  17542. * src/main.cc
  17543. (normalDownload): Added the call to save().
  17544. (main): Added the deletion of the elements in 'reserved'.
  17545. To fix log:
  17546. * src/PeerInteraction.cc
  17547. (receiveHandshake): Fixed log.
  17548. 2006-07-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17549. To improve download performance in BitTorrent:
  17550. * src/TorrentMan.cc
  17551. (getPeer): Check the number of connections. Return nullPeer if
  17552. it is greater than MAX_PEER_UPDATE.
  17553. This code was originally here, but was removed in 0.5.1.
  17554. 2006-07-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17555. To improve the conditional compilation:
  17556. * src/MultiDiskWriter.h:
  17557. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17558. * src/MultiDiskWriter.cc:
  17559. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17560. * src/Util.h:
  17561. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17562. Added ENABLE_BITTORRENT around computeFastSet().
  17563. * src/Util.cc:
  17564. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17565. Added ENABLE_BITTORRENT around computeFastSet().
  17566. * src/messageDigest.h:
  17567. Replaced ENABLE_BITTORRENT with ENABLE_SSL.
  17568. * src/ShaVisitor.h:
  17569. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17570. * src/ShaVisitor.cc:
  17571. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17572. * src/main.cc:
  17573. Added ENABLE_BITTORRENT around includes and blocks related to
  17574. BitTorrent.
  17575. Added ENABLE_MESSAGE_DIGEST to skip checksum checking when the message
  17576. digest support is not available.
  17577. * src/AbstractDiskWriter.h:
  17578. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17579. * src/AbstractDiskWriter.cc:
  17580. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17581. * src/MetalinkEntry.cc
  17582. (check): Added ENABLE_MESSAGE_DIGEST. Return true if the message digest
  17583. support is not available.
  17584. To add command-line options for Metalink:
  17585. * src/main.cc:
  17586. Added metalink-version, metalink-language, metalink-os,
  17587. follow-metalink.
  17588. To use EXIT_SUCCESS and EXIT_FAILURE with exit():
  17589. * src/main.cc: Use these definition.
  17590. * Release 0.6.0
  17591. 2006-07-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17592. To add Metalink support(http/ftp only):
  17593. * src/AbstractCommand.h
  17594. (tryReserved): New function.
  17595. * src/AbstractCommand.cc
  17596. (execute): Call tryReserved().
  17597. (tryReserved): New function.
  17598. * src/Request.h
  17599. (Requests): New type definition.
  17600. * src/SegmentMan.h
  17601. (reserved): New variable.
  17602. * src/Util.h
  17603. (fileChecksum): New function.
  17604. (toUpper): New function.
  17605. (toLower): New function.
  17606. * src/Util.cc
  17607. (messageDigest.h): Included.
  17608. (trim): Trim \r\n\t.
  17609. (fileChecksum): New function.
  17610. (toUpper): New function.
  17611. (toLower): New function.
  17612. * src/main.cc
  17613. (normalDownload): New function.
  17614. (main): Added 2 command-line options: metalink-file,
  17615. metalink-connection. Their usage has not been written yet.
  17616. * src/MetalinkProcessor.h: New class.
  17617. * src/Xml2MetalinkProcessor.h: New class.
  17618. * src/Xml2MetalinkProcessor.cc: New class.
  17619. * src/MetalinkEntry.h: New class.
  17620. * src/MetalinkEntry.cc: New class.
  17621. * src/MetalinkResource.h: New class.
  17622. * src/MetalinkResource.cc: New class.
  17623. To add md5 message digest checking:
  17624. * src/messageDigest.h: Rewritten.
  17625. * src/MultiDiskWriter.cc: Updated according to the changes in
  17626. messageDigest.h.
  17627. * src/ShaVisitor.cc: Updated according to the changes in
  17628. messageDigest.h.
  17629. * src/Util.cc: Updated according to the changes in messageDigest.h.
  17630. * src/AbstractDiskWriter.cc: Updated according to the changes in
  17631. messageDigest.h.
  17632. To fix a bug that causes segfault when the payload length in peer
  17633. message is less than 0:
  17634. * src/PeerConnection.cc:
  17635. (receiveMessage): Fixed the bug.
  17636. * src/PeerMessageUtil.cc
  17637. (checkLength): Throw an exception if length is less than or equals to
  17638. 0.
  17639. To add new interfaces to Base64 encoding/decoding:
  17640. * src/Base64.h
  17641. (part_encode): Changed the method signature.
  17642. (encode): New function(overload).
  17643. (decode): New function(overload).
  17644. * src/Base64.cc
  17645. (part_encode): Rewritten.
  17646. (encode): Rewritten.
  17647. (encode): New function(overload).
  17648. To prevent a peer to download same piece if there is an error in
  17649. checksum:
  17650. * src/PieceMessage.cc
  17651. (receivedAction): Call peerInteraction->abortPiece().
  17652. 2006-06-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17653. To fix the bug that causes same have message is sent many times to
  17654. a single peer.
  17655. * src/Time.cc
  17656. (isNewer): Use Util::difftv().
  17657. * src/Util.cc
  17658. (difftv): Added a cast to (long long int).
  17659. * src/TorrentMan.cc
  17660. (advertisePiece): Use push_front.
  17661. (getAdvertisedPieceIndexes): A performance improvement was made.
  17662. To fix the bug that sends tracker requests without a sleep interval
  17663. when the number of connections is less than 15.
  17664. * src/TrackerWatcherCommand.cc
  17665. (execute): Now the number of connections is not a factor to decide
  17666. whether or not a tracker request should be sent or not.
  17667. * src/Time.h
  17668. (setTimeInSec): New function.
  17669. * src/Time.cc
  17670. (setTimeInSec): New function.
  17671. etc.
  17672. * src/ChokeMessage.cc
  17673. (receivedAction): Removed peer->snubbing = false
  17674. * src/PeerConnection.h
  17675. (receiveHandshake): Updated doc.
  17676. * src/TorrentMan.h
  17677. (getAdvertisedPieceIndexes): Updated the method signature.
  17678. * src/TorrentMan.cc
  17679. (getAdvertisedPieceIndexes): Updated the method signature.
  17680. * src/Time.h
  17681. (getTimeInMicros): Added a cast to (long long int).
  17682. (getTimeInMillis): Added a cast to (long long int).
  17683. * Release 0.5.2
  17684. 2006-06-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17685. To make a listening socket non-block:
  17686. * src/SocketCore.h
  17687. (setNonBlockingMode): New function.
  17688. * src/SocketCore.cc
  17689. (setNonBlockingMode): New function.
  17690. (beginListen): Added a call to setNonBlockingMode().
  17691. (acceptConnection): Call setNonBlockingMode().
  17692. (setBlockingMode): Updated.
  17693. To handle tracker's NAT-checking:
  17694. * src/PeerConnection.cc
  17695. (receiveHandshake): 'msg' param is filled with received data and
  17696. its length is assigned to 'length' param, even if all handshake
  17697. message is not yet received.
  17698. * src/PeerInteractionCommand.cc
  17699. (executeInternal): Use peerInteraction->receiveHandshake(true) when
  17700. a new peer connects to localhost.
  17701. A call to peerInteraction->sendHandshake() was removed because
  17702. it is called from peerInteraction->receiveHandshake(true).
  17703. * src/PeerInteraction.h
  17704. (quickReplied): New variable.
  17705. (receiveHandshake): Added an argument.
  17706. * src/PeerInteraction.cc
  17707. (PeerInteraction): Added the initialization of quickReplied.
  17708. (receiveHandshake): Send handshake message as soon as the info hash
  17709. in a handshake message from a peer is correct.
  17710. To change the random part of peer id and key parameter:
  17711. * src/TorrentMan.h
  17712. (key): New variable.
  17713. * src/TorrentMan.cc
  17714. (setupInternal1): Use Util::randomAlpha() to generate random part
  17715. of peer id, which is now "-aria2-"+13 alphabet characters([A-Za-z]).
  17716. key is also generated by Util::randomAlpha() and it is now 8 character
  17717. long.
  17718. * src/Util.h
  17719. (randomAlpha): New function.
  17720. * src/Util.cc
  17721. (randomAlpha): New function.
  17722. * src/TrackerWatcherCommand.cc
  17723. (execute): In a tracker request: Use torrentMan->key as key parameter.
  17724. Added no_peer_id=1.
  17725. Set snubbing flag to false when a choke message is received from a
  17726. snubbed peer.
  17727. * src/ChokeMessage.cc
  17728. (receivedAction): Set snubbing flag to false.
  17729. 2006-06-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17730. * src/TorrentMan.cc (setupInternal1): Fixed peerId generation bug.
  17731. * src/SimpleLogger.h (writeHeader): New function.
  17732. * src/SimpleLogger.cc (writeHeader): New function.
  17733. (writeLog): Fixed the bug that causes segfaults if exception message
  17734. contains an unescaped "%" character.
  17735. * src/TrackerWatcherCommand.cc (execute): Added a short sleep
  17736. when a tracker request fails.
  17737. * src/Request.cc (parseUrl): Query string is now handled properly.
  17738. * Release 0.5.1
  17739. 2006-06-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17740. To add Time class which represents a specific instant in time and
  17741. its precision is microseconds. Time checking procedures were rewritten
  17742. using this object.
  17743. * src/Time.h: New class.
  17744. * src/Time.cc: New class.
  17745. * src/AbstractCommand.h
  17746. (updateCheckPoint): Removed.
  17747. (isTimeoutDetected): Removed.
  17748. (checkPoint): Changed the type to Time.
  17749. (timeout): New variable.
  17750. (setTimeout): New function.
  17751. * src/AbstractCommand.cc
  17752. (AbstractCommand): Removed the initialization of checkPoint.
  17753. Added the initialization of timeout.
  17754. (updateCheckPoint): Removed.
  17755. (isTimeoutDetected): Removed.
  17756. (execute): Use checkPoint.reset() and checkPoint.elapsed().
  17757. * src/PeerChokeCommand.h
  17758. (checkPoint): Changed the type to Time.
  17759. * src/PeerChokeCommand.cc
  17760. (PeerChokeCommand): Removed the initialization of checkPoint.
  17761. (execute): Rewritten using Time object.
  17762. * src/TrackerWatcherCommand.h
  17763. (checkPoint): Changed the type to Time.
  17764. * src/TrackerWatcherCommand.cc
  17765. (TrackerWatcherCommand): Removed the initialization of checkPoint.
  17766. (execute): Rewritten.
  17767. * src/ConsoleDownloadEngine.h
  17768. (cp): Changed the type to Time.
  17769. (startup): Changed the type to Time.
  17770. * src/ConsoleDownloadEngine.cc
  17771. (initStatistics): Use cp.reset(), startup.reset().
  17772. (calculateStatistics): Rewritten using Time object.
  17773. * src/PeerAbstractCommand.h
  17774. (updateCheckPoint): Removed.
  17775. (isTimeoutDetected): Removed.
  17776. (checkPoint): Changed the type to Time.
  17777. * src/PeerAbstractCommand.cc
  17778. (PeerAbstractCommand): Removed the initialization of checkPoint.
  17779. (updateCheckPoint): Removed.
  17780. (isTimeoutDetected): Removed.
  17781. (execute): Use checkPoint.reset() and checkPoint.elapsed().
  17782. * src/PeerInteractionCommand.cc
  17783. (PeerInteractionCommand): Removed the initializations of struct
  17784. timeval variables.
  17785. * src/PeerInteractionCommand.h
  17786. (keepAliveCheckPoint): Changed the type to Time.
  17787. (chokeCheckPoint): Changed the type to Time.
  17788. (freqCheckPoint): Changed the type to Time.
  17789. (haveCheckTime): Changed the type to Time.
  17790. * src/PeerInteractionCommand.cc
  17791. (executeInternal): Rewritten using Time object.
  17792. (detectMessageFlooding): Rewritten using Time object.
  17793. (checkLongTimePeerChoking): Rewritten using Time object.
  17794. (sendKeepAlive): Rewritten using Time object.
  17795. (checkHave): Rewritten using Time object.
  17796. * src/SleepCommand.h
  17797. (checkPoint): Changed the type to Time.
  17798. * src/SleepCommand.cc
  17799. (SleepCommand): Removed the initialization of checkPoint.
  17800. (execute): Rewritten using Time object.
  17801. * src/TorrentAutoSaveCommand.h
  17802. (checkPoint): Changed the type to Time.
  17803. * src/TorrentAutoSaveCommand.cc
  17804. (TorrentAutoSaveCommand): Removed the initialization of checkPoint.
  17805. (execute): Rewritten.
  17806. * src/DownloadCommand.h
  17807. (sw): Changed the type to Time.
  17808. * src/DownloadCommand.cc
  17809. (DownloadCommand): Removed the initialization of sw.
  17810. (executeInternal): Rewritten.
  17811. * src/RequestSlot.h
  17812. (dispatchedTime): Changed the type to Time.
  17813. * src/RequestSlot.cc
  17814. (RequestSlot): Removed the call to setDispatchedTime().
  17815. (setDispatchedTime): Rewirtten.
  17816. (isTimeout): Rewritten.
  17817. (getLatencyInMillis): Rewritten.
  17818. * src/TorrentDownloadEngine.h
  17819. (cp): Changed the type to Time[2].
  17820. (startup): Changed the type to Time.
  17821. * src/TorrentDownloadEngine.cc
  17822. (initStatistics): Rewritten.
  17823. (calculateStatistics): Rewritten.
  17824. * src/DownloadEngine.cc
  17825. (run): Rewritten.
  17826. To detect all attempts to connect to the tracker are failed:
  17827. * src/AbstractCommand.cc
  17828. (execute): Increment e->segmentMan->errors if a command aborted.
  17829. * src/SegmentMan.h
  17830. (errors): New variable.
  17831. * src/SegmentMan.cc
  17832. (SegmentMan): Added the initialization of errors.
  17833. (init): Added the initialization of errors.
  17834. * src/TrackerWatcherCommand.cc
  17835. (execute): If e->segmentMan->errors > 0 then assume that the tracker
  17836. request was failed.
  17837. To handle snubbed peers:
  17838. * src/PeerChokeCommand.cc
  17839. (optUnchokingPeer): Snubbed peers don't get unchoked.
  17840. (execute): Snubbed peers don't get unchoked.
  17841. * src/PeerInteraction.h
  17842. (REQUEST_TIME_OUT): Changed the value from 120 to 60.
  17843. * src/PeerInteraction.cc
  17844. (checkRequestSlot): A peer get marked as "snubbed" if it doesn't send
  17845. back the requested 16k block in 60 seconds.
  17846. * src/PieceMessage.cc
  17847. (receivedAction): A peer's snubbed state is cleard if it sends
  17848. the requested 16k block in 60 seconds.
  17849. * src/Peer.h
  17850. (snubbing): New variable.
  17851. * src/Peer.cc
  17852. (resetStatus): Added snubbed = false.
  17853. To fix the bug that causes have message is not sent:
  17854. * src/PeerInteractionCommand.cc
  17855. (~PeerInteractionCommand): Removed e->torrentMan->unadvertisePiece().
  17856. (FLOODING_CHECK_INTERVAL): New definition(temporal).
  17857. (detectMessageFlooding): Use FLOODING_CHECK_INTERVAL.
  17858. * src/TorrentMan.h
  17859. (HaveEntry): New class.
  17860. (advertisePiece): Rewritten.
  17861. (getAdvertisedPieceIndexes): Rewritten.
  17862. (Haves): Changed the type.
  17863. (getAdvertisedPieceIndexes): Added an argument.
  17864. Others:
  17865. * src/TorrentMan.h
  17866. (DEFAULT_ANNOUNCE_INTERVAL): Changed the value to 1800.
  17867. (DEFAULT_ANNOUNCE_MIN_INTERVAL): Changed the value to 1800.
  17868. * src/TorrentMan.cc
  17869. (getPeer): Don't check the number of connections here.
  17870. (setupInternal1): Changed peerId.
  17871. * src/PeerInteractionCommand.h
  17872. (KEEP_ALIVE_INTERVAL): New definition.
  17873. (sendKeepAlive): Use KEEP_ALIVE_INTERVAL.
  17874. * src/main.cc
  17875. (main): SA_ONESHOT was replaced with SA_RESETHAND.
  17876. * src/DownloadEngine.h: Removed unnecessary header includes.
  17877. 2006-05-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17878. To fix the bug that causes segfaults if a tracker returns a zero-length
  17879. list as "peers":
  17880. * src/TrackerUpdateCommand.cc
  17881. (execute): Added a check to see wether the type of peers is Data*.
  17882. 2006-05-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17883. * Release 0.5.0
  17884. To fix compile issue with gcc3:
  17885. * src/CancelMessage.h
  17886. (ID): Renamed as ID_t
  17887. (ID_t): New enum.
  17888. * src/RejectMessage.h
  17889. (ID): Renamed as ID_t
  17890. (ID_t): New enum.
  17891. * src/SuggestPieceMessage.h
  17892. (ID): Renamed as ID_t
  17893. (ID_t): New enum.
  17894. * src/AllowedFastMessage.h
  17895. (ID): Renamed as ID_t
  17896. (ID_t): New enum.
  17897. * src/PortMessage.h
  17898. (ID): Renamed as ID_t
  17899. (ID_t): New enum.
  17900. * src/HaveNoneMessage.h
  17901. (ID): Renamed as ID_t
  17902. (ID_t): New enum.
  17903. * src/KeepAliveMessage.h
  17904. (ID): Renamed as ID_t
  17905. (ID_t): New enum.
  17906. * src/HaveAllMessage.h
  17907. (ID): Renamed as ID_t
  17908. (ID_t): New enum.
  17909. * src/UnchokeMessage.h
  17910. (ID): Renamed as ID_t
  17911. (ID_t): New enum.
  17912. * src/BitfieldMessage.h
  17913. (ID): Renamed as ID_t
  17914. (ID_t): New enum.
  17915. * src/PieceMessage.h
  17916. (ID): Renamed as ID_t
  17917. (ID_t): New enum.
  17918. * src/RequestMessage.h
  17919. (ID): Renamed as ID_t
  17920. (ID_t): New enum.
  17921. * src/NotInterestedMessage.h
  17922. (ID): Renamed as ID_t
  17923. (ID_t): New enum.
  17924. * src/ChokeMessage.h
  17925. (ID): Renamed as ID_t
  17926. (ID_t): New enum.
  17927. * src/InterestedMessage.h
  17928. (ID): Renamed as ID_t
  17929. (ID_t): New enum.
  17930. * src/HaveMessage.h
  17931. (ID): Renamed as ID_t
  17932. (ID_t): New enum.
  17933. 2006-05-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17934. * src/PeerAbstractCommand.h
  17935. (beforeSocketCheck): Removed.
  17936. * src/PeerAbstractCommand.cc
  17937. Modified in order to call executeInternal() even if socket check
  17938. and upload limit check fail.
  17939. * src/PeerInteractionCommand.h
  17940. (keepAlive): Removed.
  17941. (sendKeepAlive): New function.
  17942. (checkHave): New function.
  17943. (beforeSocketCheck): Removed.
  17944. * src/PeerInteractionCommand.cc
  17945. (executeInternal): Use peerInteraction->checkRequestSlot(). Added
  17946. calls to checkHave() and sendKeepAlive().
  17947. (keepAlive): Renamed to sendKeepAlive().
  17948. (sendKeepAlive): New function.
  17949. (beforeSocketCheck): Removed.
  17950. (checkHave): New function.
  17951. * src/BitfieldMan.cc
  17952. (getMissingIndex): Don't call getMissingIndexRandomly() if max is 0.
  17953. (getMissingUnusedIndex): Don't call getMissingIndexRandomly() if max is
  17954. 0.
  17955. (getMissingIndex): Dont't call getMissingIndexRandomly() if max is 0.
  17956. * src/TorrentMan.h
  17957. (UsedPieces): Removed.
  17958. (Pieces): New type definition.
  17959. * src/Piece.h: Updated doc.
  17960. * src/Peer.h
  17961. (totalLength): Removed.
  17962. * src/Peer.cc
  17963. (updateLatency): Fixed the latency calculation.
  17964. * src/TorrentMan.cc
  17965. (addPeer): Call deleteOldErrorPeers() only if peers.size() is higher
  17966. than or equal to MAX_PEER_LIST_SIZE.
  17967. If duplicate is false and peer.size() >= MAX_PEER_LIST_SIZE,
  17968. then return false.
  17969. (deleteOldErrorPeers): Rewritten.
  17970. (deleteUsedPiece): Fixed the miss use of STL remove.
  17971. * src/PeerInteraction.h
  17972. (Pieces): Removed.
  17973. (deleteTimeoutRequestSlot): Removed.
  17974. (deleteCompletedRequestSlot): Removed.
  17975. (checkRequestSlot): New function.
  17976. * src/PeerInteraction.cc
  17977. (deleteTimeoutRequestSlot): Merged to checkRequestSlot().
  17978. (deleteCompletedRequestSlot): Merged to checkRequestSlot().
  17979. (checkRequestSlot): New function.
  17980. * src/DownloadEngine.cc
  17981. (run): Clear activeSockets before calling waitData().
  17982. (waitData): Removed a call to activeSockets.clear().
  17983. 2006-05-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17984. To attempt to handle EINTR:
  17985. * src/SocketCore.cc
  17986. (isReadable): Added EINTR handling.
  17987. (isWritable): Added EINTR handling.
  17988. To improve the performance:
  17989. * src/AbstractCommand.cc
  17990. (isTimeoutDetected): Use Util::difftvsec() instead of Util::difftv().
  17991. * src/PeerInteractionCommand.h
  17992. (receiveMessage): Renamed as receiveMessages().
  17993. (receiveMessages): New function.
  17994. * src/PeerInteractionCommand.cc
  17995. (executeInternal): receiveMessage loop is moved to new receiveMessages
  17996. () function. detectMessageFlooding() is moved here.
  17997. (detectMessageFlooding): Use Util::difftvsec() instead of Util::difftv
  17998. (). The flooding detection for have message is comment out.
  17999. (checkLongTimePeerChoking): Use Util::difftvsec() instead of
  18000. Util::difftv().
  18001. (receiveMessage): Renamed as receiveMessages().
  18002. (receiveMessages): New function.
  18003. (keepAlive): Use Util::difftvsec() instead of Util::difftv().
  18004. (beforeSocketCheck): Commented out checkLongTimePeerChoking().
  18005. * src/SleepCommand.cc
  18006. (execute): Use Util::difftvsec() instead of Util::difftv().
  18007. * src/BitfieldMan.h
  18008. (getNthBitIndex): New function.
  18009. (hasMissingPiece): New function.
  18010. (getAllMissingIndexes): New function.
  18011. * src/BitfieldMan.cc
  18012. (countSetBit): Rewritten.
  18013. (getNthBitIndex): New function.
  18014. (getMissingIndexRandomly): Rewritten.
  18015. (hasMissingPiece): New function.
  18016. (getAllMissingIndexes): New function.
  18017. * src/TorrentMan.cc
  18018. (hasMissingPiece): New function.
  18019. (deleteUsedPiece): Rewritten using STL.
  18020. * src/PeerInteraction.cc
  18021. (getNewPieceAndSendInterest): Use TorrentMan::hasMissingPiece(), which
  18022. is a little bit faster then TorrentMan::getMissingPieceIndex().
  18023. (addRequests): Updated the number of pending requests.
  18024. * src/PeerAbstractCommand.cc
  18025. (isTimeoutDetected): Use Util::difftvsec() instead of Util::difftv().
  18026. (execute): Returns true if TorrentMan::isHalt() is true.
  18027. Corrected the condition of upload limit checking.
  18028. * src/Util.h
  18029. (countBit): New function.
  18030. * src/Util.cc
  18031. (nbits): New variable.
  18032. (countBit): New function.
  18033. * src/DownloadEngine.h
  18034. (SockCmdMap): New type definition.
  18035. (waitData): Added an argument.
  18036. (addSocket): Added an argument.
  18037. (addSocketForReadCheck): Added an argument.
  18038. (addSocketForWriteCheck): Added an argument.
  18039. * src/DownloadEngine.cc
  18040. (run): Executes only commands whose sockets are ready to read or write.
  18041. All commands are executed in every 1 second.
  18042. (waitData): Calls select() again if it returned
  18043. EINTR.
  18044. (addSocket): Saves socket and command object pair to the map.
  18045. (deleteSocket): Deletes socket and command object pair from the map.
  18046. (addSocketForReadCheck): Added an argument.
  18047. (addSocketForWriteCheck): Added an argument.
  18048. * src/DownloadCommand.cc
  18049. (executeInternal): Use Util::difftvsec() instead of Util::difftv().
  18050. To send "event=stopped" to the tracker when the application finishes:
  18051. * src/PeerChokeCommand.h
  18052. (checkPoint): New variable.
  18053. * src/PeerChokeCommand.cc
  18054. (PeerChokeCommand): Added the initialization of checkPoint.
  18055. (execute): The interval check is now done by checkPoint, not
  18056. SleepCommand. Return true if TorrentMan::isHalt() is true.
  18057. * src/TorrentMan.h
  18058. (halt): New function.
  18059. (hasMissingPiece): New function.
  18060. (isHalt): New function.
  18061. (setHalt): New function.
  18062. * src/TorrentMan.cc
  18063. (TorrentMan): Added the initialization of halt.
  18064. * src/TorrentAutoSaveCommand.h
  18065. (checkPoint): New variable.
  18066. * src/PeerListenCommand.cc
  18067. (execute): Returns true if TorrentMan::isHalt() is true.
  18068. * src/main.cc
  18069. (setSignalHander): Added flags argument.
  18070. (torrentHandler): Just calls TorrentMan::setHalt(true) and returns.
  18071. (main): Set SA_ONESHOT flag of the signal hander of SIGINT and SIGTERM.
  18072. Removed printDownloadAbortMessage() after torrent downloading loop.
  18073. * src/TorrentAutoSaveCommand.cc
  18074. (TorrentAutoSaveCommand): Added the initialization of checkPoint.
  18075. (execute): Returns true if TorrentMan::isHalt() is true.
  18076. The interval check is now done by checkPoint, not SleepCommand.
  18077. * src/TrackerWatcherCommand.cc
  18078. (execute): If TorrentMan::isHalt(), then create a tracker request with
  18079. event=stopped.
  18080. * src/TrackerUpdateCommand.cc
  18081. (prepareForRetry): Do not use SleepCommand here.
  18082. (execute): Returns true if TorrentMan::isHalt() is true.
  18083. Others:
  18084. * src/TorrentMan.cc
  18085. (getMissingPieceIndex): Updated log message.
  18086. * src/PeerInteraction.cc
  18087. (createPeerMessag): Updated log message.
  18088. 2006-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18089. To add the ability to download several pieces in mix in a command and
  18090. increase the number of request slots according to request-cancel
  18091. latency:
  18092. * src/PeerInteractionCommand.cc
  18093. (executeInternal): The number of messages to be received at a time
  18094. is increased from 10 to 50.
  18095. * src/LogFactory
  18096. (getInstance): Added NullLogger.
  18097. * src/NullLogger.h: New class.
  18098. * src/BitfieldMan.h
  18099. (getMissingIndex): New function.
  18100. * src/BitfieldMan.cc
  18101. (getMissingIndex): New function.
  18102. * src/TorrentMan.h
  18103. (checkOutPiece): New function.
  18104. (getMissingPieceIndex): New function.
  18105. (getMissingFastPieceIndex): New function.
  18106. (getMissingFastPiece): New function.
  18107. * src/TorrentMan.cc
  18108. (updatePiece): Rewritten using STL.
  18109. (syncPiece): Rewritten using STL.
  18110. (getMissingPiece): Rewritten using getMissingPieceIndex() and
  18111. checkOutPiece().
  18112. (getMissingPieceIndex): New function.
  18113. (getMissingFastPieceIndex): New function.
  18114. (getMissingFastPiece): New function.
  18115. (checkOutPiece): New function.
  18116. * src/PeerInteraction.h
  18117. (Pieces): New type definition.
  18118. (piece): Removed.
  18119. (pieces): New variable.
  18120. (getNewPieceAndSendInterest): Added the "piece" argument.
  18121. (abortPiece): Added the "piece" argument.
  18122. (abortAllPieces): New function.
  18123. (isInRequestSlot): New function.
  18124. (hasDownloadPiece): Added the "index" argument.
  18125. (setDownloadPiece): Removed.
  18126. (getDownloadPiece): Added the "index" argument.
  18127. (updatePiece): New function.
  18128. (createRequestMessage): Added the "index" argument.
  18129. * src/PeerInteraction.cc
  18130. (onChoked): Rewritten.
  18131. (abortPiece): Rewirtten.
  18132. (abortAllPieces): New function.
  18133. (deleteTimeoutRequestSlot): Rewritten.
  18134. Clarified code a little bit.
  18135. (deleteCompletedRequestSlot): Rewritten.
  18136. (isInRequestSlot): New function.
  18137. (syncPiece): Rewritten.
  18138. (updatePiece): New function.
  18139. (getNewPieceAndSendInterest): Rewritten.
  18140. (addRequests): Rewritten.
  18141. (getDownloadPiece): Rewritten.
  18142. (hasDownloadPiece): Rewritten.
  18143. (createRequestMessage): Added the "index" argument.
  18144. * src/common.h
  18145. (BITFIELD_LEN_FROM_PIECES): Enclosed the variable in parentheses.
  18146. (DIV_FLOOR): New definition.
  18147. * src/PieceMessage.cc
  18148. (receivedAction): Update request-piece latency here.
  18149. * src/RequestSlot.h
  18150. (getLatencyInMillis): New function.
  18151. * src/RequestSlot.cc
  18152. (isTimeout): Rewritten using getLatencyInMillis.
  18153. (getLatencyInMillis): New function.
  18154. * src/Piece.h
  18155. (operator==): New function.
  18156. (getMissingBlockIndex): New function.
  18157. * src/Piece.cc
  18158. (operator==): New function.
  18159. (getMissingBlockIndex): New function.
  18160. * src/Peer.h
  18161. (DEFAULT_LATENCY): New definition.
  18162. (latency): New variable.
  18163. (updateLatency): New function.
  18164. (getLatency): New function.
  18165. * src/Peer.cc
  18166. (resetStatus): Reset latecy.
  18167. (updateLatency): New function.
  18168. 2006-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18169. * src/SocketCore.cc
  18170. (isReadable): Added secure to the condition.
  18171. * src/HttpConnection.cc
  18172. (receiveResponse): Fixed a bug that causes no response header
  18173. exception.
  18174. * src/Peer.h
  18175. (getFastSet): Fixed the return value type.
  18176. 2006-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18177. To remove a wait from download loop:
  18178. * src/DownloadEngine.cc
  18179. (run): Comment out shortSleep.
  18180. To rewrite the message handling:
  18181. * src/SimplePeerMessage.h: New class.
  18182. * src/SimplePeerMessage.cc: New class.
  18183. * src/CancelMessage.h: Derived from SimplePeerMessage.
  18184. (msg): New variable.
  18185. (create): New function.
  18186. (send): Removed.
  18187. (getMessage): New function.
  18188. (getMessageLength): New function.
  18189. * src/CancelMessage.cc
  18190. (create): New function.
  18191. (receivedAction): Replaced deleteRequestMessageInQueue with
  18192. rejectPieceMessageInQueue.
  18193. (send): Removed.
  18194. (getMessage): New function.
  18195. (getMessageLength): New function.
  18196. * src/BitfieldMessage.h: Derived from SimplePeerMessage.
  18197. (msg): New variable.
  18198. (msgLength): New variable.
  18199. (~BitfieldMessage): Deleted msg.
  18200. (send): Removed.
  18201. (getMessage): New function.
  18202. (getMessageLength): New function.
  18203. * src/BitfieldMessage.cc
  18204. (create): New function.
  18205. (send): Removed.
  18206. (getMessage): New function.
  18207. (getMessageLength): New function.
  18208. * src/ChokeMessage.h: Derived from SimplePeerMessage.
  18209. (msg): New variable.
  18210. (sendPredicate): New function.
  18211. (onSendComplete): New function.
  18212. (send): Removed.
  18213. (getMessage): New function.
  18214. (getMessageLength): New function.
  18215. (create): New function.
  18216. * src/ChokeMessage.cc
  18217. (create): New function.
  18218. (send): Removed.
  18219. (sendPredicate): New function.
  18220. (getMessage): New function.
  18221. (getMessageLength): New function.
  18222. (onSendComplete): New function.
  18223. * src/KeepAliveMessage.h: Derived from SimplePeerMessage.
  18224. (msg): New variable.
  18225. (send): Removed.
  18226. (getMessage): New function.
  18227. (getMessageLength): New function.
  18228. * src/KeepAliveMessage.cc
  18229. (send): Removed.
  18230. (getMessage): New function.
  18231. (getMessageLength): New function.
  18232. * src/PortMessage.h
  18233. (create): New function.
  18234. (receivedAction): Updated log message.
  18235. * src/PortMessage.cc: New file.
  18236. * src/UnchokeMessage.h: Derived from SimplePeerMessage.
  18237. (msg): New variable.
  18238. (sendPredicate): New function.
  18239. (onSendComplete): New function.
  18240. (create): New function.
  18241. (send): Removed.
  18242. (getMessage): New function.
  18243. (getMessageLength): New function.
  18244. * src/UnchokeMessage.cc
  18245. (create): New function.
  18246. (send): Removed.
  18247. (sendPredicate): New function.
  18248. (getMessage): New function.
  18249. (getMessageLength): New function.
  18250. (onSendComplete): New function.
  18251. * src/PieceMessage.h
  18252. (leftPieceDataLength): Removed.
  18253. (leftDataLength): New variable.
  18254. (headerSend): New variable.
  18255. (pendingCount): New variable.
  18256. (msgHeader): New variable.
  18257. (sendPieceData): New function.
  18258. (incrementPendingCount): New function.
  18259. (isPendingCountMax): New function.
  18260. (create): New function.
  18261. (getMessageHeader): New function.
  18262. (getMessageHeaderLength): New function.
  18263. * src/PieceMessage.cc
  18264. (create): New function.
  18265. (getMessageHeader): New function.
  18266. (getMessageHeaderLength): New function.
  18267. (send): Rewritten.
  18268. (sendPieceData): New function.
  18269. * src/HaveMessage.h: Derived from SimplePeerMessage.
  18270. (msg): New variable.
  18271. (create): New function.
  18272. (getMessage): New function.
  18273. (getMessageLength): New function.
  18274. * src/HaveMessage.cc
  18275. (create): New function.
  18276. (send): Removed.
  18277. (sendPieceData): New function.
  18278. (getMessage): New function.
  18279. (getMessageLength): New function.
  18280. * src/RequestMessage.h: Derived from SimplePeerMessage.
  18281. (msg): New variable.
  18282. (create): New function.
  18283. (send): Removed.
  18284. (getMessage): New function.
  18285. (getMessageLength): New function.
  18286. * src/RequestMessage.cc
  18287. (create): New function.
  18288. (receivedAction): Added the handling of fast extension.
  18289. Deleted torrentMan->addUploadLength, torrentMan->addDeltaUploadLength.
  18290. (send): Removed.
  18291. (getMessage): New function.
  18292. (getMessageLength): New function.
  18293. * src/InterestedMessage.h: Derived from SimplePeerMessage.
  18294. (msg): New variable.
  18295. (sendPredicate): New function.
  18296. (onSendComplete): New function.
  18297. (create): New function.
  18298. (getMessage): New function.
  18299. (getMessageLength): New function.
  18300. * src/InterestedMessage.cc
  18301. (create): New function.
  18302. (send): Removed.
  18303. (sendPieceData): New function.
  18304. (getMessage): New function.
  18305. (getMessageLength): New function.
  18306. (onSendComplete): New function.
  18307. * src/NotInterestedMessage.h: Derived from SimplePeerMessage.
  18308. (msg): New variable.
  18309. (sendPieceData): New function.
  18310. (onSendComplete): New function.
  18311. (create): New function.
  18312. (send): Removed.
  18313. (getMessage): New function.
  18314. (getMessageLength): New function.
  18315. * src/NotInterestedMessage.cc
  18316. (create): New function.
  18317. (send): Removed.
  18318. (sendPredicate): New function.
  18319. (getMessage): New function.
  18320. (getMessageLength): New function.
  18321. (onSendComplete): New function.
  18322. * src/AllowedFastMessage.h: New class.
  18323. * src/AllowedFastMessage.cc: New class.
  18324. * src/RejectMessage.h: New class.
  18325. * src/RejectMessage.cc: New class.
  18326. * src/SuggestPieceMessage.h: New class.
  18327. * src/SuggestPieceMessage.cc: New class.
  18328. * src/HaveAllMessage.h: New class.
  18329. * src/HaveAllMessage.cc: New class.
  18330. * src/HaveNoneMessage.h: New class.
  18331. * src/HaveNoneMessage.cc: New class.
  18332. * src/HandshakeMessage.h: Derived from SimplePeerMessage.
  18333. (msg): New variable.
  18334. (reserved): New variable.
  18335. (create): New function.
  18336. (getId): New function.
  18337. (receivedAction): New function.
  18338. (getMessage): New function.
  18339. (getMessageLength): New function.
  18340. (isFastExtensionSupported): New function.
  18341. * src/HandshakeMessage.cc
  18342. (HandshakeMessage): Moved here from HandshakeMessage.h.
  18343. (create): New function.
  18344. (getMessage): New function.
  18345. (getMessageLength): New function.
  18346. (toString): Added the output of reserved field.
  18347. (check): Added const qualifier.
  18348. (isFastExtensionSupported): New function.
  18349. * src/PeerMessageUtil.h
  18350. (createChokeMessage): Removed.
  18351. (createUnchokeMessage): Removed.
  18352. (createInterestedMessage): Removed.
  18353. (createNotInterestedMessage): Removed.
  18354. (createHaveMessage): Removed.
  18355. (createBitfieldMessage): Removed.
  18356. (createRequestMessage): Removed.
  18357. (createCancelMessage): Removed.
  18358. (createPieceMessage): Removed.
  18359. (createPortMessage): Removed.
  18360. (createChokeMessage): Removed.
  18361. (createUnchokeMessage): Removed.
  18362. (createInterestedMessage): Removed.
  18363. (createNotInterestedMessage): Removed.
  18364. (createHaveMessage): Removed.
  18365. (createBitfieldMessage): Removed.
  18366. (createRequestMessage): Removed.
  18367. (createCancelMessage): Removed.
  18368. (createPieceMessage): Removed.
  18369. (createKeepAliveMessage): Removed.
  18370. (createHandshakeMessage): Removed.
  18371. (setIntParam): New function.
  18372. (createPeerMessageString): New function.
  18373. * src/PeerMessageUtil.cc
  18374. (createChokeMessage): Removed.
  18375. (createUnchokeMessage): Removed.
  18376. (createInterestedMessage): Removed.
  18377. (createNotInterestedMessage): Removed.
  18378. (createHaveMessage): Removed.
  18379. (createBitfieldMessage): Removed.
  18380. (createRequestMessage): Removed.
  18381. (createCancelMessage): Removed.
  18382. (createPieceMessage): Removed.
  18383. (createPortMessage): Removed.
  18384. (createRequestMessage): Removed.
  18385. (createCancelMessage): Removed.
  18386. (createPieceMessage): Removed.
  18387. (createHaveMessage): Removed.
  18388. (createChokeMessage): Removed.
  18389. (createUnchokeMessage): Removed.
  18390. (createInterestedMessage): Removed.
  18391. (createNotInterestedMessage): Removed.
  18392. (createBitfieldMessage): Removed.
  18393. (createKeepAliveMessage): Removed.
  18394. (createHandshakeMessage): Removed.
  18395. (setIntParam): New function.
  18396. (createPeerMessageString): New function.
  18397. * src/PeerConnection.h
  18398. (peer): Removed.
  18399. (torrentMan): Removed.
  18400. (createNLengthMessage): Removed.
  18401. (setIntParam): Removed.
  18402. (writeOutgoingMessageLog): Removed all overloaded functions.
  18403. (PeerConnection): Deleted peer and torrentMan from its arguments.
  18404. (sendMessage): New function.
  18405. (sendHandshake): Removed.
  18406. (sendKeepAlive): Removed.
  18407. (sendChoke): Removed.
  18408. (sendUnchoke): Removed.
  18409. (sendInterested): Removed.
  18410. (sendNotInterested): Removed.
  18411. (sendHave): Removed.
  18412. (sendBitfield): Removed.
  18413. (sendRequest): Removed.
  18414. (sendPiece): Removed.
  18415. (sendPieceHeader): Removed.
  18416. (sendPieceData): Removed.
  18417. (sendCancel): Removed.
  18418. (getPeer): Removed.
  18419. * src/PeerConnection.cc
  18420. (PeerConnection): Deleted peer and torrentMan from its arguments.
  18421. (sendHandshake): Removed.
  18422. (sendKeepAlive): Removed.
  18423. (createNLengthMessage): Removed.
  18424. (setIntParam): Removed.
  18425. (writeOutgoingMessageLog): Removed all overloaded functions.
  18426. (sendChoke): Removed.
  18427. (sendUnchoke): Removed.
  18428. (sendInterested): Removed.
  18429. (sendNotInterested): Removed.
  18430. (sendHave): Removed.
  18431. (sendBitfield): Removed.
  18432. (sendRequest): Removed.
  18433. (sendPiece): Removed.
  18434. (sendPieceHeader): Removed.
  18435. (sendPieceData): Removed.
  18436. (sendMessage): New function.
  18437. (sendCancel): Removed.
  18438. * src/PeerInteractionCommand.cc
  18439. (PeerInteractionCommand): Call setUploadLimit.
  18440. (executeInternal): Call setUploadLimit.
  18441. Added the handling of "inProgress" state of handshake message.
  18442. Call sendBitfield() or sendAllowdFast() instead of deprecated
  18443. sendNow().
  18444. (keepAlive): Call addMessage and sendMessage instead of deprecated
  18445. sendNow().
  18446. (beforeSocketCheck): Call addMessage instead of deprecated trySendNow()
  18447. * src/TorrentMan.h
  18448. (PEER_ID_LENGTH): New definition.
  18449. (hasAllPieces): New function.
  18450. * src/TorrentMan.cc
  18451. (getMissingPiece): Added the handling of fast extension.
  18452. (cancelPiece): Call updatePiece().
  18453. (hasAllPieces): New function.
  18454. * src/PeerInteraction.h
  18455. (fastSet): New variable.
  18456. (getNewPieceAndSendInterest): Changed the return type to void.
  18457. (send): Renamed as sendMessages.
  18458. (deleteAllRequestSlot): Removed.
  18459. (deleteRequestMessageInQueue): Renamed as rejectPieceMessageInQueue.
  18460. (cancelAllRequest): Removed all overloaded functions.
  18461. (deleteAllRequestSlot): Removed.
  18462. (deletePieceMessageInQueue): Renamed as rejectAllPieceMessageInQueue.
  18463. (rejectPieceMessageInQueue): New function.
  18464. (rejectAllPieceMessageInQueue): New function.
  18465. (onChoked): New function.
  18466. (isSendingMessageInProgress): New function.
  18467. (getCorrespondingRequestSlot): Changed its arguments.
  18468. (isInFastSet): New function.
  18469. (addFastSetIndex): New function.
  18470. (addRequests): New function.
  18471. (sendNow): Removed.
  18472. (trySendNow): Removed.
  18473. (sendBitfield): New function.
  18474. (sendAllowdFast): New function.
  18475. (createHaveAllMessage): New function.
  18476. (createHaveNoneMessage): New function.
  18477. (createRejectMessage): New function.
  18478. (createAllowedFastMessage): New function.
  18479. * src/PeerInteraction.cc
  18480. (send): Renamed as sendMessages.
  18481. (sendMessages): New function.
  18482. (MsgPushBack): New class.
  18483. (isSendingMessageInProgress): New function.
  18484. (deletePieceMessageInQueue): Renamed as rejectAllPieceMessageInQueue.
  18485. (rejectAllPieceMessageInQueue): New function.
  18486. Added the handling of fast extension.
  18487. (deleteRequestMessageInQueue): Renamed as rejectPieceMessageInQueue.
  18488. (rejectPieceMessageInQueue): New function.
  18489. Added the handling of fast extension.
  18490. (deleteRequestSlot): Replaced for loop with std::find.
  18491. (onChoked): New function.
  18492. (deleteAllRequestSlot): Removed.
  18493. (abortPiece): Rewirtten.
  18494. (deleteTimeoutRequestSlot): Updated log messages.
  18495. (getCorrespondingRequestSlot): Changed its arguments.
  18496. (cancelAllRequest): Removed all overloaded functions.
  18497. (receiveHandshake): Added the check to see whether an incoming peer
  18498. supports fast extension.
  18499. (createHandshakeMessage): Use HandshakeMessage::create instead of
  18500. PeerMessageUtil.
  18501. (createPeerMessage): Use create() of each message class instead of
  18502. PeerMessageUtil.
  18503. HaveAllMessage, HaveNoneMessage, RejectMessage, SuggestPieceMessage,
  18504. AllowedFastMessage were added.
  18505. (getNewPieceAndSendInterest): Changed its return value type to void.
  18506. Added the handling of fast extension.
  18507. (addRequests): New function.
  18508. (sendNow): Removed.
  18509. (sendHandshake): Rewritten.
  18510. (trySendNow): Removed.
  18511. (sendBitfield): New function.
  18512. (sendAllowdFast): New function.
  18513. (isInFastSet): New function.
  18514. (addFastSetIndex): New function.
  18515. (createRequestMessage): Use RequestMessage::create instead of
  18516. PeerMessageUtil.
  18517. (createCancelMessage): Use CancelMessage::create instead of
  18518. PeerMessageUtil.
  18519. (createPieceMessage): Use PieceMessage::create instead of
  18520. PeerMessageUtil.
  18521. (createHaveMessage): Use HaveMessage::create instead of
  18522. PeerMessageUtil.
  18523. (createChokeMessage): Use ChokeMessage::create instead of
  18524. PeerMessageUtil.
  18525. (createUnchokeMessage): Use UnchokeMessage::create instead of
  18526. PeerMessageUtil.
  18527. (createInterestedMessage): Use InterestedMessage::create instead of
  18528. PeerMessageUtil.
  18529. (createNotInterestedMessage): Use NotInterestedMessage::create instead
  18530. of PeerMessageUtil.
  18531. (createBitfieldMessage): Use BitfieldMessage::create instead of
  18532. PeerMessageUtil.
  18533. (createKeepAliveMessage): Use KeepAliveMessage::create instead of
  18534. PeerMessageUtil.
  18535. (createHaveAllMessage): New function.
  18536. (createHaveNoneMessage): New function.
  18537. (createRejectMessage): New function.
  18538. (createAllowedFastMessage: New function.
  18539. * src/Util.h
  18540. (sha1Sum): New function.
  18541. (computeFastSet): New function.
  18542. * src/Util.cc
  18543. (sha1Sum): New function.
  18544. (computeFastSet): New function.
  18545. * src/Peer.h
  18546. (fastExtensionEnabled): New variable.
  18547. (fastSet): New variable.
  18548. (setAllBitfield): New function.
  18549. (setFastExtensionEnabled): New function.
  18550. (isFastExtensionEnabled): New function.
  18551. (addFastSetIndex): New function.
  18552. (getFastSet): New function.
  18553. (isInFastSet): New function.
  18554. (countFastSet): New function.
  18555. * src/Peer.cc
  18556. (isInFastSet): New function.
  18557. (addFastSetIndex): New function.
  18558. (setAllBitfield): New function.
  18559. * src/AbstractCommand.cc (execute): Changed the procedure of checking
  18560. sockets.
  18561. * src/PeerAbstractCommand.cc
  18562. (PeerAbstractCommand): Added the initialization for uploadLimitCheck
  18563. and uploadLimit.
  18564. (execute): Changed the procedure of checking sockets. The upload speed
  18565. checking were added.
  18566. (setUploadLimit): New function.
  18567. (setUploadLimitCheck): New function.
  18568. * src/PeerAbstractCommand.h
  18569. (setUploadLimit): New function.
  18570. (setUploadLimitCheck): New function.
  18571. (uploadLimit): New variable.
  18572. (uploadLimitCheck): New variable.
  18573. To contact a tracker regularly:
  18574. * src/TrackerWatcherCommand.h (interval): New variable.
  18575. (checkPoint): New variable.
  18576. (TrackerWatcherCommand): Added interval argument.
  18577. * src/TrackerWatcherCommand.cc
  18578. (TrackerWatcherCommand): Initialized checkPoint.
  18579. (execute): Now a tracker is contacted in every specified period.
  18580. If peer list is not needed, send request with numwant=0.
  18581. * src/TrackerUpdateCommand.cc
  18582. (execute): Updated log messages.
  18583. * src/DownloadEngine.cc
  18584. (~DownloadEngine): Removed two asserts.
  18585. (waitData): Uncommented wfds. May be a bug fix.
  18586. 2006-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18587. * src/PeerInteractionCommand.h
  18588. (checkInactiveConnection): Removed.
  18589. * src/PeerInteractionCommand.cc
  18590. (executeInternal): Removed following function calls:
  18591. detectMessageFlooding(), checkLongTimePeerChoking and
  18592. checkInactiveConnection().
  18593. (checkInactiveConnection): Removed.
  18594. (detectMessageFlooding): Removed function call to
  18595. checkInactiveConnection().
  18596. * src/PeerMessageUtil.h
  18597. (createChokeMessage): New function. Overload.
  18598. (createUnchokeMessage): New function. Overload.
  18599. (createInterestedMessage): New function. Overload.
  18600. (createNotInterestedMessage): New function. Overload.
  18601. (createHaveMessage): New function. Overload.
  18602. (createBitfieldMessage): New function. Overload.
  18603. (createRequestMessage): New function. Overload.
  18604. (createCancelMessage): New function. Overload.
  18605. (createPieceMessage): New function. Overload.
  18606. (createKeepAliveMessage): New function. Overload.
  18607. * src/PeerMessageUtil.cc
  18608. (createChokeMessage): New function. Overload.
  18609. (createUnchokeMessage): New function. Overload.
  18610. (createInterestedMessage): New function. Overload.
  18611. (createNotInterestedMessage): New function. Overload.
  18612. (createHaveMessage): New function. Overload.
  18613. (createBitfieldMessage): New function. Overload.
  18614. (createRequestMessage): New function. Overload.
  18615. (createCancelMessage): New function. Overload.
  18616. (createPieceMessage): New function. Overload.
  18617. (createKeepAliveMessage): New function. Overload.
  18618. * src/SendMessageQueue.cc
  18619. (createRequestMessage): Use PeerMessageUtil.
  18620. (createCancelMessage): Use PeerMessageUtil.
  18621. (createPieceMessage): Use PeerMessageUtil.
  18622. (createHaveMessage): Use PeerMessageUtil.
  18623. (createChokeMessage): Use PeerMessageUtil.
  18624. (createUnchokeMessage): Use PeerMessageUtil.
  18625. (createInterestedMessage): Use PeerMessageUtil.
  18626. (createNotInterestedMessage): Use PeerMessageUtil.
  18627. (createBitfieldMessage): Use PeerMessageUtil.
  18628. (createKeepAliveMessage): Use PeerMessageUtil.
  18629. * src/SendMessageQueue.h: Renamed to PeerInteraction.h
  18630. * src/SendMessageQueue.cc: Renamed to PeerInteraction.cc
  18631. * src/PeerInteraction.h: New class.
  18632. * src/PeerInteraction.cc: New class.
  18633. 2006-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18634. Each peer message has its own class.
  18635. * src/PendingMessages.h: Removed.
  18636. * src/PendingMessages.cc: Removed. The sending process was moved to
  18637. each message class.
  18638. * src/RequestSlotMan.h: Removed.
  18639. * src/RequestSlotMan.cc: Removed. All functionarities were moved to
  18640. SendMessageQueue.
  18641. * src/RequestMessage.h: New class.
  18642. * src/RequestMessage.cc: New class.
  18643. * src/CancelMessage.h: New class.
  18644. * src/CancelMessage.cc: New class.
  18645. * src/BitfieldMessage.h: New class.
  18646. * src/BitfieldMessage.cc: New class.
  18647. * src/ChokeMessage.h: New class.
  18648. * src/ChokeMessage.cc: New class.
  18649. * src/KeepAliveMessage.h: New class.
  18650. * src/KeepAliveMessage.cc: New class.
  18651. * src/PortMessage.h: New class.
  18652. * src/UnchokeMessage.h: New class.
  18653. * src/UnchokeMessage.cc: New class.
  18654. * src/PieceMessage.h: New class.
  18655. * src/PieceMessage.cc: New class.
  18656. * src/HaveMessage.h: New class.
  18657. * src/HaveMessage.cc: New class.
  18658. * src/BitfieldMessage.h: New class.
  18659. * src/BitfieldMessage.cc: New class.
  18660. * src/NotInterestedMessage.h: New class.
  18661. * src/NotInterestedMessage.cc: New class.
  18662. * src/InterestedMessage.h: New class.
  18663. * src/InterestedMessage.cc: New class.
  18664. * src/HandshakeMessage.h (sendMessageQueue): New variable.
  18665. (getSendMessageQueue): New function.
  18666. (setSendMessageQueue): New function.
  18667. * src/HandshakeMessage.cc: New class.
  18668. * src/PeerConnection.h (receiveMessage): Changed return value and
  18669. arguments.
  18670. (receiveHandshake): Changed return value and arguments.
  18671. * src/PeerConnection.cc (receiveMessage): Do not create message class
  18672. here.
  18673. (receiveHandshake): Do not create handshake class here.
  18674. * src/PeerInteractionCommand.h (peerConnection): Removed.
  18675. (piece): Removed.
  18676. (syncPiece): Removed.
  18677. (sendInterest): Removed.
  18678. (sendMessages): Removed.
  18679. (createRequestPendingMessage): Removed.
  18680. (checkPieceHash): Removed.
  18681. (erasePieceOnDisk): Removed.
  18682. (getNewPieceAndSendInterest): Removed.
  18683. (onGotNewPice): Removed.
  18684. (onGotWrongPiece): Removed.
  18685. * src/PeerInteractionCommand.cc (PeerInteractionCommand):
  18686. Removed peerConnection, piece.
  18687. (~PeerInteractionCommand): Removed peerConnection.
  18688. (executeInternal): Use sendMessageQueue instead of peerConnection.
  18689. (syncPiece): Moved to SendMessageQueue.
  18690. (decideChoking): Removed PendingMessage.
  18691. (receiveMessage): Use sendMessageQueue instead of peerConnection.
  18692. The action after receiving peer message was moved to each message
  18693. class.
  18694. (onGotNewPice): Moved to SendMessageQueue.
  18695. (onGotWrongPiece): Moved to SendMessageQueue.
  18696. (getNewPieceAndSendInterest): Moved to SendMessageQueue.
  18697. (sendInterest): Moved to SendMessageQueue.
  18698. (createRequestPendingMessage): Removed.
  18699. (sendMessages): Moved to SendMessageQueue.
  18700. (onAbort): Use SendMessageQueue::abortPiece()
  18701. (keepAlive): Use sendMessageQueue instead of peerConnection.
  18702. (beforeSocketCheck): Use sendMessageQueue instead of peerConnection.
  18703. (checkPieceHash): Moved to SendMessageQueue.
  18704. (erasePieceOnDisk): Moved to SendMessageQueue.
  18705. * src/PeerMessageUtil.h
  18706. (createBitfieldMessage): Removed.
  18707. (createHaveMessage): Changed return value and arguments.
  18708. (createBitfieldMessage): Changed return value and arguments.
  18709. (createRequestCancelMessage): Removed.
  18710. (createPieceMessage): Changed return value and arguments.
  18711. (getShortIntParam): New function.
  18712. (checkIndex): Changed arguments.
  18713. (checkBegin): Changed arguments.
  18714. (checkLength): Changed arguments.
  18715. (checkPieceOffset): Removed.
  18716. (checkRange): New function.
  18717. (checkBitfield): Changed arguments.
  18718. (createPeerMessage): Removed.
  18719. (checkIntegrity): Removed.
  18720. (createHandshakeMessage): Changed arguments.
  18721. (createChokeMessage): New function.
  18722. (createUnchokeMessage): New function.
  18723. (createInterestedMessage): New function.
  18724. (createNotInterestedMessage): New function.
  18725. (createRequestMessage): New function.
  18726. (createCancelMessage): New function.
  18727. (createPortMessage): New function.
  18728. * src/PeerMessageUtil.cc
  18729. (createBitfieldMessage): Removed.
  18730. (createHaveMessage): Changed return value and arguments.
  18731. (createBitfieldMessage): Changed return value and arguments.
  18732. (createRequestCancelMessage): Removed.
  18733. (createPieceMessage): Changed return value and arguments.
  18734. (getShortIntParam): New function.
  18735. (checkIndex): Changed arguments.
  18736. (checkBegin): Changed arguments.
  18737. (checkLength): Changed arguments.
  18738. (checkPieceOffset): Removed.
  18739. (checkRange): New function.
  18740. (checkBitfield): Changed arguments.
  18741. (createPeerMessage): Removed.
  18742. (checkIntegrity): Removed.
  18743. (createHandshakeMessage): Changed arguments.
  18744. (createChokeMessage): New function.
  18745. (createUnchokeMessage): New function.
  18746. (createInterestedMessage): New function.
  18747. (createNotInterestedMessage): New function.
  18748. (createRequestMessage): New function.
  18749. (createCancelMessage): New function.
  18750. (createPortMessage): New function.
  18751. * src/PeerMessage.h
  18752. (id): Removed.
  18753. (index): Removed.
  18754. (begin): Removed.
  18755. (length): Removed.
  18756. (bitfield): Removed.
  18757. (bitfieldLength): Removed.
  18758. (block): Removed.
  18759. (blockLength): Removed.
  18760. (inProgress): New variable.
  18761. (cuid): New variable.
  18762. (peer): New variable.
  18763. (sendMessageQueue): New variable.
  18764. (logger): New variable.
  18765. (setBitfield): Removed.
  18766. (getBitfield): Removed.
  18767. (setBlock): Removed.
  18768. (getBlock): Removed.
  18769. (getBitfieldLength): Removed.
  18770. (getBlockLength): Removed.
  18771. (isInProgress): New function.
  18772. (toString): Made pure virtual.
  18773. (check): New function.
  18774. (send): New function.
  18775. (receivedAction): New function.
  18776. (getId): Made pure virtual.
  18777. (setId): Removed.
  18778. (getIndex): Removed.
  18779. (setIndex): Removed.
  18780. (getBegin): Removed.
  18781. (setBegin): Removed.
  18782. (getLength): Removed.
  18783. (setLength): Removed.
  18784. (getCuid): New function.
  18785. (setCuid): New function.
  18786. (getPeer): New function.
  18787. (setPeer): New function.
  18788. (getSendMessageQueue): New function.
  18789. (setSendMessageQueue): New function.
  18790. (ID): Removed.
  18791. * src/PeerMessage.cc
  18792. (setBitfield): Removed.
  18793. (setBlock): Removed.
  18794. (toString): Removed.
  18795. * src/TorrentMan.h
  18796. (getPieceLength): New function.
  18797. (getPieceLength): New function.
  18798. * src/SendMessageQueue.h
  18799. (REQUEST_TIME_OUT): New definition.
  18800. (RequestSlots): New definition.
  18801. (MessageQueue): New definition.
  18802. (requestSlotMan): Removed.
  18803. (pendingMessages): Removed.
  18804. (requestSlots): New variable.
  18805. (messageQueue): New variable.
  18806. (torrentMan): New variable.
  18807. (peerConnection): New variable.
  18808. (peer): New variable.
  18809. (piece): New variable.
  18810. (getNewPieceAndSendInterest): New function.
  18811. (createPeerMessage): New function.
  18812. (createHandshakeMessage): New function.
  18813. (send): Made private.
  18814. (setPeerMessageCommonProperty): New function.
  18815. (deleteAllRequestSlot): New function.
  18816. (deleteRequestMessageInQueue): New function.
  18817. (cancelAllRequest): Made private.
  18818. (cancelAllRequest): Made private.
  18819. (countRequestSlot): Made private.
  18820. (addPendingMessage): Removed.
  18821. (deletePendingPieceMessage): Removed.
  18822. (deletePendingRequestMessage): Removed.
  18823. (addMessage): New function.
  18824. (deletePieceMessageInQueue): New function.
  18825. (deleteTimeoutRequestSlot): Changed argument.
  18826. (deleteCompletedRequestSlot): Changed argument.
  18827. (getCorrespoindingRequestSlot): Renamed to getCorrespondingRequestSlot.
  18828. (getCorrespondingRequestSlot): New function.
  18829. (countPendingMessage): Removed.
  18830. (countMessageInQueue): New function.
  18831. (getTorrentMan): New function.
  18832. (getPeerConnection): New function.
  18833. (hasDownloadPiece): New function.
  18834. (getDownloadPiece): New function.
  18835. (setDownloadPiece): New function.
  18836. (syncPiece): New function.
  18837. (sendMessages): New function.
  18838. (sendNow): New function.
  18839. (trySendNow): New function.
  18840. (abortPiece): New function.
  18841. (sendHandshake): New function.
  18842. (receiveMessage): New function.
  18843. (receiveHandshake): New function.
  18844. (createRequestMessage): New function.
  18845. (createCancelMessage): New function.
  18846. (createPieceMessage): New function.
  18847. (createHaveMessage): New function.
  18848. (createChokeMessage): New function.
  18849. (createUnchokeMessage): New function.
  18850. (createInterestedMessage): New function.
  18851. (createNotInterestedMessage): New function.
  18852. (createBitfieldMessage): New function.
  18853. (createKeepAliveMessage): New function.
  18854. * src/SendMessageQueue.cc
  18855. (SendMessageQueue): Removed requestSlotMan.
  18856. Instantiated peerConnection here.
  18857. (~SendMessageQueue): Removed requestSlotMan.
  18858. Added deletion of peerConnection and the contents of messageQueue.
  18859. (send): Updated according to the change of messageQueue.
  18860. (addPendingMessage): Renamed to addMessage.
  18861. (addMessage): New function.
  18862. (deletePendingPieceMessage): Renamed to deletePieceMessageInQueue.
  18863. (deletePieceMessageInQueue): New function.
  18864. (deletePendingRequestMessage): Renamed to deleteRequestMessageInQueue.
  18865. (deleteRequestMessageInQueue): New function.
  18866. (deleteRequestSlot): RequestSlotMan::deleteRequestSlot(...) was moved
  18867. here.
  18868. (deleteTimeoutRequestSlot): RequestSlotMan::deleteTimeoutRequestSlot
  18869. (...) was moved here.
  18870. (deleteAllRequestSlot): RequestSlotMan::deleteAllRequestSlot(...) was
  18871. moved here.
  18872. (deleteCompletedRequestSlot):
  18873. RequestSlotMan::deleteCompletedRequestSlot(...) was moved here.
  18874. (getCorrespondingRequestSlot):
  18875. RequestSlotMan::getCorrespoindingRequestSlot(...) was moved here.
  18876. And renamed to getCorrespondingRequestSlot, correcting a typo.
  18877. (countPendingMessage): Renamed to countMessageInQueue.
  18878. (countMessageInQueue): New function.
  18879. (countRequestSlot): RequestSlotMan::countRequestSlot() was moved here.
  18880. (receiveHandshake): New function.
  18881. (createHandshakeMessage): New function.
  18882. (receiveMessage): New function.
  18883. (createPeerMessage): New function.
  18884. (syncPiece): New function.
  18885. (getNewPieceAndSendInterest): New function.
  18886. (sendMessages): New function.
  18887. (sendNow): New function.
  18888. (trySendNow): New function.
  18889. (sendHandshake): New function.
  18890. (abortPiece): New function.
  18891. (getDownloadPiece): New function.
  18892. (getPeerMessageCommonProperty): New function.
  18893. (createRequestMessage): New function.
  18894. (createCancelMessage): New function.
  18895. (createPieceMessage): New function.
  18896. (createHaveMessage): New function.
  18897. (createChokeMessage): New function.
  18898. (createUnchokeMessage): New function.
  18899. (createInterestedMessage): New function.
  18900. (createNotInterestedMessage): New function.
  18901. (createBitfieldMessage): New function.
  18902. (createKeepAliveMessage): New function.
  18903. To add simple Content-Disposition support:
  18904. * src/HttpResponseCommand.h (determinFilename): New function.
  18905. * src/HttpResponseCommand.cc (executeInternal):
  18906. Use determinFilename(headers) instead of req->getFile() when comparing
  18907. filename.
  18908. (determinFilename): New function.
  18909. (handleDefaultEncoding): Use determinFilename(headers) instead of
  18910. req->getFile().
  18911. (handleOtherEncoding): Use determinFilename(headers) instead of
  18912. req->getFile().
  18913. * src/Util.h (getContentDispositionFilename): New function.
  18914. * src/Util.cc (getContentDispositionFilename): New function.
  18915. * src/LogFactory.h (release): New function.
  18916. * src/LogFactory.cc (release): New function.
  18917. To fix a bug that causes out-of-bound exception when HTTP status
  18918. line is wrong:
  18919. * src/HttpConnection.cc (receiveResponse): Added a check for header
  18920. size.
  18921. * src/common.h (Deleter): New class.
  18922. * src/SegmentMan.cc
  18923. (~SegmentMan): Added deletion of splitter and diskWriter.
  18924. * src/DownloadEngine.h
  18925. (Commands): Use deque.
  18926. (clearQueue): New function.
  18927. * src/DownloadEngine.cc
  18928. (~DownloadEngine): Added deletion of segmentMan.
  18929. (cleanQueue): New function.
  18930. * src/TorrentDownloadEngine.h
  18931. (TorrentDownloadEngine): The implementation was moved to
  18932. TorrentDownloadEngine.cc.
  18933. (~TorrentDownloadEngine): The implementation was moved to
  18934. TorrentDownloadEngine.cc.
  18935. * src/TorrentDownloadEngine.cc
  18936. (~TorrentDownloadEngine): Added deletion of torrentMan.
  18937. * src/main.cc
  18938. (clearRequest): Removed.
  18939. (handler): Added deletion of e.
  18940. (torrentHandler): Added deletion of te.
  18941. (main): Do not share splitter.
  18942. Use Deleter instead of clearRequest.
  18943. Deletion of classes were updated.
  18944. 2006-05-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18945. * src/main.cc (main): Fixed typo.
  18946. * src/message.h: Fixed typo.
  18947. * po/de.po: Added German translation, thanks to Hermann J. Beckers.
  18948. 2006-04-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18949. To add --select-file command-line option:
  18950. * src/Util.cc
  18951. (unfoldRange): New function.
  18952. (getNum): New function.
  18953. (unfoldSubRange): New function
  18954. * src/main.cc
  18955. (showUsage): Added help message.
  18956. (main): Added --select-file command-line option. Updated the layout of
  18957. file listing.
  18958. * src/common.h
  18959. (Integers): New definition.
  18960. * src/SocketCore.cc
  18961. (writeData): Removed timeout argument.
  18962. (readData): Removed timeout argument.
  18963. (peekData): Removed timeout argument.
  18964. * src/Socket.cc
  18965. (writeData): Removed timeout argument.
  18966. (readData): Removed timeout argument.
  18967. (peekData): Removed timeout argument.
  18968. * Release 0.4.1
  18969. 2006-04-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18970. To deploy upload rate based choking algorithm:
  18971. * src/PeerInteractionCommand.cc
  18972. (PeerInteractionCommand): Add peer to TorrentMan::activePeers to track
  18973. peer currently used.
  18974. (decideChoking): Deleted the choke/unchoke decision algorithm when
  18975. download completes. Simplified.
  18976. (receiveMessage): Updated.
  18977. * src/TorrentMan.h
  18978. (activePeers): New variable.
  18979. (addActivePeer): New function.
  18980. (getActivePeers): New function.
  18981. (deleteActivePeer): New function.
  18982. * src/TorrentMan.cc
  18983. (addPeer): deleteOldErrorPeers is moved to the begining of the function
  18984. * src/PeerAbstractCommand.cc
  18985. (onAbort): Use peer->resetStatus().
  18986. * src/main.cc
  18987. (PeerChokeCommand.h): Included.
  18988. (main): Added the instance of ChokingCommand to the command queue.
  18989. * src/Peer.h
  18990. (amChoking): Renamed from amChocking
  18991. (chokingRequired): New variable.
  18992. (optUnchoking): New variable.
  18993. (deltaUpload): New variable.
  18994. (deltaDownload): New variable.
  18995. (addDeltaUpload): New function.
  18996. (resetDeltaUpload): New function.
  18997. (addDeltaDownload): New function.
  18998. (resetDeltaDownload): New function.
  18999. (addPeerUpload): Added a call to addDeltaUpload.
  19000. (addPeerDownload): Added a call to addDeltaDownload.
  19001. * src/Peer.cc
  19002. (shouldBeChoking): Renamed from shouldChoke.
  19003. (resetStatus): New function.
  19004. * src/PeerChokeCommand.h: New class.
  19005. * src/PeerChokeCommand.cc: New class.
  19006. To add lazy upload speed limiter:
  19007. * src/TorrentConsoleDownloadEngine.h: Moved the variables for
  19008. statistics calculation to TorrentDownloadEngine.
  19009. * src/TorrentConsoleDownloadEngine.cc
  19010. (sendStatistics): Renamed from printStatistics.
  19011. (initStatistics): Removed. Moved to TorrentDownloadEngine.
  19012. (calculateSpeed): Removed. Moved to TorrentDownloadEngine.
  19013. (calculateStatistics): Removed. Moved to TorrentDownloadEngine.
  19014. * src/TorrentDownloadEngine.h: Added the variables for statistics
  19015. calculation.
  19016. (sendStatistics): New function as pure virtual function.
  19017. (getUploadSpeed): New function.
  19018. * src/TorrentDownloadEngine.cc
  19019. (initStatistics): New function.
  19020. (calculateSpeed): New function.
  19021. (calculateStatistics): New function.
  19022. * src/SendMessageQueue.h
  19023. (uploadLength): New variable.
  19024. (send): Added an argument.
  19025. (setUploadLimit): New function.
  19026. (getUploadLimit): New function.
  19027. * src/SendMessageQueue.cc
  19028. (send): Added upload speed limiter.
  19029. * src/prefs.h
  19030. (PREF_UPLOAD_LIMIT): New definition.
  19031. * src/PeerInteractionCommand.cc
  19032. (PeerInteractionCommand): Set upload speed limit to sendMessageQueue.
  19033. * src/main.cc
  19034. (main): Added --upload-limit option
  19035. For bug fixes:
  19036. * src/main.cc
  19037. (showUsage): Corrected --listen-port help
  19038. Other changes:
  19039. * src/TorrentMan.cc
  19040. (getPeer): Return nullPeer if connection is grather than
  19041. MAX_PEER_UPDATE(15) in order to leave space for incoming peers.
  19042. 2006-04-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19043. To add some useful information to the exception message:
  19044. * src/SocketCore.cc : Updated messages.
  19045. * src/SegmentMan.cc :
  19046. * src/TorrentMan.cc : Updated messages.
  19047. * src/MultiDiskWriter.cc : Updated messages.
  19048. * src/Util.cc : Updated messages.
  19049. * src/AbstractDiskWriter.cc : Updated messages.
  19050. * src/PreAllocationDiskWriter.cc : Updated messages.
  19051. * src/message.cc : Added new messages. Updated some messages.
  19052. * src/TrackerWatcherCommand.h (MIN_PEERS): New definition.
  19053. * src/TrackerWatcherCommand.cc (execute): Use MIN_PEERS.
  19054. Updated threshold from 30 to 15.
  19055. * src/AbstractDiskWriter.h (filename): New variable.
  19056. * src/AbstractDiskWriter.cc (openExistingFile): Assigned filename.
  19057. (createFile): Assigned filename.
  19058. * src/main.cc: Updated the help message for http-auth-scheme.
  19059. * Release 0.4.0
  19060. 2006-04-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19061. To add TrackerUpdateCommand with which replaces
  19062. CompactTrackerResponseProcessor:
  19063. * src/TrackerWatcherCommand.h (req): Removed.
  19064. * src/TrackerWatcherCommand.cc (execute): Send a request to tracker
  19065. if the number of peer connections are less than 30.
  19066. * src/ByteArrayDiskWriter.h (readData): Implemented.
  19067. * src/SegmentMan.h (diskWriter): New function.
  19068. * src/SegmentMan.cc (init): Added a call to diskWriter->closeFile()
  19069. * src/main.cc : Removed #include "CompactTrackerResponseProcessor.h"
  19070. (main): Use TrackerUpdateCommand.
  19071. * src/TorrentMan.h (CompactTrackerResponseProcessor): Removed.
  19072. (req): New variable.
  19073. (setTrackerResponseProcessor): Removed.
  19074. (getTrackerResponseProcessor): Removed.
  19075. (processTrackerResponse): Removed.
  19076. * src/DownloadEngine.h (diskWriter): Removed.
  19077. * src/TorrentDownloadEngine.cc (afterEachIteration): Removed a call
  19078. to torrentMan->processTrackerResponse().
  19079. To add Util::expandBuffer:
  19080. * src/ByteArrayDiskWriter.h (expandBuffer): Removed.
  19081. * src/ByteArrayDiskWriter.cc (writeData): Use Util::expandBuffer().
  19082. * src/Util.h (expandBuffer): New function.
  19083. To fix the bug that causes segmentation fault when "-l ." is specified
  19084. in command-line option:
  19085. * src/SimpleLogger.h (SimpleLogger): Removed "filename" argument.
  19086. (openFile): New function.
  19087. (closeFile): New function.
  19088. * src/SimpleLogger.cc (SimpleLogger): Removed fopen.
  19089. (~SimpleLogger): Call closeFile();
  19090. * src/LogFactory.cc (getInstance): Added a call to slogger->openFile().
  19091. * src/main.cc (main): Added a check to see logger is configured
  19092. properly.
  19093. To enable HTTP authentication without specifying "--http-auth-scheme"
  19094. * src/prefs.h (PREF_HTTP_AUTH_ENABLED): New definition.
  19095. * src/HttpConnection.cc (createRequest): Send Authorization header
  19096. if PREF_HTTP_AUTH_ENABLED == V_TRUE.
  19097. * src/main.cc (main): Preset PREF_HTTP_AUTH_SCHEME to V_TRUE
  19098. If "--http-user" is specified, set PREF_HTTP_AUTH_ENABLED to V_TRUE
  19099. * src/Peer.cc (shouldChoke): Updated algorithm.
  19100. * src/message.h (EX_AUTH_FAILED): New definition.
  19101. (EX_FILE_OPEN): New definition.
  19102. * src/HttpResponseCommand.cc (checkResponse): Throw DlAbortEx
  19103. if status == 401.
  19104. (handleDefaultEncoding): Added a call to diskWriter->initAndOpenFile()
  19105. if req->isTorrent == true.
  19106. * src/main.cc (handler): Removed the check to see e->diskWriter != NULL
  19107. (torrentHandler): Removed the check to see diskAdaptor != NULL.
  19108. * src/AbstractDiskWriter.cc (openExistingFile): Updated messsage.
  19109. (createFile): Updated message.
  19110. 2006-04-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19111. To add a readout of estimated remaining time to normal HTTP/FTP
  19112. downloads:
  19113. * src/ConsoleDownloadEngine.h (startup): New variable.
  19114. (startupLength): New variable.
  19115. (isStartupLengthSet): New variable.
  19116. (avgSpeed): New variable.
  19117. (eta): New variable.
  19118. * src/ConsoleDownloadEngine.cc (sendStatistics): Added a readout of
  19119. estimated remaining time.
  19120. (initStatistics): Initialized newly added variables.
  19121. (calculateStatistics): Calculate average speed and estimated remaining
  19122. time.
  19123. To decouple TorrentDownloadEngine from HttpResponseCommand:
  19124. * src/TrackerDownloadCommand.h: Removed.
  19125. * src/TrackerDownloadCommand.cc: Removed.
  19126. * src/TrackerInitCommand.h: Removed.
  19127. * src/TrackerInitCommand.cc: Removed.
  19128. * src/TrackerUpdateCommand.h: Removed.
  19129. * src/TrackerUpdateCommand.cc: Removed.
  19130. * src/TrackerWatcherCommand.cc (execute): The construction of request
  19131. url written in TrackerInitCommand was moved here. Do not create
  19132. tracker request command if torrentMan->trackers != 0.
  19133. * src/CompactTrackerResponseProcessor.h: New class.
  19134. * src/CompactTrackerResponseProcessor.cc: New class.
  19135. * src/message.h (MSG_TRACKER_WARNING_MESSAGE): Updated.
  19136. * src/HttpResponseCommand.cc (createHttpDownloadCommand):
  19137. Decoupled TorrentDownloadEngine from this.
  19138. * src/SegmentMan.h (init): New function.
  19139. * src/SegmentMan.cc (init): New function.
  19140. * src/TorrentMan.h (responseProcessor): New variable.
  19141. (trackers): New variable.
  19142. (setTrackerResponseProcessor): New function.
  19143. (getTrackerResponseProcessor): New function.
  19144. (processTrackerResponse): New function.
  19145. * src/TorrentMan.cc (Constructor): Initialized new variable trackers.
  19146. (processTrackerResponse): New function.
  19147. * src/main.cc (main): Use ByteArrayDiskWriter and
  19148. CompactTrackerResponseProcessor.
  19149. * src/TorrentDownloadEngine.cc (afterEachIteration): Call torrentMan->
  19150. processTrackerResponse().
  19151. * src/TorrentConsoleDownloadEngine.cc (printStatistics): Updated a
  19152. readout.
  19153. * src/TorrentDownloadEngine.cc (afterEachIteration): Added log message
  19154. which indicates download has completed.
  19155. * src/AbstractDiskWriter.cc (Destructor): fd >= 0, not fd >0
  19156. (closeFile): fd >= 0, not fd > 0
  19157. * src/main.cc (main): Added short cut for show-files.
  19158. Added short cut for torrent-file.
  19159. Added new command-line option listen-port.
  19160. Updated i18n messages.
  19161. 2006-04-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19162. To add LogFactory which creates singleton logger:
  19163. * src/LogFactory.h: New class.
  19164. * src/LogFactory.cc: New class.
  19165. * src/Command.h (logger): New variable.
  19166. (Constructor): Use LogFactory.
  19167. * src/AbstractCommand.cc: Use Command::logger
  19168. * src/PeerConnection.cc (Constructor): Deleted the argument logger.
  19169. Use LogFactory.
  19170. * src/SegmentSplitter.h : Made logger protected.
  19171. * src/SegmentSplitter.cc (Constructor): Use LogFactory.
  19172. * src/SegmentMan.cc (Constructor): Use LogFactory.
  19173. * src/DownloadEngine.h : Made logger protected.
  19174. * src/DownloadEngine.cc (Constructor): Use LogFactory.
  19175. * src/PeerInteractionCommand.cc : Use Command::logger.
  19176. * src/HttpResponseCommand.cc : Use Command::logger.
  19177. * src/SegmentMan.h : Made logger private.
  19178. * src/TorrentMan.h : Made logger private.
  19179. * src/TorrentMan.cc : Use LogFactory.
  19180. * src/FtpNegotiateCommand.cc : Use Command::logger.
  19181. * src/HttpConnection.h (Constructor): Deleted the argument logger.
  19182. * src/HttpConnection.cc (Constructor): Deleted the argument logger.
  19183. Use LogFactory.
  19184. * src/FtpConnection.h (Constructor): Deleted the argument logger.
  19185. * src/FtpConnection.cc (Constructor): Deleted the argument logger.
  19186. Use LogFactory.
  19187. * src/DownloadCommand.cc : Use Command::logger.
  19188. * src/PeerAbstractCommand.cc : Use Command::logger.
  19189. * src/PeerListenCommand.cc : Use Command::logger.
  19190. * src/PeerInitiateConnectionCommand.cc : Use Command::logger.
  19191. * src/HttpInitiateConnectionCommand.cc : Use Command::logger.
  19192. * src/FtpInitiateConnectionCommand.cc : Use Command::logger.
  19193. * src/TrackerWatcherCommand.cc : Use Command::logger.
  19194. * src/TrackerUpdateCommand.cc : Use Command::logger.
  19195. * src/TrackerDownloadCommand.cc : Use Command::logger.
  19196. * src/RequestSlotMan.cc (Constructor): Deleted the argument logger.
  19197. Use LogFactory.
  19198. * src/SendMessageQueue.h (Constructor): Deleted the argument logger.
  19199. * src/SendMessageQueue.cc (Constructor): Deleted the argument logger.
  19200. Use LogFactory.
  19201. * src/main.cc (main): Use LogFactory.
  19202. * src/DiskAdaptor.h (logger): New variable.
  19203. * src/DiskAdaptor.cc (Constructor): Use LogFactory.
  19204. * src/CopyDiskAdaptor.cc (fixFilename): Added a log message.
  19205. 2006-04-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19206. * src/TrackerInitCommand.cc (TrackerInitCommand): Added a "key"
  19207. parameter to a tracker request.
  19208. * src/TorrentMan.cc (readFileEntryFromMetaInfoFile): Bug fix.
  19209. * src/TrackerWatcherCommand.cc (execute): Call req->resetTryCount().
  19210. * src/main.cc (setSignalHander): New function.
  19211. (main): Added a handler for SIGTERM.
  19212. (handler): Updated message.
  19213. (torrentHandler): Updated message.
  19214. 2006-04-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19215. * src/TorrentConsoleDownloadEngine.cc
  19216. (onPartialDownloadingCompletes): Renamed as
  19217. onSelectiveDownloadingCompletes.
  19218. (onSelectiveDownloadingCompletes): Updated message.
  19219. To add DiskAdaptor which abstract DiskWriter family:
  19220. * src/PeerConnection.cc: Use diskAdaptor instead of diskWriter.
  19221. * src/PeerInteractionCommand.cc: Use diskAdaptor instead of diskWriter.
  19222. * src/BitfieldMan.cc (isAllBitSet): bug fix.
  19223. * src/TorrentMan.cc : Included CopyDiskAdaptor.h, DirectDiskAdaptor.h,
  19224. MultiDiskAdaptor.h.
  19225. (readFileEntry): Changed its arguments.
  19226. (setup): setupDiskWriter is merged into this function.
  19227. (setupDiskWriter): Removed.
  19228. (setFileFilter): New function.
  19229. (readFileEntryFromMetaInfoFile): Updated according to the changes
  19230. made in readFileEntry.
  19231. (getFilePath): Removed.
  19232. (getTempFilePath): Removed.
  19233. (getSegmentFilePath): Updated due to the removal of getFilePath.
  19234. (fixFilename): Removed.
  19235. (copySingleFile): Removed.
  19236. (splitMultiFile): Removed.
  19237. (deleteTempFile): Removed.
  19238. (setFileEntriesToDownload): Removed.
  19239. (isPartialDownloadingMode): Renamed as isSelectiveDownloadingMode.
  19240. (isSelectiveDownloadingMode): New function.
  19241. (setAllMultiFileRequestedState): Removed.
  19242. (finishPartialDownloadingMode): Renamed as
  19243. finishSelectiveDownloadingMode.
  19244. (finishSelectiveDownloadingMode): New function.
  19245. (getPartialTotalLength): Renamed as getSelectedTotalLength.
  19246. (getSelectedTotalLength): New function.
  19247. (onDownloadComplete): Use diskAdaptor.
  19248. * src/MultiDiskWriter.cc (Constructor): Added the argument pieceLength
  19249. (Range): Removed.
  19250. (setMultiFileEntries): Renamed as setFileEntries.
  19251. (setFileEntries): New function.
  19252. * src/MultiDiskWriter.h [DiskWriterEntry](enabled): Removed.
  19253. (pieceLength): New variable.
  19254. * src/main.cc (printDownloadCompeleteMessage): New function.
  19255. (torrentHandler): Use diskAdaptor instead of diskWriter.
  19256. (main): Renamed torrent-show-files to show-files.
  19257. Rewritten file contents listing.
  19258. * src/TorrentMan.h (FileEntry): Removed.
  19259. (multiFileTopDir): Removed.
  19260. (multiFileEntries): Removed.
  19261. (diskWriter): Removed.
  19262. (diskAdaptor): New variable.
  19263. * src/DefaultDiskWriter.h (totalLength): New variable.
  19264. * src/DefaultDiskWriter.cc (initAndOpenFile): Added ftruncate.
  19265. * src/TorrentDownloadEngine.cc (onEndOfRun): Use diskAdaptor instead of
  19266. diskWriter.
  19267. * src/TorrentConsoleDownloadEngine.h
  19268. (partialDownloadLengthDiff): Renamed as selectedDownloadLengthDiff.
  19269. (partialTotalLength): Renamed as selectedTotalLength.
  19270. * src/AbstractDiskWriter.cc (openFile): If file exists, call
  19271. openExistingFile, otherwise call initAndOpenFile.
  19272. (closeFile): fd > 0, not fd != 0.
  19273. * src/DirectDiskAdaptor.h: New class.
  19274. * src/DirectDiskAdaptor.cc: New class.
  19275. * src/MultiDiskAdaptor.h: New class.
  19276. * src/MultiDiskAdaptor.cc: New class.
  19277. * src/CopyDiskAdaptor.h: New class.
  19278. * src/CopyDiskAdaptor.cc: New class.
  19279. * src/DiskAdaptor.h: New class.
  19280. * src/DiskAdaptor.cc: New class.
  19281. * src/prefs.h (PREF_TORRENT_SHOW_FILES): Renamed as PREF_SHOW_FILES
  19282. (PREF_SHOW_FILES): New definition.
  19283. 2006-04-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19284. To add the ability to download multi torrent into respective files
  19285. directly:
  19286. * src/DiskWriter.h (openFile): New function.
  19287. (seek): Removed.
  19288. * src/MultiDiskWriter.h: New class.
  19289. * src/MultiDiskWriter.cc: New class.
  19290. * src/AbstractDiskWriter.h (seek): Changed its scope from public to
  19291. protected.
  19292. (openFile): New function.
  19293. * src/AbstractDiskWriter.cc (openFile): New function.
  19294. * src/prefs.h (V_FALSE): New definition.
  19295. (PREF_DIRECT_FILE_MAPPING): New definition.
  19296. * src/TorrentMan.h (setupDiskWriter): New function.
  19297. (setAllMultiFileRequestedState): New function.
  19298. (onDownloadComplete): New function.
  19299. * src/TorrentMan.cc : Included MultiDiskWriter.h
  19300. (setupDiskWriter): New function.
  19301. (getFilePath): Updated.
  19302. (getTempFilePath): Updated.
  19303. (getSegmentFilePath): Updated.
  19304. (fixFilename): Updated.
  19305. (deleteTempFile): Updated.
  19306. (setAllMultiFileRequestedState): New function.
  19307. (setFileEntriesToDownload): Use setAllMultiFileRequestedState().
  19308. (finishPartialDownloadingMode): Reset requested flags.
  19309. (onDownloadComplete): New function.
  19310. * src/main.cc: Added --direct-file-mapping option.
  19311. Use TorrentMan::setupDiskWriter().
  19312. * src/TorrentDownloadEngine.cc (afterEachIteration): Use TorrentMan::
  19313. onDownloadComplete().
  19314. To fix ETA bug:
  19315. * src/Util.h (difftvsec): New function.
  19316. * src/Util.cc (difftvsec): New function.
  19317. * src/TorrentConsoleDownloadEngine.cc (calculateSpeed): Use int for the
  19318. type of "elapsed" instead of long long int.
  19319. (calculateStatistics): Use Util::difftvsec instead of Util::difftv.
  19320. The updates of statistics takes place every 1 seconds.
  19321. * src/TorrentConsoleDownloadEngine.h (lastElapsed): Changed its type.
  19322. (calculateSpeed): Changed its argument signature.
  19323. * src/PeerMessage.cc (toString): Fixed message.
  19324. 2006-04-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19325. To print ETA:
  19326. * src/TorrentDownloadEngine.cc (afterEachIteration): Added download
  19327. completion handling when dealing with
  19328. TorrentMan::isPartialDownloadingMode() == true.
  19329. * src/TorrentDownloadEngine.h (onPartialDownloadingCompletes):
  19330. New function.
  19331. * src/TorrentConsoleDownloadEngine.h (startup): New variable.
  19332. (sessionDownloadLength): New variable.
  19333. (avgSpeed): New variable.
  19334. (eta): New variable.
  19335. * src/TorrentConsoleDownloadEngine.cc (initStatistics): Initialized
  19336. new variables: eta, avgSpeed, startup.
  19337. (calculateSpeed): Calculate average speed and ETA.
  19338. (printStatistics): Added ETA.
  19339. * src/Util.h (secfmt): New function.
  19340. * src/Util.cc (secfmt): New function.
  19341. 2006-04-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19342. To detect "keep alive" flooding:
  19343. * src/PeerInteractionCommand.h (keepAliveCount): New variable
  19344. * src/PeerInteractionCommand.cc (Constructor): Initialized new
  19345. variable: keepAliveCount.
  19346. (detectMessageFlooding): Added "keep alive" flooding detection.
  19347. (receiveMessage): Increase keepAliveCount when "keep alive" message
  19348. received.
  19349. To add the ability to download only specified files in multi-file
  19350. torrent:
  19351. * src/BitfieldMan.h (filterBitfield): New variable.
  19352. (filterEnabled): New variable.
  19353. (setFilterBit): New function.
  19354. (enableFilter): New function.
  19355. (disableFilter): New function.
  19356. (isFilterEnabled): New function.
  19357. (getFilteredTotalLength): New function.
  19358. (getCompletedLength): New function.
  19359. * src/BitfieldMan.cc (Constructor): Initialized new variable:
  19360. filterBitfield, filterEnabled.
  19361. (CopyConstructor): Added filterBitfield and filterEnabled.
  19362. (operator==): Added filterBitfield and filterEnabled.
  19363. (Destructor): Added filterBitfield.
  19364. (getMissingIndex): Use filterBitfield.
  19365. (getMissingUnusedIndex): Use filterBitfield.
  19366. (getFirstMissingUnusedIndex): Use filterBitfield.
  19367. (getFirstMissingUnusedIndex): Use filterBitfield.
  19368. (getAllMissingIndexes): Use filterBitfield.
  19369. (countMissingBlock): Use filterBitfield.
  19370. (countBlock): Use filterBitfield.
  19371. (setBitInternal): Added new argument on.
  19372. (setUseBit): Use setBitInternal.
  19373. (unsetUseBit): Use setBitInternal.
  19374. (setBit): Use setBitInternal.
  19375. (unsetBit): Use setBitInternal.
  19376. (isAllBitSet): Use filterBitfield.
  19377. (setFilterBit): New function.
  19378. (addFilter): New function.
  19379. (enableFilter): New function.
  19380. (disableFilter): New function.
  19381. (clearFilter): New function.
  19382. (isFilterEnabled): New function.
  19383. (getFilteredTotalLength): New function.
  19384. (getCompletedLength): New function.
  19385. * src/TorrentMan.h [FileEntry](Constructor): Updated signature.
  19386. Initalized newly added variables.
  19387. [FileEntry](offset): New variable.
  19388. [FileEntry](extracted): New variable.
  19389. [FileEntry](requested): New variable.
  19390. (readFileEntry): New function.
  19391. (option): New variable.
  19392. (splitMultiFile): Removed const qualifier.
  19393. (fixFilename): Removed const qualifier.
  19394. (readFileEntryFromMetaInfoFile): New function.
  19395. (finishPartialDownloadingMode): New function.
  19396. (isPartialDownloadingMode): New function.
  19397. (setFileEntriesToDownload): New function.
  19398. (getCompletedLength): New function.
  19399. (getPartialTotalLength): New function.
  19400. * src/TorrentMan.cc (readFileEntry): New function.
  19401. (setup): Use readFileEntry. If no-preallocation option is specified,
  19402. use DefaultDiskWriter.
  19403. (readFileEntryFromMetaInfoFile): New function.
  19404. (fixFilename): Removed const qualifier.
  19405. (splitMultiFile): Removed const qualifier.
  19406. (setFileEntriesToDownload): New function.
  19407. (isPartialDownloadingMode): New function.
  19408. (finishPartialDownloadingMode): New function.
  19409. (getCompletedLength): New function.
  19410. (getPartialTotalLength): New function.
  19411. * src/TorrentConsoleDownloadEngine.h (partialDownloadLengthDiff):
  19412. New variable.
  19413. (partialTotalLength): New variable.
  19414. (downloadLength): New variable.
  19415. (totalLength): New variable.
  19416. * src/TorrentConsoleDownloadEngine.cc (onPartialDownloadingCompletes):
  19417. Added log.
  19418. (initStatistics): Initialized new variables: partialDownloadLengthDiff,
  19419. partialTotalLength, downloadLength, totalLength.
  19420. (calculate): Calculate downloadLength and totalLength.
  19421. * src/prefs.h :New definition PREF_NO_PREALLOCATION
  19422. * src/main.cc (addCommand): Changed argument signature.
  19423. (main): Added new variable: args. Added new option "torrent-show-files"
  19424. "no-preallocation". Usage is not updated yet.
  19425. 2006-04-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19426. * src/PeerMessage.cc (setBitfield): Fixed invalid memory de-allocation.
  19427. 2006-04-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19428. Attempt to add the ability to listing file entries in a .torrent file.
  19429. This feature is not yet complete.
  19430. * src/prefs.h (PREF_TORRENT_SHOW_FILES): New definition
  19431. * src/TorrentMan.cc (getMultiFileEntries): New function.
  19432. (getName): New function.
  19433. * src/TorrentMan.h (getMultiFileEntries): New function.
  19434. (getName): New function.
  19435. * src/main.cc (main): Use above 2 funtion.
  19436. * Release 0.3.2
  19437. 2006-03-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19438. * src/PeerInteractionCommand.cc (checkInactiveConnection): New function
  19439. (detectMessageFlooding): Updated threshold value.
  19440. (checkLongTimePeerChoking): Updated timeout value.
  19441. (getNewPieceAndSendInterest): Added debug log.
  19442. * src/PeerInteractionCommand.h (checkInactiveConnection): New function
  19443. * src/TorrentMan.cc (deleteOldErrorPeers): Updated.
  19444. (getPeer): Updated.
  19445. * src/TorrentMan.h: Added MAX_PEER_ERROR.
  19446. * src/PeerAbstractCommand.cc (onAbort): Increment error counter.
  19447. * src/PeerListenCommand.cc (execute): Close connection if incoming peer
  19448. is localhost.
  19449. * src/main.cc (main): Updated PREF_PEER_CONNECTION_TIMEOUT to 60.
  19450. * src/PendingMessage.cc (processMessage): Not to send piece message
  19451. if peer is not interested in the pieces localhost has.
  19452. * src/Peer.cc (shouldChoke): Updated.
  19453. * src/SendMessageQueue.cc (cancelAllRequest): Fixed.
  19454. * src/Util.cc (isPowerOf): New function.
  19455. * src/Util.h (isPowerOf): New function.
  19456. * src/PeerMessageUtil.cc (checkLength): Added a check for length
  19457. whether or not it is power of 2.
  19458. 2006-03-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19459. Added new class SendMessageQueue that includes PendingMessages and
  19460. RequestSlotMan.
  19461. * src/SendMessageQueue.h: New class.
  19462. * src/SendMessageQueue.cc: New class.
  19463. * src/PendingMessage.h: Added new member variable blockIndex and its
  19464. accessors.
  19465. (createRequestMessage): Updated.
  19466. * src/PendingMessage.cc (createRequestMessage): Updated.
  19467. * src/PeerInteractionCommand.cc (executeInternal): Updated with
  19468. SendMessageQueue.
  19469. (checkLongTimePeerChoking): Updated with SendMessageQueue.
  19470. (receiveMessage): Updated with SendMessageQueue.
  19471. (deletePendingPieceMessage): Removed.
  19472. (getNewPieceAndSendInterest): Updated with SendMessageQueue.
  19473. (sendInterest): Updated with SendMessageQueue.
  19474. (createRequestPendingMessage): Updated with SendMessageQueue.
  19475. (sendMessages): Updated with SendMessageQueue.
  19476. (onAbort): Updated with SendMessageQueue.
  19477. (keepAlive): Updated with SendMessageQueue.
  19478. (beforeSocketCheck): Updated SendMessageQueue.
  19479. * src/PeerInteractionCommand (sendMessages): Shuffle
  19480. missingBLockIndexes before using it.
  19481. Added its own timeout for peer connection.
  19482. * src/PeerAbstractCommand.h: Added member variable timeout and its
  19483. setter.
  19484. * src/prefs.h: Added PREF_PEER_CONNECTION_TIMEOUT.
  19485. * src/PeerInteractionCommand.cc (PeerInteractionCommand):
  19486. Added setTimeout() call.
  19487. (executeInternal): Added setTimeout() call.
  19488. * src/PeerAbstractCommand.cc (PeerAbstractCommand):
  19489. Added timeout.
  19490. (isTimeoutDetected): Updated.
  19491. * src/main.cc (main): Added PREF_PEER_CONNECTION_TIMEOUT entry to
  19492. option.
  19493. Added *simple* message flooding checker.
  19494. * src/PeerInteractionCommand.cc (executeInternal):
  19495. Added detectMessageFlooding() call.
  19496. (detectMessageFlooding): New function.
  19497. (receiveMessage): Count up CHOKE, UNCHOKE, HAVE message.
  19498. (beforeSocketCheck): Added detectMessageFlooding() call.
  19499. * src/PeerInteractionCommand.h: Added sendMessageQueue,
  19500. chokeUnchokeCount, haveCount, detectMessageFlooding().
  19501. Removed deletePendingPieceMessage(), getRequestSlot(),
  19502. deleteRequestSlot(), deleteAllRequestSlot().
  19503. * src/PeerInteractionCommand.cc (beforeSocketCheck):
  19504. Added checkLongTimePeerChoking() call.
  19505. * src/RequestSlotMan.h: Renamed deleteTimeoutRequestSlot().
  19506. * src/TorrentMan.cc (addPeer): Delete at most MAX_PEER_LIST_SIZE peers
  19507. if duplicate == false.
  19508. The parameter "uploaded" and "downloaded" in the tracker request are
  19509. the size since the client sent the "started" event to the tracker.
  19510. * src/TorrentMan.cc (setup): Assigned saved downloaded Size and
  19511. uploaded size to preDownloadedSize, preUploadedSize respectively.
  19512. * src/TorrentMan.h: Added preDownloadedSize, preUploadedSize,
  19513. getSessionDownloadedSize(), getSessionUploadedSize().
  19514. * src/TrackerInitCommand.cc (execute): Use getSessionDownloadedSize(),
  19515. getSessionUploadedSize() instead of getDownloadedSize(),
  19516. getUploadedSize().
  19517. * src/PendingMessage.cc (processMessage): Do not send request message
  19518. if the peer is choking the client.
  19519. * src/TrackerUpdateCommand.cc (execute): Check wtheher minInterval is
  19520. less than interval.
  19521. 2006-03-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19522. * configure.in: Added gnutls support. Added several CPP macros.
  19523. * m4/openssl.m4: Added.
  19524. * src/SocketCore.{h,cc}: Drop const quarifier from writeData(),
  19525. readData(), peekData(). Added gnutls support.
  19526. * src/HttpDownloadCommand.cc: Removed SleepCommand.h
  19527. * src/TrackerWatcherCommand.{h,cc}: Added. This command creates
  19528. TrackerInitCommand periodicaly(TorrentMan::minInterval).
  19529. * src/TorrentMan.cc: Remove downloadedSize == 0 check from save().
  19530. Instead, added a check for whether setup method has executed
  19531. successfully.
  19532. * src/TorrentMan.h: Added member vaiable setupComplete. Updated
  19533. DEFAULT_ANNOUNCE_INTERVAL and DEFAULT_ANNOUNCE_MIN_INTERVAL to 300.
  19534. * src/Makefile.am: Updated.
  19535. * src/messageDigest.h: Added. This is a macro calculating SHA1 digest
  19536. using whether OpenSSL or gcrypt, depending on the result of configure
  19537. script.
  19538. * src/ShaVisitor.{h,cc}: Removed direct dependency on OpenSSL by using
  19539. messageDigest.h.
  19540. * src/TorrentAutoSaveCommand.h: Removed unused variable cuid.
  19541. * src/PeerListenCommand.cc: Added log about port binded successfully.
  19542. Fixed memory leak.
  19543. * src/main.cc: Added gnutls support. Replaced LIB_SSL with
  19544. ENABLE_BITTORRENT where they are not related to OpenSSL but BitTorrent.
  19545. Removed instantiation of TrackerInitCommand. Instead,
  19546. TrackerWatcherCommand is instantiated and pushed to the command queue.
  19547. * src/InitiateConnectionCommandFactory.cc: Replaced HAVE_LIBSSL with
  19548. ENABLE_SSL.
  19549. * src/Request.cc: Replaced HAVE_LIBSSL with ENABLE_SSL.
  19550. * src/RequestSlotMan.cc (deleteCompletedRequestSlot):
  19551. If a piece is already acquired by another command, delete the request
  19552. slots for the piece.
  19553. * src/TrackerUpdateCommand.cc (execute):
  19554. Changed log level of MSG_TRACKER_WARNING_MESSAGE from info to warn.
  19555. Added a check whether peer list is null.
  19556. Fixed the bug that causes sending completed event to the tracker
  19557. several times.
  19558. * src/TrackerInitCommand.cc (execute):
  19559. Fixed the bug that causes sending completed event to the tracker
  19560. several times.
  19561. * src/AbstractDiskWriter.{h,cc}: Removed direct dependency on OpenSSL
  19562. by using messageDigest.h.
  19563. 2006-03-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19564. * PeerConnection.cc: Replaced log message "keep-alive" with
  19565. "keep alive".
  19566. * PeerInteractionCommand.{h,cc}: Close connection if peer is choking
  19567. localhost long time.
  19568. * TorrentMan.cc: When adding new peer with duplicate = true, if the
  19569. number of peer list is equal to or grater than MAX_PEER_LIST, delete
  19570. at most 100 failure entry from the list. If with duplicate = false,
  19571. MAX_PEER_LIST is not checked.
  19572. * PeerListenCommand.cc: Fixed the argument order of log message.
  19573. 2006-03-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19574. * Logger.h: Moved enum LEVEL from SimpleLogger.h to here.
  19575. Added warn().
  19576. * SimpleLogger.h: Moved enum LEVEL to Logger.h.
  19577. Implemented warn().
  19578. Defined 2 macros(WRITE_LOG, WRITE_LOG_EX) to avoid duplicated code.
  19579. 2006-03-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19580. * Request.h: Added AFTER_COMPLETED event.
  19581. * TorrentDownloadEngine.cc: Prints "Download complete" message
  19582. instead of downloaded size and progress(%) after download completes.
  19583. * PeerInteractionCommand.cc: After download completes, sends unchoke
  19584. message to the peer if it is interested in what localhost has
  19585. downloaded.
  19586. * TorrentMan.cc: In single-file mode, copy temporary file to the final
  19587. destination instead of just renaming it.
  19588. * TorrentMan.cc: Added deleteTempFile().
  19589. * PeerAbstractCommand.cc: do not stop execution after download
  19590. completes. This makes localhost a seeder.
  19591. * Util.{h,cc}: Added fileCopy().
  19592. * PeerListenCommand.cc: do not stop execution after download completes.
  19593. This makes localhost a seeder.
  19594. * main.cc: Do not call TorrentMan::fixFilename() in torrentHandler.
  19595. Added TorrentMan::deleteTempFile() to torrentHandler.
  19596. Initialized the variable dir as ".".
  19597. * TorrentMan.h: Changed DEFAULT_ANNOUNCE_INTERVAL to 120 seconds.
  19598. Deleted renameSingleFile().
  19599. Added copySingleFile(), deleteTempFile().
  19600. * DownloadEngine.h: Added virtual function afterEachIteration().
  19601. * TorrentDownloadEngine.cc: Move a call to TorrentMan::fixFilename()
  19602. in onEndOfRun() to afterEachIteration().
  19603. In onEndOfRun(), changed if condition to check whether filenameFixed is
  19604. true.
  19605. * Util.cc: Implemented fileCopy() using rangedFileCopy().
  19606. In rangedFileCopy(), added try-catch block to properly close file
  19607. descriptors.
  19608. * TorrentDownloadEngine.cc: Added a member variable filenameFixed.
  19609. Added afterEachIteration(), isFilenameFixed().
  19610. * Peer.cc: Changed choking strategy.
  19611. * PreAllocationDiskWriter.cc: Drop O_DIRECT flag.
  19612. * TrackerInitCommand.cc: Send completed event only once.
  19613. * DownloadEngine.cc: Added a call to afterEachIteration().
  19614. * TrackerUpdateCommand.cc: Do not stop execution after download
  19615. completes.
  19616. * TorrentMan.h: Defined MAX_PEER_UPDATE as 15. aria2 attempts to
  19617. connect the peers at most MAX_PEER_UPDATE when a peer list is
  19618. received from a tracker.
  19619. * TrackerUpdateCommand.cc: Implemented above mentioned behavior.
  19620. Decreased the number of failure peers to delete to 0(just comment out
  19621. the line).
  19622. * Release 0.3.1
  19623. 2006-03-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19624. * PeerInteractionCommand.cc: added a call to
  19625. TorrentMan::unadvertisePiece in Destructor.
  19626. * PeerInteractionCommand.cc: make have message sent immediately
  19627. if the size of pending message queue is zero.
  19628. * TorrentMan.cc: set the maximum size of peer list to 250.
  19629. * TorrentMan.h: changed the container type of Peers and UsedPieces
  19630. to deque.
  19631. * Util.cc: fixed rangedFileCopy.
  19632. * AbstractDiskWriter.{h,cc}: moved digest context initialization
  19633. to Constructor. Also, moved digest cleanup to Destructor.
  19634. * MetaFileUtil.cc: fixed memory leak
  19635. * replaced std::vector with std::deque.
  19636. * AbstractCommand.cc: casted timeout value to long long int.
  19637. * ChunkedEncoding.cc: fixed memory leak.
  19638. * PeerInteractionCommand.cc: casted timeout value to long long int.
  19639. * SleepCommand.cc: casted timeout value to long long int.
  19640. * Data.cc: fixed memory leak.
  19641. * Data.cc: fixed toLLInt().
  19642. * BitfieldMan.cc: fixed memory leak.
  19643. * TorrentMan.cc: initialized storeDir to ".".
  19644. * TorrentMan.cc: fixed memory leak.
  19645. * TorrentMan.cc: corrected file paths of splitted files.
  19646. * PeerAbstractCommand.cc: casted timeout to long long int.
  19647. * main.cc: added delete(req) and delete(te->diskWriter).
  19648. * RequestSlot.cc: casted timeout value to long long int.
  19649. * Request.cc: fixed memory leak.
  19650. * PendingMessage.cc: make HAVE messages sent only when peer does not
  19651. have the piece.
  19652. * Peer.{h,cc}: added hasPiece(int index).
  19653. * main.cc: corrected addCommand.
  19654. 2006-03-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19655. * BitTorrent protocol support added.
  19656. * Release 0.3.0
  19657. 2006-03-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19658. * SocketCore.cc: remove the assignment of addrinfo.ai_addr.
  19659. 2006-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19660. * ChunkedEncoding.{h,cc}: fixed the bug that if chunk data is binary,
  19661. decoding did not work properly.
  19662. 2006-03-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19663. * DownloadEngine.h: included sys/time.h
  19664. * DownloadEngine.cc: remove sys/time.h
  19665. * Makefile.am (SUBDIRS): Add intl.
  19666. * configure.in (AC_CONFIG_FILES): Add intl/Makefile.
  19667. 2006-03-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19668. * main.cc: correct help message for --http-auth-scheme.
  19669. * main.cc: changed e-mail address for bug reports.
  19670. * ja.po: added japanese translation.
  19671. 2006-03-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19672. * SimpleLogger.cc: flush log file instead of stdout.
  19673. 2006-03-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19674. * main.cc: Fixed command-line option: max-tries
  19675. * HttpResponseCommand.cc: Make the request re-sent only if req->seg.sp
  19676. does not equal to seg.sp.
  19677. * DownloadCommand.cc: If EOF is got from the server and the total size
  19678. of file is not zero, then throw DlRetryEx.
  19679. * main.cc: Set the minium value of min-segment-size to 1024.
  19680. * HttpResponseCommand.cc: Fixed the bug that http segmented downloading
  19681. fails because of a regression since 0.2.0 release.
  19682. 2006-03-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19683. * HttpConnection.cc:
  19684. * common.h: defined the user agent name as macro
  19685. * DownloadEngine.{h, cc}:
  19686. * ConsoleDownloadEngine.{h, cc}: Console output message(size, speed)
  19687. is now generated by ConsoleDownloadEngine not by DownloadEngine.
  19688. * main.cc: Download complete/abort message is now generated by main.
  19689. * Makefile.am (SUBDIRS): Add m4.
  19690. (ACLOCAL_AMFLAGS): New variable.
  19691. (EXTRA_DIST): New variable.
  19692. * configure.in (AC_CONFIG_FILES): Add po/Makefile.in,
  19693. * gettext: added gettext functionality
  19694. 2006-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19695. * AbstractCommand.cc:
  19696. * DownloadCommand.{h, cc}: Aborted downloading commands now properly
  19697. unregister its cuid from SegmentMan.
  19698. * DownloadEngine.cc: .aria2 file was written when a downloading
  19699. failed with errors.
  19700. * HttpConnection.cc: Added "Proxy-Connection" header to proxy request.
  19701. Added "User-Agent" header to CONNECT proxy request.
  19702. Fixed "Proxy-Authorization" header. Now proxy authorization works
  19703. properly.
  19704. * Logger.h:
  19705. * SimpleLogger.{h,cc}: Changed the type of msg to const char*.
  19706. * ChunkedEncoding.cc: Added #include directive for strings.h
  19707. * Release 0.2.1
  19708. 2006-02-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19709. * Util.{h,cc}: added startsWith().
  19710. * CookieBox.cc: rewrited criteriaFind() using Util::startsWith() and
  19711. Util::endsWith().
  19712. * SocketCore.cc: struct addrinfo is now zero-initialized.
  19713. * common.h: added #include directive of limit.h.
  19714. * DownloadEngine.cc: added #include directive of sys/time.h and
  19715. algorithm.
  19716. * Exception.h: added #include directive of stdio.h.
  19717. * AbstractCommand.h: added #include directive of sys/time.h.
  19718. * DownloadCommand.h: added #include directive of sys/time.h.
  19719. * *.h: added #include directive of common.h to all base classes.
  19720. subclasses' one was removed.
  19721. * common.h: defined LONG_LONG_MAX and LONG_LONG_MIN if a compiler
  19722. does not define these macros.
  19723. 2006-02-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19724. * Release 0.2.0
  19725. * main.cc:
  19726. * HttpInitiateConnectionCommand.{h,cc}:
  19727. * prefs.h:
  19728. * HttpConnection.{h,cc}: added --http-proxy-method option.
  19729. We can now use GET command in http proxy.
  19730. 2006-02-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19731. * SplitSlowestSegmentSplitter.{h,cc}: This class provies algorithm
  19732. that splits slowest segment of SegmentMan::commands vector.
  19733. This is the default split algorithm of aria2.
  19734. * SplitFirstSegmentSplitter.{h,cc}: This class provides algorithm
  19735. that splits first segment of SegmentMan::commands vector.
  19736. * SegmentSplitter.{h,cc}: Added. This class provides split algorithm.
  19737. * DownloadCommand.{h,cc}: Added downloading speed calculation.
  19738. * Segment.h:
  19739. * SegmentMan.cc: Added speed field to Segment.h
  19740. * main.cc: -s option now affects all URLs in command-line arguemtns.
  19741. * HttpResponseCommand.cc: Fixed bug that segment file is not loaded.
  19742. * message.h: Change file size related %d to %lld.
  19743. 2006-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19744. * FtpInitiateConnectionCommand.{h,cc}:
  19745. * FtpNegotiationCommand.{h,cc}:
  19746. * FtpDownloadCommand.{h,cc}:
  19747. * FtpConnection.{h,cc}: Added FTP support
  19748. * SimpleLogger.cc: Log message now includes time information.
  19749. * main.cc: The value of --http-auth-scheme option is chagned from
  19750. 'BASIC' to 'basic'
  19751. * main.cc: Added --timeout command-line option.
  19752. * main.cc: Added --min-segment-size command-line option.
  19753. * main.cc: Added --max-retries command-line option.
  19754. * prefs.h: option string constants are now defined in prefs.h
  19755. 2006-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19756. * AbstractCommand.cc: Fixed timeout bug in AbstractCommand
  19757. * SegmentMan.cc: Added totalSize entry to .aria2 file. No compatibility
  19758. with version 0.1.0's one.
  19759. 2006-02-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19760. * configure.in: Added --enable-ssl option to configure script.
  19761. * HttpConnection.cc: Make Request-URI an absolute path. Some servers
  19762. cannot permit absoluteURI as Request-URI.
  19763. * HttpConnection.cc: Added Referer support.
  19764. * main.cc: Added referer command-line option.
  19765. * main.cc: Added rety-wait command-line option.
  19766. * Exception.h: Fixed formating bug in Exception::setMsg()
  19767. * SocketCore.{h,cc}:
  19768. * Socket.{h, cc}:
  19769. * Request.cc:
  19770. * InitiateConnectionCommandFactory.cc:
  19771. * HttpRequestCommand.cc: Added HTTPS support.
  19772. * SocketCore.{h,cc}: Added SocketCore. Socket becomes a handle class
  19773. for SocketCore.
  19774. * ChunkedEncoding.cc: Fixed bug in ChunkedEncoding: expanding buffer
  19775. size is wrong
  19776. * DownloadCommand.cc: Fixed bug in DownloadCommand: In Chunked
  19777. Encoding, it wrongly adds to Segment.ds buff length from the socket.
  19778. 2006-02-17 Tatsuhiro Tsujikawa <tsujikawa at rednoah dot com>
  19779. * Release 0.1.0