ChangeLog 752 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405
  1. 2010-06-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2. Made protected member variable private. Added accessor funcs.
  3. * src/AutoSaveCommand.cc
  4. * src/BtStopDownloadCommand.cc
  5. * src/DHTAutoSaveCommand.cc
  6. * src/DHTBucketRefreshCommand.cc
  7. * src/DHTPeerAnnounceCommand.cc
  8. * src/DHTTokenUpdateCommand.cc
  9. * src/HaveEraseCommand.cc
  10. * src/TimeBasedCommand.h
  11. * src/TimedHaltCommand.cc
  12. 2010-06-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  13. Made protected member variable private. Added accessor funcs.
  14. * src/InitiatorMSEHandshakeCommand.cc
  15. * src/PeerAbstractCommand.cc
  16. * src/PeerAbstractCommand.h
  17. * src/PeerInitiateConnectionCommand.cc
  18. * src/PeerInteractionCommand.cc
  19. * src/PeerInteractionCommand.h
  20. * src/PeerReceiveHandshakeCommand.cc
  21. * src/ReceiverMSEHandshakeCommand.cc
  22. 2010-06-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  23. Code cleanup
  24. * src/AbstractCommand.cc
  25. 2010-06-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  26. Made protected member variable private. Added accessor funcs.
  27. * src/AbstractCommand.cc
  28. * src/AbstractCommand.h
  29. * src/AbstractProxyRequestCommand.cc
  30. * src/AbstractProxyRequestCommand.h
  31. * src/AbstractProxyResponseCommand.cc
  32. * src/AbstractProxyResponseCommand.h
  33. * src/CreateRequestCommand.cc
  34. * src/DownloadCommand.cc
  35. * src/DownloadCommand.h
  36. * src/FtpDownloadCommand.cc
  37. * src/FtpDownloadCommand.h
  38. * src/FtpFinishDownloadCommand.cc
  39. * src/FtpInitiateConnectionCommand.cc
  40. * src/FtpNegotiationCommand.cc
  41. * src/FtpNegotiationCommand.h
  42. * src/FtpTunnelRequestCommand.cc
  43. * src/FtpTunnelResponseCommand.cc
  44. * src/HttpDownloadCommand.cc
  45. * src/HttpInitiateConnectionCommand.cc
  46. * src/HttpProxyRequestCommand.cc
  47. * src/HttpProxyResponseCommand.cc
  48. * src/HttpRequestCommand.cc
  49. * src/HttpResponseCommand.cc
  50. * src/HttpResponseCommand.h
  51. * src/HttpSkipResponseCommand.cc
  52. * src/InitiateConnectionCommand.cc
  53. 2010-06-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  54. Made protected member variables of Command private. Added accessor
  55. funcs.
  56. 2010-06-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  57. Made public member variables of DownloadEngine private. Added
  58. accessor funcs.
  59. 2010-06-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  60. Release 1.9.4
  61. 2010-06-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  62. Updated Italian translation. Added Korean translation.
  63. Thanks to all translators.
  64. * LINGUAS
  65. * it.po
  66. * ko.po
  67. 2010-06-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  68. Updated po templates.
  69. * po/aria2.pot
  70. 2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  71. Fixed the bug that reading Metalink from pipe fails on older
  72. libxml2. It only accepts "-" as a special keyword to read stdin.
  73. * src/XML2SAXMetalinkProcessor.cc
  74. 2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  75. Added log message when cookies are loaded. Added filename to log
  76. message when serializing session.
  77. * src/MultiUrlRequestInfo.cc
  78. 2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  79. Treat SIGHUP and SIGTERM signal as emergency shutdown because they
  80. are usually issued by system or other process.
  81. * src/MultiUrlRequestInfo.cc
  82. 2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  83. Use downloadresultcode::IN_PROGRESS for
  84. RequestGroup::SHUTDOWN_SIGNAL.
  85. * src/RequestGroup.cc
  86. 2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  87. Call requestForceHalt() instead of _requestGroupMan->forceHalt().
  88. * src/DownloadEngine.cc
  89. 2010-06-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  90. Mentioned RFC 5854 in README and man page.
  91. * README
  92. * doc/aria2c.1.txt
  93. 2010-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  94. Bump up version number to 1.9.4
  95. * configure.ac
  96. * doc/aria2c.1.txt
  97. 2010-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  98. Don't throw exception when Metalink document is empty(no file
  99. element). It is a valid Metalink document anyway.
  100. * src/MetalinkHelper.cc
  101. * src/download_helper.cc
  102. 2010-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  103. Fixed double memory free when Exception raised from
  104. AbstractCommand::prepareForNextAction() called by
  105. HttpResponseCommand::handleDefaultEncoding().
  106. * src/AbstractCommand.cc
  107. * src/HttpResponseCommand.cc
  108. 2010-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  109. Added _logger->info() guard
  110. * src/IteratableChunkChecksumValidator.cc
  111. 2010-05-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  112. Fixed the bug that feeding Metalink XML via pipe (-M- option) does
  113. not work when aria2 is built with expat. Fixed the bug that when
  114. Metalink XML is fed via pipe and --save-session is used, entry
  115. "/dev/stdin" is saved in session file.
  116. * src/ExpatMetalinkProcessor.cc
  117. * src/ExpatMetalinkProcessor.h
  118. * src/Metalink2RequestGroup.cc
  119. 2010-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  120. Updated doc
  121. * src/aria2c.1.txt
  122. 2010-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  123. Added totalLength, completedLength, uploadLength, bitfield,
  124. downloadSpeed, uploadSpeed, infoHash, numSeeders, pieceLength,
  125. numPieces, connections and dir to the response of
  126. aria2.tellStopped XML-RPC method. aria2.tellWaiting now always
  127. returns numSeeders for BitTorrent download.
  128. * src/DownloadResult.h
  129. * src/RequestGroup.cc
  130. * src/RequestGroup.h
  131. * src/XmlRpcMethodImpl.cc
  132. * test/XmlRpcMethodTest.cc
  133. 2010-05-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  134. Fixed the bug that connection pooling does not take into account
  135. proxy. This means that when connection A via proxy X is pooled,
  136. it will be wrongly reused in the download using proxy Y.
  137. * src/DownloadEngine.cc
  138. * src/DownloadEngine.h
  139. * src/FtpFinishDownloadCommand.cc
  140. * src/FtpInitiateConnectionCommand.cc
  141. * src/FtpNegotiationCommand.cc
  142. * src/HttpDownloadCommand.cc
  143. * src/HttpInitiateConnectionCommand.cc
  144. * src/HttpResponseCommand.cc
  145. * src/HttpSkipResponseCommand.cc
  146. 2010-05-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  147. Fixed the bug that FTP download may fail when control connection
  148. is reused. This happens because FTP server can offer different
  149. root directory for different account. If pooled connections has
  150. different root directory, then download will fail.
  151. * src/DownloadEngine.cc
  152. * src/DownloadEngine.h
  153. * src/FtpConnection.cc
  154. * src/FtpConnection.h
  155. * src/FtpFinishDownloadCommand.cc
  156. * src/FtpInitiateConnectionCommand.cc
  157. * src/FtpNegotiationCommand.cc
  158. 2010-05-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  159. Removed DownloadResult's ctor because it has many args.
  160. * src/DownloadResult.h
  161. * src/RequestGroup.cc
  162. * test/XmlRpcMethodTest.cc
  163. 2010-05-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  164. Code cleanup.
  165. * src/RequestGroupMan.cc
  166. * src/UTMetadataPostDownloadHandler.cc
  167. * src/XmlRpcMethodImpl.cc
  168. 2010-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  169. Store both whole checksum and piece hash in metalink file.
  170. Dispatch whole checksum verification only when piece hash is not
  171. set.
  172. * src/DownloadCommand.cc
  173. * src/Metalink2RequestGroup.cc
  174. * test/Metalink2RequestGroupTest.cc
  175. 2010-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  176. Left only IANA hash function textual name in messageDigest.cc.
  177. Assign only IANA hash function textual name to Checksum and
  178. ChunkChecksum. Fixed the value of MessageDigestContext::MD5.
  179. * src/Checksum.h
  180. * src/MetalinkParserController.cc
  181. * src/messageDigest.cc
  182. * src/messageDigest.h
  183. * test/IteratableChecksumValidatorTest.cc
  184. * test/IteratableChunkChecksumValidatorTest.cc
  185. * test/MessageDigestHelperTest.cc
  186. * test/Metalink2RequestGroupTest.cc
  187. * test/MetalinkProcessorTest.cc
  188. 2010-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  189. Fixed typo in log message
  190. * src/AbstractCommand.cc
  191. 2010-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  192. Release 1.9.3
  193. 2010-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  194. Return const reference.
  195. * src/DefaultPieceStorage.h
  196. * src/DownloadContext.h
  197. * src/FeatureConfig.cc
  198. * src/FeatureConfig.h
  199. * src/OptionParser.cc
  200. * src/OptionParser.h
  201. * src/SimpleRandomizer.cc
  202. * src/SimpleRandomizer.h
  203. 2010-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  204. Bump up version number to 1.9.3.
  205. * configure.ac
  206. 2010-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  207. Return const reference.
  208. * src/LpdMessageReceiver.h
  209. * src/LpdReceiveMessageCommand.h
  210. 2010-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  211. Removed useless pathJoin
  212. * src/MetalinkParserController.cc
  213. 2010-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  214. Fixed the bug that name attribute of file element in Metalink file
  215. is not properly sanitized.
  216. * src/Metalink2RequestGroup.cc
  217. * src/MetalinkParserController.cc
  218. * test/Makefile.am
  219. * test/Metalink2RequestGroupTest.cc
  220. * test/metalink4-dosdirtraversal.xml
  221. 2010-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  222. Fixed the bug that if filename in Content-Disposition header
  223. includes ';', aria2 cuts filename after ';'.
  224. * src/util.cc
  225. * test/UtilTest.cc
  226. 2010-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  227. Release 1.9.2
  228. 2010-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  229. Fixed compiler warning on opensolaris.
  230. * src/StringFormat.h
  231. * src/XORCloser.h
  232. 2010-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  233. Updated doc
  234. * test/array_funTest.cc
  235. 2010-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  236. Fixed segmentation fault when running unit tests on opensolaris.
  237. * src/SocketCore.cc
  238. * src/bittorrent_helper.cc
  239. 2010-04-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  240. Updated Russian translation. Thanks to all translators.
  241. * po/ru.po
  242. 2010-04-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  243. Updated po templates.
  244. * po/aria2.pot
  245. 2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  246. Print warning when trying to add file descriptor >= FD_SET or < 0
  247. to fd_set for other than MinGW32 build. For MinGW32 build, print
  248. warning when trying to add file descriptor to fd_set when it
  249. already contains FD_SET file descriptors.
  250. * src/SelectEventPoll.cc
  251. * src/SocketCore.cc
  252. 2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  253. Updated doc for --event-poll option.
  254. * doc/aria2c.1.txt
  255. 2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  256. Bump up version number to 1.9.2
  257. * configure.ac
  258. * doc/aria2c.1.txt
  259. 2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  260. Defined FD_SETSIZE 1024 for MinGW32.
  261. * src/a2netcompat.h
  262. 2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  263. Fixed compile error on the system which lacks poll()
  264. * src/DownloadEngineFactory.cc
  265. 2010-04-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  266. In SocketCore::isReadable()/isWritable(), use poll() if it is
  267. available otherwise use select(). Removed epoll/port from there
  268. because poll() does the good enough job for single socket event
  269. notification.
  270. * src/SocketCore.cc
  271. * src/SocketCore.h
  272. * src/main.cc
  273. 2010-04-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  274. Added kqueue support. We use poll() for
  275. SocketCore::isReadable()/isWritable() when kqueue is used.
  276. * configure.ac
  277. * src/DownloadEngineFactory.cc
  278. * src/KqueueEventPoll.cc
  279. * src/KqueueEventPoll.h
  280. * src/Makefile.am
  281. * src/Makefile.in
  282. * src/OptionHandlerFactory.cc
  283. * src/main.cc
  284. * src/prefs.cc
  285. * src/prefs.h
  286. 2010-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  287. Added missing timespec.h to SRCS
  288. * src/Makefile.am
  289. 2010-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  290. Fixed the bug that aria2.unpause fails with -s1.
  291. * src/FileEntry.cc
  292. * src/XmlRpcMethodImpl.cc
  293. 2010-04-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  294. Added missing #ifdef HAVE_PORT_ASSOCIATE
  295. * src/DownloadEngineFactory.cc
  296. 2010-04-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  297. Added opensolaris port_associate() support.
  298. * src/DownloadEngineFactory.cc
  299. * src/Makefile.am
  300. * src/OptionHandlerFactory.cc
  301. * src/PortEventPoll.cc
  302. * src/PortEventPoll.h
  303. * src/SocketCore.cc
  304. * src/SocketCore.h
  305. * src/configure.ac
  306. * src/main.cc
  307. * src/prefs.cc
  308. * src/prefs.h
  309. 2010-04-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  310. Fixed the bug that _e is passed where e should be passed.
  311. * src/HttpListenCommand.cc
  312. 2010-04-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  313. Increased _epEvents size if necessary.
  314. * src/EpollEventPoll.cc
  315. * src/EpollEventPoll.h
  316. 2010-04-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  317. Removed EventRType template parameter
  318. * src/EpollEventPoll.cc
  319. * src/EpollEventPoll.h
  320. * src/Event.h
  321. * src/PollEventPoll.cc
  322. * src/PollEventPoll.h
  323. 2010-04-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  324. Use Event in EpollEventPoll
  325. * src/EpollEventPoll.cc
  326. * src/EpollEventPoll.h
  327. 2010-04-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  328. Externalized Event, CommandEvent, ADNSEvent, SocketEntry and
  329. AsyncNameResolverEntry class.
  330. * src/Event.h
  331. * src/Makefile.am
  332. * src/PollEventPoll.cc
  333. * src/PollEventPoll.h
  334. 2010-04-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  335. Supported poll() for socket event notification. --event-poll can
  336. take value "poll". Fixed the bug that timeout for
  337. SocketCore::isReadable()/isWritable() is ignored when epoll is
  338. used.
  339. * src/OptionHandlerFactory.cc
  340. * src/a2io.h
  341. * src/prefs.h
  342. * src/SocketCore.h
  343. * src/Makefile.am
  344. * src/main.cc
  345. * src/PollEventPoll.h
  346. * src/SocketCore.cc
  347. * src/DownloadEngineFactory.cc
  348. * src/PollEventPoll.cc
  349. * src/prefs.cc
  350. * configure.ac
  351. 2010-04-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  352. Reverted previous change to DownloadCommand.cc with additional
  353. commentary.
  354. * src/DownloadCommand.cc
  355. 2010-04-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  356. Fixed compile error with openssl 1.1.0 and mingw32.
  357. * src/AsyncNameResolver.cc
  358. * src/LogFactory.cc
  359. * src/Logger.cc
  360. * src/Logger.h
  361. * src/SocketCore.cc
  362. * src/SocketCore.h
  363. * src/a2netcompat.h
  364. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  365. Release 1.9.1
  366. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  367. Bump up version number to 1.9.0
  368. * doc/aria2c.1.txt
  369. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  370. Updated Ukrainian, Russian, Simplified Chinese, German and Greek
  371. translation. Thanks to all translators.
  372. * po/de.po
  373. * po/el.po
  374. * po/ru.po
  375. * po/uk.po
  376. * po/zh_CN.po
  377. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  378. Added AC_SEARCH_LIBS for inet_aton on opensolaris. opensolaris
  379. needs -lnsl for inet_aton.
  380. * configure.ac
  381. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  382. Updated po templates.
  383. * po/aria2.pot
  384. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  385. Added aria2.pause, aria2.forcePause, aria2.pauseAll,
  386. aria2.forcePauseAll, aria2.unpause, aria2.unpauseAll XML-RPC
  387. method to aria2rpc
  388. * doc/xmlrpc/aria2rpc
  389. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  390. Use elapsed time between two mach_absolute_time() calls.
  391. Fixed compile error in Mac OS X.
  392. * src/clock_gettime_osx.cc
  393. * src/timespec.h
  394. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  395. Implemented clock_gettime() using mach_absolute_time in Mac OS X.
  396. * configure.ac
  397. * src/Makefile.am
  398. * src/a2time.h
  399. * src/clock_gettime_osx.cc
  400. * src/clock_gettime_osx.h
  401. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  402. Implemented clock_gettime() using timeGetTime in mingw.
  403. * configure.ac
  404. * src/Makefile.am
  405. * src/a2time.h
  406. * src/clock_gettime_mingw.cc
  407. * src/clock_gettime_mingw.h
  408. * src/timespec.h
  409. * test/Makefile.am
  410. 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  411. Ensure that std::ofstream is destroyed before renaming.
  412. * src/SessionSerializer.cc
  413. * src/util.cc
  414. 2010-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  415. Fixed the bug that user specified path is escaped using
  416. util::escapePath() where it should not.
  417. * src/DownloadContext.cc
  418. * src/DownloadContext.h
  419. 2010-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  420. Hold reference to PieceStorage when paused in order to provide
  421. progress information via XML-RPC.
  422. * src/RequestGroup.cc
  423. * src/RequestGroup.h
  424. * src/RequestGroupMan.cc
  425. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  426. Defined struct timespec if it is not available.
  427. * src/a2time.h
  428. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  429. Added missing serialize_session.meta4 to EXTRA_DIST
  430. * test/Makefile.am
  431. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  432. Fixed compile error without BitTorrent support.
  433. * src/Metalink2RequestGroup.cc
  434. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  435. Fixed compile error on Mac OS X
  436. * src/TimerA2.h
  437. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  438. Added warning for the system which lacks clock_gettime with
  439. CLOCK_MONOTONIC.
  440. * src/MultiUrlRequestInfo.cc
  441. * src/TimerA2.cc
  442. * src/TimerA2.h
  443. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  444. Removed redundant method call for DownloadEngine.
  445. * src/DownloadCommand.cc
  446. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  447. Fixed the bug that hash check hangs when aria2.pause is issued
  448. while aria2 is checking piece hashes. Fixed the bug that the
  449. download is paused after file allocation completion even if
  450. aria2.pause is issued during file allocation.
  451. * src/CheckIntegrityCommand.cc
  452. * src/FileAllocationCommand.cc
  453. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  454. Added nsl to search-libs for getaddrinfo on opensolaris
  455. * configure.ac
  456. 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  457. Fixed compile error on opensolaris
  458. * configure.ac
  459. * src/Logger.h
  460. * src/GZipEncoder.h
  461. 2010-04-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  462. Added aria2.pauseAll, aria2.forcePauseAll and aria2.unpauseAll
  463. XML-RPC method.
  464. * doc/aria2c.1.txt
  465. * src/XmlRpcMethodFactory.cc
  466. * src/XmlRpcMethodImpl.cc
  467. * src/XmlRpcMethodImpl.h
  468. * test/XmlRpcMethodTest.cc
  469. 2010-04-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  470. Added aria2.forcePause XML-RPC command.
  471. * src/XmlRpcMethodFactory.cc
  472. * src/XmlRpcMethodImpl.cc
  473. * src/XmlRpcMethodImpl.h
  474. 2010-04-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  475. Use global::wallclock
  476. * src/DHTBucket.cc
  477. * src/DHTMessageTrackerEntry.cc
  478. * src/DHTMessageTrackerEntry.h
  479. * src/DefaultBtInteractive.cc
  480. * src/Peer.cc
  481. * src/PeerAbstractCommand.cc
  482. * src/PeerStat.h
  483. * src/RequestSlot.h
  484. * src/TimeBasedCommand.cc
  485. 2010-04-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  486. Use clock_gettime(CLOCK_MONOTONIC, ...) if it is available and
  487. usable to prevent from aria2 from being affected by system time
  488. change.
  489. 2010-04-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  490. Added aria2.pause and aria2.unpause XML-RPC method. aria2.pause
  491. pauses the download denoted by gid. gid is of type string. The
  492. status of paused download becomes "paused" and the download is
  493. placed on the first position of waiting queue. As long as the
  494. status is "paused", the download is not started. To change status
  495. to "waiting", use aria2.unpause method. This method returns GID of
  496. paused download. aria2.unpause changes the status of the download
  497. denoted by gid from "paused" to "waiting". This makes the download
  498. eligible to restart. gid is of type string. This method returns
  499. GID of unpaused download.
  500. * doc/aria2c.1.txt
  501. * src/DownloadContext.cc
  502. * src/FileEntry.cc
  503. * src/OptionHandlerFactory.cc
  504. * src/RequestGroup.cc
  505. * src/RequestGroup.h
  506. * src/RequestGroupMan.cc
  507. * src/XmlRpcMethodFactory.cc
  508. * src/XmlRpcMethodImpl.cc
  509. * src/XmlRpcMethodImpl.h
  510. * src/prefs.cc
  511. * src/prefs.h
  512. * src/usage_text.h
  513. 2010-04-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  514. Added --save-session=FILE option. This option saves
  515. error/unfinished downloads to FILE on exit. You can pass this
  516. output file to aria2c with -i option on restart. Please note that
  517. downloads added by aria2.addTorrent and aria2.addMetalink XML-RPC
  518. method are not saved.
  519. * src/BtPostDownloadHandler.cc
  520. * src/DownloadResult.h
  521. * src/Makefile.am
  522. * src/MetadataInfo.cc
  523. * src/MetadataInfo.h
  524. * src/Metalink2RequestGroup.cc
  525. * src/MetalinkPostDownloadHandler.cc
  526. * src/MultiUrlRequestInfo.cc
  527. * src/OptionHandlerFactory.cc
  528. * src/RequestGroup.cc
  529. * src/RequestGroup.h
  530. * src/SessionSerializer.cc
  531. * src/SessionSerializer.h
  532. * src/UTMetadataPostDownloadHandler.cc
  533. * src/download_helper.cc
  534. * src/download_helper.h
  535. * src/prefs.cc
  536. * src/prefs.h
  537. * src/usage_text.h
  538. * test/Makefile.am
  539. * test/SessionSerializerTest.cc
  540. * test/XmlRpcMethodTest.cc
  541. * test/serialize_session.meta4
  542. 2010-04-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  543. Fixed the bug that FTP data connection is not established via
  544. proxy when --ftp-proxy is defined and --ftp-pasv=true and
  545. --proxy-method=tunnel.
  546. * src/AbstractCommand.cc
  547. * src/AbstractCommand.h
  548. * src/FtpNegotiationCommand.cc
  549. * src/FtpNegotiationCommand.h
  550. * src/InitiateConnectionCommand.cc
  551. 2010-04-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  552. Updated po templates.
  553. * po/aria2.pot
  554. 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  555. Bump up version number to 1.9.1
  556. * configure.ac
  557. 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  558. Added shutdown and forceShutdown to aria2rpc
  559. * doc/xmlrpc/aria2rpc
  560. 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  561. Changed error message.
  562. * src/XmlRpcMethod.cc
  563. 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  564. Added bt-tracker-timeout, bt-tracker-connect-timeout,
  565. always-resume, max-resume-failure-tries and http-accept-gzip to -i
  566. list options.
  567. * doc/aria2c.1.txt
  568. * doc/xmlrpc/aria2rpc
  569. * src/download_helper.cc
  570. 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  571. Fixed the bug that web-seed URI is not percent-encoded.
  572. * src/a2functional.h
  573. * src/bittorrent_helper.cc
  574. * test/BittorrentHelperTest.cc
  575. * test/url-list-multiFile.torrent
  576. * test/url-list-singleFileEndsWithSlash.torrent
  577. 2010-04-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  578. Added aria2.shutdown and aria2.forceShutdown XML-RPC method.
  579. These methods, as their name implies, shutdown aria2. These
  580. methods are useful for Windows because it lacks signal mechanism.
  581. * doc/aria2c.1.txt
  582. * src/TimedHaltCommand.cc
  583. * src/XmlRpcMethodFactory.cc
  584. * src/XmlRpcMethodImpl.cc
  585. * src/XmlRpcMethodImpl.h
  586. 2010-04-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  587. Added forceHalt argument to TimedHaltCommand.
  588. Added requestForceHalt() to DownloadEngine.
  589. * src/DownloadEngine.cc
  590. * src/DownloadEngine.h
  591. * src/TimedHaltCommand.cc
  592. * src/TimedHaltCommand.h
  593. 2010-04-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  594. Possible fix for chunked encoding with Content-Length.
  595. * src/HttpResponseCommand.cc
  596. 2010-04-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  597. Don't send "Accept: default, gzip" by default. This is because
  598. some server responds with "Content-Encoding: gzip" for files which
  599. itself is gzipped file and aria2 inflates them. This is a problem
  600. if user don't want to inflate the file. Apparently this is server
  601. configuration error, but I cannot do anything about this. So turn
  602. this off. Added --http-accept-gzip option. If true is given to
  603. this option, aria2 sends 'Accept: deflate, gzip' request header
  604. and inflates response if remote server responds with
  605. 'Content-Encoding: gzip' or 'Content-Encoding: deflate'. This
  606. indicates we removed extension tgz hack in order not to inflate
  607. files with tgz extensions.
  608. * doc/aria2c.1.txt
  609. * src/HttpRequest.cc
  610. * src/HttpRequest.h
  611. * src/HttpRequestCommand.cc
  612. * src/HttpResponseCommand.cc
  613. * src/OptionHandlerFactory.cc
  614. * src/prefs.cc
  615. * src/prefs.h
  616. * src/usage_text.h
  617. * test/HttpRequestTest.cc
  618. 2010-04-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  619. Made aria2 not send
  620. "application/metalink4+xml,application/metalink+xml" in Accept
  621. header for web-seeding URIs and tracker request.
  622. * src/Metalink2RequestGroup.cc
  623. * src/TrackerWatcherCommand.cc
  624. * src/download_helper.cc
  625. * src/util.cc
  626. * src/util.h
  627. 2010-04-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  628. Added download_helper.{cc,h} to SRCS
  629. * src/Makefile.am
  630. * test/Makefile.am
  631. 2010-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  632. Added --dht-message-timeout option.
  633. * doc/aria2c.1.txt
  634. * src/DHTConstants.h
  635. * src/DHTMessageDispatcherImpl.cc
  636. * src/DHTMessageDispatcherImpl.h
  637. * src/DHTMessageTracker.cc
  638. * src/DHTMessageTracker.h
  639. * src/DHTReplaceNodeTask.h
  640. * src/DHTSetup.cc
  641. * src/DHTTaskFactoryImpl.cc
  642. * src/DHTTaskFactoryImpl.h
  643. * src/OptionHandlerFactory.cc
  644. * src/prefs.cc
  645. * src/prefs.h
  646. * src/usage_text.h
  647. * test/DHTMessageTrackerTest.cc
  648. 2010-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  649. Added --bt-tracker-connect-timeout and --bt-tracker-timeout
  650. option.
  651. * doc/aria2c.1.txt
  652. * src/OptionHandlerFactory.cc
  653. * src/TrackerWatcherCommand.cc
  654. * src/prefs.cc
  655. * src/prefs.h
  656. * src/usage_text.h
  657. 2010-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  658. Documented that specifying --seed-time=0 disables seeding after
  659. download completed.
  660. * doc/aria2c.1.txt
  661. 2010-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  662. Code cleanup
  663. * src/BtSetup.cc
  664. 2010-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  665. Drop connection if same Peer ID has been already seen.
  666. * src/DefaultBtInteractive.cc
  667. 2010-03-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  668. Fixed the bug that waiting download unintentionally starts when
  669. URIs are added to it using aria2.changeUri XML-RPC method. This
  670. also fixes the bug that causes segmentation fault when adding URIs
  671. to waiting download, which is a regression introduced by the
  672. previous change made to src/XmlRpcMethodImpl.cc
  673. * src/XmlRpcMethodImpl.cc
  674. 2010-03-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  675. Fixed compile error with g++-4.4 on FreeBSD.
  676. * src/util.h
  677. 2010-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  678. Fixed the bug that added URI using aria2.changeUri XML-RPC method
  679. is not used immediately if there is no URIs remaining before
  680. calling aria2.changeUri and the number of connection is less than
  681. the value in -s(or -C for Metalink downloads).
  682. * src/XmlRpcMethodImpl.cc
  683. 2010-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  684. Documented --always-resume and --max-resume-failure-tries option
  685. and exit status 8 in man page. Fixed typo.
  686. * doc/aria2c.1.txt
  687. * src/OptionHandlerFactory.cc
  688. 2010-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  689. Added --always-resume and --max-resume-failure-tries option. If
  690. --always-resume=false is given, when all given URIs does not
  691. support resume or aria2 encounters N URIs which does not support
  692. resume
  693. (N is the value specified using --max-resume-failure-tries
  694. option), aria2 download file from scratch. The default behavior
  695. is --always-resume=true, which means if all URIs do not support
  696. resume, download fails. I think this is OK because user normally
  697. don't like to see that partially downloaded file is
  698. overwritten(this is particularly true if file size is big). This
  699. option is useful when aria2 is used as download backend and
  700. graceful falling back to overwritten behavior is preferable.
  701. Added exit status value 8, which means download failed because
  702. server did not support resume.
  703. * src/AbstractCommand.cc
  704. * src/DefaultPieceStorage.cc
  705. * src/DownloadCommand.cc
  706. * src/DownloadResultCode.h
  707. * src/FileEntry.h
  708. * src/FtpNegotiationCommand.cc
  709. * src/HttpResponse.cc
  710. * src/HttpResponseCommand.cc
  711. * src/OptionHandlerFactory.cc
  712. * src/RequestGroup.cc
  713. * src/RequestGroup.h
  714. * src/SegmentMan.cc
  715. * src/SegmentMan.h
  716. * src/prefs.cc
  717. * src/prefs.h
  718. * src/usage_text.h
  719. * test/DefaultPieceStorageTest.cc
  720. * test/SegmentManTest.cc
  721. 2010-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  722. Added --remove-control-file option to -i list options.
  723. * doc/aria2c.1.txt
  724. * doc/xmlrpc/aria2rpc
  725. * src/download_helper.cc
  726. 2010-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  727. Added --remove-control-file option. This option removes control
  728. file(*.aria2 file) before download. Using with
  729. --allow-overwrite=true, download always starts from scratch. This
  730. will be useful for users behind proxy server which disables
  731. resume. For such proxy user, -C1 is also recommended for Metalink
  732. downloads to avoid establishing unnecessary connections.
  733. * doc/aria2c.1.txt
  734. * src/OptionHandlerFactory.cc
  735. * src/RequestGroup.cc
  736. * src/prefs.cc
  737. * src/prefs.h
  738. * src/usage_text.h
  739. 2010-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  740. Removed arrayLength. Defined A2_ARRAY_LEN as macro to calculate
  741. size of array at compile time.
  742. * src/array_fun.h
  743. * test/BitfieldManTest.cc
  744. * test/BtPortMessageTest.cc
  745. * test/DHTRoutingTableDeserializerTest.cc
  746. * test/DHTRoutingTableSerializerTest.cc
  747. * test/DownloadHelperTest.cc
  748. * test/LongestSequencePieceSelectorTest.cc
  749. * test/MultiDiskAdaptorTest.cc
  750. * test/OptionParserTest.cc
  751. * test/PriorityPieceSelectorTest.cc
  752. * test/array_funTest.cc
  753. 2010-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  754. Added vbegin() and vend() for fixed sized array.
  755. * src/DownloadHandlerConstants.cc
  756. * src/FeatureConfig.cc
  757. * src/OptionHandlerFactory.cc
  758. * src/ServerStat.cc
  759. * src/TimeA2.cc
  760. * src/XmlRpcMethod.cc
  761. * src/array_fun.h
  762. * src/download_helper.cc
  763. * src/messageDigest.cc
  764. * src/util.cc
  765. * test/BittorrentHelperTest.cc
  766. * test/DHTRoutingTableDeserializerTest.cc
  767. * test/DHTRoutingTableSerializerTest.cc
  768. * test/DefaultBtAnnounceTest.cc
  769. * test/DefaultBtProgressInfoFileTest.cc
  770. * test/DownloadContextTest.cc
  771. * test/DownloadHelperTest.cc
  772. * test/FeatureConfigTest.cc
  773. * test/FeedbackURISelectorTest.cc
  774. * test/HttpRequestTest.cc
  775. * test/InOrderURISelectorTest.cc
  776. * test/MSEHandshakeTest.cc
  777. * test/MultiDiskAdaptorTest.cc
  778. * test/MultiFileAllocationIteratorTest.cc
  779. * test/PriorityPieceSelectorTest.cc
  780. * test/RequestGroupManTest.cc
  781. * test/UtilTest.cc
  782. * test/XmlRpcMethodTest.cc
  783. * test/a2algoTest.cc
  784. * test/array_funTest.cc
  785. 2010-03-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  786. Simplified code using lastByteMask
  787. * src/BitfieldMan.cc
  788. * src/PieceStatMan.cc
  789. 2010-03-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  790. Rewritten lastByteMask
  791. * src/bitfield.h
  792. 2010-03-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  793. Redefined the maximum length of buffer used for HTTP header.
  794. * src/HttpHeaderProcessor.cc
  795. 2010-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  796. Code cleanup
  797. * src/SleepCommand.cc
  798. 2010-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  799. Do exact match if IP address is specified in --no-proxy.
  800. * src/AbstractCommand.cc
  801. 2010-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  802. Fixed the bug that socket is added to EventPoll object twice. This
  803. is because derived class FtpFinishDownloadCommand adds socket to
  804. EventPoll object while base class AbstractCommand does that
  805. already.
  806. * src/FtpFinishDownloadCommand.cc
  807. * src/FtpFinishDownloadCommand.h
  808. 2010-03-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  809. Defined gid_t as int64_t.
  810. * src/BtDependency.cc
  811. * src/BtStopDownloadCommand.cc
  812. * src/FtpNegotiationCommand.cc
  813. * src/HttpResponseCommand.cc
  814. * src/RequestGroup.cc
  815. * src/RequestGroup.h
  816. * src/RequestGroupMan.cc
  817. * src/TrackerWatcherCommand.cc
  818. * src/XmlRpcMethodImpl.cc
  819. * src/message.h
  820. * test/XmlRpcMethodTest.cc
  821. 2010-03-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  822. Defined cuid_t as int64_t. Removed texts containing "CUID#%D" from
  823. translatable texts because it is used in log and debugging
  824. purpose.
  825. * src/AbstractCommand.cc
  826. * src/ActivePeerConnectionCommand.cc
  827. * src/BtPieceMessage.cc
  828. * src/CUIDCounter.h
  829. * src/CheckIntegrityCommand.cc
  830. * src/CheckIntegrityDispatcherCommand.cc
  831. * src/Command.h
  832. * src/CreateRequestCommand.cc
  833. * src/DHTEntryPointNameResolveCommand.cc
  834. * src/DefaultBtInteractive.cc
  835. * src/DefaultBtMessageDispatcher.cc
  836. * src/DownloadCommand.cc
  837. * src/FileAllocationCommand.cc
  838. * src/FileAllocationDispatcherCommand.cc
  839. * src/FtpConnection.cc
  840. * src/FtpInitiateConnectionCommand.cc
  841. * src/FtpNegotiationCommand.cc
  842. * src/HttpConnection.cc
  843. * src/HttpInitiateConnectionCommand.cc
  844. * src/HttpListenCommand.cc
  845. * src/HttpResponse.cc
  846. * src/HttpServerBodyCommand.cc
  847. * src/HttpServerCommand.cc
  848. * src/HttpServerResponseCommand.cc
  849. * src/InitiateConnectionCommand.cc
  850. * src/InitiatorMSEHandshakeCommand.cc
  851. * src/MSEHandshake.cc
  852. * src/PeerAbstractCommand.cc
  853. * src/PeerConnection.cc
  854. * src/PeerInitiateConnectionCommand.cc
  855. * src/PeerInteractionCommand.cc
  856. * src/PeerListenCommand.cc
  857. * src/PeerReceiveHandshakeCommand.cc
  858. * src/SegmentMan.cc
  859. * src/SimpleBtMessage.cc
  860. * src/TrackerWatcherCommand.cc
  861. * src/message.h
  862. 2010-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  863. Use gid_t type for gid.
  864. * src/BtRegistry.cc
  865. * src/BtRegistry.h
  866. * src/DownloadResult.h
  867. * src/RequestGroup.cc
  868. * src/RequestGroup.h
  869. * src/RequestGroupMan.cc
  870. * src/RequestGroupMan.h
  871. * src/XmlRpcMethodImpl.cc
  872. 2010-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  873. Use cuid_t type for cuid.
  874. 2010-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  875. Added v key in DHT message. aria2's DHT version is independent of
  876. the package version and we defined it as 1 at the moment. It is
  877. defined as DHT_VERSION in src/DHTConstants.h. aria2's DHT version
  878. scheme is "A2"+2bytes DHT version number in network byte order.
  879. * src/DHTAbstractMessage.cc
  880. * src/DHTConstants.h
  881. * src/DHTMessage.cc
  882. * src/DHTMessage.h
  883. * src/DHTMessageFactoryImpl.cc
  884. * src/DHTQueryMessage.cc
  885. * src/DHTResponseMessage.cc
  886. * src/util.h
  887. * test/DHTAnnouncePeerMessageTest.cc
  888. * test/DHTAnnouncePeerReplyMessageTest.cc
  889. * test/DHTFindNodeMessageTest.cc
  890. * test/DHTFindNodeReplyMessageTest.cc
  891. * test/DHTGetPeersMessageTest.cc
  892. * test/DHTGetPeersReplyMessageTest.cc
  893. * test/DHTPingMessageTest.cc
  894. * test/DHTPingReplyMessageTest.cc
  895. 2010-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  896. Fixed the bug that value of numSeeders in aria2.tellStatus XML-RPC
  897. method response is integer, while manual says it is string. When
  898. peer's port is not listening port, set '0' to port in
  899. aria2.getPeers response.
  900. * src/XmlRpcMethodImpl.cc
  901. 2010-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  902. Lines starting "#" in -i list are treated as comments.
  903. Example:
  904. # this is comment
  905. http://example.org/file
  906. http://example.org/file2
  907. dir=/tmp
  908. # another comment
  909. out=myfile
  910. * doc/aria2c.1.txt
  911. * src/UriListParser.cc
  912. * test/filelist1.txt
  913. 2010-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  914. Accept IPv4 network address with CIDR block in --no-proxy option
  915. and no_proxy environment variable. Current implementation does
  916. not resolve hostname in URI to compare network address. So it is
  917. only effecive if URI has numeric IP addresses.
  918. * doc/aria2c.1.txt
  919. * src/AbstractCommand.cc
  920. * src/OptionHandlerFactory.cc
  921. * src/bitfield.h
  922. * src/usage_text.h
  923. * src/util.cc
  924. * src/util.h
  925. * test/UtilTest.cc
  926. * test/bitfieldTest.cc
  927. 2010-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  928. Reduced interval for metadatagetmode to quickly gather metadata.
  929. * src/BtSetup.cc
  930. 2010-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  931. Release 1.9.0
  932. 2010-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  933. Updated po templates.
  934. * po/aria2.pot
  935. 2010-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  936. Updated doc.
  937. * doc/aria2c.1.txt
  938. 2010-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  939. Documented about Metalink4 and LPD in README
  940. * RADME
  941. 2010-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  942. Few adjustment for timeouts in DHT. DHT message timeout is changed
  943. from 15 to 10. The interval of PeerLookup is first 5 seconds and
  944. it adds another 5 seconds in each retry.
  945. * src/DHTConstants.h
  946. * src/DHTGetPeersCommand.cc
  947. * src/DHTGetPeersCommand.h
  948. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  949. Changed log level from error to info for DHT message send error.
  950. * src/DHTMessageDispatcherImpl.cc
  951. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  952. Inspect all xt in magnet to find urn:btih.
  953. * src/bittorrent_helper.cc
  954. * test/BittorrentHelperTest.cc
  955. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  956. Use global option for DHTSetup.
  957. * src/DHTSetup.cc
  958. * src/DHTSetup.h
  959. * src/RequestGroup.cc
  960. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  961. Added bt-enable-lpt, reuse-uri
  962. and {http,https,ftp,all}-proxy-{user,passwd} options to -i list
  963. options.
  964. * doc/aria2c.1.txt
  965. * doc/xmlrpc/aria2rpc
  966. * src/download_helper.cc
  967. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  968. Use global option for PREF_LISTEN_PORT and PREF_BT_LPD_INTERFACE.
  969. * src/BtSetup.cc
  970. 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  971. Resurrected --http-proxy-user and --http-proxy-passwd option.
  972. Added --https-proxy-user, --https-proxy-passwd, --ftp-proxy-user,
  973. --ftp-proxy-passwd, --all-proxy-user, --all-proxy-passwd option.
  974. * doc/aria2c.1.txt
  975. * src/OptionHandlerFactory.cc
  976. * src/OptionHandlerImpl.h
  977. * src/prefs.cc
  978. * src/prefs.h
  979. * src/usage_text.h
  980. * test/OptionHandlerTest.cc
  981. 2010-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  982. Updated Russian and Simplified Chinese translation. Thanks to all
  983. translators.
  984. * po/ru.po
  985. * po/zh_CN.po
  986. 2010-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  987. Updated po templates.
  988. * po/aria2.pot
  989. 2010-03-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  990. For LPD sockets, bind IN_ADDRANY because binding multicast address
  991. fails under Windows.
  992. * src/LpdMessageReceiver.cc
  993. * test/LpdMessageDispatcherTest.cc
  994. 2010-03-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  995. Fixed the bug that error message is not propagated to Exception.
  996. * src/SocketCore.cc
  997. 2010-03-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  998. Documented --bt-lpd-interface option in man page.
  999. * doc/aria2c.1.txt
  1000. 2010-03-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1001. Bump up version number to 1.9.0
  1002. * configure.ac
  1003. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1004. Fixed the bug that FillRequestGroupCommand is not invoked when
  1005. RequestGroupMan::createInitialCommand() creates no Command object.
  1006. * src/FillRequestGroupCommand.cc
  1007. * src/RequestGroupMan.cc
  1008. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1009. Added debug logs.
  1010. * src/FileEntry.cc
  1011. * src/SegmentMan.cc
  1012. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1013. Fixed unit test error with mingw32 build.
  1014. * test/LpdMessageReceiverTest.cc
  1015. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1016. Updated automake-1.11.1
  1017. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1018. Fixed compile error and unit test error without openssl and
  1019. gnutls.
  1020. * src/MetalinkParserController.cc
  1021. * test/MetalinkProcessorTest.cc
  1022. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1023. Fixed unitest fails if openssl doesn't support sha-256.
  1024. * src/MetalinkParserStateV4Impl.cc
  1025. * test/MetalinkProcessorTest.cc
  1026. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1027. Wait until message arrives(again)
  1028. * test/LpdMessageReceiverTest.cc
  1029. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1030. Added missing wallclock.h to SRCS.
  1031. * src/Makefile.am
  1032. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1033. Fixed compile error with --disable-bittorrent
  1034. * test/Metalink2RequestGroupTest.cc
  1035. * test/MetalinkParserControllerTest.cc
  1036. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1037. Added --reuse-uri option. This option has existed quite long, but
  1038. been hidden.
  1039. * doc/aria2c.1.txt
  1040. * src/OptionHandlerFactory.cc
  1041. * src/usage_text.h
  1042. 2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1043. Ignore filename parameter if it contains directory traversal
  1044. directives.
  1045. * src/util.cc
  1046. * test/UtilTest.cc
  1047. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1048. urldecode -> percentDecode
  1049. * src/FtpConnection.cc
  1050. * src/FtpNegotiationCommand.cc
  1051. * src/HttpResponse.cc
  1052. * src/Request.cc
  1053. * src/magnet.cc
  1054. * src/util.cc
  1055. * src/util.h
  1056. * test/UtilTest.cc
  1057. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1058. urlencode -> percentEncode,
  1059. torrentUrlencode -> torrentPercentEncode
  1060. * src/BtHandshakeMessage.cc
  1061. * src/BtHandshakeMessageValidator.h
  1062. * src/DHTMessageFactoryImpl.cc
  1063. * src/DefaultBtAnnounce.cc
  1064. * src/HandshakeExtensionMessage.cc
  1065. * src/HttpRequest.cc
  1066. * src/XmlRpcMethodImpl.cc
  1067. * src/bittorrent_helper.cc
  1068. * src/util.cc
  1069. * src/util.h
  1070. * test/DHTAnnouncePeerMessageTest.cc
  1071. * test/DHTGetPeersMessageTest.cc
  1072. * test/DHTGetPeersReplyMessageTest.cc
  1073. * test/UTPexExtensionMessageTest.cc
  1074. * test/UtilTest.cc
  1075. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1076. Fixed the bug that filename is percent encoded where it must be
  1077. percent decoded in sendMdtm().
  1078. * src/FtpConnection.cc
  1079. * test/FtpConnectionTest.cc
  1080. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1081. url -> uri in Request class.
  1082. * src/AbstractCommand.cc
  1083. * src/AdaptiveURISelector.cc
  1084. * src/DefaultBtAnnounce.cc
  1085. * src/FeedbackURISelector.cc
  1086. * src/FileEntry.cc
  1087. * src/FileEntry.h
  1088. * src/HttpRequest.h
  1089. * src/HttpResponse.cc
  1090. * src/InitiateConnectionCommandFactory.cc
  1091. * src/Metalink2RequestGroup.cc
  1092. * src/OptionHandlerImpl.h
  1093. * src/ProtocolDetector.cc
  1094. * src/Request.cc
  1095. * src/Request.h
  1096. * src/XmlRpcMethodImpl.cc
  1097. * test/AuthConfigFactoryTest.cc
  1098. * test/FtpConnectionTest.cc
  1099. * test/HttpRequestTest.cc
  1100. * test/HttpResponseTest.cc
  1101. * test/RequestTest.cc
  1102. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1103. Added getServers XML-RPC method.
  1104. * doc/aria2c.1.txt
  1105. * src/FileEntry.h
  1106. * src/XmlRpcMethodFactory.cc
  1107. * src/XmlRpcMethodImpl.cc
  1108. * src/XmlRpcMethodImpl.h
  1109. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1110. Pool request when download finished.
  1111. * src/DownloadCommand.cc
  1112. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1113. Made 'fileIndex' parameter in aria2.changeUri XML-RPC method
  1114. 1-based.
  1115. * doc/aria2c.1.txt
  1116. * src/XmlRpcMethodImpl.cc
  1117. * test/XmlRpcMethodTest.cc
  1118. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1119. Call RequestGroupMan::requestQueueCheck() when
  1120. max-concurrent-downloads option is changed or new downloads are
  1121. added/inserted into reserved list.
  1122. * src/RequestGroupMan.cc
  1123. * src/XmlRpcMethodImpl.cc
  1124. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1125. Added aria2.forceRemove XML-RPC method.
  1126. * doc/aria2c.1.txt
  1127. * src/XmlRpcMethodFactory.cc
  1128. * src/XmlRpcMethodImpl.cc
  1129. * src/XmlRpcMethodImpl.h
  1130. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1131. Added debug log.
  1132. * src/AbstractCommand.cc
  1133. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1134. Create CreateRequestCommand to the number of -s/-C when URIs are
  1135. added by XML-RPC.
  1136. * src/RequestGroup.cc
  1137. * src/RequestGroup.h
  1138. * src/XmlRpcMethodImpl.cc
  1139. 2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1140. Added 'status' key to the response of getUri XML-RPC method.
  1141. * doc/aria2c.1.txt
  1142. * src/XmlRpcMethodImpl.cc
  1143. 2010-03-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1144. Replaced Time::reset() call with assigning of global::wallclock.
  1145. * src/BtLeecherStateChoke.cc
  1146. * src/BtSeederStateChoke.cc
  1147. * src/PeerSessionResource.cc
  1148. * src/RequestSlot.cc
  1149. * src/ServerStat.cc
  1150. * src/SpeedCalc.cc
  1151. 2010-03-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1152. Added changeUri XML-RPC method. This method removes/adds URIs
  1153. dynamically.
  1154. * doc/aria2c.1.txt
  1155. * src/AbstractCommand.cc
  1156. * src/DownloadContext.cc
  1157. * src/DownloadContext.h
  1158. * src/FileEntry.cc
  1159. * src/FileEntry.h
  1160. * src/Request.cc
  1161. * src/Request.h
  1162. * src/RequestGroup.cc
  1163. * src/RequestGroupMan.cc
  1164. * src/XmlRpcMethodFactory.cc
  1165. * src/XmlRpcMethodImpl.cc
  1166. * src/XmlRpcMethodImpl.h
  1167. * test/FileEntryTest.cc
  1168. * test/XmlRpcMethodTest.cc
  1169. 2010-03-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1170. Rewritten copy ctor of RequestSlot to use initialization list.
  1171. * src/RequestSlot.h
  1172. 2010-03-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1173. Added Time global::wallclock to cache "current time" to reduce the
  1174. call gettimeofday(). Global variables are now in namespace global.
  1175. * src/AbstractCommand.cc
  1176. * src/ActivePeerConnectionCommand.cc
  1177. * src/AdaptiveURISelector.cc
  1178. * src/BtLeecherStateChoke.cc
  1179. * src/BtLeecherStateChoke.h
  1180. * src/BtSeederStateChoke.cc
  1181. * src/BtSeederStateChoke.h
  1182. * src/BtStopDownloadCommand.cc
  1183. * src/ConsoleStatCalc.cc
  1184. * src/DHTBucket.cc
  1185. * src/DHTGetPeersCommand.cc
  1186. * src/DHTMessageTrackerEntry.cc
  1187. * src/DHTNode.cc
  1188. * src/DHTPeerAnnounceEntry.cc
  1189. * src/DHTPeerAnnounceStorage.cc
  1190. * src/DHTSetup.cc
  1191. * src/DefaultBtAnnounce.cc
  1192. * src/DefaultBtInteractive.cc
  1193. * src/DefaultBtMessageDispatcher.cc
  1194. * src/DefaultPeerStorage.cc
  1195. * src/DefaultPieceStorage.cc
  1196. * src/DownloadCommand.cc
  1197. * src/DownloadEngine.cc
  1198. * src/FileEntry.cc
  1199. * src/HttpServerBodyCommand.cc
  1200. * src/HttpServerCommand.cc
  1201. * src/HttpServerResponseCommand.cc
  1202. * src/LpdMessageDispatcher.cc
  1203. * src/MultiUrlRequestInfo.cc
  1204. * src/Peer.cc
  1205. * src/Peer.h
  1206. * src/PeerAbstractCommand.cc
  1207. * src/PeerStat.h
  1208. * src/RequestSlot.cc
  1209. * src/RequestSlot.h
  1210. * src/SegmentMan.cc
  1211. * src/ServerStatMan.cc
  1212. * src/SleepCommand.cc
  1213. * src/SpeedCalc.cc
  1214. * src/SpeedCalc.h
  1215. * src/TimeA2.cc
  1216. * src/TimeA2.h
  1217. * src/TimeBasedCommand.cc
  1218. * src/TimeSeedCriteria.h
  1219. * src/UTMetadataRequestTracker.h
  1220. * src/UTPexExtensionMessage.cc
  1221. * src/wallclock.h
  1222. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1223. Fixed the bug that util::itos(INT64_MIN) fails.
  1224. * src/util.cc
  1225. * src/util.h
  1226. * test/UtilTest.cc
  1227. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1228. Fixed memory leak in SocketBuffer when _bufq is not empty when
  1229. SocketBuffer is deleted. Added BufEntry constructor and deleted
  1230. static factory functions.
  1231. * src/SocketBuffer.cc
  1232. * src/SocketBuffer.h
  1233. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1234. Only execute RequestGroupMan::fillRequestGroupFromReserver() when
  1235. queue maintenance is requested by RequestGroup to avoid to call
  1236. the function unnecessarily.
  1237. * src/FillRequestGroupCommand.cc
  1238. * src/RequestGroup.cc
  1239. * src/RequestGroup.h
  1240. * src/RequestGroupMan.cc
  1241. * src/RequestGroupMan.h
  1242. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1243. Don't use hash for Peer::id. Simple concatenation of ip address
  1244. and port is enough.
  1245. * src/Peer.cc
  1246. * test/PeerTest.cc
  1247. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1248. Enclosed log of DHTMessage::toString() with Logger::info().
  1249. * src/DHTMessageDispatcherImpl.cc
  1250. * src/DHTMessageReceiver.cc
  1251. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1252. Rewritten util::toHex().
  1253. * src/util.cc
  1254. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1255. Removed SocketBuffer::feedAndSend(). Renamed
  1256. SocketBuffer::feedSendBuffer() as SocketBuffer::pushStr().
  1257. * src/FtpConnection.cc
  1258. * src/HttpConnection.cc
  1259. * src/HttpServer.cc
  1260. * src/MSEHandshake.cc
  1261. * src/PeerConnection.cc
  1262. * src/SocketBuffer.cc
  1263. * src/SocketBuffer.h
  1264. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1265. Removed unused PeerConnection::sendMessage(). Updated doc.
  1266. * src/PeerConnection.cc
  1267. * src/PeerConnection.h
  1268. 2010-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1269. Reduced copying/std::string instantiation in sending/receiving
  1270. BitTorrent messages.
  1271. * src/BtBitfieldMessage.cc
  1272. * src/BtBitfieldMessage.h
  1273. * src/BtExtendedMessage.cc
  1274. * src/BtExtendedMessage.h
  1275. * src/BtHandshakeMessage.cc
  1276. * src/BtHandshakeMessage.h
  1277. * src/BtKeepAliveMessage.cc
  1278. * src/BtKeepAliveMessage.h
  1279. * src/BtPieceMessage.cc
  1280. * src/BtPieceMessage.h
  1281. * src/BtPortMessage.cc
  1282. * src/BtPortMessage.h
  1283. * src/BtUnchokeMessage.h
  1284. * src/DefaultBtMessageReceiver.cc
  1285. * src/IndexBtMessage.cc
  1286. * src/IndexBtMessage.h
  1287. * src/PeerConnection.cc
  1288. * src/PeerConnection.h
  1289. * src/RangeBtMessage.cc
  1290. * src/RangeBtMessage.h
  1291. * src/SimpleBtMessage.cc
  1292. * src/SimpleBtMessage.h
  1293. * src/SocketBuffer.cc
  1294. * src/SocketBuffer.h
  1295. * src/ZeroBtMessage.cc
  1296. * src/ZeroBtMessage.h
  1297. * test/BtAllowedFastMessageTest.cc
  1298. * test/BtBitfieldMessageTest.cc
  1299. * test/BtCancelMessageTest.cc
  1300. * test/BtChokeMessageTest.cc
  1301. * test/BtExtendedMessageTest.cc
  1302. * test/BtHandshakeMessageTest.cc
  1303. * test/BtHaveAllMessageTest.cc
  1304. * test/BtHaveMessageTest.cc
  1305. * test/BtHaveNoneMessageTest.cc
  1306. * test/BtInterestedMessageTest.cc
  1307. * test/BtKeepAliveMessageTest.cc
  1308. * test/BtNotInterestedMessageTest.cc
  1309. * test/BtPieceMessageTest.cc
  1310. * test/BtPortMessageTest.cc
  1311. * test/BtRejectMessageTest.cc
  1312. * test/BtRequestMessageTest.cc
  1313. * test/BtSuggestPieceMessageTest.cc
  1314. * test/BtUnchokeMessageTest.cc
  1315. 2010-03-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1316. Rewritten SocketBuffer. Old implementation uses single std::string
  1317. to store data and erase sent data, which is costly. New
  1318. implementation uses deque to hold each data to avoid to mutate
  1319. string.
  1320. * src/SocketBuffer.cc
  1321. * src/SocketBuffer.h
  1322. 2010-03-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1323. Removed unused FileEntry::extracted
  1324. * src/FileEntry.cc
  1325. * src/FileEntry.h
  1326. 2010-03-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1327. Wait until data arrives.
  1328. * test/LpdMessageReceiverTest.cc
  1329. 2010-03-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1330. In Metalink4, if size element contains invalid size, discard whole
  1331. document. Added strict hash value check for metalink3/4.
  1332. * src/MetalinkParserController.cc
  1333. * src/MetalinkParserStateMachine.cc
  1334. * src/MetalinkParserStateMachine.h
  1335. * src/MetalinkParserStateV3Impl.cc
  1336. * src/MetalinkParserStateV4Impl.cc
  1337. * src/util.cc
  1338. * src/util.h
  1339. * test/MetalinkParserControllerTest.cc
  1340. * test/MetalinkProcessorTest.cc
  1341. * test/metalink4.xml
  1342. 2010-03-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1343. Added strict attribute validation for metalink4. When
  1344. specification violation is found, discard the whole document.
  1345. * src/ExpatMetalinkProcessor.cc
  1346. * src/MetalinkParserStateMachine.cc
  1347. * src/MetalinkParserStateMachine.h
  1348. * src/MetalinkParserStateV4Impl.cc
  1349. * src/XML2SAXMetalinkProcessor.cc
  1350. * test/Makefile.am
  1351. * test/MetalinkProcessorTest.cc
  1352. * test/metalink4-attrs.xml: Removed
  1353. * test/metalink4-dirtraversal.xml: Removed
  1354. 2010-03-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1355. Added test for Metaurl transaction.
  1356. * src/MetalinkParserController.cc
  1357. * test/MetalinkParserControllerTest.cc
  1358. 2010-03-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1359. Avoid costly BtMessage::toString() if info level log is not
  1360. required.
  1361. * src/DefaultBtInteractive.cc
  1362. * src/Logger.h
  1363. * src/SimpleBtMessage.cc
  1364. 2010-03-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1365. Reserved vector elements based on profiler results.
  1366. * src/DefaultBtInteractive.cc
  1367. * src/DefaultBtProgressInfoFile.cc
  1368. 2010-03-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1369. Avoid to calculate end() iterator in each loop. std::deque is
  1370. particularly slow. Make sure that recalculate end iterator if
  1371. element is erased during loop.
  1372. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1373. Use vector instead of deque for containers which is used for
  1374. mostly read-only purpose.
  1375. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1376. Fixed typo
  1377. * test/Makefile.am
  1378. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1379. Added metalink4-groupbymetaurl.xml to EXTRA_DIST
  1380. * test/Makefile.am
  1381. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1382. Small optimization: In updateTransferStatFor(), don't search peer
  1383. ID twice.
  1384. * src/DefaultPeerStorage.cc
  1385. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1386. Use vector instead of deque for MetalinkEntry and MetalinkResource
  1387. objects.
  1388. * src/Metalink2RequestGroup.cc
  1389. * src/Metalink2RequestGroup.h
  1390. * src/MetalinkEntry.cc
  1391. * src/MetalinkEntry.h
  1392. * src/MetalinkHelper.cc
  1393. * src/MetalinkHelper.h
  1394. * src/Metalinker.cc
  1395. * src/Metalinker.h
  1396. * src/main.cc
  1397. * test/MetalinkEntryTest.cc
  1398. * test/MetalinkHelperTest.cc
  1399. * test/MetalinkProcessorTest.cc
  1400. * test/MetalinkerTest.cc
  1401. 2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1402. Fixed the bug that grouped FileEntry objects are not used but
  1403. instead all FileEntry objects are used for each metaurl group.
  1404. * src/Metalink2RequestGroup.cc
  1405. * test/Metalink2RequestGroupTest.cc
  1406. * test/metalink4-groupbymetaurl.xml
  1407. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1408. Use vector instead of deque for ChunkChecksum.
  1409. * src/ChunkChecksum.h
  1410. * src/MetalinkParserController.cc
  1411. * src/MetalinkParserController.h
  1412. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1413. Added MessageDigest::isStronger(). Now aria2 selects stronger hash
  1414. algorithm in Metalink properly
  1415. * src/MetalinkParserController.cc
  1416. * src/MetalinkParserController.h
  1417. * src/messageDigest.cc
  1418. * src/messageDigest.h
  1419. * test/MetalinkProcessorTest.cc
  1420. * test/metalink4.xml
  1421. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1422. Replaced null or control characters in file path with '_'. For
  1423. MinGW32 build, additional characters which is not allowed in
  1424. Windows kernel are also replaced. util::detectDirTraversal() now
  1425. returns true if given string contains null or control characters.
  1426. * src/DownloadContext.cc
  1427. * src/DownloadContext.h
  1428. * src/Metalink2RequestGroup.cc
  1429. * src/MetalinkParserController.cc
  1430. * src/bittorrent_helper.cc
  1431. * src/util.cc
  1432. * src/util.h
  1433. * test/UtilTest.cc
  1434. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1435. Discard metalink:file if its name attribute is empty string.
  1436. Removed FileEntry instantiation in
  1437. MetalinkParserController::setFileLengthOfEntry()
  1438. * src/MetalinkParserController.cc
  1439. * src/MetalinkParserStateV3Impl.cc
  1440. * src/MetalinkParserStateV4Impl.cc
  1441. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1442. Discard torrent file if path data in it contains directory
  1443. traversal directives. Discard metalink:file element in Metalink3
  1444. format if its name attribute contains directory traversal
  1445. directives. Ignore name attribute of metalink:signature element
  1446. in Metalink3 format if it contains directory traversal directives.
  1447. * src/MetalinkParserStateV3Impl.cc
  1448. * src/bittorrent_helper.cc
  1449. * src/message.h
  1450. * test/BittorrentHelperTest.cc
  1451. * test/Makefile.am
  1452. * test/MetalinkProcessorTest.cc
  1453. * test/metalink3-dirtraversal.xml
  1454. * test/test.xml
  1455. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1456. Removed useless comment
  1457. * src/MetalinkParserStateV4Impl.cc
  1458. 2010-02-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1459. Supported name attribute of metalink::metaurl element and
  1460. multi-file torrent with Metalink4. Files with same metaurl are
  1461. grouped and downloaded in one RequestGroup.
  1462. * src/BtDependency.cc
  1463. * src/FileEntry.h
  1464. * src/Metalink2RequestGroup.cc
  1465. * src/Metalink2RequestGroup.h
  1466. * src/MetalinkEntry.cc
  1467. * src/MetalinkEntry.h
  1468. * src/MetalinkHelper.cc
  1469. * src/MetalinkHelper.h
  1470. * src/MetalinkMetaurl.cc
  1471. * src/MetalinkMetaurl.h
  1472. * src/MetalinkParserController.cc
  1473. * src/RequestGroup.cc
  1474. * src/RequestGroup.h
  1475. * src/bittorrent_helper.cc
  1476. * test/BittorrentHelperTest.cc
  1477. * test/BtDependencyTest.cc
  1478. * test/MetalinkHelperTest.cc
  1479. 2010-02-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1480. Store name attribute of metalink:metaurl element in MetalinkMetaurl.
  1481. * src/MetalinkMetaurl.h
  1482. * src/MetalinkParserController.cc
  1483. * src/MetalinkParserController.h
  1484. * src/MetalinkParserStateMachine.cc
  1485. * src/MetalinkParserStateMachine.h
  1486. * src/MetalinkParserStateV4Impl.cc
  1487. * test/MetalinkProcessorTest.cc
  1488. * test/metalink4-dirtraversal.xml
  1489. 2010-02-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1490. Added MetalinkMetaurl class. It corresponds to metalink:metaurl
  1491. element.
  1492. * src/Makefile.am
  1493. * src/Metalink2RequestGroup.cc
  1494. * src/MetalinkEntry.cc
  1495. * src/MetalinkEntry.h
  1496. * src/MetalinkMetaurl.cc
  1497. * src/MetalinkMetaurl.h
  1498. * src/MetalinkParserController.cc
  1499. * src/MetalinkParserController.h
  1500. * src/MetalinkParserStateMachine.cc
  1501. * src/MetalinkParserStateMachine.h
  1502. * src/MetalinkParserStateV4Impl.cc
  1503. * src/MetalinkParserStateV4Impl.h
  1504. * test/MetalinkProcessorTest.cc
  1505. 2010-02-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1506. Added Metalink4 support. Currently, name attribute of
  1507. metalink::metaurl is ignored and multi-file torrent cannot be used
  1508. with Metalink4.
  1509. * doc/aria2c.1.txt
  1510. * src/DownloadHandlerConstants.cc
  1511. * src/ExpatMetalinkProcessor.cc
  1512. * src/Makefile.am
  1513. * src/Metalink2RequestGroup.cc
  1514. * src/MetalinkEntry.cc
  1515. * src/MetalinkEntry.h
  1516. * src/MetalinkParserController.cc
  1517. * src/MetalinkParserController.h
  1518. * src/MetalinkParserState.h
  1519. * src/MetalinkParserStateImpl.cc
  1520. * src/MetalinkParserStateImpl.h
  1521. * src/MetalinkParserStateMachine.cc
  1522. * src/MetalinkParserStateMachine.h
  1523. * src/MetalinkParserStateV3Impl.cc
  1524. * src/MetalinkParserStateV3Impl.h
  1525. * src/MetalinkParserStateV4Impl.cc
  1526. * src/MetalinkParserStateV4Impl.h
  1527. * src/MetalinkResource.cc
  1528. * src/MetalinkResource.h
  1529. * src/Metalinker.cc
  1530. * src/RequestGroup.cc
  1531. * src/RequestGroup.h
  1532. * src/XML2SAXMetalinkProcessor.cc
  1533. * src/messageDigest.cc
  1534. * src/util.cc
  1535. * src/util.h
  1536. * test/Makefile.am
  1537. * test/MetalinkEntryTest.cc
  1538. * test/MetalinkParserControllerTest.cc
  1539. * test/MetalinkProcessorTest.cc
  1540. * test/MetalinkerTest.cc
  1541. * test/UtilTest.cc
  1542. * test/metalink4-attrs.xml
  1543. * test/metalink4-dirtraversal.xml
  1544. * test/metalink4.xml
  1545. 2010-02-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1546. Added aiFlags argument to getInterfaceAddress(). Use
  1547. AI_NUMERICHOST to find interface specified using
  1548. --bt-lpd-interface option to avoid time-consuming address lookup.
  1549. * src/BtSetup.cc
  1550. * src/SocketCore.cc
  1551. * src/SocketCore.h
  1552. 2010-02-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1553. Return SharedHandle<LpdMessage>(new LpdMessage()) if received data
  1554. is bad in LpdMessageReceiver.
  1555. * src/LpdMessage.h
  1556. * src/LpdMessageReceiver.cc
  1557. * src/LpdMessageReceiver.h
  1558. * src/LpdReceiveMessageCommand.cc
  1559. * test/LpdMessageReceiverTest.cc
  1560. 2010-02-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1561. Added --bt-lpd-interface option to specify the interface to use
  1562. for Local Peer Discovery. LpdMessageDispatcher object now has its
  1563. own socket. LpdMessageReceiver's socket is binded to multicast
  1564. address to only receive multicast packets.
  1565. * src/BtSetup.cc
  1566. * src/LpdMessageDispatcher.cc
  1567. * src/LpdMessageDispatcher.h
  1568. * src/LpdMessageReceiver.cc
  1569. * src/LpdMessageReceiver.h
  1570. * src/LpdReceiveMessageCommand.cc
  1571. * src/LpdReceiveMessageCommand.h
  1572. * src/OptionHandlerFactory.cc
  1573. * src/SocketCore.cc
  1574. * src/SocketCore.h
  1575. * src/prefs.cc
  1576. * src/prefs.h
  1577. * src/usage_text.h
  1578. * test/LpdMessageDispatcherTest.cc
  1579. * test/LpdMessageReceiverTest.cc
  1580. 2010-02-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1581. Put the portion of code to get interface addresses in
  1582. SocketCore::bindAddress() into newly added getInterfaceAddress().
  1583. * src/SocketCore.cc
  1584. * src/SocketCore.h
  1585. 2010-02-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1586. Rewritten util::parseInt() and parseUInt()
  1587. * src/util.cc
  1588. 2010-02-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1589. Fixed compile error with mingw32 cross compiler. Defined
  1590. a2_sockopt_t as void* for the target systems other than mingw32.
  1591. * src/SocketCore.cc
  1592. * src/a2netcompat.h
  1593. 2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1594. Removed 'always true' condition
  1595. * src/util.cc
  1596. 2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1597. Documented --bt-enable-lpd option in man page.
  1598. * doc/aria2c.1.txt
  1599. 2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1600. Added Local Peer Discovery. It is disabled by default. Use
  1601. --bt-enable-lpd to enable the function.
  1602. * src/BtConstants.h
  1603. * src/BtSetup.cc
  1604. * src/LpdDispatchMessageCommand.cc
  1605. * src/LpdDispatchMessageCommand.h
  1606. * src/LpdMessage.h
  1607. * src/LpdMessageDispatcher.cc
  1608. * src/LpdMessageDispatcher.h
  1609. * src/LpdMessageReceiver.cc
  1610. * src/LpdMessageReceiver.h
  1611. * src/LpdReceiveMessageCommand.cc
  1612. * src/LpdReceiveMessageCommand.h
  1613. * src/Makefile.am
  1614. * src/OptionHandlerFactory.cc
  1615. * src/Peer.cc
  1616. * src/Peer.h
  1617. * src/PeerInteractionCommand.cc
  1618. * src/SocketCore.cc
  1619. * src/SocketCore.h
  1620. * src/prefs.cc
  1621. * src/prefs.h
  1622. * src/usage_text.h
  1623. * src/util.cc
  1624. * src/util.h
  1625. * test/LpdMessageDispatcherTest.cc
  1626. * test/LpdMessageReceiverTest.cc
  1627. * test/Makefile.am
  1628. 2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1629. User-defined custom request headers specified by --header option
  1630. now override builtin headers if they have same name.
  1631. * src/HttpRequest.cc
  1632. * src/HttpRequest.h
  1633. * test/HttpRequestTest.cc
  1634. 2010-02-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1635. Rewirtten util::isNumber()
  1636. * src/util.cc
  1637. 2010-02-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1638. Reverted changes in r1893. setlocale(LC_CTYPE, "") is needed
  1639. because without it localized error messages are not printed
  1640. correctly.
  1641. * src/Platform.cc
  1642. 2010-02-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1643. Added unit tests for util::getContentDispositionFilename() from
  1644. http://greenbytes.de/tech/tc2231/ Fixed the function so that added
  1645. tests are passed.
  1646. * src/util.cc
  1647. * test/UtilTest.cc
  1648. 2010-02-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1649. Removed setlocale() for LC_CTYPE. It may affect isxdigit in
  1650. util.cc
  1651. * src/Platform.cc
  1652. 2010-02-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1653. Support RFC2231 "Parameter Value Character Set and Language
  1654. Information" in Content-Disposition header.
  1655. * src/HttpResponse.cc
  1656. * src/util.cc
  1657. * src/util.h
  1658. * test/UtilTest.cc
  1659. 2010-02-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1660. Print CXXFLAGS
  1661. * configure.ac
  1662. 2010-02-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1663. Small optimization for A2_WOULDBLOCK(e)
  1664. * src/SocketCore.cc
  1665. 2010-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1666. Removed test file
  1667. * test/CookieStorageTest.cc
  1668. 2010-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1669. Check both EAGAIN and EWOULDBLOCK
  1670. * src/SocketCore.cc
  1671. 2010-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1672. Removed ret == 0 checking for SSL_read(), SSL_write() and
  1673. SSL_peek() because the checks are done in the caller. In
  1674. SocketBuffer::send(), throw exception if nothing could be written
  1675. and socket error was not EWOULDBLOCK
  1676. * src/SocketBuffer.cc
  1677. * src/SocketCore.cc
  1678. 2010-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1679. Fixed error code handling so that it can handle Winsock2 error
  1680. code.
  1681. * src/SocketCore.cc
  1682. * src/SocketCore.h
  1683. 2010-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1684. Bump up version number to 1.9.0a
  1685. * configure.ac
  1686. * doc/aria2c.1.txt
  1687. 2010-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1688. Fixed the bug that aria2 doesn't handle return value if error
  1689. occurred before download begins.
  1690. * src/MultiUrlRequestInfo.cc
  1691. * src/main.cc
  1692. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1693. Removed SegmentManFactory class.
  1694. * src/AbstractSegmentManFactory.h
  1695. * src/DefaultSegmentManFactory.cc
  1696. * src/DefaultSegmentManFactory.h
  1697. * src/Makefile.am
  1698. * src/RequestGroup.cc
  1699. * src/RequestGroup.h
  1700. * src/SegmentManFactory.h
  1701. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1702. Destroyed digest context after getting calculated hash.
  1703. * src/Piece.cc
  1704. * src/Piece.h
  1705. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1706. Removed BitfieldManFactory class.
  1707. * src/BitfieldManFactory.cc
  1708. * src/BitfieldManFactory.h
  1709. * src/DefaultPieceStorage.cc
  1710. * src/Makefile.am
  1711. * src/PeerSessionResource.cc
  1712. * src/Piece.cc
  1713. * src/main.cc
  1714. * test/DefaultPieceStorageTest.cc
  1715. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1716. Removed unused methods from BitfieldMan class. Moved
  1717. getFirstMissingIndex to bitfield.h. Updated doc for BitfieldMan
  1718. class.
  1719. * src/BitfieldMan.cc
  1720. * src/BitfieldMan.h
  1721. * src/BitfieldManFactory.cc
  1722. * src/BitfieldManFactory.h
  1723. * src/bitfield.h
  1724. * src/main.cc
  1725. * test/BitfieldManTest.cc
  1726. * test/DefaultPieceStorageTest.cc
  1727. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1728. Moved getFirstNMissingIndex to bitfield.h and made it return the
  1729. number of appended indexes.
  1730. * src/BitfieldMan.cc
  1731. * src/BitfieldMan.h
  1732. * src/Piece.cc
  1733. * src/Piece.h
  1734. * src/bitfield.h
  1735. * test/BitfieldManTest.cc
  1736. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1737. Added more tests.
  1738. * test/BitfieldManTest.cc
  1739. 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1740. Added BitfieldMan::getFirstNMissingUnusedIndex() to get multiple
  1741. unused block indexes at once instead of calling
  1742. getFirstMissingUnusedIndex() multiple times. Made use of it in
  1743. Piece class and DefaultBtRequestFactory class via Piece class.
  1744. * src/BitfieldMan.cc
  1745. * src/BitfieldMan.h
  1746. * src/DefaultBtRequestFactory.cc
  1747. * src/Piece.cc
  1748. * src/Piece.h
  1749. * test/BitfieldManTest.cc
  1750. 2010-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1751. Use std::make_pair(...)
  1752. * src/DHTMessageTracker.cc
  1753. 2010-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1754. Use std::make_pair(...)
  1755. * src/bittorrent_helper.cc
  1756. 2010-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1757. urlencode(removeFragment(...)) in parseUrl(...)
  1758. * src/Request.cc
  1759. 2010-02-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1760. Wrapped logger->debug(...) with if(logger->debug()) { ... }
  1761. * src/AbstractCommand.cc
  1762. * src/AdaptiveURISelector.cc
  1763. * src/BtPieceMessage.cc
  1764. * src/BtPortMessage.cc
  1765. * src/CreateRequestCommand.cc
  1766. * src/DHTAbstractNodeLookupTask.cc
  1767. * src/DHTBucket.cc
  1768. * src/DHTGetPeersCommand.cc
  1769. * src/DHTMessageDispatcherImpl.cc
  1770. * src/DHTMessageFactoryImpl.cc
  1771. * src/DHTMessageTracker.cc
  1772. * src/DHTPeerAnnounceStorage.cc
  1773. * src/DHTRoutingTable.cc
  1774. * src/DHTSetup.cc
  1775. * src/DefaultBtAnnounce.cc
  1776. * src/DefaultBtInteractive.cc
  1777. * src/DefaultBtMessageDispatcher.cc
  1778. * src/DefaultBtMessageReceiver.cc
  1779. * src/DefaultBtProgressInfoFile.cc
  1780. * src/DefaultBtRequestFactory.cc
  1781. * src/DefaultPeerStorage.cc
  1782. * src/DefaultPieceStorage.cc
  1783. * src/DownloadCommand.cc
  1784. * src/DownloadEngine.cc
  1785. * src/EpollEventPoll.cc
  1786. * src/FileAllocationCommand.cc
  1787. * src/FileEntry.cc
  1788. * src/FtpNegotiationCommand.cc
  1789. * src/HandshakeExtensionMessage.cc
  1790. * src/HttpListenCommand.cc
  1791. * src/HttpServer.cc
  1792. * src/HttpSkipResponseCommand.cc
  1793. * src/IteratableChunkChecksumValidator.cc
  1794. * src/Logger.h
  1795. * src/MSEHandshake.cc
  1796. * src/MetalinkPostDownloadHandler.cc
  1797. * src/MultiDiskAdaptor.cc
  1798. * src/PeerAbstractCommand.cc
  1799. * src/PeerConnection.cc
  1800. * src/PeerListenCommand.cc
  1801. * src/PeerReceiveHandshakeCommand.cc
  1802. * src/RequestGroup.cc
  1803. * src/RequestGroupMan.cc
  1804. * src/SegmentMan.cc
  1805. * src/SelectEventPoll.cc
  1806. * src/ServerStat.cc
  1807. * src/SimpleBtMessage.cc
  1808. * src/SocketCore.cc
  1809. * src/TrackerWatcherCommand.cc
  1810. * src/UTMetadataDataExtensionMessage.cc
  1811. * src/UTMetadataRequestFactory.cc
  1812. * src/UTMetadataRequestTracker.cc
  1813. * src/XmlRpcMethod.cc
  1814. 2010-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1815. Changed log level from debug to info
  1816. * src/BtDependency.cc
  1817. * src/BtPostDownloadHandler.cc
  1818. 2010-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1819. Removed unused PeerSessionResource::_latency.
  1820. * src/BtConstants.h
  1821. * src/BtPieceMessage.cc
  1822. * src/Peer.cc
  1823. * src/Peer.h
  1824. * src/PeerSessionResource.cc
  1825. * src/PeerSessionResource.h
  1826. * test/PeerSessionResourceTest.cc
  1827. 2010-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1828. Fixed the bug that --file-allocation=falloc doesn't work with
  1829. single file download.
  1830. * src/AbstractSingleDiskAdaptor.cc
  1831. 2010-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1832. Release 1.8.2
  1833. 2010-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1834. Added Portuguese translation. Updated Ukrainian and Spanish
  1835. translation. Thanks to all translators.
  1836. * po/LINGUAS
  1837. * po/es.po
  1838. * po/pt.po
  1839. * po/uk.po
  1840. 2010-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1841. Remove fragment from redirected URI.
  1842. * src/Request.cc
  1843. * test/RequestTest.cc
  1844. 2010-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1845. Updated po templates.
  1846. * po/aria2.pot
  1847. 2010-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1848. Drop legacy ifdef for ares support and code cleanup.
  1849. * src/AsyncNameResolver.cc
  1850. * src/AsyncNameResolver.h
  1851. 2010-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1852. Call ares_library_init and ares_library_cleanup if they are
  1853. available. Some code cleanups.
  1854. * src/Platform.cc
  1855. 2010-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1856. Call ares_process_fd() each time after epoll to handle timeout.
  1857. * src/EpollEventPoll.cc
  1858. * src/EpollEventPoll.h
  1859. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1860. Suppressed type-cast compiler warning
  1861. * src/CookieStorage.cc
  1862. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1863. Fixed compile error on Mac OS X.
  1864. * src/CookieStorage.h
  1865. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1866. Removed cookietest.txt from Makefile.am
  1867. * test/Makefile.am
  1868. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1869. Updated version number in man page.
  1870. * doc/aria2c.1.txt
  1871. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1872. Rewritten help message for --allow-overwrite option.
  1873. * doc/aria2c.1.txt
  1874. * src/usage_text.h
  1875. 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1876. Added bittorrent key to the response of tellStatus XML-RPC method.
  1877. The associated value of the key is a struct and contains data
  1878. retrieved from .torrent file, such as name, announce-list,
  1879. comment, etc.
  1880. * doc/aria2c.1.txt
  1881. * src/XmlRpcMethodImpl.cc
  1882. * src/XmlRpcMethodImpl.h
  1883. * test/XmlRpcMethodTest.cc
  1884. 2010-01-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1885. Removed parse(std::istream&) and parse(const std::string&) from
  1886. CookieParser.
  1887. * src/CookieParser.cc
  1888. * src/CookieParser.h
  1889. * test/CookieParserTest.cc
  1890. * test/cookietest.txt: Removed
  1891. 2010-01-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1892. Fixed the bug that cookie for domain a.b.c is not sent to the host
  1893. a.b.c if no other cookies are stored. Fixed the bug that
  1894. Cookie::markOriginServerOnly() is not called when cookies are
  1895. loaded from file/sqlite3 database.
  1896. * src/Cookie.h
  1897. * src/CookieStorage.cc
  1898. * src/NsCookieParser.cc
  1899. * src/Sqlite3MozCookieParser.cc
  1900. * test/CookieStorageTest.cc
  1901. * test/NsCookieParserTest.cc
  1902. * test/Sqlite3MozCookieParserTest.cc
  1903. * test/cookies.sqlite
  1904. * test/nscookietest.txt
  1905. 2010-01-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1906. Removed RequestGroup::initSegmentMan(). Guaranteed that either
  1907. both _pieceStorage and _segmentMan are initialized or they are
  1908. not.
  1909. * src/RequestGroup.cc
  1910. * src/RequestGroup.h
  1911. * test/BtDependencyTest.cc
  1912. 2010-01-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1913. Bump up version number to 1.8.2
  1914. * configure.ac
  1915. 2010-01-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1916. Replaced "." with A2STR::DOT_C
  1917. * src/AbstractCommand.cc
  1918. * src/Cookie.cc
  1919. * src/DownloadContext.cc
  1920. * src/FtpConnection.cc
  1921. * src/RequestGroup.cc
  1922. * src/util.cc
  1923. 2010-01-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1924. Replaced isNumberAndDotsNotation() with isNumericHost().
  1925. isNumericHost() can handle IPv6 address.
  1926. * src/Cookie.cc
  1927. * src/CookieStorage.cc
  1928. * src/util.cc
  1929. * src/util.h
  1930. * test/CookieTest.cc
  1931. * test/UtilTest.cc
  1932. 2010-01-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1933. Included A2STR.h
  1934. * src/CookieStorage.cc
  1935. 2010-01-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1936. Rewritten Cookie storage.
  1937. * src/Cookie.cc
  1938. * src/Cookie.h
  1939. * src/CookieParser.cc
  1940. * src/CookieStorage.cc
  1941. * src/CookieStorage.h
  1942. * src/a2functional.h
  1943. * test/CookieParserTest.cc
  1944. * test/CookieStorageTest.cc
  1945. * test/CookieTest.cc
  1946. * test/HttpResponseTest.cc
  1947. * test/TestUtil.h
  1948. * test/a2functionalTest.cc
  1949. 2010-01-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1950. Handle redirected URI which is not properly percent encoded.
  1951. * src/Request.cc
  1952. * test/RequestTest.cc
  1953. 2010-01-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1954. Fixed the bug that causes segmentaiton fault when aria2 sees '404
  1955. not found' in the N times(N is where --max-file-not-found=N, N>0)
  1956. in a row without single '200 OK' response.
  1957. * src/RequestGroup.cc.
  1958. 2010-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1959. Fixed compile error with i586-mingw32msvc-g++. Always Cut console
  1960. readout by 80 characters in mingw32 build. Catch exception in
  1961. DHTMessageReceiver::receiveMessage().
  1962. * src/AbstractDiskWriter.cc
  1963. * src/ConsoleStatCalc.cc
  1964. * src/DHTMessageReceiver.cc
  1965. * src/File.cc
  1966. * src/RequestGroupMan.cc
  1967. * src/a2io.h
  1968. * test/FileTest.cc
  1969. 2010-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1970. Fixed compile error with intel compiler
  1971. * src/XmlRpcMethodImpl.cc
  1972. * src/XmlRpcMethodImpl.h
  1973. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1974. Release 1.8.1
  1975. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1976. Updated Swedish, Russian and Italian translations. Thanks to all
  1977. translators.
  1978. * po/it.po
  1979. * po/ru.po
  1980. * po/sv.po
  1981. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1982. Fixed broken OptionParser::findByName().
  1983. * src/OptionParser.cc
  1984. * test/OptionParserTest.cc
  1985. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1986. Fixed test error without BitTorrent support.
  1987. * test/XmlRpcMethodTest.cc
  1988. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1989. Fixed compile error without GNUTLS/OpenSSL.
  1990. * src/util.cc
  1991. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1992. Changed compression level to Z_DEFAULT_COMPRESSION.
  1993. * src/GZipEncoder.cc
  1994. 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1995. Added missing command line options: --http-no-cache,
  1996. --bt-save-metadata and --bt-metadata-only.
  1997. * doc/xmlrpc/aria2rpc
  1998. 2010-01-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  1999. aria2 now returns gzip compressed XML-RPC response if XML-RPC
  2000. client accepts gzip content encoding.
  2001. * src/A2STR.cc
  2002. * src/A2STR.h
  2003. * src/GZipEncoder.cc
  2004. * src/GZipEncoder.h
  2005. * src/HttpHeader.cc
  2006. * src/HttpHeader.h
  2007. * src/HttpServer.cc
  2008. * src/HttpServer.h
  2009. * src/HttpServerBodyCommand.cc
  2010. * src/HttpServerCommand.cc
  2011. * src/Makefile.am
  2012. * src/XmlRpcResponse.cc
  2013. * src/XmlRpcResponse.h
  2014. * test/GZipEncoderTest.cc
  2015. * test/Makefile.am
  2016. 2010-01-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2017. Added XML-RPC client sample code in Python.
  2018. * doc/aria2c.1.txt
  2019. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2020. Updated po templates.
  2021. * po/aria2.pot
  2022. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2023. Bump up version number to 1.8.1
  2024. * configure.ac
  2025. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2026. Added version number to man page. Updated copyright year in man
  2027. page.
  2028. * doc/aria2c.1.txt
  2029. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2030. Rewritten toTagString
  2031. * src/NameMatchOptionHandler.cc
  2032. * test/OptionHandlerTest.cc
  2033. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2034. Added dir and files key to the response struct of aria2.tellStatus
  2035. XML-RPC method. The value associated with files key is the list
  2036. of files. Its element is the same struct used in aria2.getFiles
  2037. XML-RPC method. Added uris key to the response struct of
  2038. aria2.getFiles XML-RPC method. The value associated with uris key
  2039. is the list of URIs. Its element is the same struct used in
  2040. aria2.getUris XML-RPC method.
  2041. * doc/aria2c.1.txt
  2042. * src/XmlRpcMethodImpl.cc
  2043. * test/XmlRpcMethodTest.cc
  2044. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2045. Added aria2.getSessionInfo XML-RPC method. This method returns a
  2046. struct containing Session ID, which is generated each time when
  2047. aria2 is invoked.
  2048. * doc/aria2c.1.txt
  2049. * doc/xmlrpc/aria2rpc
  2050. * src/DownloadEngine.cc
  2051. * src/DownloadEngine.h
  2052. * src/XmlRpcMethodFactory.cc
  2053. * src/XmlRpcMethodImpl.cc
  2054. * src/XmlRpcMethodImpl.h
  2055. * test/XmlRpcMethodTest.cc
  2056. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2057. Moved generateRandomKey() from bittorrent_helper to util.
  2058. * src/DHTBucket.cc
  2059. * src/DHTNode.cc
  2060. * src/bittorrent_helper.cc
  2061. * src/bittorrent_helper.h
  2062. * src/util.cc
  2063. * src/util.h
  2064. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2065. Updated doc about GID.
  2066. * doc/aria2c.1.txt
  2067. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2068. Now offset argument in aria2.tellWaiting and aria2.tellStopped
  2069. accepts a negative integer. 'offset' == -1 points last download
  2070. in the waiting queue and 'offset' == -2 points the download before
  2071. the last download, and so on. The downloads in the response are in
  2072. reversed order.
  2073. * doc/aria2c.1.txt
  2074. * src/XmlRpcMethodImpl.cc
  2075. * src/XmlRpcMethodImpl.h
  2076. * test/XmlRpcMethodTest.cc
  2077. 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2078. Added --human-readable option. This option, when true is given,
  2079. prints sizes and speed in human readable format(e.g., 1.2Ki,
  2080. 3.4Mi) in the console readout. The default value is true and it
  2081. looks exactly the same as aria2-1.8.0. So the 'new feature'
  2082. appears when false is given. In this case, sizes and speed are
  2083. printed without in bytes. No Ki, Mi units conversion is used.
  2084. This may be useful for a program to parse the output of aria2.
  2085. * doc/aria2c.1.txt
  2086. * src/ConsoleStatCalc.cc
  2087. * src/ConsoleStatCalc.h
  2088. * src/OptionHandlerFactory.cc
  2089. * src/main.cc
  2090. * src/prefs.cc
  2091. * src/prefs.h
  2092. * src/usage_text.h
  2093. 2010-01-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2094. Now --all-proxy, --http-proxy, --https-proxy and --ftp-proxy
  2095. option accepts empty string "". When "" is given, it erases
  2096. previously defined proxy.
  2097. * doc/aria2c.1.txt
  2098. * src/OptionHandlerImpl.h
  2099. * src/usage_text.h
  2100. * test/OptionHandlerTest.cc
  2101. 2010-01-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2102. Code cleanup for proxy URI handling.
  2103. * src/AbstractCommand.cc
  2104. 2010-01-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2105. Added --bt-metadata-only option. If true is given to this option,
  2106. aria2 downloads metadata only. The file(s) described in metadata
  2107. will not be downloaded. This option has effect only when
  2108. BitTorrent Magnet URI is used. See also --bt-save-metadata option.
  2109. * doc/aria2c.1.txt
  2110. * src/OptionHandlerFactory.cc
  2111. * src/UTMetadataPostDownloadHandler.cc
  2112. * src/download_helper.cc
  2113. * src/prefs.cc
  2114. * src/prefs.h
  2115. * src/usage_text.h
  2116. 2010-01-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2117. Fixed memory leak. Commands stored in std::deque<Command*> are not
  2118. deleted when exception is thrown. Make sure that when passing
  2119. std::deque<Command*> to function to store Commands, handle
  2120. exception and delete these Commands.
  2121. * src/AbstractCommand.cc
  2122. * src/CheckIntegrityCommand.cc
  2123. * src/FileAllocationCommand.cc
  2124. * src/RequestGroup.cc
  2125. * src/TrackerWatcherCommand.cc
  2126. 2010-01-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2127. Replaced '/' and '_' with '_' in HTTP/FTP filename.
  2128. * src/A2STR.cc
  2129. * src/A2STR.h
  2130. * src/FtpNegotiationCommand.cc
  2131. * src/HttpResponseCommand.cc
  2132. * src/util.cc
  2133. * src/util.h
  2134. * test/UtilTest.cc
  2135. 2010-01-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2136. Treat --dir="" as --dir="."
  2137. * src/FtpNegotiationCommand.cc
  2138. * src/HttpResponseCommand.cc
  2139. * src/Metalink2RequestGroup.cc
  2140. * src/UTMetadataPostDownloadHandler.cc
  2141. * src/bittorrent_helper.cc
  2142. * src/download_helper.cc
  2143. * src/util.cc
  2144. * src/util.h
  2145. * test/UtilTest.cc
  2146. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2147. Code clean up.
  2148. * src/main.cc
  2149. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2150. Reset GID to 1 when they reach maximum value. Rewritten
  2151. CUIDCounter::newID()
  2152. * src/CUIDCounter.h
  2153. * src/RequestGroup.cc
  2154. * src/RequestGroup.h
  2155. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2156. Documented --http-no-cache option in man page.
  2157. * doc/aria2c.1.txt
  2158. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2159. Added --http-no-cache option. When true is given, aria2 sends
  2160. Cache-Control: no-cache and Pragma: no-cache header to avoid
  2161. cached content. If false is given , these headers are not sent
  2162. and you can add Cache-Control header with a directive you like
  2163. using --header option.
  2164. * src/HttpRequest.cc
  2165. * src/HttpRequest.h
  2166. * src/HttpRequestCommand.cc
  2167. * src/OptionHandlerFactory.cc
  2168. * src/download_helper.cc
  2169. * src/prefs.cc
  2170. * src/prefs.h
  2171. * src/usage_text.h
  2172. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2173. Removed Logger from OptionParser. When OptionParser is used to
  2174. parse options at bootstrap, LogFactory is not configured yet
  2175. properly. When LogFactory is used in OptionParser, it initializes
  2176. itself to return a logger which has no ability to write log to the
  2177. disk.
  2178. * src/OptionParser.cc
  2179. * src/OptionParser.h
  2180. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2181. Added following sentance to the help message of --out option:
  2182. --out option is ignored when -Z is used.
  2183. * doc/aria2c.1.txt
  2184. * src/usage_text.h
  2185. 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2186. Added --bt-save-metadata option to -i list options.
  2187. * doc/aria2c.1.txt
  2188. * src/download_helper.cc
  2189. 2010-01-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2190. Fixed compile error with i586-mingw32msvc-gcc 4.4.2, without any
  2191. additional libraries.
  2192. * src/MultiUrlRequestInfo.cc
  2193. * src/NameResolver.cc
  2194. * src/SelectEventPoll.cc
  2195. * src/SelectEventPoll.h
  2196. * src/SocketCore.cc
  2197. * src/SocketCore.h
  2198. * src/a2netcompat.h
  2199. * src/daemon.cc
  2200. * src/main.cc
  2201. 2010-01-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2202. Fixed typo.
  2203. * src/DHTMessageReceiver.cc
  2204. 2010-01-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2205. Fixed the bug that causes segmentation fault if unknown option is
  2206. put in aria2.conf file. BUG#2928303
  2207. * src/OptionParser.cc
  2208. * src/OptionParser.h
  2209. * src/option_processing.cc
  2210. * test/OptionParserTest.cc
  2211. 2010-01-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2212. Ignore port message with port=0.
  2213. * src/BtPortMessage.cc
  2214. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2215. Run autoupdate
  2216. * configure.ac
  2217. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2218. Updated autoconf/automake auxiliary files.
  2219. * INSTALL
  2220. * config.guess
  2221. * config.sub
  2222. * depcomp
  2223. * install-sh
  2224. * m4/intldir.m4
  2225. * missing
  2226. * mkinstalldirs
  2227. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2228. Removed unused function.
  2229. * src/SharedHandle.h
  2230. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2231. Find pooled socket using all cached addresses.
  2232. * src/DNSCache.h
  2233. * src/DownloadEngine.cc
  2234. * src/DownloadEngine.h
  2235. * src/InitiateConnectionCommand.cc
  2236. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2237. Updated copyright year.
  2238. * src/version_usage.cc
  2239. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2240. Pool connection if _contentEncodingDecoder is used and server
  2241. supports persistent connection.
  2242. * src/HttpDownloadCommand.cc
  2243. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2244. Updated doc.
  2245. * src/DownloadCommand.cc
  2246. 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2247. Untabify. Fixed one line in copyright which is longer than 80
  2248. columns.
  2249. * src
  2250. * test
  2251. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2252. Release 1.8.0
  2253. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2254. Updated po templates.
  2255. * po/aria2.pot
  2256. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2257. Documented --bt-save-metadata option in man page.
  2258. * doc/aria2c.1.txt
  2259. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2260. Fixed usage of --bt-save-metadata option.
  2261. * src/usage_text.h
  2262. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2263. Updated po templates.
  2264. * po/aria2.pot
  2265. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2266. Get rid of AI_ADDRCONFIG when --disable-ipv6 opiton is given. It
  2267. causes name resolution error when none of network interface has
  2268. IPv4 address.
  2269. * src/main.cc
  2270. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2271. Bump up version number to 1.8.0.
  2272. * configure.ac
  2273. 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2274. Use info hash as a filename when saving BitTorrent metadata.
  2275. * src/UTMetadataPostDownloadHandler.cc
  2276. * test/UTMetadataPostDownloadHandlerTest.cc
  2277. 2009-12-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2278. Documented system.multicall XML-RPC method in man page.
  2279. * doc/aria2c.1.txt
  2280. 2009-12-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2281. Added signal handler for SIGHUP to save .aria2 file when terminal
  2282. is closed. The handler is the same one for SIGINT and SIGTERM.
  2283. * src/MultiUrlRequestInfo.cc
  2284. 2009-12-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2285. Defined method name in XmlRpcMethod subclasses.
  2286. * src/XmlRpcMethodFactory.cc
  2287. * src/XmlRpcMethodImpl.cc
  2288. * src/XmlRpcMethodImpl.h
  2289. * test/XmlRpcMethodTest.cc
  2290. 2009-12-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2291. Added system.multicall XML-RPC method.
  2292. * src/XmlRpcMethod.cc
  2293. * src/XmlRpcMethod.h
  2294. * src/XmlRpcMethodFactory.cc
  2295. * src/XmlRpcMethodImpl.cc
  2296. * src/XmlRpcMethodImpl.h
  2297. * test/XmlRpcMethodTest.cc
  2298. 2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2299. Check structure depth when decoding.
  2300. * src/bencode.cc
  2301. * src/bencode.h
  2302. * test/BencodeTest.cc
  2303. 2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2304. Documented tellStopped XML-RPC method in man page.
  2305. * doc/aria2c.1.txt
  2306. 2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2307. Added tellStopped XML-RPC method to aria2rpc.
  2308. * doc/xmlrpc/aria2rpc
  2309. 2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2310. Added tellStopped XML-RPC method. This method returns stopped
  2311. download in the specified range. It takes same parameters with
  2312. tellWaiting XML-RPC method. offset = 0 means the oldest download.
  2313. * src/XmlRpcMethodFactory.cc
  2314. * src/XmlRpcMethodImpl.cc
  2315. * src/XmlRpcMethodImpl.h
  2316. 2009-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2317. Use AI_ADDRCONFIG flag if it is available. Refactored so that
  2318. getaddrinfo calls are not scattered around. Unset AI_ADDRCONFIG
  2319. when conducting unit tests because they fail if networking
  2320. interface is not configured with IPv4 address.
  2321. * src/NameResolver.cc
  2322. * src/SocketCore.cc
  2323. * src/SocketCore.h
  2324. * src/a2netcompat.h
  2325. * test/AllTest.cc
  2326. 2009-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2327. Fixed unit test error
  2328. * test/UTMetadataPostDownloadHandlerTest.cc
  2329. 2009-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2330. Defined static string constants for efficiency.
  2331. * src/XmlRpcMethodImpl.cc
  2332. 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2333. Added --bt-save-metadata option. When true is given, it saves
  2334. metadata as .torrent file. This option has effect only when
  2335. BitTorrent Magnet URI is used. The filename is name in metadata
  2336. with suffix .torrent. The directory to be saved is the same
  2337. directory where download file is saved. If the same file already
  2338. exists, metdata is not saved.
  2339. * src/OptionHandlerFactory.cc
  2340. * src/UTMetadataPostDownloadHandler.cc
  2341. * src/UTMetadataPostDownloadHandler.h
  2342. * src/message.h
  2343. * src/prefs.cc
  2344. * src/prefs.h
  2345. * src/usage_text.h
  2346. * test/UTMetadataDataExtensionMessageTest.cc
  2347. 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2348. Added util::saveAs() function. Use it in Signature::save().
  2349. * src/Signature.cc
  2350. * src/util.cc
  2351. * src/util.h
  2352. 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2353. Upcase info hash in Magnet URI.
  2354. * doc/aria2c.1.txt
  2355. 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2356. Refactored RequestGroupMan::changeReservedGroupPosition()
  2357. * src/RequestGroupMan.cc
  2358. 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2359. Updated the description for aria2.addTorrent XML-RPC method.
  2360. * doc/aria2c.1.txt
  2361. 2009-12-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2362. Added changePosition to aria2rpc.
  2363. * doc/xmlrpc/aria2rpc
  2364. 2009-12-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2365. Documented changePosition XML-RPC method in man page.
  2366. * doc/aria2c.1.txt
  2367. 2009-12-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2368. Added changePosition XML-RPC method. It takes 3 parameters: gid,
  2369. pos and how. This method changes the position of download denoted
  2370. by gid. If how is POS_SET, it moves the download to a position
  2371. relative to the beginning of the queue. If how is POS_CUR, it
  2372. moves the download to a position relative to the current
  2373. position. If how is POS_END, it moves the download to a position
  2374. relative to the end of the queue. If the destination position is
  2375. less than 0 or beyond the end of the queue, it moves the download
  2376. to the beginning or the end of the queue respectively. Returns
  2377. the destination position.
  2378. * src/RequestGroupMan.cc
  2379. * src/RequestGroupMan.h
  2380. * src/XmlRpcMethodFactory.cc
  2381. * src/XmlRpcMethodImpl.cc
  2382. * src/XmlRpcMethodImpl.h
  2383. * test/RequestGroupManTest.cc
  2384. * test/XmlRpcMethodTest.cc
  2385. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2386. Added getOption and getGlobalOption to aria2rpc.
  2387. * doc/xmlrpc/aria2rpc
  2388. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2389. Documented getOption and getGlobalOption XML-RPC method in man
  2390. page
  2391. * doc/aria2c.1.txt
  2392. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2393. Added getOption and getGlobalOption XML-RPC method. getOption
  2394. takes GID as a parameter and returns its options as struct.
  2395. getGlobalOption takes no parameter and returns global
  2396. options. Because global option is used as a template for the
  2397. option of newly added downloads, it includes options returned by
  2398. getOption.
  2399. * src/Option.h
  2400. * src/XmlRpcMethodFactory.cc
  2401. * src/XmlRpcMethodImpl.cc
  2402. * src/XmlRpcMethodImpl.h
  2403. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2404. Sort _optionHandlers in OptionParser by name in ascending order.
  2405. Use vector instead of deque for efficiency.
  2406. * src/OptionHandler.h
  2407. * src/OptionHandlerFactory.h
  2408. * src/OptionParser.cc
  2409. * src/OptionParser.h
  2410. * src/version_usage.cc
  2411. * test/OptionParserTest.cc
  2412. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2413. Code cleanup
  2414. * src/XmlRpcMethod.cc
  2415. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2416. Documented about followedBy and belongsTo in man page.
  2417. * doc/aria2c.1.txt
  2418. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2419. Added following 2 keys, followedBy and belongsTo, to the response
  2420. of tellStatus.
  2421. followedBy: List of GIDs which are generated by the consequence of
  2422. this download. For example, when aria2 downloaded Metalink file,
  2423. it generates downloads described in it(see *--follow-metalink*
  2424. option). This value is useful to track these auto generated
  2425. downloads. If there is no such downloads, this key will not be
  2426. included in the response.
  2427. belongsTo: GID of a parent download. Some downloads are a part of
  2428. another download. For example, if a file in Metalink has
  2429. BitTorrent resource, the download of .torrent is a part of that
  2430. file. If this download has no parent, this key will not be
  2431. included in the response.
  2432. * src/BtPostDownloadHandler.cc
  2433. * src/DownloadResult.h
  2434. * src/Metalink2RequestGroup.cc
  2435. * src/MetalinkPostDownloadHandler.cc
  2436. * src/RequestGroup.cc
  2437. * src/RequestGroup.h
  2438. * src/UTMetadataPostDownloadHandler.cc
  2439. * src/XmlRpcMethodImpl.cc
  2440. * src/XmlRpcMethodImpl.h
  2441. 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2442. Assigned BObject in BDE() to avoid segmentation fault when calling
  2443. methods of BDE::none().
  2444. * src/BDE.cc
  2445. 2009-12-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2446. Show info hash in Magnet URI in upper case letters in -S output.
  2447. * src/bittorrent_helper.cc
  2448. * test/BittorrentHelperTest.cc
  2449. 2009-12-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2450. Removed old useless comment
  2451. * src/MultiUrlRequestInfo.cc
  2452. 2009-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2453. Fixed the bug that if --without-sqlite3 is given, pkg-config is
  2454. not properly used in configure script and failed to detect gnutls.
  2455. This is because explicit call of PKG_PROG_PKG_CONFIG is missing
  2456. and the initialization of pkg-config is done in first occurrence
  2457. of PKG_CHECK_MODULES which is not executed because it is inside of
  2458. sqlite3.m4. Added explicit PKG_PROG_PKG_CONFIG call.
  2459. * configure.ac
  2460. 2009-12-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2461. Release 1.7.2
  2462. 2009-12-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2463. Fixed the bug that RequestGroupMan::downloadFinished() returns
  2464. true even if all downloads haven't finished, especially when
  2465. PostDownloadHandler is involved. Changed the condition so that it
  2466. only returns true if both _requestGroups and _reservedGroups are
  2467. empty.
  2468. * src/RequestGroupMan.cc
  2469. 2009-12-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2470. Log listening port for BitTorrent/DHT in notice level.
  2471. * src/DHTConnectionImpl.cc
  2472. * src/PeerListenCommand.cc
  2473. 2009-12-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2474. Updated po templates.
  2475. * po/aria2.pot
  2476. 2009-12-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2477. Bump up version number to 1.7.2
  2478. * configure.ac
  2479. 2009-12-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2480. Changed default value of --enable-dht from 'false' to 'true'.
  2481. * doc/aria2c.1.txt
  2482. 2009-12-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2483. Enabled DHT by default because of Magnet URI support. To disable
  2484. DHT, use --enable-dht=false
  2485. * src/OptionHandlerFactory.cc
  2486. 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2487. Print Magnet URI in -S output.
  2488. * src/AnnounceList.cc
  2489. * src/bittorrent_helper.cc
  2490. * src/bittorrent_helper.h
  2491. * test/BittorrentHelperTest.cc
  2492. 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2493. Added --bt-prioritize-piece option to aria2rpc.
  2494. * doc/xmlrpc/aria2rpc
  2495. 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2496. Refer Magnet URI in --help. Made some cosmetic changes.
  2497. * src/version_usage.cc
  2498. 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2499. Updated -T and -M option.
  2500. * doc/aria2c.1.txt
  2501. 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2502. Fixed typo
  2503. * doc/aria2c.1.txt
  2504. 2009-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2505. Fixed the bug that line separator is missing in horizontal bar.
  2506. * doc/xmlrpc/aria2mon
  2507. 2009-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2508. Updated usage text for --metalink-file option.
  2509. * src/usage_text.h
  2510. 2009-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2511. If '-' is given as an argument to --metalink-file option, aria2
  2512. reads Metalink file from stdin.
  2513. * src/OptionHandlerFactory.cc
  2514. * src/OptionHandlerImpl.h
  2515. * src/a2io.h
  2516. 2009-12-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2517. Fixed the bug that aria2 listens wrong port if --interface option
  2518. is used.
  2519. * src/SocketCore.cc
  2520. 2009-12-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2521. Fixed the bug that query parameter in magnet URI is not decoded.
  2522. * src/magnet.cc
  2523. * test/MagnetTest.cc
  2524. 2009-12-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2525. Specified defaultSize as an argument for easy testing.
  2526. * src/util.cc
  2527. * src/util.h
  2528. * test/UtilTest.cc
  2529. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2530. Release 1.7.1
  2531. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2532. Bump up version number to 1.7.1
  2533. * configure.ac
  2534. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2535. Fixed the bug --bt-prioritize-piece=tail is not working.
  2536. * src/util.cc
  2537. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2538. Release 1.7.0
  2539. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2540. Updated po templates.
  2541. * po/aria2.pot
  2542. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2543. Updated help message for --bt-prioritize-piece. Some cosmetic
  2544. changes.
  2545. * doc/aria2c.1.txt
  2546. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2547. Set default value for SIZE in --bt-prioritize-piece to 1MiB.
  2548. * src/usage_text.h
  2549. * src/util.cc
  2550. * test/UtilTest.cc
  2551. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2552. Updated Russian, Ukrainian, German and French translations.
  2553. Thanks to all translators involved.
  2554. * po/de.po
  2555. * po/fr.po
  2556. * po/ru.po
  2557. * po/uk.po
  2558. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2559. Mentioned about pkg-config
  2560. * README
  2561. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2562. Fixed typo. Referred --index-out option in BitTorrent notes.
  2563. * README
  2564. 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2565. Store all addresses found by getifaddrs() and getaddrinfo(). In
  2566. bind, try all addresses until success
  2567. * src/SocketCore.cc
  2568. * src/SocketCore.h
  2569. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2570. Updated po templates.
  2571. * po/aria2.pot
  2572. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2573. Bump up version number to 1.7.0
  2574. * configure.ac
  2575. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2576. Fixed compile error if ENABLE_BITTORRENT is undefined.
  2577. * src/DefaultPieceStorage.cc
  2578. * src/DefaultPieceStorage.h
  2579. * src/PieceStorage.h
  2580. * src/UnknownLengthPieceStorage.cc
  2581. * src/UnknownLengthPieceStorage.h
  2582. * test/MockPieceStorage.h
  2583. * test/ProtocolDetectorTest.cc
  2584. * test/XmlRpcMethodTest.cc
  2585. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2586. Documented in man page that if getifaddrs() is missing,
  2587. --interface option doesn't accept interface name.
  2588. * doc/aria2c.1.txt
  2589. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2590. Use last 8 bytes of peer ID as 'key' parameter for tracker request.
  2591. * src/DefaultBtAnnounce.cc
  2592. * src/DefaultBtAnnounce.h
  2593. * test/DefaultBtAnnounceTest.cc
  2594. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2595. Fixed the bug that connection is always dropped if handshake
  2596. message in extension protocol don't have metadata_size.
  2597. src/HandshakeExtensionMessage.cc
  2598. * src/HandshakeExtensionMessage.cc
  2599. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2600. Updated "URI, MAGNET, TORRENT_FILE, METALINK_FILE" section. Added
  2601. text saying DHT is recommended when Magnet URI is provided.
  2602. * doc/aria2c.1.txt
  2603. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2604. Fixed the bug that DHT is always enabled when BitTorrent Magnet
  2605. URI is supplied. Notify user that they should consider enabling
  2606. DHT if they use Magnet URI.
  2607. * src/RequestGroup.cc
  2608. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2609. Added --disable-ipv6 option to disable IPv6.
  2610. * doc/aria2c.1.txt
  2611. * src/InitiateConnectionCommand.cc
  2612. * src/NameResolver.cc
  2613. * src/NameResolver.h
  2614. * src/OptionHandlerFactory.cc
  2615. * src/main.cc
  2616. * src/prefs.cc
  2617. * src/prefs.h
  2618. * src/usage_text.h
  2619. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2620. Updated usage text for --bt-prioritize-piece option.
  2621. * doc/aria2c.1.txt
  2622. * src/usage_text.h
  2623. 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2624. In configure script, if --with-PACKAGE and --enable-FEATURE are
  2625. given and PACKAGE is missing in the system or FEATURE cannot be
  2626. enabled, print error message and stop the script.
  2627. * configure.ac
  2628. * m4/aria2_arg.m4
  2629. 2009-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2630. Halt metadata download immediately when metadata download is done.
  2631. Don't wait unresponsive tracker.
  2632. * src/ByteArrayDiskWriter.h
  2633. * src/DefaultBtInteractive.cc
  2634. * src/DefaultExtensionMessageFactory.cc
  2635. * src/DefaultExtensionMessageFactory.h
  2636. * src/PeerInteractionCommand.cc
  2637. * src/UTMetadataDataExtensionMessage.cc
  2638. * src/UTMetadataDataExtensionMessage.h
  2639. * src/UTMetadataRequestExtensionMessage.cc
  2640. * test/UTMetadataDataExtensionMessageTest.cc
  2641. * test/UTMetadataRequestExtensionMessageTest.cc
  2642. 2009-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2643. Documented --interface option in man page.
  2644. * doc/aria2c.1.txt
  2645. 2009-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2646. Try resolved address in the order received from the resolver.
  2647. * src/DNSCache.h
  2648. 2009-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2649. Added debug logs.
  2650. * src/SocketCore.cc
  2651. 2009-12-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2652. Fixed type of tail to uint64_t
  2653. * src/util.cc
  2654. 2009-12-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2655. Added --interface option. This feature binds sockets to given
  2656. interface. You can specify interface name, IP address and
  2657. hostname.
  2658. * configure.ac
  2659. * src/OptionHandlerFactory.cc
  2660. * src/SocketCore.cc
  2661. * src/SocketCore.h
  2662. * src/main.cc
  2663. * src/message.h
  2664. * src/prefs.cc
  2665. * src/prefs.h
  2666. * src/usage_text.h
  2667. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2668. Updated man page for bt-prioritize-piece option in -i list.
  2669. * doc/aria2c.1.txt
  2670. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2671. Added bt-prioritize-piece option to -i list.
  2672. * src/download_helper.cc
  2673. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2674. Removed --http-auth-scheme option from man page.
  2675. * doc/aria2c.1.txt
  2676. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2677. Removed --http-auth-scheme option since it doesn't do nothing.
  2678. * src/OptionHandlerFactory.cc
  2679. * src/prefs.cc
  2680. * src/prefs.h
  2681. * src/usage_text.h
  2682. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2683. Adjusted the number of peer info which get_peers reply message can
  2684. carry.
  2685. * src/DHTGetPeersReplyMessage.cc
  2686. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2687. Added extension_message_test_helper.h to aria2c_SOURCES.
  2688. * test/Makefile.am
  2689. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2690. Documented --bt-prioritize-piece option in man page.
  2691. * doc/aria2c.1.txt
  2692. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2693. Added option --bt-prioritize-piece. This option instruct aria2 to
  2694. try to download first and last pieces of each file first. The
  2695. argument can contain 2 keywords:head and tail. To include both
  2696. keywords, they must be separated by comma. These keywords can take
  2697. one parameter, SIZE. For example , if head=SIZE is specified,
  2698. pieces in the range of first SIZE bytes of each file get higher
  2699. priority. tail=SIZE means the range of last SIZE bytes of each
  2700. file. SIZE can include K or M(1K = 1024, 1M = 1024K).
  2701. * src/DefaultPieceStorage.h
  2702. * src/Makefile.am
  2703. * src/OptionHandlerFactory.cc
  2704. * src/OptionHandlerImpl.h
  2705. * src/PriorityPieceSelector.cc
  2706. * src/PriorityPieceSelector.h
  2707. * src/RequestGroup.cc
  2708. * src/prefs.cc
  2709. * src/prefs.h
  2710. * src/usage_text.h
  2711. * src/util.cc
  2712. * src/util.h
  2713. * test/Makefile.am
  2714. * test/MockPieceSelector.h
  2715. * test/PriorityPieceSelectorTest.cc
  2716. * test/UtilTest.cc
  2717. 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2718. Fixed typo
  2719. * src/HttpRequest.h
  2720. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2721. In Magnet URI with tr parameter, put each announce URI in separate
  2722. tier.
  2723. * src/bittorrent_helper.cc
  2724. * test/BittorrentHelperTest.cc
  2725. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2726. Renamed ExtensionMessage::getBencodedData() as
  2727. ExtensionMessage::getPayload()
  2728. * src/BtExtendedMessage.cc
  2729. * src/ExtensionMessage.h
  2730. * src/HandshakeExtensionMessage.cc
  2731. * src/HandshakeExtensionMessage.h
  2732. * src/UTMetadataDataExtensionMessage.cc
  2733. * src/UTMetadataDataExtensionMessage.h
  2734. * src/UTMetadataRejectExtensionMessage.cc
  2735. * src/UTMetadataRejectExtensionMessage.h
  2736. * src/UTMetadataRequestExtensionMessage.cc
  2737. * src/UTMetadataRequestExtensionMessage.h
  2738. * src/UTPexExtensionMessage.cc
  2739. * src/UTPexExtensionMessage.h
  2740. * test/HandshakeExtensionMessageTest.cc
  2741. * test/MockExtensionMessage.h
  2742. * test/UTMetadataDataExtensionMessageTest.cc
  2743. * test/UTMetadataRejectExtensionMessageTest.cc
  2744. * test/UTMetadataRequestExtensionMessageTest.cc
  2745. * test/UTPexExtensionMessageTest.cc
  2746. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2747. Updated man page for BitTorrent Magnet URI.
  2748. * doc/aria2c.1.txt
  2749. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2750. Call DownloadContext::setOwnerRequestGroup() in
  2751. RequestGroup::setDownloadContext().
  2752. * src/BtDependency.cc
  2753. * src/RequestGroup.cc
  2754. * src/RequestGroup.h
  2755. * src/download_helper.cc
  2756. * test/DefaultBtMessageDispatcherTest.cc
  2757. * test/DefaultExtensionMessageFactoryTest.cc
  2758. * test/HandshakeExtensionMessageTest.cc
  2759. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2760. Accept BitTorrent Magnet URI in Metalink resource type bittorrent.
  2761. Rewritten UTMetadataPostDownloadHandler. To create torrent data
  2762. from metadata, use new metadata2Torrent() function.
  2763. * src/BtDependency.cc
  2764. * src/UTMetadataPostDownloadHandler.cc
  2765. * src/bittorrent_helper.cc
  2766. * src/bittorrent_helper.h
  2767. * test/BittorrentHelperTest.cc
  2768. * test/BtDependencyTest.cc
  2769. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2770. Use createRequestGroupForUri to create the download for torrent
  2771. file.
  2772. * src/Metalink2RequestGroup.cc
  2773. * test/Metalink2RequestGroupTest.cc
  2774. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2775. Fixed typo
  2776. * src/DownloadContext.h
  2777. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2778. Use createRequestGroupForBitTorrent()
  2779. * src/BtPostDownloadHandler.cc
  2780. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2781. Added remove().
  2782. * src/Option.cc
  2783. * src/Option.h
  2784. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2785. Removed options which is only valid for URIs specified in
  2786. command-line. If they are left, because op is used as a template
  2787. for new RequestGroup(such as created in XML-RPC command,
  2788. BtPostDownloadHandler etc), they causes unintentional effect.
  2789. * src/main.cc
  2790. 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2791. Refer to option value of PREF_OUT only in download_helper.
  2792. * src/FtpNegotiationCommand.cc
  2793. * src/HttpResponseCommand.cc
  2794. 2009-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2795. Now addUri XML-RPC method accepts BitTorrent Magnet URI.
  2796. * src/download_helper.cc
  2797. * src/download_helper.h
  2798. * src/XmlRpcMethodImpl.cc
  2799. 2009-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2800. Updated man page for changeOption XML-RPC method.
  2801. * doc/aria2c.1.txt
  2802. 2009-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2803. Added --bt-max-peers option to changeOption XML-RPC method.
  2804. * src/XmlRpcMethod.cc
  2805. * src/XmlRpcMethodImpl.cc
  2806. * test/XmlRpcMethodTest.cc
  2807. 2009-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2808. Added test case for PREF_BT_REQUEST_PEER_SPEED_LIMIT
  2809. * test/XmlRpcMethodTest.cc
  2810. 2009-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2811. Removed redundant DownloadContext::hasAttribute(...) calls.
  2812. * src/ConsoleStatCalc.cc
  2813. * src/RequestGroup.cc
  2814. * src/XmlRpcMethodImpl.cc
  2815. 2009-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2816. Changed the number of tracker request attempt from 5 to 2.
  2817. * src/TrackerWatcherCommand.cc
  2818. 2009-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2819. Use host and protocol in original URI, because URI selector
  2820. selects URI based on original URI, not redirected one.
  2821. * src/Request.cc
  2822. 2009-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2823. Fixed the bug which causes segmentation fault with tellWaiting
  2824. XML-RPC method when BitTorrent download is waiting. The key of
  2825. BtRegistry is changed from info hash to GID, because it is
  2826. registered per RequestGroup, not info hash.
  2827. * src/BtRegistry.cc
  2828. * src/BtRegistry.h
  2829. * src/BtSetup.cc
  2830. * src/ConsoleStatCalc.cc
  2831. * src/InitiatorMSEHandshakeCommand.cc
  2832. * src/PeerInitiateConnectionCommand.cc
  2833. * src/PeerInteractionCommand.cc
  2834. * src/PeerInteractionCommand.h
  2835. * src/PeerReceiveHandshakeCommand.cc
  2836. * src/RequestGroup.cc
  2837. * src/XmlRpcMethodImpl.cc
  2838. * test/BtRegistryTest.cc
  2839. * test/XmlRpcMethodTest.cc
  2840. 2009-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2841. Updated man page for changeOption XML-RPC method.
  2842. * doc/aria2c.1.txt
  2843. 2009-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2844. Added --bt-request-peer-speed-limit option to changeOption XML-RPC
  2845. method.
  2846. * src/XmlRpcMethod.cc
  2847. 2009-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2848. Documented about BitTorrent Magnet URI in man page.
  2849. * doc/aria2c.1.txt
  2850. 2009-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2851. Fixed the bug that trackers in BitTorrent Magnet URI are not
  2852. inherited to generated RequestGroup.
  2853. * src/UTMetadataPostDownloadHandler.cc
  2854. * test/UTMetadataPostDownloadHandlerTest.cc
  2855. 2009-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2856. Prepended "[METADATA]" before dn.
  2857. * src/bittorrent_helper.cc
  2858. * test/BittorrentHelperTest.cc
  2859. 2009-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2860. Rewritten Magnet URI parser.
  2861. * src/Makefile.am
  2862. * src/ProtocolDetector.cc
  2863. * src/bittorrent_helper.cc
  2864. * src/bittorrent_helper.h
  2865. * src/download_helper.cc
  2866. * src/magnet.cc
  2867. * src/magnet.h
  2868. * test/BittorrentHelperTest.cc
  2869. * test/MagnetTest.cc
  2870. * test/Makefile.am
  2871. * test/ProtocolDetectorTest.cc
  2872. 2009-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2873. Use hton64
  2874. * src/base32.cc
  2875. 2009-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2876. Added Base32 encoded BitTorrent Magnet Link support.
  2877. * src/Makefile.am
  2878. * src/base32.cc
  2879. * src/base32.h
  2880. * src/bittorrent_helper.cc
  2881. * test/Base32Test.cc
  2882. * test/BittorrentHelperTest.cc
  2883. * test/Makefile.am
  2884. 2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2885. Added BitTorrent Magnet Link support. Base32 encoded link is not
  2886. supported yet. Fixed typo in method name in RequestGroup. In
  2887. metadataGetMode, don't show "Your share ratio was ..." message.
  2888. * src/DefaultBtInteractive.cc
  2889. * src/DefaultBtInteractive.h
  2890. * src/DownloadHandlerFactory.cc
  2891. * src/DownloadHandlerFactory.h
  2892. * src/HandshakeExtensionMessage.cc
  2893. * src/Makefile.am
  2894. * src/Metalink2RequestGroup.cc
  2895. * src/PeerInteractionCommand.cc
  2896. * src/RequestGroup.cc
  2897. * src/RequestGroup.h
  2898. * src/UTMetadataPostDownloadHandler.cc
  2899. * src/UTMetadataPostDownloadHandler.h
  2900. * src/download_helper.cc
  2901. * test/HandshakeExtensionMessageTest.cc
  2902. * test/Makefile.am
  2903. * test/UTMetadataPostDownloadHandlerTest.cc
  2904. * test/UTMetadataRejectExtensionMessageTest.cc
  2905. 2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2906. In metadataGetMode, don't show SEEDING.
  2907. * src/ConsoleStatCalc.cc
  2908. 2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2909. Fixed ut_metadata data handling. Implemented
  2910. UTMetadataDataExtensionMessage::doReceivedAction(). Initialize
  2911. PeerStorage in HandshakeExtensionMessage::doReceivedAction() when
  2912. metadata_size is received.
  2913. * src/DefaultExtensionMessageFactory.cc
  2914. * src/DefaultExtensionMessageFactory.h
  2915. * src/HandshakeExtensionMessage.cc
  2916. * src/HandshakeExtensionMessage.h
  2917. * src/UTMetadataDataExtensionMessage.cc
  2918. * src/UTMetadataDataExtensionMessage.h
  2919. * src/UTMetadataRequestExtensionMessage.cc
  2920. * src/UTMetadataRequestFactory.cc
  2921. * src/UTMetadataRequestFactory.h
  2922. * src/UTMetadataRequestTracker.cc
  2923. * src/UTMetadataRequestTracker.h
  2924. * test/DefaultExtensionMessageFactoryTest.cc
  2925. * test/HandshakeExtensionMessageTest.cc
  2926. * test/MockBtMessage.h
  2927. * test/UTMetadataDataExtensionMessageTest.cc
  2928. * test/UTMetadataRequestExtensionMessageTest.cc
  2929. * test/UTMetadataRequestFactoryTest.cc
  2930. * test/UTMetadataRequestTrackerTest.cc
  2931. * test/extension_message_test_helper.h
  2932. 2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2933. Drop connection if ut_metadata reject message is received.
  2934. * src/UTMetadataRejectExtensionMessage.cc
  2935. 2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2936. Set thresholdSpeed to 0 in metadataGetMode because speed doesn't
  2937. get high enough in that mode.
  2938. * src/ActivePeerConnectionCommand.cc
  2939. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2940. Added BitTorrent magnet link support to ProtocolDetector.
  2941. * src/ProtocolDetector.cc
  2942. * src/ProtocolDetector.h
  2943. * test/ProtocolDetectorTest.cc
  2944. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2945. Don't inject validator into BtMessage in metadataGetMode because
  2946. most of the checks depends on the total length of download but it
  2947. is unknown. Delegate metadataGetMode to BtMessage.
  2948. * src/DefaultBtMessageFactory.cc
  2949. * src/DefaultBtMessageFactory.h
  2950. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2951. Added setEndGamePieceNum() pure virtual function to PieceStorage.
  2952. * src/DefaultPieceStorage.h
  2953. * src/PieceStorage.h
  2954. * src/UnknownLengthPieceStorage.h
  2955. * test/MockPieceStorage.h
  2956. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2957. Added markTotalLengthIsKnown().
  2958. * src/DownloadContext.h
  2959. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2960. Don't add PeerChokeCommand and SeedCheckCommand if metadata is
  2961. missing. If metadata is missing, always use DHT when it is ready.
  2962. * src/BtSetup.cc
  2963. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2964. Added parseMagnetLink(). Hex encoded info hash is supported.
  2965. Base32 encoded info hash is not supported yet.
  2966. * src/bittorrent_helper.cc
  2967. * src/bittorrent_helper.h
  2968. * test/BittorrentHelperTest.cc
  2969. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2970. Added FromHex()
  2971. * src/util.cc
  2972. * src/util.h
  2973. * test/UtilTest.cc
  2974. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2975. Added _metadataGetMode member variable. It toggles the action when
  2976. messages are received: usually they almost do nothing if
  2977. _metadataGetMode is true.
  2978. * src/AbstractBtMessage.cc
  2979. * src/AbstractBtMessage.h
  2980. * src/BtAllowedFastMessage.cc
  2981. * src/BtBitfieldMessage.cc
  2982. * src/BtCancelMessage.cc
  2983. * src/BtChokeMessage.cc
  2984. * src/BtHaveAllMessage.cc
  2985. * src/BtHaveMessage.cc
  2986. * src/BtInterestedMessage.cc
  2987. * src/BtNotInterestedMessage.cc
  2988. * src/BtPieceMessage.cc
  2989. * src/BtRejectMessage.cc
  2990. * src/BtRequestMessage.cc
  2991. * src/BtUnchokeMessage.cc
  2992. 2009-11-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  2993. Added bencode::decode overload functions. They have extra argument
  2994. 'end', passed by reference. 'end' points to the beyond the last
  2995. position of data used in decoding process.
  2996. * src/bencode.cc
  2997. * src/bencode.h
  2998. * test/BencodeTest.cc
  2999. 2009-11-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3000. Initial support of Extension for Peers to Send Metadata
  3001. Files(BEP9). Currently aria2 only serves metadata and cannot get
  3002. metadata from swarm.
  3003. * src/BtConstants.h
  3004. * src/DefaultBtInteractive.cc
  3005. * src/DefaultExtensionMessageFactory.cc
  3006. * src/DefaultExtensionMessageFactory.h
  3007. * src/ExtensionMessage.h
  3008. * src/ExtensionMessageRegistry.h
  3009. * src/HandshakeExtensionMessage.cc
  3010. * src/HandshakeExtensionMessage.h
  3011. * src/Makefile.am
  3012. * src/PeerConnection.h
  3013. * src/PeerInteractionCommand.cc
  3014. * src/UTMetadataDataExtensionMessage.cc
  3015. * src/UTMetadataDataExtensionMessage.h
  3016. * src/UTMetadataExtensionMessage.cc
  3017. * src/UTMetadataExtensionMessage.h
  3018. * src/UTMetadataRejectExtensionMessage.cc
  3019. * src/UTMetadataRejectExtensionMessage.h
  3020. * src/UTMetadataRequestExtensionMessage.cc
  3021. * src/UTMetadataRequestExtensionMessage.h
  3022. * src/bittorrent_helper.cc
  3023. * src/bittorrent_helper.h
  3024. * test/BittorrentHelperTest.cc
  3025. * test/DefaultExtensionMessageFactoryTest.cc
  3026. * test/HandshakeExtensionMessageTest.cc
  3027. * test/Makefile.am
  3028. * test/UTMetadataDataExtensionMessageTest.cc
  3029. * test/UTMetadataRejectExtensionMessageTest.cc
  3030. * test/UTMetadataRequestExtensionMessageTest.cc
  3031. 2009-11-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3032. Cancel segment in prepareForRetry() because there is a chance that
  3033. the command has segments.
  3034. * src/CreateRequestCommand.cc
  3035. 2009-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3036. Fixed the bug that slow server is not knocked down in favor of
  3037. faster one.
  3038. * src/AbstractCommand.cc
  3039. * src/DefaultPieceStorage.cc
  3040. * src/DefaultPieceStorage.h
  3041. * src/PieceStorage.h
  3042. * src/UnknownLengthPieceStorage.cc
  3043. * src/UnknownLengthPieceStorage.h
  3044. * test/MockPieceStorage.h
  3045. 2009-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3046. Fixed the bug that Request object is not added to
  3047. _inFlightRequests in findFasterRequest().
  3048. * src/FileEntry.cc
  3049. 2009-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3050. Changed the strategry of how to increase the number of outstanding
  3051. requests. Now the number is doubled if there are no outstanding
  3052. requests after receiving messages.
  3053. * src/BtConstants.h
  3054. * src/DefaultBtInteractive.cc
  3055. * src/DefaultBtInteractive.h
  3056. 2009-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3057. Check socket for reading if there are outstanding requests.
  3058. * src/PeerInteractionCommand.cc
  3059. 2009-11-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3060. Moved frequently called methods to header file so they get
  3061. inlined.
  3062. * src/RequestSlot.cc
  3063. * src/RequestSlot.h
  3064. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3065. Copied in_addr instead of just casting from char* which might
  3066. violate strict aliasing rules.
  3067. * src/AsyncNameResolver.cc
  3068. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3069. Use dynamic_pointer_cast
  3070. * test/BtPieceMessageTest.cc
  3071. * test/BtRequestMessageTest.cc
  3072. * test/DefaultBtRequestFactoryTest.cc
  3073. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3074. Added testSetUrl20()
  3075. * test/RequestTest.cc
  3076. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3077. Code cleanup
  3078. * src/bittorrent_helper.cc
  3079. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3080. Use C++ style cast
  3081. * src/AsyncNameResolver.cc
  3082. * src/Base64.h
  3083. * src/BtBitfieldMessage.cc
  3084. * src/BtHandshakeMessage.cc
  3085. * src/DefaultBtMessageFactory.cc
  3086. * src/DefaultBtProgressInfoFile.cc
  3087. * src/EpollEventPoll.cc
  3088. * src/ExpatMetalinkProcessor.cc
  3089. * src/IteratableChecksumValidator.cc
  3090. * src/IteratableChunkChecksumValidator.cc
  3091. * src/MessageDigestHelper.cc
  3092. * src/Platform.cc
  3093. * src/RequestGroupMan.cc
  3094. * src/SingleFileAllocationIterator.cc
  3095. * src/Sqlite3MozCookieParser.cc
  3096. * src/XML2SAXMetalinkProcessor.cc
  3097. * src/Xml2XmlRpcRequestProcessor.cc
  3098. * src/util.cc
  3099. * src/util.h
  3100. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3101. Fixed integer potential alignment problem.
  3102. * src/bitfield.h
  3103. 2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3104. Applied a patch from tizianomueller to fix sigbus errors on Linux
  3105. sparc. I modified the patch to eliminate a cast to uint32_t* and
  3106. include file ordering.
  3107. * src/PeerListProcessor.h
  3108. * src/bittorrent_helper.cc
  3109. 2009-11-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3110. Added util::parseUIntNoThrow(). Use it in Request::parseUrl().
  3111. * src/Request.cc
  3112. * src/util.cc
  3113. * src/util.h
  3114. * test/RequestTest.cc
  3115. 2009-11-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3116. Rewritten util::uitos()
  3117. * src/util.h
  3118. 2009-11-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3119. Code cleanup
  3120. * src/Request.cc
  3121. * src/Request.h
  3122. 2009-11-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3123. Rewritten Request::parseUrl()
  3124. * src/Request.cc
  3125. * test/RequestTest.cc
  3126. 2009-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3127. Removed unused macro SAFE_CHARS
  3128. * src/Request.cc
  3129. 2009-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3130. Updated doc
  3131. * src/DHTRoutingTableDeserializer.cc
  3132. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3133. Release 1.6.3
  3134. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3135. Removed unused function.
  3136. * test/DHTPeerAnnounceStorageTest.cc
  3137. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3138. Only decrement cols if cols > 0
  3139. * src/ConsoleStatCalc.cc
  3140. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3141. Updated Polish, Catalan, French, Italian, Russian and Japanese
  3142. translations. Thanks to all translators.
  3143. * po/ca.po
  3144. * po/fr.po
  3145. * po/it.po
  3146. * po/ja.po
  3147. * po/pl.po
  3148. * po/ru.po
  3149. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3150. Updated translation template
  3151. * po
  3152. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3153. Fixed compile error without ssl library.
  3154. * src/util.cc
  3155. 2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3156. Logged received nodes in get_peers reply message.
  3157. * src/DHTAbstractNodeLookupTask.cc
  3158. * src/DHTAbstractNodeLookupTask.h
  3159. 2009-11-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3160. Fixed the bug that DHTAbstractNodeLookupTask never finishes if
  3161. error occurred in DHTMessageDispatcherImpl::sendMessage().
  3162. * src/DHTMessageDispatcherImpl.cc
  3163. 2009-11-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3164. Don't reuse URI if Request pool is not empty.
  3165. * src/CreateRequestCommand.cc
  3166. 2009-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3167. Removed peerStorage from DHTPeerAnnounceEntry. It is unlikely to
  3168. receive get_peers request for torrent which the client is now
  3169. downloading.
  3170. * src/BtSetup.cc
  3171. * src/DHTPeerAnnounceEntry.cc
  3172. * src/DHTPeerAnnounceEntry.h
  3173. * src/DHTPeerAnnounceStorage.cc
  3174. * src/DHTPeerAnnounceStorage.h
  3175. * src/RequestGroup.cc
  3176. * test/DHTPeerAnnounceEntryTest.cc
  3177. * test/DHTPeerAnnounceStorageTest.cc
  3178. 2009-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3179. Fixed the bug that in Windows environment new blank line is
  3180. inserted when console readout is updated.
  3181. * src/ConsoleStatCalc.cc
  3182. 2009-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3183. Throw exception if binding listening port is failed. Removed
  3184. RequestGroupMan::getInitialCommand(). Use
  3185. fillRequestGroupFromReserver() instead. Delete commands for
  3186. RequestGroup which has errors when it is being added.
  3187. * src/BtSetup.cc
  3188. * src/DownloadEngine.cc
  3189. * src/DownloadEngine.h
  3190. * src/DownloadEngineFactory.cc
  3191. * src/MultiUrlRequestInfo.cc
  3192. * src/RequestGroupMan.cc
  3193. * src/RequestGroupMan.h
  3194. * test/RequestGroupManTest.cc
  3195. 2009-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3196. Fixed the bug that when downloading more than one torrent,
  3197. listening port is not reported properly to tracker for 2nd or
  3198. later torrents.
  3199. * src/BtSetup.cc
  3200. * src/PeerListenCommand.cc
  3201. * src/PeerListenCommand.h
  3202. * src/RequestGroup.cc
  3203. 2009-10-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3204. Bump up version number to 1.6.3
  3205. * configure.ac
  3206. 2009-10-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3207. Removed Util.cc from POTFILES.in
  3208. * po/POTFILES.in
  3209. 2009-10-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3210. Updated man page for previous change.
  3211. * doc/aria2c.1.txt
  3212. 2009-10-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3213. If user name is embedded but password is missing in URI, first
  3214. resolve password using .netrc. If password is found in .netrc,
  3215. then use it as password. If not, use the password specified in
  3216. --ftp-passwd.
  3217. * src/AuthConfigFactory.cc
  3218. * src/Request.cc
  3219. * src/Request.h
  3220. * test/AuthConfigFactoryTest.cc
  3221. 2009-10-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3222. Fixed typo
  3223. * doc/aria2c.1.txt
  3224. 2009-10-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3225. Fixed typo
  3226. * src/usage_text.h
  3227. 2009-10-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3228. Added missing bitfield.cc
  3229. * src/bitfield.cc
  3230. 2009-10-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3231. Renamed Util.{cc,h} as util.{cc,h}
  3232. * src/Util.cc
  3233. * src/Util.h
  3234. * src/util.cc
  3235. * src/util.h
  3236. 2009-10-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3237. Moved static functions in Util class to namespace util.
  3238. * src
  3239. * test
  3240. 2009-10-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3241. Moved generateRandomData to Util.cc Moved flipBit to bitfield.cc.
  3242. Moved generateRandomKey to bittorrent_helper.cc.
  3243. * src/DHTBucket.cc
  3244. * src/DHTGetPeersMessage.cc
  3245. * src/DHTGetPeersReplyMessage.cc
  3246. * src/DHTMessage.cc
  3247. * src/DHTNode.cc
  3248. * src/DHTTokenTracker.cc
  3249. * src/DHTUtil.cc: Removed.
  3250. * src/DHTUtil.h: Removed.
  3251. * src/Makefile.am
  3252. * src/Util.cc
  3253. * src/Util.h
  3254. * src/bitfield.h
  3255. * src/bittorrent_helper.cc
  3256. * src/bittorrent_helper.h
  3257. * test/ARC4Test.cc
  3258. * test/BNodeTest.cc
  3259. * test/DHTAnnouncePeerMessageTest.cc
  3260. * test/DHTAnnouncePeerReplyMessageTest.cc
  3261. * test/DHTFindNodeMessageTest.cc
  3262. * test/DHTFindNodeReplyMessageTest.cc
  3263. * test/DHTGetPeersMessageTest.cc
  3264. * test/DHTGetPeersReplyMessageTest.cc
  3265. * test/DHTPingMessageTest.cc
  3266. * test/DHTPingReplyMessageTest.cc
  3267. * test/DHTTokenTrackerTest.cc
  3268. * test/DHTUtilTest.cc: Removed.
  3269. * test/Makefile.am
  3270. * test/UtilTest.cc
  3271. 2009-10-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3272. Removed the call to trim() because trim() is called for each
  3273. element in split().
  3274. * src/CookieParser.cc
  3275. 2009-10-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3276. Replaced Util::slice() with split()
  3277. * src/AbstractCommand.cc
  3278. * src/CookieParser.cc
  3279. * src/File.cc
  3280. * src/HttpHeaderProcessor.cc
  3281. * src/HttpRequest.cc
  3282. * src/Metalink2RequestGroup.cc
  3283. * src/MetalinkParserController.cc
  3284. * src/Netrc.cc
  3285. * src/NsCookieParser.cc
  3286. * src/ParameterizedStringParser.cc
  3287. * src/ServerStatMan.cc
  3288. * src/UriListParser.cc
  3289. * src/Util.cc
  3290. * src/Util.h
  3291. * src/bittorrent_helper.cc
  3292. * test/UtilTest.cc
  3293. 2009-10-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3294. Use request->getDir() instead of "/" for embedded user/pass in
  3295. URI.
  3296. * src/AuthConfigFactory.cc
  3297. 2009-10-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3298. Fixed wrong insertion point for BasicCred.
  3299. * src/AuthConfigFactory.cc
  3300. 2009-10-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3301. Allowed non-regular file in LocalFilePathOptionHandler
  3302. * src/OptionHandlerImpl.h
  3303. * src/message.h
  3304. 2009-10-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3305. Fixed the bug that Netrc::parse() cannot recognize comment line.
  3306. * src/Netrc.cc
  3307. * src/Util.h
  3308. * test/NetrcTest.cc
  3309. * test/sample.netrc
  3310. 2009-10-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3311. Fixed typo
  3312. * src/BtDependency.cc
  3313. * src/BtRejectMessage.cc
  3314. * src/FtpConnection.cc
  3315. * src/HttpHeaderProcessor.h
  3316. 2009-10-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3317. Fixed lintian report in man page
  3318. * doc/aria2c.1.txt
  3319. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3320. Release 1.6.2
  3321. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3322. Updated Ukrainian translation. Thanks to all translators.
  3323. * po/uk.po
  3324. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3325. Updated translation template
  3326. * po
  3327. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3328. Bump up version number to 1.6.2
  3329. * configure.ac
  3330. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3331. Updated licence message in -v output.
  3332. * src/version_usage.cc
  3333. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3334. Replaced aria2 with aria2c in help message.
  3335. * src/version_usage.cc
  3336. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3337. Use PACKAGE_BUGREPORT and PACKAGE_URL.
  3338. * src/version_usage.cc
  3339. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3340. Quoted localedir
  3341. * src/Makefile.am
  3342. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3343. Added AC_FUNC_STRTOD and AC_TYPE_PID_T. Check function for pow,
  3344. utime. Check header for utime.h.
  3345. * configure.ac
  3346. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3347. Use AC_FUNC_FORK. Replaced HAVE_FORK with HAVE_WORKING_FORK.
  3348. * configure.ac
  3349. * src/daemon.cc
  3350. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3351. Don't set localedir manually. Leave it to autoconf.
  3352. * configure.ac
  3353. * src/Makefile.am
  3354. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3355. Added --install to ACLOCAL_AMFLAGS.
  3356. Removed m4 from SUBDIRS.
  3357. Updated automake 1.11 and autoconf 2.64.
  3358. Replaced some obsolute macros with new one.
  3359. * Makefile.am
  3360. * configure.ac
  3361. * m4/aria2_arg.m4
  3362. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3363. Removed Makefile.am in m4 directory.
  3364. * configure.ac
  3365. * m4/ChangeLog
  3366. * m4/Makefile.am
  3367. * m4/Makefile.in
  3368. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3369. Removed unused m4 macros.
  3370. * m4/intldir.m4
  3371. * m4/inttypes.m4
  3372. * m4/isc-posix.m4
  3373. * m4/libgnutls-extra.m4
  3374. * m4/ulonglong.m4
  3375. 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3376. Fixed the bug that causes segmentation fault if
  3377. req->getCurrentUrl() contains printf formatting characters such as
  3378. %d. The statement that causes this bug is useless and removed.
  3379. * src/AbstractCommand.cc
  3380. 2009-10-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3381. * Release 1.6.1
  3382. 2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3383. Updated Simplified Chinese translation. Thanks to translators.
  3384. * po/zh_CN.po
  3385. 2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3386. Updated translation template
  3387. * po
  3388. 2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3389. Bump up version number to 1.6.1
  3390. * configure.ac
  3391. 2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3392. Changed interval from 120 to 60 for dropping inactive peer.
  3393. * src/DefaultBtInteractive.cc
  3394. 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3395. Updated man page for --user-agent and --peer-id-prefix option.
  3396. * doc/aria2c.1.txt
  3397. 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3398. Code clean up
  3399. * src/BtPostDownloadHandler.cc
  3400. * src/ContentTypeRequestGroupCriteria.cc
  3401. * src/ContentTypeRequestGroupCriteria.h
  3402. * src/DownloadHandlerConstants.cc
  3403. * src/DownloadHandlerConstants.h
  3404. * src/DownloadHandlerFactory.cc
  3405. * src/MetalinkPostDownloadHandler.cc
  3406. 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3407. Don't save control file when aria2 exists while checking piece
  3408. hash(behavior of -V option). If control file doesn't exist when
  3409. aria2 launched, the completed length in saved control file will be
  3410. 0 byte and this confuses user. disableSaveControlFile() is called
  3411. in RequestGroup::processCheckIntegrityEntry().
  3412. enableSaveControlFile() will be called after hash checking is
  3413. done. See CheckIntegrityCommand.
  3414. * src/CheckIntegrityCommand.cc
  3415. * src/RequestGroup.cc
  3416. * src/RequestGroup.h
  3417. * src/RequestGroupMan.cc
  3418. 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3419. Included version number in Peer ID and client version. Peer ID
  3420. now starts with "aria2/VERSION-", where VERSION is
  3421. MAJOR.MINOR.MICRO. Client version is aria2/VERSION.
  3422. * src/DefaultBtInteractive.cc
  3423. * src/OptionHandlerFactory.cc
  3424. * src/bittorrent_helper.cc
  3425. * src/bittorrent_helper.h
  3426. * src/main.cc
  3427. * src/usage_text.h
  3428. * test/BittorrentHelperTest.cc
  3429. 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3430. Fixed memory leak.
  3431. * src/DownloadCommand.cc
  3432. 2009-10-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3433. Removed server, port, user and passwd key from options before
  3434. XMLRPC::Client.call since they are not options of aria2.
  3435. * doc/xmlrpc/aria2mon
  3436. * doc/xmlrpc/aria2rpc
  3437. 2009-10-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3438. Included version number in user-agent string.
  3439. * src/OptionHandlerFactory.cc
  3440. 2009-10-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3441. Fixed the bug that the option values changed by XML-RPC
  3442. method(changeOption and changeGlobalOption) are overwritten to the
  3443. previous value by the next these request which doesn't contain
  3444. that option value. Supporse max-download-limit is initially 0. You
  3445. changed this value to 100K by changeOption. Then you issue
  3446. changeOption request to change max-upload-limit to 50K. This
  3447. second request doesn't contain xml-download-limit, so it is back
  3448. to initial value, 0. Another improvement is that exception is
  3449. thrown when changeOption and changeGlobalOption request contains
  3450. option name which doesn't allowed in each request.
  3451. * src/DownloadEngine.h
  3452. * src/XmlRpcMethod.cc
  3453. * src/XmlRpcMethod.h
  3454. * src/XmlRpcMethodImpl.cc
  3455. * src/download_helper.cc
  3456. * src/download_helper.h
  3457. * test/XmlRpcMethodTest.cc
  3458. 2009-10-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3459. Added missing MetalinkParserStateImpl.{cc,h}
  3460. * src/MetalinkParserStateImpl.cc
  3461. * src/MetalinkParserStateImpl.h
  3462. 2009-10-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3463. Put all MetalinkParserState subclasses into
  3464. MetalinkParserStateImpl.cc. Use stack to track element structure.
  3465. * src/FileMetalinkParserState.cc: Removed
  3466. * src/FileMetalinkParserState.h: Removed
  3467. * src/FilesMetalinkParserState.cc: Removed
  3468. * src/FilesMetalinkParserState.h: Removed
  3469. * src/FinMetalinkParserState.cc: Removed
  3470. * src/FinMetalinkParserState.h: Removed
  3471. * src/HashMetalinkParserState.cc: Removed
  3472. * src/HashMetalinkParserState.h: Removed
  3473. * src/InitialMetalinkParserState.cc: Removed
  3474. * src/InitialMetalinkParserState.h: Removed
  3475. * src/LanguageMetalinkParserState.cc: Removed
  3476. * src/LanguageMetalinkParserState.h: Removed
  3477. * src/Makefile.am
  3478. * src/MetalinkMetalinkParserState.cc: Removed
  3479. * src/MetalinkMetalinkParserState.h: Removed
  3480. * src/MetalinkParserState.h
  3481. * src/MetalinkParserStateMachine.cc
  3482. * src/MetalinkParserStateMachine.h
  3483. * src/OSMetalinkParserState.cc: Removed
  3484. * src/OSMetalinkParserState.h: Removed
  3485. * src/PieceHashMetalinkParserState.cc: Removed
  3486. * src/PieceHashMetalinkParserState.h: Removed
  3487. * src/PiecesMetalinkParserState.cc: Removed
  3488. * src/PiecesMetalinkParserState.h: Removed
  3489. * src/ResourcesMetalinkParserState.cc: Removed
  3490. * src/ResourcesMetalinkParserState.h: Removed
  3491. * src/SignatureMetalinkParserState.cc: Removed
  3492. * src/SignatureMetalinkParserState.h: Removed
  3493. * src/SizeMetalinkParserState.cc: Removed
  3494. * src/SizeMetalinkParserState.h: Removed
  3495. * src/SkipTagMetalinkParserState.cc: Removed
  3496. * src/SkipTagMetalinkParserState.h: Removed
  3497. * src/URLMetalinkParserState.cc: Removed
  3498. * src/URLMetalinkParserState.h: Removed
  3499. * src/VerificationMetalinkParserState.cc: Removed
  3500. * src/VerificationMetalinkParserState.h: Removed
  3501. * src/VersionMetalinkParserState.cc: Removed
  3502. * src/VersionMetalinkParserState.h: Removed
  3503. 2009-09-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3504. Move all functions in PeerMessageUtil to bittorrent_helper.
  3505. * src/BtBitfieldMessage.cc
  3506. * src/BtBitfieldMessageValidator.h
  3507. * src/BtExtendedMessage.cc
  3508. * src/BtHandshakeMessage.cc
  3509. * src/BtHandshakeMessageValidator.h
  3510. * src/BtPieceMessage.cc
  3511. * src/BtPieceMessageValidator.h
  3512. * src/BtPortMessage.cc
  3513. * src/DHTFindNodeReplyMessage.cc
  3514. * src/DHTGetPeersReplyMessage.cc
  3515. * src/DHTMessageFactoryImpl.cc
  3516. * src/DHTRoutingTableDeserializer.cc
  3517. * src/DHTRoutingTableSerializer.cc
  3518. * src/DHTTokenTracker.cc
  3519. * src/DefaultBtMessageFactory.cc
  3520. * src/IndexBtMessage.cc
  3521. * src/IndexBtMessage.h
  3522. * src/IndexBtMessageValidator.h
  3523. * src/Makefile.am
  3524. * src/PeerMessageUtil.cc: Removed.
  3525. * src/PeerMessageUtil.h: Removed.
  3526. * src/RangeBtMessage.cc
  3527. * src/RangeBtMessage.h
  3528. * src/RangeBtMessageValidator.h
  3529. * src/UTPexExtensionMessage.cc
  3530. * src/ZeroBtMessage.cc
  3531. * src/ZeroBtMessage.h
  3532. * src/bittorrent_helper.cc
  3533. * src/bittorrent_helper.h
  3534. * test/BittorrentHelperTest.cc
  3535. * test/BtAllowedFastMessageTest.cc
  3536. * test/BtBitfieldMessageTest.cc
  3537. * test/BtCancelMessageTest.cc
  3538. * test/BtChokeMessageTest.cc
  3539. * test/BtExtendedMessageTest.cc
  3540. * test/BtHandshakeMessageTest.cc
  3541. * test/BtHaveAllMessageTest.cc
  3542. * test/BtHaveMessageTest.cc
  3543. * test/BtHaveNoneMessageTest.cc
  3544. * test/BtInterestedMessageTest.cc
  3545. * test/BtNotInterestedMessageTest.cc
  3546. * test/BtPieceMessageTest.cc
  3547. * test/BtPortMessageTest.cc
  3548. * test/BtRejectMessageTest.cc
  3549. * test/BtRequestMessageTest.cc
  3550. * test/BtSuggestPieceMessageTest.cc
  3551. * test/BtUnchokeMessageTest.cc
  3552. * test/DHTFindNodeReplyMessageTest.cc
  3553. * test/DHTGetPeersReplyMessageTest.cc
  3554. * test/DHTMessageFactoryImplTest.cc
  3555. * test/DHTRoutingTableDeserializerTest.cc
  3556. * test/DHTRoutingTableSerializerTest.cc
  3557. * test/DefaultBtMessageFactoryTest.cc
  3558. * test/DefaultExtensionMessageFactoryTest.cc
  3559. * test/Makefile.am
  3560. * test/PeerListProcessorTest.cc
  3561. * test/PeerMessageUtilTest.cc: Removed.
  3562. * test/UTPexExtensionMessageTest.cc
  3563. 2009-09-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3564. Limit the size of values list when sending get_peers reply.
  3565. * src/DHTGetPeersReplyMessage.cc
  3566. 2009-09-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3567. Updated banner
  3568. * doc/xmlrpc/aria2rpc
  3569. 2009-09-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3570. Added missing help message for remove command.
  3571. * doc/xmlrpc/aria2rpc
  3572. 2009-09-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3573. Generated configure and config.h.in
  3574. 2009-09-23 Ross Smith II <aria2spam at smithii dot com>
  3575. Add check for fork(), which is missing on MinGW
  3576. * src/daemon.cc
  3577. * configure.ac
  3578. 2009-09-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3579. Removed unused methods Util::fileCopy(), Util::rangedFileCopy(),
  3580. Util::expandBuffer(), Util::unfoldRange(), Util::indexRange() and
  3581. Util::httpGMT().
  3582. * src/Util.cc
  3583. * src/Util.h
  3584. * test/UtilTest.cc
  3585. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3586. * Release 1.6.0
  3587. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3588. Fixed a path to xmlrpc/README.txt
  3589. * doc/Makefile.am
  3590. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3591. Added XML-RPC in -v Configuration output.
  3592. * src/FeatureConfig.cc
  3593. * src/FeatureConfig.h
  3594. * test/FeatureConfigTest.cc
  3595. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3596. Updated Bulgarian, Russian, Slovak and Japanese
  3597. translations. Thanks to all translators.
  3598. * po/bg.po
  3599. * po/ja.po
  3600. * po/ru.po
  3601. * po/sk.po
  3602. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3603. Removed --retry-wait option from aria2rpc
  3604. * doc/xmlrpc/aria2rpc
  3605. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3606. Removed --retry-wait option from man page.
  3607. * doc/aria2c.1.txt
  3608. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3609. Removed --retry-wait option since the current architecture doesn't
  3610. allow sleep for particular URI.
  3611. * src/AbstractCommand.cc
  3612. * src/OptionHandlerFactory.cc
  3613. * src/download_helper.cc
  3614. * src/prefs.cc
  3615. * src/prefs.h
  3616. 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3617. Removed Retry-After header support. Since the current architecture
  3618. doesn't allow sleep for particular URI.
  3619. * src/HttpSkipResponseCommand.cc
  3620. 2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3621. Updated the help message for --daemon option.
  3622. * doc/aria2c.1.txt
  3623. * src/usage_text.h
  3624. 2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3625. Added our own daemon() function for systems which desn't have
  3626. daemon(3).
  3627. * configure.ac
  3628. * src/Makefile.am
  3629. * src/daemon.cc
  3630. * src/daemon.h
  3631. * src/option_processing.cc
  3632. 2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3633. Simplified File::getCurrentDir()
  3634. * src/File.cc
  3635. 2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3636. Use exit() instead of _exit
  3637. * src/RequestGroupMan.cc
  3638. 2009-09-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3639. Replaced "CATEGORY" with "TAGS".
  3640. * src/usage_text.h
  3641. * doc/aria2c.1.txt
  3642. 2009-09-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3643. Updated the help message for --help option.
  3644. * src/usage_text.h
  3645. * doc/aria2c.1.txt
  3646. 2009-09-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3647. Updated man page for added help tags.
  3648. * doc/aria2c.1.txt
  3649. 2009-09-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3650. Added help category #file. Added #file tag to the options related
  3651. to downloaded file.
  3652. * src/OptionHandlerFactory.cc
  3653. * src/help_tags.h
  3654. 2009-09-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3655. Added help categories: #cookie and #hook. Added #https tag to
  3656. --https-proxy and --https-proxy, --all-proxy and --no-proxy.
  3657. * src/OptionHandlerFactory.cc
  3658. * src/help_tags.h
  3659. 2009-09-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3660. Made MSG_NOT_FILE translatable.
  3661. * src/message.h
  3662. 2009-09-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3663. Updated man page for --help option.
  3664. * doc/aria2c.1.txt
  3665. 2009-09-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3666. Updated doc.
  3667. * src/XmlRpcMethod.h
  3668. 2009-09-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3669. Help category now starts with "#" to distinguish a category from
  3670. keyword search. For example, "http" categroy is now "#http". You
  3671. can type "--help=#http" to get explanation of options related to
  3672. http. If '#' is omitted, then the argument is treated as a keyword
  3673. and aria2 searches options whose name includes the keyword and
  3674. print matched ones. For example, "--help=http" will show options
  3675. whose name includes "http".
  3676. * src/OptionHandlerFactory.cc
  3677. * src/help_tags.h
  3678. * src/usage_text.h
  3679. * src/version_usage.cc
  3680. 2009-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3681. Documented missing experimental tag and newly added xml-rpc tag in
  3682. man page.
  3683. * doc/aria2c.1.txt
  3684. 2009-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3685. Added xml-rpc help tag. Tagged xml-rpc related options with
  3686. xml-rpc tag.
  3687. * src/OptionHandlerFactory.cc
  3688. * src/help_tags.h
  3689. 2009-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3690. Updated message when a path is not a file. Updated common message
  3691. for wrong option.
  3692. * src/OptionHandlerException.cc
  3693. * src/message.h
  3694. 2009-09-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3695. Use File::isFile() instead of File::exists(). Updated message when
  3696. a path is not a file.
  3697. * src/OptionHandlerImpl.cc
  3698. * src/message.h
  3699. 2009-09-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3700. Fixed the bug that server performence profile is not updated when
  3701. aria2c was terminated by emergency shutdown.
  3702. * src/TrackerWatcherCommand.cc
  3703. 2009-09-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3704. Use LocalFilePathOptionHandler for -T and -M option.
  3705. Updated message of MSG_FILE_NOT_EXIST.
  3706. * src/OptionHandlerFactory.cc
  3707. * src/message.h
  3708. 2009-09-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3709. Added LocalFilePathOptionHandler which check whether the specified
  3710. file path does exist or not.
  3711. * src/OptionHandlerImpl.cc
  3712. * src/message.h
  3713. 2009-09-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3714. Updated wiki page URI.
  3715. * README
  3716. * doc/aria2c.1.txt
  3717. 2009-09-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3718. Added README.txt for xmlrpc directory.
  3719. * doc/Makefile.am
  3720. * doc/xmlrpc/README.txt
  3721. 2009-09-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3722. Bump up version number to 1.6.0.
  3723. * configure.ac
  3724. 2009-09-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3725. Added XML-RPC client scripts written in ruby.
  3726. * doc/Makefile.am
  3727. * doc/xmlrpc/aria2mon
  3728. * doc/xmlrpc/aria2rpc
  3729. 2009-08-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3730. Added support for IPv6 literal address in URI. Now aria2 can
  3731. handle URI such as http://[::1]/
  3732. * src/HttpRequest.cc
  3733. * src/HttpRequest.h
  3734. * src/Request.cc
  3735. * src/Request.h
  3736. * test/HttpRequestTest.cc
  3737. * test/OptionHandlerTest.cc
  3738. * test/RequestTest.cc
  3739. 2009-08-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3740. Fixed the bug that HTTP request header for XML-RPC request is not
  3741. parsed properly.
  3742. * src/HttpHeader.cc
  3743. * src/HttpHeaderProcessor.cc
  3744. 2009-08-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3745. Fixed the bug that XML-RPC authorization might be done before HTTP
  3746. request header is fully received.
  3747. * src/HttpServerCommand.cc
  3748. 2009-08-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3749. Documented --xml-rpc-listen-all option in man page.
  3750. * doc/aria2c.1.txt
  3751. 2009-08-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3752. Added --xml-rpc-listen-all option. If true is given to this
  3753. option, aria2 listens incoming XML-RPC requests on all network
  3754. interfaces. If false is given, listens only on local loopback
  3755. interface. The default value is false.
  3756. * src/HttpListenCommand.cc
  3757. * src/OptionHandlerFactory.cc
  3758. * src/SocketCore.cc
  3759. * src/SocketCore.h
  3760. * src/prefs.cc
  3761. * src/prefs.h
  3762. * src/usage_text.h
  3763. 2009-08-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3764. * Release 1.5.2
  3765. 2009-08-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3766. Updated Ukrainian and Russian translations. Thanks to all
  3767. translators.
  3768. * po/ru.po
  3769. * po/uk.po
  3770. 2009-08-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3771. Bump up version number to 1.5.2
  3772. * configure.ac
  3773. 2009-08-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3774. Get comment, comment.utf-8, created by and creation date from
  3775. .torrent file and print them in -S output.
  3776. * src/bittorrent_helper.cc
  3777. * src/bittorrent_helper.h
  3778. * test/BittorrentHelperTest.cc
  3779. * test/test.torrent
  3780. * test/utf8.torrent
  3781. 2009-08-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3782. Show exact file size along in -S option output.
  3783. * src/Util.h
  3784. * src/bittorrent_helper.cc
  3785. * test/UtilTest.cc
  3786. 2009-08-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3787. Avoided unnecessary memory allocation in
  3788. BitfieldMan::getCompletedLength().
  3789. * src/BitfieldMan.cc
  3790. 2009-08-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3791. Fixed the bug that download fails if
  3792. SocketCore::establishConnection() throws exception and aria2
  3793. doesn't try another address.
  3794. * src/AbstractCommand.cc
  3795. * src/InitiateConnectionCommand.cc
  3796. * src/message.h
  3797. 2009-08-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3798. Fixed sqlite3.m4 macro so that sqlite3_open_v2 function is
  3799. detected properly.
  3800. * m4/sqlite3.m4
  3801. 2009-08-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3802. Renamed xmlrpc::elements::PARAMS to xmlrpc::elements::A2_PARAMS
  3803. because it causes compile error if PARAMS macro is defined.
  3804. * src/XmlRpcElements.cc
  3805. * src/XmlRpcElements.h
  3806. * src/XmlRpcRequestParserStateImpl.cc
  3807. 2009-07-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3808. * Release 1.5.1
  3809. 2009-07-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3810. Bump up version number to 1.5.1
  3811. * configure.ac
  3812. 2009-07-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3813. Fixed compile error without BitTorrent support
  3814. * src/DefaultBtProgressInfoFile.cc
  3815. * src/DownloadEngine.cc
  3816. * src/DownloadEngine.h
  3817. 2009-07-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3818. Added missing '=' in Download Results
  3819. * src/RequestGroupMan.cc
  3820. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3821. Fixed compiler warning
  3822. * src/DefaultBtProgressInfoFile.cc
  3823. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3824. Fixed compiler warning on 32bit systems.
  3825. * src/DownloadCommand.cc
  3826. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3827. Call flush from ServerStatMan::save()
  3828. * src/ServerStatMan.cc
  3829. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3830. Check stream status after file is opened.
  3831. * src/CookieStorage.cc
  3832. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3833. Rewritten Signature::save()
  3834. * src/Signature.cc
  3835. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3836. Rewritten RequestGroupMan::saveServerStat()
  3837. * src/RequestGroupMan.cc
  3838. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3839. Rewritten stream error handling
  3840. * src/DHTAutoSaveCommand.cc
  3841. * src/DHTRoutingTableDeserializer.cc
  3842. * src/DHTRoutingTableSerializer.cc
  3843. * src/DHTSetup.cc
  3844. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3845. Check stream status after file is opened.
  3846. * src/DefaultBtProgressInfoFile.cc
  3847. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3848. Rewritten stream error handling
  3849. * src/DefaultBtProgressInfoFile.cc
  3850. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3851. Make sure that stream is closed before renaming file. Unit test
  3852. fails on mingw32 in the previous implementation.
  3853. * src/CookieStorage.cc
  3854. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3855. Fixed the unit test error without sqlite3
  3856. * test/CookieStorageTest.cc
  3857. 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3858. Fixed the undefined reference error
  3859. * test/HttpResponseTest.cc
  3860. 2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3861. * Release 1.5.0
  3862. 2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3863. Updated Russian, Italian, Danish, Bulgarian, Japanese and
  3864. Ukrainian translations. Thanks to all translators.
  3865. * po/ru.po
  3866. * po/it.po
  3867. * po/da.po
  3868. * po/bg.po
  3869. * po/ja.po
  3870. * po/uk.po
  3871. 2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3872. Added missing src/Logger.cc
  3873. * src/Logger.cc
  3874. 2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3875. Rewritten Logger to avoiding constly virtual call.
  3876. * src/LogFactory.cc
  3877. * src/LogFactory.h
  3878. * src/Logger.h
  3879. * src/Makefile.am
  3880. * src/Makefile.in
  3881. * src/NullLogger.h: Removed.
  3882. * src/SimpleLogger.cc
  3883. * src/SimpleLogger.h
  3884. 2009-07-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3885. Updated doc
  3886. * src/main.cc
  3887. 2009-07-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3888. Updated debug log message
  3889. * src/AbstractCommand.cc
  3890. * src/message.h
  3891. 2009-07-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3892. Avoid to create zombie process when commands specified in
  3893. --on-download-* options are executed. Tested on Linux 2.6, Mac OS
  3894. X and NetBSD.
  3895. * src/main.cc
  3896. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3897. Fixed typo
  3898. * src/usage_text.h
  3899. * doc/aria2c.1.txt
  3900. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3901. Documented 'errorCode' of tellStatus in man page.
  3902. * doc/aria2c.1.txt
  3903. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3904. Added 'errorCode' to the reponse of tellStatus xml-rpc method.
  3905. This key is only available for stopped/completed downloads and its
  3906. value is the error code defined in EXIT STATUS in man page.
  3907. * src/XmlRpcMethodImpl.cc
  3908. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3909. Fixed the bug that session download length is not updated when
  3910. PeerStat is not fastest one.
  3911. * src/SegmentMan.cc
  3912. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3913. Updated doc.
  3914. * doc/aria2c.1.txt
  3915. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3916. Updated doc.
  3917. * src/AbstractCommand.cc
  3918. 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3919. Handle the case when DownloadContext has no FileEntry.
  3920. * src/XmlRpcMethodImpl.cc
  3921. 2009-07-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3922. Handle the situation where struct option.name is char *.
  3923. * configure.ac
  3924. * src/OptionParser.cc
  3925. 2009-07-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3926. Code cleanup
  3927. * src/AbstractCommand.cc
  3928. * src/DownloadCommand.cc
  3929. 2009-07-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3930. Use option of each download to create AuthConfig instead of global
  3931. option.
  3932. * src/AuthConfigFactory.cc
  3933. * src/AuthConfigFactory.h
  3934. * src/FtpNegotiationCommand.cc
  3935. * src/HttpRequest.cc
  3936. * src/HttpRequest.h
  3937. * src/HttpRequestCommand.cc
  3938. * src/HttpSkipResponseCommand.cc
  3939. * src/MultiUrlRequestInfo.cc
  3940. * test/AuthConfigFactoryTest.cc
  3941. * test/FtpConnectionTest.cc
  3942. * test/HttpRequestTest.cc
  3943. 2009-07-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3944. Don't call prepareForRetry(1) if all segments are ignored in
  3945. SegmentMan.
  3946. * src/AbstractCommand.cc
  3947. * src/BitfieldMan.cc
  3948. * src/BitfieldMan.h
  3949. * src/SegmentMan.cc
  3950. * src/SegmentMan.h
  3951. 2009-07-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3952. Removed FileEntry::getAssociatedUris()
  3953. * src/FileEntry.h
  3954. 2009-07-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3955. Updated doc: TODO1.5 -> TODO
  3956. * src/FileEntry.cc
  3957. * src/HttpResponseCommand.cc
  3958. 2009-07-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3959. Added assertion fileEntries.size() == 1 if BitTorrent is not
  3960. involved.
  3961. * src/RequestGroup.cc
  3962. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3963. Eliminated duplicated filterBitfield initialization code.
  3964. * src/BitfieldMan.cc
  3965. * src/BitfieldMan.h
  3966. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3967. Added assert(!req.isNull()) when DlRetryEx is caught(this is
  3968. relatively naive approach, though). For DownloadFailureException,
  3969. we handle the case when req is null properly.
  3970. * src/AbstractCommand.cc
  3971. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3972. Added function returning suffix of control file to
  3973. DefaultBtProgressInfoFile.
  3974. * src/DefaultBtProgressInfoFile.cc
  3975. * src/DefaultBtProgressInfoFile.h
  3976. * src/RequestGroup.cc
  3977. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3978. Documented getVersion in man page.
  3979. * doc/aria2c.1.txt
  3980. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3981. Documented type of offset and num for tellWaiting xml-rpc method.
  3982. * doc/aria2c.1.txt
  3983. 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3984. Implemented getVersion xml-rpc method. This method returns struct
  3985. which has 2 key-value pairs: "version" key is associated to the
  3986. version of aria2, such as "1.5.0". "enabledFeatures" key is
  3987. associated to the list of enabled features, such as "Async DNS",
  3988. "BitTorrent".
  3989. * src/FeatureConfig.h
  3990. * src/XmlRpcMethodFactory.cc
  3991. * src/XmlRpcMethodImpl.cc
  3992. * src/XmlRpcMethodImpl.h
  3993. * test/XmlRpcMethodTest.cc
  3994. 2009-07-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3995. Removed TLS1.1 protocol support when aria2 is built with gnutls
  3996. for compatibility issue.
  3997. * src/SocketCore.cc
  3998. 2009-07-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  3999. Fixed compile error with openSSL
  4000. * src/bittorrent_helper.cc
  4001. * src/messageDigest.h
  4002. 2009-07-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4003. Removed bad code: setting certificate type priority to key
  4004. exchange priority.
  4005. * src/SocketCore.cc
  4006. 2009-07-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4007. Disconnect seeder if client is also in seed state.
  4008. * src/BtBitfieldMessage.cc
  4009. * src/BtHaveAllMessage.cc
  4010. * src/BtHaveMessage.cc
  4011. * src/message.h
  4012. * test/BtBitfieldMessageTest.cc
  4013. * test/BtHaveAllMessageTest.cc
  4014. * test/BtHaveMessageTest.cc
  4015. * test/MockPieceStorage.h
  4016. 2009-07-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4017. Keep CreateRequestCommand in queue when no segment is available so
  4018. that they can pick up pieces which slow BitTorrent peers are
  4019. downloading.
  4020. * src/AbstractCommand.cc
  4021. * src/CreateRequestCommand.cc
  4022. * src/CreateRequestCommand.h
  4023. 2009-07-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4024. --bt-stop-timeout now only checks download speed.
  4025. * src/BtStopDownloadCommand.cc
  4026. * src/BtStopDownloadCommand.h
  4027. * src/BtSetup.cc
  4028. * src/usage_text.h
  4029. * doc/aria2c.1.txt
  4030. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4031. Fixed compile error regarding BUFSIZE.
  4032. * src/DownloadCommand.cc
  4033. * src/DownloadCommand.h
  4034. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4035. Documented tellWaiting xml-rpc method in man page.
  4036. * doc/aria2c.1.txt
  4037. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4038. Bump up version number to 1.5.0
  4039. * configure.ac
  4040. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4041. Removed resolved TODO1.5
  4042. * src/AbstractCommand.cc
  4043. * src/DownloadCommand.cc
  4044. * src/RequestGroup.cc
  4045. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4046. Release pooled and in-flight Request objectsand URIResult objects
  4047. in FileEntry after download completed.
  4048. * src/DownloadContext.cc
  4049. * src/DownloadContext.h
  4050. * src/FileEntry.cc
  4051. * src/FileEntry.h
  4052. * src/RequestGroup.cc
  4053. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4054. Set manual and source attribute in aria2c.1.txt
  4055. * doc/aria2c.1.txt
  4056. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4057. Documented that the default value of --use-head is 'false' in man
  4058. page.
  4059. * doc/aria2c.1.txt
  4060. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4061. Added bt-stop-timeout option to -i list.
  4062. * doc/aria2c.1.txt
  4063. * src/download_helper.cc
  4064. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4065. Fixed typo
  4066. * doc/aria2c.1.txt
  4067. * src/usage_text.h
  4068. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4069. Removed peer-id-prefix option from -i list.
  4070. * doc/aria2c.1.txt
  4071. * src/download_helper.cc
  4072. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4073. Fixed typo
  4074. * doc/aria2c.1.txt
  4075. * src/usage_text.h
  4076. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4077. Documented --bt-stop-timeout option in man page.
  4078. * doc/aria2c.1.txt
  4079. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4080. Updated README regarding multi-file torrent web-seeding.
  4081. * doc/README.txt
  4082. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4083. Updated man page regarding multi-file torrent web-seeding.
  4084. * doc/aria2c.1.txt
  4085. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4086. Updated doc
  4087. * src/version_usage.cc
  4088. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4089. Winsock select() doesn't work if no socket is in FD_SET. To
  4090. overcome this problem, a dummy socket is added to FD_SET and it is
  4091. given to select().
  4092. * src/SelectEventPoll.cc
  4093. * src/SelectEventPoll.h
  4094. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4095. Disabled --use-head option by default because --use-head=true
  4096. causes problems on some web sites.
  4097. * src/OptionHandlerFactory.cc
  4098. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4099. Print URL List in -S option for torrent.
  4100. * src/bittorrent_helper.cc
  4101. * src/bittorrent_helper.h
  4102. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4103. Allocate buffer in ctor of DownloadCommand.
  4104. * src/DownloadCommand.cc
  4105. * src/DownloadCommand.h
  4106. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4107. Removed DiskAdaptor::onDownloadComplete()
  4108. * src/DirectDiskAdaptor.cc
  4109. * src/DirectDiskAdaptor.h
  4110. * src/DiskAdaptor.h
  4111. * src/MultiDiskAdaptor.cc
  4112. * src/MultiDiskAdaptor.h
  4113. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4114. Committed missing BtStopDownloadCommand.{cc,h}
  4115. * src/BtStopDownloadCommand.cc
  4116. * src/BtStopDownloadCommand.h
  4117. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4118. Added --bt-stop-timeout=SEC option. This function stops BitTorrent
  4119. download if the download speed is 0 and the number of seeder is 0
  4120. in consecutive SEC seconds. By default, this function is disabled.
  4121. * src/BtSetup.cc
  4122. * src/Makefile.am
  4123. * src/OptionHandlerFactory.cc
  4124. * src/prefs.cc
  4125. * src/prefs.h
  4126. * src/usage_text.h
  4127. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4128. Removed the call to DiskAdaptor::onDownloadComplete() from
  4129. BtCheckIntegrityEntry and DefaultPieceStorage.
  4130. * src/BtCheckIntegrityEntry.cc
  4131. * src/DefaultPieceStorage.cc
  4132. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4133. Commented out throw statements when number of piece is 0 to
  4134. download 0 length torrent.
  4135. * src/bittorrent_helper.cc
  4136. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4137. Call RequestGroup::createNextCommandWithAdj() from
  4138. BtFileAllocationEntry if at least one FileEntry has URI. The
  4139. static function hasAssociatedUri in RequestGroup.cc is renamed as
  4140. isUriSuppliedForRequsetFileEntry() and placed in FileEntry.h.
  4141. * src/BtFileAllocationEntry.cc
  4142. * src/FileEntry.h
  4143. * src/RequestGroup.cc
  4144. 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4145. Generate peer ID after SimpleRandomizer is initialized.
  4146. * src/main.cc
  4147. * src/option_processing.cc
  4148. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4149. Removed unused method argument.
  4150. * src/CreateRequestCommand.cc
  4151. * src/RequestGroup.cc
  4152. * src/RequestGroup.h
  4153. * src/RequestGroupMan.cc
  4154. * src/TrackerWatcherCommand.cc
  4155. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4156. Made URI reusing function work.
  4157. * src/CreateRequestCommand.cc
  4158. * src/FileEntry.cc
  4159. * src/FileEntry.h
  4160. * test/FileEntryTest.cc
  4161. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4162. Add formerly fastest PeerStat's sessionDownloadLength to new
  4163. fastest PeerStat and use _fastestPeerStats to calcuate downloaded
  4164. bytes in a session.
  4165. * src/PeerStat.cc
  4166. * src/SegmentMan.cc
  4167. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4168. If pipelining is enabled, we can always pool socket.
  4169. * src/HttpDownloadCommand.cc
  4170. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4171. In a single file download, file size becomes known just after
  4172. downloading, set total length to FileEntry object when download
  4173. completed.
  4174. * src/DownloadCommand.cc
  4175. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4176. Use std::vector::reserve() for fileEntries and pieceHashes in
  4177. bittorrent_helper
  4178. * src/bittorrent_helper.cc
  4179. 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4180. Removed calls to Request::resetUrl() in AbstractCommand.cc.
  4181. Removed hidden option PREF_RESET_URI.
  4182. * src/AbstractCommand.cc
  4183. * src/OptionHandlerFactory.cc
  4184. * src/prefs.cc
  4185. * src/prefs.h
  4186. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4187. Removed unused variable/function.
  4188. * src/PeerStat.h
  4189. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4190. Show first URL in Download Results if file path is not available.
  4191. * src/FileEntry.h
  4192. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4193. Throw exception if file path doesn't exist in FTP URL.
  4194. * src/InitiateConnectionCommandFactory.cc
  4195. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4196. Refactored BitfieldMan::getSparseMissingUnusedIndex()
  4197. * src/BitfieldMan.cc
  4198. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4199. Rewritten PeerStats handling in SegmentMan.cc. Now we have 2 list
  4200. of PeerStat in SegmentMan. peerStats is used for calculating
  4201. download speed. Therefore all active PeerStats should be in
  4202. there. Another one is _fastestPeerStats and it only contains
  4203. fastest PeerStat for each hostname/protocol pair. They are used
  4204. for updating ServerStat.
  4205. * src/DownloadCommand.cc
  4206. * src/Request.h
  4207. * src/RequestGroupMan.cc
  4208. * src/SegmentMan.cc
  4209. * src/SegmentMan.h
  4210. * test/SegmentManTest.cc
  4211. 2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4212. Try all available addresses returned by DNS until it gets
  4213. connected in HTTP(S)/FTP download
  4214. * src/AbstractCommand.cc
  4215. * src/AbstractCommand.h
  4216. * src/AbstractProxyRequestCommand.cc
  4217. * src/AbstractProxyRequestCommand.h
  4218. * src/DNSCache.h
  4219. * src/DownloadEngine.cc
  4220. * src/DownloadEngine.h
  4221. * src/FtpInitiateConnectionCommand.cc
  4222. * src/FtpInitiateConnectionCommand.h
  4223. * src/FtpNegotiationCommand.cc
  4224. * src/FtpNegotiationCommand.h
  4225. * src/HttpInitiateConnectionCommand.cc
  4226. * src/HttpInitiateConnectionCommand.h
  4227. * src/HttpRequestCommand.cc
  4228. * src/HttpRequestCommand.h
  4229. * src/InitiateConnectionCommand.cc
  4230. * src/InitiateConnectionCommand.h
  4231. * test/DNSCacheTest.cc
  4232. * test/Makefile.am
  4233. * test/SimpleDNSCacheTest.cc
  4234. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4235. Updated doc
  4236. * src/download_helper.cc
  4237. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4238. Refactored fieldMan ctor.
  4239. * src/BitfieldMan.cc
  4240. * src/BitfieldMan.h
  4241. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4242. Don't print "No files to download." message if -S is given.
  4243. * src/main.cc
  4244. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4245. Set referer and method to newly created Request object.
  4246. * src/CreateRequestCommand.cc
  4247. * src/FileEntry.cc
  4248. * src/FileEntry.h
  4249. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4250. Removed ctor of AbstractCommand which doesn't take FileEntry.
  4251. * src/AbstractCommand.cc
  4252. * src/AbstractCommand.h
  4253. * src/CreateRequestCommand.cc
  4254. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4255. Get proxy download working
  4256. * src/AbstractProxyRequestCommand.cc
  4257. * src/AbstractProxyRequestCommand.h
  4258. * src/AbstractProxyResponseCommand.cc
  4259. * src/AbstractProxyResponseCommand.h
  4260. * src/FtpInitiateConnectionCommand.cc
  4261. * src/FtpTunnelRequestCommand.cc
  4262. * src/FtpTunnelRequestCommand.h
  4263. * src/FtpTunnelResponseCommand.cc
  4264. * src/FtpTunnelResponseCommand.h
  4265. * src/HttpInitiateConnectionCommand.cc
  4266. * src/HttpProxyRequestCommand.cc
  4267. * src/HttpProxyRequestCommand.h
  4268. * src/HttpProxyResponseCommand.cc
  4269. * src/HttpProxyResponseCommand.h
  4270. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4271. Use SegmentMan::getSegment(cuid) for single file download.
  4272. * src/AbstractCommand.cc
  4273. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4274. Fixed bufSize calculation
  4275. * src/DownloadCommand.cc
  4276. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4277. Don't append "/" if base URI ends with "/".
  4278. * src/bittorrent_helper.cc
  4279. * test/url-list-multiFile.torrent
  4280. 2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4281. HTTP pipelining is now working. Fixed Segmention fault in
  4282. BitfieldMan's copy ctor.
  4283. * src/AbstractCommand.cc
  4284. * src/BitfieldMan.cc
  4285. * src/BitfieldMan.h
  4286. * src/DownloadCommand.cc
  4287. * src/HttpDownloadCommand.cc
  4288. * src/HttpRequest.cc
  4289. * src/SegmentMan.cc
  4290. * src/SegmentMan.h
  4291. * test/BitfieldManTest.cc
  4292. * test/SegmentManTest.cc
  4293. 2009-06-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4294. Removed ServerHost. Same functionality is implemented using
  4295. FileEntry's in-flight Request objects.
  4296. * src/AbstractCommand.cc
  4297. * src/BtDependency.cc
  4298. * src/CreateRequestCommand.cc
  4299. * src/FileEntry.cc
  4300. * src/FileEntry.h
  4301. * src/FtpNegotiationCommand.cc
  4302. * src/HttpResponseCommand.cc
  4303. * src/Makefile.am
  4304. * src/Metalink2RequestGroup.cc
  4305. * src/RequestGroup.cc
  4306. * src/RequestGroup.h
  4307. * src/ServerHost.cc: Removed
  4308. * src/ServerHost.h: Removed
  4309. * test/BtDependencyTest.cc
  4310. * test/FileEntryTest.cc
  4311. * test/RequestGroupTest.cc
  4312. 2009-06-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4313. Rewritten PeerStat handling. In the previous implementation,
  4314. faster command tries to find slower command. In this new
  4315. implementation, slower command tries to find faster command.
  4316. PeerStat is now created in each HTTP/FTP request to get download
  4317. rate correctly. If the download range is small, the download rate
  4318. tends to small and this will occur at the later stage of download.
  4319. * src/AbstractCommand.cc
  4320. * src/DownloadCommand.cc
  4321. * src/FileEntry.cc
  4322. * src/FileEntry.h
  4323. * src/Request.cc
  4324. * src/Request.h
  4325. * src/RequestGroup.h
  4326. * src/RequestGroupMan.cc
  4327. * src/SegmentMan.cc
  4328. * src/SegmentMan.h
  4329. * test/SegmentManTest.cc
  4330. 2009-06-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4331. Removed _uris from RequestGroup. All functions that refer to _uris
  4332. were moved to FileEntry. Exit status code are now defined in
  4333. DownloadResultCode.h.
  4334. * src/AbstractCommand.cc
  4335. * src/AdaptiveURISelector.cc
  4336. * src/AdaptiveURISelector.h
  4337. * src/AutoSaveCommand.cc
  4338. * src/BtPostDownloadHandler.cc
  4339. * src/CheckIntegrityDispatcherCommand.cc
  4340. * src/CookieStorage.cc
  4341. * src/DHTAutoSaveCommand.cc
  4342. * src/DHTBucketRefreshCommand.cc
  4343. * src/DHTEntryPointNameResolveCommand.cc
  4344. * src/DHTInteractionCommand.cc
  4345. * src/DHTPeerAnnounceCommand.cc
  4346. * src/DHTTokenUpdateCommand.cc
  4347. * src/DlAbortEx.h
  4348. * src/DlRetryEx.h
  4349. * src/DownloadCommand.cc
  4350. * src/DownloadContext.h
  4351. * src/DownloadFailureException.h
  4352. * src/DownloadResult.h
  4353. * src/DownloadResultCode.h
  4354. * src/FeedbackURISelector.cc
  4355. * src/FeedbackURISelector.h
  4356. * src/FileEntry.cc
  4357. * src/FileEntry.h
  4358. * src/FtpNegotiationCommand.cc
  4359. * src/HttpListenCommand.cc
  4360. * src/HttpResponseCommand.cc
  4361. * src/HttpServerResponseCommand.cc
  4362. * src/HttpSkipResponseCommand.cc
  4363. * src/InOrderURISelector.cc
  4364. * src/InOrderURISelector.h
  4365. * src/Makefile.am
  4366. * src/Makefile.in
  4367. * src/Metalink2RequestGroup.cc
  4368. * src/MultiUrlRequestInfo.cc
  4369. * src/MultiUrlRequestInfo.h
  4370. * src/OptionHandlerFactory.cc
  4371. * src/PeerListenCommand.cc
  4372. * src/RecoverableException.h
  4373. * src/RequestGroup.cc
  4374. * src/RequestGroup.h
  4375. * src/RequestGroupMan.cc
  4376. * src/RequestGroupMan.h
  4377. * src/TimedHaltCommand.cc
  4378. * src/TrackerWatcherCommand.cc
  4379. * src/URIResult.cc
  4380. * src/URIResult.h
  4381. * src/URISelector.h
  4382. * src/XmlRpcMethodImpl.cc
  4383. * src/bittorrent_helper.cc
  4384. * src/bittorrent_helper.h
  4385. * src/download_helper.cc
  4386. * src/main.cc
  4387. * src/option_processing.cc
  4388. * test/BtDependencyTest.cc
  4389. * test/BtPostDownloadHandlerTest.cc
  4390. * test/CookieStorageTest.cc
  4391. * test/DefaultBtMessageDispatcherTest.cc
  4392. * test/DownloadHandlerFactoryTest.cc
  4393. * test/DownloadHelperTest.cc
  4394. * test/FeedbackURISelectorTest.cc
  4395. * test/FileEntryTest.cc
  4396. * test/InOrderURISelectorTest.cc
  4397. * test/Metalink2RequestGroupTest.cc
  4398. * test/MetalinkPostDownloadHandlerTest.cc
  4399. * test/RequestGroupManTest.cc
  4400. * test/RequestGroupTest.cc
  4401. * test/XmlRpcMethodTest.cc
  4402. 2009-06-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4403. Removed MockBtContext.h
  4404. * test/Makefile.am
  4405. 2009-06-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4406. Removed _currentRequest from StreamCheckIntegrityEntry and
  4407. StreamFileAllocationEntry.
  4408. * src/AbstractCommand.cc
  4409. * src/HttpResponseCommand.cc
  4410. * src/RequestGroup.cc
  4411. * src/StreamCheckIntegrityEntry.cc
  4412. * src/StreamCheckIntegrityEntry.h
  4413. * src/StreamFileAllocationEntry.cc
  4414. * src/StreamFileAllocationEntry.h
  4415. 2009-06-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4416. Rewritten DownloadContext and removed SingleFileDownloadContext
  4417. and BtContext and its derived classes. BitTorrent specific
  4418. attributes are now set by DownloadContext::setAttribute() with key
  4419. bittorrent::BITTORRENT.
  4420. * src/AbstractBtMessage.cc
  4421. * src/AbstractBtMessage.h
  4422. * src/AbstractCommand.cc
  4423. * src/AbstractCommand.h
  4424. * src/AbstractProxyRequestCommand.cc
  4425. * src/AbstractProxyResponseCommand.cc
  4426. * src/ActivePeerConnectionCommand.cc
  4427. * src/ActivePeerConnectionCommand.h
  4428. * src/AnnounceList.cc
  4429. * src/BtCheckIntegrityEntry.cc
  4430. * src/BtConstants.h
  4431. * src/BtContext.h: Removed
  4432. * src/BtDependency.cc
  4433. * src/BtExtendedMessage.cc
  4434. * src/BtPieceMessage.cc
  4435. * src/BtPieceMessage.h
  4436. * src/BtPostDownloadHandler.cc
  4437. * src/BtRegistry.cc
  4438. * src/BtRegistry.h
  4439. * src/BtSetup.cc
  4440. * src/CheckIntegrityCommand.cc
  4441. * src/CheckIntegrityEntry.cc
  4442. * src/ChecksumCheckIntegrityEntry.cc
  4443. * src/ConsoleStatCalc.cc
  4444. * src/ContentTypeRequestGroupCriteria.cc
  4445. * src/DHTGetPeersCommand.cc
  4446. * src/DHTGetPeersCommand.h
  4447. * src/DHTPeerLookupTask.cc
  4448. * src/DHTPeerLookupTask.h
  4449. * src/DHTTaskFactory.h
  4450. * src/DHTTaskFactoryImpl.cc
  4451. * src/DHTTaskFactoryImpl.h
  4452. * src/DefaultBtAnnounce.cc
  4453. * src/DefaultBtAnnounce.h
  4454. * src/DefaultBtContext.cc: Removed
  4455. * src/DefaultBtContext.h: Removed
  4456. * src/DefaultBtInteractive.cc
  4457. * src/DefaultBtInteractive.h
  4458. * src/DefaultBtMessageDispatcher.cc
  4459. * src/DefaultBtMessageDispatcher.h
  4460. * src/DefaultBtMessageFactory.cc
  4461. * src/DefaultBtMessageFactory.h
  4462. * src/DefaultBtMessageReceiver.cc
  4463. * src/DefaultBtMessageReceiver.h
  4464. * src/DefaultBtProgressInfoFile.cc
  4465. * src/DefaultBtRequestFactory.cc
  4466. * src/DefaultBtRequestFactory.h
  4467. * src/DefaultExtensionMessageFactory.cc
  4468. * src/DefaultExtensionMessageFactory.h
  4469. * src/DefaultPeerStorage.cc
  4470. * src/DefaultPeerStorage.h
  4471. * src/DefaultPieceStorage.cc
  4472. * src/DefaultSegmentManFactory.cc
  4473. * src/DiskAdaptor.cc
  4474. * src/DiskAdaptor.h
  4475. * src/DownloadContext.cc
  4476. * src/DownloadContext.h
  4477. * src/DownloadEngine.cc
  4478. * src/DownloadEngineFactory.cc
  4479. * src/DownloadHandler.cc
  4480. * src/DownloadResult.h
  4481. * src/FileAllocationCommand.cc
  4482. * src/FileAllocationDispatcherCommand.cc
  4483. * src/FileAllocationEntry.cc
  4484. * src/FileEntry.h
  4485. * src/FillRequestGroupCommand.cc
  4486. * src/FtpDownloadCommand.cc
  4487. * src/FtpFinishDownloadCommand.cc
  4488. * src/FtpInitiateConnectionCommand.cc
  4489. * src/FtpNegotiationCommand.cc
  4490. * src/FtpTunnelRequestCommand.cc
  4491. * src/FtpTunnelResponseCommand.cc
  4492. * src/HandshakeExtensionMessage.cc
  4493. * src/HandshakeExtensionMessage.h
  4494. * src/HaveEraseCommand.cc
  4495. * src/HttpDownloadCommand.cc
  4496. * src/HttpInitiateConnectionCommand.cc
  4497. * src/HttpProxyRequestCommand.cc
  4498. * src/HttpProxyResponseCommand.cc
  4499. * src/HttpRequest.cc
  4500. * src/HttpRequest.h
  4501. * src/HttpRequestCommand.cc
  4502. * src/HttpResponseCommand.cc
  4503. * src/HttpServerBodyCommand.cc
  4504. * src/HttpServerCommand.cc
  4505. * src/HttpSkipResponseCommand.cc
  4506. * src/InitiateConnectionCommandFactory.cc
  4507. * src/InitiatorMSEHandshakeCommand.cc
  4508. * src/InitiatorMSEHandshakeCommand.h
  4509. * src/IteratableChecksumValidator.cc
  4510. * src/IteratableChecksumValidator.h
  4511. * src/IteratableChunkChecksumValidator.cc
  4512. * src/MSEHandshake.cc
  4513. * src/MSEHandshake.h
  4514. * src/Makefile.am
  4515. * src/Makefile.in
  4516. * src/Metalink2RequestGroup.cc
  4517. * src/MetalinkPostDownloadHandler.cc
  4518. * src/MultiDiskAdaptor.cc
  4519. * src/MultiDiskAdaptor.h
  4520. * src/MultiFileAllocationIterator.cc
  4521. * src/MultiUrlRequestInfo.cc
  4522. * src/PeerChokeCommand.cc
  4523. * src/PeerChokeCommand.h
  4524. * src/PeerInitiateConnectionCommand.cc
  4525. * src/PeerInitiateConnectionCommand.h
  4526. * src/PeerInteractionCommand.cc
  4527. * src/PeerInteractionCommand.h
  4528. * src/PeerReceiveHandshakeCommand.cc
  4529. * src/PieceHashCheckIntegrityEntry.cc
  4530. * src/RealtimeCommand.cc
  4531. * src/ReceiverMSEHandshakeCommand.cc
  4532. * src/RequestGroup.cc
  4533. * src/RequestGroup.h
  4534. * src/RequestGroupEntry.cc
  4535. * src/RequestGroupMan.cc
  4536. * src/SeedCheckCommand.cc
  4537. * src/SeedCheckCommand.h
  4538. * src/SegmentMan.cc
  4539. * src/ShareRatioSeedCriteria.h
  4540. * src/SingleFileDownloadContext.cc: Removed
  4541. * src/SingleFileDownloadContext.h: Removed
  4542. * src/SleepCommand.cc
  4543. * src/StreamCheckIntegrityEntry.cc
  4544. * src/TrackerWatcherCommand.cc
  4545. * src/TrackerWatcherCommand.h
  4546. * src/UnknownLengthPieceStorage.cc
  4547. * src/Util.cc
  4548. * src/Util.h
  4549. * src/XmlRpcMethodImpl.cc
  4550. * src/bittorrent_helper.cc
  4551. * src/bittorrent_helper.h
  4552. * src/download_helper.cc
  4553. * src/main.cc
  4554. * src/option_processing.cc
  4555. * test/BitfieldManTest.cc
  4556. * test/BittorrentHelperTest.cc
  4557. * test/BtCancelMessageTest.cc
  4558. * test/BtChokeMessageTest.cc
  4559. * test/BtDependencyTest.cc
  4560. * test/BtPieceMessageTest.cc
  4561. * test/BtPostDownloadHandlerTest.cc
  4562. * test/BtRegistryTest.cc
  4563. * test/BtRejectMessageTest.cc
  4564. * test/BtRequestMessageTest.cc
  4565. * test/DHTPeerAnnounceStorageTest.cc
  4566. * test/DefaultBtAnnounceTest.cc
  4567. * test/DefaultBtContextTest.cc: Removed
  4568. * test/DefaultBtMessageDispatcherTest.cc
  4569. * test/DefaultBtMessageFactoryTest.cc
  4570. * test/DefaultBtProgressInfoFileTest.cc
  4571. * test/DefaultBtRequestFactoryTest.cc
  4572. * test/DefaultExtensionMessageFactoryTest.cc
  4573. * test/DefaultPeerStorageTest.cc
  4574. * test/DefaultPieceStorageTest.cc
  4575. * test/DirectDiskAdaptorTest.cc
  4576. * test/DownloadContextTest.cc
  4577. * test/DownloadHandlerFactoryTest.cc
  4578. * test/DownloadHelperTest.cc
  4579. * test/HandshakeExtensionMessageTest.cc
  4580. * test/HttpRequestTest.cc
  4581. * test/HttpResponseTest.cc
  4582. * test/IteratableChecksumValidatorTest.cc
  4583. * test/IteratableChunkChecksumValidatorTest.cc
  4584. * test/MSEHandshakeTest.cc
  4585. * test/Makefile.am
  4586. * test/Makefile.in
  4587. * test/Metalink2RequestGroupTest.cc
  4588. * test/MetalinkPostDownloadHandlerTest.cc
  4589. * test/MockBtContext.h: Removed
  4590. * test/MockDHTTaskFactory.h
  4591. * test/MockDownloadContext.h: Removed
  4592. * test/MockPieceStorage.h
  4593. * test/MultiDiskAdaptorTest.cc
  4594. * test/MultiFileAllocationIteratorTest.cc
  4595. * test/RequestGroupManTest.cc
  4596. * test/RequestGroupTest.cc
  4597. * test/SegmentManTest.cc
  4598. * test/ShareRatioSeedCriteriaTest.cc
  4599. * test/SingleFileDownloadContextTest.cc: Removed
  4600. * test/UtilTest.cc
  4601. * test/XmlRpcMethodTest.cc
  4602. 2009-06-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4603. Added experimental support of WEB-Seeding for multi-file torrent.
  4604. Due to fundamental changes in file handling in HTTP/FTP code, many
  4605. functions are not working: PeerStat, ServerHost, proxy..etc
  4606. * src/AbstractCommand.cc
  4607. * src/AbstractCommand.h
  4608. * src/BitfieldMan.cc
  4609. * src/BitfieldMan.h
  4610. * src/CreateRequestCommand.cc
  4611. * src/CreateRequestCommand.h
  4612. * src/DefaultPieceStorage.cc
  4613. * src/DefaultPieceStorage.h
  4614. * src/DownloadCommand.cc
  4615. * src/DownloadCommand.h
  4616. * src/DownloadContext.cc
  4617. * src/DownloadContext.h
  4618. * src/FileEntry.cc
  4619. * src/FileEntry.h
  4620. * src/FtpDownloadCommand.cc
  4621. * src/FtpDownloadCommand.h
  4622. * src/FtpFinishDownloadCommand.cc
  4623. * src/FtpFinishDownloadCommand.h
  4624. * src/FtpInitiateConnectionCommand.cc
  4625. * src/FtpInitiateConnectionCommand.h
  4626. * src/FtpNegotiationCommand.cc
  4627. * src/FtpNegotiationCommand.h
  4628. * src/FtpTunnelResponseCommand.cc
  4629. * src/HttpDownloadCommand.cc
  4630. * src/HttpDownloadCommand.h
  4631. * src/HttpInitiateConnectionCommand.cc
  4632. * src/HttpInitiateConnectionCommand.h
  4633. * src/HttpProxyResponseCommand.cc
  4634. * src/HttpRequest.cc
  4635. * src/HttpRequest.h
  4636. * src/HttpRequestCommand.cc
  4637. * src/HttpRequestCommand.h
  4638. * src/HttpResponseCommand.cc
  4639. * src/HttpResponseCommand.h
  4640. * src/HttpSkipResponseCommand.cc
  4641. * src/HttpSkipResponseCommand.h
  4642. * src/InitiateConnectionCommand.cc
  4643. * src/InitiateConnectionCommand.h
  4644. * src/InitiateConnectionCommandFactory.cc
  4645. * src/InitiateConnectionCommandFactory.h
  4646. * src/Makefile.am
  4647. * src/PieceStorage.h
  4648. * src/RequestGroup.cc
  4649. * src/RequestGroup.h
  4650. * src/RequestGroupMan.cc
  4651. * src/SegmentMan.cc
  4652. * src/SegmentMan.h
  4653. * src/SingleFileDownloadContext.h
  4654. * src/StreamFileAllocationEntry.cc
  4655. * src/TrackerWatcherCommand.cc
  4656. * src/UnknownLengthPieceStorage.cc
  4657. * src/UnknownLengthPieceStorage.h
  4658. * src/array_fun.h
  4659. * src/bitfield.h
  4660. * src/download_helper.cc
  4661. * test/DownloadContextTest.cc
  4662. * test/Makefile.am
  4663. * test/MockDownloadContext.h
  4664. 2009-06-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4665. Added tellWaiting XML-RPC method.
  4666. * src/SingleFileDownloadContext.cc
  4667. * src/XmlRpcMethodFactory.cc
  4668. * src/XmlRpcMethodImpl.cc
  4669. * src/XmlRpcMethodImpl.h
  4670. * test/XmlRpcMethodTest.cc
  4671. 2009-06-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4672. Updated CookieStorageTest
  4673. * test/CookieStorageTest.cc
  4674. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4675. In TLSContext::addClientKeyFile() and addTrustedCACertFile(),
  4676. handle excepion inside these functions.
  4677. * src/LibgnutlsTLSContext.cc
  4678. * src/LibgnutlsTLSContext.h
  4679. * src/LibsslTLSContext.cc
  4680. * src/LibsslTLSContext.h
  4681. * src/MultiUrlRequestInfo.cc
  4682. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4683. Added comment
  4684. * src/RequestGroup.cc
  4685. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4686. In CookieStorage::load() and saveNsFormat(), handle exception
  4687. inside the functions. When saving Cookies, first write temporary
  4688. file and after successful writes, then renames it to final
  4689. destination.
  4690. * src/CookieStorage.cc
  4691. * src/CookieStorage.h
  4692. * src/MultiUrlRequestInfo.cc
  4693. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4694. The default value of --dir option is the absolute path to the
  4695. current directory. If getcwd() is failed, then it is ".", which is
  4696. the same value with old implementation. This change is necessary
  4697. because after daemon() call, the current working directory is
  4698. changed to /.
  4699. * src/File.cc
  4700. * src/File.h
  4701. * src/OptionHandlerFactory.cc
  4702. * src/option_processing.cc
  4703. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4704. Call daemon() with arguments(0,0), which means daemon() changes
  4705. current working directory to / and redirects stdin, stdout and
  4706. stderr to /dev/null.
  4707. * src/option_processing.cc
  4708. 2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4709. Small performance optimizations.
  4710. * src/RequestGroupMan.cc
  4711. 2009-06-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4712. Added _xmlRpc member variable to RequestGroupMan to reduce the
  4713. number of call Option::getAsBool(PREF_ENABLE_XML_RPC)
  4714. * src/RequestGroupMan.cc
  4715. * src/RequestGroupMan.h
  4716. 2009-06-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4717. Call setStatus(STATUS_ONESHOT_REALTIME) from constructor. Call
  4718. setNoWiat(true) if newly created command calls
  4719. setStatus(STATUS_ONESHOT_REALTIME) from its constructor.
  4720. * src/HttpListenCommand.cc
  4721. * src/HttpServerBodyCommand.cc
  4722. * src/HttpServerCommand.cc
  4723. * src/HttpServerResponseCommand.cc
  4724. * src/InitiateConnectionCommand.cc
  4725. * src/RequestGroup.cc
  4726. * src/StreamFileAllocationEntry.cc
  4727. 2009-06-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4728. Removed include vector
  4729. * src/BtRegistry.h
  4730. 2009-06-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4731. Rewritten BtRegistry
  4732. * src/BtRegistry.cc
  4733. * src/BtRegistry.h
  4734. * src/BtSetup.cc
  4735. * src/ConsoleStatCalc.cc
  4736. * src/PeerInteractionCommand.cc
  4737. * src/PeerReceiveHandshakeCommand.cc
  4738. * src/ReceiverMSEHandshakeCommand.cc
  4739. * src/RequestGroup.cc
  4740. * src/XmlRpcMethodImpl.cc
  4741. * test/BtRegistryTest.cc
  4742. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4743. Used array_ptr for savedInfoHash, savedBitfield and pieceBitfield.
  4744. * src/DefaultBtProgressInfoFile.cc
  4745. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4746. Throw an exception if position is less than 0.
  4747. * src/XmlRpcMethodImpl.cc
  4748. * test/XmlRpcMethodTest.cc
  4749. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4750. Use writeFilePath() in ConsoleStatCalc.cc
  4751. * src/ConsoleStatCalc.cc
  4752. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4753. Receive the return value as const reference from
  4754. DownloadContext::getFileEntries().
  4755. * src/DefaultPieceStorage.cc
  4756. * src/RequestGroupMan.cc
  4757. * src/XmlRpcMethodImpl.cc
  4758. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4759. DownloadContext now has _fileEntries so that
  4760. DownloadContext::getFileEntries() can returns its const reference.
  4761. * src/DefaultBtContext.cc
  4762. * src/DefaultBtContext.h
  4763. * src/DownloadContext.cc
  4764. * src/DownloadContext.h
  4765. * src/SingleFileDownloadContext.cc
  4766. * src/SingleFileDownloadContext.h
  4767. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4768. Moved getFirstRequestedFileEntry(), countRequestedFileEntry() and
  4769. writeFilePath() function template from RequestGroupMan.cc to
  4770. FileEntry.h
  4771. * src/FileEntry.h
  4772. * src/RequestGroupMan.cc
  4773. 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4774. Documented 'position' parameter is starting from 0 in man page.
  4775. * doc/aria2c.1.txt
  4776. 2009-06-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4777. Updated doc.
  4778. * src/MSEHandshake.cc
  4779. 2009-06-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4780. Removed _acceptFeatures and its accessor functions from
  4781. RequestGroup since they are not used practically.
  4782. * src/HttpRequestCommand.cc
  4783. * src/RequestGroup.cc
  4784. * src/RequestGroup.h
  4785. 2009-06-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4786. Removed member _maxTries from RequestGroup class to avoid
  4787. duplicate option value. Those classes who refer this variable
  4788. should use option value of PREF_MAX_TRIES directly.
  4789. * src/AbstractCommand.cc
  4790. * src/RequestGroup.cc
  4791. * src/RequestGroup.h
  4792. * src/TrackerWatcherCommand.cc
  4793. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4794. * Release 1.4.1
  4795. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4796. Fixed compiler warnings on netbsd
  4797. * src/DHTConnectionImpl.cc
  4798. * src/PeerListenCommand.cc
  4799. * src/PeerSessionResource.cc
  4800. * src/SegmentMan.cc
  4801. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4802. Updated Ukrainian translation. Thanks to all translators.
  4803. * po/uk.po
  4804. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4805. Bump up version number to 1.4.1.
  4806. * configure.ac
  4807. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4808. Added unit tests for strjoin, strconcat and strappend.
  4809. * test/a2functionalTest.cc
  4810. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4811. Rewritten strconcat and strappend using operator+ instead of
  4812. append().
  4813. * src/a2functional.h
  4814. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4815. Compile bencode.cc and BencodeTest.cc only if BitTorrent support
  4816. is enabled.
  4817. * src/Makefile.am
  4818. * test/Makefile.am
  4819. 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4820. Added countSeeder() function which counts seeder in the given
  4821. iterator range. Use it in ConsoleStatCalc and XmlRpcMethodImpl.
  4822. * src/ConsoleStatCalc.cc
  4823. * src/Peer.h
  4824. * src/XmlRpcMethodImpl.cc
  4825. * test/PeerTest.cc
  4826. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4827. Documented missing seeder in getPeers xml-rpc method.
  4828. Documented uploadLength and numSeeders.
  4829. * doc/aria2c.1.txt
  4830. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4831. Added uploadLength and numSeeders to the response of tellStatus
  4832. xml-rpc method. Assert that PeerStorage instance is not null
  4833. instead of checking if statement. It should be non-null in this
  4834. context.
  4835. * src/XmlRpcMethodImpl.cc
  4836. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4837. Use htmlEscape instead of xmlEscape. Removed static function xmlEscape.
  4838. * src/XmlRpcResponse.cc
  4839. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4840. Avoid intermediate object during string concatenation.
  4841. * src/HttpRequest.cc
  4842. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4843. Added strjoin function template. Use it in pathJoin()
  4844. * src/Util.h
  4845. * src/a2functional.h
  4846. 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4847. Avoid intermediate object during string concatenation. Replaced
  4848. post-increment unary operator with pre-increment one in for loop.
  4849. * src/AdaptiveURISelector.cc
  4850. * src/AnnounceList.cc
  4851. * src/AuthConfig.h
  4852. * src/BtBitfieldMessage.cc
  4853. * src/BtExtendedMessage.cc
  4854. * src/BtHandshakeMessage.cc
  4855. * src/BtPieceMessage.cc
  4856. * src/BtPortMessage.cc
  4857. * src/Cookie.cc
  4858. * src/DHTAnnouncePeerMessage.cc
  4859. * src/DHTAutoSaveCommand.cc
  4860. * src/DHTGetPeersReplyMessage.cc
  4861. * src/DHTNode.cc
  4862. * src/DHTQueryMessage.cc
  4863. * src/DHTResponseMessage.cc
  4864. * src/DHTUnknownMessage.cc
  4865. * src/DefaultBtAnnounce.cc
  4866. * src/DefaultBtContext.cc
  4867. * src/DefaultBtInteractive.cc
  4868. * src/DefaultBtProgressInfoFile.cc
  4869. * src/DefaultPeerStorage.cc
  4870. * src/DownloadEngine.cc
  4871. * src/FeatureConfig.cc
  4872. * src/File.cc
  4873. * src/FtpConnection.cc
  4874. * src/FtpNegotiationCommand.cc
  4875. * src/HandshakeExtensionMessage.cc
  4876. * src/HttpConnection.cc
  4877. * src/HttpRequest.cc
  4878. * src/HttpResponseCommand.cc
  4879. * src/HttpServer.cc
  4880. * src/IndexBtMessage.cc
  4881. * src/Metalink2RequestGroup.cc
  4882. * src/OptionHandlerImpl.h
  4883. * src/PStringBuildVisitor.cc
  4884. * src/Peer.cc
  4885. * src/PeerListenCommand.cc
  4886. * src/Piece.cc
  4887. * src/RangeBtMessage.cc
  4888. * src/Request.cc
  4889. * src/Request.h
  4890. * src/RequestGroup.cc
  4891. * src/RequestGroupMan.cc
  4892. * src/ServerStat.cc
  4893. * src/ServerStatMan.cc
  4894. * src/UTPexExtensionMessage.cc
  4895. * src/Util.cc
  4896. * src/a2functional.h
  4897. * src/download_helper.cc
  4898. * src/messageDigest.cc
  4899. 2009-06-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4900. Unchoke a peer randomly at first and second choke round in seed
  4901. state.
  4902. * src/BtSeederStateChoke.cc
  4903. 2009-06-02 Ross Smith II <aria2spam at smithii dot com>
  4904. Added (sock_t) to quiet compiler warnings in MinGW
  4905. * src/SocketCore.cc
  4906. * src/SocketCore.h
  4907. 2009-06-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4908. Added missing #ifdef ENABLE_ASYNC_DNS guard.
  4909. * src/EpollEventPoll.h
  4910. 2009-06-01 Ross Smith II <aria2spam at smithii dot com>
  4911. Added fork() emulation using CreateProcess() in MinGW
  4912. * src/RequestGroupMan.cc
  4913. 2009-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4914. * Release 1.4.0
  4915. 2009-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4916. Added utf8.torrent to EXTRA_DIST
  4917. * test/Makefile.am
  4918. 2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4919. Fixed docs of aria2.addMetalink xml-rpc method.
  4920. * doc/aria2c.1.txt
  4921. 2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4922. Added Slovak translation. Updated Ukrainian and Brazilian
  4923. Portuguese translation. Thanks to all translators.
  4924. * po/sk.po
  4925. * po/uk.po
  4926. * po/pt_BR.po
  4927. * po/LINGUAS
  4928. 2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4929. Added test case for XmlRpcProcessor to fail to parse malformed
  4930. document.
  4931. * test/XmlRpcRequestProcessorTest.cc
  4932. 2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4933. Removed *.gmo files in po because they are generated on 'make
  4934. dist'
  4935. * po/*.gmo
  4936. 2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4937. Documented max-concurrent-downloads of changeGlobalOption method
  4938. in man page.
  4939. * doc/aria2c.1.txt
  4940. 2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4941. Added max-concurrent-downloads option to changeGlobalOption
  4942. xml-rpc method. Rewritten loop conditional in
  4943. RequestGroupMan::fillRequestGroupFromReserver().
  4944. * src/RequestGroupMan.cc
  4945. * src/RequestGroupMan.h
  4946. * src/XmlRpcMethod.cc
  4947. * src/XmlRpcMethodImpl.cc
  4948. 2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4949. Documented position parameter in man page.
  4950. * doc/aria2c.1.txt
  4951. 2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4952. Added 'position' parameter to addUri, addTorrent and addMetalink
  4953. xml-rpc method.
  4954. * src/RequestGroupMan.cc
  4955. * src/RequestGroupMan.h
  4956. * src/XmlRpcMethodImpl.cc
  4957. * test/XmlRpcMethodTest.cc
  4958. 2009-05-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4959. Removed Peer.cc from compile source list when --disable-bittorrent
  4960. is specified. Added #ifdef ENABLE_BITTORRENT guard to methods that
  4961. takes Peer.
  4962. * src/DefaultPieceStorage.cc
  4963. * src/DefaultPieceStorage.h
  4964. * src/Makefile.am
  4965. * src/PieceStorage.h
  4966. * src/UnknownLengthPieceStorage.cc
  4967. * src/UnknownLengthPieceStorage.h
  4968. * test/MockPieceStorage.h
  4969. 2009-05-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4970. Implemented getter methods in header files to give them more
  4971. chance of optimization.
  4972. Return const reference for SharadHandle if possible.
  4973. * src/AbstractAuthResolver.cc
  4974. * src/AbstractAuthResolver.h
  4975. * src/AbstractBtMessage.cc
  4976. * src/AbstractBtMessage.h
  4977. * src/AbstractSingleDiskAdaptor.cc
  4978. * src/AbstractSingleDiskAdaptor.h
  4979. * src/AsyncNameResolver.cc
  4980. * src/AsyncNameResolver.h
  4981. * src/BNode.cc
  4982. * src/BNode.h
  4983. * src/BitfieldMan.cc
  4984. * src/BitfieldMan.h
  4985. * src/BtAbortOutstandingRequestEvent.h
  4986. * src/BtExtendedMessage.cc
  4987. * src/BtExtendedMessage.h
  4988. * src/BtSeederStateChoke.cc
  4989. * src/BtSeederStateChoke.h
  4990. * src/Cookie.cc
  4991. * src/Cookie.h
  4992. * src/DHTBucket.cc
  4993. * src/DHTBucket.h
  4994. * src/DHTConnectionImpl.cc
  4995. * src/DHTConnectionImpl.h
  4996. * src/DHTFindNodeReplyMessage.cc
  4997. * src/DHTFindNodeReplyMessage.h
  4998. * src/DHTGetPeersReplyMessage.cc
  4999. * src/DHTGetPeersReplyMessage.h
  5000. * src/DHTInteractionCommand.cc
  5001. * src/DHTMessage.cc
  5002. * src/DHTMessage.h
  5003. * src/DHTMessageDispatcherImpl.cc
  5004. * src/DHTMessageEntry.cc
  5005. * src/DHTMessageReceiver.cc
  5006. * src/DHTMessageReceiver.h
  5007. * src/DHTMessageTrackerEntry.cc
  5008. * src/DHTMessageTrackerEntry.h
  5009. * src/DHTPeerAnnounceEntry.cc
  5010. * src/DHTPeerAnnounceEntry.h
  5011. * src/DHTPeerLookupTask.cc
  5012. * src/DHTPeerLookupTask.h
  5013. * src/DHTRoutingTableDeserializer.cc
  5014. * src/DHTRoutingTableDeserializer.h
  5015. * src/DefaultBtAnnounce.cc
  5016. * src/DefaultBtAnnounce.h
  5017. * src/DefaultBtMessageDispatcher.cc
  5018. * src/DefaultBtMessageDispatcher.h
  5019. * src/DefaultBtRequestFactory.cc
  5020. * src/DefaultBtRequestFactory.h
  5021. * src/DiskAdaptor.cc
  5022. * src/DiskAdaptor.h
  5023. * src/DownloadContext.cc
  5024. * src/DownloadContext.h
  5025. * src/DownloadEngine.cc
  5026. * src/DownloadEngine.h
  5027. * src/EpollEventPoll.cc
  5028. * src/EpollEventPoll.h
  5029. * src/FtpConnection.cc
  5030. * src/FtpConnection.h
  5031. * src/HttpConnection.cc
  5032. * src/HttpConnection.h
  5033. * src/HttpHeader.cc
  5034. * src/HttpHeader.h
  5035. * src/HttpRequest.cc
  5036. * src/HttpRequest.h
  5037. * src/HttpResponse.cc
  5038. * src/HttpResponse.h
  5039. * src/LibsslTLSContext.cc
  5040. * src/LibsslTLSContext.h
  5041. * src/MSEHandshake.cc
  5042. * src/MSEHandshake.h
  5043. * src/MetalinkEntry.cc
  5044. * src/MetalinkEntry.h
  5045. * src/MetalinkParserController.cc
  5046. * src/MetalinkParserController.h
  5047. * src/MetalinkParserStateMachine.cc
  5048. * src/MetalinkParserStateMachine.h
  5049. * src/MultiDiskAdaptor.cc
  5050. * src/MultiDiskAdaptor.h
  5051. * src/NetrcAuthResolver.cc
  5052. * src/NetrcAuthResolver.h
  5053. * src/Peer.cc
  5054. * src/Peer.h
  5055. * src/PeerSessionResource.cc
  5056. * src/PeerSessionResource.h
  5057. * src/Piece.cc
  5058. * src/Piece.h
  5059. * src/PieceStatMan.cc
  5060. * src/PieceStatMan.h
  5061. * src/Request.cc
  5062. * src/Request.h
  5063. * src/RequestGroup.cc
  5064. * src/RequestGroup.h
  5065. * src/RequestGroupMan.cc
  5066. * src/RequestGroupMan.h
  5067. * src/RequestSlot.cc
  5068. * src/RequestSlot.h
  5069. * src/SegmentMan.cc
  5070. * src/SegmentMan.h
  5071. * src/SelectEventPoll.cc
  5072. * src/SelectEventPoll.h
  5073. * src/ServerStat.cc
  5074. * src/ServerStat.h
  5075. * src/Signature.cc
  5076. * src/Signature.h
  5077. * src/URIResult.cc
  5078. * src/URIResult.h
  5079. * src/UTPexExtensionMessage.cc
  5080. * src/UTPexExtensionMessage.h
  5081. 2009-05-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5082. Fixed compile error without BitTorrent and Metalink support.
  5083. * src/XmlRpcMethod.cc
  5084. * src/XmlRpcMethodFactory.cc
  5085. * src/XmlRpcMethodImpl.cc
  5086. * src/XmlRpcMethodImpl.h
  5087. * test/XmlRpcMethodTest.cc
  5088. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5089. Rewritten the help message for --allow-overwrite option.
  5090. * doc/aria2c.1.txt
  5091. * src/usage_text.h
  5092. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5093. Fixed typo
  5094. * doc/aria2c.1.txt
  5095. * src/usage_text.h
  5096. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5097. Updated README for 1.4.0 release. Use new table syntax of
  5098. asciidoc.
  5099. * README
  5100. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5101. Documented --xml-rpc-max-request-size option in man page.
  5102. * doc/aria2c.1.txt
  5103. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5104. Moved C_* constants from BtContext to DefaultBtContext.
  5105. * src/BtContext.cc: Removed.
  5106. * src/BtContext.h
  5107. * src/DefaultBtContext.cc
  5108. * src/DefaultBtContext.h
  5109. * src/Makefile.am
  5110. 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5111. Use name.utf-8 and path.utf-8 key in higher priority than name and
  5112. path key respectively when persing .torrent file.
  5113. * src/BtContext.cc
  5114. * src/BtContext.h
  5115. * src/DefaultBtContext.cc
  5116. * test/DefaultBtContextTest.cc
  5117. * test/utf8.torrent
  5118. 2009-05-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5119. Added --xml-rpc-max-request-size option to limit the size of
  5120. XML-RPC request.
  5121. 2009-05-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5122. Documented XML-RPC API in man page.
  5123. * doc/aria2c.1.txt
  5124. 2009-05-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5125. Fixed g++-4.4 compiler warning: dereferencing type-punned pointer
  5126. will break strict-aliasing rules
  5127. * src/PeerConnection.cc
  5128. * test/DHTRoutingTableSerializerTest.cc
  5129. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5130. Removed PKG_CONFIG variable in sqlite3.m4, which conflicts the
  5131. variable in pkg.m4. Use PKG_CHECK_MODULES instead of hand-crafted
  5132. scripts. Renamed SQLITE3_CPPFLAGS as SQLITE3_CFLAGS since
  5133. PKG_CHECK_MODULES macro uses latter name.
  5134. * m4/sqlite3.m4
  5135. * src/Makefile.am
  5136. * test/Makefile.am
  5137. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5138. Fixed typo
  5139. * configure.ac
  5140. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5141. Since upcoming libgnutls 2.8 doesn't have libgnutls-config, Check
  5142. presence of libgnutls using pkg-config first. If it fails, fall
  5143. back to old macro libgnutls.m4.
  5144. * configure.ac
  5145. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5146. Use s itself instead of !s.bad()
  5147. * src/CookieStorage.cc
  5148. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5149. Documented --on-download-* option and --save-cookies option in man
  5150. page.
  5151. * doc/aria2c.1.txt
  5152. 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5153. Set possible values for --load-cookie option to "/path/to/file".
  5154. * src/OptionHandlerFactory.cc
  5155. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5156. Added --save-cookies option.
  5157. * src/Cookie.cc
  5158. * src/Cookie.h
  5159. * src/CookieStorage.cc
  5160. * src/CookieStorage.h
  5161. * src/MultiUrlRequestInfo.cc
  5162. * src/OptionHandlerFactory.cc
  5163. * src/prefs.cc
  5164. * src/prefs.h
  5165. * src/usage_text.h
  5166. * test/CookieStorageTest.cc
  5167. * test/CookieTest.cc
  5168. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5169. Removed tellAll XML-RPC command because its reponse tends to be
  5170. big if stopped/waiting downloads pile up.
  5171. * src/XmlRpcMethodFactory.cc
  5172. * src/XmlRpcMethodImpl.cc
  5173. * src/XmlRpcMethodImpl.h
  5174. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5175. Added the ability to execute command when download starts and
  5176. stops. You can also specify command for particular cases such as
  5177. complete/error download. Added --on-download-start,
  5178. --on-download-stop, --on-download-complete and --on-download-error
  5179. option.
  5180. * src/OptionHandlerFactory.cc
  5181. * src/RequestGroupMan.cc
  5182. * src/prefs.cc
  5183. * src/prefs.h
  5184. * src/usage_text.h
  5185. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5186. Fixed test error
  5187. * test/BencodeTest.cc
  5188. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5189. Added unit tests.
  5190. * test/XmlRpcMethodTest.cc
  5191. 2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5192. Made exception message more verbose.
  5193. * src/bencode.cc
  5194. 2009-05-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5195. Abbreviated KiB/s to KiBs and its precision decreased to 1 to save
  5196. space in console readout. Also they are now shown in MiB/s if
  5197. speed > 1024KiB/s.
  5198. * src/ConsoleStatCalc.cc
  5199. 2009-05-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5200. Added SEED to console output, which represents the number of
  5201. seeders currently the client is connecting to.
  5202. * src/ConsoleStatCalc.cc
  5203. * src/ConsoleStatCalc.h
  5204. * src/DownloadEngine.cc
  5205. * src/NullStatCalc.h
  5206. * src/StatCalc.h
  5207. 2009-05-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5208. Added source filename(__FILE__) and line number(__LINE__) to
  5209. exception message.
  5210. * src/AbstractCommand.cc
  5211. * src/AbstractDiskWriter.cc
  5212. * src/AbstractProxyResponseCommand.cc
  5213. * src/BDE.h
  5214. * src/BtAllowedFastMessage.cc
  5215. * src/BtHandshakeMessageValidator.h
  5216. * src/BtHaveAllMessage.cc
  5217. * src/BtHaveNoneMessage.cc
  5218. * src/BtPieceMessage.cc
  5219. * src/BtRejectMessage.cc
  5220. * src/ChunkedDecoder.cc
  5221. * src/CookieStorage.cc
  5222. * src/DHTAnnouncePeerMessage.cc
  5223. * src/DHTEntryPointNameResolveCommand.cc
  5224. * src/DHTMessageFactoryImpl.cc
  5225. * src/DHTMessageTracker.cc
  5226. * src/DHTRoutingTableDeserializer.cc
  5227. * src/DHTRoutingTableSerializer.cc
  5228. * src/DHTSetup.cc
  5229. * src/DHTTokenTracker.cc
  5230. * src/DefaultBtAnnounce.cc
  5231. * src/DefaultBtContext.cc
  5232. * src/DefaultBtInteractive.cc
  5233. * src/DefaultBtMessageFactory.cc
  5234. * src/DefaultBtProgressInfoFile.cc
  5235. * src/DefaultExtensionMessageFactory.cc
  5236. * src/DlAbortEx.h
  5237. * src/DlRetryEx.h
  5238. * src/DownloadCommand.cc
  5239. * src/DownloadEngineFactory.cc
  5240. * src/DownloadFailureException.h
  5241. * src/Exception.cc
  5242. * src/Exception.h
  5243. * src/ExpatMetalinkProcessor.cc
  5244. * src/ExpatXmlRpcRequestProcessor.cc
  5245. * src/FallocFileAllocationIterator.cc
  5246. * src/FatalException.h
  5247. * src/FtpConnection.cc
  5248. * src/FtpFinishDownloadCommand.cc
  5249. * src/FtpInitiateConnectionCommand.cc
  5250. * src/FtpNegotiationCommand.cc
  5251. * src/GZipDecoder.cc
  5252. * src/HandshakeExtensionMessage.cc
  5253. * src/HttpConnection.cc
  5254. * src/HttpHeaderProcessor.cc
  5255. * src/HttpInitiateConnectionCommand.cc
  5256. * src/HttpResponse.cc
  5257. * src/HttpResponseCommand.cc
  5258. * src/HttpServer.cc
  5259. * src/HttpSkipResponseCommand.cc
  5260. * src/InitiateConnectionCommandFactory.cc
  5261. * src/IteratableChunkChecksumValidator.cc
  5262. * src/LibgcryptARC4Context.h
  5263. * src/LibgcryptARC4Decryptor.h
  5264. * src/LibgcryptARC4Encryptor.h
  5265. * src/LibgcryptDHKeyExchange.h
  5266. * src/LibgnutlsTLSContext.cc
  5267. * src/LibsslARC4Context.h
  5268. * src/LibsslARC4Decryptor.h
  5269. * src/LibsslARC4Encryptor.h
  5270. * src/LibsslDHKeyExchange.h
  5271. * src/LibsslTLSContext.cc
  5272. * src/MSEHandshake.cc
  5273. * src/MessageDigestHelper.cc
  5274. * src/MetalinkHelper.cc
  5275. * src/MultiDiskAdaptor.cc
  5276. * src/NameMatchOptionHandler.h
  5277. * src/NameResolver.cc
  5278. * src/Netrc.cc
  5279. * src/NsCookieParser.cc
  5280. * src/OptionHandlerException.cc
  5281. * src/OptionHandlerException.h
  5282. * src/OptionHandlerImpl.h
  5283. * src/OptionParser.cc
  5284. * src/ParameterizedStringParser.cc
  5285. * src/PeerAbstractCommand.cc
  5286. * src/PeerConnection.cc
  5287. * src/PeerMessageUtil.cc
  5288. * src/PeerReceiveHandshakeCommand.cc
  5289. * src/Platform.cc
  5290. * src/ReceiverMSEHandshakeCommand.cc
  5291. * src/RecoverableException.h
  5292. * src/RequestGroup.cc
  5293. * src/SimpleLogger.cc
  5294. * src/SocketCore.cc
  5295. * src/Sqlite3MozCookieParser.cc
  5296. * src/UTPexExtensionMessage.cc
  5297. * src/Util.cc
  5298. * src/XML2SAXMetalinkProcessor.cc
  5299. * src/Xml2XmlRpcRequestProcessor.cc
  5300. * src/XmlRpcMethodImpl.cc
  5301. * src/bencode.cc
  5302. * src/download_helper.cc
  5303. * src/messageDigest.h
  5304. * test/ExceptionTest.cc
  5305. * test/TestUtil.cc
  5306. 2009-05-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5307. Bump up version number to 1.4.0
  5308. * configure.ac
  5309. 2009-05-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5310. Added 2files.metalink to EXTRA_DIST
  5311. * test/Makefile.am
  5312. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5313. Added missing 2files.metalink
  5314. * test/2files.metalink
  5315. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5316. Show "[MEMORY]" prefix before filename in download summary if it
  5317. is downloaded into memory.
  5318. * src/DownloadResult.h
  5319. * src/RequestGroup.cc
  5320. * src/RequestGroupMan.cc
  5321. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5322. Defined MSG_CANNOT_PARSE_XML_RPC_REQUEST
  5323. * src/ExpatXmlRpcRequestProcessor.cc
  5324. * src/Xml2XmlRpcRequestProcessor.cc
  5325. * src/message.h
  5326. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5327. Defined const BDEs to avoid duplicate instantiation.
  5328. Defined MSG_GID_NOT_PROVIDED.
  5329. * src/XmlRpcMethodImpl.cc
  5330. * src/message.h
  5331. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5332. Code cleanup
  5333. * src/Xml2XmlRpcRequestProcessor.cc
  5334. * src/Xml2XmlRpcRequestProcessor.h
  5335. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5336. Defined ENABLE_XML_RPC
  5337. * configure.ac
  5338. * configure
  5339. * config.h.in
  5340. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5341. Added ExpatXmlRpcRequestProcessor
  5342. * src/ExpatXmlRpcRequestProcessor.cc
  5343. * src/ExpatXmlRpcRequestProcessor.h
  5344. * src/Makefile.am
  5345. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5346. Added tests for addTorrent and addMetalink command.
  5347. * test/TestUtil.cc
  5348. * test/TestUtil.h
  5349. * test/XmlRpcMethodTest.cc
  5350. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5351. Corrected the description of --file-allocation option.
  5352. * doc/aria2c.1.txt
  5353. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5354. Added tellAll command.
  5355. * src/XmlRpcMethodFactory.cc
  5356. * src/XmlRpcMethodImpl.cc
  5357. * src/XmlRpcMethodImpl.h
  5358. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5359. Use gatherProgress() in TellActiveXmlRpcMethod::process().
  5360. * src/XmlRpcMethodImpl.cc
  5361. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5362. Added changeGlobalOption command. Currently,
  5363. max-overall-download-limit and max-overall-upload-limit option are
  5364. available.
  5365. * src/RequestGroupMan.h
  5366. * src/XmlRpcMethod.cc
  5367. * src/XmlRpcMethod.h
  5368. * src/XmlRpcMethodFactory.cc
  5369. * src/XmlRpcMethodImpl.cc
  5370. * src/XmlRpcMethodImpl.h
  5371. * test/XmlRpcMethodTest.cc
  5372. 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5373. Added changeOption command. Currently, max-download-limit,
  5374. max-upload-limit option are available in this command.
  5375. * src/RequestGroup.h
  5376. * src/XmlRpcMethod.cc
  5377. * src/XmlRpcMethod.h
  5378. * src/XmlRpcMethodFactory.cc
  5379. * src/XmlRpcMethodImpl.cc
  5380. * src/XmlRpcMethodImpl.h
  5381. * test/XmlRpcMethodTest.cc
  5382. 2009-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5383. Added purgeDownloadResult command.
  5384. * src/RequestGroupMan.cc
  5385. * src/RequestGroupMan.h
  5386. * src/XmlRpcMethodFactory.cc
  5387. * src/XmlRpcMethodImpl.cc
  5388. * src/XmlRpcMethodImpl.h
  5389. 2009-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5390. Refactored.
  5391. * src/XmlRpcMethod.cc
  5392. 2009-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5393. Added XmlRpcResponse class. XmlRpcMethod::execute() now returns
  5394. XmlRpcResponse.
  5395. * src/HttpServerBodyCommand.cc
  5396. * src/Makefile.am
  5397. * src/XmlRpcMethod.cc
  5398. * src/XmlRpcMethod.h
  5399. * src/XmlRpcMethodImpl.cc
  5400. * src/XmlRpcResponse.cc
  5401. * src/XmlRpcResponse.h
  5402. * test/XmlRpcMethodTest.cc
  5403. 2009-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5404. In XML-RPC option struct, header and index-out option can take
  5405. array as value.
  5406. * src/XmlRpcMethod.cc
  5407. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5408. Removed unused option member from PeerConnection.
  5409. * src/InitiatorMSEHandshakeCommand.cc
  5410. * src/PeerConnection.cc
  5411. * src/PeerConnection.h
  5412. * src/PeerInteractionCommand.cc
  5413. * src/PeerReceiveHandshakeCommand.cc
  5414. * src/ReceiverMSEHandshakeCommand.cc
  5415. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5416. Added "seeder" key to getPeers response.
  5417. * src/XmlRpcMethodImpl.cc
  5418. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5419. Added addMetalink XML-RPC command.
  5420. * src/XmlRpcMethodFactory.cc
  5421. * src/XmlRpcMethodImpl.cc
  5422. * src/XmlRpcMethodImpl.h
  5423. * src/download_helper.cc
  5424. * src/download_helper.h
  5425. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5426. Fixed the bug that POU peers are never choked in seeding.
  5427. * src/BtSeederStateChoke.cc
  5428. * src/BtSeederStateChoke.h
  5429. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5430. Added web-seeding URI handling in addTorrent command.
  5431. * src/XmlRpcMethodImpl.cc
  5432. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5433. Added "length" key to getFiles response.
  5434. * src/XmlRpcMethodImpl.cc
  5435. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5436. Moved --no-netrc option from ftp option section to http/ftp option
  5437. section.
  5438. * doc/aria2c.1.txt
  5439. * src/OptionHandlerFactory.cc
  5440. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5441. Removed garbage "\" character before '
  5442. * doc/aria2c.1.txt
  5443. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5444. Removed garbage "\" character before http.
  5445. * doc/aria2c.1.txt
  5446. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5447. Documented additional options that can be specified in -i list.
  5448. Documented --enable-xml-rpc, --xml-rpc-listen-port, --xml-rpc-user
  5449. and --xml-rpc-passwd. Removed --enable-http-server and
  5450. --http-server-listen-port.
  5451. * doc/aria2c.1.txt
  5452. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5453. Added "downloadSpeed" and uploadSpeed" key in getPeers response.
  5454. * src/DefaultPeerStorage.cc
  5455. * src/DefaultPeerStorage.h
  5456. * src/PeerStorage.h
  5457. * src/XmlRpcMethodImpl.cc
  5458. * test/MockPeerStorage.h
  5459. 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5460. Put a call to Socket::isReadable() in try block.
  5461. * src/HttpServerBodyCommand.cc
  5462. * src/HttpServerCommand.cc
  5463. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5464. Fixed segmentation fault error. SocketBuffer::sendResponse() may throw
  5465. exception , so it is now in try block.
  5466. * src/HttpServerResponseCommand.cc
  5467. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5468. Added "amChoking" and "peerChoking" key in getPeers response.
  5469. * src/XmlRpcMethodImpl.cc
  5470. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5471. Added test case for zero-length filter.
  5472. * test/BitfieldManTest.cc
  5473. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5474. getFiles command now returns file data for finished/stopped
  5475. downloads.
  5476. * src/XmlRpcMethodImpl.cc
  5477. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5478. DownloadResult now has the list of FileEntry. The download
  5479. summary displays the path of first selected file and the number of
  5480. remaining files for multi-file torrent.
  5481. * src/DownloadResult.h
  5482. * src/RequestGroup.cc
  5483. * src/RequestGroupMan.cc
  5484. * test/RequestGroupTest.cc
  5485. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5486. Fixed segmentation fault error when no file is selected in
  5487. multi-file torrent.
  5488. * src/BitfieldMan.cc
  5489. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5490. Escaped <,>,& character in XML-RPC response.
  5491. * src/XmlRpcMethod.cc
  5492. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5493. Throw DlAbortEx instead of FatalException during parsing options
  5494. because we don't want for aria2 to quit when bad option is passed
  5495. via XML-RPC.
  5496. * src/OptionHandlerException.cc
  5497. * src/OptionHandlerException.h
  5498. * src/OptionHandlerImpl.h
  5499. * src/OptionParser.cc
  5500. * src/OptionParser.h
  5501. * src/PStringSegment.cc
  5502. * src/ParameterizedStringParser.cc
  5503. * src/download_helper.cc
  5504. * test/ParameterizedStringParserTest.cc
  5505. 2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5506. Selecting files are now done in
  5507. DefaultBtContext::setFileFileter().
  5508. PieceStorage::setFileFilter(), DiskAdaptor::addDownloadEntry()
  5509. functions are removed because they are no longer used. Creating
  5510. filter in BitfieldMan is done in new funtion
  5511. PieceStorage::setupFileFilter()
  5512. * src/BtContext.cc
  5513. * src/BtContext.h
  5514. * src/DefaultBtContext.cc
  5515. * src/DefaultBtContext.h
  5516. * src/DefaultPieceStorage.cc
  5517. * src/DefaultPieceStorage.h
  5518. * src/DiskAdaptor.cc
  5519. * src/DiskAdaptor.h
  5520. * src/PieceStorage.h
  5521. * src/RequestGroup.cc
  5522. * src/UnknownLengthPieceStorage.h
  5523. * src/XmlRpcMethodImpl.cc
  5524. * test/DefaultBtContextTest.cc
  5525. * test/MockBtContext.h
  5526. * test/MockPieceStorage.h
  5527. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5528. Fixed compile error on Mac OS X
  5529. * src/HttpServer.cc
  5530. * src/XmlRpcMethod.h
  5531. * src/XmlRpcMethodImpl.cc
  5532. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5533. Use std::binary_search instead of std::find
  5534. * src/DefaultPieceStorage.cc
  5535. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5536. Removed unnecessary BDE() call; leave them to implicit conversion.
  5537. * src/XmlRpcMethodImpl.cc
  5538. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5539. Return connections and gid in string
  5540. * src/XmlRpcMethodImpl.cc
  5541. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5542. Renamed addURI as addUri
  5543. * src/XmlRpcMethodFactory.cc
  5544. * src/XmlRpcMethodImpl.cc
  5545. * src/XmlRpcMethodImpl.h
  5546. * test/XmlRpcMethodTest.cc
  5547. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5548. Renamed addTorrentFile as addTorrent
  5549. * src/XmlRpcMethodFactory.cc
  5550. * src/XmlRpcMethodImpl.cc
  5551. * src/XmlRpcMethodImpl.h
  5552. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5553. The information for files, URIs, peers are removed from the
  5554. reponse of TellaActive, TellStatus command because they tend to be
  5555. large. Instead they can be retrieved by the dedicated commands:
  5556. getFiles, getUris and getPeers respectively.
  5557. * src/XmlRpcMethodFactory.cc
  5558. * src/XmlRpcMethodImpl.cc
  5559. * src/XmlRpcMethodImpl.h
  5560. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5561. Removed --max-overall-upload-limit and
  5562. --max-overall-download-limit option from listRequestOptions.
  5563. * src/download_helper.cc
  5564. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5565. Log incoming host in HttpListenCommand.
  5566. * src/HttpListenCommand.cc
  5567. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5568. Added BASIC authentication for XML-RPC. Added --xml-rpc-user and
  5569. --xml-rpc-passwd option.
  5570. * src/HttpServer.cc
  5571. * src/HttpServer.h
  5572. * src/HttpServerCommand.cc
  5573. * src/OptionHandlerFactory.cc
  5574. * src/prefs.cc
  5575. * src/prefs.h
  5576. * src/usage_text.h
  5577. 2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5578. Fixed the bug that SocketCore::isReadable() prevents aria2 from
  5579. processing 0 length request.
  5580. * src/HttpServerBodyCommand.cc
  5581. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5582. Removed --enable-http-server and --http-server-listen-port
  5583. options. Added --enable-xml-rpc and --xml-rpc-listen-port
  5584. instead. The original feature for --enable-http-server that
  5585. reports download progress in HTML was officially removed. Persist
  5586. XML-RPC connection if client supports keep-alive.
  5587. * src/DownloadEngineFactory.cc
  5588. * src/HttpServerCommand.cc
  5589. * src/HttpServerResponseCommand.cc
  5590. * src/Makefile.am
  5591. * src/Makefile.in
  5592. * src/OptionHandlerFactory.cc
  5593. * src/RequestGroupMan.cc
  5594. * src/main.cc
  5595. * src/option_processing.cc
  5596. * src/prefs.cc
  5597. * src/prefs.h
  5598. * src/usage_text.h
  5599. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5600. Added "uris" key to the response of tellStatus command. Added
  5601. "connections" key to the response of tellStatus and tellActive
  5602. command.
  5603. * src/XmlRpcMethodImpl.cc
  5604. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5605. Renamed TellActiveStatusXmlRpcMethod as TellActiveXmlRpcMethod.
  5606. Added TellStatusXmlRpcMethod. Remove command can now remove
  5607. waiting RequestGroup.
  5608. * src/RequestGroupMan.cc
  5609. * src/RequestGroupMan.h
  5610. * src/XmlRpcMethodFactory.cc
  5611. * src/XmlRpcMethodImpl.cc
  5612. * src/XmlRpcMethodImpl.h
  5613. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5614. Initialized _peerId
  5615. * src/Peer.cc
  5616. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5617. Return fault structure for error. FailXmlRpcMethod is renamed as
  5618. NoSuchMethodXmlRpcMethod. pieceLength and numPieces are returned
  5619. in non-torrent download. Return single param value.
  5620. * src/XmlRpcMethod.cc
  5621. * src/XmlRpcMethodFactory.cc
  5622. * src/XmlRpcMethodImpl.cc
  5623. * src/XmlRpcMethodImpl.h
  5624. * test/XmlRpcMethodTest.cc
  5625. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5626. Set DownloadResult::IN_PROGRESS for downloads removed by xml-rpc
  5627. command.
  5628. * src/RequestGroup.cc
  5629. * src/RequestGroup.h
  5630. * src/RequestGroupMan.cc
  5631. * src/XmlRpcMethodImpl.cc
  5632. * test/RequestGroupTest.cc
  5633. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5634. Added more options that can be specified in -i list and xml-rpc
  5635. add* command.
  5636. * src/download_helper.h
  5637. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5638. The available options in -i list should be listed in
  5639. listRequestOptions().
  5640. * src/download_helper.cc
  5641. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5642. Added infoHash, pieceLength, numPieces value for tellActiveStatus
  5643. command.
  5644. * src/XmlRpcMethodImpl.cc
  5645. 2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5646. Now RequestGroup has its own copy of Option object. This will help
  5647. to give custom option for each RequestGroup.
  5648. addTorrentFile command now takes options.
  5649. * src/AbstractCommand.cc
  5650. * src/AbstractCommand.h
  5651. * src/AbstractProxyRequestCommand.cc
  5652. * src/ActivePeerConnectionCommand.cc
  5653. * src/ActivePeerConnectionCommand.h
  5654. * src/AdaptiveURISelector.cc
  5655. * src/BtCheckIntegrityEntry.cc
  5656. * src/BtDependency.cc
  5657. * src/BtDependency.h
  5658. * src/BtFileAllocationEntry.cc
  5659. * src/BtPostDownloadHandler.cc
  5660. * src/CheckIntegrityEntry.cc
  5661. * src/DownloadCommand.cc
  5662. * src/FtpDownloadCommand.cc
  5663. * src/FtpFinishDownloadCommand.cc
  5664. * src/FtpInitiateConnectionCommand.cc
  5665. * src/FtpNegotiationCommand.cc
  5666. * src/HttpInitiateConnectionCommand.cc
  5667. * src/HttpRequestCommand.cc
  5668. * src/HttpResponseCommand.cc
  5669. * src/HttpSkipResponseCommand.cc
  5670. * src/InitiateConnectionCommand.cc
  5671. * src/InitiateConnectionCommandFactory.cc
  5672. * src/InitiatorMSEHandshakeCommand.cc
  5673. * src/InitiatorMSEHandshakeCommand.h
  5674. * src/Metalink2RequestGroup.cc
  5675. * src/Metalink2RequestGroup.h
  5676. * src/MetalinkPostDownloadHandler.cc
  5677. * src/MultiUrlRequestInfo.cc
  5678. * src/MultiUrlRequestInfo.h
  5679. * src/PeerAbstractCommand.cc
  5680. * src/PeerInteractionCommand.cc
  5681. * src/PeerInteractionCommand.h
  5682. * src/PeerReceiveHandshakeCommand.cc
  5683. * src/PeerReceiveHandshakeCommand.h
  5684. * src/RequestGroup.cc
  5685. * src/RequestGroup.h
  5686. * src/TrackerWatcherCommand.cc
  5687. * src/TrackerWatcherCommand.h
  5688. * src/XmlRpcMethod.cc
  5689. * src/XmlRpcMethod.h
  5690. * src/XmlRpcMethodImpl.cc
  5691. * src/download_helper.cc
  5692. * src/download_helper.h
  5693. * src/main.cc
  5694. * test/BtDependencyTest.cc
  5695. * test/BtPostDownloadHandlerTest.cc
  5696. * test/DefaultBtMessageDispatcherTest.cc
  5697. * test/DownloadHandlerFactoryTest.cc
  5698. * test/DownloadHelperTest.cc
  5699. * test/Metalink2RequestGroupTest.cc
  5700. * test/MetalinkPostDownloadHandlerTest.cc
  5701. * test/RequestGroupManTest.cc
  5702. * test/RequestGroupTest.cc
  5703. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5704. Added tellActiveStatus xml-rpc command which reports download
  5705. status of active downloads.
  5706. * src/XmlRpcMethodFactory.cc
  5707. * src/XmlRpcMethodImpl.cc
  5708. * src/XmlRpcMethodImpl.h
  5709. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5710. Added addTorrentFile xml-rpc command which receives uploaded
  5711. torrent file and add download for it.
  5712. * src/RequestGroupMan.cc
  5713. * src/XmlRpcMethodFactory.cc
  5714. * src/XmlRpcMethodImpl.cc
  5715. * src/XmlRpcMethodImpl.h
  5716. * src/download_helper.cc
  5717. * src/download_helper.h
  5718. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5719. Added remove xml-rpc command which removes specified download.
  5720. There is a known issue: the removed unfinished downloads are
  5721. reported ERR when aria2 exits. They should be reported as INPR.
  5722. * src/RequestGroupMan.cc
  5723. * src/RequestGroupMan.h
  5724. * src/XmlRpcMethodFactory.cc
  5725. * src/XmlRpcMethodImpl.cc
  5726. * src/XmlRpcMethodImpl.h
  5727. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5728. If --enable-http-server is enabled, don't stop aria2 when all
  5729. download finished and don't quit when no files to download at
  5730. start up.
  5731. * src/RequestGroupMan.cc
  5732. * src/main.cc
  5733. * src/option_processing.cc
  5734. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5735. Added missing AM_CONDITIONAL
  5736. * configure.ac
  5737. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5738. Added xml-rpc functionality. Currently only addURI commad is
  5739. supported. To enable xml-rpc, run aria2 with
  5740. --enable-http-server. This option name is temporal and will be
  5741. changed. The feature that reports download progress in html format
  5742. is temporarily disabled.
  5743. * src/HttpServer.cc
  5744. * src/HttpServer.h
  5745. * src/HttpServerBodyCommand.cc
  5746. * src/HttpServerBodyCommand.h
  5747. * src/HttpServerCommand.cc
  5748. * src/HttpServerResponseCommand.cc
  5749. * src/Makefile.am
  5750. * src/OptionParser.cc
  5751. * src/OptionParser.h
  5752. * src/RequestGroupMan.cc
  5753. * src/RequestGroupMan.h
  5754. * src/XmlRpcMethod.cc
  5755. * src/XmlRpcMethod.h
  5756. * src/XmlRpcMethodFactory.cc
  5757. * src/XmlRpcMethodFactory.h
  5758. * src/XmlRpcMethodImpl.cc
  5759. * src/XmlRpcMethodImpl.h
  5760. * src/download_helper.cc
  5761. * src/download_helper.h
  5762. * test/Makefile.am
  5763. * test/XmlRpcMethodTest.cc
  5764. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5765. Added xml-rpc request parser. The supported value types are:
  5766. i4/int, string, double, struct, array, base64. Currently only
  5767. libxml2 version is provided.
  5768. * src/Xml2XmlRpcRequestProcessor.cc
  5769. * src/Xml2XmlRpcRequestProcessor.h
  5770. * src/XmlRpcElements.cc
  5771. * src/XmlRpcElements.h
  5772. * src/XmlRpcRequest.h
  5773. * src/XmlRpcRequestParserController.cc
  5774. * src/XmlRpcRequestParserController.h
  5775. * src/XmlRpcRequestParserState.h
  5776. * src/XmlRpcRequestParserStateImpl.cc
  5777. * src/XmlRpcRequestParserStateImpl.h
  5778. * src/XmlRpcRequestParserStateMachine.cc
  5779. * src/XmlRpcRequestParserStateMachine.h
  5780. * src/XmlRpcRequestProcessor.h
  5781. * test/XmlRpcRequestParserControllerTest.cc
  5782. * test/XmlRpcRequestProcessorTest.cc
  5783. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5784. * Release 1.3.3
  5785. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5786. Fixed compile error since r1202.
  5787. * src/ExpatMetalinkProcessor.cc
  5788. 2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5789. Updated Ukrainian, Russian and Simplified Chinese
  5790. translations. Thanks to all translators.
  5791. * po/ru.po
  5792. * po/uk.po
  5793. * po/zh_CN.po
  5794. 2009-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5795. Pass reference of Option object instead of pointer.
  5796. * src/download_helper.cc
  5797. * src/download_helper.h
  5798. * src/main.cc
  5799. * test/DownloadHelperTest.cc
  5800. 2009-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5801. Don't retrieve PREF_MAX_DOWNLOAD_LIMIT and PREF_MAX_UPLOAD_LIMIT
  5802. from option directly. Instead, get them from RequestGroup.
  5803. * src/ActivePeerConnectionCommand.cc
  5804. * src/ActivePeerConnectionCommand.h
  5805. * src/PeerReceiveHandshakeCommand.cc
  5806. * src/RequestGroup.h
  5807. 2009-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5808. Removed unused uploadLimitCheck and uploadLimit from
  5809. PeerAbstractCommand. Removed unused maxDownloadLimit from
  5810. PeerInteractionCommand.
  5811. * src/PeerAbstractCommand.cc
  5812. * src/PeerAbstractCommand.h
  5813. * src/PeerInteractionCommand.cc
  5814. * src/PeerInteractionCommand.h
  5815. 2009-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5816. Fixed broken file renaming feature since r1202.
  5817. * src/FtpNegotiationCommand.cc
  5818. * src/FtpNegotiationCommand.h
  5819. * src/HttpResponseCommand.cc
  5820. * src/RequestGroup.cc
  5821. * src/RequestGroup.h
  5822. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5823. Removed unused debug log
  5824. * src/SocketCore.cc
  5825. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5826. Generated configure and Makefile.in using autoconf 2.63 and
  5827. automake 1.10.2. Removed AC_GNU_SOURCE from configure.ac because
  5828. it is subset of AC_USE_SYSTEM_EXTENSIONS and we use latter.
  5829. * configure.ac
  5830. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5831. Moved piece statistics stuff to new PieceStatMan class.
  5832. Refactored PieceSelector interface.
  5833. * src/DefaultPieceStorage.cc
  5834. * src/DefaultPieceStorage.h
  5835. * src/LongestSequencePieceSelector.cc
  5836. * src/LongestSequencePieceSelector.h
  5837. * src/Makefile.am
  5838. * src/PieceSelector.h
  5839. * src/PieceStatMan.cc
  5840. * src/PieceStatMan.h
  5841. * src/RarestPieceSelector.cc
  5842. * src/RarestPieceSelector.h
  5843. * src/RequestGroup.cc
  5844. * test/DefaultPieceStorageTest.cc
  5845. * test/InOrderPieceSelector.h
  5846. * test/Makefile.am
  5847. * test/PieceStatManTest.cc
  5848. * test/RarestPieceSelectorTest.cc
  5849. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5850. Added static member _protocolFamily to SocketCore. By default,
  5851. SocketCore uses AF_UNSPEC for getaddrinfo hints to resolve
  5852. address. Sometime SocketCore::bind() and
  5853. SocketCore::establishConnection() use difference protocl family
  5854. and latter cannot connect to former. To avoid this situation, we
  5855. limit protocol family to AF_INET for unit tests.
  5856. * src/SocketCore.cc
  5857. * src/SocketCore.h
  5858. * test/AllTest.cc
  5859. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5860. Avoid std::bad_alloc for negative bencode string length.
  5861. * src/bencode.cc
  5862. 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5863. Supported segmented downloading with chunked transfer encoding and
  5864. content-length.
  5865. * src/DownloadCommand.cc
  5866. * src/HttpResponseCommand.cc
  5867. 2009-05-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5868. Bump up version number to 1.3.3
  5869. * configure.ac
  5870. 2009-05-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5871. Applied Pascal Bleser's patch: increases MAX_RECV_BUFFER for ftp
  5872. from 4096 to 65536 (for insanely large ftp login banners)
  5873. * src/FtpConnection.h
  5874. * test/FtpConnectionTest.cc
  5875. 2009-05-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5876. In DefaultBtContext::getActualBasePath(), return first
  5877. FileEntry::getPath() for single file torrent.
  5878. * src/DefaultBtContext.cc
  5879. * test/DefaultBtContextTest.cc
  5880. 2009-05-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5881. Removed directIOAllowed() from BinaryStream, DiskWriter,
  5882. DiskAdaptor. setDirectIOAllowed() was renamed as allowDirectIO().
  5883. Removed _directIOAllowed member from DiskWriter.
  5884. * src/AbstractDiskWriter.cc
  5885. * src/AbstractDiskWriter.h
  5886. * src/AbstractSingleDiskAdaptor.cc
  5887. * src/AbstractSingleDiskAdaptor.h
  5888. * src/BinaryStream.h
  5889. * src/ByteArrayDiskWriter.h
  5890. * src/DefaultPieceStorage.cc
  5891. * src/DiskWriter.h
  5892. * src/MultiDiskAdaptor.cc
  5893. * src/MultiDiskAdaptor.h
  5894. 2009-05-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5895. Now the constructor of AbstractDiskWriter takes filename as an
  5896. argument and filename argument is removed from openFile(),
  5897. initAndOpenFile(), openExistingFile() interface. storeDir member
  5898. and its accessor functions are removed from DiskAdaptor because it
  5899. is not used anymore. size() member function of DefaultDiskWriter,
  5900. DirectDiskAdaptor and MultiDiskAdaptor now can be called without
  5901. opening file.
  5902. * src/AbstractDiskWriter.cc
  5903. * src/AbstractDiskWriter.h
  5904. * src/AbstractSingleDiskAdaptor.cc
  5905. * src/AbstractSingleDiskAdaptor.h
  5906. * src/ByteArrayDiskWriter.cc
  5907. * src/ByteArrayDiskWriter.h
  5908. * src/ByteArrayDiskWriterFactory.cc
  5909. * src/ByteArrayDiskWriterFactory.h
  5910. * src/DefaultDiskWriter.cc
  5911. * src/DefaultDiskWriter.h
  5912. * src/DefaultDiskWriterFactory.cc
  5913. * src/DefaultDiskWriterFactory.h
  5914. * src/DefaultPieceStorage.cc
  5915. * src/DirectDiskAdaptor.cc
  5916. * src/DirectDiskAdaptor.h
  5917. * src/DiskAdaptor.h
  5918. * src/DiskWriter.h
  5919. * src/DiskWriterFactory.h
  5920. * src/MessageDigestHelper.cc
  5921. * src/MultiDiskAdaptor.cc
  5922. * src/RequestGroup.cc
  5923. * src/UnknownLengthPieceStorage.cc
  5924. * src/Util.cc
  5925. * test/DefaultDiskWriterTest.cc
  5926. * test/DirectDiskAdaptorTest.cc
  5927. * test/FallocFileAllocationIteratorTest.cc
  5928. * test/MessageDigestHelperTest.cc
  5929. * test/MetalinkProcessorTest.cc
  5930. * test/MultiDiskAdaptorTest.cc
  5931. * test/MultiFileAllocationIteratorTest.cc
  5932. * test/SingleFileAllocationIteratorTest.cc
  5933. * test/UtilTest.cc
  5934. 2009-05-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5935. Fixed the bug that aria2 aborts when --select-file is used. This
  5936. bug was introduced in r1199.
  5937. * src/MultiDiskAdaptor.cc
  5938. 2009-05-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5939. Code cleanup
  5940. * test/MockPieceStorage.cc
  5941. 2009-05-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5942. Fixed the bug that read-only file with wrong file size will cause
  5943. error because it cannot be truncated to the correct size. Now if
  5944. file size is different than the expected one, re-open file in
  5945. writable mode.
  5946. * src/AbstractSingleDiskAdaptor.cc
  5947. * src/AbstractSingleDiskAdaptor.h
  5948. * src/BtCheckIntegrityEntry.cc
  5949. * src/DiskAdaptor.h
  5950. * src/MultiDiskAdaptor.h
  5951. * src/RequestGroup.cc
  5952. 2009-05-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5953. Fixed the bug that with --check-integrity option aria2 reports
  5954. downloaded file size is 0 even if some parts of file is correctly
  5955. downloaded. This bug is reproducible for the download that a file
  5956. includes last piece is missing. This bug doesn't reveal for
  5957. single-torrent with file allocation on.
  5958. * src/IteratableChecksumValidator.cc
  5959. * test/IteratableChecksumValidatorTest.cc
  5960. 2009-05-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5961. Avoid circular reference between RequestGroup and AdaptiveURISelector
  5962. * src/RequestGroupMan.cc
  5963. * src/AdaptiveURISelector.cc
  5964. * src/AdaptiveURISelector.h
  5965. 2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5966. * Release 1.3.2
  5967. 2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5968. Updated README
  5969. * README
  5970. 2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5971. Updated Ukrainian translations. Thanks to Alexander10.
  5972. * po/uk.po
  5973. 2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5974. Code cleanup
  5975. * src/MetalinkParserStateMachine.cc
  5976. * src/MetalinkParserStateMachine.h
  5977. 2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5978. Removed MetalinkProcessorFactory. Since we don't use both libxml2
  5979. and expat simultaneously, MetalinkProcessor is now not base class
  5980. and it is directly implemented in XML2SAXMetalinkProcessor and
  5981. ExpatMetalinkProcessor.
  5982. * src/ExpatMetalinkProcessor.cc
  5983. * src/ExpatMetalinkProcessor.h
  5984. * src/Makefile.am
  5985. * src/MetalinkHelper.cc
  5986. * src/MetalinkProcessor.h
  5987. * src/MetalinkProcessorFactory.cc: Removed.
  5988. * src/MetalinkProcessorFactory.h: Removed
  5989. * src/XML2SAXMetalinkProcessor.cc
  5990. * src/XML2SAXMetalinkProcessor.h
  5991. * test/MetalinkProcessorTest.cc
  5992. 2009-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5993. Bump up version number to 1.3.2
  5994. * configure.ac
  5995. 2009-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  5996. Added missing file.
  5997. * test/Makefile.am
  5998. * test/url-list-singleFileEndsWithSlash.torrent
  5999. 2009-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6000. Put BDE in aria2 namespace. BDE will also be used to store xml-rpc
  6001. request.
  6002. * src/AnnounceList.cc
  6003. * src/AnnounceList.h
  6004. * src/BDE.cc: Added
  6005. * src/BDE.h: Added
  6006. * src/DHTAbstractMessage.cc
  6007. * src/DHTAbstractMessage.h
  6008. * src/DHTAnnouncePeerMessage.cc
  6009. * src/DHTAnnouncePeerMessage.h
  6010. * src/DHTAnnouncePeerReplyMessage.cc
  6011. * src/DHTAnnouncePeerReplyMessage.h
  6012. * src/DHTFindNodeMessage.cc
  6013. * src/DHTFindNodeMessage.h
  6014. * src/DHTFindNodeReplyMessage.cc
  6015. * src/DHTFindNodeReplyMessage.h
  6016. * src/DHTGetPeersMessage.cc
  6017. * src/DHTGetPeersMessage.h
  6018. * src/DHTGetPeersReplyMessage.cc
  6019. * src/DHTGetPeersReplyMessage.h
  6020. * src/DHTMessageFactory.h
  6021. * src/DHTMessageFactoryImpl.cc
  6022. * src/DHTMessageFactoryImpl.h
  6023. * src/DHTMessageReceiver.cc
  6024. * src/DHTMessageTracker.cc
  6025. * src/DHTMessageTracker.h
  6026. * src/DHTPingMessage.cc
  6027. * src/DHTPingMessage.h
  6028. * src/DHTPingReplyMessage.cc
  6029. * src/DHTPingReplyMessage.h
  6030. * src/DHTQueryMessage.cc
  6031. * src/DHTQueryMessage.h
  6032. * src/DHTResponseMessage.cc
  6033. * src/DHTResponseMessage.h
  6034. * src/DefaultBtAnnounce.cc
  6035. * src/DefaultBtContext.cc
  6036. * src/DefaultBtContext.h
  6037. * src/HandshakeExtensionMessage.cc
  6038. * src/Makefile.am
  6039. * src/PeerListProcessor.h
  6040. * src/UTPexExtensionMessage.cc
  6041. * src/bencode.cc
  6042. * src/bencode.h
  6043. * test/AnnounceListTest.cc
  6044. * test/BDETest.cc: Added
  6045. * test/BencodeTest.cc
  6046. * test/DHTAnnouncePeerMessageTest.cc
  6047. * test/DHTAnnouncePeerReplyMessageTest.cc
  6048. * test/DHTFindNodeMessageTest.cc
  6049. * test/DHTFindNodeReplyMessageTest.cc
  6050. * test/DHTGetPeersMessageTest.cc
  6051. * test/DHTGetPeersReplyMessageTest.cc
  6052. * test/DHTMessageFactoryImplTest.cc
  6053. * test/DHTMessageTrackerTest.cc
  6054. * test/DHTPingMessageTest.cc
  6055. * test/DHTPingReplyMessageTest.cc
  6056. * test/Makefile.am
  6057. * test/MockDHTMessageFactory.h
  6058. * test/PeerListProcessorTest.cc
  6059. 2009-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6060. Use url-list (web-seeding) only for single-file torrent. This is
  6061. basically the same behavior with Metalink file with torrent and
  6062. URIs.
  6063. * src/RequestGroup.cc
  6064. * src/DefaultBtContext.cc
  6065. * test/DefaultBtContextTest.cc
  6066. 2009-04-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6067. Rewritten expr
  6068. * src/array_fun.h
  6069. * test/array_funTest.cc
  6070. 2009-04-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6071. Added forEachMemFunSH(). Use it in BitTorrent event dispatch.
  6072. * src/DefaultBtMessageDispatcher.cc
  6073. * src/a2algo.h
  6074. 2009-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6075. Removed ExtendedMessagingAware. Instead of using inheritance,
  6076. added ExtensionMessageRegistry and it is passed to
  6077. DefaultExtensionMessageFactory.
  6078. * src/DefaultBtInteractive.cc
  6079. * src/DefaultBtInteractive.h
  6080. * src/DefaultExtensionMessageFactory.cc
  6081. * src/DefaultExtensionMessageFactory.h
  6082. * src/ExtendedMessagingAware.h: Removed.
  6083. * src/ExtensionMessageFactory.h
  6084. * src/ExtensionMessageRegistry.h: Added.
  6085. * src/Makefile.am
  6086. * src/PeerInteractionCommand.cc
  6087. * test/DefaultExtensionMessageFactoryTest.cc
  6088. 2009-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6089. Fixed typo in log messages
  6090. * src/MSEHandshake.cc
  6091. 2009-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6092. Fixed the bug that prevents torrent download from finishing. The
  6093. bug doesn't reveal for all torrents. The torrents affected this
  6094. bug satisfies ((N+7)/8)%4 == 0 and N%32 != 0 where N is the number
  6095. of pieces.
  6096. * src/bitfield.h
  6097. * test/bitfieldTest.cc
  6098. 2009-04-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6099. Code cleanup
  6100. * src/PeerListProcessor.h
  6101. 2009-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6102. Removed RequestGroupAware
  6103. * src/AbstractCommand.cc
  6104. * src/AbstractCommand.h
  6105. * src/ActivePeerConnectionCommand.cc
  6106. * src/ActivePeerConnectionCommand.h
  6107. * src/DHTGetPeersCommand.cc
  6108. * src/DHTGetPeersCommand.h
  6109. * src/InitiatorMSEHandshakeCommand.cc
  6110. * src/InitiatorMSEHandshakeCommand.h
  6111. * src/Makefile.am
  6112. * src/PeerInitiateConnectionCommand.cc
  6113. * src/PeerInitiateConnectionCommand.h
  6114. * src/PeerInteractionCommand.cc
  6115. * src/PeerInteractionCommand.h
  6116. * src/RealtimeCommand.cc
  6117. * src/RealtimeCommand.h
  6118. * src/RequestGroupAware.cc: Removed
  6119. * src/RequestGroupAware.h: Removed
  6120. * src/SeedCheckCommand.cc
  6121. * src/SeedCheckCommand.h
  6122. * src/SleepCommand.cc
  6123. * src/TrackerWatcherCommand.cc
  6124. * src/TrackerWatcherCommand.h
  6125. 2009-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6126. Rewritten PeerListProcessor
  6127. * src/PeerListProcessor.h
  6128. * src/CompactPeerListProcessor.h: Removed
  6129. * src/CompactPeerListProcessor.cc: Removed
  6130. * src/DelegatingPeerListProcessor.cc: Removed.
  6131. * src/DefaultBtAnnounce.cc
  6132. * src/Makefile.am
  6133. * src/UTPexExtensionMessage.cc
  6134. * src/DefaultPeerListProcessor.h: Removed.
  6135. * src/DefaultPeerListProcessor.cc: Removed.
  6136. * src/DelegatingPeerListProcessor.h: Removed.
  6137. * test/Makefile.am
  6138. * test/PeerListProcessorTest.cc
  6139. * test/DefaultPeerListProcessorTest.cc: Removed.
  6140. 2009-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6141. Rewritten RequestGroupMan::calculateStat()
  6142. * src/RequestGroupMan.cc
  6143. 2009-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6144. Removed unnecessary virtual destructor for Request class.
  6145. * src/Request.cc
  6146. * src/Request.h
  6147. 2009-04-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6148. Avoid dynamic_pointer_cast.
  6149. * src/DHTGetPeersCommand.cc
  6150. * src/DHTGetPeersCommand.h
  6151. 2009-04-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6152. Rewritten event dispatch in BtMessage. Removed BtEventListener,
  6153. BtEvent.
  6154. * src/AbstractBtEventListener.h: Removed.
  6155. * src/AbstractBtMessage.cc
  6156. * src/AbstractBtMessage.h
  6157. * src/BtAbortOutstandingRequestEvent.h
  6158. * src/BtCancelSendingPieceEvent.h
  6159. * src/BtChokedEvent.h: Removed.
  6160. * src/BtChokingEvent.h
  6161. * src/BtEvent.h: Removed
  6162. * src/BtEventListener.h: Removed.
  6163. * src/BtMessage.h
  6164. * src/BtPieceMessage.cc
  6165. * src/BtPieceMessage.h
  6166. * src/BtRequestMessage.cc
  6167. * src/BtRequestMessage.h
  6168. * src/DefaultBtMessageDispatcher.cc
  6169. * src/Makefile.am
  6170. * src/a2functional.h
  6171. * test/BtPieceMessageTest.cc
  6172. * test/BtRequestMessageTest.cc
  6173. * test/DefaultBtMessageDispatcherTest.cc
  6174. * test/MockBtMessage.h
  6175. 2009-04-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6176. Code cleanup
  6177. * src/RequestGroupMan.cc
  6178. 2009-04-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6179. Code cleanup
  6180. * src/DownloadCommand.cc
  6181. 2009-04-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6182. Fixed segmentation fault when GZipDecoder::decode() returns 0
  6183. byte.
  6184. * src/DownloadCommand.cc
  6185. * src/bitfield.h
  6186. * test/bitfieldTest.cc
  6187. Fixed the bug that causes infinite loop if broken web server
  6188. returns chunked response without last "0" chunk-size marker and
  6189. closes connection.
  6190. * src/DownloadCommand.cc
  6191. Instantiate properly configured HttpDownloadCommand for
  6192. non-resumable downlaods.
  6193. * src/HttpResponseCommand.cc
  6194. 2009-04-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6195. Rewritten array operation functions.
  6196. * src/BitfieldMan.cc
  6197. * src/array_fun.h
  6198. * test/array_funTest.cc
  6199. 2009-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6200. Removed unused variable 'query'
  6201. * src/Request.cc
  6202. 2009-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6203. Set conditional HAVE_GETADDRINFO true for mingw32. It was
  6204. accidentally set to false in r1162.
  6205. * configure.ac
  6206. 2009-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6207. Code cleanup
  6208. * src/BNode.cc
  6209. 2009-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6210. Increase prefixLength for the bucket which doesn't own local node
  6211. ID when splitting bucket.
  6212. * src/DHTBucket.cc
  6213. * test/DHTBucketTest.cc
  6214. 2009-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6215. * Release 1.3.1
  6216. 2009-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6217. Bump up version number to 1.3.1
  6218. * configure.ac
  6219. 2009-04-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6220. Removed unused variable checkPoint. Also removed include directive
  6221. for TimeA2.h.
  6222. * src/SeedCheckCommand.h
  6223. 2009-04-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6224. Fixed the bug that upload limit exceeds the value specified in
  6225. --seed-ratio option depending on the timing of the execution of
  6226. SeedCheckCommand.
  6227. * src/SeedCheckCommand.cc
  6228. 2009-04-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6229. Fixed the bug that removed peer's session upload/download length
  6230. are counted twice in _cachedTransferStat before it is
  6231. re-calculated. This affected the calculation of shara ratio,
  6232. resulting aria2 wrongly determines that specified share ratio is
  6233. reached. Also fixed the typo in calculateStatFor function name.
  6234. * src/BtSetup.cc
  6235. * src/DefaultPeerStorage.cc
  6236. * src/ShareRatioSeedCriteria.h
  6237. * test/ShareRatioSeedCriteriaTest.cc
  6238. 2009-04-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6239. * Release 1.3.0
  6240. 2009-04-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6241. Updated Russian, Japanese, Spanish, Ukrainian and Norwegian
  6242. Nynorsk translations. Thanks to all translators.
  6243. * po/es.po
  6244. * po/ja.po
  6245. * po/nn.po
  6246. * po/ru.po
  6247. * po/uk.po
  6248. 2009-04-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6249. Rewritten isInRange()
  6250. * src/DHTBucket.cc
  6251. * test/DHTBucketTest.cc
  6252. 2009-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6253. Fixed typo
  6254. * doc/aria2c.1.txt
  6255. 2009-03-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6256. Removed AC_FUNC_MALLOC and AC_FUNC_REALLOC because 0-byte
  6257. malloc/realloc is not used.
  6258. * src/configure.ac
  6259. 2009-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6260. BitfieldMan::getMissingIndexes family functions now takes unsigned
  6261. char* bitfield instead of stl container for efficiency.
  6262. PieceSelector::select now takes this
  6263. bitfield. RarestPieceSelector::select now also performs
  6264. efficiently for this change. bitfield namespace is introduced and
  6265. it has several helper functions to handle basic bitfield
  6266. operations such as test, count set bits, etc.
  6267. * src/BitfieldMan.cc
  6268. * src/BitfieldMan.h
  6269. * src/DefaultBtRequestFactory.cc
  6270. * src/DefaultPieceStorage.cc
  6271. * src/DefaultPieceStorage.h
  6272. * src/LongestSequencePieceSelector.cc
  6273. * src/LongestSequencePieceSelector.h
  6274. * src/Makefile.am
  6275. * src/Piece.cc
  6276. * src/Piece.h
  6277. * src/PieceSelector.h
  6278. * src/RarestPieceSelector.cc
  6279. * src/RarestPieceSelector.h
  6280. * src/Util.cc
  6281. * src/Util.h
  6282. * src/bitfield.h
  6283. * test/BitfieldManTest.cc
  6284. * test/LongestSequencePieceSelectorTest.cc
  6285. * test/Makefile.am
  6286. * test/RarestPieceSelectorTest.cc
  6287. * test/UtilTest.cc
  6288. * test/bitfieldTest.cc
  6289. 2009-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6290. Made accepted socket non-block.
  6291. * src/FtpNegotiationCommand.cc
  6292. * src/HttpListenCommand.cc
  6293. 2009-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6294. Guarded #ifdef HAVE_POSIX_FALLOCATE
  6295. * src/AbstractSingleDiskAdaptor.cc
  6296. * src/DefaultPieceStorage.cc
  6297. * src/DiskAdaptor.h
  6298. * src/DiskAdaptor.h
  6299. * src/MultiFileAllocationIterator.cc
  6300. 2009-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6301. Run
  6302. DefaultBtMessageDispatcher::checkRequestSlotAndDoNecessaryThing()
  6303. in every 1 sec. The timeout of RequestSlot is 60s by default and
  6304. it doesn't need to be called every time when
  6305. DefaultBtInteractive::doInteractionProcessing() is called.
  6306. * src/DefaultBtInteractive.cc
  6307. * src/DefaultBtInteractive.h
  6308. 2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6309. Documented 'falloc' in man page.
  6310. * doc/aria2c.1.txt
  6311. 2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6312. Updated doc
  6313. * src/usage_text.h
  6314. 2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6315. Added 'falloc' parameter for --file-allocation option. 'falloc'
  6316. allocation mode uses posix_fallocate() system call to allocate
  6317. file on disk. If you are using newer file systems such as ext4
  6318. (with extents support), btrfs or xfs, 'falloc' is your best
  6319. choice. It allocates large(few GiB) files almost instantly. Don't
  6320. use 'falloc' with legacy file systems such as ext3 because it
  6321. takes almost same time as 'prealloc' and it blocks aria2 entirely
  6322. until allocation finishes. 'falloc' may not be available if your
  6323. system doesn't have posix_fallocate() system call.
  6324. * configure.ac
  6325. * src/AbstractDiskWriter.cc
  6326. * src/AbstractDiskWriter.h
  6327. * src/AbstractSingleDiskAdaptor.cc
  6328. * src/BinaryStream.h
  6329. * src/BtCheckIntegrityEntry.cc
  6330. * src/ByteArrayDiskWriter.h
  6331. * src/CheckIntegrityEntry.cc
  6332. * src/CheckIntegrityEntry.h
  6333. * src/DefaultPieceStorage.cc
  6334. * src/DiskAdaptor.cc
  6335. * src/DiskAdaptor.h
  6336. * src/DiskWriter.h
  6337. * src/FallocFileAllocationIterator.cc
  6338. * src/FallocFileAllocationIterator.h
  6339. * src/FileAllocationEntry.cc
  6340. * src/FileAllocationEntry.h
  6341. * src/Makefile.am
  6342. * src/MultiFileAllocationIterator.cc
  6343. * src/MultiFileAllocationIterator.h
  6344. * src/OptionHandlerFactory.cc
  6345. * src/RequestGroup.cc
  6346. * src/StreamCheckIntegrityEntry.cc
  6347. * src/prefs.cc
  6348. * src/prefs.h
  6349. * src/usage_text.h
  6350. * test/FallocFileAllocationIteratorTest.cc
  6351. * test/Makefile.am
  6352. 2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6353. Removed duplicate enableDirectIO() call.
  6354. * src/MultiFileAllocationIterator.cc
  6355. 2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6356. Replaced std::vector<SharedHandle<PieceStats> _sortedPieceStats
  6357. with std::vector<size_t> _sortedPieceStatIndexes to reduce the
  6358. cost of std::rotate().
  6359. * src/RarestPieceSelector.cc
  6360. * src/RarestPieceSelector.h
  6361. * test/RarestPieceSelectorTest.cc
  6362. 2009-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6363. Updated usage doc for --bt-tracker-interval option.
  6364. * src/usage_text.h
  6365. * doc/aria2c.1.txt
  6366. 2009-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6367. Documented --bt-tracker-interval option in man page.
  6368. * doc/aria2c.1.txt
  6369. 2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6370. Added an option to specify the interval between tracker requests.
  6371. If non-zero value is specified, aria2 uses it and ignores the
  6372. interval value in the response of tracker. If zero is specified,
  6373. aria2 determines the inteval value based on the tarcker response
  6374. and download progress.
  6375. * src/DefaultBtAnnounce.cc
  6376. * src/DefaultBtAnnounce.h
  6377. * src/OptionHandlerFactory.cc
  6378. * src/RequestGroup.cc
  6379. * src/prefs.cc
  6380. * src/prefs.h
  6381. * src/usage_text.h
  6382. 2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6383. Added operator+=, operator-=, operator-
  6384. * src/TransferStat.cc
  6385. * src/TransferStat.h
  6386. 2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6387. Refactored RarestPieceSelector to reduce CPU load, especially for
  6388. addPieceStats.
  6389. * src/RarestPieceSelector.cc
  6390. * src/RarestPieceSelector.h
  6391. 2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6392. Refactored getMissingIndexRandomly, getFirstMissingIndex,
  6393. getAllMissingBlockIndexes to reduce a call to
  6394. array_function_base::operator[].
  6395. * src/BitfieldMan.cc
  6396. 2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6397. Cached TransferStat/download speed to avoid to sum them up in each
  6398. call.
  6399. * src/DefaultPeerStorage.cc
  6400. * src/DefaultPeerStorage.h
  6401. * src/SegmentMan.cc
  6402. * src/SegmentMan.h
  6403. 2009-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6404. Typedefed cuid_t as int32_t in Command.h
  6405. * src/CUIDCounter.h
  6406. * src/Command.cc
  6407. * src/Command.h
  6408. * src/DownloadEngine.cc
  6409. * src/DownloadEngine.h
  6410. * src/PeerStat.h
  6411. * src/SegmentMan.cc
  6412. * src/SegmentMan.h
  6413. 2009-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6414. Reduced the number of calls to PeerStorage::calculateStat() and
  6415. SegmentMan::calculateDownloadSpeed() to lower CPU usage on higher
  6416. transfer rate.
  6417. * src/DefaultBtInteractive.cc
  6418. * src/DefaultBtMessageDispatcher.cc
  6419. * src/DefaultPeerStorage.cc
  6420. * src/DefaultPeerStorage.h
  6421. * src/DownloadCommand.cc
  6422. * src/DownloadEngine.cc
  6423. * src/PeerStorage.h
  6424. * src/SegmentMan.cc
  6425. * src/SegmentMan.h
  6426. * test/MockPeerStorage.h
  6427. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6428. Prepended _dir+"/" after joining path elements in torrent file.
  6429. * src/DefaultBtContext.cc
  6430. * test/DefaultBtContextTest.cc
  6431. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6432. Added missing IndexBtMessageValidator.h
  6433. * src/Makefile.am
  6434. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6435. Updated Indonesian, Russian, Italian, Ukrainian and Simplified
  6436. Chinese translations. Thank you for contributing our project.
  6437. * po/id.po
  6438. * po/it.po
  6439. * po/ru.po
  6440. * po/uk.po
  6441. * po/zh_CN.po
  6442. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6443. Updated README
  6444. * README
  6445. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6446. Bump up version number to 1.3.0
  6447. * configure.ac
  6448. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6449. Updated doc
  6450. * src/DefaultBtContext.h
  6451. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6452. Slice/joinPath for name of single torrent.
  6453. * src/DefaultBtContext.cc
  6454. * test/DefaultBtContextTest.cc
  6455. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6456. Updated man page: Documented --dry-run and --index-out
  6457. options. Changed the default value of --uri-selector and
  6458. --http-auth-challenge options. Removed --direct-file-mapping
  6459. option. Added example for --index-out
  6460. * doc/aria2c.1.txt
  6461. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6462. Updated TEXT_DRY_RUN
  6463. * src/usage_text.h
  6464. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6465. Changed the default value of --uri-selector option from 'inorder'
  6466. to 'feedback'
  6467. * src/OptionHandlerFactory.cc
  6468. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6469. Included current URI in exception message.
  6470. * src/AbstractCommand.cc
  6471. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6472. Renamed ServerStatURISelector as FeedbackURISelector.
  6473. * src/FeedbackURISelector.cc
  6474. * src/FeedbackURISelector.h
  6475. * src/Makefile.am
  6476. * src/RequestGroupMan.cc
  6477. * src/ServerStatURISelector.cc
  6478. * src/ServerStatURISelector.h
  6479. * test/FeedbackURISelectorTest.cc
  6480. * test/Makefile.am
  6481. * test/ServerStatURISelectorTest.cc
  6482. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6483. Fixed the bug that AdaptiveURISelector doesn't select any URI when
  6484. all URIs are tested and their timeout is not reached.
  6485. * src/AdaptiveURISelector.cc
  6486. * src/AdaptiveURISelector.h
  6487. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6488. Changed the default value of --http-auth-challenge option to false.
  6489. * src/OptionHandlerFactory.cc
  6490. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6491. Reuse URIs when all unused URIs run out.
  6492. * src/OptionHandlerFactory.cc
  6493. * src/RequestGroup.cc
  6494. * src/prefs.cc
  6495. * src/prefs.h
  6496. 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6497. Refactored BtMessage subclasses. BtCancelMessage, BtRequestMessage
  6498. and BtRejectMessage are derived from RangeBtMessage class.
  6499. BtAllowedFastMessage, BtHaveMessage and BtSuggestPieceMessage are
  6500. derived from IndexBtMessage class. BtChokeMessage,
  6501. BtHaveAllMessage, BtHaveNoneMessage, BtInterestedMessage,
  6502. BtNotInterestedMessage and BtUnchokeMessage are derived from
  6503. ZeroBtMessage class.
  6504. * src/AbstractBtMessage.cc
  6505. * src/AbstractBtMessage.h
  6506. * src/BtAllowedFastMessage.cc
  6507. * src/BtAllowedFastMessage.h
  6508. * src/BtAllowedFastMessageValidator.h: Removed
  6509. * src/BtBitfieldMessage.cc
  6510. * src/BtBitfieldMessage.h
  6511. * src/BtCancelMessage.cc
  6512. * src/BtCancelMessage.h
  6513. * src/BtCancelMessageValidator.h: Removed
  6514. * src/BtChokeMessage.cc
  6515. * src/BtChokeMessage.h
  6516. * src/BtExtendedMessage.cc
  6517. * src/BtExtendedMessage.h
  6518. * src/BtHandshakeMessage.cc
  6519. * src/BtHandshakeMessage.h
  6520. * src/BtHaveAllMessage.cc
  6521. * src/BtHaveAllMessage.h
  6522. * src/BtHaveMessage.cc
  6523. * src/BtHaveMessage.h
  6524. * src/BtHaveMessageValidator.h: Removed
  6525. * src/BtHaveNoneMessage.cc
  6526. * src/BtHaveNoneMessage.h
  6527. * src/BtInterestedMessage.cc
  6528. * src/BtInterestedMessage.h
  6529. * src/BtKeepAliveMessage.cc
  6530. * src/BtKeepAliveMessage.h
  6531. * src/BtNotInterestedMessage.cc
  6532. * src/BtNotInterestedMessage.h
  6533. * src/BtPieceMessage.cc
  6534. * src/BtPieceMessage.h
  6535. * src/BtPortMessage.cc
  6536. * src/BtPortMessage.h
  6537. * src/BtRejectMessage.cc
  6538. * src/BtRejectMessage.h
  6539. * src/BtRejectMessageValidator.h: Removed
  6540. * src/BtRequestMessage.cc
  6541. * src/BtRequestMessage.h
  6542. * src/BtRequestMessageValidator.h: Removed
  6543. * src/BtSuggestPieceMessage.cc
  6544. * src/BtSuggestPieceMessage.h
  6545. * src/BtSuggestPieceMessageValidator.h: Removed
  6546. * src/BtUnchokeMessage.cc
  6547. * src/BtUnchokeMessage.h
  6548. * src/DefaultBtMessageFactory.cc
  6549. * src/IndexBtMessage.cc
  6550. * src/IndexBtMessage.h
  6551. * src/IndexBtMessageValidator.h
  6552. * src/Makefile.am
  6553. * src/PeerMessageUtil.cc
  6554. * src/PeerMessageUtil.h
  6555. * src/RangeBtMessage.cc
  6556. * src/RangeBtMessage.h
  6557. * src/RangeBtMessageValidator.h
  6558. * src/SimpleBtMessage.cc
  6559. * src/SimpleBtMessage.h
  6560. * src/ZeroBtMessage.cc
  6561. * src/ZeroBtMessage.h
  6562. * test/BtRequestMessageTest.cc
  6563. 2009-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6564. Reverted usage_text.h to r1093 to avoid to lose translated
  6565. messages.
  6566. * src/usage_text.h
  6567. 2009-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6568. BtMessage now holds _id attribute. MESSAGE_LENGTH that is
  6569. declared as non-const previously is now const and defined in class
  6570. definition.
  6571. * src/AbstractBtMessage.cc
  6572. * src/AbstractBtMessage.h
  6573. * src/BtAllowedFastMessage.cc
  6574. * src/BtAllowedFastMessage.h
  6575. * src/BtBitfieldMessage.h
  6576. * src/BtCancelMessage.cc
  6577. * src/BtCancelMessage.h
  6578. * src/BtChokeMessage.cc
  6579. * src/BtChokeMessage.h
  6580. * src/BtExtendedMessage.cc
  6581. * src/BtExtendedMessage.h
  6582. * src/BtHandshakeMessage.cc
  6583. * src/BtHandshakeMessage.h
  6584. * src/BtHaveAllMessage.cc
  6585. * src/BtHaveAllMessage.h
  6586. * src/BtHaveMessage.cc
  6587. * src/BtHaveMessage.h
  6588. * src/BtHaveNoneMessage.cc
  6589. * src/BtHaveNoneMessage.h
  6590. * src/BtInterestedMessage.cc
  6591. * src/BtInterestedMessage.h
  6592. * src/BtKeepAliveMessage.cc
  6593. * src/BtKeepAliveMessage.h
  6594. * src/BtMessage.h
  6595. * src/BtNotInterestedMessage.cc
  6596. * src/BtNotInterestedMessage.h
  6597. * src/BtPieceMessage.h
  6598. * src/BtPortMessage.cc
  6599. * src/BtPortMessage.h
  6600. * src/BtRejectMessage.cc
  6601. * src/BtRejectMessage.h
  6602. * src/BtRequestMessage.cc
  6603. * src/BtRequestMessage.h
  6604. * src/BtSuggestPieceMessage.cc
  6605. * src/BtSuggestPieceMessage.h
  6606. * src/BtUnchokeMessage.cc
  6607. * src/BtUnchokeMessage.h
  6608. * src/SimpleBtMessage.cc
  6609. * src/SimpleBtMessage.h
  6610. * test/MockBtMessage.h
  6611. 2009-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6612. Use FileEntry::exists()
  6613. * src/MultiDiskAdaptor.cc
  6614. 2009-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6615. Added exists()
  6616. * src/FileEntry.cc
  6617. * src/FileEntry.h
  6618. 2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6619. Added missing prefix dir.
  6620. * src/download_helper.cc
  6621. 2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6622. Removed --direct-file-mapping option and CopyDiskAdaptor.
  6623. * src/CopyDiskAdaptor.cc: Removed
  6624. * src/CopyDiskAdaptor.h: Removed
  6625. * src/DefaultPieceStorage.cc
  6626. * src/Makefile.am
  6627. * src/OptionHandlerFactory.cc
  6628. * src/prefs.cc
  6629. * src/prefs.h
  6630. * src/usage_text.h
  6631. * test/CopyDiskAdaptorTest.cc: Removed
  6632. * test/Makefile.am
  6633. 2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6634. Rewritten isSameFileBeingDownloaded()
  6635. * src/RequestGroupMan.cc
  6636. 2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6637. Removed getName() from DownloadContext. getName() is declared in
  6638. BtContext.
  6639. * src/BtContext.h
  6640. * src/DownloadContext.h
  6641. * src/SingleFileDownloadContext.cc
  6642. * src/SingleFileDownloadContext.h
  6643. Removed getFilePath() from DiskAdaptor. getFilePath() is declared
  6644. in AbstractSingleDiskAdaptor.
  6645. * src/AbstractSingleDiskAdaptor.h
  6646. * src/DiskAdaptor.h
  6647. * src/MultiDiskAdaptor.h
  6648. * src/RequestGroup.cc
  6649. Removed setTopDir() and getTopDir() and getTopDirPath() from
  6650. MultiDiskAdaptor.
  6651. * src/DefaultPieceStorage.cc
  6652. * src/MultiDiskAdaptor.cc
  6653. * src/MultiDiskAdaptor.h
  6654. * test/MultiDiskAdaptorTest.cc
  6655. 2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6656. FileEntry::getPath() contains store(top level) directory to
  6657. simplify path handling operation. In the previous implementation,
  6658. store directory is concatenated to FileEntry::getPath() in
  6659. DownloadContext.
  6660. * src/BtDependency.cc
  6661. * src/BtPostDownloadHandler.cc
  6662. * src/CopyDiskAdaptor.cc
  6663. * src/DefaultBtContext.cc
  6664. * src/DirectDiskAdaptor.cc
  6665. * src/FileEntry.cc
  6666. * src/FileEntry.h
  6667. * src/FtpNegotiationCommand.cc
  6668. * src/HttpResponse.cc
  6669. * src/HttpResponseCommand.cc
  6670. * src/Metalink2RequestGroup.cc
  6671. * src/MultiDiskAdaptor.cc
  6672. * src/MultiDiskAdaptor.h
  6673. * src/MultiFileAllocationIterator.cc
  6674. * src/RequestGroup.cc
  6675. * src/SingleFileDownloadContext.cc
  6676. * src/SingleFileDownloadContext.h
  6677. * src/download_helper.cc
  6678. * test/BtDependencyTest.cc
  6679. * test/CopyDiskAdaptorTest.cc
  6680. * test/DefaultBtContextTest.cc
  6681. * test/DefaultBtProgressInfoFileTest.cc
  6682. * test/DirectDiskAdaptorTest.cc
  6683. * test/DownloadHelperTest.cc
  6684. * test/FileEntryTest.cc
  6685. * test/MultiDiskAdaptorTest.cc
  6686. * test/MultiFileAllocationIteratorTest.cc
  6687. * test/RequestGroupTest.cc
  6688. * test/SingleFileDownloadContextTest.cc
  6689. 2009-03-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6690. Fixed compiler warning
  6691. * src/download_helper.cc
  6692. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6693. Throw exception if same infohash torrent is now downloading.
  6694. * src/RequestGroup.cc
  6695. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6696. Added --dry-run option. In this mode, aria2 just checks whether
  6697. the remote file is available and doesn't download data. This
  6698. option has effect on HTTP/FTP downloads and BitTorrent downloads
  6699. are canceled in this mode.
  6700. * src/FtpNegotiationCommand.cc
  6701. * src/HttpResponseCommand.cc
  6702. * src/HttpResponseCommand.h
  6703. * src/OptionHandlerFactory.cc
  6704. * src/RequestGroup.cc
  6705. * src/RequestGroupMan.cc
  6706. * src/prefs.cc
  6707. * src/prefs.h
  6708. * src/usage_text.h
  6709. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6710. Fixed compiler waring
  6711. * test/UriListParserTest.cc
  6712. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6713. Parse options in -i list using OptionParser.
  6714. * src/UriListParser.cc
  6715. * src/UriListParser.h
  6716. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6717. Don't reset URI in retry to avoid additional round trips because
  6718. of redirects.
  6719. * src/AbstractCommand.cc
  6720. * src/OptionHandlerFactory.cc
  6721. * src/prefs.cc
  6722. * src/prefs.h
  6723. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6724. Declared hide() in OptionHandler.
  6725. * src/NameMatchOptionHandler.h
  6726. * src/OptionHandler.h
  6727. * src/OptionHandlerImpl.h
  6728. 2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6729. Updated doc
  6730. * src/Peer.h
  6731. 2009-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6732. Added log message in setStatusInternal()
  6733. * src/ServerStat.cc
  6734. 2009-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6735. Call ServerStat::setError() in AbstractCommand::onAbort() to
  6736. effectively exclude failed server.
  6737. * src/AbstractCommand.cc
  6738. 2009-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6739. Added --index-out option to specify each file path for torrent.
  6740. Here index shown in --show-files option is used to specify which
  6741. file path should be altered. For example, to change the file path
  6742. with index=2, use --index-out=2=aria2.tar.bz2. You can use this
  6743. option multiple times: --index-out=1=aria2.tar.bz2
  6744. --index-out=2=aria2-opt.tar.bz2. The short hand form -O is also
  6745. available. This option can be specified in -i list.
  6746. * src/DefaultBtContext.cc
  6747. * src/DefaultBtContext.h
  6748. * src/MultiDiskAdaptor.cc
  6749. * src/MultiDiskAdaptor.h
  6750. * src/MultiFileAllocationIterator.cc
  6751. * src/OptionHandlerFactory.cc
  6752. * src/OptionHandlerImpl.h
  6753. * src/Util.cc
  6754. * src/Util.h
  6755. * src/download_helper.cc
  6756. * src/prefs.cc
  6757. * src/prefs.h
  6758. * src/usage_text.h
  6759. * test/DefaultBtContextTest.cc
  6760. * test/MultiDiskAdaptorTest.cc
  6761. * test/MultiFileAllocationIteratorTest.cc
  6762. * test/UtilTest.cc
  6763. 2009-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6764. Use Util::pathJoin()
  6765. * src/MetalinkParserController.cc
  6766. * test/test.xml
  6767. 2009-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6768. Use Util::pathJoin()
  6769. * src/DefaultBtContext.cc
  6770. 2009-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6771. Added Util::pathJoin()
  6772. * src/Util.h
  6773. * test/UtilTest.cc
  6774. 2009-03-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6775. Applied basename function to remove directory element in
  6776. content-disposition value.
  6777. Return empty string if content-disposition value is ".." or ".".
  6778. * src/Util.cc
  6779. * test/UtilTest.cc
  6780. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6781. Added --max-overall-download-limit in man page.
  6782. Updated --max-overall-upload-limit, --max-download-limit option's doc.
  6783. * doc/aria2c.1.txt
  6784. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6785. Added --max-overall-download-limit option. Now --max-upload-limit
  6786. option is not ignored when --max-overall-upload-limit option has
  6787. non-zero value. aria2 checks download(upload) speed in the order:
  6788. first checks overall speed limit and if it is not exceeded, then
  6789. checks speed limit per download. Thus you can specify both
  6790. value. For example, set --max-overall-download-limit=1M and
  6791. --max-download-limit=500K to prevent from one download from eating
  6792. all overall speed limit.
  6793. * src/DefaultBtInteractive.cc
  6794. * src/DefaultBtInteractive.h
  6795. * src/DefaultBtMessageDispatcher.cc
  6796. * src/DefaultBtMessageDispatcher.h
  6797. * src/DownloadCommand.cc
  6798. * src/DownloadCommand.h
  6799. * src/FtpNegotiationCommand.cc
  6800. * src/HttpResponseCommand.cc
  6801. * src/OptionHandlerFactory.cc
  6802. * src/PeerInteractionCommand.cc
  6803. * src/RequestGroup.cc
  6804. * src/RequestGroup.h
  6805. * src/RequestGroupMan.cc
  6806. * src/RequestGroupMan.h
  6807. * src/prefs.cc
  6808. * src/prefs.h
  6809. * src/usage_text.h
  6810. * test/DefaultBtMessageDispatcherTest.cc
  6811. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6812. Documented select-file option in Input File section.
  6813. Documented --http-auth-challenge option.
  6814. * doc/aria2c.1.txt
  6815. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6816. Now select-file can be specified in the uri list(-i list).
  6817. * src/BtContext.cc
  6818. * src/BtContext.h
  6819. * src/RequestGroup.cc
  6820. * src/Sequence.h
  6821. * src/download_helper.cc
  6822. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6823. Made the upper value of --max-concurrent-downloads options unlimited.
  6824. * src/OptionHandlerFactory.cc
  6825. 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6826. Fixed the bug that disk writer is not created even if it shares
  6827. same piece with the preceding file if the length of previous file
  6828. is 0.
  6829. * src/MultiDiskAdaptor.cc
  6830. * test/MultiDiskAdaptorTest.cc
  6831. 2009-02-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6832. In BitTorrent, Open files in read-only mode for hash check. After
  6833. that, re-open file in read/write mode only when the download is
  6834. not finished.
  6835. * src/AbstractDiskWriter.cc
  6836. * src/AbstractDiskWriter.h
  6837. * src/AbstractSingleDiskAdaptor.cc
  6838. * src/AbstractSingleDiskAdaptor.h
  6839. * src/BtCheckIntegrityEntry.cc
  6840. * src/DiskAdaptor.h
  6841. * src/DiskWriter.h
  6842. * src/MultiDiskAdaptor.cc
  6843. * src/MultiDiskAdaptor.h
  6844. * src/RequestGroup.cc
  6845. 2009-02-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6846. Added --http-auth-challenge option. If it is set to true(by
  6847. default), aria2 sends HTTP authorization header only when it is
  6848. requested by the server. If false is set, then authorization
  6849. header is always sent to the server. This is useful for servers
  6850. that don't respond 401 code when authentication is required.
  6851. There is an exception: if username and password are embedded in
  6852. URI, authorization header is always sent to the server regardless
  6853. of this option.
  6854. * src/AuthConfigFactory.cc
  6855. * src/HttpSkipResponseCommand.cc
  6856. * src/OptionHandlerFactory.cc
  6857. * src/prefs.cc
  6858. * src/prefs.h
  6859. * src/usage_text.h
  6860. * test/AuthConfigFactoryTest.cc
  6861. * test/HttpRequestTest.cc
  6862. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6863. * Release 1.2.0
  6864. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6865. Updated Spanish, Ukrainian, Russian and Japanese translations.
  6866. Thanks to all translators.
  6867. * po/es.po
  6868. * po/ja.po
  6869. * po/ru.po
  6870. * po/uk.po
  6871. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6872. Call deleteSocketForReadCheck() before socket is closed.
  6873. * src/HttpListenCommand.cc
  6874. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6875. Defined virtual destructor for BObject.
  6876. * src/bencode.h
  6877. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6878. Rewritten BDE to make it efficient.
  6879. * src/bencode.cc
  6880. * src/bencode.h
  6881. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6882. Removed function throw list.
  6883. * src/bencode.cc
  6884. * src/bencode.h
  6885. * test/BencodeTest.cc
  6886. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6887. Enclosed all URLs in double quotes in command-line examples.
  6888. * doc/aria2c.1.txt
  6889. 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6890. Updated reference/see also section.
  6891. * README
  6892. * doc/aria2c.1.txt
  6893. 2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6894. Reorganized man page based on man man-pages.
  6895. * doc/aria2c.1.txt
  6896. 2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6897. Removed SERVER PERFORMANCE PROFILE and Configuration file section
  6898. because same documents are available in man page. Added
  6899. References section.
  6900. * README
  6901. 2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6902. Documented sc_avg_speed, mc_avg_speed and counter in SERVER
  6903. PERFORMANCE PROFILE section.
  6904. * doc/aria2c.1.txt
  6905. 2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6906. Rewritten the section for configuration file.
  6907. * README
  6908. * doc/aria2c.1.txt
  6909. 2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6910. Fixed the segmentation fault during execution of choking algorithm
  6911. in leecher state because of broken compare operator
  6912. implementation.
  6913. * src/BtLeecherStateChoke.cc
  6914. * src/BtLeecherStateChoke.h
  6915. 2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6916. Open file in binary mode.
  6917. * src/CookieStorage.cc
  6918. * src/DHTSetup.cc
  6919. * src/DHTUtil.cc
  6920. * src/Netrc.cc
  6921. * src/NsCookieParser.cc
  6922. * src/ProtocolDetector.cc
  6923. * src/RequestGroupMan.cc
  6924. * src/Signature.cc
  6925. * src/bencode.cc
  6926. * src/download_helper.cc
  6927. * src/option_processing.cc
  6928. * test/CookieParserTest.cc
  6929. * test/DefaultBtProgressInfoFileTest.cc
  6930. * test/FileTest.cc
  6931. * test/GZipDecoderTest.cc
  6932. * test/RequestGroupManTest.cc
  6933. * test/SignatureTest.cc
  6934. * test/SingleFileAllocationIteratorTest.cc
  6935. * test/UriListParserTest.cc
  6936. 2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6937. Removed operator[] because it is ambiguous with built-in []
  6938. operator.
  6939. * src/array_fun.h
  6940. 2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6941. Fixed compile error
  6942. * src/OptionParser.cc
  6943. 2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6944. Added missing call to arrayWrapperConst
  6945. * test/array_funTest.cc
  6946. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6947. Use array_wrapper instead of array_ptr.
  6948. * src/DHTRoutingTableDeserializer.cc
  6949. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6950. Removed template<typename S> array_ptr(const array_ptr<S>& s)
  6951. * src/array_fun.h
  6952. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6953. Added array_wrapper template.
  6954. * src/array_fun.h
  6955. * test/array_funTest.cc
  6956. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6957. Use operator T* of array_ptr.
  6958. * src/OptionParser.cc
  6959. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6960. Use localhost instead of 127.0.0.1
  6961. * test/FtpConnectionTest.cc
  6962. * test/MSEHandshakeTest.cc
  6963. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6964. Added operator T*
  6965. * src/array_fun.h
  6966. * test/array_funTest.cc
  6967. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6968. Use dynamically allocated char array to detect memory access
  6969. violation.
  6970. * src/DHTRoutingTableDeserializer.cc
  6971. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6972. Set struct sockaddr_in.sin_len if HAVE_SOCKADDR_IN_SIN_LEN is
  6973. defined.
  6974. * src/PeerMessageUtil.cc
  6975. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6976. Renamed HAVE_SOCKADDR_SIN_LEN as HAVE_SOCKADDR_IN_SIN_LEN
  6977. * configure.ac
  6978. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6979. Added a check to see struct sockaddr_in has sin_len member.
  6980. * configure.ac
  6981. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6982. Fixed buffer overrun.
  6983. * src/DHTRoutingTableDeserializer.cc
  6984. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6985. Added LL for long long int constant.
  6986. * test/FtpConnectionTest.cc
  6987. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6988. Casted to unsigned int to suppress compiler warning on netbsd.
  6989. * src/BtRuntime.h
  6990. 2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6991. Assign the value of tv.tv_sec to time_t timesec instead of giving
  6992. tv.tv_sec to localtime_r directly because tv.tv_sec may not be of
  6993. type time_t.
  6994. * src/SimpleLogger.cc
  6995. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6996. Added test for FtpConnection::receiveSizeResponse().
  6997. * test/FtpConnectionTest.cc
  6998. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  6999. Fix epoll error on the old kernel 2.6.8 or ealier.
  7000. * src/EpollEventPoll.cc
  7001. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7002. Use Util::parseLLInt instead of sscanf for portability. The
  7003. conversion "%Lu" fails in Mac OSX which requires "%llu" instead.
  7004. * src/FtpConnection.cc
  7005. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7006. Fixed the bug that adding 0 length filter to BitfieldMan filters 1
  7007. block. It should not filter anything.
  7008. * src/BitfieldMan.cc
  7009. * src/ConsoleStatCalc.cc
  7010. * test/BitfieldManTest.cc
  7011. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7012. Fixed the bug that the boolean options that don't take arguments
  7013. don't work.
  7014. * src/OptionHandlerImpl.h
  7015. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7016. Fixed broken selected file BitTorrent download.
  7017. * src/MultiDiskAdaptor.cc
  7018. * test/MultiDiskAdaptorTest.cc
  7019. * test/MultiFileAllocationIteratorTest.cc
  7020. 2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7021. Fixed #define guard for EpollEventPoll
  7022. * src/EpollEventPoll.h
  7023. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7024. Wait 2 seconds. 1 second is sometimes not enough.
  7025. * test/TimeSeedCriteriaTest.cc
  7026. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7027. Use localhost instead of 127.0.0.1.
  7028. * test/DHTConnectionImplTest.cc
  7029. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7030. Suppressed compiler warning.
  7031. * src/AdaptiveURISelector.cc
  7032. * src/DefaultPieceStorage.cc
  7033. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7034. Defined virtual destructor.
  7035. * src/MetalinkParserState.h
  7036. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7037. Give NULL for second argument of getaddrinfo instead of "0".
  7038. * src/NameResolver.cc
  7039. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7040. Don't use Time::parse(buf, "%Y%m%d%H%M%S") because Mac OS X and
  7041. included strptime doesn't parse data for this format.
  7042. * src/FtpConnection.cc
  7043. * test/FtpConnectionTest.cc
  7044. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7045. Removed tests giving -1 for unsigned argument.
  7046. * test/SingleFileDownloadContextTest.cc
  7047. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7048. Don't use sha256 in tests because it might not be supported by the
  7049. SSL library.
  7050. * test/MetalinkProcessorTest.cc
  7051. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7052. Removed tests giving -1 for unsigned argument.
  7053. * test/AlphaNumberDecoratorTest
  7054. * test/BitfieldManTest.cc
  7055. * test/DefaultBtContextTest.cc
  7056. 2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7057. Fixed compile error without libcares when epoll is available.
  7058. * src/EpollEventPoll.cc
  7059. 2009-02-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7060. Included fstream instead of iostream.
  7061. * test/SignatureTest.cc
  7062. 2009-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7063. Removed #include <algorithm>
  7064. * test/RequestGroupTest.cc
  7065. 2009-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7066. Rewritten AdaptiveURISelector::mayRetryWithIncreasedTimeout()
  7067. using RequestGroup::extractURIResult().
  7068. * src/AdaptiveURISelector.cc
  7069. * src/RequestGroup.cc
  7070. * src/RequestGroup.h
  7071. * test/RequestGroupTest.cc
  7072. 2009-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7073. Added tests for array_ptr.
  7074. * test/array_funTest.cc
  7075. 2009-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7076. Don't send ip parameter to a tracker if ip parameter is empty
  7077. string.
  7078. * src/DefaultBtAnnounce.cc
  7079. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7080. Adjusted line feed.
  7081. * src/version_usage.cc
  7082. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7083. Print tags, possible values when OptionHandlerException is caught.
  7084. * src/option_processing.cc
  7085. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7086. Changed the message for FatalException.
  7087. * src/OptionParser.cc
  7088. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7089. Documented --bt-external-ip option in man page. Updated man pages
  7090. for --proxy-method option.
  7091. * doc/aria2c.1.txt
  7092. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7093. Use GET method for FTP via HTTP proxy.
  7094. * src/FtpInitiateConnectionCommand.cc
  7095. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7096. Changed the default value of --proxy-method option from 'tunnel'
  7097. to 'get'. Use 'tunnel' for HTTPS regardless of --proxy-method
  7098. option.
  7099. * src/AbstractCommand.cc
  7100. * src/AbstractCommand.h
  7101. * src/FtpInitiateConnectionCommand.cc
  7102. * src/HttpDownloadCommand.cc
  7103. * src/HttpInitiateConnectionCommand.cc
  7104. * src/HttpInitiateConnectionCommand.h
  7105. * src/OptionHandlerFactory.cc
  7106. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7107. Initialized _logger
  7108. * src/SelectEventPoll.cc
  7109. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7110. Defined a copy constructor for the same type.
  7111. * src/SharedHandle.h
  7112. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7113. Added OptionParser::parseArg() which internally uses getopt_long
  7114. to parse command-line options. All command-line options are now
  7115. configured by OptionHandler. No manual editing of struct option*
  7116. is required any more.
  7117. * src/NameMatchOptionHandler.h
  7118. * src/OptionHandler.h
  7119. * src/OptionHandlerFactory.cc
  7120. * src/OptionHandlerImpl.h
  7121. * src/OptionParser.cc
  7122. * src/OptionParser.h
  7123. * src/array_fun.h
  7124. * src/main.cc
  7125. * src/option_processing.cc
  7126. * test/OptionHandlerTest.cc
  7127. * test/OptionParserTest.cc
  7128. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7129. Fixed configure error with --disable-epoll
  7130. * configure.ac
  7131. 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7132. Fixed compile error when HAVE_EPOLL is not defined.
  7133. Fixed linker error on bigendian systems.
  7134. * src/SocketCore.cc
  7135. * src/SocketCore.h
  7136. * test/DefaultBtProgressInfoFileTest.cc
  7137. 2009-02-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7138. Added --bt-external-ip option. You can specify the external IP
  7139. address to report to a BitTorrent tracker. Although this function
  7140. is named 'external', it can accept any kind of IP addresses.
  7141. * src/DefaultBtAnnounce.cc
  7142. * src/OptionHandlerFactory.cc
  7143. * src/option_processing.cc
  7144. * src/prefs.cc
  7145. * src/prefs.h
  7146. * src/usage_text.h
  7147. * test/DefaultBtAnnounceTest.cc
  7148. 2009-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7149. Extracted the algorithm to find the longest incremental sequence
  7150. as max_sequence template.
  7151. * src/LongestSequencePieceSelector.cc
  7152. * src/a2algo.h
  7153. * test/Makefile.am
  7154. * test/a2algoTest.cc
  7155. 2009-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7156. Removed TEXT_HTTP_SERVER_LISTEN_PORT from translation texts.
  7157. * src/usage_text.h
  7158. 2009-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7159. Updated doc for --uri-selector, --http-server-listen-port and
  7160. --enable-http-server option. Documented --event-poll option.
  7161. * doc/aria2c.1.txt
  7162. 2009-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7163. Updated doc for --enable-http-server.
  7164. * src/usage_text.h
  7165. 2009-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7166. Documented --http-server-listen-port and --enable-http-server in
  7167. man page.
  7168. * doc/aria2c.1.txt
  7169. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7170. Updated Spanish, Indonesian, Russian, Ukrainian and Italian
  7171. translations. Thanks to all translators.
  7172. * po/es.po
  7173. * po/id.po
  7174. * po/it.po
  7175. * po/ru.po
  7176. * po/uk.po
  7177. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7178. Bump up version number to 1.2.0
  7179. * configure.ac
  7180. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7181. BtContext::getAnnounceTiers() now returns const reference.
  7182. * src/BtContext.h
  7183. * src/DefaultBtContext.cc
  7184. * src/DefaultBtContext.h
  7185. * test/MockBtContext.h
  7186. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7187. Change the number of retries for tracker request based on the
  7188. number of available tracker in a torrent file.
  7189. * src/TrackerWatcherCommand.cc
  7190. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7191. Added _maxTries property to RequestGroup and assign the option
  7192. value of PREF_MAX_TRIES to it. AbstractCommand now looks up
  7193. RequestGroup::getMaxTries() instead of
  7194. Option::getAsInt(PREF_MAX_TRIES).
  7195. * src/AbstractCommand.cc
  7196. * src/RequestGroup.cc
  7197. * src/RequestGroup.h
  7198. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7199. Applied AdaptiveURISelector-timeout patch from Pascal Rigaux at
  7200. Mandriva. I modified the patch: make RequestGroup have the
  7201. timeout value and AdaptiveURISelector directly modifies that
  7202. value.
  7203. * src/AbstractCommand.cc
  7204. * src/AdaptiveURISelector.cc
  7205. * src/AdaptiveURISelector.h
  7206. * src/FtpNegotiationCommand.cc
  7207. * src/RequestGroup.cc
  7208. * src/RequestGroup.h
  7209. 2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7210. Fixed compiler warning
  7211. * test/IteratableChecksumValidatorTest.cc
  7212. 2009-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7213. Use LongestSequencePieceSelector for HTTP/FTP/BitTorrent
  7214. integrated downloads. This PieceSelector subclass finds the
  7215. longest continuous sequence in the available missing pieces and
  7216. selects the last index of such sequence. This makes HTTP/FTP
  7217. connections less interrupted by the pieces obtained by BitTorrent
  7218. peers.
  7219. * src/DefaultPieceStorage.cc
  7220. * src/DefaultPieceStorage.h
  7221. * src/LongestSequencePieceSelector.cc
  7222. * src/LongestSequencePieceSelector.h
  7223. * src/Makefile.am
  7224. * src/PieceSelector.h
  7225. * src/RarestPieceSelector.h
  7226. * src/RequestGroup.cc
  7227. * test/BtDependencyTest.cc
  7228. * test/DefaultPieceStorageTest.cc
  7229. * test/IteratableChecksumValidatorTest.cc
  7230. * test/LongestSequencePieceSelectorTest.cc
  7231. * test/Makefile.am
  7232. * test/SegmentManTest.cc
  7233. 2009-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7234. Fixed the bug that the average speed is wrong in
  7235. http/ftp/BitTorrent integrated download. Only the download bytes
  7236. in BitTorrent were considered.
  7237. * src/RequestGroup.cc
  7238. 2009-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7239. Choose port for BitTorrent/DHT randomly from the specified range.
  7240. * src/DHTConnectionImpl.cc
  7241. * src/PeerListenCommand.cc
  7242. 2009-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7243. Send HTTP Authorization header only if it is requested by the
  7244. server(response 401). There are some exceptions. The authorization
  7245. header for proxy is always sent if it is available without request
  7246. by the server. If username/password is specified in the URI, it
  7247. is immediately sent to the server without request by the server.
  7248. AbstractAuthResolver::_defaultAuthConfig is now initialized as
  7249. SharedHandle<AuthConfig>().
  7250. NetrcAuthResolver::resolveAuthConfig() returns
  7251. SharedHandle<AuthConfig>() if no AuthConfig is available.
  7252. * src/AbstractAuthResolver.cc
  7253. * src/AbstractProxyRequestCommand.cc
  7254. * src/AuthConfigFactory.cc
  7255. * src/AuthConfigFactory.h
  7256. * src/HttpConnection.cc
  7257. * src/HttpRequest.cc
  7258. * src/HttpRequest.h
  7259. * src/HttpResponse.cc
  7260. * src/HttpResponseCommand.cc
  7261. * src/HttpSkipResponseCommand.cc
  7262. * test/AuthConfigFactoryTest.cc
  7263. * test/HttpRequestTest.cc
  7264. * test/HttpResponseTest.cc
  7265. 2009-01-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7266. Remove leading "--" from help keyword and a substring after "="
  7267. from help keyword, so that one can query options by '-h--max-' or
  7268. '-hmax-peers=10'.
  7269. * src/option_processing.cc
  7270. 2009-01-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7271. Rewritten PStringVisitor and its implementation.
  7272. * src/PStringBuildVisitor.cc
  7273. * src/PStringBuildVisitor.h
  7274. * src/PStringDatum.h
  7275. * src/PStringNumLoop.h
  7276. * src/PStringSegment.cc
  7277. * src/PStringSegment.h
  7278. * src/PStringSelect.h
  7279. * src/PStringVisitor.h
  7280. * src/download_helper.cc
  7281. * test/PStringBuildVisitorTest.cc
  7282. * test/ParameterizedStringParserTest.cc
  7283. 2009-01-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7284. Persist connection between the built-in HTTP server and a client
  7285. if a client supports keep-alive. Fixed the bug that aria2 exits
  7286. when the HTTP server receives EOF from a client.
  7287. * src/HttpServer.cc
  7288. * src/HttpServer.h
  7289. * src/HttpServerCommand.cc
  7290. * src/HttpServerCommand.h
  7291. * src/HttpServerResponseCommand.cc
  7292. 2009-01-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7293. Added experimental built-in HTTP server. Currently, when a client
  7294. accesses to the server, it responds with the current download
  7295. progress. By default, it is disabled. To enable the server, give
  7296. --enable-http-server option. To change the default port number
  7297. for the server to listen to, use --http-server-listen-port option.
  7298. The response HTML is very simple and refreshes it self each 1
  7299. second. Because of this refresh, you see flicker in normal web
  7300. browser such as Firefox. I recommend to use console-based browser
  7301. such as elinks, w3m. To connect to the server, run 'elinks
  7302. http://localhost:6800/' while running aria2. Please replace port
  7303. number '6800'(which is default) with your preference.
  7304. * src/DownloadEngineFactory.cc
  7305. * src/HttpHeader.cc
  7306. * src/HttpHeader.h
  7307. * src/HttpHeaderProcessor.cc
  7308. * src/HttpHeaderProcessor.h
  7309. * src/HttpListenCommand.cc
  7310. * src/HttpListenCommand.h
  7311. * src/HttpServer.cc
  7312. * src/HttpServer.h
  7313. * src/HttpServerCommand.cc
  7314. * src/HttpServerCommand.h
  7315. * src/HttpServerResponseCommand.cc
  7316. * src/HttpServerResponseCommand.h
  7317. * src/Makefile.am
  7318. * src/OptionHandlerFactory.cc
  7319. * src/Util.cc
  7320. * src/Util.h
  7321. * src/help_tags.h
  7322. * src/option_processing.cc
  7323. * src/prefs.cc
  7324. * src/prefs.h
  7325. * src/usage_text.h
  7326. * test/HttpHeaderProcessorTest.cc
  7327. * test/UtilTest.cc
  7328. 2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7329. Removed.
  7330. * src/CheckIntegrityMan.cc
  7331. * src/FileAllocationMan.cc
  7332. 2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7333. Made (piece) hash check sequential for each RequestGroup because
  7334. simultaneous hash check is slower than sequential execution.
  7335. * src/CheckIntegrityCommand.cc
  7336. * src/CheckIntegrityDispatcherCommand.cc
  7337. * src/CheckIntegrityDispatcherCommand.h
  7338. * src/CheckIntegrityMan.h
  7339. * src/ConsoleStatCalc.cc
  7340. * src/DownloadCommand.cc
  7341. * src/DownloadEngine.cc
  7342. * src/DownloadEngine.h
  7343. * src/DownloadEngineFactory.cc
  7344. * src/Makefile.am
  7345. * src/Makefile.in
  7346. * src/RequestGroup.cc
  7347. * src/StatCalc.h
  7348. 2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7349. Moved setStatusRealtime() from FileAllocationDispatcherCommand to
  7350. SequentialDispatcherCommand.
  7351. * src/FileAllocationDispatcherCommand.cc
  7352. * src/SequentialDispatcherCommand.h
  7353. 2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7354. Rewritten FileAllocationDispatcherCommand using brand new
  7355. SequentialDispatcherCommand.
  7356. * src/DownloadEngineFactory.cc
  7357. * src/FileAllocationCommand.cc
  7358. * src/FileAllocationDispatcherCommand.cc
  7359. * src/FileAllocationDispatcherCommand.h
  7360. * src/Makefile.am
  7361. * src/SequentialDispatcherCommand.h
  7362. 2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7363. Replaced FileAllocationMan with
  7364. SequentialPicker<FileAllocationEntry>.
  7365. * src/BtCheckIntegrityEntry.cc
  7366. * src/ConsoleStatCalc.cc
  7367. * src/DownloadEngine.cc
  7368. * src/DownloadEngine.h
  7369. * src/DownloadEngineFactory.cc
  7370. * src/FileAllocationCommand.cc
  7371. * src/FileAllocationDispatcherCommand.cc
  7372. * src/FileAllocationMan.h
  7373. * src/Makefile.am
  7374. * src/SequentialPicker.h
  7375. * src/StatCalc.h
  7376. * src/StreamCheckIntegrityEntry.cc
  7377. * test/Makefile.am
  7378. * test/SequentialPickerTest.cc
  7379. 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7380. Added doc for adaptive URI selector.
  7381. * doc/aria2c.1.txt
  7382. 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7383. Added doc for adaptive URI selector.
  7384. * src/usage_text.h
  7385. 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7386. Added doc for --bt-max-peers option.
  7387. * doc/aria2c.1.txt
  7388. 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7389. Added doc for --bt-hash-check-seed option.
  7390. * doc/aria2c.1.txt
  7391. 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7392. Documented exit codes.
  7393. * doc/aria2c.1.txt
  7394. 2009-01-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7395. Added --bt-max-peers option to specify the maximum number of peers
  7396. per torrent. 0 means unlimited number of peers.
  7397. * src/ActivePeerConnectionCommand.cc
  7398. * src/BtRuntime.h
  7399. * src/DefaultPeerStorage.cc
  7400. * src/DefaultPeerStorage.h
  7401. * src/OptionHandlerFactory.cc
  7402. * src/RequestGroup.cc
  7403. * src/option_processing.cc
  7404. * src/prefs.cc
  7405. * src/prefs.h
  7406. * src/usage_text.h
  7407. * test/DefaultPeerStorageTest.cc
  7408. 2009-01-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7409. Added --bt-hash-check-seed option. If true is given to this
  7410. option, after hash check using --check-integrity option and file
  7411. is complete, continue to seed file. If you want to check file and
  7412. download it only when it is damaged or incomplete, set this option
  7413. to false. This option has effect only on BitTorrent download.
  7414. The default value is true(This is the same behavior with the
  7415. previous release).
  7416. * src/BtCheckIntegrityEntry.cc
  7417. * src/OptionHandlerFactory.cc
  7418. * src/option_processing.cc
  7419. * src/prefs.cc
  7420. * src/prefs.h
  7421. * src/usage_text.h
  7422. 2009-01-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7423. Updated copyright year.
  7424. * src/version_usage.cc
  7425. 2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7426. Rewritten the usage text for --bt-request-peer-speed-limit option.
  7427. * doc/aria2c.1.txt
  7428. * src/usage_text.h
  7429. 2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7430. Made the max value of split option unlimited.
  7431. * doc/aria2c.1.txt
  7432. * src/OptionHandlerFactory.cc
  7433. 2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7434. Fixed compile warning/error.
  7435. * src/DownloadResult.h
  7436. * src/HttpDownloadCommand.cc
  7437. * src/ServerStat.cc
  7438. * test/RequestGroupTest.cc
  7439. 2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7440. Added --event-poll option to select the method for polling events.
  7441. The available methods are "select" and "epoll". "epoll" is
  7442. available on Linux only. The earlier release has the compile
  7443. option to choose from these methods.
  7444. * configure.ac
  7445. * src/RequestGroupMan.cc
  7446. * src/OptionHandlerFactory.cc
  7447. * src/EpollEventPoll.h
  7448. * src/StreamFileAllocationEntry.cc
  7449. * src/a2io.h
  7450. * src/SelectEventPoll.h
  7451. * src/option_processing.cc
  7452. * src/prefs.h
  7453. * src/EpollEventPoll.cc
  7454. * src/EventPoll.h
  7455. * src/SocketCore.h
  7456. * src/Makefile.am
  7457. * src/main.cc
  7458. * src/DownloadEngine.h
  7459. * src/SelectEventPoll.cc
  7460. * src/DownloadEngine.cc
  7461. * src/SocketCore.cc
  7462. * src/DownloadEngineFactory.cc
  7463. * src/Makefile.in
  7464. * src/prefs.cc
  7465. * src/usage_text.h
  7466. 2009-01-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7467. Included RecoverableException.h from main.cc
  7468. * src/main.cc
  7469. 2009-01-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7470. Applied exit-status patch from Pascal Rigaux at Mandriva. aria2
  7471. now returns last error encountered in the HTTP/FTP downloads as a
  7472. exit status value. If all downloads finished successfully, aria2
  7473. returns 0. The error code is defined in src/DownloadResult.h.
  7474. The error occurred in the download currently in progress is not
  7475. reported as a last error. If no error has encountered but there
  7476. are in progress or waiting downloads, aria2 returns 7.
  7477. * src/AbstractCommand.cc
  7478. * src/DlAbortEx.h
  7479. * src/DlRetryEx.h
  7480. * src/DownloadCommand.cc
  7481. * src/DownloadFailureException.h
  7482. * src/DownloadResult.h
  7483. * src/FtpNegotiationCommand.cc
  7484. * src/HttpSkipResponseCommand.cc
  7485. * src/Makefile.am
  7486. * src/MultiUrlRequestInfo.cc
  7487. * src/MultiUrlRequestInfo.h
  7488. * src/RecoverableException.h
  7489. * src/RequestGroup.cc
  7490. * src/RequestGroup.h
  7491. * src/RequestGroupMan.cc
  7492. * src/RequestGroupMan.h
  7493. * src/URIResult.cc
  7494. * src/URIResult.h
  7495. * src/main.cc
  7496. * src/option_processing.cc
  7497. * test/RequestGroupTest.cc
  7498. 2009-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7499. Applied AdaptiveURISelector patch from Aurelien Lefebvre. This
  7500. patch adds AdaptiveURISelector, which selects one of the bests
  7501. mirrors for first and reserved connections. For supplementary
  7502. ones, it returns mirrors which has not been tested yet, and if
  7503. each of them already tested, returns mirrors which has to be
  7504. tested again. Otherwise, it doesn't return anymore mirrors.
  7505. * src/AdaptiveURISelector.cc
  7506. * src/AdaptiveURISelector.h
  7507. * src/FtpNegotiationCommand.cc
  7508. * src/HttpResponseCommand.cc
  7509. * src/Makefile.am
  7510. * src/Makefile.in
  7511. * src/OptionHandlerFactory.cc
  7512. * src/RequestGroup.cc
  7513. * src/RequestGroup.h
  7514. * src/RequestGroupMan.cc
  7515. * src/ServerStat.cc
  7516. * src/ServerStat.h
  7517. * src/ServerStatMan.cc
  7518. * src/SpeedCalc.cc
  7519. * src/URISelector.h
  7520. * src/prefs.cc
  7521. * src/prefs.h
  7522. * test/RequestGroupManTest.cc
  7523. * test/ServerStatManTest.cc
  7524. * test/ServerStatTest.cc
  7525. 2009-01-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7526. Fixed unit test error.
  7527. * test/HttpResponseTest.cc (HttpResponseTest::testRetrieveCookie)
  7528. 2008-12-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7529. * Release 1.1.2
  7530. 2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7531. Updated Russian translation. Thanks to the translators.
  7532. * po/ru.po
  7533. 2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7534. Added the description of --use-head option to man page.
  7535. * doc/aria2c.1.txt
  7536. 2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7537. Bump up version number to 1.1.2
  7538. * configure.ac
  7539. 2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7540. Added --use-head option to toggle whether HEAD method should be
  7541. used in the first HTTP request. By default aria2 uses HEAD method
  7542. as the first request. When the server doesn't recognize HEAD, then
  7543. give aria2 --use-head=false to force aria2 to use GET method
  7544. instead.
  7545. * src/OptionHandlerFactory.cc
  7546. * src/RequestGroupMan.cc
  7547. * src/option_processing.cc
  7548. * src/prefs.cc
  7549. * src/prefs.h
  7550. * src/usage_text.h
  7551. 2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7552. Fixed the bug that BitTorrent download doesn't finish when REJECT
  7553. message is received before CHOKE message. The old implementation
  7554. doen't clear the use-bit of the piece when recieved REJECT
  7555. message.
  7556. * src/DefaultBtMessageDispatcher.cc
  7557. * test/DefaultBtMessageDispatcherTest.cc
  7558. 2008-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7559. * Release 1.1.1
  7560. 2008-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7561. Bump up version number to 1.1.1.
  7562. * configure.ac
  7563. 2008-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7564. Fixed the bug that --summary-interval=0 doesn't work. The summary
  7565. is printed repeatedly.
  7566. * src/ConsoleStatCalc.cc
  7567. 2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7568. * Release 1.1.0
  7569. 2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7570. Added ifdef clause for conditional compilation.
  7571. * src/main.cc
  7572. 2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7573. Updated Russian, Simplified Chinese, Ukrainian and Japanese
  7574. translations. Thanks to all translators.
  7575. * po/ja.po
  7576. * po/ru.po
  7577. * po/uk.po
  7578. * po/zh_CN.po
  7579. 2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7580. Added the preceding ">>> " before the message "Printing the
  7581. contents of file..." to make the output more readable.
  7582. * src/main.cc
  7583. 2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7584. Added try-catch block in the loop in showFiles() to continue the
  7585. operation even if the exception occurred in one file.
  7586. * src/main.cc (showFiles)
  7587. 2008-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7588. Made messages in showFiles() translatable.
  7589. * po/aria2.pot
  7590. * src/main.cc
  7591. * src/message.h
  7592. 2008-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7593. Print the contents of Torrent/Metalink files are printed without
  7594. -T/-M options.
  7595. * src/main.cc
  7596. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7597. Escaped '--' with '\--'
  7598. * README
  7599. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7600. Updated "How to build" section in README. Mentioned about
  7601. --with-ca-bundle compile option.
  7602. * README
  7603. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7604. Bump up version number to 1.1.0.
  7605. * configure.ac
  7606. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7607. Added a note for --dht-listen-port option.
  7608. * doc/aria2c.1.txt
  7609. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7610. Update doc for --realtime-chunk-checksum option.
  7611. * doc/aria2c.1.txt
  7612. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7613. Update doc for --realtime-chunk-checksum option.
  7614. * src/usage_text.h
  7615. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7616. Updated French, Japanese, Russian and Ukrainian translations.
  7617. Thanks to all translators.
  7618. * po/fr.po
  7619. * po/ja.po
  7620. * po/ru.po
  7621. * po/uk.po
  7622. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7623. Renamed aria2c.pot to aria2.pot
  7624. * po/aria2.pot
  7625. * po/aria2c.pot: Removed.
  7626. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7627. Removed MetaEntry.h
  7628. * src/Makefile.am
  7629. 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7630. Rename file by appending digits if a local file exists and its
  7631. file size is larger than that of remote file with --continue
  7632. option. The old implementation just throws exception in such case.
  7633. * src/RequestGroup.cc
  7634. 2008-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7635. Fixed the bug that download progress summary is not printed in the
  7636. interval specified by the option.
  7637. * src/ConsoleStatCalc.cc
  7638. * src/ConsoleStatCalc.h
  7639. 2008-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7640. Fixed compiler warning
  7641. * src/Cookie.cc
  7642. 2008-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7643. Fixed the cookie implementation based on RFC2965.
  7644. Now if a value in domain field is not started with dot, then
  7645. prepend dot. That means a cookie with domain=sf.net is sent to
  7646. wiki.sf.net.
  7647. * src/Cookie.cc
  7648. * test/CookieParserTest.cc
  7649. * test/CookieStorageTest.cc
  7650. * test/CookieTest.cc
  7651. * test/NsCookieParserTest.cc
  7652. * test/Sqlite3MozCookieParserTest.cc
  7653. 2008-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7654. Fixed the bug that causes corrupted downloads if HTTP pipelining
  7655. is enabled and the server doesn't support keep-alive.
  7656. * src/AbstractCommand.cc
  7657. * src/DownloadCommand.cc
  7658. * src/HttpDownloadCommand.cc
  7659. * src/HttpDownloadCommand.h
  7660. * src/HttpResponseCommand.cc
  7661. * src/Request.cc
  7662. * src/Request.h
  7663. * test/RequestTest.cc
  7664. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7665. Removed Dictionary/List/Data and its related classes.
  7666. * src/BencodeVisitor.cc: Removed.
  7667. * src/BencodeVisitor.h: Removed.
  7668. * src/Data.cc: Removed.
  7669. * src/Data.h: Removed.
  7670. * src/Dictionary.cc: Removed.
  7671. * src/Dictionary.h: Removed.
  7672. * src/List.cc: Removed.
  7673. * src/List.h: Removed.
  7674. * src/Makefile.am
  7675. * src/MetaEntry.h: Removed.
  7676. * src/MetaEntryVisitor.h: Removed.
  7677. * src/MetaFileUtil.cc: Removed.
  7678. * src/MetaFileUtil.h: Removed.
  7679. * test/BencodeVisitorTest.cc: Removed.
  7680. * test/DataTest.cc: Removed.
  7681. * test/DictionaryTest.cc: Removed.
  7682. * test/ListTest.cc: Removed.
  7683. * test/Makefile.am
  7684. * test/MetaFileUtilTest.cc: Removed.
  7685. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7686. Removed include of MetaEntry.h
  7687. * test/DHTMessageTrackerEntryTest.cc
  7688. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7689. Use BDE instead of Dictionary/List/Data.
  7690. * src/AnnounceList.cc
  7691. * src/AnnounceList.h
  7692. * test/AnnounceListTest.cc
  7693. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7694. Use BDE instead of Dictionary/List/Data.
  7695. * src/DHTAbstractMessage.cc
  7696. * src/DHTAbstractMessage.h
  7697. * src/DHTAnnouncePeerMessage.cc
  7698. * src/DHTAnnouncePeerMessage.h
  7699. * src/DHTAnnouncePeerReplyMessage.cc
  7700. * src/DHTAnnouncePeerReplyMessage.h
  7701. * src/DHTFindNodeMessage.cc
  7702. * src/DHTFindNodeMessage.h
  7703. * src/DHTFindNodeReplyMessage.cc
  7704. * src/DHTFindNodeReplyMessage.h
  7705. * src/DHTGetPeersMessage.cc
  7706. * src/DHTGetPeersMessage.h
  7707. * src/DHTGetPeersReplyMessage.cc
  7708. * src/DHTGetPeersReplyMessage.h
  7709. * src/DHTMessageFactory.h
  7710. * src/DHTMessageFactoryImpl.cc
  7711. * src/DHTMessageFactoryImpl.h
  7712. * src/DHTMessageReceiver.cc
  7713. * src/DHTMessageTracker.cc
  7714. * src/DHTMessageTracker.h
  7715. * src/DHTPingMessage.cc
  7716. * src/DHTPingMessage.h
  7717. * src/DHTPingReplyMessage.cc
  7718. * src/DHTPingReplyMessage.h
  7719. * src/DHTQueryMessage.cc
  7720. * src/DHTQueryMessage.h
  7721. * src/DHTResponseMessage.cc
  7722. * src/DHTResponseMessage.h
  7723. * test/DHTAnnouncePeerMessageTest.cc
  7724. * test/DHTAnnouncePeerReplyMessageTest.cc
  7725. * test/DHTFindNodeMessageTest.cc
  7726. * test/DHTFindNodeReplyMessageTest.cc
  7727. * test/DHTGetPeersMessageTest.cc
  7728. * test/DHTGetPeersReplyMessageTest.cc
  7729. * test/DHTMessageFactoryImplTest.cc
  7730. * test/DHTMessageTrackerTest.cc
  7731. * test/DHTPingMessageTest.cc
  7732. * test/DHTPingReplyMessageTest.cc
  7733. * test/MockDHTMessageFactory.h
  7734. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7735. Added tests the case where length < 0 is specified.
  7736. * test/BencodeTest.cc
  7737. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7738. Fixed memory leak in decoderawstring()
  7739. * src/bencode.cc
  7740. 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7741. Added missing #ifdef guard. Added uc() function for String and
  7742. removeKey() for Dict.
  7743. * src/bencode.cc
  7744. * src/bencode.h
  7745. * test/BencodeTest.cc
  7746. 2008-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7747. Use BDE instead of Dictionary/List/Data.
  7748. * src/HandshakeExtensionMessage.cc
  7749. * src/HandshakeExtensionMessage.h
  7750. * test/HandshakeExtensionMessageTest.cc
  7751. 2008-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7752. Added --max-overall-upload-limit option. This option limits the
  7753. overall upload speed. Stated in help message that the existing
  7754. --max-upload-limit option limits the upload speed per each
  7755. torrent. Man page is also updated.
  7756. * doc/aria2c.1.txt
  7757. * src/DefaultBtMessageDispatcher.cc
  7758. * src/DefaultBtMessageDispatcher.h
  7759. * src/OptionHandlerFactory.cc
  7760. * src/PeerInteractionCommand.cc
  7761. * src/option_processing.cc
  7762. * src/prefs.cc
  7763. * src/prefs.h
  7764. * src/usage_text.h
  7765. 2008-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7766. Use BDE instead of Dictionary/List/Data classes.
  7767. * src/CompactPeerListProcessor.cc
  7768. * src/CompactPeerListProcessor.h
  7769. * src/DefaultBtAnnounce.cc
  7770. * src/DefaultBtContext.cc
  7771. * src/DefaultBtContext.h
  7772. * src/DefaultPeerListProcessor.cc
  7773. * src/DefaultPeerListProcessor.h
  7774. * src/DelegatingPeerListProcessor.cc
  7775. * src/DelegatingPeerListProcessor.h
  7776. * src/PeerListProcessor.h
  7777. * src/UTPexExtensionMessage.cc
  7778. * src/Util.h
  7779. * src/message.h
  7780. * test/DefaultBtContextTest.cc
  7781. * test/DefaultPeerListProcessorTest.cc
  7782. 2008-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7783. Added bencode helper functions and BDE class.
  7784. They will replace MetaFileUtil and Dictionary/List/Data classes.
  7785. * src/Makefile.am
  7786. * src/bencode.cc
  7787. * src/bencode.h
  7788. * test/BencodeTest.cc
  7789. * test/Makefile.am
  7790. 2008-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7791. Fixed the bug that bad URI is sent to the tracker when the announe
  7792. URI in torrent file includes query.
  7793. * src/DefaultBtAnnounce.cc
  7794. * test/DefaultBtAnnounceTest.cc
  7795. 2008-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7796. Added Option::blank().
  7797. Use !Option::blank(name) instead of Option::defined(name) for
  7798. the options that take filename.
  7799. * src/MultiUrlRequestInfo.cc
  7800. * src/Option.cc
  7801. * src/Option.h
  7802. * src/main.cc
  7803. * src/option_processing.cc
  7804. * test/OptionTest.cc
  7805. 2008-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7806. Documented the default value of --check-certificate option in man
  7807. page.
  7808. * doc/aria2c.1.txt
  7809. 2008-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7810. Enabled --check-certificate by default. Added compile
  7811. time(configure) option --with-ca-bundle to specify CA bundle.
  7812. Warn if --check-certificate=true and --ca-certificate is not
  7813. specified or loading CA certificate is failed.
  7814. * configure.ac
  7815. * src/MultiUrlRequestInfo.cc
  7816. * src/OptionHandlerFactory.cc
  7817. * src/message.h
  7818. 2008-12-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7819. Mentioned https tag in help option.
  7820. * doc/aria2c.1.txt
  7821. 2008-12-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7822. Added `https' tag to help option category. Added https tag to
  7823. --ca-certificate, --certificate, --check-certificate and
  7824. --private-key option.
  7825. * src/OptionHandlerFactory.cc
  7826. * src/help_tags.h
  7827. * src/option_processing.cc
  7828. 2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7829. Changed the package name from `aria2c' to `aria2' in order to fix
  7830. the packaging issue in Debian and Fedora. The name of the
  7831. executable is not changed.
  7832. * configure.ac
  7833. 2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7834. Fixed typos
  7835. * src/usage_text.h
  7836. 2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7837. Fixed typos and updated doc.
  7838. * README
  7839. 2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7840. Fixed typos
  7841. * doc/aria2c.1.txt
  7842. 2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7843. Fixed typos
  7844. * src/usage_text.h
  7845. 2008-11-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7846. Print a message when no files to download.
  7847. * src/download_helper.cc
  7848. * src/main.cc
  7849. * src/message.h
  7850. 2008-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7851. RFC3986 complied Percent-Encoding(urlencode).
  7852. Use uppercase hexadecimal digits for encoded text instead of lowercase
  7853. ones.
  7854. * src/Request.cc
  7855. * src/Util.cc
  7856. * src/Util.h
  7857. * test/BtHandshakeMessageTest.cc
  7858. * test/DefaultBtAnnounceTest.cc
  7859. * test/DefaultBtContextTest.cc
  7860. * test/RequestTest.cc
  7861. * test/UtilTest.cc
  7862. 2008-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7863. Fixed the bug that prevents aria2 from downloading 0-length files
  7864. via HTTP/FTP.
  7865. * src/DefaultBtContext.cc
  7866. * src/DefaultBtContext.h
  7867. * src/DownloadContext.h
  7868. * src/FtpNegotiationCommand.cc
  7869. * src/HttpResponseCommand.cc
  7870. * src/HttpResponseCommand.h
  7871. * src/RequestGroup.cc
  7872. * src/SingleFileDownloadContext.cc
  7873. * src/SingleFileDownloadContext.h
  7874. * test/BtPostDownloadHandlerTest.cc
  7875. * test/MetalinkPostDownloadHandlerTest.cc
  7876. * test/MockBtContext.h
  7877. 2008-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7878. Fixed the bug that -pfalse and -ptrue are not recognized properly.
  7879. * src/option_processing.cc
  7880. 2008-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7881. Applied aria2-1.0.1-mingw.patch.
  7882. Use SOCKET_ERRNO instead of errno if the code is used both linux and
  7883. mingw.
  7884. Collected 4th and 5th argument types for getsockopt and setsockopt.
  7885. * src/SocketCore.cc
  7886. * src/a2netcompat.h
  7887. * test/SocketCoreTest.cc
  7888. 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7889. * Release 1.0.1
  7890. 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7891. Updated Ukrainian and Norwegian Nynorsk translations.
  7892. Thanks to all translators.
  7893. * po/nn.po
  7894. * po/uk.po
  7895. 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7896. Don't show download result when -S option is used.
  7897. * src/main.cc
  7898. 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7899. Bump up version number to 1.0.1
  7900. * configure.ac
  7901. 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7902. Closed files after the test cases in MultiDiskWriterTest::
  7903. testResetDiskWriterEntries(). This will fix the unit test error
  7904. in mingw32 build.
  7905. * test/MultiDiskWriterTest.cc
  7906. 2008-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7907. Use HEAD method to get file size from HTTP server for segmented
  7908. downloading.
  7909. The request to the BitTorrent Tracker always uses GET method because
  7910. the response of the tracker is small and it doesn't need segmented
  7911. download.
  7912. * src/FtpNegotiationCommand.cc
  7913. * src/HttpRequest.cc
  7914. * src/HttpResponseCommand.cc
  7915. * src/HttpSkipResponseCommand.cc
  7916. * src/RequestGroup.cc
  7917. * src/RequestGroup.h
  7918. * src/TrackerWatcherCommand.cc
  7919. * test/HttpRequestTest.cc
  7920. 2008-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7921. Fixed the bug that causes floating exception when -T option is used and
  7922. no URIs are given.
  7923. * src/download_helper.cc
  7924. * test/DownloadHelperTest.cc
  7925. 2008-11-22 Ross Smith II <aria2spam at smithii dot com>
  7926. Applied aria2-1.0.0-mingw-r5.patch to fix numerous compile/unit test
  7927. errors in MinGW:
  7928. Closed file after saving server stats (RequestGroupMan.cc)
  7929. Fixed time parsing if internal strptime() is missing (FtpConnection.cc)
  7930. Ignored case & handled 2-digit years (strptime.c)
  7931. Added missing suseconds_t definition (a2time.h)
  7932. Fixed socket CLOSE() define (SocketCore.cc)
  7933. Changed EINPROGRESS to A2_EINPROGRESS (SocketCore.cc)
  7934. Changed utime() test values from x000 to x00000 as MinGW failed on
  7935. values less than timezone offset from Unix epoch
  7936. Changed 'struct stat' to 'a2_struct_stat' (FileTest.cc)
  7937. Added waitRead() call prior to reading socket (FtpConnectionTest.cc)
  7938. Changed date from 01-Jan-1960 to 01-Jan-1970 00:00:01 as MinGW can't
  7939. handle negative dates (CookieParserTest.cc)
  7940. * src/a2time.h
  7941. * src/FtpConnection.cc
  7942. * src/RequestGroupMan.cc
  7943. * src/SocketCore.cc
  7944. * src/strptime.c
  7945. * test/CookieParserTest.cc
  7946. * test/CopyDiskAdaptorTest.cc
  7947. * test/FileTest.cc
  7948. * test/FtpConnectionTest.cc
  7949. * test/MultiDiskAdaptorTest.cc
  7950. 2008-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7951. Fixed typo in "OPTIONS THAT TAKE AN OPTIONAL ARGUMENT" section.
  7952. * doc/aria2c.1.txt
  7953. 2008-11-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7954. * Release 1.0.0
  7955. 2008-11-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7956. Added '~' to reserved characters.
  7957. * src/Util.cc
  7958. 2008-11-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7959. Do not urlencode Request::url in setUrl() because we want unmodified
  7960. URL using Request::getUrl()
  7961. * src/Request.cc
  7962. * src/Request.h
  7963. * test/RequestTest.cc
  7964. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7965. Updated Ukrainian, Japanese, Bulgarian, Russian and French translations.
  7966. Thanks to all translators.
  7967. * po/bg.po
  7968. * po/fr.po
  7969. * po/ja.po
  7970. * po/ru.po
  7971. * po/uk.po
  7972. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7973. Bump up version number to 1.0.0
  7974. * configure.ac
  7975. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7976. Added nosqlite3 build to build_test.sh.
  7977. Renamed noxml as expat.
  7978. * build_test.sh
  7979. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7980. Updated INPUT FILE section.
  7981. * doc/aria2c.1.txt
  7982. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7983. Excluded testLoad_compat() and testLoad_nonBt_compat() when compiled
  7984. on big endian systems because test .aria2 files are made for little
  7985. endian systems.
  7986. * test/DefaultBtProgressInfoFileTest.cc
  7987. 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7988. Dropped ares support.
  7989. * README
  7990. * configure.ac
  7991. * m4/libares.m4: Removed.
  7992. * src/AsyncNameResolver.cc
  7993. * src/Makefile.am
  7994. * test/Makefile.am
  7995. 2008-11-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  7996. Rewritten ByteArrayDiskWriter::size() using seekg() and tellg().
  7997. Removed const qualifier from DiskWriter::size().
  7998. * src/AbstractDiskWriter.cc
  7999. * src/AbstractDiskWriter.h
  8000. * src/ByteArrayDiskWriter.cc
  8001. * src/ByteArrayDiskWriter.h
  8002. * src/DiskWriter.h
  8003. * test/ByteArrayDiskWriterTest.cc
  8004. 2008-11-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8005. Fixed the bug that causes segmentation fault/bus error during executing
  8006. choking algorithm while seeding. This is caused by improper
  8007. implementation of compare function which returns inconsistent results
  8008. depending on the timing of last unchoke.
  8009. * src/BtSeederStateChoke.cc
  8010. * src/BtSeederStateChoke.h
  8011. * src/DefaultPeerStorage.cc
  8012. 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8013. Removed TODO
  8014. * TODO
  8015. 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8016. Added a section that explains how to pass argument to options that
  8017. takes optional arguments with its short form.
  8018. * doc/aria2c.1.txt
  8019. 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8020. Added -u for the short form of --max-upload-limit option.
  8021. * doc/aria2c.1.txt
  8022. * src/option_processing.cc
  8023. * src/usage_text.h
  8024. 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8025. Added -V for the short form of --check-integrity option.
  8026. Now the argument of --check-integrity option is optional:
  8027. if it is omitted, it is evaluated as true.
  8028. * doc/aria2c.1.txt
  8029. * src/option_processing.cc
  8030. * src/usage_text.h
  8031. 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8032. Made the default value of --ftp-pasv option set to true and it can take
  8033. true/false values.
  8034. * src/OptionHandlerFactory.cc
  8035. * src/option_processing.cc
  8036. * src/usage_text.h
  8037. * doc/aria2c.1.txt
  8038. 2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8039. Given custom random number generator to std::random_shuffle.
  8040. * src/AnnounceList.cc
  8041. * src/BtLeecherStateChoke.cc
  8042. * src/BtSeederStateChoke.cc
  8043. * src/DefaultBtRequestFactory.cc
  8044. * src/MetalinkEntry.cc
  8045. * src/RarestPieceSelector.cc
  8046. * src/SimpleRandomizer.cc
  8047. * src/SimpleRandomizer.h
  8048. 2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8049. Now the default value of --enable-direct-io is true.
  8050. * src/OptionHandlerFactory.cc
  8051. * doc/aria2c.1.txt
  8052. 2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8053. Erase peer before executing onReturningPeer and onErasingPeer
  8054. because choking algorithm called from onReturningPeer doesn't
  8055. like erasing peer in the active peer list.
  8056. * src/DefaultPeerStorage.cc
  8057. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8058. Instead of creating special filename in createDownloadResult() if
  8059. inMemoryDownload() is true, now it is done in getFilePath().
  8060. * src/RequestGroup.cc
  8061. * test/RequestGroupTest.cc
  8062. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8063. Print "[MEMORY]" and filename if a file is not saved in disk and just
  8064. processed in memory. This is the fix for previous comment out.
  8065. * src/MemoryBufferPreDownloadHandler.cc
  8066. * src/RequestGroup.cc
  8067. * src/RequestGroup.h
  8068. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8069. Commented out the code which sets virtual directory path "[MEMORY]"
  8070. propagate directory to store to following RequestGroup.
  8071. * src/MemoryBufferPreDownloadHandler.cc
  8072. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8073. Bump up version number to 1.0.0b
  8074. * configure.ac
  8075. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8076. Added input_uris.txt to EXTRA_DIST
  8077. * test/Makefile.am
  8078. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8079. Removed PeerObject.h from Makefile.am
  8080. * src/Makefile.am
  8081. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8082. Avoid slow seeding
  8083. * src/PeerInteractionCommand.cc
  8084. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8085. Updated usage for -i option.
  8086. * src/usage_text.h (TEXT_INPUT_FILE)
  8087. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8088. Added INPUT FILE section to man page.
  8089. Escaped fake URLs.
  8090. * doc/aria2c.1.txt
  8091. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8092. Fixed wrong note position for -o option.
  8093. * doc/aria2c.1.txt
  8094. 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8095. Fixed compile error without SSL/XML library.
  8096. * src/DefaultBtProgressInfoFile.cc
  8097. * src/DefaultBtProgressInfoFile.h
  8098. * src/FileMetalinkParserState.cc
  8099. * src/RequestGroup.h
  8100. * src/SocketCore.cc
  8101. * src/SocketCore.h
  8102. * src/VerificationMetalinkParserState.cc
  8103. * src/download_helper.h
  8104. * src/main.cc
  8105. * test/DefaultBtProgressInfoFileTest.cc
  8106. * test/DownloadHelperTest.cc
  8107. 2008-11-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8108. Rewritten URI handling functions. They are now provided as a testable
  8109. functions.
  8110. * src/Makefile.am
  8111. * src/RequestGroup.cc
  8112. * src/RequestGroup.h
  8113. * src/download_helper.cc
  8114. * src/download_helper.h
  8115. * src/main.cc
  8116. * test/DownloadHelperTest.cc
  8117. * test/Makefile.am
  8118. * test/input_uris.txt
  8119. 2008-11-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8120. Quickly terminate commands when ctrl-c is pressed.
  8121. * src/DownloadEngine.cc
  8122. 2008-11-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8123. Quickly terminate idle commands when download finished.
  8124. * src/AbstractCommand.cc
  8125. * src/DownloadCommand.cc
  8126. * src/DownloadEngine.cc
  8127. * src/DownloadEngine.h
  8128. * src/SleepCommand.cc
  8129. * src/SleepCommand.h
  8130. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8131. Added the ability to specify output filename and directory in input
  8132. file.
  8133. Additional parameters are added in the following line of URIs
  8134. with proceeding white space(s), 1 parameter in 1 line.
  8135. The parameter names are the same with the command-line option name
  8136. without proceeding "--". Not all the options are available here:
  8137. at the moment, 'dir' and 'out' options are avialable.
  8138. Please note that out option has no effect against Metalink or BitTorrent
  8139. downloads.
  8140. Example input file:
  8141. http://host/foo-1.1.tar.bz2
  8142. out=foo.tar.bz2
  8143. dir=/tmp/downloads
  8144. http://host/thundermonkey-2.0.tar.bz2
  8145. And then invoke 'aria2c -i url.txt --dir ~/mydownloads'.
  8146. foo-1.1.tar.bz2 is saved as /tmp/downloads/foo.tar.bz2, whereas
  8147. thundermonkey-2.0.tar.bz2 is saved as
  8148. ~/mydownloads/thundermonkey-2.0.tar.bz2.
  8149. * src/BtPostDownloadHandler.cc
  8150. * src/Metalink2RequestGroup.cc
  8151. * src/Metalink2RequestGroup.h
  8152. * src/MetalinkPostDownloadHandler.cc
  8153. * src/UriListParser.cc
  8154. * src/UriListParser.h
  8155. * src/main.cc
  8156. * test/Metalink2RequestGroupTest.cc
  8157. * test/UriListParserTest.cc
  8158. * test/filelist1.txt
  8159. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8160. Fixed error when SSL library is not found.
  8161. * configure.ac
  8162. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8163. Cross referenced among -s, -C and -j options.
  8164. Updated usage of -C and -s options.
  8165. * src/usage_text.h
  8166. * doc/aria2c.1.txt
  8167. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8168. Fixed bad cast in 32bit platforms.
  8169. * test/DefaultPieceStorageTest.cc
  8170. (DefaultPieceStorageTest::testGetCompletedLength)
  8171. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8172. Fixed unit test fails on 32bit platforms.
  8173. * test/CookieParserTest.cc
  8174. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8175. Show an average download speed in Download results.
  8176. * src/BtFileAllocationEntry.cc
  8177. * src/DefaultPieceStorage.cc
  8178. * src/DownloadContext.cc
  8179. * src/DownloadContext.h
  8180. * src/DownloadResult.h
  8181. * src/RequestGroup.cc
  8182. * src/RequestGroupMan.cc
  8183. * src/StreamFileAllocationEntry.cc
  8184. 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8185. Fixed the bug that metalink file is not processed if Content-Type
  8186. field has a paramter.
  8187. * src/HttpResponse.cc
  8188. * src/HttpResponse.h
  8189. * test/HttpResponseTest.cc
  8190. 2008-11-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8191. Removed unused code.
  8192. * src/DefaultBtAnnounce.cc
  8193. 2008-11-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8194. Fixed the bug that DefaultPieceStorage::getCompletedLength() returns
  8195. the value larger than DefaultPieceStorage::getTotalLength() when
  8196. in flight pieces are involved.
  8197. * src/DefaultPieceStorage.cc
  8198. * test/DefaultPieceStorageTest.cc
  8199. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8200. Bump up version number to 1.0.0a.
  8201. * configure.ac
  8202. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8203. Updated configure.ac
  8204. * configure.ac
  8205. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8206. Added usege for proxy.
  8207. * doc/aria2c.1.txt
  8208. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8209. Added usage for --ca-certificate, --certificate, --private-key and
  8210. --check-certificate options.
  8211. * doc/aria2c.1.txt
  8212. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8213. Updated man page
  8214. * doc/aria2c.1.txt
  8215. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8216. Added --no-proxy option. It receives comman separated hostname or
  8217. domains to which proxy should not be used.
  8218. aria2 honors the environment variable no_proxy to override no-proxy
  8219. value in configuration file. The user can override the environment
  8220. variable no_proxy with --no-proxy command-line option.
  8221. * src/AbstractCommand.cc
  8222. * src/OptionHandlerFactory.cc
  8223. * src/option_processing.cc
  8224. * src/prefs.cc
  8225. * src/prefs.h
  8226. * src/usage_text.h
  8227. 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8228. Added the ability to verify peer in SSL/TLS using given CA certificates.
  8229. The CA certificates are specified in --ca-certificate option.
  8230. By default, the verification is disabled. Use --check-certificate
  8231. option to enable it.
  8232. * src/HttpRequestCommand.cc
  8233. * src/LibgnutlsTLSContext.cc
  8234. * src/LibgnutlsTLSContext.h
  8235. * src/LibsslTLSContext.cc
  8236. * src/LibsslTLSContext.h
  8237. * src/MultiUrlRequestInfo.cc
  8238. * src/OptionHandlerFactory.cc
  8239. * src/SocketCore.cc
  8240. * src/SocketCore.h
  8241. * src/a2functional.h
  8242. * src/message.h
  8243. * src/option_processing.cc
  8244. * src/prefs.cc
  8245. * src/prefs.h
  8246. * src/usage_text.h
  8247. 2008-11-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8248. Added client certificate authentication for SSL/TLS.
  8249. Currently a private key must be decrypted for use with aria2.
  8250. If a user accidentally gives encrypted file to aria2 then following
  8251. thing happens:
  8252. If encrypted private key is given to aria2, it behaves differently
  8253. depending on the ssl library it uses. If aria2 built with openssl then
  8254. openssl prompts the user for password. If aria2 build with gnutls then
  8255. aria2 exists with error at start up.
  8256. * src/DownloadEngineFactory.cc
  8257. * src/MultiUrlRequestInfo.cc
  8258. * src/OptionHandlerFactory.cc
  8259. * src/option_processing.cc
  8260. * src/prefs.cc
  8261. * src/prefs.h
  8262. * src/usage_text.h
  8263. 2008-11-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8264. Introduced TLSContext that holds TLS related data that can be shared
  8265. with multiple SSL connections.
  8266. * src/DownloadEngineFactory.cc
  8267. * src/LibgnutlsTLSContext.cc
  8268. * src/LibgnutlsTLSContext.h
  8269. * src/LibsslTLSContext.cc
  8270. * src/LibsslTLSContext.h
  8271. * src/Makefile.am
  8272. * src/SocketCore.cc
  8273. * src/SocketCore.h
  8274. * src/TLSContext.h
  8275. * src/message.h
  8276. 2008-11-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  8277. Fixed the bug that the DiskWriter of the first FileEntry whose
  8278. `needsFileAllocation' property is false is not created
  8279. even if it shares a piece with next FileEntry which `requested' property
  8280. is true.
  8281. Fixed the bug that zero-length file is not created if pre file
  8282. allocation is not done.
  8283. * src/MultiDiskAdaptor.cc
  8284. * src/MultiDiskAdaptor.h
  8285. * test/MultiDiskAdaptorTest.cc
  8286. 2008-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8287. Added the ability to pool proxy connection.
  8288. The conneciton in FTP with proxy-method=GET is not pooled.
  8289. Proxy-Connection header will not be sent when sending CONNECT method.
  8290. * src/DownloadEngine.cc
  8291. * src/DownloadEngine.h
  8292. * src/FtpFinishDownloadCommand.cc
  8293. * src/FtpInitiateConnectionCommand.cc
  8294. * src/FtpNegotiationCommand.cc
  8295. * src/HttpDownloadCommand.cc
  8296. * src/HttpInitiateConnectionCommand.cc
  8297. * src/HttpRequest.cc
  8298. * src/HttpRequest.h
  8299. * src/HttpResponse.cc
  8300. * src/HttpSkipResponseCommand.cc
  8301. * test/HttpRequestTest.cc
  8302. * test/HttpResponseTest.cc
  8303. 2008-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8304. Handle date before epoch.
  8305. To create *bad* Time object, call Time::null().
  8306. * src/CookieParser.cc
  8307. * src/FtpConnection.cc
  8308. * src/FtpConnection.h
  8309. * src/FtpNegotiationCommand.cc
  8310. * src/RequestGroup.cc
  8311. * src/TimeA2.cc
  8312. * src/TimeA2.h
  8313. * test/CookieParserTest.cc
  8314. * test/FtpConnectionTest.cc
  8315. * test/TimeTest.cc
  8316. 2008-11-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8317. Added support for following envrionment variables: http_proxy,
  8318. https_proxy, ftp_proxy and all_proxy.
  8319. Each variable is equivalent to the aria2 option whose name is the
  8320. variable name with '_' replaced with '-'.
  8321. They overrides options specified in aria2.conf file.
  8322. The envrionment variables can be overrode using command-line option.
  8323. * src/option_processing.cc
  8324. 2008-11-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8325. Renamed --http-proxy-method as --proxy-method.
  8326. * src/AbstractCommand.cc
  8327. * src/FtpInitiateConnectionCommand.cc
  8328. * src/HttpInitiateConnectionCommand.cc
  8329. * src/OptionHandlerFactory.cc
  8330. * src/option_processing.cc
  8331. * src/prefs.cc
  8332. * src/prefs.h
  8333. * src/usage_text.h
  8334. 2008-11-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8335. Deprecated --http-proxy-user and --http-proxy-passwd options.
  8336. Added --https-proxy, --ftp-proxy and --all-proxy options.
  8337. Above 3 options and --http-proxy option can handle proxy in URL format
  8338. like: http://user:passwd@host:port.
  8339. If a proxy requires user/password, they must be specified in a URL.
  8340. Deprecated --ftp-via-http-proxy option. Use --http-proxy-method option
  8341. instead.
  8342. * src/AbstractCommand.cc
  8343. * src/AbstractCommand.h
  8344. * src/AbstractProxyRequestCommand.cc
  8345. * src/AbstractProxyRequestCommand.h
  8346. * src/AuthConfigFactory.cc
  8347. * src/AuthConfigFactory.h
  8348. * src/FtpFinishDownloadCommand.cc
  8349. * src/FtpInitiateConnectionCommand.cc
  8350. * src/FtpInitiateConnectionCommand.h
  8351. * src/FtpNegotiationCommand.cc
  8352. * src/FtpTunnelRequestCommand.cc
  8353. * src/FtpTunnelRequestCommand.h
  8354. * src/HttpDownloadCommand.cc
  8355. * src/HttpInitiateConnectionCommand.cc
  8356. * src/HttpInitiateConnectionCommand.h
  8357. * src/HttpProxyRequestCommand.cc
  8358. * src/HttpProxyRequestCommand.h
  8359. * src/HttpRequest.cc
  8360. * src/HttpRequest.h
  8361. * src/HttpRequestCommand.cc
  8362. * src/HttpRequestCommand.h
  8363. * src/HttpSkipResponseCommand.cc
  8364. * src/InitiateConnectionCommand.cc
  8365. * src/InitiateConnectionCommand.h
  8366. * src/OptionHandlerFactory.cc
  8367. * src/OptionHandlerImpl.h
  8368. * src/Request.cc
  8369. * src/option_processing.cc
  8370. * src/prefs.cc
  8371. * src/prefs.h
  8372. * src/usage_text.h
  8373. * test/AuthConfigFactoryTest.cc
  8374. * test/HttpRequestTest.cc
  8375. * test/OptionHandlerTest.cc
  8376. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8377. Execute choking algorithm when unchoked and interested peer is
  8378. disconected.
  8379. * src/DefaultPeerStorage.cc
  8380. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8381. Added testcase for BtNotInterestedMessage from unchoked peer.
  8382. * test/BtNotInterestedMessageTest.cc
  8383. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8384. Execute choking algorithm when BtInterestedMessage arrives from
  8385. unchoked peer.
  8386. * src/BtInterestedMessage.cc
  8387. * src/BtInterestedMessage.h
  8388. * src/DefaultBtMessageFactory.cc
  8389. * test/BtInterestedMessageTest.cc
  8390. * test/MockPeerStorage.h
  8391. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8392. AuthConfigFactory is now part of DownloadEngine.
  8393. * src/AbstractProxyRequestCommand.cc
  8394. * src/AuthConfigFactory.h
  8395. * src/DownloadEngine.cc
  8396. * src/DownloadEngine.h
  8397. * src/FtpConnection.cc
  8398. * src/FtpConnection.h
  8399. * src/FtpNegotiationCommand.cc
  8400. * src/HttpConnection.cc
  8401. * src/HttpRequest.cc
  8402. * src/HttpRequest.h
  8403. * src/HttpRequestCommand.cc
  8404. * src/HttpResponse.cc
  8405. * src/HttpResponseCommand.cc
  8406. * src/HttpSkipResponseCommand.cc
  8407. * src/MultiUrlRequestInfo.cc
  8408. * src/main.cc
  8409. * test/FtpConnectionTest.cc
  8410. * test/HttpRequestTest.cc
  8411. * test/HttpResponseTest.cc
  8412. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8413. Corrected catched exception type.
  8414. * src/ServerStatMan.cc
  8415. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8416. DNSCache is now part of DownloadEngine.
  8417. * src/DNSCache.h
  8418. * src/DownloadEngine.cc
  8419. * src/DownloadEngine.h
  8420. * src/InitiateConnectionCommand.cc
  8421. * src/MultiUrlRequestInfo.cc
  8422. * test/Makefile.am
  8423. * test/Makefile.in
  8424. * test/SimpleDNSCacheTest.cc
  8425. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8426. Removed SingletonHolder of CUIDCounter. CUIDCounter is now part of
  8427. DownloadEngine.
  8428. * src/ActivePeerConnectionCommand.cc
  8429. * src/BtSetup.cc
  8430. * src/CUIDCounter.h
  8431. * src/DHTSetup.cc
  8432. * src/DownloadCommand.cc
  8433. * src/DownloadEngine.cc
  8434. * src/DownloadEngine.h
  8435. * src/DownloadEngineFactory.cc
  8436. * src/FileAllocationDispatcherCommand.cc
  8437. * src/InitiatorMSEHandshakeCommand.cc
  8438. * src/PeerInitiateConnectionCommand.cc
  8439. * src/PeerInteractionCommand.cc
  8440. * src/PeerListenCommand.cc
  8441. * src/RequestGroup.cc
  8442. * src/StreamFileAllocationEntry.cc
  8443. * src/TrackerWatcherCommand.cc
  8444. * src/main.cc
  8445. * test/RequestGroupManTest.cc
  8446. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8447. Implemented commented code in BtSeederStateChoke
  8448. * src/BtSeederStateChoke.cc
  8449. * src/Peer.cc
  8450. * src/Peer.h
  8451. * src/PeerInteractionCommand.cc
  8452. * src/PeerSessionResource.cc
  8453. * src/PeerSessionResource.h
  8454. * test/MockBtMessageDispatcher.h
  8455. * test/PeerSessionResourceTest.cc
  8456. 2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8457. Made BtRegistry non-static object. Now DownloadEngine has a reference to
  8458. its object.
  8459. * src/AbstractBtMessage.cc
  8460. * src/ActivePeerConnectionCommand.cc
  8461. * src/ActivePeerConnectionCommand.h
  8462. * src/BtContextAwareCommand.cc
  8463. * src/BtContextAwareCommand.h
  8464. * src/BtExtendedMessage.cc
  8465. * src/BtExtendedMessage.h
  8466. * src/BtInterestedMessage.cc
  8467. * src/BtInterestedMessage.h
  8468. * src/BtNotInterestedMessage.cc
  8469. * src/BtNotInterestedMessage.h
  8470. * src/BtRegistry.cc
  8471. * src/BtRegistry.h
  8472. * src/BtSeederStateChoke.cc
  8473. * src/BtSetup.cc
  8474. * src/DHTGetPeersCommand.cc
  8475. * src/DHTGetPeersCommand.h
  8476. * src/DHTPeerAnnounceEntry.cc
  8477. * src/DHTPeerAnnounceEntry.h
  8478. * src/DHTPeerAnnounceStorage.cc
  8479. * src/DHTPeerAnnounceStorage.h
  8480. * src/DHTPeerLookupTask.cc
  8481. * src/DHTPeerLookupTask.h
  8482. * src/DHTSetup.cc
  8483. * src/DHTSetup.h
  8484. * src/DHTTaskFactory.h
  8485. * src/DHTTaskFactoryImpl.cc
  8486. * src/DHTTaskFactoryImpl.h
  8487. * src/DefaultBtAnnounce.cc
  8488. * src/DefaultBtInteractive.cc
  8489. * src/DefaultBtInteractive.h
  8490. * src/DefaultBtMessageDispatcher.cc
  8491. * src/DefaultBtMessageDispatcher.h
  8492. * src/DefaultBtMessageFactory.cc
  8493. * src/DefaultBtMessageFactory.h
  8494. * src/DefaultBtMessageReceiver.cc
  8495. * src/DefaultBtProgressInfoFile.cc
  8496. * src/DefaultBtProgressInfoFile.h
  8497. * src/DefaultBtRequestFactory.cc
  8498. * src/DefaultBtRequestFactory.h
  8499. * src/DefaultExtensionMessageFactory.cc
  8500. * src/DefaultExtensionMessageFactory.h
  8501. * src/DefaultPeerStorage.cc
  8502. * src/DefaultPeerStorage.h
  8503. * src/DownloadEngine.cc
  8504. * src/DownloadEngine.h
  8505. * src/InitiatorMSEHandshakeCommand.cc
  8506. * src/InitiatorMSEHandshakeCommand.h
  8507. * src/MSEHandshake.cc
  8508. * src/MSEHandshake.h
  8509. * src/Makefile.am
  8510. * src/Makefile.in
  8511. * src/PeerChokeCommand.cc
  8512. * src/PeerChokeCommand.h
  8513. * src/PeerInitiateConnectionCommand.cc
  8514. * src/PeerInitiateConnectionCommand.h
  8515. * src/PeerInteractionCommand.cc
  8516. * src/PeerInteractionCommand.h
  8517. * src/PeerObject.h
  8518. * src/PeerReceiveHandshakeCommand.cc
  8519. * src/PeerReceiveHandshakeCommand.h
  8520. * src/ReceiverMSEHandshakeCommand.cc
  8521. * src/RequestGroup.cc
  8522. * src/RequestGroup.h
  8523. * src/RequestGroupMan.cc
  8524. * src/RequestGroupMan.h
  8525. * src/SeedCheckCommand.cc
  8526. * src/SeedCheckCommand.h
  8527. * src/ShareRatioSeedCriteria.h
  8528. * src/SimpleBtMessage.cc
  8529. * src/TrackerWatcherCommand.cc
  8530. * src/TrackerWatcherCommand.h
  8531. * src/UTPexExtensionMessage.cc
  8532. * src/UTPexExtensionMessage.h
  8533. * test/BtCancelMessageTest.cc
  8534. * test/BtChokeMessageTest.cc
  8535. * test/BtExtendedMessageTest.cc
  8536. * test/BtInterestedMessageTest.cc
  8537. * test/BtNotInterestedMessageTest.cc
  8538. * test/BtPieceMessageTest.cc
  8539. * test/BtPortMessageTest.cc
  8540. * test/BtRegistryTest.cc
  8541. * test/BtRejectMessageTest.cc
  8542. * test/BtRequestMessageTest.cc
  8543. * test/DHTPeerAnnounceEntryTest.cc
  8544. * test/DHTPeerAnnounceStorageTest.cc
  8545. * test/DefaultBtMessageDispatcherTest.cc
  8546. * test/DefaultBtMessageFactoryTest.cc
  8547. * test/DefaultBtProgressInfoFileTest.cc
  8548. * test/DefaultBtRequestFactoryTest.cc
  8549. * test/DefaultExtensionMessageFactoryTest.cc
  8550. * test/MSEHandshakeTest.cc
  8551. * test/MockDHTTaskFactory.h
  8552. * test/ShareRatioSeedCriteriaTest.cc
  8553. * test/UTPexExtensionMessageTest.cc
  8554. 2008-10-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8555. Fixed compiler warning.
  8556. * test/UtilTest.cc
  8557. 2008-10-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8558. Treat Cookie object as session cookie if expiry = 0 is given.
  8559. With this change, you can specify session scoped cookies in an external
  8560. file setting expiry value to 0.
  8561. * src/Cookie.cc
  8562. * src/Cookie.h
  8563. * test/CookieParserTest.cc
  8564. * test/CookieStorageTest.cc
  8565. * test/CookieTest.cc
  8566. 2008-10-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8567. Changed signature of DHTMessageFactory::createResponseMessage().
  8568. Removed unused validateIDMatch.
  8569. * src/DHTMessageFactory.h
  8570. * src/DHTMessageFactoryImpl.cc
  8571. * src/DHTMessageFactoryImpl.h
  8572. * src/DHTMessageTracker.cc
  8573. * test/DHTMessageFactoryImplTest.cc
  8574. * test/MockDHTMessageFactory.h
  8575. Dropped DHT message coming from same ID of localhost.
  8576. * src/DHTMessageReceiver.cc
  8577. Rejected adding node whose ID is the same as localhost's.
  8578. * src/DHTRoutingTable.cc
  8579. * test/BtPortMessageTest.cc
  8580. * test/DHTRoutingTableTest.cc
  8581. 2008-10-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8582. Pool connection when redirection occurs with Content-Length = 0.
  8583. * src/HttpSkipResponseCommand.cc
  8584. * src/HttpSkipResponseCommand.h
  8585. 2008-10-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8586. Fixed the bug that causes time out when redirection occurs with
  8587. content-length 0.
  8588. * src/HttpResponseCommand.cc
  8589. * src/HttpSkipResponseCommand.cc
  8590. * src/HttpSkipResponseCommand.h
  8591. 2008-10-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8592. Now each status legends is shown only when it appears in Download
  8593. Result. If Download Result has no item, then status legend will not
  8594. be printed.
  8595. * src/RequestGroupMan.cc
  8596. 2008-10-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8597. Removed duplicate creation of OptionHandlers.
  8598. * src/option_processing.cc
  8599. 2008-10-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8600. Fixed the bug that causes segmentation fault when accessing files which
  8601. don't exist or are not included in --select-file option while
  8602. validating chunk checksum.
  8603. * src/MultiDiskAdaptor.cc
  8604. 2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8605. Fixed compiler warning.
  8606. * test/UtilTest.cc
  8607. 2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8608. Included cstdlib. This fixed the compile error with g++-4.3.2.
  8609. * src/IteratableChecksumValidator.cc
  8610. * src/IteratableChunkChecksumValidator.cc
  8611. 2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8612. * Release 0.16.2
  8613. 2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8614. Added Serbian translation. Updated Ukrainian translation.
  8615. Thanks to all translators.
  8616. * po/sr.po
  8617. * po/uk.po
  8618. * po/LINGUAS
  8619. 2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8620. Bump up version number to 0.16.2
  8621. * configure.ac
  8622. 2008-10-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8623. Added length equality test to operator== to drop a piece message
  8624. whose length does not match to the requested one.
  8625. * src/RequestSlot.cc
  8626. * test/DefaultBtMessageDispatcherTest.cc
  8627. 2008-10-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8628. Fixed the bug that aria2 aborts when a request larger than 16KiB is
  8629. recieved.
  8630. In this fix, if a request larger than 16KiB length is received, aria2
  8631. disconnects the peer.
  8632. * src/BtConstants.h
  8633. * src/PeerMessageUtil.cc
  8634. * src/PeerMessageUtil.h
  8635. * test/BtRequestMessageTest.cc
  8636. 2008-10-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8637. * Release 0.16.1
  8638. 2008-10-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8639. Replaced '@' with 'at' in AUTHOR and REPORT BUG.
  8640. * doc/aria2c.1.txt
  8641. 2008-10-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8642. Added Ukrainian, Vietnamese, Traditional Chinese translations.
  8643. Updated French, Simplified Chinese and Japanese translations.
  8644. Thanks to all translators.
  8645. en@quot and en@boldquot are also added.
  8646. * po/LINGUAS
  8647. * po/fr.po
  8648. * po/ja.po
  8649. * po/uk.po
  8650. * po/vi.po
  8651. * po/zh_CN.po
  8652. * po/zh_TW.po
  8653. 2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8654. Bump up version number to 0.16.1.
  8655. * configure.ac
  8656. 2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8657. Updated README.
  8658. * README
  8659. 2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8660. Updated man page. Changed doctype of aria2c.1.html to manpage in order
  8661. not to replace '--' with em dash character.
  8662. * doc/aria2c.1.txt
  8663. * doc/makeman
  8664. 2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8665. Added --auto-save-interval=SEC option. A control file(*.aria2) is saved
  8666. every SEC seconds.
  8667. * src/DownloadEngineFactory.cc
  8668. * src/OptionHandlerFactory.cc
  8669. * src/option_processing.cc
  8670. * src/usage_text.h
  8671. 2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8672. Fixed compile warning on linux-amd64
  8673. * src/FtpConnection.cc
  8674. * src/IteratableChunkChecksumValidator.cc
  8675. * src/MultiDiskAdaptor.cc
  8676. Fixed the bug that unit test fails on linux-amd64
  8677. * test/UtilTest.cc
  8678. 2008-10-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8679. Added --dht-file-path option to change the path to dht.dat, which is a
  8680. serialized DHT routing table.
  8681. * src/OptionHandlerFactory.cc
  8682. * src/option_processing.cc
  8683. * src/usage_text.h
  8684. 2008-10-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8685. Fixed possible underflow.
  8686. * src/BitfieldMan.cc (BitfieldMan::getNthBitIndex)
  8687. 2008-10-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8688. Fixed the bug that last character in URI is not encoded.
  8689. * src/Request.cc
  8690. * test/RequestTest.cc
  8691. 2008-10-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8692. Fixed the bug that referer header field contains fragment.
  8693. Now Request class removes fragment part of URI and encodes it
  8694. in Request::setUri() and setReferer().
  8695. * src/Request.h
  8696. * src/Request.cc
  8697. * test/RequestTest.cc
  8698. 2008-10-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8699. Added missing m4 macros.
  8700. * m4/cppunit.m4
  8701. * m4/libgcrypt.m4
  8702. * m4/libgnutls-extra.m4
  8703. * m4/libgnutls.m4
  8704. * m4/libxml2.m4
  8705. 2008-10-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8706. Fixed compile error with gcc-4.4(snapshot)
  8707. * src/File.cc
  8708. * src/FtpConnection.cc
  8709. * src/OptionHandlerImpl.h
  8710. * src/Util.cc
  8711. 2008-10-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8712. Removed assert()
  8713. * src/SocketBuffer.cc (SocketBuffer::send)
  8714. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8715. Changed the type of _numNewConnection to unsigned int.
  8716. * src/ActivePeerConnectionCommand.cc
  8717. * src/ActivePeerConnectionCommand.h
  8718. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8719. * Release 0.16.0
  8720. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8721. Updated doc
  8722. * README
  8723. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8724. Updated French, Simplified Chinese, German, Bulgarian and Japanese
  8725. translations. Thanks to all translators.
  8726. * po/bg.po
  8727. * po/de.po
  8728. * po/fr.po
  8729. * po/ja.po
  8730. * po/zh_CN.po
  8731. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8732. Bump up version number to 0.16.0.
  8733. * configure.ac
  8734. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8735. Casted entry->maxConnections to int32_t for std::min<T> with T =
  8736. int32_t.
  8737. Changed the type of count to int32_t.
  8738. * src/Metalink2RequestGroup.cc
  8739. 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8740. Added test for Time::elapsed(time_t).
  8741. * test/TimeTest.cc
  8742. 2008-10-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8743. Fixed the bug in Time::elapsed(): Util::difftvsec() is used where
  8744. Util::difftv() should be used instead.
  8745. * src/TimeA2.cc
  8746. * src/TimeA2.h
  8747. 2008-10-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8748. Made socket for dht connections non-blocking
  8749. * src/DHTAbstractMessage.cc
  8750. * src/DHTAbstractMessage.h
  8751. * src/DHTConnection.h
  8752. * src/DHTConnectionImpl.cc
  8753. * src/DHTConnectionImpl.h
  8754. * src/DHTMessage.h
  8755. * src/DHTMessageDispatcherImpl.cc
  8756. * src/DHTMessageDispatcherImpl.h
  8757. * src/DHTUnknownMessage.cc
  8758. * src/DHTUnknownMessage.h
  8759. * src/SocketCore.cc
  8760. * src/SocketCore.h
  8761. * test/MockDHTMessage.h
  8762. 2008-10-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8763. Changed the type of offset to int.
  8764. * src/ParameterizedStringParser.cc
  8765. 2008-10-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8766. Made getAsInt() return int32_t
  8767. * src/Option.h
  8768. 2008-10-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8769. Check the availability of winsock2.h and ws2tcpip.h only for mingw32
  8770. build.
  8771. * configure.ac
  8772. 2008-10-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8773. Use sqlite3_open if sqlite3_open_v2 is not available.
  8774. * src/Sqlite3MozCookieParser.cc
  8775. * src/Sqlite3MozCookieParser.h
  8776. * m4/sqlite3.m4
  8777. * test/Sqlite3MozCookieParserTest.cc
  8778. 2008-10-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8779. Replaced '%zu' with '%lu' since mingw32 doesn't recognize '%zu'.
  8780. * src/BtPieceMessage.cc
  8781. * src/DHTPeerAnnounceStorage.cc
  8782. * src/DefaultPieceStorage.cc
  8783. * src/DownloadCommand.cc
  8784. * src/DownloadEngine.cc
  8785. * src/FtpConnection.cc
  8786. * src/PeerConnection.cc
  8787. * src/PeerMessageUtil.cc
  8788. * src/RequestGroup.cc
  8789. * src/RequestGroupMan.cc
  8790. * src/SimpleBtMessage.cc
  8791. 2008-10-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8792. Use seek() and SetEndOfFile() for mingw32 build instead of ftruncate(),
  8793. because mingw32's ftruncate() cannot handle more than 2GB-size file.
  8794. * src/AbstractDiskWriter.cc
  8795. 2008-10-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8796. Don't set Request::supportsPersistentConnection() in HttpConnection
  8797. since this code is also used in AbstractProxyResponseCommand.
  8798. Moved those code to HttpResponse.
  8799. * src/HttpResponse.cc
  8800. * src/HttpResponse.h
  8801. * src/HttpConnection.cc
  8802. * src/HttpConnection.h
  8803. * src/HttpResponseCommand.cc
  8804. * test/HttpResponseTest.cc
  8805. 2008-09-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8806. Fixed compile error with debian mingw32 cross compiler(4.2.1).
  8807. The configuration is minimum: no torrent, no metalink, so there may be
  8808. other compile error on their code.
  8809. * src/a2netcompat.h
  8810. * src/File.cc
  8811. * src/File.h
  8812. * src/SocketCore.cc
  8813. * src/SocketCore.h
  8814. 2008-09-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8815. Made a socket of incoming peer non-blocking.
  8816. * src/PeerListenCommand.cc
  8817. 2008-09-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8818. Fixed the bug that aria2 may send duplicate data to BitTorrent peer if
  8819. whole message data is not sent in one send() call.
  8820. * src/BtPieceMessage.cc
  8821. * src/BtPieceMessage.h
  8822. * src/PeerConnection.cc
  8823. * src/PeerConnection.h
  8824. * src/SimpleBtMessage.cc
  8825. * src/SimpleBtMessage.h
  8826. 2008-09-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8827. Fixed the bug that aria2 downloads faster than max-download-limit when
  8828. downloading file using both HTTP(or FTP) and BitTorrent, because aria2
  8829. evaluates speed separatly(HTTP and BiTorrent) against max-download-limit
  8830. , instead of sum of them.
  8831. * src/ActivePeerConnectionCommand.cc
  8832. * src/DefaultBtInteractive.cc
  8833. * src/DownloadCommand.cc
  8834. * src/PeerInteractionCommand.cc
  8835. * src/PeerReceiveHandshakeCommand.cc
  8836. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8837. Fixed the bug that HTTPS download fails.
  8838. * src/AbstractCommand.cc
  8839. * src/AbstractCommand.h
  8840. * src/DownloadCommand.cc
  8841. * src/FtpConnection.cc
  8842. * src/HttpConnection.cc
  8843. * src/HttpRequestCommand.cc
  8844. * src/HttpResponseCommand.cc
  8845. * src/HttpSkipResponseCommand.cc
  8846. * src/MSEHandshake.cc
  8847. * src/PeerConnection.cc
  8848. * src/SocketCore.cc
  8849. * src/SocketCore.h
  8850. Fixed the bug that aria2 doesn't download whole content body and cannot
  8851. reuse connection if chunked transfer encoding and gzip content encoding
  8852. are set.
  8853. * src/DownloadCommand.cc
  8854. * src/HttpSkipResponseCommand.cc
  8855. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8856. Updated man page.
  8857. * doc/aria2c.1.txt
  8858. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8859. When error occurred while aria2 was parsing an .aria2.conf file, print
  8860. the usage of the option that caused error.
  8861. * src/option_processing.cc
  8862. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8863. Fixed compile error on OptionHandlerException
  8864. * src/Makefile.am
  8865. * src/OptionHandlerException.cc
  8866. * src/OptionHandlerException.h
  8867. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8868. Moved message of the error to OptionHandlerException.h
  8869. * src/NameMatchOptionHandler.h
  8870. * src/OptionHandlerException.h
  8871. 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8872. When error occurs while aria2 is parsing an command-line option, print
  8873. the usage of the option.
  8874. * src/Makefile.am
  8875. * src/NameMatchOptionHandler.h
  8876. * src/OptionHandlerException.h
  8877. * src/option_processing.cc
  8878. 2008-09-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8879. Reverted previous change.
  8880. Insert username+'@' to URI(after ftp://) when URI is FTP scheme and
  8881. username is not in URI.
  8882. * src/HttpRequest.cc
  8883. * src/Request.cc
  8884. * test/HttpRequestTest.cc
  8885. * test/RequestTest.cc
  8886. 2008-09-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8887. Now colon is required for username and password in FTP URL, like:
  8888. ftp://username:password@host.
  8889. If colon is not there, aria2 don't parse it as a username. For example,
  8890. aria2 don't retrieve username from ftp://username@host.
  8891. This fix was made in order to login FTP server via non-transparent ftp
  8892. proxy.
  8893. * src/Request.cc
  8894. * test/RequestTest.cc
  8895. 2008-09-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8896. Use netrc for HTTP.
  8897. Now FTP user/password is sent in Authorization header when
  8898. --ftp-via-http-proxy=get is given.
  8899. * src/AuthConfigFactory.cc
  8900. * src/HttpRequest.cc
  8901. * src/HttpRequest.h
  8902. * src/NetrcAuthResolver.cc
  8903. * src/NetrcAuthResolver.h
  8904. * src/OptionHandlerFactory.cc
  8905. * src/option_processing.cc
  8906. * src/prefs.cc
  8907. * src/prefs.h
  8908. * test/AuthConfigFactoryTest.cc
  8909. * test/HttpRequestTest.cc
  8910. * test/NetrcAuthResolverTest.cc
  8911. 2008-09-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8912. Issue PWD command first and get working directory and use it as a prefix
  8913. for CWD command.
  8914. * src/DownloadEngine.cc
  8915. * src/DownloadEngine.h
  8916. * src/FtpConnection.cc
  8917. * src/FtpConnection.h
  8918. * src/FtpFinishDownloadCommand.cc
  8919. * src/FtpInitiateConnectionCommand.cc
  8920. * src/FtpNegotiationCommand.cc
  8921. * src/FtpNegotiationCommand.h
  8922. * test/FtpConnectionTest.cc
  8923. 2008-09-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8924. Removed default user/pass for FTP user/pass, since it should not have
  8925. precedence over netrc configuration by default.
  8926. * src/OptionHandlerFactory.cc
  8927. 2008-09-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8928. Added debug log for socket event.
  8929. * src/AbstractCommand.cc
  8930. * src/PeerAbstractCommand.cc
  8931. 2008-09-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8932. Log microseconds.
  8933. * src/SimpleLogger.cc (SimpleLogger::writeLog)
  8934. 2008-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8935. Replaced HelpItem.cc with OptionHandler.cc.
  8936. * po/POTFILES.in
  8937. Updated po files with 'make update-po'
  8938. * po/aria2c.pot
  8939. * po/*.po
  8940. 2008-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8941. Removed possible values from the text.
  8942. * src/usage_text.h (TEXT_METALINK_PREFERRED_PROTOCOL)
  8943. 2008-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8944. Removed unused preferences:
  8945. PREF_NO_PREALLOCATION
  8946. PREF_STDOUT_LOG
  8947. PREF_TRACKER_MAX_TRIES
  8948. PREF_DIRECT_DOWNLOAD_TIMEOUT
  8949. PREF_MIN_SEGMENT_SIZE
  8950. * src/option_processing.cc
  8951. * src/prefs.cc
  8952. * src/prefs.h
  8953. 2008-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8954. Integrated HelpItem into OptionParser to ease the workload for adding
  8955. new options. Removed default value from usage text.
  8956. * src/HelpItem.cc: Removed.
  8957. * src/HelpItem.h: Removed.
  8958. * src/HelpItemFactory.cc: Removed.
  8959. * src/HelpItemFactory.h: Removed.
  8960. * src/Makefile.am
  8961. * src/Makefile.in
  8962. * src/NameMatchOptionHandler.h
  8963. * src/OptionHandler.cc
  8964. * src/OptionHandler.h
  8965. * src/OptionHandlerFactory.cc
  8966. * src/OptionHandlerImpl.h
  8967. * src/OptionParser.cc
  8968. * src/OptionParser.h
  8969. * src/TagContainer.cc: Removed.
  8970. * src/TagContainer.h: Removed.
  8971. * src/TaggedItem.cc: Removed.
  8972. * src/TaggedItem.h: Removed.
  8973. * src/main.cc
  8974. * src/option_processing.cc
  8975. * src/usage_text.h
  8976. * src/version_usage.cc
  8977. * test/HelpItemTest.cc: Removed.
  8978. * test/Makefile.am
  8979. * test/Makefile.in
  8980. * test/OptionHandlerTest.cc
  8981. * test/OptionParserTest.cc
  8982. * test/TagContainerTest.cc: Removed.
  8983. 2008-09-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8984. Moved `TransferStat stat = ...' to inside the `if' clause.
  8985. * src/RequestGroup.cc (RequestGroup::reportDownloadFinished)
  8986. 2008-09-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  8987. Fixed the bug that a block in a piece is requested when same block is
  8988. already requested to the same peer in end game mode.
  8989. * src/BtRequestFactory.h
  8990. * src/DefaultBtInteractive.cc
  8991. * src/DefaultBtRequestFactory.cc
  8992. * src/DefaultBtRequestFactory.h
  8993. * src/DefaultPieceStorage.cc
  8994. * src/DefaultPieceStorage.h
  8995. * src/PieceStorage.h
  8996. * src/UnknownLengthPieceStorage.cc
  8997. * src/UnknownLengthPieceStorage.h
  8998. * test/DefaultBtRequestFactoryTest.cc
  8999. * test/DefaultPieceStorageTest.cc
  9000. * test/MockBtRequestFactory.h
  9001. * test/MockPieceStorage.h
  9002. 2008-09-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9003. Removed _uploadLength and _downloadLength from PeerSessionResource
  9004. and use PeerStat::_sessionUploadLength and
  9005. PeerStat::_sessionDownloadLength.
  9006. * src/PeerSessionResource.cc
  9007. * src/PeerSessionResource.h
  9008. 2008-09-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9009. Fixed the bug that prefixLength of split bucket which doesn't include
  9010. local node ID is incremented.
  9011. * src/DHTBucket.cc
  9012. * src/DHTBucket.h
  9013. * test/DHTBucketTest.cc
  9014. 2008-09-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9015. Added cookies.sqlite to EXTRA_DIST
  9016. * test/Makefile.am
  9017. 2008-09-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9018. Added Turkish translation. Updated French, German, Russian and
  9019. Simplified Chinese translations. Thanks to all translators.
  9020. * po/LINGUAS
  9021. * po/de.po
  9022. * po/fr.po
  9023. * po/ru.po
  9024. * po/tr.po
  9025. * po/zh_CN.po
  9026. 2008-09-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9027. Added deliminating text to the beginning of the log so that one can find
  9028. where the log starts easily.
  9029. * src/main.cc
  9030. 2008-09-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9031. Moved isProxyGETRequest function outside #ifdef ENABLE_ASYNC_DNS clause
  9032. to fix compile error when async DNS is not enabled by configuration.
  9033. * src/AbstractCommand.cc
  9034. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9035. If establishing conneciton to a server is failed, then mark error on
  9036. its ServerStat.
  9037. Added the cause of error to log when error event occurred.
  9038. Moved message string to message.h for translation.
  9039. * src/AbstractCommand.cc
  9040. * src/AbstractCommand.h
  9041. * src/FtpNegotiationCommand.cc
  9042. * src/HttpRequestCommand.cc
  9043. * src/PeerAbstractCommand.cc
  9044. * src/message.h
  9045. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9046. Added the function to get error message from socket.
  9047. * src/SocketCore.cc
  9048. * src/SocketCore.h
  9049. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9050. Added convenient method RequestGroupMan::getOrCreateServerStat()
  9051. * src/RequestGroupMan.cc
  9052. * src/RequestGroupMan.h
  9053. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9054. If error event is received in epoll, then abort download immediately.
  9055. * src/AbstractCommand.cc
  9056. * src/Command.cc
  9057. * src/Command.h
  9058. * src/DownloadEngine.cc
  9059. * src/PeerAbstractCommand.cc
  9060. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9061. Added usage message for --uri-selector, --server-stat-of,
  9062. --server-stat-in, --server-stat-timeout options.
  9063. * src/HelpItemFactory.cc
  9064. * src/usage_text.h
  9065. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9066. Added upper limit of FTP response buffer. The current implementation
  9067. uses 4096bytes as a limit.
  9068. * src/FtpConnection.cc
  9069. * src/FtpConnection.h
  9070. * test/FtpConnectionTest.cc
  9071. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9072. Use non-blocking socket for TCP communication to avoid possible
  9073. blocking due to buffer full.
  9074. * src/AbstractProxyRequestCommand.cc
  9075. * src/FtpConnection.cc
  9076. * src/FtpConnection.h
  9077. * src/FtpNegotiationCommand.cc
  9078. * src/FtpNegotiationCommand.h
  9079. * src/HttpConnection.cc
  9080. * src/HttpConnection.h
  9081. * src/HttpRequestCommand.cc
  9082. * src/InitiatorMSEHandshakeCommand.cc
  9083. * src/InitiatorMSEHandshakeCommand.h
  9084. * src/MSEHandshake.cc
  9085. * src/MSEHandshake.h
  9086. * src/Makefile.am
  9087. * src/PeerConnection.cc
  9088. * src/PeerConnection.h
  9089. * src/PeerInteractionCommand.cc
  9090. * src/PeerListenCommand.cc
  9091. * src/ReceiverMSEHandshakeCommand.cc
  9092. * src/ReceiverMSEHandshakeCommand.h
  9093. * src/SocketBuffer.cc
  9094. * src/SocketBuffer.h
  9095. * src/SocketCore.cc
  9096. * src/SocketCore.h
  9097. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9098. Call setStatusRealtime() in constructor.
  9099. * src/RealtimeCommand.cc
  9100. * src/RealtimeCommand.h
  9101. 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9102. Call Download::setNoWait(true) to execute newly created command without
  9103. a pause.
  9104. * src/AbstractCommand.cc
  9105. 2008-09-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9106. Added --max-file-not-found=NUM option. If aria2 receives `file not
  9107. found' error from HTTP/FTP server NUM times without getting single
  9108. bytes of data, then force the download to fail.
  9109. Basically aria2 tris all URIs available. So if long list of URIs are
  9110. specified in Metalink, then aria2 will take a long time to fail
  9111. eventually if all URIs are outdated. This option eases this situation
  9112. to limit the number of servers to try.
  9113. * src/FtpNegotiationCommand.cc
  9114. * src/HelpItemFactory.cc
  9115. * src/HttpResponseCommand.cc
  9116. * src/OptionHandlerFactory.cc
  9117. * src/PeerStat.h
  9118. * src/RequestGroup.cc
  9119. * src/RequestGroup.h
  9120. * src/SegmentMan.cc
  9121. * src/SegmentMan.h
  9122. * src/option_processing.cc
  9123. * src/prefs.cc
  9124. * src/prefs.h
  9125. * src/usage_text.h
  9126. 2008-09-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9127. Fixed the bug that bulkReceiveResponse() reads all received data as a
  9128. response even if more than one response is in it.
  9129. * src/FtpConnection.cc
  9130. * src/FtpConnection.h
  9131. * test/FtpConnectionTest.cc
  9132. 2008-09-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9133. Merged from stable-0.15
  9134. * m4/libcares.m4
  9135. Use pkg-config
  9136. * m4/sqlite3.m4
  9137. 2008-09-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9138. Removed unnecessary if statement.
  9139. * src/DefaultPieceStorage.cc (initPieceStorage)
  9140. 2008-09-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9141. Added --connect-timeout option to specify connect timeout in seconds.
  9142. This option is in effect for HTTP/FTP/proxy server. The timeout for
  9143. connecting to BitTorrent peer is not controlled by this option.
  9144. * src/AbstractProxyRequestCommand.cc
  9145. * src/FtpNegotiationCommand.cc
  9146. * src/HelpItemFactory.cc
  9147. * src/HttpRequestCommand.cc
  9148. * src/OptionHandlerFactory.cc
  9149. * src/option_processing.cc
  9150. * src/prefs.cc
  9151. * src/prefs.h
  9152. * src/usage_text.h
  9153. 2008-09-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9154. Added help message for -R option.
  9155. * src/HelpItemFactory.cc
  9156. * src/usage_text.h
  9157. 2008-09-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9158. Added the message that the time is in local time zone.
  9159. * src/RequestGroup.cc
  9160. 2008-09-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9161. Implemented the ability to get timestamp from remote FTP server using
  9162. MDTM command described in RFC3659.
  9163. * src/FtpConnection.cc
  9164. * src/FtpConnection.h
  9165. * src/FtpNegotiationCommand.cc
  9166. * src/FtpNegotiationCommand.h
  9167. * test/FtpConnectionTest.cc
  9168. * test/Makefile.am
  9169. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9170. Implemented the ability to get timestamp from remote HTTP server and
  9171. apply it to local file. To enable this feature, --remote-time option
  9172. is added. No usage text has been written yet.
  9173. If several servers returns difference timestamp, then aria2 uses latest
  9174. one.
  9175. * src/CopyDiskAdaptor.cc
  9176. * src/CopyDiskAdaptor.h
  9177. * src/DirectDiskAdaptor.cc
  9178. * src/DirectDiskAdaptor.h
  9179. * src/DiskAdaptor.h
  9180. * src/File.cc
  9181. * src/File.h
  9182. * src/HttpHeader.cc
  9183. * src/HttpHeader.h
  9184. * src/HttpResponse.cc
  9185. * src/HttpResponse.h
  9186. * src/HttpResponseCommand.cc
  9187. * src/HttpResponseCommand.h
  9188. * src/MultiDiskAdaptor.cc
  9189. * src/MultiDiskAdaptor.h
  9190. * src/OptionHandlerFactory.cc
  9191. * src/RequestGroup.cc
  9192. * src/RequestGroup.h
  9193. * src/RequestGroupMan.cc
  9194. * src/option_processing.cc
  9195. * src/prefs.cc
  9196. * src/prefs.h
  9197. * test/CopyDiskAdaptorTest.cc
  9198. * test/FileTest.cc
  9199. * test/Makefile.am
  9200. * test/Makefile.in
  9201. * test/MultiDiskAdaptorTest.cc
  9202. * test/TestUtil.cc
  9203. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9204. Fixed the bug that DiskWriterEntry is not created when its
  9205. FileEntry.isRequested() is false and it doesn't share a piece with
  9206. other FileEntries that are requested. This bug causes segmentation fault
  9207. in the end.
  9208. * src/MultiDiskAdaptor.cc
  9209. * src/MultiDiskAdaptor.h
  9210. * src/MultiFileAllocationIterator.cc
  9211. * test/MultiDiskAdaptorTest.cc
  9212. * test/MultiFileAllocationIteratorTest.cc
  9213. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9214. Fixed the bug that exception is thrown when MultiDiskAdaptor::size() is
  9215. called if the number of file entries are greater than max open files.
  9216. * src/AbstractSingleDiskAdaptor.cc
  9217. * src/AbstractSingleDiskAdaptor.h
  9218. * src/DiskAdaptor.h
  9219. * src/MultiDiskAdaptor.cc
  9220. * src/MultiDiskAdaptor.h
  9221. * test/MultiDiskAdaptorTest.cc
  9222. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9223. Added a constuctor that receives struct timeval.
  9224. Added operator<.
  9225. * src/TimeA2.cc
  9226. * src/TimeA2.h
  9227. * test/TimeTest.cc
  9228. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9229. Parse `expires' of Set-Cookie using Time::parseHTTPDate()
  9230. * src/CookieParser.cc
  9231. * test/CookieParserTest.cc
  9232. * test/HttpResponseTest.cc
  9233. 2008-09-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9234. Implmented the functions to parse date.
  9235. * src/TimeA2.cc
  9236. * src/TimeA2.h
  9237. * test/TimeTest.cc
  9238. 2008-09-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9239. Added "Firefox3 Cookie" feature to FeatureConfig
  9240. * src/FeatureConfig.cc
  9241. * src/FeatureConfig.h
  9242. * test/FeatureConfigTest.cc
  9243. 2008-09-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9244. Bump up version number to 0.16.0b
  9245. * configure.ac
  9246. 2008-09-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9247. Use pkg-config if is is available.
  9248. * m4/openssl.m4
  9249. 2008-09-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9250. DEFAULT_ANNOUNCE_INTERVAL: unsigned int -> time_t
  9251. * src/BtAnnounce.h
  9252. 2008-09-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9253. If an error occurred with a URI, remove identical URI from remaining
  9254. URI list because it is likely that same error occurred in the end and it
  9255. is waste of time.
  9256. * src/AbstractCommand.cc
  9257. * src/RequestGroup.cc
  9258. * src/RequestGroup.h
  9259. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9260. Removed wrong comment.
  9261. * src/DefaultPeerStorage.cc
  9262. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9263. Moved implementation to SimpleRandomizer.cc from SimpleRandomizer.h.
  9264. Added return value of getpid() to argument of srand() to achieve more
  9265. randomized value.
  9266. * src/SimpleRandomizer.cc
  9267. * src/SimpleRandomizer.h
  9268. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9269. Contact tracker frequently when the number of connections are 0 and
  9270. download is not finished yet.
  9271. * src/ActivePeerConnectionCommand.cc
  9272. * src/BtAnnounce.h
  9273. * src/DefaultBtAnnounce.cc
  9274. * src/DefaultBtAnnounce.h
  9275. * test/MockBtAnnounce.h
  9276. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9277. Moved threshold values to UTPexExtensionMessage.
  9278. * src/DefaultBtInteractive.cc
  9279. * src/Peer.cc
  9280. * src/Peer.h
  9281. * src/UTPexExtensionMessage.cc
  9282. * src/UTPexExtensionMessage.h
  9283. * test/UTPexExtensionMessageTest.cc
  9284. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9285. Added _incoming member to Peer class and made it true if the peer
  9286. initiated connection. Don't add those peer to UTPex message.
  9287. If extended handshake is received, assign _incoming to false.
  9288. * src/DefaultBtInteractive.cc
  9289. * src/HandshakeExtensionMessage.cc
  9290. * src/Peer.cc
  9291. * src/Peer.h
  9292. * src/PeerListenCommand.cc
  9293. 2008-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9294. Made files whose name ends with ".gz", ".tgz" not inflated by Content
  9295. Encoding Decoder. Removed size threshold for turning off on the fly
  9296. inflation because resulting file may or may not be inflated depending
  9297. on the file size and I think it is not expected by users.
  9298. This change fixes segmentation fault when Metalink file contains gzipped
  9299. file and its filesize is provided.
  9300. * src/HttpResponseCommand.cc
  9301. * src/HttpResponseCommand.h
  9302. 2008-09-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9303. Made Cookie immutable.
  9304. * src/Cookie.cc
  9305. * src/Cookie.h
  9306. * src/CookieParser.cc
  9307. * src/CookieParser.h
  9308. * src/CookieStorage.cc
  9309. * test/CookieParserTest.cc
  9310. * test/CookieStorageTest.cc
  9311. * test/NsCookieParserTest.cc
  9312. * test/Sqlite3MozCookieParserTest.cc
  9313. 2008-09-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9314. Removed CookieBox, CookieBoxFactory.
  9315. * src/CookieBox.cc
  9316. * src/CookieBox.h
  9317. * src/CookieBoxFactory.cc
  9318. * src/CookieBoxFactory.h
  9319. * src/Makefile.am
  9320. 2008-09-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9321. Use CookieStorage class instead of CookieBox class.
  9322. Now CookieStorage accepts cookies from numeric host such as 192.168.1.1.
  9323. * src/AbstractProxyRequestCommand.cc
  9324. * src/CookieStorage.cc
  9325. * src/DownloadEngine.cc
  9326. * src/DownloadEngine.h
  9327. * src/HttpConnection.cc
  9328. * src/HttpConnection.h
  9329. * src/HttpRequest.cc
  9330. * src/HttpRequest.h
  9331. * src/HttpRequestCommand.cc
  9332. * src/HttpResponse.cc
  9333. * src/HttpResponseCommand.cc
  9334. * src/HttpSkipResponseCommand.cc
  9335. * src/Makefile.am
  9336. * src/MultiUrlRequestInfo.cc
  9337. * src/Request.cc
  9338. * src/Request.h
  9339. * src/main.cc
  9340. * test/AllTest.cc
  9341. * test/CookieStorageTest.cc
  9342. * test/CookieTest.cc
  9343. * test/HttpRequestTest.cc
  9344. * test/HttpResponseTest.cc
  9345. * test/Makefile.am
  9346. * test/NsCookieParserTest.cc
  9347. * test/Sqlite3MozCookieParserTest.cc
  9348. * test/nscookietest.txt
  9349. 2008-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9350. Updated
  9351. * test/Cookies.sqlite
  9352. * test/nscookietest.txt
  9353. 2008-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9354. Added tests for CookieStorage::load()
  9355. * test/CookieStorageTest.cc
  9356. 2008-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9357. Added CookieStorage class which is based on RFC2109 and manages cookies
  9358. more strictly than CookieBox and CookieBoxFactory class.
  9359. * src/CookieStorage.cc
  9360. * src/CookieStorage.h
  9361. * src/Cookie.cc
  9362. * src/Cookie.h
  9363. * test/CookieStorageTest.cc
  9364. * test/CookieTest.cc
  9365. 2008-08-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9366. Fixed the bug that commands are created more than the number of pieces.
  9367. * src/RequestGroup.cc
  9368. 2008-08-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9369. Fixed infinite loop bug in FTP when SIZE command failed.
  9370. * src/FtpNegotiationCommand.cc
  9371. 2008-08-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9372. Removed DirectDiskAdaptorTest.h
  9373. * test/Makefile.am
  9374. 2008-08-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9375. Fixed chunk checksum validation cannot detect trailing garbage data.
  9376. BUG#2074141
  9377. * src/AbstractSingleDiskAdaptor.cc
  9378. * src/AbstractSingleDiskAdaptor.h
  9379. * src/CheckIntegrityEntry.cc
  9380. * src/CheckIntegrityEntry.h
  9381. * src/DiskAdaptor.h
  9382. * src/MultiDiskAdaptor.cc
  9383. * src/MultiDiskAdaptor.h
  9384. * src/RequestGroup.cc
  9385. * test/DirectDiskAdaptorTest.cc
  9386. * test/MultiDiskAdaptorTest.cc
  9387. * test/TestUtil.cc
  9388. * test/TestUtil.h
  9389. 2008-08-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9390. Bump up version number of dht.dat file to 3. In version 3 format, time
  9391. is stored in 64bit, network byte order.
  9392. New build can load old format(version 2) but it saves the file in new
  9393. format. It means once you used new build, your dht.dat becomes
  9394. incompatible with older build.
  9395. * src/DHTRoutingTableDeserializer.cc
  9396. * src/DHTRoutingTableSerializer.cc
  9397. * test/DHTRoutingTableSerializerTest.cc
  9398. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9399. Added load-v0001.aria2 and load-nonBt-v0001.aria2 to EXTRA_DIST.
  9400. * test/Makefile.am
  9401. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9402. Bump up version number of .aria2 control file to 0001.
  9403. New aria2 can still load version 0000 file but it saves the file in
  9404. version 0001 format. It means that new aria2 can resume download
  9405. started by old aria2 but the opposite is not true.
  9406. * src/DefaultBtProgressInfoFile.cc
  9407. * src/DefaultBtProgressInfoFile.h
  9408. * test/DefaultBtProgressInfoFileTest.cc
  9409. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9410. Added ntoh64 and hton64 as inline functions.
  9411. * src/Util.cc
  9412. * test/UtilTest.cc
  9413. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9414. Added sqlite3 depenency and Firefox3 cookie support.
  9415. * README
  9416. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9417. State that firefox3 cookie is supported explicitly in the usage.
  9418. * src/usage_text.h
  9419. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9420. Externalized message.
  9421. * src/RequestGroupMan.cc
  9422. * src/message.h
  9423. 2008-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9424. Save temporary file first and rename to the destination on success.
  9425. Added test cases.
  9426. * src/RequestGroupMan.cc
  9427. * test/RequestGroupManTest.cc
  9428. 2008-08-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9429. Fixed the bug that the number of connected peer is exceeding the limit
  9430. (55 by default) in seeding mode.
  9431. Multiplied 0.8 to _maxUploadSpeedLimit.
  9432. * src/ActivePeerConnectionCommand.cc
  9433. 2008-08-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9434. Clear table item.
  9435. * src/Dictionary.cc
  9436. 2008-08-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9437. Fixed error handling of lseek.
  9438. * src/AbstractDiskWriter.cc
  9439. 2008-08-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9440. Removed "(1.x/2.x)" from TEXT_LOAD_COOKIES since aria2 can load Firefox3
  9441. style cookie file.
  9442. * src/usage_text.h
  9443. 2008-08-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9444. If a cookie whose expire date is later than 2038-01-19 03:14:07 GMT is
  9445. sent from server, its expire date is assumed to 2038-01-19 03:14:07 GMT.
  9446. If Util::httpGMT is failed, then Cookie::onetime is set to true.
  9447. * src/Util.cc
  9448. * src/Util.h
  9449. * src/CookieParser.cc
  9450. * test/UtilTest.cc
  9451. * test/CookieParserTest.cc
  9452. 2008-08-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9453. Separate the implementation to load old mozilla format of cookie to
  9454. NsCookieParser class.
  9455. * src/CookieBoxFactory.cc
  9456. * src/CookieBoxFactory.h
  9457. * src/NsCookieParser.cc
  9458. * src/NsCookieParser.h
  9459. * test/NsCookieParserTest.cc
  9460. 2008-08-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9461. Made parse() const
  9462. * src/Sqlite3MozCookieParser.cc
  9463. * src/Sqlite3MozCookieParser.h
  9464. 2008-08-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9465. Added firefox3 cookie support based on the patch submitted by
  9466. tizianomueller.
  9467. firefox3 cookie is SQLite3 database. libsqlite3 is required to enable
  9468. this functionality.
  9469. * configure.ac
  9470. * m4/sqlite3.m4
  9471. * src/CookieBoxFactory.cc
  9472. * src/CookieBoxFactory.h
  9473. * src/Makefile.am
  9474. * src/Makefile.in
  9475. * src/Sqlite3MozCookieParser.cc
  9476. * src/Sqlite3MozCookieParser.h
  9477. * src/main.cc
  9478. * test/CookieBoxFactoryTest.cc
  9479. * test/Makefile.am
  9480. * test/Makefile.in
  9481. * test/Sqlite3MozCookieParserTest.cc
  9482. * test/badcookies.sqlite
  9483. * test/cookies.sqlite
  9484. 2008-08-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9485. Added Danish and Greek translations.
  9486. Updated Spanish, Catalan, Norwegian Nynorsk translations.
  9487. Great thanks to all translators.
  9488. * po/LINGUAS
  9489. * po/el.po
  9490. * po/da.po
  9491. * po/es.po
  9492. * po/ca.po
  9493. * po/nn.po
  9494. 2008-08-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9495. Fixed man page: --follow-bittorrent should be --follow-torrent
  9496. * doc/aria2c.1.txt
  9497. 2008-08-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9498. Fixed: numCommand is less than the value specified in -C option.
  9499. * src/RequestGroup.cc
  9500. 2008-08-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9501. Fixed occasional assertion failure in PieceSegment.
  9502. Calling PieceStorage::getMissingPiece(size_t) was missing after
  9503. canceling segments in SegmentMan::getSegment(int32_t). This resulted in
  9504. creation of duplicate segments and one of the segment was finished then
  9505. assertion failure was caused.
  9506. * src/SegmentMan.cc
  9507. * test/SegmentManTest.cc
  9508. 2008-08-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9509. Added options to load/save the server's performance/status to a file
  9510. and the timeout to drop their data.
  9511. --server-stat-of=FILE specifies the file to which performance data
  9512. is saved.
  9513. --server-stat-if=FILE specifies the file to read previously saved
  9514. by --server-stat-of option. Might be used with --uri-selector=feedback.
  9515. --server-stat-timeout=TIMEOUT specifies timeout to invalidate the data.
  9516. TIMEOUT is specified in seconds and the default value is 24hours.
  9517. * src/MultiUrlRequestInfo.cc
  9518. * src/OptionHandlerFactory.cc
  9519. * src/RequestGroupMan.cc
  9520. * src/RequestGroupMan.h
  9521. * src/ServerStatMan.cc
  9522. * src/ServerStatMan.h
  9523. * src/option_processing.cc
  9524. * src/prefs.cc
  9525. * src/prefs.h
  9526. * test/ServerStatManTest.cc
  9527. 2008-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9528. Implemented ServerStatMan::removeStaleServerStat() and its test case.
  9529. * src/ServerStatMan.cc
  9530. * src/ServerStatMan.h
  9531. * test/ServerStatManTest.cc
  9532. 2008-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9533. Implemented ServerStatMan::load(...) function and its test case.
  9534. * src/ServerStat.cc
  9535. * src/ServerStat.h
  9536. * src/ServerStatMan.cc
  9537. * test/ServerStatManTest.cc
  9538. * test/ServerStatTest.cc
  9539. 2008-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9540. Use time_t instead of int32_t. Use int64_t where milli second is
  9541. expected.
  9542. * src/TimeA2.cc
  9543. * src/TimeA2.h
  9544. 2008-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9545. Implemented ServerStatMan::save(...) function and its test case.
  9546. * src/ServerStat.cc
  9547. * src/ServerStat.h
  9548. * src/ServerStatMan.cc
  9549. * src/ServerStatMan.h
  9550. * test/ServerStatManTest.cc
  9551. 2008-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9552. Now aria2 uses name attribute in Metalink as local filename in
  9553. BitTorrent downloads. BUG#2033999
  9554. * src/BtContext.h
  9555. * src/BtDependency.cc
  9556. * src/DefaultBtContext.cc
  9557. * src/DefaultBtContext.h
  9558. * src/SingleFileDownloadContext.cc
  9559. * src/SingleFileDownloadContext.h
  9560. * test/BtDependencyTest.cc
  9561. * test/DefaultBtContextTest.cc
  9562. * test/MockBtContext.h
  9563. 2008-08-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9564. Added AC_C_BIGENDIAN
  9565. * src/configure.ac
  9566. 2008-08-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9567. Limited numCommand less than or equal to the number of piece.
  9568. * src/RequestGroup.cc
  9569. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9570. Eliminated randomness from the test case. Removed #ifdef __MINGW32
  9571. directive.
  9572. * test/DefaultPieceStorageTest.cc
  9573. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9574. Fixed memory leak in test code
  9575. * test/AnnounceListTest.cc
  9576. * test/DefaultPeerListProcessorTest.cc
  9577. * test/DefaultPeerStorageTest.cc
  9578. * test/MetaFileUtilTest.cc
  9579. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9580. Fixed wrong argument passing to BitfieldMan::isBitSet()
  9581. * src/DefaultPieceStorage.cc
  9582. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9583. Initialized _directIOAllowed
  9584. * src/MultiDiskAdaptor.cc
  9585. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9586. Fixed memory leak
  9587. * src/GZipDecoder.cc
  9588. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9589. Fixed memory leak
  9590. * src/MetalinkParserStateMachine.cc
  9591. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9592. Fixed memory leak
  9593. * src/Dictionary.cc
  9594. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9595. Fixed memory leak
  9596. * src/IteratableChunkChecksumValidator.h
  9597. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9598. Fixed unmatched malloc/free.
  9599. * src/IteratableChunkChecksumValidator.cc
  9600. * src/IteratableChecksumValidator.cc
  9601. 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9602. Removed max chunk size check. This change fixes BUG#2040169
  9603. * src/ChunkedDecoder.cc
  9604. * src/ChunkedDecoder.h
  9605. * test/ChunkedDecoderTest.cc
  9606. 2008-08-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9607. Implemented download speed based URI selection algorithm.
  9608. Introduced new option --uri-selector.
  9609. If --uri-selector=feedback is given, aria2 uses download speed observed
  9610. in the previous downloads and chooses fastest server in the URI list.
  9611. Currently at most 10 URIs are considered to introduce randomeness for
  9612. finding better servers. The speed is average download speed in the
  9613. downloads.
  9614. On the other hand, if --uri-selector=inorder is given, which is default,
  9615. URI is tried in order in URI list.
  9616. The usage text for the new option has not been written yet.
  9617. * src/AbstractCommand.cc
  9618. * src/DownloadCommand.cc
  9619. * src/DownloadEngine.cc
  9620. * src/DownloadEngineFactory.cc
  9621. * src/InOrderURISelector.cc
  9622. * src/InOrderURISelector.h
  9623. * src/OptionHandlerFactory.cc
  9624. * src/PeerStat.h
  9625. * src/RequestGroup.cc
  9626. * src/RequestGroup.h
  9627. * src/RequestGroupMan.cc
  9628. * src/RequestGroupMan.h
  9629. * src/SegmentMan.cc
  9630. * src/SegmentMan.h
  9631. * src/ServerStat.cc
  9632. * src/ServerStat.h
  9633. * src/ServerStatMan.cc
  9634. * src/ServerStatMan.h
  9635. * src/ServerStatURISelector.cc
  9636. * src/ServerStatURISelector.h
  9637. * src/URISelector.h
  9638. * src/option_processing.cc
  9639. * src/prefs.cc
  9640. * src/prefs.h
  9641. * test/InOrderURISelectorTest.cc
  9642. * test/RequestGroupManTest.cc
  9643. * test/ServerStatManTest.cc
  9644. * test/ServerStatURISelectorTest.cc
  9645. 2008-08-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9646. * Release 0.15.1+2
  9647. 2008-08-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9648. Bump up version number to 0.15.1+2
  9649. * configure.ac
  9650. 2008-08-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9651. Fixed the bug that configure --enable-FEATURE actually disables FEATURE.
  9652. * m4/aria2_arg.m4
  9653. 2008-08-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9654. * Release 0.15.1+1
  9655. 2008-08-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9656. Bump up version number to 0.15.1+1
  9657. * configure.ac
  9658. 2008-08-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9659. Fixed the bug that causes segmentaion fault when resuming download
  9660. using metalink without size tag. Reproducible only using HTTP URI.
  9661. * src/HttpResponseCommand.cc
  9662. * src/FtpNegotiationCommand.cc
  9663. 2008-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9664. * Release 0.15.1
  9665. 2008-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9666. Updated Bulgarian and French translations, thanks to all translators.
  9667. * po/bg.po
  9668. * po/fr.po
  9669. 2008-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9670. Bump up version number to 0.15.1
  9671. * configure.ac
  9672. 2008-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9673. Avoid repeated call of gettimeofday() when calculating speed.
  9674. * src/SpeedCalc.cc
  9675. * src/SpeedCalc.h
  9676. 2008-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9677. Removed writable check when socket's send buffer is full in BitTorrent
  9678. downloads to lower CPU usage.
  9679. * src/PeerInteractionCommand.cc
  9680. 2008-07-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9681. Fixed broken gzip inflation.
  9682. Turn off segmented downloading if gzip content is smaller than or equal
  9683. to 1MiB and inflate the data on the fly, because HTTP response header
  9684. doesn't contain the length of inflated file we can't determin where
  9685. the chunk of data should be written.
  9686. On the other hand, if gzip content is larger than 1MB, then turn off
  9687. on the fly inflation, because some servers returns "content-type: gzip"
  9688. for *.tgz, *.gz files.
  9689. * src/DownloadCommand.cc
  9690. * src/HttpResponseCommand.cc
  9691. * src/HttpResponseCommand.h
  9692. 2008-07-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9693. Applied tizianomueller's patch to fix compile error.
  9694. * test/BitfieldManTest.cc
  9695. * test/BtRequestMessageTest.cc
  9696. * test/DefaultBtContextTest.cc
  9697. * test/DefaultDiskWriterTest.cc
  9698. * test/DefaultPieceStorageTest.cc
  9699. * test/HttpHeaderProcessorTest.cc
  9700. * test/HttpResponseTest.cc
  9701. * test/Metalink2RequestGroupTest.cc
  9702. * test/MetalinkParserControllerTest.cc
  9703. * test/MetalinkProcessorTest.cc
  9704. * test/PeerSessionResourceTest.cc
  9705. * test/UtilTest.cc
  9706. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9707. * Release 0.15.0
  9708. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9709. Reordered src files in POTFILES.in so that usage text appears first.
  9710. * po/POTFILES.in
  9711. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9712. Bump up version number to 0.15.0
  9713. * configure.ac
  9714. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9715. Added Bulgarian translation.
  9716. Updated Catalan, Spanish, French and Japanese translations.
  9717. Thanks to all translators.
  9718. * po/LINGUAS
  9719. * po/bg.po
  9720. * po/ca.po
  9721. * po/es.po
  9722. * po/fr.po
  9723. * po/ja.po
  9724. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9725. Updated feature list. Added libz for dependency section.
  9726. Added a description about unit testing using CppUnit.
  9727. * README
  9728. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9729. Added a test for libz. Quoted where it is necessary.
  9730. * build_test.sh
  9731. 2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9732. Added GZip to `Enabled Features' list.
  9733. * src/FeatureConfig.cc
  9734. * src/FeatureConfig.h
  9735. * test/FeatureConfigTest.cc
  9736. 2008-07-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9737. Now SegmentMan::findSlowerSegmentEntry() picks up the segment for which
  9738. the transfer has not yet started.
  9739. Rewritten SegmentMan::registerPeerStat() and SegmentMan::getPeerStat().
  9740. * src/SegmentMan.cc
  9741. * src/SegmentMan.h
  9742. * test/SegmentManTest.cc
  9743. 2008-07-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9744. Cache last calculated average download/upload speed.
  9745. PeerStat::getAvgDownloadSpeed(), PeerStat::getAvgUploadSpeed() return
  9746. cached value.
  9747. Now SpeedCalc::changeSw() is called from SpeedCalc::calculateSpeed()
  9748. * src/PeerStat.h
  9749. * src/SpeedCalc.cc
  9750. * src/SpeedCalc.h
  9751. 2008-07-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9752. Call parseUrl directly.
  9753. * src/Request.cc (resetUrl)
  9754. 2008-07-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9755. Supported absolute/relative path in Location header field.
  9756. * src/AbstractCommand.cc: Call resetUrl() when DlRetryEx is caught.
  9757. * src/HttpHeader.cc
  9758. * src/HttpHeader.h
  9759. * src/HttpResponse.cc
  9760. * src/HttpSkipResponseCommand.cc
  9761. * src/Request.cc
  9762. * test/HttpHeaderTest.cc
  9763. * test/HttpResponseTest.cc
  9764. * test/RequestTest.cc
  9765. 2008-07-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9766. Changed help text for --load-cookie option.
  9767. * doc/aria2c.1.txt
  9768. * src/usage_text.h
  9769. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9770. Regenerated test/Makefile.in to remove stale ChangeLog.
  9771. * test/Makefile.in
  9772. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9773. Updated po files.
  9774. * po/aria2c.pot
  9775. * po/*.po
  9776. * po/*.gmo
  9777. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9778. Bump up version number to 0.15.0b
  9779. * configure.ac
  9780. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9781. Externalize messages.
  9782. * src/RequestGroupMan.cc
  9783. * src/message.h: Added MSG_SIGNATURE_SAVED, MSG_SIGNATURE_NOT_SAVED.
  9784. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9785. Use File::exists() instead of File::isFile() to allow non-regular file
  9786. such as block special files.
  9787. * src/AbstractDiskWriter.cc
  9788. * src/MultiDiskWriter.cc
  9789. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9790. Supplied missing EAI_SYSTEM. Thanks ggknauf for the patch.
  9791. * src/gai_strerror.h
  9792. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9793. Fixed compile error. Thanks gknauf for the patch.
  9794. * src/asctime_r.c
  9795. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9796. Included asctime_r.h from a2time.h.
  9797. * src/a2time.h
  9798. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9799. Added a message "aria2 doesn't verify signature" to log message when
  9800. signature file is saved.
  9801. * src/RequestGroupMan.cc
  9802. 2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9803. Added the ability to save signature when download is completed if
  9804. signature is available. The filename of signature file is the path to
  9805. download file followed by ".sig". If it already exists, then signature
  9806. will not be saved.
  9807. * src/RequestGroupMan.cc
  9808. * src/Signature.cc
  9809. * test/SignatureTest.cc
  9810. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9811. Updated the descriptions for --bt-seed-unverified.
  9812. * doc/aria2c.1
  9813. * doc/aria2c.1.html
  9814. * doc/aria2c.1.txt
  9815. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9816. Renamed --bt-seed option as --bt-seed-unverified so that it makes clear
  9817. that this is not going to verify files using piece hashes.
  9818. * src/HelpItemFactory.cc
  9819. * src/OptionHandlerFactory.cc
  9820. * src/RequestGroup.cc
  9821. * src/option_processing.cc
  9822. * src/prefs.cc
  9823. * src/prefs.h
  9824. * src/usage_text.h
  9825. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9826. Added the ability to retrieve signature from Metalink file.
  9827. A retrieved signature is stored in Signature class and it is held by
  9828. DownloadContext class. Note that aria2 doesn't verify signature.
  9829. * src/DownloadContext.cc
  9830. * src/DownloadContext.h
  9831. * src/Makefile.am
  9832. * src/Makefile.in
  9833. * src/Metalink2RequestGroup.cc
  9834. * src/MetalinkEntry.cc
  9835. * src/MetalinkEntry.h
  9836. * src/MetalinkParserController.cc
  9837. * src/MetalinkParserController.h
  9838. * src/MetalinkParserStateMachine.cc
  9839. * src/MetalinkParserStateMachine.h
  9840. * src/Signature.cc
  9841. * src/Signature.h
  9842. * src/SignatureMetalinkParserState.cc
  9843. * src/SignatureMetalinkParserState.h
  9844. * src/VerificationMetalinkParserState.cc
  9845. * src/VerificationMetalinkParserState.h
  9846. * test/Metalink2RequestGroupTest.cc
  9847. * test/MetalinkParserControllerTest.cc
  9848. * test/MetalinkProcessorTest.cc
  9849. * test/test.xml
  9850. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9851. Close DiskAdaptor after renaming file.
  9852. * src/RequestGroup.cc
  9853. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9854. Corrected indentation
  9855. * src/DefaultBtProgressInfoFile.cc
  9856. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9857. Moved the calls of std::ios::exceptions() inside of try-catch block
  9858. because if an error occurred in constructor of std::fstream, then
  9859. exception is thrown immediately when std::ios::exceptions() is called
  9860. which results unhandled exception and aria2c aborts.
  9861. * src/DefaultBtProgressInfoFile.cc
  9862. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9863. Added the test for the previous change in DefaultBtContext.cc
  9864. * test/DefaultBtContextTest.cc
  9865. 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9866. Fixed the bug that causes infinite loop when the number of pieces are
  9867. fewer than allowed fast set size which is 10 by default.
  9868. * src/DefaultBtContext.cc
  9869. 2008-07-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9870. Updated the descriptions for -j, -s. Added --bt-seed.
  9871. * doc/aria2c.1
  9872. * doc/aria2c.1.html
  9873. * doc/aria2c.1.txt
  9874. 2008-07-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9875. Added --bt-seed option. If --bt-seed=true is given at the command-line,
  9876. aria2 seeds previously downloaded files without validating piece hashs.
  9877. * src/HelpItemFactory.cc
  9878. * src/OptionHandlerFactory.cc
  9879. * src/RequestGroup.cc
  9880. * src/option_processing.cc
  9881. * src/prefs.cc
  9882. * src/prefs.h
  9883. * src/usage_text.h
  9884. 2008-07-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9885. Updated DESCRIPTION of man page.
  9886. * doc/aria2c.1
  9887. * doc/aria2c.1.html
  9888. * doc/aria2c.1.txt
  9889. 2008-07-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9890. Fixed the compile error on Nexenta OS(GNU/Solaris OS).
  9891. Don't define `struct addrinfo' when __sun is defined.
  9892. * src/getaddrinfo.h
  9893. 2008-07-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9894. Introduced a2_struct_stat. It is defined as `struct _stati64' if
  9895. __MINGW32__ is defined, because under MinGW32, _stati64 is used and its
  9896. second argument is of type `struct _stati64'. Otherwise it is defined as
  9897. `struct stat'.
  9898. * src/AbstractDiskWriter.cc
  9899. * src/File.cc
  9900. * src/File.h
  9901. * src/a2io.h
  9902. 2008-07-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9903. Fixed the compile error in hurd-i386
  9904. See the original bug report:
  9905. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488602
  9906. * src/a2io.h
  9907. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9908. Code cleanup.
  9909. * src/PeerAbstractCommand.cc
  9910. * src/PeerAbstractCommand.h
  9911. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9912. Removed TransferEncoding.
  9913. * src/DownloadCommand.cc
  9914. * src/DownloadCommand.h
  9915. * src/HttpResponseCommand.cc
  9916. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9917. Updated po files.
  9918. * po/aria2c.pot
  9919. * po/*.po
  9920. * po/*.gmo
  9921. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9922. Rewritten ChunkedEncoding class as ChunkedDecoder class.
  9923. * src/A2STR.cc
  9924. * src/A2STR.h
  9925. * src/ChunkedDecoder.cc
  9926. * src/ChunkedDecoder.h
  9927. * src/ChunkedEncoding.cc: Removed
  9928. * src/ChunkedEncoding.h: Removed
  9929. * src/DownloadCommand.cc
  9930. * src/DownloadCommand.h
  9931. * src/HttpDownloadCommand.cc
  9932. * src/HttpResponse.cc
  9933. * src/HttpResponse.h
  9934. * src/HttpResponseCommand.cc
  9935. * src/HttpSkipResponseCommand.cc
  9936. * src/HttpSkipResponseCommand.h
  9937. * src/Makefile.am
  9938. * src/TransferEncoding.h: Removed
  9939. * test/ChunkedDecoderTest.cc
  9940. * test/ChunkedEncodingTest.cc: Removed
  9941. * test/HttpResponseTest.cc
  9942. * test/Makefile.am
  9943. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9944. Use append instead of insert.
  9945. * src/GZipDecoder.cc
  9946. 2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9947. Updated doc
  9948. * src/Decoder.h
  9949. 2008-06-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9950. Updated usage text for -s option.
  9951. * src/usage_text.h
  9952. 2008-06-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9953. Fixed the bug that UTF-8 encoded URL is not URL-encoded properly.
  9954. * src/Request.cc
  9955. 2008-06-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9956. Cleaned up configure.ac.
  9957. * configure.ac
  9958. 2008-06-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9959. Use ARIA2_ARG_WITH and ARIA2_ARG_ENABLE instead of AC_ARG_WITH and
  9960. AC_ARG_ENABLE.
  9961. * configure.ac
  9962. 2008-06-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9963. Added gzip, deflate decoding support in HTTP using libz. If compiled
  9964. with this feature, aria2 sends "Accept-Encoding: deflate, gzip" header
  9965. to a HTTP server. If a server returns "Content-Encoding: gzip" or
  9966. "Content-Encoding: deflate" then, aria2 decodes the response body on the
  9967. fly and writes decoded data to a local disk.
  9968. * README
  9969. * README.html
  9970. * configure.ac
  9971. * m4/aria2_arg.m4: Added ARIA2_ARG_WITH and ARIA2_ARG_ENABLE, they are
  9972. wrapper function for AC_ARG_WITH and AC_ARG_ENABLE respectively.
  9973. * m4/libz.m4
  9974. * src/Decoder.h
  9975. * src/DownloadCommand.cc
  9976. * src/DownloadCommand.h
  9977. * src/Exception.h
  9978. * src/GZipDecoder.cc
  9979. * src/GZipDecoder.h
  9980. * src/HttpHeader.cc
  9981. * src/HttpHeader.h
  9982. * src/HttpRequest.cc
  9983. * src/HttpRequest.h
  9984. * src/HttpResponse.cc
  9985. * src/HttpResponse.h
  9986. * src/HttpResponseCommand.cc
  9987. * src/Makefile.am
  9988. * test/GZipDecoderTest.cc
  9989. * test/HttpRequestTest.cc
  9990. * test/HttpResponseTest.cc
  9991. * test/Makefile.am
  9992. * test/Makefile.in
  9993. * test/gzip_decode_test.gz
  9994. 2008-06-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9995. Clarified usage of -j option.
  9996. * src/usage_text.h
  9997. 2008-06-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  9998. Disabled getting size from the response of RETR.
  9999. If SIZE command failed, then disable resuming and segmented downloading.
  10000. * src/FtpConnection.cc
  10001. * src/FtpConnection.h
  10002. * src/FtpNegotiationCommand.cc
  10003. * src/FtpNegotiationCommand.h
  10004. 2008-06-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10005. Use digits to find first byte of file size, which makes the intention
  10006. of the code clearer.
  10007. * src/FtpConnection.cc
  10008. Don't call validateTotalLength() when size is 0.
  10009. * src/FtpNegotiationCommand.cc
  10010. 2008-06-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10011. Updated po files.
  10012. * po/aria2c.pot
  10013. * po/*.gmo
  10014. * po/*.po
  10015. 2008-06-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10016. Clarified usage text for --split option.
  10017. * src/usage_text.h
  10018. 2008-06-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10019. Bump up version number to 0.15.0dev. "dev" means "development"
  10020. version, which means I started the development of the next release!
  10021. * src/configure.ac
  10022. 2008-06-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10023. If FTP server returns negative response with REST raw command and
  10024. requested range is not 0, throw exception. If requested range is 0,
  10025. continue download a file from 0 byte.
  10026. * src/FtpNegotiationCommand.cc
  10027. * src/FtpNegotiationCommand.h
  10028. 2008-06-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10029. Supported FTP server which don't recognize SIZE raw command.
  10030. If SIZE raw command is failed, aria2 will try to get file size
  10031. from the response of RETR raw command. If both attempts are failed,
  10032. then resuming and segmented downloading are disabled.
  10033. * src/FtpConnection.cc
  10034. * src/FtpConnection.h
  10035. * src/FtpNegotiationCommand.cc
  10036. * src/FtpNegotiationCommand.h
  10037. 2008-06-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10038. * Release 0.14.0+1
  10039. 2008-06-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10040. Bump up version number to 0.14.0+1
  10041. * src/configure.ac
  10042. 2008-06-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10043. Fixed the code that refers static member variable from non-static
  10044. context.
  10045. * src/DefaultPeerStorage.cc
  10046. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10047. * Release 0.14.0
  10048. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10049. Added build test script
  10050. * build_test.sh
  10051. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10052. Updated ja.po
  10053. * src/ja.po
  10054. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10055. Bump up version number to 0.14.0
  10056. * src/configure.ac
  10057. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10058. Updated ja.po and fr.po. Great thanks for french translators and
  10059. Sebastien WILLEMIJNS.
  10060. * po/fr.po
  10061. * po/ja.po
  10062. 2008-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10063. Added configure option to enable/disable epoll support.
  10064. * configure.ac
  10065. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10066. Updated man page.
  10067. * doc/aria2c.1.txt
  10068. * doc/aria2c.1
  10069. * doc/aria2c.1.html
  10070. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10071. Added missing default value '5' to the usage of --split option.
  10072. * src/HelpItemFactory.cc
  10073. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10074. Filled up pieces based on the number of missing blocks, rather than
  10075. simplay the number of piece * block length.
  10076. * src/BtRequestFactory.h
  10077. * src/DefaultBtInteractive.cc
  10078. * src/DefaultBtInteractive.h
  10079. * src/DefaultBtRequestFactory.cc
  10080. * src/DefaultBtRequestFactory.h
  10081. * src/Piece.cc
  10082. * src/Piece.h
  10083. * test/BitfieldManTest.cc
  10084. * test/DefaultBtRequestFactoryTest.cc
  10085. * test/MockBtRequestFactory.h
  10086. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10087. Made _epEvents a member variable.
  10088. * src/DownloadEngine.cc
  10089. * src/DownloadEngine.h
  10090. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10091. Cancel download if http redirect is bounded more than 20 times.
  10092. * src/AbstractCommand.cc
  10093. * src/HttpSkipResponseCommand.cc
  10094. * src/Request.cc
  10095. * src/Request.h
  10096. * test/RequestTest.cc
  10097. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10098. Fixed unhandled exception(removed keyword `new').
  10099. * src/SocketCore.cc (initEPOLL)
  10100. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10101. Removed visit(const MetaEntry*)
  10102. * src/MetaEntryVisitor.h:
  10103. Added visit(const Data*),visit(const Dictionary*),visit(const List*)
  10104. and made them virtual.
  10105. * src/BencodeVisitor.h
  10106. * src/BencodeVisitor.cc
  10107. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10108. Updated po files.
  10109. * po/aria2c.pot
  10110. * po/*.po
  10111. * po/*.gmo
  10112. 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10113. Moved the call setWriteCheckSocket inside the previous clause to reduce
  10114. the number of socket to watch out.
  10115. * src/PeerInteractionCommand.cc
  10116. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10117. When there is not enough space in disk when writing a chunk of data,
  10118. aria2 now prints the message to the console to warn user and aborts
  10119. its download. Not all downloads are canceled because some downloads
  10120. may use another disk or partition. BUG#1640332
  10121. * src/AbstractDiskWriter.cc
  10122. * src/PeerAbstractCommand.cc
  10123. * src/PeerAbstractCommand.h: Added onFailure() function for override.
  10124. * src/PeerInteractionCommand.cc: In onFailure(), call RequestGroup::
  10125. setHaltRequested(true) to cancel download.
  10126. * src/PeerInteractionCommand.h
  10127. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10128. Applied Ross's aria2-0.13.2+1-mingw-5.patch, which changes the type of
  10129. socket from int to sock_t as sockets are unsigned in Windows.
  10130. For AsyncNameResolver, DownloadEngine, I did additional modification
  10131. for the portion of the code changed according to epoll support.
  10132. I defined sock_t in a2netcompat.h to use sock_t without including
  10133. SocketCore.h.
  10134. * src/AsyncNameResolver.cc
  10135. * src/AsyncNameResolver.h
  10136. * src/DownloadEngine.cc
  10137. * src/DownloadEngine.h
  10138. * src/SocketCore.cc
  10139. * src/SocketCore.h
  10140. * src/a2netcompat.h
  10141. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10142. Applied Ross's aria2-0.13.2+1-mingw-4.patch. With this change, all
  10143. changes in the patch were applied.
  10144. * test/DHTConnectionImplTest.cc: Fixed unit test error in MinGW.
  10145. * test/DefaultPieceStorageTest.cc: Fixed unit test error in MinGW.
  10146. * test/PeerMessageUtilTest.cc: Fixed unit test error in MinGW.
  10147. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10148. Applied Ross's aria2-0.13.2+1-mingw-4.patch. In this change,
  10149. a2io.h and common.h were modified.
  10150. * src/a2io.h: Changed seek/stat/tell calls to use 64 bit versions in
  10151. MinGW.
  10152. * src/common.h: Changed off_t to 64 bit in MinGW.
  10153. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10154. Applied Ross's aria2-0.13.2+1-mingw-4.patch. In this commit,
  10155. only a2netcompat.h is modified.
  10156. * src/a2netcompat.h: Removed unused getaddrinfo related #define
  10157. directives.
  10158. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10159. Applied Ross's aria2-0.13.2+1-mingw-4.patch. In this commit,
  10160. only gai_strerror.h is modified.
  10161. * src/gai_strerror.h: Fixed gai_strerror() function to report all
  10162. winsock errors in MinGW.
  10163. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10164. Applied Ross's aria2-0.13.2+1-mingw-4.patch. In this commit, only the
  10165. follow sources are applied.
  10166. * src/Platform.h: I removed HAVE_WINSOCK2_H directive from Platform.h.
  10167. * src/Platform.cc: Moved common setup/teardown code to Platform class.
  10168. I moved #endif // HAVE_WINSOCK2_H to the front of #include "DlAbortEx.h"
  10169. I included locale.h from Platform.cc.
  10170. * src/main.cc: Moved common setup/teardown code to Platform class.
  10171. * test/AllTest.cc: Use Platform class.
  10172. Set locale to C in AllTest.cc to prevent the messages to be localized.
  10173. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10174. Applied Ross's aria2-0.13.2+1-mingw-3.patch.
  10175. * test/HttpHeaderTest.cc: Casted to off_t where it should.
  10176. * test/HttpRequestTest.cc: Casted to off_t where it should.
  10177. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10178. Applied Ross's aria2-0.13.2+1-mingw.patch and
  10179. aria2-0.13.2+1-mingw-2.patch.
  10180. * src/ConsoleStatCalc.cc: Added HAVE_TERMIOUS_H directive for the
  10181. systems which don't have termious.h. I moved the directive inside of
  10182. if(isTTY) { ... clause so that line is wiped out without termious.h.
  10183. I also removed HAVE_ASCTIME_R clause because asctime_r is provided
  10184. anyway.
  10185. * src/asctime_r.h
  10186. * src/asctime_r.c: Added for the systems don't have asctime_r function.
  10187. I added 2nd argument to the prototype declaration.
  10188. * src/StringFormat.cc: Get rid of vasprintf.
  10189. * src/getaddrinfo.h: Fixed constants.
  10190. * configure.ac: Added the check for asctime_r function.
  10191. * src/Makefile.am: Added conditional based on HAVE_ASCTIME_R
  10192. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10193. Added writable test for Socket when the sending message is in progress.
  10194. Usually the sending message is piece message. Without wriable check,
  10195. upload latency is dropped to more than 1sec.
  10196. * src/PeerInteractionCommand.cc
  10197. 2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10198. Create only requested files and files which shares a piece with
  10199. requested file in multi-torrent downloads. Directory structures are
  10200. also created in the same rule.
  10201. MultiDiskAdaptor::fileExists() now uses FileEntry instead of
  10202. DiskWriterEntry as in the previous implementation.
  10203. * src/MultiDiskWriter.cc
  10204. * src/MultiFileAllocationIterator.cc
  10205. * src/MultiFileAllocationIterator.h
  10206. * test/MultiFileAllocationIteratorTest.cc
  10207. 2008-06-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10208. Commented out -lprofiler
  10209. * src/Makefile.am
  10210. 2008-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10211. Bump up version number to 0.14.0b.
  10212. * src/configure.ac
  10213. 2008-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10214. Actively establish connection to peers in seeding, when peer cache
  10215. is not full and max upload speed limit is not reached.
  10216. * src/ActivePeerConnectionCommand.cc
  10217. * src/ActivePeerConnectionCommand.h
  10218. 2008-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10219. Always remove a peer from cache in DefaultPeerStorage::returnPeer(),
  10220. to make room more fleshy, recently found peers.
  10221. Peer::_badConditionStartTime is not used anymore. Consider to remove
  10222. it.
  10223. * src/DefaultPeerStorage.cc
  10224. * test/DefaultPeerStorageTest.cc
  10225. 2008-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10226. Returns cached data only when the previous receiveHandshake() is called
  10227. with peek = true.
  10228. * src/PeerConnection.cc (receiveHandshake)
  10229. * src/PeerConnection.h (receiveHandshake)
  10230. 2008-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10231. Changed default value of -s option from 1 to 5.
  10232. Also max value of -s option is changed from 5 to 16.
  10233. * src/HelpItemFactory.cc
  10234. * src/OptionHandlerFactory.cc
  10235. * src/option_processing.cc
  10236. * src/usage_text.h
  10237. 2008-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10238. Changed -s options behavior. Now it means the number of connections
  10239. made simultaneously in each http/ftp download.
  10240. If 1 URL is specified, the behavior is the same with old implementation.
  10241. If -s N is given and more than N URLs are specified, first N URLs are
  10242. used and remaining URLs are used for backup. If less than N URLs are
  10243. specified, some of URLs are used more than once so that totally N
  10244. connections are made simultaneously.
  10245. * src/main.cc
  10246. 2008-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10247. Included missing iosfwd or ostream header.
  10248. * src/RequestGroupMan.cc
  10249. * src/TaggedItem.cc
  10250. * src/TaggedItem.h
  10251. * src/Util.cc
  10252. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10253. * src/HttpHeaderProcessor.cc: Rewritten using std::string as a buffer.
  10254. * src/HttpHeaderProcessor.h: Rewritten using std::string as a buffer.
  10255. * src/HttpConnection.cc: Included missing sstream.
  10256. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10257. Added --bt-max-open-files option.
  10258. * src/DefaultPieceStorage.cc
  10259. * src/HelpItemFactory.cc
  10260. * src/MultiDiskAdaptor.cc
  10261. * src/MultiDiskAdaptor.h
  10262. * src/OptionHandlerFactory.cc
  10263. * src/option_processing.cc
  10264. * src/prefs.cc
  10265. * src/prefs.h
  10266. * src/usage_text.h
  10267. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10268. Fixed the bug that aria2 aborts when a path to a directory is given
  10269. in command-line.
  10270. * src/ProtocolDetector.cc
  10271. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10272. Limited the number files opened in each BitTorrent download. The default
  10273. value is 100. The option to change this value will be added.
  10274. * src/MultiDiskAdaptor.cc
  10275. * src/MultiDiskAdaptor.h
  10276. * src/MultiFileAllocationIterator.cc
  10277. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10278. Fixed the bug that HTTP downloads don't start with old libraries.
  10279. * src/HttpHeaderProcessor.cc
  10280. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10281. Use empty() instead of size() > 0.
  10282. * src/HttpConnection.cc
  10283. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10284. Drop connection if the incoming peer ID is the same with localhost's
  10285. one. The previous implementation drops connection when incoming peer's
  10286. IP address is the same with localhost's one.
  10287. * src/PeerListenCommand.cc
  10288. * src/DefaultBtInteractive.cc
  10289. 2008-06-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10290. Returns cached data without checking whether socket is readable
  10291. if the cache is available.
  10292. * src/PeerConnection.cc (receiveHandshake)
  10293. 2008-06-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10294. Included stdint.h
  10295. * src/common.h
  10296. 2008-06-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10297. Removed duplicate HAVE_GETTIMEOFDAY
  10298. * src/Makefile.am
  10299. * src/Makefile.in
  10300. 2008-06-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10301. Use interval as a minInterval when minInterval is not supplied.
  10302. * src/DefaultBtAnnounce.cc
  10303. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10304. Made DEFAULT_ANNOUNCE_INTERVAL 120, so that if first tracker request
  10305. attempt is failed, then 2nd attempt get kicked out more quickly.
  10306. And it is now static const member of DefaultBtAnnounce.
  10307. * src/DefaultBtAnnounce.h
  10308. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10309. Renamed BtRuntime::lessThanMinPeers() and BtRuntime::lessThanEqMinPeers.
  10310. Made MAX_PEERS and MIN_PEERS static const members of BtRuntime.
  10311. * src/ActivePeerConnectionCommand.cc
  10312. * src/BtConstants.h
  10313. * src/BtRuntime.h
  10314. * src/DHTGetPeersCommand.cc
  10315. * src/DefaultBtAnnounce.cc
  10316. * src/DefaultPeerStorage.cc: Calculate maxPeerListSize based on
  10317. BtRuntime::MAX_PEERS.
  10318. * src/DefaultPeerStorage.h
  10319. * src/InitiatorMSEHandshakeCommand.cc
  10320. * src/PeerInitiateConnectionCommand.cc
  10321. * src/PeerInteractionCommand.cc
  10322. * src/PeerReceiveHandshakeCommand.cc
  10323. * src/TrackerWatcherCommand.cc
  10324. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10325. Always Connect to _numNewConnection
  10326. * src/ActivePeerConnectionCommand.cc
  10327. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10328. Made `begin' unsigned int.
  10329. * src/GrowSegment.h
  10330. * src/Piece.cc
  10331. * src/Piece.h
  10332. * src/PiecedSegment.cc
  10333. * src/PiecedSegment.h
  10334. * src/Segment.h
  10335. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10336. Calculate piece hash when data is arrived if the data is arrived in
  10337. order. This removes additional read operation for hash calculation.
  10338. If the data is arrived in out of order, the hash is calucated when the
  10339. piece is completed. This is the same behavior as the old implementation.
  10340. * src/BtPieceMessage.cc
  10341. * src/DefaultBtProgressInfoFile.cc
  10342. * src/DefaultPieceStorage.cc
  10343. * src/DownloadCommand.cc
  10344. * src/DownloadCommand.h
  10345. * src/DownloadEngine.cc
  10346. * src/GrowSegment.cc
  10347. * src/GrowSegment.h
  10348. * src/Piece.cc
  10349. * src/Piece.h
  10350. * src/PiecedSegment.cc
  10351. * src/PiecedSegment.h
  10352. * src/Segment.h
  10353. * test/PieceTest.cc
  10354. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10355. Try to keep the ordering of outgoing piece message.
  10356. * src/DefaultBtMessageDispatcher.cc
  10357. (DefaultBtMessageDispatcher::sendMessages)
  10358. 2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10359. Fixed busy loop when error/hup epoll events occur.
  10360. * src/AbstractCommand.cc
  10361. * src/PeerAbstractCommand.cc
  10362. 2008-06-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10363. Added --bt-request-peer-speed-limit option, which was a constant
  10364. SLOW_SPEED_THRESHOLD.
  10365. * src/ActivePeerConnectionCommand.cc
  10366. * src/ActivePeerConnectionCommand.h
  10367. * src/BtConstants.h
  10368. * src/HelpItemFactory.cc
  10369. * src/OptionHandlerFactory.cc
  10370. * src/PeerReceiveHandshakeCommand.cc
  10371. * src/option_processing.cc
  10372. * src/prefs.cc
  10373. * src/prefs.h
  10374. * src/usage_text.h
  10375. 2008-06-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10376. Removed repeated call of getTopDirPath(). Instead, call it once and
  10377. cache the result.
  10378. * src/MultiDiskAdaptor.cc
  10379. * src/MultiDiskAdaptor.h
  10380. (mkdir, openFile, initAndOpenFile, openExistingFile)
  10381. 2008-06-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10382. Fixed compile error on debian etch.
  10383. The libc6 shipped with debian etch doesn't define ULLONG_MAX properly
  10384. even if _GNU_SOURCE is defined. So define ULLONG_MAX in case when
  10385. it is undefined.
  10386. * src/Util.cc (ULLONG_MAX)
  10387. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10388. Added epoll support. Use epoll if it is available. If not, use select.
  10389. When async dns is enabled in compile time, epoll support is enabled
  10390. only when aria2 is built with c-ares. This condition statement is
  10391. defined in a2io.h.
  10392. Currently aria2 supports both c-ares and ares, but ares is maintained
  10393. for quite a while and debian already has c-ares package, ares support
  10394. will be dropped in the future version.
  10395. * configure.ac
  10396. * src/AbstractCommand.cc
  10397. * src/AsyncNameResolver.cc
  10398. * src/AsyncNameResolver.h
  10399. * src/Command.cc
  10400. * src/Command.h
  10401. * src/DownloadEngine.cc
  10402. * src/DownloadEngine.h
  10403. * src/PeerAbstractCommand.cc
  10404. * src/SocketCore.cc
  10405. * src/SocketCore.h
  10406. * src/a2io.h
  10407. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10408. * test/MetalinkEntryTest.cc: Added missing `defined' keyword to #if
  10409. directive.
  10410. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10411. Do not do write operation to /dev/null file.
  10412. * src/LogFactory.cc
  10413. * src/SimpleLogger.cc
  10414. Replaced vasprintf with vsnprintf
  10415. * src/SimpleLogger.cc (SimpleLogger::writeLog)
  10416. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10417. * src/BtRequestMessage.cc
  10418. (BtRequestMessage::onQueue): Given piece to RequestSlot. This is a fix
  10419. for segmentation fault caused by previous commit.
  10420. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10421. Reduced the usage of gettimeofday().
  10422. * src/DefaultBtMessageDispatcher.cc
  10423. (DefaultBtMessageDispatcher::checkRequestSlotAndDoNecessaryThing)
  10424. (class FindStaleRequestSlot, class ProcessStaleRequestSlot)
  10425. * src/RequestSlot.cc
  10426. * src/RequestSlot.h
  10427. (RequestSlot::isTimeout)
  10428. Made RequestSlot have a reference to Piece object to avoid find
  10429. Piece repeatedly.
  10430. * src/DefaultBtMessageDispatcher.cc
  10431. (class FindStaleRequestSlot, class ProcessStaleRequestSlot)
  10432. * src/RequestSlot.cc
  10433. * src/RequestSlot.h
  10434. (RequestSlot::getPiece)
  10435. * test/DefaultBtMessageDispatcherTest.cc
  10436. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10437. * src/TimeA2.cc
  10438. * src/TimeA2.h
  10439. (Time::difference): New function.
  10440. (Time::elapsed): Done optimization.
  10441. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10442. * src/HelpItemFactory.cc: Added missing `defined' keyword to #if
  10443. directive.
  10444. 2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10445. * src/option_processing.cc: Added missing `defined' keyword to #if
  10446. directive.
  10447. 2008-05-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10448. Bump up version number to 0.13.2+1
  10449. * src/configure.ac
  10450. 2008-05-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10451. Refactored broken outstanding piece handling.
  10452. * src/DefaultPieceStorage.cc
  10453. * src/DefaultPieceStorage.h
  10454. * src/Piece.cc
  10455. * src/Piece.h
  10456. 2008-05-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10457. Fixed compile error on Mac OS X 10.3.9. This error was caused by the
  10458. name collision of static variable and predefined macro.
  10459. * src/BtContext.cc
  10460. * src/BtContext.h
  10461. * src/CookieBoxFactory.cc
  10462. * src/CookieBoxFactory.h
  10463. * src/CookieParser.cc
  10464. * src/CookieParser.h
  10465. * src/DefaultBtContext.cc
  10466. 2008-05-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10467. * src/RequestGroup.cc
  10468. (RequestGroup::createInitialCommand): Use empty() instead of size().
  10469. 2008-05-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10470. * Release 0.13.2
  10471. 2008-05-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10472. Updated fr.po(thanks to Sebastien) and ja.po. ThanksDone make update-po
  10473. * po/fr.po
  10474. * po/ja.po
  10475. * po/aria2c.pot
  10476. * po/*.po
  10477. * po/*.gmo
  10478. 2008-05-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10479. Bump up version number to 0.13.2
  10480. * src/configure.ac
  10481. 2008-05-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10482. Refactord.
  10483. * src/RequestGroupMan.cc
  10484. (removeStoppedGroup)
  10485. (fillRequestGroupFromReserver)
  10486. 2008-05-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10487. Fixed compile error on Ubuntu.
  10488. * src/BtPieceMessage.cc
  10489. * src/MessageDigestHelper.cc
  10490. * src/Util.cc
  10491. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10492. Fixed compile error when configured with --disable-bittorrent
  10493. * test/DownloadHandlerFactoryTest.cc
  10494. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10495. Done make update-po
  10496. * po/aria2c.pot
  10497. * po/*.po
  10498. * po/*.gmo
  10499. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10500. Bump up version number to 0.13.2rc.
  10501. * src/configure.ac
  10502. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10503. Made option name bold. Updated SYNOPSIS to make it more readable.
  10504. * doc/aria2c.1.txt
  10505. * doc/aria2c.1
  10506. * doc/aria2c.1.html
  10507. * src/version_usage.cc
  10508. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10509. Refactored. Use std::string instead of size and char*.
  10510. * Data.cc
  10511. * Data.h
  10512. * test/Data.cc
  10513. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10514. Added trimSelf(). Rewritten trim() to use trimSelf().
  10515. * Util.cc
  10516. * Util.h
  10517. 2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10518. * src/ChunkChecksum.h (getChecksum): Return const reference.
  10519. 2008-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10520. Fixed compile error when configured with --disable-metalink.
  10521. Also moved test/DownloadHandlerFactoryTest.cc to SRC in Makefile.am.
  10522. * test/FeatureConfigTest.cc
  10523. * test/DownloadHandlerFactoryTest.cc
  10524. 2008-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10525. Fixed compile error when configured with --without-gnutls
  10526. --without-openssl
  10527. * src/main.cc
  10528. * test/DefaultBtProgressInfoFileTest.cc
  10529. * test/SegmentManTest.cc
  10530. 2008-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10531. Fixed compile error with OpenSSL.
  10532. * src/IteratableChunkChecksumValidator.cc
  10533. * src/LibsslDHKeyExchange.h
  10534. * src/MessageDigestHelper.cc
  10535. 2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10536. Revert the default value of --max-concurrent-downloads to 5.
  10537. Revert the default value of --metalink-servers to 5.
  10538. Man pages was also updated.
  10539. * src/option_processing.cc
  10540. * doc/aria2c.1.txt
  10541. * doc/aria2c.1.html
  10542. * doc/aria2c.1
  10543. 2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10544. Returns const reference:
  10545. DownloadContext::getPieceHash, DownloadContext::getName,
  10546. DownloadContext::getPieceHashAlgo, DownloadContext::getDir,
  10547. BtContext::getInfoHashAsString,
  10548. * src/BtContext.h
  10549. * src/DefaultBtContext.cc
  10550. * src/DefaultBtContext.h
  10551. * src/DownloadContext.h
  10552. * src/SingleFileDownloadContext.h
  10553. * test/MockBtContext.h
  10554. 2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10555. * src/RequestGroup.h (getDir): Removed.
  10556. 2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10557. Returns const reference. The internal urlencode function was optimized
  10558. a little bit.
  10559. * src/Request.cc
  10560. * src/Request.h
  10561. * src/HttpRequest.cc
  10562. * src/HttpRequest.h
  10563. 2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10564. Defined option name and possible values as std::string to reduce
  10565. temporary string object creation in runtime.
  10566. * src/HelpItemFactory.cc
  10567. * src/LogFactory.cc
  10568. * src/Option.cc
  10569. * src/OptionHandlerFactory.cc
  10570. * src/option_processing.cc
  10571. * src/prefs.cc
  10572. * src/prefs.h
  10573. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10574. Return const reference.
  10575. * src/DownloadHandlerConstants.cc
  10576. * src/DownloadHandlerConstants.h
  10577. (getMetalinkExtensions)
  10578. (getMetalinkContentTypes)
  10579. (getBtExtensions)
  10580. (getBtContentTypes)
  10581. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10582. * src/HttpHeader.cc (get): Rewritten.
  10583. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10584. Make HttpHeader::getFirst(...) return const reference.
  10585. * src/HttpHeader.cc
  10586. * src/HttpHeader.h
  10587. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10588. Use Option::getAsBool(...) instead of Option::get(...) and compare
  10589. it with V_TRUE.
  10590. * src/DefaultPieceStorage.cc
  10591. * src/DownloadCommand.cc
  10592. * src/FtpNegotiationCommand.cc
  10593. * src/HttpRequest.cc
  10594. * src/InitiateConnectionCommand.cc
  10595. * src/RequestGroup.cc
  10596. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10597. Made Option::get(...) return const reference of std::string.
  10598. * src/Option.cc
  10599. * src/Option.h
  10600. 2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10601. Replaced std:copy with insert.
  10602. * src/DefaultBtMessageDispatcher.cc
  10603. * src/DefaultPieceStorage.cc
  10604. * src/DownloadEngineFactory.cc
  10605. * src/RequestGroup.cc
  10606. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10607. Included SocketCore.h to fix compiler warning.
  10608. * src/InitiateConnectionCommand.cc
  10609. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10610. Put piece selection strategy algorithm to RarestPieceSelector class,
  10611. Added a switch to choose whether randomized selection so that unit
  10612. tests emit same results in, possibly, win32.
  10613. * src/DefaultPieceStorage.cc
  10614. * src/DefaultPieceStorage.h
  10615. * src/RarestPieceSelector.cc
  10616. * src/RarestPieceSelector.h
  10617. * test/DefaultPieceStorageTest.cc
  10618. * test/RarestPieceSelectorTest.cc
  10619. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10620. Don't pool connection if HTTP proxy is enabled.
  10621. * src/FtpFinishDownloadCommand.cc
  10622. * src/FtpNegotiationCommand.cc
  10623. * src/HttpSkipResponseCommand.cc
  10624. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10625. Don't add closed socket to DownloadEngine::addSocketForReadCheck()
  10626. * src/AbstractCommand.cc
  10627. * src/AbstractCommand.h
  10628. * src/ActivePeerConnectionCommand.cc
  10629. * src/FtpInitiateConnectionCommand.cc
  10630. * src/HttpInitiateConnectionCommand.cc
  10631. * src/InitiateConnectionCommandFactory.cc
  10632. * src/PeerAbstractCommand.cc
  10633. * src/PeerAbstractCommand.h
  10634. * src/PeerInitiateConnectionCommand.cc
  10635. * src/TrackerWatcherCommand.cc
  10636. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10637. Sort RequestSlot in ascending order and manipulate them using
  10638. lower_bound.
  10639. * src/DefaultBtMessageDispatcher.cc
  10640. * src/DefaultBtMessageDispatcher.h
  10641. (getMessageQueue): Added const qualifier.
  10642. (getRequestSlots): Added const qualifier.
  10643. (sendMessages): Use empty() instead of size().
  10644. (doCancelSendingPieceAction): Use HandleEvent object.
  10645. (doAbortOutstandingRequestAction): Rewritten.
  10646. (doChokedAction): Rewritten.
  10647. (checkRequestSlotAndDoNecessaryThing): Rewritten.
  10648. (isOutstandingRequest): Rewritten.
  10649. (getOutstandingRequest): Rewritten.
  10650. (removeOutstandingRequest): Rewritten.
  10651. (addOutstandingRequest): Rewritten.
  10652. * src/RequestSlot.cc
  10653. * src/RequestSlot.h
  10654. (operator=): Rewritten.
  10655. (operator!=): New function.
  10656. (operator<): New function.
  10657. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10658. * src/DefaultBtRequestFactory.cc
  10659. (doChokedAction): Rewritten.
  10660. (removeCompletedPiece): Rewritten.
  10661. (removeTargetPiece): Rewritten.
  10662. (createRequestMessages): Added the debug log.
  10663. (createRequestMessagesOnEndGame: Added the debug log.
  10664. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10665. Added the debug log message.
  10666. * src/BtPieceMessage.cc (doReceivedAction)
  10667. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10668. Sorted DHTPeerAnnounceEntry in a ascending order of info hash and
  10669. used lower_bound to process them rather than linear search.
  10670. * src/DHTPeerAnnounceStorage.cc
  10671. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10672. Call subtractPieceStats from ~PeerInteractionCommand only when the
  10673. peer has at least one completed piece.
  10674. * src/Peer.cc
  10675. * src/Peer.h
  10676. * src/PeerInteractionCommand.cc
  10677. * src/PeerSessionResource.cc
  10678. * src/PeerSessionResource.h
  10679. 2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10680. Removed unnecessary sorting
  10681. * src/DefaultPieceStorage (DefaultPieceStorage)
  10682. 2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10683. Rewritten the portion of the code that mangaes allowed fast indexes.
  10684. * src/PeerSessionResource.cc
  10685. * src/PeerSessionResource.h
  10686. 2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10687. Removed the invalid string including '\r' from ru.po and
  10688. did make update-po.
  10689. 2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10690. Added --log-level and --summary-interval to man page.
  10691. * doc/aria2c.1.txt
  10692. * doc/aria2c.1.html
  10693. * doc/aria2c.1
  10694. 2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10695. Added --log-level option to specify log level. Log messages under
  10696. the specified level are not output. Default value is `debug'.
  10697. * src/HelpItemFactory.cc
  10698. * src/LogFactory.cc
  10699. * src/LogFactory.h
  10700. * src/Logger.h
  10701. * src/OptionHandlerFactory.cc
  10702. * src/SimpleLogger.cc
  10703. * src/SimpleLogger.h
  10704. * src/main.cc
  10705. * src/option_processing.cc
  10706. * src/prefs.h
  10707. * src/usage_text.h
  10708. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10709. Print download progress summary of all parallel downloads in specified
  10710. interval, default 60 secs. While aria2 could download several files
  10711. in parallel (see -j option), it displayed just first download progress,
  10712. and the other downloads are hidden from the users. This new feature
  10713. prints all downloads currently in-progress to the console so that you
  10714. can check the status of all downloads. The interval can be adjusted
  10715. by --summary-interval option.
  10716. The progress readout is now cut so that all fits in the one line of
  10717. console.
  10718. * src/ConsoleStatCalc.cc
  10719. * src/ConsoleStatCalc.h
  10720. * src/HelpItemFactory.cc
  10721. * src/OptionHandlerFactory.cc
  10722. * src/RequestGroupMan.cc
  10723. * src/RequestGroupMan.h
  10724. * src/main.cc
  10725. * src/option_processing.cc
  10726. * src/prefs.h
  10727. * src/usage_text.h
  10728. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10729. Call updateFdSet() to initialize rfdset, wfdset fdmax.
  10730. * src/DownloadEngine.cc (DownloadEngine)
  10731. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10732. Use free() to deallocate memory for _buffer if HAVE_POSIX_MEMALIGN is
  10733. defined.
  10734. * src/SingleFileAllocationIterator.cc (~SingleFileAllocationIterator)
  10735. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10736. Use erase+lower_bound+insert instead of sort.
  10737. * src/DefaultPieceStorage.cc (addPieceStats)
  10738. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10739. Use A2STR::SHARP_C and A2STR::EQUAL_C.
  10740. * src/A2STR.cc
  10741. * src/A2STR.h
  10742. * src/OptionParser.cc (parse)
  10743. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10744. Defined fake filename `[tracker.announce]' as static const std::string.
  10745. * src/TrackerWatcherCommand.cc (createRequestGroup)
  10746. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10747. Defined default filename `index.html' as static const std::string
  10748. * src/SingleFileDownloadContext.cc
  10749. * src/SingleFileDownloadContext.h
  10750. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10751. Defined "[MEMORY]" as static const std::string.
  10752. * src/MemoryBufferPreDownloadHandler.cc (execute)
  10753. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10754. Defined control file's version number as static const std::string.
  10755. * src/DefaultBtProgressInfoFile.cc
  10756. * src/DefaultBtProgressInfoFile.h
  10757. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10758. Use Request::METHOD_GET
  10759. * src/RequestGroup.cc (createNextCommandWithAdj)
  10760. 2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10761. Defined "OK", "ERR", "INPR" as static const std::string
  10762. * src/RequestGroupMan.cc (showDownloadResults)
  10763. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10764. Defined default client used in extended handshake as static const
  10765. std::string
  10766. * src/DefaultBtInteractive.cc (addHandshakeExtendedMessageToQueue)
  10767. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10768. Defined AUTH_HEADER, PROXY_AUTH_HEADER as static const std::string
  10769. * src/HttpConnection.cc (eraseConfidentialInfo)
  10770. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10771. Defined default ftp user and password as static const std::string
  10772. * src/AuthConfigFactory.cc
  10773. * src/AuthConfigFactory.h
  10774. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10775. Defined strings used in netrc as static const std::string
  10776. * src/Netrc.cc
  10777. * src/Netrc.h
  10778. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10779. Defined HTTP status as static const std::string
  10780. * src/AbstractProxyResponseCommand.cc
  10781. * src/HttpHeader.cc
  10782. * src/HttpHeader.h
  10783. * src/HttpResponse.cc
  10784. * src/HttpResponseCommand.cc
  10785. * src/HttpSkipResponseCommand.cc
  10786. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10787. Defined "\r\n", "A", "I" as static const std::string
  10788. * src/A2STR.cc
  10789. * src/A2STR.h
  10790. * src/FtpConnection.cc
  10791. * src/FtpConnection.h
  10792. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10793. Added COLON_C(".") and used it in Request::parseUrl()
  10794. * src/A2STR.cc
  10795. * src/A2STR.h
  10796. * src/Request.cc (parseUrl)
  10797. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10798. Changed the type of padName from `const std::string&' to `const char*'.
  10799. * src/MSEHandshake.cc (verifyPadLength)
  10800. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10801. Defined "sha1" as static const std::string.
  10802. * src/MetalinkParserController.cc
  10803. * src/MetalinkParserController.h
  10804. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10805. Defined message digest algorithm name as static const std::string
  10806. * src/DHTTokenTracker.cc
  10807. * src/DHTUtil.cc
  10808. * src/DefaultBtContext.cc
  10809. * src/MSEHandshake.cc
  10810. * src/MessageDigestHelper.cc
  10811. * src/Peer.cc
  10812. * src/messageDigest.cc
  10813. * src/messageDigest.h
  10814. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10815. Made string literals used in SAX parser static const std::string.
  10816. * src/FileMetalinkParserState.cc
  10817. * src/FileMetalinkParserState.h
  10818. * src/FilesMetalinkParserState.cc
  10819. * src/FilesMetalinkParserState.h
  10820. * src/InitialMetalinkParserState.cc
  10821. * src/InitialMetalinkParserState.h
  10822. * src/MetalinkMetalinkParserState.cc
  10823. * src/MetalinkMetalinkParserState.h
  10824. * src/PiecesMetalinkParserState.cc
  10825. * src/PiecesMetalinkParserState.h
  10826. * src/ResourcesMetalinkParserState.cc
  10827. * src/ResourcesMetalinkParserState.h
  10828. * src/VerificationMetalinkParserState.cc
  10829. * src/VerificationMetalinkParserState.h
  10830. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10831. Use A2STR::SLASH_C, A2STR::DOT_C instead of "/", "." respectively.
  10832. * src/A2STR.cc
  10833. * src/A2STR.h
  10834. * src/File.cc
  10835. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10836. Defined static const std::string IP("ip"), PORT("port") and use them
  10837. instead of string literals.
  10838. * src/DefaultPeerListProcessor.cc
  10839. * src/DefaultPeerListProcessor.h
  10840. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10841. Made string literals for torrent file processing static const
  10842. std::string.
  10843. * src/BtContext.cc
  10844. * src/BtContext.h
  10845. * src/DefaultBtContext.cc
  10846. * src/DefaultBtContext.h
  10847. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10848. Made string literal for tracker response static const std::string
  10849. * src/BtAnnounce.cc
  10850. * src/BtAnnounce.h
  10851. * src/DefaultBtAnnounce.cc
  10852. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10853. Use DHTMessage::T instead of "t".
  10854. * src/DHTMessageTracker.cc (messageArrived)
  10855. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10856. Made keyName static const. Made trimmed charset static const
  10857. std::string.
  10858. * src/Util.cc (getContentDispositionFilename)
  10859. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10860. Made USER_AGENT const. Made "/" static const std::string.
  10861. * src/A2STR.cc
  10862. * src/A2STR.h
  10863. * src/HttpRequest.cc
  10864. * src/HttpRequest.h
  10865. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10866. Made string listeral to static const std::string:
  10867. "Content-Range", "Content-Length"
  10868. * src/HttpHeader.cc
  10869. * src/HttpHeader.h
  10870. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10871. Made string listeral to static const std::string.
  10872. * src/HttpConnection.cc
  10873. * src/HttpHeader.cc
  10874. * src/HttpHeader.h
  10875. * src/HttpResponse.cc
  10876. 2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10877. Made string listeral to static const std::string.
  10878. * src/A2STR.cc
  10879. * src/A2STR.h
  10880. * src/SimpleLogger.cc
  10881. * src/SimpleLogger.h
  10882. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10883. Made string literal to static const std::string.
  10884. Rewritten CookieParser::setField.
  10885. * src/A2STR.cc
  10886. * src/A2STR.h
  10887. * src/CookieBoxFactory.cc
  10888. * src/CookieBoxFactory.h
  10889. * src/CookieParser.cc
  10890. * src/CookieParser.h
  10891. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10892. Made string literal to static const std::string
  10893. * src/DHTAbstractMessage.cc
  10894. * src/DHTAnnouncePeerMessage.cc
  10895. * src/DHTAnnouncePeerMessage.h
  10896. * src/DHTAnnouncePeerReplyMessage.cc
  10897. * src/DHTAnnouncePeerReplyMessage.h
  10898. * src/DHTFindNodeMessage.cc
  10899. * src/DHTFindNodeMessage.h
  10900. * src/DHTFindNodeReplyMessage.cc
  10901. * src/DHTFindNodeReplyMessage.h
  10902. * src/DHTGetPeersMessage.cc
  10903. * src/DHTGetPeersMessage.h
  10904. * src/DHTGetPeersReplyMessage.cc
  10905. * src/DHTGetPeersReplyMessage.h
  10906. * src/DHTMessage.cc
  10907. * src/DHTMessage.h
  10908. * src/DHTMessageFactoryImpl.cc
  10909. * src/DHTMessageReceiver.cc
  10910. * src/DHTPingMessage.cc
  10911. * src/DHTPingMessage.h
  10912. * src/DHTPingReplyMessage.cc
  10913. * src/DHTPingReplyMessage.h
  10914. * src/DHTQueryMessage.cc
  10915. * src/DHTQueryMessage.h
  10916. * src/DHTResponseMessage.cc
  10917. * src/DHTResponseMessage.h
  10918. * src/DHTUnknownMessage.cc
  10919. * src/DHTUnknownMessage.h
  10920. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10921. Made string literal to static const std::string
  10922. * src/BtChokeMessage.cc (toString)
  10923. * src/BtHaveAllMessage.cc (toString)
  10924. * src/BtHaveNoneMessage.cc (toString)
  10925. * src/BtInterestedMessage.cc (toString)
  10926. * src/BtNotInterestedMessage.cc (toString)
  10927. * src/BtUnchokeMessage.cc (toString)
  10928. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10929. Replaced "" with static const variable A2STR::NIL.
  10930. Replaced string comparison against "" with std::string::empty().
  10931. Added PROTO_* to Request class and use them as a protocol string
  10932. constant.
  10933. Made "started", "stopped", "completed" static const variable in
  10934. AnnounceList class.
  10935. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10936. Updated translations. Great thanks to translators.
  10937. * po/ca.po
  10938. * po/de.po
  10939. * po/fr.po
  10940. * po/it.po
  10941. * po/ja.po
  10942. * po/ru.po
  10943. * po/zh_CN.po
  10944. 2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10945. Updated man page; categorized options and fixed typo.
  10946. * doc/aria2c.1.txt
  10947. * doc/aria2c.1.html
  10948. * doc/aria2c.1
  10949. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10950. Removed const ref
  10951. * src/MetalinkEntry.cc (AddProtocolPreference)
  10952. * src/RequestGroup.cc (FindServerHostByHostname)
  10953. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10954. Rewritten Accept-Features handling.
  10955. * src/HttpRequestCommand.cc (createHttpRequest)
  10956. * src/a2functional.h
  10957. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10958. Changed method signature:
  10959. DHTAbstractNodeLookupTask::toEntries
  10960. * src/DHTAbstractNodeLookupTask.cc
  10961. * src/DHTAbstractNodeLookupTask.h
  10962. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10963. Changed method signature:
  10964. BtContext::computeFastSet, DefaultBtContext::extractUrlList
  10965. * src/BtContext.h
  10966. * src/DefaultBtContext.cc
  10967. * src/DefaultBtContext.h
  10968. * src/DefaultBtInteractive.cc
  10969. * test/DefaultBtContextTest.cc
  10970. * test/MockBtContext.h
  10971. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10972. Changed method signature:
  10973. MultiFileAllocationIterator::makeDiskWriterEntries
  10974. * src/MultiFileAllocationIterator.cc
  10975. * src/MultiFileAllocationIterator.h
  10976. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10977. Changed method sinature:
  10978. MetalinkEntry::toFileEntry,
  10979. MetalinkHelper::query, MetalinkHelper::parseAndQuery,
  10980. Metalinker::queryEntry
  10981. * src/Metalink2RequestGroup.cc
  10982. * src/MetalinkEntry.cc
  10983. * src/MetalinkEntry.h
  10984. * src/MetalinkHelper.cc
  10985. * src/MetalinkHelper.h
  10986. * src/Metalinker.cc
  10987. * src/Metalinker.h
  10988. * src/main.cc
  10989. * test/MetalinkHelperTest.cc
  10990. * test/MetalinkerTest.cc
  10991. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10992. Changed method sinature:
  10993. RequestGroup::getURIs
  10994. * src/RequestGroup.cc
  10995. * src/RequestGroup.h
  10996. * test/Metalink2RequestGroupTest.cc
  10997. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  10998. Changed method signature:
  10999. PeerListProcessor::extractPeer
  11000. * src/CompactPeerListProcessor.cc
  11001. * src/CompactPeerListProcessor.h
  11002. * src/DefaultBtAnnounce.cc
  11003. * src/DefaultPeerListProcessor.cc
  11004. * src/DefaultPeerListProcessor.h
  11005. * src/DelegatingPeerListProcessor.cc
  11006. * src/DelegatingPeerListProcessor.h
  11007. * src/PeerListProcessor.h
  11008. * src/UTPexExtensionMessage.cc
  11009. * test/DefaultPeerListProcessorTest.cc
  11010. 2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11011. Changed method signature:
  11012. BtRequestFactory::createRequestMessages,
  11013. BtRequestFactory::createRequestMessagesOnEndGame
  11014. * src/BtRequestFactory.h
  11015. * src/DefaultBtInteractive.cc
  11016. * src/DefaultBtRequestFactory.cc
  11017. * src/DefaultBtRequestFactory.h
  11018. * test/DefaultBtRequestFactoryTest.cc
  11019. * test/MockBtRequestFactory.h
  11020. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11021. Changed method signature:
  11022. PieceStorage::getInFlightPieces
  11023. * src/DefaultBtProgressInfoFile.cc
  11024. * src/DefaultPieceStorage.cc
  11025. * src/DefaultPieceStorage.h
  11026. * src/PieceStorage.h
  11027. * src/UnknownLengthPieceStorage.cc
  11028. * src/UnknownLengthPieceStorage.h
  11029. * test/DefaultBtProgressInfoFileTest.cc
  11030. * test/MockPieceStorage.h
  11031. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11032. Changed method signature:
  11033. PostDownloadHandler::getNextRequestGroups
  11034. Metalink2RequestGroup::generate
  11035. RequestGroup::postDownloadProcessing
  11036. * src/BtPostDownloadHandler.cc
  11037. * src/BtPostDownloadHandler.h
  11038. * src/Metalink2RequestGroup.cc
  11039. * src/Metalink2RequestGroup.h
  11040. * src/MetalinkPostDownloadHandler.cc
  11041. * src/MetalinkPostDownloadHandler.h
  11042. * src/PostDownloadHandler.h
  11043. * src/RequestGroup.cc
  11044. * src/RequestGroup.h
  11045. * src/RequestGroupMan.cc
  11046. * src/main.cc
  11047. * test/BtPostDownloadHandlerTest.cc
  11048. * test/Metalink2RequestGroupTest.cc
  11049. * test/MetalinkPostDownloadHandlerTest.cc
  11050. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11051. Rewritten AccRequestGroup
  11052. * src/main.cc
  11053. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11054. Rewritten.
  11055. * src/TaggedItem.cc (toTagString)
  11056. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11057. Rewritten Accept-Features handling.
  11058. * src/HttpRequestCommand.cc (createHttpRequest)
  11059. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11060. Rewritten accept types handling.
  11061. * HttpRequest.cc (createRequest)
  11062. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11063. Rewritten
  11064. * src/FeatureConfig.cc (featureSummary)
  11065. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11066. Changed method signature:
  11067. PeerStorage::getActivePeers
  11068. * src/DHTPeerAnnounceEntry.cc
  11069. * src/DefaultPeerStorage.cc
  11070. * src/DefaultPeerStorage.h
  11071. * src/PeerStorage.h
  11072. * test/DefaultPeerStorageTest.cc
  11073. * test/MockPeerStorage.h
  11074. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11075. Changed method signature:
  11076. DHTPeerAnnounceStorage::getPeers,
  11077. DHTPeerAnnounceEntry::getPeers
  11078. * src/DHTGetPeersMessage.cc
  11079. * src/DHTPeerAnnounceEntry.cc
  11080. * src/DHTPeerAnnounceEntry.h
  11081. * src/DHTPeerAnnounceStorage.cc
  11082. * src/DHTPeerAnnounceStorage.h
  11083. * test/DHTAnnouncePeerMessageTest.cc
  11084. * test/DHTPeerAnnounceEntryTest.cc
  11085. * test/DHTPeerAnnounceStorageTest.cc
  11086. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11087. Changed method signature:
  11088. NameResolver::resolve
  11089. * src/DHTEntryPointNameResolveCommand.cc
  11090. * src/InitiateConnectionCommand.cc
  11091. * src/NameResolver.cc
  11092. * src/NameResolver.h
  11093. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11094. Changed method signature:
  11095. PieceStorage::getAdvertisedPieceIndexes
  11096. * src/DefaultBtInteractive.cc
  11097. * src/DefaultPieceStorage.cc
  11098. * src/DefaultPieceStorage.h
  11099. * src/PieceStorage.h
  11100. * src/UnknownLengthPieceStorage.h
  11101. * test/MockPieceStorage.h
  11102. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11103. Changed method signature:
  11104. SegmentMan::getInFlightSegment
  11105. * src/AbstractCommand.cc
  11106. * src/SegmentMan.cc
  11107. * src/SegmentMan.h
  11108. * test/SegmentManTest.cc
  11109. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11110. Changed method signature:
  11111. DHTAbstractNodeLookupTask::getNodesFromMessage
  11112. * src/DHTAbstractNodeLookupTask.cc
  11113. * src/DHTAbstractNodeLookupTask.h
  11114. * src/DHTNodeLookupTask.cc
  11115. * src/DHTNodeLookupTask.h
  11116. * src/DHTPeerLookupTask.cc
  11117. * src/DHTPeerLookupTask.h
  11118. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11119. Pass std::deque<Command*> by reference to avoid unnecessary coping.
  11120. * src/AbstractCommand.cc
  11121. * src/BtCheckIntegrityEntry.cc
  11122. * src/BtCheckIntegrityEntry.h
  11123. * src/BtFileAllocationEntry.cc
  11124. * src/BtFileAllocationEntry.h
  11125. * src/BtSetup.cc
  11126. * src/BtSetup.h
  11127. * src/CheckIntegrityCommand.cc
  11128. * src/CheckIntegrityEntry.h
  11129. * src/ChecksumCheckIntegrityEntry.cc
  11130. * src/ChecksumCheckIntegrityEntry.h
  11131. * src/DHTSetup.cc
  11132. * src/DHTSetup.h
  11133. * src/DownloadEngine.cc
  11134. * src/FileAllocationCommand.cc
  11135. * src/FileAllocationEntry.h
  11136. * src/RequestGroup.cc
  11137. * src/RequestGroup.h
  11138. * src/RequestGroupMan.cc
  11139. * src/RequestGroupMan.h
  11140. * src/StreamCheckIntegrityEntry.cc
  11141. * src/StreamCheckIntegrityEntry.h
  11142. * src/StreamFileAllocationEntry.cc
  11143. * src/StreamFileAllocationEntry.h
  11144. * src/TrackerWatcherCommand.cc
  11145. * src/a2functional.h
  11146. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11147. Changed method signature:
  11148. BNode::findClosestKNodes, BNode:: enumerateBucket,
  11149. DHTBucket::getGoodNodes,
  11150. DHTRoutingTable::getClosestKNodes, DHTRoutingTable::getBuckets
  11151. * src/BNode.cc
  11152. * src/BNode.h
  11153. * src/DHTAbstractNodeLookupTask.cc
  11154. * src/DHTAutoSaveCommand.cc
  11155. * src/DHTBucket.cc
  11156. * src/DHTBucket.h
  11157. * src/DHTBucketRefreshTask.cc
  11158. * src/DHTFindNodeMessage.cc
  11159. * src/DHTGetPeersMessage.cc
  11160. * src/DHTRoutingTable.cc
  11161. * src/DHTRoutingTable.h
  11162. * test/BNodeTest.cc
  11163. * test/DHTBucketTest.cc
  11164. * test/DHTRoutingTableTest.cc
  11165. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11166. In piece selection functions, Pass std::deque<...> by reference rather
  11167. than returning it.
  11168. * src/BitfieldMan.cc
  11169. * src/BitfieldMan.h
  11170. * src/DefaultBtRequestFactory.cc
  11171. * src/DefaultPieceStorage.cc
  11172. * src/Piece.cc
  11173. * src/Piece.h
  11174. * test/BitfieldManTest.cc
  11175. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11176. Implemented rarest piece first piece selection strategy.
  11177. * src/AbstractBtMessage.cc
  11178. * src/AbstractBtMessage.h
  11179. * src/BitfieldMan.cc
  11180. * src/BitfieldMan.h
  11181. * src/BtBitfieldMessage.cc
  11182. * src/BtHaveAllMessage.cc
  11183. * src/BtHaveMessage.cc
  11184. * src/DefaultPieceStorage.cc
  11185. * src/DefaultPieceStorage.h
  11186. * src/PeerInteractionCommand.cc
  11187. * src/PieceStorage.h
  11188. * src/UnknownLengthPieceStorage.h
  11189. 2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11190. Rewritten readData and writeData.
  11191. * src/MultiDiskAdaptor.cc
  11192. * src/MultiDiskAdaptor.h
  11193. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11194. Move \n out of the message "Usage: ...".
  11195. * src/version_usage.cc
  11196. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11197. Bump up version number to 0.13.2b.
  11198. * configure.ac
  11199. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11200. Added const qualifier to argument Exception& e.
  11201. * src/Logger.h
  11202. * src/SimpleLogger.cc
  11203. * src/SimpleLogger.h
  11204. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11205. Pool connection when CWD, SIZE command fails.
  11206. * src/FtpNegotiationCommand.cc
  11207. * src/FtpNegotiationCommand.h
  11208. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11209. Renamed HttpNullDownloadCommand as HttpSkipResponseCommand
  11210. * src/HttpResponseCommand.cc
  11211. * src/HttpSkipResponseCommand.cc
  11212. * src/HttpSkipResponseCommand.h
  11213. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11214. Pool connection when a server returns 4xx, 5xx responses.
  11215. * src/HttpNullDownloadCommand.cc
  11216. * src/HttpNullDownloadCommand.h
  11217. * src/HttpResponse.cc
  11218. * src/HttpResponse.h
  11219. * src/HttpResponseCommand.cc
  11220. * src/HttpResponseCommand.h
  11221. * test/HttpResponseTest.cc
  11222. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11223. Print usage when no URL is specifed or bad command-line option is
  11224. specified.
  11225. * src/HelpItemFactory.cc
  11226. * src/help_tags.h
  11227. * src/option_processing.cc
  11228. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11229. Removed duplicate log message.
  11230. * src/AbstractCommand.cc (asyncResolveHostname)
  11231. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11232. Updated man page: --async-dns and --ftp-reuse-connection were added.
  11233. Changed -j option's default value from 5 to 1.
  11234. Added new examples using protocol auto detection feature.
  11235. Removed -T, -M usage where it can be omitted.
  11236. * doc/aria2c.1.txt
  11237. * doc/aria2c.1.html
  11238. * doc/aria2c.1.txt
  11239. 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11240. Updated command-line usage text, so that it tells users that they
  11241. can specify any number of torrent files and metalink files in
  11242. command-line.
  11243. * src/version_usage.cc
  11244. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11245. Changed the default value of -j option to 1.
  11246. * src/HelpItemFactory.cc
  11247. * src/option_processing.cc
  11248. * src/usage_text.h
  11249. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11250. Added the ability to reuse connection in FTP and it is enabled by
  11251. default. It can be disabled by --ftp-reuse-connection=false option.
  11252. * src/Command.cc
  11253. * src/DownloadCommand.cc
  11254. * src/FtpDownloadCommand.cc
  11255. * src/FtpDownloadCommand.h
  11256. * src/FtpFinishDownloadCommand.cc
  11257. * src/FtpFinishDownloadCommand.h
  11258. * src/FtpInitiateConnectionCommand.cc
  11259. * src/FtpNegotiationCommand.cc
  11260. * src/FtpNegotiationCommand.h
  11261. * src/HelpItemFactory.cc
  11262. * src/Makefile.am
  11263. * src/Makefile.in
  11264. * src/OptionHandlerFactory.cc
  11265. * src/option_processing.cc
  11266. * src/prefs.h
  11267. * src/usage_text.h
  11268. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11269. Call Command::transitStatus() before calling Command::execute(),
  11270. so that the status change made in execute() is not cleared.
  11271. * src/DownloadEngine.cc
  11272. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11273. Removed forward declaration of SocketCore class.
  11274. * src/HttpDownloadCommand.h
  11275. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11276. Set Request::setKeepAliveHint() and Request::setPipeliningHint()
  11277. in InitiateConnectionCommandFactory. They should be set only when
  11278. the protocol is HTTP or HTTPS.
  11279. * src/InitiateConnectionCommandFactory.cc
  11280. * src/RequestGroup.cc
  11281. 2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11282. Fixed infinite loop in checksum checking.
  11283. * src/IteratableChecksumValidator.cc
  11284. 2008-05-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11285. Set _supportsPersistentConnection to true by default.
  11286. * src/Request.cc
  11287. * src/RequestGroup.cc
  11288. * test/HttpRequestTest.cc
  11289. * test/RequestTest.cc
  11290. 2008-05-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11291. Added timeout to socket pool. The default timeout is 15 seconds,
  11292. which is the same value Apache uses.
  11293. * src/DownloadEngine.cc
  11294. * src/DownloadEngine.h
  11295. 2008-05-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11296. Fixed misuse of multimap::find()
  11297. * src/HttpHeader.cc
  11298. * test/HttpHeaderTest.cc
  11299. 2008-05-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11300. Rewritten name resolver. Now async DNS can be disabled by --async-dns
  11301. option.
  11302. The asynchronous DNS is not capable of IPv6 yet.
  11303. By disabling asynchronous DNS, aria2 is IPv6 enabled application, at
  11304. least for HTTP download.
  11305. * src/AbstractCommand.cc
  11306. * src/AbstractCommand.h
  11307. * src/AsyncNameResolver.cc
  11308. * src/AsyncNameResolver.h
  11309. * src/DHTEntryPointNameResolveCommand.cc
  11310. * src/DHTEntryPointNameResolveCommand.h
  11311. * src/DownloadEngine.cc
  11312. * src/DownloadEngine.h
  11313. * src/FtpInitiateConnectionCommand.cc
  11314. * src/FtpInitiateConnectionCommand.h
  11315. * src/HelpItemFactory.cc
  11316. * src/HttpInitiateConnectionCommand.cc
  11317. * src/HttpInitiateConnectionCommand.h
  11318. * src/InitiateConnectionCommand.cc
  11319. * src/InitiateConnectionCommand.h
  11320. * src/Makefile.am
  11321. * src/Makefile.in
  11322. * src/NameResolver.cc
  11323. * src/NameResolver.h
  11324. * src/OptionHandlerFactory.cc
  11325. * src/SocketCore.cc
  11326. * src/SocketCore.h
  11327. * src/Util.cc
  11328. * src/Util.h
  11329. * src/option_processing.cc
  11330. * src/prefs.h
  11331. * src/usage_text.h
  11332. 2008-05-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11333. Updated man page: --quiet, --header were added.
  11334. --metalink-servers and --enable-http-keep-alive option were updated.
  11335. * doc/aria2c.1
  11336. * doc/aria2c.1.html
  11337. * doc/aria2c.1.txt
  11338. 2008-05-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11339. Enable HTTP keep-alive by default.
  11340. * src/HelpItemFactory.cc
  11341. * src/option_processing.cc
  11342. * src/usage_text.h
  11343. 2008-05-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11344. Disable http keep-alive if the remote server is not HTTP/1.1.
  11345. * src/HttpConnection.cc
  11346. 2008-05-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11347. Receive content body of 302 response so that the connection can be
  11348. reused later when http keep-alive is enabled.
  11349. * src/HttpNullDownloadCommand.cc
  11350. * src/HttpNullDownloadCommand.h
  11351. * src/HttpResponseCommand.cc
  11352. * src/HttpResponseCommand.h
  11353. 2008-05-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11354. const SharedHandle<Request> -> const SharedHandle<Request>&
  11355. * src/FtpDowndloadCommand.cc
  11356. * src/FtpDowndloadCommand.h
  11357. * src/HttpDownloadCommand.cc
  11358. * src/HttpDownloadCommand.h
  11359. 2008-05-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11360. Fixed the bug that the control file(.aria2 file) is not renamed
  11361. according to tryAutoFileRenaming().
  11362. tryAutoFileRenaming() was rewritten so that if both renamed file and
  11363. its control file exist, use them and continue download.
  11364. The old implementation didn't take into account of control file's
  11365. existence, so basically you couldn't continue download of renamed file.
  11366. * src/BtProgressInfoFile.h
  11367. * src/DefaultBtProgressInfoFile.cc
  11368. * src/DefaultBtProgressInfoFile.h
  11369. * src/NullProgressInfoFile.h
  11370. * src/RequestGroup.cc
  11371. * test/DefaultBtProgressInfoFileTest.cc
  11372. * test/MockBtProgressInfoFile.h
  11373. 2008-05-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11374. Change the default value of --metalink-servers option from `5' to `1'.
  11375. * src/HelpItemFactory.cc
  11376. * src/option_processing.cc
  11377. * src/usage_text.h
  11378. 2008-05-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11379. Reimplemented transparent metalink using Accept request header.
  11380. * src/HttpRequest.cc
  11381. * src/HttpRequest.h
  11382. * src/HttpRequestCommand.cc
  11383. * src/Metalink2RequestGroup.cc
  11384. * src/RequestGroup.cc
  11385. * src/RequestGroup.h
  11386. * test/HttpRequestTest.cc
  11387. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11388. Bump up version number to 0.13.2a
  11389. * configure.ac
  11390. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11391. Updated configure.ac using the result of autoscan.
  11392. * configure.ac
  11393. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11394. Fixed compilation error without gcrypt/openssl.
  11395. * src/DownloadCommand.cc
  11396. * src/DownloadCommand.h
  11397. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11398. Reorganized version information so that it can be displayed in a
  11399. standard terminal screen without scrolling.
  11400. Removed http, ftp from Configuration section, because they are always
  11401. enabled.
  11402. * src/FeatureConfig.cc
  11403. * src/FeatureConfig.h
  11404. * src/main.cc
  11405. * src/messageDigest.cc
  11406. * src/messageDigest.h
  11407. * src/version_usage.cc
  11408. * test/FeatureConfigTest.cc
  11409. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11410. Masked user ID in log.
  11411. * src/FtpConnection.cc (sendUser)
  11412. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11413. Removed query part from filename in HTTP download. The query part means
  11414. the substring after "?" in URL. Firefox seems do the same thing.
  11415. A query part is sometimes very long and not suitable to filename,
  11416. so I think it is better to remove it from filename.
  11417. * src/HttpRequest.cc
  11418. * src/HttpRequest.h
  11419. * src/Request.cc
  11420. * src/Request.h
  11421. * test/HttpRequestTest.cc
  11422. * test/RequestTest.cc
  11423. 2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11424. Rewritten Exception class. Throw exception object, not its pointer and
  11425. catch by reference, so that remove problematic delete operator for
  11426. catched exception.
  11427. * src/Exception.cc
  11428. * src/Exception.h
  11429. * test/ExceptionTest.cc
  11430. * src/*: All files throwing/catching exception.
  11431. * test/*: All files throwing/catching exception.
  11432. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11433. Now auto protocol detection is enabled without -Z option.
  11434. But there is a important difference between with/without -Z optoin.
  11435. For example, if you type:
  11436. aria2c http://host/file file1.torrent file2.metalink http://mirror/file
  11437. then, aria2 interprets there are 3 request groups:
  11438. (1) http://host/file, http://mirror/file <-- multi-source download
  11439. (2) file1.torrent
  11440. (3) file2.metalink
  11441. On the other hand, if you invoke above command with -Z option, it is
  11442. interpreted as 4 request groups:
  11443. (1) http://host/file
  11444. (2) file1.torrent
  11445. (3) file2.metalink
  11446. (4) http://mirror/file
  11447. I think usually user don't mix multi-source URLs and torrent files, so
  11448. there is no big problem here.
  11449. * src/main.cc
  11450. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11451. Fixed the bug that causes segmentaion fault when reading XML containing
  11452. unescapsed character like '&'.
  11453. Also a modification was made which avoids adding unnecessary
  11454. characters stack and appending unused string.
  11455. * src/ExpatMetalinkProcessor.cc
  11456. * src/FileMetalinkParserState.h
  11457. * src/FilesMetalinkParserState.h
  11458. * src/FinMetalinkParserState.h
  11459. * src/HashMetalinkParserState.h
  11460. * src/InitialMetalinkParserState.h
  11461. * src/LanguageMetalinkParserState.h
  11462. * src/MetalinkMetalinkParserState.h
  11463. * src/MetalinkParserState.h
  11464. * src/MetalinkParserStateMachine.cc
  11465. * src/MetalinkParserStateMachine.h
  11466. * src/OSMetalinkParserState.h
  11467. * src/PieceHashMetalinkParserState.h
  11468. * src/PiecesMetalinkParserState.h
  11469. * src/ResourcesMetalinkParserState.h
  11470. * src/SizeMetalinkParserState.h
  11471. * src/SkipTagMetalinkParserState.h
  11472. * src/URLMetalinkParserState.h
  11473. * src/VerificationMetalinkParserState.h
  11474. * src/VersionMetalinkParserState.h
  11475. * src/XML2SAXMetalinkProcessor.cc
  11476. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11477. Added StringFormat class, which internally calls vasprintf.
  11478. operator<< is defined for this class, so it can be used with iostream
  11479. classes nicely. SimpleLogger and following functions are rewritten
  11480. using StringFormat class.
  11481. Besides, now Logger class's methods are non-const, many classes
  11482. that has a const Logger* as a member variable are modified to remove
  11483. const qualifier from the variable declaration.
  11484. * src/HelpItemFactory.cc
  11485. * src/Request.cc
  11486. * src/SimpleLogger.cc
  11487. * src/StringFormat.cc
  11488. * src/StringFormat.h
  11489. * src/Util.cc
  11490. * src/option_processing.cc
  11491. * src/version_usage.cc
  11492. * test/StringFormatTest.cc
  11493. * src/*.h: The classes that has const Logger* as a member variable.
  11494. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11495. Log error in AccRequestGroup when reading BitTorrent/Metalink file is
  11496. failed. Also fixed memory link when exception is thrown there.
  11497. * src/main.cc (AccRequestGroup)
  11498. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11499. Added build-in "Accept-Features" support. For now only "metalink" is
  11500. used in this header field.
  11501. This "metalink" value is removed from the list when connecting URLs
  11502. fed by metalink file to avoid loop in "transparent" metlaink.
  11503. * src/HttpRequest.cc
  11504. * src/HttpRequest.h: Renamed _userHeaders as _headers. Accept-Features
  11505. header is also held in this variable. Also renamed setUserHeaders as
  11506. addHeader and it was rewritten to add header not just to clear the old
  11507. value.
  11508. * src/HttpRequestCommand.cc
  11509. * src/Metalink2RequestGroup.cc: Added the code to remove "metalink"
  11510. from "Accept-Features" list.
  11511. * src/RequestGroup.cc: Added "metalink" to "Accept-Features" by
  11512. default.
  11513. * src/RequestGroup.h
  11514. * src/TaggedItem.cc: Moved Concat class to a2functional.h.
  11515. * src/a2functional.h: Included <string> because Concat class depends on
  11516. it.
  11517. * test/HttpRequestTest.cc
  11518. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11519. Added comment
  11520. * src/RequestGroup.cc (createNextCommand)
  11521. 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11522. Capitalized METHOD_GET and METHOD_HEAD
  11523. * src/Request.cc
  11524. 2008-04-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11525. Added getDownloadResults() method
  11526. * src/RequestGroupMan.cc
  11527. * src/RequestGroupMan.h
  11528. 2008-04-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11529. Fixed the bug that aria2 exits when commands is empty() but
  11530. _routineCommands are not.
  11531. * src/DownloadEngine.cc
  11532. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11533. Use the default value pulled from Option object in HelpItemFactory.
  11534. except options whose defualt value is embedded in a usage text.
  11535. * src/HelpItemFactory.cc
  11536. * src/HelpItemFactory.h
  11537. * src/option_processing.cc
  11538. * src/version_usage.cc
  11539. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11540. Added --quiet option to make aria2 quiet (no console output).
  11541. --quiet option is tagged with ADVANCED.
  11542. * src/HelpItemFactory.cc
  11543. * src/LogFactory.cc
  11544. * src/LogFactory.h
  11545. * src/MultiUrlRequestInfo.cc
  11546. * src/MultiUrlRequestInfo.h
  11547. * src/NullStatCalc.h: New class. This class prints nothing.
  11548. * src/OptionHandlerFactory.cc
  11549. * src/main.cc
  11550. * src/option_processing.cc
  11551. * src/prefs.h
  11552. * src/usage_text.h
  11553. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11554. Add HTTP tag to --header option. Removed ADVANCED tag instead.
  11555. * src/HelpItemFactory.cc (createHelpItems):
  11556. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11557. Fixed compilation error in ExpatMetalinkProcessor.cc
  11558. * src/ExpatMetalinkProcessor.cc
  11559. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11560. Reuse socket if the origin server supports HTTP keep-alive and
  11561. --enable-http-keep-alive or --enable-http-pipelining is given.
  11562. The current implementation doesn't reuse the connections established
  11563. against proxy server.
  11564. * src/AbstractCommand.cc
  11565. * src/DownloadEngine.cc
  11566. * src/DownloadEngine.h
  11567. * src/HttpDownloadCommand.cc
  11568. * src/HttpInitiateConnectionCommand.cc
  11569. * src/HttpResponseCommand.cc
  11570. 2008-04-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11571. Rewritten HTTP keep-alive and pipelining routine.
  11572. * src/AbstractCommand.cc
  11573. * src/HttpConnection.cc
  11574. * src/HttpDownloadCommand.cc
  11575. * src/HttpRequest.cc
  11576. * src/HttpRequestCommand.cc
  11577. * src/HttpResponseCommand.cc
  11578. * src/Request.cc
  11579. * src/Request.h
  11580. * src/RequestGroup.cc
  11581. * test/HttpRequestTest.cc
  11582. * test/HttpResponseTest.cc
  11583. * test/RequestTest.cc
  11584. 2008-04-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11585. Added missing setUserHeaders call
  11586. * src/HttpRequestCommand.cc
  11587. 2008-04-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11588. Call FileAllocationMan::nextFileAllocationEntryExists() first.
  11589. Calling FileAllocationMan::isFileAllocationBeingExecuted() is somwhat
  11590. waste of time because it is more likey false.
  11591. * src/FileAllocationDispatcherCommand.cc (execute)
  11592. 2008-04-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11593. Now HTTP status and version are a member variable of HttpHeader.
  11594. HTTP status is processed as a string, not integer.
  11595. * src/AbstractProxyResponseCommand.cc
  11596. * src/HttpConnection.cc
  11597. * src/HttpHeader.cc
  11598. * src/HttpHeader.h
  11599. * src/HttpHeaderProcessor.cc
  11600. * src/HttpHeaderProcessor.h
  11601. * src/HttpResponse.cc
  11602. * src/HttpResponse.h
  11603. * test/HttpHeaderProcessorTest.cc
  11604. * test/HttpResponseTest.cc
  11605. 2008-04-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11606. Added --header option. You can specify any number of additional HTTP headers
  11607. like:
  11608. aria2 --header="X-A: 300" --header="X-B: 900" http://host/file
  11609. Unlike other commad-line option, you can use --header option multiple times.
  11610. * src/HelpItemFactory.cc
  11611. * src/HttpRequest.{cc, h}
  11612. * src/HttpRequestCommand.cc
  11613. * src/OptionHandlerFactory.cc
  11614. * src/OptionHandlerImpl.h
  11615. * src/option_processing.cc
  11616. * src/prefs.h
  11617. * src/usage_text.h
  11618. * test/HttpRequestTest.cc (testUserHeaders)
  11619. 2008-04-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11620. Eliminates the time lag between sequential downloads and commands in
  11621. the same RequestGroup.
  11622. In old implementation, aria2 occasionally waits 1 seconds before
  11623. executing next command or RequestGroup.
  11624. This is really a waste of time, and new implementation eliminates
  11625. this unnecessary time lag.
  11626. * src/AbstractCommand.cc
  11627. * src/AutoSaveCommand.cc
  11628. * src/CheckIntegrityCommand.cc
  11629. * src/Command.{cc, h}
  11630. * src/DownloadEngine.{cc, h}
  11631. * src/DownloadEngineFactory.cc
  11632. * src/FileAllocationCommand.cc
  11633. * src/FileAllocationDispatcherCommand.cc
  11634. * src/FillRequestGroupCommand.cc
  11635. * src/FtpInitiateConnectionCommand.cc
  11636. * src/HaveEraseCommand.cc
  11637. * src/HttpInitiateConnectionCommand.cc
  11638. * src/HttpResponseCommand.cc
  11639. * src/RealtimeCommand.cc
  11640. * src/RequestGroup.cc
  11641. * src/RequestGroupMan.cc
  11642. * src/StreamFileAllocationEntry.cc
  11643. * src/TimeBasedCommand.{cc, h}
  11644. * src/TimedHaltCommand.cc
  11645. 2008-04-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11646. Rewritten SharedHandle. Now copy constructor taking raw pointer has
  11647. keyword explicit and SharedHandle's default constructor initializes
  11648. its internal obj to null, old implementation initializes it using
  11649. obj's default constructor.
  11650. To assign null, write SharedHandle<T> x(...); x.reset();
  11651. TODO: test/SharedHandleTest.cc needs more tests.
  11652. * src/SharedHandle.h
  11653. 2008-04-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11654. Fixed type in man page.
  11655. * doc/aria2c.1.txt
  11656. 2008-04-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11657. Merged Ross's 0.13.1+1 Cygwin compile fix patch.
  11658. * src/SimpleLogger.{cc, h}
  11659. 2008-04-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11660. Implemented auto protocol detection.
  11661. Now you can do:
  11662. aria2c -Z http://host/file file1.torrent file2.metalink
  11663. (Note: -Z option is required for auto protcol detection.)
  11664. Then aria2c downloads 3 files simultaneously:
  11665. 1. http://host/file
  11666. 2. file1.torrent <-- read local torrent file
  11667. 3. file2.metalink <-- read local Metalink file.
  11668. Same thing goes with -i option. Assume your uris.txt contans:
  11669. http://host/file
  11670. file1.torrent
  11671. file2.metalink
  11672. Then you can do: aria2c -i uris.txt
  11673. (Note: -Z option is not needed if -i option is given.)
  11674. * src/main.cc
  11675. * src/ProtocolDetector.{cc, h}
  11676. * test/ProtocolDetectorTest.cc
  11677. 2008-04-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11678. Fixed compile error without gnutls/libgcrypt/libgpg-error and openSSL
  11679. installed
  11680. * src/ARC4Encryptor.h
  11681. * src/ARC4Decryptor.h
  11682. 2008-04-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11683. Renamed argument from 'errno' to 'err', since errno is confused with
  11684. errno defined in errno.h.
  11685. * src/LibgcryptARC4Decryptor.h
  11686. * src/LibgcryptARC4Context.h
  11687. * src/LibgcryptDHKeyExchange.h
  11688. * src/LibgcryptARC4Encryptor.h
  11689. 2008-04-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11690. Rewritten choking algorithm.
  11691. * src/PeerChokeCommand.{cc, h}
  11692. * src/BtInterestedMessage.cc
  11693. * src/PeerSessionResource.{cc, h}
  11694. * src/DefaultPeerStorage.{cc, h}
  11695. * src/BtNotInterestedMessage.cc
  11696. * src/DefaultBtMessageDispatcher.{cc, h}
  11697. * src/BtMessageDispatcher.h
  11698. * src/Peer.{cc, h}
  11699. * src/BtLeecherStateChoke.{cc, h}
  11700. * src/BtSetup.cc
  11701. * src/BtSeederStateChoke.{cc, h}
  11702. * src/PeerStorage.h
  11703. * test/MockPeerStorage.h
  11704. * test/MockBtMessageDispatcher.h
  11705. 2008-04-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11706. Fixed compilation error on x84-64 platform.
  11707. * src/AuthConfig.cc: Included ostream.
  11708. 2008-03-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11709. Rewritten getBasename() and getDirname(), without standard library
  11710. basename(), dirname().
  11711. * src/File.cc
  11712. * test/FileTest.cc
  11713. 2008-03-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11714. Added Simplified Chinese translation. Also updated the following
  11715. translations: Polish, Dutch, German. Great thanks to all translators.
  11716. 2008-03-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11717. Suppress content-range error when 'Content-Range' response header
  11718. doesn't contains bytes-unit specifier 'bytes'
  11719. * src/HttpHeader.cc (getRange)
  11720. * test/HttpHeaderTest.cc
  11721. 2008-03-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11722. Fixed compilation error with g++-4.3
  11723. 2008-03-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11724. Added missing include files for MinGW
  11725. * test/HttpHeaderProcessorTest.cc
  11726. * test/DHTRoutingTableSerializerTest.cc
  11727. * test/DHTRoutingTableDeserializerTest.cc
  11728. * test/UriListParserTest.cc
  11729. 2008-03-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11730. Now download line is printed nicely with no garbage at the end of
  11731. line. I use ioctl to get the columns of terminal.
  11732. If stdout is redirected to another device, instead of carriage return,
  11733. end of line '\n' character is used. This is feature request#1909659
  11734. * src/ConsoleStatCalc.cc (calculateStat)
  11735. 2008-03-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11736. Included a2time.h
  11737. * src/DHTMessageDispatcher.h
  11738. * src/DHTMessageEntry.h
  11739. * src/DHTReplaceNodeTask.h
  11740. * src/DHTMessageTracker.h
  11741. * src/Util.h
  11742. * src/CookieBox.h
  11743. * src/SocketCore.h
  11744. * src/DefaultBtMessageDispatcher.h
  11745. * src/SocketCore.cc
  11746. * src/Util.cc
  11747. * src/DHTPingTask.h
  11748. 2008-03-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11749. Fixed high memory footprint when DHT is enabled.
  11750. This is not a memory leak, but DHTReplaceNodeTask is more frequently
  11751. queued than it is processed and the queue is getting longer. As a
  11752. consequence, momory usage is increased.
  11753. As for a fix, instead of issuing DHTReplaceNodeTask, I've implemented
  11754. replacement cache in DHTBucket which is described in Kademlia paper.
  11755. * src/DHTRoutingTable.cc (addNode): Removed the issuing of
  11756. DHTReplaceNodeTask.
  11757. * src/DHTBucket.{h, cc}
  11758. (cacheNode): New function.
  11759. (getCachedNodes): New function.
  11760. (dropNode): Push back cached node to _nodes.
  11761. * test/DHTBucketTest.cc
  11762. (testCacheNode): New test
  11763. (testDropNode): New test
  11764. 2008-03-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11765. Allocate memory for peekBuf in initiateSecureConnection() to avoid
  11766. the unused 4KB memory when ssl is not used.
  11767. * src/SocketCore.cc
  11768. 2008-03-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11769. Added summary log for peer announce storage.
  11770. * src/DHTPeerAnnounceStorage.cc (handleTimeout)
  11771. Removed cast
  11772. * src/DefaultPeerStorage.cc (addPeer)
  11773. Log exception message
  11774. * src/DHTMessageTracker.cc (handleTimeout)
  11775. Fixed casting
  11776. * test/HttpRequestTest.cc
  11777. * test/MetalinkProcessorTest.cc
  11778. * test/PieceTest.cc
  11779. * test/MetalinkEntryTest.cc
  11780. * test/SequenceTest.cc
  11781. 2008-03-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11782. * src/ParameterizedStringParser.cc (createLoop):
  11783. Removed unused variable sstep.
  11784. * src/AlphaNumberDecorator.h (decode): Rewritten.
  11785. 2008-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11786. * src/Util.{h, cc}
  11787. (parseUInt): New function.
  11788. (alphaToNum): Now returns unsigned int and 0 when overflow detected.
  11789. The actual range is uint32_t.
  11790. * test/UtilTest.cc
  11791. * src/ParameterizedStringParser.cc:
  11792. Use Util::parseUInt() for loop variables.
  11793. * test/ParameterizedStringParserTest.cc
  11794. * src/PStringNumLoop.h: Make _startValue and _endValue unsigned int.
  11795. 2008-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11796. Rewritten the functions for binding port.
  11797. * src/DHTConnectionImpl.{h, cc}
  11798. * src/PeerListenCommand.{h, cc}
  11799. * src/DHTSetup.cc
  11800. * src/BtSetup.cc
  11801. * test/DHTConnectionImplTest.cc
  11802. 2008-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11803. type cleanup for allmost all remaining files.
  11804. 2008-03-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11805. Type clarification
  11806. * src/PeerSessionResource.{h, cc}
  11807. * src/DefaultPieceStorage.{h, cc}
  11808. * src/Peer.{h, cc}
  11809. * test/PeerSessionResourceTest.cc
  11810. Use div function
  11811. * src/BtPieceMessage.cc (erasePieceOnDisk)
  11812. 2008-03-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11813. Type clarification
  11814. * src/DefaultPeerStorage.{h, cc}
  11815. * test/DefaultPeerStorageTest.cc
  11816. 2008-03-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11817. Type clarification: size_t for length or size, uint64_t for file
  11818. length, off_t for file offset.
  11819. * src/DefaultBtProgressInfoFile.cc
  11820. * src/DefaultBtContext.{h, cc}
  11821. * src/DefaultBtInteractive.cc
  11822. * src/DownloadCommand.{h, cc}
  11823. * src/IteratableChunkChecksumValidator.{h, cc}
  11824. * src/SegmentMan.{h, cc}
  11825. * src/SingleFileDownloadContext.{h, cc}
  11826. * src/IteratableChecksumValidator.{h, cc}
  11827. * src/BtContext.h
  11828. * src/IteratableValidator.h
  11829. * src/DownloadContext.h
  11830. * test/SingleFileDownloadContextTest.cc
  11831. * test/DefaultBtContextTest.cc
  11832. * test/MockBtContext.h
  11833. * test/Metalink2RequestGroupTest.cc
  11834. 2008-03-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11835. Type clarification: size_t for length or size, uint64_t for file
  11836. length, off_t for file offset.
  11837. * src/PiecedSegment.cc
  11838. * src/GrowSegment.h
  11839. * src/DefaultBtRequestFactory.h
  11840. * src/DefaultBtProgressInfoFile.cc
  11841. * src/UnknownLengthPieceStorage.h
  11842. * src/DefaultPieceStorage.cc
  11843. * src/UnknownLengthPieceStorage.cc
  11844. * src/DefaultBtInteractive.cc
  11845. * src/GrowSegment.cc
  11846. * src/BitfieldMan.h
  11847. * src/DownloadCommand.cc
  11848. * src/BtRequestFactory.h
  11849. * src/PiecedSegment.h
  11850. * src/DefaultPieceStorage.h
  11851. * src/Piece.cc
  11852. * src/DefaultBtRequestFactory.cc
  11853. * src/PieceStorage.h
  11854. * src/Segment.h
  11855. * src/Piece.h
  11856. * src/BitfieldMan.cc
  11857. * src/Util.cc
  11858. * test/DefaultBtProgressInfoFileTest.cc
  11859. * test/DefaultPieceStorageTest.cc
  11860. * test/MockPieceStorage.h
  11861. * test/BtRequestMessageTest.cc
  11862. * test/DefaultBtMessageDispatcherTest.cc
  11863. * test/BitfieldManTest.cc
  11864. * test/GrowSegmentTest.cc
  11865. * test/PieceTest.cc
  11866. * test/SegmentTest.cc
  11867. * test/SegmentManTest.cc
  11868. * test/DefaultBtRequestFactoryTest.cc
  11869. * test/MockBtRequestFactory.h
  11870. 2008-03-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11871. Fixed compilation error with --disable-nls
  11872. It seems that defining gettext(Msgid) to ((const char *) (Msgid))
  11873. in gettext.h causes the problem.
  11874. * src/common.h
  11875. 2008-03-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11876. Removed subPiece related functions.
  11877. * src/Piece.{h, cc} : Also rewritten getCompletedLength().
  11878. * src/DefaultPieceStorage.{h, cc}
  11879. * test/PieceTest.cc
  11880. * test/DefaultPieceStorageTest.cc
  11881. 2008-03-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11882. Use unsigned char for data store.
  11883. 2008-03-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11884. Bump up version number to 0.13.0+1
  11885. * configure.ac
  11886. * Release 0.13.0+1
  11887. 2008-03-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11888. Changed inactive connection timeout to 120.
  11889. To accept more mulually interested peers, disconnect peer when there
  11890. is no interest between us after certain time passed.
  11891. * src/DefaultBtInteractive.cc (checkActiveInteraction)
  11892. 2008-03-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11893. Fixed the bug that aria2 only uses first dns server in resolv.conf
  11894. when compiled with async DNS support.
  11895. * src/DownloadEngine.cc
  11896. * src/option_processing.cc: Lengthened DNS timeout to 30. I think old
  11897. value '10' will be a little bit short when some DNS servers are
  11898. offline and several DNS servers are tried. It should be configured
  11899. by command-line option.
  11900. 2008-03-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11901. Merged Ross's mingw patch.
  11902. * src/DHTRoutingTableDeserializer.cc
  11903. * src/DHTRoutingTableSerializer.cc
  11904. * src/Platform.{h, cc}
  11905. * src/timegm.h
  11906. * src/gettimeofday.h
  11907. * src/getaddrinfo.h
  11908. * src/SocketCore.h
  11909. * src/common.h
  11910. * src/inet_aton.h
  11911. * src/DownloadEngine.h
  11912. * src/gai_strerror.h
  11913. * src/a2netcompat.h
  11914. * configure.ac
  11915. * configure
  11916. * aclocal.m4
  11917. 2008-03-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11918. Included missing iostream.
  11919. * test/AllTest.cc
  11920. * test/BtDependencyTest.cc
  11921. * test/BtExtendedMessageTest.cc
  11922. * test/DHTConnectionImplTest.cc
  11923. * test/DHTMessageFactoryImplTest.cc
  11924. * test/DHTMessageTrackerEntryTest.cc
  11925. * test/DHTNodeTest.cc
  11926. * test/DHTRoutingTableSerializerTest.cc
  11927. * test/DefaultBtAnnounceTest.cc
  11928. * test/DefaultBtContextTest.cc
  11929. * test/DefaultBtMessageFactoryTest.cc
  11930. * test/DefaultExtensionMessageFactoryTest.cc
  11931. * test/HandshakeExtensionMessageTest.cc
  11932. * test/HttpResponseTest.cc
  11933. * test/MetalinkProcessorTest.cc
  11934. * test/MultiFileAllocationIteratorTest.cc
  11935. * test/SocketCoreTest.cc
  11936. * test/UTPexExtensionMessageTest.cc
  11937. 2008-03-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11938. Reorganized includes.
  11939. * src/NameResolver.cc
  11940. 2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11941. Fixed compilation error without ares/c-ares
  11942. * src/NameResolver.h:
  11943. 2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11944. Added a test for large file.
  11945. * test/MetalinkProcessorTest.cc (testLargeFileSize):
  11946. 2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11947. Fixed the bug that file size is ignored if size > INT32_MAX
  11948. * src/SizeMetalinkParserState.cc (endElement):
  11949. 2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11950. Bump up version number to 0.13.0
  11951. * configure.ac
  11952. * Release 0.13.0
  11953. 2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11954. Updated Makfefile.am to make 'make dist' work.
  11955. Now packaged filename is aria2c-VERSION.tar.bz2.
  11956. Added README, README.html, and aria2c.1.html to dist_doc_DATA.
  11957. Added LICENSE.OpenSSL to dist_noinst_DATA.
  11958. Large file support is now configured by configure script.
  11959. * configure.ac
  11960. Removed unsused source files
  11961. * src/
  11962. * test/
  11963. Removed PeerDecl.h and BtContextDecl.h. typedefs are removed to
  11964. Peer.h and BtContext.h respectively.
  11965. * src/Peer.h
  11966. * src/BtContext.h
  11967. Updated translations.
  11968. Added Polish, Thai, Indonesian, Norwegian Nynorsk, Hungarian
  11969. translations. Great thanks to all translators!;)
  11970. * po/*.{po, gmo}
  11971. 2008-02-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11972. Create MessageDigestHelper::staticSHA1DigestInit() which uses
  11973. statically declared sha1 MessageDigestContext.
  11974. * src/BtPieceMessage.cc: Use staticSHA1DigestInit() to avoid
  11975. initialization of short-lived MessageDigestContext.
  11976. * src/MessageDigestHelper.{h, cc}
  11977. * src/main.cc
  11978. Now DownloadCommand has a reference to MessageDigestContext to avoid
  11979. the initialization of MessageDigestContext every time in validating
  11980. chunk checksum.
  11981. * src/DownloadCommand.{h, cc}
  11982. 2008-02-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11983. Add a file descriptor which connected to fast peer(latency<1500) to
  11984. select(). This change reduced CPU load.
  11985. * src/PeerInteractionCommand.cc
  11986. * src/DefaultBtInteractive.{h, cc}
  11987. * src/BtInteractive.h
  11988. 2008-02-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11989. Fixed the previous insufficient fix for possible busy loop.
  11990. * src/MSEHandshake.cc (identifyHandshakeType)
  11991. Removed unused functions.
  11992. * src/MSEHandshake.{h, cc} (readDataAndDecrypt)
  11993. 2008-02-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11994. Fixed possible busy loop if first 20 bytes are not received for a few
  11995. minutes.
  11996. * src/MSEHandshake.{h, cc} (identifyHandshakeType)
  11997. * src/ReceiverMSEHandshakeCommand.cc
  11998. 2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  11999. Fixed compilation error
  12000. * src/ExpatMetalinkProcessor.cc
  12001. 2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12002. Fixed compile error on Mac OS X, on 64Bit OS maybe.
  12003. * src/DHTBucket.cc
  12004. Removed unnecessary cast.
  12005. * src/HandshakeExtensionMessage.cc
  12006. 2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12007. Fixed the bug that option handler for PREF_METALINK_ENABLE_UNIQUE_PROTOCOL.
  12008. is missing.
  12009. * src/OptionHandlerFactory.cc
  12010. 2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12011. Fixed the bug that HAVE message is not sent for a piece they are
  12012. downloaded fom http/ftp server before any BitTorrent handshake is done
  12013. with peers.
  12014. * src/DefaultBtInteractive.cc
  12015. 2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12016. Removed RequestInfo.h and FileAllocator.h since they have been removed.
  12017. * src/Makefile.am
  12018. * src/Makefile.in
  12019. 2008-02-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12020. Updated README. Added html version of README and man page.
  12021. * README
  12022. * README.html
  12023. * readme2html: Shell script to generate README.html from README using
  12024. asciidoc.
  12025. * doc/aria2c.1.html
  12026. * doc/makeman: Added the line to generate aria2c.1.html
  12027. 2008-02-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12028. Fixed offset calculation.
  12029. * src/LibgcryptDHKeyExchange.h (computeSecret)
  12030. 2008-02-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12031. Rewritten itos and uitos using template. llitos and ullitos are
  12032. replaced with itos and uitos respectively.
  12033. * src/Util.{h, cc}
  12034. * test/UtilTest.cc
  12035. 2008-02-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12036. Fixed the bug that DH key exchange sometimes fails due to bad handling
  12037. of the number of bytes required for storing public key and shared
  12038. secret.
  12039. * src/LibgcryptDHKeyExchange.h
  12040. * src/LibsslDHKeyExchange.h: Also added function name to handleError.
  12041. * src/MSEHandshake.cc
  12042. * test/DHKeyExchangeTest.cc
  12043. 2008-02-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12044. Removed since they are not used.
  12045. * src/Xml2MetalinkProcessor.{h, cc}
  12046. * src/Socket.cc
  12047. * src/SegmentSplitter.{h, cc}
  12048. * test/Xml2MetalinkProcessorTest.cc
  12049. 2008-02-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12050. Fixed the bug that prevents aria2 from stopping other than by pressing
  12051. Ctrl-C in BitTorrent download. It is reproducible using --seed-time
  12052. option. aria2 doesn't stop even after --seed-time is satisfied and
  12053. continues to output blank lines in the console.
  12054. * src/ReceiverMSEHandshakeCommand.cc
  12055. * src/PeerReceiveHandshakeCommand.cc
  12056. * src/PeerListenCommand.cc
  12057. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12058. Bump up version number to 0.13.0rc
  12059. * configure.ac
  12060. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12061. Updated man page and some usage text.
  12062. * doc/aria2c.1.txt
  12063. * src/usage_text.h
  12064. * po/*.{po, gmo}
  12065. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12066. Updated translations. Added Finnish and Hebrew translations.
  12067. Great thanks to all translators!
  12068. * po/*.{po, gmo}
  12069. * po/LINGUAS
  12070. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12071. Log more detailed information about each message.
  12072. * src/DHTQueryMessage.{h, cc}
  12073. * src/DHTGetPeersMessage.{h, cc}
  12074. * src/DHTFindNodeReplyMessage.{h, cc}
  12075. * src/DHTGetPeersReplyMessage.{h, cc}
  12076. * src/DHTAnnouncePeerMessage.{h, cc}
  12077. * src/DHTResponseMessage.{h, cc}
  12078. * src/DHTFindNodeMessage.{h, cc}
  12079. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12080. Use constants defined in prefs.h
  12081. * src/option_processing.cc
  12082. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12083. * test/AllTest.cc: Added OpenSSL, GNUTLS initialization code.
  12084. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12085. Make room for future enchancements for IPv6 addresses.
  12086. Bump up version number of dht.dat file format to 2.
  12087. Not compatible with previous version.
  12088. * src/DHTRoutingTableSerializer.cc
  12089. * src/DHTRoutingTableDeserializer.cc
  12090. * test/DHTRoutingTableSerializerTest.cc
  12091. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12092. Added handling for the return values from
  12093. PeerMessageUtil::createcompact().
  12094. * src/DefaultBtContext.cc (computeFastSet):
  12095. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12096. Fixed abort when peer's ip address is IPv4-mapped address.
  12097. * src/DefaultBtContext.cc (computeFastSet)
  12098. Removed number-and-dots criteria, since Util::isNumberAndDotsNotation()
  12099. cannot handle IPv4-mapped addresses.
  12100. * src/DefaultBtInteractive.cc (addPeerExchangeMessage)
  12101. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12102. Proper return value handling for OpenSSL functions.
  12103. * src/LibsslDHKeyExchange.h
  12104. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12105. Random bytes generation using libgcrypt and OpenSSL.
  12106. * src/DHTUtil.{h, cc}
  12107. * test/DHTUtilTest.cc
  12108. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12109. Fixed segmentation fault when a DHT message which doesn't have 'y' key
  12110. received.
  12111. * src/DHTMessageReceiver.cc (receiveMessage)
  12112. 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12113. Fixed the bug that a return code is always 0. BUG#1897704
  12114. If error occurred during the download or there exist unfinished
  12115. downloads, aria2 returns with code 1.
  12116. * src/RequestGroupMan.{h, cc}
  12117. * src/MultiUrlRequestInfo.{h, cc}
  12118. * src/main.cc
  12119. 2008-02-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12120. IPv6 support for SocketCore class.
  12121. TODO: In SocketCore::establishConnection(), this is insufficient to
  12122. determin the failure of connect() here because the socket is
  12123. non-blocking state. The next addresses should be tried after select().
  12124. TODO: NameResolver still uses c-ares(<= 1.4) ares_gethostbyname().
  12125. If c-ares 1.5 or newer is installed, ares_getaddrinfo() should be used
  12126. instead which address family independent.
  12127. TODO: DHTRoutingTable{Deserializer,Serializer} currently saves peer
  12128. information in a compact peer format which is for IPv4 only.
  12129. Some BitTorrent functions in PeerMessageUtil still depends on IPv4 but
  12130. this is a spec of BitTorrent protocol.
  12131. * src/SocketCore.{h, cc}
  12132. * src/PeerMessageUtil.cc
  12133. * test/SocketCoreTest.cc
  12134. * test/PeerMessageUtilTest.cc
  12135. * test/DHTConnectionImplTest.cc
  12136. Handle IPv4-mapped addresses.
  12137. * src/DHTNode.cc: Now identity is determined by node id.
  12138. * src/DHTMessageTrackerEntry.cc
  12139. Because now PeerMessageUtil::unpackcompact() could fail, the caller
  12140. should handle it.
  12141. * src/DHTRoutingTableDeserializer.cc
  12142. * src/DHTMessageFactoryImpl.cc
  12143. 2008-02-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12144. Change the unit of --stop option from a minute to a second.
  12145. * src/usage_text.h
  12146. * src/DownloadEngineFactory.cc
  12147. * src/OptionHandlerFactory.cc
  12148. * src/message.h
  12149. * src/TimedHaltCommand.cc
  12150. 2008-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12151. Make listening socket non-block mode.
  12152. * src/FtpConnection.cc
  12153. * src/FtpNegotiationCommand.{h, cc}
  12154. * src/PeerListenCommand.cc
  12155. Fixed the bug that cause slow ftp negotiation.
  12156. * src/FtpNegotiationCommand.{h, cc}
  12157. 2008-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12158. Added basic tag to --enable-dht, --dht-listen-port option.
  12159. * src/HelpItemFactory.cc (createHelpItems)
  12160. 2008-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12161. Updated text.
  12162. * src/usage_text.h
  12163. 2008-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12164. * src/MSEHandshake.cc (encryptAndSendData): Use std::min().
  12165. 2008-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12166. Determin _threadtholdSpeed in each constructor for
  12167. ActivePeerConnectionCommand and PeerReceiveHandshakeCommand.
  12168. * src/ActivePeerConnectionCommand.{h, cc}
  12169. * src/PeerReceiveHandshakeCommand.{h, cc}
  12170. * src/BtSetup.cc
  12171. * src/BtConstants.h
  12172. 2008-02-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12173. Added --bt-min-crypto-level and --bt-require-crypto options.
  12174. * src/OptionHandlerFactory.cc
  12175. * src/MSEHandshake.cc
  12176. * src/HelpItemFactory.cc
  12177. * src/option_processing.cc
  12178. * src/ReceiverMSEHandshakeCommand.cc
  12179. * src/prefs.h
  12180. * src/DefaultBtAnnounce.cc
  12181. * src/InitiatorMSEHandshakeCommand.cc
  12182. * src/usage_text.h
  12183. * test/MSEHandshakeTest.cc
  12184. 2008-02-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12185. Bump version number to 0.13.0b
  12186. * configure.ac
  12187. 2008-02-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12188. Updated doc.
  12189. * src/MessageDigestHelper.h:
  12190. 2008-02-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12191. Use raw message digest as a token instead of its hexadecimal
  12192. representation.
  12193. * src/DHTTokenTracker.cc (generateToken)
  12194. 2008-02-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12195. Added Message Stream Encryption(MSE) support.
  12196. Currently, aria2 accepts incoming connections with Obfuscation Header
  12197. and legacy BitTorrent Header and establishes connections with
  12198. Obfuscation Header first and if failed then retry with legacy
  12199. BitTorrent header. If plain text and ARC4 is provided, aria2 always
  12200. choose ARC4. The new option to change the default behavior is planned.
  12201. For tracker extension, "supportcrypto=1" is added statically.
  12202. * src/PeerInitiateConnectionCommand.{h, cc}
  12203. * src/PeerConnection.{h, cc}
  12204. * src/HandleRegistry.h
  12205. * src/SocketCore.h
  12206. * src/PeerReceiveHandshakeCommand.{h, cc}
  12207. * src/BtRegistry.{h, cc}
  12208. * src/PeerListenCommand.cc
  12209. * src/InitiatorMSEHandshakeCommand.{h, cc}
  12210. * src/ReceiverMSEHandshakeCommand.{h, cc}
  12211. * src/MSEHandshake.{h, cc}
  12212. * src/ARC4Encryptor.h
  12213. * src/ARC4Decryptor.h
  12214. * src/LibgcryptARC4Encryptor.h
  12215. * src/LibgcryptARC4Decryptor.h
  12216. * src/LibgcryptARC4Context.h
  12217. * src/LibsslARC4Encryptor.h
  12218. * src/LibsslARC4Decryptor.h
  12219. * src/LibsslARC4Context.h
  12220. * src/DHKeyExchange.h
  12221. * src/LibgcryptDHKeyExchange.h
  12222. * src/LibsslDHKeyExchange.h
  12223. * src/DefaultBtAnnounce.cc: Just added "supportcrypto=1" parameter.
  12224. * test/DefaultBtAnnounceTest.cc
  12225. * test/ARC4Test.cc
  12226. * test/DHKeyExchangeTest.cc
  12227. Removed prepareForRetry() because it is not used.
  12228. * src/PeerAbstractCommand.{h, cc}
  12229. * src/PeerInteractionCommand.{h, cc}
  12230. * src/PeerInitiateConnectionCommand.{h, cc}
  12231. 2008-02-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12232. Added the ability to load nodes from torrent file. These nodes are
  12233. added to the routing table when downloading that torrent.
  12234. * src/BtContext.h
  12235. * src/DefaultBtContext.{h, cc}
  12236. * src/DHTSetup.cc
  12237. * src/DHTEntryPointNameResolveCommand.{h, cc}: Now accepts list of
  12238. hostname and port pair, and resolves all of them.
  12239. * src/NameResolver.{h, cc}: Added reset().
  12240. * src/RequestGroup.cc
  12241. * test/DefaultBtContextTest.cc
  12242. * test/MockBtContext.h
  12243. Removed assert() from DefaultBtContext and throw exception instead.
  12244. * src/DefaultBtContext.cc
  12245. 2008-02-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12246. Fixed segmentation fault bug when exiting if dht is disabled.
  12247. * src/RequestGroup.cc
  12248. 2008-02-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12249. Fixed typo in log message and define the message in message.h
  12250. * src/TimedHaltCommand.cc
  12251. * src/message.h
  12252. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12253. Included RecoverableException.h to fix compilation error.
  12254. * test/DHTMessageFactoryImplTest.cc
  12255. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12256. Added test 'testDoReceivedAction' for DHTQueryMessage subclasses.
  12257. * test/DHTPingMessageTest.cc
  12258. * test/DHTGetPeersMessageTest.cc
  12259. * test/DHTFindNodeMessageTest.cc
  12260. * test/DHTAnnouncePeerMessageTest.cc
  12261. * test/MockDHTMessage.h
  12262. * test/MockDHTMessageFactory.h
  12263. * test/MockDHTMessageDispatcher.h: New class.
  12264. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12265. Added DHTMessageDispatcherImpl. Now DHTMessageDispatcher is pure
  12266. virtual.
  12267. * src/DHTMessageDispatcher.h
  12268. * src/DHTMessageDispatcherImpl.{h, cc}
  12269. * src/DHTSetup.cc
  12270. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12271. Adding handling of DHT error message. Just log error message and
  12272. throw exception.
  12273. * src/DHTMessageFactoryImpl.cc
  12274. * test/DHTMessageFactoryImplTest.cc
  12275. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12276. Added handling of dynamic cast failure.
  12277. * src/DHTNodeLookupTask.cc
  12278. * src/DHTPeerLookupTask.cc
  12279. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12280. Added the ability to stop aria2 itself when given time has passed
  12281. from start. Use --stop option to specify time in minutes.
  12282. When 0 is given, this feature is disabled.
  12283. * src/OptionHandlerFactory.cc
  12284. * src/TimeBasedCommand.h: Make _interval protected scope.
  12285. * src/HelpItemFactory.cc
  12286. * src/option_processing.cc
  12287. * src/prefs.h
  12288. * src/FillRequestGroupCommand.cc: Evaluate _e->isHaltRequested()
  12289. before calling RequestGroupMan::fillRequestGroupFromReserver().
  12290. Without this modification, the result list shows "ERR" when aria2 is
  12291. stopped by --stop option. It should be "INPR".
  12292. * src/DownloadEngine.{h, cc}
  12293. * src/DownloadEngineFactory.cc
  12294. * src/usage_text.h
  12295. * src/TimedHaltCommand.{h, cc}: New class.
  12296. 2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12297. Bootstrap through node added by port message.
  12298. Currently bootstrap is executed if the number of buckets in routing
  12299. table is 1.
  12300. * src/BtPortMessage.{h, cc}
  12301. * src/DefaultBtMessageFactory.{h, cc}
  12302. * src/PeerInteractionCommand.cc
  12303. * test/BtPortMessageTest.cc
  12304. * test/MockDHTTask.h
  12305. 2008-02-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12306. Extract the Peer class's member variables, which are only needed after
  12307. PeerInteractionCommand, into PeerSessionResource class.
  12308. This class is instantiated in PeerInteractionCommand class's ctor and
  12309. released in its dtor.
  12310. This will make Peer class lightweight and uses less memory for peers
  12311. which are not connected and wait in the queue.
  12312. * src/PeerChokeCommand.cc
  12313. * src/PeerSessionResource.{h, cc}
  12314. * src/PeerInteractionCommand.cc
  12315. * src/PeerAbstractCommand.cc: Note: 0 is given to onAbort() function.
  12316. * src/DefaultBtInteractive.cc
  12317. * src/BtPieceMessage.cc
  12318. * src/BtInterestedMessage.cc
  12319. * src/BtUnchokeMessage.cc
  12320. * src/DefaultPeerStorage.{h, cc}
  12321. * src/PeerInitiateConnectionCommand.cc
  12322. * src/ActivePeerConnectionCommand.cc
  12323. * src/BtNotInterestedMessage.cc
  12324. * src/DefaultBtMessageDispatcher.cc
  12325. * src/BtChokeMessage.cc
  12326. * src/BtRequestMessage.cc
  12327. * src/Peer.{h, cc}
  12328. * src/BtRegistry.h
  12329. * src/TrackerWatcherCommand.cc
  12330. * src/PeerReceiveHandshakeCommand.cc
  12331. * test/BtExtendedMessageTest.cc
  12332. * test/BtAllowedFastMessageTest.cc
  12333. * test/BtCancelMessageTest.cc
  12334. * test/DefaultPieceStorageTest.cc
  12335. * test/BtBitfieldMessageTest.cc
  12336. * test/BtHaveMessageTest.cc
  12337. * test/BtNotInterestedMessageTest.cc
  12338. * test/BtRequestMessageTest.cc
  12339. * test/PeerSessionResourceTest.cc
  12340. * test/DefaultBtMessageDispatcherTest.cc
  12341. * test/PeerTest.cc
  12342. * test/BtInterestedMessageTest.cc
  12343. * test/BtRejectMessageTest.cc
  12344. * test/BtChokeMessageTest.cc
  12345. * test/DefaultPeerStorageTest.cc
  12346. * test/BtHaveNoneMessageTest.cc
  12347. * test/BtHaveAllMessageTest.cc
  12348. * test/DefaultExtensionMessageFactoryTest.cc
  12349. * test/BtUnchokeMessageTest.cc
  12350. * test/DefaultBtMessageFactoryTest.cc
  12351. * test/HandshakeExtensionMessageTest.cc
  12352. * test/UTPexExtensionMessageTest.cc
  12353. * test/DefaultBtRequestFactoryTest.cc
  12354. * test/BtPieceMessageTest.cc
  12355. Removed typedef PeerStats.
  12356. * src/PeerStat.h
  12357. * src/SegmentMan.cc
  12358. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12359. Added std namespace to copy, remove_copy, back_inserter,
  12360. front_inserter.
  12361. * src/RequestGroupMan.cc
  12362. * src/DefaultPieceStorage.cc
  12363. * src/StreamFileAllocationEntry.cc
  12364. * src/BtFileAllocationEntry.cc
  12365. * src/RequestGroup.cc
  12366. * src/MetalinkEntry.cc
  12367. * src/DelegatingPeerListProcessor.cc
  12368. * src/DefaultBtRequestFactory.cc
  12369. * src/DefaultBtMessageDispatcher.cc
  12370. * src/version_usage.cc: Included <algorithm>
  12371. * src/main.cc
  12372. * src/MetalinkParserController.cc
  12373. * src/DefaultBtContext.cc
  12374. * src/DownloadEngineFactory.cc
  12375. * src/a2algo.h
  12376. Removed.
  12377. * test/StreamUriListParserTest.cc
  12378. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12379. Use PREF_MAX_DOWNLOAD_LIMIT as a threshold for
  12380. ActivePeerConnectionCommand when it is given and
  12381. PREF_MAX_DOWNLOAD_LIMIT < default threshold.
  12382. * src/ActivePeerConnectionCommand.{h, cc}
  12383. * src/BtSetup.cc
  12384. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12385. Only add socket to DownloadEngine's select routine when peer or
  12386. localhost is unchoked and interested. This lowers CPU usage a
  12387. little bit.
  12388. * src/PeerInteractionCommand.cc
  12389. * src/PeerAbstractCommand.{h, cc}
  12390. * src/BtInteractive.h
  12391. * src/DefaultBtInteractive.{h, cc}
  12392. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12393. Revert previous change because get_peers message is needed for
  12394. announce_peer anyway.
  12395. * src/DHTGetPeersCommand.cc
  12396. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12397. Request peers thought DHT only when download hasn't finished.
  12398. * src/DHTGetPeersCommand.cc
  12399. 2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12400. Force refresh bucket when startup if certain time has passed(currently 15 minutes).
  12401. * src/DHTBucketRefreshTask.{h, cc}
  12402. * src/DHTSetup.cc
  12403. 2008-02-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12404. Removed "using namespace std;" from all sources. Appended std:: prefix to c++
  12405. standard classes.
  12406. Included string.h where mem* function are used.
  12407. Added namespace aria2.
  12408. 2008-02-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12409. Create directory before saving DHT routing table.
  12410. Now ios::failure is now handled properly.
  12411. * src/DHTAutoSaveCommand.cc
  12412. 2008-02-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12413. Removed unnecessary cerr.
  12414. * src/DownloadEngine.cc
  12415. 2008-02-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12416. Catch exception inside DHTMessageReceiver::receiveMessage().
  12417. Log unknown message.
  12418. * src/DHTMessageReceiver.{h, cc}
  12419. * src/DHTMessageFactory.h
  12420. * src/DHTMessageFactoryImpl.{h, cc}
  12421. * src/DHTMessageTracker.cc (handleTimeout): Catch and handle exception.
  12422. * src/DHTInteractionCommand.cc
  12423. * src/DHTUnknownMessage.{h, cc}
  12424. * test/DHTUnknownMessageTest.cc
  12425. * test/MockDHTMessageFactory.h
  12426. 2008-02-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12427. Commented out ip address comparison because a host can have multiple
  12428. ip addresses and it is hard to predict the hostname is resolved into
  12429. which one.
  12430. * test/SocketCoreTest.cc (testWriteAndReadDatagram)
  12431. 2008-02-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12432. * po/Makefile.in: Removed since this is generated by configure.
  12433. 2008-02-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12434. Fixed compiler warning about redefinition of SIZE_MAX.
  12435. Use common.h instead of config.h directly here.
  12436. * src/Platform.{h, cc}
  12437. The check of ENABLE_NLS is made in gettext.h, so it is not required
  12438. here.
  12439. * common.h
  12440. 2008-02-02 gettextize <bug-gnu-gettext@gnu.org>
  12441. Updated gettext related files.
  12442. * configure.ac (AC_CONFIG_FILES): Add intl/Makefile.
  12443. * configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.17.
  12444. 2008-02-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12445. Added DHT functionality, compatible with mainline.
  12446. DHT is disabled by default. To enable it, give --enable-dht to aria2c.
  12447. You may need to specify entry point to DHT network using
  12448. --dht-entry-point. DHT uses UDP port to listen incoming message.
  12449. Use --dht-listen-port to specify port number. Make sure that your
  12450. firewall configuration can pass through UDP traffic to the port.
  12451. The routing table is saved in $HOME/.aria2/dht.dat.
  12452. * src/DHT*
  12453. * src/BNode.{h, cc}
  12454. * src/PeerInteractionCommand.cc: enable DHT functionality for a
  12455. particular torrent.
  12456. * src/Data.cc: Rewritten ctor.
  12457. * src/OptionHandlerFactory.cc: Added --enable-dht, --dht-listen-port,
  12458. --dht-entry-point.
  12459. * src/DefaultBtInteractive.cc: Send port message if dht is enabled.
  12460. * src/RequestGroup.cc: Initialize DHT functionality. When download
  12461. ends, remove BtContext from DHTPeerAnnounceStorage.
  12462. * src/BtPortMessage.{h, cc}: Rewritten.
  12463. * src/message.h
  12464. * src/OptionHandlerImpl.cc
  12465. * src/option_processing.cc: Added --enable-dht, --dht-listen-port,
  12466. --dht-entry-point.
  12467. * src/Dictionary.{h, cc} (remove): New function.
  12468. * src/prefs.h
  12469. * src/DefaultBtMessageFactory.h
  12470. * src/BtHandshakeMessage.cc
  12471. * src/ActivePeerConnectionCommand.cc
  12472. * src/SocketCore.{h, cc}: Added datagram socket support.
  12473. * src/DefaultBtMessageFactory.cc
  12474. * src/BtSetup.cc: Add BtContext to DHTPeerAnnounceStorage here.
  12475. Create DHT commands.
  12476. * src/BtMessageFactory.h
  12477. * src/PeerMessageUtil.{h, cc}
  12478. 2008-01-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12479. Fixed the bug that log file is not written when configuration file doesn't exist.
  12480. This is caused by using Logger class before LogFactory is not configured.
  12481. BUG #1875079
  12482. * src/option_processing.cc
  12483. Warning message "configuration doesn't exist" is only printed when --conf is
  12484. given.
  12485. * src/option_processing.cc
  12486. 2008-01-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12487. Use BencodeVisitor and MessageDigestHelper instead of ShaVisitor.
  12488. ShaVisitor is now deprecated and slated to be removed.
  12489. * src/DefaultBtContext.cc
  12490. 2008-01-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12491. Externalize message to message.h
  12492. * src/Platform.cc
  12493. * src/message.h
  12494. 2008-01-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12495. Set default domain and default path to cookie.
  12496. * src/HttpResponse.cc
  12497. * src/CookieBox.{h, cc}
  12498. * src/CookieParser.{h, cc}
  12499. * test/CookieParserTest.cc
  12500. 2008-01-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12501. Added --no-conf and --conf-path command-line option.
  12502. --no-conf option disables loading aria2.conf file.
  12503. --conf-path option changes the configuration file path. The default
  12504. file path is $HOME/.aria2/aria2.conf
  12505. Added a warning message when the configuration file is not found.
  12506. * src/HelpItemFactory.cc
  12507. * src/option_processing.cc
  12508. * src/prefs.h
  12509. * src/usage_text.h
  12510. 2008-01-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12511. Added the message to inform users that other help categories are
  12512. available in -h option.
  12513. * src/version_usage.cc
  12514. * src/TagContainer.{h, cc}
  12515. * test/TagContainerTest.cc
  12516. * src/TaggedItem.{h, cc}
  12517. * test/TaggedItemTest.cc
  12518. * src/HelpItem.h
  12519. 2008-01-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12520. Added Piece::getFirstMissingBlockIndexWithoutLock() and it is called
  12521. from PiecedSegment's ctor.
  12522. Previously Piece::getAllMissingBlockIndexes() is called from
  12523. PiecedSegment() but it is rather expensive since only first element is
  12524. used.
  12525. * src/PiecedSegment.cc
  12526. * src/Piece.{h, cc}
  12527. 2008-01-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12528. Rewritten get*Missing*Index functions. Now no need to allocate memory
  12529. each time these functions are called.
  12530. * src/BitfieldMan.{h, cc}
  12531. * test/BitfieldManTest.cc
  12532. * src/array_fun.h
  12533. * test/array_funTest.cc
  12534. Now BitfieldMan::countBlock() returns BitfieldMan::blocks.
  12535. Added new BitfieldMan::countFilteredBlock() to get the number of blocks
  12536. filtered. Removed unnecessary cast to int32_t.
  12537. * src/BitfieldMan.{h, cc}
  12538. 2008-01-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12539. Fixed the bug that EX_TOO_LONG_PAYLOAD exception is thrown if just
  12540. payload length(4bytes) are received. This happens because lenbufLength
  12541. is not updated in this particular case and successive call of
  12542. receiveMessage() overwrites payload length with bytes recieved which
  12543. are payload body.
  12544. * src/PeerConnection.{h, cc}
  12545. * src/message.h
  12546. 2008-01-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12547. Fixed the bug that DefaultPeerStorage::returnPeer() may delete wrong
  12548. peer if there are peers that have same ipaddr and port.
  12549. I've experiened segmentation fault and "pure virtual function was
  12550. called" error.
  12551. * src/Peer.h
  12552. * test/PeerTest.cc
  12553. * src/DefaultPeerStorage.cc
  12554. * test/DefaultPeerStorageTest.cc
  12555. 2008-01-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12556. Removed a call to isPowerOf() because it is no longer necessary here
  12557. and a request block is not always power of 2.
  12558. BUG#1866924
  12559. * src/PeerMessageUtil.cc (checkLength)
  12560. 2008-01-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12561. Fixed the bug that always first found Segment is removed from
  12562. usedSegmentEntries. Removed unused functions.
  12563. * src/SegmentMan.{h, cc}
  12564. * test/SegmentManTest.cc
  12565. Fixed the bug that ServerHost is not removed.
  12566. * src/RequestGroup.cc
  12567. 2008-01-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12568. Fixed the bug that SegmentMan::completeSegment() is not called
  12569. even if Segment is complete when --lowest-speed-limit is enabled.
  12570. BUG#1864525
  12571. * src/DownloadCommand.{h, cc}
  12572. 2008-01-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12573. Fixed: hash algorithm 'sha1' is always used.
  12574. * src/DownloadCommand.cc (validatePieceHash)
  12575. 2008-01-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12576. Added --enable-peer-exchange command-line option.
  12577. * src/OptionHandlerFactory.cc
  12578. * src/HelpItemFactory.cc
  12579. * src/option_processing.cc
  12580. * src/usage_text.h
  12581. 2008-01-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12582. Move extension from BtRuntime to ExtensionMessageFactory, because
  12583. extension can be specified per peer, not per torrent.
  12584. * src/DefaultBtInteractive.cc
  12585. * src/BtRuntime.h
  12586. * src/ExtendedMessagingAware.h
  12587. * src/ExtensionMessageFactory.h
  12588. * src/DefaultExtensionMessageFactory.cc
  12589. * test/DefaultExtensionMessageFactoryTest.cc
  12590. 2008-01-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12591. Added categorized option help. Specify category using --help option.
  12592. Also added the ability to search options in forward match.
  12593. * src/HelpItem.{h, cc}
  12594. * test/HelpItemTest.cc
  12595. * src/HelpItemFactory.{h, cc}
  12596. * src/TagContainer.{h, cc}
  12597. * test/TagContainerTest.cc
  12598. * src/option_processing.cc
  12599. * src/prefs.h
  12600. * src/TaggedItem.{h, cc}
  12601. * test/TaggedItemTest.cc
  12602. * src/version_usage.cc
  12603. * src/help_tags.h
  12604. * src/usage_text.h
  12605. 2008-01-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12606. Fixed segmentation fault when bad torrent metainfo is parsed.
  12607. Added dynamic_cast properly to detect the misconfiguration of metainfo
  12608. and then throw exception or skip it.
  12609. * src/DefaultBtContext.{h, cc}
  12610. * test/DefaultBtContextTest.cc
  12611. * src/AnnounceList.cc
  12612. * src/CompactPeerListProcessor.cc
  12613. * src/message.h
  12614. * src/DefaultBtAnnounce.{h, cc}
  12615. * test/DefaultBtAnnounceTest.cc
  12616. * src/BencodeVisitor.cc
  12617. 2007-12-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12618. Added missing "B"(=Byte). So now the message looks like this:
  12619. Your share ratio was 1.0, uploaded/downloaded=12MiB/12MiB
  12620. * src/message.h (MSG_SHARE_RATIO_REPORT)
  12621. 2007-12-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12622. Show the seed ratio after torrent downloads.
  12623. For example, after torrent download completed and --seed-time and
  12624. --seed-ratio conditions are fulfilled, following message is printed
  12625. right after "Download complete: .....":
  12626. Your share ratio was 1.0, uploaded/downloaded=12M/12M
  12627. * src/RequestGroupMan.cc
  12628. * src/RequestGroup.{h, cc}
  12629. * src/message.h
  12630. 2007-12-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12631. Remove a defunct control file. A defunct control file means that while
  12632. it exists, but the corresponding download file is missing.
  12633. After its removal, a download restarts from the beginning.
  12634. * src/RequestGroup.cc
  12635. * src/message.h
  12636. 2007-12-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12637. Allocate bitfield in Peer when it is really used. More specifically,
  12638. bitfield in Peer is allocated after the connection is established and
  12639. deallocated when the connection is dropped.
  12640. Since 2 parameters(piece length and total length) was removed from the
  12641. constructor of Peer class, many test classes were modified accordingly.
  12642. See svn log for more detailed information.
  12643. * src/PeerInteractionCommand.cc
  12644. * src/CompactPeerListProcessor.cc
  12645. * src/Peer.cc
  12646. * src/DefaultPeerListProcessor.cc
  12647. * src/PeerListenCommand.cc
  12648. * src/PeerReceiveHandshakeCommand.cc
  12649. Fixed memory leak
  12650. * src/Piece.cc
  12651. 2007-12-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12652. Changed the default value of PREF_PEER_CONNECTION_TIMEOUT and
  12653. lowestSpeedLimit in ActivePeerConnectionCommand. TODO: Make them
  12654. command-line options.
  12655. * src/option_processing.cc
  12656. * src/ActivePeerConnectionCommand.cc
  12657. 2007-12-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12658. Send have message to peer if it already has the piece.
  12659. * src/BtHaveMessage.{h, cc}
  12660. 2007-12-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12661. Removed incomingPeer. Set 0 to peer's port if it is not a listening
  12662. port.
  12663. * src/DefaultPeerStorage.{h, cc}
  12664. * test/DefaultPeerStorageTest.cc
  12665. * src/HandshakeExtensionMessage.cc
  12666. * test/HandshakeExtensionMessageTest.cc
  12667. * src/Peer.{h, cc}: Added ipaddr and port to identity comparison.
  12668. * src/PeerStorage.h
  12669. * test/MockPeerStorage.h
  12670. * src/PeerListenCommand.cc
  12671. * src/PeerReceiveHandshakeCommand.cc
  12672. 2007-12-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12673. Added --metalink-enable-unique-protocol option.
  12674. * src/Metalink2RequestGroup.cc
  12675. * src/option_processing.cc
  12676. * src/prefs.h
  12677. * src/version_usage.cc
  12678. * doc/aria2c.1.txt
  12679. * doc/aria2c.1
  12680. 2007-12-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12681. Allow a peer in incomingPeer to be added peers.
  12682. * src/DefaultPeerStorage.cc
  12683. * test/DefaultPeerStorageTest.cc
  12684. 2007-12-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12685. Fixed the bug that causes aria2 not to finish download. BUG#1855875.
  12686. I could reproduce this bug in following procedure:
  12687. 1. Stop the download at the very beginning(1% or 100KB downloaded).
  12688. 2. Restart aria2.
  12689. 3. You see the download stopped around 99%.
  12690. * src/HttpResponseCommand.cc (handleDefaultEncoding)
  12691. * src/StreamFileAllocationEntry.cc: Removed the timeout handling.
  12692. If timeout is reached, then _nextCommand is unused and it may contains
  12693. segments and they won't be canceled. Actually, timeout is not needed
  12694. here because if the server dropped connection, then retry is made.
  12695. 2007-12-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12696. Added uTorrent compatible Peer Exchange.
  12697. * src/BencodeVisitor.{h, cc}
  12698. * test/BencodeVisitorTest.cc
  12699. * src/BtConstants.h
  12700. * src/BtContext.h: Added 'private' flag.
  12701. * src/BtExtendedMessage.{h, cc}
  12702. * test/BtExtendedMessageTest.cc
  12703. * src/BtHandshakeMessage.{h, cc}: Set extended messaging bit in
  12704. reserved field.
  12705. * test/BtHandshakeMessageTest.cc
  12706. * src/BtMessageFactory.h
  12707. * src/BtRegistry.h
  12708. * src/BtRuntime.h: This class holds default extension message IDs for
  12709. aria2. By default, aria2 uses ID 8 for ut_pex.
  12710. * src/DefaultBtContext.cc
  12711. * src/DefaultBtInteractive.{h, cc}: This class holds _utPexEnabled.
  12712. When it is true, aria2 enables ut_pex. This value is set by
  12713. PeerInteractionCommand.
  12714. * src/DefaultBtMessageFactory.{h, cc}
  12715. * test/DefaultBtMessageFactoryTest.cc
  12716. * src/DefaultBtMessageReceiver.cc: Moved the code of fast extension
  12717. handling to DefaultBtInteractive class.
  12718. * src/DefaultExtensionMessageFactory.{h, cc}
  12719. * test/DefaultExtensionMessageFactoryTest.cc
  12720. * src/DefaultPeerStorage.cc: Returns false if a peer is already in
  12721. the container(peers and incomingPeers. The equality is determined by
  12722. Peer::id).
  12723. * test/DefaultPeerStorageTest.cc
  12724. * src/ExtensionMessage.h
  12725. * test/MockExtensionMessage.h
  12726. * src/ExtensionMessageFactory.h
  12727. * test/MockExtensionMessageFactory.h
  12728. * src/HandshakeExtensionMessage.{h, cc}
  12729. * test/HandshakeExtensionMessageTest.cc
  12730. * src/MetaEntry.h
  12731. * src/Peer.{h, cc}
  12732. * src/PeerInteractionCommand.cc
  12733. * src/PeerReceiveHandshakeCommand.cc: Evaluate the return value of
  12734. addIncomingPeer.
  12735. * src/PeerMessageUtil.{h, cc}
  12736. * src/PeerObject.h
  12737. * src/UTPexExtensionMessage.{h, cc}
  12738. * test/UTPexExtensionMessageTest.cc
  12739. * src/message.h
  12740. * src/prefs.h
  12741. Fixed the bug that returns incomplete data when it contains null
  12742. character. A convenient constructor was also added.
  12743. * src/Data.{h, cc}
  12744. Rewritten.
  12745. * src/CompactPeerListProcessor.cc
  12746. Fixed typos.
  12747. * src/message.h
  12748. * src/MetaFileUtil.cc
  12749. 2007-12-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12750. Added "Status Legend" label to the explanation text of 'stat' in
  12751. download result and moved it to the last. BUG#1848214
  12752. * src/RequestGroupMan.cc
  12753. 2007-12-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12754. Fixed the bug that -lexpat is always added to aria2c_LDADD.
  12755. * src/Makefie.am
  12756. * test/Makefile.am
  12757. 2007-12-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12758. Fixed the bug that prevents aria2 from loading cookie file when expire
  12759. value is greater than 2^31-1. BUG#1851066
  12760. * src/CookieBoxFactory.cc
  12761. * test/CookieBoxFactoryTest.cc
  12762. 2007-12-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12763. Fixed possible memory leak when an exception is thrown.
  12764. * src/XML2SAXMetalinkProcessor.cc
  12765. Added Expat support. If both libxml2 and Expat are installed, then
  12766. libxml2 is used by default.
  12767. MetalinkProcessorFactory chooses from XML2SAXMetalinkProcessor and
  12768. ExpatMetalinkProcessor according to the configuration.
  12769. * src/ExpatMetalinkProcessor.{h, cc}
  12770. * src/main.cc: Removed libxml2 specific header and init/free function.
  12771. * src/MetalinkProcessorFactory.{h, cc}
  12772. * src/MetalinkHelper.cc
  12773. * src/Metalinker.h: Removed unnecessary libxml2 header.
  12774. * src/MetalinkProcessor.h
  12775. * test/XML2SAXMetalinkProcessorTest.cc: Removed because
  12776. MetalinkProcessorTest is used instead.
  12777. * test/MetalinkProcessorTest.cc: Added. It is actually the same with
  12778. XML2SAXMetalinkProcessor, replaced XML2SAXMetalinkProcessor with
  12779. MetalinkProcessorFactory::newInstance().
  12780. * m4/libexpat.m4
  12781. * configure.ac: Added configuration options for libexpat.
  12782. 2007-12-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12783. Disabled -s option in metalink download.
  12784. * src/Metalink2RequestGroup.cc
  12785. 2007-12-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12786. If several protocols are available for a mirror in metalink file,
  12787. aria2 now use one of them. --metalink-preferred-protocol option was
  12788. added to specify the preference of protocol.
  12789. * src/AbstractCommand.cc
  12790. * src/OptionHandlerFactory.cc
  12791. * src/ServerHost.{h, cc}
  12792. * src/Metalink2RequestGroup.cc
  12793. * src/RequestGroup.{h, cc}
  12794. * test/RequestGroupTest.cc
  12795. * src/option_processing.cc
  12796. * src/prefs.h
  12797. * src/HttpResponseCommand.cc
  12798. * src/MetalinkResource.{h, cc}
  12799. * src/FtpNegotiationCommand.cc
  12800. * src/MetalinkEntry.{h, cc}
  12801. * src/MetalinkEntryTest.cc
  12802. 2007-12-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12803. Code cleanup and added debug log.
  12804. * src/PeerConnection.cc
  12805. 2007-12-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12806. Compiler error fix: applied the patch by Tiziano Mueller
  12807. * src/RequestGroup.cc
  12808. 2007-12-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12809. Fixed the bug: only first announce URL is tried in AnnounceTier,
  12810. in stopped and completed event.
  12811. * src/AnnounceList.{h, cc}
  12812. * test/AnnounceListTest.cc
  12813. * src/DefaultBtAnnounce.cc
  12814. * test/DefaultBtAnnounceTest.cc
  12815. Sorted URLs.
  12816. * test/Metalink2RequestGroupTest.cc
  12817. 2007-12-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12818. Removed unnecessary string copy. Updated doc and corrected indentation.
  12819. * src/Base64.cc
  12820. Fixed compilation warnings
  12821. * test/DataTest.cc
  12822. * test/HttpRequestTest.cc
  12823. * test/MetaFileUtilTest.cc
  12824. * test/RequestTest.cc
  12825. * Release 0.12.0
  12826. 2007-12-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12827. Updated translations
  12828. * po/{de,fr,ja,nl,ru}.po
  12829. Added Brazilian Portuguese, Catalan, Italian, Spanish, Swedish
  12830. translations. Many thanks to translators.
  12831. * po/{ca,es,it,pt_BR,sv}.po
  12832. * po/LINGUAS
  12833. 2007-12-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12834. Added a notice about URL
  12835. * src/version_usage.cc
  12836. 2007-12-07 Tatsuhiro Tsujikawa <tujikawa at rednoah com>
  12837. Fixed the bug#1845750; CTRL+C does not stop torrent.
  12838. aria2 repeatedly sends stopped request when tracker returns error code.
  12839. * src/AnnounceList.cc
  12840. * test/AnnounceListTest.cc
  12841. * src/AnnounceTier.h
  12842. Added a message when ctrl-c is hit.
  12843. Now second ctrl-c is also handled in signal handler.
  12844. * src/RequestGroupMan.{h, cc}
  12845. * src/RequestGroup.{h, cc}
  12846. * src/MultiUrlRequestInfo.cc
  12847. * src/DownloadEngine.cc
  12848. * src/TrackerWatcherCommand.cc
  12849. 2007-12-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12850. Code cleanup
  12851. * src/Base64.cc (encode)
  12852. 2007-12-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12853. Changed Direct/IO enable/disable procesure in file allocation routine.
  12854. * src/SingleFileAllocationIterator.cc
  12855. (SingleFileAllocationIterator):
  12856. Disable directIO if offset is not multiple of 512.
  12857. (~SingleFileAllocationIterator): Removed a call to disableDirectIO.
  12858. * src/MultiFileAllocationIterator.cc (allocateChunk):
  12859. Enable created SingleFileAllocationIterator's directIO.
  12860. * src/FileAllocationEntry.cc
  12861. (FileAllocationEntry): Enable directIO here.
  12862. (~FileAllocationEntry): Disable directIO here.
  12863. 2007-12-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12864. Fixed the bug: aria2 doesn't utilize fast set index offered by peer.
  12865. * src/Peer.{h, cc}
  12866. * src/DefaultPieceStorage.cc
  12867. * test/DefaultPieceStorageTest.cc
  12868. 2007-12-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12869. Rewritten direct I/O support routine
  12870. * src/SingleFileAllocationIterator.cc
  12871. * src/MultiDiskAdaptor.{h, cc}
  12872. * src/ByteArrayDiskWriter.h
  12873. * src/AbstractSingleDiskAdaptor.h
  12874. * src/AbstractDiskWriter.cc
  12875. * src/DefaultPieceStorage.cc
  12876. * src/DiskWriter.h
  12877. * src/BinaryStream.h
  12878. * src/IteratableChunkChecksumValidator.cc
  12879. * src/IteratableChecksumValidator.cc
  12880. * src/CheckIntegrityEntry.cc
  12881. * src/FileAllocationEntry.cc
  12882. 2007-12-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12883. Fixed typo
  12884. * src/version_usage.cc
  12885. Updated doc
  12886. * doc/aria2c.1.txt
  12887. * doc/aria2c.1
  12888. 2007-12-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12889. Fixed compile error without message digest support.
  12890. * src/FileMetalinkParserState.cc
  12891. * src/MetalinkParserController.{h, cc}
  12892. * test/XML2SAXMetalinkProcessorTest.cc
  12893. * test/MetalinkParserControllerTest.cc
  12894. 2007-12-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12895. Enable direct I/O support in checksum checking.
  12896. * src/IteratableChunkChecksumValidator.{h, cc}
  12897. * test/IteratableChunkChecksumValidatorTest.cc
  12898. * src/CheckIntegrityEntry.cc
  12899. * src/PieceHashCheckIntegrityEntry.cc
  12900. * src/IteratableChecksumValidator.{h, cc}
  12901. * src/BtCheckIntegrityEntry.cc: Added doc.
  12902. 2007-12-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12903. Added --allow-piece-length-change option.
  12904. * src/DefaultBtProgressInfoFile.cc
  12905. * test/DefaultBtProgressInfoFileTest.cc
  12906. * src/OptionHandlerFactory.cc
  12907. * src/option_processing.cc
  12908. * src/prefs.h
  12909. * src/version_usage.cc
  12910. * doc/aria2c.1.txt
  12911. * doc/aria2c.1
  12912. Fixed: duplicated result entry appears when exception is thrown in
  12913. RequestGroup::createInitiateConnectionCommand().
  12914. * src/RequestGroupMan.cc (fillRequestGroupFromReserver):
  12915. Add RequestGroup to _requestGroup after RequetGroup::
  12916. createInitiateConnectionCommand() succeeds.
  12917. Externalized message
  12918. * src/XML2SAXMetalinkProcessor.cc
  12919. * src/message.h
  12920. 2007-12-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12921. Forced download abort when received negative response from http/ftp
  12922. server.
  12923. * src/HttpResponseCommand.cc
  12924. * src/FtpNegotiationCommand.cc
  12925. * src/HttpResponse.cc
  12926. * src/FtpConnection.cc
  12927. 2007-12-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12928. Added XML2SAXMetalinkProcessor class, which is a lot faster than
  12929. the predecessor, Xml2MetalinkParser class.
  12930. I tested them against 94KB metalink file with 1234 chunk checksums.
  12931. The new one parsed it in 22msec, while it took 6000msec with old one.
  12932. * src/XML2SAXMetalinkProcessor.{h, cc}
  12933. * test/XML2SAXMetalinkProcessorTest.cc
  12934. * src/MetalinkParserController.{h, cc}
  12935. * test/MetalinkParserControllerTest.cc
  12936. * src/MetalinkParserState.h: Also added 16 subclasses.
  12937. * src/main.cc
  12938. * src/Metalink2RequestGroup.cc
  12939. * src/MetalinkHelper.cc
  12940. * src/MetalinkEntry.cc
  12941. * src/ChunkChecksum.h
  12942. Rewritten Base64 class for better performance.
  12943. * src/Base64.{h, cc}
  12944. * test/Base64Test.cc
  12945. * src/HttpRequest.cc
  12946. 2007-12-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12947. Fixed the bug#1841757: aria2 will connect to server to only get
  12948. file size.
  12949. * src/StreamFileAllocationEntry.cc
  12950. * src/option_processing.cc
  12951. * src/HttpResponseCommand.cc: Now reuse connection in segmented
  12952. downloads.
  12953. * src/FtpNegotiationCommand.cc
  12954. Suppressed wrong message when finding PreDownloadHandler
  12955. * src/RequestGroup.cc
  12956. 2007-11-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12957. Updated usage
  12958. * src/version_usage.cc
  12959. Updated man page
  12960. * doc/aria2c.1.txt
  12961. * doc/aria2c.1
  12962. Updated po files
  12963. * po/aria2c.pot
  12964. * po/*.po
  12965. * po/*.gmo
  12966. 2007-11-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12967. Eliminated g++-4.2 warning
  12968. * src/DownloadHandlerConstants.{h, cc}
  12969. * src/Util.cc
  12970. * test/MetaFileUtilTest.cc
  12971. * test/PStringBuildVisitorTest.cc
  12972. Fixed bug: --check-integrity doesn't work for multi file torrent.
  12973. * src/RequestGroup.cc
  12974. * src/BtCheckIntegrityEntry.cc
  12975. 2007-11-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12976. Fixed a2io.h
  12977. * src/a2io.h
  12978. 2007-11-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  12979. Added direct I/O support. The current implementation uses O_DIRECT,
  12980. which is not posix standard and is tested on linux 2.6.21.
  12981. Currently only file allocation uses direct I/O.
  12982. * src/SingleFileAllocationIterator.{h, cc}
  12983. * test/SingleFileAllocationIteratorTest.cc
  12984. * src/MultiFileAllocationIterator.{h, cc}
  12985. * test/MultiFileAllocationIteratorTest.cc
  12986. * src/BinaryStream.h
  12987. * src/DiskWriter.h
  12988. * src/AbstractDiskWriter.{h, cc}
  12989. * src/ByteArrayDiskWriter.h
  12990. * src/DiskAdaptor.h
  12991. * src/AbstractSingleDiskAdaptor.{h, cc}
  12992. * src/MultiDiskAdaptor.{h, cc}
  12993. * src/FileAllocationEntry.cc
  12994. * src/Util.{h, cc}
  12995. * src/OptionHandlerFactory.cc
  12996. * src/prefs.h
  12997. * src/version_usage.cc
  12998. * src/option_processing.cc
  12999. Moved FileAllocationMan::markCurrentFileAllocationEntryDone() to
  13000. handleException.
  13001. * src/MultiFileAllocationIterator.cc
  13002. Added EINTR handling
  13003. * src/SocketCore.cc
  13004. 2007-11-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13005. Updated usage
  13006. * src/version_usage.cc
  13007. 2007-11-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13008. Applied Ross's patch for MinGW port.
  13009. * src/DownloadEngine.h
  13010. 2007-11-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13011. Set Content-Type to SingleFileDownloadContext when http response is
  13012. received.
  13013. * src/HttpResponseCommand.cc
  13014. * src/HttpResponse.{h, cc}
  13015. * test/HttpResponseTest.cc
  13016. 2007-11-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13017. Rewritten to add content-type support.
  13018. * src/DownloadHandler.{h, cc}
  13019. * src/BtPostDownloadHandler.{h, cc}
  13020. * test/BtPostDownloadHandlerTest.cc
  13021. * src/MetalinkPostDownloadHandler.{h, cc}
  13022. * test/MetalinkPostDownloadHandlerTest.cc
  13023. * src/PostDownloadHandler.{h, cc}
  13024. * src/DownloadHandlerConstants.{h, cc}
  13025. * src/RequestGroup.cc
  13026. * src/HttpResponseCommand.cc
  13027. * src/FtpNegotiationCommand.cc
  13028. * src/SingleFileDownloadContext.{h, cc}
  13029. * src/RequestGroup.h
  13030. * src/RequestGroupCriteria.h
  13031. * src/ContentTypeRequestGroupCriteria.h
  13032. Added 'mem' option value for --follow-metalink, --follow-torrent.
  13033. If it is give, metalink/torrent file is not written to the disk, but
  13034. just is kept in memory. Parsing is occurred on memory.
  13035. * src/MetalinkHelper.{h, cc}
  13036. * src/MetalinkProcessor.h
  13037. * src/Xml2MetalinkProcessor.{h, cc}
  13038. * test/Xml2MetalinkProcessorTest.cc
  13039. * src/DownloadHandlerFactory.{h, cc}
  13040. * test/DownloadHandlerFactoryTest.cc
  13041. * src/PreDownloadHandler.{h, cc}
  13042. * src/OptionHandlerFactory.cc
  13043. * src/DefaultBtContext.{h, cc}
  13044. * test/DefaultBtContextTest.cc
  13045. * src/version_usage.cc
  13046. * src/Metalink2RequestGroup.{h, cc}
  13047. * src/RequestGroup.{h, cc}
  13048. * src/a2functional.h
  13049. * test/a2functionalTest.cc
  13050. * src/MemoryBufferPreDownloadHandler.{h, cc}
  13051. * src/OptionHandlerImpl.h
  13052. * src/prefs.h
  13053. * src/Util.{h, cc}
  13054. * test/UtilTest.cc
  13055. Keep DownloadResult rather than RequestGroup after downloads to reduce
  13056. memory usage.
  13057. * src/RequestGroupMan.{h, cc}
  13058. * src/DownloadEngine.cc
  13059. * src/BtDependency.{h, cc}: Changed the type of dependee from
  13060. WeakHandle to SharedHandle because WeakHandle could be null.
  13061. * src/RequestGroup.{h, cc}
  13062. * src/DownloadEngineFactory.cc
  13063. * src/DownloadResult.h
  13064. Set totalLength after download finished
  13065. * src/UnknownLengthPieceStorage.{h, cc}
  13066. Keep torrent file specified in metalink in memory.
  13067. * src/Metalink2RequestGroup.cc
  13068. * src/BtDependency.cc
  13069. * src/TrueRequestGroupCriteria.h
  13070. Fixed the bug: seekg is used where seekp should be used.
  13071. * src/ByteArrayDiskWriter.cc
  13072. * test/ByteArraydiskWriterTest.cc
  13073. 2007-11-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13074. Fixed syntax error
  13075. * test/SequenceTest.cc
  13076. 2007-11-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13077. Return false if RequestGroup::isPreLocalFileCheckEnabled() == true
  13078. * src/RequestGroupMan.cc (isSameFileBeingDownloaded)
  13079. Return false if RequestGroup::isPreLocalFileCheckEnabled() == true
  13080. * src/RequestGroup.cc (downloadFinishedByFileLength)
  13081. 2007-11-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13082. Added the check to see whether ares_host_callback accepts timeouts
  13083. with c-ares; only c-ares 1.5.0 or newer accepts it.
  13084. * src/NameResolver.{h, cc}
  13085. * m4/libcares.m4
  13086. * configure.ac: Set C++ for language choice.
  13087. 2007-11-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13088. Fixed: compilation fails without c-ares/ares
  13089. * src/DownloadEngine.cc (addCommand): Moved outside #ifdef
  13090. Generate http/ftp commands only when download is incomplete.
  13091. * src/BtFileAllocationEntry.cc (prepareForNextAction)
  13092. 2007-11-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13093. Corrected typo. Examples are removed since they are available in man
  13094. page.
  13095. * src/version_usage.cc
  13096. Updated man page.
  13097. * doc/aria2c.1
  13098. * doc/aria2c.1.txt
  13099. * doc/makeman: Commented out sed command.
  13100. 2007-11-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13101. Throw DlAbortEx when a remote file is not found.
  13102. * src/HttpResponse.cc
  13103. * src/FtpNegotiationCommand.cc
  13104. * src/message.h
  13105. Overwrite an existing file if --allow-overwrite=true is given.
  13106. * src/RequestGroup.cc
  13107. Removed unused functions
  13108. * src/AbstractCommand.h
  13109. 2007-11-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13110. Removed 'extern' from 'extern typedef ...' in src/*.h
  13111. 2007-11-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13112. Updated usage
  13113. * src/version_usage.cc
  13114. 2007-11-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13115. Trim announce URL
  13116. * src/DefaultBtContext.cc
  13117. * test/ShaVisitorTest.cc
  13118. Trim argument s. Give trimed s to exception constructor.
  13119. * src/Util.cc (parseInt)(parseLLInt)
  13120. * test/UtilTest.cc
  13121. 2007-11-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13122. Set precision back to 1.
  13123. * src/ConsoleStatCalc.cc (calculateStat)
  13124. 2007-11-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13125. Replaced strtol with Util::parseInt
  13126. * src/ChunkedEncoding.cc
  13127. * src/HttpConnection.cc
  13128. * src/CookieBoxFactory.cc
  13129. * src/ParameterizedStringParser.cc
  13130. * src/Util.cc
  13131. * test/UtilTest.cc
  13132. * test/OptionHandlerTest.cc
  13133. * src/Request.cc
  13134. Throw exception when empty string is given. The message for exception
  13135. changed.
  13136. * src/Util.cc (parseInt)(parseLLInt)
  13137. * src/message.h
  13138. 2007-11-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13139. Set precision to 2 because share ratio is rounded into 1.0 if precision
  13140. set to 1.
  13141. * src/ConsoleStatCalc.cc (calculateStat)
  13142. 2007-11-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13143. Preallocate non-requested file which is adjacent forward to requested
  13144. file('requested' files means the files given in --select-file option)
  13145. if they share a same piece.
  13146. This fixes long pause in the file system which doesn't support sparse
  13147. files like FAT32 while downloading.
  13148. * src/MultiFileAllocationIterator.{h, cc}
  13149. * test/MultiFileAllocationIteratorTest.cc
  13150. * src/FileEntry.{h, cc}
  13151. Removed unused _option.
  13152. * src/MultiDiskAdaptor.h
  13153. * test/MultiDiskAdaptorTest.cc
  13154. * src/DefaultPieceStorage.cc
  13155. Set the default value of --seed-ratio to 1.0.
  13156. If 0.0 is given, then seeding continues regardless of share ratio.
  13157. * src/version_usage.cc
  13158. * src/option_processing.cc
  13159. * src/BtSetup.cc
  13160. * doc/aria2c.1.txt
  13161. * doc/aria2c.1
  13162. Fixed: Selective download is not working in BitTorrent
  13163. * src/RequestGroup.cc
  13164. Introduced Sequence class. Use this instead of Util::unfoldRange()
  13165. * src/PieceStorage.h
  13166. * test/MockPieceStorage.h
  13167. * src/UnknownLengthPieceStorage.h
  13168. * src/DefaultPieceStorage.{h, cc}
  13169. * src/Metalink2RequestGroup.cc
  13170. * src/RequestGroup.cc
  13171. * src/Sequence.h
  13172. * test/SequenceTest.cc
  13173. * src/IntSequence.h
  13174. * src/message.h
  13175. * src/Util.{h, cc}
  13176. * test/UtilTest.cc
  13177. Added new function 'parse' to catch exception thrown by subclass's
  13178. parseArg
  13179. * src/OptionHandler.h
  13180. * src/OptionParser.cc
  13181. * src/NameMatchOptionHandler.h
  13182. * src/OptionHandlerImpl.h
  13183. * test/OptionHandlerTest.cc
  13184. Added IntegerRangeOptionHandler. Used for --listen-port and
  13185. --select-file. Now --listen-port accepts range of port.
  13186. * src/OptionHandlerFactory.cc
  13187. * src/version_usage.cc
  13188. * src/OptionHandlerImpl.h
  13189. * src/option_processing.cc
  13190. * src/BtSetup.cc
  13191. * src/PeerListenCommand.{h, cc}
  13192. * doc/aria2c.1.txt
  13193. * doc/aria2c.1
  13194. Implemented operator< for Exception class to provide easy way to print
  13195. exception stack trace.
  13196. * src/Exception.{h, cc}
  13197. * src/main.cc
  13198. * src/option_processing.cc
  13199. 2007-11-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13200. * src/version_usage.cc
  13201. (showVersion): Reworked.
  13202. (showUsage): Added examples.
  13203. Removed Hint for total length and file name.
  13204. * src/Metalink2RequestGroup.cc
  13205. * src/RequestGroup.{h, cc}
  13206. * src/HttpResponseCommand.cc
  13207. * src/FtpNegotiationCommand.cc
  13208. Now --follow-torrent and --follow-metalink option work properly.
  13209. * src/RequestGroup.cc
  13210. Updated man page
  13211. * doc/aria2c.1.txt
  13212. * doc/aria2c.1
  13213. 2007-11-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13214. Removed.
  13215. * src/PiecedSegment.{h, cc} (operator==)(operator!=)
  13216. Use Segment::operator==()
  13217. * src/HttpConnection.cc
  13218. * src/Segment.h
  13219. Updated usage
  13220. * src/version_usage.cc
  13221. Added EINTR treatment.
  13222. * src/SocketCore.cc
  13223. * src/AbstractDiskWriter.cc
  13224. Rewritten.
  13225. * src/Util.cc (rangedFileCopy)
  13226. 2007-11-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13227. Fixed typo.
  13228. * src/version_usage.cc
  13229. 2007-11-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13230. Implemented. Now -c option works fine.
  13231. * src/DefaultPieceStorage.cc (markPiecesDone)
  13232. * test/DefaultPieceStorageTest.cc
  13233. Removed.
  13234. * src/SegmentMan.{h, cc}
  13235. (markAllPiecesDone)
  13236. (markPieceDone)
  13237. Synchronized po files with
  13238. https://translations.launchpad.net/aria2/trunk/+pots/aria2c
  13239. * src/fr.po
  13240. * src/ru.po
  13241. * src/de.po
  13242. * src/ja.po
  13243. 2007-11-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13244. Added ifdef and some modifications to compile without BitTorrent,
  13245. Metalink, MessageDigest
  13246. support.
  13247. * src/PieceHashCheckIntegrityEntry.cc
  13248. * src/MetalinkEntry.h
  13249. * src/version_usage.cc
  13250. * src/main.cc
  13251. * src/DownloadEngine.{h, cc}
  13252. * src/Metalink2RequestGroup.cc
  13253. * src/Peer.cc
  13254. * src/RequestGroup.cc
  13255. * src/MetalinkHelper.cc
  13256. * test/DefaultPieceStorageTest.cc
  13257. * test/MetalinkPostDownloadHandlerTest.cc
  13258. * test/Metalink2RequestGroupTest.cc
  13259. Hide TOTAL SPD when all downloads complete.
  13260. * src/ConsoleStatCalc.cc
  13261. Log target system information.
  13262. * src/main.cc
  13263. 2007-11-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13264. Now --metalink-location accepts a comma-deliminated list of locations.
  13265. * src/MetalinkEntry.{h, cc}
  13266. * test/MetalinkEntryTest.cc
  13267. * src/version_usage.cc
  13268. * src/Metalink2RequestGroup.cc
  13269. * src/Xml2MetalinkProcessor.cc
  13270. * test/Xml2MetalinkProcessorTest.cc
  13271. * doc/aria2c.1.txt
  13272. * doc/aria2c.1
  13273. * src/Util.cc (toUpper)(toLower): Rewritten.
  13274. 2007-11-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13275. Added the ability to detect duplicate download entry which is about to
  13276. download the same file other RequestGroup is downloading.
  13277. * src/RequestGroup.cc
  13278. * src/HttpResponseCommand.cc
  13279. * src/FtpNegotiationCommand.cc
  13280. 2007-11-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13281. Recalculates download progress when loading a control file,
  13282. if the piece length of DownloadContext is different from the one saved
  13283. in the control file. Currently in-flight pieces are ignored.
  13284. * src/DefaultBtProgressInfoFile.cc
  13285. * test/DefaultBtProgressInfoFileTest.cc
  13286. * src/Util.{h, cc}
  13287. * test/UtilTest.cc
  13288. 2007-11-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13289. Do not rotate tiers in announce-list.
  13290. * src/DefaultBtAnnounce.{h, cc}: Removed trackerNumTry.
  13291. AnnounceList::allTiersFailed() used instead to detect whether all
  13292. tiers are tried and failed.
  13293. * test/DefaultBtAnnounceTest.cc
  13294. * src/AnnounceList.{h, cc}: If all tiers are tried and failed then
  13295. allTiersFailed() returns true. To reset tier pointer, call resetTier();
  13296. * test/AnnounceListTest.cc
  13297. * src/TrackerWatcherCommand.cc (execute): Removed DlAbortEx catch
  13298. clause. Catch RecoverableException instead of DlRetryEx instead.
  13299. 2007-11-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13300. Implemented checksum validation feature(1 checksum for each file)
  13301. The validation takes place after the download.
  13302. * src/PieceHashCheckIntegrityEntry.{h, cc}: New class.
  13303. * src/IteratableChecksumValidator.{h, cc}: Rewritten.
  13304. * src/CheckIntegrityCommand.cc: Changed log message.
  13305. * src/Metalink2RequestGroup.cc: Set checksum to
  13306. SingleFileDownloadContext.
  13307. * src/StreamCheckIntegrityEntry.{h, cc}: Now derived from
  13308. PieceHashCheckIntegrity class.
  13309. * src/BtCheckIntegrityEntry.{h, cc}: Now derived from
  13310. PieceHashCheckIntegrity class.
  13311. * src/ChecksumCheckIntegrityEntry.{h, cc}: New class.
  13312. * src/IteratableValidator.h: New class.
  13313. * src/message.h
  13314. * src/CheckIntegrityEntry.{h, cc}
  13315. * src/IteratableChunkChecksumValidator.{h, cc}
  13316. * src/SingleFileDownloadContext.h
  13317. * src/DownloadCommand.cc
  13318. --allow-overwrite=true is no longer needed to check file integrity
  13319. before download in BitTorrent download.
  13320. * src/RequestGroup.cc (getInitialCommand)
  13321. Removed RequestGroup from queue when RequestGroup::getInitialCommand()
  13322. throws exception.
  13323. * src/RequestGroupMan.cc (getInitialCommands)
  13324. 2007-11-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13325. urlencode the given url inside Request::parseUrl(...)
  13326. * src/Request.{h, cc}
  13327. * src/Util.{h, cc}
  13328. * test/RequestTest.cc
  13329. Removed #!metalink3! notation support because it is deleted from
  13330. the metalink specification.
  13331. * src/Request.{h, cc}
  13332. * test/RequestTest.cc
  13333. 2007-11-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13334. Don't connect server before checking file integrity at startup, if
  13335. filesize and output file path are known.
  13336. * src/AbstractCommand.cc
  13337. * src/StreamFileAllocationEntry.cc
  13338. * src/Metalink2RequestGroup.cc
  13339. * src/RequestGroup.{h, cc}
  13340. * src/HttpResponseCommand.cc
  13341. * src/FtpNegotiationCommand.cc
  13342. Added DownloadFailureException. If it is thrown, RequestGroup should
  13343. halt.
  13344. * src/AbstractCommand.cc
  13345. * src/DownloadFailureException.h
  13346. * src/RequestGroup.cc
  13347. Catch RecoverableException, instead of DlAbortEx.
  13348. * src/RequestGroupMan.cc
  13349. * src/FillRequestGroupCommand.cc
  13350. * src/MetaFileUtil.cc
  13351. * src/IteratableChunkChecksumValidator.cc
  13352. Now first parameter of MSG_DOWNLOAD_ABORTED is gid(RequestGroup::
  13353. getGID())
  13354. * src/CheckIntegrityCommand.cc
  13355. * src/message.h
  13356. Print gid instead of idx.
  13357. * src/RequestGroupMan.cc
  13358. Removed exception throwers declaration.
  13359. * src/DirectDiskAdaptor.{h, cc}
  13360. * src/SocketCore.{h, cc}
  13361. * src/MultiDiskAdaptor.{h, cc}
  13362. * src/HttpConnection.{h, cc}
  13363. * src/HttpResponse.{h, cc}
  13364. * src/DiskAdaptor.{h, cc}
  13365. * src/CopyDiskAdaptor.{h, cc}
  13366. * src/MultiDiskAdaptor.{h, cc}
  13367. * src/HttpHeaderProcessor.{h, cc}
  13368. * src/AbstractSingleDiskAdaptor.{h, cc}
  13369. * src/Util.{h, cc}
  13370. * test/UtilTest.cc
  13371. * src/DefaultDiskWriter.{h, cc}
  13372. * src/FtpConnection.{h, cc}
  13373. * src/AbstractDiskWriter.{h, cc}
  13374. Removed duplicate code.
  13375. * src/StreamCheckIntegrityEntry.cc
  13376. Removed unnecessary include.
  13377. * src/DiskWriter.h
  13378. Included Exception.h
  13379. * src/option_processing.cc
  13380. Included 2 files and added doc
  13381. * src/TrackerWatcherCommand.cc
  13382. * src/SocketCore.cc (writeData): Fixed send error with GnuTLS.
  13383. 2007-11-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13384. Changed CheckIntegrityEntry interface so that it can define
  13385. the action when all the chunk checksums are valid.
  13386. * src/CheckIntegrityEntry.h
  13387. * src/StreamCheckIntegrityEntry.{h, cc}
  13388. * src/BtCheckIntegrityEntry.{h, cc}: Currently,when all the checksums
  13389. are valid, then aira2 goes to seeding mode. Sometimes it is better
  13390. to exit rather than doing seeding. So, it would be good to toggle this
  13391. behavior.
  13392. * src/CheckIntegrityCommand.cc
  13393. * src/AbstractCommand.cc
  13394. * src/RequestGroup.cc
  13395. 2007-11-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13396. Reflect the download length of in-flight pieces.
  13397. It makes the download length readout more precise.
  13398. * src/DefaultPieceStorage.{h, cc}
  13399. * test/DefaultPieceStorageTest.cc
  13400. * src/a2functional.h
  13401. * test/a2functionalTest.cc
  13402. Lower CPU load when --max-download-limit is used.
  13403. There is up and down in speed indicator when enabling
  13404. http-pipelining but a download goes well. I think the problem is that
  13405. because http-pipelining is enabled, DownloadCommand is created for
  13406. each segment and in its constructor, PeerStat::downloadStart() is
  13407. called. In PeerStat::downloadStart(), speed calculation object is
  13408. reseted, which makes download speed zero.
  13409. * src/DownloadCommand.cc
  13410. Rewritten using accumulate.
  13411. * src/RequestGroupMan.cc (calculateStat)
  13412. Code clearnup.
  13413. * src/FtpNegotiationCommand.cc
  13414. * src/HttpResponseCommand.cc
  13415. 2007-11-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13416. Fixed: Can not resume: aria2 reports download already finished.
  13417. * src/AbstractCommand.{h, cc}
  13418. * src/HttpResponseCommand.cc
  13419. * src/FtpNegotiateCommand.cc
  13420. 2007-11-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13421. Now a file is stored in the directory specified in .metalnk file
  13422. (file[@name]).
  13423. * src/Metalink2RequestGroup.cc
  13424. Create the directory structure when opening the file if it doesn't
  13425. exist.
  13426. * src/AbstractDiskWriter.cc
  13427. * src/Util.{h, cc}
  13428. * src/File.h
  13429. * test/UtilTest.cc
  13430. Removed file name comparison
  13431. * src/Metalink2RequestGroup.cc
  13432. * src/HttpResponseCommand.cc
  13433. Rewritten using Util::mkdirs()
  13434. * src/FileEntry.cc (setupDir)
  13435. * test/FileEntryTest.cc
  13436. Updated doc
  13437. * src/SingleFileDownloadContext.h
  13438. 2007-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13439. Now SleepCommand dispatches nextCommand when halt is requested.
  13440. It avoids a possible long wait after hitting CTRL-C.
  13441. * src/SleepCommand.{h, cc}
  13442. * src/RequestGroupAware.{h, cc}
  13443. 2007-11-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13444. Fixed: the listen port sent to the tracker is wrong. If aria2 fails
  13445. to open listen port, then remove the port number from the tracker
  13446. request.
  13447. * src/DefaultBtAnnounce.cc
  13448. * test/DefaultBtAnnounceTest.cc
  13449. * test/MockPieceStorage.h
  13450. Inject randomizer to DefaultBtAnnounce and DefaultBtContext to make
  13451. them more testable.
  13452. * src/DefaultBtAnnounce.{h, cc}
  13453. * src/DefaultBtContext.{h, cc}
  13454. * src/Util.{h, cc}
  13455. * test/DefaultBtAnnounceTest.cc
  13456. * test/DefaultBtContextTest.cc
  13457. * test/UtilTest.cc
  13458. Added 'B' to upload bytes readout.
  13459. * src/ConsoleStatCalc.cc
  13460. Now the listen port for BitTorrent download is opened when it is
  13461. needed.
  13462. * src/DownloadEngineFactory.cc
  13463. * src/BtSetup.{h, cc}
  13464. * src/PeerListenCommand.{h, cc}
  13465. Now an exception thrown while parsing tracker response is now logged.
  13466. If DlAbortEx is catched, then btAnnounce->resetAnnounce() immediately
  13467. called, which means no retry is made in this case, assuming a tracker
  13468. has a problem.
  13469. * src/TrackerWatcherCommand.cc
  13470. Fixed: downloading a file whose length is unkown fails.
  13471. * src/DownloadCommand.cc
  13472. Simplified prepareForNextSegment()
  13473. * src/DownloadCommand.cc
  13474. Updated
  13475. * po/POTFILES.in
  13476. 2007-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13477. Re-implemented a file listing for Metalink, which was dropped while
  13478. http/ftp/torrent integration was being implemented.
  13479. * src/MetalinkHelper.{h, cc}: New class.
  13480. * test/MetalinkHelperTest.cc
  13481. * src/main.cc
  13482. * src/Metalink2RequestGroup.cc
  13483. 2007-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13484. Added the ability to display the detailed torrent file information.
  13485. Now -S option gives not only a file listing, but also total download
  13486. length, info hash, announce URI, piece length, the number of pieces,
  13487. and mode(single or multi-torrent).
  13488. * src/DefaultBtContext.{h, cc} (operator<<): New function.
  13489. * src/Util.cc (toStream): Show file length in a abbreviated form(like
  13490. KiB)
  13491. * test/UtilTest.cc
  13492. * src/main.cc
  13493. 2007-10-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13494. Added ftp://USER:PASSWD@Servername automatic parsing.
  13495. * src/Request.{h, cc}: Removed AuthResolvers. Added _username and
  13496. _password. Recognize username and password in URI.
  13497. * src/main.cc: Use AuthConfigFactory instead of RequestFactory.
  13498. * src/RequestGroup.cc: Use AuthConfigFactory instead of RequestFactory.
  13499. * src/RequestFactory.{h, cc}: Removed.
  13500. * src/AuthConfigFactory.{h, cc}: New class.
  13501. * src/FtpConnection.cc: Use AuthConfigFactory.
  13502. * src/HttpRequest.cc: Use AuthConfigFactory.
  13503. * test/HttpRequestTest.cc: Updated.
  13504. * test/RequestTest.cc: Updated.
  13505. * test/AuthConfigFactoryTest.cc: New class.
  13506. * test/RequestFactoryTest.cc: Removed.
  13507. 2007-10-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13508. Use RequestGroup::allDownloadFinished() to decide whether the control
  13509. file should be removed or saved.
  13510. * src/RequestGroup.{h, cc} (allDownloadFinished): New function.
  13511. * src/RequestGroupMan.cc (removeStoppedGroup) (save)
  13512. 2007-10-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13513. Use File::renameTo()
  13514. * src/DefaultBtProgressInfoFile.cc
  13515. Added --no-file-allocation-limit command-line option.
  13516. * src/version_usage.cc
  13517. * src/option_processing.cc
  13518. * src/OptionHandlerFactory.cc
  13519. * src/RequestGroup.{h, cc}
  13520. * src/BtCheckIntegrityEntry.cc
  13521. * src/StreamCheckIntegrityEntry.cc
  13522. * src/prefs.h
  13523. * doc/aria2c.1.txt
  13524. * doc/aria2c.1
  13525. Now prealloc is the default value for --file-allocation option.
  13526. * src/version_usage.cc
  13527. * src/option_processing.cc
  13528. * doc/aria2c.1.txt
  13529. * doc/aria2c.1
  13530. Don't URL-encode user-agent.
  13531. * src/HttpRequest.cc
  13532. Updated translations
  13533. * po/LINGUAS: Added nl for Dutch translation.
  13534. * po/nl.po: Added Dutch translation, thanks to A. Bram Neijt.
  13535. * po/de.po: Updated German translation, thanks to Patrick Ruckstuhl.
  13536. * po/POTFILES.in: Updated.
  13537. 2007-10-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13538. Added the ability to recognize url-list in a torrent file.
  13539. The retrieved URLs are attached to the corresponding FileEntry.
  13540. * src/DefaultBtContext.{h, cc}
  13541. * src/FileEntry.{h, cc}
  13542. * test/DefaultBtContextTest.cc
  13543. 2007-10-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13544. * src/ConsoleStatCalc.cc: Let the user know that aria2 is now seeding
  13545. after the download finishes.
  13546. 2007-10-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13547. * src/Piece.{h, cc}: Added SubPiece infrastructure to track down
  13548. the data smaller than block length.
  13549. A block length can be specified by constructor's argument.
  13550. * src/DefaultPieceStorage.{h, cc} (getMissingPiece):
  13551. Get a missing piece in the range of given FileEntry. This function is
  13552. not used in the program yet.
  13553. * src/Util.h: Added some macros.
  13554. 2007-10-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13555. Added HTTP/1.1 keep alive and pipelining support.
  13556. See --enable-http-keep-alive and --enable-http-pipelining option.
  13557. * src/AbstractCommand.{h, cc}: Now it has one-to-many relation to
  13558. Segment.
  13559. * src/HttpDownloadCommand.{h, cc}
  13560. * src/OptionHandlerFactory.cc
  13561. * src/HttpConnection.{h, cc}
  13562. * src/version_usage.cc
  13563. * src/HttpInitiateConnectionCommand.cc
  13564. * src/FtpInitiateConnectionCommand.cc
  13565. * src/Segment.h
  13566. * src/HttpRequestCommand.{h, cc}
  13567. * src/option_processing.cc
  13568. * src/prefs.h
  13569. * src/HttpResponseCommand.cc
  13570. * src/SegmentMan.{h, cc}
  13571. * src/FtpNegotiateCommand.cc
  13572. * src/HttpProxyResponseCommand.cc
  13573. * src/Request.cc
  13574. * src/HttpRequest.cc
  13575. * src/DownloadCommand.cc
  13576. * test/HttpRequestTest.cc
  13577. * test/RequestTest.cc
  13578. 2007-10-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13579. * src/ConsoleCalc.cc (calculateStat): Hide SPD after the download
  13580. finished.
  13581. 2007-10-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13582. * src/Metalink2RequestGroup.cc (generate): Throw exception instead of
  13583. catching it inside the method.
  13584. When no file entry is found in a metalink without querying user
  13585. preferences, throw the exception with the error message that suggests
  13586. metalink file is probably broken.
  13587. * src/RequestGroup.cc (postDownloadProcessing): Catch exception here.
  13588. 2007-10-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13589. Fixed the bug that prevents remote Metalink/Torrent file from begin
  13590. processed.
  13591. * src/RequestGroupMan.cc (removeStoppedGroup)
  13592. Added debug message.
  13593. * src/BtPostDownloadHandler.cc
  13594. * src/MetalinkPostDownloadHandler.cc
  13595. * src/PostDownloadHandler.{h, cc}
  13596. * src/RequestGroup.cc
  13597. 2007-10-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13598. * src/Request.cc (parseUrl): Removed unnecessary slashes around dir.
  13599. 2007-10-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13600. * src/MultiUrlRequestInfo.h: Updated the message shown when program
  13601. stops and there are any unfinished or in-progress downloads.
  13602. Added the legend of "stat".
  13603. 2007-10-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13604. Throw exception when chunck checksum verification fails.
  13605. * src/DownloadCommand.cc (validatePieceHash): New function.
  13606. * src/PiecedSegment.{h, cc} (clear): New function.
  13607. * src/GrowSegment.{h, cc} (clear): New function.
  13608. * src/Segment.h (clear): New function.
  13609. * src/SegmentMan.{h, cc} (validatePieceHash): Removed.
  13610. * test/SegmentTest.cc
  13611. * test/GrowSegmentTest.cc
  13612. 2007-10-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13613. Do not send referer when redirected.
  13614. * src/Request.cc (redirectUrl)
  13615. * test/RequestTest.cc
  13616. * test/HttpRequestTest.cc
  13617. 2007-10-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13618. Implemented BitTorrent/http/ftp integrated download.
  13619. I've rewritten lots of files and now some headers have forward
  13620. class declarations to reduce compile time.
  13621. The implementation is extremely alpha stage, I recommend to use this
  13622. for testing purpose only.
  13623. 2007-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13624. Fixed the compilation error on 64bit platform.
  13625. * test/HttpHeaderProcessorTest.cc
  13626. 2007-09-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13627. Merged Ross's patch that fixes compilation problem in MinGW
  13628. * test/DefaultBtProgressInfoFileTest.cc
  13629. 2007-09-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13630. Updated fr.po by sebone
  13631. * po/fr.po
  13632. Updated man page.
  13633. * doc/aria2c.1.txt
  13634. * Release 0.11.3
  13635. 2007-09-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13636. * src/MetalinkRequestInfo.cc (execute): Fixed BitTorrent download
  13637. failure in Metalink.
  13638. 2007-09-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13639. Automatically save *.aria2 control file of http/ftp download in every
  13640. 60 seconds.
  13641. * src/AutoSaveCommand.{h, cc}: New class.
  13642. * src/TimeBasedCommand.{h, cc}: New class.
  13643. * src/DownloadEngineFactory.cc (newConsoleEngine)
  13644. Disable parameterized URI support by default. Added -P option to
  13645. enable the feature.
  13646. * src/prefs.h: Added PREF_PARAMETERIZED_URI
  13647. * src/OptionHandlerFactory.cc
  13648. * src/main.cc: Also updated usages for -Z and --auto-file-renaming
  13649. Updated Japanese translation.
  13650. * po/ja.po
  13651. Updated man page.
  13652. * doc/aria2c.1.txt
  13653. * Release 0.11.3-rc
  13654. 2007-09-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13655. Now *.aria2 contorol file is first saved to *.aria2__temp and if
  13656. it is successful, then renamed to *.aria2.
  13657. This prevents *.aria2 file from being truncated or corrupted when
  13658. file system becomes out of space.
  13659. * src/DefaultBtProgressInfoFile.cc (save)
  13660. * src/SegmentMan.cc (save)
  13661. * test/DefaultBtProgressInfoFileTest.cc (testSave): Implemented.
  13662. 2007-09-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13663. Reduced the fragmentation of bitfield in http/ftp download.
  13664. * src/BitfieldMan.cc (getSparseMissingUnusedIndex)
  13665. * test/BitfieldManTest.cc
  13666. 2007-08-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13667. Added the ability to disable segmented download in .metalink.
  13668. aria2 can now recognize 'maxconnections' attribute in 'resources' and
  13669. 'url' tag.
  13670. * src/MetalinkEntry.{h, cc}
  13671. * src/RequestResource.{h, cc}
  13672. * src/MetalinkRequestInfo.cc
  13673. * src/Xml2MetalinkProcessor.cc
  13674. * test/Xml2MetalinkProcessorTest.cc
  13675. 2007-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13676. Added parameterized URI support.
  13677. * src/main.cc: -Z option added.
  13678. * src/OptionHandlerFactory.cc
  13679. * src/prefs.h: Added PREF_FORCE_SEQUENTIAL.
  13680. * src/PStringDatum.h: New class.
  13681. * src/PStringSegment.{h,cc}: New class.
  13682. * src/PStringNumLoop.h: New class.
  13683. * src/PStringSelect.h: New class.
  13684. * src/NumberDecorator.h: New class.
  13685. * src/FixedWidthNumberDecorator.h: New class.
  13686. * src/AlphaNumberDecorator.h: New class.
  13687. * src/PStringVisitor.h: New class.
  13688. * src/PStringBuildVisitor.{h,cc}: New class.
  13689. * src/ParameterizedStringParser.{h,cc}: New class.
  13690. * src/Util.{h,cc}
  13691. (isNumber): New function.
  13692. (isLowercase): New function.
  13693. (isUppercase): New function.
  13694. (alphaToNum): New function.
  13695. * test/ParameterizedStringParserTest.cc: New class.
  13696. * test/AlphaNumberDecoratorTest.cc: New class.
  13697. * test/PStringBuildVisitorTest.cc: New class.
  13698. * test/UtilTest.cc
  13699. (testIsNumber): New function.
  13700. (testIsLowercase): New function.
  13701. (testIsUppercase): New function.
  13702. (testAlphaToNum): New function.
  13703. Added '\n' after the error message
  13704. * src/RequestInfo.h (printDownloadAbortMessage)
  13705. Added auto file renaming feature in http(s)/ftp download.
  13706. * src/main.cc: Added --auto-file-renaming command-line option.
  13707. * src/OptionHandlerFactory.cc
  13708. * src/prefs.h: Added PREF_AUTO_FILE_RENAMING
  13709. * src/RequestGroup.{h, cc}
  13710. (shouldCancelDownloadForSafety): Rewritten
  13711. (tryAutoFileRenaming): New function.
  13712. * src/SegmentMan.{h, cc} (shouldCancelDownloadForSafety): Removed.
  13713. * src/HttpResponseCommand.cc
  13714. (executeInternal): Removed the call to RequestGroupMan::
  13715. isSameFileBeingDownloaded()
  13716. * src/FtpNegotiateCommand.cc
  13717. (recvSize): Removed the call to RequestGroupMan::
  13718. isSameFileBeingDownloaded()
  13719. * test/RequestGroupTest.cc: New class.
  13720. 2007-08-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13721. Merged Ross's patch: Removed setmode(). Use _CRT_fmode to enable binary
  13722. IO.
  13723. * src/DefaultBtProgressInfoFile.cc
  13724. * src/MetaFileUtil.cc
  13725. * src/SimpleLogger.cc
  13726. * src/SegmentMan.cc
  13727. * src/Util.cc
  13728. * src/Platform.cc
  13729. 2007-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13730. * src/Xml2MetalinkProcessor.cc (getPieceHash): Added missing .c_str().
  13731. 2007-08-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13732. Avoid sparse files if possible, because VFAT32 doesn't support it.
  13733. * src/DefaultDiskWriter.cc (initAndOpenFile)
  13734. Fixed the bug that prevents file allocation is not done when
  13735. dowloading multi-torrent file.
  13736. * src/AbstractDiskWriter.cc (openFile)
  13737. Increase the maximum number of -j option from 15 to 45.
  13738. * src/OptionHandlerFactory.cc (createOptionHandlers)
  13739. Added fr.po, thanks to Charles Landemaine.
  13740. * po/fr.po
  13741. * po/LINGUAS
  13742. 2007-08-10 Ross Smith II <aria2spam at smithii dot com>
  13743. gcc 3.4.4 support:
  13744. * src/DefaultBtContext.cc: int32_t -> int
  13745. * src/main.cc: int -> int32_t, int32_t -> int
  13746. * src/messageDigest.h: uint32_t -> unsigned int
  13747. * src/NameResolver.h: int32_t -> int
  13748. * src/PeerConnection.cc: int -> int32_t
  13749. * src/SpeedCalc.cc: int32_t -> int
  13750. * src/TrackerUpdateCommand.h: int -> int32_t
  13751. * src/Util.cc: int32_t -> int
  13752. * src/Util.h: int32_t -> int
  13753. * src/Xml2MetalinkProcessor.cc: int -> uint32_t, int64_t -> uint64_t
  13754. * test/AnnounceListTest.cc: int -> int32_t
  13755. * test/ChunkedEncodingTest.cc: int -> int32_t
  13756. * test/DataTest.cc: int -> int32_t
  13757. * test/DefaultBtRequestFactoryTest.cc: int -> int32_t
  13758. * test/DefaultPeerListProcessorTest.cc: int -> int32_t
  13759. * test/DefaultPieceStorageTest.cc: int -> int32_t
  13760. * test/FeatureConfigTest.cc: int -> int32_t
  13761. * test/MetalinkEntryTest.cc: int -> int32_t
  13762. * test/MockBtRequestFactory.h: int -> int32_t
  13763. * test/MockPieceStorage.h: int -> int32_t
  13764. * test/OptionTest.cc: int -> int32_t
  13765. * test/RequestTest.cc: int -> int32_t
  13766. * test/SegmentManTest.cc: int -> int32_t
  13767. * test/Xml2MetalinkProcessorTest.cc: int -> int32_t
  13768. 2007-08-10 Ross Smith II <aria2spam at smithii dot com>
  13769. Move sleep functions to Util class:
  13770. * src/Util.cc
  13771. (sleep): New function.
  13772. (usleep): New function.
  13773. * src/DownloadCommand.cc: sleep -> Util::sleep
  13774. * test/TimeSeedCriteriaTest.cc: sleep -> Util::sleep
  13775. MinGW build enhancements. The following files are added:
  13776. * src/timegm.{c,h}
  13777. Changes to support the above new files:
  13778. * configure.ac
  13779. * src/Makefile.am
  13780. * src/a2time.h
  13781. * src/Util.cc:
  13782. * src/strptime.c: Added support for %Z option.
  13783. Fixed MinGW non-blocking bug.
  13784. * src/SocketCore.cc
  13785. * src/HttpRequestCommand.cc
  13786. Miscellenous build fixes/enhancements.
  13787. * configure.ac: Added summary report.
  13788. * src/Platform.h: Tweaked #include's.
  13789. * src/a2netcompat.h: Tweaked #include's.
  13790. * src/strptime.h: Tweaked #include's.
  13791. * src/gai_strerror.c: Tweaked #include's.
  13792. * src/gai_strerror.h: _D_GETADDRINFO_H -> _D_GAI_STRERROR_H
  13793. * src/getaddrinfo.h: Moved #ifndef __MINGW32__
  13794. * src/gettimeofday.h: Added HAVE_CONFIG_H
  13795. 2007-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13796. Increased the initial connection size in BitTorrent download to 40.
  13797. * src/BtRuntime.h
  13798. Added the usage message of --peer-id-prefix option.
  13799. * src/main.cc
  13800. * Release 0.11.2
  13801. 2007-08-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13802. MessageDigestHelper is introduced in order to simplify the use
  13803. of message digest. Removed repeated code.
  13804. The message digest algorithm is now specified by string, like "sha1",
  13805. "md5".
  13806. * src/messageDigest.{h, cc}
  13807. * src/MessageDigestHelper.{h, cc}: New class.
  13808. * src/DefaultPieceStorage.cc
  13809. * src/DefaultBtContext.{h, cc}
  13810. (computeFastSet): New function.
  13811. (setInfoHash): Added for unit testing.
  13812. (setNumPieces): Added for unit testing.
  13813. * src/DefaultBtInteractive.cc
  13814. * src/BtPieceMessage.cc
  13815. * src/Peer.cc
  13816. * src/Checksum.h
  13817. * src/message.h
  13818. * src/IteratableChecksumValidator.h
  13819. * src/ChunkChecksumValidator.{h, cc}: Use IteratableChecksumValidator
  13820. inside it.
  13821. * src/SegmentMan.{h, cc}
  13822. (checkIntegrity): Removed.
  13823. * src/IteratableChunkChecksumValidator.{h, cc}
  13824. * src/Util.h
  13825. (sha1Sum): Removed.
  13826. (simpleMessageDigest): Removed.
  13827. (fileChecksum): Removed.
  13828. (computeFastSet): Removed.
  13829. * src/ShaVisitor.cc
  13830. * src/ChunkChecksum.h
  13831. * src/DownloadCommand.cc
  13832. Removed messageDigest virtual functions.
  13833. * src/MultiDiskAdaptor.{h, cc}
  13834. * src/DiskAdaptor.h
  13835. * src/ByteArrayDiskWriter.h
  13836. * src/DiskWriter.h
  13837. * src/DiskAdaptorWriter.h
  13838. * src/AbstractSingleDiskAdaptor.{h, cc}
  13839. * src/AbstractDiskWriter.{h, cc}
  13840. Fixed comilation error when message digest is disabled.
  13841. * src/MetalinkEntry.{h, cc}
  13842. * src/MetalinkRequestInfo.cc
  13843. Removed srandom and random.
  13844. * src/SimpleRandomizer.h
  13845. Added size() virtual function to DiskAdaptor
  13846. * src/MultiDiskAdaptor.h
  13847. Fixed the bug that causes that files are not opened correctly in
  13848. multi-file torrent.
  13849. * src/TorrentRequestInfo.cc
  13850. * src/MultiDiskAdaptor.cc
  13851. Added SHA256 support
  13852. * src/messageDigest.cc
  13853. * src/Xml2MetalinkProcessor.cc
  13854. Show supported message digest algorithms
  13855. * src/main.cc
  13856. Updated contact info.
  13857. * src/main.cc
  13858. Applied Ross's patch
  13859. * src/a2netcompat.h
  13860. * src/main.cc
  13861. Fixed the bug that prevents a remote metalink from not being processed
  13862. even if '-o foo.metalink' is specified.
  13863. * src/MetalinkRequestInfo.cc
  13864. 2007-08-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13865. Merged Dan's patch:
  13866. * src/ByteArrayDiskWriter.cc: ios_base -> ios
  13867. Use va_copy to avoid core dump on amd64:
  13868. * src/SimpleLogger.cc
  13869. Updated contact info.
  13870. * src/main.cc
  13871. Added #ifdef ENABLE_MESSAGE_DIGEST to fix test errors when message
  13872. digest is not available.
  13873. * src/MetalinkEntry.h
  13874. 2007-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13875. Make a2netcompat.h include a2io.h to fix compilation error:
  13876. * src/a2netcompat.h
  13877. * src/SocketCore.cc: Removed include of a2io.h
  13878. * src/Util.cc: Removed include of a2io.h
  13879. Gather time related functions to a2time.h:
  13880. * src/a2time.h: New file.
  13881. * src/DefaultPeerStorage.cc
  13882. * src/SimpleLogger.cc
  13883. * src/Util.{h, cc}
  13884. * src/SimpleRandomizer.h
  13885. * src/TimeA2.{h,cc}
  13886. * src/DownloadCommand.cc
  13887. * src/main.cc
  13888. Removed #ifdef __MINGW32__ since gai_strerror is included in
  13889. a2netcompat.h:
  13890. * src/NameResolver.cc
  13891. Fixed compilation error without openssl:
  13892. * src/SocketCore.{h,cc}: Moved include of openssl/err.h to SocketCore.h
  13893. Added default block to suppress compiler warnings:
  13894. * src/MetalinkRequestInfo.cc (AccumulateNonP2PUrl::operator())
  13895. 2007-07-26 Ross Smith II <aria2spam at smithii dot com>
  13896. MinGW build enhancements. The following files are added:
  13897. * src/gai_strerror.{c,h}
  13898. * src/gettimeofday.{c,h}
  13899. Changes to support the above new files:
  13900. * configure.ac
  13901. * src/Makefile.am
  13902. * src/a2netcompat.h
  13903. * src/TimeA2.cc
  13904. * src/DefaultPeerStorage.cc
  13905. * src/NameResolver.cc: removed mingw_strerror() function.
  13906. * src/SocketCore.cc: removed mingw_strerror() function.
  13907. Miscellaneous MinGW build fixes.
  13908. * src/a2io.h: Use _lseeki64() instead of lseek()
  13909. * src/common.h
  13910. * src/DefaultFileAllocator.cc
  13911. * src/GlowFileAllocator.cc
  13912. * src/main.cc: Moved #include "prefs.h" to quiet compile error.
  13913. * src/NameResolver.cc
  13914. (callback): Changed int32_t to int.
  13915. (resolve): Changed int32_t to int.
  13916. * src/Platform.cc
  13917. * src/Platform.h
  13918. * test/MultiDiskWriterTest.cc
  13919. * test/PeerMessageUtilTest.cc
  13920. * src/localtime_r.c: Add DeleteCriticalSection() and at exit().
  13921. Other enhancements and fixes.
  13922. * src/HttpRequestCommand.cc
  13923. (executeInternal) Use non-blocking socket for HTTPS (MinGW only).
  13924. * src/SocketCore.cc:
  13925. (error): New function to abstract errno/WSAGetLastError().
  13926. (errorMsg): New function to abstract errno/WSAGetLastError().
  13927. (initiateSecureConnection): Added more detailed error reporting.
  13928. * src/SocketCore.h: Added private variable blocking, to allow
  13929. proper handling of OpenSSL psuedo-errors.
  13930. * src/message.h
  13931. (EX_SSL_INIT_FAILURE)
  13932. (EX_SSL_IO_ERROR)
  13933. (EX_SSL_PROTOCOL_ERROR)
  13934. (EX_SSL_UNKNOWN_ERROR)
  13935. (EX_SSL_CONNECT_ERROR)
  13936. (EX_SOCKET_BLOCKING)
  13937. (EX_SOCKET_NONBLOCKING)
  13938. (EX_SOCKET_UNKNOWN_ERROR)
  13939. * src/Util.cc
  13940. (setGlobalSignalHandler): Renamed signal to sig as signal is a
  13941. reserved name.
  13942. (httpGMT): Fixed typo.
  13943. 2007-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13944. Merged Ross's win32 patch(manually)
  13945. In the course of merging, following files are added.
  13946. * src/strptime.{h,c}
  13947. * src/libgen.{h,c}
  13948. * src/inet_aton.{h,c}
  13949. * src/Platform.{h,cc}
  13950. * src/localtime_r.{h,c}
  13951. * src/getaddrinfo.{h,c}
  13952. I've gethered network related things, and put them to following file:
  13953. * src/a2netcompat.h
  13954. Also io related things are put to following file:
  13955. * src/a2io.h
  13956. Changed %lld to %s because mingw32 doesn't recognize %lld.
  13957. * src/message.h
  13958. (MSG_ALLOCATION_COMPLETED)
  13959. (EX_TOO_LARGE_FILE)
  13960. (EX_SIZE_MISMATCH)
  13961. (EX_FILE_OFFSET_OUT_OF_RANGE)
  13962. (EX_INVALID_CHUNK_CHECKSUM)
  13963. (EX_INVALID_RANGE_HEADER)
  13964. * src/FileAllocationCommand.cc
  13965. * src/HttpResponse.cc
  13966. * src/RequestGroup.cc
  13967. * src/MultiDiskAdaptor.cc
  13968. * src/OptionHandlerImpl.h
  13969. * src/HttpResponseCommand.cc
  13970. * src/FtpNegotiateCommand.cc
  13971. * src/IteratableChecksumValidator.cc
  13972. * src/SegmentMan.cc
  13973. * src/ChunkChecksumValidator.cc
  13974. Added Randomizer::getRandomNumber(long int)
  13975. * src/Randomizer.h (getRandomNumber)
  13976. * src/SimpleRandomizer.h (getRandomNumber)
  13977. * src/BitfieldMan.cc (getMissingIndexRandomly): Use this new function.
  13978. * src/Util.cc (randomAlpha): Use this new function.
  13979. 2007-07-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13980. Converted int's to in32_t. long long int's are also converted to
  13981. int64_t
  13982. 2007-07-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13983. Fixed the bug that prevents cookies from being sent to the server
  13984. if the domain of cookie is FQDN and starts with ".".
  13985. * src/Cookie.cc (match)
  13986. To add the ability to change peer id.
  13987. * src/DefaultBtContext.h
  13988. (_peerIdPrefix): New variable
  13989. (setPeerIdPrefix): New function.
  13990. * src/torrentRequestInfo.cc
  13991. (execute): Set the option value of PREF_PEER_ID_PREFIX to
  13992. DefaultBtContext.
  13993. * src/main.cc (main): Added peer-id-prefix command-line option.
  13994. The usage message is not added yet.
  13995. * src/DefaultBtContext.cc
  13996. (generatePeerId): Use _peerIdPrefix.
  13997. * src/prefs.h (PREF_PEER_ID_PREFIX): New definition.
  13998. 2007-07-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  13999. Fixed the bug that prevents filename in content-disposition from
  14000. being retrieved when filename is not quoted.
  14001. * src/Util.cc (getContentDispositionFilename)
  14002. Fixed the bug that causes infinate loop and memory leak when file open
  14003. operation failed.
  14004. * src/HttpResponseCommand.cc (handleDefaultEncoding)
  14005. 2007-07-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14006. Fixed the bug that causes segfault when all URIs specified are
  14007. unsupported.
  14008. * src/RequestGroupMan.cc (getInitialCommands)
  14009. Check if RequestGroup::createNextCommand() returns empty list of
  14010. commands.
  14011. * src/RequestGroup.cc (createNextCommand)
  14012. Change log level from info to error so that users can notice that
  14013. an error occurred.
  14014. Fixed the bug that causes segfault when a zero-sized file is
  14015. downloaded.
  14016. * src/BitfieldMan.cc (isAllBitSet)
  14017. Return true if bitfieldLength is 0.
  14018. 2007-07-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14019. * src/main.cc
  14020. (showUsage): Added 3 usage examples for metalink download.
  14021. Replace MetalinkChunkChecksum with ChunkChecksum.
  14022. * src/MetalinkChunkChecksum.h: Removed.
  14023. * src/MetalinkEntry.h: MetalinkChunkChecksum -> ChunkChecksum.
  14024. * src/Xml2MetalinkProcessor.h: MetalinkChunkChecksum -> ChunkChecksum.
  14025. * src/Xml2MetalinkProcessor.cc
  14026. (getPieceHash): Use ChunkChecksum instead of MetalinkChunkChecksum.
  14027. * src/MetalinkRequestInfo.cc (execute)
  14028. * Release 0.11.1
  14029. 2007-07-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14030. Reads URIs from stdin when "-i -" is specified.
  14031. * src/UriFileListParser.h, src/UriFileListParser.cc: Removed.
  14032. * src/UriListParser.h, src/UriListParser.cc: New class.
  14033. * src/StreamUriListParser.h: New class.
  14034. * src/FileUriListParser.h: New class.
  14035. * src/main.cc (main): Use StreamUriListParser and FileUriListParser
  14036. instead of UriFileListParser.
  14037. 2007-07-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14038. Made console readout more readable.
  14039. * src/ConsoleDownloadEngine.cc (sendStatistics)
  14040. 2007-07-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14041. Fix the bug that causes -s option not to work.
  14042. * src/main.cc (main)
  14043. * src/a2algo.h: New file.
  14044. 2007-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14045. Create directory structure specified in metalink file.
  14046. * src/RequestGroup.h, src/RequestGroup.cc
  14047. (initAndOpenFile): Create a directory to store files if it does not
  14048. exist.
  14049. (getDir): New function.
  14050. Added ETA and download speed for an individual file to readout.
  14051. * src/ConsoleDownloadEngine.cc (sendStatistics)
  14052. * src/RequestGroup.h
  14053. (calculateDownloadSpeed): New function.
  14054. 2007-06-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14055. Made -S option work with metalink file and provided selective download
  14056. to metalink.
  14057. * src/MetalinkEntry.h, src/MetalinkEntry.cc
  14058. (filename): Removed.
  14059. (file): New variable.
  14060. (size): Removed.
  14061. (operator=): Updated.
  14062. (getPath): New function.
  14063. (getLength): New function.
  14064. (toFileEntry): New function.
  14065. * src/TorrentRequestInfo.h, src/TorrentRequestInfo.cc
  14066. (execute): Use toStream.
  14067. (showFileEntry): Removed.
  14068. * src/MetalinkRequestInfo.h
  14069. (targetFiles): New variable.
  14070. (setTargetFiles): New variable.
  14071. * src/MetalinkRequestInfo.cc
  14072. (execute): Added the ability to print file information included in
  14073. a metalink file.
  14074. Added selective download mode to metalink.
  14075. * src/main.cc
  14076. (showUsage): Updated to denote that -S and --select-file options are
  14077. applicable to metalink.
  14078. * src/FileEntry.h
  14079. (operator=): New function.
  14080. (getBasename): New function.
  14081. (getDirname): New function.
  14082. * src/Util.h, src/Util.cc
  14083. (toStream): New function.
  14084. * src/Xml2MetalinkProcessor.cc: Updated.
  14085. Made aria2 work with metalink with directory structure.
  14086. * src/File.h, src/File.cc
  14087. (getBasename): New function.
  14088. (getDirname): New function.
  14089. * src/RequestGroup.h, src/RequestGroup.cc
  14090. (_topDir): New variable.
  14091. (setTopDir): New function.
  14092. (initSegmentMan): A directory structure is added to _segmentMan->dir.
  14093. Rewrote HTTP header parsing with stringstream.
  14094. * src/HttpConnection.h, src/HttpConnection.cc
  14095. (HttpRequestEntry): New class.
  14096. (headerBuf): Removed.
  14097. (headerBufLength): Removed.
  14098. (outstandingHttpRequests): Now its element type is
  14099. HttpRequestEntryHandle.
  14100. (findEndOfHeader): Removed.
  14101. (receiveResponse): Rewritten.
  14102. * src/HttpHeaderProcessor.h, src/HttpHeaderProcessor.cc: New class.
  14103. Updated doc for -j option to notice that it should be used with -i
  14104. option.
  14105. * src/main.cc (showUsage)
  14106. Removed unused classes.
  14107. * src/RequestInfo.h
  14108. (FileInfo): Removed.
  14109. (checksum): Removed.
  14110. (fileInfo): Removed.
  14111. (setChecksum): Removed.
  14112. (getChecksum): Removed.
  14113. (getFileInfo): Removed.
  14114. Use ISO units.
  14115. * src/ConsoleDownloadEngine.cc
  14116. * src/TorrentConsoleDownloadEngine.cc
  14117. * src/Util.cc (abbrevSize)
  14118. 2007-06-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14119. Added the default listening ports to the help message.
  14120. * src/main.cc (showUsage)
  14121. 2007-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14122. Reduce the number of calls to gettimeofday to lower CPU load.
  14123. * src/TimeA2.h, src/TimeA2.cc (differenceInMillis): New function.
  14124. * src/SpeedCalc.h, src/SpeedCalc.cc (calculateSpeed): New function.
  14125. * src/Peer.h (calculateUploadSpeed): New function.
  14126. (calculateDownloadSpeed): New function.
  14127. * src/DefaultPeerStorage.cc
  14128. (CalculateStat): Added _now variable.
  14129. In operator(), call Peer::calculateDownloadSpeed(const struct timeval&)
  14130. and Peer::calculateUploadSpeed(const struct timeval&)
  14131. Drop connection if no request or piece message is exchanged in
  14132. a certain interval.
  14133. * src/DefaultBtInteractive.h
  14134. (btRuntime): New variable.
  14135. (inactiveCheckPoint): New variable.
  14136. (checkActiveInteraction): New function.
  14137. * src/DefaultBtInteractive.cc (receiveMessages): Reset timer when
  14138. request or piece message is received.
  14139. (checkActiveInteraction): New function.
  14140. (doInteractionProcessing): Call checkActiveInteraction.
  14141. Fixed the bug that causes remote Metalink and Torrent files are not
  14142. processed.
  14143. * src/MultiUrlRequestInfo.cc (createNextRequestInfo): Fixed the bug.
  14144. 2007-06-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14145. Changed format of log file.
  14146. * src/SimpleLogger.cc
  14147. * Release 0.11.0
  14148. 2007-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14149. * src/AbstractCommand.cc
  14150. (execute): Changed log level of MSG_RESTARTING_DOWNLOAD and
  14151. MSG_MAX_TRY from error to info.
  14152. Added MSG_DOWNLOAD_ABORTED after MSG_MAX_TRY.
  14153. * src/message.h
  14154. (MSG_TORRENT_DOWNLOAD_ABORTED): New definition.
  14155. (MSG_DOWNLOAD_ABORTED): Added %s.
  14156. (MSG_RESTARTING_DOWNLOAD): Added %s.
  14157. (MSG_DOWNLOAD_ALREADY_COMPLETED): Updated.
  14158. * src/PeerAbstractCommand.cc
  14159. (execute): MSG_DOWNLOAD_ABORTED -> MSG_TORRENT_DOWNLOAD_ABORTED
  14160. * src/Request.h
  14161. (cookieBox): Made ShardHandle.
  14162. * src/RequestGroup.h, src/RequestGroup.cc
  14163. (createNextCommandWithAdj): New function.
  14164. * src/FileAllocationCommand.cc
  14165. (executeInternal): Use createNextCommandWithAdj().
  14166. * src/CheckIntegrityCommand.cc
  14167. (executeInternal): Use createNextCommandWithAdj().
  14168. Added --load-cookies command-option.
  14169. * src/OptionHandlerFactory.cc
  14170. (createOptionHandlers): Added PREF_LOAD_COOKIES.
  14171. * src/CookieBox.h, src/CookieBox.cc: Rwritten using CookieParser.
  14172. Now aria2 can handle cookie's expiration date.
  14173. * src/Cookie.h (expires): Changed its type to time_t.
  14174. * src/main.cc: Added --load-cookies command-line option.
  14175. * src/prefs.h (PREF_LOAD_COOKIES): New definition.
  14176. * src/Util.h, src/Util.cc (httpGMT): New function.
  14177. * src/Request.cc (Request): Initialize cookieBox using
  14178. CookieBoxFactory.
  14179. * src/CookieBoxFactory.h, src/CookieBoxFactory.cc: New class.
  14180. * src/CookieParser.h, src/CookieParser.cc: New class.
  14181. * src/main.cc: Chagned the default value of --metalink-servers to 5.
  14182. * src/HttpResponseCommand.cc
  14183. (handleOtherEncoding): Call RequestGroup::shouldCancelDownloadForSafety
  14184. * src/MetalinkRequestInfo.cc: Now -s option is ignored in Metalink
  14185. download.
  14186. 2007-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14187. Added -j command-line option.
  14188. * src/OptionHandlerFactory.cc (createOptionHandlers)
  14189. * src/main.cc
  14190. * src/ByteArrayDiskWriter.h, src/ByteArrayDiskWriter.cc
  14191. Rewritten using stringstream.
  14192. * src/TrackerUpdateCommand.h, src/TrackerUpdateCommand.cc
  14193. Rewritten using stringstream.
  14194. 2007-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14195. Make download size shown in MB, KB.
  14196. * src/ConsoleDownloadEngine.h (sendStatistics)
  14197. * src/Util.h, srcUtil.cc (abbrevSize): New function.
  14198. 2007-06-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14199. Accept incoming connections if download rate is low.
  14200. * src/PeerListenCommand.h, src/PeerListenCommand.cc:
  14201. (_lowestSpeedLimit): New variable.
  14202. (setLowestSpeedLimit): New function.
  14203. (execute): Accept incoming connections if download rate is low.
  14204. MAX_PEERS is ignored in this case.
  14205. Disable PREF_OUT in multiple concurrent download:
  14206. * src/RequestGroup.h, src/RequestGroup.cc
  14207. (setUserDefinedFilename): New function.
  14208. * src/DownloadEngineFactory.cc
  14209. (newConsoleEngine): Do not set PREF_OUT to requestGroup in multiple
  14210. concurrent download.
  14211. * src/DefaultSegmentManFactory.cc
  14212. (createNewInstance): Comment out the line: segmentMan->ufilename = ...
  14213. 2007-06-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14214. RequestGroup::getNextCommand() was renamed to createNextCommand().
  14215. Added its overloaded method.
  14216. * src/RequestGroup.h
  14217. (_numConcurrentCommand): New variable.
  14218. (setNumConcurrentCommand): New function.
  14219. * src/RequestGroup.cc
  14220. Abort download if same file is being downloaded concurrently.
  14221. * src/RequestGroup.h, src/RequestGroupMan.cc
  14222. (isSameFileBeingDownloaded): New function.
  14223. * src/HttpResponseCommand.cc (executeInternal)
  14224. * src/FtpNegotiateCommand.cc (recvSize)
  14225. * src/message.h (EX_DUPLICATE_FILE_DOWNLOAD): New definition.
  14226. * main.cc: Added help message for -i option.
  14227. 2007-06-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14228. * src/FileAllocationCommand.cc: Derived from RealtimeCommand.
  14229. * src/CheckIntegrityCommand.cc: Derived from RealtimeCommand.
  14230. * src/MetalinkEntry.h
  14231. (checksum): Changed to ChecksumHandle
  14232. * src/MetalinkRequestInfo.cc
  14233. (checksum): Changed to ChecksumHandle
  14234. * src/File.cc
  14235. (mkdirs): OPEN_MODE -> DIR_OPEN_MODE
  14236. * src/common.h
  14237. (DIR_OPEN_MODE): New definition
  14238. * src/RequestGroup.cc
  14239. (prepareForNextAction): Added an argument.
  14240. * src/message.h
  14241. (MSG_GOOD_CHECKSUM): New definition
  14242. (MSG_BAD_CHECKSUM): New definition
  14243. * src/HttpResponseCommand.cc
  14244. (handleDefaultEncoding): Continue download sequence in new
  14245. non-segmented download.
  14246. * src/FileAllocationEntry.h
  14247. (_nextDownloadCommand): New variable.
  14248. * src/DownloadCommand.cc
  14249. (prepareForNextSegment): Create ChecksumCommand if checksum is
  14250. available.
  14251. * src/RealtimeCommand.h, src/RealtimeCommand.cc: New class.
  14252. * src/IteratableChecksumValidator.h,
  14253. src/IteratableChecksumValidator.cc: New class.
  14254. * src/ChecksumCommand.h, src/ChecksumCommand.cc: New class.
  14255. 2007-05-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14256. Change file mode to 666:
  14257. * src/common.h (OPEN_MODE): New definition.
  14258. * src/File.cc
  14259. * src/Util.cc
  14260. * src/Directry.cc
  14261. * src/AbstractDiskWriter.cc
  14262. Change the level of log message "download aborted" to debug:
  14263. * src/PeerAbstractCommand.cc (execute)
  14264. * src/RequestGroup.h (RequestGroup): Initialized _hintTotalLength to 0.
  14265. * src/TrackerWatcherCommand.cc
  14266. (createCommand): Sleep some seconds after request failed.
  14267. If tracker request fails more than value of PREF_TRACKER_MAX_TRIES,
  14268. then abort tracker request.
  14269. 2007-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14270. * Added the simultaneous download feature.
  14271. * src/main.cc: Print "Exception caught: " when exception is caught.
  14272. Use CUIDCounter instead of BtRuntime::getNewCuid():
  14273. * src/ActivePeerConnectionCommand.cc
  14274. * src/PeerInteractionCommand.cc
  14275. * src/BtRuntime.h
  14276. (cuidCounter): Removed.
  14277. (getNewCuid): Removed.
  14278. * src/DownloadEngineFactory.cc
  14279. * src/PeerListenCommand.cc
  14280. * src/TrackerUpdateCommand.cc
  14281. * src/PeerInitiateConnectionCommand.cc
  14282. 2007-04-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14283. * src/PeerAbstractCommand.cc
  14284. (onAbort): Call PeerStorage::returnPeer()
  14285. * src/DefaultPeerStorage.h, src/DefaultPeerStorage.cc
  14286. (incomingPeers): New variable.
  14287. (addIncomingPeer): New function.
  14288. (returnPeer): New function.
  14289. (onErasingPeer): New function.
  14290. (addPeer): push_back -> push_front
  14291. (getActivePeers): Rewritten.
  14292. (calculateStat): Rewritten.
  14293. * src/PeerStorage.h
  14294. (TransferStat::copy): New function.
  14295. (TransferStat::TransferStat): New function.
  14296. (TransferStat::operator=): New function.
  14297. (addIncomingPeer): New function.
  14298. (returnPeer): New function.
  14299. * src/PeerListenCommand.cc
  14300. (execute): Use PeerStorage::addIncomingPeer() instead of
  14301. Peer::addPeer().
  14302. 2007-04-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14303. Connect to a peer actively when download speed is lower than specified
  14304. speed in torrent download:
  14305. * src/ActivePeerConnectionCommand.h: New class.
  14306. 2007-03-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14307. * src/HttpRequest.cc (createRequest): url-encode user-agent
  14308. * src/main.cc: Fixed the bug that prevents download if .netrc
  14309. doesn't exist.
  14310. 2007-03-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14311. To cache resolved hostname:
  14312. * src/AbstractCommand.h, src/AbstractCommand.cc
  14313. (resolveHostname): Put outside #ifdef ENABLE_ASYNC_DNS clause.
  14314. Added dns cache.
  14315. * src/FtpInitiateConnectionCommand.cc
  14316. (executeInternal): Removed #ifdef ENABLE_ASYNC_DNS.
  14317. * src/NameResolver.h, src/NameResolver.cc: Added synchronized
  14318. NameResolver working without ares.
  14319. * src/TorrentRequestInfo.cc
  14320. (execute): Don't cache dns in torrent download.
  14321. * src/HttpInitiateConnectionCommand.cc
  14322. (executeInternal): Removed #ifdef ENABLE_ASYNC_DNS
  14323. * src/DNSCache.h: New class.
  14324. * src/UrlRequestInfo.cc
  14325. (execute): Use dns cache.
  14326. In http request, suppress port number in http request header if port
  14327. is 80 or 443:
  14328. * src/HttpRequest.cc (getHostText): Suppress port number in http
  14329. request header if port is 80 or 443.
  14330. (createProxyRequest): Allways send port number.
  14331. 2007-03-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14332. To add the command-line option which disables netrc support:
  14333. * src/OptionHandlerFactory.cc
  14334. (createOptionHandlers): Added PREF_NO_NETRC.
  14335. * src/main.cc: Added -n option.
  14336. * src/prefs.h (PREF_NO_NETRC): New definition.
  14337. * src/RequestFactory.cc: Do not use netrc in ftp if PREF_NO_NETRC is
  14338. V_TRUE.
  14339. Note that netrc is not used in http, http proxy even if PREF_NO_NETRC
  14340. is V_FALSE. This may get configurable in the future release.
  14341. To clear peer's error status by time basis:
  14342. * src/PeerAbstractCommand.cc
  14343. (onAbort): Call Peer::startBadCondition().
  14344. * src/Peer.h, src/Peer.cc
  14345. (error): Removed.
  14346. (_badConditionStartTime): New variable.
  14347. (_badConditionInterval): New variable. Initialized to 10 seconds.
  14348. (startBadCondition): New function.
  14349. (isGood): New function.
  14350. * src/DefaultPeerStorage.cc
  14351. (addPeer): Use Peer::isGood().
  14352. (FindFinePeer): Use Peer::isGood().
  14353. Always include port number in http request header:
  14354. * src/HttpRequest.cc (getHostText): Always include port number in
  14355. http request header.
  14356. 2007-03-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14357. To the ability to read options from a config file:
  14358. * src/main.cc: Command-line parameter validation is delegated to
  14359. OptionHandler class.
  14360. * src/OptionHandlerFactory.h, src/OptionHandlerFactory.cc: New class.
  14361. * src/Option.h, src/Option.cc (clear): New function.
  14362. * src/OptionParser.h, src/OptionParser.cc: New class.
  14363. * src/OptionHandler.h: New class.
  14364. * src/NameMatchOptionHandler.h: New class.
  14365. * src/OptionHandlerImpl.h: New classes.
  14366. * src/prefs.h: '_' -> '-'
  14367. (FTP_PASV_ENABLED): Renamed to FTP_PASV.
  14368. (FTP_PASV): New definition.
  14369. * src/Util.h, src/Util.cc (getRealSize): New function.
  14370. To disable netrc support if .netrc file does not have correct
  14371. permissions:
  14372. * src/File.h, src/File.cc (mode): New function.
  14373. To prevent confidential information to be logged:
  14374. * src/HttpConnection.h, src/HttpConnection.cc
  14375. (eraseConfidentialInfo): New function.
  14376. (sendRequest): Call eraseConfidentialInfo().
  14377. (sendProxyRequest): Call eraseConfidentialInfo().
  14378. * src/main.cc: Validate permissions of .netrc file.
  14379. To add --user-agent command-line option:
  14380. * src/main.cc: Added new command line option: --user-agent
  14381. * src/prefs.h (PREF_USER_AGENT): New definition.
  14382. * src/HttpRequestCommand.cc (executeInternal): Set user-agent option
  14383. parameter to HttpRequest object.
  14384. * src/AbstractProxyRequestCommand.cc
  14385. (executeInternal): Set user-agent option parameter to HttpRequest
  14386. object.
  14387. Marged the patches from Dan Fandrich.
  14388. 2007-03-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14389. Use filename and size from Metalink file instead of sending HEAD
  14390. request:
  14391. * src/UrlRequestInfo.h
  14392. (_filename): New variable.
  14393. (_totalLength): New variable.
  14394. (setTotalLength): New variable.
  14395. (setFilename): New variable.
  14396. * src/MetalinkRequestInfo.cc
  14397. (execute): Set filename and size to UrlRequestInfo
  14398. * src/UrlRequestInfo.cc
  14399. (execute): Use filename and size from Metalink instead of seding
  14400. HEAD request to servers.
  14401. 2007-03-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14402. To add the ability to resume downloading a partially downloaded file
  14403. which is downloaded from the beginning:
  14404. * src/FileAllocator.h: Made abstract class. New DefaultFileAllocator
  14405. takes this role.
  14406. * src/main.cc: Added -c option.
  14407. * src/BitfieldMan.h, src/BitfieldMan.cc (setBitRange): New function.
  14408. * src/DiskWriter.h (openExistingFile): Added totalLength argument.
  14409. * src/prefs.h (PREF_CONTINUE): New definition.
  14410. * src/SegmentMan.h, src/SegmentMan.cc (markPieceDone): New function.
  14411. * src/DefaultDiskWriter.cc
  14412. (createNewDiskWriter): Add GlowFileAllocator to the new object.
  14413. * src/AbstractDiskWriter.h
  14414. (glowFileAllocator): New variable.
  14415. * src/AbstractDiskWriter.cc
  14416. (openExistingFile): Now preallocate file space from the end of the
  14417. existing file if totalLength argument is specified and grater than 0.
  14418. * src/UrlRequestInfo.cc: If -c option is specified and the file
  14419. to download exists in local, continue the download of the file.
  14420. --allow-overwrite=true is assumed in this context.
  14421. * src/DefaultFileAllocator.h, src/DefaultFileAllocator.cc: New class.
  14422. * src/GlowFileAllocator.h, src/GlowFileAllocator.cc: New class.
  14423. Throw exception if --check-integrity=true is specified but chunk
  14424. checksums are not provided:
  14425. * src/UrlRequestInfo.cc
  14426. Do not print URLs to stdout:
  14427. * src/UrlRequestInfo.cc
  14428. 2007-03-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14429. * src/Request.h: Use AuthResolver to get authentication information.
  14430. * src/main.cc: Made RequestFactory a singleton object. Netrc is now
  14431. set to RequestFactory object.
  14432. * src/AuthConfigItem.h, src/AuthConfigItem.cc: Removed.
  14433. * src/AuthConfig.h, src/AuthConfig.cc: Rewritten.
  14434. * src/TrackerWatcherComand.cc: Use RequestFactorySingletonHolder to
  14435. create Request object.
  14436. 2007-03-19 Tatsuhiro Tsujikawa <tujikawa at valkyrie dot rednoah com>
  14437. To integrate Netrc into exsiting classes:
  14438. * src/Request.h
  14439. (_userDefinedAuthConfig): New variable.
  14440. (findNetrcAuthenticator): New function.
  14441. (segment): Removed.
  14442. (setUserDefinedAuthConfig): New function.
  14443. (resolveHttpAuthConfigItem): New function.
  14444. (resolveFtpAuthConfigItem): New function.
  14445. (resolveHttpProxyAuthConfigItem): New function.
  14446. * src/HttpRequest.h
  14447. (authConfig): Removed.
  14448. (proxyAuthConfig): Removed.
  14449. (setAuthConfig): Removed.
  14450. (setProxyAuthConfig): Removed.
  14451. * src/UrlRequest.h
  14452. (getHeadResult): Added a parameter: authConfigHandle
  14453. * src/common.h
  14454. (SingletonHolder.h): New include.
  14455. * src/main.cc
  14456. (Netrc.h): New include.
  14457. (main): Removed initial values of PREF_FTP_USER, PREF_FTP_PASSWD.
  14458. Added initial value of PREF_NETRC_PATH.
  14459. Added the initialization of netrc.
  14460. * src/AuthConfig.h: New class.
  14461. * src/prefs.h
  14462. (PREF_NETRC_PATH): New definition.
  14463. * src/HttpAuthConfig.h: Removed.
  14464. * src/Netrc.cc
  14465. (getRequiredNextToken): New function.
  14466. (skipMacdef): New function.
  14467. (parse): Rewritten.
  14468. * src/Netrc.h
  14469. (getRequiredNextToken): New function.
  14470. (skipMacdef): New function.
  14471. * src/Util.h, src/Util.cc
  14472. (getHomeDir): New function.
  14473. * src/TrackerWatcherComand.cc
  14474. (createRequestCommand): Use AuthConfig.
  14475. * src/FtpConnection.cc
  14476. (sendUser): Use Request::resolveFtpAuthConfigItem().
  14477. (sendPass): Use Request::resolveFtpAuthConfigItem().
  14478. * src/Request.cc
  14479. (findNetrcAuthenticator): New function.
  14480. (resolveHttpAuthConfigItem): New function.
  14481. (resolveFtpAuthConfigItem): New function.
  14482. (resolveHttpProxyAuthConfigItem): New function.
  14483. * src/UrlRequestInfo.cc: Use AuthConfig.
  14484. * src/HttpRequest.cc
  14485. (createRequest): Use authConfig.
  14486. (getProxyAuthString): Use authConfig.
  14487. (configure): Removed PREF_HTTP_USER, PREF_HTTP_PASSWD,
  14488. PREF_HTTP_PROXY_USER, PREF_HTTP_PROXY_PASSWD.
  14489. 2007-03-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14490. To reduce overhead to find commands whose socket is either
  14491. readable or writable in the download engine loop:
  14492. * src/Command.h, src/Command.cc
  14493. (STATUS): New enum.
  14494. (status): New variable.
  14495. (statusMatch): New function.
  14496. (setStatusActive): New function.
  14497. (setStatusInactive): New function.
  14498. * src/DownloadEngine.h, src/DownloadEngine.cc
  14499. (executeCommand): New function.
  14500. (run): Simplified.
  14501. (waitData): Call Command::setStatusActive() when command's socket is
  14502. readable or writable.
  14503. 2007-03-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14504. To handle Segment as SegmentHandle:
  14505. * src/AbstractCommand.cc (execute): Rewritten.
  14506. * src/SegmentMan.h: Segment -> SegmentHandle
  14507. Introducded HttpResponse class, HttpRequest class to improve code
  14508. extensiveness and make it clear:
  14509. * src/HttpDownloadCommand.cc: transfer encoders are now managed by
  14510. HttpResponse class.
  14511. * src/HttpRequest.h, src/HttpRequest.cc: New class.
  14512. * src/HttpResponse.h, src/HttpResponse.cc: New class.
  14513. * src/HttpConnection.cc: Contruction of http request were moved to
  14514. HttpRequest class.
  14515. * src/HttpResponseCommand.h, src/HttpResponseCommand.cc: Refactored.
  14516. * src/HttpRequestCommand.cc (executeInternal): Rewritten.
  14517. * src/HttpAuthConfig.h: New class.
  14518. * src/Range.h: New class.
  14519. To make FtpTunnel{Request, Response}Command and
  14520. HttpProxy{Request, Response}Command derived from
  14521. AbstractProxy{Request, Response}Command:
  14522. * src/FtpTunnelResponseCommand.h, src/FtpTunnelResponseCommand.cc:
  14523. Derived from AbstractProxyRequestCommand class.
  14524. * src/FtpTunnelRequestCommand.h, src/FtpTunnelRequestCommand.cc:
  14525. Derived from AbstractProxyResponseCommand class.
  14526. * src/HttpProxyRequestCommand.h, src/HttpProxyRequestCommand.cc:
  14527. Derived from AbstractProxyRequestCommand class.
  14528. * src/HttpProxyResponseCommand.h, src/HttpProxyResponseCommand.cc:
  14529. Derived from AbstractProxyResponseCommand class.
  14530. * src/AbstractProxyRequestCommand.h, src/AbstractProxyRequestCommand.cc
  14531. : New class.
  14532. * src/AbstractProxyResponseCommand.h,
  14533. src/AbstractProxyResponseCommand.cc: New class.
  14534. To add netrc support:
  14535. * src/Netrc.h, src/Netrc.cc: New class.
  14536. * src/Util.h, src/Util.cc (split): New function.
  14537. * src/HttpHeader.cc (getRange): Fixed so that it inspects
  14538. "Content-Range" header instead of "Range" header.
  14539. * src/HttpHeader.h
  14540. (getStatus): Removed.
  14541. (setStatus): Removed.
  14542. * src/Segment.h
  14543. (getPositionToWrite): New function.
  14544. 2007-03-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14545. * src/HttpHeader.h
  14546. (Range.h): New include.
  14547. (status): New variable.
  14548. (HttpHeader): Initialized status with 0.
  14549. (getStatus): New function.
  14550. (setStatus): New function.
  14551. (getRange): New function.
  14552. (HttpHeaderHandle): New function.
  14553. * src/HttpHeader.cc
  14554. (getRange): New function.
  14555. * src/Request.h
  14556. (RequestWeakHandle): New definition.
  14557. * src/HttpConnection.h
  14558. (HttpConnectionHandle): New type definition.
  14559. * src/HttpConnection.cc
  14560. (receiveResponse): Set HTTP status to headers.
  14561. * src/main.cc
  14562. (showUsage): Fixed typo.
  14563. * src/Segment.h
  14564. (SegmentHandle): New type definition.
  14565. * src/BitfieldMan.h
  14566. (getMissingUnusedLength): New function.
  14567. * src/BitfieldMan.cc
  14568. (getMissingUnusedLength): New function.
  14569. 2007-02-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14570. To fix static initialization order problem:
  14571. * src/BitfieldManFactory.h
  14572. (defaultRandomizer): Removed.
  14573. (factory): New variable.
  14574. (getNewFactory): Removed.
  14575. (getFactoryInstance): New function.
  14576. (setDefaultRandomizer): Rewritten.
  14577. (getDefaultRandomizer): Rewritten.
  14578. * src/BitfieldManFactory.cc
  14579. (defaultRandomizer): Removed.
  14580. (factory): Initialized to 0.
  14581. (BitfieldManFactory): Initialized randomizer to 0.
  14582. * src/DefaultPieceStorage.cc
  14583. (DefaultPieceStorage): getNewFactory() -> getFactoryInstance()
  14584. * src/Peer.cc
  14585. (Peer): getNewFactory() -> getFactoryInstance()
  14586. * src/SegmentMan.cc
  14587. (initBitfield): getNewFactory() -> getFactoryInstance()
  14588. * src/Piece.cc
  14589. (Piece): getNewFactory() -> getFactoryInstance()
  14590. 2007-02-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14591. To fix the bug that causes crash on Max OS X:
  14592. * src/SimpleRandomizer.h
  14593. (getInstance): Create new instance if the static variable is null.
  14594. * src/SimpleRandomizer.cc
  14595. (randomizer): Initialized to 0.
  14596. * src/BitfieldManFactory.h
  14597. (getNewFactory): Removed the call to setRandomizer().
  14598. To fix the miscalculation of the range of checksum:
  14599. * src/BitfieldMan.h
  14600. (isBitSetOffsetRange): New function.
  14601. * src/BitfieldMan.cc
  14602. (isBitSetOffsetRange): New function.
  14603. * src/SegmentMan.cc
  14604. (tryChunkChecksumValidation): Use BitfieldMan::isBitSetOffsetRange().
  14605. Use bitfield->getBlockLength() instead of segment.segmentLength.
  14606. * Release 0.10.1
  14607. 2007-02-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14608. To lower CPU usage in BitTorrent download when --max-upload-limit
  14609. command-line option specified:
  14610. * src/DefaultBtMessageDispatcher.cc
  14611. (sendMessages): Calculate uploading speed only when current message
  14612. is uploading data and is not sent yet.
  14613. * src/DefaultPeerStorage.h
  14614. (MAX_PEER_LIST_SIZE): 100 -> 60, because 60 is well enough.
  14615. * src/HttpResponseCommand.cc
  14616. (handleDefaultEncoding): Added the cast to int32_t to itos.
  14617. This fixes compile error in Soralis 10.
  14618. 2007-01-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14619. To fix segfault in Metalink download:
  14620. * src/UrlRequestInfo.h
  14621. (filename): Removed.
  14622. (totalLength): Removed.
  14623. (setTotalLength): Removed.
  14624. (setFilename): Removed.
  14625. * src/MetalinkRequestInfo.cc
  14626. (execute): Do not set filename and totalLength to reqInfo.
  14627. Set chunk checksum to reqInfo if it is not null.
  14628. * src/HttpResponseCommand.cc
  14629. (executeInternal): Fixed filename in log.
  14630. (handleDefaultEncoding): Removed the call to initBitfield() and
  14631. markAllPiecesDone().
  14632. (handleOtherEncoding): Added HEAD method handling.
  14633. * src/FtpNegotiateCommand.cc
  14634. (executeInternal): Added SEQ_HEAD_OK handling.
  14635. (recvSize): In HEAD handling, set sequence to SEQ_HEAD_OK and
  14636. return false.
  14637. * src/FtpNegotiateCommand.h
  14638. (SEQ_HEAD_OK): New definition.
  14639. * src/SegmentMan.cc
  14640. (initBitfield): Delete bitfield.
  14641. (isChunkChecksumValidationReady): Fixed the condition.
  14642. * src/UrlRequestInfo.cc: Fixed so that Metalink and Torrent download
  14643. works fine.
  14644. 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14645. * src/Xml2MetalinkProcessor.h
  14646. (xpathExists): New function.
  14647. * src/Xml2MetalinkProcessor.cc
  14648. (xpathExists): New function.
  14649. Not to send HEAD request if filename and size are available in Metalink
  14650. file:
  14651. * src/UrlRequestInfo.h
  14652. (filename): New variable.
  14653. (totalLength): New variable.
  14654. (setTotalLength): New function.
  14655. (setFilename): New function.
  14656. * src/MetalinkRequestInfo.cc
  14657. (execute): Set filename and size to UrlRequestInfo.
  14658. * src/MetalinkEntry.cc
  14659. (MetalinkEntry): Initialize size with 0.
  14660. * src/UrlRequestInfo.cc
  14661. (execute): Set filename and size to SegmentMan.
  14662. Not to download rest of the files after selected files are downloaded
  14663. in BitTorrent:
  14664. * src/PieceStorage.h
  14665. (allDownloadFinished): New function.
  14666. * src/DefaultBtAnnounce.cc
  14667. (isCompleteAnnounceReady): Use allDownloadFinished instead of
  14668. downloadFinished.
  14669. (getAnnounceUrl): Use allDownloadFinished instead of downloadFinished.
  14670. * src/DefaultPieceStorage.cc
  14671. (completePiece): Use allDownloadFinished instead of downloadFinished.
  14672. Commented out the call to finishSelectiveDownloadingMode().
  14673. (downloadFinished): Call isFilteredAllBitSet() instead of
  14674. isAllBitSet().
  14675. (allDownloadFinished): New function.
  14676. * src/DefaultBtInteractive.cc
  14677. (addBitfieldMessageToQueue): Call allDownloadFinished() instead of
  14678. downloadFinished().
  14679. (checkHave): Call allDownloadFinished() instead of downloadFinished().
  14680. * src/TorrentDownloadEngine.cc
  14681. (onEndOfRun): Call allDownloadFinished() instead of downloadFinished().
  14682. * src/BitfieldMan.h
  14683. (isFilteredAllBitSet): New function.
  14684. * src/ShareRatioSeedCriteria.h
  14685. (PieceStorage.h): New include.
  14686. (pieceStorage): New variable.
  14687. (evaluate):
  14688. btContext->getTotalLength() -> pieceStorage->getCompletedLength()
  14689. * src/BitfieldMan.cc
  14690. (isFilteredAllBitSet): New function.
  14691. (isAllBitSet): Filter is not took into account.
  14692. Rename --force-truncate as --allow-overwrite:
  14693. * src/TorrentRequestInfo.cc
  14694. (execute): PREF_FORCE_TRUNCATE -> PREF_ALLOW_OVERWRITE
  14695. * src/main.cc
  14696. (showUsage): --force-truncate -> --allow-overwrite
  14697. * src/message.h
  14698. (EX_FILE_ALREADY_EXISTS): --force-truncate -> --allow-overwrite
  14699. * src/prefs.h
  14700. (PREF_FORCE_TRUNCATE): Removed.
  14701. (PREF_ALLOW_OVERWRITE): New definition.
  14702. * src/SegmentMan.cc
  14703. (shouldCancelDownloadForSafety): --force-truncate -> --allow-overwrite
  14704. * src/MetalinkRequestInfo.cc
  14705. (execute): Queueing message are now logged in info level.
  14706. * src/common.h
  14707. (LONG_LONG_MAX): Removed.
  14708. (LONG_LONG_MIN): Removed.
  14709. * src/HttpResponseCommand.cc
  14710. (handleDefaultEncoding): LONG_LONG_MAX -> INT64_MAX
  14711. * src/FtpNegotiateCommand.cc
  14712. (recvSize): LONG_LONG_MAX -> INT64_MAX
  14713. * src/main.cc
  14714. (showUsage): Added --check-integriy and --realtime-chunk-checksum
  14715. command-line option.
  14716. (main): Added --check-integriy and --realtime-chunk-checksum
  14717. command-line option.
  14718. --force-truncate -> --allow-overwrite
  14719. Set initial value of --check-integrity option to false.
  14720. Don't show usage when error occurs while persing command-line options.
  14721. Removed deprecated --upload-limit option.
  14722. 2007-01-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14723. * src/message.h: Added EX_INVALID_PAYLOAD_SIZE and
  14724. EX_INVALID_BT_MESSAGE_ID. Following source files affected.
  14725. * src/BtAllowedFastMessage.cc:
  14726. * src/BtBitfieldMessage.cc
  14727. * src/BtCancelMessage.cc
  14728. * src/BtChokeMessage.cc
  14729. * src/BtHaveAllMessage.cc
  14730. * src/BtHaveMessage.cc
  14731. * src/BtHaveNoneMessage.cc
  14732. * src/BtInterestedMessage.cc
  14733. * src/BtNotInterestedMessage.cc
  14734. * src/BtPieceMessage.cc
  14735. * src/BtPortMessage.cc
  14736. * src/BtRejectMessage.cc
  14737. * src/BtRequestMessage.cc
  14738. * src/BtSuggestPieceMessage.cc
  14739. * src/BtUnchokeMessage.cc
  14740. * src/message.h: Added EX_INVALID_CHUNK_CHECKSUM. Following source
  14741. files are affected.
  14742. * src/ChunkChecksumValidator.cc
  14743. * src/SegmentMan.cc
  14744. 2007-01-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14745. To add chunk checksum validation:
  14746. * src/MetalinkEntry.h
  14747. (MetalinkChunkChecksum.h): New include.
  14748. (chunkChecksum): New variable.
  14749. * src/Request.h
  14750. (method): New variable.
  14751. (setMethod): New function.
  14752. (getMethod): New function.
  14753. (METHOD_GET): New static constant.
  14754. (METHOD_HEAD): New static constant.
  14755. * src/Xml2MetalinkProcessor.h
  14756. (getPieceHash): New function.
  14757. * src/PieceStorage.h
  14758. (markAllPiecesDone): New function.
  14759. (checkIntegrity): New function.
  14760. * src/FileAllocator.h
  14761. (NullFileAllocationMonitor.h): New include.
  14762. (FileAllocator): Initialize fileAllocationMonitor with new
  14763. NullFileAllocationMonitor().
  14764. * src/MultiDiskAdaptor.h
  14765. (messageDigest.h): Remove include.
  14766. (ctx): Removed.
  14767. (hashUpdate): Added ctx.
  14768. (MultiDiskAdaptor): Removed ctx.
  14769. (sha1Sum): Renamed as messageDigest.
  14770. (messageDigest): New function.
  14771. * src/UrlRequestInfo.h
  14772. (HeadResult): New class.
  14773. (digestAlgo): New variable.
  14774. (chunkChecksumLength): New variable.
  14775. (chunkChecksums): New variable.
  14776. (getHeadResult): New function.
  14777. (UrlRequestInfo): Added digestAlgo, chunkChecksumLength.
  14778. (setDigestAlgo): New function.
  14779. (setChunkChecksumLength): New function.
  14780. (setChunkChecksums): New function.
  14781. * src/DefaultPieceStorage.cc
  14782. (DiskAdaptorWriter.h): New include.
  14783. (ChunkChecksumValidator.h): New include.
  14784. (markAllPiecesDone): New function.
  14785. (checkIntegrity): New function.
  14786. * src/DefaultBtContext.h
  14787. (getPieceHashes): New function.
  14788. * src/TorrentRequestInfo.cc
  14789. (execute): Try to validate chunk checksum if file already exists and
  14790. .aria2 file doesn't there and user allows aria2 to overwrite it.
  14791. * src/messageDigest.h
  14792. (~MessageDigestContext): Added digestFree().
  14793. * src/MetalinkRequestInfo.cc
  14794. (execute): Set digestAlgo, chunkChecksum, chunkChecksums to reqInfo.
  14795. * src/DiskAdaptor.h
  14796. (messageDigest.h): New include.
  14797. (sha1Sum): Renamed as messageDigest.
  14798. (messageDigest): New function.
  14799. * src/DownloadCommand.h
  14800. (PeerStat.h): New include.
  14801. (maxDownloadSpeedLimit): New variable.
  14802. (startupIdleTime): New variable.
  14803. (lowestDownloadSpeedLimit): New variable.
  14804. (peerStat): New variable.
  14805. (setMaxDownloadSpeedLimit): New function.
  14806. (setStartupIdleTime): New function.
  14807. (setLowestDownloadSPeedLimit): New function.
  14808. * src/BtContext.h
  14809. (getPieceHashes): New function.
  14810. * src/main.cc
  14811. (main): Set PREF_REALTIME_CHUNK_CHECKSUM and PREF_CHECK_INTEGRITY
  14812. option to true for testing purpose.
  14813. * src/BtPieceMessage.cc
  14814. (checkPieceHash): Use messageDigest
  14815. * src/DownloadEngine.cc
  14816. (SetDescriptor): Removed.
  14817. (AccumulateActiveCommand): Removed.
  14818. (waitData): Rewritten.
  14819. (updateFdSet): Rewritten.
  14820. * src/MultiDiskAdaptor.cc
  14821. (hashUpdate): Added ctx.
  14822. (sha1Sum): Renamed as messageDigest.
  14823. (messageDigest): New function.
  14824. * src/BitfieldMan.h
  14825. (isBitRangeSet): New function.
  14826. (unsetBitRange): New function.
  14827. * src/ByteArrayDiskWriter.h
  14828. (sha1Sum): Renamed as messageDigest.
  14829. (messageDigest): New function.
  14830. * src/ConsoleDownloadEngine.cc
  14831. (calculateStatistics): If nspeed < 0 then set nspeed to 0.
  14832. * src/DiskWriter.h
  14833. (messageDigest.h): New include.
  14834. (sha1Sum): Renamed as messageDigest.
  14835. (messageDigest): New function.
  14836. * src/ChunkChecksumValidator.h: New class.
  14837. * src/DiskAdaptorWriter.h: New class.
  14838. * src/prefs.h
  14839. (PREF_REALTIME_CHUNK_CHECKSUM): New definition.
  14840. (PREF_CHECK_INTEGRITY): New definition.
  14841. * src/HttpResponseCommand.cc
  14842. (handleDefaultEncoding): Added method "HEAD" handling.
  14843. Removed the call to e->segmentMan->shouldCancelDownloadForSafety().
  14844. (handleOtherEncoding):
  14845. Added the call to e->segmentMan->shouldCancelDownloadForSafety().
  14846. (createHttpDownloadCommand): Set maxDownloadSpeedLimit,
  14847. startupIdleTime, lowestDownloadSpeedLimit to command.
  14848. * src/SegmentMan.h
  14849. (getSegmentEntryByIndex): New function.
  14850. (getSegmentEntryByCuid): New function.
  14851. (getSegmentEntryIteratorByCuid): New function.
  14852. (diskWriter): DiskWriter -> DiskWriterHandle
  14853. (pieceHashes): New variable.
  14854. (chunkHashLength): New variable.
  14855. (digestAlgo): New variable.
  14856. (FindPeerStat): Removed.
  14857. (getPeerStat): Rewritten.
  14858. (markAllPiecesDone): New function.
  14859. (checkIntegrity): New function.
  14860. (tryChunkChecksumValidation): New function.
  14861. (isChunkChecksumValidationReady): New function.
  14862. * src/BitfieldMan.cc
  14863. (BitfieldMan): Initialized bitfieldLength, blocks to 0.
  14864. (BitfieldMan): Initialized blockLength, totalLength, bitfieldLength,
  14865. blocks to 0.
  14866. (isBitRangeSet): New function.
  14867. (unsetBitRange): New function.
  14868. * src/FtpNegotiateCommand.cc
  14869. (executeInternal): Set maxDownloadSpeedLimit,
  14870. startupIdleTime, lowestDownloadSpeedLimit to command.
  14871. (recvSize): Added method "HEAD" handling.
  14872. Removed the call to e->segmentMan->shouldCancelDownloadForSafety().
  14873. * src/AbstractSingleDiskAdaptor.cc
  14874. (sha1Sum): Renamed as messageDigest.
  14875. (messageDigest): New function.
  14876. * src/AbstractSingleDiskAdaptor.h
  14877. (sha1Sum): Renamed as messageDigest.
  14878. (messageDigest): New function.
  14879. * src/Util.h
  14880. (indexRange): New function.
  14881. * src/MetalinkEntry.cc
  14882. (MetalinkEntry): Initialized chunkChecksum to 0.
  14883. * src/ShaVisitor.cc
  14884. (~ShaVisitor): Removed the call to ctx.digestFree().
  14885. * src/SegmentMan.cc
  14886. (ChunkChecksumValidator.h): New include.
  14887. (SegmentMan): Initialized chunkHashLength to 0. Initialized digestAlgo
  14888. to DIGEST_ALGO_SHA1.
  14889. (~SegmentMan): Removed diskWriter.
  14890. (FindSegmentEntryByIndex): Removed.
  14891. (FindSegmentEntryByCuid): Removed.
  14892. (checkoutSegment): Rewritten.
  14893. (findSlowerSegmentEntry): Rewritten.
  14894. (getSegment): Rewritten.
  14895. (updateSegment): Rewritten.
  14896. (completeSegment): Rewritten.
  14897. (markAllPiecesDone): New function.
  14898. (checkIntegrity): New function.
  14899. (isChunkChecksumValidationReady): New function.
  14900. (tryChunkChecksumValidation): New function.
  14901. * src/Xml2MetalinkProcessor.cc
  14902. (getEntry): Get size and set it to entry.
  14903. Get chunk checksum and set it to entry.
  14904. (getPieceHash): New function.
  14905. * src/Util.cc
  14906. (sha1Sum): Removed ctx.digestFree()
  14907. (fileChecksum): Removed ctx.digestFree()
  14908. (indexRange): New function.
  14909. * src/Request.cc
  14910. (METHOD_GET): New variable.
  14911. (METHOD_HEAD): New variable.
  14912. (Request): Added method.
  14913. * src/UrlRequestInfo.cc
  14914. (FatalException.h): New include.
  14915. (message.h): New include.
  14916. (operator<<): Added operator<< for class HeadResult.
  14917. (getHeadResult): New function.
  14918. (execute): Get filename and size in separate download engine.
  14919. * src/ChunkChecksumValidator.cc: New class.
  14920. * src/DownloadCommand.cc:
  14921. (DownloadCommand): Added peerStat.
  14922. (executeInternal): Use maxDownloadSpeedLimit member instead of getting
  14923. the value from Option.
  14924. The buffer size is now 16KB.
  14925. Use peerStat member instead of getting it from SegmentMan.
  14926. Use startupIdleTime member instead of gettingit from Option.
  14927. Added chunk checksum validation.
  14928. * src/AbstractDiskWriter.cc
  14929. (AbstractDiskWriter): Removed ctx.
  14930. (~AbstractDiskWriter): Removed ctx.digestFree()
  14931. (writeDataInternal): Returns the return value of write.
  14932. (readDataInternal): Returns the return value of read.
  14933. (sha1Sum): Renamed as messageDigest
  14934. (messageDigest): New function.
  14935. * src/AbstractDiwkWriter.h
  14936. (messageDigest.h): Removed include.
  14937. (ctx): Removed.
  14938. (sha1Sum): Renamed as messageDigest
  14939. (messageDigest): New function.
  14940. * src/DefaultPieceStorage.h
  14941. (markAllPiecesDone): New function.
  14942. (checkIntegrity): New function.
  14943. * src/NullFileAllocationMonitor.h: New class.
  14944. * src/MetalinkChunkChecksum.h: New class.
  14945. 2007-01-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  14946. To decrease CPU usage in bittorrent download, calculation results in
  14947. BitfieldMan were cached and realtime fetching PeerObject was removed
  14948. with WeakHandle introduced. Option values are set to the objects
  14949. by setter before download begins.
  14950. * src/DefaultBtRequestFactory.cc: Use messageFactory member.
  14951. * src/DefaultBtRequestFactory.h
  14952. (dispatcher): BtMessageDispatcherHandle ->
  14953. BtMessageDispatcherWeakHandle.
  14954. (messageFactory): New variable.
  14955. (setBtMessageDispatcher): BtMessageDispatcherHandle ->
  14956. BtMessageDispatcherWeakHandle.
  14957. (setBtMessageFactory): New function.
  14958. * src/DefaultBtMessageDispatcher.cc:
  14959. (sendMessages): Use maxUploadSpeedLimit instead of fetching the value
  14960. from Option.
  14961. (checkRequestSlotAndDoNecessaryThing): Use requestTimeout instead of
  14962. feating the value from Option.
  14963. Use messageFactory member.
  14964. * src/PeerInteractionCommand.cc
  14965. (PeerInteractionCommand): Added maxDownloadSpeedLimit.
  14966. Add reverse dependencies to factory object.
  14967. Set maxUploadSpeedLimit and requestTimeout and messageFactory to
  14968. dispatcher.
  14969. Set messageFactory to receiver.
  14970. Set keepAliveInterval and maxDownloadSpeedLimit and messageFactory to
  14971. btInteractive.
  14972. Set receiver to peerObject.
  14973. Set maxDownloadSpeedLimit to this.
  14974. (executeInternal): Use maxDownloadSpeedLimit member.
  14975. * src/BtChokeMessage.cc
  14976. (doReceivedAction): Use dispatcher, requestFactory member.
  14977. (onSendComplete): Use dispatcher member.
  14978. * src/PeerInteractionCommand.h
  14979. (maxDownloadSpeedLimit): New variable.
  14980. * src/DefaultBtMessageReceiver.h
  14981. (peerConnection): PeerConnectionHandle -> PeerConnectionWeakHandle
  14982. (dispatcher):
  14983. BtMessageDispatcherHandle -> BtMessageDispatcherWeakHandle
  14984. (messageFactory): New variable.
  14985. (setPeerConnection): PeerConnectionHandle -> PeerConnectionWeakHandle
  14986. (getPeerConnection): PeerConnectionHandle -> PeerConnectionWeakHandle
  14987. (setDispatcher):
  14988. BtMessageDispatcherHandle -> BtMessageDispatcherWeakHandle
  14989. (setBtMessageFactory): New function.
  14990. * src/DefaultBtInteractive.cc
  14991. (initiateHandshake): Use messageFactory member.
  14992. (addBitfieldMessageToQueue): Use messageFactory member.
  14993. (addAllowedFastMessageToQueue): Use messageFactory member.
  14994. (decideChoking): Use messageFactory member.
  14995. (checkHave): Use messageFactory member.
  14996. (sendKeepAlive): Use keepAliveInterval, messageFactory member.
  14997. (receiveMessages): Use maxDownloadSpeedLimit member.
  14998. (decideInterest): Use messageFactory member.
  14999. * src/BtRequestMessage.cc
  15000. (doReceivedAction): Use messageFactory, dispatcher member.
  15001. (onQueued): Use dispatcher member.
  15002. * src/BtPieceMessage.cc
  15003. (doReceivedAction): Use dispatcher member.
  15004. (send): Use peerConnection member.
  15005. (onWrongPiece): Use requestFactory member.
  15006. (handleChokingEvent): Use messageFactory, dispatcher member.
  15007. (handleCancelSendingPieceEvent): Use messageFactory, dispatcher member.
  15008. * src/BtMessageDispatcher.h
  15009. (BtMessageDispatcherWeakHandle): New type definition.
  15010. * src/SimpleBtMessage.cc
  15011. (send): Use peerConnection member.
  15012. * src/BtRejectMessage.cc
  15013. (doReceivedAction): Use dispatcher member.
  15014. * src/DefaultBtMessageDispatcher.h
  15015. (Option.h): Removed include.
  15016. (messageFactory): New variable.
  15017. (option): Removed.
  15018. (maxUploadSpeedLimit): New variable.
  15019. (requestTimeout): New variable.
  15020. (DefaultBtMessageDispatcher): Removed option.
  15021. Added maxUploadSpeedLimit, requestTimeout.
  15022. (setOption): Removed.
  15023. (getOption): Removed.
  15024. (setMaxUploadSpeedLimit): New function.
  15025. (setRequestTimeout): New function.
  15026. (setBtMessageFactory): New function.
  15027. * src/DefaultBtInteractive.h
  15028. (btMessageReceiver):
  15029. BtMessageReceiverHandle -> BtMessageReceiverWeakHandle
  15030. (dispatcher):
  15031. BtMessageDispatcherHandle -> BtMessageReceiverWeakHandle
  15032. (btRequestFactory):
  15033. BtRequestFactoryHandle -> BtRequestFactoryWeakHandle
  15034. (peerConnection):
  15035. PeerConnectionHandle -> PeerConnectionWeakHandle
  15036. (messageFactory): New variable.
  15037. (option): Removed.
  15038. (keepAliveInterval): New variable.
  15039. (maxDownloadSpeedLimit): New variable.
  15040. (DefaultBtInteractive): Added keepAliveInterval, maxDownloadSpeedLimit.
  15041. (setBtMessageReceiver):
  15042. BtMessageReceiverHandle -> BtMessageReceiverWeakHandle
  15043. (setDispatcher):
  15044. BtMessageDispatcherHandle -> BtMessageReceiverWeakHandle
  15045. (setBtRequestFactory):
  15046. BtRequestFactoryHandle -> BtRequestFactoryWeakHandle
  15047. (setPeerConnection):
  15048. PeerConnectionHandle -> PeerConnectionWeakHandle
  15049. (setOption): Removed.
  15050. (setKeepAliveInterval): New function.
  15051. (setMaxDownloadSpeedLimit): New function.
  15052. (setBtMessageFactory): New function.
  15053. * src/BitfieldMan.h
  15054. (cachedNumMissingBlock): New variable.
  15055. (cachedNumFilteredBlock): New variable.
  15056. (cachedCompletedLength): New variable.
  15057. (cachedFilteredComletedLength): New variable.
  15058. (cachedFilteredTotalLength): New variable.
  15059. (countMissingBlockNow): New function.
  15060. (countFilteredBlockNow): New function.
  15061. (getFilteredTotalLengthNow): New function.
  15062. (getCompletedLengthNow): New function.
  15063. (getFilteredCompletedLengthNow): New function.
  15064. (updateCache): New function.
  15065. * src/AbstractBtMessage.h
  15066. (BtMessageDispatcher.h): New include.
  15067. (PeerConnection.h): New include.
  15068. (BtRequestFactory.h): New include
  15069. (BtMessageFactory.h): New include.
  15070. (dispatcher): New variable.
  15071. (messageFactory): New variable.
  15072. (peerConnection: New variable.
  15073. (setBtMessageDispatcher): New function.
  15074. (setPeerConnection): New function.
  15075. (setBtMessageFactory): New function.
  15076. (setBtRequestFactory): New function.
  15077. * src/DefaultBtMessageFactory.cc
  15078. (setCommonProperty): Set dispatcher, requestFactory, this,
  15079. peerConnection to msg.
  15080. * src/BtRegistry.h
  15081. (BT_MESSAGE_RECEIVER): New macro.
  15082. * src/PeerConnection.h
  15083. (PeerConnectionWeakHandle): New type definition.
  15084. * src/BtMessageFactory.h
  15085. (BtMessageFactoryWeakHandle): New type definition.
  15086. * src/BitfieldMan.cc
  15087. (BitfieldMan): Added cachedNumMissingBlock, cachedNumFilteredBlock,
  15088. cachedCompletedLength, cachedFilteredComletedLength,
  15089. cachedFilteredTotalLength.
  15090. Call updateCache().
  15091. (countMissingBlock): Return cachedNumMissingBlock.
  15092. (countMissingBlockNow): New function.
  15093. (countBlock): Return cachedNumFilteredBlock if filterEnabled is true.
  15094. (countFilteredBlockNow): New function.
  15095. (setBit): Call updateCache().
  15096. (unsetBit): Call updateCache().
  15097. (setBitfield): Call updateCache().
  15098. (clearAllBit): Call updateCache().
  15099. (setAllBit): Use setBitInternal instead of setBit.
  15100. Call updateCache().
  15101. (addFilter): Call updateCache().
  15102. (enableFilter): Call updateCache().
  15103. (disableFilter): Call updateCache().
  15104. (clearFilter): Call updateCache().
  15105. (getFilteredTotalLength): Return cachedFilteredTotalLength.
  15106. (getFilteredTotalLengthNow): New function.
  15107. (getCompletedLength): Return cachedCompletedLength.
  15108. (getCompletedLengthNow): New function.
  15109. (getFilteredCompletedLength): Return cachedFilteredComletedLength.
  15110. (getFilteredCompletedLengthNow): New function.
  15111. (updateCache): New function.
  15112. * src/BtMessageReceiver.h
  15113. (BtMessageReceiverWeakHandle): New type definition.
  15114. * src/DefaultBtMessageReceiver.cc
  15115. (receiveHandshake): Use messageFactory member.
  15116. (sendHandshake): Use messageFactory member.
  15117. (receiveMessage): Use messageFactory member.
  15118. * src/DefaultBtMessageFactory.h
  15119. (dispatcher): New variable.
  15120. (requestFactory): New variable.
  15121. (peerConnection): New variablle.
  15122. (setBtMessageDispatcher): New function.
  15123. (setBtRequestFactory): New function.
  15124. (setPeerConnection): New function.
  15125. * src/SharedHandle.h
  15126. (RefCount): New class.
  15127. (WeakHandle): New class.
  15128. * src/PeerObject.h
  15129. (BtMessageReceiver.h): New include.
  15130. (PeerObject): Added btMessageReceiver.
  15131. (btMessageReceiver): New variable.
  15132. * src/Util.cc
  15133. (countBit): Simplified.
  15134. * src/BtCancelMessage.cc
  15135. (doReceivedAction): Use dispatcher member.
  15136. * src/BtRequestFactory.h
  15137. (BtRequestFactoryWeakHandle): New type definition.
  15138. * src/PeerStorage.h
  15139. (downloadSpeed): int -> uint32_t
  15140. (uploadSpeed): int -> uint32_t
  15141. (sessionDownloadLength): long long int -> uint64_t
  15142. (sessionUploadLength): long long int -> uint64_t
  15143. 2007-01-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15144. To add RecoverableException, FatalException:
  15145. * src/AbstractCommand.cc
  15146. (onAbort): Exception -> RecoverableException
  15147. * src/PeerAbstractCommand.h
  15148. (RecoverableException.h): New include.
  15149. (onAbort): Exception -> RecoverableException.
  15150. * src/PeerInteractionCommand.cc
  15151. (onAbort): Exception -> RecoverableException.
  15152. * src/PeerAbstractCommand.cc
  15153. (execute): Exception -> RecoverableException.
  15154. (onAbort): Exception -> RecoverableException.
  15155. * src/TorrentRequestInfo.cc
  15156. (execute): Exception -> RecoverableException.
  15157. * src/MetalinkRequestInfo.cc
  15158. (execute): Exception -> RecoverableException.
  15159. * src/MetaFileUtil.cc: RecoverableException.
  15160. * src/AbstractCommand.h
  15161. (onAbort): Exception -> RecoverableException.
  15162. * src/DlRetryEx.h: Exception -> RecoverableException.
  15163. * src/DlAbortEx.h: Exception -> RecoverableException.
  15164. * src/PeerListenCommand.cc: Exception -> RecoverableException.
  15165. * src/Util.cc: Exception -> RecoverableException.
  15166. * src/DefauldDiskWriter.cc: Exception -> RecoverableException.
  15167. * src/TrackerUpdateCommand.cc: Exception -> RecoverableException.
  15168. * src/UrlRequestInfo.cc: Exception -> RecoverableException.
  15169. To make ID static const int
  15170. * src/BtInterestedMessage.h
  15171. (ID_t): Removed.
  15172. (ID): New variable.
  15173. (getId): Made non-const.
  15174. * src/BtPieceMessage.h
  15175. (ID_t): Removed.
  15176. (ID): New variable.
  15177. (getId): Made non-const.
  15178. * src/BtChokeMessage.h
  15179. (ID_t): Removed.
  15180. (ID): New variable.
  15181. (getId): Made non-const.
  15182. * src/BtHaveAllMessage.h
  15183. (ID_t): Removed.
  15184. (ID): New variable.
  15185. (getId): Made non-const.
  15186. * src/BtKeepAliveMessage.h
  15187. (ID_t): Removed.
  15188. (ID): New variable.
  15189. (getId): Made non-const.
  15190. * src/BtHandshakeMessage.h
  15191. (ID): New variable.
  15192. (getId): Made non-const.
  15193. * src/BtSuggestPieceMessage.h
  15194. (ID_t): Removed.
  15195. (ID): New variable.
  15196. (getId): Made non-const.
  15197. * src/BtPortMessage.h
  15198. (ID_t): Removed.
  15199. (ID): New variable.
  15200. (getId): Made non-const.
  15201. * src/AbstractBtMessage.h
  15202. (id): Removed.
  15203. (AbstractBtMessage): Removed id.
  15204. (getId): Removed.
  15205. * src/BtHaveMessage.h
  15206. (ID_t): Removed.
  15207. (ID): New variable.
  15208. (getId): Made non-const.
  15209. * src/BtAllowedFastMessage.h
  15210. (ID_t): Removed.
  15211. (ID): New variable.
  15212. (getId): Made non-const.
  15213. * src/BtCancelMessage.h
  15214. (ID_t): Removed.
  15215. (ID): New variable.
  15216. (getId): Made non-const.
  15217. * src/BtNotInterestedMessage.h
  15218. (ID_t): Removed.
  15219. (ID): New variable.
  15220. (getId): Made non-const.
  15221. * src/BtChokeMessage.h
  15222. (ID_t): Removed.
  15223. (ID): New variable.
  15224. (getId): Made non-const.
  15225. * src/BtRejectMessage.h
  15226. (ID_t): Removed.
  15227. (ID): New variable.
  15228. (getId): Made non-const.
  15229. * src/BtBitfieldMessage.h
  15230. (ID_t): Removed.
  15231. (ID): New variable.
  15232. (getId): Made non-const.
  15233. * src/BtUnchokeMessage.h
  15234. (ID_t): Removed.
  15235. (ID): New variable.
  15236. (getId): Made non-const.
  15237. * src/BtRequestMessage.h
  15238. (ID_t): Removed.
  15239. (ID): New variable.
  15240. (getId): Made non-const.
  15241. * src/BtHaveMessage.h
  15242. (ID_t): Removed.
  15243. (ID): New variable.
  15244. (getId): Made non-const.
  15245. To add --force-truncate command-line option and a check whether
  15246. the file already exists:
  15247. * src/DirectDiskAdaptor.h
  15248. (getFilePath): Made virtual public.
  15249. * src/MultiDiskAdaptor.h
  15250. (File.h): New include.
  15251. (DiskWriterEntry::fileEntry): Made private.
  15252. (DiskWriterEntry::fileExists): New function.
  15253. (DiskWriterEntry::getFileEntry): New function.
  15254. (fileExists): New function.
  15255. (getFilePath): New function.
  15256. * src/TorrentRequestInfo.cc
  15257. (FatalException.h): New include.
  15258. (message.h): New include.
  15259. (RecoverableException.h): New include.
  15260. (execute): Added a check whether file is already exists or not.
  15261. * src/DiskAdaptor.h
  15262. (fileExists): New function.
  15263. (getFilePath): New function.
  15264. * src/main.cc
  15265. (showUsage): Added an explanation of --force-truncate command-line
  15266. option.
  15267. (main): Added --force-truncate command-line option.
  15268. * src/Exception.h
  15269. (setMsg): buf[256] -> buf[1024]
  15270. * src/CopyDiskWriter.h
  15271. (getFilePath): Made public virtual.
  15272. * src/MultiDiskAdaptor.cc: fileEntry -> getFileEntry()
  15273. (fileExists): New function.
  15274. * src/DownloadEngineFactory.cc
  15275. (newTorrentConsoleEngine): Don't open file here.
  15276. * src/message.h
  15277. (EX_FILE_ALREADY_EXISTS): New definition.
  15278. * src/prefs.h
  15279. (PREF_FOECE_TRUNCATE): New definition.
  15280. * src/HttpResponseCommand.cc
  15281. (handleDefaultEncoding): Added a check whether the file already exists.
  15282. * src/SegmentMan.h
  15283. (fileExists): New function.
  15284. (shouldCancelDownloadForSafety): New function.
  15285. * src/FtpNegotiateCommand.cc
  15286. (recvSize): Added a check whether the file already exists.
  15287. * src/AbstractSingleDiskAdaptor.cc
  15288. (File.h): New include.
  15289. (fileExists): New function.
  15290. * src/AbstractSingleDiskAdaptor.h
  15291. (getFilePath): Removed.
  15292. (fileExists): New function.
  15293. * src/SegmentMan.cc
  15294. (fileExists): New function.
  15295. (shouldCancelDownloadForSafety): New function.
  15296. To fix regression bug in torrent downloading:
  15297. * src/DefaultBtRequestFactory.cc
  15298. (doChokedAction): New function.
  15299. * src/DefaultBtRequestFactory.h
  15300. (doChokedAction): New function.
  15301. * src/DefaultBtMessageDispatcher.cc
  15302. (doChokedAction): Do not delete request if its target is in allowed
  15303. fast set.
  15304. * src/DefaultBtInteractive.cc
  15305. (doPostHandshakeProcessing): Added a call to sendPendingMessage().
  15306. (sendKeepAlive): Send keep alive message even if the outgoing message
  15307. queue is not empty.
  15308. (decideInterest): Simplified the code.
  15309. (fillPiece): Remove a call to dispatcher->doChokedAction() because
  15310. it is already called when BtChokeMessage is received from a peer.
  15311. * src/BtRequestFactory.h
  15312. (doChokedAction): New function.
  15313. To clean up code:
  15314. * src/PeerInteractionCommand.h
  15315. (executeInternal): Added virtual keyword explicitly.
  15316. (prepareForRetry): Added virtual keyword explicitly.
  15317. (prepareForNextPeer): Added virtual keyword explicitly.
  15318. (onAbort): Added virtual keyword explicitly.
  15319. * src/RequestSlot.cc
  15320. (isTimeout): Use Time::elapsed() instead of differenceInMillis().
  15321. * src/BtPieceMessage.cc
  15322. (doReceivedAction): Added a debug log of piece's bitfield.
  15323. * src/Piece.h
  15324. (getBitfieldLength): New function.
  15325. * src/ByteArrayDiskWriter.cc
  15326. (clear): Added buf = 0 to avoid double free corruption.
  15327. * src/FileAllocator.cc
  15328. (allocate): Fixed an assignment of fileAllocationMonitor->currentValue.
  15329. Added cp.reset().
  15330. * src/BitfieldMan.h
  15331. (operator=): Rewritten.
  15332. * src/BitfieldMan.cc
  15333. (BitfieldMan): Initialized bitfield, useBitfield.
  15334. * src/PeerConnection.cc
  15335. (receiveMessage): Added a call to socket->readable() after getting
  15336. message length to avoid possible EOF.
  15337. * src/Util.cc
  15338. (torrentUrlencode): Fixed an encodeing bug. BUG#1629912
  15339. 2007-01-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15340. To add an ability to pre-allocate file space:
  15341. * src/DirectDiskAdaptor.h: Rewritten.
  15342. * src/PieceStorage.h: DiskAdaptor -> DiskAdaptorHandle
  15343. * src/MultiDiskAdaptor.h: Rewritten.
  15344. * src/DefaultPieceStorage.cc
  15345. (MultiDiskWriter.h): Removed include.
  15346. (PreAllocationDiskWriter.h): Removed include.
  15347. (FileAllocationMonitor.h): New include.
  15348. (~DefaultPieceStorage): Removed deletion of diskAdaptor.
  15349. (initStorage): Rewritten.
  15350. (getDiskAdaptor): DiskAdaptor -> DiskAdaptorHandle
  15351. * src/FileAllocator.h: New class.
  15352. * src/FileAllocator.cc: New class.
  15353. * src/FileAllocationMonitor.h: New class.
  15354. * src/FileAllocationMonitor.cc: New class.
  15355. * src/ConsoleFileAllocationMonitor.h: New class.
  15356. * src/ConsoleFileAllocationMonitor.cc: New class.
  15357. * src/AbstractSingleDiskAdaptor.h: New class.
  15358. * src/AbstractSingleDiskAdaptor.cc: New class.
  15359. * src/DiskAdaptor.h
  15360. (Directory.h): Removed include.
  15361. (DiskWriter.h): Removed include.
  15362. (FileEntry.h): Removed include.
  15363. (diskWriter): Removed.
  15364. (DiskAdaptor): Removed diskWriter.
  15365. (openFile): Made pure virtual.
  15366. (closeFile): Made pure virtual.
  15367. (openExistingFile): Made pure virtual.
  15368. (initAndOpenFile): Made pure virtual.
  15369. (writeData): Made pure virtual.
  15370. (readData): Made pure virtual.
  15371. (sha1Sum): Made pure virtual.
  15372. (getStoreDir): Returns const reference of storeDir.
  15373. (DiskAdaptorHandle): New type definition.
  15374. * src/main.cc
  15375. (ConsoleFileAllocationMonitor.h): New include.
  15376. (showUsage): Added default value description of -s option.
  15377. Added the description of --file-allocation option.
  15378. (main): Set default value of --file-allocation option to 'none'.
  15379. Added --file-allocation command-line option.
  15380. Setup FileAllocationMonitorFactory.
  15381. * src/FtpInitiateConnectionCommand.cc
  15382. (executeInternal): Removed diskWriter related processing, which was
  15383. moved to FtpNegotiationCommand.cc.
  15384. * src/DirectDiskAdaptor.cc
  15385. (getFilePath): Made non-const.
  15386. * src/CopyDiskAdaptor.h
  15387. (DiskAdaptor.h): Removed include.
  15388. (DiskWriter.h): Removed include.
  15389. (AbstractSingleDiskAdaptor.h): New include.
  15390. (getFilePath): Made non-const. Added virtual keyword.
  15391. (CopyDiskAdaptor): Removed diskWriter.
  15392. (getTempFile): Returns const reference.
  15393. (CopyDiskAdaptorHandle): New type definition.
  15394. * src/ByteArrayDiskWriter.cc
  15395. (clear): Simplified.
  15396. (initAndOpenFile): Rewritten.
  15397. (openFile): Call initAndOpenFile()
  15398. * src/MultiDiskAdaptor.cc: Rewritten.
  15399. * src/DownloadEngineFactory.cc
  15400. (FileAllocator.h): New include.
  15401. (FileAllocationMonitor.h): New include.
  15402. (newConsoleEngine): Call DefaultDiskWriter::createNewDiskWriter() to
  15403. create DefaultDiskWriter with file allocator.
  15404. * src/DiskWriter.h
  15405. (initAndOpenFile): Added totalLength argument.
  15406. (openFile): Added totalLength argument.
  15407. * src/prefs.h
  15408. (PREF_FILE_ALLOCATION): New definition.
  15409. (V_PREALLOC): New definition.
  15410. (V_NONE): New definition.
  15411. * src/HttpResponseCommand.cc
  15412. (handleDefaultEncoding): Call DefaultDiskWriter::initAndOpenFile with
  15413. size.
  15414. * src/FtpNegotiateCommand.cc
  15415. (Util.h): New include.
  15416. (recvSize): Open file here.
  15417. * src/Util.h
  15418. (ullitos): New function.
  15419. * src/CopyDiskWriter.h
  15420. (getFilePath): Made non-const.
  15421. * src/DefaultDiskWriter.h
  15422. (Option.h): New include.
  15423. (totalLength): Removed.
  15424. (DefaultDiskWriter): Removed totalLength.
  15425. (initAndOpenFile): Added totalLength argument.
  15426. (DefaultDiskWriterHandle): New type definition.
  15427. (createNewDiskWriter): New function.
  15428. * src/Util.cc
  15429. (ullitos): New function.
  15430. * src/DefaultDiskWriter.cc
  15431. (message.h): New include.
  15432. (FileAllocator.h): New include.
  15433. (prefs.h): New include.
  15434. (Util.h): New include.
  15435. (DefaultDiskWriter): Removed totalLength.
  15436. (initAndOpenFile): Added file allocation.
  15437. (createNewDiskWriter): New function. Just for temporary solution.
  15438. It will be rewritten later.
  15439. * src/DiskAdaptor.cc
  15440. (DiskAdaptor): Removed diskWriter.
  15441. * src/AbstractDiskWriter.cc
  15442. (LogFactory.h): New include.
  15443. (AbstractDiskWriter): Added fileAllocator, logger.
  15444. (openFile): Added totalLength argument.
  15445. * src/AbstractDiskWriter.h
  15446. (FileAllocator.h): New include.
  15447. (Logger.h): New include.
  15448. (fileAllocator): New variable.
  15449. (logger): New variable.
  15450. (openFile): Added totalLength argument. Added virtual keyword
  15451. explicitly.
  15452. (openExistingFile): Added totalLength argument. Added virtual keyword
  15453. explicitly.
  15454. (closeFile): Added virtual keyword explicitly.
  15455. (sha1Sum): Added virtual keyword explicitly.
  15456. (writeData): Added virtual keyword explicitly.
  15457. (readData): Added virtual keyword explicitly.
  15458. (setFileAllocator): New function.
  15459. * src/DefaultPieceStorage.h
  15460. (FileAllocator.h): New include.
  15461. (diskAdaptor): DiskAdaptor -> DiskAdaptorHandle
  15462. (getDiskAdaptor): DiskAdaptor -> DiskAdaptorHandle
  15463. * src/FileProgressMonitor.h: New class.
  15464. To compile aria2 on PC-BSD:
  15465. * src/DefaultBtContext.cc
  15466. (libgen.h): New include.
  15467. To fix memory leak:
  15468. * src/Exception.h
  15469. (~Exception): Delete cause. Fixed memory leak.
  15470. 2006-12-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15471. Rewritten a portion of bittorrent implementation:
  15472. * src/BtMessageValidator.h: New class.
  15473. * src/BtBitfieldMessageValidator.h: New class.
  15474. * src/BtHandshakeMessageValidator.h: New class.
  15475. * src/BtRequestMessageValidator.h: New class.
  15476. * src/BtSuggestPieceMessageValidator.h: New class.
  15477. * src/BtAllowedFastMessageValidator.h: New class.
  15478. * src/BtRejectMessageValidator.h: New class.
  15479. * src/BtCancelMessageValidator.h: New class.
  15480. * src/BtPieceMessageValidator.h: New class.
  15481. * src/BtHaveMessageValidator.h: New class.
  15482. * src/BtEventListener.h: New class.
  15483. * src/AbstractBtEventListener.h: New class.
  15484. * src/BtEvent.h: New class.
  15485. * src/BtChokingEvent.h: New class.
  15486. * src/BtChokedEvent.h: New class.
  15487. * src/BtCancelSendingPieceEvent.h: New class.
  15488. * src/BtAbortOutstandingRequestEvent.h: New class.
  15489. * src/Randomizer.h: New class.
  15490. * src/SimpleRandomizer.h: New class.
  15491. * src/BtMessage.h: New class.
  15492. * src/AbstractBtMessage.h: New class.
  15493. * src/SimpleBtMessage.h: New class.
  15494. * src/BtHaveMessage.h: New class.
  15495. * src/BtInterestedMessage.h: New class.
  15496. * src/BtAllowedFastMessage.h: New class.
  15497. * src/BtUnchokeMessage.h: New class.
  15498. * src/BtCancelMessage.h: New class.
  15499. * src/BtNotInterestedMessage.h: New class.
  15500. * src/BtChokeMessage.h: New class.
  15501. * src/BtHaveNoneMessage.h: New class.
  15502. * src/BtHandshakeMessage.h: New class.
  15503. * src/BtSuggestPieceMessage.h: New class.
  15504. * src/BtHaveMessage.h: New class.
  15505. * src/BtPieceMessage.h: New class.
  15506. * src/BtHaveAllMessage.h: New class.
  15507. * src/BtKeepAliveMessage.h: New class.
  15508. * src/BtPortMessage.h: New class.
  15509. * src/BtRejectMessage.h: New class.
  15510. * src/BtBitfieldMessage.h: New class.
  15511. * src/BtRequestMessage.h: New class.
  15512. * src/DefaultBtRequestFactory.h: New class.
  15513. * src/DefaultBtMessageReceiver.h: New class.
  15514. * src/BtInteractive.h: New class.
  15515. * src/BtMessageDispatcher.h: New class.
  15516. * src/DefaultBtMessageDispatcher.h: New class.
  15517. * src/DefaultBtInteractive.h: New class.
  15518. * src/BitfieldManFactory.h: New class.
  15519. * src/HandleRegistry.h: New class.
  15520. * src/BtMessageFactory.h: New class.
  15521. * src/BtMessageReceiver.h: New class.
  15522. * src/DefaultBtMessageFactory.h: New class.
  15523. * src/PeerObject.h: New class.
  15524. * src/BtRequestFactory.h: New class.
  15525. * src/SuggestPieceMessage.h: Removed.
  15526. * src/PortMessage.h: Removed.
  15527. * src/SuggestPieceMessage.h: Removed.
  15528. * src/KeepAliveMessage.h: Removed.
  15529. * src/HandshakeMessage.h: Removed.
  15530. * src/PeerInteraction.h: Removed.
  15531. * src/UnchokeMessage.h: Removed.
  15532. * src/PieceMessage.h: Removed.
  15533. * src/RequestMessage.h: Removed.
  15534. * src/InterestedMessage.h: Removed.
  15535. * src/HaveMessage.h: Removed.
  15536. * src/CancelMessage.h: Removed.
  15537. * src/RejectMessage.h: Removed.
  15538. * src/AllowedFastMessage.h: Removed.
  15539. * src/HaveNoneMessage.h: Removed.
  15540. * src/SimplePeerMessage.h: Removed.
  15541. * src/HaveAllMessage.h: Removed.
  15542. * src/BitfieldMessage.h: Removed.
  15543. * src/PeerMessageFactory.h: Removed.
  15544. * src/NotInterestedMessage.h: Removed.
  15545. * src/ChokeMessage.h: Removed.
  15546. * src/PeerMessage.h: Removed.
  15547. 2006-12-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15548. To know root cause of exception:
  15549. * src/Exception.h
  15550. (cause): New variable.
  15551. (Exception): Added a parameter.
  15552. (getMsg): Return const reference to msg.
  15553. (getCause): New function.
  15554. * src/DlRetryEx.h
  15555. (DlRetryEx): Added a parameter 'cause'.
  15556. Added an overloaded constructor.
  15557. (DlAbortEx): Added a parameter 'cause'.
  15558. Added an overloaded constructor.
  15559. * src/SimpleLogger.cc
  15560. (writeLog): Log nested exception messages recursively.
  15561. 2006-11-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15562. * src/DefaultBtProgressInfoFile.cc
  15563. (load): Fixed memory leak when the infohash doesn't match.
  15564. 2006-11-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15565. * src/DefaultPeerStorage.cc
  15566. (calculateStat): Simplified the code by combining 2 loops into 1.
  15567. 2006-11-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15568. Introduce new preference PREF_BT_TIMEOUT. This is the timeout value
  15569. for BitTorrent download:
  15570. * src/PeerAbstractCommand.cc
  15571. (PeerAbstractCommand): PREF_TIMEOUT -> PREF_BT_TIMEOUT
  15572. * src/main.cc:
  15573. (timeoutSpecified): Removed.
  15574. (main): Set the initial value of PREF_BT_TIMEOUT to 180.
  15575. Removed timeoutSpecified. TODO: Add --bt-timeout command line option.
  15576. * src/TorrentRequestInfo.cc
  15577. (timeoutSpecified): Removed.
  15578. (torrentHandler): Removed timeoutSpecified and the adjustment of
  15579. timeout value.
  15580. * src/prefs.h
  15581. (PREF_BT_TIMEOUT): New definition.
  15582. Delete unused variables:
  15583. * src/TorrentRequestInfo.cc
  15584. (requestInfo): Removed.
  15585. Move setSignalHander to Util::setGlobalSignalHandler:
  15586. * src/TorrentRequestInfo.cc:
  15587. setSignalHander -> Util::setGlobalSignalHandler
  15588. * src/main.cc
  15589. (setSignalHander): Removed.
  15590. (main): setSignalHander -> Util::setGlobalSignalHandler
  15591. * src/Util.h
  15592. (setGlobalSignalHandler): New function.
  15593. * src/Util.cc
  15594. (setGlobalSignalHandler): New function.
  15595. * src/UrlRequestInfo.cc:
  15596. setSignalHander -> Util::setGlobalSignalHandler
  15597. Reset peer status in order to exit gracefully:
  15598. * src/PeerAbstractCommand.cc
  15599. (execute): Call peer->resetStatus() when btRuntime->isHalt() is true.
  15600. To fix the bug that causes the number of bytes uploaded is not saved
  15601. to .aria2 file:
  15602. * src/DefaultPeerStorage.h
  15603. (removedPeerSessionDownloadLength): New variable.
  15604. (removedPeerSessionUploadLength): New variable.
  15605. * src/DefaultPeerStorage.cc
  15606. (DefaultPieceStorage): Added removedPeerSessionDownloadLength(0),
  15607. removedPeerSessionUploadLength(0).
  15608. (calculateStat): Calculate the number of bytes downloaded(uploaded)
  15609. through all peers, and then add removedPeerSessionDownloadLength(
  15610. removedPeerSessionUploadLength) to it.
  15611. (deleteUnusedPeer): Add the number of bytes downloaded(uploaded) from
  15612. (to) the peer to removedPeerSessionDownloadLength
  15613. (removedPeerSessionUploadLength).
  15614. 2006-11-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15615. To add Metalink location option:
  15616. * src/MetalinkRequestInfo.cc
  15617. (execute): Call MetalinkEntry::setLocationPreference()
  15618. * src/main.cc
  15619. (showUsage): Added the help message for --metalink-location option.
  15620. (main): Added --metalink-location option.
  15621. * src/prefs.h
  15622. (PREF_METALINK_LOCATION): New definition.
  15623. * src/MetalinkEntry.cc
  15624. (AddLocationPreference): New function object.
  15625. (setLocationPreference): New function.
  15626. * src/Xml2MetalinkProcessor.cc
  15627. (getResource): Set location attribute to MetalinkResource
  15628. To show URLs to download
  15629. * src/UrlRequestInfo.h
  15630. (printUrls): New function.
  15631. To add multiple <file> Metalink support:
  15632. * src/MetalinkEntry.h
  15633. (MetalinkResources): Removed.
  15634. (setLocationPreference): New function.
  15635. (MetalinkEntryHandle): New type definition.
  15636. (MetalinkEntries): New type definition.
  15637. * src/Xml2MetalinkProcessor.h
  15638. (getEntry): MetalinkEntry* -> MetalinkEntryHandle
  15639. (getResource): MetalinkResource* -> MetalinkResourceHandle
  15640. (parseFile): Metalinker* -> MetalinkerHandle
  15641. * src/UrlRequestInfo.h
  15642. (execute): RequestInfo* -> RequestInfos
  15643. * src/MetalinkRequestInfo.cc
  15644. (AccumulateNonP2PUrl): MetalinkResource* -> MetalinkResourceHandle
  15645. (FindBitTorrentUrl): MetalinkResource* -> MetalinkResourceHandle
  15646. (execute): RequestInfo* -> RequestInfos
  15647. Added multiple <file> support. Print filename when it is queued.
  15648. * src/MetalinkRequestInfo.h
  15649. (execute): RequestInfo* -> RequestInfos
  15650. (getDownloadEngine): Removed.
  15651. * src/RequestInfo.h
  15652. (RequestInfoHandle): New type definition.
  15653. (RequestInfos): New type definition.
  15654. (execute): RequestInfo* -> RequestInfos
  15655. (getDownloadEngine): Removed.
  15656. * src/MetalinkResource.h
  15657. (MetalinkResourceHandle): New type definition.
  15658. (MetalinkResources): New type definition.
  15659. * src/MetalinkEntry.cc
  15660. (~MetalinkEntry): Removed the deletion of the elements of resources,
  15661. because the element is now of type MetalinkResourceHandle.
  15662. (PrefOrder): MetalinkResource* -> MetalinkResourceHandle
  15663. (Supported): MetalinkResource* -> MetalinkResourceHandle
  15664. (dropUnsupportedResource): Removed the deletion of the elements of
  15665. resources because the element is now of type MetalinkResourceHandle.
  15666. * src/Xml2MetalinkProcessor.cc
  15667. (parseFile): Metalinker* -> MetalinkerHandle
  15668. MetalinkEntry* -> MetalinkEntryHandle
  15669. Removed try-catch block.
  15670. (getEntry): MetalinkEntry* -> MetalinkEntryHandle
  15671. MetalinkResource* -> MetalinkResourceHandle
  15672. Removed try-catch block.
  15673. (getResource): MetalinkResource* -> MetalinkResourceHandle
  15674. Free result by using xmlXPathFreeObject()
  15675. * src/Metalinker.cc
  15676. (~Metalinker): Removed the deletion of entries.
  15677. MetalinkEntry* -> MetalinkEntryHandle
  15678. (queryEntry): Add multiple <file> Metalink support.
  15679. * src/Metalinker.h
  15680. (MetalinkEntries): Removed.
  15681. (queryEntry): MetalinkEntry* -> MetalinkEntries
  15682. * src/MetalinkProcessor.h
  15683. (parseFile): Metalinker* -> MetalinkerHandle
  15684. Bug fixes:
  15685. * src/PeerChokeCommand.cc
  15686. (execute): cat01->cat02
  15687. * src/DefaultPieceStorage.cc
  15688. (DefaultPieceStorage): Added diskAdaptor(0)
  15689. * src/TrackerWatcherComand.cc:
  15690. (execute): Use btAnnounce->noMoreAnnounce()
  15691. to determin whether the function returns true or not.
  15692. * src/TrackerUpdateCommand.cc:
  15693. (execute): Use btAnnounce->noMoreAnnounce()
  15694. to determin whether the function returns true or not.
  15695. * src/FtpConnection.cc
  15696. (bulkReceiveResponse): Throw DlRetryEx if EOF got.
  15697. This is the fix of the busy loop bug.
  15698. * src/DownloadCommand.cc
  15699. (DownloadCommand): Reuse PeerStat. segmentMan->getPeerStat() returns
  15700. cached PeerStat.
  15701. The value of "name" entry in torrent file is now set by
  15702. *DiskAdaptor::setTopDir(...) methods.
  15703. * src/MultiDiskAdaptor.h
  15704. (topDir): New variable.
  15705. (setTopDir): New function.
  15706. (getTopDir): New function.
  15707. * src/MultiDiskAdaptor.cc
  15708. (getFilePath): Concat storDir, "/" and topDir.
  15709. (mkdir): Use getFilePath() to get the directory path for output.
  15710. * src/DefaultPieceStorage.cc
  15711. (initStorage): Set the value of "name" entry to MultiDiskAdaptor,
  15712. CopyDiskAdaptor.
  15713. * src/CopyDiskAdaptor.h
  15714. (topDir): New variable.
  15715. (setTopDir): New function.
  15716. (getTopDir): New function.
  15717. * src/CopyDiskAdaptor.cc
  15718. (fixFilename): Updated.
  15719. Misc
  15720. * src/UrlRequestInfo.h
  15721. (e): Removed.
  15722. (UrlRequestInfo): Removed e.
  15723. (getDownloadEngine): Removed.
  15724. * src/UrlRequestInfo.cc
  15725. (handler): Rewritten.
  15726. (printUrls): New function.
  15727. (execute): Call printUrls().
  15728. * src/HandshakeMessage.cc
  15729. (check): peerinteraction->getBtContext() -> btContext
  15730. * src/PeerInteraction.h
  15731. (getBtContext): Removed.
  15732. * src/TorrentRequestInfo.h
  15733. (execute): RequestInfo* -> RequestInfos
  15734. (getDownloadEngine): Removed.
  15735. * src/TorrentRequestInfo.cc
  15736. (haltRequested): Removed.
  15737. (btHaltRequested): New variable.
  15738. (torrentHandler): haltRequested -> btHaltRequested
  15739. (execute): RequestInfo* -> RequestInfos
  15740. * src/TorrentConsoleDownloadEngine.cc
  15741. (afterEachIteration): haltRequested -> btHaltRequested.
  15742. * src/ConsoleDownloadEngine.h
  15743. (initStatistics): Added virtual.
  15744. (calculateStatistics): Added virtual.
  15745. (onEndOfRun): Added virtual.
  15746. (afterEachIteration): Added virtual.
  15747. * src/ConsoleDownloadEngine.cc
  15748. (haltRequested): New variable.
  15749. (afterEachIteration): New function.
  15750. * src/main.cc
  15751. (requestInfo): Removed.
  15752. * src/SegmentMan.cc
  15753. (findSlowerSegmentEntry): Refactored.
  15754. * Release 0.9.0
  15755. 2006-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15756. To divide TorrentMan into 6 classes: BtContext, BtRuntime,
  15757. PeerStorage, PieceStorage, BtAnnounce and BtProgressInfoFile
  15758. * src/TorrentMan.h: Removed.
  15759. * src/TorrentMan.cc: Removed.
  15760. * src/TrackerWatcherComand.h: Made subclass of BtContextAwareCommand.
  15761. * src/SeedCheckCommand.cc: Use pieceStorage, btRuntime
  15762. * src/PeerAbstractCommand.h: Made subclass of BtContextAwareCommand.
  15763. * src/PeerAbstractCommand.cc: Use btRuntime.
  15764. * src/BtContextAwareCommand.h: New class.
  15765. * src/FileEntry.h: Added accessor methods for following variables.
  15766. (path): Made private.
  15767. (length): Made private.
  15768. (offset): Made private.
  15769. (extracted): Made private.
  15770. (requested): Made private.
  15771. (FileEntries): New definition.
  15772. (FileEntryHandle): New definition.
  15773. * src/FileEntry.cc: New file.
  15774. * src/HaveEraseCommand.h: Made subclass of BtContextAwareCommand.
  15775. * src/HaveEraseCommand.cc: Use btRuntime, pieceStorage.
  15776. * src/PeerChokeCommand.h: Made subclass of BtContextAwareCommand.
  15777. * src/PeerChokeCommand.cc: Use btRuntime, peerStorage, pieceStorage.
  15778. * src/PieceStorage.h: New file.
  15779. * src/PeerInteractionCommand.h: Use btContext.
  15780. * src/PeerInteractionCommand.cc: Use pieceStorage, peerStorage,
  15781. btRuntime.
  15782. * src/DefaultBtProgressInfoFile.h: New file.
  15783. * src/DefaultBtProgressInfoFile.cc: New file.
  15784. * src/File.cc
  15785. (Util.h): New include.
  15786. (mkdirs): New function.
  15787. * src/MultiDiskAdaptor.h
  15788. (mkdir): New function.
  15789. * src/PeerListProcessor.h
  15790. (Peers): Removed.
  15791. * src/PeerInteraction.h
  15792. (torrentMan): Removed.
  15793. (btContext): New variable.
  15794. (peerStorage): New variable.
  15795. (pieceStorage): New variable.
  15796. (btAnnounce): New variable.
  15797. (getTorrentMan): Removed.
  15798. (getBtContext): New function.
  15799. * src/PeerInteraction.cc: Use btContext, peerStorage, pieceStorage,
  15800. btAnnounce.
  15801. * src/HandshakeMessage.h
  15802. (TorrentMan.h): Removed.
  15803. * src/HandshakeMessage.cc: Use btContext.
  15804. * src/DefaultBtAnnounce.cc: New file.
  15805. * src/MultiDiskWriter.cc: Use the accessor methods of FileEntry.
  15806. * src/DefaultPieceStorage.cc: New file.
  15807. * src/DefaultBtContext.h: New file.
  15808. * src/TorrentRequestInfo.cc: Use btContext, pieceStorage.
  15809. Use the accessor methods of FileEntry.
  15810. * src/CookieBox.cc: Updated to use Util::slice().
  15811. * src/PieceMessage.cc: Use btContext, pieceStorage.
  15812. * src/common.h (SharedHandle.h): New include.
  15813. * src/PeerMessage.cc (PeerMessage): Added btContext, peerStorage,
  15814. pieceStorage.
  15815. * src/TorrentAutoSaveCommand.h: Made subclass of BtContextAwareCommand.
  15816. * src/DiskAdaptor.h
  15817. (topDir): Removed.
  15818. (getFileEntryFromPath): Changed the return type to FileEntryHandle.
  15819. (setTopDir): Removed.
  15820. (getTopDir): Removed.
  15821. * src/BtContext.h: New file.
  15822. * src/DefaultPeerStorage.h: New file.
  15823. * src/PieceMessage.h (TorrentMan.h): Removed.
  15824. * src/RequestMessage.h (TorrentMan.h): Removed.
  15825. * src/TorrentDownloadEngine.h
  15826. (uploadLength): New variable.
  15827. (btContext): New variable.
  15828. (btRuntime): New variable.
  15829. (pieceStorage): New variable.
  15830. (peerStorage): New variable.
  15831. (btAnnounce): New variable.
  15832. (btProgressInfoFile): New variable.
  15833. (torrentMan): Removed.
  15834. (setBtContext): New function.
  15835. * src/TorrentDownloadEngine.cc: Use BtContext, BtRuntime, pieceStorage,
  15836. peerStorage, btAnnounce, btProgressInfoFile.
  15837. * src/Piece.h
  15838. (toString): New function.
  15839. (Pieces): New type definition.
  15840. * src/Peer.h
  15841. (active): New variable.
  15842. (Peer): Added active.
  15843. (activate): Set active to true.
  15844. (deactivate): Set active to false.
  15845. (isActive): New function.
  15846. (Peers): New type definition.
  15847. * src/DirectDiskAdaptor.cc
  15848. (getFilePath): Use the accessor methods of FileEntry.
  15849. * src/TorrentConsoleDownloadEngine.h
  15850. (afterEachIteration): New function.
  15851. * src/TorrentConsoleDownloadEngine.cc
  15852. (haltRequested): New variable.
  15853. (sendStatistics): Use pieceStorage, btRuntime.
  15854. (afterEachIteration): New function.
  15855. * src/AnnounceList: AnnounceTier->AnnounceTierHandle.
  15856. * src/Directry.h
  15857. (Directory): New function.
  15858. (DirectoryHandle): New type definition.
  15859. * src/BtProgressInfoFile.h: New file.
  15860. * src/RequestMessage.cc: Use pieceStorage.
  15861. * src/BtRuntime.h: New file.
  15862. * src/DefaultBtContext.cc: New file.
  15863. * src/BitfieldMan.h
  15864. (getCompletedLength): New function(private).
  15865. (getCompletedLength): New function.
  15866. (getFilteredCompletedLength): New function.
  15867. * src/BitfieldMan.h
  15868. (getCompletedLength): New function(private).
  15869. (getCompletedLength): New function.
  15870. (getFilteredCompletedLength): New function.
  15871. * src/MultiDiskAdaptor.cc
  15872. (mkdir): New function.
  15873. (openFile): Call mkdir().
  15874. (initAndOpenFile): Call mkdir().
  15875. * src/CancelMessage.h
  15876. (TorrentMan.h): Removed.
  15877. * src/RejectMessage.h
  15878. (TorrentMan.h): Removed.
  15879. * src/DownloadEngineFactory.cc
  15880. (DefaultPieceStorage.h): New include.
  15881. (DefaultPeerStorage.h): New include.
  15882. (DefaultBtAnnounce.h): New include.
  15883. (DefaultBtProgressInfoFile.h): New include.
  15884. (newTorrentConsoleEngine): Rewritten.
  15885. * src/ShareRatioSeedCriteria.h
  15886. (torrentMan): Removed.
  15887. (btContext): New variable.
  15888. (peerStorage): New variable.
  15889. (btRuntime): New variable.
  15890. (evaluate): Use btContext, btRuntime, peerStorage.
  15891. * src/AnnounceTier.h: New file.
  15892. * src/BtAnnounce.h: New file.
  15893. * src/BtRegistry.h: New file.
  15894. * src/PeerInitiateConnectionCommand.h: Added btContext.
  15895. * src/PeerConnection.h (TorrentMan.h): Removed.
  15896. * src/PeerMessageFactory.cc: Use btContext, pieceStorage.
  15897. * src/Util.h
  15898. (slice): Added an argument.
  15899. * src/Util.cc
  15900. (slice): Added an argument to control whether trim is made or not.
  15901. * src/PeerStorage.h: New file.
  15902. * src/BtRegistry.cc: New file.
  15903. * src/TrackerUpdateCommand.h: Made subclass of BtContextAwareCommand.
  15904. * src/CopyDiskAdaptor.cc: Use the accessor methods of FileEntry.
  15905. * src/MultiDiskWriter.h: FileEntry -> FileEntryHandle
  15906. * src/PeerListenCommand.cc: Use btRuntime, peerStorage, btContext.
  15907. * src/TorrentRequestInfo.h
  15908. (e): Removed.
  15909. (showFileEntry): Added an argument.
  15910. (getDownloadEngine): Return 0.
  15911. * src/DefaultBtAnnounce.h: New file.
  15912. * src/TorrentAutoSaveCommand.cc: Use btRuntime, btProgressInfoFile.
  15913. * src/TrackerWatcherComand.cc: Use btRuntime, btAnnounce,
  15914. * src/PeerMessageFactory.h
  15915. (btContext): New variable.
  15916. (pieceStorage): New variable.
  15917. * src/TrackerUpdateCommand.cc: Use btRuntime, peerStorage, btContext,
  15918. btAnnounce.
  15919. * src/DiskAdaptor.cc
  15920. (DiskAdaptor): Removed topDir.
  15921. (~DiskAdaptor): Removed topDir.
  15922. * src/PeerListenCommand.h: Made subclass of BtContextAwareCommand.
  15923. * src/SeedCheckCommand.h: Made subclass of BtContextAwareCommand.
  15924. * src/File.h (mkdirs): New function.
  15925. * src/DefaultPeerStorage): New file.
  15926. * src/DownloadEngineFactory.h
  15927. (newTorrentConsoleEngine): Use btContext.
  15928. * src/BtContextAwareCommand.cc: New file.
  15929. * src/PeerInitiateConnectionCommand.cc: Use btRuntime, peerStorage.
  15930. * src/PeerMessage.h
  15931. (btContext): New variable.
  15932. (peerStorage): New variable.
  15933. (pieceStorage): New variable.
  15934. (setBtContext): New function.
  15935. * src/Directry.cc
  15936. (Directory): New function.
  15937. (createDir): Do nothing if name.size() == 0.
  15938. * src/AnnounceList.h
  15939. (AnnounceTier): Removed.
  15940. (AnnounceTiers): Removed.
  15941. * src/DefaultPieceStorage.h: New file.
  15942. * src/Piece.cc (toString): New function.
  15943. To fix typo:
  15944. * src/main.cc (showVersion): Fixed typo.
  15945. To fix compile warning:
  15946. * src/DelegatingPeerListProcessor.cc
  15947. (canHandle): Added "return false".
  15948. 2006-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  15949. To simplify TrackerWatherCommand, TrackerUpdateCommand and
  15950. make the process of announce request testable.
  15951. * src/TrackerWatcherCommand.h
  15952. (TimeA2.h): Removed.
  15953. (interval): Removed.
  15954. (checkPoint): Removed.
  15955. (createRequestCommand): Added an argument 'url'.
  15956. (TrackerWatherCommand): Removed interval.
  15957. (createCommand): New function.
  15958. * src/DownloadEngineFactory.cc
  15959. (newTorrentConsoleEngine): Updated according to the changes in
  15960. TrackerWatherCommand.
  15961. * src/TorrentMan.cc
  15962. (DelegatingPeerListProcessor.h): New includes.
  15963. (TorrentMan): Added the initialization of announceInterval.
  15964. (isStoppedAnnounceReady): New function.
  15965. (isCompletedAnnounceReady): New function.
  15966. (isDefaultAnnounceReady): New function.
  15967. (isAnnounceReady): New function.
  15968. (getAnnounceUrl): New function.
  15969. (announceStart): New function.
  15970. (announceFailure): New function.
  15971. (announceSuccess): New function.
  15972. (isAllAnnounceFailed): New function.
  15973. (resetAnnounce): New function.
  15974. (processAnnounceResponse): New function.
  15975. (needMorePeerConnection): New function.
  15976. (noMoreAnnounce): New function.
  15977. * src/TrackerUpdateCommand.h
  15978. (getTrackerResponse): int->size_t
  15979. * src/TorrentMan.h
  15980. (isStoppedAnnounceReady): New function.
  15981. (isCompletedAnnounceReady): New function.
  15982. (isDefaultAnnounceReady): New function.
  15983. (announceInterval): New variable.
  15984. (isAnnounceReady): New function.
  15985. (getAnnounceUrl): New function.
  15986. (announceStart): New function.
  15987. (announceFailure): New function.
  15988. (announceSuccess): New function.
  15989. (isAllAnnounceFailed): New function.
  15990. (resetAnnounce): New function.
  15991. (processAnnounceResponse): New function.
  15992. (needMorePeerConnection): New function.
  15993. (noMoreAnnounce): New function.
  15994. * src/TrackerWatcherCommand.cc
  15995. (TrackerWatherCommand): Removed interval and checkPoint.
  15996. (execute): Rewritten.
  15997. (createCommand): New function.
  15998. (createRequestCommand): Rewritten.
  15999. * src/TrackerUpdateCommand.cc
  16000. (MetaFileUtil.h): Removed.
  16001. (DelegatingPeerListProcessor.h): Removed.
  16002. (getTrackerResponse): int->size_t. Use torrentMan's new functions.
  16003. 2006-10-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16004. Request -> RequestHandle:
  16005. * src/HttpResponseCommand.h: Request->RequestHandle
  16006. * src/AbstractCommand.cc: Request->RequestHandle
  16007. * src/HttpDownloadCommand.cc: Request->RequestHandle
  16008. * src/HttpRequestCommand.cc: Request->RequestHandle
  16009. * src/FtpInitiateConnectionCommand.h: Request->RequestHandle
  16010. * src/AbstractCommand.h: Request->RequestHandle
  16011. * src/HttpProxyRequestCommand.h: Request->RequestHandle
  16012. * src/HttpResponseCommand.cc: Request->RequestHandle
  16013. * src/HttpInitiateConnectionCommand.h: Request->RequestHandle
  16014. * src/FtpNegotiateCommand.cc: Request->RequestHandle
  16015. * src/FtpTunnelResponseCommand.h: Request->RequestHandle
  16016. * src/HttpConnection.h: Request->RequestHandle
  16017. * src/HttpProxyResponseCommand.cc: Request->RequestHandle
  16018. * src/InitiateConnectionCommandFactory.h: Request->RequestHandle
  16019. * src/FtpTunnelResponseCommand.cc: Request->RequestHandle
  16020. * src/DownloadCommand.h: Request->RequestHandle
  16021. * src/FtpDowndloadCommand.cc: Request->RequestHandle
  16022. * src/HttpInitiateConnectionCommand.cc: Request->RequestHandle
  16023. * src/HttpRequestCommand.h: Request->RequestHandle
  16024. * src/FtpNegotiateCommand.h: Request->RequestHandle
  16025. * src/FtpTunnelResponseCommand.cc: Request->RequestHandle
  16026. * src/FtpInitiateConnectionCommand.cc: Request->RequestHandle
  16027. * src/HttpDownloadCommand.h: Request->RequestHandle
  16028. * src/FtpConnection.cc: Request->RequestHandle
  16029. * src/InitiateConnectionCommandFactory.cc: Request->RequestHandle
  16030. * src/UrlRequestInfo.cc: Request->RequestHandle
  16031. * src/HttpProxyResponseCommand.h: Request->RequestHandle
  16032. * src/HttpConnection.h: Request->RequestHandle
  16033. * src/DownloadCommand.cc: Request->RequestHandle
  16034. * src/FtpConnection.h: Request->RequestHandle
  16035. * src/FtpDowndloadCommand.h: Request->RequestHandle
  16036. * src/HttpProxyRequestCommand.cc: Request->RequestHandle
  16037. * src/FtpTunnelRequestCommand.h: Request->RequestHandle
  16038. * src/Request.h
  16039. (SharedHandle.h): New include.
  16040. (RequestHandle): New type definition.
  16041. (Requests): Redefined.
  16042. To add MULTITRACKER support:
  16043. * src/TrackerWatcherCommand.h
  16044. (createRequestCommand): New function.
  16045. * src/DownloadEngineFactory.cc
  16046. (newTorrentConsoleEngine): Removed req.
  16047. * src/prefs.h
  16048. (PREF_TRACKER_MAX_TRIES): New definition.
  16049. * src/TorrentMan.cc
  16050. (TorrentMan): Removed req. Added trackerNumTry.
  16051. (~TorrentMan): Removed req.
  16052. (setupInternal1): Added announceList.
  16053. * src/TorrentRequestInfo.cc
  16054. (execute): Set PREF_MAX_TIRES to 1. The max number of tries for
  16055. announces is now specified by PREF_TRACKER_MAX_TRIES.
  16056. * src/main.cc
  16057. (main): Added PREF_TRACKER_MAX_TRIES.
  16058. * src/TorrentMan.h
  16059. (Request.h): Removed.
  16060. (AnnounceList.h): New include.
  16061. (trackerNumTry): New variable.
  16062. (req): Removed.
  16063. (announceList): New variable.
  16064. * src/TrackerWatcherCommand.cc
  16065. (execute): Rewritten.
  16066. (createRequestCommand): New function.
  16067. * src/TrackerUpdateCommand.cc
  16068. (execute): Updated with the use of AnnounceList.
  16069. * src/AnnounceList.cc: New class.
  16070. * src/AnnounceList.h: New class.
  16071. To fix typo:
  16072. * src/prefs.h
  16073. (PREF_MAX_TRIES): max_try->max_tries
  16074. To not to decode "+" as space in URL decode:
  16075. * src/Util.cc
  16076. (urldecode): Removed "+"->space decoding rule. Test case was updated.
  16077. 2006-10-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16078. To add timeout to async name resolution:
  16079. * src/AbstractCommand.h
  16080. (nameResolveFinished): New function. This is not elegant way. It needs
  16081. to be more refined.
  16082. (nameResolverCheck): New variable.
  16083. * src/AbstractCommand.cc
  16084. (AbstractCommand): Added nameResolverCheck.
  16085. (execute): Added the check whether the name resolution has finished.
  16086. (setNameResolverCheck): Set nameResolverCheck to true.
  16087. (disableNameResolverCheck): Set nameResolverCheck to false.
  16088. (nameResolverFinished): New function.
  16089. * src/FtpInitiateConnectionCommand.h
  16090. (nameResolverFinished): New function.
  16091. * src/FtpInitiateConnectionCommand.cc
  16092. (FtpInitiateConnectionCommand): Set timeout to PREF_DNS_TIMEOUT.
  16093. * src/HttpInitiateConnectionCommand.h
  16094. (nameResolverFinished): New function.
  16095. * src/HttpInitiateConnectionCommand.cc
  16096. (HttpInitiateConnectionCommand): Set timeout to PREF_DNS_TIMEOUT.
  16097. * src/prefs.h
  16098. (PREF_DNS_TIMEOUT): New definition.
  16099. * src/main.cc
  16100. (main): Added PREF_DNS_TIMEOUT.
  16101. To add the support for a non-compact response from a tracker:
  16102. * src/PeerListProcessor.h: New class.
  16103. * src/DefaultPeerListProcessor.h: New class.
  16104. * src/DefaultPeerListProcessor.cc: New class.
  16105. * src/CompactPeerListProcessor.h: New class.
  16106. * src/CompactPeerListProcessor.cc: New class.
  16107. * src/DelegatingPeerListProcessor.h: New class.
  16108. * src/DelegatingPeerListProcessor.cc: New class.
  16109. * src/TorrentMan.cc
  16110. (addPeer): New function(overload).
  16111. (addPeer): Delete unused peers only when new peer is added.
  16112. * src/TorrentMan.h
  16113. (PeerListProcessor.h): Included.
  16114. (Peers): Removed.
  16115. (addPeer): New function(overload).
  16116. * src/TrackerUpdateCommand.cc
  16117. (netinet/in.h): Removed.
  16118. (DelegatingPeerListProcessor.h): Included.
  16119. (execute): Updated to use DelegatingPeerListProcessor.
  16120. To fix the memory leak in TorrentMan::peers:
  16121. * src/PeerAbstractCommand.cc
  16122. (onAbort): Added peer->resetStatus().
  16123. * src/Peer.h
  16124. (resetStatus): Made public.
  16125. To improve the precision of the speed calculation:
  16126. * src/SpeedCalc.h
  16127. (nextInterval): New variable.
  16128. * src/SpeedCalc.cc
  16129. (reset): Added nextInterval.
  16130. (isIntervalOver): Use nextInterval instead of CHANGE_INTERVAL_SEC.
  16131. (changeSw): Set nextInterval to 15 seconds relative to the current
  16132. instant time.
  16133. * src/main.cc
  16134. (showVersion): Updated.
  16135. (showUsage): Updated.
  16136. * Release 0.8.1
  16137. 2006-09-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16138. * src/main.cc
  16139. (showUsage): Commented out --min-segment-size option.
  16140. (main): Commented out --min-segment-size option.
  16141. * Release 0.8.0
  16142. 2006-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16143. * src/*.{h,cc}:
  16144. Added an exception to the license which allows linking with OpenSSL.
  16145. 2006-09-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16146. * src/AbstractCommand.cc
  16147. (execute): Check whether the download has finished before checking
  16148. socket status.
  16149. Return true if peerStat->getStatus() == REQUEST_IDLE.
  16150. Do not exit even if no segment is available.
  16151. * src/prefs.h
  16152. (PREF_STARTUP_IDLE_TIME): New definition.
  16153. * src/PeerInteractionCommand.cc
  16154. (executeInternal): Removed max speed limit. Because it performs bad.
  16155. (receiveMessages): Added max speed limit. This was better than above,
  16156. but still a little bit to be desired. Sometimes the download speed
  16157. became much faster than I specified.
  16158. * src/SpeedCalc.h
  16159. (start): New variable.
  16160. (accumulatedLength): New variable.
  16161. (getAvgSpeed): New function.
  16162. * src/SpeedCalc.cc
  16163. (reset): Added start, accumulatedLength.
  16164. (update): Added calculation of an average speed.
  16165. (getAvgSpeed): New function.
  16166. * src/DownloadCommand.h
  16167. (sw): Removed.
  16168. * src/main.cc
  16169. (main): Added PREF_STARTUP_IDLE_TIME.
  16170. * src/PeerStat.h
  16171. (STATUS): Added REQUEST_IDLE.
  16172. (getMaxSpeed): Renamed as getMaxDownloadSpeed().
  16173. (getAvgDownloadSpeed): New function
  16174. (requestIdle): New function.
  16175. * src/SegmentMan.h
  16176. (SegmentEntryHandle): New type definition.
  16177. (SegmentEntries): Now holds SegmentEntryHandle.
  16178. (findSlowerSegmentEntry): New funtion.
  16179. * src/SegmentMan.cc
  16180. (save): Updated according to the changes in SegmentEntries.
  16181. (read): Updated according to the changes in SegmentEntries.
  16182. (FindSegmentEntryByIndex): Updated according to the changes in
  16183. SegmentEntries.
  16184. (FindSegmentEntryByCuid): Updated according to the changes in
  16185. SegmentEntries.
  16186. (checkoutSegment): Updated according to the changes in SegmentEntries.
  16187. (onNullBitfield): Updated according to the changes in SegmentEntries.
  16188. Renamed uitr as itr.
  16189. (findSlowerSegmentEntry): New function.
  16190. (getSegment): Updated according to the changes in SegmentEntries.
  16191. Added the feature that cancels the segment with slow server and fast
  16192. one takes it over.
  16193. (cancelSegment): Updated according to the changes in SegmentEntries.
  16194. (getDownloadLength): Updated according to the changes in
  16195. SegmentEntries.
  16196. (init): Assigned 0 to bitfield after deleting it.
  16197. * src/DownloadCommand.cc
  16198. (STARTUP_IDLE_TIME): Removed.
  16199. (executeInternal): Use PREF_STARTUP_IDLE_TIME.
  16200. * src/PeerChokeCommand.cc
  16201. (optUnchokingPeer): Updated according to the changes in Peer.
  16202. (ResetDelta): Removed.
  16203. (UploadFaster): Updated according to the changes in Peer.
  16204. (DownloadFaster): Updated according to the changes in Peer.
  16205. (execute): I clarify the meaning of "upload" and "download" here.
  16206. "upload" means the transfer from localhost to remote host.
  16207. "download" means the transfer from remote host to localhost.
  16208. Based on this rule, I swapped orderByUploadRate and
  16209. orderByDownloadRate.
  16210. * src/PeerInteractionCommand.cc
  16211. (PeerInteraction): Removed peerInteraction->setUploadLImit().
  16212. (executeInternal): Removed the argument of
  16213. peerInteraction->sendMessages().
  16214. (receiveMessages): Rewritten download speed limit.
  16215. (sendKeepAlive): Removed peerInteraction->sendMessages().
  16216. * src/HttpResponseCommand.cc
  16217. (handleDefaultEncoding): If file size is unknown in torrent request,
  16218. do not call segmentMan->initBitfield() here.
  16219. Disabled persistent connection feature in torrent request.
  16220. * src/UrlRequestInfo.h
  16221. (UrlRequestInfo): Removed const qualifier from option.
  16222. * src/TorrentMan.h
  16223. (TransferStat): New class.
  16224. (deltaDownloadLength): Removed.
  16225. (deltaUploadLength): Removed.
  16226. (addDeltaDownloadLength): Removed.
  16227. (getDeltaDownloadLength): Removed.
  16228. (resetDeltaDownloadLength): Removed.
  16229. (addDeltaUploadLength): Removed.
  16230. (getDeltaUploadLength): Removed.
  16231. (resetDeltaUploadLength): Removed.
  16232. (addActivePeer): Added peer->activate().
  16233. (deleteActivePeer): Added peer->deactivate().
  16234. (calculateStat): New function.
  16235. * src/TorrentMan.cc
  16236. (TorrentMan): Removed deltaDownloadLength and deltaUploadLength.
  16237. (calculateStat): New function.
  16238. * src/PeerInteraction.h
  16239. (uploadLimit): Removed.
  16240. (option): New variable.
  16241. (setUploadLimit): Removed.
  16242. (getUploadSpeed): Removed.
  16243. (sendMessages): Removed the argument "currentUploadSpeed".
  16244. * src/PeerInteraction.cc
  16245. (prefs.h): Included.
  16246. (PeerInteraction): Removed uploadLimit. Added option.
  16247. (sendMessages): Rewritten upload speed limit.
  16248. (sendHandshake): Removed the argument from sendMessages().
  16249. (sendBitfield): Removed the argument from sendMessages().
  16250. * src/PeerAbstractCommand.cc
  16251. (execute): Commented out the portion of upload limit.
  16252. (onAbort): Removed peer->resetStatus().
  16253. * src/TorrentRequestInfo.cc
  16254. (timeoutSpecified): Declared extern.
  16255. (execute): Set timeout to 180 if timeout is not specified by.
  16256. command-line.
  16257. * src/PieceMessage.cc
  16258. (receivedAction): Added peer->updateDownloadLength().
  16259. Removed peer->addPeerUpload().
  16260. Removed torrentMan->addDeltaDownloadLength().
  16261. (send): Added peer->updateUploadLength().
  16262. Removed peer->addPeerDownload().
  16263. Removed torrentMan->addDeltaUploadLength().
  16264. * src/main.cc
  16265. (timeoutSpecified): New variable.
  16266. (main): Set timeoutSpecified to false.
  16267. If the command-line option "--upload-limit" is specified, then
  16268. timeoutSpecified is set to true. This option will remain in the next
  16269. release, but be deprecated in the future release.
  16270. * src/TorrentRequestInfo.h
  16271. (TorrentRequestInfo): Removed const qualifier from op.
  16272. * src/PeerStat.h
  16273. (uploadSpeed): New variable.
  16274. (PeerStat): Added default value to cuid.
  16275. (calculateUploadSpeed): New function.
  16276. (updateUploadLength): New function.
  16277. (getMaxUploadSpeed): New function.
  16278. (getAvgUploadSpeed): New function.
  16279. (reset): Added uploadSpeed. Set status to IDLE.
  16280. * src/TorrentDownloadEngine.h
  16281. (cp): Declared as Time.
  16282. (sessionDownloadLengthArray): Removed.
  16283. (sessionUploadLengthArray): Removed.
  16284. (currentCp): Removed.
  16285. (lastCalcStat): New variable
  16286. (lastElapsed): Removed.
  16287. (sessionDownloadLength): Removed.
  16288. (calculateStat): New function.
  16289. * src/TorrentDownloadEngine.cc
  16290. (initStatistics): Removed lastElapsed, cp[],
  16291. sessionDownloadLengthArray[], sessionUploadLengthArray[],
  16292. currentCp, sessionDownloadLength.
  16293. Added cp.reset() and lastCalcStat.reset().
  16294. (calculateSpeed): Changed the name of the argument.
  16295. (calculateStatistics): Rewritten.
  16296. (calculateStat): New function.
  16297. * src/Peer.h
  16298. (PeerStat.h): Included.
  16299. (peerUpload): Removed.
  16300. (peerDownload): Removed.
  16301. (peerStat): New variable.
  16302. (sessionUploadLength): New variable.
  16303. (sessionDownloadLength): New variable.
  16304. (deltaUpload): Removed.
  16305. (deltaDownload): Removed.
  16306. (resetStatus): Made private.
  16307. (Peer): Added sessionUploadLength, sessionDownloadLength.
  16308. Removed peerUpload, peerDownload.
  16309. (updateUploadLength): New function.
  16310. (addDeltaUpload): Removed.
  16311. (updateDownloadLength): New function.
  16312. (resetDeltaUpload): Removed.
  16313. (getDeltaUpload): Removed.
  16314. (addDeltaDownload): Removed.
  16315. (calculateUploadSpeed): New function.
  16316. (resetDeltaDownload): Removed.
  16317. (getDeltaDownload): Removed.
  16318. (calculateDownloadSpeed): New function.
  16319. (getSessionUploadLength): New function.
  16320. (getSessionDownloadLength): New function.
  16321. (activate): New function.
  16322. (deactivate): New function.
  16323. (addPeerUpload): Removed.
  16324. (setPeerUpload): Removed.
  16325. (getPeerUpload): Removed.
  16326. (addPeerDownload): Removed.
  16327. (setPeerDownload): Removed.
  16328. (getPeerDownload): Removed.
  16329. * src/Peer.cc
  16330. (resetStatus): Removed resetDeltaUpload() and resetDeltaDownload().
  16331. * src/MetalinkRequestInfo.h
  16332. (MetalinkRequestInfo): Removed const qualifier from op.
  16333. * src/RequestInfo.h
  16334. (op): Removed const qualifier.
  16335. (RequestInfo): Removed const qualifier from op.
  16336. * src/prefs.h
  16337. (PREF_MAX_SPEED_LIMIT): Renamed as PREF_MAX_DOWNLOAD_LIMIT.
  16338. (PREF_UPLOAD_LIMIT): Renamed as PREF_MAX_UPLOAD_LIMIT.
  16339. * src/PeerInteractionCommand.cc
  16340. (PeerInteractionCommand): Use PREF_MAX_UPLOAD_LIMIT.
  16341. (receiveMessages): Use PREF_MAX_DOWNLOAD_LIMIT.
  16342. * src/PeerInteraction.cc
  16343. (sendMessages): Use PREF_MAX_UPLOAD_LIMIT.
  16344. * src/main.cc
  16345. (showUsage): Updated the description of "--lowest-speed-limit" option.
  16346. Added the description of "--max-download-limit" option.
  16347. Removed the description of "--upload-limit" option.
  16348. Added the description of "--max-upload-limit" option.
  16349. (main): Use PREF_MAX_UPLOAD_LIMIT, PREF_MAX_DOWNLOAD_LIMIT.
  16350. Added "--max-download-limit" option and "--max-upload-limit" option.
  16351. Added the warning message if "--upload-limit" option is used.
  16352. * src/DownloadCommand.cc
  16353. (executeInternal): Use PREF_MAX_DOWNLOAD_LIMIT.
  16354. 2006-09-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16355. To rewrite segment download mechanism for HTTP/FTP download.
  16356. Use BitfieldMan to manage segment download.
  16357. * src/HttpResponseCommand.h
  16358. (executeInternal): Pass the reference of segment.
  16359. * src/AbstractCommand.cc
  16360. (prepareForRetry): Call segmentMan->cancelSegment here.
  16361. (onAbort): Call segmentMan->cancelSegment here.
  16362. * src/HttpDownloadCommand.cc
  16363. (prepareForNextSegment): New function.
  16364. * src/DownloadEngineFactory.cc
  16365. (newConsoleEngine): Removed splitter.
  16366. (newTorrentConsoleEngine): Removed splitter.
  16367. * src/Request.h
  16368. (segment): Renamed from seg.
  16369. * src/FtpInitiateConnectionCommand.h
  16370. (executeInternal): Pass the reference of segment.
  16371. * src/AbstractCommand.h
  16372. (executeInternal): Pass the reference of segment.
  16373. * src/pref.h
  16374. (PREF_SEGMENT_SIZE): New definition.
  16375. * src/HttpProxyRequestCommand.h
  16376. (executeInternal): Pass the reference of segment.
  16377. * src/HttpResponseCommand.cc
  16378. (checkResponse): Allowed status 206 when a request range starts 0.
  16379. (handleDefaultEncoding): Rewritten the code related to Segment.
  16380. (handleOtherEncoding): Rewritten the code related to Segment.
  16381. * src/SegmentMan.h
  16382. (SegmentEntry): New class.
  16383. (SegmentEntries): New type definition.
  16384. (bitfield): New variable.
  16385. (usedSegmentEntries): New variable.
  16386. (onNullBitfield): New function.
  16387. (checkoutSegment): New function.
  16388. (segments): Removed.
  16389. (splitter): Removed.
  16390. (unregisterId): Removed.
  16391. (getSegment): New function(overload)
  16392. (getDownloadedSize): Removed.
  16393. (cancelSegment): New function.
  16394. (completeSegment): New function.
  16395. (initBitfield): New function.
  16396. (hasSegment): New function.
  16397. (getDownloadLength): New function.
  16398. * src/BitfieldMan.h
  16399. (getStartIndex): New function.
  16400. (getEndIndex): New function.
  16401. (getMissingUnusedIndex): New function(overload).
  16402. (getSparseMissingUnusedIndex): New function.
  16403. * src/BitfieldMan.cc
  16404. (getMissingIndexRandomly): Handle the last byte of bitfield properly.
  16405. (getMissingUnusedIndex): New function(overload).
  16406. (Range): New class.
  16407. (getStartIndex): New function.
  16408. (getEndIndex): New function.
  16409. (getSparseMissingUnusedIndex): New function.
  16410. (isBitSetInternal): Return false if the given index is less than 0.
  16411. * src/HttpInitiateConnectionCommand.h
  16412. (executeInternal): Pass the reference of segment.
  16413. * src/FtpNegotiateCommand.h
  16414. (executeInternal): Pass the reference of segment.
  16415. * src/FtpNegotiateCommand.cc
  16416. (recvSize): Initialize bitfield here.
  16417. * src/FtpTunnelResponseCommand.h
  16418. (executeInternal): Pass the reference of segment.
  16419. * src/HttpConnection.cc
  16420. (createRequest): Rewritten range header processing.
  16421. * src/DownloadCommand.h
  16422. (executeInternal): Pass the reference of segment.
  16423. (prepareForRetry): Removed.
  16424. (prepareForNextSegment): Added an argument segment. Made it a virtual
  16425. function.
  16426. * src/main.cc
  16427. (main): Set the initial value of PREF_SEGMENT_SIZE to 1MB.
  16428. * src/SegmentMan.cc
  16429. (SegmentMan): Added bitfield. Removed splitter.
  16430. (~SegmentMan): Added bitfield. Removed splitter.
  16431. (unregisterId): Removed.
  16432. (getSegment): Rewritten.
  16433. (updateSegment): Rewritten.
  16434. (save): Rewritten.
  16435. (read): Rewritten.
  16436. (finished): Rewritten.
  16437. (getDownloadedSize): Removed.
  16438. (initBitfield): New function.
  16439. (FindSegmentEntryByIndex): New function object.
  16440. (FindSegmentEntryByCuid): New function object.
  16441. (checkoutSegment): New function.
  16442. (onNullBitfield): New function.
  16443. (getSegment): New function(overload).
  16444. (CancelSegment): New function object.
  16445. (cancelSegment): New function.
  16446. (completeSegment): New function.
  16447. (hasSegment): New function.
  16448. (getDownloadLength): New function.
  16449. * src/FtpInitiateConnectionCommand.cc
  16450. (executeInternal): Load .aria2 file after hostname resolution finishes.
  16451. * src/Segment.h: Rewritten.
  16452. * src/Segment.cc (operator<<): New function.
  16453. * src/HttpDownloadCommand.h
  16454. (prepareForNextSegment): New function.
  16455. * src/Request.cc
  16456. (resetUrl): Made segment null.
  16457. * src/DownloadEngine.cc
  16458. (~DownloadEngine): Call cleanQueue before deleting segmentMan.
  16459. * src/HttpProxyRequestCommand.h
  16460. (executeInternal): Pass the reference of segment.
  16461. * src/DownloadCommand.cc
  16462. (executeInternal): Rewritten the code related to Segment.
  16463. (prepareForRetry): Removed.
  16464. (prepareForNextSegment): Rewritten.
  16465. * src/FtpTunnelResponseCommand.h
  16466. (executeInternal): Pass the reference of segment.
  16467. To add HTTP 1.1 persistent connection support(experimental)
  16468. * src/HttpRequestCommand.cc
  16469. (executeInternal): Disable keep alive if it is disabled by
  16470. configuration.
  16471. * src/Request.h
  16472. (keepAlive): New variable.
  16473. (isKeepAlive): New function.
  16474. (setKeepAlive): New function.
  16475. * src/pref.h
  16476. (PREF_HTTP_KEEP_ALIVE): New definition.
  16477. * src/HttpResponseCommand.cc
  16478. (executeInternal): Check the remote server supports keep alive.
  16479. * src/HttpConnection.cc
  16480. (createRequest): Send "Connection: close" only if keep alive is
  16481. disabled.
  16482. * src/main.cc
  16483. (main):
  16484. Set the initial value(false) of PREF_KEEP_ALIVE to false.
  16485. To add max download speed limit:
  16486. * src/pref.h
  16487. (PREF_MAX_SPEED_LIMIT): New definition.
  16488. * src/PeerInteractionCommand.cc
  16489. (executeInternal): Added max download speed limit. Not tested yet.
  16490. * src/SegmentMan.h
  16491. (PeerStats): New type definition.
  16492. (peerStats): New variable.
  16493. (registerPeerStat): New function.
  16494. (FindPeerStat): New function object.
  16495. (getPeerStat): New function.
  16496. (calculateDownloadSpeed): New function.
  16497. * src/SpeedCalc.h: New class.
  16498. * src/SpeedCalc.cc: New class.
  16499. * src/main.cc
  16500. (main):
  16501. Set the initial value of PREF_MAX_SPEED_LIMIT to 0(which means the
  16502. download speed is not restricted).
  16503. * src/PeerStat.h: New class.
  16504. * src/SegmentMan.cc
  16505. (registerPeerStat): New function.
  16506. (calculateDownloadSpeed): New function.
  16507. * src/DownloadCommand.cc
  16508. (STARTUP_IDLE_TIME): New definition.
  16509. (DownloadCommand): Register peerStat to segmentMan. Call peerStat->
  16510. downloadStart.
  16511. (~DownloadCommand): Call peerStat->downloadStop.
  16512. (executeInternal): Added download speed limitter. Rewritten lowest
  16513. speed limitter.
  16514. * src/HttpConnection.cc
  16515. (receiveResponse): Fixed: eohIndex[headerBuf] -> headerBuf[eohIndex].
  16516. * src/AbstractCommand.cc
  16517. (resolveHostname): Throw DlAbortEx if a name resolution failes.
  16518. Added hostname to the error message.
  16519. * src/ConsoleDownloadEngine.cc
  16520. (calculateStatistics): Initialize psize with dlSize.
  16521. * src/PieceMessage.cc
  16522. (receivedAction): Do not call peerInteraction->abortPiece here.
  16523. (onGotWrongPiece): Call peerInteraction->abortPiece here.
  16524. * src/BitfieldMan.h
  16525. (clearAllUseBit): New function.
  16526. (setAllUseBit): New function.
  16527. * src/BitfieldMan.cc
  16528. (clearAllBit): Do not clear useBitfield here.
  16529. (clearAllUseBit): New function.
  16530. (setAllUseBit): New function.
  16531. * src/Piece.cc
  16532. (clearAllBlock): Call bitfield->clearAllUseBit().
  16533. 2006-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16534. To make filename URL-decoded:
  16535. * src/HttpResponseCommand.h: Updated doc.
  16536. * src/HttpResponseCommand.cc
  16537. (determinFilename): Made filename URL-decoded.
  16538. * src/FtpInitiateConnectionCommand.cc
  16539. (executeInternal): Made filename URL-decoded.
  16540. * src/Util.h (urldecode): New function.
  16541. * src/Util.cc (urldecode): New function.
  16542. To fix a bug that caused assertion failure in ares_strerror:
  16543. * src/NameResolver.cc (callback): Fixed the bug.
  16544. * Release 0.7.3
  16545. 2006-08-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16546. To add --seed-time and --seed-ratio command-line option:
  16547. * src/Option.h (getAsDouble): New function.
  16548. * src/Option.cc (getAsDouble): New function.
  16549. * src/SeedCheckCommand.h: New class.
  16550. * src/SeedCheckCommand.cc: New class.
  16551. * src/DownloadEngineFactory.cc
  16552. (SeedCheckCommand.h): Included.
  16553. (UnionSeedCriteria.h): Included.
  16554. (TimeSeedCriteria.h): Included.
  16555. (ShareRatioSeedCriteria.h): Included.
  16556. (newTorrentConsoleEngine): Added the processing of seed option.
  16557. * src/SeedCriteria.h: New class.
  16558. * src/ShareRatioSeedCriteria.h: New class.
  16559. * src/TimeSeedCriteria.h: New class.
  16560. * src/UnionSeedCriteria.h: New class.
  16561. * src/prefs.h
  16562. (PREF_SEED_TIME): New definition.
  16563. (PREF_SEED_RATIO): New definition.
  16564. * src/main.cc
  16565. (showUsage): Added --seed-time and --seed-ratio option.
  16566. (main): Added --seed-time and --seed-ratio option.
  16567. Made default log file name "/dev/null".
  16568. * src/SharedHandle.h
  16569. (SharedHandle): Copy constructor. Made it assignable from the
  16570. SharedHandle of the subclasses.
  16571. (operator=): Made it assignable from the SharedHandle of the
  16572. subclasses.
  16573. (getRefCount): New function.
  16574. To add notice log level and the switch to write log to stdout. This
  16575. switch is configurable per log level.
  16576. * src/Logger.h
  16577. (notice): New function.
  16578. (LEVEL): Added NOTICE. Assigned an explicit value to each log level
  16579. constant.
  16580. * src/LogFactory.cc
  16581. (getInstance): The use of NullLogger was removed. A log message with
  16582. notice log level was made written to stdout along with log file.
  16583. * src/NullLogger.h
  16584. (notice): New function.
  16585. * src/SimpleLogger.h
  16586. (writeHeader): Added the 'file' argument.
  16587. (writeLog): Added the 'file' argument.
  16588. (writeFile): New function.
  16589. (stdoutField): New variable.
  16590. (SimpleLogger): Removed the default constructor.
  16591. (SimpleLogger): Made the default value of logfile 0.
  16592. (debug): Added 'virtual' keyword.
  16593. (info): Added 'virtual' keyword.
  16594. (warn): Added 'virtual' keyword.
  16595. (error): Added 'virtual' keyword.
  16596. (notice): New function.
  16597. (setStdout): New function.
  16598. * src/SimpleLogger.cc
  16599. (WRITE_LOG): Replaced writeLog with writeFile.
  16600. (WRITE_LOG_EX): Replaced writeLog with writeFile.
  16601. (SimpleLogger): Removed the default constructor.
  16602. (setStdout): New function.
  16603. (writeLog): Added the handling of NOTICE log level.
  16604. (writeFile): New function.
  16605. (notice): New function.
  16606. * src/TorrentMan.h: Updated doc.
  16607. * src/BitfieldMan.h: Updated doc.
  16608. * src/TrackerWatcherCommand.cc
  16609. (execute): Return true if error occurred in the request to the tracker
  16610. and halt is requested.
  16611. * src/TrackerUpdateCommand.cc
  16612. (execute): Return true if error occurred in the request to the tracker
  16613. and halt is requested.
  16614. To call onDownloadComplete from TorrentMan::completePiece(), not from
  16615. DownloadEngine:
  16616. * src/TorrentConsoleDownloadEngine.h
  16617. (onSelectiveDownloadingCompletes): Removed.
  16618. * src/TorrentConsoleDownloadEngine.cc
  16619. (onSelectiveDownloadingCompletes): Removed.
  16620. * src/TorrentDownloadEngine.h
  16621. (onEndOfRun): Added 'virtual' keyword.
  16622. (afterEachIteration): Removed.
  16623. (onSelectiveDownloadingCompletes): Removed.
  16624. * src/TorrentDownloadEngine.cc
  16625. (onEndOfRun): Removed filenameFixed.
  16626. (afterEachIteration): Removed.
  16627. * src/TorrentMan.cc
  16628. (completePiece): Call onDownloadComplete here.
  16629. (onDownloadComplete): Added 2 log messages.
  16630. 2006-08-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16631. To fix compilation problem on gcc4.1.1(patch#1542283 by tizianomueller)
  16632. * src/NameResolver.h: Added the prototype declaration of callback().
  16633. To support c-ares library:
  16634. * src/AbstractCommand.cc: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16635. * src/FeatureConfig.cc: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16636. * src/FtpInitiateConnectionCommand.h:
  16637. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16638. * src/AbstractCommand.h: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16639. * src/HttpInitiateConnectionCommand.h:
  16640. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16641. * src/NameResolver.cc: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS.
  16642. Added thes upport of c-ares's ares_strerror(the idea came from patch
  16643. #1542285 by tizianomueller)
  16644. * src/HttpInitiateConnectionCommand.cc:
  16645. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16646. * src/FtpInitiateConnectionCommand.cc:
  16647. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16648. * src/DownloadEngine.h:
  16649. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16650. * src/DownloadEngine.cc:
  16651. Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
  16652. To fix the bug that causes compilation failure with metalink-support
  16653. disabled(bug#1543587):
  16654. * src/main.cc: Fixed with the patch by tizianomueller.
  16655. * Release 0.7.2
  16656. 2006-08-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16657. * src/main.cc
  16658. (main): Added a message to inform users that aria2 is starting to
  16659. verify checksum.
  16660. * src/RequestInfo.cc
  16661. (printDownloadAbortMessage): Added a message to inform users that
  16662. transfer can be resumed.
  16663. * src/FeatureConfig.cc
  16664. (FEATURE_ASYNC_DNS): New definition.
  16665. (FeatureConfig): Added aysnc DNS entry.
  16666. To replace CommandUuid with Command* in SocketEntry and
  16667. NameResolverEntry:
  16668. * src/DownloadEngine.h
  16669. (CommandUuids): Removed.
  16670. (SocketEntry::commandUuid): Removed.
  16671. (SocketEntry::command): New variable.
  16672. (SocketEntry::SocketEntry): Updated.
  16673. (SocketEntry::operator==): Updated.
  16674. (NameResolverEntry::commandUuid): Removed.
  16675. (NameResolverEntry::command): New variable.
  16676. (NameResolverEntry::NameResolverEntry): Updated.
  16677. (NameResolverEntry::operator==): Updated.
  16678. (waitData): Changed the argument type.
  16679. (addSocketForReadCheck): Changed the argument type.
  16680. (deleteSocketForReadCheck): Changed the argument type.
  16681. (addSocketForWriteCheck): Changed the argument type.
  16682. (deleteSocketForWriteCheck): Changed the argument type.
  16683. (addNameResolverCheck): Changed the argument type.
  16684. (deleteNameResolverCheck): Changed the argument type.
  16685. * src/DownloadEngine.cc
  16686. (FindCommand): Removed.
  16687. (run): Removed activeUuid. Added activeCommands instead.
  16688. (AccumulateActiveUuid): Renamed as AccumulateActiveCommand.
  16689. (AccumulateActiveCommand): New function object.
  16690. (waitData): Use AccumulateActiveCommand.
  16691. (addSocketForReadCheck): Use Command instead of CommandUuid.
  16692. (deleteSocketForReadCheck): Use Command instead of CommandUuid.
  16693. (addSocketForWriteCheck): Use Command instead of CommandUuid.
  16694. (deleteSocketForWriteCheck): Use Command instead of CommandUuid.
  16695. (addNameResolverCheck): Use Command instead of CommandUuid.
  16696. (deleteNameResolverCheck): Use Command instead of CommandUuid.
  16697. * src/AbstractCommand.cc
  16698. (disableReadCheckSocket): Updated according to the changes in
  16699. DownloadEngine.
  16700. (setReadCheckSocket): Updated according to the changes in
  16701. DownloadEngine.
  16702. (disableWriteCheckSocket): Updated according to the changes in
  16703. DownloadEngine.
  16704. (setWriteCheckSocket): Updated according to the changes in
  16705. DownloadEngine.
  16706. (setNameResolverCheck): Updated according to the changes in
  16707. DownloadEngine.
  16708. (disableNameResolverCheck): Updated according to the changes in
  16709. DownloadEngine.
  16710. * src/AbstractCommand.cc
  16711. (disableReadCheckSocket): Updated according to the changes in
  16712. DownloadEngine.
  16713. (setReadCheckSocket): Updated according to the changes in
  16714. DownloadEngine.
  16715. (disableWriteCheckSocket): Updated according to the changes in
  16716. DownloadEngine.
  16717. (setWriteCheckSocket): Updated according to the changes in
  16718. DownloadEngine.
  16719. * release 0.7.1
  16720. 2006-08-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16721. To handle the case where some BitTorrent tracker requires all letters
  16722. except for [A-Za-z0-9] is URL encoded.
  16723. * src/Util.h
  16724. (torrentUrlencode): New function.
  16725. * src/Util.cc
  16726. (ctype.h): Included.
  16727. (torrentUrlencode): New function.
  16728. * src/TrackerWatcherCommand.cc
  16729. (execute): Use Util::torrentUrlencode() instead of Util::urlencode().
  16730. 2006-08-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16731. To add asynchronous DNS support(libares):
  16732. * src/AbstractCommand.h
  16733. (setNameResolverCheck): New function.
  16734. (disableNameResolverCheck): New function
  16735. (resolveHostname): New function.
  16736. * src/AbstractCommand.cc
  16737. (setNameResolverCheck): New function.
  16738. (disableNameResolverCheck): New function
  16739. (resolveHostname): New function.
  16740. * src/FtpInitiateConnectionCommand.h
  16741. (nameResolver): New function.
  16742. * src/FtpInitiateConnectionCommand.cc
  16743. (Util.h): Included.
  16744. (FtpInitiateConnectionCommand): Call disableReadCheckSocket,
  16745. disableWriteCheckSocket.
  16746. (~FtpInitiateConnectionCommand): Call disableNameResolverCheck.
  16747. (executeInternal): Added async DNS support.
  16748. * src/HttpInitiateConnectionCommand.h
  16749. (nameResolver): New function.
  16750. * src/HttpInitiateConnectionCommand.cc
  16751. (DlRetryEx.h): Included.
  16752. (HttpInitiateConnectionCommand): Call disableReadCheckSocket,
  16753. disableWriteCheckSocket.
  16754. (~HttpInitiateConnectionCommand): Call disableNameResolverCheck.
  16755. (executeInternal): Added async DNS support.
  16756. * src/NameResolver.h: New class. Note: #include <ares.h> is surrounded
  16757. by extern "C" declaration.
  16758. * src/NameResolver.cc: New class.
  16759. * src/Util.h:
  16760. (isNumberAndDotsNotation): New function
  16761. * src/Util.cc
  16762. (isNumberAndDotsNotation): New function.
  16763. * src/DownloadEngine.h
  16764. (NameResolver.h): Included.
  16765. (NameResolverEntry): New class.
  16766. (NameResolverEntries): New type definition.
  16767. (addNameResolverCheck): New function.
  16768. (deleteNameResolverCheck): New function.
  16769. * src/DownloadEngine.cc
  16770. (run): Initialize cp with 0.
  16771. (SetDescriptor::operator()): Added for NameResolverEntry.
  16772. (AccumulateActiveUuid::operator()): Added for NameResolverEntry.
  16773. (waitData): Check nameResolver entries.
  16774. (updateFdSet): Update fds in nameResolver entries.
  16775. (addNameResolverCheck): New function.
  16776. (deleteNameResolverCheck): new function.
  16777. * src/PeerInteractionCommand.cc
  16778. (executeInternal): Fixed wrong socket handling.
  16779. * src/main.cc
  16780. (main): Fixed the initial value of PREF_LOWEST_SPEED_LIMIT option to 0.
  16781. * src/Util.cc
  16782. (fileChecksum): Removed the call to ctx.digestReset().
  16783. 2006-08-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16784. * po/ru.po: Azamat sent me Russian translation.
  16785. * src/FtpNegotiateCommand.cc
  16786. (recvGreeting): Call disableWriteCheckSocket just after
  16787. socket->setBlockingMode(). This avoids unnecessary CPU-hog loop.
  16788. (recvRetr): Recognized status code 125 as a acceptable response code.
  16789. Rename Time.h to TimeA2.h to avoid compilation ploblem on
  16790. case-insesitive filesystem(BUG#1531057).
  16791. * src/Time.h: Renamed as TimeA2.h.
  16792. * src/Time.cc: Renamed as TimeA2.cc.
  16793. * src/TimeA2.h: New class.
  16794. * src/TimeA2.cc: New class.
  16795. * src/PeerChokeCommand.h: Replaced Time.h with TimeA2.h.
  16796. * src/TrackerWatcherCommand.h: Replaced Time.h with TimeA2.h.
  16797. * src/PeerAbstractCommand.h: Replaced Time.h with TimeA2.h.
  16798. * src/AbstractCommand.h: Replaced Time.h with TimeA2.h.
  16799. * src/PeerInteractionCommand.h: Replaced Time.h with TimeA2.h.
  16800. * src/ConsoleDownloadEngine.h: Replaced Time.h with TimeA2.h.
  16801. * src/TorrentAutoSaveCommand.h: Replaced Time.h with TimeA2.h.
  16802. * src/DownloadCommand.h: Replaced Time.h with TimeA2.h.
  16803. * src/TorrentMan.h: Replaced Time.h with TimeA2.h.
  16804. * src/TorrentDownloadEngine.h: Replaced Time.h with TimeA2.h.
  16805. * src/RequestSlot.h: Replaced Time.h with TimeA2.h.
  16806. * src/SleepCommand.h: Replaced Time.h with TimeA2.h.
  16807. * src/DownloadEngine.cc: Replaced Time.h with TimeA2.h.
  16808. * release 0.7.0
  16809. 2006-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16810. * src/PeerChokeCommand.h
  16811. (PeerChokeCommand): Rearranged the arguments.
  16812. * src/PeerChokeCommand.cc
  16813. (PeerChokeCommand): Rearranged the arguments.
  16814. * src/MetalinkEntry.h
  16815. (Checksum.h): Included.
  16816. (md5): Removed.
  16817. (sha1): Removed.
  16818. (checksum): New variable.
  16819. (operator=): Updated.
  16820. (check): Removed.
  16821. * src/prefs.h
  16822. (PREF_LOWEST_SPEED_LIMIT): New definition.
  16823. (PREF_FOLLOW_TORRENT): New definition.
  16824. (PREF_SELECT_FILE): New definition.
  16825. (PREF_FOLLOW_METALINK): New definition.
  16826. * src/MetalinkResource.h
  16827. (TYPE_HTTPS): Added to enum TYPE.
  16828. * src/TorrentMan.cc
  16829. (~TorrentMan): Rewritten.
  16830. * src/MultiDiskWriter.cc
  16831. (MultiDiskAdaptor): Updated according to the changes in
  16832. MessageDigestContext.
  16833. (~MultiDiskAdaptor): Updated according to the changes in
  16834. MessageDigestContext.
  16835. (hashUpdate): Updated according to the changes in MessageDigestContext.
  16836. (sha1Sum): Updated according to the changes in MessageDigestContext.
  16837. * src/Util.h
  16838. (fileChecksum): Updated according to the changes in
  16839. MessageDigestContext.
  16840. * src/Util.cc
  16841. (sha1Sum): Updated according to the changes in MessageDigestContext.
  16842. (fileChecksum): Updated according to the changes in
  16843. MessageDigestContext.
  16844. * src/messageDigest.h: Rewritten.
  16845. * src/MetalinkEntry.cc
  16846. (check): Removed.
  16847. (Supported): Updated.
  16848. (dropUnsupportedResource): Fixed a memory leak.
  16849. * src/ShaVisitor.cc
  16850. (ShaVisitor): Updated according to the changes in MessageDigestContext.
  16851. (~ShaVisitor): Updated according to the changes in
  16852. MessageDigestContext.
  16853. (visit): Updated according to the changes in MessageDigestContext.
  16854. * src/main.cc
  16855. (main): Rewritten the portion of download loop. --lowest-speed-limit
  16856. command-line option added.
  16857. * src/DownloadEngine.h
  16858. (SocketEntry): New class.
  16859. (SocketEntries): New definition.
  16860. (PairFind): Removed.
  16861. (SockCmdMap): Removed.
  16862. * src/DownloadEngine.cc
  16863. (DownloadEngine): Rewritten.
  16864. (~DownloadEngine): Rewritten.
  16865. (run): Renamed activeCommandUuids as activeUuids.
  16866. (SetDescriptor): Rewritten.
  16867. (AccumulateActiveCommandUuid): Removed.
  16868. (AccumulateActiveUuid): New function object.
  16869. (waitData): Rewritten.
  16870. (updateFdSet): Rewritten.
  16871. (addSocket): Rewritten.
  16872. (deleteSocket): Rewritten.
  16873. (addSocketForReadCheck): Rewritten.
  16874. (deleteSocketForReadCheck): Rewritten.
  16875. (addSocketForWriteCheck): Rewritten.
  16876. (deleteSocketForWriteCheck): Rewritten.
  16877. * src/Xml2MetalinkProcessor.cc
  16878. (getEntry): Rewritten the portion of MetalinkEntry creation.
  16879. * src/DownloadCommand.cc
  16880. (executeInternal): Added the check routine for lowest speed limit.
  16881. * src/AbstractDiskWriter.cc
  16882. (AbstractDiskWriter): Updated according to the changes in
  16883. MessageDigestContext.
  16884. (~AbstractDiskWriter): Updated according to the changes in
  16885. MessageDigestContext.
  16886. (sha1Sum): Updated according to the changes in MessageDigestContext.
  16887. * src/RequestInfo.h: New class.
  16888. * src/UrlRequestInfo.h: New class.
  16889. * src/UrlRequestInfo.cc: New class.
  16890. * src/TorrentRequestInfo.h: New class.
  16891. * src/TorrentRequestInfo.cc: New class.
  16892. * src/MetalinkRequestInfo.h: New class.
  16893. * src/MetalinkRequestInfo.cc: New class.
  16894. * src/Checksum.h: New class.
  16895. * src/DownloadEngineFactory.h: New class.
  16896. * src/DownloadEngineFactory.cc: New class.
  16897. 2006-08-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16898. * src/Option.h
  16899. (getAsBool): New function.
  16900. * src/Option.cc
  16901. (prefs.h): Included.
  16902. (defined): 0-length value is now recognized as undefined.
  16903. (getAsInt): Rewritten.
  16904. (getAsLLInt): Rewritten.
  16905. (getAsBool): New function.
  16906. * src/FeatureConfig.h: Rewritten.
  16907. * src/FeatureConfig.cc: Rewritten.
  16908. * src/prefs.h
  16909. (PREF_STDOUT_LOG): New definition.
  16910. (PREF_LOG): New definition.
  16911. (PREF_DIR): New definition.
  16912. (PREF_OUT): New definition.
  16913. (PREF_SPLIT): New definition.
  16914. (PREF_DAEMON): New definition.
  16915. (PREF_REFERER): New definition.
  16916. (PREF_TORRENT_FILE): New definition.
  16917. (PREF_LISTEN_PORT): New definition.
  16918. (PREF_METALINK_FILE): New definition.
  16919. (PREF_METALINK_VERSION): New definition.
  16920. (PREF_METALINK_LANGUAGE): New definition.
  16921. (PREF_METALINK_OS): New definition.
  16922. (PREF_METALINK_SERVERS): New definition.
  16923. * src/main.cc
  16924. (main): Following command-line parameters are now put into Option
  16925. class: stdoutLog, logfile, dir, ufilename, split, daemonMode,
  16926. referer, torrentFile, metalinkFile, listenPort, metalinkVersion,
  16927. metalinkLanguage, metalinkOs, metalinkServers
  16928. To fix the bug that aria2 can not handle http response header properly.
  16929. * src/HttpHeader.cc
  16930. (put): Made name lowercased.
  16931. (defined): Made name lowercased.
  16932. (getFirst): Made name lowercased.
  16933. (get): Made name lowercased.
  16934. (getFirstAsInt): Rewritten.
  16935. (getFirstAsLLInt): Rewritten.
  16936. 2006-07-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16937. * src/TorrentMan.h:
  16938. (advertisePiece): Updated doc.
  16939. (getAdvertisedPieceIndexes): Updated doc.
  16940. (removeAdvertisedPiece); New function.
  16941. * src/TorrentMan.cc
  16942. (FindElapsedHave): New function object.
  16943. (removeAdvertisedPiece): New function.
  16944. * src/HaveEraseCommand.h: New class.
  16945. * src/HaveEraseCommand.cc: New class.
  16946. * src/FeatureConfig.h: New class.
  16947. * src/FeatureConfig.cc: New class.
  16948. * src/Request.h
  16949. (defaultPorts): Removed.
  16950. * src/Request.cc
  16951. (FeatureConfig.h): Included.
  16952. (Request): Removed the statements related to defaultPorts.
  16953. (parseUrl): Removed metalinkEnabled. Use FeatureConfig instead.
  16954. A default port number is now retrieved from FeatureConfig.
  16955. * src/main.cc
  16956. (HaveEraseCommand.h): Included.
  16957. (showVersion): Added the output of feature list.
  16958. (main): Added HaveEraseCommand to command queue in BitTorrent
  16959. downloading.
  16960. * src/PeerInteractionCommand.h
  16961. (chokeCheckPoint): Commented out.
  16962. (periodicExecPoint): New variable.
  16963. * src/PeerInteractionCommand.cc
  16964. (executeInternal): Following methods are now called in at least every
  16965. 0.5 seconds to reduce CPU usage:
  16966. detectMessageFlooding(), peerInteraction->checkRequestSlot(),
  16967. checkHave(), sendKeepAlive().
  16968. (checkLongTimePeerChoking): Commented out.
  16969. * src/BitfieldMan.h
  16970. (getNthBitIndex): Changed the method signature.
  16971. (getMissingIndexRandomly): Changed the method signature.
  16972. * src/BitfieldMan.cc
  16973. (getNthBitIndex): Rewritten
  16974. (getMissingIndexRandomly): Rewritten.
  16975. (hasMissingPiece): Rewritten.
  16976. (getMissingIndex): Refactored.
  16977. (getMissingUnusedIndex); Refactored.
  16978. (getMissingIndex): Refactored.
  16979. 2006-07-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  16980. * src/PeerMessage.h
  16981. (Piece.h): Included.
  16982. (SharedHandle.h): Included.
  16983. (invalidate): New variable.
  16984. (uploading): New variable.
  16985. (isInvalidate): New function.
  16986. (isUploading): New function.
  16987. (onPush): New function.
  16988. (onChoked): New function.
  16989. (onCanceled): New function.
  16990. (onAbortPiece): New function.
  16991. (PeerMessageHandle): New type definition.
  16992. * src/PeerMessage.cc
  16993. (PeerMessage): Added the initialization for invalidate and uploading.
  16994. * src/CancelMessage.h
  16995. (CancelMessage): Rewritten.
  16996. * src/RejectMessage.h
  16997. (RejectMessage): Rewritten.
  16998. * src/Metalinker.h
  16999. (operator=): Defined.
  17000. * src/MetaEntry.h
  17001. (operator=): Defined.
  17002. * src/MetalinkResource.h
  17003. (operator=): Defined.
  17004. * src/AllowedFastMessage.h
  17005. (AllowedFastMessage): Rewritten.
  17006. * src/HandshakeMessage.h
  17007. (HandshakeMessage): New function(overload).
  17008. * src/HandshakeMessage.cc
  17009. (HandshakeMessage): Rewritten.
  17010. (init): New function.
  17011. * src/HaveMessage.h
  17012. (HaveMessage): Rewritten.
  17013. * src/Time.h
  17014. (operator=): Defined the function body here.
  17015. * src/Time.cc
  17016. (operator=): Removed.
  17017. * src/SocketCore.h
  17018. (operator==): Defined here.
  17019. (operator!=): Defined here.
  17020. (operator<): Defined here.
  17021. * src/SocketCore.cc
  17022. (operator==): Removed.
  17023. (operator<): Removed.
  17024. * src/BitfieldMan.h
  17025. (operator=): Defined the function body here.
  17026. * src/BitfieldMan.cc
  17027. (operator=): Removed.
  17028. * src/TorrentMan.h
  17029. (deleteErrorPeer): Removed.
  17030. (deleteUnusedPeer); New function.
  17031. * src/TorrentMan.cc
  17032. (addPeer): Call deleteUnusedPeer.
  17033. (deleteErrorPeer): Removed.
  17034. (deleteUnusedPeer): New function.
  17035. * src/PeerAbstractCommand.h
  17036. (setNoCheck): New function.
  17037. (noCheck): New variable.
  17038. * src/PeerAbstractCommand.cc
  17039. (PeerAbstractCommand): Added the initialization of noCheck.
  17040. (execute): Added a check for noCheck.
  17041. (setNoCheck): New function.
  17042. * src/Util.h
  17043. (stdio.h): Included.
  17044. * src/Util.cc
  17045. (unistd.h): Included.
  17046. * src/DefaultDiskWriter.cc
  17047. (unistd.h): Included.
  17048. * src/Peer.h
  17049. (operator==): Defined the function body here.
  17050. (operator!=): Defined the function body here.
  17051. * src/Peer.cc
  17052. (operator==): Removed.
  17053. (operator!=): Removed.
  17054. * src/Piece.h
  17055. (Piece): Defined the function body here(copy constructor).
  17056. (operator=): Defined the function body here.
  17057. (operator==): Defined the function body here.
  17058. * src/Piece.cc
  17059. (Piece): Removed(copy constructor).
  17060. (operator=): Removed.
  17061. (operator==): Removed.
  17062. * src/PeerMessageUtil.h
  17063. (ChokeMessage.h): Removed.
  17064. (UnchokeMessage.h): Removed.
  17065. (InterestedMessage.h): Removed.
  17066. (NotInterestedMessage.h): Removed.
  17067. (HaveMessage.h): Removed.
  17068. (BitfieldMessage.h): Removed.
  17069. (RequestMessage.h): Removed.
  17070. (CancelMessage.h): Removed.
  17071. (PieceMessage.h): Removed.
  17072. (HandshakeMessage.h): Removed.
  17073. (KeepAliveMessage.h): Removed.
  17074. (PortMessage.h): Removed.
  17075. (HaveAllMessage.h): Removed.
  17076. (HaveNoneMessage.h): Removed.
  17077. (PeerConnection.h): Removed.
  17078. (HandshakeMessage.h): Included.
  17079. * src/BitfieldMessage.h
  17080. (init): New function.
  17081. (BitfieldMessage): Rewritten.
  17082. (BitfieldMessage): New function(overload).
  17083. * src/RequestSlot.h
  17084. (operator=): Defined the function body here.
  17085. (operator==): Defined the function body here.
  17086. * src/RequestSlot.cc
  17087. (operator=): Removed.
  17088. (operator==): Removed.
  17089. To remove the dependency on the PeerMessage subclass from
  17090. PeerInteraction:
  17091. * src/PeerMessageFactory.h: New class.
  17092. * src/PeerMessageFactory.cc: New class.
  17093. * src/SimplePeerMessage.cc
  17094. (send): If invalidate is true then do nothing.
  17095. * src/PeerInteractionCommand.cc
  17096. (HandshakeMessage.h): Included.
  17097. (KeepAliveMessage.h): Included.
  17098. (ChokeMessage.h): Included.
  17099. (UnchokeMessage.h): Included.
  17100. (HaveMessage.h): Included.
  17101. (executeInternal): Call setNoCheck().
  17102. Removed setWriteCheckSocket(socket).
  17103. * src/PeerInteraction.h
  17104. (ChokeMessage.h): Removed.
  17105. (UnchokeMessage.h): Removed.
  17106. (InterestedMessage.h): Removed.
  17107. (NotInterestedMessage.h): Removed.
  17108. (HaveMessage.h): Removed.
  17109. (BitfieldMessage.h): Removed.
  17110. (RequestMessage.h): Removed.
  17111. (CancelMessage.h): Removed.
  17112. (PieceMessage.h): Removed.
  17113. (HandshakeMessage.h): Removed.
  17114. (KeepAliveMessage.h): Removed.
  17115. (PortMessage.h): Removed.
  17116. (HaveAllMessage.h): Removed.
  17117. (HaveNoneMessage.h): Removed.
  17118. (RejectMessage.h): Removed.
  17119. (AllowedFastMessage.h): Removed.
  17120. (SuggestPieceMessage.h): Removed.
  17121. (PeerMessageFactory.h): Included.
  17122. (PeerMessageHandle): Removed typedef of PeerMessageHandle.
  17123. (HandshakeMessageHandle): Removed typedef of HandshakeMessageHandle.
  17124. (PeerMessageFactory): New variable.
  17125. (createPeerMessage): Removed.
  17126. (createHandshakeMessage): Removed.
  17127. (setPeerMessageCommonProperty): Removed.
  17128. (addRequestSlot): New function.
  17129. (receiveHandshake): Changed the return value type to PeerMessageHandle.
  17130. (getPeerMessageFactory): New function.
  17131. (createRequestMessage): Removed.
  17132. (createCancelMessage): Removed.
  17133. (createPieceMessage): Removed.
  17134. (createHaveMessage): Removed.
  17135. (createChokeMessage): Removed.
  17136. (createUnchokeMessage): Removed.
  17137. (createInterestedMessage): Removed.
  17138. (createNotInterestedMessage): Removed.
  17139. (createBitfieldMessage): Removed.
  17140. (createKeepAliveMessage): Removed.
  17141. (createHaveAllMessage): Removed.
  17142. (createHaveNoneMessage): Removed.
  17143. (createRejectMessage): Removed.
  17144. (createAllowedFastMessage): Removed.
  17145. * src/PeerInteraction.cc
  17146. (PeerInteraction): Allocate PeerMessageFactory here.
  17147. (~PeerInteraction): Deallocate PeerMessageFactory here.
  17148. (sendMessages): Use msg->isUploading() instead of msg->getId() ==
  17149. PieceMessage::ID.
  17150. (addMessage): Simplified by using PeerMessage::onPush().
  17151. (addRequestSlot): New function.
  17152. (rejectAllPieceMessageInQueue): Simplified by using
  17153. PeerMessage::onChoked().
  17154. (rejectPieceMessageInQueue): Simplified by using
  17155. PeerMessage::onCanceled().
  17156. (abortPiece): Simplified by using PeerMessage::abortPiece().
  17157. (receiveHandshake): Changed the return value type to PeerMessageHandle.
  17158. (createHandshakeMessage): Removed.
  17159. (createPeerMessage): Removed.
  17160. (sendHandshake): Call PeerMessageFactory::createHandshakeMessage().
  17161. (setPeerMessageCommonProperty): Removed.
  17162. (createRequestMessage): Removed.
  17163. (createCancelMessage): Removed.
  17164. (createPieceMessage): Removed.
  17165. (createHaveMessage): Removed.
  17166. (createChokeMessage): Removed.
  17167. (createUnchokeMessage): Removed.
  17168. (createInterestedMessage): Removed.
  17169. (createNotInterestedMessage): Removed.
  17170. (createBitfieldMessage): Removed.
  17171. (createKeepAliveMessage): Removed.
  17172. (createHaveAllMessage): Removed.
  17173. (createHaveNoneMessage): Removed.
  17174. (createRejectMessage): Removed.
  17175. (createAllowedFastMessage): Removed.
  17176. * src/PieceMessage.h
  17177. (createRejectMessage): New function.
  17178. (PieceMessage): Rewritten.
  17179. (onChoked): New function.
  17180. (onCanceled): New function.
  17181. * src/PieceMessage.cc
  17182. (send): If invalidate is true then do nothing, just return.
  17183. (createRejectMessage): New function.
  17184. (onChoked): New function.
  17185. (onCanceled): New function.
  17186. * src/RequestMessage.h
  17187. (RequestMessage): Rewritten.
  17188. (onPush): New function.
  17189. (onAbortPiece): New function.
  17190. * src/RequestMessage.cc
  17191. (onPush): New function.
  17192. (onAbortPiece): New function.
  17193. Update fd_set when a socket is added or deleted in order to improve
  17194. performance:
  17195. * src/DownloadEngine.h
  17196. (rfdset): New variable.
  17197. (wfdset): New variable.
  17198. (updateFdSet): New function.
  17199. * src/DownloadEngine.cc
  17200. (SetDescriptor::operator()): Use SockCmdMap::value_type.
  17201. (AccumulateActiveCommandUuid::operator()): Use SockCmdMap::value_type.
  17202. (waitData): Copy rfdset and wfdset.
  17203. (updateFdSet): New function.
  17204. (addSocket): Call updateFdSet.
  17205. (deleteSocket): Call updateFdSet.
  17206. 2006-07-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17207. To add the support for Metalink3.0 backward compatible links:
  17208. * src/Request.h
  17209. (SAFE_CHARS): Added '#'.
  17210. (METALINK_MARK): New definition.
  17211. * src/Request.cc
  17212. (parseUrl): Added the support for Metalink3.0 backward compatible
  17213. links.
  17214. etc
  17215. * src/PeerInteraction.cc
  17216. (MsgPushBack): Removed.
  17217. (sendMessages): Use STL copy and back_inserter.
  17218. (rejectAllPieceMessageInQueue): Use STL copy and back_inserter.
  17219. (rejectPieceMessageInQueue): Use STL copy and back_inserter.
  17220. * src/TorrentMan.h
  17221. (MAX_PEER_LIST_SIZE): Changed to 100 from 250.
  17222. 2006-07-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17223. * src/SharedHandle.h: New class.
  17224. To wrap Socket, Command, PeerMessage and Peer with SharedHandle:
  17225. * src/HttpResponseCommand.h
  17226. (HttpResponseCommand): Wrapped Socket.
  17227. * src/SocketCore.h
  17228. (operator==): New function.
  17229. (operator!=): New function.
  17230. (operator<): New function.
  17231. (getSockfd): New function.
  17232. (isOpen): New function.
  17233. (writeData): New function.
  17234. * src/SocketCore.cc
  17235. (operator==): New function.
  17236. (operator!=): New function.
  17237. (operator<): New function.
  17238. * src/AbstractCommand.h
  17239. (socket): Changed its type to SocketHandle.
  17240. (setReadCheckSocket): Replaced Socket with SocketHandle.
  17241. (setWriteCheckSocket): Replaced Socket with SocketHandle.
  17242. (disableReadCheckSocket): New function.
  17243. (disableWriteCheckSocket): New function.
  17244. (readCheckTarget): Changed its type to SocketHandle.
  17245. (writeCheckTarget): Changed its type to SocketHandle.
  17246. (AbstractCommand): Replaced Socket with SocketHandle.
  17247. * src/AbstractCommand.cc
  17248. (AbstractCommand): Replaced Socket with SocketHandle.
  17249. (~AbstractCommand): Removed the deallocation for Socket object.
  17250. (disableReadCheckSocket): New function.
  17251. (setReadCheckSocket): Replaced Socket with SocketHandle.
  17252. (disableWriteCheckSocket): New function.
  17253. (setWriteCheckSocket): Replaced Socket with SocketHandle.
  17254. * src/HttpDownloadCommand.cc
  17255. (DownloadCommand): Replaced Socket with SocketHandle.
  17256. * src/PeerAbstractCommand.h
  17257. (socket): Changed its type to SocketHandle.
  17258. (peer): Changed its type to PeerHandle.
  17259. (setReadCheckSocket): Replaced Socket with SocketHandle.
  17260. (setWriteCheckSocket): Replaced Socket with SocketHandle.
  17261. (disableReadCheckSocket): New function.
  17262. (disableWriteCheckSocket): New function.
  17263. (readCheckTarget): Changed its type to SocketHandle.
  17264. (writeCheckTarget): Changed its type to SocketHandle.
  17265. (PeerAbstractCommand): Replaced Socket with SocketHandle.
  17266. Replaced Peer with PeerHandle.
  17267. * src/HttpRequestCommand.cc
  17268. (HttpRequestCommand): Replaced Socket with SocketHandle.
  17269. Use disableReadCheckSocket.
  17270. * src/PeerInitiateConnectionCommand.h
  17271. (PeerInitiateConnectionCommand): Replaced Peer with PeerHandle.
  17272. * src/PeerChokeCommand.cc
  17273. (UploadFaster::operator()): Replaced Peer with PeerHandle.
  17274. (DownloadFaster::operator()): Replaced Peer with PeerHandle.
  17275. (execute): Use PeerHandle.
  17276. * src/PeerConnection.h
  17277. (HandshakeMessage.h): Removed include of HandshakeMessage.h.
  17278. (socket): Changed its type to SocketHandle.
  17279. (PeerConnection): Replaced Socket with SocketHandle.
  17280. * src/PeerConnection.cc
  17281. (PeerConnection): Replaced Socket with SocketHandle.
  17282. * src/PeerInteractionCommand.h
  17283. (PeerInteractionCommand): Replaced socket with SocketHandle.
  17284. Replaced Peer with PeerHandle.
  17285. * src/PeerInteractionCommand.cc
  17286. (PeerInteractionCommand): Replaced Socket with SocketHandle.
  17287. Replaced Peer with PeerHandle.
  17288. (executeInternal): Use disableWriteCheckSocket.
  17289. Use HandshakeMessageHandle.
  17290. (receiveMessages): Use PeerMessageHandle.
  17291. (prepareForNextPeer): Use PeerHandle.
  17292. * src/HttpProxyRequestCommand.h
  17293. (HttpProxyRequestCommand): Replaced Socket with SocketHandle.
  17294. * src/HttpResponseCommand.cc
  17295. (HttpResponseCommand): Replaced Socket with SocketHandle.
  17296. * src/TorrentMan.cc
  17297. (nullPeer): Added external reference.
  17298. (~TorrentMan): Removed the deallocation of the elements of peers.
  17299. (addPeer): Rewritten.
  17300. (isPeerAvailable): Use nullPeer.
  17301. (deleteOldpeers): Replaced with deleteErrorPeer.
  17302. (deleteErrorPeer): New function.
  17303. (getPeer): Use PeerHandle and nullPeer.
  17304. (hasMissingPiece): Replaced Peer with PeerHandle.
  17305. (getMissingPieceIndex): Replaced Peer with PeerHandle.
  17306. (getMissingFastPieceIndex): Replaced Peer with PeerHandle.
  17307. (getMissingFastPiece): Replaced Peer with PeerHandle.
  17308. (getMissingPiece): Replaced Peer with PeerHandle.
  17309. * src/FtpNegotiateCommand.cc
  17310. (FtpNegotiationCommand): Replaced Peer with PeerHandle.
  17311. (~FtpNegotiationCommand): Removed the deallocation of Sockets.
  17312. (recvGreeting): Use disableWriteCheckSocket.
  17313. (recvPasv): Removed the allocation of Socket.
  17314. Use disableReadCheckSocket.
  17315. (sendRestPasv): Use disableWriteCheckSocket.
  17316. (recvRetr): Changed assertion.
  17317. * src/PeerInteraction.h
  17318. (SharedHandle.h): Included SharedHandle.h.
  17319. (PeerMessageHandle): New type definition.
  17320. (HandshakeMessageHandle): New type definition.
  17321. (MessageQueue): Changed. Now its element is of type PeerMessageHandle.
  17322. (peer): Changed its type to PeerHandle.
  17323. (createHandshakeMessage): Replaced HandshakeMessage with
  17324. HandshakeMessageHandle.
  17325. (createPeerMessage): Replaced PeerMessageHandle with PeerMessage.
  17326. (PeerInteraction): Replaced Peer with PeerHandle.
  17327. Replaced Socket with SocketHandle.
  17328. (addMessage): Replaced PeerMessage with PeerMessageHandle.
  17329. (receiveMessage): Replaced PeerMessage with PeerMessageHandle.
  17330. (receiveHandshake): Replaced HandshakeMessage with
  17331. HandshakeMessageHandle.
  17332. * src/PeerInteraction.cc
  17333. (PeerInteraction): Replaced Peer with PeerHandle.
  17334. Replaced Socket with SocketHandle.
  17335. (~PeerInteraction): Removed the deallocation of the elements of
  17336. messageQueue.
  17337. (MsgPushBack::operator()): Replaced PeerMessage with PeerMessageHandle.
  17338. (isSendingMessageInProgress): Replaced PeerMessage with
  17339. PeerMessageHandle.
  17340. (sendMessages): Use PeerMessageHandle. Removed try-catch block.
  17341. (addMessage): Replaced PeerMessage with PeerMessageHandle.
  17342. (rejectAllPieceMessageInQueue): Use PeerMessageHandle.
  17343. (rejectPieceMessageInQueue): Use PeerMessageHandle.
  17344. (abortPiece): Use PeerMessageHandle.
  17345. (receiveHandshake): Replaced HandshakeMessage with
  17346. HandshakeMessageHandle. Removed try-catch block.
  17347. (createHandshakeMessage): Replaced HandshakeMessage with
  17348. HandshakeMessageHandle.
  17349. (receiveMessage): Replaced PeerMessage with PeerMessageHandle.
  17350. Removed try-catch block.
  17351. (createPeerMessage): Replaced PeerMessage with PeerMessageHandle.
  17352. * src/HttpProxyResponseCommand.cc
  17353. (HttpProxyRequestCommand): Replaced Socket with SocketHandle.
  17354. * src/FtpTunnelResponseCommand.h
  17355. (FtpTunnelResponseCommand): Replaced Socket with SocketHandle.
  17356. * src/HttpConnection.cc
  17357. (HttpConnection): Replaced Socket with SocketHandle.
  17358. * src/PeerAbstractCommand.cc
  17359. (PeerAbstractCommand): Replaced Socket with SocketHandle.
  17360. (~PeerAbstractCommand): Removed the deallocation of socket.
  17361. Use disableReadCheckSocket, disableWriteCheckSocket.
  17362. (disableReadCheckSocket): New function.
  17363. (setReadCheckSocket): Replaced Socket with SocketHandle.
  17364. (disableWriteCheckSocket): New function.
  17365. (setWriteCheckSocket): Replaced Socket with SocketHandle.
  17366. * src/InitiateConnectionCommandFactory.h: Corrected indentation.
  17367. * src/FtpTunnelRequestCommand.cc
  17368. (FtpTunnelRequestCommand): Replaced Socket with SocketHandle.
  17369. (~FtpTunnelRequestCommand): Corrected indentation.
  17370. * src/DownloadCommand.h
  17371. (DownloadCommand): Replaced Socket with SocketHandle.
  17372. * src/PeerListenCommand.cc
  17373. (PeerListenCommand): Removed the initialization of socket.
  17374. (~PeerListenCommand): Removed the deallocation of socket.
  17375. (bindPort): Use SocketHandle.
  17376. (execute): Use SocketHandle and PeerHandle.
  17377. * src/FtpDowndloadCommand.cc
  17378. (FtpDownloadCommand): Replaced Socket with SocketHandle.
  17379. (~FtpDownloadCommand): Removed the deallocation of ctrlSocket.
  17380. * src/main.cc
  17381. (main): Corrected indentation.
  17382. * src/HttpInitiateConnectionCommand.cc
  17383. (HttpInitiateConnectionCommand): Replaced Socket with SocketHandle.
  17384. (executeInternal): Removed the allocation of socket.
  17385. * src/HttpRequestCommand.h
  17386. (HttpRequestCommand): Replaced Socket with SocketHandle.
  17387. * src/FtpNegotiationCommand.h
  17388. (dataSocket): Changed its type to SocketHandle.
  17389. (serverSocket): Changed its type to SocketHandle.
  17390. (FtpNegotiationCommand): Replaced Socket with SocketHandle.
  17391. * src/TorrentMan.h
  17392. (MAX_PEER_UPDATE): Removed.
  17393. (MAX_PEERS): New definition.
  17394. (Peers): The element is now of type PeerHandle.
  17395. (addPeer): Replaced Peer with PeerHandle. Removed 'duplicate' argument.
  17396. (getPeer): Replaced Peer with PeerHandle.
  17397. (deleteOldErrorPeers): Removed.
  17398. (deleteErrorPeer): New function.
  17399. (hasMissingPiece): Replaced Peer with PeerHandle.
  17400. (getMissingPieceIndex): Replaced Peer with PeerHandle.
  17401. (getMissingPiece): Replaced Peer with PeerHandle.
  17402. (getMissingFastPieceIndex): Replaced Peer with PeerHandle.
  17403. (getMissingFastPiece): Replaced Peer with PeerHandle.
  17404. (addActivePeer): Replaced Peer with PeerHandle.
  17405. (deleteActivePeer): Replaced Peer with PeerHandle.
  17406. Added a check for the return value of find.
  17407. * src/FtpTunnelResponseCommand.cc
  17408. (FtpTunnelResponseCommand): Replaced Socket with SocketHandle.
  17409. * src/FtpInitiateConnectionCommand.cc
  17410. (executeInternal): Removed the allocation of socket.
  17411. * src/DownloadEngine.h
  17412. (Sockets): An element is now of type SocketHandle.
  17413. (SockCmdMap): A key is of type SocketHandle, a value is of type int.
  17414. (CommandUuids): New type definition.
  17415. (rsockets): Changed its type to SockCmdMap.
  17416. (wsockets): Changed its type to SockCmdMap.
  17417. (addSocket): Rewritten.
  17418. (deleteSocket): Rewritten.
  17419. (addSocketForReadCheck): Rewritten.
  17420. (deleteSocketForReadCheck): Rewritten.
  17421. (addSocketForWriteCheck): Rewritten.
  17422. (deleteSocketForWriteCheck): Rewritten.
  17423. (PairFind): New template class.
  17424. * src/HttpDownloadCommand.h
  17425. (HttpDownloadCommand): Replaced Socket with SocketHandle.
  17426. * src/FtpConnection.cc
  17427. (FtpConnection): Replaced Socket with SocketHandle.
  17428. (sendPort): Removed the allocation of serverSocket. Removed try-catch
  17429. block.
  17430. * src/InitiateConnectionCommandFactory.cc
  17431. (DlAbortEx.h): Included DlAbortEx.h.
  17432. (createInitiateConnectionCommand): Throw exception if the protocol of
  17433. requested URI is not supported.
  17434. * src/Peer.cc
  17435. (nullPeer): Changed its type to PeerHandle.
  17436. (operator==): New function.
  17437. (operator!=): New function.
  17438. * src/Peer.h
  17439. (SharedHandle.h): Included SharedHandle.h.
  17440. (operator==): New function.
  17441. (operator!=): New function.
  17442. (Peer): Added the default constructor.
  17443. Use resetStatus() to initialize member variables.
  17444. (nullPeer): Removed.
  17445. * src/TrackerUpdateCommand.cc
  17446. (execute): Brushed up using SharedHandle. Replaced MAX_PEER_UPDATE
  17447. with MIN_PEERS.
  17448. * src/PeerListenCommand.h
  17449. (socket): Changed its type to SocketHandle.
  17450. * src/Command.h
  17451. (CommandUuid): New type definition.
  17452. (uuid): New variable.
  17453. (uuidGen): New variable.
  17454. (Command): Added the initialization of uuid.
  17455. (getUuid): New function.
  17456. * src/Socket.h
  17457. (Socket): Removed.
  17458. (SocketHandle): New type definition.
  17459. * src/DownloadEngine.h
  17460. (FindCommand): New function object.
  17461. (run): The portion of socket check was rewritten.
  17462. (SetDescriptor): New function object.
  17463. (AccumulateActiveCommandUuid): New function object.
  17464. (waitData): Rewritten.
  17465. (addSocket): Rewritten.
  17466. (deleteSocket): Rewritten.
  17467. (addSocketForReadCheck): Rewritten.
  17468. (addSocketForWriteCheck): Rewritten.
  17469. (deleteSocketForReadCheck): Rewritten.
  17470. (deleteSocketForWriteCheck): Rewritten.
  17471. * src/HttpProxyResponseCommand.h
  17472. (HttpProxyResponseCommand): Replaced Socket with SocketHandle.
  17473. * src/HttpConnection.h
  17474. (socket): Changed its type to SocketHandle.
  17475. (HttpConnection): Replaced Socket with SocketHandle.
  17476. * src/PeerInitiateConnectionCommand.cc
  17477. (PeerInitiateConnectionCommand): Replaced Peer with PeerHandle.
  17478. (executeInternal): Removed the allocation of socket.
  17479. (prepareForNextPeer): Use PeerHandle.
  17480. * src/PeerMessage.h
  17481. (peer): Changed its type to PeerHandle.
  17482. (getPeer): Replaced Peer with PeerHandle.
  17483. (setPeer): Replaced Peer with PeerHandle.
  17484. * src/DownloadCommand.cc
  17485. (DownloadCommand): Replaced Socket with SocketHandle.
  17486. * src/FtpConnection.h
  17487. (socket): Changed its type to SocketHandle.
  17488. (FtpConnection): Replaced Socket with SocketHandle.
  17489. (sendPort); Replaced Socket with SocketHandle.
  17490. * src/FtpDowndloadCommand.h
  17491. (ctrlSocket): Changed its type to SocketHandle.
  17492. (FtpDownloadCommand): Replaced Socket with SocketHandle.
  17493. * src/HttpProxyRequestCommand.cc
  17494. (HttpProxyRequestCommand): Replaced Socket with SocketHandle.
  17495. * src/FtpTunnelRequestCommand.h
  17496. (FtpTunnelRequestCommand): Replaced Socket with SocketHandle.
  17497. etc
  17498. * src/PeerChokeCommand.h
  17499. (setAllPeerChoked): Removed.
  17500. (setAllPeerResetDelta): Removed.
  17501. * src/PeerChokeCommand.cc
  17502. (setAllPeerChoked): Removed.
  17503. (ChokePeer): New function object.
  17504. (setAllPeerResetDelta): Removed.
  17505. (ResetDelta): New function object.
  17506. (orderByDownloadRate): Fixed a bug: use DowloadFaster, not UploadFaster
  17507. (execute): Show download speed when the local node is a seeder.
  17508. setAllPeerChoked and setAllPeerResetDelta were rewritten
  17509. using STL.
  17510. * src/TrackerWatcherCommand.h
  17511. (MIN_PEERS): Removed.
  17512. * src/TorrentMan.cc
  17513. (getPeer): Replaced MAX_PEER_UPDATE with MIN_PEERS.
  17514. 2006-07-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17515. To fix the bug that .aria2 file is not saved if downloading is stopped
  17516. by the errors:it results that aria2 can not resume downloading:
  17517. * src/main.cc
  17518. (normalDownload): Added the call to save().
  17519. (main): Added the deletion of the elements in 'reserved'.
  17520. To fix log:
  17521. * src/PeerInteraction.cc
  17522. (receiveHandshake): Fixed log.
  17523. 2006-07-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17524. To improve download performance in BitTorrent:
  17525. * src/TorrentMan.cc
  17526. (getPeer): Check the number of connections. Return nullPeer if
  17527. it is greater than MAX_PEER_UPDATE.
  17528. This code was originally here, but was removed in 0.5.1.
  17529. 2006-07-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17530. To improve the conditional compilation:
  17531. * src/MultiDiskWriter.h:
  17532. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17533. * src/MultiDiskWriter.cc:
  17534. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17535. * src/Util.h:
  17536. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17537. Added ENABLE_BITTORRENT around computeFastSet().
  17538. * src/Util.cc:
  17539. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17540. Added ENABLE_BITTORRENT around computeFastSet().
  17541. * src/messageDigest.h:
  17542. Replaced ENABLE_BITTORRENT with ENABLE_SSL.
  17543. * src/ShaVisitor.h:
  17544. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17545. * src/ShaVisitor.cc:
  17546. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17547. * src/main.cc:
  17548. Added ENABLE_BITTORRENT around includes and blocks related to
  17549. BitTorrent.
  17550. Added ENABLE_MESSAGE_DIGEST to skip checksum checking when the message
  17551. digest support is not available.
  17552. * src/AbstractDiskWriter.h:
  17553. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17554. * src/AbstractDiskWriter.cc:
  17555. Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
  17556. * src/MetalinkEntry.cc
  17557. (check): Added ENABLE_MESSAGE_DIGEST. Return true if the message digest
  17558. support is not available.
  17559. To add command-line options for Metalink:
  17560. * src/main.cc:
  17561. Added metalink-version, metalink-language, metalink-os,
  17562. follow-metalink.
  17563. To use EXIT_SUCCESS and EXIT_FAILURE with exit():
  17564. * src/main.cc: Use these definition.
  17565. * Release 0.6.0
  17566. 2006-07-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17567. To add Metalink support(http/ftp only):
  17568. * src/AbstractCommand.h
  17569. (tryReserved): New function.
  17570. * src/AbstractCommand.cc
  17571. (execute): Call tryReserved().
  17572. (tryReserved): New function.
  17573. * src/Request.h
  17574. (Requests): New type definition.
  17575. * src/SegmentMan.h
  17576. (reserved): New variable.
  17577. * src/Util.h
  17578. (fileChecksum): New function.
  17579. (toUpper): New function.
  17580. (toLower): New function.
  17581. * src/Util.cc
  17582. (messageDigest.h): Included.
  17583. (trim): Trim \r\n\t.
  17584. (fileChecksum): New function.
  17585. (toUpper): New function.
  17586. (toLower): New function.
  17587. * src/main.cc
  17588. (normalDownload): New function.
  17589. (main): Added 2 command-line options: metalink-file,
  17590. metalink-connection. Their usage has not been written yet.
  17591. * src/MetalinkProcessor.h: New class.
  17592. * src/Xml2MetalinkProcessor.h: New class.
  17593. * src/Xml2MetalinkProcessor.cc: New class.
  17594. * src/MetalinkEntry.h: New class.
  17595. * src/MetalinkEntry.cc: New class.
  17596. * src/MetalinkResource.h: New class.
  17597. * src/MetalinkResource.cc: New class.
  17598. To add md5 message digest checking:
  17599. * src/messageDigest.h: Rewritten.
  17600. * src/MultiDiskWriter.cc: Updated according to the changes in
  17601. messageDigest.h.
  17602. * src/ShaVisitor.cc: Updated according to the changes in
  17603. messageDigest.h.
  17604. * src/Util.cc: Updated according to the changes in messageDigest.h.
  17605. * src/AbstractDiskWriter.cc: Updated according to the changes in
  17606. messageDigest.h.
  17607. To fix a bug that causes segfault when the payload length in peer
  17608. message is less than 0:
  17609. * src/PeerConnection.cc:
  17610. (receiveMessage): Fixed the bug.
  17611. * src/PeerMessageUtil.cc
  17612. (checkLength): Throw an exception if length is less than or equals to
  17613. 0.
  17614. To add new interfaces to Base64 encoding/decoding:
  17615. * src/Base64.h
  17616. (part_encode): Changed the method signature.
  17617. (encode): New function(overload).
  17618. (decode): New function(overload).
  17619. * src/Base64.cc
  17620. (part_encode): Rewritten.
  17621. (encode): Rewritten.
  17622. (encode): New function(overload).
  17623. To prevent a peer to download same piece if there is an error in
  17624. checksum:
  17625. * src/PieceMessage.cc
  17626. (receivedAction): Call peerInteraction->abortPiece().
  17627. 2006-06-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17628. To fix the bug that causes same have message is sent many times to
  17629. a single peer.
  17630. * src/Time.cc
  17631. (isNewer): Use Util::difftv().
  17632. * src/Util.cc
  17633. (difftv): Added a cast to (long long int).
  17634. * src/TorrentMan.cc
  17635. (advertisePiece): Use push_front.
  17636. (getAdvertisedPieceIndexes): A performance improvement was made.
  17637. To fix the bug that sends tracker requests without a sleep interval
  17638. when the number of connections is less than 15.
  17639. * src/TrackerWatcherCommand.cc
  17640. (execute): Now the number of connections is not a factor to decide
  17641. whether or not a tracker request should be sent or not.
  17642. * src/Time.h
  17643. (setTimeInSec): New function.
  17644. * src/Time.cc
  17645. (setTimeInSec): New function.
  17646. etc.
  17647. * src/ChokeMessage.cc
  17648. (receivedAction): Removed peer->snubbing = false
  17649. * src/PeerConnection.h
  17650. (receiveHandshake): Updated doc.
  17651. * src/TorrentMan.h
  17652. (getAdvertisedPieceIndexes): Updated the method signature.
  17653. * src/TorrentMan.cc
  17654. (getAdvertisedPieceIndexes): Updated the method signature.
  17655. * src/Time.h
  17656. (getTimeInMicros): Added a cast to (long long int).
  17657. (getTimeInMillis): Added a cast to (long long int).
  17658. * Release 0.5.2
  17659. 2006-06-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17660. To make a listening socket non-block:
  17661. * src/SocketCore.h
  17662. (setNonBlockingMode): New function.
  17663. * src/SocketCore.cc
  17664. (setNonBlockingMode): New function.
  17665. (beginListen): Added a call to setNonBlockingMode().
  17666. (acceptConnection): Call setNonBlockingMode().
  17667. (setBlockingMode): Updated.
  17668. To handle tracker's NAT-checking:
  17669. * src/PeerConnection.cc
  17670. (receiveHandshake): 'msg' param is filled with received data and
  17671. its length is assigned to 'length' param, even if all handshake
  17672. message is not yet received.
  17673. * src/PeerInteractionCommand.cc
  17674. (executeInternal): Use peerInteraction->receiveHandshake(true) when
  17675. a new peer connects to localhost.
  17676. A call to peerInteraction->sendHandshake() was removed because
  17677. it is called from peerInteraction->receiveHandshake(true).
  17678. * src/PeerInteraction.h
  17679. (quickReplied): New variable.
  17680. (receiveHandshake): Added an argument.
  17681. * src/PeerInteraction.cc
  17682. (PeerInteraction): Added the initialization of quickReplied.
  17683. (receiveHandshake): Send handshake message as soon as the info hash
  17684. in a handshake message from a peer is correct.
  17685. To change the random part of peer id and key parameter:
  17686. * src/TorrentMan.h
  17687. (key): New variable.
  17688. * src/TorrentMan.cc
  17689. (setupInternal1): Use Util::randomAlpha() to generate random part
  17690. of peer id, which is now "-aria2-"+13 alphabet characters([A-Za-z]).
  17691. key is also generated by Util::randomAlpha() and it is now 8 character
  17692. long.
  17693. * src/Util.h
  17694. (randomAlpha): New function.
  17695. * src/Util.cc
  17696. (randomAlpha): New function.
  17697. * src/TrackerWatcherCommand.cc
  17698. (execute): In a tracker request: Use torrentMan->key as key parameter.
  17699. Added no_peer_id=1.
  17700. Set snubbing flag to false when a choke message is received from a
  17701. snubbed peer.
  17702. * src/ChokeMessage.cc
  17703. (receivedAction): Set snubbing flag to false.
  17704. 2006-06-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17705. * src/TorrentMan.cc (setupInternal1): Fixed peerId generation bug.
  17706. * src/SimpleLogger.h (writeHeader): New function.
  17707. * src/SimpleLogger.cc (writeHeader): New function.
  17708. (writeLog): Fixed the bug that causes segfaults if exception message
  17709. contains an unescaped "%" character.
  17710. * src/TrackerWatcherCommand.cc (execute): Added a short sleep
  17711. when a tracker request fails.
  17712. * src/Request.cc (parseUrl): Query string is now handled properly.
  17713. * Release 0.5.1
  17714. 2006-06-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17715. To add Time class which represents a specific instant in time and
  17716. its precision is microseconds. Time checking procedures were rewritten
  17717. using this object.
  17718. * src/Time.h: New class.
  17719. * src/Time.cc: New class.
  17720. * src/AbstractCommand.h
  17721. (updateCheckPoint): Removed.
  17722. (isTimeoutDetected): Removed.
  17723. (checkPoint): Changed the type to Time.
  17724. (timeout): New variable.
  17725. (setTimeout): New function.
  17726. * src/AbstractCommand.cc
  17727. (AbstractCommand): Removed the initialization of checkPoint.
  17728. Added the initialization of timeout.
  17729. (updateCheckPoint): Removed.
  17730. (isTimeoutDetected): Removed.
  17731. (execute): Use checkPoint.reset() and checkPoint.elapsed().
  17732. * src/PeerChokeCommand.h
  17733. (checkPoint): Changed the type to Time.
  17734. * src/PeerChokeCommand.cc
  17735. (PeerChokeCommand): Removed the initialization of checkPoint.
  17736. (execute): Rewritten using Time object.
  17737. * src/TrackerWatcherCommand.h
  17738. (checkPoint): Changed the type to Time.
  17739. * src/TrackerWatcherCommand.cc
  17740. (TrackerWatcherCommand): Removed the initialization of checkPoint.
  17741. (execute): Rewritten.
  17742. * src/ConsoleDownloadEngine.h
  17743. (cp): Changed the type to Time.
  17744. (startup): Changed the type to Time.
  17745. * src/ConsoleDownloadEngine.cc
  17746. (initStatistics): Use cp.reset(), startup.reset().
  17747. (calculateStatistics): Rewritten using Time object.
  17748. * src/PeerAbstractCommand.h
  17749. (updateCheckPoint): Removed.
  17750. (isTimeoutDetected): Removed.
  17751. (checkPoint): Changed the type to Time.
  17752. * src/PeerAbstractCommand.cc
  17753. (PeerAbstractCommand): Removed the initialization of checkPoint.
  17754. (updateCheckPoint): Removed.
  17755. (isTimeoutDetected): Removed.
  17756. (execute): Use checkPoint.reset() and checkPoint.elapsed().
  17757. * src/PeerInteractionCommand.cc
  17758. (PeerInteractionCommand): Removed the initializations of struct
  17759. timeval variables.
  17760. * src/PeerInteractionCommand.h
  17761. (keepAliveCheckPoint): Changed the type to Time.
  17762. (chokeCheckPoint): Changed the type to Time.
  17763. (freqCheckPoint): Changed the type to Time.
  17764. (haveCheckTime): Changed the type to Time.
  17765. * src/PeerInteractionCommand.cc
  17766. (executeInternal): Rewritten using Time object.
  17767. (detectMessageFlooding): Rewritten using Time object.
  17768. (checkLongTimePeerChoking): Rewritten using Time object.
  17769. (sendKeepAlive): Rewritten using Time object.
  17770. (checkHave): Rewritten using Time object.
  17771. * src/SleepCommand.h
  17772. (checkPoint): Changed the type to Time.
  17773. * src/SleepCommand.cc
  17774. (SleepCommand): Removed the initialization of checkPoint.
  17775. (execute): Rewritten using Time object.
  17776. * src/TorrentAutoSaveCommand.h
  17777. (checkPoint): Changed the type to Time.
  17778. * src/TorrentAutoSaveCommand.cc
  17779. (TorrentAutoSaveCommand): Removed the initialization of checkPoint.
  17780. (execute): Rewritten.
  17781. * src/DownloadCommand.h
  17782. (sw): Changed the type to Time.
  17783. * src/DownloadCommand.cc
  17784. (DownloadCommand): Removed the initialization of sw.
  17785. (executeInternal): Rewritten.
  17786. * src/RequestSlot.h
  17787. (dispatchedTime): Changed the type to Time.
  17788. * src/RequestSlot.cc
  17789. (RequestSlot): Removed the call to setDispatchedTime().
  17790. (setDispatchedTime): Rewirtten.
  17791. (isTimeout): Rewritten.
  17792. (getLatencyInMillis): Rewritten.
  17793. * src/TorrentDownloadEngine.h
  17794. (cp): Changed the type to Time[2].
  17795. (startup): Changed the type to Time.
  17796. * src/TorrentDownloadEngine.cc
  17797. (initStatistics): Rewritten.
  17798. (calculateStatistics): Rewritten.
  17799. * src/DownloadEngine.cc
  17800. (run): Rewritten.
  17801. To detect all attempts to connect to the tracker are failed:
  17802. * src/AbstractCommand.cc
  17803. (execute): Increment e->segmentMan->errors if a command aborted.
  17804. * src/SegmentMan.h
  17805. (errors): New variable.
  17806. * src/SegmentMan.cc
  17807. (SegmentMan): Added the initialization of errors.
  17808. (init): Added the initialization of errors.
  17809. * src/TrackerWatcherCommand.cc
  17810. (execute): If e->segmentMan->errors > 0 then assume that the tracker
  17811. request was failed.
  17812. To handle snubbed peers:
  17813. * src/PeerChokeCommand.cc
  17814. (optUnchokingPeer): Snubbed peers don't get unchoked.
  17815. (execute): Snubbed peers don't get unchoked.
  17816. * src/PeerInteraction.h
  17817. (REQUEST_TIME_OUT): Changed the value from 120 to 60.
  17818. * src/PeerInteraction.cc
  17819. (checkRequestSlot): A peer get marked as "snubbed" if it doesn't send
  17820. back the requested 16k block in 60 seconds.
  17821. * src/PieceMessage.cc
  17822. (receivedAction): A peer's snubbed state is cleard if it sends
  17823. the requested 16k block in 60 seconds.
  17824. * src/Peer.h
  17825. (snubbing): New variable.
  17826. * src/Peer.cc
  17827. (resetStatus): Added snubbed = false.
  17828. To fix the bug that causes have message is not sent:
  17829. * src/PeerInteractionCommand.cc
  17830. (~PeerInteractionCommand): Removed e->torrentMan->unadvertisePiece().
  17831. (FLOODING_CHECK_INTERVAL): New definition(temporal).
  17832. (detectMessageFlooding): Use FLOODING_CHECK_INTERVAL.
  17833. * src/TorrentMan.h
  17834. (HaveEntry): New class.
  17835. (advertisePiece): Rewritten.
  17836. (getAdvertisedPieceIndexes): Rewritten.
  17837. (Haves): Changed the type.
  17838. (getAdvertisedPieceIndexes): Added an argument.
  17839. Others:
  17840. * src/TorrentMan.h
  17841. (DEFAULT_ANNOUNCE_INTERVAL): Changed the value to 1800.
  17842. (DEFAULT_ANNOUNCE_MIN_INTERVAL): Changed the value to 1800.
  17843. * src/TorrentMan.cc
  17844. (getPeer): Don't check the number of connections here.
  17845. (setupInternal1): Changed peerId.
  17846. * src/PeerInteractionCommand.h
  17847. (KEEP_ALIVE_INTERVAL): New definition.
  17848. (sendKeepAlive): Use KEEP_ALIVE_INTERVAL.
  17849. * src/main.cc
  17850. (main): SA_ONESHOT was replaced with SA_RESETHAND.
  17851. * src/DownloadEngine.h: Removed unnecessary header includes.
  17852. 2006-05-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17853. To fix the bug that causes segfaults if a tracker returns a zero-length
  17854. list as "peers":
  17855. * src/TrackerUpdateCommand.cc
  17856. (execute): Added a check to see wether the type of peers is Data*.
  17857. 2006-05-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17858. * Release 0.5.0
  17859. To fix compile issue with gcc3:
  17860. * src/CancelMessage.h
  17861. (ID): Renamed as ID_t
  17862. (ID_t): New enum.
  17863. * src/RejectMessage.h
  17864. (ID): Renamed as ID_t
  17865. (ID_t): New enum.
  17866. * src/SuggestPieceMessage.h
  17867. (ID): Renamed as ID_t
  17868. (ID_t): New enum.
  17869. * src/AllowedFastMessage.h
  17870. (ID): Renamed as ID_t
  17871. (ID_t): New enum.
  17872. * src/PortMessage.h
  17873. (ID): Renamed as ID_t
  17874. (ID_t): New enum.
  17875. * src/HaveNoneMessage.h
  17876. (ID): Renamed as ID_t
  17877. (ID_t): New enum.
  17878. * src/KeepAliveMessage.h
  17879. (ID): Renamed as ID_t
  17880. (ID_t): New enum.
  17881. * src/HaveAllMessage.h
  17882. (ID): Renamed as ID_t
  17883. (ID_t): New enum.
  17884. * src/UnchokeMessage.h
  17885. (ID): Renamed as ID_t
  17886. (ID_t): New enum.
  17887. * src/BitfieldMessage.h
  17888. (ID): Renamed as ID_t
  17889. (ID_t): New enum.
  17890. * src/PieceMessage.h
  17891. (ID): Renamed as ID_t
  17892. (ID_t): New enum.
  17893. * src/RequestMessage.h
  17894. (ID): Renamed as ID_t
  17895. (ID_t): New enum.
  17896. * src/NotInterestedMessage.h
  17897. (ID): Renamed as ID_t
  17898. (ID_t): New enum.
  17899. * src/ChokeMessage.h
  17900. (ID): Renamed as ID_t
  17901. (ID_t): New enum.
  17902. * src/InterestedMessage.h
  17903. (ID): Renamed as ID_t
  17904. (ID_t): New enum.
  17905. * src/HaveMessage.h
  17906. (ID): Renamed as ID_t
  17907. (ID_t): New enum.
  17908. 2006-05-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17909. * src/PeerAbstractCommand.h
  17910. (beforeSocketCheck): Removed.
  17911. * src/PeerAbstractCommand.cc
  17912. Modified in order to call executeInternal() even if socket check
  17913. and upload limit check fail.
  17914. * src/PeerInteractionCommand.h
  17915. (keepAlive): Removed.
  17916. (sendKeepAlive): New function.
  17917. (checkHave): New function.
  17918. (beforeSocketCheck): Removed.
  17919. * src/PeerInteractionCommand.cc
  17920. (executeInternal): Use peerInteraction->checkRequestSlot(). Added
  17921. calls to checkHave() and sendKeepAlive().
  17922. (keepAlive): Renamed to sendKeepAlive().
  17923. (sendKeepAlive): New function.
  17924. (beforeSocketCheck): Removed.
  17925. (checkHave): New function.
  17926. * src/BitfieldMan.cc
  17927. (getMissingIndex): Don't call getMissingIndexRandomly() if max is 0.
  17928. (getMissingUnusedIndex): Don't call getMissingIndexRandomly() if max is
  17929. 0.
  17930. (getMissingIndex): Dont't call getMissingIndexRandomly() if max is 0.
  17931. * src/TorrentMan.h
  17932. (UsedPieces): Removed.
  17933. (Pieces): New type definition.
  17934. * src/Piece.h: Updated doc.
  17935. * src/Peer.h
  17936. (totalLength): Removed.
  17937. * src/Peer.cc
  17938. (updateLatency): Fixed the latency calculation.
  17939. * src/TorrentMan.cc
  17940. (addPeer): Call deleteOldErrorPeers() only if peers.size() is higher
  17941. than or equal to MAX_PEER_LIST_SIZE.
  17942. If duplicate is false and peer.size() >= MAX_PEER_LIST_SIZE,
  17943. then return false.
  17944. (deleteOldErrorPeers): Rewritten.
  17945. (deleteUsedPiece): Fixed the miss use of STL remove.
  17946. * src/PeerInteraction.h
  17947. (Pieces): Removed.
  17948. (deleteTimeoutRequestSlot): Removed.
  17949. (deleteCompletedRequestSlot): Removed.
  17950. (checkRequestSlot): New function.
  17951. * src/PeerInteraction.cc
  17952. (deleteTimeoutRequestSlot): Merged to checkRequestSlot().
  17953. (deleteCompletedRequestSlot): Merged to checkRequestSlot().
  17954. (checkRequestSlot): New function.
  17955. * src/DownloadEngine.cc
  17956. (run): Clear activeSockets before calling waitData().
  17957. (waitData): Removed a call to activeSockets.clear().
  17958. 2006-05-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  17959. To attempt to handle EINTR:
  17960. * src/SocketCore.cc
  17961. (isReadable): Added EINTR handling.
  17962. (isWritable): Added EINTR handling.
  17963. To improve the performance:
  17964. * src/AbstractCommand.cc
  17965. (isTimeoutDetected): Use Util::difftvsec() instead of Util::difftv().
  17966. * src/PeerInteractionCommand.h
  17967. (receiveMessage): Renamed as receiveMessages().
  17968. (receiveMessages): New function.
  17969. * src/PeerInteractionCommand.cc
  17970. (executeInternal): receiveMessage loop is moved to new receiveMessages
  17971. () function. detectMessageFlooding() is moved here.
  17972. (detectMessageFlooding): Use Util::difftvsec() instead of Util::difftv
  17973. (). The flooding detection for have message is comment out.
  17974. (checkLongTimePeerChoking): Use Util::difftvsec() instead of
  17975. Util::difftv().
  17976. (receiveMessage): Renamed as receiveMessages().
  17977. (receiveMessages): New function.
  17978. (keepAlive): Use Util::difftvsec() instead of Util::difftv().
  17979. (beforeSocketCheck): Commented out checkLongTimePeerChoking().
  17980. * src/SleepCommand.cc
  17981. (execute): Use Util::difftvsec() instead of Util::difftv().
  17982. * src/BitfieldMan.h
  17983. (getNthBitIndex): New function.
  17984. (hasMissingPiece): New function.
  17985. (getAllMissingIndexes): New function.
  17986. * src/BitfieldMan.cc
  17987. (countSetBit): Rewritten.
  17988. (getNthBitIndex): New function.
  17989. (getMissingIndexRandomly): Rewritten.
  17990. (hasMissingPiece): New function.
  17991. (getAllMissingIndexes): New function.
  17992. * src/TorrentMan.cc
  17993. (hasMissingPiece): New function.
  17994. (deleteUsedPiece): Rewritten using STL.
  17995. * src/PeerInteraction.cc
  17996. (getNewPieceAndSendInterest): Use TorrentMan::hasMissingPiece(), which
  17997. is a little bit faster then TorrentMan::getMissingPieceIndex().
  17998. (addRequests): Updated the number of pending requests.
  17999. * src/PeerAbstractCommand.cc
  18000. (isTimeoutDetected): Use Util::difftvsec() instead of Util::difftv().
  18001. (execute): Returns true if TorrentMan::isHalt() is true.
  18002. Corrected the condition of upload limit checking.
  18003. * src/Util.h
  18004. (countBit): New function.
  18005. * src/Util.cc
  18006. (nbits): New variable.
  18007. (countBit): New function.
  18008. * src/DownloadEngine.h
  18009. (SockCmdMap): New type definition.
  18010. (waitData): Added an argument.
  18011. (addSocket): Added an argument.
  18012. (addSocketForReadCheck): Added an argument.
  18013. (addSocketForWriteCheck): Added an argument.
  18014. * src/DownloadEngine.cc
  18015. (run): Executes only commands whose sockets are ready to read or write.
  18016. All commands are executed in every 1 second.
  18017. (waitData): Calls select() again if it returned
  18018. EINTR.
  18019. (addSocket): Saves socket and command object pair to the map.
  18020. (deleteSocket): Deletes socket and command object pair from the map.
  18021. (addSocketForReadCheck): Added an argument.
  18022. (addSocketForWriteCheck): Added an argument.
  18023. * src/DownloadCommand.cc
  18024. (executeInternal): Use Util::difftvsec() instead of Util::difftv().
  18025. To send "event=stopped" to the tracker when the application finishes:
  18026. * src/PeerChokeCommand.h
  18027. (checkPoint): New variable.
  18028. * src/PeerChokeCommand.cc
  18029. (PeerChokeCommand): Added the initialization of checkPoint.
  18030. (execute): The interval check is now done by checkPoint, not
  18031. SleepCommand. Return true if TorrentMan::isHalt() is true.
  18032. * src/TorrentMan.h
  18033. (halt): New function.
  18034. (hasMissingPiece): New function.
  18035. (isHalt): New function.
  18036. (setHalt): New function.
  18037. * src/TorrentMan.cc
  18038. (TorrentMan): Added the initialization of halt.
  18039. * src/TorrentAutoSaveCommand.h
  18040. (checkPoint): New variable.
  18041. * src/PeerListenCommand.cc
  18042. (execute): Returns true if TorrentMan::isHalt() is true.
  18043. * src/main.cc
  18044. (setSignalHander): Added flags argument.
  18045. (torrentHandler): Just calls TorrentMan::setHalt(true) and returns.
  18046. (main): Set SA_ONESHOT flag of the signal hander of SIGINT and SIGTERM.
  18047. Removed printDownloadAbortMessage() after torrent downloading loop.
  18048. * src/TorrentAutoSaveCommand.cc
  18049. (TorrentAutoSaveCommand): Added the initialization of checkPoint.
  18050. (execute): Returns true if TorrentMan::isHalt() is true.
  18051. The interval check is now done by checkPoint, not SleepCommand.
  18052. * src/TrackerWatcherCommand.cc
  18053. (execute): If TorrentMan::isHalt(), then create a tracker request with
  18054. event=stopped.
  18055. * src/TrackerUpdateCommand.cc
  18056. (prepareForRetry): Do not use SleepCommand here.
  18057. (execute): Returns true if TorrentMan::isHalt() is true.
  18058. Others:
  18059. * src/TorrentMan.cc
  18060. (getMissingPieceIndex): Updated log message.
  18061. * src/PeerInteraction.cc
  18062. (createPeerMessag): Updated log message.
  18063. 2006-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18064. To add the ability to download several pieces in mix in a command and
  18065. increase the number of request slots according to request-cancel
  18066. latency:
  18067. * src/PeerInteractionCommand.cc
  18068. (executeInternal): The number of messages to be received at a time
  18069. is increased from 10 to 50.
  18070. * src/LogFactory
  18071. (getInstance): Added NullLogger.
  18072. * src/NullLogger.h: New class.
  18073. * src/BitfieldMan.h
  18074. (getMissingIndex): New function.
  18075. * src/BitfieldMan.cc
  18076. (getMissingIndex): New function.
  18077. * src/TorrentMan.h
  18078. (checkOutPiece): New function.
  18079. (getMissingPieceIndex): New function.
  18080. (getMissingFastPieceIndex): New function.
  18081. (getMissingFastPiece): New function.
  18082. * src/TorrentMan.cc
  18083. (updatePiece): Rewritten using STL.
  18084. (syncPiece): Rewritten using STL.
  18085. (getMissingPiece): Rewritten using getMissingPieceIndex() and
  18086. checkOutPiece().
  18087. (getMissingPieceIndex): New function.
  18088. (getMissingFastPieceIndex): New function.
  18089. (getMissingFastPiece): New function.
  18090. (checkOutPiece): New function.
  18091. * src/PeerInteraction.h
  18092. (Pieces): New type definition.
  18093. (piece): Removed.
  18094. (pieces): New variable.
  18095. (getNewPieceAndSendInterest): Added the "piece" argument.
  18096. (abortPiece): Added the "piece" argument.
  18097. (abortAllPieces): New function.
  18098. (isInRequestSlot): New function.
  18099. (hasDownloadPiece): Added the "index" argument.
  18100. (setDownloadPiece): Removed.
  18101. (getDownloadPiece): Added the "index" argument.
  18102. (updatePiece): New function.
  18103. (createRequestMessage): Added the "index" argument.
  18104. * src/PeerInteraction.cc
  18105. (onChoked): Rewritten.
  18106. (abortPiece): Rewirtten.
  18107. (abortAllPieces): New function.
  18108. (deleteTimeoutRequestSlot): Rewritten.
  18109. Clarified code a little bit.
  18110. (deleteCompletedRequestSlot): Rewritten.
  18111. (isInRequestSlot): New function.
  18112. (syncPiece): Rewritten.
  18113. (updatePiece): New function.
  18114. (getNewPieceAndSendInterest): Rewritten.
  18115. (addRequests): Rewritten.
  18116. (getDownloadPiece): Rewritten.
  18117. (hasDownloadPiece): Rewritten.
  18118. (createRequestMessage): Added the "index" argument.
  18119. * src/common.h
  18120. (BITFIELD_LEN_FROM_PIECES): Enclosed the variable in parentheses.
  18121. (DIV_FLOOR): New definition.
  18122. * src/PieceMessage.cc
  18123. (receivedAction): Update request-piece latency here.
  18124. * src/RequestSlot.h
  18125. (getLatencyInMillis): New function.
  18126. * src/RequestSlot.cc
  18127. (isTimeout): Rewritten using getLatencyInMillis.
  18128. (getLatencyInMillis): New function.
  18129. * src/Piece.h
  18130. (operator==): New function.
  18131. (getMissingBlockIndex): New function.
  18132. * src/Piece.cc
  18133. (operator==): New function.
  18134. (getMissingBlockIndex): New function.
  18135. * src/Peer.h
  18136. (DEFAULT_LATENCY): New definition.
  18137. (latency): New variable.
  18138. (updateLatency): New function.
  18139. (getLatency): New function.
  18140. * src/Peer.cc
  18141. (resetStatus): Reset latecy.
  18142. (updateLatency): New function.
  18143. 2006-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18144. * src/SocketCore.cc
  18145. (isReadable): Added secure to the condition.
  18146. * src/HttpConnection.cc
  18147. (receiveResponse): Fixed a bug that causes no response header
  18148. exception.
  18149. * src/Peer.h
  18150. (getFastSet): Fixed the return value type.
  18151. 2006-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18152. To remove a wait from download loop:
  18153. * src/DownloadEngine.cc
  18154. (run): Comment out shortSleep.
  18155. To rewrite the message handling:
  18156. * src/SimplePeerMessage.h: New class.
  18157. * src/SimplePeerMessage.cc: New class.
  18158. * src/CancelMessage.h: Derived from SimplePeerMessage.
  18159. (msg): New variable.
  18160. (create): New function.
  18161. (send): Removed.
  18162. (getMessage): New function.
  18163. (getMessageLength): New function.
  18164. * src/CancelMessage.cc
  18165. (create): New function.
  18166. (receivedAction): Replaced deleteRequestMessageInQueue with
  18167. rejectPieceMessageInQueue.
  18168. (send): Removed.
  18169. (getMessage): New function.
  18170. (getMessageLength): New function.
  18171. * src/BitfieldMessage.h: Derived from SimplePeerMessage.
  18172. (msg): New variable.
  18173. (msgLength): New variable.
  18174. (~BitfieldMessage): Deleted msg.
  18175. (send): Removed.
  18176. (getMessage): New function.
  18177. (getMessageLength): New function.
  18178. * src/BitfieldMessage.cc
  18179. (create): New function.
  18180. (send): Removed.
  18181. (getMessage): New function.
  18182. (getMessageLength): New function.
  18183. * src/ChokeMessage.h: Derived from SimplePeerMessage.
  18184. (msg): New variable.
  18185. (sendPredicate): New function.
  18186. (onSendComplete): New function.
  18187. (send): Removed.
  18188. (getMessage): New function.
  18189. (getMessageLength): New function.
  18190. (create): New function.
  18191. * src/ChokeMessage.cc
  18192. (create): New function.
  18193. (send): Removed.
  18194. (sendPredicate): New function.
  18195. (getMessage): New function.
  18196. (getMessageLength): New function.
  18197. (onSendComplete): New function.
  18198. * src/KeepAliveMessage.h: Derived from SimplePeerMessage.
  18199. (msg): New variable.
  18200. (send): Removed.
  18201. (getMessage): New function.
  18202. (getMessageLength): New function.
  18203. * src/KeepAliveMessage.cc
  18204. (send): Removed.
  18205. (getMessage): New function.
  18206. (getMessageLength): New function.
  18207. * src/PortMessage.h
  18208. (create): New function.
  18209. (receivedAction): Updated log message.
  18210. * src/PortMessage.cc: New file.
  18211. * src/UnchokeMessage.h: Derived from SimplePeerMessage.
  18212. (msg): New variable.
  18213. (sendPredicate): New function.
  18214. (onSendComplete): New function.
  18215. (create): New function.
  18216. (send): Removed.
  18217. (getMessage): New function.
  18218. (getMessageLength): New function.
  18219. * src/UnchokeMessage.cc
  18220. (create): New function.
  18221. (send): Removed.
  18222. (sendPredicate): New function.
  18223. (getMessage): New function.
  18224. (getMessageLength): New function.
  18225. (onSendComplete): New function.
  18226. * src/PieceMessage.h
  18227. (leftPieceDataLength): Removed.
  18228. (leftDataLength): New variable.
  18229. (headerSend): New variable.
  18230. (pendingCount): New variable.
  18231. (msgHeader): New variable.
  18232. (sendPieceData): New function.
  18233. (incrementPendingCount): New function.
  18234. (isPendingCountMax): New function.
  18235. (create): New function.
  18236. (getMessageHeader): New function.
  18237. (getMessageHeaderLength): New function.
  18238. * src/PieceMessage.cc
  18239. (create): New function.
  18240. (getMessageHeader): New function.
  18241. (getMessageHeaderLength): New function.
  18242. (send): Rewritten.
  18243. (sendPieceData): New function.
  18244. * src/HaveMessage.h: Derived from SimplePeerMessage.
  18245. (msg): New variable.
  18246. (create): New function.
  18247. (getMessage): New function.
  18248. (getMessageLength): New function.
  18249. * src/HaveMessage.cc
  18250. (create): New function.
  18251. (send): Removed.
  18252. (sendPieceData): New function.
  18253. (getMessage): New function.
  18254. (getMessageLength): New function.
  18255. * src/RequestMessage.h: Derived from SimplePeerMessage.
  18256. (msg): New variable.
  18257. (create): New function.
  18258. (send): Removed.
  18259. (getMessage): New function.
  18260. (getMessageLength): New function.
  18261. * src/RequestMessage.cc
  18262. (create): New function.
  18263. (receivedAction): Added the handling of fast extension.
  18264. Deleted torrentMan->addUploadLength, torrentMan->addDeltaUploadLength.
  18265. (send): Removed.
  18266. (getMessage): New function.
  18267. (getMessageLength): New function.
  18268. * src/InterestedMessage.h: Derived from SimplePeerMessage.
  18269. (msg): New variable.
  18270. (sendPredicate): New function.
  18271. (onSendComplete): New function.
  18272. (create): New function.
  18273. (getMessage): New function.
  18274. (getMessageLength): New function.
  18275. * src/InterestedMessage.cc
  18276. (create): New function.
  18277. (send): Removed.
  18278. (sendPieceData): New function.
  18279. (getMessage): New function.
  18280. (getMessageLength): New function.
  18281. (onSendComplete): New function.
  18282. * src/NotInterestedMessage.h: Derived from SimplePeerMessage.
  18283. (msg): New variable.
  18284. (sendPieceData): New function.
  18285. (onSendComplete): New function.
  18286. (create): New function.
  18287. (send): Removed.
  18288. (getMessage): New function.
  18289. (getMessageLength): New function.
  18290. * src/NotInterestedMessage.cc
  18291. (create): New function.
  18292. (send): Removed.
  18293. (sendPredicate): New function.
  18294. (getMessage): New function.
  18295. (getMessageLength): New function.
  18296. (onSendComplete): New function.
  18297. * src/AllowedFastMessage.h: New class.
  18298. * src/AllowedFastMessage.cc: New class.
  18299. * src/RejectMessage.h: New class.
  18300. * src/RejectMessage.cc: New class.
  18301. * src/SuggestPieceMessage.h: New class.
  18302. * src/SuggestPieceMessage.cc: New class.
  18303. * src/HaveAllMessage.h: New class.
  18304. * src/HaveAllMessage.cc: New class.
  18305. * src/HaveNoneMessage.h: New class.
  18306. * src/HaveNoneMessage.cc: New class.
  18307. * src/HandshakeMessage.h: Derived from SimplePeerMessage.
  18308. (msg): New variable.
  18309. (reserved): New variable.
  18310. (create): New function.
  18311. (getId): New function.
  18312. (receivedAction): New function.
  18313. (getMessage): New function.
  18314. (getMessageLength): New function.
  18315. (isFastExtensionSupported): New function.
  18316. * src/HandshakeMessage.cc
  18317. (HandshakeMessage): Moved here from HandshakeMessage.h.
  18318. (create): New function.
  18319. (getMessage): New function.
  18320. (getMessageLength): New function.
  18321. (toString): Added the output of reserved field.
  18322. (check): Added const qualifier.
  18323. (isFastExtensionSupported): New function.
  18324. * src/PeerMessageUtil.h
  18325. (createChokeMessage): Removed.
  18326. (createUnchokeMessage): Removed.
  18327. (createInterestedMessage): Removed.
  18328. (createNotInterestedMessage): Removed.
  18329. (createHaveMessage): Removed.
  18330. (createBitfieldMessage): Removed.
  18331. (createRequestMessage): Removed.
  18332. (createCancelMessage): Removed.
  18333. (createPieceMessage): Removed.
  18334. (createPortMessage): Removed.
  18335. (createChokeMessage): Removed.
  18336. (createUnchokeMessage): Removed.
  18337. (createInterestedMessage): Removed.
  18338. (createNotInterestedMessage): Removed.
  18339. (createHaveMessage): Removed.
  18340. (createBitfieldMessage): Removed.
  18341. (createRequestMessage): Removed.
  18342. (createCancelMessage): Removed.
  18343. (createPieceMessage): Removed.
  18344. (createKeepAliveMessage): Removed.
  18345. (createHandshakeMessage): Removed.
  18346. (setIntParam): New function.
  18347. (createPeerMessageString): New function.
  18348. * src/PeerMessageUtil.cc
  18349. (createChokeMessage): Removed.
  18350. (createUnchokeMessage): Removed.
  18351. (createInterestedMessage): Removed.
  18352. (createNotInterestedMessage): Removed.
  18353. (createHaveMessage): Removed.
  18354. (createBitfieldMessage): Removed.
  18355. (createRequestMessage): Removed.
  18356. (createCancelMessage): Removed.
  18357. (createPieceMessage): Removed.
  18358. (createPortMessage): Removed.
  18359. (createRequestMessage): Removed.
  18360. (createCancelMessage): Removed.
  18361. (createPieceMessage): Removed.
  18362. (createHaveMessage): Removed.
  18363. (createChokeMessage): Removed.
  18364. (createUnchokeMessage): Removed.
  18365. (createInterestedMessage): Removed.
  18366. (createNotInterestedMessage): Removed.
  18367. (createBitfieldMessage): Removed.
  18368. (createKeepAliveMessage): Removed.
  18369. (createHandshakeMessage): Removed.
  18370. (setIntParam): New function.
  18371. (createPeerMessageString): New function.
  18372. * src/PeerConnection.h
  18373. (peer): Removed.
  18374. (torrentMan): Removed.
  18375. (createNLengthMessage): Removed.
  18376. (setIntParam): Removed.
  18377. (writeOutgoingMessageLog): Removed all overloaded functions.
  18378. (PeerConnection): Deleted peer and torrentMan from its arguments.
  18379. (sendMessage): New function.
  18380. (sendHandshake): Removed.
  18381. (sendKeepAlive): Removed.
  18382. (sendChoke): Removed.
  18383. (sendUnchoke): Removed.
  18384. (sendInterested): Removed.
  18385. (sendNotInterested): Removed.
  18386. (sendHave): Removed.
  18387. (sendBitfield): Removed.
  18388. (sendRequest): Removed.
  18389. (sendPiece): Removed.
  18390. (sendPieceHeader): Removed.
  18391. (sendPieceData): Removed.
  18392. (sendCancel): Removed.
  18393. (getPeer): Removed.
  18394. * src/PeerConnection.cc
  18395. (PeerConnection): Deleted peer and torrentMan from its arguments.
  18396. (sendHandshake): Removed.
  18397. (sendKeepAlive): Removed.
  18398. (createNLengthMessage): Removed.
  18399. (setIntParam): Removed.
  18400. (writeOutgoingMessageLog): Removed all overloaded functions.
  18401. (sendChoke): Removed.
  18402. (sendUnchoke): Removed.
  18403. (sendInterested): Removed.
  18404. (sendNotInterested): Removed.
  18405. (sendHave): Removed.
  18406. (sendBitfield): Removed.
  18407. (sendRequest): Removed.
  18408. (sendPiece): Removed.
  18409. (sendPieceHeader): Removed.
  18410. (sendPieceData): Removed.
  18411. (sendMessage): New function.
  18412. (sendCancel): Removed.
  18413. * src/PeerInteractionCommand.cc
  18414. (PeerInteractionCommand): Call setUploadLimit.
  18415. (executeInternal): Call setUploadLimit.
  18416. Added the handling of "inProgress" state of handshake message.
  18417. Call sendBitfield() or sendAllowdFast() instead of deprecated
  18418. sendNow().
  18419. (keepAlive): Call addMessage and sendMessage instead of deprecated
  18420. sendNow().
  18421. (beforeSocketCheck): Call addMessage instead of deprecated trySendNow()
  18422. * src/TorrentMan.h
  18423. (PEER_ID_LENGTH): New definition.
  18424. (hasAllPieces): New function.
  18425. * src/TorrentMan.cc
  18426. (getMissingPiece): Added the handling of fast extension.
  18427. (cancelPiece): Call updatePiece().
  18428. (hasAllPieces): New function.
  18429. * src/PeerInteraction.h
  18430. (fastSet): New variable.
  18431. (getNewPieceAndSendInterest): Changed the return type to void.
  18432. (send): Renamed as sendMessages.
  18433. (deleteAllRequestSlot): Removed.
  18434. (deleteRequestMessageInQueue): Renamed as rejectPieceMessageInQueue.
  18435. (cancelAllRequest): Removed all overloaded functions.
  18436. (deleteAllRequestSlot): Removed.
  18437. (deletePieceMessageInQueue): Renamed as rejectAllPieceMessageInQueue.
  18438. (rejectPieceMessageInQueue): New function.
  18439. (rejectAllPieceMessageInQueue): New function.
  18440. (onChoked): New function.
  18441. (isSendingMessageInProgress): New function.
  18442. (getCorrespondingRequestSlot): Changed its arguments.
  18443. (isInFastSet): New function.
  18444. (addFastSetIndex): New function.
  18445. (addRequests): New function.
  18446. (sendNow): Removed.
  18447. (trySendNow): Removed.
  18448. (sendBitfield): New function.
  18449. (sendAllowdFast): New function.
  18450. (createHaveAllMessage): New function.
  18451. (createHaveNoneMessage): New function.
  18452. (createRejectMessage): New function.
  18453. (createAllowedFastMessage): New function.
  18454. * src/PeerInteraction.cc
  18455. (send): Renamed as sendMessages.
  18456. (sendMessages): New function.
  18457. (MsgPushBack): New class.
  18458. (isSendingMessageInProgress): New function.
  18459. (deletePieceMessageInQueue): Renamed as rejectAllPieceMessageInQueue.
  18460. (rejectAllPieceMessageInQueue): New function.
  18461. Added the handling of fast extension.
  18462. (deleteRequestMessageInQueue): Renamed as rejectPieceMessageInQueue.
  18463. (rejectPieceMessageInQueue): New function.
  18464. Added the handling of fast extension.
  18465. (deleteRequestSlot): Replaced for loop with std::find.
  18466. (onChoked): New function.
  18467. (deleteAllRequestSlot): Removed.
  18468. (abortPiece): Rewirtten.
  18469. (deleteTimeoutRequestSlot): Updated log messages.
  18470. (getCorrespondingRequestSlot): Changed its arguments.
  18471. (cancelAllRequest): Removed all overloaded functions.
  18472. (receiveHandshake): Added the check to see whether an incoming peer
  18473. supports fast extension.
  18474. (createHandshakeMessage): Use HandshakeMessage::create instead of
  18475. PeerMessageUtil.
  18476. (createPeerMessage): Use create() of each message class instead of
  18477. PeerMessageUtil.
  18478. HaveAllMessage, HaveNoneMessage, RejectMessage, SuggestPieceMessage,
  18479. AllowedFastMessage were added.
  18480. (getNewPieceAndSendInterest): Changed its return value type to void.
  18481. Added the handling of fast extension.
  18482. (addRequests): New function.
  18483. (sendNow): Removed.
  18484. (sendHandshake): Rewritten.
  18485. (trySendNow): Removed.
  18486. (sendBitfield): New function.
  18487. (sendAllowdFast): New function.
  18488. (isInFastSet): New function.
  18489. (addFastSetIndex): New function.
  18490. (createRequestMessage): Use RequestMessage::create instead of
  18491. PeerMessageUtil.
  18492. (createCancelMessage): Use CancelMessage::create instead of
  18493. PeerMessageUtil.
  18494. (createPieceMessage): Use PieceMessage::create instead of
  18495. PeerMessageUtil.
  18496. (createHaveMessage): Use HaveMessage::create instead of
  18497. PeerMessageUtil.
  18498. (createChokeMessage): Use ChokeMessage::create instead of
  18499. PeerMessageUtil.
  18500. (createUnchokeMessage): Use UnchokeMessage::create instead of
  18501. PeerMessageUtil.
  18502. (createInterestedMessage): Use InterestedMessage::create instead of
  18503. PeerMessageUtil.
  18504. (createNotInterestedMessage): Use NotInterestedMessage::create instead
  18505. of PeerMessageUtil.
  18506. (createBitfieldMessage): Use BitfieldMessage::create instead of
  18507. PeerMessageUtil.
  18508. (createKeepAliveMessage): Use KeepAliveMessage::create instead of
  18509. PeerMessageUtil.
  18510. (createHaveAllMessage): New function.
  18511. (createHaveNoneMessage): New function.
  18512. (createRejectMessage): New function.
  18513. (createAllowedFastMessage: New function.
  18514. * src/Util.h
  18515. (sha1Sum): New function.
  18516. (computeFastSet): New function.
  18517. * src/Util.cc
  18518. (sha1Sum): New function.
  18519. (computeFastSet): New function.
  18520. * src/Peer.h
  18521. (fastExtensionEnabled): New variable.
  18522. (fastSet): New variable.
  18523. (setAllBitfield): New function.
  18524. (setFastExtensionEnabled): New function.
  18525. (isFastExtensionEnabled): New function.
  18526. (addFastSetIndex): New function.
  18527. (getFastSet): New function.
  18528. (isInFastSet): New function.
  18529. (countFastSet): New function.
  18530. * src/Peer.cc
  18531. (isInFastSet): New function.
  18532. (addFastSetIndex): New function.
  18533. (setAllBitfield): New function.
  18534. * src/AbstractCommand.cc (execute): Changed the procedure of checking
  18535. sockets.
  18536. * src/PeerAbstractCommand.cc
  18537. (PeerAbstractCommand): Added the initialization for uploadLimitCheck
  18538. and uploadLimit.
  18539. (execute): Changed the procedure of checking sockets. The upload speed
  18540. checking were added.
  18541. (setUploadLimit): New function.
  18542. (setUploadLimitCheck): New function.
  18543. * src/PeerAbstractCommand.h
  18544. (setUploadLimit): New function.
  18545. (setUploadLimitCheck): New function.
  18546. (uploadLimit): New variable.
  18547. (uploadLimitCheck): New variable.
  18548. To contact a tracker regularly:
  18549. * src/TrackerWatcherCommand.h (interval): New variable.
  18550. (checkPoint): New variable.
  18551. (TrackerWatcherCommand): Added interval argument.
  18552. * src/TrackerWatcherCommand.cc
  18553. (TrackerWatcherCommand): Initialized checkPoint.
  18554. (execute): Now a tracker is contacted in every specified period.
  18555. If peer list is not needed, send request with numwant=0.
  18556. * src/TrackerUpdateCommand.cc
  18557. (execute): Updated log messages.
  18558. * src/DownloadEngine.cc
  18559. (~DownloadEngine): Removed two asserts.
  18560. (waitData): Uncommented wfds. May be a bug fix.
  18561. 2006-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18562. * src/PeerInteractionCommand.h
  18563. (checkInactiveConnection): Removed.
  18564. * src/PeerInteractionCommand.cc
  18565. (executeInternal): Removed following function calls:
  18566. detectMessageFlooding(), checkLongTimePeerChoking and
  18567. checkInactiveConnection().
  18568. (checkInactiveConnection): Removed.
  18569. (detectMessageFlooding): Removed function call to
  18570. checkInactiveConnection().
  18571. * src/PeerMessageUtil.h
  18572. (createChokeMessage): New function. Overload.
  18573. (createUnchokeMessage): New function. Overload.
  18574. (createInterestedMessage): New function. Overload.
  18575. (createNotInterestedMessage): New function. Overload.
  18576. (createHaveMessage): New function. Overload.
  18577. (createBitfieldMessage): New function. Overload.
  18578. (createRequestMessage): New function. Overload.
  18579. (createCancelMessage): New function. Overload.
  18580. (createPieceMessage): New function. Overload.
  18581. (createKeepAliveMessage): New function. Overload.
  18582. * src/PeerMessageUtil.cc
  18583. (createChokeMessage): New function. Overload.
  18584. (createUnchokeMessage): New function. Overload.
  18585. (createInterestedMessage): New function. Overload.
  18586. (createNotInterestedMessage): New function. Overload.
  18587. (createHaveMessage): New function. Overload.
  18588. (createBitfieldMessage): New function. Overload.
  18589. (createRequestMessage): New function. Overload.
  18590. (createCancelMessage): New function. Overload.
  18591. (createPieceMessage): New function. Overload.
  18592. (createKeepAliveMessage): New function. Overload.
  18593. * src/SendMessageQueue.cc
  18594. (createRequestMessage): Use PeerMessageUtil.
  18595. (createCancelMessage): Use PeerMessageUtil.
  18596. (createPieceMessage): Use PeerMessageUtil.
  18597. (createHaveMessage): Use PeerMessageUtil.
  18598. (createChokeMessage): Use PeerMessageUtil.
  18599. (createUnchokeMessage): Use PeerMessageUtil.
  18600. (createInterestedMessage): Use PeerMessageUtil.
  18601. (createNotInterestedMessage): Use PeerMessageUtil.
  18602. (createBitfieldMessage): Use PeerMessageUtil.
  18603. (createKeepAliveMessage): Use PeerMessageUtil.
  18604. * src/SendMessageQueue.h: Renamed to PeerInteraction.h
  18605. * src/SendMessageQueue.cc: Renamed to PeerInteraction.cc
  18606. * src/PeerInteraction.h: New class.
  18607. * src/PeerInteraction.cc: New class.
  18608. 2006-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18609. Each peer message has its own class.
  18610. * src/PendingMessages.h: Removed.
  18611. * src/PendingMessages.cc: Removed. The sending process was moved to
  18612. each message class.
  18613. * src/RequestSlotMan.h: Removed.
  18614. * src/RequestSlotMan.cc: Removed. All functionarities were moved to
  18615. SendMessageQueue.
  18616. * src/RequestMessage.h: New class.
  18617. * src/RequestMessage.cc: New class.
  18618. * src/CancelMessage.h: New class.
  18619. * src/CancelMessage.cc: New class.
  18620. * src/BitfieldMessage.h: New class.
  18621. * src/BitfieldMessage.cc: New class.
  18622. * src/ChokeMessage.h: New class.
  18623. * src/ChokeMessage.cc: New class.
  18624. * src/KeepAliveMessage.h: New class.
  18625. * src/KeepAliveMessage.cc: New class.
  18626. * src/PortMessage.h: New class.
  18627. * src/UnchokeMessage.h: New class.
  18628. * src/UnchokeMessage.cc: New class.
  18629. * src/PieceMessage.h: New class.
  18630. * src/PieceMessage.cc: New class.
  18631. * src/HaveMessage.h: New class.
  18632. * src/HaveMessage.cc: New class.
  18633. * src/BitfieldMessage.h: New class.
  18634. * src/BitfieldMessage.cc: New class.
  18635. * src/NotInterestedMessage.h: New class.
  18636. * src/NotInterestedMessage.cc: New class.
  18637. * src/InterestedMessage.h: New class.
  18638. * src/InterestedMessage.cc: New class.
  18639. * src/HandshakeMessage.h (sendMessageQueue): New variable.
  18640. (getSendMessageQueue): New function.
  18641. (setSendMessageQueue): New function.
  18642. * src/HandshakeMessage.cc: New class.
  18643. * src/PeerConnection.h (receiveMessage): Changed return value and
  18644. arguments.
  18645. (receiveHandshake): Changed return value and arguments.
  18646. * src/PeerConnection.cc (receiveMessage): Do not create message class
  18647. here.
  18648. (receiveHandshake): Do not create handshake class here.
  18649. * src/PeerInteractionCommand.h (peerConnection): Removed.
  18650. (piece): Removed.
  18651. (syncPiece): Removed.
  18652. (sendInterest): Removed.
  18653. (sendMessages): Removed.
  18654. (createRequestPendingMessage): Removed.
  18655. (checkPieceHash): Removed.
  18656. (erasePieceOnDisk): Removed.
  18657. (getNewPieceAndSendInterest): Removed.
  18658. (onGotNewPice): Removed.
  18659. (onGotWrongPiece): Removed.
  18660. * src/PeerInteractionCommand.cc (PeerInteractionCommand):
  18661. Removed peerConnection, piece.
  18662. (~PeerInteractionCommand): Removed peerConnection.
  18663. (executeInternal): Use sendMessageQueue instead of peerConnection.
  18664. (syncPiece): Moved to SendMessageQueue.
  18665. (decideChoking): Removed PendingMessage.
  18666. (receiveMessage): Use sendMessageQueue instead of peerConnection.
  18667. The action after receiving peer message was moved to each message
  18668. class.
  18669. (onGotNewPice): Moved to SendMessageQueue.
  18670. (onGotWrongPiece): Moved to SendMessageQueue.
  18671. (getNewPieceAndSendInterest): Moved to SendMessageQueue.
  18672. (sendInterest): Moved to SendMessageQueue.
  18673. (createRequestPendingMessage): Removed.
  18674. (sendMessages): Moved to SendMessageQueue.
  18675. (onAbort): Use SendMessageQueue::abortPiece()
  18676. (keepAlive): Use sendMessageQueue instead of peerConnection.
  18677. (beforeSocketCheck): Use sendMessageQueue instead of peerConnection.
  18678. (checkPieceHash): Moved to SendMessageQueue.
  18679. (erasePieceOnDisk): Moved to SendMessageQueue.
  18680. * src/PeerMessageUtil.h
  18681. (createBitfieldMessage): Removed.
  18682. (createHaveMessage): Changed return value and arguments.
  18683. (createBitfieldMessage): Changed return value and arguments.
  18684. (createRequestCancelMessage): Removed.
  18685. (createPieceMessage): Changed return value and arguments.
  18686. (getShortIntParam): New function.
  18687. (checkIndex): Changed arguments.
  18688. (checkBegin): Changed arguments.
  18689. (checkLength): Changed arguments.
  18690. (checkPieceOffset): Removed.
  18691. (checkRange): New function.
  18692. (checkBitfield): Changed arguments.
  18693. (createPeerMessage): Removed.
  18694. (checkIntegrity): Removed.
  18695. (createHandshakeMessage): Changed arguments.
  18696. (createChokeMessage): New function.
  18697. (createUnchokeMessage): New function.
  18698. (createInterestedMessage): New function.
  18699. (createNotInterestedMessage): New function.
  18700. (createRequestMessage): New function.
  18701. (createCancelMessage): New function.
  18702. (createPortMessage): New function.
  18703. * src/PeerMessageUtil.cc
  18704. (createBitfieldMessage): Removed.
  18705. (createHaveMessage): Changed return value and arguments.
  18706. (createBitfieldMessage): Changed return value and arguments.
  18707. (createRequestCancelMessage): Removed.
  18708. (createPieceMessage): Changed return value and arguments.
  18709. (getShortIntParam): New function.
  18710. (checkIndex): Changed arguments.
  18711. (checkBegin): Changed arguments.
  18712. (checkLength): Changed arguments.
  18713. (checkPieceOffset): Removed.
  18714. (checkRange): New function.
  18715. (checkBitfield): Changed arguments.
  18716. (createPeerMessage): Removed.
  18717. (checkIntegrity): Removed.
  18718. (createHandshakeMessage): Changed arguments.
  18719. (createChokeMessage): New function.
  18720. (createUnchokeMessage): New function.
  18721. (createInterestedMessage): New function.
  18722. (createNotInterestedMessage): New function.
  18723. (createRequestMessage): New function.
  18724. (createCancelMessage): New function.
  18725. (createPortMessage): New function.
  18726. * src/PeerMessage.h
  18727. (id): Removed.
  18728. (index): Removed.
  18729. (begin): Removed.
  18730. (length): Removed.
  18731. (bitfield): Removed.
  18732. (bitfieldLength): Removed.
  18733. (block): Removed.
  18734. (blockLength): Removed.
  18735. (inProgress): New variable.
  18736. (cuid): New variable.
  18737. (peer): New variable.
  18738. (sendMessageQueue): New variable.
  18739. (logger): New variable.
  18740. (setBitfield): Removed.
  18741. (getBitfield): Removed.
  18742. (setBlock): Removed.
  18743. (getBlock): Removed.
  18744. (getBitfieldLength): Removed.
  18745. (getBlockLength): Removed.
  18746. (isInProgress): New function.
  18747. (toString): Made pure virtual.
  18748. (check): New function.
  18749. (send): New function.
  18750. (receivedAction): New function.
  18751. (getId): Made pure virtual.
  18752. (setId): Removed.
  18753. (getIndex): Removed.
  18754. (setIndex): Removed.
  18755. (getBegin): Removed.
  18756. (setBegin): Removed.
  18757. (getLength): Removed.
  18758. (setLength): Removed.
  18759. (getCuid): New function.
  18760. (setCuid): New function.
  18761. (getPeer): New function.
  18762. (setPeer): New function.
  18763. (getSendMessageQueue): New function.
  18764. (setSendMessageQueue): New function.
  18765. (ID): Removed.
  18766. * src/PeerMessage.cc
  18767. (setBitfield): Removed.
  18768. (setBlock): Removed.
  18769. (toString): Removed.
  18770. * src/TorrentMan.h
  18771. (getPieceLength): New function.
  18772. (getPieceLength): New function.
  18773. * src/SendMessageQueue.h
  18774. (REQUEST_TIME_OUT): New definition.
  18775. (RequestSlots): New definition.
  18776. (MessageQueue): New definition.
  18777. (requestSlotMan): Removed.
  18778. (pendingMessages): Removed.
  18779. (requestSlots): New variable.
  18780. (messageQueue): New variable.
  18781. (torrentMan): New variable.
  18782. (peerConnection): New variable.
  18783. (peer): New variable.
  18784. (piece): New variable.
  18785. (getNewPieceAndSendInterest): New function.
  18786. (createPeerMessage): New function.
  18787. (createHandshakeMessage): New function.
  18788. (send): Made private.
  18789. (setPeerMessageCommonProperty): New function.
  18790. (deleteAllRequestSlot): New function.
  18791. (deleteRequestMessageInQueue): New function.
  18792. (cancelAllRequest): Made private.
  18793. (cancelAllRequest): Made private.
  18794. (countRequestSlot): Made private.
  18795. (addPendingMessage): Removed.
  18796. (deletePendingPieceMessage): Removed.
  18797. (deletePendingRequestMessage): Removed.
  18798. (addMessage): New function.
  18799. (deletePieceMessageInQueue): New function.
  18800. (deleteTimeoutRequestSlot): Changed argument.
  18801. (deleteCompletedRequestSlot): Changed argument.
  18802. (getCorrespoindingRequestSlot): Renamed to getCorrespondingRequestSlot.
  18803. (getCorrespondingRequestSlot): New function.
  18804. (countPendingMessage): Removed.
  18805. (countMessageInQueue): New function.
  18806. (getTorrentMan): New function.
  18807. (getPeerConnection): New function.
  18808. (hasDownloadPiece): New function.
  18809. (getDownloadPiece): New function.
  18810. (setDownloadPiece): New function.
  18811. (syncPiece): New function.
  18812. (sendMessages): New function.
  18813. (sendNow): New function.
  18814. (trySendNow): New function.
  18815. (abortPiece): New function.
  18816. (sendHandshake): New function.
  18817. (receiveMessage): New function.
  18818. (receiveHandshake): New function.
  18819. (createRequestMessage): New function.
  18820. (createCancelMessage): New function.
  18821. (createPieceMessage): New function.
  18822. (createHaveMessage): New function.
  18823. (createChokeMessage): New function.
  18824. (createUnchokeMessage): New function.
  18825. (createInterestedMessage): New function.
  18826. (createNotInterestedMessage): New function.
  18827. (createBitfieldMessage): New function.
  18828. (createKeepAliveMessage): New function.
  18829. * src/SendMessageQueue.cc
  18830. (SendMessageQueue): Removed requestSlotMan.
  18831. Instantiated peerConnection here.
  18832. (~SendMessageQueue): Removed requestSlotMan.
  18833. Added deletion of peerConnection and the contents of messageQueue.
  18834. (send): Updated according to the change of messageQueue.
  18835. (addPendingMessage): Renamed to addMessage.
  18836. (addMessage): New function.
  18837. (deletePendingPieceMessage): Renamed to deletePieceMessageInQueue.
  18838. (deletePieceMessageInQueue): New function.
  18839. (deletePendingRequestMessage): Renamed to deleteRequestMessageInQueue.
  18840. (deleteRequestMessageInQueue): New function.
  18841. (deleteRequestSlot): RequestSlotMan::deleteRequestSlot(...) was moved
  18842. here.
  18843. (deleteTimeoutRequestSlot): RequestSlotMan::deleteTimeoutRequestSlot
  18844. (...) was moved here.
  18845. (deleteAllRequestSlot): RequestSlotMan::deleteAllRequestSlot(...) was
  18846. moved here.
  18847. (deleteCompletedRequestSlot):
  18848. RequestSlotMan::deleteCompletedRequestSlot(...) was moved here.
  18849. (getCorrespondingRequestSlot):
  18850. RequestSlotMan::getCorrespoindingRequestSlot(...) was moved here.
  18851. And renamed to getCorrespondingRequestSlot, correcting a typo.
  18852. (countPendingMessage): Renamed to countMessageInQueue.
  18853. (countMessageInQueue): New function.
  18854. (countRequestSlot): RequestSlotMan::countRequestSlot() was moved here.
  18855. (receiveHandshake): New function.
  18856. (createHandshakeMessage): New function.
  18857. (receiveMessage): New function.
  18858. (createPeerMessage): New function.
  18859. (syncPiece): New function.
  18860. (getNewPieceAndSendInterest): New function.
  18861. (sendMessages): New function.
  18862. (sendNow): New function.
  18863. (trySendNow): New function.
  18864. (sendHandshake): New function.
  18865. (abortPiece): New function.
  18866. (getDownloadPiece): New function.
  18867. (getPeerMessageCommonProperty): New function.
  18868. (createRequestMessage): New function.
  18869. (createCancelMessage): New function.
  18870. (createPieceMessage): New function.
  18871. (createHaveMessage): New function.
  18872. (createChokeMessage): New function.
  18873. (createUnchokeMessage): New function.
  18874. (createInterestedMessage): New function.
  18875. (createNotInterestedMessage): New function.
  18876. (createBitfieldMessage): New function.
  18877. (createKeepAliveMessage): New function.
  18878. To add simple Content-Disposition support:
  18879. * src/HttpResponseCommand.h (determinFilename): New function.
  18880. * src/HttpResponseCommand.cc (executeInternal):
  18881. Use determinFilename(headers) instead of req->getFile() when comparing
  18882. filename.
  18883. (determinFilename): New function.
  18884. (handleDefaultEncoding): Use determinFilename(headers) instead of
  18885. req->getFile().
  18886. (handleOtherEncoding): Use determinFilename(headers) instead of
  18887. req->getFile().
  18888. * src/Util.h (getContentDispositionFilename): New function.
  18889. * src/Util.cc (getContentDispositionFilename): New function.
  18890. * src/LogFactory.h (release): New function.
  18891. * src/LogFactory.cc (release): New function.
  18892. To fix a bug that causes out-of-bound exception when HTTP status
  18893. line is wrong:
  18894. * src/HttpConnection.cc (receiveResponse): Added a check for header
  18895. size.
  18896. * src/common.h (Deleter): New class.
  18897. * src/SegmentMan.cc
  18898. (~SegmentMan): Added deletion of splitter and diskWriter.
  18899. * src/DownloadEngine.h
  18900. (Commands): Use deque.
  18901. (clearQueue): New function.
  18902. * src/DownloadEngine.cc
  18903. (~DownloadEngine): Added deletion of segmentMan.
  18904. (cleanQueue): New function.
  18905. * src/TorrentDownloadEngine.h
  18906. (TorrentDownloadEngine): The implementation was moved to
  18907. TorrentDownloadEngine.cc.
  18908. (~TorrentDownloadEngine): The implementation was moved to
  18909. TorrentDownloadEngine.cc.
  18910. * src/TorrentDownloadEngine.cc
  18911. (~TorrentDownloadEngine): Added deletion of torrentMan.
  18912. * src/main.cc
  18913. (clearRequest): Removed.
  18914. (handler): Added deletion of e.
  18915. (torrentHandler): Added deletion of te.
  18916. (main): Do not share splitter.
  18917. Use Deleter instead of clearRequest.
  18918. Deletion of classes were updated.
  18919. 2006-05-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18920. * src/main.cc (main): Fixed typo.
  18921. * src/message.h: Fixed typo.
  18922. * po/de.po: Added German translation, thanks to Hermann J. Beckers.
  18923. 2006-04-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18924. To add --select-file command-line option:
  18925. * src/Util.cc
  18926. (unfoldRange): New function.
  18927. (getNum): New function.
  18928. (unfoldSubRange): New function
  18929. * src/main.cc
  18930. (showUsage): Added help message.
  18931. (main): Added --select-file command-line option. Updated the layout of
  18932. file listing.
  18933. * src/common.h
  18934. (Integers): New definition.
  18935. * src/SocketCore.cc
  18936. (writeData): Removed timeout argument.
  18937. (readData): Removed timeout argument.
  18938. (peekData): Removed timeout argument.
  18939. * src/Socket.cc
  18940. (writeData): Removed timeout argument.
  18941. (readData): Removed timeout argument.
  18942. (peekData): Removed timeout argument.
  18943. * Release 0.4.1
  18944. 2006-04-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  18945. To deploy upload rate based choking algorithm:
  18946. * src/PeerInteractionCommand.cc
  18947. (PeerInteractionCommand): Add peer to TorrentMan::activePeers to track
  18948. peer currently used.
  18949. (decideChoking): Deleted the choke/unchoke decision algorithm when
  18950. download completes. Simplified.
  18951. (receiveMessage): Updated.
  18952. * src/TorrentMan.h
  18953. (activePeers): New variable.
  18954. (addActivePeer): New function.
  18955. (getActivePeers): New function.
  18956. (deleteActivePeer): New function.
  18957. * src/TorrentMan.cc
  18958. (addPeer): deleteOldErrorPeers is moved to the begining of the function
  18959. * src/PeerAbstractCommand.cc
  18960. (onAbort): Use peer->resetStatus().
  18961. * src/main.cc
  18962. (PeerChokeCommand.h): Included.
  18963. (main): Added the instance of ChokingCommand to the command queue.
  18964. * src/Peer.h
  18965. (amChoking): Renamed from amChocking
  18966. (chokingRequired): New variable.
  18967. (optUnchoking): New variable.
  18968. (deltaUpload): New variable.
  18969. (deltaDownload): New variable.
  18970. (addDeltaUpload): New function.
  18971. (resetDeltaUpload): New function.
  18972. (addDeltaDownload): New function.
  18973. (resetDeltaDownload): New function.
  18974. (addPeerUpload): Added a call to addDeltaUpload.
  18975. (addPeerDownload): Added a call to addDeltaDownload.
  18976. * src/Peer.cc
  18977. (shouldBeChoking): Renamed from shouldChoke.
  18978. (resetStatus): New function.
  18979. * src/PeerChokeCommand.h: New class.
  18980. * src/PeerChokeCommand.cc: New class.
  18981. To add lazy upload speed limiter:
  18982. * src/TorrentConsoleDownloadEngine.h: Moved the variables for
  18983. statistics calculation to TorrentDownloadEngine.
  18984. * src/TorrentConsoleDownloadEngine.cc
  18985. (sendStatistics): Renamed from printStatistics.
  18986. (initStatistics): Removed. Moved to TorrentDownloadEngine.
  18987. (calculateSpeed): Removed. Moved to TorrentDownloadEngine.
  18988. (calculateStatistics): Removed. Moved to TorrentDownloadEngine.
  18989. * src/TorrentDownloadEngine.h: Added the variables for statistics
  18990. calculation.
  18991. (sendStatistics): New function as pure virtual function.
  18992. (getUploadSpeed): New function.
  18993. * src/TorrentDownloadEngine.cc
  18994. (initStatistics): New function.
  18995. (calculateSpeed): New function.
  18996. (calculateStatistics): New function.
  18997. * src/SendMessageQueue.h
  18998. (uploadLength): New variable.
  18999. (send): Added an argument.
  19000. (setUploadLimit): New function.
  19001. (getUploadLimit): New function.
  19002. * src/SendMessageQueue.cc
  19003. (send): Added upload speed limiter.
  19004. * src/prefs.h
  19005. (PREF_UPLOAD_LIMIT): New definition.
  19006. * src/PeerInteractionCommand.cc
  19007. (PeerInteractionCommand): Set upload speed limit to sendMessageQueue.
  19008. * src/main.cc
  19009. (main): Added --upload-limit option
  19010. For bug fixes:
  19011. * src/main.cc
  19012. (showUsage): Corrected --listen-port help
  19013. Other changes:
  19014. * src/TorrentMan.cc
  19015. (getPeer): Return nullPeer if connection is grather than
  19016. MAX_PEER_UPDATE(15) in order to leave space for incoming peers.
  19017. 2006-04-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19018. To add some useful information to the exception message:
  19019. * src/SocketCore.cc : Updated messages.
  19020. * src/SegmentMan.cc :
  19021. * src/TorrentMan.cc : Updated messages.
  19022. * src/MultiDiskWriter.cc : Updated messages.
  19023. * src/Util.cc : Updated messages.
  19024. * src/AbstractDiskWriter.cc : Updated messages.
  19025. * src/PreAllocationDiskWriter.cc : Updated messages.
  19026. * src/message.cc : Added new messages. Updated some messages.
  19027. * src/TrackerWatcherCommand.h (MIN_PEERS): New definition.
  19028. * src/TrackerWatcherCommand.cc (execute): Use MIN_PEERS.
  19029. Updated threshold from 30 to 15.
  19030. * src/AbstractDiskWriter.h (filename): New variable.
  19031. * src/AbstractDiskWriter.cc (openExistingFile): Assigned filename.
  19032. (createFile): Assigned filename.
  19033. * src/main.cc: Updated the help message for http-auth-scheme.
  19034. * Release 0.4.0
  19035. 2006-04-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19036. To add TrackerUpdateCommand with which replaces
  19037. CompactTrackerResponseProcessor:
  19038. * src/TrackerWatcherCommand.h (req): Removed.
  19039. * src/TrackerWatcherCommand.cc (execute): Send a request to tracker
  19040. if the number of peer connections are less than 30.
  19041. * src/ByteArrayDiskWriter.h (readData): Implemented.
  19042. * src/SegmentMan.h (diskWriter): New function.
  19043. * src/SegmentMan.cc (init): Added a call to diskWriter->closeFile()
  19044. * src/main.cc : Removed #include "CompactTrackerResponseProcessor.h"
  19045. (main): Use TrackerUpdateCommand.
  19046. * src/TorrentMan.h (CompactTrackerResponseProcessor): Removed.
  19047. (req): New variable.
  19048. (setTrackerResponseProcessor): Removed.
  19049. (getTrackerResponseProcessor): Removed.
  19050. (processTrackerResponse): Removed.
  19051. * src/DownloadEngine.h (diskWriter): Removed.
  19052. * src/TorrentDownloadEngine.cc (afterEachIteration): Removed a call
  19053. to torrentMan->processTrackerResponse().
  19054. To add Util::expandBuffer:
  19055. * src/ByteArrayDiskWriter.h (expandBuffer): Removed.
  19056. * src/ByteArrayDiskWriter.cc (writeData): Use Util::expandBuffer().
  19057. * src/Util.h (expandBuffer): New function.
  19058. To fix the bug that causes segmentation fault when "-l ." is specified
  19059. in command-line option:
  19060. * src/SimpleLogger.h (SimpleLogger): Removed "filename" argument.
  19061. (openFile): New function.
  19062. (closeFile): New function.
  19063. * src/SimpleLogger.cc (SimpleLogger): Removed fopen.
  19064. (~SimpleLogger): Call closeFile();
  19065. * src/LogFactory.cc (getInstance): Added a call to slogger->openFile().
  19066. * src/main.cc (main): Added a check to see logger is configured
  19067. properly.
  19068. To enable HTTP authentication without specifying "--http-auth-scheme"
  19069. * src/prefs.h (PREF_HTTP_AUTH_ENABLED): New definition.
  19070. * src/HttpConnection.cc (createRequest): Send Authorization header
  19071. if PREF_HTTP_AUTH_ENABLED == V_TRUE.
  19072. * src/main.cc (main): Preset PREF_HTTP_AUTH_SCHEME to V_TRUE
  19073. If "--http-user" is specified, set PREF_HTTP_AUTH_ENABLED to V_TRUE
  19074. * src/Peer.cc (shouldChoke): Updated algorithm.
  19075. * src/message.h (EX_AUTH_FAILED): New definition.
  19076. (EX_FILE_OPEN): New definition.
  19077. * src/HttpResponseCommand.cc (checkResponse): Throw DlAbortEx
  19078. if status == 401.
  19079. (handleDefaultEncoding): Added a call to diskWriter->initAndOpenFile()
  19080. if req->isTorrent == true.
  19081. * src/main.cc (handler): Removed the check to see e->diskWriter != NULL
  19082. (torrentHandler): Removed the check to see diskAdaptor != NULL.
  19083. * src/AbstractDiskWriter.cc (openExistingFile): Updated messsage.
  19084. (createFile): Updated message.
  19085. 2006-04-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19086. To add a readout of estimated remaining time to normal HTTP/FTP
  19087. downloads:
  19088. * src/ConsoleDownloadEngine.h (startup): New variable.
  19089. (startupLength): New variable.
  19090. (isStartupLengthSet): New variable.
  19091. (avgSpeed): New variable.
  19092. (eta): New variable.
  19093. * src/ConsoleDownloadEngine.cc (sendStatistics): Added a readout of
  19094. estimated remaining time.
  19095. (initStatistics): Initialized newly added variables.
  19096. (calculateStatistics): Calculate average speed and estimated remaining
  19097. time.
  19098. To decouple TorrentDownloadEngine from HttpResponseCommand:
  19099. * src/TrackerDownloadCommand.h: Removed.
  19100. * src/TrackerDownloadCommand.cc: Removed.
  19101. * src/TrackerInitCommand.h: Removed.
  19102. * src/TrackerInitCommand.cc: Removed.
  19103. * src/TrackerUpdateCommand.h: Removed.
  19104. * src/TrackerUpdateCommand.cc: Removed.
  19105. * src/TrackerWatcherCommand.cc (execute): The construction of request
  19106. url written in TrackerInitCommand was moved here. Do not create
  19107. tracker request command if torrentMan->trackers != 0.
  19108. * src/CompactTrackerResponseProcessor.h: New class.
  19109. * src/CompactTrackerResponseProcessor.cc: New class.
  19110. * src/message.h (MSG_TRACKER_WARNING_MESSAGE): Updated.
  19111. * src/HttpResponseCommand.cc (createHttpDownloadCommand):
  19112. Decoupled TorrentDownloadEngine from this.
  19113. * src/SegmentMan.h (init): New function.
  19114. * src/SegmentMan.cc (init): New function.
  19115. * src/TorrentMan.h (responseProcessor): New variable.
  19116. (trackers): New variable.
  19117. (setTrackerResponseProcessor): New function.
  19118. (getTrackerResponseProcessor): New function.
  19119. (processTrackerResponse): New function.
  19120. * src/TorrentMan.cc (Constructor): Initialized new variable trackers.
  19121. (processTrackerResponse): New function.
  19122. * src/main.cc (main): Use ByteArrayDiskWriter and
  19123. CompactTrackerResponseProcessor.
  19124. * src/TorrentDownloadEngine.cc (afterEachIteration): Call torrentMan->
  19125. processTrackerResponse().
  19126. * src/TorrentConsoleDownloadEngine.cc (printStatistics): Updated a
  19127. readout.
  19128. * src/TorrentDownloadEngine.cc (afterEachIteration): Added log message
  19129. which indicates download has completed.
  19130. * src/AbstractDiskWriter.cc (Destructor): fd >= 0, not fd >0
  19131. (closeFile): fd >= 0, not fd > 0
  19132. * src/main.cc (main): Added short cut for show-files.
  19133. Added short cut for torrent-file.
  19134. Added new command-line option listen-port.
  19135. Updated i18n messages.
  19136. 2006-04-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19137. To add LogFactory which creates singleton logger:
  19138. * src/LogFactory.h: New class.
  19139. * src/LogFactory.cc: New class.
  19140. * src/Command.h (logger): New variable.
  19141. (Constructor): Use LogFactory.
  19142. * src/AbstractCommand.cc: Use Command::logger
  19143. * src/PeerConnection.cc (Constructor): Deleted the argument logger.
  19144. Use LogFactory.
  19145. * src/SegmentSplitter.h : Made logger protected.
  19146. * src/SegmentSplitter.cc (Constructor): Use LogFactory.
  19147. * src/SegmentMan.cc (Constructor): Use LogFactory.
  19148. * src/DownloadEngine.h : Made logger protected.
  19149. * src/DownloadEngine.cc (Constructor): Use LogFactory.
  19150. * src/PeerInteractionCommand.cc : Use Command::logger.
  19151. * src/HttpResponseCommand.cc : Use Command::logger.
  19152. * src/SegmentMan.h : Made logger private.
  19153. * src/TorrentMan.h : Made logger private.
  19154. * src/TorrentMan.cc : Use LogFactory.
  19155. * src/FtpNegotiateCommand.cc : Use Command::logger.
  19156. * src/HttpConnection.h (Constructor): Deleted the argument logger.
  19157. * src/HttpConnection.cc (Constructor): Deleted the argument logger.
  19158. Use LogFactory.
  19159. * src/FtpConnection.h (Constructor): Deleted the argument logger.
  19160. * src/FtpConnection.cc (Constructor): Deleted the argument logger.
  19161. Use LogFactory.
  19162. * src/DownloadCommand.cc : Use Command::logger.
  19163. * src/PeerAbstractCommand.cc : Use Command::logger.
  19164. * src/PeerListenCommand.cc : Use Command::logger.
  19165. * src/PeerInitiateConnectionCommand.cc : Use Command::logger.
  19166. * src/HttpInitiateConnectionCommand.cc : Use Command::logger.
  19167. * src/FtpInitiateConnectionCommand.cc : Use Command::logger.
  19168. * src/TrackerWatcherCommand.cc : Use Command::logger.
  19169. * src/TrackerUpdateCommand.cc : Use Command::logger.
  19170. * src/TrackerDownloadCommand.cc : Use Command::logger.
  19171. * src/RequestSlotMan.cc (Constructor): Deleted the argument logger.
  19172. Use LogFactory.
  19173. * src/SendMessageQueue.h (Constructor): Deleted the argument logger.
  19174. * src/SendMessageQueue.cc (Constructor): Deleted the argument logger.
  19175. Use LogFactory.
  19176. * src/main.cc (main): Use LogFactory.
  19177. * src/DiskAdaptor.h (logger): New variable.
  19178. * src/DiskAdaptor.cc (Constructor): Use LogFactory.
  19179. * src/CopyDiskAdaptor.cc (fixFilename): Added a log message.
  19180. 2006-04-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19181. * src/TrackerInitCommand.cc (TrackerInitCommand): Added a "key"
  19182. parameter to a tracker request.
  19183. * src/TorrentMan.cc (readFileEntryFromMetaInfoFile): Bug fix.
  19184. * src/TrackerWatcherCommand.cc (execute): Call req->resetTryCount().
  19185. * src/main.cc (setSignalHander): New function.
  19186. (main): Added a handler for SIGTERM.
  19187. (handler): Updated message.
  19188. (torrentHandler): Updated message.
  19189. 2006-04-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19190. * src/TorrentConsoleDownloadEngine.cc
  19191. (onPartialDownloadingCompletes): Renamed as
  19192. onSelectiveDownloadingCompletes.
  19193. (onSelectiveDownloadingCompletes): Updated message.
  19194. To add DiskAdaptor which abstract DiskWriter family:
  19195. * src/PeerConnection.cc: Use diskAdaptor instead of diskWriter.
  19196. * src/PeerInteractionCommand.cc: Use diskAdaptor instead of diskWriter.
  19197. * src/BitfieldMan.cc (isAllBitSet): bug fix.
  19198. * src/TorrentMan.cc : Included CopyDiskAdaptor.h, DirectDiskAdaptor.h,
  19199. MultiDiskAdaptor.h.
  19200. (readFileEntry): Changed its arguments.
  19201. (setup): setupDiskWriter is merged into this function.
  19202. (setupDiskWriter): Removed.
  19203. (setFileFilter): New function.
  19204. (readFileEntryFromMetaInfoFile): Updated according to the changes
  19205. made in readFileEntry.
  19206. (getFilePath): Removed.
  19207. (getTempFilePath): Removed.
  19208. (getSegmentFilePath): Updated due to the removal of getFilePath.
  19209. (fixFilename): Removed.
  19210. (copySingleFile): Removed.
  19211. (splitMultiFile): Removed.
  19212. (deleteTempFile): Removed.
  19213. (setFileEntriesToDownload): Removed.
  19214. (isPartialDownloadingMode): Renamed as isSelectiveDownloadingMode.
  19215. (isSelectiveDownloadingMode): New function.
  19216. (setAllMultiFileRequestedState): Removed.
  19217. (finishPartialDownloadingMode): Renamed as
  19218. finishSelectiveDownloadingMode.
  19219. (finishSelectiveDownloadingMode): New function.
  19220. (getPartialTotalLength): Renamed as getSelectedTotalLength.
  19221. (getSelectedTotalLength): New function.
  19222. (onDownloadComplete): Use diskAdaptor.
  19223. * src/MultiDiskWriter.cc (Constructor): Added the argument pieceLength
  19224. (Range): Removed.
  19225. (setMultiFileEntries): Renamed as setFileEntries.
  19226. (setFileEntries): New function.
  19227. * src/MultiDiskWriter.h [DiskWriterEntry](enabled): Removed.
  19228. (pieceLength): New variable.
  19229. * src/main.cc (printDownloadCompeleteMessage): New function.
  19230. (torrentHandler): Use diskAdaptor instead of diskWriter.
  19231. (main): Renamed torrent-show-files to show-files.
  19232. Rewritten file contents listing.
  19233. * src/TorrentMan.h (FileEntry): Removed.
  19234. (multiFileTopDir): Removed.
  19235. (multiFileEntries): Removed.
  19236. (diskWriter): Removed.
  19237. (diskAdaptor): New variable.
  19238. * src/DefaultDiskWriter.h (totalLength): New variable.
  19239. * src/DefaultDiskWriter.cc (initAndOpenFile): Added ftruncate.
  19240. * src/TorrentDownloadEngine.cc (onEndOfRun): Use diskAdaptor instead of
  19241. diskWriter.
  19242. * src/TorrentConsoleDownloadEngine.h
  19243. (partialDownloadLengthDiff): Renamed as selectedDownloadLengthDiff.
  19244. (partialTotalLength): Renamed as selectedTotalLength.
  19245. * src/AbstractDiskWriter.cc (openFile): If file exists, call
  19246. openExistingFile, otherwise call initAndOpenFile.
  19247. (closeFile): fd > 0, not fd != 0.
  19248. * src/DirectDiskAdaptor.h: New class.
  19249. * src/DirectDiskAdaptor.cc: New class.
  19250. * src/MultiDiskAdaptor.h: New class.
  19251. * src/MultiDiskAdaptor.cc: New class.
  19252. * src/CopyDiskAdaptor.h: New class.
  19253. * src/CopyDiskAdaptor.cc: New class.
  19254. * src/DiskAdaptor.h: New class.
  19255. * src/DiskAdaptor.cc: New class.
  19256. * src/prefs.h (PREF_TORRENT_SHOW_FILES): Renamed as PREF_SHOW_FILES
  19257. (PREF_SHOW_FILES): New definition.
  19258. 2006-04-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19259. To add the ability to download multi torrent into respective files
  19260. directly:
  19261. * src/DiskWriter.h (openFile): New function.
  19262. (seek): Removed.
  19263. * src/MultiDiskWriter.h: New class.
  19264. * src/MultiDiskWriter.cc: New class.
  19265. * src/AbstractDiskWriter.h (seek): Changed its scope from public to
  19266. protected.
  19267. (openFile): New function.
  19268. * src/AbstractDiskWriter.cc (openFile): New function.
  19269. * src/prefs.h (V_FALSE): New definition.
  19270. (PREF_DIRECT_FILE_MAPPING): New definition.
  19271. * src/TorrentMan.h (setupDiskWriter): New function.
  19272. (setAllMultiFileRequestedState): New function.
  19273. (onDownloadComplete): New function.
  19274. * src/TorrentMan.cc : Included MultiDiskWriter.h
  19275. (setupDiskWriter): New function.
  19276. (getFilePath): Updated.
  19277. (getTempFilePath): Updated.
  19278. (getSegmentFilePath): Updated.
  19279. (fixFilename): Updated.
  19280. (deleteTempFile): Updated.
  19281. (setAllMultiFileRequestedState): New function.
  19282. (setFileEntriesToDownload): Use setAllMultiFileRequestedState().
  19283. (finishPartialDownloadingMode): Reset requested flags.
  19284. (onDownloadComplete): New function.
  19285. * src/main.cc: Added --direct-file-mapping option.
  19286. Use TorrentMan::setupDiskWriter().
  19287. * src/TorrentDownloadEngine.cc (afterEachIteration): Use TorrentMan::
  19288. onDownloadComplete().
  19289. To fix ETA bug:
  19290. * src/Util.h (difftvsec): New function.
  19291. * src/Util.cc (difftvsec): New function.
  19292. * src/TorrentConsoleDownloadEngine.cc (calculateSpeed): Use int for the
  19293. type of "elapsed" instead of long long int.
  19294. (calculateStatistics): Use Util::difftvsec instead of Util::difftv.
  19295. The updates of statistics takes place every 1 seconds.
  19296. * src/TorrentConsoleDownloadEngine.h (lastElapsed): Changed its type.
  19297. (calculateSpeed): Changed its argument signature.
  19298. * src/PeerMessage.cc (toString): Fixed message.
  19299. 2006-04-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19300. To print ETA:
  19301. * src/TorrentDownloadEngine.cc (afterEachIteration): Added download
  19302. completion handling when dealing with
  19303. TorrentMan::isPartialDownloadingMode() == true.
  19304. * src/TorrentDownloadEngine.h (onPartialDownloadingCompletes):
  19305. New function.
  19306. * src/TorrentConsoleDownloadEngine.h (startup): New variable.
  19307. (sessionDownloadLength): New variable.
  19308. (avgSpeed): New variable.
  19309. (eta): New variable.
  19310. * src/TorrentConsoleDownloadEngine.cc (initStatistics): Initialized
  19311. new variables: eta, avgSpeed, startup.
  19312. (calculateSpeed): Calculate average speed and ETA.
  19313. (printStatistics): Added ETA.
  19314. * src/Util.h (secfmt): New function.
  19315. * src/Util.cc (secfmt): New function.
  19316. 2006-04-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19317. To detect "keep alive" flooding:
  19318. * src/PeerInteractionCommand.h (keepAliveCount): New variable
  19319. * src/PeerInteractionCommand.cc (Constructor): Initialized new
  19320. variable: keepAliveCount.
  19321. (detectMessageFlooding): Added "keep alive" flooding detection.
  19322. (receiveMessage): Increase keepAliveCount when "keep alive" message
  19323. received.
  19324. To add the ability to download only specified files in multi-file
  19325. torrent:
  19326. * src/BitfieldMan.h (filterBitfield): New variable.
  19327. (filterEnabled): New variable.
  19328. (setFilterBit): New function.
  19329. (enableFilter): New function.
  19330. (disableFilter): New function.
  19331. (isFilterEnabled): New function.
  19332. (getFilteredTotalLength): New function.
  19333. (getCompletedLength): New function.
  19334. * src/BitfieldMan.cc (Constructor): Initialized new variable:
  19335. filterBitfield, filterEnabled.
  19336. (CopyConstructor): Added filterBitfield and filterEnabled.
  19337. (operator==): Added filterBitfield and filterEnabled.
  19338. (Destructor): Added filterBitfield.
  19339. (getMissingIndex): Use filterBitfield.
  19340. (getMissingUnusedIndex): Use filterBitfield.
  19341. (getFirstMissingUnusedIndex): Use filterBitfield.
  19342. (getFirstMissingUnusedIndex): Use filterBitfield.
  19343. (getAllMissingIndexes): Use filterBitfield.
  19344. (countMissingBlock): Use filterBitfield.
  19345. (countBlock): Use filterBitfield.
  19346. (setBitInternal): Added new argument on.
  19347. (setUseBit): Use setBitInternal.
  19348. (unsetUseBit): Use setBitInternal.
  19349. (setBit): Use setBitInternal.
  19350. (unsetBit): Use setBitInternal.
  19351. (isAllBitSet): Use filterBitfield.
  19352. (setFilterBit): New function.
  19353. (addFilter): New function.
  19354. (enableFilter): New function.
  19355. (disableFilter): New function.
  19356. (clearFilter): New function.
  19357. (isFilterEnabled): New function.
  19358. (getFilteredTotalLength): New function.
  19359. (getCompletedLength): New function.
  19360. * src/TorrentMan.h [FileEntry](Constructor): Updated signature.
  19361. Initalized newly added variables.
  19362. [FileEntry](offset): New variable.
  19363. [FileEntry](extracted): New variable.
  19364. [FileEntry](requested): New variable.
  19365. (readFileEntry): New function.
  19366. (option): New variable.
  19367. (splitMultiFile): Removed const qualifier.
  19368. (fixFilename): Removed const qualifier.
  19369. (readFileEntryFromMetaInfoFile): New function.
  19370. (finishPartialDownloadingMode): New function.
  19371. (isPartialDownloadingMode): New function.
  19372. (setFileEntriesToDownload): New function.
  19373. (getCompletedLength): New function.
  19374. (getPartialTotalLength): New function.
  19375. * src/TorrentMan.cc (readFileEntry): New function.
  19376. (setup): Use readFileEntry. If no-preallocation option is specified,
  19377. use DefaultDiskWriter.
  19378. (readFileEntryFromMetaInfoFile): New function.
  19379. (fixFilename): Removed const qualifier.
  19380. (splitMultiFile): Removed const qualifier.
  19381. (setFileEntriesToDownload): New function.
  19382. (isPartialDownloadingMode): New function.
  19383. (finishPartialDownloadingMode): New function.
  19384. (getCompletedLength): New function.
  19385. (getPartialTotalLength): New function.
  19386. * src/TorrentConsoleDownloadEngine.h (partialDownloadLengthDiff):
  19387. New variable.
  19388. (partialTotalLength): New variable.
  19389. (downloadLength): New variable.
  19390. (totalLength): New variable.
  19391. * src/TorrentConsoleDownloadEngine.cc (onPartialDownloadingCompletes):
  19392. Added log.
  19393. (initStatistics): Initialized new variables: partialDownloadLengthDiff,
  19394. partialTotalLength, downloadLength, totalLength.
  19395. (calculate): Calculate downloadLength and totalLength.
  19396. * src/prefs.h :New definition PREF_NO_PREALLOCATION
  19397. * src/main.cc (addCommand): Changed argument signature.
  19398. (main): Added new variable: args. Added new option "torrent-show-files"
  19399. "no-preallocation". Usage is not updated yet.
  19400. 2006-04-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19401. * src/PeerMessage.cc (setBitfield): Fixed invalid memory de-allocation.
  19402. 2006-04-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19403. Attempt to add the ability to listing file entries in a .torrent file.
  19404. This feature is not yet complete.
  19405. * src/prefs.h (PREF_TORRENT_SHOW_FILES): New definition
  19406. * src/TorrentMan.cc (getMultiFileEntries): New function.
  19407. (getName): New function.
  19408. * src/TorrentMan.h (getMultiFileEntries): New function.
  19409. (getName): New function.
  19410. * src/main.cc (main): Use above 2 funtion.
  19411. * Release 0.3.2
  19412. 2006-03-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19413. * src/PeerInteractionCommand.cc (checkInactiveConnection): New function
  19414. (detectMessageFlooding): Updated threshold value.
  19415. (checkLongTimePeerChoking): Updated timeout value.
  19416. (getNewPieceAndSendInterest): Added debug log.
  19417. * src/PeerInteractionCommand.h (checkInactiveConnection): New function
  19418. * src/TorrentMan.cc (deleteOldErrorPeers): Updated.
  19419. (getPeer): Updated.
  19420. * src/TorrentMan.h: Added MAX_PEER_ERROR.
  19421. * src/PeerAbstractCommand.cc (onAbort): Increment error counter.
  19422. * src/PeerListenCommand.cc (execute): Close connection if incoming peer
  19423. is localhost.
  19424. * src/main.cc (main): Updated PREF_PEER_CONNECTION_TIMEOUT to 60.
  19425. * src/PendingMessage.cc (processMessage): Not to send piece message
  19426. if peer is not interested in the pieces localhost has.
  19427. * src/Peer.cc (shouldChoke): Updated.
  19428. * src/SendMessageQueue.cc (cancelAllRequest): Fixed.
  19429. * src/Util.cc (isPowerOf): New function.
  19430. * src/Util.h (isPowerOf): New function.
  19431. * src/PeerMessageUtil.cc (checkLength): Added a check for length
  19432. whether or not it is power of 2.
  19433. 2006-03-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19434. Added new class SendMessageQueue that includes PendingMessages and
  19435. RequestSlotMan.
  19436. * src/SendMessageQueue.h: New class.
  19437. * src/SendMessageQueue.cc: New class.
  19438. * src/PendingMessage.h: Added new member variable blockIndex and its
  19439. accessors.
  19440. (createRequestMessage): Updated.
  19441. * src/PendingMessage.cc (createRequestMessage): Updated.
  19442. * src/PeerInteractionCommand.cc (executeInternal): Updated with
  19443. SendMessageQueue.
  19444. (checkLongTimePeerChoking): Updated with SendMessageQueue.
  19445. (receiveMessage): Updated with SendMessageQueue.
  19446. (deletePendingPieceMessage): Removed.
  19447. (getNewPieceAndSendInterest): Updated with SendMessageQueue.
  19448. (sendInterest): Updated with SendMessageQueue.
  19449. (createRequestPendingMessage): Updated with SendMessageQueue.
  19450. (sendMessages): Updated with SendMessageQueue.
  19451. (onAbort): Updated with SendMessageQueue.
  19452. (keepAlive): Updated with SendMessageQueue.
  19453. (beforeSocketCheck): Updated SendMessageQueue.
  19454. * src/PeerInteractionCommand (sendMessages): Shuffle
  19455. missingBLockIndexes before using it.
  19456. Added its own timeout for peer connection.
  19457. * src/PeerAbstractCommand.h: Added member variable timeout and its
  19458. setter.
  19459. * src/prefs.h: Added PREF_PEER_CONNECTION_TIMEOUT.
  19460. * src/PeerInteractionCommand.cc (PeerInteractionCommand):
  19461. Added setTimeout() call.
  19462. (executeInternal): Added setTimeout() call.
  19463. * src/PeerAbstractCommand.cc (PeerAbstractCommand):
  19464. Added timeout.
  19465. (isTimeoutDetected): Updated.
  19466. * src/main.cc (main): Added PREF_PEER_CONNECTION_TIMEOUT entry to
  19467. option.
  19468. Added *simple* message flooding checker.
  19469. * src/PeerInteractionCommand.cc (executeInternal):
  19470. Added detectMessageFlooding() call.
  19471. (detectMessageFlooding): New function.
  19472. (receiveMessage): Count up CHOKE, UNCHOKE, HAVE message.
  19473. (beforeSocketCheck): Added detectMessageFlooding() call.
  19474. * src/PeerInteractionCommand.h: Added sendMessageQueue,
  19475. chokeUnchokeCount, haveCount, detectMessageFlooding().
  19476. Removed deletePendingPieceMessage(), getRequestSlot(),
  19477. deleteRequestSlot(), deleteAllRequestSlot().
  19478. * src/PeerInteractionCommand.cc (beforeSocketCheck):
  19479. Added checkLongTimePeerChoking() call.
  19480. * src/RequestSlotMan.h: Renamed deleteTimeoutRequestSlot().
  19481. * src/TorrentMan.cc (addPeer): Delete at most MAX_PEER_LIST_SIZE peers
  19482. if duplicate == false.
  19483. The parameter "uploaded" and "downloaded" in the tracker request are
  19484. the size since the client sent the "started" event to the tracker.
  19485. * src/TorrentMan.cc (setup): Assigned saved downloaded Size and
  19486. uploaded size to preDownloadedSize, preUploadedSize respectively.
  19487. * src/TorrentMan.h: Added preDownloadedSize, preUploadedSize,
  19488. getSessionDownloadedSize(), getSessionUploadedSize().
  19489. * src/TrackerInitCommand.cc (execute): Use getSessionDownloadedSize(),
  19490. getSessionUploadedSize() instead of getDownloadedSize(),
  19491. getUploadedSize().
  19492. * src/PendingMessage.cc (processMessage): Do not send request message
  19493. if the peer is choking the client.
  19494. * src/TrackerUpdateCommand.cc (execute): Check wtheher minInterval is
  19495. less than interval.
  19496. 2006-03-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19497. * configure.in: Added gnutls support. Added several CPP macros.
  19498. * m4/openssl.m4: Added.
  19499. * src/SocketCore.{h,cc}: Drop const quarifier from writeData(),
  19500. readData(), peekData(). Added gnutls support.
  19501. * src/HttpDownloadCommand.cc: Removed SleepCommand.h
  19502. * src/TrackerWatcherCommand.{h,cc}: Added. This command creates
  19503. TrackerInitCommand periodicaly(TorrentMan::minInterval).
  19504. * src/TorrentMan.cc: Remove downloadedSize == 0 check from save().
  19505. Instead, added a check for whether setup method has executed
  19506. successfully.
  19507. * src/TorrentMan.h: Added member vaiable setupComplete. Updated
  19508. DEFAULT_ANNOUNCE_INTERVAL and DEFAULT_ANNOUNCE_MIN_INTERVAL to 300.
  19509. * src/Makefile.am: Updated.
  19510. * src/messageDigest.h: Added. This is a macro calculating SHA1 digest
  19511. using whether OpenSSL or gcrypt, depending on the result of configure
  19512. script.
  19513. * src/ShaVisitor.{h,cc}: Removed direct dependency on OpenSSL by using
  19514. messageDigest.h.
  19515. * src/TorrentAutoSaveCommand.h: Removed unused variable cuid.
  19516. * src/PeerListenCommand.cc: Added log about port binded successfully.
  19517. Fixed memory leak.
  19518. * src/main.cc: Added gnutls support. Replaced LIB_SSL with
  19519. ENABLE_BITTORRENT where they are not related to OpenSSL but BitTorrent.
  19520. Removed instantiation of TrackerInitCommand. Instead,
  19521. TrackerWatcherCommand is instantiated and pushed to the command queue.
  19522. * src/InitiateConnectionCommandFactory.cc: Replaced HAVE_LIBSSL with
  19523. ENABLE_SSL.
  19524. * src/Request.cc: Replaced HAVE_LIBSSL with ENABLE_SSL.
  19525. * src/RequestSlotMan.cc (deleteCompletedRequestSlot):
  19526. If a piece is already acquired by another command, delete the request
  19527. slots for the piece.
  19528. * src/TrackerUpdateCommand.cc (execute):
  19529. Changed log level of MSG_TRACKER_WARNING_MESSAGE from info to warn.
  19530. Added a check whether peer list is null.
  19531. Fixed the bug that causes sending completed event to the tracker
  19532. several times.
  19533. * src/TrackerInitCommand.cc (execute):
  19534. Fixed the bug that causes sending completed event to the tracker
  19535. several times.
  19536. * src/AbstractDiskWriter.{h,cc}: Removed direct dependency on OpenSSL
  19537. by using messageDigest.h.
  19538. 2006-03-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19539. * PeerConnection.cc: Replaced log message "keep-alive" with
  19540. "keep alive".
  19541. * PeerInteractionCommand.{h,cc}: Close connection if peer is choking
  19542. localhost long time.
  19543. * TorrentMan.cc: When adding new peer with duplicate = true, if the
  19544. number of peer list is equal to or grater than MAX_PEER_LIST, delete
  19545. at most 100 failure entry from the list. If with duplicate = false,
  19546. MAX_PEER_LIST is not checked.
  19547. * PeerListenCommand.cc: Fixed the argument order of log message.
  19548. 2006-03-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19549. * Logger.h: Moved enum LEVEL from SimpleLogger.h to here.
  19550. Added warn().
  19551. * SimpleLogger.h: Moved enum LEVEL to Logger.h.
  19552. Implemented warn().
  19553. Defined 2 macros(WRITE_LOG, WRITE_LOG_EX) to avoid duplicated code.
  19554. 2006-03-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19555. * Request.h: Added AFTER_COMPLETED event.
  19556. * TorrentDownloadEngine.cc: Prints "Download complete" message
  19557. instead of downloaded size and progress(%) after download completes.
  19558. * PeerInteractionCommand.cc: After download completes, sends unchoke
  19559. message to the peer if it is interested in what localhost has
  19560. downloaded.
  19561. * TorrentMan.cc: In single-file mode, copy temporary file to the final
  19562. destination instead of just renaming it.
  19563. * TorrentMan.cc: Added deleteTempFile().
  19564. * PeerAbstractCommand.cc: do not stop execution after download
  19565. completes. This makes localhost a seeder.
  19566. * Util.{h,cc}: Added fileCopy().
  19567. * PeerListenCommand.cc: do not stop execution after download completes.
  19568. This makes localhost a seeder.
  19569. * main.cc: Do not call TorrentMan::fixFilename() in torrentHandler.
  19570. Added TorrentMan::deleteTempFile() to torrentHandler.
  19571. Initialized the variable dir as ".".
  19572. * TorrentMan.h: Changed DEFAULT_ANNOUNCE_INTERVAL to 120 seconds.
  19573. Deleted renameSingleFile().
  19574. Added copySingleFile(), deleteTempFile().
  19575. * DownloadEngine.h: Added virtual function afterEachIteration().
  19576. * TorrentDownloadEngine.cc: Move a call to TorrentMan::fixFilename()
  19577. in onEndOfRun() to afterEachIteration().
  19578. In onEndOfRun(), changed if condition to check whether filenameFixed is
  19579. true.
  19580. * Util.cc: Implemented fileCopy() using rangedFileCopy().
  19581. In rangedFileCopy(), added try-catch block to properly close file
  19582. descriptors.
  19583. * TorrentDownloadEngine.cc: Added a member variable filenameFixed.
  19584. Added afterEachIteration(), isFilenameFixed().
  19585. * Peer.cc: Changed choking strategy.
  19586. * PreAllocationDiskWriter.cc: Drop O_DIRECT flag.
  19587. * TrackerInitCommand.cc: Send completed event only once.
  19588. * DownloadEngine.cc: Added a call to afterEachIteration().
  19589. * TrackerUpdateCommand.cc: Do not stop execution after download
  19590. completes.
  19591. * TorrentMan.h: Defined MAX_PEER_UPDATE as 15. aria2 attempts to
  19592. connect the peers at most MAX_PEER_UPDATE when a peer list is
  19593. received from a tracker.
  19594. * TrackerUpdateCommand.cc: Implemented above mentioned behavior.
  19595. Decreased the number of failure peers to delete to 0(just comment out
  19596. the line).
  19597. * Release 0.3.1
  19598. 2006-03-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19599. * PeerInteractionCommand.cc: added a call to
  19600. TorrentMan::unadvertisePiece in Destructor.
  19601. * PeerInteractionCommand.cc: make have message sent immediately
  19602. if the size of pending message queue is zero.
  19603. * TorrentMan.cc: set the maximum size of peer list to 250.
  19604. * TorrentMan.h: changed the container type of Peers and UsedPieces
  19605. to deque.
  19606. * Util.cc: fixed rangedFileCopy.
  19607. * AbstractDiskWriter.{h,cc}: moved digest context initialization
  19608. to Constructor. Also, moved digest cleanup to Destructor.
  19609. * MetaFileUtil.cc: fixed memory leak
  19610. * replaced std::vector with std::deque.
  19611. * AbstractCommand.cc: casted timeout value to long long int.
  19612. * ChunkedEncoding.cc: fixed memory leak.
  19613. * PeerInteractionCommand.cc: casted timeout value to long long int.
  19614. * SleepCommand.cc: casted timeout value to long long int.
  19615. * Data.cc: fixed memory leak.
  19616. * Data.cc: fixed toLLInt().
  19617. * BitfieldMan.cc: fixed memory leak.
  19618. * TorrentMan.cc: initialized storeDir to ".".
  19619. * TorrentMan.cc: fixed memory leak.
  19620. * TorrentMan.cc: corrected file paths of splitted files.
  19621. * PeerAbstractCommand.cc: casted timeout to long long int.
  19622. * main.cc: added delete(req) and delete(te->diskWriter).
  19623. * RequestSlot.cc: casted timeout value to long long int.
  19624. * Request.cc: fixed memory leak.
  19625. * PendingMessage.cc: make HAVE messages sent only when peer does not
  19626. have the piece.
  19627. * Peer.{h,cc}: added hasPiece(int index).
  19628. * main.cc: corrected addCommand.
  19629. 2006-03-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19630. * BitTorrent protocol support added.
  19631. * Release 0.3.0
  19632. 2006-03-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19633. * SocketCore.cc: remove the assignment of addrinfo.ai_addr.
  19634. 2006-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19635. * ChunkedEncoding.{h,cc}: fixed the bug that if chunk data is binary,
  19636. decoding did not work properly.
  19637. 2006-03-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19638. * DownloadEngine.h: included sys/time.h
  19639. * DownloadEngine.cc: remove sys/time.h
  19640. * Makefile.am (SUBDIRS): Add intl.
  19641. * configure.in (AC_CONFIG_FILES): Add intl/Makefile.
  19642. 2006-03-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19643. * main.cc: correct help message for --http-auth-scheme.
  19644. * main.cc: changed e-mail address for bug reports.
  19645. * ja.po: added japanese translation.
  19646. 2006-03-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19647. * SimpleLogger.cc: flush log file instead of stdout.
  19648. 2006-03-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19649. * main.cc: Fixed command-line option: max-tries
  19650. * HttpResponseCommand.cc: Make the request re-sent only if req->seg.sp
  19651. does not equal to seg.sp.
  19652. * DownloadCommand.cc: If EOF is got from the server and the total size
  19653. of file is not zero, then throw DlRetryEx.
  19654. * main.cc: Set the minium value of min-segment-size to 1024.
  19655. * HttpResponseCommand.cc: Fixed the bug that http segmented downloading
  19656. fails because of a regression since 0.2.0 release.
  19657. 2006-03-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19658. * HttpConnection.cc:
  19659. * common.h: defined the user agent name as macro
  19660. * DownloadEngine.{h, cc}:
  19661. * ConsoleDownloadEngine.{h, cc}: Console output message(size, speed)
  19662. is now generated by ConsoleDownloadEngine not by DownloadEngine.
  19663. * main.cc: Download complete/abort message is now generated by main.
  19664. * Makefile.am (SUBDIRS): Add m4.
  19665. (ACLOCAL_AMFLAGS): New variable.
  19666. (EXTRA_DIST): New variable.
  19667. * configure.in (AC_CONFIG_FILES): Add po/Makefile.in,
  19668. * gettext: added gettext functionality
  19669. 2006-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19670. * AbstractCommand.cc:
  19671. * DownloadCommand.{h, cc}: Aborted downloading commands now properly
  19672. unregister its cuid from SegmentMan.
  19673. * DownloadEngine.cc: .aria2 file was written when a downloading
  19674. failed with errors.
  19675. * HttpConnection.cc: Added "Proxy-Connection" header to proxy request.
  19676. Added "User-Agent" header to CONNECT proxy request.
  19677. Fixed "Proxy-Authorization" header. Now proxy authorization works
  19678. properly.
  19679. * Logger.h:
  19680. * SimpleLogger.{h,cc}: Changed the type of msg to const char*.
  19681. * ChunkedEncoding.cc: Added #include directive for strings.h
  19682. * Release 0.2.1
  19683. 2006-02-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19684. * Util.{h,cc}: added startsWith().
  19685. * CookieBox.cc: rewrited criteriaFind() using Util::startsWith() and
  19686. Util::endsWith().
  19687. * SocketCore.cc: struct addrinfo is now zero-initialized.
  19688. * common.h: added #include directive of limit.h.
  19689. * DownloadEngine.cc: added #include directive of sys/time.h and
  19690. algorithm.
  19691. * Exception.h: added #include directive of stdio.h.
  19692. * AbstractCommand.h: added #include directive of sys/time.h.
  19693. * DownloadCommand.h: added #include directive of sys/time.h.
  19694. * *.h: added #include directive of common.h to all base classes.
  19695. subclasses' one was removed.
  19696. * common.h: defined LONG_LONG_MAX and LONG_LONG_MIN if a compiler
  19697. does not define these macros.
  19698. 2006-02-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19699. * Release 0.2.0
  19700. * main.cc:
  19701. * HttpInitiateConnectionCommand.{h,cc}:
  19702. * prefs.h:
  19703. * HttpConnection.{h,cc}: added --http-proxy-method option.
  19704. We can now use GET command in http proxy.
  19705. 2006-02-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19706. * SplitSlowestSegmentSplitter.{h,cc}: This class provies algorithm
  19707. that splits slowest segment of SegmentMan::commands vector.
  19708. This is the default split algorithm of aria2.
  19709. * SplitFirstSegmentSplitter.{h,cc}: This class provides algorithm
  19710. that splits first segment of SegmentMan::commands vector.
  19711. * SegmentSplitter.{h,cc}: Added. This class provides split algorithm.
  19712. * DownloadCommand.{h,cc}: Added downloading speed calculation.
  19713. * Segment.h:
  19714. * SegmentMan.cc: Added speed field to Segment.h
  19715. * main.cc: -s option now affects all URLs in command-line arguemtns.
  19716. * HttpResponseCommand.cc: Fixed bug that segment file is not loaded.
  19717. * message.h: Change file size related %d to %lld.
  19718. 2006-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19719. * FtpInitiateConnectionCommand.{h,cc}:
  19720. * FtpNegotiationCommand.{h,cc}:
  19721. * FtpDownloadCommand.{h,cc}:
  19722. * FtpConnection.{h,cc}: Added FTP support
  19723. * SimpleLogger.cc: Log message now includes time information.
  19724. * main.cc: The value of --http-auth-scheme option is chagned from
  19725. 'BASIC' to 'basic'
  19726. * main.cc: Added --timeout command-line option.
  19727. * main.cc: Added --min-segment-size command-line option.
  19728. * main.cc: Added --max-retries command-line option.
  19729. * prefs.h: option string constants are now defined in prefs.h
  19730. 2006-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19731. * AbstractCommand.cc: Fixed timeout bug in AbstractCommand
  19732. * SegmentMan.cc: Added totalSize entry to .aria2 file. No compatibility
  19733. with version 0.1.0's one.
  19734. 2006-02-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19735. * configure.in: Added --enable-ssl option to configure script.
  19736. * HttpConnection.cc: Make Request-URI an absolute path. Some servers
  19737. cannot permit absoluteURI as Request-URI.
  19738. * HttpConnection.cc: Added Referer support.
  19739. * main.cc: Added referer command-line option.
  19740. * main.cc: Added rety-wait command-line option.
  19741. * Exception.h: Fixed formating bug in Exception::setMsg()
  19742. * SocketCore.{h,cc}:
  19743. * Socket.{h, cc}:
  19744. * Request.cc:
  19745. * InitiateConnectionCommandFactory.cc:
  19746. * HttpRequestCommand.cc: Added HTTPS support.
  19747. * SocketCore.{h,cc}: Added SocketCore. Socket becomes a handle class
  19748. for SocketCore.
  19749. * ChunkedEncoding.cc: Fixed bug in ChunkedEncoding: expanding buffer
  19750. size is wrong
  19751. * DownloadCommand.cc: Fixed bug in DownloadCommand: In Chunked
  19752. Encoding, it wrongly adds to Segment.ds buff length from the socket.
  19753. 2006-02-17 Tatsuhiro Tsujikawa <tsujikawa at rednoah dot com>
  19754. * Release 0.1.0