ChangeLog 783 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188
  1. 2008-12-11 Dan Williams <dcbw@redhat.com>
  2. * Move NetworkManager to git.freedesktop.org
  3. - git clone git://git.freedesktop.org/git/NetworkManager/NetworkManager.git
  4. 2008-12-09 Dan Williams <dcbw@redhat.com>
  5. * libnm-util/libnm-util.ver
  6. libnm-util/nm-setting-ip4-config.c
  7. libnm-util/nm-setting-ip4-config.h
  8. - Add 'never-default' property, which when true indicates that a
  9. connection should never be the default connection
  10. * src/nm-ip4-config.c
  11. src/nm-ip4-config.h
  12. - (nm_ip4_config_get_never_default, nm_ip4_config_set_never_default):
  13. Add never-default helpers
  14. * src/NetworkManagerUtils.c
  15. - (nm_utils_merge_ip4_config): update never-default when merging the
  16. IP4 setting to the IP4 config
  17. * src/NetworkManagerSystem.c
  18. - (nm_system_apply_ip4_config): if the connection is never-default,
  19. don't add routes without a gateway
  20. * src/NetworkManagerPolicy.c
  21. - (get_best_device): don't let never-default connections be the best
  22. - (update_routing_and_dns): handle never-default for VPN connections
  23. * system-settings/plugins/ifcfg-rh/reader.c
  24. - (make_ip4_setting): handle never-default by checking GATEWAYDEV
  25. 2008-12-08 Dan Williams <dcbw@redhat.com>
  26. * src/vpn-manager/nm-vpn-connection.c
  27. - (plugin_state_changed): clear secrets before setting the connection
  28. state to FAILED, since doing so may destroy the connection itself,
  29. since the NMVPNService owning this NMVPNConnection will unref it
  30. when the NMVPNConnection is failed or stopped
  31. 2008-12-05 Dan Williams <dcbw@redhat.com>
  32. Patch from Michael Biebl <mbiebl@gmail.com>
  33. * libnm-glib/Makefile.am
  34. - Bump libnm-glib revision to indicate new API
  35. - Give libnm-util version info
  36. * libnm-util/Makefile.am
  37. - Bump libnm-util soname to indicate API/ABI break with 0.6
  38. 2008-11-26 Dan Williams <dcbw@redhat.com>
  39. * Release NetworkManager 0.7
  40. 2008-11-26 Dan Williams <dcbw@redhat.com>
  41. * libnm-glib/nm-settings.c
  42. libnm-glib/nm-settings.h
  43. - (nm_exported_connection_delete): rename 'delete' to 'do_delete' to
  44. avoid using C++ reserved keywords in headers
  45. * libnm-glib/nm-dbus-connection.c
  46. system-settings/plugins/ifcfg-rh/nm-ifcfg-connection.c
  47. system-settings/plugins/ifcfg-suse/nm-suse-connection.c
  48. system-settings/plugins/ifupdown/nm-ifupdown-connection.c
  49. system-settings/plugins/keyfile/nm-keyfile-connection.c
  50. system-settings/src/nm-sysconfig-connection.c
  51. - Change 'delete' to 'do_delete'
  52. 2008-11-25 Dan Williams <dcbw@redhat.com>
  53. * system-settings/plugins/ifcfg-rh
  54. - Rename 'ifcfg-fedora' to 'ifcfg-rh'; it's not just used on Fedora
  55. * system-settings/src/main.c
  56. - (load_plugins): transparently handle ifcfg-fedora as ifcfg-rh
  57. 2008-11-25 Dan Williams <dcbw@redhat.com>
  58. Patch from Tambet Ingo <tambet@gmail.com>
  59. Fix mishandling of netlink error floods (rh #459205, novell #443429, lp #284507)
  60. * src/nm-netlink-monitor.c
  61. - Remove bits for using a non-default GMainContext, which weren't used
  62. - (nm_netlink_monitor_error_handler): don't leak the GError, and report
  63. the actual error code
  64. * src/NetworkManager.c
  65. - (nm_error_monitoring_device_link_state): disconnect error handler when
  66. an error flood occurs to avoid pegging the CPU
  67. 2008-11-23 Dan Williams <dcbw@redhat.com>
  68. * callouts/nm-dispatcher-action.c
  69. - (construct_envp, nm_dispatcher_action): pass connection UUID to
  70. scripts in the environment
  71. 2008-11-21 Dan Williams <dcbw@redhat.com>
  72. Patch from Tambet Ingo <tambet@gmail.com>
  73. * configure.in
  74. libnm-util/libnm-util.ver
  75. libnm-util/nm-setting-8021x.c
  76. libnm-util/nm-setting-8021x.h
  77. - Add configure-time option for the system CA path
  78. - Add 'system-ca-certs' option to 802.1x setting, which directs
  79. NetworkManager to use system CA certificates instead of any
  80. connection-defined CA certificates
  81. * src/supplicant-manager/nm-supplicant-config.c
  82. src/supplicant-manager/nm-supplicant-settings-verify.c
  83. - Use system CA certificates if the connection says to do so
  84. 2008-11-21 Dan Williams <dcbw@redhat.com>
  85. * src/nm-dbus-manager.c
  86. src/nm-dbus-manager.h
  87. - (nm_dbus_manager_get_name_owner): return error
  88. * src/nm-manager.c
  89. - (impl_manager_activate_connection): perform additional validation on
  90. ActivateConnection calls of user connections
  91. - (is_user_request_authorized): ensure that the requestor is the same
  92. UID as the UID that owns the user settings service; users shouldn't
  93. be able to control another user's connections
  94. 2008-11-21 Dan Williams <dcbw@redhat.com>
  95. * gfilemonitor/inotify-sub.c
  96. - (dup_dirname): actually remove trailing '/' (bgo #561807)
  97. 2008-11-21 Tambet Ingo <tambet@gmail.com>
  98. * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings): Make suse
  99. plugin compile again.
  100. 2008-11-20 Dan Williams <dcbw@redhat.com>
  101. Patch from Tambet Ingo <tambet@gmail.com>
  102. * libnm-util/nm-setting.c
  103. libnm-util/nm-setting.h
  104. - (NMSettingValueIterFn): instead of just a gboolean for secrets, take
  105. all the GParamSpec flags of the property
  106. * system-settings/plugins/keyfile/nm-keyfile-connection.c
  107. system-settings/plugins/keyfile/reader.c
  108. system-settings/plugins/keyfile/writer.c
  109. - Update for NMSettingValueIterFn change
  110. 2008-11-20 Dan Williams <dcbw@redhat.com>
  111. * libnm-util/nm-utils.c
  112. libnm-util/nm-utils.h
  113. - More documentation updates
  114. 2008-11-20 Dan Williams <dcbw@redhat.com>
  115. * libnm-util/libnm-util.ver
  116. libnm-util/nm-utils.c
  117. libnm-util/nm-utils.h
  118. libnm-util/nm-utils-private.h
  119. libnm-util/nm-connection.c
  120. - (nm_utils_register_value_transformations): make private, called
  121. from NMConnection registration anyway
  122. 2008-11-20 Dan Williams <dcbw@redhat.com>
  123. * libnm-util/Makefile.am
  124. libnm-util/nm-utils-private.h
  125. - New header for internal utils private functions
  126. * libnm-util/libnm-util.ver
  127. libnm-util/nm-utils.c
  128. libnm-util/nm-utils.h
  129. - Document some functions
  130. - (nm_utils_string_in_list, nm_utils_string_list_contains,
  131. nm_utils_string_slist_validate): un-export, only used within
  132. libnm-util or of limited use in general, and very easy to
  133. re-implement by apps if needed
  134. * libnm-util/nm-setting-8021x.c
  135. libnm-util/nm-setting-wired.c
  136. libnm-util/nm-setting-wireless-security.c
  137. libnm-util/nm-setting-wireless.c
  138. - Update for private nm_utils_string_* functions
  139. 2008-11-20 Dan Williams <dcbw@redhat.com>
  140. * libnm-util/libnm-util.ver
  141. libnm-util/nm-setting.c
  142. libnm-util/nm-setting.h
  143. - Add NMSetting errors
  144. - (nm_setting_update_secrets): return errors
  145. * libnm-util/nm-connection.c
  146. libnm-util/nm-connection.h
  147. - (nm_connection_update_secrets): return errors
  148. * libnm-util/nm-setting-vpn.c
  149. src/nm-activation-request.c
  150. src/vpn-manager/nm-vpn-connection.c
  151. - Handle update secrets errors
  152. 2008-11-20 Dan Williams <dcbw@redhat.com>
  153. * libnm-util/nm-setting.c
  154. libnm-util/nm-setting.h
  155. libnm-util/libnm-util.ver
  156. - (nm_setting_new_from_hash): rename from nm_setting_from_hash() to be
  157. consistent with nm_connection_new_from_hash()
  158. * src/nm-activation-request.c
  159. libnm-util/nm-connection.c
  160. - Handle rename
  161. 2008-11-19 Dan Williams <dcbw@redhat.com>
  162. * configure.in
  163. Makefile.am
  164. docs/libnm-util/Makefile.am
  165. docs/libnm-util/libnm-util.types
  166. - Start to document libnm-util
  167. 2008-11-19 Dan Williams <dcbw@redhat.com>
  168. * libnm-util/nm-connection.h
  169. libnm-util/nm-connection.c
  170. - Document public functions
  171. 2008-11-19 Dan Williams <dcbw@redhat.com>
  172. * libnm-util/nm-setting.h
  173. libnm-util/nm-setting.c
  174. src/nm-device.c
  175. src/nm-manager.c
  176. system-settings/plugins/ifcfg-fedora/plugin.c
  177. - Prefix compare flag defines with NM_SETTING_
  178. 2008-11-19 Dan Williams <dcbw@redhat.com>
  179. * libnm-util/nm-connection.c
  180. libnm-util/nm-connection.h
  181. - (nm_connection_replace_settings): take a GError
  182. * libnm-glib/nm-settings.c
  183. libnm-glib/nm-dbus-connection.c
  184. src/nm-manager.c
  185. system-settings/plugins/ifcfg-suse/nm-suse-connection.c
  186. system-settings/plugins/keyfile/nm-keyfile-connection.c
  187. system-settings/plugins/keyfile/plugin.c
  188. - Handle, or don't handle, errors from nm_connection_replace_settings()
  189. 2008-11-19 Dan Williams <dcbw@redhat.com>
  190. * libnm-util/libnm-util.ver
  191. libnm-util/nm-connection.c
  192. - (nm_setting_register, nm_setting_unregister): unexport; they are
  193. private and don't have a use outside libnm-util
  194. 2008-11-17 Dan Williams <dcbw@redhat.com>
  195. * src/nm-hso-gsm-device.c
  196. - (real_connection_secrets_updated): handle PIN/PUK correctly for HSO
  197. devices
  198. 2008-11-17 Dan Williams <dcbw@redhat.com>
  199. * system-settings/plugins/ifcfg-fedora/reader.c
  200. - (read_mac_address): clean up
  201. - (make_wireless_setting): pass NULL array to read_mac_address() like it
  202. expects
  203. * system-settings/plugins/ifcfg-fedora/plugin.c
  204. - (read_one_connection): don't segfault on NULL errors
  205. 2008-11-14 Dan Williams <dcbw@redhat.com>
  206. * Tag 0.7.0-rc2
  207. 2008-11-14 Dan Williams <dcbw@redhat.com>
  208. Handle gateways on different subnets
  209. * src/NetworkManagerSystem.c
  210. - (add_ip4_route_to_gateway): gateway route should be link scope and
  211. a host route
  212. - (replace_default_ip4_route): use a destination address too; gateway
  213. address should be /0; don't leak the gateway route object
  214. 2008-11-14 Dan Williams <dcbw@redhat.com>
  215. * libnm-glib/libnm_glib.ver
  216. libnm-glib/nm-dbus-settings-system.c
  217. libnm-glib/nm-dbus-settings-system.h
  218. - Add libnm-glib bits for CanModify
  219. 2008-11-14 Dan Williams <dcbw@redhat.com>
  220. * introspection/nm-settings-system.xml
  221. system-settings/src/dbus-settings.c
  222. system-settings/src/dbus-settings.h
  223. - Add a "CanModify" property to indicate if any plugins support
  224. connection modification
  225. 2008-11-14 Dan Williams <dcbw@redhat.com>
  226. Relicense libnm-glib to LGPLv2+ with agreement from contributors
  227. 2008-11-14 Dan Williams <dcbw@redhat.com>
  228. * vpn-manager/nm-vpn-connection.c
  229. - (plugin_state_changed): clear VPN secrets on error to ensure they
  230. are always requested from the settings service (rh #429287)
  231. 2008-11-13 Dan Williams <dcbw@redhat.com>
  232. * libnm-util/crypto.c
  233. - (crypto_get_private_key_data): fix bad initial arg type checking
  234. from pkcs#12 patch
  235. 2008-11-13 Dan Williams <dcbw@redhat.com>
  236. Add support for PKCS#12 private keys (bgo #558982)
  237. * libnm-util/crypto.c
  238. libnm-util/crypto.h
  239. - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
  240. take a GByteArray instead of a filename
  241. - (file_to_g_byte_array): handle private key files too
  242. - (decrypt_key): take a GByteArray rather than data + len
  243. - (crypto_get_private_key_data): refactor crypto_get_private_key() into
  244. one function that takes a filename, and one that takes raw data;
  245. detect pkcs#12 files as well
  246. - (crypto_load_and_verify_certificate): detect file type
  247. - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
  248. functions
  249. * libnm-util/crypto_gnutls.c
  250. - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
  251. whereby tail padding was incorrectly handled, leading to erroneous
  252. successes when trying to decrypt the data
  253. - (crypto_verify_cert): rework somewhat
  254. - (crypto_verify_pkcs12): validate pkcs#12 keys
  255. * libnm-util/crypto_nss.c
  256. - (crypto_init): enable various pkcs#12 ciphers
  257. - (crypto_decrypt): take a GByteArray rather than data + len
  258. - (crypto_verify_cert): clean up
  259. - (crypto_verify_pkcs12): validate pkcs#12 keys
  260. * libnm-util/test-crypto.c
  261. - Handle pkcs#12 keys
  262. * libnm-util/nm-setting-8021x.c
  263. libnm-util/nm-setting-8021x.h
  264. libnm-util/libnm-util.ver
  265. - Add two new properties, 'private-key-password' and
  266. 'phase2-private-key-password', to be used in conjunction with
  267. pkcs#12 keys
  268. - (nm_setting_802_1x_set_ca_cert_from_file,
  269. nm_setting_802_1x_set_client_cert_from_file,
  270. nm_setting_802_1x_set_phase2_ca_cert_from_file,
  271. nm_setting_802_1x_set_phase2_client_from_file): return certificate
  272. type
  273. - (nm_setting_802_1x_get_private_key_password,
  274. nm_setting_802_1x_get_phase2_private_key_password): return private
  275. key passwords
  276. - (nm_setting_802_1x_set_private_key_from_file,
  277. nm_setting_802_1x_set_phase2_private_key_from_file): set the private
  278. key from a file, and update the private key password at the same time
  279. - (nm_setting_802_1x_get_private_key_type,
  280. nm_setting_802_1x_get_phase2_private_key_type): return the private
  281. key type
  282. * src/supplicant-manager/nm-supplicant-settings-verify.c
  283. - Whitelist private key passwords
  284. * src/supplicant-manager/nm-supplicant-config.c
  285. - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
  286. add the private key password to the supplicant config, but do not
  287. add the client certificate (as required by wpa_supplicant)
  288. 2008-11-12 Tambet Ingo <tambet@gmail.com>
  289. * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
  290. (add_secrets): Don't add empty secrets to the secrets hash table.
  291. 2008-11-07 Dan Williams <dcbw@redhat.com>
  292. * libnm-util/nm-setting-wireless.c
  293. - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
  294. that cased this function to return garbage, breaking hidden AP
  295. detection
  296. 2008-11-07 Dan Williams <dcbw@redhat.com>
  297. Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
  298. * src/NetworkManagerSystem.c
  299. src/NetworkManagerSystem.h
  300. - (nm_system_device_set_ip4_route): return the route that was added
  301. - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
  302. public, clean up, and return the route that was added
  303. - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
  304. since nm_system_add_ip4_vpn_gateway_route() is now available; add
  305. flags to allow only certain attributes of the NMIP4Config to be
  306. applied
  307. * src/nm-device.c
  308. - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
  309. - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
  310. what's really changed between the old and new configs; don't export
  311. the new IP4 config on failure; always send the DNS info to the
  312. named manager
  313. * src/vpn-manager/nm-vpn-connection.c
  314. - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
  315. parent device's IP4Config and re-add the VPN gateway route when it
  316. changes
  317. - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
  318. nm_system_apply_ip4_config() no longer does) and cache it for later
  319. - (connection_state_changed): move cleanup code to its own function
  320. - (vpn_cleanup): delete any previously added VPN gateway route; and
  321. re-apply the parent device's addresses and routes using
  322. nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
  323. 2008-11-07 Dan Williams <dcbw@redhat.com>
  324. * src/nm-ip4-config.c
  325. src/nm-ip4-config.h
  326. - (nm_ip4_config_diff): new function; return the difference between two
  327. IP4 configs
  328. - (nm_ip4_config_compare): change into nm_ip4_config_diff
  329. 2008-11-05 Dan Williams <dcbw@redhat.com>
  330. * nm-ip4-config.c
  331. nm-ip4-config.h
  332. - (nm_ip4_config_compare): compare two IP4 configs
  333. 2008-11-05 Dan Williams <dcbw@redhat.com>
  334. * src/NetworkManagerPolicy.c
  335. - (update_etc_hosts): only add newline if not the last line of the file
  336. (Jonathan Miner)
  337. 2008-11-05 Dan Williams <dcbw@redhat.com>
  338. * src/dhcp-manager/nm-dhcp-dhclient.c
  339. - (get_leasefile_for_iface): move lease files back to where dhclient
  340. puts them
  341. 2008-11-05 Michael Biebl <mbiebl@gmail.com>
  342. * initscripts/Debian/NetworkManager
  343. - Update to what Debian is actually using
  344. 2008-11-05 Tambet Ingo <tambet@gmail.com>
  345. * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
  346. 2008-11-03 Dan Williams <dcbw@redhat.com>
  347. * system-settings/src/main.c
  348. - (add_default_dhcp_connection): make the fallback connection read-only
  349. * libnm-glib/nm-settings.c
  350. libnm-glib/nm-settings.h
  351. - Add detailed errors
  352. - (impl_exported_connection_update, impl_exported_connection_delete):
  353. return an error if the connection is read-only
  354. * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
  355. system-settings/plugins/keyfile/nm-keyfile-connection.c
  356. system-settings/src/main.c
  357. - Use more detailed errors
  358. * system-settings/src/nm-system-config-error.c
  359. system-settings/src/nm-system-config-error.h
  360. system-settings/src/dbus-settings.c
  361. - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
  362. NM_SETTINGS_ERROR_INVALID_CONNECTION
  363. 2008-11-02 Dan Williams <dcbw@redhat.com>
  364. * Add license headers to everything in src/
  365. 2008-11-02 Dan Williams <dcbw@redhat.com>
  366. * Tag 0.7.0-rc1
  367. 2008-11-02 Dan Williams <dcbw@redhat.com>
  368. * src/NetworkManagerAP.c
  369. - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
  370. setting as unencrypted; fixes a bug where NM wouldn't ask for new
  371. secrets when connecting to an encrypted network failed
  372. 2008-10-30 Dan Williams <dcbw@redhat.com>
  373. * libnm-util/libnm-util.ver
  374. libnm-util/nm-setting-ip6-config.c
  375. libnm-util/nm-setting-ip6-config.h
  376. libnm-util/Makefile.am
  377. - Make properties private and add accessor functions
  378. - Hide IPv6 stuff from public API, it's incomplete and completely unused
  379. * libnm-util/nm-connection.c
  380. libnm-util/nm-utils.c
  381. libnm-util/nm-utils.h
  382. - Ignore IPv6 stuff for now
  383. 2008-10-30 Dan Williams <dcbw@redhat.com>
  384. * libnm-util/libnm-util.ver
  385. libnm-util/nm-setting-8021x.c
  386. libnm-util/nm-setting-8021x.h
  387. - Make properties private and add accessor functions
  388. * src/supplicant-manager/nm-supplicant-config.c
  389. system-settings/plugins/ifcfg-suse/parser.c
  390. - Use 802.1x setting accessors
  391. 2008-10-30 Dan Williams <dcbw@redhat.com>
  392. * libnm-util/libnm-util.ver
  393. libnm-util/nm-setting-wireless-security.c
  394. libnm-util/nm-setting-wireless-security.h
  395. - Make properties private and add accessor functions
  396. * libnm-util/nm-setting-wireless.c
  397. src/NetworkManagerAP.c
  398. src/nm-device-wifi.c
  399. src/supplicant-manager/nm-supplicant-config.c
  400. system-settings/plugins/ifcfg-fedora/reader.c
  401. system-settings/plugins/ifcfg-suse/parser.c
  402. - Use wireless security accessors
  403. 2008-10-30 Dan Williams <dcbw@redhat.com>
  404. * src/nm-device-ethernet.c
  405. src/nm-device-wifi.c
  406. src/nm-device.c
  407. src/ppp-manager/nm-ppp-manager.c
  408. - Harmonize return checking of ioctl
  409. * system-settings/plugins/ifcfg-fedora/reader.c
  410. - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
  411. 2008-10-30 Dan Williams <dcbw@redhat.com>
  412. * src/ppp-manager/nm-ppp-manager.c
  413. - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
  414. ppp_generic module to create it (bgo #533064)
  415. 2008-10-30 Dan Williams <dcbw@redhat.com>
  416. Patch from Alexander Sack <asac@canonical.com>
  417. Fix "ppp connections don't honour ip4 connection settings"
  418. * src/nm-device-ethernet.c
  419. - (real_act_stage4_get_ip4_config): merge ip4config settings
  420. with results from ppp manager
  421. * src/nm-serial-device.c
  422. - (real_act_stage4_get_ip4_config): merge ip4config settings
  423. with results from ppp manager
  424. 2008-10-29 Dan Williams <dcbw@redhat.com>
  425. * libnm-util/libnm-util.ver
  426. libnm-util/nm-setting-ip4-config.c
  427. libnm-util/nm-setting-ip4-config.h
  428. - Make properties private and add accessor functions
  429. * callouts/nm-dispatcher-action.c
  430. libnm-glib/libnm-glib-test.c
  431. libnm-util/nm-utils.c
  432. src/NetworkManagerPolicy.c
  433. src/NetworkManagerSystem.c
  434. src/NetworkManagerUtils.c
  435. src/dhcp-manager/nm-dhcp-dhclient.c
  436. src/dhcp-manager/nm-dhcp-manager.c
  437. src/dnsmasq-manager/nm-dnsmasq-manager.c
  438. src/nm-device-wifi.c
  439. src/nm-device.c
  440. src/nm-hso-gsm-device.c
  441. src/nm-ip4-config.c
  442. src/nm-ip4-config.h
  443. src/ppp-manager/nm-ppp-manager.c
  444. src/vpn-manager/nm-vpn-connection.c
  445. system-settings/plugins/ifcfg-fedora/reader.c
  446. system-settings/plugins/ifcfg-suse/parser.c
  447. system-settings/plugins/ifcfg-suse/plugin.c
  448. system-settings/plugins/ifupdown/parser.c
  449. test/nm-tool.c
  450. vpn-daemons/vpnc/properties/nm-vpnc.c
  451. - Use IP4 accessor functions
  452. 2008-10-29 Tambet Ingo <tambet@gmail.com>
  453. Half of it by Dan Williams <dcbw@redhat.com>
  454. * libnm-util/libnm-util.ver
  455. libnm-util/nm-setting-vpn.c
  456. libnm-util/nm-setting-vpn.h
  457. - Make properties private and add accessor functions.
  458. * src/vpn-manager/nm-vpn-connection.c
  459. src/vpn-manager/nm-vpn-manager.c
  460. system-settings/plugins/keyfile/reader.c
  461. vpn-daemons/openvpn/properties/auth-helpers.c
  462. vpn-daemons/openvpn/properties/import-export.c
  463. vpn-daemons/openvpn/properties/nm-openvpn.c
  464. vpn-daemons/openvpn/src/nm-openvpn-service.c
  465. vpn-daemons/pptp/auth-dialog/main.c
  466. vpn-daemons/pptp/properties/advanced-dialog.c
  467. vpn-daemons/pptp/properties/nm-pptp.c
  468. vpn-daemons/pptp/src/nm-pptp-service.c
  469. vpn-daemons/vpnc/properties/nm-vpnc.c
  470. vpn-daemons/vpnc/src/nm-vpnc-service.c
  471. - Use VPN setting accessors.
  472. 2008-10-28 Dan Williams <dcbw@redhat.com>
  473. Patch from Tambet Ingo <tambet@gmail.com>
  474. * libnm-util/libnm-util.ver
  475. libnm-util/nm-setting-wireless.c
  476. libnm-util/nm-setting-wireless.h
  477. - Make properties private and add accessor functions
  478. * src/NetworkManagerAP.c
  479. src/nm-device-wifi.c
  480. src/nm-manager.c
  481. src/supplicant-manager/nm-supplicant-config.c
  482. system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
  483. system-settings/plugins/ifcfg-fedora/reader.c
  484. system-settings/plugins/ifcfg-suse/parser.c
  485. system-settings/plugins/ifupdown/parser.c
  486. - Use wireless setting accessors
  487. 2008-10-27 Dan Williams <dcbw@redhat.com>
  488. Patch from Tambet Ingo <tambet@gmail.com>
  489. * libnm-util/libnm-util.ver
  490. libnm-util/nm-setting-ppp.c
  491. libnm-util/nm-setting-ppp.h
  492. - Make properties private and add accessor functions
  493. * src/ppp-manager/nm-ppp-manager.c
  494. - Use ppp setting accessors
  495. 2008-10-27 Dan Williams <dcbw@redhat.com>
  496. Patch from Tambet Ingo <tambet@gmail.com>
  497. * libnm-util/nm-setting.h
  498. libnm-util/nm-setting.c
  499. - Make properties private and add accessor functions
  500. * libnm-util/nm-connection.c
  501. libnm-util/nm-setting-8021x.c
  502. libnm-util/nm-setting-cdma.c
  503. libnm-util/nm-setting-connection.c
  504. libnm-util/nm-setting-gsm.c
  505. libnm-util/nm-setting-ip4-config.c
  506. libnm-util/nm-setting-ip6-config.c
  507. libnm-util/nm-setting-ppp.c
  508. libnm-util/nm-setting-pppoe.c
  509. libnm-util/nm-setting-serial.c
  510. libnm-util/nm-setting-template.c
  511. libnm-util/nm-setting-vpn.c
  512. libnm-util/nm-setting-wired.c
  513. libnm-util/nm-setting-wireless-security.c
  514. libnm-util/nm-setting-wireless.c
  515. system-settings/plugins/keyfile/reader.c
  516. system-settings/plugins/keyfile/writer.c
  517. - Use setting accessors
  518. 2008-10-27 Dan Williams <dcbw@redhat.com>
  519. * libnm-util/libnm-util.ver
  520. libnm-util/nm-setting-connection.c
  521. libnm-util/nm-setting-connection.h
  522. - Add a 'read-only' property that indicates the connection cannot be
  523. modified
  524. * system-settings/plugins/ifcfg-fedora/reader.c
  525. system-settings/plugins/ifcfg-suse/parser.c
  526. system-settings/plugins/ifupdown/parser.c
  527. - These plugins are read-only at the moment
  528. * system-settings/plugins/keyfile/reader.c
  529. system-settings/plugins/keyfile/writer.c
  530. - Read-only shouldn't get saved out to files or read in from them
  531. 2008-10-27 Tambet Ingo <tambet@gmail.com>
  532. * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
  533. correct speed reporting for fast devices (kernel >= 2.6.27).
  534. 2008-10-26 Dan Williams <dcbw@redhat.com>
  535. Attempt to compensate for modems that don't enable full AT parsing before
  536. the PIN has been entered.
  537. * src/nm-gsm-device.c
  538. - (init_modem): accept different init strings
  539. - (init_done): try different init strings on failure
  540. - (check_pin_done): on PIN success, do full modem init
  541. 2008-10-26 Dan Williams <dcbw@redhat.com>
  542. Patch from Tambet Ingo <tambet@gmail.com>
  543. * libnm-util/libnm-util.ver
  544. libnm-util/nm-setting-connection.c
  545. libnm-util/nm-setting-connection.h
  546. - Make properties private and add accessor functions
  547. * src/NetworkManagerPolicy.c
  548. src/nm-cdma-device.c
  549. src/nm-device-ethernet.c
  550. src/nm-device-interface.c
  551. src/nm-device-wifi.c
  552. src/nm-gsm-device.c
  553. src/nm-manager.c
  554. src/ppp-manager/nm-ppp-manager.c
  555. src/vpn-manager/nm-vpn-connection.c
  556. system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
  557. system-settings/plugins/ifcfg-fedora/plugin.c
  558. system-settings/plugins/ifcfg-fedora/reader.c
  559. system-settings/plugins/ifcfg-suse/parser.c
  560. system-settings/plugins/ifupdown/parser.c
  561. system-settings/plugins/keyfile/nm-keyfile-connection.c
  562. system-settings/plugins/keyfile/plugin.c
  563. system-settings/plugins/keyfile/writer.c
  564. system-settings/src/main.c
  565. - Use those accessors
  566. 2008-10-26 Dan Williams <dcbw@redhat.com>
  567. Patch from Tambet Ingo <tambet@gmail.com>
  568. * libnm-util/libnm-util.ver
  569. libnm-util/nm-setting-gsm.c
  570. libnm-util/nm-setting-gsm.h
  571. - Make properties private and add accessor functions
  572. * src/nm-gsm-device.c
  573. src/nm-hso-gsm-device.c
  574. src/ppp-manager/nm-ppp-manager.c
  575. - Use those accessors
  576. 2008-10-26 Dan Williams <dcbw@redhat.com>
  577. Patch from Tambet Ingo <tambet@gmail.com>
  578. * libnm-util/libnm-util.ver
  579. libnm-util/nm-setting-cdma.c
  580. libnm-util/nm-setting-cdma.h
  581. - Make properties private and add accessor functions
  582. * src/nm-cdma-device.c
  583. src/ppp-manager/nm-ppp-manager.c
  584. - Use those accessors
  585. 2008-10-26 Dan Williams <dcbw@redhat.com>
  586. Patch from Tambet Ingo <tambet@gmail.com>
  587. * libnm-util/libnm-util.ver
  588. libnm-util/nm-setting-pppoe.c
  589. libnm-util/nm-setting-pppoe.h
  590. - Make properties private and add accessor functions
  591. * src/nm-device-ethernet.c
  592. src/ppp-manager/nm-ppp-manager.c
  593. - Use those accessors
  594. 2008-10-26 Dan Williams <dcbw@redhat.com>
  595. Patch from Tambet Ingo <tambet@gmail.com>
  596. * libnm-util/libnm-util.ver
  597. libnm-util/nm-setting-wired.c
  598. libnm-util/nm-setting-wired.h
  599. - Make properties private and add accessor functions
  600. * src/nm-device-ethernet.c
  601. system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
  602. system-settings/plugins/ifcfg-suse/parser.c
  603. system-settings/src/main.c
  604. - Use those accessors
  605. 2008-10-26 Dan Williams <dcbw@redhat.com>
  606. Patch from Tambet Ingo <tambet@gmail.com>
  607. * libnm-util/libnm-util.ver
  608. libnm-util/nm-setting-serial.c
  609. libnm-util/nm-setting-serial.h
  610. src/nm-serial-device.c
  611. - Make properties private and use accessors instead
  612. 2008-10-26 Dan Williams <dcbw@redhat.com>
  613. * src/supplicant-manager/nm-supplicant-interface.c
  614. src/supplicant-manager/nm-supplicant-interface.h
  615. src/supplicant-manager/nm-supplicant-manager.c
  616. src/supplicant-manager/nm-supplicant-manager.h
  617. - Add state-to-string conversion functions
  618. * src/nm-device-wifi.c
  619. src/nm-device-ethernet.c
  620. - Normalize state info logging and use strings instead of numbers
  621. 2008-10-26 Dan Williams <dcbw@redhat.com>
  622. * src/NetworkManagerPolicy.c
  623. - (update_routing_and_dns): ignore host routes when determining whether
  624. a VPN connection should own the default route (bgo #552594)
  625. 2008-10-24 Dan Williams <dcbw@redhat.com>
  626. * src/nm-gsm-device.c
  627. - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
  628. 2008-10-23 Dan Williams <dcbw@redhat.com>
  629. * src/ppp-manager/nm-ppp-manager.c
  630. - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
  631. add really important stuff to the command line to ensure that NM
  632. overrides /etc/ppp/options (bgo #556781)
  633. 2008-10-22 Dan Williams <dcbw@redhat.com>
  634. * src/NetworkManagerSystem.c
  635. src/nm-device.c
  636. - Use the device's IP interface where appropriate (Per Hallsmark)
  637. 2008-10-22 Dan Williams <dcbw@redhat.com>
  638. * src/nm-gsm-device.c
  639. - (schedule_automatic_registration_again): use a short timeout here
  640. instead of an idle handler to avoid using too much CPU polling for
  641. something we should be waiting a bit for anyway
  642. 2008-10-22 Dan Williams <dcbw@redhat.com>
  643. * include/NetworkManager.h
  644. introspection/nm-device.xml
  645. - Add device state change reason for carrier changes
  646. * src/nm-device-ethernet.c
  647. - (set_carrier): use the carrier change reason when changing device
  648. state in response to carrier changes
  649. 2008-10-21 Dan Williams <dcbw@redhat.com>
  650. * src/NetworkManagerPolicy.c
  651. - (update_etc_hosts): don't leak errors, and ensure that
  652. g_file_set_contents() gets a valid error placeholder (rh #461933)
  653. 2008-10-21 Dan Williams <dcbw@redhat.com>
  654. * src/nm-manager.c
  655. - (free_get_settings_info): don't use the DBusGProxy which could be
  656. disposed of by the time the function is called
  657. - (internal_new_connection_cb): save connection scope
  658. - (connection_get_settings_cb): don't replace a connection unless it's
  659. actually different from the existing one; fixes an issue where
  660. killing the settings service wouldn't deactivate an active connection
  661. provided by that settings service, because it was using a connection
  662. that had already been replaced in the system or user hash
  663. 2008-10-21 Dan Williams <dcbw@redhat.com>
  664. * src/NetworkManager.c
  665. - (main): keep the DHCP manager around since it's a singleton; fixes
  666. a use-after-free exposed by r4196 since the DHCP manager singleton
  667. variable isn't cleared when the DHCP manager object is finalized
  668. 2008-10-20 Dan Williams <dcbw@redhat.com>
  669. * libnm-util/nm-setting-wireless-security.c
  670. - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
  671. 2008-10-20 Dan Williams <dcbw@redhat.com>
  672. * src/supplicant-manager/nm-supplicant-config.c
  673. - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
  674. 2008-10-20 Dan Williams <dcbw@redhat.com>
  675. * src/dhcp-manager/nm-dhcp-manager.c
  676. - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
  677. manager object already refs it once
  678. - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
  679. also get cleaned up by nm_dhcp_device_destroy() to prevent
  680. double-frees
  681. 2008-10-20 Dan Williams <dcbw@redhat.com>
  682. * src/nm-manager.c
  683. - (initial_get_connections): use private dbus manager, don't keep
  684. ref-ing the singleton. Fixes mismatched refcounts of the dbus
  685. manager object.
  686. 2008-10-18 Dan Williams <dcbw@redhat.com>
  687. * libnm-glib/nm-settings.c
  688. libnm-glib/nm-settings.h
  689. - Rename the "get_secrets" virtual function "service_get_secrets" to
  690. clarify when it's used; NMExportedConnetion is a base-class for both
  691. the client and service side, which is sort of confusing, and
  692. get_secrets only makes sense on the service side.
  693. * libnm-glib/nm-dbus-connection.c
  694. - (get_secrets): remove, unused, and clients need to do extra work to
  695. get secrets anyway since the call can block on the remote side
  696. * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
  697. system-settings/plugins/keyfile/nm-keyfile-connection.c
  698. - Fix up for get_secrets -> service_get_secrets
  699. 2008-10-16 Dan Williams <dcbw@redhat.com>
  700. * src/nm-device-wifi.c
  701. - (constructor): correctly determine encryption capabilities
  702. 2008-10-15 Dan Williams <dcbw@redhat.com>
  703. * src/nm-device-wifi.c
  704. - (wireless_qual_to_percent): fix quality calculation in a fallback case
  705. (Johannes Berg)
  706. 2008-10-15 Dan Williams <dcbw@redhat.com>
  707. * src/NetworkManagerSystem.c
  708. - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
  709. if the ip4_dest is in a smaller subnet contained within a subnet
  710. the machine is currently on, the destination is in the same subnet
  711. - (nm_system_device_set_ip4_route): move subnet checks to callers
  712. - (add_vpn_gateway_route): check if the VPN gateway is in the same
  713. subnet as the parent device, and if so, don't add the direct
  714. host route via the parent device's gateway (bgo #481620)
  715. - (nm_system_apply_ip4_config): check whether the route to be added
  716. is contained within a subnet the device is already on
  717. 2008-10-11 Dan Williams <dcbw@redhat.com>
  718. * include/NetworkManager.h
  719. introspection/nm-device.xml
  720. include/NetworkManagerVPN.h
  721. - Add a few more state reasons for the device deactivated state
  722. * src/nm-device-interface.c
  723. src/nm-device-interface.h
  724. - (nm_device_interface_deactivate): add a 'reason' argument
  725. * src/nm-device.c
  726. src/nm-device.h
  727. - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
  728. - (nm_device_state_changed): pass the state change reason to
  729. nm_device_take_down()
  730. - (nm_device_set_managed): take a 'reason' argument, and pass it along
  731. to the state change function
  732. * src/nm-manager.c
  733. src/nm-manager.h
  734. - (remove_one_device, handle_unmanaged_devices, sync_devices,
  735. impl_manager_sleep): pass a reason code to nm_device_set_managed()
  736. - (nm_manager_deactivate_connection): add a 'reason' argument and pass
  737. something reasonable along to VPN deactivation
  738. * src/vpn-manager/nm-vpn-manager.c
  739. src/vpn-manager/nm-vpn-manager.h
  740. - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
  741. pass that along to nm_vpn_connection_disconnect()
  742. 2008-10-11 Dan Williams <dcbw@redhat.com>
  743. * src/nm-device-wifi.c
  744. - (can_scan): remove old madwifi hack for not scanning while connected
  745. 2008-10-11 Dan Williams <dcbw@redhat.com>
  746. Add support for VPN subnet gateways (bgo #549196)
  747. * include/NetworkManager.h
  748. - Add key for internal VPN subnet gateway
  749. * src/vpn-manager/nm-vpn-connection.c
  750. - (ip_address_to_string): return a const from a static buffer so we
  751. don't leak a lot of strings
  752. - (print_vpn_config): print internal VPN gateway as well
  753. - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
  754. VPN service too
  755. - (nm_vpn_connection_get_ip4_internal_gateway): new function
  756. * src/NetworkManagerSystem.c
  757. src/NetworkManagerSystem.h
  758. - (nm_system_device_replace_default_ip4_route): split into two, one for
  759. VPN connections and one for normal devices
  760. - (replace_default_ip4_route): break out route stuff into its own function
  761. - (nm_system_replace_default_ip4_route_vpn,
  762. nm_system_replace_default_ip4_route): simplify by having two cases,
  763. one for VPNs and one for normal devices
  764. * src/NetworkManagerPolicy.c
  765. - (update_routing_and_dns): simplify, use split default route replacement
  766. functions
  767. 2008-10-10 Dan Williams <dcbw@redhat.com>
  768. Rework default route handling to consolidate decisions in the policy,
  769. and to take active VPN connections into account when changing the default
  770. route (bgo #545912)
  771. * src/NetworkManager.c
  772. - (main): pass the vpn_manager to the policy so it knows about active
  773. VPN connections; clean up the named manager which wasn't done before
  774. * src/NetworkManagerPolicy.c
  775. src/NetworkManagerPolicy.h
  776. - (nm_policy_new): get a clue about the vpn_manager
  777. - (update_default_route): remove, fold into update_routing_and_dns()
  778. - (update_routing_and_dns): handle active VPN connections too; an
  779. active VPN connection becomes the default route if it does not have
  780. server-specified or user-specified custom routes. Otherwise, the
  781. best active device gets the default route
  782. - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
  783. nm_policy_destroy): track VPN connection activation and deactivation
  784. and update the default route when appropriate
  785. * src/NetworkManagerSystem.c
  786. src/NetworkManagerSystem.h
  787. - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
  788. in the VPN connection itself
  789. - (nm_system_vpn_device_set_from_ip4_config,
  790. nm_system_device_set_from_ip4_config): merge together to make
  791. nm_system_apply_ip4_config()
  792. - (add_vpn_gateway_route): add a route to the VPN's external gateway
  793. via the parent device
  794. - (nm_system_apply_ip4_config): simplify
  795. - (add_ip4_route_to_gateway): new function; add a direct route to the
  796. gateway if needed
  797. - (nm_system_device_replace_default_ip4_route): simplify, break gateway
  798. route stuff out into add_ip4_route_to_gateway() for clarity
  799. * src/nm-device.c
  800. - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
  801. * src/vpn-manager/nm-vpn-connection.c
  802. src/vpn-manager/nm-vpn-connection.h
  803. - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
  804. nm_vpn_connection_get_parent_device): add
  805. - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
  806. device explicit
  807. - (connection_state_changed): update the named manager now that
  808. nm_system_vpn_device_unset_from_ip4_config() is gone; do something
  809. useful on errors
  810. * src/vpn-manager/nm-vpn-manager.c
  811. src/vpn-manager/nm-vpn-manager.h
  812. - Add a 'connection-activated' signal
  813. - (nm_vpn_manager_get_active_connections): new function; mainly for the
  814. policy to find out about active VPN connections
  815. 2008-10-10 Tambet Ingo <tambet@gmail.com>
  816. * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
  817. a daemon to prevent NM logging spew on console on startup and shutdown (due
  818. to dependency loop between NM and syslog).
  819. 2008-10-10 Alexander Sack <asac@ubuntu.com>
  820. Implement managed mode. We bind devices configured in /etc/network/interfaces
  821. to their connections by updating wired/wireless setting with the
  822. mac address of the device.
  823. * system-settings/plugins/ifupdown/plugin.c
  824. - (get_net_address_for_udi): implement function to retrieve MAC
  825. address of udi from hal in GByteArray format
  826. - (bind_device_to_connection): bind mac address of device to
  827. wired/wireless system connection
  828. - (hal_device_added_cb): call bind_device_to_connection for
  829. system connections with a matching interface.name
  830. - (hal_device_added_cb): ensure that all code paths
  831. properly free the "iface" string.
  832. 2008-10-10 Alexander Sack <asac@ubuntu.com>
  833. Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
  834. mode of the ifupdown system config plugin.
  835. * system-settings/plugins/ifupdown/plugin.c
  836. - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
  837. private unmanage_well_known state field accordingly
  838. 2008-10-10 Alexander Sack <asac@ubuntu.com>
  839. Implement unmanaged mode that will prevent all devices in the
  840. well_known_udis set from being touched by NetworkManager
  841. * system-settings/plugins/ifupdown/plugin.c
  842. - (typedef struct SCPluginIfupdownPrivate): add gboolean
  843. unmanage_well_known field used to turn on/off unmanaged
  844. mode
  845. - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
  846. signal when well_known_udis get added/removed
  847. - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
  848. if we are in unmanaged mode
  849. 2008-10-10 Alexander Sack <asac@ubuntu.com>
  850. Add support to track network devices that have a configuration
  851. with a matching interface.name in /etc/network/interfaces
  852. * system-settings/plugins/ifupdown/plugin.c
  853. - (typedef struct SCPluginIfupdownPrivate): add hash table
  854. to track |well_known_udis|
  855. - (get_iface_for_udi): helper function to get interface.name
  856. for a udi
  857. - (hal_device_added_cb, hal_device_removed_cb): callbacks
  858. that add and remove devices to and from the well_known_udis
  859. set depending on whether their |interface.name| matches
  860. any interface definition in /etc/network/interfaces
  861. - (SCPluginIfupdown_init): connect callbacks from above with
  862. hal_mgr and setup well_known_udis hashtable
  863. - (GObject__dispose): destroy well_known_udis hashtable
  864. - (hal_device_added_cb2): implement wrapper callback with GFunc
  865. signature. user_data is supposed to be a triple (hal_mgr,
  866. config and devtype)
  867. - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
  868. startup and call hal_device_added_cb2
  869. 2008-10-10 Alexander Sack <asac@ubuntu.com>
  870. Remove implementation for not used NMSystemConfigInterface callback functions
  871. in ifupdown plugin
  872. * system-settings/plugins/ifupdown/plugin.c
  873. - (SCPluginIfupdown_unmanaged_devices_changed): removed
  874. - (SCPluginIfupdown_connection_added): removed
  875. 2008-10-08 Dan Williams <dcbw@redhat.com>
  876. Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
  877. * src/NetworkManagerUtils.c
  878. - (nm_utils_call_dispatcher): add a 'hostname' action
  879. * src/NetworkManagerPolicy.c
  880. - (set_system_hostname): dispatch hostname changes
  881. * callouts/nm-dispatcher-action.c
  882. - (nm_dispatcher_action): handle 'hostname' actions
  883. 2008-10-08 Dan Williams <dcbw@redhat.com>
  884. * src/NetworkManagerSystem.c
  885. - (find_route): ref the route so it doesn't get destroyed when the cache
  886. is cleared
  887. - (nm_system_device_set_priority): unref the route here after it's done
  888. being used
  889. 2008-10-08 Dan Williams <dcbw@redhat.com>
  890. * src/nm-serial-device.c
  891. - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
  892. 2008-10-08 Tambet Ingo <tambet@gmail.com>
  893. * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
  894. connection with new settings before saving it.
  895. 2008-10-06 Dan Williams <dcbw@redhat.com>
  896. * src/nm-ip4-config.c
  897. src/nm-ip4-config.h
  898. - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
  899. * src/nm-device-interface.c
  900. - (nm_device_interface_init): make 'ip4-config' a boxed property of type
  901. DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
  902. by using '/' for the object path
  903. * src/nm-device.c
  904. - (src/nm-device.c): marshal missing/unexported ip4-config through
  905. dbus as '/' since dbus-glib can't handle NULL objects nor can
  906. dbus handle NULL object paths
  907. 2008-10-03 Alexander Sack <asac@ubuntu.com>
  908. Implement system hostname support for debian/ubuntu
  909. * system-settings/plugins/ifupdown/plugin.c
  910. - (GObject__get_property): extend announced capabilities; add
  911. NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
  912. - (GObject__set_property,write_system_hostname): implement
  913. NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
  914. - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
  915. update_system_hostname, get_hostname):
  916. implement hostname property that watches and
  917. parses /etc/hostname
  918. 2008-10-03 Alexander Sack <asac@ubuntu.com>
  919. * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
  920. system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
  921. system-settings/plugins/ifcfg-fedora/Makefile.am
  922. system-settings/src/nm-inotify-helper.c
  923. system-settings/src/nm-inotify-helper.h
  924. src/Makefile.am
  925. - Move ifcfg-fedora inotify helpers to the system settings service so
  926. they are available to all plugins
  927. 2008-10-03 Alexander Sack <asac@ubuntu.com>
  928. Implement support for wep-tx-keyidx in ifupdown system
  929. config plugin.
  930. * system-settings/plugins/ifupdown/parser.c
  931. - (update_wireless_security_setting_from_if_block): introduce
  932. free_type_mapping func table; rename a few local
  933. variables to improve readability; add wpa security mapping
  934. for wep-tx-keyidx property
  935. - (string_to_gpointerint): new function used for the auto_type_mapping
  936. of new wep-tx-keyidx property
  937. - (slist_free_all): free func used for mapped slist types
  938. 2008-10-03 Alexander Sack <asac@ubuntu.com>
  939. * system-settings/src/main.c:
  940. - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
  941. always used as the hash key; fixes a crash when removing wired
  942. devices
  943. 2008-10-02 Dan Williams <dcbw@redhat.com>
  944. * src/nm-gsm-device.c
  945. - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
  946. pass the required GSM secret along via user_data rather than keeping
  947. it around in the private data where it sometimes didn't get cleared
  948. - (real_get_ppp_name): implement using the GSM username
  949. 2008-10-02 Dan Williams <dcbw@redhat.com>
  950. * src/ppp-manager/nm-ppp-manager.c
  951. src/ppp-manager/nm-ppp-manager.h
  952. - (impl_ppp_manager_need_secrets): tries secrets twice before asking
  953. the settings daemon for completely new ones
  954. - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
  955. local PPP peer name; allow PPP debuging by launching NM with
  956. the environment variable NM_PPP_DEBUG defined
  957. - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
  958. create_pppd_cmd_line()
  959. * src/nm-serial-device.c
  960. src/nm-serial-device.h
  961. - New 'get_ppp_name' function for subclasses to implement to return the
  962. local PPP peer name
  963. - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
  964. and pass that name to the PPP manager
  965. * src/nm-device-ethernet.c
  966. - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
  967. the local peer name
  968. * src/nm-cdma-device.c
  969. - (real_get_ppp_name): implement using the CDMA username
  970. 2008-10-02 Dan Williams <dcbw@redhat.com>
  971. Patch from Alexander Sack <asac ubuntu com>
  972. * system-settings/plugins/ifupdown/parser.c
  973. - Implement more graceful ip4 config parsing for cases where
  974. /etc/network/interfaces omits basic ip4 settings, such as gateway etc
  975. by using default values
  976. 2008-10-02 Dan Williams <dcbw@redhat.com>
  977. * src/NetworkManagerPolicy.c
  978. - (device_state_changed): when marking a connection invalid, clear its
  979. secrets too so that fresh secrets get requested the next time
  980. 2008-10-01 Dan Williams <dcbw@redhat.com>
  981. * system-settings/src/dbus-settings.c
  982. - (nm_sysconfig_settings_init): cache system hostname on startup as
  983. a fallback if no plugin provides a hostname
  984. - (get_property): fall back to cached hostname if no plugin provides
  985. a hostname
  986. 2008-10-01 Dan Williams <dcbw@redhat.com>
  987. Fix setting value comparison issue that caused some settings to look the
  988. same when they were really different (rh #464417)
  989. * libnm-util/nm-param-spec-specialized.c
  990. - (type_is_fixed_size): return fundamental size of the fixed type too
  991. - (nm_gvalues_compare_collection): use the fundamental fixed type size
  992. in the comparison so that the _entire_ fixed type collection gets
  993. compared rather than just the first 'len1' bytes
  994. 2008-09-30 Dan Williams <dcbw@redhat.com>
  995. * src/NetworkManagerPolicy.c
  996. - (lookup_thread_worker): don't store the idle handler ID because the
  997. idle handler could have already run and freed the LookupThread
  998. structure
  999. 2008-09-30 Tambet Ingo <tambet@gmail.com>
  1000. * src/nm-device.c (nm_device_get_priority): Implement.
  1001. (nm_device_set_ip4_config): Send the device priority to system ip4
  1002. config setter.
  1003. * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
  1004. Add priority argument and if it's >= 0, set the priority of the network
  1005. route added automatically by netlink (or kernel?).
  1006. (nm_system_device_set_priority): Implement.
  1007. * src/NetworkManagerPolicy.c (get_best_device): Use
  1008. nm_device_get_priority() instead of home-grown version. Revert the
  1009. meaning, best priority is the lowest one.
  1010. 2008-09-29 Dan Williams <dcbw@redhat.com>
  1011. Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
  1012. when it returns EAGAIN (rh #362421)
  1013. * src/nm-device-wifi.c
  1014. - (wireless_get_range): try GIWRANGE a few times until the card responds
  1015. - (real_get_generic_capabilities, constructor): use wireless_get_range()
  1016. 2008-09-28 Dan Williams <dcbw@redhat.com>
  1017. * src/nm-serial-device.c
  1018. src/nm-serial-device.h
  1019. - (nm_serial_device_close): stop PPP manager here so that PPP gets
  1020. cleaned at the right times when subclasses close the serial port too
  1021. - (nm_serial_device_send_command): use a default send delay; don't
  1022. spin forever on EAGAIN
  1023. - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
  1024. remove, no longer used
  1025. - (find_response): return the matched response if any
  1026. - (nm_serial_device_wait_reply_blocking): wait for a reply but block
  1027. while doing so
  1028. - (wait_for_reply_done): pass the matched response to the callback
  1029. - (wait_for_reply_got_data): save the matched response; simplify timeout
  1030. handling
  1031. - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
  1032. const since they never get modified
  1033. - (cleanup_device): split out common cleanup stuff to a new function
  1034. - (real_deactivate_quickly, finalize): use cleanup_device()
  1035. * src/nm-gsm-device.c
  1036. - (modem_get_reply): remove, unused
  1037. - (set_apn): give the card a bit more time to respond
  1038. - (manual_registration_again, schedule_manual_registration_again,
  1039. manual_registration_response, manual_registration): handle manual
  1040. registration timeouts better by retrying registration a few times
  1041. because cards are a bit slow after CFUN=1
  1042. - (automatic_registration_get_network, get_network_response): use
  1043. modem_wait_for_reply() because it interacts better with the serial
  1044. buffer and does more intelligent matching; need to wait for 'OK'
  1045. rather than just matching terminators
  1046. - (schedule_automatic_registration_again,
  1047. automatic_registration_response, automatic_registration): retry
  1048. registration a few times on timeout or "searching" because cards
  1049. take a bit to find a network after being powered up with CFUN=1
  1050. - (power_up_response, power_up, init_full_done, enter_pin,
  1051. check_pin_done): power up the card with CFUN=1 before trying to
  1052. register with the network
  1053. - (init_modem_full, init_modem): use more standard 3G init strings
  1054. * src/nm-hso-gsm-device.c
  1055. - (modem_get_reply): remove, unused
  1056. - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
  1057. modem_wait_for_reply() to match actual responses instead of single
  1058. termination characters; it doesn't leave stuff in the serial buffer
  1059. that might confuse later calls
  1060. - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
  1061. to ensure that the call is really disconnected and not leave extra
  1062. stuff in the serial buffer
  1063. * src/nm-cdma-device.c
  1064. - (power_up_response, power_up, init_done): try Sierra-style modem
  1065. power up before attempting to connect
  1066. 2008-09-27 Dan Williams <dcbw@redhat.com>
  1067. * libnm-util/nm-setting-gsm.c
  1068. - (verify): verify GSM network ID
  1069. 2008-09-25 Dan Williams <dcbw@redhat.com>
  1070. * libnm-util/nm-setting-gsm.c
  1071. libnm-util/nm-setting-gsm.h
  1072. - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
  1073. technology terms (bgo #551361)
  1074. 2008-09-25 Dan Williams <dcbw@redhat.com>
  1075. Fix bgo #549401 (inspired by patch from Alexander Sack)
  1076. * src/nm-device-ethernet.c
  1077. - (finish_supplicant_task): clean up scheduled tasks and free memory
  1078. - (remove_supplicant_interface_error_handler): remove the supplicant
  1079. error idle callback too
  1080. - (supplicant_interface_release): rename from supplicant_interface_clean
  1081. to match nm-device-wifi.c; clean up supplicant interface-related
  1082. state tasks when the supplicant interface is disposed of
  1083. - (schedule_state_handler): add scheduled tasks to a list so they can
  1084. be cleaned up later
  1085. - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
  1086. supplicant_iface_connection_state_cb_handler): use
  1087. finish_supplicant_task() to clean up each completed task
  1088. - (supplicant_iface_connection_error_cb_handler,
  1089. supplicant_connection_timeout_cb): clear source id when the task is
  1090. complete
  1091. - (supplicant_iface_connection_error_cb): save scheduled task id for
  1092. later cleanup
  1093. - (nm_device_ethernet_dispose): clean up any pending supplicant state
  1094. tasks
  1095. * src/nm-device-wifi.c
  1096. - (finish_supplicant_task): clean up scheduled tasks and free memory
  1097. - (remove_supplicant_interface_error_handler): remove the supplicant
  1098. error idle callback too
  1099. - (supplicant_interface_release): clean up supplicant interface-related
  1100. state tasks when the supplicant interface is disposed of
  1101. - (schedule_state_handler): add scheduled tasks to a list so they can
  1102. be cleaned up later
  1103. - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
  1104. supplicant_iface_connection_state_cb_handler): use
  1105. finish_supplicant_task() to clean up each completed task
  1106. - (supplicant_iface_connection_error_cb_handler): clear source id when
  1107. the task is complete
  1108. - (supplicant_iface_connection_error_cb): save scheduled task id for
  1109. later cleanup
  1110. - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
  1111. 2008-09-24 Tambet Ingo <tambet@gmail.com>
  1112. * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
  1113. method and get/set hostname property.
  1114. 2008-09-24 Tambet Ingo <tambet@gmail.com>
  1115. * src/supplicant-manager/nm-supplicant-interface.c
  1116. (nm_supplicant_interface_disconnect): Don't increment the reference
  1117. count when disconnecting. The problem is on shutdown, when the replies
  1118. to these commands do not arrive before NM exits, resulting on never
  1119. calling supplicant interface's dispose(), which removes the interface
  1120. from supplicant.
  1121. 2008-09-24 Tambet Ingo <tambet@gmail.com>
  1122. * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
  1123. all the public function arguments.
  1124. 2008-09-22 Tambet Ingo <tambet@gmail.com>
  1125. * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
  1126. "Failure" signal from VPN plugins, store the failure reason, and
  1127. use it when the state is changed to failure.
  1128. * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
  1129. description.
  1130. * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
  1131. reason to the end of the list to not break the API.
  1132. (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
  1133. so it can be shared by plugins and daemon.
  1134. 2008-09-18 Dan Williams <dcbw@redhat.com>
  1135. Patch from Alexander Sack <asac@ubuntu.com>
  1136. * configure.in
  1137. system-settings/plugins/Makefile.am
  1138. system-settings/plugins/ifupdown/Makefile.am
  1139. system-settings/plugins/ifupdown/interface_parser.c
  1140. system-settings/plugins/ifupdown/interface_parser.h
  1141. system-settings/plugins/ifupdown/nm-ifupdown-connection.c
  1142. system-settings/plugins/ifupdown/nm-ifupdown-connection.h
  1143. system-settings/plugins/ifupdown/parser.c
  1144. system-settings/plugins/ifupdown/parser.h
  1145. system-settings/plugins/ifupdown/plugin.c
  1146. system-settings/plugins/ifupdown/plugin.h
  1147. - Implement a Debian/Ubuntu legacy network configuration plugin
  1148. (gnome.org #551941)
  1149. 2008-09-18 Dan Williams <dcbw@redhat.com>
  1150. Implement support for honoring configured and automatic hostnames, and for
  1151. setting the configured hostname.
  1152. * introspection/nm-ip4-config.xml
  1153. src/nm-ip4-config.c
  1154. src/nm-ip4-config.h
  1155. src/dhcp-manager/nm-dhcp-manager.c
  1156. - Remove useless hostname property; it's not really part of the IPv4
  1157. config
  1158. * introspection/nm-settings-system.xml
  1159. libnm-glib/nm-dbus-settings-system.c
  1160. libnm-glib/nm-dbus-settings-system.h
  1161. - Add SetHostname() call to system settings D-Bus interface
  1162. - Add Hostname property to system settings D-Bus interface
  1163. - (nm_dbus_settings_system_save_hostname,
  1164. nm_dbus_settings_system_get_hostname): implement
  1165. * src/nm-device.c
  1166. src/nm-device.h
  1167. - (nm_device_get_dhcp4_config): implement
  1168. * src/nm-manager.c
  1169. src/nm-manager.h
  1170. - Fetch and track system settings service hostname changes, and proxy
  1171. the changes via a GObject property of the manager
  1172. * system-settings/src/nm-system-config-interface.c
  1173. system-settings/src/nm-system-config-interface.h
  1174. - Replace nm_system_config_interface_supports_add() with a capabilities
  1175. bitfield
  1176. * system-settings/src/nm-system-config-error.c
  1177. system-settings/src/nm-system-config-error.h
  1178. - Add additional errors
  1179. * system-settings/src/dbus-settings.c
  1180. system-settings/src/dbus-settings.h
  1181. - (get_property, nm_sysconfig_settings_class_init): add hostname
  1182. property; first plugin returning a hostname wins
  1183. - (impl_settings_add_connection): use plugin capabilities instead of
  1184. nm_system_config_interface_supports_add()
  1185. - (impl_settings_save_hostname): implement hostname saving
  1186. * src/NetworkManagerPolicy.c
  1187. - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
  1188. lookup_thread_die): implement an asynchronous hostname lookup thread
  1189. which given an IPv4 address tries to look up the hostname for that
  1190. address with reverse DNS
  1191. - (get_best_device): split out best device code from
  1192. update_routing_and_dns()
  1193. - (update_etc_hosts): update /etc/hosts with the machine's new hostname
  1194. to preserve the 127.0.0.1 reverse mapping that so many things require
  1195. - (set_system_hostname): set a given hostname
  1196. - (update_system_hostname): implement hostname policy; a configured
  1197. hostname (from the system settings service) is used if available,
  1198. otherwise an automatically determined hostname from DHCP, VPN, etc.
  1199. If there was no automatically determined hostname, reverse DNS of
  1200. the best device's IP address will be used, and as a last resort the
  1201. hostname 'localhost.localdomain' is set.
  1202. - (update_routing_and_dns): use get_best_device(); update the system
  1203. hostname when the network config changes
  1204. - (hostname_changed): update system hostname if the system settings
  1205. service signals a hostname change
  1206. - (nm_policy_new): list for system settings service hostname changes
  1207. - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
  1208. gets told to die
  1209. * system-settings/plugins/keyfile/plugin.c
  1210. system-settings/plugins/ifcfg-suse/plugin.c
  1211. - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
  1212. capabilities properties
  1213. * system-settings/plugins/ifcfg-fedora/shvar.c
  1214. - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
  1215. writes out /etc/sysconfig/network now
  1216. * system-settings/plugins/ifcfg-fedora/plugin.c
  1217. - (plugin_get_hostname): get hostname from /etc/sysconfig/network
  1218. - (plugin_set_hostname): save hostname to /etc/sysconfig/network
  1219. - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
  1220. - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
  1221. - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
  1222. hostname get/set and capabilities get
  1223. 2008-09-18 Dan Williams <dcbw@redhat.com>
  1224. * libnm-util/nm-setting-wireless.c
  1225. - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
  1226. group ciphers if the wireless-security setting explicitly specified
  1227. them, effectively making the default be "all ciphers" (idea from
  1228. Alexander Sack)
  1229. 2008-09-15 Dan Williams <dcbw@redhat.com>
  1230. Patch from Alexander Sack <asac@ubuntu.com>
  1231. * src/named-manager/nm-named-manager.c
  1232. - (dispatch_resolvconf): respect resolvconf exit code
  1233. 2008-09-12 Tambet Ingo <tambet@gmail.com>
  1234. * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
  1235. again. Add some debugging.
  1236. 2008-09-11 Dan Williams <dcbw@redhat.com>
  1237. * system-settings/plugins/keyfile/plugin.c
  1238. - (update_connection_settings): update connection manually, since
  1239. nm_exported_connection_update() does authentication
  1240. - (dir_changed): update_connection_settings() doesn't need to return
  1241. an error
  1242. 2008-09-09 Dan Williams <dcbw@redhat.com>
  1243. * libnm-glib/nm-vpn-plugin-ui-interface.c
  1244. libnm-glib/nm-vpn-plugin-ui-interface.h
  1245. libnm-glib/libnm_glib_vpn.ver
  1246. - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
  1247. should clean up resources related to the connection (like keyring
  1248. secrets)
  1249. - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
  1250. should save user-scope secrets (like to the keyring)
  1251. 2008-09-08 Dan Williams <dcbw@redhat.com>
  1252. Patch from Alexander Sack <asac@ubuntu.com>
  1253. * libnm-util/crypto_gnutls.c
  1254. libnm-util/crypto_nss.c
  1255. - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
  1256. * libnm-util/nm-utils.c
  1257. libnm-util/nm-utils.h
  1258. libnm-util/libnm-util.ver
  1259. - (nm_utils_init): initialize libnm-util
  1260. - (nm_utils_deinit): de-initialize libnm-util and clean up resources
  1261. * libnm-util/nm-setting-8021x.c
  1262. - (nm_setting_802_1x_class_init): init libnm-util when needed
  1263. 2008-09-05 Dan Williams <dcbw@redhat.com>
  1264. Patch from Roy Marples <roy@marples.name> and others
  1265. * configure.in
  1266. src/named-manager/nm-named-manager.c
  1267. - Add support for resolvconf; use --with-resolvconf at configure time
  1268. to enable it
  1269. 2008-09-05 Dan Williams <dcbw@redhat.com>
  1270. * libnm-util/crypto_nss.c
  1271. libnm-util/crypto_gnutls.c
  1272. libnm-util/crypto.h
  1273. - (crypto_init): return error when init fails
  1274. 2008-09-05 Dan Williams <dcbw@redhat.com>
  1275. * libnm-glib/nm-device-wifi.c
  1276. - (access_point_removed_proxy): clean up the active access point too
  1277. just in case the active ap changed signal didn't come through yet
  1278. - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
  1279. 2008-09-05 Dan Williams <dcbw@redhat.com>
  1280. * libnm-glib/nm-client.c
  1281. - (constructor): get initial state after we know whether NM is running
  1282. or not
  1283. 2008-09-05 Dan Williams <dcbw@redhat.com>
  1284. * libnm-glib/nm-ip4-config.c
  1285. libnm-glib/nm-dhcp4-config.c
  1286. - (finalize): clean up the DBusGProxy
  1287. 2008-09-04 Dan Williams <dcbw@redhat.com>
  1288. * src/nm-ip4-config.c
  1289. src/nm-ip4-config.h
  1290. - (nm_ip4_config_new): don't export over D-Bus here
  1291. - (nm_ip4_config_export): new function; export the config over D-Bus
  1292. - (nm_ip4_config_is_exported): new function
  1293. * src/nm-device.c
  1294. - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
  1295. objects by balancing the IP4Config constructor; the device holds
  1296. a reference to the IP4Config already
  1297. - (nm_device_set_ip4_config): export the IP4Config when needed
  1298. 2008-09-04 Dan Williams <dcbw@redhat.com>
  1299. * src/supplicant-manager/nm-supplicant-settings-verify.c
  1300. - Allow WPA-NONE key management for Ad-Hoc WPA connections
  1301. 2008-09-04 Dan Williams <dcbw@redhat.com>
  1302. * libnm-util/nm-setting-vpn.c
  1303. libnm-util/nm-setting-vpn.h
  1304. - Split VPN secrets from VPN data so that settings services can actually
  1305. figure out that they are secrets and store them accordingly
  1306. * system-settings/plugins/keyfile/nm-keyfile-connection.c
  1307. system-settings/plugins/keyfile/reader.c
  1308. system-settings/plugins/keyfile/reader.h
  1309. system-settings/plugins/keyfile/writer.c
  1310. - Store VPN secrets separately from VPN data so that they can be fetched
  1311. on demand
  1312. - Implement the get_secrets() call so that (a) secrets don't leak out
  1313. to unprivileged callers, and (b) secrets can be sent to privileged
  1314. callers when needed
  1315. * vpn-daemons/vpnc/src/nm-vpnc-service.c
  1316. - Handle split VPN secrets
  1317. 2008-08-27 Dan Williams <dcbw@redhat.com>
  1318. * system-settings/plugins/ifcfg-fedora/reader.c
  1319. - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
  1320. 2008-08-27 Dan Williams <dcbw@redhat.com>
  1321. Ensure zombie children get cleaned up. To get notifications when children
  1322. die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
  1323. that requires calling waitpid() yourself if you've removed the child watch
  1324. handler before the process has actually died, which NM needs to do in a few
  1325. places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
  1326. cleans up after the child when required. Should fix problems trying to
  1327. activate mobile broadband connections after a previous failure.
  1328. * src/dhcp-manager/nm-dhcp-dhclient.c
  1329. src/dhcp-manager/nm-dhcp-dhcpcd.c
  1330. - Use G_SPAWN_DO_NOT_REAP_CHILD
  1331. * src/dhcp-manager/nm-dhcp-manager.c
  1332. - (nm_dhcp_device_destroy): ensure child is cleaned up
  1333. - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
  1334. block on child quitting, since the non-blocking functionality was
  1335. never actually used
  1336. * src/dnsmasq-manager/nm-dnsmasq-manager.c
  1337. - (dm_watch_cb): child is already reaped here
  1338. - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
  1339. * src/nm-device.c
  1340. - (aipd_cleanup): block until child is dead
  1341. * src/named-manager/nm-named-manager.c
  1342. - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
  1343. event bothering to watch the child
  1344. * src/ppp-manager/nm-ppp-manager.c
  1345. - (ppp_watch_cb): child is already reaped here
  1346. - (ensure_killed, nm_ppp_manager_stop): block until child is dead
  1347. * src/vpn-manager/nm-vpn-service.c
  1348. - (vpn_service_watch_cb): child is already reaped here
  1349. - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
  1350. status of the child is actually tracked
  1351. - (ensure_killed, finalize): block until child is dead
  1352. 2008-08-26 Dan Williams <dcbw@redhat.com>
  1353. * system-settings/plugins/keyfile/nm-keyfile-connection.c
  1354. - (update): Update filename of the connection if the connection id
  1355. was changed
  1356. * system-settings/plugins/keyfile/plugin.c
  1357. - (dir_changed): first pass at handling connection renames correctly
  1358. * system-settings/plugins/keyfile/writer.c
  1359. system-settings/plugins/keyfile/writer.h
  1360. - (write_connection): replace '/' with '*' when writing out the filename
  1361. from the connection id
  1362. 2008-08-26 Dan Williams <dcbw@redhat.com>
  1363. Add connection UUIDs, since connection names can be changed, and since
  1364. old-style connection IDs could change over the life of the connection. The
  1365. UUID should be assigned at connection creation time, be stable for a given
  1366. connection, and should be unique among all connections for a given settings
  1367. service.
  1368. * configure.in
  1369. libnm-util/Makefile.am
  1370. - Require libuuid
  1371. * introspection/nm-exported-connection.xml
  1372. - Remove "GetID" method
  1373. * libnm-glib/nm-dbus-connection.c
  1374. libnm-glib/nm-settings.c
  1375. libnm-glib/nm-settings.h
  1376. - Remove id-related stuff
  1377. * libnm-util/nm-utils.c
  1378. libnm-util/nm-utils.h
  1379. libnm-util/libnm-util.ver
  1380. - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
  1381. utility functions to generate UUIDs
  1382. * libnm-util/nm-setting-connection.c
  1383. libnm-util/nm-setting-connection.h
  1384. - Add 'uuid' member to the connection setting
  1385. - (verify): require valid 'uuid' for a valid connection
  1386. * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
  1387. system-settings/plugins/ifcfg-fedora/reader.c
  1388. system-settings/plugins/ifcfg-suse/nm-suse-connection.c
  1389. system-settings/plugins/ifcfg-suse/parser.c
  1390. system-settings/plugins/keyfile/nm-keyfile-connection.c
  1391. system-settings/src/main.c
  1392. - Remove id-related stuff
  1393. - Give connections UUIDs where needed
  1394. 2008-08-25 Dan Williams <dcbw@redhat.com>
  1395. * libnm-util/crypto_gnutls.c
  1396. libnm-util/crypto_nss.c
  1397. - (crypto_init, crypto_deinit): refcount init/deinit
  1398. - (crypto_md5_hash): allow NULL salt
  1399. 2008-08-22 Michael Biebl <mbiebl@gmail.com>
  1400. * libnm-glib/Makefile.am
  1401. libnm-util/Makefile.am
  1402. libnm-glib/libnm_glib.ver
  1403. libnm-glib/libnm_glib_vpn.ver
  1404. libnm-util/libnm-util.ver
  1405. - Use linker version scripts to control the list of exported
  1406. symbols. List each exported symbol explicitely.
  1407. * libnm-util/Makefile.am
  1408. - Fix compilation of the test-crypto binary. The crypto
  1409. functions are no longer part of the libnm-util API. Add
  1410. crypto_*.c to test_crypto_SOURCES and link against the correct
  1411. crypto libraries.
  1412. 2008-08-19 Dan Williams <dcbw@redhat.com>
  1413. * configure.in
  1414. test/Makefile.am
  1415. - Don't build test/test-common
  1416. - Remove unused stuff
  1417. * test/nm-set-fallback
  1418. test/nmtestdevices.c
  1419. test/test-common/.cvsignore
  1420. test/test-common/Makefile.am
  1421. test/test-common/test-common.c
  1422. test/test-common/test-common.h
  1423. - delete
  1424. 2008-08-18 Dan Williams <dcbw@redhat.com>
  1425. * libnm-util/nm-utils.c
  1426. libnm-util/nm-utils.h
  1427. - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
  1428. export anything that needs to be converted with this function
  1429. * src/dhcp-manager/nm-dhcp-manager.c
  1430. - (garray_to_string): convert a byte array to a UTF-8 string with
  1431. minimal validation; the DHCP client sends it in ASCII anyway
  1432. - (get_option, copy_option): use garray_to_string()
  1433. 2008-08-18 Dan Williams <dcbw@redhat.com>
  1434. * include/NetworkManager.h
  1435. introspection/nm-device.xml
  1436. - Add a "missing firmware" device state reason
  1437. * src/NetworkManagerSystem.c
  1438. src/NetworkManagerSystem.h
  1439. - (nm_system_device_set_up_down): add a no_firmware argument
  1440. - (nm_system_device_set_up_down_with_iface): if the result of setting
  1441. IFF_UP is ENOENT, that almost always means missing firmware
  1442. * src/backends/NetworkManagerGeneric.c
  1443. src/nm-device-ethernet.c
  1444. src/nm-device-private.h
  1445. src/nm-device-wifi.c
  1446. src/nm-device.c
  1447. src/nm-device.h
  1448. src/nm-hso-gsm-device.c
  1449. src/vpn-manager/nm-vpn-connection.c
  1450. - Pass no_firmware along; check it where appropriate
  1451. 2008-08-18 Dan Williams <dcbw@redhat.com>
  1452. Patch from Robert Buchholz <rbu@gentoo.org>
  1453. * autogen.sh
  1454. configure.in
  1455. - Change to automake 1.9 and 'ustar' tar format defined by POSIX
  1456. 1003.1-1988, allowing for file names longer than 99 characters
  1457. 2008-08-17 Dan Williams <dcbw@redhat.com>
  1458. * include/NetworkManager.h
  1459. introspection/nm-device.xml
  1460. src/nm-gsm-device.c
  1461. - Finer-grained GSM registration failure error codes
  1462. 2008-08-17 Dan Williams <dcbw@redhat.com>
  1463. * callouts/Makefile.am
  1464. src/Makefile.am
  1465. - Move dispatcher directory creation to callouts/Makefile.am
  1466. * system-settings/plugins/keyfile/Makefile.am
  1467. - Create keyfile connections directory in DESTDIR (bgo #546833)
  1468. 2008-08-15 Dan Williams <dcbw@redhat.com>
  1469. Do connection sharing in a cleaner manner; all required iptables rules
  1470. are now stored in the activation request and pertain only to the device
  1471. which is being shared to other computers. (rh #458625)
  1472. * src/nm-activation-request.c
  1473. src/nm-activation-request.h
  1474. - (nm_act_request_add_share_rule): new function; add a sharing rule to
  1475. the activation request which will get torn down automatically when
  1476. the activation request dies
  1477. - (nm_act_request_set_shared): push sharing rules to iptables when sharing
  1478. is started, and tear them down when sharing is stopped
  1479. * src/nm-device.c
  1480. - (start_sharing): start up sharing by doing the required iptables magic
  1481. - (share_init): poke the right bits of the kernel and load the right
  1482. modules for NAT
  1483. - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
  1484. connection if it's a 'shared' connection
  1485. * src/NetworkManagerPolicy.c
  1486. - Remove all sharing stuff; done in the device code itself
  1487. 2008-08-15 Dan Williams <dcbw@redhat.com>
  1488. * src/dnsmasq-manager/nm-dnsmasq-manager.c
  1489. - (create_dm_cmd_line): send the right router address
  1490. 2008-08-15 Dan Williams <dcbw@redhat.com>
  1491. * src/ppp-manager/nm-ppp-manager.c
  1492. - (pppd_timed_out): ensure timeouts fail the connection
  1493. 2008-08-14 Dan Williams <dcbw@redhat.com>
  1494. * src/nm-properties-changed-signal.c
  1495. src/nm-properties-changed-signal.h
  1496. - Add a property spec flag for "don't export this property" in
  1497. property changed signals
  1498. * src/nm-hso-gsm-device.c
  1499. src/nm-gsm-device.c
  1500. src/nm-cdma-device.c
  1501. - Don't export monitor interface or netdev interface properties
  1502. 2008-08-14 Dan Williams <dcbw@redhat.com>
  1503. * src/NetworkManagerPolicy.c
  1504. - (update_routing_and_dns): 'hso' devices can be default even if they
  1505. don't have a gateway
  1506. 2008-08-14 Dan Williams <dcbw@redhat.com>
  1507. * src/nm-device.c
  1508. - (nm_device_deactivate_quickly): tear down activation request after
  1509. calling device-specific deactivation
  1510. * src/nm-hso-gsm-device.c
  1511. - (real_deactivate_quickly): terminate connection when deactivating
  1512. 2008-08-14 Dan Williams <dcbw@redhat.com>
  1513. * src/nm-activation-request.h
  1514. - Add HSO secrets caller
  1515. * src/nm-gsm-device.c
  1516. src/nm-gsm-device.h
  1517. - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
  1518. something to the callback function
  1519. - (set_apn, set_apn_done): call class dial function, not a static one
  1520. - (nm_gsm_device_class_init): add a class 'dial' function
  1521. * src/nm-hal-manager.c
  1522. - (get_hso_netdev): find the hso-driven hardware's net device
  1523. - (modem_device_creator): recognize hso-driven hardware and create the
  1524. right type of device object for it
  1525. * src/Makefile.am
  1526. src/nm-hso-gsm-device.c
  1527. src/nm-hso-gsm-device.h
  1528. - Implement support for devices driven by the 'hso' driver as a subclass
  1529. of NMGsmDevice
  1530. 2008-08-14 Dan Williams <dcbw@redhat.com>
  1531. * src/NetworkManagerSystem.c
  1532. - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
  1533. - (nm_system_device_set_up_down_with_iface): cleanups; only return
  1534. success if the operation really was successful
  1535. 2008-08-14 Dan Williams <dcbw@redhat.com>
  1536. * src/nm-netlink-monitor.c
  1537. src/nm-netlink-monitor.h
  1538. src/nm-device-ethernet.c
  1539. - (nm_netlink_monitor_request_status): return an error on failure
  1540. - (constructor): don't segfault on missing error
  1541. 2008-08-13 Dan Williams <dcbw@redhat.com>
  1542. * callouts/nm-dispatcher-action.c
  1543. - Add IP4 config info to script environment
  1544. 2008-08-12 Dan Williams <dcbw@redhat.com>
  1545. * src/nm-device.c
  1546. - (nm_device_set_ip4_config): don't touch hostnames here; distros
  1547. that want to use DHCP hostnames should use dispatcher scripts
  1548. for that
  1549. * src/NetworkManagerSystem.h
  1550. src/backends/NetworkManagerArch.c
  1551. src/backends/NetworkManagerDebian.c
  1552. src/backends/NetworkManagerFrugalware.c
  1553. src/backends/NetworkManagerGeneric.c
  1554. src/backends/NetworkManagerGeneric.h
  1555. src/backends/NetworkManagerGentoo.c
  1556. src/backends/NetworkManagerMandriva.c
  1557. src/backends/NetworkManagerPaldo.c
  1558. src/backends/NetworkManagerRedHat.c
  1559. src/backends/NetworkManagerSlackware.c
  1560. src/backends/NetworkManagerSuSE.c
  1561. - Remove nm_system_set_hostname(), no longer used
  1562. * src/backends/Makefile.am
  1563. src/backends/shvar.c
  1564. src/backends/shvar.h
  1565. - Remove shvar.*; no longer used
  1566. 2008-08-12 Dan Williams <dcbw@redhat.com>
  1567. Revert most of the 'hostname' patch. Too much stuff still breaks when
  1568. hostname is updated at runtime. Distros or users who want hostname updates
  1569. can use dispatcher scripts to update the hostname if they need it.
  1570. 2008-08-12 Dan Williams <dcbw@redhat.com>
  1571. * introspection/nm-settings-system.xml
  1572. system-settings/src/dbus-settings.c
  1573. system-settings/src/dbus-settings.h
  1574. - Add a 'Hostname' property (rw) which represents the configured
  1575. hostname and domain of the system, if any
  1576. * system-settings/src/nm-system-config-error.c
  1577. system-settings/src/nm-system-config-error.h
  1578. system-settings/src/nm-system-config-interface.c
  1579. system-settings/src/nm-system-config-interface.h
  1580. - Add a 'hostname' property to the plugin interface
  1581. - Add a method to send updated hostname to plugins to save in their
  1582. backing configuration store
  1583. * system-settings/plugins/keyfile/nm-keyfile-connection.c
  1584. system-settings/plugins/keyfile/plugin.c
  1585. system-settings/plugins/keyfile/writer.c
  1586. system-settings/plugins/keyfile/writer.h
  1587. system-settings/plugins/ifcfg-suse/plugin.c
  1588. - Add minimal hostname support
  1589. * system-settings/plugins/ifcfg-fedora/plugin.c
  1590. - Add support for updating system hostname in /etc/sysconfig/network
  1591. 2008-08-12 Dan Williams <dcbw@redhat.com>
  1592. * system-settings/plugins/ifcfg-fedora/shvar.c
  1593. system-settings/plugins/ifcfg-fedora/shvar.c
  1594. - Fix double-free caused by svSetValue() followed by svCloseFile()
  1595. 2008-08-12 Tambet Ingo <tambet@gmail.com>
  1596. * Makefile.am: Fix distcheck.
  1597. 2008-08-12 Tambet Ingo <tambet@gmail.com>
  1598. * libnm-glib/*.c. Document some more.
  1599. 2008-08-12 Tambet Ingo <tambet@gmail.com>
  1600. Start documenting libnm-glib public API using gtk-doc.
  1601. * libnm-glib/nm-serial-device.c:
  1602. * libnm-glib/nm-object.c:
  1603. * libnm-glib/nm-gsm-device.c:
  1604. * libnm-glib/nm-device.c:
  1605. * libnm-glib/nm-device-wifi.c:
  1606. * libnm-glib/nm-device-ethernet.c:
  1607. * libnm-glib/nm-client.c:
  1608. * libnm-glib/nm-cdma-device.c: Document the public API.
  1609. * docs/libnm-glib/libnm-glib.types: Implement.
  1610. * docs/libnm-glib/Makefile.am: Implement.
  1611. * autogen.sh:
  1612. * configure.in:
  1613. * Makefile.am: Add gtk-doc support.
  1614. 2008-08-12 Tambet Ingo <tambet@gmail.com>
  1615. * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
  1616. * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
  1617. the composite result of all the IP4 configurations and call a distro
  1618. specific update_resolv_conf().
  1619. (update_resolv_conf): Implement one for directly writing to
  1620. /etc/resolv.conf and one for opensuse to call netconfig.
  1621. 2008-08-11 Dan Williams <dcbw@redhat.com>
  1622. * src/ppp-manager/nm-ppp-manager.c
  1623. - (impl_ppp_manager_need_secrets): pass interface as required
  1624. 2008-08-11 Dan Williams <dcbw@redhat.com>
  1625. Merge the vpn-properties setting with the vpn setting since it was pointless
  1626. to keep both of them around. Convert the vpn 'data' hash table to a hash
  1627. of string:string (instead of string:variant) so that system settings plugins
  1628. can have an easier time dealing with the arbitrary key/value pairs.
  1629. 2008-08-11 Dan Williams <dcbw@redhat.com>
  1630. * libnm-util/nm-utils.c
  1631. - (nm_utils_register_value_transformations): add value transform for
  1632. a hash table of string:string
  1633. 2008-08-10 Dan Williams <dcbw@redhat.com>
  1634. * libnm-glib/nm-vpn-plugin.c
  1635. - (nm_vpn_plugin_connect): stop plugin after connection failure from
  1636. an idle handler so the Connect reply gets delivered before the
  1637. stop StateChanged signal
  1638. 2008-08-10 Dan Williams <dcbw@redhat.com>
  1639. * src/nm-ip4-config.c
  1640. - (get_property): use common ip4 address/route conversion functions
  1641. - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
  1642. copy the new route here, not take ownership
  1643. 2008-08-08 Tambet Ingo <tambet@gmail.com>
  1644. * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
  1645. Update the IP4 setting's method name.
  1646. 2008-08-07 Dan Williams <dcbw@redhat.com>
  1647. * introspection/nm-ip4-config.xml
  1648. libnm-glib/libnm-glib-test.c
  1649. libnm-glib/nm-ip4-config.c
  1650. libnm-glib/nm-ip4-config.h
  1651. src/NetworkManagerSystem.h
  1652. src/backends/NetworkManagerArch.c
  1653. src/backends/NetworkManagerDebian.c
  1654. src/backends/NetworkManagerFrugalware.c
  1655. src/backends/NetworkManagerGeneric.c
  1656. src/backends/NetworkManagerGeneric.h
  1657. src/backends/NetworkManagerGentoo.c
  1658. src/backends/NetworkManagerMandriva.c
  1659. src/backends/NetworkManagerPaldo.c
  1660. src/backends/NetworkManagerRedHat.c
  1661. src/backends/NetworkManagerSlackware.c
  1662. src/backends/NetworkManagerSuSE.c
  1663. src/dhcp-manager/nm-dhcp-manager.c
  1664. src/nm-device.c
  1665. src/nm-ip4-config.c
  1666. src/nm-ip4-config.h
  1667. - Remove NIS logic; should be done from dispatcher scripts instead
  1668. 2008-08-07 Dan Williams <dcbw@redhat.com>
  1669. * src/dhcp-manager/nm-dhcp-manager.c
  1670. - (nm_dhcp_manager_get_ip4_config): fix regression which caused
  1671. mis-handling of DHCP responses that returned more than one router
  1672. (found by Grant Williamson)
  1673. 2008-08-07 Dan Williams <dcbw@redhat.com>
  1674. * callouts/nm-dispatcher-action.c
  1675. - (nm_dispatcher_action): grab device path and create the device; pass
  1676. the device's DHCP4 config to script caller
  1677. - (dispatch_scripts): dump the DHCP4 config to the environment of called
  1678. scripts
  1679. * libnm-glib/nm-dhcp4-config.c
  1680. libnm-glib/nm-dhcp4-config.h
  1681. - (nm_dhcp4_config_get_options): expose
  1682. - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
  1683. 2008-08-07 Dan Williams <dcbw@redhat.com>
  1684. * include/NetworkManager.h
  1685. - Add the DHCP4Config D-Bus interface
  1686. * libnm-glib/Makefile.am
  1687. libnm-glib/nm-dhcp4-config.c
  1688. libnm-glib/nm-dhcp4-config.h
  1689. - Handle DHCP4 config objects exported by NM over D-Bus
  1690. * libnm-glib/nm-device.c
  1691. libnm-glib/nm-device.h
  1692. - Add a 'dhcp4-config' property
  1693. * libnm-glib/libnm-glib-test.c
  1694. - Print out DHCP4 config for devices
  1695. - Fix some crashes when no connections are active
  1696. * src/nm-device-interface.c
  1697. src/nm-device.c
  1698. src/nm-dhcp4-config.c
  1699. src/nm-dhcp4-config.h
  1700. - Treat dhcp4-config object as an object path at the D-Bus interface so
  1701. that when it doesn't exist we can proxy it as "/" which dbus-glib
  1702. doesn't let us do when the property type is G_TYPE_OBJECT
  1703. 2008-08-07 Dan Williams <dcbw@redhat.com>
  1704. * src/NetworkManager.c
  1705. src/NetworkManagerSystem.h
  1706. src/backends/NetworkManagerArch.c
  1707. src/backends/NetworkManagerDebian.c
  1708. src/backends/NetworkManagerFrugalware.c
  1709. src/backends/NetworkManagerGeneric.c
  1710. src/backends/NetworkManagerGeneric.h
  1711. src/backends/NetworkManagerGentoo.c
  1712. src/backends/NetworkManagerMandriva.c
  1713. src/backends/NetworkManagerPaldo.c
  1714. src/backends/NetworkManagerRedHat.c
  1715. src/backends/NetworkManagerSlackware.c
  1716. src/backends/NetworkManagerSuSE.c
  1717. - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
  1718. 2008-08-06 Dan Williams <dcbw@redhat.com>
  1719. * libnm-glib/nm-ip4-config.c
  1720. libnm-glib/nm-ip4-config.h
  1721. - Add 'routes' property
  1722. * libnm-util/nm-setting-vpn.c
  1723. libnm-util/nm-setting-vpn.h
  1724. - Remove 'routes' property
  1725. * libnm-util/nm-setting-ip4-config.c
  1726. libnm-util/nm-setting-ip4-config.h
  1727. - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
  1728. - Add 'ignore-auto-routes' property
  1729. - 'routes' exposed over D-Bus is now an array of array of uint (4) to
  1730. accomodate route metrics
  1731. - 'routes' exposed in C is now a list of NMSettingIP4Route structures
  1732. * libnm-util/nm-utils.c
  1733. libnm-util/nm-utils.h
  1734. - Add helpers for marshalling IP4 routes
  1735. * src/NetworkManagerUtils.c
  1736. - (nm_utils_merge_ip4_config): handle property renames and new route
  1737. structure
  1738. * src/NetworkManagerSystem.c
  1739. - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
  1740. nm_system_vpn_device_set_from_ip4_config): respect route metrics
  1741. * src/dhcp-manager/nm-dhcp-manager.c
  1742. - (nm_dhcp_manager_get_ip4_config): handle new route structure
  1743. * system-settings/plugins/ifcfg-fedora/reader.c
  1744. system-settings/plugins/ifcfg-fedora/writer.c
  1745. - Handle routes separately from addresses now that routes have a different
  1746. format
  1747. * introspection/nm-ip4-config.xml
  1748. src/nm-ip4-config.c
  1749. src/nm-ip4-config.h
  1750. - Rename internal routing functions
  1751. - 'static-routes' renamed to 'routes'
  1752. 2008-08-04 Dan Williams <dcbw@redhat.com>
  1753. Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
  1754. * src/NetworkManager.c
  1755. src/nm-manager.c
  1756. src/nm-manager.h
  1757. - More explicitly make the NMManager a singleton
  1758. 2008-08-04 Dan Williams <dcbw@redhat.com>
  1759. * libnm-util/nm-connection.c
  1760. libnm-util/nm-connection.h
  1761. - (nm_connection_verify): return error on missing 'connection' setting
  1762. (found by Sjoerd Simons)
  1763. 2008-08-04 Dan Williams <dcbw@redhat.com>
  1764. Handle multiple concurrent PPP connections.
  1765. * src/ppp-manager/nm-ppp-manager.c
  1766. src/ppp-manager/nm-ppp-manager.h
  1767. - (constructor): only PPP Manager request bus name once; each
  1768. NMPPPManager object gets a unique object path
  1769. - (nm_ppp_manager_class_init, get_property, set_property,
  1770. nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
  1771. at construct time
  1772. - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
  1773. remove timeout until PPP manager gets an IP4 config
  1774. - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
  1775. the plugin can call back to this specific PPP manager instance
  1776. * src/nm-device-ethernet.c
  1777. src/nm-serial-device.c
  1778. - Pass parent device in nm_ppp_manager_new()
  1779. * src/nm-gsm-device.c
  1780. src/nm-cdma-device.c
  1781. - (device_state_changed): don't close serial device on NEED_AUTH
  1782. state changed, that's not a failure case like the rest are
  1783. * src/ppp-manager/nm-pppd-plugin.c
  1784. - (nm_ip_up): always use index 0 into the ipcp options, because NM always
  1785. binds one interface to any pppd process, thus the correct index
  1786. is always 0; send PHASE_DEAD on error to alert NM immediately of
  1787. problems; try harder to get a peer address in spite of pppd
  1788. - (plugin_init): use 'ipparam' as the object path back to our specific
  1789. PPP manager instance
  1790. 2008-08-04 Dan Williams <dcbw@redhat.com>
  1791. * src/ppp-manager/nm-ppp-manager.c
  1792. - (impl_ppp_manager_need_secrets): rework to handle secrets better;
  1793. since the GSM and CDMA settings now implement need_secrets, we can
  1794. rely on them to do the right thing. Where secrets are not required,
  1795. just pass empty strings back to the pppd plugin.
  1796. - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
  1797. - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
  1798. on successful IP4 config receipt
  1799. 2008-08-04 Dan Williams <dcbw@redhat.com>
  1800. * libnm-util/nm-setting-cdma.c
  1801. libnm-util/nm-setting-gsm.c
  1802. - (verify): validate username & password if they exist
  1803. - (need_secrets): if username given, require a password too
  1804. 2008-08-04 Dan Williams <dcbw@redhat.com>
  1805. * src/dnsmasq-manager/nm-dnsmasq-manager.c
  1806. - (create_dm_cmd_line): really don't listen on lo, despite what the
  1807. manpage says about --listen-address without --interface
  1808. (bgo #546033)
  1809. 2008-08-01 Dan Williams <dcbw@redhat.com>
  1810. * libnm-glib/nm-device.c
  1811. - (proxy_get_string): util function for querying a HAL property
  1812. - (get_ancestor_device): split out from get_product_and_vendor()
  1813. - (get_product_and_vendor): simplify; get more accurate pid & vid info
  1814. from PCI devices by querying subsys properties
  1815. - (nm_device_update_description): simplify
  1816. 2008-08-01 Dan Williams <dcbw@redhat.com>
  1817. * libnm-util/nm-setting-ip4-config.c
  1818. libnm-util/nm-setting-ip4-config.h
  1819. - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
  1820. 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
  1821. settings, and they don't necessarily use DHCP.
  1822. * src/NetworkManagerPolicy.c
  1823. src/nm-device.c
  1824. system-settings/plugins/ifcfg-fedora/reader.c
  1825. system-settings/plugins/ifcfg-suse/parser.c
  1826. - Fixup for method changes
  1827. 2008-07-31 Dan Williams <dcbw@redhat.com>
  1828. * src/nm-activation-request.c
  1829. src/vpn-manager/nm-vpn-connection.c
  1830. - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
  1831. itself should be attached to the activation request or the VPN
  1832. connection, not the NMConnection object, since the call is not
  1833. expected to live as long as the NMConnection itself
  1834. 2008-07-31 Dan Williams <dcbw@redhat.com>
  1835. * src/nm-device-wifi.c
  1836. - (real_act_stage2_config): fix issue where association would continue
  1837. even though secrets were needed; 'goto out' was in wrong scope and
  1838. result of handle_auth_or_fail() should have been dumped directly to
  1839. 'ret' to ensure that the association was postponed until secrets
  1840. are available
  1841. 2008-07-31 Dan Williams <dcbw@redhat.com>
  1842. * system-settings/plugins/ifcfg-fedora/plugin.c
  1843. system-settings/plugins/ifcfg-fedora/reader.c
  1844. - Don't ignore unmanaged devices if their ifcfg file doesn't make a
  1845. valid NM connection
  1846. 2008-07-29 Dan Williams <dcbw@redhat.com>
  1847. * src/nm-gsm-device.c
  1848. - (automatic_registration_response, automatic_registration): recognize
  1849. denied registration and reorder responses
  1850. 2008-07-29 Dan Williams <dcbw@redhat.com>
  1851. * src/nm-serial-device.c
  1852. - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
  1853. time(2) is used for current time, which returns seconds, we shouldn't
  1854. be multiplying by 1000.
  1855. 2008-07-28 Dan Williams <dcbw@redhat.com>
  1856. Patch from Fabrice Bellet <fabrice@bellet.info>
  1857. * src/NetworkManagerSystem.c
  1858. - (route_in_same_subnet): mask addresses and compare them so that the
  1859. function actually does what it says it's going to do (rh #456685)
  1860. 2008-07-27 Dan Williams <dcbw@redhat.com>
  1861. * libnm-util/nm-setting-ip6-config.c
  1862. - (set_property): add missing break that caused routes to be overwritten
  1863. with addresses
  1864. * libnm-util/nm-setting-ip6-config.c
  1865. - (verify): validate routes and return GError everywhere on invalid setting
  1866. - (finalize): don't leak routes
  1867. - (set_property): add missing break that caused routes to be overwritten
  1868. with addresses
  1869. 2008-07-27 Dan Williams <dcbw@redhat.com>
  1870. * libnm-util/*
  1871. - Relicense to LGPLv2+
  1872. 2008-07-27 Dan Williams <dcbw@redhat.com>
  1873. * system-settings/plugins/ifcfg-fedora/reader.c
  1874. - (make_ip4_setting): fix parsing automatic configs
  1875. 2008-07-27 Dan Williams <dcbw@redhat.com>
  1876. * src/dnsmasq-manager/nm-dnsmasq-manager.c
  1877. src/nm-device.c
  1878. src/ppp-manager/nm-ppp-manager.c
  1879. - Ensure child process gets reaped. The child watch function may be
  1880. removed from the mainloop before the child gets killed, so we have
  1881. to make sure the child is reaped when it's told to die intentionally
  1882. 2008-07-27 Dan Williams <dcbw@redhat.com>
  1883. Patch from Roy Marples <roy@marples.name>
  1884. * src/dhcp-manager/nm-dhcp-dhcpcd.c
  1885. - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
  1886. 2008-07-27 Dan Williams <dcbw@redhat.com>
  1887. * src/nm-gsm-device.c
  1888. - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
  1889. Huawei devices turn echo back on after CPIN (rh #456770)
  1890. 2008-07-24 Tambet Ingo <tambet@gmail.com>
  1891. * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
  1892. format argument to g_set_error() call.
  1893. * src/backends/interface_parser.[ch]: Remove.
  1894. * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
  1895. 2008-07-21 Dan Williams <dcbw@redhat.com>
  1896. * src/ppp-manager/nm-ppp-manager.c
  1897. - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
  1898. to prevent pppd from picking up some random local address from an
  1899. interface that doesn't have anything to do with the one we're
  1900. interested in (rh #455348)
  1901. 2008-07-17 Dan Williams <dcbw@redhat.com>
  1902. * libnm-util/nm-utils.c
  1903. - (string_to_utf8): general function for conversion to UTF-8 assisted
  1904. by locale
  1905. - (nm_utils_ssid_to_utf8): use string_to_utf8()
  1906. - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
  1907. 2008-07-17 Dan Williams <dcbw@redhat.com>
  1908. * introspection/Makefile.am
  1909. introspection/nm-device.xml
  1910. introspection/nm-dhcp4-config.xml
  1911. - Add bits for the DHCP4Config property of the device, and the DHCP4Config
  1912. itself
  1913. * src/nm-device-interface.c
  1914. src/nm-device-interface.h
  1915. - Add the DHCP4Config property
  1916. * src/nm-device.c
  1917. - Keep track of DHCP4 options via a new DHCP4Config property and notify
  1918. D-Bus clients when it changes
  1919. * src/nm-dhcp4-config.c
  1920. src/nm-dhcp4-config.h
  1921. - Simple object to store DHCP4 options, export them over D-Bus, and
  1922. notify when they change
  1923. * src/dhcp-manager/nm-dhcp-manager.c
  1924. src/dhcp-manager/nm-dhcp-manager.h
  1925. - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
  1926. filter server-returned DHCP options into an NMDHCP4Config object
  1927. 2008-07-16 Dan Williams <dcbw@redhat.com>
  1928. * introspection/nm-device.xml
  1929. - Add device state reasons
  1930. 2008-07-16 Dan Williams <dcbw@redhat.com>
  1931. Patch from Roy Marples <roy@marples.name>
  1932. * configure.in
  1933. - Add --with-dhcp-client option
  1934. * src/dhcp-manager/Makefile.am
  1935. - pass DHCP_CLIENT_PATH on compile line
  1936. * src/dhcp-manager/nm-dhcp-manager.c
  1937. src/dhcp-manager/nm-dhcp-manager.h
  1938. - Genericize for both dhcpcd and dhclient
  1939. * src/dhcp-manager/nm-dhcp-dhclient.c
  1940. - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
  1941. * src/dhcp-manager/nm-dhcp-dhcpcd.c
  1942. - Implement support for dhcpcd too
  1943. 2008-07-16 Tambet Ingo <tambet@gmail.com>
  1944. * system-settings/src/nm-system-config-interface.c
  1945. (nm_system_config_interface_supports_add): Implement.
  1946. (nm_system_config_interface_add_connection): Return a boolean to notify
  1947. of errors.
  1948. * system-settings/src/nm-polkit-helpers.c:
  1949. * system-settings/src/nm-polkit-helpers.h: Move error declarations to
  1950. a separate file.
  1951. * system-settings/src/dbus-settings.c (impl_settings_add_connection):
  1952. Return an error when none of the plugins support add or if addition
  1953. failed for some reason.
  1954. * system-settings/src/nm-system-config-error.h:
  1955. * system-settings/src/nm-system-config-error.c: New files, mostly moved
  1956. here from nm-polkit-helpers.[ch].
  1957. * system-settings/src/Makefile.am: Build new files.
  1958. * system-settings/plugins/keyfile/reader.c
  1959. (read_array_of_array_of_uint): Make it more general so that it would
  1960. work for routes as well.
  1961. * system-settings/plugins/keyfile/writer.c
  1962. (write_array_of_array_of_uint): Ditto.
  1963. Fix the netmask/prefix writing.
  1964. * system-settings/plugins/keyfile/plugin.c (add_connection): Return
  1965. boolean to notify errors.
  1966. * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
  1967. Return more specific error.
  1968. (delete): Ditto.
  1969. 2008-07-11 Dan Williams <dcbw@redhat.com>
  1970. Modify the NMDevice::state-changed signal to include the previous state
  1971. and reason. Enables the applet to provide more information why device
  1972. activation failed.
  1973. 2008-07-09 Dan Williams <dcbw@redhat.com>
  1974. * callouts/Makefile.am
  1975. callouts/nm-avahi-autoipd-action.c
  1976. callouts/nm-avahi-autoipd.conf
  1977. - avahi-autoipd callout to send options back to NM
  1978. * src/autoip.c
  1979. src/autoip.h
  1980. - remove
  1981. * src/nm-device.c
  1982. src/nm-device-private.h
  1983. src/nm-manager.c
  1984. - Use avahi-autoipd for IPv4LL functionality rather than really crappy
  1985. old custom stuff
  1986. 2008-07-07 Dan Williams <dcbw@redhat.com>
  1987. * system-settings/plugins/ifcfg-fedora/reader.c
  1988. - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
  1989. handle PREFIX too; clean up
  1990. 2008-07-07 Dan Williams <dcbw@redhat.com>
  1991. Convert to using IPv4 prefixes instead of netmasks.
  1992. 2008-07-03 Dan Williams <dcbw@redhat.com>
  1993. * libnm-util/nm-setting-ip4-config.c
  1994. libnm-util/nm-setting-ip4-config.h
  1995. - Add properties for DHCP Client Identifier and DHCP Hostname
  1996. * src/dhcp-manager/nm-dhcp-manager.c
  1997. src/dhcp-manager/nm-dhcp-manager.h
  1998. - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
  1999. setting as an argument to pass on to the dhclient config file
  2000. creation function
  2001. - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
  2002. DHCP is torn down
  2003. - (dhclient_run): punt config file handling to create_dhclient_config()
  2004. - (create_dhclient_config): create an interface-specific dhclient
  2005. config file since there may need to be interface-specific options
  2006. passed to dhclient
  2007. - (merge_dhclient_config): merge normal distro dhclient config file and
  2008. add options from the connection
  2009. - (nm_dhcp_device_new): generate the interface specific dhclient
  2010. config file path once
  2011. - (nm_dhcp_device_destroy): handle partially initialized objects; free
  2012. dhclient config file path
  2013. * src/nm-device.c
  2014. - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
  2015. DHCP manager when starting DHCP
  2016. 2008-07-02 Dan Williams <dcbw@redhat.com>
  2017. * libnm-util/nm-setting-8021x.c
  2018. - (verify): allow forcing the PEAP label to 0
  2019. 2008-07-02 Dan Williams <dcbw@redhat.com>
  2020. * introspection/nm-active-connection.xml
  2021. introspection/nm-vpn-connection.xml
  2022. libnm-glib/nm-active-connection.c
  2023. src/nm-activation-request.c
  2024. src/nm-active-connection.h
  2025. src/vpn-manager/nm-vpn-connection.c
  2026. - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
  2027. and libnm-glib API since sharing didn't get implemented that way
  2028. 2008-07-02 Dan Williams <dcbw@redhat.com>
  2029. * src/nm-device-wifi.c
  2030. - (can_scan): don't scan when a shared connection is activated since
  2031. that makes drivers mad (causing disconnects); also NM doesn't need
  2032. to hedge against disconnects by keeping up-to-date network topology
  2033. because the connection originates from the local machine, and thus
  2034. there should be no disconnects
  2035. 2008-07-01 Dan Williams <dcbw@redhat.com>
  2036. Fix mobile broadband username/password issues. NM was never requesting
  2037. mobile broadband secrets, nor was it passing back the username and password
  2038. if it had them.
  2039. * marshallers/nm-marshal.list
  2040. - Add some new types for activation request objects
  2041. * src/nm-activation-request.c
  2042. src/nm-activation-request.h
  2043. - (get_secrets_cb): pass the caller type in the signal
  2044. - (nm_act_request_request_connection_secrets): take a caller type, so
  2045. that GetSecrets() reply handlers know who asked for the secrets in
  2046. the first place; use secret hints too so the settings service can
  2047. figure out exactly what NM wants (ie, PIN or the PPP password)
  2048. * src/ppp-manager/nm-ppp-manager.c
  2049. src/ppp-manager/nm-ppp-manager.h
  2050. - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
  2051. detect needed secrets when the secret could be blank, like GSM/CDMA
  2052. passwords. So always ask for secrets, and send a hint as to what
  2053. secret we really want.
  2054. - (nm_ppp_manager_update_secrets): make function more generic by making
  2055. the device specific class figure out the username and password, and
  2056. accept an error argument to return back over D-Bus
  2057. * src/nm-device-wifi.c
  2058. - (link_timeout_cb, handle_auth_or_fail): update for changes to
  2059. nm_act_request_request_connection_secrets()
  2060. - (real_connection_secrets_updated): update for 'caller' changes
  2061. * src/nm-device.c
  2062. src/nm-device.h
  2063. - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
  2064. for 'caller' changes
  2065. * src/nm-device-ethernet.c
  2066. - (real_connection_secrets_updated): update for 'caller' changes and
  2067. move logic for getting PPPoE username and password here before
  2068. calling nm_ppp_manager_update_secrets()
  2069. - (link_timeout_cb, handle_auth_or_fail): update for changes to
  2070. nm_act_request_request_connection_secrets()
  2071. * src/nm-cdma-device.c
  2072. - (real_connection_secrets_updated): pass username and password back
  2073. to the PPP manager when required
  2074. * src/nm-gsm-device.c
  2075. - (enter_pin): send the required secret name to the settings service
  2076. - (real_connection_secrets_updated): pass username and password back
  2077. to the PPP manager when required
  2078. 2008-06-30 Dan Williams <dcbw@redhat.com>
  2079. * src/nm-device-wifi.c
  2080. - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
  2081. 2008-06-30 Dan Williams <dcbw@redhat.com>
  2082. Attempt to fix various issues causing rh #448889. Mainly, to qualify for
  2083. the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
  2084. priv->supplicant.iface. When either condition is false, the device should
  2085. transition back to UNAVAILABLE because it cannot be used.
  2086. * src/nm-device-wifi.c
  2087. - (constructor): cleanup; connect to supplicant manager here since the
  2088. supplicant manager is always around
  2089. - (supplicant_interface_acquire): rename from init_supplicant_interface,
  2090. ensure the supplicant manager is in the IDLE state
  2091. - (supplicant_interface_release): rename from cleanup_supplicant_interface,
  2092. cancel any pending scans too
  2093. - (real_bring_up): don't set up the supplicnat interface here, because
  2094. we need the supplicant interface at times when the device may not
  2095. be "up"
  2096. - (real_take_down): just remove the periodic source
  2097. - (schedule_scan): ensure a state that would peg the CPU doesn't happen
  2098. - (remove_supplicant_interface_connection_error_handler): cleanup; don't
  2099. do anything if there's no supplicant interface
  2100. - (cleanup_association_attempt): cleanup
  2101. - (supplicant_iface_state_cb_handler): request an immediate scan when
  2102. the interface enters the READY state; transition to UNAVAILABLE
  2103. state when the interface goes down because the device can't be used
  2104. without a supplicant interface
  2105. - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
  2106. up and transition to UNAVAILABLE; if the supplicant becomes ready,
  2107. acquire the supplicant interface and transition to DISCONNECTED
  2108. if the radio isn't killed
  2109. - (nm_device_wifi_dispose): move most of device_cleanup() here
  2110. - (state_changed_cb): release any existing supplicant interface; if the
  2111. radio is enabled then try to acquire a new supplicant interface;
  2112. if the radio is enabled and a supplicant interface has been acquired,
  2113. we can transition to DISCONNECTED
  2114. - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
  2115. don't enable the radio, because HAL probably lied to us about the
  2116. killswitch being off. If bringing the hardware up worked, then
  2117. try to grab a supplicant interface, and if that was successful,
  2118. transition to DISCONNECTED
  2119. 2008-06-30 Dan Williams <dcbw@redhat.com>
  2120. * src/supplicant-manager/nm-supplicant-interface.c
  2121. - (request_scan_results, nm_supplicant_interface_dispose,
  2122. wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
  2123. the id of the timeout, not a GSource
  2124. 2008-06-30 Tambet Ingo <tambet@gmail.com>
  2125. * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
  2126. bunch of typoes introduced by "Patch from David Cantrell
  2127. <dcantrell@redhat.com> and me".
  2128. 2008-06-30 Tambet Ingo <tambet@gmail.com>
  2129. * src/nm-serial-device.c:
  2130. * src/nm-gsm-device.c:
  2131. * src/nm-cdma-device.c: Move the pending call handling to a common location
  2132. in serial device. Handle setting device state to failed in one place as well.
  2133. 2008-06-29 Dan Williams <dcbw@redhat.com>
  2134. * src/nm-hal-manager.c
  2135. - Rework killswitch handling to query killswitch status immediately
  2136. when the first killswitch is added, so that rfkill state is
  2137. known as early as possible
  2138. - Also treat failure of GetPower() as rfkill when the dbus method
  2139. call times out (but not when the HAL callout returns an error)
  2140. 2008-06-26 Dan Williams <dcbw@redhat.com>
  2141. Patch from David Cantrell <dcantrell@redhat.com> and me
  2142. * include/nm-dbus-glib-types.h
  2143. - Add IP6 address types
  2144. * libnm-util/Makefile.am
  2145. libnm-util/nm-setting-ip6-config.c
  2146. libnm-util/nm-setting-ip6-config.h
  2147. - Add IP6 settings object
  2148. * libnm-util/nm-connection.c
  2149. - (register_default_settings): register ip6 settings object
  2150. * libnm-util/nm-utils.c
  2151. libnm-util/nm-utils.h
  2152. - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
  2153. nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
  2154. ip6 address conversion functions
  2155. 2008-06-26 Dan Williams <dcbw@redhat.com>
  2156. Patch from David Cantrell <dcantrell@redhat.com>
  2157. * Use inet_ntop() and inet_pton() everwhere and check for errors
  2158. 2008-06-26 Dan Williams <dcbw@redhat.com>
  2159. * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
  2160. 2008-06-26 Dan Williams <dcbw@redhat.com>
  2161. Patch from Adel Gadllah <adel.gadllah@gmail.com>
  2162. * src/nm-device-wifi.c
  2163. - (link_timeout_cb): don't ignore disconnects due to scanning
  2164. - (supplicant_iface_connection_state_cb_handler): instead, schedule
  2165. a longer timeout when scanning; avoids case where supplicant can't
  2166. find the AP and just keeps scanning forever but isn't connected
  2167. 2008-06-26 Dan Williams <dcbw@redhat.com>
  2168. Patch from Michael Biebl <biebl@debian.org>
  2169. * Clean up build system stuff
  2170. 2008-06-23 Christian Persch <chpe@gnome.org>
  2171. * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
  2172. * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
  2173. * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
  2174. (impl_get_object):
  2175. * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
  2176. (impl_get_object):
  2177. * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
  2178. * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
  2179. * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
  2180. (impl_get_object):
  2181. * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
  2182. * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
  2183. * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
  2184. * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
  2185. * vpn-daemons/pptp/properties/vpnui_opt.c:
  2186. (vpnui_opt_connect_signals):
  2187. * vpn-daemons/pptp/properties/vpnui_opt.h:
  2188. * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
  2189. * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
  2190. deprecated gtk type macros. Bug #539325.
  2191. 2008-06-20 Dan Williams <dcbw@redhat.com>
  2192. * libnm-glib/nm-vpn-plugin-ui-interface.c
  2193. libnm-glib/nm-vpn-plugin-ui-interface.h
  2194. - 'validity-changed' -> 'changed' to work better with the connection
  2195. editor. Plugin UI widgets should emit 'changed' whenever their
  2196. UI values change in a meaningful way.
  2197. - (nm_vpn_plugin_ui_widget_interface_update_connection): the
  2198. update_connection member now returns validity of the UI widget
  2199. 2008-06-20 Tambet Ingo <tambet@gmail.com>
  2200. * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
  2201. 2008-06-17 Dan Williams <dcbw@redhat.com>
  2202. * libnm-glib/nm-vpn-plugin-ui-interface.c
  2203. libnm-glib/nm-vpn-plugin-ui-interface.h
  2204. - Add "desc" property for longer descriptions of the VPN plugin
  2205. 2008-06-16 Dan Williams <dcbw@redhat.com>
  2206. * configure.in
  2207. libnm-glib/libnm_glib_vpn.pc.in
  2208. - add a .pc file for libnm_glib_vpn
  2209. * libnm-glib/nm-vpn-plugin-ui-interface.c
  2210. libnm-glib/nm-vpn-plugin-ui-interface.h
  2211. - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
  2212. rework it substantially
  2213. 2008-06-12 Dan Williams <dcbw@redhat.com>
  2214. Add a GError argument to nm_connection_verify() and nm_setting_verify(),
  2215. and add error enums to each NMSetting subclass. Each NMSetting subclass now
  2216. returns a descriptive GError when verification fails.
  2217. 2008-06-11 Dan Williams <dcbw@redhat.com>
  2218. Patch from Tambet Ingo <tambet@gmail.com>
  2219. * libnm-util/nm-setting-gsm.c
  2220. - (verify): validate APN
  2221. * src/nm-gsm-device.c
  2222. - (manual_registration_done): start setting APN if needed
  2223. - (set_apn, set_apn_done): set the APN
  2224. - (do_dial): use the APN when dialing
  2225. 2008-06-11 Dan Williams <dcbw@redhat.com>
  2226. * src/NetworkManagerSystem.c
  2227. - (nm_system_device_set_ip4_route,
  2228. nm_system_device_replace_default_ip4_route): check for the right
  2229. return value from rtnl_route_add() to know when to add a gateway
  2230. route (from Tambet)
  2231. 2008-06-11 Dan Williams <dcbw@redhat.com>
  2232. * src/NetworkManagerPolicy.c
  2233. - do_ipt_cmd -> do_cmd
  2234. - (sharing_init): use do_cmd() instead of system()
  2235. 2008-06-10 Dan Williams <dcbw@redhat.com>
  2236. The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
  2237. and use "wifi" everwhere instead.
  2238. 2008-06-10 Dan Williams <dcbw@redhat.com>
  2239. The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
  2240. 2008-06-10 Dan Williams <dcbw@redhat.com>
  2241. Patch from Tambet Ingo <tambet@gmail.com>
  2242. * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
  2243. changes.
  2244. * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
  2245. a signal to emit these changes over dbus.
  2246. * src/Makefile.am: Genereate nm-serial-device-glue.
  2247. * libnm-glib/nm-serial-device.[ch]: Implement.
  2248. * libnm-glib/nm-cdma-device.[ch]
  2249. libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
  2250. * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
  2251. * introspection/nm-device-serial.xml: Implement.
  2252. * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
  2253. * introspection/Makefile.am: Add nm-device-serial.xml.
  2254. * include/NetworkManager.h: Add a DBus interface for serial device.
  2255. 2008-06-10 Dan Williams <dcbw@redhat.com>
  2256. * configure.in
  2257. - Add TARGET_* define to config.h to distinguish distros
  2258. * src/dhcp-manager/nm-dhcp-manager.c
  2259. - (dhclient_run): use distro-specific path for dhclient config file
  2260. 2008-06-09 Dan Williams <dcbw@redhat.com>
  2261. * src/dnsmasq-manager/nm-dnsmasq-manager.c
  2262. src/dnsmasq-manager/nm-dnsmasq-manager.h
  2263. - (create_dm_cmd_line): use the IP4 address of the ip4-config to
  2264. calculate the addresses passed to dnsmasq instead of hard-coding
  2265. them
  2266. * src/nm-device.c
  2267. - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
  2268. IP addresses for shared connections to guard against shared
  2269. connection address collisions
  2270. - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
  2271. error conditions
  2272. - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
  2273. the dnsmasq manager
  2274. 2008-06-09 Dan Williams <dcbw@redhat.com>
  2275. * src/NetworkManagerPolicy.c
  2276. - (update_routing_and_dns): set the default connection _after_ unsetting
  2277. default on all non-default connections so that two connections can
  2278. never be default at the same time
  2279. - (device_state_changed): start and stop connection sharing when
  2280. needed
  2281. - (active_connection_default_changed): restart or stop sharing when
  2282. the default connection changes to keep shared connections always
  2283. NAT-ed through the default connection
  2284. - (check_sharing): handle activation/deactivation of shared connections
  2285. - (sharing_restart): atom-bomb approach to connection sharing until we
  2286. can use libnl; reinit all sharing when the default connection or
  2287. shared connections change
  2288. - (sharing_init, sharing_stop): evil functions that init and deinit
  2289. iptables
  2290. 2008-06-09 Dan Williams <dcbw@redhat.com>
  2291. * src/nm-activation-request.c
  2292. src/nm-activation-request.h
  2293. - (nm_act_request_set_shared, nm_act_request_get_shared,
  2294. nm_act_request_get_device): new functions to facilitate connection
  2295. sharing
  2296. 2008-06-09 Dan Williams <dcbw@redhat.com>
  2297. * src/nm-device.c
  2298. - (clear_act_request): unset the 'default' property of the activation
  2299. request when clearing it to ensure the property changed signal gets
  2300. delivered and handled
  2301. 2008-06-09 Dan Williams <dcbw@redhat.com>
  2302. * libnm-glib/nm-device-802-11-wireless.c
  2303. - (access_point_removed_proxy): actually unref the AP after removing
  2304. it from the device's AP list. Fixes refcounting bug for APs that
  2305. caused them to get mixed up in the applet's menu.
  2306. 2008-06-09 Tambet Ingo <tambet@gmail.com>
  2307. * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
  2308. (nm_dhcp_device_destroy): Destroy the device options hash table.
  2309. 2008-06-06 Dan Williams <dcbw@redhat.com>
  2310. * system-settings/src/nm-polkit-helpers.c
  2311. - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
  2312. unref the context if the initialization fails; also avoid spew when
  2313. the error isn't set
  2314. 2008-06-06 Dan Williams <dcbw@redhat.com>
  2315. Patch from Tambet Ingo <tambet@gmail.com>
  2316. * src/NetworkManagerSystem.c
  2317. src/NetworkManagerSystem.h
  2318. - (nm_system_device_add_ip4_route_via_device_with_iface): remove
  2319. - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
  2320. - (nm_system_device_set_ip4_route): clean up
  2321. - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
  2322. * src/nm-device.c
  2323. - (nm_device_set_ip4_config): remove unused route_to_iface bits
  2324. * src/vpn-manager/nm-vpn-connection.c
  2325. - (ip_address_to_string): new function
  2326. - (print_vpn_config): use ip_address_to_string
  2327. - (merge_vpn_routes): add user-defined routes to the ip4 config
  2328. - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
  2329. * include/NetworkManagerVPN.h
  2330. - Add 'routes' key
  2331. 2008-06-05 Dan Williams <dcbw@redhat.com>
  2332. Patch from Markus Becker <mab@comnets.uni-bremen.de>
  2333. * test/nm-tool.c
  2334. - Show which device is the default device
  2335. 2008-06-05 Tambet Ingo <tambet@gmail.com>
  2336. Fix memory leaks.
  2337. * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
  2338. Free data returned from dbus method call.
  2339. * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
  2340. dbus_g_method_get_sender() returns a duplicated string, free it
  2341. when done.
  2342. (check_polkit_privileges): Looks like policykit sometimes returns
  2343. error and non-null return value, don't leak errors in that case.
  2344. * system-settings/src/main.c (find_plugin): Don't leak existing
  2345. plugin names.
  2346. (load_stuff): Don't leak device list and list items.
  2347. (have_connection_for_device): Don't leak connection list.
  2348. * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
  2349. Free the data received from g_keyfile_get_*.
  2350. * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
  2351. the key when the security object is updated.
  2352. * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
  2353. Free data returned from dbus method call.
  2354. (iface_state_cb): Ditto.
  2355. (add_network_cb): Ditto.
  2356. (nm_supplicant_interface_add_cb): Don't make another copy of already
  2357. duplicated object path.
  2358. (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
  2359. when done.
  2360. * src/supplicant-manager/nm-supplicant-config.c
  2361. (ADD_STRING_LIST_VAL): Fix a memory leak.
  2362. * src/nm-manager.c (free_get_settings_info): Free the allocated
  2363. memory slice.
  2364. (list_connections_cb): Free data returned from dbus method call.
  2365. (system_settings_get_unmanaged_devices_cb): Ditto.
  2366. * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
  2367. * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
  2368. * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
  2369. * src/backends/shvar.c (svCloseFile): Free the duplicated content
  2370. of the GList.
  2371. * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
  2372. arguments after the object is created.
  2373. 2008-06-04 Dan Williams <dcbw@redhat.com>
  2374. * libnm-util/Makefile.am
  2375. - Don't distribute nm-param-spec-specialized.h
  2376. 2008-06-02 Tambet Ingo <tambet@gmail.com>
  2377. * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
  2378. * src/nm-ip4-config.[ch]: Store the static routes as a list of
  2379. NMIP4Address, update the getters and setters.
  2380. * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
  2381. Use the updated NMIP4Config routes api.
  2382. * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
  2383. static routes as well.
  2384. * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
  2385. (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
  2386. routes api.
  2387. 2008-05-30 Dan Williams <dcbw@redhat.com>
  2388. * src/named-manager/nm-named-manager.c
  2389. src/named-manager/nm-named-manager.h
  2390. - Remove stale/obsolete bits for controlling bind over DBus
  2391. 2008-05-29 Dan Williams <dcbw@redhat.com>
  2392. * src/dnsmasq-manager/nm-dnsmasq-manager.c
  2393. src/dnsmasq-manager/nm-dnsmasq-manager.h
  2394. - (nm_dnsmasq_manager_new): move iface argument here
  2395. - (constructor): remove, not needed
  2396. - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
  2397. nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
  2398. * src/nm-device.c
  2399. - (real_act_stage4_get_ip4_config,
  2400. nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
  2401. changes
  2402. 2008-05-29 Dan Williams <dcbw@redhat.com>
  2403. * src/nm-device.c
  2404. - (dnsmasq_state_changed_cb): new function; fail the connection if
  2405. something happens to dnsmasq
  2406. - (nm_device_new_ip4_shared_config): new function; create a new
  2407. ip4-config for shared connections. Shared connections always use a
  2408. fixed static IP address.
  2409. - (real_act_stage4_get_ip4_config): handle shared connections; fix
  2410. autoip connections by actually using the returned ip4-config and
  2411. not leaking it
  2412. - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
  2413. connections
  2414. - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
  2415. if its active
  2416. 2008-05-29 Dan Williams <dcbw@redhat.com>
  2417. * src/nm-device-802-11-wireless.c
  2418. - (real_get_best_auto_connection): auto-activate 'shared' method
  2419. connections too
  2420. 2008-05-29 Dan Williams <dcbw@redhat.com>
  2421. * libnm-util/nm-setting-ip4-config.c
  2422. libnm-util/nm-setting-ip4-config.h
  2423. - Add a 'shared' method to indicate that this connection should be
  2424. brought up with a DHCP and proxy DNS server to facilitate
  2425. connection sharing.
  2426. - (verify): 'shared' method doesn't allow DNS or searches either
  2427. 2008-05-29 Dan Williams <dcbw@redhat.com>
  2428. * configure.in
  2429. src/Makefile.am
  2430. src/dnsmasq-manager/Makefile.am
  2431. src/dnsmasq-manager/nm-dnsmasq-manager.c
  2432. src/dnsmasq-manager/nm-dnsmasq-manager.h
  2433. - Add a dnsmasq daemon manager to facilitate connection sharing
  2434. 2008-05-29 Dan Williams <dcbw@redhat.com>
  2435. * src/nm-device-private.h
  2436. - Remove unused prototypes and clean up
  2437. * src/nm-device.c
  2438. - Remove anything related to system_config_data, which is no longer used
  2439. - (nm_device_new_ip4_autoip_config): make static
  2440. 2008-05-29 Tambet Ingo <tambet@gmail.com>
  2441. * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
  2442. (file_changed): Fix a bug where suse system settings plugin didn't
  2443. update the connections automatically when the files changed.
  2444. 2008-05-28 Dan Williams <dcbw@redhat.com>
  2445. Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
  2446. 2008-05-28 Dan Williams <dcbw@redhat.com>
  2447. Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
  2448. * src/NetworkManagerSystem.c
  2449. - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
  2450. - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
  2451. was causing -EINVAL errors since the libnl code actually does flush
  2452. the routes on VPN interfaces now
  2453. * src/backends/NetworkManagerArch.c
  2454. src/backends/NetworkManagerDebian.c
  2455. src/backends/NetworkManagerFrugalware.c
  2456. src/backends/NetworkManagerGeneric.c
  2457. src/backends/NetworkManagerGentoo.c
  2458. src/backends/NetworkManagerMandriva.c
  2459. src/backends/NetworkManagerPaldo.c
  2460. src/backends/NetworkManagerRedHat.c
  2461. src/backends/NetworkManagerSlackware.c
  2462. src/backends/NetworkManagerSuSE.c
  2463. - (nm_system_device_flush_ip4_routes,
  2464. nm_system_device_flush_ip4_routes_with_iface): remove
  2465. 2008-05-28 Dan Williams <dcbw@redhat.com>
  2466. * libnm-util/nm-setting-wireless.c
  2467. libnm-util/nm-setting-wireless.h
  2468. - (set_property, get_property, nm_setting_wireless_class_init): add the
  2469. 'adhoc-create' property, which when TRUE indicates that NM should
  2470. create this connection as an adhoc wifi network if it's not found
  2471. as an adhoc network during scanning. Can be used to auto-create
  2472. adhoc networks when used in combination with autoconnect.
  2473. 2008-05-28 Tambet Ingo <tambet@gmail.com>
  2474. Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
  2475. * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
  2476. checked, it doesn't work on some devices.
  2477. 2008-05-28 Tambet Ingo <tambet@gmail.com>
  2478. * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
  2479. pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
  2480. * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
  2481. Use inet_aton() everywhere to improve error detection.
  2482. Don't fall back to 'dhcp_server_identifier' if the gateway is not
  2483. provided.
  2484. 2008-05-26 Tambet Ingo <tambet@gmail.com>
  2485. * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
  2486. Fix a typo.
  2487. 2008-05-26 Tambet Ingo <tambet@gmail.com>
  2488. * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
  2489. reference counting issue.
  2490. 2008-05-23 Dan Williams <dcbw@redhat.com>
  2491. Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
  2492. * src/backends/NetworkManagerGeneric.c
  2493. - (nm_generic_enable_loopback): use libnl
  2494. 2008-05-23 Dan Williams <dcbw@redhat.com>
  2495. Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
  2496. * src/NetworkManagerSystem.h
  2497. src/backends/NetworkManagerArch.c
  2498. src/backends/NetworkManagerDebian.c
  2499. src/backends/NetworkManagerFrugalware.c
  2500. src/backends/NetworkManagerGentoo.c
  2501. src/backends/NetworkManagerMandriva.c
  2502. src/backends/NetworkManagerPaldo.c
  2503. src/backends/NetworkManagerRedHat.c
  2504. src/backends/NetworkManagerSlackware.c
  2505. src/backends/NetworkManagerSuSE.c
  2506. - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
  2507. nm_system_flush_arp_cache): remove, unused
  2508. * src/backends/NetworkManagerGeneric.c
  2509. src/backends/NetworkManagerGeneric.h
  2510. - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
  2511. nm_generic_flush_arp_cache): remove, unused
  2512. 2008-05-23 Dan Williams <dcbw@redhat.com>
  2513. * system-settings/plugins/ifcfg-fedora/reader.c
  2514. - (make_ip4_setting): honor PEERDNS setting
  2515. 2008-05-23 Dan Williams <dcbw@redhat.com>
  2516. Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
  2517. * src/NetworkManagerSystem.c
  2518. - (nm_system_device_flush_ip4_addresses_with_iface): implement with
  2519. libnl
  2520. * src/backends/NetworkManagerArch.c
  2521. src/backends/NetworkManagerDebian.c
  2522. src/backends/NetworkManagerFrugalware.c
  2523. src/backends/NetworkManagerGentoo.c
  2524. src/backends/NetworkManagerMandriva.c
  2525. src/backends/NetworkManagerPaldo.c
  2526. src/backends/NetworkManagerRedHat.c
  2527. src/backends/NetworkManagerSlackware.c
  2528. src/backends/NetworkManagerSuSE.c
  2529. - (nm_system_device_flush_ip4_addresses,
  2530. nm_system_device_flush_ip4_addresses_with_iface): remove
  2531. * src/backends/NetworkManagerGeneric.c
  2532. - (nm_generic_device_flush_ip4_addresses,
  2533. nm_generic_device_flush_ip4_addresses_with_iface): remove
  2534. 2008-05-23 Dan Williams <dcbw@redhat.com>
  2535. * src/supplicant-manager/nm-supplicant-settings-verify.c
  2536. - Switch 'bssid' from bytes to keyword type
  2537. - (validate_type_keyword): allow NULL keyword lists
  2538. * src/supplicant-manager/nm-supplicant-config.c
  2539. - (nm_supplicant_config_add_setting_wireless): convert the bssid from
  2540. a byte array to string form, which is what the supplicant expects
  2541. 2008-05-23 Tambet Ingo <tambet@gmail.com>
  2542. Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
  2543. information received from DHCP.
  2544. * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
  2545. to make it possible to ignore the DNS information (both servers and
  2546. searches) returned by DHCP server.
  2547. * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
  2548. name servers and searches if "ignore_dhcp_dns" is set.
  2549. * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
  2550. (nm_ip4_config_reset_searches): Implement.
  2551. 2008-05-22 Dan Williams <dcbw@redhat.com>
  2552. Remove anything mDNS related. This is better done from a distro-specific
  2553. dispatcher script. Plus, any distro using avahi doesn't need to restart
  2554. avahi, since avahi can handle interface changes just fine using netlink.
  2555. * configure.in
  2556. - Remove --with-mdns-provider
  2557. * src/NetworkManagerPolicy.c
  2558. - (global_state_changed): don't restart the mdns provider
  2559. * src/NetworkManagerSystem.h
  2560. src/backends/NetworkManagerArch.c
  2561. src/backends/NetworkManagerDebian.c
  2562. src/backends/NetworkManagerFrugalware.c
  2563. src/backends/NetworkManagerGentoo.c
  2564. src/backends/NetworkManagerMandriva.c
  2565. src/backends/NetworkManagerPaldo.c
  2566. src/backends/NetworkManagerRedHat.c
  2567. src/backends/NetworkManagerSlackware.c
  2568. src/backends/NetworkManagerSuSE.c
  2569. - (nm_system_restart_mdns_responder): remove
  2570. * src/backends/NetworkManagerGeneric.c
  2571. src/backends/NetworkManagerGeneric.h
  2572. - (nm_generic_restart_mdns_responder): remove
  2573. 2008-05-22 Dan Williams <dcbw@redhat.com>
  2574. * configure.in
  2575. - clean up crypto options; just use --with-crypto=nss or
  2576. --with-crypto=gnutls
  2577. 2008-05-22 Tambet Ingo <tambet@gmail.com>
  2578. * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
  2579. anymore, do it right away.
  2580. 2008-05-22 Tambet Ingo <tambet@gmail.com>
  2581. * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
  2582. serial device open when we're not connecting or connected.
  2583. * src/nm-cdma-device.c (device_state_changed): Ditto.
  2584. 2008-05-22 Tambet Ingo <tambet@gmail.com>
  2585. Don't remove all devices on waking up, sync with HAL.
  2586. * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
  2587. (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
  2588. (hal_manager_hal_reappeared_cb): Just call sync_devices.
  2589. 2008-05-21 Tambet Ingo <tambet@gmail.com>
  2590. * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
  2591. If the default gateway is unreachable, add a route to gateway and try
  2592. again.
  2593. 2008-05-20 Dan Williams <dcbw@redhat.com>
  2594. * system-settings/plugins/ifcfg-fedora/reader.c
  2595. - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
  2596. 2008-05-19 Dan Williams <dcbw@redhat.com>
  2597. * system-settings/plugins/ifcfg-fedora/reader.c
  2598. - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
  2599. if the ifcfg doesn't specify one (rh #446527)
  2600. 2008-05-19 Dan Williams <dcbw@redhat.com>
  2601. Make the system settings service exit when the bus goes away. Since it's
  2602. a bus-activated service, it's lifetime is limited to the bus that activated
  2603. it (rh #444976).
  2604. * system-settings/src/Makefile.am
  2605. system-settings/src/nm-system-config-hal-manager-private.h
  2606. - Remove nm-system-config-hal-manager-private.h
  2607. * system-settings/src/nm-system-config-hal-manager.c
  2608. - (nm_system_config_hal_manager_reinit_dbus,
  2609. nm_system_config_hal_manager_deinit_dbus): remove
  2610. * system-settings/src/main.c
  2611. - (dbus_reconnect): remove
  2612. - (dbus_cleanup): don't tell the HAL manager to deinit dbus
  2613. - (destroy_cb): just quit when the bus goes away
  2614. - (start_dbus_service, dbus_init): simplify
  2615. - (main): destroy the wired devices hash table after destroying
  2616. the HAL manager so we don't have to disconnect signals from the
  2617. HAL manager
  2618. 2008-05-15 Tambet Ingo <tambet@gmail.com>
  2619. Move crypto functions from nm-applet to libnm-util.
  2620. * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
  2621. (nm_setting_802_1x_set_client_cert)
  2622. (nm_setting_802_1x_set_phase2_ca_cert)
  2623. (nm_setting_802_1x_set_phase2_client_cert)
  2624. (nm_setting_802_1x_set_private_key)
  2625. (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
  2626. file (or private key and it's password), read the certificate data.
  2627. * libnm-util/crypto_nss.c:
  2628. * libnm-util/crypto_gnutls.c:
  2629. * libnm-util/crypto.[ch]: Move here from nm-applet.
  2630. * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
  2631. * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
  2632. Imlement WPA-EAP configuration reading from sysconfig.
  2633. 2008-05-16 Dan Williams <dcbw@redhat.com>
  2634. * src/nm-device-802-11-wireless.c
  2635. - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
  2636. wireless
  2637. 2008-05-14 Dan Williams <dcbw@redhat.com>
  2638. Fix Linus' bug in rh #134886
  2639. * src/nm-device-802-3-ethernet.c
  2640. - (constructor): request initial carrier state
  2641. * src/nm-netlink-monitor.c
  2642. - (nm_netlink_monitor_request_status): schedule emission of carrier
  2643. signals after refilling the link cache. Because the refill is a
  2644. synchronous operation, the normal message hander won't get called
  2645. since libnl has already consumed the messages.
  2646. - (deferred_emit_carrier_state): emit carrier states from an idle handler
  2647. 2008-05-14 Dan Williams <dcbw@redhat.com>
  2648. * src/NetworkManagerSystem.c
  2649. - (nm_system_device_is_up_with_iface): clean up
  2650. 2008-05-13 Dan Williams <dcbw@redhat.com>
  2651. Fix refcounting issues over sleep/wake when a VPN connection was active that
  2652. caused NM to try registering an object path for a device upon wake that was
  2653. the same as an already registered object path.
  2654. * src/nm-device.c
  2655. - (nm_device_take_down): properly handle cases where the device is
  2656. no longer active but was just active, and therefore must be
  2657. deactivated. When a device moves to unmanaged mode, this function
  2658. previously would not deactivate the device, because the state was
  2659. already unmanaged by the time this function was called.
  2660. * src/vpn-manager/nm-vpn-connection.c
  2661. - (device_state_changed): properly handle multiple devices states in
  2662. which the device is now deactivated. Code previously didn't handle
  2663. transitions to the UNAVAILABLE (like rfkill or carrier off) and
  2664. UNMANAGED states.
  2665. 2008-05-13 Dan Williams <dcbw@redhat.com>
  2666. * src/nm-device-private.h
  2667. src/nm-device.c
  2668. - (nm_device_hw_bring_up, nm_device_hw_take_down): export
  2669. * src/nm-device-802-11-wireless.c
  2670. - (nm_device_802_11_wireless_set_enabled): take devices up
  2671. and down as appropriate for the rfkill state
  2672. 2008-05-13 Dan Williams <dcbw@redhat.com>
  2673. * marshallers/nm-marshal.list
  2674. - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
  2675. * system-settings/plugins/ifcfg-fedora/Makefile.am
  2676. system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
  2677. system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
  2678. - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
  2679. events. Solely for use watching ifcfg files to pick up changes
  2680. to their hardlinks, since GIO doesn't support this yet (bgo #532815)
  2681. * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
  2682. - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
  2683. file contents change
  2684. - (finalize): clean up inotify watches
  2685. - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
  2686. and the connection ifcfg for changes on their hardlinks
  2687. - (files_changed_cb): proxy the changed signal back out to listeners
  2688. * system-settings/plugins/ifcfg-fedora/plugin.c
  2689. - (dir_changed):
  2690. - (connection_ifcfg_changed): re-read the connection when the ifcfg
  2691. changes
  2692. - (read_one_connection): connect to change signals on the new connection
  2693. - (dir_changed, connection_changed_handler,
  2694. handle_connection_remove_or_new): break out connection change
  2695. handling and connection new/remove handling so it can be used from
  2696. both the GFileMonitor callback and the NMIfcfgConnection changed
  2697. signals
  2698. * system-settings/plugins/ifcfg-fedora/reader.c
  2699. system-settings/plugins/ifcfg-fedora/reader.h
  2700. - (connection_from_file): return the keyfile path the connection would use
  2701. 2008-05-13 Tambet Ingo <tambet@gmail.com>
  2702. * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
  2703. single PolKitContext which is shared by all. PolKitContext::unref leaks
  2704. just about everything, including all open file descriptiors and results
  2705. in 99% cpu usage when data arrives to any of the fds that don't belong
  2706. to any context anymore.
  2707. 2008-05-12 Dan Williams <dcbw@redhat.com>
  2708. * gfilemonitor/glocaldirectorymonitor.c
  2709. gfilemonitor/glocaldirectorymonitor.h
  2710. - (g_local_directory_monitor_constructor): actually subscribe to the
  2711. watch
  2712. - (_g_local_directory_monitor_new): ensure that inotify is started up
  2713. * gfilemonitor/glocalfilemonitor.c
  2714. gfilemonitor/glocalfilemonitor.h
  2715. - (g_local_file_monitor_constructor): actually subscribe to the watch
  2716. - (_g_local_file_monitor_new): ensure that inotify is started up
  2717. 2008-05-11 Dan Williams <dcbw@redhat.com>
  2718. * configure.in
  2719. - record PolicyKit version
  2720. * system-settings/src/nm-polkit-helpers.c
  2721. - (check_polkit_privileges): use polkit_context_can_caller_do_action()
  2722. with PolicyKit <= 0.6
  2723. 2008-05-11 Dan Williams <dcbw@redhat.com>
  2724. Update Fedora system-settings plugin to support latest API and use
  2725. GFileMonitor rather than home-rolled inotify code.
  2726. * system-settings/plugins/ifcfg-fedora/Makefile.am
  2727. system-settings/plugins/ifcfg-fedora/common.h
  2728. system-settings/plugins/ifcfg-fedora/plugin.c
  2729. - Update to latest system settings plugin API; use GIO instead of
  2730. custom inotify code; use NMIfcfgConnection objects instead of
  2731. ConnectionData structures tacked onto NMConnection objects
  2732. * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
  2733. system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
  2734. - Implement an NMExportedConnection subclass mapping ifcfg files to
  2735. connections
  2736. * system-settings/plugins/ifcfg-fedora/reader.c
  2737. system-settings/plugins/ifcfg-fedora/reader.h
  2738. - Move ifcfg parsing bits here from parser.c
  2739. * system-settings/plugins/ifcfg-fedora/parser.c
  2740. system-settings/plugins/ifcfg-fedora/parser.h
  2741. - Remove; most code moved to reader.c
  2742. 2008-05-11 Dan Williams <dcbw@redhat.com>
  2743. * configure.in
  2744. Makefile.am
  2745. gfilemonitor/*
  2746. - Add a private copy of the GIO GFileMonitor code, with a custom GFile
  2747. implementation, so that the same change monitoring code can be used
  2748. on systems without glib-2.14 (like Fedora 8)
  2749. * system-settings/plugins/keyfile/Makefile.am
  2750. system-settings/plugins/keyfile/plugin.c
  2751. system-settings/plugins/ifcfg-suse/Makefile.am
  2752. system-settings/plugins/ifcfg-suse/plugin.c
  2753. - Use private gfilemonitor code if GIO is not present
  2754. 2008-05-09 Tambet Ingo <tambet@gmail.com>
  2755. * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
  2756. NMExportedConnection's 'update' and 'delete' and return error with
  2757. descriptive message.
  2758. 2008-05-08 Dan Williams <dcbw@redhat.com>
  2759. Patch from Markus Becker <mab@comnets.uni-bremen.de>
  2760. * src/nm-gsm-device.c
  2761. src/nm-cdma-device.c
  2762. - (real_get_best_auto_connection): implement; allow autoconnection
  2763. to GSM & CDMA devices
  2764. 2008-05-08 Tambet Ingo <tambet@gmail.com>
  2765. Use PolicyKit to authorize the system settings' AddConnection method
  2766. and the system settings connections' Update and Delete methods.
  2767. * libnm-glib/nm-settings.c (impl_exported_connection_update)
  2768. (impl_exported_connection_delete, nm_exported_connection_update)
  2769. (nm_exported_connection_delete): Return boolean and fill GError
  2770. to notify the callers of the reasons why it might have failed.
  2771. * libnm-glib/nm-dbus-settings-system.c
  2772. (nm_dbus_settings_system_add_connection): Return the error from dbus
  2773. call so that the callers can see why it failed.
  2774. * libnm-glib/nm-dbus-connection.c (update, delete): Update the
  2775. signatures.
  2776. * system-settings/src/nm-polkit-helpers.[ch]: Implement.
  2777. * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
  2778. abstract base class that checks PolicyKit permissions.
  2779. * system-settings/src/dbus-settings.c:
  2780. (impl_settings_add_connection): Check the policy before carring out
  2781. the request.
  2782. * system-settings/plugins/keyfile/nm-keyfile-connection.c:
  2783. Inherit from NMSysconfigConnection, check the policies before
  2784. allowing updating or removing.
  2785. * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
  2786. Inherit from NMSysconfigConnection.
  2787. * introspection/nm-exported-connection.xml: Annotate "Update" and
  2788. "Delete" methods with async flag so that the implementations can get
  2789. access to DBusGMethodInvocation.
  2790. * system-settings/src/dbus-settings.c
  2791. (settings_add_connection_check_privileges): Implement.
  2792. (impl_settings_add_connection): Check the privileges before adding a new
  2793. connection. Improve error reporting.
  2794. * introspection/nm-settings-system.xml: Make the 'AddConnection' method
  2795. async so that the implementation can access DBusGMethodInvocation.
  2796. * configure.in: Check for PolicyKit.
  2797. * policy/org.freedesktop.network-manager-settings.system.policy:
  2798. New file.
  2799. * policy/Makefile.am: Install the policy file.
  2800. * configure.in: Add 'policy' subdir.
  2801. 2008-05-08 Tambet Ingo <tambet@gmail.com>
  2802. Rewrite the suse system settings plugin.
  2803. * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
  2804. * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
  2805. * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
  2806. * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
  2807. * system-settings/src/dbus-settings.c: Fix connection reference counting.
  2808. * system-settings/src/main.c (load_plugins): Improve error reporting.
  2809. * system-settings/src/sha1.[ch] Add.
  2810. * system-settings/src/Makefile.am: Add sha1[ch] to build.
  2811. 2008-05-07 Dan Williams <dcbw@redhat.com>
  2812. * system-settings/plugins/keyfile/reader.c
  2813. - (read_one_setting_value): handle IP address items separately
  2814. - (read_array_of_uint): read IPv4 DNS option as a string array
  2815. - (read_array_of_array_of_uint): read IPv4 address tuples as a string
  2816. array
  2817. * system-settings/plugins/keyfile/writer.c
  2818. - (write_setting_value): handle IP address items separately
  2819. - (write_array_of_uint): handle IPv4 DNS option as a string array,
  2820. not an array of uint, so that it's user-editable
  2821. - (write_array_of_array_of_uint): handle IPv4 address tuples as string
  2822. arrays, so they are user-editable
  2823. 2008-05-07 Dan Williams <dcbw@redhat.com>
  2824. * system-settings/plugins/keyfile/Makefile.am
  2825. - Change location of the keyfile plugin settings to
  2826. /etc/NetworkManager/system-connections
  2827. 2008-05-05 Tambet Ingo <tambet@gmail.com>
  2828. * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
  2829. * system-settings/plugins/keyfile/plugin.c: Work with
  2830. NMKeyfileConnections.
  2831. * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
  2832. Plugins are supposed to return NMExportedConnections now and handle the
  2833. updated(), removed(), and GetSecrets().
  2834. Store the internal list of connections in hash table to make it easier
  2835. to find duplicates.
  2836. 2008-05-07 Tambet Ingo <tambet@gmail.com>
  2837. * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
  2838. for multiple IP addresses.
  2839. 2008-05-07 Tambet Ingo <tambet@gmail.com>
  2840. Patch from André Lemos.
  2841. * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
  2842. corruption.
  2843. 2008-05-06 Dan Williams <dcbw@redhat.com>
  2844. * src/dhcp-manager/nm-dhcp-manager.c
  2845. - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
  2846. NMIP4Config to support multiple IP addresses
  2847. * src/NetworkManagerUtils.c
  2848. - (nm_utils_merge_ip4_config): update for multiple IP addresses
  2849. * src/nm-ip4-config.c
  2850. src/nm-ip4-config.h
  2851. - Store a list of IPv4 address/netmask/gateway tuples
  2852. - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
  2853. nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
  2854. nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
  2855. nm_ip4_config_set_address): remove
  2856. - (nm_ip4_config_take_address, nm_ip4_config_add_address,
  2857. nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
  2858. new functions; handle multiple IPv4 addresses
  2859. * src/nm-device.c
  2860. src/ppp-manager/nm-ppp-manager.c
  2861. src/vpn-manager/nm-vpn-connection.c
  2862. src/NetworkManagerPolicy.c
  2863. test/nm-tool.c
  2864. libnm-glib/libnm-glib-test.c
  2865. - update for changes to NMIP4Config for multiple IPv4 addresses
  2866. * src/NetworkManagerSystem.c
  2867. - (nm_system_device_set_ip4_route): don't add the route if any address
  2868. is on the same subnet as the destination
  2869. - (check_one_address): ignore the exact match, just match family and
  2870. interface index
  2871. - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
  2872. an interface
  2873. - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
  2874. - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
  2875. * introspection/nm-ip4-config.xml
  2876. - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
  2877. - Add 'addresses' property which is an array of (uuu) tuples of
  2878. address/netmask/gateway
  2879. * libnm-util/nm-setting-ip4-config.c
  2880. - (set_property): use ip-address <-> GValue converters from nm-utils.c
  2881. * libnm-glib/nm-ip4-config.c
  2882. libnm-glib/nm-ip4-config.h
  2883. - Handle D-Bus interface changes to support multiple IP addresses
  2884. 2008-05-06 Dan Williams <dcbw@redhat.com>
  2885. * libnm-util/nm-utils.c
  2886. libnm-util/nm-utils.h
  2887. - (nm_utils_ip4_addresses_from_gvalue,
  2888. nm_utils_ip4_addresses_to_gvalue): new functions
  2889. 2008-05-06 Tambet Ingo <tambet@gmail.com>
  2890. * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
  2891. the returned connection paths.
  2892. 2008-05-05 Tambet Ingo <tambet@gmail.com>
  2893. * libnm-glib/nm-dbus-settings.c (constructor): Fix the
  2894. "PropertiesChanged" signal signature.
  2895. * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
  2896. defined in nm-dbus-glib-types.h.
  2897. Don't register the connection on dbus, we're a proxy class to
  2898. communicate with an already registered connection over dbus.
  2899. 2008-04-30 Tambet Ingo <tambet@gmail.com>
  2900. Implement new subclasses of NMSettings and NMExportedConnection to make
  2901. it easier for the applet to access and modify system settings.
  2902. * libnm-glib/nm-dbus-connection.[ch]:
  2903. * libnm-glib/nm-dbus-settings.[ch]:
  2904. * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
  2905. * libnm-glib/Makefile.am: Add the new files to build, generate some more
  2906. bindings and glue.
  2907. * include/NetworkManager.h: Define the system settings DBus interface.
  2908. 2008-04-30 Tambet Ingo <tambet@gmail.com>
  2909. Implement additional C API for exported connections to make them identical
  2910. with the DBus API. Change the (list_connections) virtual function to be
  2911. more usable from C - instead of requiring implementers to return a GPtrArray
  2912. of dbus paths, return a list of connections.
  2913. * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
  2914. (nm_settings_list_connections):
  2915. (nm_exported_connection_new):
  2916. (nm_exported_connection_update):
  2917. (nm_exported_connection_delete): Implement.
  2918. (impl_settings_list_connections):
  2919. (impl_exported_connection_update):
  2920. (impl_exported_connection_delete): Use the new public functions to make
  2921. sure the C and dbus interfaces stay in sync.
  2922. * system-settings/src/dbus-settings.c (list_connections): Return a list of
  2923. connections.
  2924. 2008-05-02 Dan Williams <dcbw@redhat.com>
  2925. * system-settings/plugins/ifcfg-fedora/plugin.c
  2926. - (dispose): use right unref call on the DBusGConnection
  2927. 2008-05-02 Dan Williams <dcbw@redhat.com>
  2928. * src/nm-serial-device.c
  2929. - (find_terminator): don't compare the whole line, just the size of the
  2930. terminator, since some modems put stuff after the terminator, like
  2931. "CONNECT 9600"
  2932. 2008-05-01 Dan Williams <dcbw@redhat.com>
  2933. Patch from Michael Biebl <biebl@debian.org>
  2934. * callouts/Makefile.am
  2935. callouts/org.freedesktop.nm_dispatcher.service.in
  2936. system-settings/src/Makefile.am
  2937. system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
  2938. - use the right install location for dbus-activated stuff
  2939. 2008-04-30 Dan Williams <dcbw@redhat.com>
  2940. * src/nm-gsm-device.c
  2941. - (enter_pin): fix setting name passed to applets when asking for a GSM
  2942. PIN or PUK
  2943. 2008-04-30 Dan Williams <dcbw@redhat.com>
  2944. * src/nm-manager.c
  2945. - (nm_manager_error_get_type): remove erroneous NULL enum from table
  2946. 2008-04-30 Dan Williams <dcbw@redhat.com>
  2947. * src/nm-device-802-3-ethernet.c
  2948. src/nm-device-802-11-wireless.c
  2949. - (real_is_up): return true instead of chaining up to unimplemented
  2950. parent method
  2951. 2008-04-30 Dan Williams <dcbw@redhat.com>
  2952. * src/NetworkManagerSystem.c
  2953. src/NetworkManagerSystem.h
  2954. - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
  2955. functions to check device flags for IFF_UP
  2956. * src/nm-serial-device.c
  2957. - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
  2958. implement is_up
  2959. * src/nm-device-802-3-ethernet.c
  2960. src/nm-device-802-11-wireless.c
  2961. - (real_hw_is_up): call nm_system_device_is_up()
  2962. * src/nm-device.c
  2963. - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
  2964. - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
  2965. does not implement
  2966. 2008-04-29 Dan Williams <dcbw@redhat.com>
  2967. Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
  2968. * marshallers/nm-marshal.list
  2969. - Add marshaller
  2970. * src/NetworkManager.c
  2971. - (main): let the NMManager handle the NMHalManager
  2972. * src/nm-hal-manager.c
  2973. src/nm-hal-manager.h
  2974. - convert to a GObject, and emit singals when stuff changes. Let the
  2975. NMManager handle the signals, instead of the NMHalManager calling
  2976. into the NMManager.
  2977. * src/nm-manager.c
  2978. src/nm-manager.h
  2979. - (remove_one_device): consolidate device removals here
  2980. - (dispose): use remove_one_device()
  2981. - (nm_manager_get_device_by_udi): make static
  2982. - (deferred_hal_manager_query_devices): idle handler to query the HAL
  2983. manager for devices at startup or wakeup time
  2984. - (nm_manager_new): create and monitor the HAL manager
  2985. - (hal_manager_udi_added_cb): new function; do what
  2986. nm_manager_add_device() used to do when signalled by the hal manager
  2987. - (hal_manager_udi_removed_cb): new function; do what
  2988. nm_manager_remove_device() used to do when signalled by the hal
  2989. manager
  2990. - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
  2991. hal manager
  2992. - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
  2993. in our device list that aren't known to HAL
  2994. - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
  2995. see comments on nm-hal-manager.c::nm_manager_state_changed() a few
  2996. commits ago
  2997. - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
  2998. nm_manager_activation_pending, nm_manager_wireless_enabled,
  2999. nm_manager_wireless_hardware_enabled,
  3000. nm_manager_set_wireless_hardware_enabled): remove, unused
  3001. 2008-04-28 Dan Williams <dcbw@redhat.com>
  3002. Fix the device up/down ambiguities. Up/down state used to be a
  3003. conglomeration of hardware state (IFF_UP) and any device-specific things
  3004. (supplicant, periodic timers, etc) that the device used to indicate
  3005. readiness. Unfortunately, if the hardware was already IFF_UP for some
  3006. reason, then the device specific stuff wouldn't get run, and the device
  3007. would be stuck.
  3008. * src/nm-device.c
  3009. src/nm-device.h
  3010. - Create hw_is_up, hw_bring_up, and hw_take_down
  3011. - Rename bring_down -> take_down
  3012. - (real_hw_is_up): check interface flags for IFF_UP
  3013. - (nm_device_hw_is_up): let subclasses figure out their own HW state
  3014. - (nm_device_is_up): make static; only used locally
  3015. - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
  3016. if the device is already up; if the device isn't up, bring it up
  3017. - (nm_device_hw_take_down): just take down hardware
  3018. - (nm_device_bring_up): bring up HW first, then device specific stuff
  3019. - (nm_device_take_down): always deactivate device when called; always
  3020. try to take hardware down too
  3021. - (nm_device_state_changed): take device down when entering unmanaged
  3022. state from a higher state
  3023. * src/nm-device-802-11-wireless.c
  3024. - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
  3025. check IFF_UP really
  3026. - (real_take_down, supplicant_iface_state_cb_handler,
  3027. supplicant_iface_connection_state_cb_handler,
  3028. supplicant_mgr_state_cb_handler): fix some messages
  3029. * src/nm-device-802-3-ethernet.c
  3030. - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
  3031. check IFF_UP really
  3032. 2008-04-28 Dan Williams <dcbw@redhat.com>
  3033. * src/nm-manager.c
  3034. src/nm-manager.h
  3035. - (nm_manager_error_get_type): add new error
  3036. - (nm_manager_remove_device): don't bother taking down the device here,
  3037. the state change from unmanaging the device will do it
  3038. - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
  3039. uses it; when going to sleep, just unmanage the device instead of
  3040. taking it down, because stuff will cleaned up correctly when the
  3041. device gets unmanaged
  3042. 2008-04-28 Dan Williams <dcbw@redhat.com>
  3043. * src/nm-hal-manager.c
  3044. - (add_initial_devices): convert to a GSourceFunc prototype
  3045. - (nm_manager_state_changed): when coming out of sleep, punt the
  3046. device re-addition to an idle handler to let D-Bus events go out
  3047. first, fixing a potential dbus-glib assert if the old device was
  3048. not yet disposed (due to references held while emitting the D-Bus
  3049. signals) but the new device was found, because the mainloop didn't
  3050. run between signal emission and add_initial_devices()
  3051. 2008-04-27 Dan Williams <dcbw@redhat.com>
  3052. Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
  3053. * initscript/paldo/NetworkManager.in
  3054. initscript/SUSE/networkmanager.in
  3055. - Remove last bits of dhcdbd
  3056. 2008-04-27 Dan Williams <dcbw@redhat.com>
  3057. * src/nm-device-802-11-wireless.c
  3058. - (link_timeout_cb): don't ask for secrets when disconnected during
  3059. association/authentication phase, drivers are still just too crappy
  3060. 2008-04-27 Dan Williams <dcbw@redhat.com>
  3061. * Makefile.am
  3062. configure.in
  3063. dispatcher-daemon/Makefile.am
  3064. dispatcher-daemon/NetworkManagerDispatcher.c
  3065. initscript/Arch/Makefile.am
  3066. initscript/Arch/networkmanager-dispatcher.in
  3067. initscript/Gentoo/Makefile.am
  3068. initscript/Gentoo/NetworkManagerDispatcher.in
  3069. initscript/Mandriva/Makefile.am
  3070. initscript/Mandriva/networkmanagerdispatcher.in
  3071. initscript/RedHat/Makefile.am
  3072. initscript/RedHat/NetworkManagerDispatcher.in
  3073. initscript/SUSE/Makefile.am
  3074. initscript/SUSE/networkmanager-dispatcher.in
  3075. initscript/Slackware/Makefile.am
  3076. initscript/Slackware/rc.networkmanager-dispatcher.in
  3077. initscript/paldo/Makefile.am
  3078. initscript/paldo/NetworkManagerDispatcher.in
  3079. man/Makefile.am
  3080. man/NetworkManagerDispatcher.8.in
  3081. - Remove the dispatcher daemon
  3082. 2008-04-27 Dan Williams <dcbw@redhat.com>
  3083. * callouts/Makefile.am
  3084. callouts/nm-dispatcher-action.c
  3085. callouts/nm-dispatcher-action.h
  3086. callouts/nm-dispatcher.conf
  3087. callouts/nm-dispatcher.xml
  3088. callouts/org.freedesktop.nm_dispatcher.service
  3089. - Re-implement the dispatcher as a system-bus activated service that
  3090. NM calls on-demand, rather than an always running daemon
  3091. * src/Makefile.am
  3092. - Add callouts dir to includes to pick up dispatcher defines
  3093. * src/nm-device.c
  3094. - (nm_device_state_changed): call dispatcher on device activated/
  3095. deactivated
  3096. * src/vpn-manager/nm-vpn-connection.c
  3097. - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
  3098. go up and down
  3099. * src/NetworkManagerUtils.c
  3100. src/NetworkManagerUtils.h
  3101. - (nm_utils_call_dispatcher): helper to call dispatcher
  3102. 2008-04-27 Dan Williams <dcbw@redhat.com>
  3103. * src/NetworkManagerUtils.c
  3104. src/NetworkManagerUtils.h
  3105. - remove unneeded includes
  3106. - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
  3107. nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
  3108. nm_timeval_cmp, nm_timeval_add): remove, unused
  3109. - clean up formatting
  3110. - (nm_spawn_process): de-uglify
  3111. * src/nm-device-802-11-wireless.c
  3112. - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
  3113. 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
  3114. * initscript/Gentoo/NetworkManager.in:
  3115. Fix for starting the daemon.
  3116. 2008-04-25 Dan Williams <dcbw@redhat.com>
  3117. Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
  3118. * src/NetworkManagerSystem.c
  3119. - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
  3120. 2008-04-25 Dan Williams <dcbw@redhat.com>
  3121. Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
  3122. * src/NetworkManagerSystem.c
  3123. - (nm_system_device_replace_default_ip4_route): new function; a libnl
  3124. implementation of nm_system_device_replace_default_route()
  3125. * src/NetworkManagerPolicy.c
  3126. - (update_default_route): use nm_system_device_replace_default_ip4_route()
  3127. * src/backends/NetworkManagerArch.c
  3128. src/backends/NetworkManagerDebian.c
  3129. src/backends/NetworkManagerFrugalware.c
  3130. src/backends/NetworkManagerGeneric.c
  3131. src/backends/NetworkManagerGeneric.h
  3132. src/backends/NetworkManagerGentoo.c
  3133. src/backends/NetworkManagerMandriva.c
  3134. src/backends/NetworkManagerPaldo.c
  3135. src/backends/NetworkManagerRedHat.c
  3136. src/backends/NetworkManagerSlackware.c
  3137. src/backends/NetworkManagerSuSE.c
  3138. - (nm_system_device_replace_default_route): remove
  3139. 2008-04-25 Dan Williams <dcbw@redhat.com>
  3140. Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
  3141. * src/NetworkManagerSystem.c
  3142. - (validate_ip4_route): remove; use nl_addr_parse() instead
  3143. - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
  3144. replace nm_system_device_add_route_via_device_with_iface() in the
  3145. backends
  3146. * src/backends/NetworkManagerArch.c
  3147. src/backends/NetworkManagerDebian.c
  3148. src/backends/NetworkManagerFrugalware.c
  3149. src/backends/NetworkManagerGeneric.c
  3150. src/backends/NetworkManagerGeneric.h
  3151. src/backends/NetworkManagerGentoo.c
  3152. src/backends/NetworkManagerMandriva.c
  3153. src/backends/NetworkManagerPaldo.c
  3154. src/backends/NetworkManagerRedHat.c
  3155. src/backends/NetworkManagerSlackware.c
  3156. src/backends/NetworkManagerSuSE.c
  3157. - Remove nm_system_device_add_route_via_device_with_iface()
  3158. 2008-04-25 Dan Williams <dcbw@redhat.com>
  3159. * system-settings/plugins/ifcfg-fedora/parser.c
  3160. - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
  3161. 2008-04-24 Dan Williams <dcbw@redhat.com>
  3162. * dispatcher-daemon/NetworkManagerDispatcher.c
  3163. - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
  3164. 2008-04-24 Dan Williams <dcbw@redhat.com>
  3165. * initscript/RedHat/NetworkManager.in
  3166. initscript/RedHat/NetworkManagerDispatcher.in
  3167. - Be active at runlevel 2
  3168. - Adjust priorities earlier
  3169. 2008-04-22 Dan Williams <dcbw@redhat.com>
  3170. * src/NetworkManagerPolicy.c
  3171. - (update_routing_and_dns): when checking for a gateway, look at the
  3172. composite IP4 config, not the connection's ip4-config setting, which
  3173. doesn't include DHCP-returned information
  3174. 2008-04-22 Tambet Ingo <tambet@gmail.com>
  3175. Implement GKeyFile system settings plugin.
  3176. Implement writing system settings (currently supported only by GKeyFile plugin).
  3177. * system-settings/src/main.c:
  3178. * system-settings/src/dbus-settings.c: Move the communication with plugins
  3179. from main.c to dbus-settings.c. Makes it possible to talk to all registered
  3180. plugins for adding/updating/removing connections.
  3181. * system-settings/src/nm-system-config-interface.c
  3182. (nm_system_config_interface_add_connection): Implement
  3183. (nm_system_config_interface_update_connection): Implement.
  3184. (nm_system_config_interface_remove_connection): Implement.
  3185. * system-settings/plugins/keyfile/Makefile.am:
  3186. * system-settings/plugins/keyfile/plugin.[ch]:
  3187. * system-settings/plugins/keyfile/writer.[ch]:
  3188. * system-settings/plugins/keyfile/reader.[ch]: Implement.
  3189. * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
  3190. * configure.in: Generate GKeyFile Makefile.
  3191. * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
  3192. corruption, need to duplicate the returned string.
  3193. (impl_exported_connection_update): Implement.
  3194. (impl_exported_connection_delete): Implement.
  3195. * introspection/nm-settings-system.xml: Add "AddConnection" method.
  3196. * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
  3197. 2008-04-22 Dan Williams <dcbw@redhat.com>
  3198. Patch from Charles R. Anderson (cra@wpi.edu)
  3199. * src/NetworkManagerPolicy.c
  3200. - (update_routing_and_dns): don't select devices without a gateway
  3201. as having the default route (rh #437338)
  3202. 2008-04-21 Dan Williams <dcbw@redhat.com>
  3203. * src/nm-activation-request.c
  3204. src/nm-activation-request.h
  3205. - (dispose): ensure to disconnect from the device's state-changed signal
  3206. when appropriate so the signal doesn't get handled by an already
  3207. disposed NMActRequest
  3208. - (device_state_changed): update is_default here too just to make sure
  3209. default is only True when the child device is activated
  3210. - (nm_act_request_set_default): new function
  3211. * src/NetworkManagerPolicy.c
  3212. - (update_routing_and_dns): set 'default' on the active connection which
  3213. has the default route and DNS
  3214. 2008-04-21 Dan Williams <dcbw@redhat.com>
  3215. * src/NetworkManagerPolicy.c
  3216. - (device_state_changed): update routing and DNS when a device goes
  3217. into unmanaged or unavailable states too (like rfkill or carrier loss)
  3218. 2008-04-21 Dan Williams <dcbw@redhat.com>
  3219. * include/NetworkManager.h
  3220. - Add NMActiveConnectionState enum
  3221. * introspection/nm-active-connection.xml
  3222. introspection/nm-vpn-connection.xml
  3223. - Add 'State' property for overall active connection state
  3224. - Add 'Default' property, when True means this active connection
  3225. has the default route
  3226. - Add PropertyChanged signals so changes actually go out over the bus
  3227. * src/nm-active-connection.h
  3228. - Add defines for State & Default properties
  3229. * src/nm-activation-request.c
  3230. - Add 'state' and 'default' properties, hook up to device 'state-changed'
  3231. signal to determine active connection state
  3232. * src/vpn-manager/nm-vpn-connection.c
  3233. src/vpn-manager/nm-vpn-connection.h
  3234. src/vpn-manager/nm-vpn-manager.c
  3235. src/vpn-manager/nm-vpn-service.c
  3236. - Rename old 'state' to 'vpn-state'
  3237. - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
  3238. - Add 'state' and 'default' properties, hook up to the vpn connection's
  3239. 'vpn-state-changed' signal
  3240. * libnm-glib/nm-active-connection.c
  3241. libnm-glib/nm-active-connection.h
  3242. - Add new 'state' and 'default' properties and accessors
  3243. * libnm-glib/nm-vpn-connection.c
  3244. libnm-glib/nm-vpn-connection.h
  3245. - Rename old 'state' property to 'vpn-state'
  3246. - Add new 'state' and 'default' properties and accessors
  3247. 2008-04-21 Dan Williams <dcbw@redhat.com>
  3248. * src/nm-ip4-config.c
  3249. - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
  3250. not specified (rh #443474)
  3251. 2008-04-20 Dan Williams <dcbw@redhat.com>
  3252. * src/NetworkManagerUtils.c
  3253. src/NetworkManagerUtils.h
  3254. - (nm_utils_merge_ip4_config): new function; merge settings from an
  3255. NMSettingIP4Config to an NMIP4Config object
  3256. * src/nm-device.c
  3257. - (merge_ip4_config): move to NetworkManagerUtils.c
  3258. * src/vpn-manager/nm-vpn-connection.c
  3259. - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
  3260. too
  3261. 2008-04-18 Dan Williams <dcbw@redhat.com>
  3262. * libnm-util/nm-setting-ppp.c
  3263. libnm-util/nm-setting-ppp.h
  3264. - Add 'no-vj-comp' option for TCP header compression
  3265. - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
  3266. uint32
  3267. 2008-04-18 Dan Williams <dcbw@redhat.com>
  3268. * libnm-util/nm-setting-ppp.c
  3269. libnm-util/nm-setting-ppp.h
  3270. src/ppp-manager/nm-ppp-manager.c
  3271. - Add 'refuse-pap' and 'refuse-mschapv2' options
  3272. 2008-04-18 Dan Williams <dcbw@redhat.com>
  3273. * libnm-util/nm-setting-ppp.c
  3274. libnm-util/nm-setting-ppp.h
  3275. src/ppp-manager/nm-ppp-manager.c
  3276. - Remove the 'usepeerdns' option and always request DNS servers from
  3277. the PPP server; the connection chooses to use/override/ignore the
  3278. DNS servers returned from the PPP server
  3279. 2008-04-18 Dan Williams <dcbw@redhat.com>
  3280. * libnm-util/nm-setting-ppp.c
  3281. libnm-util/nm-setting-ppp.h
  3282. src/ppp-manager/nm-ppp-manager.c
  3283. - Remove the 'require-mppc' option, because pppd doesn't support it and
  3284. it seems to have been an erroneous addition to the PPTP plugin in
  3285. the first place (from which the ppp-manager is derived)
  3286. 2008-04-17 Dan Williams <dcbw@redhat.com>
  3287. * libnm-util/nm-setting-pppoe.c
  3288. - (verify): require a PPP setting too
  3289. * src/ppp-manager/nm-ppp-manager.c
  3290. - (nm_ppp_manager_start): fail if no PPP setting is present instead of
  3291. segfaulting
  3292. 2008-04-17 Dan Williams <dcbw@redhat.com>
  3293. * src/nm-device.c
  3294. - (nm_device_state_changed): do deactivation and and promotion to
  3295. unavailable here, so that the device gets cleaned up before the
  3296. manager runs and starts emitting signals; do the
  3297. FAILED->DISCONNECTED transition from an idle handler rather than
  3298. immediately to guard against recursion
  3299. - (nm_device_deactivate_quickly, nm_device_dispose): stop the
  3300. FAILED->DISCONNECTED handler if it's scheduled
  3301. 2008-04-17 Dan Williams <dcbw@redhat.com>
  3302. * src/nm-device-802-11-wireless.c
  3303. - (state_changed_cb): clear AP list when device transitions to
  3304. unavailable or unmanaged
  3305. - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
  3306. since this is already done in device_cleanup()
  3307. - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
  3308. isn't available or managed
  3309. - (device_cleanup): use remove_all_aps()
  3310. - (remove_all_aps): consolidate code removing all APs
  3311. 2008-04-17 Dan Williams <dcbw@redhat.com>
  3312. * src/nm-serial-device.c
  3313. src/nm-serial-device.h
  3314. - (wait_for_reply_got_data): break input into lines, and search each
  3315. line for responses _and_ terminator strings; also make sure that
  3316. the read loop doesn't continue after the timeout is supposed to fire
  3317. - (nm_serial_device_wait_for_reply): take an array of terminators too
  3318. * src/nm-gsm-device.c
  3319. src/nm-cdma-device.c
  3320. - Send terminators to nm_serial_device_wait_for_reply()
  3321. 2008-04-16 Dan Williams <dcbw@redhat.com>
  3322. Patch from 陈鑫 <znscnchen@gmail.com>
  3323. * src/ppp-manager/nm-pppd-plugin.c
  3324. - (get_credentials): return correct value for success; handle case where
  3325. pppd just does some checking but doesn't want a password
  3326. - (plugin_init): make CHAP work too
  3327. 2008-04-16 Dan Williams <dcbw@redhat.com>
  3328. Patch from 陈鑫 <znscnchen@gmail.com>
  3329. * src/ppp-manager/nm-ppp-manager.c
  3330. - (create_pppd_cmd_line): fix argument generation when spawning pppd
  3331. 2008-04-16 Dan Williams <dcbw@redhat.com>
  3332. Patch from 陈鑫 <znscnchen@gmail.com>
  3333. * src/nm-device-802-3-ethernet.c
  3334. - (real_deactivate_quickly): clear the IP interface name on
  3335. deactivation, otherwise the wrong interface might get used later
  3336. for routing and IP management
  3337. 2008-04-15 Dan Williams <dcbw@redhat.com>
  3338. * libnm-glib/nm-device.c
  3339. - (get_product_and_vendor): handle serial devices correctly
  3340. - (nm_device_update_description): pass device to get_product_and_vendor()
  3341. 2008-04-15 Dan Williams <dcbw@redhat.com>
  3342. Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
  3343. * src/NetworkManagerSystem.h
  3344. src/backends/NetworkManagerArch.c
  3345. src/backends/NetworkManagerDebian.c
  3346. src/backends/NetworkManagerFrugalware.c
  3347. src/backends/NetworkManagerGeneric.c
  3348. src/backends/NetworkManagerGeneric.h
  3349. src/backends/NetworkManagerGentoo.c
  3350. src/backends/NetworkManagerMandriva.c
  3351. src/backends/NetworkManagerPaldo.c
  3352. src/backends/NetworkManagerRedHat.c
  3353. src/backends/NetworkManagerSlackware.c
  3354. src/backends/NetworkManagerSuSE.c
  3355. src/nm-device.c
  3356. - (nm_generic_device_add_ip6_link_address,
  3357. nm_system_device_add_ip6_link_address): remove
  3358. 2008-04-15 Dan Williams <dcbw@redhat.com>
  3359. Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
  3360. * src/backends/NetworkManagerArch.c
  3361. src/backends/NetworkManagerDebian.c
  3362. src/backends/NetworkManagerFrugalware.c
  3363. src/backends/NetworkManagerGeneric.c
  3364. src/backends/NetworkManagerGeneric.h
  3365. src/backends/NetworkManagerGentoo.c
  3366. src/backends/NetworkManagerMandriva.c
  3367. src/backends/NetworkManagerPaldo.c
  3368. src/backends/NetworkManagerRedHat.c
  3369. src/backends/NetworkManagerSlackware.c
  3370. src/backends/NetworkManagerSuSE.c
  3371. src/NetworkManagerSystem.h
  3372. - flush_routes -> flush_ip4_routes
  3373. - flush_addresses -> flush_ip4_addresses
  3374. * src/NetworkManagerSystem.c
  3375. src/nm-device.c
  3376. src/vpn-manager/nm-vpn-connection.c
  3377. - flush only IPv4 addresses; don't touch IPv6 routes and addresses
  3378. 2008-04-15 Dan Williams <dcbw@redhat.com>
  3379. Remove exposure of wireless-tools mode types in the API.
  3380. * include/NetworkManager.h
  3381. - Define NM80211Mode enum
  3382. * introspection/generic-types.xml
  3383. - Describe NM_802_11_MODE enum
  3384. - Remove IW_MODE_* enum
  3385. * introspection/nm-access-point.xml
  3386. libnm-glib/nm-access-point.c
  3387. libnm-glib/nm-access-point.h
  3388. - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
  3389. * introspection/nm-device-802-11-wireless.xml
  3390. libnm-glib/nm-device-802-11-wireless.c
  3391. libnm-glib/nm-device-802-11-wireless.h
  3392. - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
  3393. * libnm-util/nm-setting-wireless.c
  3394. src/NetworkManagerAP.c
  3395. src/NetworkManagerAP.h
  3396. src/nm-device-802-11-wireless.c
  3397. src/nm-device-802-11-wireless.h
  3398. test/nm-tool.c
  3399. - Use NM80211Mode not IW_MODE_*
  3400. 2008-04-15 Dan Williams <dcbw@redhat.com>
  3401. Enhance nm-online based on a patch from Bill Nottingham.
  3402. * test/nm-online.c
  3403. - Add a '-q' option
  3404. - Add help messages and option summary
  3405. - Add long-format options
  3406. - Add a '-x' option to exit if NM isn't running or isn't connecting
  3407. 2008-04-15 Tambet Ingo <tambet@gmail.com>
  3408. * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
  3409. * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
  3410. 2008-04-15 Dan Williams <dcbw@redhat.com>
  3411. * nm-setting-ip4-config.c
  3412. - (ip4_addresses_from_gvalue): handle NULL address array
  3413. * nm-setting-8021x.c
  3414. - (verify_tls, verify_ttls): warn on failed verification
  3415. 2008-04-10 Dan Williams <dcbw@redhat.com>
  3416. * src/nm-gsm-device.c
  3417. - (automatic_registration): accept "+CREG: 0,0"
  3418. - (automatic_registration_response): fail on "+CREG: 0,0"
  3419. 2008-04-10 Tambet Ingo <tambet@gmail.com>
  3420. * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
  3421. 2008-04-10 Tambet Ingo <tambet@gmail.com>
  3422. * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
  3423. Make it compile again by commenting out broken code that at first didn't work and
  3424. now didn't compile either.
  3425. 2008-04-08 Dan Williams <dcbw@redhat.com>
  3426. * libnm-glib/nm-object-cache.c
  3427. libnm-glib/nm-settings.c
  3428. src/dhcp-manager/nm-dhcp-manager.c
  3429. system-settings/plugins/ifcfg-fedora/plugin.c
  3430. system-settings/plugins/ifcfg-suse/plugin.c
  3431. system-settings/src/nm-system-config-hal-manager.c
  3432. libnm-util/nm-utils.c
  3433. - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
  3434. not threadsafe anyway
  3435. 2008-04-08 Dan Williams <dcbw@redhat.com>
  3436. * system-settings/src/main.c
  3437. - (load_stuff, device_added_cb, device_removed_cb): device added/removed
  3438. callbacks take a device type too
  3439. 2008-04-08 Dan Williams <dcbw@redhat.com>
  3440. The system settings service will now create a new default DHCP connection
  3441. for wired devices that have no existing applicable connection.
  3442. * system-settings/src/nm-system-config-hal-manager.c
  3443. system-settings/src/nm-system-config-hal-manager.h
  3444. - (nm_system_config_hal_manager_get_type_for_udi): new function
  3445. * system-settings/src/dbus-settings.c
  3446. system-settings/src/dbus-settings.h
  3447. - (nm_sysconfig_settings_get_connections): new function
  3448. - (nm_sysconfig_settings_is_device_managed): new function
  3449. * system-settings/src/main.c
  3450. - (load_stuff): check for wired devices that need a default connection
  3451. - (get_details_for_udi): get interface and MAC address from HAL
  3452. - (add_default_dhcp_connection): add a default connection for a wired
  3453. device if needed
  3454. - (device_added_cb, device_removed_cb): do the right thing with
  3455. wired devices and their default connections on HAL device events
  3456. 2008-04-07 Dan Williams <dcbw@redhat.com>
  3457. * libnm-glib/nm-device.c
  3458. libnm-glib/nm-device.h
  3459. - Proxy the 'managed' property
  3460. 2008-04-07 Dan Williams <dcbw@redhat.com>
  3461. * src/nm-gsm-device.c
  3462. src/nm-cdma-device.c
  3463. - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
  3464. handler to transition to DISCONNECTED
  3465. 2008-04-07 Dan Williams <dcbw@redhat.com>
  3466. Patch from Bill Nottingham
  3467. * dispatcher-daemon/NetworkManagerDispatcher.c
  3468. - ignore backup/packaging crufy (rh #440143)
  3469. 2008-04-07 Dan Williams <dcbw@redhat.com>
  3470. * include/NetworkManager.h
  3471. - Remove the DOWN and CANCELLED device states
  3472. - Add UNMANAGED and UNAVAILABLE device states
  3473. - Document the device states
  3474. * introspection/nm-device.xml
  3475. src/nm-device-interface.c
  3476. src/nm-device-interface.h
  3477. - Add the 'managed' property
  3478. * test/nm-tool.c
  3479. - (detail_device): print out device state
  3480. * src/NetworkManagerSystem.h
  3481. src/backends/NetworkManagerArch.c
  3482. src/backends/NetworkManagerDebian.c
  3483. src/backends/NetworkManagerFrugalware.c
  3484. src/backends/NetworkManagerGentoo.c
  3485. src/backends/NetworkManagerMandriva.c
  3486. src/backends/NetworkManagerPaldo.c
  3487. src/backends/NetworkManagerRedHat.c
  3488. src/backends/NetworkManagerSlackware.c
  3489. src/backends/NetworkManagerSuSE.c
  3490. - (nm_system_device_get_system_config, nm_system_device_get_disabled
  3491. nm_system_device_free_system_config): remove; they were unused and
  3492. their functionality should be re-implemented in each distro's
  3493. system settings service plugin
  3494. * src/nm-gsm-device.c
  3495. src/nm-gsm-device.h
  3496. src/nm-cdma-device.c
  3497. src/nm-cdma-device.h
  3498. - (*_new): take the 'managed' argument
  3499. * src/nm-device.c
  3500. - (nm_device_set_address): remove, fold into nm_device_bring_up()
  3501. - (nm_device_init): start in unmanaged state, not disconnected
  3502. - (constructor): don't start device until the system settings service
  3503. has had a chance to figure out if the device is managed or not
  3504. - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
  3505. don't set device state here, let callers handle that as appropriate
  3506. - (nm_device_dispose): don't touch the device if it's not managed
  3507. - (set_property, get_property, nm_device_class_init): implement the
  3508. 'managed' property
  3509. - (nm_device_state_changed): bring the device up if its now managed,
  3510. and deactivate it if it used to be active
  3511. - (nm_device_get_managed, nm_device_set_managed): do the right thing
  3512. with the managed state
  3513. * src/nm-hal-manager.c
  3514. - (wired_device_creator, wireless_device_creator, modem_device_creator):
  3515. take initial managed state and pass it along to device constructors
  3516. - (create_device_and_add_to_list): get managed state and pass to
  3517. type creators
  3518. * src/nm-device-802-11-wireless.c
  3519. - (real_can_activate): fold in most of
  3520. nm_device_802_11_wireless_can_activate()
  3521. - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
  3522. - (link_timeout_cb): instead of deactivating, change device state and
  3523. let the device state handler to it
  3524. - (real_update_hw_address): clean up
  3525. - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
  3526. handler to transition to DISCONNECTED if the device isn't rfkilled
  3527. * src/nm-device-802-3-ethernet.c
  3528. - (set_carrier): move above callers and get rid of prototype
  3529. - (device_state_changed): when entering UNAVAILABLE state, schedule an
  3530. idle handler to transition to DISCONNECTED if the device has a
  3531. carrier
  3532. - (real_update_hw_address): clean up
  3533. - (link_timeout_cb, ppp_state_changed): change state instead of calling
  3534. deactivation directly as deactivation doesn't change state anymore
  3535. * src/NetworkManagerPolicy.c
  3536. - (schedule_activate_check): yay, remove wireless_enabled hack since
  3537. the NMManager and wireless devices work that out themselves now
  3538. - (device_state_changed): change to a switch and update for new device
  3539. states
  3540. - (device_carrier_changed): remove; device handles this now through
  3541. state changes
  3542. - (device_added): don't care about carrier any more; the initial
  3543. activation check will happen when the device transitions to
  3544. DISCONNECTED
  3545. * src/nm-manager.c
  3546. - (dispose): clear unmanaged devices
  3547. - (handle_unmanaged_devices): update unmanaged device list and toggle
  3548. the managed property on each device when needed
  3549. - (system_settings_properties_changed_cb): handle signals from the
  3550. system settings service
  3551. - (system_settings_get_unmanaged_devices_cb): handle callback from
  3552. getting the unmanaged device list method call
  3553. - (query_unmanaged_devices): ask the system settings service for its
  3554. list of unmanaged devices
  3555. - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
  3556. devices
  3557. - (manager_set_wireless_enabled): push rfkill state down to wireless
  3558. devices directly and let them handle the necessary state transitions
  3559. - (manager_device_state_changed): update for new device states
  3560. - (nm_manager_add_device): set initial rfkill state on wireless devices
  3561. - (nm_manager_remove_device): don't touch the device if it's unmanaged
  3562. - (nm_manager_activate_connection): return error if the device is
  3563. unmanaged
  3564. - (nm_manager_sleep): handle new device states correctly; don't change
  3565. the state of unavailable/unmanaged devices
  3566. * libnm-glib/nm-device-802-11-wireless.c
  3567. - (state_changed_cb): update for new device states
  3568. 2008-04-07 Dan Williams <dcbw@redhat.com>
  3569. * marshallers/nm-marshal.list
  3570. - Add VOID:STRING,UINT marshaller for system settings HAL manager
  3571. 2008-04-07 Dan Williams <dcbw@redhat.com>
  3572. * system-settings/src/main.c
  3573. - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
  3574. plugins to the dbus settings object
  3575. - (load_stuff): start the dbus service after grabbing unmanaged devices
  3576. - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
  3577. - (log_handler, logging_setup, logging_shutdown): log output to syslog
  3578. - (main): switch default logging to syslog with a 'debug' option to
  3579. output to console; start up the HAL manager
  3580. 2008-04-07 Dan Williams <dcbw@redhat.com>
  3581. * introspection/nm-settings-system.xml
  3582. introspection/Makefile.am
  3583. - Define the unmanaged devices interface for the system settings service
  3584. * system-settings/src/nm-system-config-hal-manager.c
  3585. system-settings/src/nm-system-config-hal-manager.h
  3586. system-settings/src/nm-system-config-hal-manager-private.h
  3587. system-settings/src/Makefile.am
  3588. - Add a lightweight HAL manager object for tracking network devices for
  3589. the purpose of determining unmanaged devices and which devices need
  3590. the default DHCP connections
  3591. * system-settings/src/nm-system-config-interface.c
  3592. system-settings/src/nm-system-config-interface.h
  3593. - (nm_system_config_interface_init): add the HAL manager as an argument
  3594. - (nm_system_config_interface_get_unmanaged_devices): implement
  3595. - Define 'unmanaged-devices-changed' signal
  3596. * system-settings/src/dbus-settings.c
  3597. system-settings/src/dbus-settings.h
  3598. - Implement the unmanaged devices interface; some cleanups
  3599. * system-settings/plugins/ifcfg-suse/plugin.c
  3600. - Fixup for plugin interface changes
  3601. * system-settings/plugins/ifcfg-fedora/plugin.c
  3602. - (get_ether_device_udi): new function; find the device that has
  3603. a specified MAC address and return its UDI
  3604. - (get_udi_for_connection): new function; try to find the specific
  3605. device a connection is locked to, if any
  3606. - (device_added_cb, device_removed_cb): update unmanaged device list in
  3607. response to HAL events
  3608. - (get_unmanaged_devices): new function; return unmanaged device list
  3609. - (build_one_connection): set the connection's locked device, if any
  3610. - (write_auto_wired_connection): remove
  3611. - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
  3612. - (handle_connection_changed): alert listeners that the unmanaged device
  3613. list has changed
  3614. - (init): fixup for plugin interface changes, implement unmanaged devices
  3615. * system-settings/plugins/ifcfg-fedora/parser.c
  3616. system-settings/plugins/ifcfg-fedora/parser.h
  3617. - (connection_data_free): clean up connection UDI
  3618. 2008-04-07 Dan Williams <dcbw@redhat.com>
  3619. * system-settings/plugins/ifcfg-fedora/parser.c
  3620. - (make_ip4_setting): fix parsing of DNS servers
  3621. 2008-04-05 Dan Williams <dcbw@redhat.com>
  3622. * Makefile.am
  3623. configure.in
  3624. marshallers/Makefile.am
  3625. marshallers/nm-marshal-main.c
  3626. marshallers/nm-marshal.list
  3627. - Consolidate marshallers
  3628. * libnm-glib/nm-marshal-main.c
  3629. libnm-glib/nm-marshal.list
  3630. src/marshallers/Makefile.am
  3631. src/marshallers/nm-marshal-main.c
  3632. src/marshallers/nm-marshal.list
  3633. - Remove
  3634. * libnm-glib/Makefile.am
  3635. src/Makefile.am
  3636. src/dhcp-manager/Makefile.am
  3637. src/ppp-manager/Makefile.am
  3638. src/supplicant-manager/Makefile.am
  3639. src/vpn-manager/Makefile.am
  3640. - Use consolidated marshallers
  3641. 2008-04-04 Dan Williams <dcbw@redhat.com>
  3642. * src/nm-hal-manager.c
  3643. src/nm-hal-manager.h
  3644. - (hal_init): don't look for hardware here
  3645. - (nm_hal_manager_start): new function; look for hardware here instead,
  3646. which can be done at a later time than hal_init()
  3647. * src/NetworkManager.c
  3648. - (main): start HAL manager after entering the main loop
  3649. 2008-04-03 Dan Williams <dcbw@redhat.com>
  3650. * libnm-glib/nm-settings.c
  3651. libnm-glib/nm-settings.h
  3652. - (nm_exported_connection_get_id): new function
  3653. - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
  3654. 2008-04-02 Dan Williams <dcbw@redhat.com>
  3655. * src/nm-device-interface.c
  3656. src/nm-device-interface.h
  3657. src/nm-device.c
  3658. src/nm-device.h
  3659. - Rename check_connection_conflicts() to check_connection_compatible()
  3660. * src/nm-device-802-11-wireless.c
  3661. - (real_check_connection_conflicts): remove
  3662. - (real_check_connection_compatible): implement; match MAC address
  3663. * src/nm-device-802-3-ethernet.c
  3664. - (real_check_connection_conflicts): remove
  3665. - (real_check_connection_compatible): implement; match MAC address
  3666. - (real_get_best_auto_connection): correctly handle PPPoE cases
  3667. * src/nm-manager.c
  3668. - (check_connection_allowed): remove; unused until PolicyKit integration
  3669. - (internal_activate_device): check whether the connection is compatible
  3670. with the device before trying to activate it
  3671. 2008-04-02 Dan Williams <dcbw@redhat.com>
  3672. * system-settings/plugins/ifcfg-fedora/parser.c
  3673. - (read_mac_address): new function; read in MAC address and stuff it
  3674. into the connection
  3675. - (add_one_wep_key): remove debug spew
  3676. - (make_wireless_security_setting): validate the default TX key; don't
  3677. add the wireless-security setting if the connection doesn't need
  3678. security; don't leak the keys shvarFile on error cases
  3679. - (make_wireless_setting, make_wired_setting): populate device's MAC
  3680. address
  3681. 2008-04-02 Dan Williams <dcbw@redhat.com>
  3682. * libnm-util/nm-setting-connection.c
  3683. libnm-util/nm-setting-connection.h
  3684. - (set_property, get_property, nm_setting_connection_class_init): remove
  3685. the 'lockdown' property; it's functionality will be replaced by
  3686. PolicyKit instead
  3687. 2008-04-01 Dan Williams <dcbw@redhat.com>
  3688. Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
  3689. * configure.in
  3690. initscript/Makefile.am
  3691. initscript/Mandriva/Makefile.am
  3692. initscript/Mandriva/networkmanager.in
  3693. initscript/Mandriva/networkmanagerdispatcher.in
  3694. src/backends/Makefile.am
  3695. src/backends/NetworkManagerMandriva.c
  3696. system-settings/plugins/Makefile.am
  3697. - Add Mandriva support
  3698. 2008-03-31 Dan Williams <dcbw@redhat.com>
  3699. * src/vpn-manager/nm-vpn-service.c
  3700. - (nm_vpn_service_daemon_exec): add an error argument so that spawn
  3701. errors can be passed back to the caller; also no longer scheduled
  3702. as an idle handler, but called directly; and bump up VPN service
  3703. spawn timeout, 2s is really short
  3704. - (nm_vpn_service_activate): don't schedule the VPN service activation,
  3705. but call it directly so that errors are reported on return from
  3706. ActivateConnection() and don't get lost. If scheduled as an idle
  3707. handler, clients don't have the time to query NM for the new VPN
  3708. connection's properties before the VPN connection is torn down again
  3709. if the service couldn't be launched, and therefore launch errors
  3710. get lost.
  3711. 2008-03-31 Dan Williams <dcbw@redhat.com>
  3712. * src/vpn-manager/nm-vpn-connection.c
  3713. - (device_state_changed): send correct state on device failure too
  3714. - (plugin_state_changed): failed state means unexpected disconnection,
  3715. thus if the service goes away while the VPN connection is activated
  3716. that's a failure too
  3717. 2008-03-31 Dan Williams <dcbw@redhat.com>
  3718. * src/vpn-manager/nm-vpn-manager.c
  3719. src/vpn-manager/nm-vpn-manager.h
  3720. - Make VPNManager errors more available; add a service-start-failed error
  3721. 2008-03-31 Dan Williams <dcbw@redhat.com>
  3722. * libnm-glib/nm-client.c
  3723. libnm-glib/nm-client.h
  3724. - (activate_cb): pass the new active connection to callback; fix
  3725. message when no callback is specified
  3726. 2008-03-30 Dan Williams <dcbw@redhat.com>
  3727. * libnm-util/nm-setting-wireless-security.c
  3728. - (need_secrets): only require key0 if the transmit key index is also
  3729. 0
  3730. - (verify): reject non-NULL but zero-length WEP keys; these are invalid
  3731. 2008-03-29 Dan Williams <dcbw@redhat.com>
  3732. * libnm-util/nm-setting-8021x.c
  3733. libnm-util/nm-setting-ip4-config.c
  3734. libnm-util/nm-setting-vpn-properties.c
  3735. libnm-util/nm-setting-vpn.c
  3736. libnm-util/nm-setting-wireless-security.c
  3737. libnm-util/nm-setting-wireless.c
  3738. libnm-util/nm-utils.c
  3739. src/dhcp-manager/nm-dhcp-manager.c
  3740. src/nm-activation-request.c
  3741. src/nm-ip4-config.c
  3742. src/nm-manager.c
  3743. src/nm-properties-changed-signal.c
  3744. src/ppp-manager/nm-pppd-plugin.c
  3745. src/supplicant-manager/nm-supplicant-interface.c
  3746. src/vpn-manager/nm-vpn-connection.c
  3747. - consistently use nm-dbus-glib-types.h
  3748. 2008-03-29 Dan Williams <dcbw@redhat.com>
  3749. * src/vpn-manager/nm-vpn-connection.c
  3750. - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
  3751. not string
  3752. * src/nm-activation-request.c
  3753. - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
  3754. not string
  3755. 2008-03-29 Dan Williams <dcbw@redhat.com>
  3756. * libnm-glib/nm-device-802-11-wireless.c
  3757. - (access_point_added_proxy): create new APs if not found
  3758. 2008-03-29 Dan Williams <dcbw@redhat.com>
  3759. * libnm-glib/nm-client.c
  3760. - (proxy_name_owner_changed): tell wireless devices about rfkill state
  3761. before freeing them
  3762. 2008-03-29 Dan Williams <dcbw@redhat.com>
  3763. * system-settings/plugins/ifcfg-fedora/parser.c
  3764. - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
  3765. [0...3]; also handle KEY correctly in combination with DEFAULTKEY
  3766. 2008-03-29 Dan Williams <dcbw@redhat.com>
  3767. * system-settings/plugins/ifcfg-fedora/parser.c
  3768. - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
  3769. 2008-03-27 Dan Williams <dcbw@redhat.com>
  3770. * nm-object.c
  3771. - (nm_object_queue_notify): don't notify multiple times for the same
  3772. property
  3773. * nm-object-private.h
  3774. - (handle_ptr_array_return): return NULL if the given array is NULL or
  3775. if it has zero elements
  3776. * nm-ip4-config.c
  3777. - (finalize): use g_ptr_array_foreach() when freeing domains
  3778. - (nm_ip4_config_get_domains): use handle_ptr_array_return()
  3779. * nm-active-connection.c
  3780. - (nm_active_connection_get_devices): use handle_ptr_array_return()
  3781. * nm-device-802-11-wireless.c
  3782. nm-device-802-11-wireless.h
  3783. - (nm_device_802_11_wireless_get_access_points): return const; use
  3784. handle_ptr_array_return()
  3785. * nm-types.c
  3786. - (nm_object_array_demarshal): always create an array, even of length
  3787. zero, to distinguish between "NM returned no items" and "haven't
  3788. asked NM yet"
  3789. * nm-client.c
  3790. - (dispose): free active connections too
  3791. - (proxy_name_owner_changed): free active connections too when NM goes
  3792. away
  3793. - (nm_client_get_devices): return const; use handle_ptr_array_return()
  3794. - (nm_client_get_active_connections): use handle_ptr_array_return()
  3795. 2008-03-26 Dan Williams <dcbw@redhat.com>
  3796. Rework VPN connection handling for a more consistent D-Bus API. The
  3797. VPNManager object has been removed, and active VPN connections are now the
  3798. same as any other active connection. The Manager object's ActivateConnection
  3799. and DeactivateConnection methods are used to start and stop a VPN connection,
  3800. and the VPNConnection objects are subclasses of the ActiveConnection objects.
  3801. When activating a VPN connection, pass the path of the active connection
  3802. to which the VPN connection is tied in the 'specific_object' argument.
  3803. Consequently, the libnm-glib API has been reworked to match this arrangement,
  3804. with the VPNManager object removed, and the NMVPNConnection objects now
  3805. being subclasses of NMActiveConnection.
  3806. 2008-03-25 Dan Williams <dcbw@redhat.com>
  3807. Patch from Björn Martensen <bjoern.martensen@gmail.com>
  3808. * initscript/Arch/networkmanager.in
  3809. initscript/Arch/networkmanager-dispatcher.in
  3810. - Updates for Arch Linux (gnome.org #523701)
  3811. 2008-03-25 Dan Williams <dcbw@redhat.com>
  3812. * libnm-glib/nm-ip4-config.c
  3813. libnm-glib/nm-active-connection.c
  3814. libnm-glib/nm-access-point.c
  3815. - Use nm_object_queue_notify() instead of g_object_notify()
  3816. * libnm-glib/nm-device.c
  3817. - (demarshal_ip4_config): distinguish between successful but missing
  3818. ip4-config request, and unsuccessful and missing ip4-config request
  3819. - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
  3820. path
  3821. - Use nm_object_queue_notify() instead of g_object_notify()
  3822. * libnm-glib/nm-device-802-11-wireless.c
  3823. - (demarshal_active_ap): distinguish between successfull but missing
  3824. active-ap request, and unsuccessful and missing active-ap request
  3825. - (dispose, clean_up_aps): consolidate AP list and active AP clearing
  3826. code
  3827. - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
  3828. for the NMClient to notify the device that wireless is disabled,
  3829. and therefore to clear the AP list and active AP
  3830. - Use nm_object_queue_notify() instead of g_object_notify()
  3831. * libnm-glib/nm-client.c
  3832. - (poke_wireless_devices_with_rf_status): new function
  3833. - (update_wireless_status): notify wireless devices of the rfkill status
  3834. so they can clean up if needed
  3835. - Use nm_object_queue_notify() instead of g_object_notify()
  3836. 2008-03-25 Dan Williams <dcbw@redhat.com>
  3837. * libnm-glib/nm-object.c
  3838. libnm-glib/nm-object-private.h
  3839. - (nm_object_queue_notify): add helper to batch & postpone GObject notify
  3840. signals to an idle handler
  3841. - (nm_object_get_property): add a timeout to the D-Bus method call
  3842. 2008-03-25 Dan Williams <dcbw@redhat.com>
  3843. * introspection/nm-device-cdma.xml
  3844. introspection/nm-device-gsm.xml
  3845. introspection/Makefile.am
  3846. introspection/all.xml
  3847. - Add introspection for CDMA and GSM devices for PropertiesChanged signal
  3848. * src/nm-gsm-device.h
  3849. src/nm-gsm-device.c
  3850. src/nm-cdma-device.h
  3851. src/nm-cdma-device.c
  3852. src/Makefile.am
  3853. - Implement PropertiesChanged signals
  3854. * libnm-glib/nm-cdma-device.c
  3855. libnm-glib/nm-cdma-device.c
  3856. - Attach to PropertiesChanged signals
  3857. 2008-03-24 Dan Williams <dcbw@redhat.com>
  3858. * libnm-glib/nm-client.c
  3859. - (client_device_added_proxy): add new devices to the internal device
  3860. list so they appear to clients
  3861. 2008-03-24 Dan Williams <dcbw@redhat.com>
  3862. Massive fixup of libnm-glib to:
  3863. a) have all objects (with the exception of VPN) cache their properties and
  3864. update them asynchronously on PropertiesChanged signals from NM
  3865. b) return internal const data for most attributes/properties instead of
  3866. allocated values that the caller must free
  3867. c) cache wrapped objects such that a given D-Bus path will always map to the
  3868. same GObject returned by libnm-glib
  3869. d) remove a few signals and move them to GObject property notifications
  3870. e) match recent NM D-Bus API changes for activation/deactivation
  3871. f) remove some private functions from libnm-glib headers
  3872. 2008-03-20 Dan Williams <dcbw@redhat.com>
  3873. * src/nm-manager.c
  3874. - (nm_manager_update_state, manager_device_state_changed,
  3875. nm_manager_activate_device, connection_added_default_handler,
  3876. impl_manager_activate_connection, impl_manager_deactivate_connection):
  3877. queue PropertyChanged singals when the active connections change
  3878. 2008-03-20 Dan Williams <dcbw@redhat.com>
  3879. * introspection/nm-manager.xml
  3880. introspection/nm-manager-client.xml
  3881. - (ActivateConnection): return the object path of the active connection
  3882. on success
  3883. - (GetActiveConnections): remove
  3884. - (DeactivateConnection): new function; deactivate a currently active
  3885. connection
  3886. - Add an ActiveConnections property which returns an array of
  3887. active connection object paths
  3888. * introspection/nm-device.xml
  3889. - (Deactivate): remove
  3890. * introspection/all.xml
  3891. - Add ActiveConnection introspection
  3892. * introspection/nm-active-connection.xml
  3893. - Add the ActiveConnection object
  3894. * include/NetworkManager.h
  3895. - Add the Connection.Active D-Bus interface
  3896. * src/nm-device-interface.c
  3897. - (impl_device_deactivate): remove
  3898. * src/nm-activation-request.c
  3899. src/nm-activation-request.c
  3900. src/Makefile.am
  3901. - Implement the Connection.Active D-Bus interface
  3902. * src/nm-manager.c
  3903. - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
  3904. - (nm_manager_activate_device): return the active connection path
  3905. - (connection_added_default_handler, impl_manager_activate_connection):
  3906. return the active connection to the caller
  3907. - (add_one_connection_element, impl_manager_get_active_connections):
  3908. remove
  3909. - (impl_manager_deactivate_connection): new function; deactivate an
  3910. active connection
  3911. * libnm-glib/nm-device.c
  3912. libnm-glib/nm-device.h
  3913. - Remove Deactivate() function
  3914. 2008-03-19 Dan Williams <dcbw@redhat.com>
  3915. * introspection/nm-manager.xml
  3916. introspection/nm-manager-client.xml
  3917. - Rename the ActivateDevice method to ActivateConnection to better
  3918. reflect it's usage; it's arguments get reordered a bit too
  3919. - Convert GetActiveConnections method return from a struct to a dict
  3920. * include/NetworkManager.h
  3921. - Define the dict keys for return value of GetActiveConnections
  3922. * src/nm-manager.c
  3923. - impl_manager_activate_device -> impl_manager_activate_connection
  3924. - (add_one_connection_element): return a populated hash table, not
  3925. a structure
  3926. * libnm-glib/nm-client.c
  3927. libnm-glib/nm-client.h
  3928. - nm_client_activate_device -> nm_client_activate_connection
  3929. - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
  3930. - (nm_client_get_active_connections): return a GSList of GHashTables,
  3931. instead of the custom structures. Each element of the returned list
  3932. must be freed with nm_client_free_active_connections_element()
  3933. 2008-03-18 Dan Williams <dcbw@redhat.com>
  3934. * system-settings/plugins/ifcfg-fedora/parser.c
  3935. system-settings/plugins/ifcfg-fedora/parser.h
  3936. system-settings/plugins/ifcfg-fedora/plugin.c
  3937. - Read settings from /etc/sysconfig/network-scripts/ instead of using
  3938. profiles. DNS servers and searches must now be stored in the ifcfg
  3939. files themselves
  3940. 2008-03-18 Tambet Ingo <tambet@gmail.com>
  3941. * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
  3942. print out username and password, it's supposed to be a secret.
  3943. * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
  3944. request and set the device state accordingly.
  3945. 2008-03-18 Tambet Ingo <tambet@gmail.com>
  3946. * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
  3947. * libnm-util/nm-setting-wireless-security.h: Fix a typo.
  3948. 2008-03-18 Dan Williams <dcbw@redhat.com>
  3949. * src/vpn-manager/nm-vpn-connection.c
  3950. - (get_secrets_cb): handle new GetSecrets return format
  3951. 2008-03-18 Dan Williams <dcbw@redhat.com>
  3952. Adapt system settings service for split 802.1x.
  3953. * system-settings/src/nm-system-config-interface.h
  3954. - clarify return value of get_secrets()
  3955. * system-settings/src/dbus-settings.c
  3956. - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
  3957. - (check_for_secrets): check if there actually secrets returned by a
  3958. plugin
  3959. - (exported_connection_get_secrets): just return the plugin-returned
  3960. hash of settings' secrets if it looks valid
  3961. * system-settings/plugins/ifcfg-fedora/plugin.c
  3962. - (get_secrets): add split secrets with correct format to reply hash
  3963. * system-settings/plugins/ifcfg-fedora/parser.c
  3964. system-settings/plugins/ifcfg-fedora/parser.h
  3965. - (copy_one_cdata_secret, connection_data_copy_secrets,
  3966. connection_data_free, connection_data_add): keep secrets for
  3967. different settings in different hashes
  3968. 2008-03-17 Tambet Ingo <tambet@gmail.com>
  3969. Clean up activating device deactivation.
  3970. * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
  3971. should be done whether the device activation gets cancelled or the device
  3972. is just getting deactivated.
  3973. (nm_device_activation_cancel): Remove.
  3974. (nm_device_deactivate_quickly): Handle the case where device is activating.
  3975. * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
  3976. It does the exact same thing as real_deactivate_quickly().
  3977. 2008-03-17 Dan Williams <dcbw@redhat.com>
  3978. Split the 802.1x bits out of the wireless-security setting so they are
  3979. generalized enough for wired 802.1x to use too.
  3980. * introspection/nm-exported-connection.xml
  3981. - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
  3982. of just a hash of the secrets for one setting
  3983. * libnm-util/nm-setting-wireless-security.c
  3984. libnm-util/nm-setting-wireless-security.h
  3985. - Remove 802.1x-specific stuff
  3986. - Added leap-username and leap-password properties for old-school LEAP
  3987. * src/nm-device.c
  3988. src/nm-device.h
  3989. - (connection_secrets_updated_cb): take a list of updated settings names,
  3990. not just one
  3991. * src/supplicant-manager/nm-supplicant-config.c
  3992. src/supplicant-manager/nm-supplicant-config.h
  3993. - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
  3994. specific stuff; fix for updated LEAP bits; punt 802.1x stuff
  3995. to nm_supplicant_config_add_setting_8021x()
  3996. - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
  3997. the supplicant config
  3998. * src/nm-device-802-11-wireless.c
  3999. - (build_supplicant_config): pass in the 802.1x setting too, if any
  4000. - (real_connection_secrets_updated): take a list of updated settings
  4001. names, not just one
  4002. * src/nm-device-802-3-ethernet.c
  4003. src/nm-cdma-device.c
  4004. src/nm-gsm-device.c
  4005. - (real_connection_secrets_updated_cb): take a list of updated settings
  4006. names, not just one
  4007. * src/nm-activation-request.c
  4008. src/nm-activation-request.h
  4009. - (nm_act_request_class_init): the 'connection-secrets-updated' signal
  4010. now passes a list of updated settings names, not just one
  4011. - (update_one_setting): new function; handle one updated setting
  4012. - (get_secrets_cb): handle multiple settings returned from the
  4013. settings service; have to be careful of ordering here as there are
  4014. some dependencies between settings (ex. wireless-security and 802.1x
  4015. in some cases)
  4016. * src/marshallers/nm-marshal.list
  4017. - new marshaller for connection-secrets-updated signal
  4018. * libnm-util/nm-setting-8021x.c
  4019. - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
  4020. methods
  4021. - (verify): a valid 'eap' property is now required
  4022. * libnm-util/nm-connection.c
  4023. - (register_default_settings): add priorities to settings; there are
  4024. some dependencies between settings, and during the need_secrets
  4025. calls this priority needs to be respected. For example, only the
  4026. wireless-security setting knows whether or not the connection is
  4027. going to use 802.1x or now, so it must be asked for secrets before
  4028. any existing 802.1x setting is
  4029. - (nm_connection_lookup_setting_type): expose
  4030. * libnm-util/nm-setting-wireless.c
  4031. - (verify): should verify even if all_settings is NULL; otherwise won't
  4032. catch the case where there is missing security
  4033. * libnm-util/nm-setting-wireless-security.c
  4034. - Remove everything to do with 802.1x
  4035. - Add old-school LEAP specific properties for username and password
  4036. - (need_secrets): rework LEAP secrets checking
  4037. - (verify): rework for LEAP and 802.1x verification
  4038. 2008-03-17 Dan Williams <dcbw@redhat.com>
  4039. * src/NetworkManagerPolicy.c
  4040. - (auto_activate_device): always remove the current activation check
  4041. from the pending activation list, otherwise when the policy gets
  4042. destroyed on NM exit it will attempt to free the already freed
  4043. activation check
  4044. 2008-03-14 Tambet Ingo <tambet@gmail.com>
  4045. * src/backends/NetworkManagerSlackware.c
  4046. (nm_system_device_setup_static_ip4_config): Remove, it's unused.
  4047. * src/backends/NetworkManagerSuSE.c: Add missing includes.
  4048. 2008-03-14 Dan Williams <dcbw@redhat.com>
  4049. * src/nm-manager.c
  4050. - (nm_device_interface_get_iface): g_object_get() will return an
  4051. allocated value, so this function must not return const
  4052. - (nm_device_interface_activate): free returned iface
  4053. 2008-03-14 Tambet Ingo <tambet@gmail.com>
  4054. * libnm-util/Makefile.am: Add new files to build.
  4055. * libnm-util/nm-connection.c: Register NMSetting8021x.
  4056. * libnm-util/nm-setting-8021x.c
  4057. * libnm-util/nm-setting-8021x.h: Implement.
  4058. 2008-03-14 Tambet Ingo <tambet@gmail.com>
  4059. * libnm-util/Makefile.am: Add new files to build.
  4060. * libnm-util/nm-connection.c: Register NMSetting8021x.
  4061. * libnm-util/nm-setting-8021x.c
  4062. * libnm-util/nm-setting-8021x.h: Implement.
  4063. 2008-03-14 Tambet Ingo <tambet@gmail.com>
  4064. * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
  4065. data.
  4066. 2008-03-14 Dan Williams <dcbw@redhat.com>
  4067. * include/wireless-helper.h
  4068. include/Makefile.am
  4069. - One place for all the junk needed for #including wireless.h
  4070. * test/nm-tool.c
  4071. src/NetworkManagerAP.c
  4072. src/wpa.c
  4073. src/Makefile.am
  4074. libnm-util/nm-utils.c
  4075. libnm-util/nm-setting-wireless.c
  4076. libnm-glib/nm-device-802-11-wireless.c
  4077. libnm-glib/nm-access-point.c
  4078. libnm-glib/libnm-glib-test.c
  4079. - include wireless-helper.h, not iwlib.h
  4080. * configure.in
  4081. - Don't need libiw really, just need to check for wireless.h
  4082. * src/kernel-types.h
  4083. - Remove; used types moved into wpa.c
  4084. * src/nm-device-802-11-wireless.c
  4085. - (nm_device_802_11_wireless_update_signal_strength,
  4086. real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
  4087. nm_device_802_11_wireless_set_mode,
  4088. nm_device_802_11_wireless_get_frequency,
  4089. nm_device_802_11_wireless_get_ssid,
  4090. nm_device_802_11_wireless_set_ssid,
  4091. nm_device_802_11_wireless_get_bitrate,
  4092. nm_device_802_11_wireless_get_bssid,
  4093. nm_device_802_11_wireless_disable_encryption): use ioctl() directly
  4094. instead of iwlib functions
  4095. 2008-03-14 Dan Williams <dcbw@redhat.com>
  4096. * src/ppp-manager/nm-ppp-manager.c
  4097. - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
  4098. should only take the DBusGMethodInvocation argument, not user/pass
  4099. too. With dbus-glib, async functions only take 2 C arguments since
  4100. the real dbus method arguments get passed back with
  4101. dbus_g_method_return()
  4102. 2008-03-13 Tambet Ingo <tambet@gmail.com>
  4103. * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
  4104. Adapt the changes of NMSettingIP4Config.
  4105. 2008-03-13 Dan Williams <dcbw@redhat.com>
  4106. * src/NetworkManagerUtils.c
  4107. src/NetworkManagerUtils.h
  4108. - (nm_ether_ntop): replacement for iw_ether_ntop()
  4109. * src/NetworkManagerAP.c
  4110. src/nm-device-802-11-wireless.c
  4111. src/nm-device-802-3-ethernet.c
  4112. - s/iw_ether_ntop/nm_ether_ntop/g
  4113. 2008-03-13 Dan Williams <dcbw@redhat.com>
  4114. * src/NetworkManagerPolicy.c
  4115. - (update_routing_and_dns): never set the default route through an
  4116. IPv4LL addressed device
  4117. 2008-03-13 Dan Williams <dcbw@redhat.com>
  4118. * NetworkManagerUtils.c
  4119. NetworkManagerUtils.h
  4120. - Remove NMSock stuff
  4121. - Remove the completion stuff
  4122. * nm-device.c
  4123. nm-device.h
  4124. NetworkManager.c
  4125. NetworkManagerSystem.c
  4126. autoip.c
  4127. nm-device-802-11-wireless.c
  4128. nm-device-802-3-ethernet.c
  4129. - Remove NMSock and completion stuff
  4130. - Remove nm_ioctl_info()
  4131. 2008-03-12 Dan Williams <dcbw@redhat.com>
  4132. * src/nm-device.c
  4133. - (merge_ip4_config): avoid duplicates
  4134. 2008-03-12 Dan Williams <dcbw@redhat.com>
  4135. * libnm-util/nm-setting-ip4-config.c
  4136. libnm-util/nm-setting-ip4-config.h
  4137. - Remove 'manual' and 'autoip' properties
  4138. - Add 'method' property
  4139. - (verify): fix verification with 'method'
  4140. - (finalize): free 'method'
  4141. - (set_property, get_property, nm_setting_ip4_config_class_init): fix
  4142. up for 'method'
  4143. * src/nm-device.c
  4144. - (real_act_stage3_ip_config_start): check IP4Config method
  4145. - (nm_device_new_ip4_autoip_config): add a note about not sucking in
  4146. the future
  4147. - (merge_ip4_config): IP settings are valid with DHCP too
  4148. - (real_act_stage4_get_ip4_config): handle all IP4Config methods
  4149. - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
  4150. * src/nm-device-802-11-wireless.c
  4151. - (real_act_stage3_ip_config_start): remove; autoip only on demand
  4152. - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
  4153. only on demand
  4154. * system-settings/plugins/ifcfg-fedora/parser.c
  4155. system-settings/plugins/ifcfg-suse/parser.c
  4156. - (make_ip4_setting): fix up for 'method'
  4157. 2008-03-12 Dan Williams <dcbw@redhat.com>
  4158. * system-settings/plugins/ifcfg-fedora/parser.c
  4159. system-settings/plugins/ifcfg-fedora/parser.h
  4160. - (get_ifcfg_name): ignore more file suffixes
  4161. - (is_wireless_device): fix check for ifcfgs that have no TYPE
  4162. 2008-03-12 Dan Williams <dcbw@redhat.com>
  4163. * configure.in
  4164. - Bring in the bits of gnome-common we actually use (all 15 lines)
  4165. 2008-03-12 Dan Williams <dcbw@redhat.com>
  4166. * system-settings/plugins/ifcfg-fedora/plugin.c
  4167. - (write_auto_wired_connection): new function; write out an auto
  4168. wired connection file since the applet isn't doing it any more
  4169. - (reload_all_connections): write out the auto wired connection file
  4170. if there aren't any wired connections already
  4171. - (init): don't leak a GError
  4172. 2008-03-12 Dan Williams <dcbw@redhat.com>
  4173. * src/nm-device-interface.c
  4174. - (nm_device_interface_activate): print the ID of the connection
  4175. that's about to be activated
  4176. 2008-03-12 Dan Williams <dcbw@redhat.com>
  4177. Harmonize the 802.11 bitrate API
  4178. * introspection/nm-access-point.xml
  4179. - 'Rate' -> 'MaxBitrate'; clarify units
  4180. * introspection/nm-device-802-11-wireless.xml
  4181. - Clarify units of 'Bitrate'
  4182. * src/NetworkManagerAP.c
  4183. src/NetworkManagerAP.h
  4184. - (set_property, get_property, nm_ap_class_init): rename 'rate'
  4185. property to 'max-bitrate'
  4186. - (foreach_property_cb): convert rate to Kb/s
  4187. * src/nm-device-802-11-wireless.c
  4188. - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
  4189. * libnm-glib/nm-access-point.c
  4190. libnm-glib/nm-access-point.h
  4191. - 'rate' -> 'max-bitrate'
  4192. * test/nm-tool.c
  4193. libnm-glib/libnm-glib-test.c
  4194. - Fix up for these changes
  4195. 2008-03-12 Dan Williams <dcbw@redhat.com>
  4196. * src/nm-device.c
  4197. - (nm_device_set_ip4_config): don't send property notifications when
  4198. the ip4 config is set to NULL; it causes a PropertyChanged signal
  4199. which dbus-glib can't parse because the value is NULL, which isn't
  4200. a legal object path. Setting the IP4 config to NULL is only
  4201. valid when deactivating a device anyway, so the device state change
  4202. will alert listeners that the ip4 config is invalid.
  4203. 2008-03-12 Dan Williams <dcbw@redhat.com>
  4204. * src/nm-properties-changed-signal.c
  4205. - (add_to_string): better handling of NULL objects
  4206. 2008-03-12 Dan Williams <dcbw@redhat.com>
  4207. Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
  4208. convert the libnm-glib NMDevice8023Ethernet to cached properties
  4209. * introspection/nm-device-802-3-ethernet.xml
  4210. - New 'Carrier' property
  4211. - New 'PropertiesChanged' signal
  4212. * introspection/nm-device.xml
  4213. - Remove 'Carrier' property
  4214. - Remove 'CarrierChanged' signal
  4215. * src/nm-device-interface.c
  4216. src/nm-device-interface.h
  4217. - (nm_device_interface_init): remove 'carrier' property and
  4218. 'carrier-changed' signal
  4219. * src/nm-device.c
  4220. src/nm-device.h
  4221. - (nm_device_get_carrier, nm_device_set_carrier): remove
  4222. - (nm_device_activate_stage5_ip_config_commit): don't bother updating
  4223. the link here; wired device will handle that
  4224. - (handle_dhcp_lease_change): don't bother updating link here
  4225. - (get_property, nm_device_class_init): remove carrier property
  4226. * src/nm-device-802-11-wireless.c
  4227. - (real_update_link, nm_device_802_11_wireless_class_init): remove
  4228. real_update_link(); wireless devices don't use carrier at all
  4229. - (link_timeout_cb, supplicant_iface_state_cb_handler,
  4230. supplicant_iface_connection_state_cb_handler,
  4231. supplicant_mgr_state_cb_handler): remove anything to do with carrier
  4232. * src/nm-device-802-3-ethernet.c
  4233. src/nm-device-802-3-ethernet.h
  4234. - (nm_device_802_3_ethernet_carrier_on,
  4235. nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
  4236. instead of nm_device_set_carrier()
  4237. - (device_state_changed): update link from sysfs on activation;
  4238. replaces real_update_link()
  4239. - (real_update_link): remove, replaced by device_state_changed()
  4240. - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
  4241. - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
  4242. - (real_get_generic_capabilities, real_can_interrupt_activation): use
  4243. new get_carrier function
  4244. - (get_property): add 'carrier' property
  4245. - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
  4246. hook into property-changed signal helper
  4247. * src/NetworkManagerPolicy.c
  4248. - (device_carrier_changed): will only ever be called with a wired device
  4249. - (device_added): only hook up to carrier-changed for wired devices
  4250. * libnm-glib/nm-device.c
  4251. libnm-glib/nm-device.h
  4252. - (constructor, nm_device_class_init): remove carrier-changed signal
  4253. - (device_carrier_changed_proxy): remove; unused
  4254. - (nm_device_get_carrier): remove; carrier a property of wired devices
  4255. * libnm-glib/nm-device-802-3-ethernet.c
  4256. libnm-glib/nm-device-802-3-ethernet.h
  4257. - Convert to cached properties like AP and Wireless objects
  4258. - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
  4259. instead of a 'char *', return value should not be freed
  4260. - (nm_device_802_3_ethernet_get_carrier): return current carrier status
  4261. - (constructor): hook into properties-changed helper
  4262. - (set_property, get_property): new functions
  4263. - (nm_device_802_3_ethernet_class_init): export GObject properties
  4264. * test/nm-tool.c
  4265. - (detail_device): strdup the wired hardware address too since it's
  4266. cached now
  4267. * libnm-glib/libnm-glib-test.c
  4268. - (dump_wired): strdup the wired hardware address too since it's
  4269. cached now
  4270. 2008-03-12 Dan Williams <dcbw@redhat.com>
  4271. * libnm-util/nm-setting-ip4-config.c
  4272. libnm-util/nm-setting-ip4-config.h
  4273. - (set_property, get_property, nm_setting_ip4_config_class_init): add
  4274. the 'autoip' property from the spec
  4275. 2008-03-11 Dan Williams <dcbw@redhat.com>
  4276. * src/backends/NetworkManagerGeneric.c
  4277. src/backends/NetworkManagerGeneric.h
  4278. - (nm_generic_device_get_use_dhcp): remove
  4279. 2008-03-11 Dan Williams <dcbw@redhat.com>
  4280. * src/nm-device.c
  4281. - (nm_device_deactivate): don't need to munge DNS here; that gets done
  4282. already in nm_device_set_ip4_config()
  4283. - (handle_dhcp_lease_change): fail the device if setting the IP4Config
  4284. due to a DHCP rebind fails
  4285. - (nm_device_set_ip4_config): send property notifications when the
  4286. ip4 config changes
  4287. - (get_property): only report IP4Config property during valid states
  4288. * src/NetworkManagerPolicy.c
  4289. - (update_routing_and_dns): ignore devices that don't have an ip4
  4290. config; add parameter 'force_update' to allow callers to specify
  4291. that changes should be made even if the default device doesn't change
  4292. - (device_ip4_config_changed): update DNS and routing when the device's
  4293. IP4Config changes, like for DHCP updates
  4294. - (device_added): listen for ip4-config property changes
  4295. 2008-03-11 Dan Williams <dcbw@redhat.com>
  4296. Fix address handling as a result of DHCP rebind/renew/reboot.
  4297. * src/NetworkManagerSystem.c
  4298. - (check_one_address): delete an address if it doesn't match a given
  4299. one for the same interface
  4300. - (nm_system_device_set_from_ip4_config): don't flush the default route,
  4301. be smarter about flushing addresses (only flush ones that don't
  4302. match the one we're about to apply)
  4303. * src/backends/NetworkManagerDebian.c
  4304. src/backends/NetworkManagerSuSE.c
  4305. src/backends/NetworkManagerArch.c
  4306. src/backends/NetworkManagerSlackware.c
  4307. src/backends/NetworkManagerRedHat.c
  4308. src/backends/NetworkManagerPaldo.c
  4309. src/backends/NetworkManagerFrugalware.c
  4310. src/backends/NetworkManagerGentoo.c
  4311. - (nm_system_delete_default_route): remove
  4312. * src/backends/NetworkManagerGeneric.c
  4313. src/backends/NetworkManagerGeneric.h
  4314. - (nm_generic_enable_loopback): fix the loopback device label
  4315. - (nm_generic_delete_default_route): remove; no longer used
  4316. 2008-03-11 Dan Williams <dcbw@redhat.com>
  4317. * src/nm-device-interface.h
  4318. - Delimit property name words with '-', otherwise g_object_notify()
  4319. doesn't work the way we expect
  4320. 2008-03-11 Tambet Ingo <tambet@gmail.com>
  4321. * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
  4322. 2008-03-11 Dan Williams <dcbw@redhat.com>
  4323. * src/NetworkManagerPolicy.c
  4324. - (update_routing_and_dns): don't change anything if the default device
  4325. hasn't changed; print something out when switching the default route
  4326. and DNS
  4327. 2008-03-10 Tambet Ingo <tambet@gmail.com>
  4328. Implement PPPoE.
  4329. * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
  4330. setting. Use "nic-$eth".
  4331. * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
  4332. the device is activating here to fix a race condition.
  4333. * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
  4334. * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
  4335. (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
  4336. (nm_ppp_manager_start): Take activation request instead of connection, we might
  4337. need it for asking secrets.
  4338. (nm_ppp_manager_update_secrets): Implement.
  4339. * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
  4340. ppp manager start. It might be needed for asking secrets.
  4341. * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
  4342. (ppp_state_changed): Handle pppd daemon disappearing.
  4343. (pppoe_stage2_config): Send activation request to ppp manager start.
  4344. * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
  4345. * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
  4346. username and password.
  4347. 2008-03-10 Dan Williams <dcbw@redhat.com>
  4348. * src/nm-device.c
  4349. - (handle_dhcp_lease_change): apply an IP4 config to a device in
  4350. response to a DHCP lease change
  4351. - (dhcp_state_changed): handle DHCP lease changes while activated
  4352. - (nm_device_set_ip4_config): remove a previously set named config
  4353. when setting an ip4 config
  4354. 2008-03-10 Dan Williams <dcbw@redhat.com>
  4355. * src/nm-serial-device.c
  4356. - (nm_serial_device_send_command): report errno on error
  4357. - (get_reply_got_data): limit the size of the overall buffer
  4358. - (wait_for_reply_info_destroy): destroy result string
  4359. - (wait_for_reply_got_data): append received data to an overall buffer
  4360. until timeout, filled buffer, or error instead of keeping a per-call
  4361. buffer. Some devices send data slowly enough that this function
  4362. gets called multiple times for the same command stream.
  4363. - (nm_serial_device_wait_for_reply): initialize overall buffer for
  4364. wait_for_reply_got_data() here
  4365. 2008-03-10 Dan Williams <dcbw@redhat.com>
  4366. * src/nm-cdma-device.c
  4367. - (do_dial, init_modem): handle errors from
  4368. nm_serial_device_send_command_string()
  4369. * src/nm-gsm-device.c
  4370. - (do_dial, manual_registration, automatic_registration_get_network,
  4371. automatic_registration, enter_pin, check_pin, init_modem): handle
  4372. errors from nm_serial_device_send_command_string()
  4373. 2008-03-10 Dan Williams <dcbw@redhat.com>
  4374. Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
  4375. * src/named-manager/nm-named-manager.c
  4376. - (compute_searches): prefer searches before domains
  4377. - (compute_domain): new function
  4378. - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
  4379. - (merge_one_ip4_config): if there are no searches in the source config,
  4380. merge domains of the source config into the target config
  4381. - (compute_nameservers): make formatting of resolv.conf a bit nicer
  4382. 2008-03-10 Dan Williams <dcbw@redhat.com>
  4383. * src/nm-serial-device.c
  4384. - (get_reply_got_data): clean up indentation, shrink serial buffer
  4385. - (wait_for_reply_got_data): try to handle slower serial devices where
  4386. the reply is broken up into multiple reads by concatenating replies
  4387. together until either an error is received or the search string is
  4388. found
  4389. 2008-03-10 Dan Williams <dcbw@redhat.com>
  4390. * src/nm-device.c
  4391. - (nm_device_bring_down): deactivate the device if it's activating too,
  4392. not just if it's already activated. This makes sure that everything
  4393. from an association attempt is cleaned up (like DHCP for example)
  4394. 2008-03-10 Dan Williams <dcbw@redhat.com>
  4395. * src/nm-serial-device.c
  4396. - (config_fd): report error from TCSETA
  4397. - (nm_serial_device_open): fail when config_fd() fails
  4398. 2008-03-10 Dan Williams <dcbw@redhat.com>
  4399. * src/nm-ip4-config.c
  4400. - (nm_ip4_config_init): allocate searches list
  4401. - (finalize): free searches list
  4402. 2008-03-09 Dan Williams <dcbw@redhat.com>
  4403. Patch from Bas Zoetekouw <bas@debian.org>
  4404. * src/dhcp-manager/nm-dhcp-manager.c
  4405. - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
  4406. 2008-03-09 Dan Williams <dcbw@redhat.com>
  4407. Patch from Bas Zoetekouw <bas@debian.org>
  4408. * src/nm-ip4-config.c
  4409. src/nm-ip4-config.h
  4410. - (nm_ip4_config_add_search, nm_ip4_config_get_search,
  4411. nm_ip4_config_get_num_searches): add 'searches' as distinct from
  4412. domains. 'searches' is the correct way to store multiple search
  4413. domains, whereas 'domains' is really just supposed to store one
  4414. domain. Some sites abuse the DHCP 'domain-name' option to push
  4415. search domains to the client.
  4416. - (nm_ip4_config_add_domain): group with related functions (my patch)
  4417. 2008-03-09 Dan Williams <dcbw@redhat.com>
  4418. * src/dhcp-manager/nm-dhcp-manager.c
  4419. - (dhclient_run): send interface-specific config files to dhclient
  4420. 2008-03-07 Dan Williams <dcbw@redhat.com>
  4421. * system-settings/plugins/ifcfg-fedora/parser.c
  4422. - (is_wireless_device): new function; test a device for wireless
  4423. extensions
  4424. - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
  4425. test the device for wireless extensions to determine the type
  4426. 2008-03-07 Dan Williams <dcbw@redhat.com>
  4427. Change manager's StateChange signal to StateChanged for consistency.
  4428. * introspection/nm-manager.xml
  4429. - Add 'StateChanged' signal
  4430. - Move 'StateChange' down to the deprecated section
  4431. * src/nm-hal-manager.c
  4432. - (nm_hal_manager_new): connect to 'state-changed' instead
  4433. * src/NetworkManagerPolicy.c
  4434. - (nm_policy_new): connect to 'state-changed' instead
  4435. * src/nm-manager.c
  4436. src/nm-manager.h
  4437. - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
  4438. - (nm_manager_class_init): add 'state-changed' and not the deprecation
  4439. of 'state-change'
  4440. * libnm-glib/nm-client.c
  4441. libnm-glib/nm-client.h
  4442. - (constructor, nm_client_class_init, client_state_changed_proxy):
  4443. track and proxy 'state-changed' instead of 'state-change'
  4444. 2008-03-07 Dan Williams <dcbw@redhat.com>
  4445. First pass of multiple active device support. Expect bugs.
  4446. * src/nm-ip4-config.c
  4447. src/nm-ip4-config.h
  4448. - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
  4449. there are better ways to do this in the named manager
  4450. * src/nm-device.c
  4451. src/nm-device.h
  4452. - (nm_device_can_activate): return whether the device can activate a
  4453. connection right now; taking into account things like carrier state
  4454. and rfkill state
  4455. - (nm_device_get_best_auto_connection): renamed from
  4456. nm_device_get_best_connection
  4457. - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
  4458. device subclasses themselves, so that each device can override the
  4459. MTU from it's NMSetting subclass if needed
  4460. - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
  4461. in NetworkManagerSystem.c, not here
  4462. * src/named-manager/nm-named-manager.c
  4463. src/named-manager/nm-named-manager.h
  4464. - (nm_named_manager_name_owner_changed,
  4465. nm_named_manager_dbus_connection_changed): fix for changes to
  4466. rewrite_resolv_conf()
  4467. - (compute_nameservers): don't need the NMNamedManager at all, remove
  4468. from parameter list
  4469. - (merge_one_ip4_config): new function; merge ip4 configs together
  4470. - (rewrite_resolv_conf): write out resolv.conf from all the stored
  4471. ip4 configs; the VPN config takes precedence, then the best
  4472. device config, then the rest of the configs
  4473. - (get_domain_for_config): take the NMNamedManager as an argument
  4474. to check whether the config is the VPN config
  4475. - (add_ip4_config_to_named): fixups for removal of the 'secondary'
  4476. attribute from ip4 configs
  4477. - (add_all_ip4_configs_to_named): add all the configs in priority order
  4478. - (remove_ip4_config_from_named): fix for changes to
  4479. get_domain_for_config()
  4480. - (nm_named_manager_add_ip4_config): assign the config to the right slot
  4481. based on its type; callers must pass in the type now
  4482. - (get_last_default_domain): remove, unused
  4483. - (nm_named_manager_remove_ip4_config): handle config slots correctly
  4484. * src/nm-device-802-11-wireless.c
  4485. - (real_can_activate): new function
  4486. - (real_get_best_auto_connection): renamed from real_get_best_connection
  4487. - (real_act_stage4_get_ip4_config): handle MTU override
  4488. * src/nm-device-802-3-ethernet.c
  4489. - (real_can_activate): new function
  4490. - (real_get_best_auto_connection): renamed from real_get_best_connection
  4491. - (real_act_stage4_get_ip4_config): new function; handle MTU override
  4492. * src/vpn-manager/nm-vpn-connection.c
  4493. - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
  4494. attribute on the ip4 config
  4495. * src/NetworkManagerPolicy.c
  4496. - (nm_policy_auto_get_best_device): remove
  4497. - (nm_policy_device_change_check): remove
  4498. - (update_default_route): new function; set the default route via
  4499. the specified device
  4500. - (get_device_priority): new function; return the priority number of
  4501. a device type WRT which one should have the default route. Order is
  4502. (highest to lowest) wired, wireless, GSM, CDMA.
  4503. - (update_routing_and_dns): new function; determine which device should
  4504. have the default route, then update the routing table and DNS
  4505. - (maybe_auto_activate_device): new function; if a device is now
  4506. available for activation, find out what connection it would like to
  4507. activate and do it
  4508. - (schedule_activate_check): new function; if a device can be activated
  4509. now, schedule the activation. Each device may have only one
  4510. pending activation at a given time.
  4511. - (device_state_changed): if activation was canceled, try again,
  4512. possibly with another connection; if the device was activated,
  4513. update routing and DNS; if the device was deactivated, try again
  4514. with another connection
  4515. - (device_carrier_changed): if there is no carrier, deactivate the
  4516. device; otherwise schedule an activation check for the device
  4517. - (wireless_networks_changed): schedule an activation check for the
  4518. device
  4519. - (device_added): keep track of the signal handler IDs so they can
  4520. be removed when the device goes away
  4521. - (device_removed): remove any signal handlers that might be attached
  4522. to the device; update routing and DNS
  4523. - (schedule_activate_all): new function
  4524. - (connections_added, connection_added, connection_updated): when
  4525. connections change, schedule all devices for an activation check
  4526. - (connection_removed): when a device is deactivated because its
  4527. connection was removed, schedule another activation check for it
  4528. - (nm_policy_destroy): destroy pending activations and disconnect
  4529. all device signal handlers
  4530. * src/nm-manager.c
  4531. - (nm_manager_activate_device): if the device was already actived,
  4532. deactivate it
  4533. - (deactivate_old_device): remove
  4534. - (connection_added_default_handler, impl_manager_activate_device):
  4535. don't deactivate other devices when activating this one
  4536. * src/backends/NetworkManagerGentoo.c
  4537. src/backends/NetworkManagerFrugalware.c
  4538. src/backends/NetworkManagerPaldo.c
  4539. src/backends/NetworkManagerRedHat.c
  4540. src/backends/NetworkManagerSlackware.c
  4541. src/backends/NetworkManagerArch.c
  4542. src/backends/NetworkManagerSuSE.c
  4543. src/backends/NetworkManagerDebian.c
  4544. - (nm_system_get_mtu): remove; MTU should be provided through the
  4545. distro's system settings service plugin instead
  4546. - (nm_system_device_add_default_route_via_device): remove
  4547. - (nm_system_device_add_default_route_via_device_with_iface): remove
  4548. - (nm_system_device_replace_default_route): new function; call
  4549. generic implementation
  4550. * src/backends/NetworkManagerGeneric.c
  4551. src/backends/NetworkManagerGeneric.h
  4552. - (nm_generic_device_add_default_route_via_device,
  4553. nm_generic_device_add_default_route_via_device_with_iface): remove
  4554. - (nm_generic_device_replace_default_route): replace the default route
  4555. with the given route via some gateway
  4556. * src/NetworkManagerSystem.c
  4557. src/NetworkManagerSystem.h
  4558. - (nm_system_device_set_from_ip4_config): let the policy handle updates
  4559. to routing and DNS; but set the MTU here
  4560. - (nm_system_vpn_device_set_from_ip4_config): set the route with the
  4561. ip_iface of the active device; use the standard MTU setting function
  4562. - (nm_system_set_mtu): remove
  4563. - (nm_system_device_set_mtu): consolidate MTU setting code in one place
  4564. 2008-03-07 Tambet Ingo <tambet@gmail.com>
  4565. Rework the interaction between ppp manager and pppd plugin. Register a well
  4566. known DBUS service in manager and let the plugin call it's methods instead
  4567. of listening plugin's signals.
  4568. * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
  4569. of emitting signals.
  4570. * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
  4571. * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
  4572. * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
  4573. nm_ppp_manager_start().
  4574. * introspection/nm-ppp-manager.xml: New file.
  4575. * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
  4576. the case correctly where driver is trying to send -1 for the speed, which gets
  4577. casted to u16 and thus is always > 0.
  4578. 2008-03-07 Dan Williams <dcbw@redhat.com>
  4579. * src/nm-hal-manager.c
  4580. - (nm_get_device_driver_name): use net.originating_device first, fall
  4581. back to physical device. HAL has deprecated physical_device.
  4582. * libnm-glib/nm-device.c
  4583. - (get_product_and_vendor): use net.originating_device first, fall
  4584. back to physical device. HAL has deprecated physical_device.
  4585. - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
  4586. 2008-03-07 Dan Williams <dcbw@redhat.com>
  4587. * src/nm-netlink.c
  4588. - (nm_netlink_get_default_handle): mistakenly removed too much code in
  4589. last commit; fix that
  4590. - (get_link_cache): print error string
  4591. 2008-03-07 Dan Williams <dcbw@redhat.com>
  4592. * src/nm-netlink.c
  4593. - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
  4594. don't need this hack any more (Benoit Boissinot)
  4595. 2008-03-06 Dan Williams <dcbw@redhat.com>
  4596. * autogen.sh
  4597. - Die gnome-common, die
  4598. 2008-03-04 Dan Williams <dcbw@redhat.com>
  4599. Patch from Michael Biebl <biebl@debian.org>
  4600. * NetworkManager.pc.in
  4601. - doesn't actually depend on dbus-1
  4602. * libnm-util/nm-utils.h
  4603. - remove unused #include <dbus/dbus.h>
  4604. * libnm-glib/libnm_glib.pc.in
  4605. - depends on glib and dbus-glib
  4606. 2008-03-02 Dan Williams <dcbw@redhat.com>
  4607. * src/NetworkManagerPolicy.c
  4608. - s/device_state_changed_idle_id/update_state_id/
  4609. 2008-03-02 Dan Williams <dcbw@redhat.com>
  4610. * src/nm-device.c
  4611. src/nm-device.h
  4612. src/nm-device-802-11-wireless.c
  4613. src/nm-device-802-3-ethernet.c
  4614. src/NetworkManagerPolicy.c
  4615. - s/link_active/carrier
  4616. - nm_device_set_active_link() -> nm_device_set_carrier()
  4617. - nm_device_has_active_link() -> nm_device_get_carrier()
  4618. 2008-03-02 Dan Williams <dcbw@redhat.com>
  4619. * system-settings/plugins/ifcfg-fedora/parser.c
  4620. - (make_wireless_setting): fail connection creation on missing SSID
  4621. 2008-02-29 Dan Williams <dcbw@redhat.com>
  4622. * src/NetworkManagerPolicy.c
  4623. - (nm_policy_device_change_check): ensure that a previously active
  4624. device with a system connection has a link before denying a switch
  4625. to a user connection
  4626. 2008-02-29 Dan Williams <dcbw@redhat.com>
  4627. * src/nm-device-802-11-wireless.c
  4628. - (link_timeout_cb): try again if scanning; deactivate the device when
  4629. activated if the link dies
  4630. - (supplicant_iface_connection_state_cb_handler): bump link timeout to
  4631. 15 seconds
  4632. 2008-02-29 Dan Williams <dcbw@redhat.com>
  4633. * src/nm-device-802-11-wireless.c
  4634. src/nm-device-802-11-wireless.h
  4635. - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
  4636. elsewhere; fold into the sole user in nm-device-802-11-wireless.c
  4637. - (device_cleanup): reset the scan interval lower when the device
  4638. deactivates
  4639. - (can_scan): base decision mostly off device state, not supplicant
  4640. interface state since the supplicant interface state isn't a
  4641. great indicator of whether the device is active or not
  4642. - (request_wireless_scan): clean up; schedule the next scan here
  4643. - (schedule_scan): only back the scan interval off if a new scan
  4644. actually gets scheduled; and make scan intervals tighter when the
  4645. device is disconnected
  4646. - (supplicant_iface_state_cb_handler): fold in the bits of
  4647. nm_device_802_11_wireless_reset_scan_interval() by resetting scan
  4648. interval to minimum
  4649. - (activation_success_handler): reset scan interval to something
  4650. reasonable
  4651. 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
  4652. reviewed by: Steev <steev@steev.net>
  4653. * configure.in:
  4654. * src/backends/NetworkManagerGentoo.c:
  4655. (nm_system_restart_mdns_responder):
  4656. Howl is no longer a supported mDNS provider
  4657. 2008-02-28 Tambet Ingo <tambet@gmail.com>
  4658. Get rid of a bunch of unused distro specific functions.
  4659. 2008-02-28 Tambet Ingo <tambet@gmail.com>
  4660. Implement suse plugin for system settings daemon.
  4661. * system-settings/plugins/ifcfg-suse/*: Implement.
  4662. * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
  4663. suse.
  4664. * configure.in: Check (without failing) for gio.
  4665. Create ifcfg-suse plugin's Makefile.
  4666. 2008-02-20 Dan Williams <dcbw@redhat.com>
  4667. * libnm-util/nm-connection.c
  4668. libnm-util/nm-connection.h
  4669. - (nm_connection_compare): accept compare flags and pass them to the
  4670. setting compare function
  4671. * libnm-util/nm-setting.c
  4672. libnm-util/nm-setting.h
  4673. - (nm_setting_compare): accept compare flags; ignore properties that are
  4674. marked fuzzy
  4675. * libnm-util/nm-setting-connection.c
  4676. libnm-util/nm-setting-wireless.c
  4677. libnm-util/nm-setting-ppp.c
  4678. libnm-util/nm-setting-wired.c
  4679. - Mark some setting properties as ignorable when doing a fuzzy compare
  4680. * src/nm-device.c
  4681. - (device_activation_precheck): use exact compare
  4682. 2008-02-20 Dan Williams <dcbw@redhat.com>
  4683. * src/NetworkManagerPolicy.c
  4684. - (nm_policy_device_change_check): get scope off the connection, not
  4685. using the manager helper
  4686. * src/nm-manager.c
  4687. src/nm-manager.h
  4688. - (get_scope_for_proxy): rename from get_type_for_proxy()
  4689. - (connection_get_settings_cb): set scope and path on connection, not
  4690. using GObject data items
  4691. - (get_connection_for_proxy): don't need to return path, since that
  4692. can be gotten from the connection
  4693. - (get_connection_for_proxy): get path off the connection, not from
  4694. parameters
  4695. - (connection_removed_cb, connection_updated_cb): don't need to get
  4696. path from get_connection_for_proxy(); get scope off the connection
  4697. instead of using GObject data items
  4698. - (connection_added_default_handler, add_one_connection_element): use
  4699. nm_connection_get_path() not nm_manager_get_connection_dbus_path()
  4700. - (nm_manager_get_connection_dbus_path): remove
  4701. - (nm_manager_get_connection_scope): remove
  4702. 2008-02-20 Dan Williams <dcbw@redhat.com>
  4703. * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
  4704. on confusing names
  4705. * Add 'path' and 'scope' properties to NMConnection since both NM and the
  4706. applet were having to hack this in anyway. Remove the 'path' stuff from
  4707. NMExportedConnection
  4708. * Internally rename NMConnectionType -> NMConnectionScope
  4709. * Provide default implementations of the 'get_id' and 'get_settings' methods
  4710. of NMExportedConnection
  4711. 2008-02-15 Dan Williams <dcbw@redhat.com>
  4712. * src/nm-device-802-11-wireless.c
  4713. - (device_cleanup): release the AP list here too so that the AP list
  4714. doesn't survive across suspend/resume and up/down. There is some
  4715. room for optimization, for example blow the list away when the card
  4716. brought back up, but only if the device has only been down for a
  4717. minute or more.
  4718. 2008-02-15 Dan Williams <dcbw@redhat.com>
  4719. * src/nm-hal-manager.c
  4720. - (modem_device_creator): recognize new HAL modem capabilities
  4721. 2008-02-12 Dan Williams <dcbw@redhat.com>
  4722. * system-settings/plugins/ifcfg-fedora/plugin.c
  4723. - (watch_path): handle IN_DELETE_SELF too
  4724. - (handle_connection_changed): notify when removing a connection
  4725. - (stuff_changed): don't warn on unknown inotify watches; handle the
  4726. case of a file moving out of the profile directory
  4727. 2008-02-12 Dan Williams <dcbw@redhat.com>
  4728. * system-settings/plugins/ifcfg-fedora/parser.c
  4729. - (make_ip4_setting): bring IPv4 setting handling more up to spec
  4730. 2008-02-12 Dan Williams <dcbw@redhat.com>
  4731. * libnm-util/nm-utils.c
  4732. - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
  4733. just any empty array
  4734. 2008-02-12 Dan Williams <dcbw@redhat.com>
  4735. * system-settings/src/nm-system-config-interface.c
  4736. system-settings/src/nm-system-config-interface.h
  4737. - (load_connections): get_connections() should now return an allocated
  4738. GSList that the system settings service will free
  4739. * system-settings/plugins/ifcfg-fedora/plugin.c
  4740. system-settings/plugins/ifcfg-fedora/parser.h
  4741. system-settings/plugins/ifcfg-fedora/parser.c
  4742. - Fix up inotify issues; handle keys-* files, handle new files appearing
  4743. in the profile directory, handle resolv.conf file changes
  4744. 2008-02-10 Dan Williams <dcbw@redhat.com>
  4745. * src/nm-device-802-3-ethernet.c
  4746. - (real_bring_up): save the supplicant interface state signal id
  4747. - (real_bring_down): disconnect from the supplicant interface state
  4748. signal
  4749. 2008-02-07 Dan Williams <dcbw@redhat.com>
  4750. * initscript/RedHat/NetworkManager.in
  4751. initscript/RedHat/NetworkManagerDispatcher.in
  4752. - Add new-style LSB init headers
  4753. 2008-02-07 Dan Williams <dcbw@redhat.com>
  4754. * system-settings/src/dbus-settings.c
  4755. system-settings/src/dbus-settings.h
  4756. - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
  4757. table of secrets
  4758. - (connection_settings_get_secrets): consolidate error returns into
  4759. one place; use the new get_secrets() plugin interface function to
  4760. get secrets from the plugin itself rather than using GObject data
  4761. magic
  4762. * system-settings/src/main.c
  4763. - (connection_added_cb, connection_removed_cb, free_plugin_connections,
  4764. load_connections): keep a private list of the plugin-returned
  4765. connections, don't use the plugin's GSList
  4766. * system-settings/plugins/ifcfg-fedora/plugin.c
  4767. - (watch_path): watch the path, not the filename (duh)
  4768. - (reload_all_connections): use the direct hash/equal functions; the
  4769. ones for int aren't appropriate here
  4770. - (get_secrets, system_config_interface_init): implement the
  4771. get_secrets() function
  4772. - (build_one_connection, find_connection_by_path): ifcfg file path is
  4773. now in the connection's ConnectionData instead of being a GObject
  4774. data property
  4775. - (handle_profile_item_changed): ifcfg file path is now in the
  4776. connection's ConnectionData instead of being a GObject data property;
  4777. be sure to copy secrets over from the new connection to the existing
  4778. connection when updating the connection's settings
  4779. - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
  4780. file descriptor
  4781. * system-settings/plugins/ifcfg-fedora/parser.c
  4782. system-settings/plugins/ifcfg-fedora/parser.h
  4783. - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
  4784. connection_data_copy_secrets, connection_data_free,
  4785. connection_data_add): new functions; connection data manipulation
  4786. - (make_wireless_security_setting): stuff secrets into the
  4787. connection data, not as GObject data items; make sure to close
  4788. the keys ifcfg file
  4789. - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
  4790. connection data to the connection
  4791. 2008-02-07 Dan Williams <dcbw@redhat.com>
  4792. * system-settings/src/nm-system-config-interface.c
  4793. system-settings/src/nm-system-config-interface.h
  4794. - Add a get_secrets() interface function to retrieve secrets for a
  4795. specific setting of a specific connection. Document the interface
  4796. a bit more too.
  4797. 2008-02-07 Dan Williams <dcbw@redhat.com>
  4798. * src/nm-device-802-11-wireless.c
  4799. - (handle_auth_or_fail): new function; consolidate device activation
  4800. failure check after a certain number of failures getting secrets
  4801. - (supplicant_connection_timeout_cb, real_act_stage2_config,
  4802. real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
  4803. the connection if secrets were requested more than a few times
  4804. - (real_act_stage3_ip_config_start): don't clear the wireless secrets
  4805. tries here; otherwise they are cleared before the IP configure
  4806. timeout, which happens with open system WEP when key is wrong
  4807. - (activation_success_handler): clear wireless secrets tries here too
  4808. 2008-02-07 Dan Williams <dcbw@redhat.com>
  4809. * src/NetworkManagerPolicy.c
  4810. - (connection_updated): clear invalid tag when connection gets updated
  4811. to allow that connection to be tried again
  4812. - (nm_policy_new): save signal ids so they can be disconnected when
  4813. the policy is destroyed
  4814. - (nm_policy_destroy): stop any in-progress state change idle handler,
  4815. and disconnect all signals from the manager object so that none
  4816. of the policy functions gets called after the policy is destroyed
  4817. 2008-02-06 Dan Williams <dcbw@redhat.com>
  4818. * src/nm-manager.c
  4819. - (finalize): remove devices a bit earlier; clean up system settings
  4820. poke
  4821. - (nm_manager_name_owner_changed): clean up system settings poke when
  4822. the service appears, and try to restart it if it fails
  4823. - (poke_system_settings_daemon_cb): try to get the system settings
  4824. service started through D-Bus service activation
  4825. - (initial_get_connections): start the system settings daemon if it's
  4826. not already running
  4827. 2008-02-05 Dan Williams <dcbw@redhat.com>
  4828. * src/supplicant-manager/nm-supplicant-config.c
  4829. - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
  4830. broadcast networks too
  4831. 2008-02-04 Dan Williams <dcbw@redhat.com>
  4832. * system-settings/plugins/ifcfg-fedora/parser.c
  4833. - (make_wireless_security_setting): fix spelling; unencrypted networks
  4834. need key_mgmt set too
  4835. - (parser_parse_file): validate ifcfg file name and don't try to parse
  4836. .bak files; ensure that an error is set whenever NULL gets returned
  4837. 2008-02-04 Dan Williams <dcbw@redhat.com>
  4838. * system-settings/src/Makefile.am
  4839. - Install D-Bus service activation file for the system settings
  4840. service
  4841. * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
  4842. - D-Bus service activation file for system settings service
  4843. 2008-02-04 Dan Williams <dcbw@redhat.com>
  4844. * system-settings/src/main.c
  4845. - (parse_config_file): parse a config file
  4846. - (main): accept --config option and read plugins from config file
  4847. 2008-02-04 Dan Williams <dcbw@redhat.com>
  4848. * system-settings/plugins/ifcfg-fedora/plugin.c
  4849. - Change reported name to 'ifcfg-fedora'
  4850. - Use IFCFG_PLUGIN_NAME
  4851. * system-settings/plugins/ifcfg-fedora/plugin.c
  4852. - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
  4853. 2008-02-04 Dan Williams <dcbw@redhat.com>
  4854. * system-settings/plugins/ifcfg-fedora/parser.c
  4855. - (get_ifcfg_name): new function; factor out ifcfg name finding code
  4856. - (make_connection_setting): use get_ifcfg_name()
  4857. - (make_wireless_security_setting): handle shadow key files
  4858. - (get_one_wep_key): treat empty string as NULL
  4859. 2008-02-04 Dan Williams <dcbw@redhat.com>
  4860. * src/supplicant-manager/nm-supplicant-manager.c
  4861. - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
  4862. glib automatically reschedule
  4863. - (nm_supplicant_manager_init): immediately try to start the supplicant
  4864. - (nm_supplicant_manager_name_owner_changed): immediately try to restart
  4865. the supplicant
  4866. 2008-02-01 Dan Williams <dcbw@redhat.com>
  4867. * src/NetworkManagerPolicy.c
  4868. - (device_state_changed): schedule a change check when a device gets
  4869. deactivated so something happens if you disconnect GSM/CDMA
  4870. 2008-01-31 Dan Williams <dcbw@redhat.com>
  4871. * src/nm-device-802-11-wireless.h
  4872. src/nm-device-802-11-wireless.c
  4873. - (ap_list_get_ap_by_ssid, is_associated,
  4874. nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
  4875. nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
  4876. - (nm_device_802_11_wireless_get_activation_ap): collapse
  4877. nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
  4878. function
  4879. 2008-01-30 Dan Williams <dcbw@redhat.com>
  4880. * system-settings/plugins/ifcfg
  4881. * system-settings/plugins/ifcfg-fedora
  4882. - Move the ifcfg plugin to ifcfg-fedora
  4883. 2008-01-24 Dan Williams <dcbw@redhat.com>
  4884. * libnm-glib/nm-device-802-11-wireless.c
  4885. - (get_access_point): move the "/" check here; check for invalid path
  4886. too
  4887. - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
  4888. to get_access_point()
  4889. - (access_point_added_proxy, access_point_removed_proxy): don't try
  4890. to send signals for non-existent access points
  4891. 2008-01-24 Dan Williams <dcbw@redhat.com>
  4892. * libnm-glib/nm-device-802-11-wireless.c
  4893. - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
  4894. 2008-01-23 Dan Williams <dcbw@redhat.com>
  4895. * libnm-glib/libnm_glib.c
  4896. - (libnm_glib_init): make thread joinable
  4897. - (libnm_glib_ctx_free): join thread on exit to clean up memory
  4898. 2008-01-23 Dan Williams <dcbw@redhat.com>
  4899. * test/libnm_glib_test.c
  4900. - (signal_handler, setup_signals): trap SIGINT and SIGTERM
  4901. - (main): set up signal handlers; call libnm_glib_shutdown
  4902. 2008-01-21 Dan Williams <dcbw@redhat.com>
  4903. * include/NetworkManager.h
  4904. - Add CDMA mobile broadband card device type
  4905. * src/nm-hal-manager.c
  4906. - (modem_device_creator): handle both CDMA and GSM modems; the device
  4907. must now be tagged with 'cdma' or 'gsm' capability
  4908. * src/nm-cdma-device.c
  4909. src/nm-cdma-device.h
  4910. src/Makefile.am
  4911. - Add the CDMA mobile broadband card device class
  4912. * libnm-util/nm-connection.c
  4913. - (register_default_settings): add NMSettingCdma
  4914. * libnm-util/nm-setting-cdma.c
  4915. libnm-util/nm-setting-cdma.h
  4916. libnm-util/Makefile.am
  4917. - Add the CDMA mobile broadband card setting class
  4918. * libnm-glib/nm-cdma-device.c
  4919. libnm-glib/nm-cdma-device.h
  4920. libnm-glib/Makefile.am
  4921. - Add the CDMA mobile broadband card GLib proxy class
  4922. * libnm-glib/nm-client.c
  4923. - (get_device): handle CDMA devices too
  4924. 2008-01-21 Dan Williams <dcbw@redhat.com>
  4925. * src/ppp-manager/nm-ppp-manager.c
  4926. - (ip4_config_get): set peer address too
  4927. * src/ppp-manager/nm-pppd-plugin.c
  4928. - (nm_ip_up): try harder to get the peer's address
  4929. * src/NetworkManagerSystem.c
  4930. - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
  4931. address, use that too. Otherwise, some PPP connections won't work.
  4932. 2008-01-19 Dan Williams <dcbw@redhat.com>
  4933. * src/NetworkManagerPolicy.c
  4934. - (nm_policy_device_change_check): system connections override user
  4935. connections; don't activate a user connection if there's a currently
  4936. active system connection, and new, better system connections always
  4937. interrupt user connections
  4938. 2008-01-19 Dan Williams <dcbw@redhat.com>
  4939. * src/nm-manager.h
  4940. - (nm_manager_get_connection_type): new function
  4941. 2008-01-19 Dan Williams <dcbw@redhat.com>
  4942. * src/nm-device-802-11-wireless.c
  4943. - (real_get_best_connection): collapse find_best_connection() into this
  4944. function
  4945. 2008-01-19 Dan Williams <dcbw@redhat.com>
  4946. * src/nm-device-802-3-ethernet.c
  4947. - (real_get_best_connection): collapse find_best_connection() into this
  4948. function
  4949. 2008-01-18 Dan Williams <dcbw@redhat.com>
  4950. * src/nm-device-802-3-ethernet.c
  4951. - (find_best_connection): check MAC address too
  4952. - (real_get_best_connection): let autoconnect=True connections activate
  4953. for devices that don't have carrier detection
  4954. * src/nm-device-802-11-wireless.c
  4955. - (find_best_connection): check MAC address too
  4956. 2008-01-18 Dan Williams <dcbw@redhat.com>
  4957. * system-settings/plugins/ifcfg/parser.c
  4958. - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
  4959. 2008-01-17 Dan Williams <dcbw@redhat.com>
  4960. * src/nm-device-802-3-ethernet.c
  4961. - (nm_device_802_3_ethernet_carrier_on,
  4962. nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
  4963. carrier events that might come in for devices that don't support
  4964. carrier detect
  4965. 2008-01-17 Dan Williams <dcbw@redhat.com>
  4966. * src/nm-device-interface.c
  4967. - (nm_device_interface_check_connection_conflicts): need to actually
  4968. get the interface, not cast to the object
  4969. * src/nm-device.c
  4970. - (nm_device_check_connection_conflicts): need to get the device class,
  4971. not cast the device to the device class
  4972. 2008-01-17 Dan Williams <dcbw@redhat.com>
  4973. * src/nm-device-802-11-wireless.c
  4974. - (real_check_connection_conflicts): ignore connections that aren't
  4975. wireless connections
  4976. 2008-01-17 Dan Williams <dcbw@redhat.com>
  4977. * src/NetworkManagerPolicy.c
  4978. - (nm_policy_device_change_check): clear change check idle here
  4979. - (device_change_check_done): remove
  4980. - (schedule_change_check): simplify
  4981. 2008-01-17 Dan Williams <dcbw@redhat.com>
  4982. * src/nm-manager.c
  4983. - (check_connection_allowed): take an NMDeviceInterface instead of
  4984. an NMDevice object as an argument
  4985. - (nm_manager_activate_device): pass an NMDeviceInterface to
  4986. check_connection_allowed()
  4987. 2008-01-13 Dan Williams <dcbw@redhat.com>
  4988. * libnm-glib/nm-device-802-11-wireless.c
  4989. - (nm_device_802_11_wireless_get_access_points): fix memory leak
  4990. 2008-01-12 Dan Williams <dcbw@redhat.com>
  4991. * src/nm-device-802-11-wireless.c
  4992. - (activation_success_handler): if a match was found in the scan list
  4993. and that match is a hidden AP, update that AP's SSID
  4994. 2008-01-11 Dan Williams <dcbw@redhat.com>
  4995. * src/NetworkManagerAP.c
  4996. - (nm_ap_new_fake_from_connection): mark fake APs as fake
  4997. * src/nm-device-802-11-wireless.c
  4998. - (get_active_ap): do two passes over the scan list if the caller
  4999. requests that hidden APs get matched too; during the second pass
  5000. when matching hidden APs, ignore the SSID since hidden APs in the
  5001. scan list don't have an SSID yet
  5002. - (periodic_update): move some checks to
  5003. nm_device_802_11_periodic_update() because not all callers need them
  5004. - (nm_device_802_11_periodic_update): move some checks here from
  5005. perodic_update()
  5006. - (merge_scanned_ap): if the current AP is fake, then don't do strict
  5007. matching on incoming scan results, because the fake AP's flags
  5008. might be slightly different (yet still compatible) with the incoming
  5009. scan result's flags and they might actually be the same AP; update
  5010. the rate on merged APs too
  5011. - (activation_success_handler): update the frequency of the fake AP
  5012. on successful connection; match hidden APs too since if the
  5013. current AP is fake, there might already be a scan result in the
  5014. scan list for the desired AP, just without it's SSID filled in yet
  5015. 2008-01-10 Dan Williams <dcbw@redhat.com>
  5016. * src/NetworkManagerAP.c
  5017. - (foreach_property_cb): catch more hidden SSID formats
  5018. 2008-01-10 Dan Williams <dcbw@redhat.com>
  5019. Fix gnome.org #464215. Requires the kernel patch titled
  5020. "Introduce WEXT scan capabilities" but will handle the patch not being
  5021. present, you'll just continue to have problems with hidden SSIDs when
  5022. using mac80211-based drivers.
  5023. * src/supplicant-manager/nm-supplicant-config.h
  5024. src/supplicant-manager/nm-supplicant-config.c
  5025. - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
  5026. whether the driver supports SSID scans or not. If it does, and if
  5027. the AP is hidden, use ap_scan=1 instead of ap_scan=2
  5028. * src/nm-device-802-11-wireless.c
  5029. - (constructor): check whether or not the driver supports SSID scans
  5030. - (build_supplicant_config): pass driver SSID scan capability when
  5031. building the wireless bits of the supplicant config
  5032. 2008-01-09 Dan Williams <dcbw@redhat.com>
  5033. * src/nm-device.c
  5034. src/nm-device.h
  5035. - (device_activation_precheck, check_connection_complete): remove this
  5036. virtual function; incomplete connections should be invalid by
  5037. definition, complete-ness should be checked in the setting's
  5038. verify function
  5039. * src/nm-serial-device.c
  5040. src/nm-gsm-device.c
  5041. - (real_check_connection_complete): remove
  5042. * libnm-util/nm-setting-serial.c
  5043. - (verify): new function; ensure there is a PPP setting too
  5044. * libnm-util/nm-setting-gsm.c
  5045. - (verify): ensure there is a serial setting too
  5046. 2008-01-06 Dan Williams <dcbw@redhat.com>
  5047. * src/dhcp-manager/nm-dhcp-manager.c
  5048. - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
  5049. (gnome.org #332953)
  5050. 2008-01-04 Dan Williams <dcbw@redhat.com>
  5051. * src/named-manager/nm-named-manager.c
  5052. - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
  5053. nameservers if the secondary config doesn't have any
  5054. (gnome.org #346833)
  5055. 2008-01-02 Tambet Ingo <tambet@gmail.com>
  5056. * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
  5057. with G_PARAM_CONSTRUCT so that they get the default values.
  5058. * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
  5059. the monitoring device and prints out the output for now. Or more precicely, doesn't
  5060. do absolutely anything right now since the montoring device argument is never set.
  5061. * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
  5062. requires it's own knob to turn it on.
  5063. (config_fd): Add NMSettingSerial to the arguments list.
  5064. (nm_serial_device_open): Ditto.
  5065. (get_reply_got_data): Ignore the terminators at the beginning of the output.
  5066. (nm_serial_device_get_io_channel): Implement.
  5067. * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
  5068. a new reference every time (and forgetting to release it sometimes) is a pain and
  5069. it's not like NMManager could work without dbus.
  5070. (nm_manager_add_device): Register the added device on dbus here.
  5071. * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
  5072. device.
  5073. * src/nm-device.c (constructor): Don't export the device here, instead export
  5074. it when it's added to the NMManager's device list.
  5075. 2007-12-31 Dan Williams <dcbw@redhat.com>
  5076. * src/nm-device-interface.c
  5077. src/nm-device-interface.h
  5078. - (nm_device_interface_check_connection_conflicts): new function
  5079. * src/nm-device.c
  5080. src/nm-device.h
  5081. - (nm_device_check_connection_conflicts): new function
  5082. - (device_activation_precheck): don't require subclasses to implement
  5083. check_connection_complete()
  5084. - check_connection() -> check_connection_complete()
  5085. * src/nm-device-802-11-wireless.c
  5086. - (real_check_connection): remove; unused
  5087. - (real_check_connection_conflicts): implement, handle lockdown for
  5088. system connections
  5089. * src/nm-device-802-3-ethernet.c
  5090. - (real_check_connection): remove; unused
  5091. * src/nm-manager.c
  5092. - (check_connection_allowed): new function
  5093. - (nm_manager_activate_device): ensure the connection being requested
  5094. is allowed to be activated
  5095. * src/nm-serial-device.c
  5096. src/nm-gsm-device.c
  5097. - real_check_connection() -> real_check_connection_complete()
  5098. 2007-12-27 Dan Williams <dcbw@redhat.com>
  5099. * src/nm-device-interface.c
  5100. src/nm-device-interface.h
  5101. - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
  5102. normalize and expand errors
  5103. - (nm_device_interface_init): register errors so they can be marshalled
  5104. through dbus-glib
  5105. - (nm_device_interface_activate): ensure that failure of activation
  5106. returns an error
  5107. * src/nm-device.c
  5108. src/nm-device.h
  5109. - (device_activation_precheck): implementations of check_connection()
  5110. now take a GError and must fill it in if the check fails. Return
  5111. more descriptive error if the requested connection is already
  5112. activating
  5113. - (nm_device_activate): actually try to return descriptive errors on
  5114. failures
  5115. * src/nm-device-802-11-wireless.c
  5116. src/nm-device-802-3-ethernet.c
  5117. src/nm-serial-device.c
  5118. src/nm-gsm-device.c
  5119. - (real_check_connection): return more descriptive errors on failure
  5120. * src/NetworkManagerPolicy.c
  5121. - (nm_policy_device_change_check): print activation errors in the logs
  5122. * src/nm-manager.c
  5123. - (nm_manager_error_quark, nm_manager_error_get_type,
  5124. nm_manager_class_init): new errors
  5125. - (nm_manager_activate_device): handle errors
  5126. - (nm_manager_error_new): removed
  5127. - (wait_for_connection_expired, connection_added_default_handler,
  5128. impl_manager_activate_device): better error handling
  5129. 2007-12-27 Dan Williams <dcbw@redhat.com>
  5130. Fixes gnome.org #466954
  5131. * src/supplicant-manager/nm-supplicant-settings-verify.c
  5132. - Allow 'frequency' network property
  5133. * src/supplicant-manager/nm-supplicant-config.c
  5134. src/supplicant-manager/nm-supplicant-config.h
  5135. - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
  5136. for callers to specify the frequency an Ad-Hoc network should operate
  5137. on. Some drivers require this to successfully create an Ad-Hoc
  5138. network.
  5139. * src/nm-device-802-11-wireless.c
  5140. - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
  5141. guint32 value in MHz
  5142. - (constructor, nm_device_802_11_wireless_get_frequency): use
  5143. iw_freq_to_uint32()
  5144. - (find_supported_frequency): new function; find a free supported
  5145. frequency for a user-created Ad-Hoc network
  5146. - (build_supplicant_config): if no frequency was specified for a user-
  5147. created Ad-Hoc network, find a free one to use
  5148. - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
  5149. a specific object as user-created
  5150. 2007-12-27 Dan Williams <dcbw@redhat.com>
  5151. * libnm-util/nm-utils.c
  5152. libnm-util/nm-utils.h
  5153. - (nm_utils_security_valid): add 'adhoc' argument and handle security
  5154. for adhoc networks
  5155. 2007-12-24 Dan Williams <dcbw@redhat.com>
  5156. * libnm-util/nm-setting-wireless.c
  5157. - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
  5158. 185, 187, 188, 192, and 196
  5159. 2007-12-24 Dan Williams <dcbw@redhat.com>
  5160. * src/nm-device-802-11-wireless.c
  5161. - (nm_device_802_11_wireless_get_frequency): handle drivers that return
  5162. a channel # instead of a frequency
  5163. 2007-12-24 Dan Williams <dcbw@redhat.com>
  5164. * src/NetworkManagerAP.c
  5165. src/NetworkManagerAP.h
  5166. - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
  5167. - (freq_to_channel): handle split band tables
  5168. - (channel_to_freq): handle split band tables, take a band argument
  5169. 2007-12-24 Dan Williams <dcbw@redhat.com>
  5170. * libnm-util/nm-setting-connection.h
  5171. libnm-util/nm-setting-connection.c
  5172. - Add 'lockdown' member
  5173. 2007-12-22 Dan Williams <dcbw@redhat.com>
  5174. * libnm-util/nm-setting-wireless.c
  5175. - (nm_setting_wireless_class_init): add missing 'rate' property
  5176. specification
  5177. 2007-12-18 Dan Williams <dcbw@redhat.com>
  5178. Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
  5179. * src/nm-netlink-monitor.c
  5180. src/nm-netlink-monitor.h
  5181. - Remove handrolled netlink, use libnl instead
  5182. * src/nm-device-802-3-ethernet.c
  5183. - (constructor, nm_device_802_3_ethernet_carrier_off,
  5184. nm_device_802_3_ethernet_carrier_on): use new names
  5185. 2007-12-17 Dan Williams <dcbw@redhat.com>
  5186. * configure.in
  5187. - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
  5188. and fixes memory leaks)
  5189. * src/nm-netlink.c
  5190. - (nm_netlink_get_default_handle): handle new versions of libnl that
  5191. automatically handle the netlink PID
  5192. 2007-12-17 Dan Williams <dcbw@redhat.com>
  5193. Patch from Michael Biebl <biebl@debian.org>
  5194. * configure.in
  5195. src/ppp-manager/Makefile.am
  5196. - fix up install dir of pppd plugin
  5197. - clean up configure.in a bit
  5198. 2007-12-12 Dan Williams <dcbw@redhat.com>
  5199. * system-settings/src/nm-system-settings.conf
  5200. - Allow non-root clients (like the applet) to read settings
  5201. 2007-12-10 Tambet Ingo <tambet@gmail.com>
  5202. * Replace all occurences of 'UMTS' with 'GSM'.
  5203. 2007-12-07 Dan Williams <dcbw@redhat.com>
  5204. * src/nm-serial-device.c
  5205. - (real_is_up): serial devices are always "up"
  5206. 2007-12-07 Dan Williams <dcbw@redhat.com>
  5207. * src/nm-netlink.c
  5208. src/NetworkManagerSystem.c
  5209. - (new_nl_handle): ensure that the same netlink pid is never chosen
  5210. twice (gnome.org #491047)
  5211. - Make more robust against allocation-related failures should they occur
  5212. 2007-12-07 Dan Williams <dcbw@redhat.com>
  5213. Noticed by Christian Persch <chpe@gnome.org>
  5214. Always chain up to parent object in dispose and finalize handlers.
  5215. (gnome.org #433112)
  5216. 2007-12-07 Dan Williams <dcbw@redhat.com>
  5217. * src/nm-device-802-11-wireless.c
  5218. - Wrap #include of linux/mii.h to fix redefined structures due to
  5219. incorrect kernel headers (gnome.org #350061)
  5220. 2007-12-06 Tambet Ingo <tambet@gmail.com>
  5221. * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
  5222. before doing anything else.
  5223. (init_modem): Move modem initialization here.
  5224. * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
  5225. (nm_serial_device_flash): Implement.
  5226. * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
  5227. changes signal is "StateChanged" and not "Status".
  5228. (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
  5229. 2007-12-06 Dan Williams <dcbw@redhat.com>
  5230. * src/supplicant-manager/nm-supplicant-config.c
  5231. - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
  5232. to only send some options when they make sense; also send phase2
  5233. option to the supplicant (possible fix for rh #399631)
  5234. 2007-12-06 Tambet Ingo <tambet@gmail.com>
  5235. * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
  5236. arguments: This whole file shouldn't really know anything about NMDevices, it
  5237. should deal only with device interfaces. Devices might have different ifaces for
  5238. different stuff and this place shouldn't know anything about it.
  5239. * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
  5240. (global_state_changed): Implement. In the current NM it's not really important,
  5241. but will be required in the case of multiple active devices. (Or even better,
  5242. if stuff like that gets moved out from NM).
  5243. * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
  5244. nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
  5245. instead.
  5246. * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
  5247. devices like serial devices (ttyS0 and ppp0 for example).
  5248. (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
  5249. set.
  5250. (nm_device_set_ip_iface): Implement.
  5251. (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
  5252. after setting ip4_config from here ...
  5253. (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
  5254. than this function should call nm_system_device_set_from_ip4_config() because no
  5255. other code has enough information on which arguments to use. So instead, other code
  5256. could just set the new ip4 config using this function and everyone is happy.
  5257. * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
  5258. if we happen to get deactivated while something is pending.
  5259. (automatic_registration): Handle the response that indicates pending network
  5260. registration and wait until the pending registration is done.
  5261. (real_deactivate_quickly): If there's a pending operation, cancel it.
  5262. * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
  5263. (real_deactivate_quickly): ... and remove it when it's down.
  5264. (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
  5265. it if needed.
  5266. (nm_serial_device_wait_for_reply): Ditto.
  5267. 2007-12-05 Tambet Ingo <tambet@gmail.com>
  5268. * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
  5269. (get_network_done): Remove newline, nm_info() does it already.
  5270. (real_act_stage1_prepare): Turn the modem echo off.
  5271. * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
  5272. device, set the route to the device interface. This is a hack.
  5273. * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
  5274. return, no need for a new-line.
  5275. (ppp_ip4_config): Store the ip4 config to be set in the next stage.
  5276. Change the device iface here (ugh).
  5277. (real_act_stage4_get_ip4_config): Implement.
  5278. (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
  5279. Restore the device iface.
  5280. * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
  5281. device is not wired or wireless (eg, automatically upped) device.
  5282. * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
  5283. it isn't.
  5284. (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
  5285. * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
  5286. before calling it's is_device_fn().
  5287. 2007-12-05 Dan Williams <dcbw@redhat.com>
  5288. * libnm-util/nm-utils.c
  5289. - (nm_utils_register_value_transformations,
  5290. nm_utils_convert_gvalue_hash_to_string): better debug output of
  5291. GHashTables of GValues too
  5292. 2007-12-04 Dan Williams <dcbw@redhat.com>
  5293. * initscript/RedHat/NetworkManager.in
  5294. - No longer start named; it's D-Bus interface is going away
  5295. 2007-12-04 Dan Williams <dcbw@redhat.com>
  5296. Patch from Michael Biebl <biebl@debian.org>
  5297. * system-settings/plugins/ifcfg/Makefile.am
  5298. system-settings/src/main.c
  5299. system-settings/src/Makefile.am
  5300. - Put system settings plugins in NM plugins dir
  5301. * src/ppp-manager/Makefile.am
  5302. src/ppp-manager/nm-ppp-manager.c
  5303. - Move pppd plugin to NM plugins dir
  5304. 2007-12-04 Dan Williams <dcbw@redhat.com>
  5305. * libnm-util/nm-setting-vpn-properties.h
  5306. - Clarify usage of the 'data' member of the setting
  5307. * libnm-util/nm-setting-vpn-properties.c
  5308. - (nm_setting_vpn_properties_init): initialize the 'data' hash table
  5309. - (set_property): just remove all the settings; don't recreate the has
  5310. - (update_one_secret): don't need to create the hash table here since
  5311. it should always be present
  5312. 2007-12-03 Tambet Ingo <tambet@gmail.com>
  5313. Implement PIN and PUK requesting.
  5314. * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
  5315. (enter_pin): Handle PIN and PUK requests.
  5316. (real_act_stage1_prepare): Clear the secret type.
  5317. (real_connection_secrets_updated): Implement this class method to get
  5318. notified when new secrets arrive.
  5319. (nm_umts_device_class_init): Add private data back to the umts device class
  5320. to store the required secret type.
  5321. 2007-12-01 Dan Williams <dcbw@redhat.com>
  5322. * system-settings/plugins/ifcfg/parser.c
  5323. - (parser_parse_file): don't try to verify NULL connections
  5324. 2007-12-01 Dan Williams <dcbw@redhat.com>
  5325. * system-settings/src/main.c
  5326. - (load_connections, add_connection_to_settings): actually export
  5327. plugin-provided connections over D-Bus so NM can get them
  5328. 2007-12-01 Dan Williams <dcbw@redhat.com>
  5329. * system-settings/plugins/ifcfg/parser.c
  5330. system-settings/plugins/ifcfg/parser.h
  5331. system-settings/plugins/ifcfg/plugin.c
  5332. - Hook up more inotify bits (untested)
  5333. 2007-11-29 Dan Williams <dcbw@redhat.com>
  5334. * system-settings/src/nm-system-config-interface.h
  5335. system-settings/src/nm-system-config-interface.c
  5336. - (nm_system_config_interface_init,
  5337. nm_system_config_interface_get_connections): add
  5338. * system-settings/src/main.c
  5339. - (load_plugins, load_connections, main): use a GSList for plugins
  5340. to ensure priority ordering
  5341. * system-settings/plugins/ifcfg/parser.c
  5342. - (ifcfg_error_quark): move to plugin.c, and rename
  5343. * system-settings/plugins/ifcfg/plugin.h
  5344. system-settings/plugins/ifcfg/plugin.c
  5345. - (ifcfg_plugin_error_quark): move here from parser.c
  5346. - rework connection loading and initialization
  5347. - Add preliminary inotify support for network profile config file
  5348. 2007-11-28 Tambet Ingo <tambet@gmail.com>
  5349. Merge the beginnings of the new GSM card support.
  5350. * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
  5351. ppp watch source before killing pppd - If this happens from g_object_unref()
  5352. then the ppp manager is already destroyed by the time the watch callback runs.
  5353. * src/nm-hal-manager.c: Add a device_type_name string to the device
  5354. creators, so that we can print a nice human readable string when a
  5355. device is added.
  5356. * src/nm-umts-device.c (automatic_registration_get_network): Query
  5357. for the activated network, not much is done with the result thought.
  5358. * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
  5359. (ppp_ip4_config): Change the device state to activated here for now.
  5360. (real_check_connection): Make sure the connection includes ppp setting.
  5361. * libnm-glib/nm-client.c (get_device): Handle umts devices.
  5362. * libnm-glib/Makefile.am: Add the new files to build.
  5363. * libnm-glib/nm-umts-device.c:
  5364. * libnm-glib/nm-umts-device.h: Implement.
  5365. 2007-11-26 Tambet Ingo <tambet@gmail.com>
  5366. * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
  5367. immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
  5368. * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
  5369. the timeout source - this function is only called when the timeout source has
  5370. been removed.
  5371. (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
  5372. to be big enough to contain the terminating zero element as well.
  5373. The timeout argument is meant to be in seconds now.
  5374. (real_deactivate_quickly): Implement.
  5375. * src/NetworkManager.conf: Allow root to own
  5376. "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
  5377. * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
  5378. (not unsigned ints).
  5379. * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
  5380. small issue with parity bounds - capital letters have lower ascii codes
  5381. than lower case letters.
  5382. * libnm-util/nm-connection.c (register_default_settings): Register serial
  5383. and umts settings.
  5384. 2007-11-22 Tambet Ingo <tambet@gmail.com>
  5385. Remove the "index" property from devices as not all device types have this.
  5386. * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
  5387. * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
  5388. (wired_device_creator): Get the device interface from hal to create the device.
  5389. (wireless_device_creator): Ditto.
  5390. * src/nm-device.c (nm_device_init): Remove the index member.
  5391. (constructor): Remove the checks for index property, make interface property
  5392. a require constructor property.
  5393. Use the HAL udi for DBus path for devices.
  5394. (nm_device_get_index): Remove.
  5395. (set_property): Remove index handling.
  5396. (get_property): Ditto.
  5397. (nm_device_get_dbus_path): Remove.
  5398. * src/nm-device-interface.c (nm_device_interface_init): Remove the index
  5399. property.
  5400. * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
  5401. Access the device index through it's interface.
  5402. (nm_device_802_3_ethernet_link_deactivated): Ditto.
  5403. (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
  5404. index argument. Add interface argument.
  5405. * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
  5406. the useless test_dev argument. Remove index argument. Add interface arugment.
  5407. * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
  5408. device index through interface.
  5409. (nm_system_set_mtu): Ditto.
  5410. * introspection/nm-device.xml: Remove the "Index" property.
  5411. 2007-11-21 Tambet Ingo <tambet@gmail.com>
  5412. * src/nm-serial-device.c:
  5413. * src/nm-serial-device.c:
  5414. * src/nm-umts-device.c:
  5415. * src/nm-umts-device.h: Implement.
  5416. * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
  5417. allocated by libhal.
  5418. (modem_device_creator): Implement.
  5419. (register_built_in_creators): Register the modem creator.
  5420. * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
  5421. Remove the unused test_dev argument.
  5422. * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
  5423. * src/Makefile.am: Add new files to build.
  5424. Link in ppp-manager.
  5425. * libnm-util/nm-setting-umts.c:
  5426. * libnm-util/nm-setting-umts.h:
  5427. * libnm-util/nm-setting-serial.c:
  5428. * libnm-util/nm-setting-serial.h: Implement.
  5429. * libnm-util/Makefile.am: Add new files to build.
  5430. 2007-11-28 Dan Williams <dcbw@redhat.com>
  5431. Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
  5432. Support DHCP-provided static routes.
  5433. * src/nm-ip4-config.h
  5434. src/nm-ip4-config.c
  5435. - Add get/set functions for static routes
  5436. * src/dhcp-manager/nm-dhcp-manager.c
  5437. - (nm_dhcp_manager_get_ip4_config): extract static routes from the
  5438. DHCP response
  5439. * src/NetworkManagerSystem.c
  5440. - (nm_system_device_set_from_ip4_config): set any static routes on the
  5441. interface when applying the IP4Config
  5442. 2007-11-28 Dan Williams <dcbw@redhat.com>
  5443. * src/nm-device-802-11-wireless.c
  5444. - (real_act_stage1_prepare): mark APs created for hidden networks
  5445. as non-broadcasting
  5446. 2007-11-27 Dan Williams <dcbw@redhat.com>
  5447. * system-settings/src/nm-system-config-interface.h
  5448. - Note how to store secrets on NMSetting objects
  5449. * system-settings/src/dbus-settings.c
  5450. - (connection_settings_get_secrets): implement
  5451. 2007-11-27 Dan Williams <dcbw@redhat.com>
  5452. * system-settings/plugins/ifcfg/Makefile.am
  5453. system-settings/plugins/ifcfg/parser.c
  5454. system-settings/plugins/ifcfg/parser.h
  5455. system-settings/plugins/ifcfg/plugin.c
  5456. - Parse wireless connections too
  5457. * system-settings/src/dbus-settings.c
  5458. system-settings/src/dbus-settings.h
  5459. system-settings/src/main.c
  5460. - Handle connection update/removal if the plugin supports it
  5461. 2007-11-27 Dan Williams <dcbw@redhat.com>
  5462. * src/nm-dbus-manager.h
  5463. src/nm-hal-manager.c
  5464. - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
  5465. do it for them
  5466. * src/Makefile.am
  5467. src/NetworkManagerDbusUtils.c
  5468. src/NetworkManagerDbusUtils.h
  5469. - Remove these two source files; they are unused
  5470. 2007-11-27 Dan Williams <dcbw@redhat.com>
  5471. * src/vpn-manager/nm-vpn-manager.c
  5472. - (impl_vpn_manager_connect): fix system settings check (found by
  5473. James M. Leddy)
  5474. 2007-11-26 Dan Williams <dcbw@redhat.com>
  5475. * Fix warnings so everything compiles with --enable-more-warnings
  5476. 2007-11-25 Dan Williams <dcbw@redhat.com>
  5477. * system-settings/*
  5478. - Rework structure and code to use GModule-loaded plugins and a plugin
  5479. interface that plugins export to the system settings service
  5480. 2007-11-21 Dan Williams <dcbw@redhat.com>
  5481. * system-settings/*
  5482. - Add Soren's system settings service. Needs work for distros other
  5483. than Fedora; the backends from NM should mostly migrate to here
  5484. and be converted to GObjects
  5485. 2007-11-21 Dan Williams <dcbw@redhat.com>
  5486. * libnm-util/nm-setting-vpn-properties.c
  5487. - (set_property): must deep-copy the given settings hash, otherwise
  5488. double-free errors occur when the setting is disposed of
  5489. 2007-11-21 Dan Williams <dcbw@redhat.com>
  5490. * src/vpn-manager/nm-vpn-act-request.h
  5491. src/vpn-manager/nm-vpn-act-request.c
  5492. - Remove; unused
  5493. 2007-11-20 Dan Williams <dcbw@redhat.com>
  5494. * libnm-util/nm-utils.c
  5495. - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
  5496. nm_utils_convert_ip4_addr_struct_array_to_string,
  5497. nm_utils_register_value_transformations): print out the readable
  5498. values of more types of properties of NMSettings subclasses
  5499. 2007-11-20 Dan Williams <dcbw@redhat.com>
  5500. * libnm-util/nm-setting-ip4-config.c
  5501. - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
  5502. nm_setting_ip4_config_class_init): apparently dbus-glib can't
  5503. marshal GValueArrays inside collections, so switch to types that it
  5504. can actually marshal/demarshal
  5505. 2007-11-16 Dan Williams <dcbw@redhat.com>
  5506. * libnm-util/nm-setting-wireless-security.c
  5507. - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
  5508. minimal verification of EAP methods too
  5509. - (verify): verify phase1 eap methods too
  5510. 2007-11-15 Dan Williams <dcbw@redhat.com>
  5511. * libnm-glib/nm-device.h
  5512. libnm-glib/nm-device.c
  5513. - (nm_device_get_product, nm_device_get_vendor): should be returning
  5514. const char *
  5515. 2007-11-15 Dan Williams <dcbw@redhat.com>
  5516. * libnm-glib/nm-device.c
  5517. - (get_product_and_vendor): don't try to free things that should be
  5518. freed
  5519. 2007-11-15 Dan Williams <dcbw@redhat.com>
  5520. * src/NetworkManagerUtils.c
  5521. - (nm_ethernet_address_is_valid): unbreak previous fix
  5522. 2007-11-15 Dan Williams <dcbw@redhat.com>
  5523. * src/supplicant-manager/nm-supplicant-config.c
  5524. - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
  5525. options
  5526. 2007-11-15 Dan Williams <dcbw@redhat.com>
  5527. * src/NetworkManagerUtils.c
  5528. - (nm_ethernet_address_is_valid): fix style, clarify
  5529. - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
  5530. * src/nm-device-802-11-wireless.c
  5531. - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
  5532. - (nm_device_802_11_wireless_get_ssid,
  5533. nm_device_802_11_wireless_get_bssid,
  5534. nm_device_802_11_wireless_get_bitrate): zero the wreq structure
  5535. before calling the ioctl; fixes valgrind-reported jump depends on
  5536. uninitialized value errors
  5537. 2007-11-15 Dan Williams <dcbw@redhat.com>
  5538. * libnm-util/nm-setting.c
  5539. - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
  5540. unecessary to serialize 'name'
  5541. * src/nm-activation-request.c
  5542. - (get_secrets_cb): fix cases where a full NMSetting is returned from
  5543. the GetSecrets call
  5544. 2007-11-15 Dan Williams <dcbw@redhat.com>
  5545. * libnm-util/nm-setting-connection.h
  5546. libnm-util/nm-setting-connection.c
  5547. - Rename the 'name' property to 'id', because it conflicted with the
  5548. NMSetting superclass' 'name' property.
  5549. * libnm-util/nm-setting.c
  5550. - (nm_setting_to_hash): serialize the 'name' property
  5551. - (one_property_cb): ignore 'name' on deserialization of a connection
  5552. * src/nm-device-802-11-wireless.c
  5553. src/vpn-manager/nm-vpn-connection.c
  5554. src/NetworkManagerPolicy.c
  5555. - Fix up for NMSettingConnection 'name'->'id' changes
  5556. 2007-11-13 Dan Williams <dcbw@redhat.com>
  5557. * libnm-glib/nm-device-802-11-wireless.h
  5558. libnm-glib/nm-device-802-11-wireless.c
  5559. - (nm_device_802_11_wireless_get_hw_address): return should be const
  5560. * test/nm-tool.c
  5561. libnm-glib/libnm-glib-test.c
  5562. - Fixes for above change
  5563. 2007-11-12 Dan Williams <dcbw@redhat.com>
  5564. * src/supplicant-manager/nm-supplicant-settings-verify.c
  5565. - Allow fragment_size option
  5566. * src/supplicant-manager/nm-supplicant-settings-verify.c
  5567. - (nm_supplicant_config_add_setting_wireless_security): use a lower
  5568. EAP fragment size than the default to help some TLS connections
  5569. 2007-11-12 Dan Williams <dcbw@redhat.com>
  5570. Make certs actually work. The private key is now a secret, and should be
  5571. decrypted when requested by NM. The private key and phase2 private key
  5572. passwords are no longer interesting to NM because they should be used by
  5573. the settings service to decrypt the private key itself before passing it
  5574. to NM, and hence have been removed as fields.
  5575. * libnm-util/nm-setting-wireless-security.h
  5576. libnm-util/nm-setting-wireless-security.c
  5577. - Remove private-key-passwd and phase2-private-key-passwd from
  5578. properties
  5579. - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
  5580. need_secrets): use property #defines instead strings to keep things
  5581. consistent
  5582. - (need_secrets_tls): if a client certificate is present but no
  5583. private key, request the private key
  5584. - (set_property, get_property, nm_setting_wireless_security_class_init):
  5585. remove private key password stuff, mark private keys as secret
  5586. * src/supplicant-manager/nm-supplicant-settings-verify.c
  5587. - Remove private_key_passwd and private_key2_passwd from opt_table
  5588. 2007-11-09 Dan Williams <dcbw@redhat.com>
  5589. Fix vpn-properties setting update_secrets call for new NMSetting stuff.
  5590. Since the vpn-properties are managed and known by the VPN daemons themselves,
  5591. libnm-util doesn't know what's secret and what's in the setting's 'data'
  5592. member.
  5593. * libnm-util/nm-setting.h
  5594. libnm-util/nm-setting.c
  5595. - Add the ability for subclasses to override update_one_secret
  5596. * libnm-util/nm-setting-vpn-properties.c
  5597. - Override update_one_secret and just copy the values into the
  5598. internal table
  5599. 2007-11-09 Dan Williams <dcbw@redhat.com>
  5600. * libnm-glib/nm-settings.h
  5601. libnm-glib/nm-settings.c
  5602. - (nm_settings_new_error): remove
  5603. - (nm_settings_error_quark): add; instead of nm_settings_new_error,
  5604. clients should use g_set_error() with NM_SETTINGS_ERROR
  5605. 2007-11-09 Dan Williams <dcbw@redhat.com>
  5606. * src/supplicant-manager/nm-supplicant-config.c
  5607. - (nm_supplicant_config_add_setting_wireless_security): private key
  5608. passwords are never sent to wpa_supplicant, because the supplicant
  5609. should never be reading random files from the disk. Clients like
  5610. the applet are required to decrypt the private keys and send NM
  5611. the decrypted blobs.
  5612. 2007-11-08 Dan Williams <dcbw@redhat.com>
  5613. * libnm-util/nm-setting-wireless-security.h
  5614. libnm-util/nm-setting-wireless-security.c
  5615. - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
  5616. members to 802-11-wireless-security structure. This should be used
  5617. to indicate that the values in private-key and phase2-private-key
  5618. are already decrypted by the user agent, and that no
  5619. private-key-passwd or phase2-private-key-passwd should be expected.
  5620. It is not meant to be a stored configuration value, but meant to
  5621. be set when the conneciton is sent to NM over dbus.
  5622. 2007-11-08 Dan Williams <dcbw@redhat.com>
  5623. * libnm-util/nm-connection.h
  5624. libnm-util/nm-connection.c
  5625. - (nm_connection_need_secrets): add argument to return hints
  5626. * src/nm-device-802-11-wireless.c
  5627. - (link_timeout_cb, supplicant_connection_timeout_cb,
  5628. real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
  5629. nm_connection_need_secrets() change
  5630. 2007-11-07 Tambet Ingo <tambet@gmail.com>
  5631. Rework NMSetting structures: Move each setting to it's own file.
  5632. Convert to GObject. Remove home grown setting types and use GTypes.
  5633. Use GObject property introspection for hash conversion, enumerating
  5634. properties, etc.
  5635. * libnm-util/nm-setting-connection.[ch]
  5636. * libnm-util/nm-setting-ip4-config.[ch]
  5637. * libnm-util/nm-setting-ppp.[ch]
  5638. * libnm-util/nm-setting-vpn.[ch]
  5639. * libnm-util/nm-setting-vpn-properties.[ch]
  5640. * libnm-util/nm-setting-wired.[ch]
  5641. * libnm-util/nm-setting-wireless.[ch]
  5642. * libnm-util/nm-setting-wireless-security.[ch]
  5643. New files, each containing a setting.
  5644. * libnm-util/nm-setting-template.[ch]: A template for creating new
  5645. settings. To use it, just replace 'template' with the new setting
  5646. name, and you're half-way done.
  5647. * libnm-util/nm-setting.c: Convert to GObject and use GObject
  5648. introspection instead of internal types and tables.
  5649. * libnm-util/nm-connection.c: Adapt the new NMSetting work.
  5650. * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
  5651. GValue types defined by dbus-glib for composed types like collections,
  5652. structures and maps.
  5653. * src/*: The API of NMSetting and NMConnection changed a bit: Getting
  5654. a setting from connection takes the setting type now. Also, since
  5655. the settings are in multiple files, include relevant settings.
  5656. 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
  5657. * configure.in:
  5658. * src/backends/NetworkManagerGentoo.c:
  5659. (nm_system_restart_mdns_responder): Implement restarts for other mdns
  5660. providers in Gentoo.
  5661. 2007-10-31 Dan Williams <dcbw@redhat.com>
  5662. * libnm-util/nm-connection.c
  5663. - (gvalue_to_string): handle UINT32 arrays
  5664. 2007-10-31 Dan Williams <dcbw@redhat.com>
  5665. * libnm-glib/nm-device.h
  5666. libnm-glib/nm-device.c
  5667. - (nm_device_get_description): remove
  5668. - (nm_device_get_product, nm_device_get_vendor): add
  5669. - (nm_device_update_description): new function (private); walk HAL
  5670. devices to get product and vendor IDs for a specific device
  5671. 2007-10-31 Dan Williams <dcbw@redhat.com>
  5672. * src/nm-device-802-11-wireless.c
  5673. - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
  5674. 2007-10-29 Dan Williams <dcbw@redhat.com>
  5675. * src/nm-hal-manager.c
  5676. - (device_added, device_new_capability): ignore device additions while
  5677. asleep. Fixes crash caused when NM goes to sleep, a network device
  5678. kernel module is unloaded and reloaded and recognized by NM again.
  5679. 2007-10-26 Dan Williams <dcbw@redhat.com>
  5680. Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
  5681. * src/NetworkManagerAP.c
  5682. src/NetworkManagerAP.h
  5683. libnm-glib/nm-access-point.c
  5684. libnm-glib/nm-access-point.h
  5685. - Make 'rate' property a guint32 to better match with WEXT and
  5686. wpa_supplicant and to allow representation of higher bitrates
  5687. * src/nm-device-802-11-wireless.c
  5688. introspection/nm-device-802-11-wireless.xml
  5689. libnm-glib/nm-device-802-11-wireless.c
  5690. libnm-glib/nm-device-802-11-wireless.h
  5691. - Make 'bitrate' property a guint32 to match AP 'rate' property type
  5692. * src/nm-device-802-3-ethernet.c
  5693. src/nm-device-802-3-ethernet.h
  5694. introspection/nm-device-802-3-ethernet.xml
  5695. libnm-glib/nm-device-802-3-ethernet.c
  5696. libnm-glib/nm-device-802-3-ethernet.h
  5697. - Make 'speed' property a guint32 to match other speed/rate types
  5698. - Make nm_device_802_3_ethernet_get_speed() static
  5699. * test/nm-tool.c
  5700. - Update for the changes above
  5701. 2007-10-26 Dan Williams <dcbw@redhat.com>
  5702. * src/named-manager/nm-named-manager.c
  5703. - (rewrite_resolv_conf): clean up error handling to avoid double-free by
  5704. not calling fclose() twice on some error conditions
  5705. 2007-10-26 Dan Williams <dcbw@redhat.com>
  5706. * src/nm-activation-request.c
  5707. - (dispose): clean up indentation; get the right DBusGProxy object to
  5708. cancel the GetSecrets pending call on. Need to use the Secrets
  5709. proxy, not the regular connection proxy. Otherwise the GetSecrets
  5710. pending call doesn't get canceled, and pressing Cancel in the
  5711. applet's password dialog could cause get_secrets_cb() to be called
  5712. after the activation request has already been destroyed
  5713. 2007-10-24 Dan Williams <dcbw@redhat.com>
  5714. * src/supplicant-manager/nm-supplicant-config.c
  5715. - (nm_supplicant_config_add_blob): pass blob data and length for
  5716. verification
  5717. - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
  5718. 2007-10-24 Dan Williams <dcbw@redhat.com>
  5719. * src/supplicant-manager/nm-supplicant-settings-verify.c
  5720. - (opt_table): max length for certificates should be 65536
  5721. 2007-10-24 Dan Williams <dcbw@redhat.com>
  5722. * src/supplicant-manager/nm-supplicant-interface.c
  5723. - (blob_free): correctly free blob data after use
  5724. - (call_set_blobs): use the right D-Bus interfaace for setBlobs
  5725. 2007-10-24 Dan Williams <dcbw@redhat.com>
  5726. * libnm-util/nm-setting.c
  5727. - (setting_wireless_security_need_secrets): Fix lookup table logic for
  5728. EAP method need secrets
  5729. 2007-10-24 Dan Williams <dcbw@redhat.com>
  5730. * src/backends/NetworkManagerRedHat.c
  5731. - (nm_system_update_dns): be a lot smarter about telling nscd to restart
  5732. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5733. * libnm-util/nm-setting.c
  5734. libnm-util/nm-setting.c
  5735. - (nm_setting_compare): implement
  5736. - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
  5737. compare_one_hash_gvalue): compare the contents of a setting
  5738. * libnm-util/nm-connection.c
  5739. - (nm_connection_compare): implement
  5740. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5741. * src/nm-activation-request.c
  5742. - (get_secrets_cb): handle getting a setting back that is more than
  5743. just secrets (ie, user changed auth or EAP method or something)
  5744. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5745. * libnm-util/nm-setting.c
  5746. libnm-util/nm-setting.h
  5747. - (nm_setting_verify): new function; verify one setting
  5748. - (nm_settings_verify_all): rename from nm_settings_verify()
  5749. - (setting_connection_verify, setting_wireless_verify): allow NULL
  5750. all_settings
  5751. * libnm-util/nm-connection.c
  5752. - (nm_connection_replace_settings, nm_connection_verify,
  5753. nm_connection_new_from_hash): handle nm_settings_verify() rename
  5754. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5755. * src/nm-device-802-11-wireless.c
  5756. - (real_act_stage2_config): use pre-increment on 'tries' to get the
  5757. desired behavior
  5758. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5759. * src/supplicant-manager/nm-supplicant-settings-verify.c
  5760. - eap_allowed, phase2_allowed: harmonize with allowed values from
  5761. nm-settings.c
  5762. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5763. * src/nm-device-802-11-wireless.c
  5764. - (real_act_stage2_config): after the first association failure,
  5765. if the connection still needs secrets ask the user for them
  5766. explicitly. After the fourth association failure due to bad
  5767. secrets, fail the connection entirely. Handles the GetSecrets
  5768. loop that NM gets into when the provided secrets don't match up
  5769. with the connection details.
  5770. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5771. * src/supplicant-manager/nm-supplicant-config.c
  5772. - (nm_supplicant_config_add_setting_wireless_security): only add
  5773. WPA-specific options when WPA is in use
  5774. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5775. * src/supplicant-manager/nm-supplicant-config.c
  5776. - (nm_supplicant_config_add_setting_wireless_security): 'password'
  5777. secret doesn't need to be unhexified
  5778. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5779. * libnm-util/nm-setting.c
  5780. - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
  5781. before trying to do something with it
  5782. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5783. * src/nm-device-802-11-wireless.c
  5784. - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
  5785. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5786. * src/nm-device-802-11-wireless.c
  5787. - (merge_scanned_ap): use libnm-util empty SSID check to catch more
  5788. non-SSID-broadcasting APs
  5789. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5790. * src/NetworkManagerAP.c
  5791. - (match_cipher, security_compatible): remove
  5792. - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
  5793. libnm-util instead
  5794. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5795. * libnm-util/nm-utils.c
  5796. libnm-util/nm-utils.h
  5797. - (nm_utils_ap_security_compatible): common function for checking
  5798. whether a specific AP is compatible with an NMConnection
  5799. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5800. * libnm-util/nm-setting.c
  5801. - (setting_wireless_security_need_secrets, need_secrets_phase2,
  5802. need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
  5803. need_secrets_password, setting_wireless_security_verify): fix
  5804. need_secrets for IEEE 802.1x and WPA-EAP by implementing need
  5805. secrets logic for each supported EAP method
  5806. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5807. * src/supplicant-manager/nm-supplicant-config.c
  5808. - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
  5809. config option name, should be "private_key2_passwd"
  5810. 2007-10-22 Tambet Ingo <tambet@gmail.com>
  5811. Implement support for static IP addresses, additional/overridden DNS and
  5812. DNS domain search lists.
  5813. * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
  5814. (ip4_addresses_to_gvalue): Implement.
  5815. (convert_array_to_byte_array): Implement.
  5816. (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
  5817. NM_S_TYPE_IP4_ADDRESSES.
  5818. (nm_setting_hash): Ditto.
  5819. (default_setting_clear_secrets): Add a default case for the switch: IP address
  5820. shouldn't be secret, ever.
  5821. (setting_ip4_config_verify): Update, requires addresses in case of manual
  5822. configurations.
  5823. (setting_ip4_config_destroy): Free stuff.
  5824. * src/nm-device.c (merge_ip4_config): Implement.
  5825. (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
  5826. 2007-10-22 Dan Williams <dcbw@redhat.com>
  5827. * libnm-util/nm-setting.c
  5828. - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
  5829. pairwise cipher options for Dynamic WEP
  5830. 2007-10-21 Dan Williams <dcbw@redhat.com>
  5831. * src/NetworkManagerAP.c
  5832. src/NetworkManagerAP.h
  5833. - Rename 'articifical' -> 'fake' since that's what they are until
  5834. noticed in scans
  5835. - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
  5836. from the attributes in an NMConnection object
  5837. - (security_compatible): better handle Dynamic WEP and LEAP; handle
  5838. WPA Enterprise
  5839. - (nm_ap_match_in_list): find a matching AP in a scan list
  5840. * src/nm-device-802-11-wireless.c
  5841. - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
  5842. AP when searching the scan list; match on frequency and mode too
  5843. - (nm_device_802_11_wireless_get_frequency): implement
  5844. - (merge_scanned_ap): replace duplicate matching logic with
  5845. nm_ap_match_in_list()
  5846. - (real_act_stage1_prepare): handle a NULL specific object; ie where
  5847. the user is trying to connect to a hidden network that is not yet
  5848. known from the scan list
  5849. - (activation_success_handler): now that the card knows the AP's BSSID,
  5850. there may already be a scanned AP in the scan list that is what
  5851. we really wanted to connect to, but didn't know at the time. Use
  5852. that instead of the 'fake' AP created at activation start and get
  5853. rid of the 'fake' AP
  5854. - (cull_scan_list): don't remove fake APs
  5855. 2007-10-21 Dan Williams <dcbw@redhat.com>
  5856. * src/nm-activation-request.h
  5857. src/nm-activation-request.c
  5858. - (nm_act_request_set_specific_object): new function; allow setting the
  5859. specific object if one isn't set yet
  5860. 2007-10-20 Dan Williams <dcbw@redhat.com>
  5861. * src/supplicant-manager/nm-supplicant-config.h
  5862. src/supplicant-manager/nm-supplicant-config.c
  5863. - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
  5864. table to store blobs
  5865. - (nm_supplicant_config_add_blob): new function; add blob to internal
  5866. blob hash table
  5867. - (nm_supplicant_config_get_blobs): new function; get stored blobs
  5868. - (nm_supplicant_config_add_setting_wireless_security): handle
  5869. options that use certificates (ie, blobs)
  5870. * src/nm-device-802-11-wireless.c
  5871. - (build_supplicant_config): pass a UID (just use the connection path)
  5872. to the supplicant config as now required
  5873. * src/supplicant-manager/nm-supplicant-interface.c
  5874. - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
  5875. there are any blobs to send to wpa_supplicant, send those first
  5876. before sending the network configuration
  5877. 2007-10-19 Dan Williams <dcbw@redhat.com>
  5878. Split the GetSecrets() call off to a separate D-Bus interface so that it
  5879. can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
  5880. should be able to call GetSecrets().
  5881. * include/NetworkManager.h
  5882. - Define the connection secrets D-Bus interface
  5883. * src/vpn-manager/nm-vpn-connection.c
  5884. - (clear_need_auth): get the right proxy object for the connection
  5885. secrets interface
  5886. - (get_connection_secrets): use the connection secrets proxy; send
  5887. empty hints in get secrets request
  5888. * src/nm-activation-request.c
  5889. - (nm_act_request_request_connection_secrets): use the connection
  5890. secrets proxy; send empty hints in get secrets request
  5891. * src/nm-manager.c
  5892. src/nm-manager.h
  5893. - (connection_get_settings_cb): set the connection secrets proxy on
  5894. the connection object too
  5895. - (internal_new_connection_cb): create the connection secrets proxy
  5896. * introspection/nm-settings-connection.xml
  5897. - Define Connection.Secrets interface and move GetSecrets there
  5898. - Add a 'hints' argument to GetSecrets
  5899. * libnm-glib/nm-settings.c
  5900. libnm-glib/nm-settings.h
  5901. - (impl_connection_settings_get_secrets): add 'hints' argument
  5902. 2007-10-19 Dan Williams <dcbw@redhat.com>
  5903. * src/nm-device.c
  5904. - (constructor): add message about what path a device is exported as
  5905. to help in debugging rh #339011
  5906. 2007-10-17 Dan Williams <dcbw@redhat.com>
  5907. * libnm-util/nm-utils.h
  5908. libnm-util/nm-utils.c
  5909. - (nm_utils_security_valid): common function to help find the intersection
  5910. of capabilities of devices and (optionally) access points
  5911. 2007-10-17 Dan Williams <dcbw@redhat.com>
  5912. * src/nm-device-802-11-wireless.c
  5913. - (get_wireless_capabilities): add missing braces so that WPA capabilities
  5914. don't get erroneously cleared
  5915. 2007-10-17 Dan Williams <dcbw@redhat.com>
  5916. * src/nm-manager.h
  5917. src/nm-manager.c
  5918. src/nm-hal-manager.c
  5919. - (device_removed, finalize, nm_manager_remove_device,
  5920. nm_manager_sleep): add a 'deactivate' argument to
  5921. nm_manager_remove_device() to fully deactivate devices when necessary
  5922. (ie, always except when waking up)
  5923. 2007-10-16 Dan Williams <dcbw@redhat.com>
  5924. * libnm-util/nm-setting.c
  5925. - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
  5926. also isn't valid phase2 autheap method
  5927. 2007-10-16 Dan Williams <dcbw@redhat.com>
  5928. * libnm-glib/nm-client.c
  5929. - (update_wireless_status): consolidate updates of wireless status
  5930. - (constructor): use update_wireless_status()
  5931. - (manager_running): set wireless status off when NM goes away; requery
  5932. the wireless status when NM comes back
  5933. 2007-10-16 Dan Williams <dcbw@redhat.com>
  5934. * libnm-glib/nm-client.c
  5935. - (nm_client_activate_device): actually use the fixed-up specific
  5936. object path
  5937. 2007-10-16 Dan Williams <dcbw@redhat.com>
  5938. * src/nm-hal-manager.c
  5939. - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
  5940. killswitch error messages once
  5941. 2007-10-16 Dan Williams <dcbw@redhat.com>
  5942. * src/nm-manager.c
  5943. - (manager_set_wireless_enabled): don't allow wireless to be enabled
  5944. if it's disabled in hardware; don't touch network devices while
  5945. NM is asleep
  5946. 2007-10-16 Dan Williams <dcbw@redhat.com>
  5947. * libnm-util/nm-client.c
  5948. - (nm_client_activate_device): convert NULL specific_object to "/",
  5949. which is used in place of NULL
  5950. * src/nm-manager.c
  5951. - (impl_manager_activate_device): convert "/" specific_object back into
  5952. NULL
  5953. 2007-10-16 Tambet Ingo <tambet@gmail.com>
  5954. Implement a generic NMSetting creator from setting name.
  5955. While at it, get rid of all nm_setting_foo_new_from_hash() functions and
  5956. add a virtual function 'populate_fn'.
  5957. * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
  5958. (register_default_creators): Register setting creators instead of functions
  5959. that create and then populate.
  5960. (parse_one_setting): Use the common setting creator and then setting specific
  5961. poplulation function.
  5962. * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
  5963. they all looked exactly the same.
  5964. Add a 'populate_fn' virtual function to NMSetting.
  5965. Use default virtual functions in case they are not overriden.
  5966. (nm_setting_populate_from_hash): Implement.
  5967. * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
  5968. name, use a defined string.
  5969. (real_act_stage4_get_ip4_config): Ditto.
  5970. 2007-10-16 Tambet Ingo <tambet@gmail.com>
  5971. * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
  5972. HAL is int, not uint.
  5973. 2007-10-15 Tambet Ingo <tambet@gmail.com>
  5974. Implement killswitch polling through HAL.
  5975. * src/nm-manager.c: Add wireless hardware status property. Add
  5976. 'properties-changed' signal for changes in wireless and wireless hardware
  5977. state changes.
  5978. * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
  5979. and update NMManager's wireless hardware state when it has changed.
  5980. (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
  5981. already does that.
  5982. * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
  5983. values of wireless state and wireless hardware state. Listen for the
  5984. 'properties-changed' signals, update the cached values and emit notify.
  5985. * include/NetworkManager.h: Fix a typo in a comment.
  5986. 2007-10-14 Dan Williams <dcbw@redhat.com>
  5987. * libnm-util/nm-setting.c
  5988. - (setting_wireless_security_need_secrets): handle LEAP secrets
  5989. 2007-10-13 Dan Williams <dcbw@redhat.com>
  5990. * libnm-util/nm-setting.h
  5991. libnm-util/nm-setting.c
  5992. src/supplicant-manager/nm-supplicant-config.c
  5993. - Make the 'proto' field of the 802-11-wireless-security field a
  5994. string list
  5995. 2007-10-12 Tambet Ingo <tambet@gmail.com>
  5996. Rework the "properties-changed" signal listening implementation.
  5997. Add a generic implementation to NMObject class that listens for
  5998. the signal and calls property setters of the target NMObject.
  5999. * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
  6000. * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
  6001. code to the end of file so that all the static functions are available
  6002. without extra declarations.
  6003. Remove the "properties-changed" signal handling and use the framework from
  6004. NMObject.
  6005. Implement property setters for properties that change with
  6006. "properties-changed" signal.
  6007. * libnm-glib/nm-access-point.c: Ditto.
  6008. 2007-10-12 Tambet Ingo <tambet@gmail.com>
  6009. Rework the "properties-changed" signal implementation.
  6010. In classes that need to use it, just emit "GObject::notify" and the new
  6011. framework takes care of the rest to make the signal available on dbus.
  6012. The framework queues the notifications and tries to send as many together
  6013. in one signal as possible.
  6014. * src/nm-properties-changed-signal.c:
  6015. * src/nm-properties-changed-signal.h: Implement.
  6016. * src/Makefile.am: Add new files to build.
  6017. * src/NetworkManagerAP.c: Use the general framework for properties-changed
  6018. signal.
  6019. * src/nm-device-802-11-wireless.c: Ditto.
  6020. 2007-10-10 Dan Williams <dcbw@redhat.com>
  6021. * src/nm-manager.c
  6022. - (wait_for_connection_expired): ensure info is valid
  6023. - (connection_added_default_handler): Should only remove pending
  6024. connection info when the manager has the connection that it's
  6025. waiting for. Fixes segfault in wait_for_connection_info().
  6026. 2007-10-10 Dan Williams <dcbw@redhat.com>
  6027. * libnm-util/nm-setting.c
  6028. libnm-util/nm-setting.h
  6029. - Add a default 'user_name' field to the VPN setting, which VPN plugins
  6030. can use if they choose. Should be filled in by the settings service
  6031. on-the-fly with the currently logged in user's username
  6032. 2007-10-10 Dan Williams <dcbw@redhat.com>
  6033. * src/nm-device-802-11-wireless.c
  6034. - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
  6035. as such, because even if the manager fills in the SSID, NM still
  6036. has to indicate to wpa_supplicant that the AP isn't broadcasting
  6037. its SSID
  6038. 2007-10-10 Tambet Ingo <tambet@gmail.com>
  6039. Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
  6040. code that used NM's own version of dbus signal handling and custom dictionary
  6041. marshalling/unmarshalling. With this change, all that obsolete code can disappear
  6042. and we get to maintain over 2000 lines less code.
  6043. * libnm-util/dbus-dict-helpers.c:
  6044. * libnm-util/dbus-dict-helpers.h: Remove.
  6045. * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
  6046. * src/ppp-manager/nm-pppd-plugin.xml: Implement.
  6047. * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
  6048. handlers.
  6049. * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
  6050. * configure.in: Remove test/libnm-util/Makefile creation.
  6051. * test/Makefile.am: Remove libnm-util from SUBDIRS.
  6052. * test/libnm-util/: Remove the whole directory.
  6053. 2007-10-10 Tambet Ingo <tambet@gmail.com>
  6054. * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
  6055. device_state_changed_idle_id variable or it would contain some random value and the
  6056. schedule_change_check calls would not do anything.
  6057. 2007-10-09 Dan Williams <dcbw@redhat.com>
  6058. * src/nm-device-802-11-wireless.c
  6059. - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
  6060. - (merge_scanned_ap): only have the manager fill the SSID if the AP
  6061. isn't broadcasting its SSID; set the non-broadcast flag here; fix
  6062. merging of non-SSID-broadcasting APs
  6063. 2007-10-09 Tambet Ingo <tambet@gmail.com>
  6064. * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
  6065. "guint8 *" since it's usually used with GByteArray->data.
  6066. (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
  6067. 2007-10-09 Tambet Ingo <tambet@gmail.com>
  6068. * src/NetworkManagerUtils.c
  6069. (nm_utils_is_empty_ssid):
  6070. (nm_utils_escape_ssid):
  6071. (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
  6072. lot of places, so they belong to libnm-utils instead.
  6073. Now with 100% less compiler warnings:
  6074. * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
  6075. (nm_dbus_unescape_object_path): Ditto.
  6076. (nm_utils_ssid_to_utf8): Ditto.
  6077. (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
  6078. (nm_utils_escape_ssid): Ditto.
  6079. (nm_utils_same_ssid): Ditto.
  6080. * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
  6081. (add_one_connection_element): Remove an unused variable.
  6082. (impl_manager_get_active_connections): Ditto.
  6083. * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
  6084. variable.
  6085. * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
  6086. from the previous commit.
  6087. * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
  6088. (real_act_stage1_prepare): Ditto.
  6089. (activation_success_handler): Ditto.
  6090. (get_property): Ditto.
  6091. * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
  6092. variable.
  6093. * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
  6094. it's always set.
  6095. * src/supplicant-manager/nm-supplicant-config.c
  6096. (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
  6097. to expected "char *".
  6098. (nm_supplicant_config_add_setting_wireless): Ditto.
  6099. (nm_supplicant_config_remove_option): Remove, not used.
  6100. * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
  6101. not double.
  6102. (test_wireless_enabled): Ifdef out unused function.
  6103. (device_deactivate): Ditto.
  6104. (device_state_changed): Ditto.
  6105. (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
  6106. (nm_utils_escape_ssid): Ditto.
  6107. * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
  6108. (nm_utils_is_empty_ssid): Ditto.
  6109. * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
  6110. unused variable.
  6111. * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
  6112. (setting_vpn_properties_update_secrets): Ditto.
  6113. (int_to_gvalue): Ifdef out for now, not used.
  6114. (byte_to_gvalue): Ditto.
  6115. * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
  6116. Unused, remove.
  6117. 2007-10-08 Tambet Ingo <tambet@gmail.com>
  6118. * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
  6119. about dbus manager, not named manager.
  6120. Make sure hal_manager and dbus_mgr are created before trying to unreference.
  6121. * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
  6122. handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
  6123. However, the same signal is emitted when we destroy it and there's
  6124. nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
  6125. (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
  6126. releasing the DBusGConnection, since proxy needs a conneciton.
  6127. (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
  6128. 2007-10-08 Dan Williams <dcbw@redhat.com>
  6129. * src/NetworkManager.c
  6130. - (main): error on unknown command-line options
  6131. 2007-10-08 Dan Williams <dcbw@redhat.com>
  6132. Reimplement the invalid connection list. Don't try to re-activate a
  6133. connection that just failed or was canceled.
  6134. * src/nm-device.c
  6135. - (connection_secrets_failed_cb): fail device activation, don't just
  6136. deactivate the device. Listeners have to know about the failure.
  6137. * src/NetworkManagerPolicy.c
  6138. - (nm_policy_auto_get_best_device): exclude invalid connections from
  6139. the connection list given to a device's get_best_connection()
  6140. method
  6141. - (device_state_changed): tag failed connections as invalid; clear the
  6142. tag from successful connections
  6143. 2007-10-08 Dan Williams <dcbw@redhat.com>
  6144. Fix problems with interrupted activation. Previously, choosing an AP
  6145. from the menu, then choosing another one before the first connection was
  6146. successful wouldn't deactivate the device before starting the new connection
  6147. on that same device.
  6148. * src/NetworkManagerPolicy.c
  6149. - (deactivate_old_device, device_state_changed, state_changed,
  6150. nm_policy_new): wrong place to deactivate old devices
  6151. * src/nm-manager.c
  6152. - (pending_connection_info_destroy, finalize,
  6153. wait_for_connection_expired): decouple destruction of the pending
  6154. connection info from the manager device
  6155. - (connection_added_default_handler): deactivate any active or
  6156. activating device before starting a new activation
  6157. - (impl_manager_activate_device): deactivate any active or activating
  6158. device before starting a new activation; be sure not to leak
  6159. pending connection info if a new activation request arrives but
  6160. there's already a pending one in-process
  6161. 2007-10-08 Dan Williams <dcbw@redhat.com>
  6162. * src/NetworkManagerAP.h
  6163. src/NetworkManagerAP.c
  6164. - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
  6165. should handle default SSIDs and whether or not to autoconnect
  6166. to them
  6167. 2007-10-08 Dan Williams <dcbw@redhat.com>
  6168. * src/NetworkManagerPolicy.c
  6169. - (nm_policy_device_change_check): print out connection name where
  6170. possible
  6171. 2007-10-08 Dan Williams <dcbw@redhat.com>
  6172. * src/nm-device-802-11-wireless.c
  6173. src/nm-device-802-11-wireless.h
  6174. - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
  6175. 'hidden-ap-found' signal (for internal use only) that allows the
  6176. NMManager to fill in the AP's SSID if a connection has that AP's
  6177. BSSID in its seen-bssids list
  6178. * src/nm-manager.c
  6179. - (manager_hidden_ap_found, nm_manager_add_device): attach to a
  6180. wireless device's hidden-ap-found signal and fill in the APs SSID
  6181. if possible
  6182. 2007-10-07 Dan Williams <dcbw@redhat.com>
  6183. * src/nm-manager.c
  6184. src/nm-manager.h
  6185. - Add a 'connections-added' signal to batch together updates of large
  6186. numbers of connections, like when reading from a settings service
  6187. the first time. Otherwise, the policy would just activate the first
  6188. suitable connection it saw rather than waiting for the full list
  6189. to arrive.
  6190. - (nm_manager_class_init): register new signal
  6191. - (get_type_for_proxy, connection_get_settings_cb,
  6192. get_connection_for_proxy): centralize places where a proxy's setting
  6193. service is determined
  6194. - (free_get_settings_info): if the call being freed is the last call
  6195. in a pending call group, fire off the connections-added signal
  6196. - (internal_new_connection_cb): add call to a pending call group if
  6197. requested
  6198. - (list_connections_cb): always create a call group here, because this
  6199. call results in a batch of new connections
  6200. - (initial_get_connections): start getting system connections first
  6201. - (nm_manager_connections_destroy, emit_removed): actually emit the
  6202. removed signal when destroying connections
  6203. * src/NetworkManagerPolicy.c
  6204. - (nm_policy_new, connections_added): handle connections-added signal
  6205. from the manager
  6206. 2007-10-06 Dan Williams <dcbw@redhat.com>
  6207. * src/nm-device-802-11-wireless.c
  6208. - (constructor): fix leaked socket
  6209. 2007-10-06 Dan Williams <dcbw@redhat.com>
  6210. * src/NetworkManagerPolicy.c
  6211. - (nm_policy_auto_get_best_device): fix connection list reffing. Each
  6212. connection in the list returned by nm_manager_get_connections() is
  6213. reffed, but they weren't getting unreffed before returning
  6214. 2007-10-06 Dan Williams <dcbw@redhat.com>
  6215. * src/nm-manager.c
  6216. - (connections_to_slist): sort connections first on autoconnect, then
  6217. on timestamp
  6218. 2007-10-06 Dan Williams <dcbw@redhat.com>
  6219. * libnm-util/nm-connection.c
  6220. - (gvalue_to_string): handle UINT64
  6221. 2007-10-06 Dan Williams <dcbw@redhat.com>
  6222. * src/NetworkManagerPolicy.c
  6223. - (connection_updated, nm_policy_new): recheck state when a connection
  6224. gets updated
  6225. 2007-10-06 Dan Williams <dcbw@redhat.com>
  6226. * src/nm-manager.c
  6227. src/nm-manager.h
  6228. - (nm_manager_get_connection_dbus_path): make static
  6229. - (nm_manager_update_connections): remove; unused
  6230. - Add a connection-updated signal
  6231. - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
  6232. handle connection object updates
  6233. 2007-10-06 Dan Williams <dcbw@redhat.com>
  6234. * src/NetworkManagerPolicy.c
  6235. - (connection_removed): deactivate removed connections
  6236. 2007-10-06 Dan Williams <dcbw@redhat.com>
  6237. * libnm-util/nm-connection.c
  6238. libnm-util/nm-connection.h
  6239. - (nm_connection_replace_settings): new function
  6240. 2007-10-06 Dan Williams <dcbw@redhat.com>
  6241. * libnm-glib/nm-device-802-11-wireless.c
  6242. - (nm_device_802_11_wireless_get_active_access_point): don't segfault
  6243. on error when getting the active access point over D-Bus from NM
  6244. 2007-10-05 Dan Williams <dcbw@redhat.com>
  6245. * libnm-util/nm-setting.c
  6246. - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
  6247. to the NMSettingWireless table; it's now a string array not an array
  6248. of byte arrays
  6249. 2007-10-05 Dan Williams <dcbw@redhat.com>
  6250. * libnm-glib/nm-device-802-11-wireless.c
  6251. - Cache properties and update cached properties on D-Bus signals from NM
  6252. 2007-10-05 Dan Williams <dcbw@redhat.com>
  6253. * src/nm-device-802-11-wireless.c
  6254. - (set_current_ap): consolidate current_ap handling code into one place
  6255. to ensure that PropertiesChanged signals are emitted in all cases
  6256. - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
  6257. nm_device_802_11_wireless_dispose): use set_current_ap()
  6258. 2007-10-05 Dan Williams <dcbw@redhat.com>
  6259. * libnm-glib/nm-access-point.c
  6260. libnm-glib/nm-access-point.h
  6261. - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
  6262. because the value is cached internally now. Callers should not
  6263. free the internal value.
  6264. - Make signal name defines private
  6265. * test/nm-tool.c
  6266. libnm-glib/libnm-glib-test.c
  6267. - Don't free value returned from nm_access_point_get_hw_address()
  6268. 2007-10-04 Dan Williams <dcbw@redhat.com>
  6269. * introspection/nm-device-802-11-wireless.xml
  6270. src/nm-device-802-11-wireless.h
  6271. src/nm-device-802-11-wireless.c
  6272. - Add a PropertiesChanged signal for wireless device
  6273. - Store currently associated access point
  6274. - (periodic_update): generalize; update rate here too and emit the
  6275. correct PropertiesChanged signal when stuff changes
  6276. - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
  6277. real_activation_cancel_handler): clear current_ap when device is
  6278. deactivated
  6279. - (link_to_specific_ap, get_ap_blacklisted,
  6280. nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
  6281. code
  6282. - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
  6283. outside this file
  6284. - (real_set_hw_address): emit property changed signal if the card's
  6285. MAC address changes
  6286. - (real_act_stage1_prepare): set the initial current_ap to the AP
  6287. the card is supposed to be connecting to
  6288. - (activation_success_handler): send out property updates on successful
  6289. activation
  6290. - (get_property): pull bitrate from cached value; use OBJECT_PATH type
  6291. for ACTIVE_ACCESS_POINT property because sometimes there won't be
  6292. one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
  6293. - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
  6294. is now boxed; add PropertiesChanged signal
  6295. 2007-10-04 Dan Williams <dcbw@redhat.com>
  6296. * libnm-util/nm-connection.c
  6297. libnm-util/nm-connection.h
  6298. - (nm_connection_verify): new function
  6299. 2007-10-04 Dan Williams <dcbw@redhat.com>
  6300. * libnm-util/nm-setting.c
  6301. - (nm_settings_verify): use #defines when possible rather than strings
  6302. - (setting_connection_verify): ensure that 'name' and 'type' are valid
  6303. - (setting_vpn_verify): tighter validity check on 'service_type'
  6304. 2007-10-04 Dan Williams <dcbw@redhat.com>
  6305. * libnm-glib/nm-settings.c
  6306. - (nm_connection_settings_class_init): provide correct type for argument
  6307. to the Updated signal so that dbus-glib knows how to marshal it
  6308. 2007-10-03 Dan Williams <dcbw@redhat.com>
  6309. * src/nm-device-802-3-ethernet.c
  6310. - (real_get_best_connection): don't create automatic connections
  6311. internally; clients should provide a setting that applies to
  6312. the device with 'autoconnect: True'. Problem was that these
  6313. internally auto-created connections don't have a proxy or service
  6314. name because they weren't created by a settings daemon, and therefore
  6315. clients have no idea what to do with them.
  6316. 2007-10-03 Dan Williams <dcbw@redhat.com>
  6317. * src/nm-device-802-11-wireless.c
  6318. src/nm-device-802-11-wireless.h
  6319. introspection/nm-device-802-11-wireless.xml
  6320. - GetActiveNetworks -> GetAccessPoints
  6321. - ActiveNetwork -> ActiveAccessPoint
  6322. - NetworkAdded -> AccessPointAdded
  6323. - NetowrkRemoved -> AccessPointRemoved
  6324. * libnm-glib/nm-device-802-11-wireless.c
  6325. libnm-glib/nm-device-802-11-wireless.h
  6326. - network-added signal -> access-point-added
  6327. - network-removed signal -> access-point-removed
  6328. - nm_device_802_11_wireless_get_active_network() ->
  6329. nm_device_802_11_wireless_get_active_access_point()
  6330. - nm_device_802_11_wireless_get_network_by_path() ->
  6331. nm_device_802_11_wireless_get_access_point_by_path()
  6332. - nm_device_802_11_wireless_get_networks() ->
  6333. nm_device_802_11_wireless_get_access_points()
  6334. * libnm-glib/libnm-glib-test.c
  6335. test/nm-tool.c
  6336. src/NetworkManagerPolicy.c
  6337. - Fixups for Network -> AccessPoint
  6338. 2007-10-03 Dan Williams <dcbw@redhat.com>
  6339. Add a GetActiveConnections() method on the Manager object.
  6340. * src/nm-manager.c
  6341. src/nm-manager.h
  6342. introspection/nm-manager.xml
  6343. - (connection_get_settings_cb): keep connection type around too
  6344. - (impl_manager_get_active_connections, add_one_connection_element):
  6345. implement; returns all active connections and what devices they
  6346. apply to
  6347. * libnm-glib/nm-client.c
  6348. libnm-glib/nm-client.h
  6349. introspection/nm-manager-client.xml
  6350. - (nm_client_get_devices): GPtrArray elements are allocated and owned
  6351. by the caller; free here to avoid memory leak
  6352. - (nm_client_get_active_connections): implement; return the list of
  6353. active connections
  6354. - (nm_client_free_active_connection_element): implement; free an element
  6355. of the GSList returned by nm_client_get_active_connections()
  6356. 2007-10-03 Dan Williams <dcbw@redhat.com>
  6357. * src/nm-device-802-11-wireless.c
  6358. - (nm_device_802_11_wireless_update_bssid): remove
  6359. - (get_active_ap): new function; find the AP in the scan list which
  6360. matches the current BSSID and SSID of the wireless device
  6361. - (nm_device_802_11_periodic_update): get current AP using
  6362. get_active_ap() and print AP roam messages
  6363. 2007-10-01 Dan Williams <dcbw@redhat.com>
  6364. * libnm-util/nm-setting.h
  6365. - Add a 'timestamp' option to NMSettingConnection
  6366. - Add a UINT64 type
  6367. * libnm-util/nm-setting.c
  6368. - (uint64_to_gvalue): new function
  6369. - (nm_setting_populate_from_hash, nm_setting_hash,
  6370. default_setting_clear_secrets): handle UINT64 type
  6371. - con_table: add 'timestamp' member
  6372. 2007-10-01 Dan Williams <dcbw@redhat.com>
  6373. * src/nm-manager.c
  6374. - (impl_manager_activate_device): ensure the D-Bus method sends a return
  6375. value when the connection can be activated immediately
  6376. 2007-10-01 Dan Williams <dcbw@redhat.com>
  6377. * libnm-glib/nm-device.c
  6378. - (nm_device_class_init): actually tell glib about the carrier-changed
  6379. signal
  6380. 2007-10-01 Dan Williams <dcbw@redhat.com>
  6381. * configure.in
  6382. src/marshallers/Makefile.am
  6383. src/marshallers/nm-marshal.list
  6384. src/marshallers/nm-marshal-main.c
  6385. - Consolidate glib marshallers into one place
  6386. * src/dhcp-manager/Makefile.am
  6387. src/dhcp-manager/nm-dhcp-manager.c
  6388. src/supplicant-manager/Makefile.am
  6389. src/supplicant-manager/nm-supplicant-manager.c
  6390. src/supplicant-manager/nm-supplicant-interface.c
  6391. src/ppp-manager/Makefile.am
  6392. src/ppp-manager/nm-ppp-manager.c
  6393. src/vpn-manager/Makefile.am
  6394. src/vpn-manager/nm-vpn-connection.c
  6395. src/Makefile.am
  6396. - Use consolidated marshallers
  6397. * src/dhcp-manager/nm-dhcp-marshal.list
  6398. src/dhcp-manager/nm-dhcp-marshal-main.c
  6399. src/supplicant-manager/nm-supplicant-marshal-main.c
  6400. src/supplicant-manager/nm-supplicant-marshal.list
  6401. src/nm-marshal-main.c
  6402. src/nm-marshal.list
  6403. src/ppp-manager/nm-ppp-marshal-main.c
  6404. src/ppp-manager/nm-ppp-marshal.list
  6405. src/vpn-manager/nm-vpn-marshal-main.c
  6406. src/vpn-manager/nm-vpn-marshal.list
  6407. - Remove
  6408. 2007-10-01 Dan Williams <dcbw@redhat.com>
  6409. * include/NetworkManagerVPN.h
  6410. - define VPN connection state change reason codes
  6411. * src/vpn-manager/Makefile.am
  6412. src/vpn-manager/nm-vpn-marshal.list
  6413. src/vpn-manager/nm-vpn-marshal-main.c
  6414. - Add marshallers for StateChanged signal
  6415. * introspection/nm-vpn-connection.xml
  6416. - New Banner property
  6417. - StateChanged signal now includes a 'reason' argument
  6418. * src/vpn-manager/nm-vpn-connection.c
  6419. src/vpn-manager/nm-vpn-connection.h
  6420. - Add a "Banner" property that contains the returned VPN server login
  6421. banner (if any); valid only in the ACTIVATED state
  6422. - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
  6423. a 'reason' argument and emits that reason along with the
  6424. state-changed signal
  6425. - Fix up calls to nm_vpn_connection_set_state() to include a reason
  6426. - (nm_vpn_connection_ip4_config_get): save banner for later
  6427. - (nm_vpn_connection_get_banner, get_property,
  6428. nm_vpn_connection_class_init): implement Banner property
  6429. * src/vpn-manager/nm-vpn-service.c
  6430. - (nm_vpn_service_connections_stop): take a reason argument; copy the
  6431. connection list because elements may get added/removed from it
  6432. while iterating over the list
  6433. - (connection_state_changed): signal now includes the 'reason' argument
  6434. * libnm-glib/nm-vpn-connection.c
  6435. libnm-glib/nm-vpn-connection.h
  6436. - (nm_vpn_connection_get_banner): new function
  6437. - (state_changed_proxy): handle reason argument
  6438. 2007-09-28 Tambet Ingo <tambet@gmail.com>
  6439. * src/nm-manager.c:
  6440. * src/nm-manager.h:
  6441. Implement device activation through NMManager.
  6442. Implement "pending device activation" here - If the connection isn't found,
  6443. we try to wait for up to 5 seconds for the connection to be provided.
  6444. Add NMConnectionType argument to "connection-added" and "connection-removed"
  6445. signals.
  6446. (nm_manager_get): Remove. Finally.
  6447. * src/nm-activation-request.c:
  6448. * src/nm-activation-request.h:
  6449. Remove all the deferred activation code.
  6450. * src/nm-device.c: Remove all the deferred activation code. Once the device
  6451. activation is started, it's started. Update the activation virtual function
  6452. signature.
  6453. * src/nm-device-interface.c:
  6454. * src/nm-device-interface.h:
  6455. Device activation now takes only NMActRequest argument.
  6456. Don't expose device activation directly on dbus, it's supposed to go through
  6457. NMManager now.
  6458. * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
  6459. a bit more compact.
  6460. Use the new device activation methods through NMManager.
  6461. * introspection/nm-manager-client.xml:
  6462. * introspection/nm-manager.xml:
  6463. * libnm-glib/nm-client.c:
  6464. * libnm-glib/nm-client.h:
  6465. Add device activation method.
  6466. * libnm-glib/nm-device.c:
  6467. * libnm-glib/nm-device.h:
  6468. * introspection/nm-device.xml:
  6469. Remove device activation method. It's done through NMManager now.
  6470. * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
  6471. new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
  6472. 2007-09-28 Dan Williams <dcbw@redhat.com>
  6473. * libnm-glib/nm-vpn-connection.c
  6474. - (nm_vpn_connection_get_state): try to update state if the current
  6475. state is UNKNOWN
  6476. 2007-09-27 Dan Williams <dcbw@redhat.com>
  6477. Patch from Bill Nottingham
  6478. * src/supplicant-manager/nm-supplicant-config.c
  6479. - (ADD_STRING_VAL): use correct length for binary blobs when sending
  6480. data to the supplicant
  6481. 2007-09-27 Dan Williams <dcbw@redhat.com>
  6482. * src/NetworkManagerSystem.c
  6483. - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
  6484. and all address manipulation here should be happening on the
  6485. _VPN_ device, not the active device
  6486. 2007-09-26 Dan Williams <dcbw@redhat.com>
  6487. * src/nm-manager.c
  6488. src/nm-manager.h
  6489. src/nm-activation-request.c
  6490. src/nm-activation-request.h
  6491. - Move the GetSecrets stuff out of the NMManager instance because it
  6492. doesn't really need to be there and complicates things
  6493. * src/nm-device.c
  6494. - (connection_secrets_failed_cb, device_activation_go): connect to the
  6495. connection-secrets-failed signal and deactivate the device if
  6496. the GetSecrets call fails
  6497. * src/nm-device-802-11-wireless.c
  6498. - (link_timeout_cb, supplicant_connection_timeout_cb,
  6499. real_act_stage2_config, real_act_stage4_ip_config_timeout): request
  6500. secrets and give correct hints about whether new secrets should be
  6501. asked for by the client or not
  6502. 2007-09-26 Dan Williams <dcbw@redhat.com>
  6503. * src/vpn-manager/nm-vpn-connection.c
  6504. - (nm_vpn_connection_set_state, clear_need_auth, finalize,
  6505. connection_secrets_updated_cb, get_secrets_cb): don't need to attach
  6506. to the secrets-updated signal of the NMConnection since updating
  6507. the secrets is done within the scope of the NMVPNConnection object
  6508. already
  6509. - (get_connection_secrets): fix an uninialized variable usage error
  6510. 2007-09-26 Dan Williams <dcbw@redhat.com>
  6511. * libnm-util/nm-setting.c
  6512. - (setting_vpn_properties_update_secrets): implement so VPN secrets
  6513. actually get updated when the user enters them
  6514. 2007-09-26 Dan Williams <dcbw@redhat.com>
  6515. * libnm-glib/nm-vpn-plugin.c
  6516. - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
  6517. 2007-09-26 Dan Williams <dcbw@redhat.com>
  6518. * include/NetworkManagerVPN.h
  6519. - Add a NEED_AUTH state
  6520. * src/vpn-manager/nm-vpn-connection.c
  6521. - Implement the NEED_AUTH state. First ask the VPN service plugin if
  6522. the connection needs secrets, and if so, then ask the settings
  6523. service to fill in the secrets. Then start the connection.
  6524. 2007-09-26 Dan Williams <dcbw@redhat.com>
  6525. * src/vpn-manager/nm-vpn-manager.c
  6526. - (new_vpn_error, impl_vpn_manager_connect): set errors
  6527. 2007-09-26 Dan Williams <dcbw@redhat.com>
  6528. * introspection/nm-vpn-plugin.xml
  6529. libnm-glib/nm-vpn-plugin.c
  6530. libnm-glib/nm-vpn-plugin.h
  6531. - (impl_vpn_plugin_need_secrets): implement a call that should return
  6532. the name of the NMSetting in an NMConnection that may require
  6533. secrets specific to that VPN plugin
  6534. 2007-09-26 Dan Williams <dcbw@redhat.com>
  6535. * src/nm-manager.c
  6536. src/nm-manager.h
  6537. - (nm_manager_get_connection_secrets): make static, unused outside
  6538. the file
  6539. - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
  6540. 2007-09-26 Tambet Ingo <tambet@gmail.com>
  6541. * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
  6542. method.
  6543. (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
  6544. unreference the connection.
  6545. * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
  6546. passing properties hash and routes string list, pass NMConnection (in hashed form).
  6547. * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
  6548. as GSList, no need to copy stuff around anymore.
  6549. (nm_vpn_connection_activate): Update the plugin activation method.
  6550. * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
  6551. routes argument to GSList.
  6552. 2007-09-26 Tambet Ingo <tambet@gmail.com>
  6553. * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
  6554. state and try to get the secrets.
  6555. * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
  6556. connections from NMManager and let the device to choose the best from the list.
  6557. Since the connection list is sorted by system ones first and user ones later,
  6558. the devices still prefer system connections like they did before.
  6559. (deactivate_old_device): Implement. When a device starts activation, we have a
  6560. policy (for now at least) to deactivate any other device that might be either
  6561. active or still activating.
  6562. * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
  6563. It's set on construction, there will be no other way to access it.
  6564. * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
  6565. device events and drive the device, not the other way around.
  6566. * src/nm-device-802-3-ethernet.c: Ditto.
  6567. * src/nm-device.c (nm_device_get_best_connection): The connections list is now
  6568. sent along, pass it on to virtual functions.
  6569. * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
  6570. for now, but should really be public instead of nm_device_get_iface() since iface
  6571. is a property of the DeviceInterface, not Device.
  6572. (impl_device_activate): Don't touch NMManager!
  6573. 2007-09-26 Jürg Billeter <j@bitron.ch>
  6574. * initscript/paldo/NetworkManager.in:
  6575. * initscript/paldo/NetworkManagerDispatcher.in:
  6576. * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
  6577. (nm_system_flush_loopback_routes): update paldo backend
  6578. 2007-09-26 Tambet Ingo <tambet@gmail.com>
  6579. * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
  6580. The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
  6581. which means none of the devices get brought down properly, which in turn leaves
  6582. DHCP client running.
  6583. * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
  6584. (supplicant_connection_timeout_cb): Ditto.
  6585. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6586. * src/nm-device.c
  6587. - (device_activation_go): small hack to work around race when
  6588. activating deferred connections; should solve this in a better way
  6589. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6590. * introspection/nm-device.xml
  6591. libnm-glib/nm-device.c
  6592. libnm-glib/nm-device.h
  6593. - Add 'Carrier' property to exported NMDevice objects
  6594. * src/nm-device-interface.h
  6595. src/nm-device-interface.c
  6596. src/nm-device.c
  6597. - Add a 'carrier' property to internal NMDevice objects
  6598. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6599. * src/nm-device-802-11-wireless.c
  6600. - (ap_auth_enforced): also return the encryption status of the AP so
  6601. that callers can differentiate easily between unencrypted APs
  6602. and encrypted ones, in addition to whether the AP has an
  6603. authenticator
  6604. - (link_timeout_cb, supplicant_connection_timeout_cb,
  6605. real_act_stage4_ip_config_timeout): handle unencrypted APs better,
  6606. previously would request secrets from unencrypted APs at times
  6607. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6608. * src/nm-manager.c
  6609. - (nm_manager_update_state): new function; updates state and emits
  6610. appropriate signals ensuring a state-change signal for the same state
  6611. never gets emitted twice in a row.
  6612. - (manager_device_state_changed): handle more device state to get a
  6613. better picture of the overall NM state
  6614. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6615. * libnm-glib/nm-settings.c
  6616. libnm-glib/nm-settings.h
  6617. - (new_error -> nm_settings_new_error): make public so that subclasses
  6618. can use the same error domain. Also pass a valid error code to
  6619. g_error_new_literal() so that libdbus doesn't assert when converting
  6620. the GError into a DBusError
  6621. - (impl_settings_list_connections, impl_connection_settings_get_id,
  6622. impl_connection_settings_get_settings,
  6623. impl_connection_settings_get_secrets): use new error creator
  6624. function
  6625. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6626. * src/NetworkManager.c
  6627. - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
  6628. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6629. * src/supplicant-manager/nm-supplicant-manager.c
  6630. - (poke_supplicant_cb, nm_supplicant_manager_init,
  6631. nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
  6632. nm_supplicant_manager_startup): when the supplicant isn't running,
  6633. try to start it periodically via system bus activation. Fixes
  6634. a problem where if wpa_supplicant goes away, NM gets stuck waiting
  6635. for the supplicant to come back
  6636. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6637. Ensure that old activation requests are forgotten about; previously
  6638. hitting Cancel in the password dialog would deactivate whatever device
  6639. that password was requested for, even if that wasn't the currently
  6640. activating connection.
  6641. * src/nm-manager.c
  6642. src/nm-manager.h
  6643. - (nm_manager_get_connection_secrets): track the pending call
  6644. object so it can be canceled later if needed
  6645. - (nm_manager_cancel_get_connection_secrets): cancel a pending
  6646. GetSecrets call for a particular connection
  6647. * src/nm-activation-request.c
  6648. - (dispose): cancel any outstanding GetSecrets calls on the
  6649. connection
  6650. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6651. * src/NetworkManagerPolicy.c
  6652. - (nm_policy_device_change_check): handle devices that have a
  6653. deferred activation. These devices are not really active _yet_,
  6654. but need to be treated as such here. Don't interrupt them
  6655. automatically.
  6656. * src/nm-device-interface.c
  6657. - (impl_device_activate): handle devices that have a deferred activation
  6658. like activating or active devices. When multiple active devices
  6659. get committed, the device shouldn't be deactivated until the
  6660. connection details are available to avoid DoS and such. Currently,
  6661. any active, activating, or deferred activation device is deactivated
  6662. here before starting the new activation request.
  6663. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6664. Properly re-query secrets from the settings daemon when stuff fails.
  6665. * src/nm-device-802-11-wireless.c
  6666. - (ap_auth_enforced): handle static WEP correctly here by differentiating
  6667. between Shared Key and Open System auth modes
  6668. - (link_timeout_cb, supplicant_connection_timeout_cb,
  6669. real_act_stage4_ip_config_timeout): clear existing secrets and
  6670. request new ones when something fails due to a suspected wrong key
  6671. - (real_act_stage2_config): fix for new request_new argument to
  6672. nm_manager_get_connection_secrets()
  6673. * src/nm-manager.c
  6674. src/nm-manager.h
  6675. - (nm_manager_get_connection_secrets): return error status; pass
  6676. new request_new argument on to the settings daemon
  6677. * introspection/nm-settings-connection.xml
  6678. - New 'request_new' argument to the GetSecrets call that hints to the
  6679. settings daemon to ask the user for completely new secrets
  6680. * libnm-glib/nm-settings.c
  6681. libnm-glib/nm-settings.h
  6682. - (impl_connection_settings_get_secrets): handle new 'request_new'
  6683. argument
  6684. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6685. * libnm-util/nm-connection.c
  6686. libnm-util/nm-connection.h
  6687. - (nm_connection_clear_secrets): new function; clear secrets out of
  6688. each NMSetting in an NMConnection
  6689. * libnm-util/nm-setting.h
  6690. libnm-util/nm-setting.c
  6691. - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
  6692. secrets out of an NMSetting
  6693. - (nm_setting_connection_new, nm_setting_ip4_config_new,
  6694. nm_setting_wired_new, nm_setting_wireless_new,
  6695. nm_setting_wireless_security_new, nm_setting_ppp_new,
  6696. nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
  6697. to default handler default_setting_clear_secrets()
  6698. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6699. * src/nm-activation-request.c
  6700. src/nm-activation-request.h
  6701. - (nm_act_request_is_deferred): new function
  6702. 2007-09-24 Dan Williams <dcbw@redhat.com>
  6703. * src/nm-device-802-11-wireless.c
  6704. - (activation_success_handler): update signal strength immediately
  6705. after activation
  6706. 2007-09-24 Dan Williams <dcbw@redhat.com>
  6707. * libnm-util/nm-setting.c
  6708. - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
  6709. 2007-09-24 Dan Williams <dcbw@redhat.com>
  6710. * src/NetworkManagerPolicy.c
  6711. - (nm_policy_auto_get_best_device): don't interrupt activation of a
  6712. device by deactivating it because it doesn't have a "best connection".
  6713. Since autoconnect=False connections aren't automatically chosen,
  6714. NM would interrupt activation of such a connection because it
  6715. would never be "best" due to autoconnect=False.
  6716. 2007-09-24 Dan Williams <dcbw@redhat.com>
  6717. * src/nm-manager.c
  6718. - (nm_manager_get_connection_secrets): Add a long timeout so the user
  6719. actually has some time to enter a key before the GetSecrets call
  6720. times out
  6721. 2007-09-24 Dan Williams <dcbw@redhat.com>
  6722. * introspection/nm-manager.xml
  6723. src/nm-manager.c
  6724. - (impl_manager_legacy_state): fix 'state' method call return value
  6725. 2007-09-24 Matthias Clasen <mclasen@redhat.com>
  6726. * test/Makefile.am: Install nm-tool
  6727. 2007-09-24 Dan Williams <dcbw@redhat.com>
  6728. Patch from Ross Burton <ross@burtonini.com>
  6729. * test/nm-tool.c
  6730. callouts/nm-dhcp-client-action.c
  6731. src/nm-netlink.c
  6732. src/vpn-manager/nm-vpn-connection.c
  6733. libnm-glib/libnm-glib-test.c
  6734. - warning fixes
  6735. 2007-09-24 Dan Williams <dcbw@redhat.com>
  6736. * libnm-util/nm-utils.h
  6737. libnm-util/nm-utils.c
  6738. - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
  6739. remove, unused
  6740. 2007-09-23 Dan Williams <dcbw@redhat.com>
  6741. * vpn-daemons/vpnc/properties/nm-vpnc.c
  6742. - Update for new VPN properties API bits; instead of passing around
  6743. a lot of random things, everything goes into the NMConnection
  6744. object.
  6745. 2007-09-23 Dan Williams <dcbw@redhat.com>
  6746. * libnm-util/nm-setting.c
  6747. - Correctly dispose of settings objects if creating them from a hash
  6748. table fails
  6749. 2007-09-23 Dan Williams <dcbw@redhat.com>
  6750. * libnm-util/nm-setting.c
  6751. - (property_value_destroy, nm_setting_vpn_properties_new): initialize
  6752. the hash table in a standard manner. Clients of libnm-util should
  6753. only call g_hash_table_remove_all(), never destroy the hash table
  6754. and recreate it.
  6755. 2007-09-22 Dan Williams <dcbw@redhat.com>
  6756. * src/nm-device-802-11-wireless.c
  6757. - (real_bring_up): update signal strength every 6 seconds, not 2. No
  6758. real reason to do it so often, and reduces wakeups for clients.
  6759. 2007-09-21 Dan Williams <dcbw@redhat.com>
  6760. * src/nm-device-802-11-wireless.c
  6761. - (build_supplicant_config): wpa_supplicant requires the option
  6762. key_mgmt=NONE for unencrypted networks
  6763. - (real_act_stage2_config): clarify log message on activation
  6764. 2007-09-21 Dan Williams <dcbw@redhat.com>
  6765. * test/nm-supplicant-test.c
  6766. test/Makefile.am
  6767. - Remove supplicant test binary; no longer applicable
  6768. 2007-09-21 Dan Williams <dcbw@redhat.com>
  6769. * src/supplicant-manager/nm-supplicant-manager.c
  6770. - (nm_supplicant_manager_init): poke the supplicant at startup to
  6771. activate it on the system bus
  6772. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6773. * initscript/RedHat/NetworkManager.in
  6774. - dhcdbd is no longer used, so don't try to start it from the initscripts
  6775. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6776. * src/nm-device.c
  6777. - (nm_device_is_activating): work around a race between auto-activation
  6778. and the user activating the same device that is being auto-activated
  6779. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6780. * src/nm-device-interface.c
  6781. - (impl_device_activate): until multiple active device support lands,
  6782. ensure only one device can be active at a time
  6783. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6784. * src/supplicant-manager/nm-supplicant-config.c
  6785. src/supplicant-manager/nm-supplicant-config.h
  6786. - (nm_supplicant_config_add_option): hide secrets from system logs
  6787. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6788. * src/NetworkManagerPolicy.c
  6789. - (nm_policy_device_change_check): re-enable the wireless device change
  6790. checking code; insted of checking for SSIDs, check for the same
  6791. connection instead
  6792. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6793. * src/nm-device-802-11-wireless.c
  6794. - (supplicant_iface_connection_state_cb_handler): don't use the card's
  6795. composite link state when determining when to start the disconnection
  6796. timer; that link state is already based on the supplicant interface's
  6797. status which is exactly what's already being examined, plus the link
  6798. state is a conglomeration of various things that we don't want here
  6799. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6800. * libnm-glib/nm-access-point.c
  6801. - (handle_property_changed): strength is a UCHAR
  6802. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6803. * src/supplicant-manager/nm-supplicant-config.c
  6804. - (nm_supplicant_config_add_setting_wireless_security): uppercase
  6805. string list keywords too since that's what wpa_supplicant wants
  6806. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6807. * libnm-util/nm-setting.c
  6808. - (convert_strv_to_slist): dupe the values in the list because since
  6809. the list is a boxed value, it'll get destroyed when it's container
  6810. (like a hash table or whatever) gets destroyed
  6811. 2007-09-20 Tambet Ingo <tambet@gmail.com>
  6812. * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
  6813. GSList.
  6814. * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
  6815. * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
  6816. just use (g_object_set_data_full).
  6817. * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
  6818. that NMSettingVPN->routes is a GSList, convert it to char **.
  6819. (nm_vpn_connection_ip4_config_get): Free routes when done.
  6820. (nm_vpn_connection_activate): Ditto.
  6821. * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
  6822. (real_act_stage2_config): Use defined setting names.
  6823. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6824. * src/nm-device-802-11-wireless.c
  6825. src/nm-manager.c
  6826. src/nm-manager.h
  6827. - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
  6828. so that the device can be deactivated if secrets are wrong
  6829. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6830. * introspection/nm-settings-connection.xml
  6831. libnm-glib/nm-settings.c
  6832. libnm-glib/nm-settings.h
  6833. - Make GetSecrets asynchronous on the server side
  6834. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6835. * src/nm-manager.h
  6836. src/nm-device.c
  6837. - (nm_device_activate): actually check if a given connection
  6838. exists before assuming it doesn't
  6839. 2007-09-20 Tambet Ingo <tambet@gmail.com>
  6840. * libnm-util/nm-connection.c (register_default_creators): Use defined
  6841. setting names. Register NMSettingVPN and NMSettingVPNProperties.
  6842. * libnm-util/nm-setting.c: Define property name strings, use them.
  6843. Implement NMSettingVPN and NMSettingVPNProperties settings.
  6844. Implement NM_S_TYPE_GVALUE_HASH.
  6845. (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
  6846. (setting_connection_verify): Rename 'devtype' property to 'type'.
  6847. * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
  6848. properties.
  6849. * src/vpn-manager/nm-vpn-service.c: Ditto.
  6850. * src/vpn-manager/nm-vpn-connection.c: Ditto.
  6851. * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
  6852. (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
  6853. * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
  6854. names. NMSettingConnection->devtype got renamed to 'type'.
  6855. * src/nm-device-802-3-ethernet.c (find_best_connection):
  6856. (real_get_best_connection): Ditto.
  6857. * src/NetworkManager.c (main): Update the vpn manager creation arguments.
  6858. * libnm-glib/nm-vpn-manager.[ch]: Update.
  6859. 2007-09-19 Dan Williams <dcbw@redhat.com>
  6860. * src/NetworkManagerAP.c
  6861. src/NetworkManagerAP.h
  6862. introspection/nm-access-point.xml
  6863. - Change strength-changed signal into a properties-changed signal
  6864. for all properties, not just strength. Export that signal over dbus
  6865. so listeners don't have to poll NM for changes.
  6866. - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
  6867. get exported over D-Bus, so break up the logic and let other bits
  6868. decided when to export the AP
  6869. - (nm_ap_new_from_ap): remove, unused
  6870. * src/nm-device-802-11-wireless.c
  6871. - (merge_scanned_ap): only export APs that are actually on the device
  6872. list, not every AP created internally
  6873. * libnm-glib/nm-access-point.c
  6874. libnm-glib/nm-access-point.h
  6875. - Cache properties internally and only hit DBus when needed. Get
  6876. property updates from NM signals
  6877. 2007-09-16 Dan Williams <dcbw@redhat.com>
  6878. * libnm-util/nm-connection.c
  6879. libnm-util/nm-connection.h
  6880. - (nm_connection_for_each_setting_value): new function; iterate over
  6881. each setting's value and call a user-provided function with details
  6882. about that value
  6883. * libnm-util/nm-setting.c
  6884. libnm-util/nm-setting.h
  6885. - (nm_setting_enumerate_values): new function; enumerate the values
  6886. of a specific NMSetting subclass for a user-provided function with
  6887. details about that value
  6888. - Change wep_tx_keyidx to a uint32
  6889. - Create settings value tables for each setting defining their type,
  6890. key name, offset into the NMSetting subclass' structure, and whether
  6891. they are required and/or a secret
  6892. - (nm_setting_populate_from_hash): generic function to populate an
  6893. NMSetting from a GHash table, make all settings use it
  6894. - (nm_setting_hash): generic function to derive a GHashTable from
  6895. an NMSetting object, make all settings use it
  6896. 2007-09-14 Dan Williams <dcbw@redhat.com>
  6897. Remove unused stuff in libnm-util
  6898. * configure.in
  6899. libnm-util/Makefile.am
  6900. libnm-util/cipher-private.h
  6901. libnm-util/cipher-wep-ascii.c
  6902. libnm-util/cipher-wep-ascii.h
  6903. libnm-util/cipher-wep-hex.c
  6904. libnm-util/cipher-wep-hex.h
  6905. libnm-util/cipher-wep-passphrase.c
  6906. libnm-util/cipher-wep-passphrase.h
  6907. libnm-util/cipher-wpa-psk-hex.c
  6908. libnm-util/cipher-wpa-psk-hex.h
  6909. libnm-util/cipher-wpa-psk-passphrase.c
  6910. libnm-util/cipher-wpa-psk-passphrase.h
  6911. libnm-util/cipher.c
  6912. libnm-util/cipher.h
  6913. libnm-util/dbus-helpers.c
  6914. libnm-util/dbus-helpers.h
  6915. libnm-util/gnome-keyring-md5.c
  6916. libnm-util/gnome-keyring-md5.h
  6917. libnm-util/sha1.c
  6918. libnm-util/sha1.h
  6919. src/nm-device-802-11-wireless.c
  6920. test/libnm-util/Makefile.am
  6921. test/libnm-util/test-ciphers.c
  6922. test/libnm-util/test-dbus-helpers.c
  6923. test/libnm-util/test-inputs.h
  6924. - Removed
  6925. 2007-09-14 Dan Williams <dcbw@redhat.com>
  6926. * libnm-util/dbus-method-dispatcher.c
  6927. libnm-util/dbus-method-dispatcher.h
  6928. - Remove, unused
  6929. 2007-09-14 Dan Williams <dcbw@redhat.com>
  6930. Implement deferred activation support in the device class.
  6931. * src/nm-device-interface.c
  6932. src/nm-device-interface.h
  6933. - (nm_device_interface_activate): take more arguments to support
  6934. deferred activation; callers must pass one of (connection) OR
  6935. (service_name, connection_path)
  6936. - (impl_device_activate): connection validation is punted to the device
  6937. to be able to handle deferred activation. Yes, this means errors
  6938. don't get returned from the Activate() dbus call, and yes, that
  6939. should be fixed somehow later.
  6940. * src/nm-device.c
  6941. src/nm-device.h
  6942. - (clear_act_request): clear additional deferred activation stuff too
  6943. - (deferred_activation_timeout_cb): new function; clean up when
  6944. deferred activation times out.
  6945. - (deferred_activation_start_cb): new function; when the connection
  6946. finally becomes available, start device activation
  6947. - (nm_device_activate): attach to the right signals of the activation
  6948. request if we need to defer activation until the connection is valid
  6949. * src/NetworkManagerPolicy.c
  6950. - (nm_policy_device_change_check): update for additional arguments
  6951. required for nm_device_interface_activate(). Pass NULL for these
  6952. though because this function already knows exactly which
  6953. NMConnection to use
  6954. 2007-09-14 Dan Williams <dcbw@redhat.com>
  6955. Implement deferred activation handling in the NMActRequest class. When a
  6956. client wants to activate a device but must create the NMConnection details
  6957. on the fly, there likely hasn't been enough time yet for NM to receive the
  6958. new connection signal and grab all the connection details. So the
  6959. activation is deferred (and bounded by a timer) for a while, and if the
  6960. connection appears within the window, it is activated.
  6961. * src/nm-activation-request.c
  6962. src/nm-activation-request.h
  6963. - (nm_act_request_class_init): two new signals to support deferred
  6964. activation, to allow the listener to handle both timeout and success
  6965. - (nm_act_request_new_deferred): new function, starts the deferred
  6966. activation timeout handler and listens to the NMManager for
  6967. new-connection signals to notice when the connection comes in
  6968. 2007-09-14 Dan Williams <dcbw@redhat.com>
  6969. * src/nm-manager.h
  6970. src/nm-manager.c
  6971. - (nm_manager_get_connection_service_name,
  6972. nm_manager_get_connection_dbus_path): get details about a connection
  6973. known internally by the NMManager
  6974. - (nm_manager_class_init): fix connection add/remove signal marshalers
  6975. because NMConnection is now a GObject subclass
  6976. - Use constant for the gobject data tag used on NMConnection objects for
  6977. storing the associated DBusGProxy
  6978. 2007-09-14 Dan Williams <dcbw@redhat.com>
  6979. * utils/Makefile.am
  6980. utils/nm-utils.c
  6981. utils/nm-utils.h
  6982. src/supplicant-manager/Makefile.am
  6983. src/dhcp-manager/Makefile.am
  6984. src/backends/Makefile.am
  6985. src/named-manager/Makefile.am
  6986. src/ppp-manager/Makefile.am
  6987. src/vpn-manager/Makefile.am
  6988. test/libnm-util/Makefile.am
  6989. test/test-common/Makefile.am
  6990. - Remove utils/; it was unused
  6991. 2007-09-13 Dan Williams <dcbw@redhat.com>
  6992. * libnm-glib/nm-vpn-manager.h
  6993. libnm-glib/nm-vpn-manager.c
  6994. - (nm_vpn_manager_connect): take routes as a GSList, not a char **
  6995. 2007-09-13 Dan Williams <dcbw@redhat.com>
  6996. * src/nm-device-802-3-ethernet.c
  6997. - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
  6998. netlink monitor carrier signals on dispose, not bring down. The
  6999. carrier signals should be handled over the entire lifetime of the
  7000. device anyway, not created/destroyed on up or down.
  7001. 2007-09-13 Dan Williams <dcbw@redhat.com>
  7002. * libnm-glib/nm-device.c
  7003. libnm-glib/nm-device.h
  7004. - (nm_device_activate): take a connection object path rather than an
  7005. NMConnection because NMConnection isn't exported over D-Bus and
  7006. therefore it dbus-glib can't automatically get an object path from it
  7007. 2007-09-13 Dan Williams <dcbw@redhat.com>
  7008. * libnm-util/nm-setting.c
  7009. - (nm_setting_wired_new): set autonegotiate to TRUE by default
  7010. 2007-09-13 Tambet Ingo <tambet@gmail.com>
  7011. * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
  7012. 2007-09-12 Tambet Ingo <tambet@gmail.com>
  7013. * src/vpn-manager/nm-vpn-connection.[ch]:
  7014. * src/vpn-manager/nm-vpn-manager.[ch]:
  7015. * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
  7016. dbus-glib, GObjects, signals etc.
  7017. * libnm-glib/nm-vpn-manager.[ch]:
  7018. * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
  7019. so much, rewrite these too.
  7020. * libnm-glib/Makefile.am: Add new files to build, build new binding files for
  7021. the new introspection files.
  7022. * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
  7023. * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
  7024. the header with the same name from libnm-utils.
  7025. * libnm-glib/nm-vpn-plugin.[ch]: Implement.
  7026. * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
  7027. * introspection/nm-vpn-plugin.xml: Implement.
  7028. * introspection/nm-vpn-connection.xml: Implement.
  7029. * introspection/nm-vpn-manager.xml: Implement.
  7030. * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
  7031. the named manager argument, it can just as easily get it as the caller.
  7032. (nm_system_vpn_device_unset_from_ip4_config): Ditto.
  7033. * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
  7034. * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
  7035. * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
  7036. libnm-utils.
  7037. * libnm-util/nm-connection.c: Ditto.
  7038. * src/NetworkManagerMain.h: Remove, it's finally empty.
  7039. * configure.in: Remove utils/ from build.
  7040. * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
  7041. of hard-coded strings.
  7042. * utils/: Move it over to libnm-util.
  7043. * test/Makefile.am: Link against libnm-util now that util/ is gone.
  7044. * dispatcher-daemon/Makefile.am: Ditto.
  7045. * src/Makefile.am: Ditto.
  7046. 2007-09-12 Dan Williams <dcbw@redhat.com>
  7047. Wireless connections can be made with config data from the applet now.
  7048. Yay.
  7049. * src/supplicant-manager/nm-supplicant-config.h
  7050. src/supplicant-manager/nm-supplicant-config.c
  7051. - (nm_supplicant_config_new): kill unused init parameter 'iface'
  7052. - (nm_supplicant_config_add_setting_wireless,
  7053. nm_supplicant_config_add_setting_wireless_security): new functions;
  7054. add key/value pairs from the settings objects to the supplicant
  7055. config
  7056. * src/nm-device-802-11-wireless.c
  7057. - (cull_scan_list): fix check to not prune currently associated AP
  7058. - (build_supplicant_config, real_act_stage2_config): call the functions
  7059. of the NMSupplicantConfig that parse settings objects rather than
  7060. doing it manually here
  7061. 2007-09-12 Dan Williams <dcbw@redhat.com>
  7062. * src/supplicant-manager/nm-supplicant-interface.c
  7063. src/supplicant-manager/nm-supplicant-marshal.list
  7064. - (nm_supplicant_interface_class_init): fix stupid mistake, the
  7065. "connection-error" signal arguments should be STRING not CHAR
  7066. 2007-09-12 Dan Williams <dcbw@redhat.com>
  7067. * src/NetworkManagerUtils.c
  7068. src/NetworkManagerUtils.h
  7069. - (nm_utils_hexstr2bin): new function
  7070. 2007-09-11 Dan Williams <dcbw@redhat.com>
  7071. * src/nm-manager.c
  7072. - (connection_get_settings_cb): emit connection-added signal
  7073. - (connection_removed_cb): uncomment bits for system settings service,
  7074. send connection-removed when appropriate
  7075. - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
  7076. the stack by trying to g_object_set_data() on something that's
  7077. not a GObject; handle case where settings service returns
  7078. empty settings hash table
  7079. 2007-09-11 Dan Williams <dcbw@redhat.com>
  7080. * src/NetworkManagerPolicy.c
  7081. - (connection_added, connection_removed): trigger device change checks
  7082. on connection changes
  7083. 2007-09-11 Dan Williams <dcbw@redhat.com>
  7084. * src/nm-activation-request.c
  7085. - (connection_secrets_updated_cb): fix c&p error in signal emission
  7086. 2007-09-11 Dan Williams <dcbw@redhat.com>
  7087. * src/nm-device-802-11-wireless.c
  7088. - (real_connection_secrets_updated): fix erroneous check
  7089. 2007-09-11 Dan Williams <dcbw@redhat.com>
  7090. * introspection/nm-device.xml
  7091. libnm-glib/nm-device.c
  7092. libnm-glib/nm-device.c
  7093. - Fix Activate call argument borkage; Activate takes 3 arguments
  7094. 2007-09-11 Dan Williams <dcbw@redhat.com>
  7095. * libnm-glib/nm-access-point.c
  7096. libnm-glib/nm-access-point.c
  7097. - (nm_access_point_get_frequency): now returns guint32 to match
  7098. property change on 2007-09-10
  7099. 2007-09-11 Dan Williams <dcbw@redhat.com>
  7100. * src/nm-device-802-11-wireless.c
  7101. - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
  7102. somewhere defines 'index' and I missed this one when I fixed the
  7103. shadow declaration errors earlier
  7104. 2007-09-11 Dan Williams <dcbw@redhat.com>
  7105. * libnm-util/nm-connection.c
  7106. - (nm_connection_update_secrets, need_secrets_check): move
  7107. 802-11-wireless-security need_secrets checks to the setting object
  7108. itself, where it belongs
  7109. * libnm-util/nm-setting.c
  7110. libnm-util/nm-setting.h
  7111. - (nm_setting_need_secrets): new function
  7112. - (setting_wireless_security_verify,
  7113. nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
  7114. - (setting_wireless_security_need_secrets): mostly copy code over
  7115. from nm-connection.c
  7116. 2007-09-11 Dan Williams <dcbw@redhat.com>
  7117. * libnm-util/nm-setting.c
  7118. libnm-util/nm-setting.h
  7119. - (nm_setting_update_secrets): new function; add a virtual function that
  7120. subclasses can implement to update their secrets
  7121. - (setting_wireless_security_update_secrets): implement that function
  7122. for the 802-11-wireless-security subclass
  7123. * libnm-util/nm-connection.c
  7124. libnm-util/nm-connection.h
  7125. - (nm_connection_update_secrets): update secrets for a Setting and
  7126. emit a signal on success
  7127. * src/nm-manager.c
  7128. src/nm-manager.h
  7129. src/nm-marshal.list
  7130. - (connection_get_settings_cb): enable system settings bits
  7131. - (nm_manager_get_connection_secrets, get_secrets_cb): add function
  7132. to request secrets from the settings dbus service and to
  7133. push those secrets to the NMConnection itself
  7134. * src/nm-activation-request.c
  7135. src/nm-activation-request.h
  7136. - Attach to the 'secrets-updated' signal of the NMConnection that's
  7137. currently being activated, and proxy that signal to other listeners.
  7138. Goes through the activation request because the activation request
  7139. is the thing that manages the lifetime of the NMConnection that's
  7140. being activated.
  7141. * src/nm-device-802-11-wireless.c
  7142. - (real_connection_secrets_updated): implement the connection secrets
  7143. updated notification and restart activation when secrets are
  7144. received
  7145. - (real_act_stage2_config): request secrets from the settings dbus
  7146. service if secrets are needed
  7147. * src/nm-device.c
  7148. src/nm-device.h
  7149. - (clear_act_request, nm_device_activation_cancel,
  7150. nm_device_deactivate_quickly, nm_device_dispose): consolidate places
  7151. where the activation request is cleared
  7152. - (nm_device_activate, connection_secrets_updated_cb): attach to the
  7153. updated secrets signal of activation request and add a function
  7154. that subclasses can override to handle it easily
  7155. 2007-09-11 Tambet Ingo <tambet@gmail.com>
  7156. * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
  7157. removal of NetworkManagerAPList.
  7158. 2007-09-10 Dan Williams <dcbw@redhat.com>
  7159. * src/NetworkManagerAP.c
  7160. src/NetworkManagerAP.h
  7161. introspection/nm-access-point.xml
  7162. - Change 'freq' property to a guint32 instead of a double since we
  7163. weren't using the floating point bits anyway
  7164. 2007-09-10 Dan Williams <dcbw@redhat.com>
  7165. * NetworkManagerAP.c
  7166. NetworkManagerAP.h
  7167. NetworkManagerPolicy.c
  7168. NetworkManagerSystem.c
  7169. NetworkManagerUtils.c
  7170. NetworkManagerUtils.h
  7171. nm-device-802-11-wireless.c
  7172. nm-device-802-3-ethernet.c
  7173. nm-hal-manager.c
  7174. nm-manager.c
  7175. vpn-manager/nm-dbus-vpn.c
  7176. - Warning fixes; casts and removal of unused variables
  7177. 2007-09-10 Dan Williams <dcbw@redhat.com>
  7178. * include/NetworkManager.h
  7179. - Kill NMNetworkType; AP types don't matter any more
  7180. * src/NetworkManagerAPList.c
  7181. src/NetworkManagerAPList.h
  7182. src/Makefile.am
  7183. - Kill; NMAccessPointList has outlived it's usefulness
  7184. * src/NetworkManagerAP.c
  7185. src/NetworkManagerAP.h
  7186. - (match_cipher, security_compatible, nm_ap_check_compatible): new
  7187. functions; check if an NMConnection object is compatible with the
  7188. settings of this AP
  7189. - (freq_to_channel, channel_to_freq): utility functions for
  7190. channel <-> frequency conversion
  7191. * src/nm-device.c
  7192. src/nm-device.h
  7193. - (nm_device_get_best_connection): pass the specific object around
  7194. (which might be the object path of a specific AP to connect to).
  7195. The get_best_connection() call should populate this on return
  7196. if needed (wireless does).
  7197. * src/nm-device-802-3-ethernet.c
  7198. - (real_get_best_connection): handle specific_object argument
  7199. * src/NetworkManager.c
  7200. src/NetworkManagerMain.h
  7201. - Remove unused includes
  7202. * src/nm-device-802-11-wireless.c
  7203. src/nm-device-802-11-wireless.h
  7204. - Convert the ap_list into a GSList from an NMAccessPointList
  7205. - No need for caching the 'activation_ap' since this is now determined
  7206. from the specific_object of the activation request, which is
  7207. populated from the get_best_connection() call or from a user request
  7208. - (nm_device_802_11_wireless_update_bssid): fix warning
  7209. - (get_wireless_capabilities): fix error message format arguments
  7210. - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
  7211. - (find_best_connection, real_get_best_connection): implement
  7212. - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
  7213. move here from NetworkManagerAPList
  7214. - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
  7215. - (real_act_stage1_prepare): just ensure an AP exists, connection is
  7216. already verified earlier
  7217. - (real_act_stage2_config): use nm_connection_need_secrets()
  7218. * src/NetworkManagerPolicy.c
  7219. - (nm_policy_auto_get_best_device): handle specific objects
  7220. - (create_connection): remove; automatic connection creation functionality
  7221. is handled by the Connection objects
  7222. - (nm_policy_device_change_check): handle specific_object
  7223. * libnm-util/nm-connection.c
  7224. - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
  7225. 2007-09-10 Dan Williams <dcbw@redhat.com>
  7226. * src/nm-manager.c
  7227. - (query_connections): fix uninitialized variable problem that caused
  7228. segfault
  7229. - (nm_manager_add_device): take devices down on startup so that we can
  7230. be assured that nm_device_is_up() won't short-circuit the init
  7231. process. Hack until the is_up check gets split into two pieces
  7232. that aren't behaviorally confusing.
  7233. 2007-09-09 Dan Williams <dcbw@redhat.com>
  7234. * introspection/nm-device.xml
  7235. - The 'Activate' method now takes 3 arguments, a service name for the
  7236. settings service (user or system), the object path of the connection
  7237. to activate, and the specific object to activate, if any
  7238. * src/nm-device-interface.c
  7239. - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
  7240. Add error bits
  7241. - (impl_device_activate): adapt to new Activate arguments; validate
  7242. the service name and get the Connection object from the NMManager
  7243. before starting to activate the device with the specified connection
  7244. * src/nm-device-802-3-ethernet.c
  7245. - (real_get_best_connection): find the best connection, or create a
  7246. default one if no existing connections can be used
  7247. * src/NetworkManagerPolicy.c
  7248. - (nm_policy_auto_get_best_device): Get the device's best connection
  7249. and only pick the device if it has one
  7250. - (nm_policy_device_change_check): disable wireless bits for now until
  7251. wireless get_best_connection() can be implemented (replacing "best_ap");
  7252. don't create a default connection here as the device subclass will do
  7253. that if needed
  7254. * src/nm-manager.h
  7255. src/nm-manager.c
  7256. - (nm_manager_get): make NMManager a singleton and expose the getter
  7257. internally
  7258. - Rework internal NMManager connection handling to use the same
  7259. routines for both the system and user settings services. Most calls
  7260. take a new NMConnectionType argument specifying either system or user
  7261. connections
  7262. - (nm_manager_get_connection_by_object_path): new function; get a
  7263. connection keyed on its object path
  7264. * src/NetworkManager.c
  7265. - (main): use nm_manager_get()
  7266. 2007-09-09 Dan Williams <dcbw@redhat.com>
  7267. * src/nm-device.h
  7268. src/nm-device.c
  7269. - (nm_device_get_best_connection): new function; get best connection
  7270. for the device at that time
  7271. 2007-09-09 Dan Williams <dcbw@redhat.com>
  7272. * src/nm-device-interface.h
  7273. - Add NMDeviceInterfaceError with an UnknownConnection error
  7274. 2007-09-09 Dan Williams <dcbw@redhat.com>
  7275. Stupid mistake on my part; object path and interface for settings service
  7276. and connection objects can be the same, only the service name must be
  7277. different for the system and user settings services.
  7278. * include/NetworkManager.h
  7279. src/nm-manager.c
  7280. introspection/nm-settings-connection.xml
  7281. introspection/nm-settings.xml
  7282. libnm-glib/nm-settings.c
  7283. - (nm_connection_settings_init, query_user_connections,
  7284. new_connection_cb): Unify NetworkManagerSettings and Connection
  7285. interface name and object path
  7286. 2007-09-06 Dan Williams <dcbw@redhat.com>
  7287. * libnm-glib/nm-object.c
  7288. - (nm_object_get_string_property, nm_object_get_object_path_property,
  7289. nm_object_get_int_property, nm_object_get_uint_property,
  7290. nm_object_get_boolean_property, nm_object_get_byte_property,
  7291. nm_object_get_double_property, nm_object_get_byte_array_property):
  7292. clear GValues after copying their contents, fixes memory leaks
  7293. after every property access because dbus-glib copies the values
  7294. from the DBusMessage into the GValue already.
  7295. 2007-09-06 Dan Williams <dcbw@redhat.com>
  7296. * introspection/nm-access-point.xml
  7297. - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
  7298. them to be. There's some magic property name parsing going on in
  7299. dbus-glib that breaks up property names based on studly-caps and
  7300. puts - between words.
  7301. * libnm-glib/nm-access-point.c
  7302. - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
  7303. Fix property names
  7304. 2007-09-06 Dan Williams <dcbw@redhat.com>
  7305. * src/nm-manager.c
  7306. - (nm_manager_user_connections_destroy): clear the user connections hash
  7307. table, don't destroy it
  7308. - (finalize): only destroy the hash table on NMManager finalization
  7309. 2007-09-02 Dan Williams <dcbw@redhat.com>
  7310. * include/NetworkManager.h
  7311. libnm-glib/nm-settings.c
  7312. - defines for the user settings daemon D-Bus bits
  7313. * src/NetworkManager.c
  7314. - Remove stuff that referred to the old NetworkManagerInfo service
  7315. * src/vpn-manager/nm-dbus-vpn.h
  7316. - Move old NMI defines to the only place they are used still
  7317. * libnm-util/nm-connection.c
  7318. libnm-util/nm-connection.h
  7319. src/nm-activation-request.c
  7320. - Make NMConnection a GObject subclass so we can do spiffy stuff with it
  7321. * src/nm-manager.c
  7322. src/nm-manager.h
  7323. - Get connections and their settings from the user settings daemon
  7324. at the appropriate times
  7325. 2007-09-02 Dan Williams <dcbw@redhat.com>
  7326. * libnm-util/nm-setting.c
  7327. - (nm_settings_verify): correct setting name is 'connection', not 'info'
  7328. - (setting_wireless_hash): set the right value on the item
  7329. 2007-09-02 Dan Williams <dcbw@redhat.com>
  7330. * test/Makefile.am
  7331. test/nminfotest.c
  7332. - Remove, no longer useful
  7333. 2007-08-30 Dan Williams <dcbw@redhat.com>
  7334. * src/Makefile.am
  7335. src/NetworkManagerDbus.c
  7336. src/NetworkManagerDbus.h
  7337. src/vpn-manager/nm-dbus-vpn.c
  7338. - Remove, no longer necessary. Move last bits to the only place its
  7339. used, in nm-dbus-vpn.c
  7340. * src/NetworkManagerAPList.c
  7341. src/nm-device.c
  7342. src/NetworkManager.c
  7343. src/nm-device-802-11-wireless.c
  7344. src/vpn-manager/nm-vpn-manager.c
  7345. src/vpn-manager/nm-vpn-service.c
  7346. src/NetworkManagerPolicy.c
  7347. src/nm-manager.c
  7348. - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
  7349. that was message_is_error()
  7350. 2007-08-30 Dan Williams <dcbw@redhat.com>
  7351. * libnm-util/sha1.c
  7352. - Include config.h to get defines for endiannes (gnome.org #420216)
  7353. 2007-08-30 Dan Williams <dcbw@redhat.com>
  7354. Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
  7355. * src/ppp-manager/Makefile.am
  7356. - use -fPIC (gnome.org #471825)
  7357. 2007-08-29 Dan Williams <dcbw@redhat.com>
  7358. * include/NetworkManager.h
  7359. - Keep NMConnection object path in sync
  7360. * libnm-glib/nm-settings.c
  7361. libnm-glib/nm-settings.h
  7362. - Break D-Bus object registration out of the init function, because
  7363. every object that's exported over D-Bus needs to use the _same_
  7364. DBusConnection. Otherwise, each object would get a different object
  7365. path tree and wouldn't be callable.
  7366. 2007-08-29 Dan Williams <dcbw@redhat.com>
  7367. * libnm-util/nm-setting.h
  7368. libnm-util/nm-setting.c
  7369. libnm-util/nm-connection.c
  7370. src/NetworkManagerPolicy.c
  7371. - 'info' settings object should be 'connection' says the spec
  7372. at NetworkManagerConfigurationSpecification
  7373. 2007-08-29 Dan Williams <dcbw@redhat.com>
  7374. * libnm-glib/nm-settings.c
  7375. libnm-glib/nm-settings.h
  7376. - make the dbus path a property of the object, and autogenerate it.
  7377. It can't be composed of the 'id' field because that's not available
  7378. yet during the GObject creation in nm_connection_settings_init()
  7379. 2007-08-29 Dan Williams <dcbw@redhat.com>
  7380. * introspection/nm-settings-connection.xml
  7381. introspection/nm-settings.xml
  7382. - Service name -> NetworkManagerUserSettings because two services
  7383. can't share part of the same path. I'm not really sure how we'll use
  7384. the same code with the system-settings daemon...
  7385. 2007-08-28 Dan Williams <dcbw@redhat.com>
  7386. * src/nm-device-interface.c
  7387. src/nm-device-interface.h
  7388. - Kill one more bit of NMData
  7389. 2007-08-28 Dan Williams <dcbw@redhat.com>
  7390. * src/NetworkManagerSystem.h
  7391. src/nm-device.c
  7392. src/nm-device.h
  7393. src/nm-hal-manager.c
  7394. src/NetworkManager.c
  7395. src/nm-device-802-11-wireless.c
  7396. src/nm-hal-manager.h
  7397. src/nm-device-802-3-ethernet.c
  7398. src/vpn-manager/nm-vpn-service.h
  7399. src/vpn-manager/nm-vpn-manager.c
  7400. src/vpn-manager/nm-vpn-manager.h
  7401. src/vpn-manager/nm-vpn-service.c
  7402. src/nm-device-802-11-wireless.h
  7403. src/NetworkManagerMain.h
  7404. src/nm-device-802-3-ethernet.h
  7405. src/backends/NetworkManagerGentoo.c
  7406. src/backends/NetworkManagerPaldo.c
  7407. src/backends/NetworkManagerFrugalware.c
  7408. src/backends/NetworkManagerRedHat.c
  7409. src/backends/NetworkManagerSlackware.c
  7410. src/backends/NetworkManagerGeneric.c
  7411. src/backends/NetworkManagerArch.c
  7412. src/backends/NetworkManagerSuSE.c
  7413. src/backends/NetworkManagerGeneric.h
  7414. src/backends/NetworkManagerDebian.c
  7415. - Kill NMData
  7416. 2007-08-28 Dan Williams <dcbw@redhat.com>
  7417. * src/NetworkManagerMain.h
  7418. src/nm-device-802-11-wireless.c
  7419. src/NetworkManager.c
  7420. - Remove invalid AP list from NMData; need to rework this somewhat, but
  7421. for now we should set the 'invalid' property on individual APs, and when
  7422. we need to invalidate a whole ESS, set the 'invalid' on every member of
  7423. that ESS
  7424. 2007-08-28 Dan Williams <dcbw@redhat.com>
  7425. * src/NetworkManagerAP.c
  7426. src/NetworkManagerAP.h
  7427. - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
  7428. 'autoconnect' property instead
  7429. * src/NetworkManager.c
  7430. src/NetworkManagerMain.h
  7431. src/NetworkManagerPolicy.c
  7432. src/NetworkManagerPolicy.h
  7433. - Remove the 'allowed_ap_list', which should be replaced by
  7434. NMConnection/NMSettings instead, since _those_ are the allowed
  7435. things that NM can connect to
  7436. * src/nm-device-802-11-wireless.c
  7437. - Remove both allowed_ap_list usage and 'fallback' checking
  7438. 2007-08-28 Dan Williams <dcbw@redhat.com>
  7439. * src/nm-device.c
  7440. src/named-manager/nm-named-manager.c
  7441. src/named-manager/nm-named-manager.h
  7442. src/NetworkManager.c
  7443. src/vpn-manager/nm-vpn-manager.c
  7444. src/NetworkManagerMain.h
  7445. src/NetworkManagerSystem.c
  7446. - Remove the named-manager object from NMData structure in preparation
  7447. for NMData's timely death. Make the NMNamedManager the singleton that
  7448. it really is
  7449. 2007-08-28 Dan Williams <dcbw@redhat.com>
  7450. Remove NMAPSecurity objects, they are replaced with flags on the APs for
  7451. each AP's capabilities, and by NMConnection/NMSettings objects for user
  7452. defined connections.
  7453. * include/NetworkManager.h
  7454. - Redefine 802.11 security properties. There are now device capabilities
  7455. and AP flags and AP security flags. It was way to unclear before.
  7456. * src/Makefile.am
  7457. src/nm-ap-security-leap.h
  7458. src/nm-ap-security-leap.c
  7459. src/nm-ap-security-wpa-eap.c
  7460. src/nm-ap-security-wpa-eap.h
  7461. src/nm-ap-security-private.h
  7462. src/nm-ap-security-wpa-psk.c
  7463. src/nm-ap-security-wpa-psk.h
  7464. src/nm-ap-security-wep.c
  7465. src/nm-ap-security-wep.h
  7466. src/nm-ap-security.c
  7467. src/nm-ap-security.h
  7468. - Removed, to be replaced with NMConnection/NMSettings objects
  7469. * src/nm-dbus-nmi.c
  7470. src/nm-dbus-nmi.h
  7471. - Removed, to be replaced by code that talks to the new info daemon
  7472. interface and gets NMConnection/NMSettings objects
  7473. * src/backends/NetworkManagerSuSE.c
  7474. - Remove usage of NMAPSecurity; should be replaced by a system-level
  7475. info-daemon that does the same thing but talks the new info-daemon
  7476. D-Bus interface
  7477. * src/NetworkManagerAP.h
  7478. src/NetworkManagerAP.c
  7479. src/NetworkManagerAPList.c
  7480. libnm-glib/libnm-glib-test.c
  7481. - Remove usage of NMAPSecurity objects and adjust to new flags for
  7482. WPA/RSN
  7483. * libnm-glib/nm-access-point.c
  7484. libnm-glib/nm-access-point.h
  7485. introspection/nm-access-point.xml
  7486. test/nm-tool.c
  7487. - Adjust to new flags for AP security
  7488. * utils/nm-utils.c
  7489. utils/nm-utils.h
  7490. src/vpn-manager/nm-dbus-vpn.c
  7491. - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
  7492. stuff which is the only place it's used
  7493. * src/nm-device-interface.c
  7494. src/nm-device-interface.h
  7495. introspection/nm-device.xml
  7496. src/nm-activation-request.c
  7497. src/nm-activation-request.h
  7498. src/nm-device.c
  7499. - Add a new 'specific_object' argument that hints to NM what actual
  7500. AP or other device-specific thing the connection should apply to.
  7501. NMConnection objects can apply to more than one actual device/AP.
  7502. * libnm-util/nm-connection.c
  7503. * libnm-util/nm-connection.h
  7504. - Add 'have_secrets" call stubs
  7505. * libnm-util/cipher.h
  7506. - Move NM_AUTH_TYPE_* defines here for now
  7507. * src/nm-device-802-11-wireless.c
  7508. - Remove usage of NMAPSecurity, to be replaced with NMConnection/
  7509. NMSettings objects
  7510. * src/NetworkManagerDbus.c
  7511. * src/NetworkManagerPolicy.c
  7512. - Remove usage of update_allowed_networks, should be pushing data in
  7513. a different manner
  7514. 2007-08-27 Tambet Ingo <tambet@gmail.com>
  7515. * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
  7516. dbus-glib frees it when the call is done.
  7517. 2007-08-26 Dan Williams <dcbw@redhat.com>
  7518. * introspection/nm-device.xml
  7519. - Add 'Index' property on NMDevice objects (forgot to do this earlier)
  7520. 2007-08-26 Dan Williams <dcbw@redhat.com>
  7521. * src/nm-device-802-3-ethernet.c
  7522. - (constructor): move connection of interface-connected/disconnected
  7523. signals here from real_bring_up(). Should be listening to netlink
  7524. for carrier events no matter what the initial state of the device
  7525. is.
  7526. 2007-08-26 Dan Williams <dcbw@redhat.com>
  7527. * src/nm-netlink-monitor.c
  7528. - (nm_netlink_monitor_class_init): fix marshalling types for
  7529. interface-connected/interface-disconnected
  7530. - (nm_netlink_monitor_event_handler): clean up carrier on/off
  7531. check
  7532. 2007-08-26 Dan Williams <dcbw@redhat.com>
  7533. Convert to using interface indexes as the primary method of identifying
  7534. devices inside NetworkManager. Indexes are (?) stable, but devices can
  7535. be renamed at any time. Device object paths now refer to the device
  7536. index rather than the name, and you can map those two manually if you like
  7537. by looking in the /sys/class/net/<name>/ifindex file. Also moves most
  7538. netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
  7539. to use interface indexes rather than names.
  7540. 2007-08-26 Dan Williams <dcbw@redhat.com>
  7541. * src/nm-netlink-monitor.h
  7542. - Remove one last bit of wireless-event signal
  7543. 2007-08-26 Dan Williams <dcbw@redhat.com>
  7544. * src/nm-netlink-monitor.c
  7545. - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
  7546. don't need the 'wireless-event' signal anymore since that's all
  7547. handled by wpa_supplicant
  7548. 2007-08-25 Dan Williams <dcbw@redhat.com>
  7549. It's 2007. Remove support for drivers that don't support wireless scanning.
  7550. * test/nm-tool.c
  7551. include/NetworkManager.h
  7552. src/NetworkManagerUtils.c
  7553. src/NetworkManagerPolicy.c
  7554. src/nm-device-802-11-wireless.c
  7555. - Remove special handling for non-scanning devices and mark them
  7556. as unsupported/unhandled
  7557. 2007-08-20 Dan Williams <dcbw@redhat.com>
  7558. * src/nm-device-802-11-wireless.c
  7559. src/nm-device-802-3-ethernet.c
  7560. - (real_is_up): move device-specific tests before generic IFF_UP test,
  7561. because when the card is pulled or the module removed, the device
  7562. is already !IFF_UP and then device-specific cleanup (removing
  7563. the supplicant interface, periodic checks, etc) never gets done
  7564. 2007-08-20 Dan Williams <dcbw@redhat.com>
  7565. * src/nm-manager.c
  7566. - (nm_manager_remove_device): bring device down before disconnecting
  7567. signal handlers, so that the 'state' signal will get broadcast when
  7568. the device enters the DOWN state
  7569. - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
  7570. of states that cause the NMManager to recheck its state
  7571. 2007-08-20 Dan Williams <dcbw@redhat.com>
  7572. * src/supplicant-manager/nm-supplicant-interface.c
  7573. - (interface_disconnect_done): don't try to dispose of the net proxy
  7574. when it may already have been disposed of
  7575. 2007-08-20 Dan Williams <dcbw@redhat.com>
  7576. * src/nm-device-802-11-wireless.c
  7577. - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
  7578. the SSID isn't available; this can happen when the card is pulled
  7579. or the module unloaded, during the post-removal deactivation
  7580. paths, when the ioctl returns ENODEV
  7581. 2007-08-20 Dan Williams <dcbw@redhat.com>
  7582. * src/nm-device-802-11-wireless.c
  7583. - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
  7584. frequency, and mode match. Applets are now responsible for grouping
  7585. access points
  7586. 2007-08-20 Dan Williams <dcbw@redhat.com>
  7587. * src/NetworkManagerAP.c
  7588. * src/NetworkManagerAP.h
  7589. - (nm_ap_print_self): new function
  7590. * src/NetworkManagerAPList.c
  7591. - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
  7592. to do it all here
  7593. 2007-08-17 Dan Williams <dcbw@redhat.com>
  7594. * src/nm-device-802-3-ethernet.c
  7595. - (real_bring_down): don't try to dispose of stuff that might not
  7596. exist
  7597. 2007-08-17 Dan Williams <dcbw@redhat.com>
  7598. * src/NetworkManagerAP.c
  7599. - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
  7600. applet. This ensures that the case between the seen-bssids and
  7601. the bssids reported by the driver match.
  7602. 2007-08-17 Dan Williams <dcbw@redhat.com>
  7603. * src/nm-device-802-11-wireless.c
  7604. - (device_cleanup): disconnect the interface in wpa_supplicant before
  7605. we dispose of the interface proxy in NM
  7606. 2007-08-16 Dan Williams <dcbw@redhat.com>
  7607. * libnm-glib/nm-client.c
  7608. - (nm_client_init): create VPN connections hash table with key free
  7609. function
  7610. - (proxy_vpn_connection_added): VPN connections hash table key should
  7611. be a duplicated value, not the same memory address as the VPN
  7612. connection name. This is because the VPN connection name could
  7613. potentially be freed and set to something else during the lifetime
  7614. of the NMVPNConnection object.
  7615. 2007-08-16 Tambet Ingo <tambet@gmail.com>
  7616. * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
  7617. (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
  7618. with the file descriptors. Send a child setup function to change the pppd
  7619. progress group.
  7620. 2007-08-15 Dan Williams <dcbw@redhat.com>
  7621. * src/supplicant-manager/nm-supplicant-interface.c
  7622. - (try_remove_iface): new function, ask wpa_supplicant to remove
  7623. an interface
  7624. - (nm_supplicant_interface_dispose): call try_remove_iface() when
  7625. disposing of the NMSupplicantInterface. Otherwise weird stuff
  7626. happens on hotplug if wpa_supplicant doesn't tear down and readd
  7627. the interface internally
  7628. 2007-08-15 Dan Williams <dcbw@redhat.com>
  7629. * src/nm-device-802-11-wireless.c
  7630. - (real_bring_down): move most of this function into device_cleanup()
  7631. so that it can be called from elsewhere
  7632. - (nm_device_802_11_wireless_dispose): clean up device periodic timers
  7633. and stuff on dispose. These would normally get cleaned up when
  7634. the device is marked down and deactivated, but when the device is
  7635. hot-unplugged, it's already down and real_down() never gets run
  7636. 2007-08-15 Dan Williams <dcbw@redhat.com>
  7637. * src/nm-dbus-nmi.c
  7638. - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
  7639. caused a reference leak on device for which NM requested a key
  7640. 2007-08-15 Dan Williams <dcbw@redhat.com>
  7641. * libnm-glib/nm-client.c
  7642. - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
  7643. 2007-08-15 Tambet Ingo <tambet@gmail.com>
  7644. * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
  7645. nothing is using it at the moment, but it'll be all useful and stuff later on.
  7646. * libnm-util/nm-setting.h: Define NMSettingPPP.
  7647. * libnm-util/nm-setting.c: Implement NMSettingPPP.
  7648. * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
  7649. * src/Makefile.am: Add ppp-manager to SUBDIRS.
  7650. * configure.in: Require ppp headers. Build Makefile for ppp-manager.
  7651. * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
  7652. 2007-08-14 Tambet Ingo <tambet@gmail.com>
  7653. * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
  7654. * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
  7655. an issue with dbus-glib bindings generator. The issue is, the generated C caller
  7656. functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
  7657. name and different arguments and it won't compile anymore. To fix this, we now have
  7658. two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
  7659. that is new API + compatibility API and used by the daemon. The other,
  7660. nm-manager-client.xml is only the new API without compatibility bits and is used
  7661. by libnm-glib to make it compile.
  7662. * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
  7663. * src/nm-manager.c (impl_manager_legacy_sleep)
  7664. (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
  7665. interface functions for 0.6 branch.
  7666. 2007-08-14 Dan Williams <dcbw@redhat.com>
  7667. * src/NetworkManagerAP.c
  7668. - (nm_ap_new_from_properties): fix mistaken check of return value
  7669. from memcmp (should expect 0)
  7670. 2007-08-14 Dan Williams <dcbw@redhat.com>
  7671. (force-commit to fix wrong comment and partial commit of r2685; this
  7672. commit actually applies to r2685)
  7673. * src/NetworkManagerUtils.c
  7674. - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
  7675. ignores trailing nulls in the SSID to work around mismatches in
  7676. expectations between WEXT and what the info-daemon passes back. The
  7677. info-daemon would pass back the correct length, but due to the
  7678. ESSID length issues with WEXT 22 and greater and wpa_supplicant,
  7679. the device would always have an SSID + 1 depending on what versions
  7680. of wpa_supplicant, the kernel, and NM you have. This was most often
  7681. visible by just quitting the applet and relaunching, which caused
  7682. NM to reassociated to the same network over again when reloading
  7683. the save networks.
  7684. * src/NetworkManagerPolicy.c
  7685. src/NetworkManagerUtils.h
  7686. src/nm-device-802-11-wireless.c
  7687. - Update for new parameter to nm_utils_same_ssid()
  7688. 2007-08-14 Dan Williams <dcbw@redhat.com>
  7689. * src/NetworkManagerAP.c
  7690. - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
  7691. I encountered a BSS that wasn't just hiding it's ESSID, it was
  7692. setting the BSSID to all 0s. That confused the heck out of NM,
  7693. plus it's useless and probably out-of-spec.
  7694. 2007-08-14 Dan Williams <dcbw@redhat.com>
  7695. * callouts/Makefile.am
  7696. src/dhcp-manager/nm-dhcp-manager.c
  7697. src/dhcp-manager/nm-dhcp-manager.h
  7698. src/dhcp-manager/Makefile.am
  7699. - Change install location of nm-dhcp-client.action to ${prefix}/libexec
  7700. 2007-08-14 Dan Williams <dcbw@redhat.com>
  7701. * src/dhcp-manager/nm-dhcp-manager.c
  7702. - (dhclient_run): don't pass -x to dhclient until we figure out if
  7703. it's really needed, get rid of unused xtra_args parameter
  7704. 2007-08-14 Dan Williams <dcbw@redhat.com>
  7705. * include/NetworkManagerVPN.h
  7706. src/vpn-manager/nm-dbus-vpn.c
  7707. src/vpn-manager/nm-dbus-vpn.h
  7708. src/vpn-manager/nm-vpn-act-request.c
  7709. src/vpn-manager/nm-vpn-act-request.h
  7710. src/vpn-manager/nm-vpn-service.c
  7711. src/vpn-manager/nm-vpn-service.h
  7712. libnm-glib/nm-vpn-connection.c
  7713. libnm-glib/nm-vpn-connection.h
  7714. libnm-glib/nm-client.h
  7715. - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
  7716. NMVPNServiceState to clarify what they apply to
  7717. - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
  7718. NMVPNActStage -> NMVPNConnectionState for the same reason
  7719. * libnm-glib/nm-client.c
  7720. - Constant + type renames from above
  7721. - Properly handle NameOwnerChanged/manager_running signals
  7722. for NM service; only emit when state really changes
  7723. - Use hash tables correctly so that the key (which was previously owned
  7724. by the D-Bus message) now has the same lifetime as the value, since
  7725. the key is now taken from the NMVPNConnection itself. This
  7726. really fixes the double-VPN names in the applet
  7727. 2007-08-13 Dan Williams <dcbw@redhat.com>
  7728. Patch from Michael Biebl <biebl@debian.org>
  7729. * po/POTFILES.in
  7730. po/POTFILES.skip
  7731. - Update for vpn-properties move
  7732. 2007-08-13 Dan Williams <dcbw@redhat.com>
  7733. * libnm-glib/nm-client.c
  7734. - Convert internal VPN connection tracking from a list to a hash table
  7735. to easily avoid duplicates
  7736. - (nm_client_get_vpn_connections): now returns an allocated GSList that
  7737. must be freed by the caller, like nm_client_get_devices()
  7738. - (nm_client_remove_vpn_connection): don't let the removal signal
  7739. leak through for NMVPNConnection objects that aren't actually
  7740. tracked.
  7741. - (manager_running): throw away VPN connection list when NM goes away,
  7742. like with the device list
  7743. 2007-08-13 Dan Williams <dcbw@redhat.com>
  7744. * src/dhcp-manager/nm-dhcp-manager.c
  7745. - Stop any dhclient instance that might be already running for a
  7746. particular interface before starting an NM spawned dhclient. Fixes
  7747. dhclient processes left over if NM crashes, stuff like that.
  7748. 2007-08-13 Dan Williams <dcbw@redhat.com>
  7749. * src/NetworkManagerAP.c
  7750. - (finalize): don't try to g_array_free (NULL, ...), which happened
  7751. when the AP wasn't broadcasting it's SSID
  7752. 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
  7753. * include/NetworkManager.h: added DBus path for connection settings.
  7754. * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
  7755. nm_connection_settings_signal_updated,
  7756. nm_connection_settings_signal_removed): new functions to wrap the
  7757. objects' signals.
  7758. (nm_connection_settings_init): register GObject with DBus.
  7759. (nm_connection_settings_get_dbus_object_path): new function.
  7760. * libnm-glib/Makefile.am: added libnmutil to link flags.
  7761. 2007-08-13 Tambet Ingo <tambet@gmail.com>
  7762. * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
  7763. * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
  7764. libnm_glib directory got merged with libnm-glib/.
  7765. * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
  7766. * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
  7767. Rename the library from libnm-glib to libnm_glib to maintain the library API
  7768. compatibility with 0.6 branch.
  7769. * Makefile.am: Remove gnome/ SUBDIR.
  7770. * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
  7771. * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
  7772. * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
  7773. * configure.in: Remove GNOME checks, NetworkManager does not need any of these
  7774. anymore.
  7775. Remove checks for wpa_supplicant binary, it's used over dbus.
  7776. Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
  7777. * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
  7778. Link the binaries with libnm_glib.la.
  7779. 2007-08-12 Dan Williams <dcbw@redhat.com>
  7780. * src/NetworkManagerPolicy.c
  7781. - (nm_policy_device_change_check): fix policy to deactivate old device
  7782. before activating new one, at least until the multiple active
  7783. device support lands
  7784. 2007-08-12 Dan Williams <dcbw@redhat.com>
  7785. * src/NetworkManagerPolicy.c
  7786. - (nm_policy_new): hook up to connection-added / connection-removed
  7787. signals instead of connections-changed
  7788. 2007-08-12 Dan Williams <dcbw@redhat.com>
  7789. Kill dhcdbd until it's dead, dead, dead. Based on a patch from
  7790. Robert Frank <rfrank@redhat.com>
  7791. * src/dhcp-manager/nm-dhcp-manager.c
  7792. src/dhcp-manager/nm-dhcp-manager.c
  7793. src/nm-device.c
  7794. - Spawn and communicate with dhclient directly, through means of a
  7795. custom dhclient callout script. Process callout D-Bus signals
  7796. with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
  7797. sent via gobject signals rather than being driven by the dhcp manager
  7798. directly.
  7799. 2007-08-12 Dan Williams <dcbw@redhat.com>
  7800. * callouts/nm-dhcp-client-action.c
  7801. - (build_message): ignore non-DHCP-related environment variables
  7802. 2007-08-12 Dan Williams <dcbw@redhat.com>
  7803. * Makefile.am
  7804. configure.in
  7805. callouts/Makefile.am
  7806. callouts/nm-dhcp-client-action.c
  7807. callouts/nm-dhcp-client.conf
  7808. - Add dhclient-executed callout that takes the place of dhclient-script
  7809. and dhcdbd, pushing DHCP options out to the system bus as a signal that
  7810. NM then listens for
  7811. 2007-08-09 Tambet Ingo <tambet@gmail.com>
  7812. [Based on patch by Helmut Schaa <hschaa@suse.de>]
  7813. * libnm-glib/nm-client.h:
  7814. * libnm-glib/nm-object.h:
  7815. * libnm-glib/nm-vpn-connection.h:
  7816. * libnm-glib/nm-settings.h:
  7817. * libnm-glib/nm-device.h:
  7818. * libnm-glib/nm-ip4-config.h:
  7819. * libnm-glib/nm-access-point.h:
  7820. * libnm-glib/nm-device-802-3-ethernet.h:
  7821. * libnm-util/nm-setting.h:
  7822. * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
  7823. * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
  7824. * libnm-glib/nm-access-point.c: Strength has type char.
  7825. * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
  7826. to fix build. GnomeDruid is deprecated in recent libgnomeui.
  7827. * introspection/nm-access-point.xml: Strength property is char, not int.
  7828. * src/NetworkManagerAP.c (set_property): Set strength from char.
  7829. (get_property): Handle hidden APs (with empty SSID).
  7830. Get strength value from char.
  7831. (nm_ap_class_init): Strength property has char type.
  7832. 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
  7833. * introspection/Makefile.am:
  7834. * introspection/nm-settings.xml:
  7835. * introspection/nm-settings-connection.xml: added Settings interfaces.
  7836. * libnm-glib/nm-settings.[ch]:
  7837. * libnm-glib/Makefile.am: added abstract class for Settings interfaces
  7838. containing the DBus implementation.
  7839. 2007-07-26 Dan Williams <dcbw@redhat.com>
  7840. Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
  7841. * src/NetworkManagerSystem.c
  7842. - (nm_system_device_set_ip4_route): don't add the route if it's on the
  7843. same subnet (#437396)
  7844. 2007-07-26 Dan Williams <dcbw@redhat.com>
  7845. Patch from Kelemen Gábor <kelemeng@gnome.hu>
  7846. * gnome/vpn-properties/nm-vpn-properties.c
  7847. - Fix translatable strings (#445865)
  7848. 2007-07-26 Dan Williams <dcbw@redhat.com>
  7849. Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
  7850. * configure.in
  7851. - Remove useless junk (#412530)
  7852. 2007-07-10 Christopher Aillon <caillon@redhat.com>
  7853. Patch from Robert Buchholz <rbu@gentoo.org>:
  7854. * configure.in:
  7855. * Makefile.am:
  7856. * introspection/Makefile.am:
  7857. Make make distcheck work again.
  7858. 2007-06-27 Dan Williams <dcbw@redhat.com>
  7859. * Make SSIDs GByteArrays everywhere
  7860. * Rename "essid" -> "ssid" everywhere that's appropriate
  7861. * Refcount activation_ap member of the 802.11 wireless device class
  7862. 2007-06-27 Tambet Ingo <tambet@ximian.com>
  7863. * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
  7864. 2007-06-22 Tambet Ingo <tambet@ximian.com>
  7865. * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
  7866. that we got a new AP when we just update existing AP properties.
  7867. 2007-06-21 Tambet Ingo <tambet@ximian.com>
  7868. * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
  7869. * nm-utils.[ch]: Remove.
  7870. * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
  7871. objects for easy property access and dbus connection handling.
  7872. * libnm-glib/nm-client.c: Derive from NMObject.
  7873. * libnm-glib/nm-device.c: Ditto.
  7874. * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
  7875. * libnm-glib/nm-device-802-11-wireless.c: Ditto.
  7876. * libnm-glib/nm-ip4-config.c: Ditto.
  7877. * libnm-glib/nm-access-point.c: Ditto.
  7878. * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
  7879. comparision. Currently used by the device activation code to determine if the new
  7880. activation is the same as the old one.
  7881. * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
  7882. wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
  7883. able to ask password for the AP.
  7884. * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
  7885. up if the device is already connected, tear down it's connection (if it isn't the
  7886. same as new one) and start the activation.
  7887. * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
  7888. * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
  7889. the issue where all APs are always listed as encrypted.
  7890. * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
  7891. their own registered paths.
  7892. * test/nm-tool.c (detail_device): Don't try to get active network from wireless
  7893. device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
  7894. 2007-06-13 Tambet Ingo <tambet@ximian.com>
  7895. * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
  7896. (0 & 0 == 0, doh)
  7897. * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
  7898. because the handling code will cause the next state change and signal listeners
  7899. get the signals in wrong order.
  7900. * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
  7901. correctly in case of pending activation.
  7902. * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
  7903. Convert the essid byte array to string correctly, including the terminating NULL.
  7904. * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
  7905. mode with correct types.
  7906. * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
  7907. constructed info to dbus call instead of the activation request.
  7908. 2007-06-11 Christopher Aillon <caillon@redhat.com>
  7909. Patch from Christian Persch <chpe@gnome.org>
  7910. * libnm-glib/Makefile.am:
  7911. * dispatcher-daemon/Makefile.am:
  7912. Use the correct variables, the correct paths, and correct ordering. (446315)
  7913. 2007-06-11 Tambet Ingo <tambet@ximian.com>
  7914. * src/nm-device.c: Make the activation stage virtual functions take NMDevice
  7915. argument. The activation request is easy to retrieve.
  7916. * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
  7917. just to be a convenient location for devices to store random stuff.
  7918. 2007-06-11 Christopher Aillon <caillon@redhat.com>
  7919. Patch from Alex Smith <alex@alex-smith.me.uk>
  7920. * src/backends/NetworkManagerFrugalware.c:
  7921. Update the FrugalWare backend to fix a few segfaults. (#392642)
  7922. 2007-06-08 Tambet Ingo <tambet@ximian.com>
  7923. * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
  7924. * libnm-util/nm-connection.c (register_default_creators): Register wireless security
  7925. setting.
  7926. (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
  7927. 2007-06-06 Tambet Ingo <tambet@ximian.com>
  7928. * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
  7929. automagically.
  7930. Implement NMSettingIP4Config.
  7931. Finish NMSettingWired by adding all known members.
  7932. (setting_wired_verify): Implement.
  7933. Finish NMSettingWireless by adding all known members.
  7934. (setting_wireless_verify): Implement.
  7935. * libnm-util/nm-connection.c: Register "ipv4" setting.
  7936. (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
  7937. dump function, we can introspect the GHashTable which is used for sending connections
  7938. over dbus.
  7939. * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
  7940. Take GByteArray for essid, it's really not a string.
  7941. * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
  7942. Start DHCP request if setting is not passed or if it states that DHCP should be used.
  7943. (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
  7944. means overriding the values we got from DHCP.
  7945. (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
  7946. (nm_device_deactivate_quickly): Ditto.
  7947. * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
  7948. for debugging.
  7949. 2007-05-07 Tambet Ingo <tambet@ximian.com>
  7950. * libnm-glib/Makefile.am: Link with libnm-util to gain access to
  7951. NMConnection.
  7952. * libnm-glib/nm-device-802-11-wireless.c:
  7953. (nm_device_802_3_ethernet_activate): Remove.
  7954. * libnm-glib/nm-device-802-3-ethernet.c
  7955. (nm_device_802_3_ethernet_activate): Remove.
  7956. * libnm-glib/nm-device.c (nm_device_activate): Implement.
  7957. * src/nm-device-802-3-ethernet.c: Implement the new activation using
  7958. NMConnection.
  7959. * src/nm-device-802-11-wireless.c: Store an activation AP once the
  7960. activation has started.
  7961. Implement the new activation using NMConnection.
  7962. * src/nm-activation-request.c: Store a generic connection object instead
  7963. of a wireless-specific AP.
  7964. * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
  7965. on device type, create a device specific connection object suitable for
  7966. device activation.
  7967. * src/nm-device.c (nm_device_activate): Re-implement. Call the device
  7968. specific check to validate the connection and on success start the
  7969. activation.
  7970. * src/nm-device-interface.h: Add a activate virtual function to the
  7971. interface definition.
  7972. * src/nm-device-interface.c (nm_device_interface_activate): Implement.
  7973. (impl_device_activate): Implement.
  7974. * introspection/nm-device.xml: Add a generic device activation interface
  7975. that accepts an abstract NMConnection structure that has device-specific
  7976. information in it.
  7977. * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
  7978. activation interface.
  7979. * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
  7980. activation interface.
  7981. * libnm-util/nm-connection.c:
  7982. * libnm-util/nm-connection.h:
  7983. * libnm-util/nm-setting.c:
  7984. * libnm-util/nm-setting.h: Add.
  7985. * libnm-util/Makefile.am: Build the added files.
  7986. * src/nm-dbus-manager.c
  7987. (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
  7988. DbusConnection argument from 'name-owner-changed' signal. The manager
  7989. is already passed as a first argument to the signal and the connection
  7990. is easy enough to get from it.
  7991. * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
  7992. Update the signature of the function.
  7993. * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
  7994. Ditto.
  7995. * src/NetworkManager.c: Ditto.
  7996. * src/named-manager/nm-named-manager.c
  7997. (nm_named_manager_name_owner_changed): Ditto.
  7998. * src/supplicant-manager/nm-supplicant-manager.c
  7999. (nm_supplicant_manager_name_owner_changed): Ditto.
  8000. * src/nm-hal-manager.c (name_owner_changed): Ditto.
  8001. * src/dhcp-manager/nm-dhcp-manager.c
  8002. (nm_dhcp_manager_name_owner_changed): Ditto.
  8003. * src/nm-hal-manager.c: Add a list of device detectors and creators
  8004. to make it easier to add new devices. Each device type has it's own
  8005. entry in the table so adding new device types is only a matter of
  8006. implementing a couple of functions, one for device detection and the
  8007. other for device creation.
  8008. 2007-04-25 Dan Williams <dcbw@redhat.com>
  8009. * initscript/RedHat/NetworkManager.in: remove trailing backslash
  8010. (gnome.org #432401)
  8011. 2007-03-30 Dan Williams <dcbw@redhat.com>
  8012. * src/NetworkManagerSystem.c
  8013. - (nm_system_device_set_ip4_route): clean up and fix argument
  8014. to nm_dev_sock_open()
  8015. 2007-03-28 Tambet Ingo <tambet@ximian.com>
  8016. * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
  8017. data to correct types instead of always using string.
  8018. * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
  8019. _not_ have NM_802_11_CAP_PROTO_NONE.
  8020. (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
  8021. is not set.
  8022. 2007-03-27 Tambet Ingo <tambet@ximian.com>
  8023. * libnm-glib/Makefile.am: Fix the build issue.
  8024. 2007-03-26 Tambet Ingo <tambet@ximian.com>
  8025. * libnm-glib/nm-vpn-connection.h:
  8026. * libnm-glib/nm-vpn-connection.c: Implement.
  8027. * libnm-glib/nm-client.c: Add VPN support.
  8028. * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
  8029. handler for VPN.
  8030. * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
  8031. on DBUS again.
  8032. 2007-03-26 Dan Williams <dcbw@redhat.com>
  8033. * src/NetworkManagerAPList.c
  8034. * src/nm-device-802-11-wireless.c
  8035. * src/NetworkManagerAP.c:
  8036. - Store last seen as glong instead of GTimeVal.
  8037. - Fix the upper bound of capabilities, it's a bitfield.
  8038. 2007-03-16 Tambet Ingo <tambet@ximian.com>
  8039. * libnm-glib/nm-device.c (nm_device_get_description): Implement.
  8040. * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
  8041. "manager-running" signal that notifies the appearance/disappearance of NM.
  8042. (nm_client_sleep): Implement.
  8043. * libnm-glib/nm-device.c:
  8044. * libnm-glib/nm-device-802-11-wireless.c:
  8045. * libnm-glib/nm-device-802-3-ethernet.c:
  8046. Don't inherit from DBusGProxy, add a proxy to private
  8047. data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
  8048. for anything but their own dbus interface. DBusGProxy objects support only one
  8049. interfaces and to work around this, NMDevice has spearate proxy for each dbus
  8050. interface. The nice side effect of this change is that we do not create a new
  8051. DBusGProxy object for each property access.
  8052. 2007-03-15 Tambet Ingo <tambet@ximian.com>
  8053. * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
  8054. with zeroes before passing them to functions - the functions never do that and
  8055. reading the values back may produce wrong values.
  8056. (real_bring_up): Store the signal handler id ...
  8057. (real_bring_down): ... So that it can be removed here.
  8058. Disconnect the supplicant interface here as well.
  8059. (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
  8060. from the access point instead of old $device/Networks/$essid.
  8061. * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
  8062. device state is connected (instead of just having link/carrier).
  8063. * src/nm-activation-request.c: Don't store NMData in activation request, it's
  8064. already easily accessible through the device.
  8065. * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
  8066. store it within the object.
  8067. (nm_ap_get_dbus_path): Export it to public as well.
  8068. * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
  8069. of the singleton.
  8070. 2007-03-12 Dan Williams <dcbw@redhat.com>
  8071. Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
  8072. for non-carrier-detect capable devices, and useless for carrier-detect
  8073. devices since we get notifications from netlink about carrier status anyway.
  8074. * src/nm-device-802-3-ethernet.c
  8075. - remove 'link_source_id' member from private data
  8076. - (probe_link): remove and collapse into real_update_link()
  8077. - (nm_device_802_3_periodic_update): remove
  8078. - (real_is_up): check for sup_iface rather than link_source_id
  8079. - (real_bring_up): return gboolean for success/fail; require that
  8080. sup_iface be valid for device bringup to succeed
  8081. - (real_bring_down): zero out link signal ids
  8082. * src/nm-device.c
  8083. - (nm_device_activate_stage2_device_config): fail activation if device
  8084. bringup fails
  8085. - (real_act_stage4_get_ip4_config): fail activation if device bringup
  8086. fails
  8087. - (nm_device_bring_up): return success/fail
  8088. * src/nm-device.h
  8089. - bring_up now returns success/fail
  8090. * src/nm-device-802-11-wireless.c
  8091. - (real_bring_up): return success from bringup
  8092. 2007-03-07 Dan Williams <dcbw@redhat.com>
  8093. Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
  8094. * src/nm-ap-security-wpa-psk.c
  8095. - (real_write_supplicant_config): work with PSKs that may contain
  8096. zeros in the binary format rather than treating it as a string
  8097. 2007-03-02 Tambet Ingo <tambet@ximian.com>
  8098. * libnm-glib/nm-device-802-11-wireless.c
  8099. (nm_device_802_11_wireless_get_capabilities): Implement.
  8100. * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
  8101. * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
  8102. * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
  8103. reply only if it's not NULL. Not sure why this started happening right now.
  8104. * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
  8105. code paths for when devices get removed on shutdown or when a device is just
  8106. removed.
  8107. (finalize): Don't use a g_slist_foreach() when removing devices, the list data
  8108. gets freed so any signal from a device (disconnected for instance) would invoke
  8109. NMState update which would crash.
  8110. (nm_manager_remove_device): Bring the device down when it gets removed.
  8111. * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
  8112. the unused dev_type.
  8113. * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
  8114. reference to the added device, NMManager will own it (if it wants).
  8115. * test/nm-tool.c: Rewrite using libnm-glib.
  8116. * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
  8117. We get signalled when it changes.
  8118. * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
  8119. when it changes.
  8120. * libnm-glib/nm-device.c: Cache the device state property.
  8121. * libnm-glib/nm-access-point.c: Cache the strength property.
  8122. * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
  8123. The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
  8124. and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
  8125. until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
  8126. the device is down, activating, or activated (in case of A/B/G cards).
  8127. Remove some old dead ifdef'ed out code that used to configure wireless devices,
  8128. it's all done through supplicant now.
  8129. * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
  8130. counting issues with pending calls which caused leaks and crashes when
  8131. interface was removed (now that the interface actually gets removed).
  8132. * src/nm-call-store.c: Make a copy of data before running a foreach
  8133. with user callback on it - The most common usage pattern is to cancel
  8134. (and thus remove) all pending calls with foreach which would modify
  8135. the hash table we're iterating over.
  8136. * src/nm-manager.c: When a device is added, make sure it is "up". When
  8137. it's removed or disabled due to disabling wireless or networking, bring
  8138. it down.
  8139. * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
  8140. * src/nm-device-802-11-wireless.c:
  8141. * src/nm-device-802-3-ethernet.c:
  8142. * src/nm-device.c:
  8143. - Remove "init" virtual function, all gobjects have a place for that
  8144. already (constructor).
  8145. - Replace "start" virtual function with "bring_up", devices can be
  8146. brought up and down more than just on startup now.
  8147. - Add "is_up" virtual function.
  8148. - Implement one way to bring a device down instead of previous 4 different
  8149. ways, each of witch did something different.
  8150. * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
  8151. all it needs is the device interface.
  8152. Get rid of NMData.dev_list (3 members to go).
  8153. Get rif of NMData in a lot of places.
  8154. * gnome/libnm_glib/libnm_glib.c: Make it compile again.
  8155. 2007-02-23 Dan Williams <dcbw@redhat.com>
  8156. Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
  8157. * src/NetworkManagerAP.c
  8158. - (add_capabilities_from_cipher): fix addition of WEP capabilities by
  8159. OR-ing rather than AND-ing
  8160. 2007-02-20 Tambet Ingo <tambet@ximian.com>
  8161. * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
  8162. "network-removed" signals.
  8163. * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
  8164. * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
  8165. when receiving the signal from dbus.
  8166. * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
  8167. property.
  8168. * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
  8169. deactivation of the previously activated device working again.
  8170. * src/nm-activation-request.c: Remove NMActStage property and it's getter
  8171. and setter.
  8172. * src/nm-device.c (nm_device_is_activated): Remove.
  8173. state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
  8174. * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
  8175. NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
  8176. NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
  8177. NM_DBUS_SIGNAL_STATE_CHANGE signal.
  8178. Remove NMNetworkStatus and NMActStage enums.
  8179. 2007-02-19 Tambet Ingo <tambet@ximian.com>
  8180. * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
  8181. Handle device state changes and disconnect VPN if it's device deactivates.
  8182. * src/nm-dbus-nm.c:
  8183. * src/nm-dbus-nm.h:
  8184. * src/nm-dbus-device.c:
  8185. * src/nm-dbus-device.c:
  8186. * src/nm-dbus-net.c:
  8187. * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
  8188. * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
  8189. * src/nm-device.c (nm_device_get_by_udi):
  8190. (nm_device_get_by_iface): Remove. This doesn't belong here and is already
  8191. implemented in the correct location (NMManager).
  8192. Rip out all the test_device stuff.
  8193. * src/NetworkManagerPolicy.c: Remove the leftover activation success and
  8194. failure handlers, it's all done by NMDevice already.
  8195. * src/NetworkManager.c: Move the signal handling here from nm-logging.c
  8196. Remove the iochannel hack to route the unix signals to the main thread since
  8197. we're not threaded anymore.
  8198. * src/NetworkManagerAP.c: Implement HWAddress property.
  8199. * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
  8200. automatically with dbus-glib.
  8201. * src/nm-netlink-monitor.c:
  8202. * src/nm-netlink-monitor.h:
  8203. - Move it low in the class hierarchy, don't reference any NM types.
  8204. - Remove private data from the header.
  8205. - Use type safe checks in public API methods.
  8206. - Make it a singleton so we don't have to pass the single reference around.
  8207. 2007-02-16 Tambet Ingo <tambet@ximian.com>
  8208. * introspection/nm-ip4-config.xml: Implement.
  8209. * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
  8210. * libnm-glib/nm-ip4-config.c:
  8211. * libnm-glib/nm-ip4-config.c: Implement.
  8212. * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
  8213. securities. APs reference security.
  8214. * src/nm-device-802-11-wireless.c: Implement missing properties that need to
  8215. be exported over DBUS.
  8216. * src/nm-device-802-3-ethernet.c: Ditto.
  8217. * src/NetworkManagerAP.c:
  8218. * src/NetworkManagerAP.h:
  8219. - Convert to GObject, export over DBUS.
  8220. * src/nm-ip4-config.h:
  8221. * src/nm-ip4-config.h:
  8222. - Convert to GObject, export over DBUS.
  8223. 2007-02-12 Dan Williams <dcbw@redhat.com>
  8224. Patch from Helmut Schaa <hschaa@suse.de>
  8225. * vpn-daemons/pptp/configure.in
  8226. vpn-daemons/pptp/Makefile.am
  8227. vpn-daemons/openvpn/configure.in
  8228. vpn-daemons/openvpn/Makefile.am
  8229. vpn-daemons/vpnc/configure.in
  8230. vpn-daemons/vpnc/Makefile.am
  8231. - Add --without-gnome switch which disables building gnome bits
  8232. 2007-02-12 Tambet Ingo <tambet@ximian.com>
  8233. * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
  8234. * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
  8235. * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
  8236. 'HwAddress'.
  8237. * introspection/nm-device.xml: Remove 'UseDhcp' property.
  8238. * introspection/nm-access-point.xml: Remove 'Broadcast' property.
  8239. Totally break NetworkManager. Please use 0.6 branch until futher notice.
  8240. * src/:
  8241. - Remove old low-level dbus interface implementations and replace them
  8242. with dbus-glib one.
  8243. * configure.in:
  8244. - Require dbus-glib >= 0.72.
  8245. - Plug in new sources to build.
  8246. * libnm-glib/:
  8247. - Implement GObject wrappers on top of DBUS glib auto-generated bindings
  8248. to make it more convenient to use from GObject based programs.
  8249. * introspection/:
  8250. - Implement DBUS XML introspection files, used by both NM and libnm-glib.
  8251. 2007-02-09 Tambet Ingo <tambet@ximian.com>
  8252. * src/nm-device-802-11-wireless.c:
  8253. - Add "network-added" and "network-removed" signals.
  8254. - Use gobject boilerplate macros to define the GObject.
  8255. - Implement wireless device activation.
  8256. - Remove activation_failure_handler and activation_success_handler
  8257. and instead listen on state-changed signals and run the same code
  8258. from there.
  8259. * src/nm-device.c:
  8260. - Implment NMDeviceInterface::deactivate.
  8261. - Remove activation_failure_handler and activation_success_handler
  8262. virtual methods. Each device which is interested in these events
  8263. can just listen on it's state changed signals.
  8264. * src/NetworkManagerPolicy.c:
  8265. - Move a bit more NMData usage to NMManager.
  8266. - Remove activation scheduling bits.
  8267. - Add listeners for wireless device's "network-added" and
  8268. "network-removed" signals.
  8269. - Listen device changed signals and deactivate currently activated
  8270. device when another device start activating (for now).
  8271. - Remove (nm_policy_schedule_device_change_check): There's never a need
  8272. for calling this, the policy code knows exactly when this should happen,
  8273. by listening on events from NMManager and NMDevices.
  8274. * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
  8275. Implement.
  8276. * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
  8277. method on the specific device instead of going to through policy code
  8278. and determining the device type by passed in AP's existance.
  8279. * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
  8280. abstract NMDevice deactivation.
  8281. 2007-02-08 Tambet Ingo <tambet@ximian.com>
  8282. * src/NetworkManager.c:
  8283. - Set up all the shiny new managers.
  8284. * src/NetworkManagerPolicy.c:
  8285. - Add the beginnings of new NMPolicy code. Instead of requireing all
  8286. classes to call into policy code, make the policy code kind of like
  8287. a supervisor that monitors what's going on and drives the whole NM.
  8288. * src/nm-hal-manager.c:
  8289. * src/nm-hal-manager.h:
  8290. - Collect all libhal code scattered around NM to this one class.
  8291. - Listen libhal and NMManager events and add/remove devices to
  8292. NMManager.
  8293. * src/nm-manager.c:
  8294. * src/nm-manager.h:
  8295. - Implment a replacement for NMData. NMData is now officially
  8296. deprecated.
  8297. 2007-02-05 Tambet Ingo <tambet@ximian.com>
  8298. * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
  8299. * src/supplicant-manager/nm-supplicant-interface.h
  8300. * src/supplicant-manager/nm-supplicant-interface.c
  8301. (nm_supplicant_interface_class_init): Change the "scan-result" signal's
  8302. argument to boolean from enum.
  8303. Make NMDevice abstract class, remove almost all references to it's
  8304. subclasses (the last place gets removed with new policy manager). Add
  8305. NMDeviceInterface (which NMDevice implements) so that when we have
  8306. NMDevice exported over DBUS, there's a common NMDevice interface which
  8307. all instances have, plus there's a device specific interface for each
  8308. specific type.
  8309. Remove functions (nm_device_is_802_3_ethernet) and
  8310. (nm_device_is_802_11_wireless). There are already standard GObject macros
  8311. for type safe checks.
  8312. Use the updated supplican manager API.
  8313. * src/nm-device-interface.h:
  8314. * src/nm-device-interface.c:
  8315. * src/nm-call-store.h:
  8316. * src/nm-call-store.c: Implement.
  8317. * src/supplicant-manager/nm-supplicant-interface.c:
  8318. * src/supplicant-manager/nm-supplicant-interface.h:
  8319. * src/supplicant-manager/nm-supplicant-manager.c:
  8320. * src/supplicant-manager/nm-supplicant-manager.h:
  8321. - Remove all private data type references from public header files.
  8322. - Remove all references to other NM classes, this class is just a
  8323. proxy between wpa_supplicant and NM so it doesn't have to know
  8324. any internals.
  8325. - Convert to dbus-glib bindings.
  8326. - Type safe checks for public methods' arguments.
  8327. - Store pending DBUS call ids to NMCallStore.
  8328. * src/supplicant-manager/nm-supplicant-config.c:
  8329. - Store config values in a GHashTable instead of GSList.
  8330. * src/NetworkManagerMain.h: Remove all references to DHCP manager.
  8331. * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
  8332. singleton now.
  8333. * src/nm-device.c: Use the new DHCP manager API.
  8334. * src/nm-activation-request.c:
  8335. * src/nm-activation-request.h:
  8336. - Remove all dhcp related properties and methods.
  8337. * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
  8338. * src/dhcp-manager/nm-dhcp-marshal.list: Add.
  8339. * src/dhcp-manager/nm-dhcp-manager.c:
  8340. * src/dhcp-manager/nm-dhcp-manager.h:
  8341. - Convert it to GObject since we need to signal state changes.
  8342. - Remove all references to other NM classes, this class is one
  8343. of the lowest classes in our hierarchy.
  8344. - One less class to use NMActRequest.
  8345. - Make it singleton, one less user of NMData.
  8346. - Remove a couple of sleep() calls.
  8347. - Convert a bunch of low-level dbus API calls to dbus-glib calls.
  8348. One less class to use the NM's custom tailored signal handlig.
  8349. * Makefile.am: Generate marshallers, add them to build.
  8350. 2007-02-02 Dan Williams <dcbw@redhat.com>
  8351. * configure.in
  8352. gnome/Makefile.am
  8353. nm-applet.desktop
  8354. Makefile.am
  8355. - Remove last bits referencing gnome applet
  8356. 2007-02-02 Dan Williams <dcbw@redhat.com>
  8357. * src/vpn-manager/nm-vpn-service.c
  8358. - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
  8359. and NBNS server addresses
  8360. 2007-02-02 Tambet Ingo <tambet@ximian.com>
  8361. * src/nm-dbus-manager.c:
  8362. * src/nm-dbus-manager.h:
  8363. - Convert all internal DBUS code to use dbus-glib bindings.
  8364. - Remove GObject properties, we don't need them here.
  8365. - Don't explicitly set things to NULL after freeing, glib is
  8366. happy to do it if asked nicely (G_DEBUG=gc-friendly).
  8367. - Make public API argument checks type safe.
  8368. - Remove unnecessary (and wrong) cast to GObject for the first
  8369. argument to g_signal_* calls - The first argument is a gpointer.
  8370. - Export DBusGConnection to other cool classes that (are going to)
  8371. use dbus-glib.
  8372. 2007-01-26 Dan Williams <dcbw@redhat.com>
  8373. * libnm-util/dbus-dict-helpers.c
  8374. libnm-util/dbus-dict-helpers.h
  8375. - Coordinate style with wpa_supplicant version to minimize diff
  8376. - Add uint32 array support
  8377. - (nmu_dbus_dict_append_uint32_array): new function
  8378. - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
  8379. nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
  8380. version; allow adding string array elements individually
  8381. * test/libnm-util/test-dbus-dict-helpers.c
  8382. - Test uint32 arrays
  8383. 2007-01-27 Jürg Billeter <j@bitron.ch>
  8384. * src/backends/NetworkManagerPaldo.c
  8385. - (nm_system_update_dns): clear nscd hosts cache
  8386. 2007-01-04 Dan Williams <dcbw@redhat.com>
  8387. Threading removal related cleanups:
  8388. - Use the glib default main context. Remove the device main context
  8389. member from NMDevice, and the main_context member from NMData. Change
  8390. all the idle and timeout scheduler functions to use plain
  8391. g_idle_add() and g_timeout_add().
  8392. - As a side-effect of the first change, nm_dbus_manager_get() no longer
  8393. takes an argument; fix that up too.
  8394. - Remove all locking, which is useless since we no longer use threads. For
  8395. example, nm_get_device_by_iface_locked() has been removed. The global
  8396. device list lock, the AP List lock, and all static locks in
  8397. NetworkManagerPolicy.c have been removed. The locking utility functions
  8398. in NetworkManagerUtils.c have also been removed.
  8399. - Other cleanups in spacing and code style
  8400. 2007-01-01 Dan Williams <dcbw@redhat.com>
  8401. Found by Bill Moss:
  8402. * src/supplicant-manager/nm-supplicant-interface.c
  8403. - (nm_supplicant_interface_disconnect): fix cleanup logic when
  8404. the supplicant interface wasn't already disconnected. Always
  8405. call removeNetwork and disconnect unless the supplicant interface
  8406. is in the DISCONNECTED or INACTIVE state.
  8407. 2006-12-28 Dan Williams <dcbw@redhat.com>
  8408. Use a single thread for everything. With the move to wpa_supplicant
  8409. and communication over D-Bus, there's no reason for multiple threads.
  8410. Almost all of the blocking code has been removed, with one exception in
  8411. the DHCP manager and a few in the VPN manager. This commit removes the
  8412. per-device worker thread and fixes activation cancellation in the absence
  8413. of threads. Further removal of thread-related code would be removing
  8414. any locking code (like the device list lock) and simplification of logic
  8415. around areas of code or data structures that are currently locked.
  8416. * autoip.c
  8417. dhcp-manager/nm-dhcp-manager.c
  8418. nm-device-802-11-wireless.c
  8419. nm-device-802-3-ethernet.c
  8420. nm-device.c
  8421. nm-device.h
  8422. - Remove usage of multiple threads
  8423. 2006-12-19 Dan Williams <dcbw@redhat.com>
  8424. Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
  8425. plus a few other patches from wpa_supplicant bugzilla.
  8426. * src/Makefile.am
  8427. src/NetworkManagerPolicy.c
  8428. src/NetworkManagerUtils.c
  8429. src/NetworkManagerUtils.h
  8430. src/nm-ap-security-leap.c
  8431. src/nm-ap-security-wep.c
  8432. src/nm-ap-security-wpa-eap.c
  8433. src/nm-ap-security-wpa-psk.c
  8434. src/nm-ap-security.c
  8435. src/nm-ap-security.h
  8436. src/nm-device-802-11-wireless.c
  8437. src/nm-device-802-11-wireless.h
  8438. src/supplicant-manager/nm-supplicant-config.c
  8439. src/supplicant-manager/nm-supplicant-config.h
  8440. src/supplicant-manager/nm-supplicant-interface.c
  8441. src/supplicant-manager/nm-supplicant-interface.h
  8442. src/supplicant-manager/nm-supplicant-marshal.list
  8443. src/supplicant-manager/nm-supplicant-settings-verify.c
  8444. src/supplicant-manager/nm-supplicant-settings-verify.h
  8445. - Move all connection management and association handling to
  8446. wpa_supplicant over dbus, rather than spawning a private copy
  8447. 2006-12-19 Dan Williams <dcbw@redhat.com>
  8448. * src/NetworkManagerPolicy.c
  8449. - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
  8450. better locking of the device change check handler ID. Incorrect
  8451. locking was causing lost device change requests
  8452. 2006-12-18 Dan Williams <dcbw@redhat.com>
  8453. * libnm-util/dbus-dict-helpers.c
  8454. - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
  8455. _nmu_dbus_dict_entry_get_byte_array): replace usage of
  8456. dbus_message_iter_get_array_len() (Gnome.org #382898)
  8457. 2006-12-18 Dan Williams <dcbw@redhat.com>
  8458. * gnome/libnm_glib/libnm_glib.c
  8459. - Change dbus_connection_close() -> dbus_connection_unref()
  8460. 2006-12-11 Dan Williams <dcbw@redhat.com>
  8461. * src/supplicant-manager/nm-supplicant-interface.c
  8462. - (iface_state_cb, wpas_iface_get_state): new functions; query initial
  8463. wpa_supplicant interface state
  8464. - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
  8465. state before transitioning to READY state
  8466. 2006-12-04 Dan Williams <dcbw@redhat.com>
  8467. * src/nm-device-802-11-wireless.c
  8468. - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
  8469. odd length of ESSID returned from ieee80211 stack-based drivers
  8470. 2006-12-04 Dan Williams <dcbw@redhat.com>
  8471. * src/nm-device-802-11-wireless.c
  8472. - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
  8473. IE handling blocks that cause mis-parsing of the IE
  8474. 2006-12-04 Dan Williams <dcbw@redhat.com>
  8475. * src/nm-device-802-11-wireless.c
  8476. - (init_supplicant_interface): new function; pull supplicant interface
  8477. setup code out into standalone function since it must be called from
  8478. two different places
  8479. - (real_init): sup_mgr is now in private object data; get and track
  8480. the supplicant manager object over the NMDevice subclass' lifetime
  8481. and register a signal handler for its state signals; only try to
  8482. initialize the supplicant interface if the supplicant manager is in
  8483. the IDLE state (and therefore is ready for requests)
  8484. - (request_wireless_scan): reschedule the scan request if (a) there is
  8485. no supplicant interface yet (meaning wpa_supplicant isn't running
  8486. or isn't ready yet), or (b) if the supplicant interface isn't ready
  8487. for requests yet
  8488. - (supplicant_iface_connection_state_cb): new function; stub for
  8489. handling supplicant interface connection state signals
  8490. - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
  8491. comes and goes
  8492. - (nm_device_802_11_wireless_dispose): clean up spacing; release the
  8493. supplicant manager object that's being tracked starting with this
  8494. commit
  8495. 2006-12-04 Dan Williams <dcbw@redhat.com>
  8496. * src/supplicant-manager/nm-supplicant-interface.c
  8497. - (nm_supplicant_interface_set_property): track signal handler ID
  8498. - (nm_supplicant_interface_dispose): remove signal handler on dispose
  8499. 2006-12-04 Dan Williams <dcbw@redhat.com>
  8500. * src/supplicant-manager/nm-supplicant-interface.[ch]
  8501. - (nm_supplicant_interface_get_state): new function
  8502. 2006-12-04 Dan Williams <dcbw@redhat.com>
  8503. * src/supplicant-manager/nm-supplicant-interface.c
  8504. - (bssid_properties_cb): don't treat DBus errors as valid
  8505. scanned AP messages
  8506. 2006-12-04 Dan Williams <dcbw@redhat.com>
  8507. * src/supplicant-manager/nm-supplicant-interface.[ch]
  8508. - (nm_supplicant_interface_get_connection_state): new function
  8509. - define new supplicant connection states
  8510. - send a signal when the supplicant connection state changes
  8511. 2006-12-03 Dan Williams <dcbw@redhat.com>
  8512. * src/supplicant-manager/Makefile.am
  8513. src/supplicant-manager/nm-supplicant-connection.h
  8514. src/supplicant-manager/nm-supplicant-connection.c
  8515. src/supplicant-manager/nm-supplicant-config.h
  8516. src/supplicant-manager/nm-supplicant-config.c
  8517. src/supplicant-manager/nm-supplicant-types.h
  8518. src/supplicant-manager/nm-supplicant-interface.h
  8519. src/supplicant-manager/nm-supplicant-interface.c
  8520. - Rename NMSupplicantConnection -> NMSupplicantConfig
  8521. 2006-12-03 Dan Williams <dcbw@redhat.com>
  8522. Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
  8523. * po/POTFILES.in
  8524. po/POTFILES.skip
  8525. - Move VPN-related translatables to .skip
  8526. * vpn-daemons/pptp/po/POTFILES.in
  8527. - Update with new translatables
  8528. 2006-12-02 Dan Williams <dcbw@redhat.com>
  8529. Patch from Christian Persch <chpe@gnome.org>
  8530. * gnome/applet/Makefile.am
  8531. gnome/applet/applet-dbus-devices.c
  8532. gnome/applet/applet-notifications.c
  8533. gnome/applet/applet.c
  8534. gnome/applet/applet.h
  8535. gnome/applet/main.c
  8536. - Be a GtkStatusIcon on GTK+ >= 2.10
  8537. 2006-12-02 Dan Williams <dcbw@redhat.com>
  8538. * gnome/applet/applet.c
  8539. - (nma_update_info): fix two unecessary allocations
  8540. 2006-12-02 Dan Williams <dcbw@redhat.com>
  8541. Patch from Michael Biebl <biebl@teco.edu>
  8542. * configure.in
  8543. man/NetworkManager.1.in
  8544. man/NetworkManagerDispatcher.1.in
  8545. man/NetworkManager.8.in
  8546. man/NetworkManagerDispatcher.8.in
  8547. - Add .SH NAME stanzas
  8548. - Move NM & NM Dispatcher manpages to section 8 (admin)
  8549. 2006-12-02 Dan Williams <dcbw@redhat.com>
  8550. Patch from Christian Persch <chpe@gnome.org>
  8551. * configure.in
  8552. - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
  8553. 2006-11-29 Tambet Ingo <tambet@ximian.com>
  8554. Patch by Timo Hoenig <thoenig@suse.de>:
  8555. * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
  8556. DBUS-1.0.
  8557. * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
  8558. we can't use the one from the main source directory.
  8559. 2006-11-27 Dan Williams <dcbw@redhat.com>
  8560. Patch from Christian Persch <chpe@gnome.org>
  8561. * gnome/applet/applet-dbus-devices.c
  8562. - (hal_info_product_cb): fix memleak; free duped string.
  8563. Gnome.org #379908
  8564. 2006-11-27 Dan Williams <dcbw@redhat.com>
  8565. Patch from Christian Persch <chpe@gnome.org>
  8566. * gnome/applet/menu-items.c
  8567. - (network_menu_item_update): use gtk_progress_bar_set_fraction()
  8568. as gtk_progress_set_percentage is deprecated. Should
  8569. work as far back as GTK+ 2.4. Gnome.org #379780
  8570. 2006-11-26 Dan Williams <dcbw@redhat.com>
  8571. Scan using wpa_supplicant over DBus.
  8572. * src/nm-device-802-11-wireless.c
  8573. - remove wireless extensions netlink event handler bits
  8574. (wireless_event_helper, nm_device_802_11_wireless_event)
  8575. - remove wireless extensions scan event handler bits
  8576. (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
  8577. hex2byte, hex2num, request_and_convert_scan_results,
  8578. free_process_scan_cb_data, scan_results_timeout,
  8579. schedule_scan_results_timeout, cancel_scan_results_timeout)
  8580. - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
  8581. and request scans from the supplicant interface rather than directly
  8582. - Move functionality of convert_scan_results() to cull_scan_list() and
  8583. supplicant_iface_scanned_ap_cb()
  8584. - (supplicant_iface_scan_result_cb): new function; schedule a new scan
  8585. at the scan interval when the current scan has finished
  8586. - (supplicant_iface_state_cb): start scanning when the supplicant
  8587. interface enters the READY state, and stop scanning when it
  8588. enters the DOWN state
  8589. - (cull_scan_list): weed out old access points from the scan list
  8590. - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
  8591. point into an NMAccessPoint and merge it into the device's scan list
  8592. * src/supplicant-manager/nm-supplicant-interface.c
  8593. src/supplicant-manager/nm-supplicant-interface.h
  8594. - Add a new signal "scan-result" which is issued when the supplicant
  8595. notifies NM that a scan has completed
  8596. - Add a new signal "scanned-ap" that notifies listeners of a new access
  8597. point found in the scan. Called once for each access point that
  8598. the supplicant interface object receives from the supplicant as a
  8599. result of the "scanResults" method call
  8600. - (wpas_iface_query_scan_results): don't wait 4s before querying
  8601. for the initial scan results
  8602. - (scan_request_cb): new function; send listeners the result
  8603. (success, error) of a wireless scan request
  8604. - (nm_supplicant_interface_request_scan): new function; ask the
  8605. supplicant to perform an immediate wireless scan
  8606. 2006-11-25 Dan Williams <dcbw@redhat.com>
  8607. * src/supplicant-manager/Makefile.am
  8608. - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
  8609. add HAL cflags/includes and named-manager includes directory
  8610. * src/supplicant-manager/nm-supplicant-interface.h
  8611. - New state STARTING to handle transition from INIT to READY where
  8612. the addInterface pending call is still outstanding
  8613. * src/supplicant-manager/nm-supplicant-interface.c
  8614. - track pending calls differently since we may have more than one
  8615. going on at any given time
  8616. - request scan results from wpa_supplicant; but don't do it more often
  8617. than every 4 seconds. Drivers that do background scanning
  8618. (like the 'ipw' drivers) send a continuous stream of scan completion
  8619. notifications, so we don't want to hammer the supplicant or dbus
  8620. with requests for all scan results every time we get a completion
  8621. notification.
  8622. 2006-11-25 Dan Williams <dcbw@redhat.com>
  8623. * src/supplicant-manager/nm-supplicant-types.h
  8624. - new file; move all supplicant manager object typedefs here for
  8625. #include sanity
  8626. * src/supplicant-manager/nm-supplicant-interface.c
  8627. src/supplicant-manager/nm-supplicant-interface.h
  8628. - new file; an object that interfaces an NMDevice object to the
  8629. supplicant and handles signals from the supplicant. This object
  8630. does all necessary DBus communication with wpa_supplicant.
  8631. * src/supplicant-manager/nm-supplicant-manager.c
  8632. src/supplicant-manager/nm-supplicant-manager.h
  8633. - Actually do something. Track the state of the wpa_supplicant service
  8634. and deal with its comings & goings. Handle life events of
  8635. supplicant interfaces too.
  8636. - Move NMSupplicantManager typedef to nm-supplicant-types.h
  8637. * src/supplicant-manager/nm-supplicant-connection.h
  8638. - Move NMSupplicantConnection typedef to nm-supplicant-types.h
  8639. * src/supplicant-manager/Makefile.am
  8640. - Add new files to build, and add libnm-util to includes
  8641. * src/nm-marshal.list
  8642. - New marshaler type: VOID:UINT,UINT
  8643. * src/nm-device-802-3-ethernet.c
  8644. - (real_init): grab a supplicant interface
  8645. - (nm_device_802_3_ethernet_dispose): release the supplicant interface
  8646. - (supplicant_iface_state_cb): new function, stub for handling
  8647. supplicant interface state changes
  8648. * src/nm-device-802-11-wireless.c
  8649. - (real_init): grab a supplicant interface
  8650. - (nm_device_802_11_wireless_dispose): release the supplicant interface
  8651. - (supplicant_iface_state_cb): new function, stub for handling
  8652. supplicant interface state changes
  8653. * src/NetworkManager.c
  8654. - (main): create and keep the supplicant manager around for the lifetime
  8655. of NetworkManager
  8656. * src/Makefile.am
  8657. - Link to the supplicant manager sub-library and use the supplicant
  8658. manager includes
  8659. 2006-11-25 Dan Williams <dcbw@redhat.com>
  8660. Rework DBus manager signal handling to be more flexible. Previously,
  8661. only one signal handler could be registered for a particular interface.
  8662. The DBus manager now reference counts DBus bus matches and allows multiple
  8663. clients to register signal handlers for the same interface and sender.
  8664. * src/NetworkManager.c
  8665. - (main): track NMI signal handler ID and remove it when we quit
  8666. * src/NetworkManagerMain.h
  8667. - Keep track of NMI signal handler ID
  8668. * src/nm-dbus-manager.c
  8669. src/nm-dbus-manager.h
  8670. - rework signal handling; each signal handler references one signal
  8671. match, but a signal match may be referenced by one or more
  8672. signal handlers. Matches are refcounted and are destroyed when the
  8673. last signal handler that references the match is removed. This is
  8674. necessary because two signal handlers may end up requiring the same
  8675. dbus bus match, so the match must live until the last signal handler
  8676. is destroyed (for example, with the wpa_supplicant network interface
  8677. dbus interface).
  8678. * src/dhcp-manager/nm-dhcp-manager.c
  8679. - (nm_dhcp_manager_new): track DHCP signal handler id
  8680. - (nm_dhcp_manager_dispose): remove DHCP signal handler
  8681. * src/vpn-manager/nm-vpn-service.c
  8682. - (nm_vpn_service_add_watch): track VPN service signal handler id
  8683. - (nm_vpn_service_remove_watch): remove VPN service signal handler
  8684. 2006-11-25 Dan Williams <dcbw@redhat.com>
  8685. Suggested by Helmut Schaa <hschaa@suse.de>
  8686. * src/vpn-daemons/nm-vpn-service.c
  8687. - (supplicant_child_setup): new function
  8688. - (supplicant_exec): make child process use a new process group id
  8689. * src/nm-device-802-11-wireless.c
  8690. - (nm_vpn_service_child_setup): new function
  8691. - (nm_vpn_service_stage1_daemon_exec): make child process use a new
  8692. process group id
  8693. 2006-11-19 Dan Williams <dcbw@redhat.com>
  8694. Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
  8695. * gnome/vpn-properties/nm-vpn-properties.c
  8696. - clean up after renamed VPN connection
  8697. 2006-11-19 Dan Williams <dcbw@redhat.com>
  8698. Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
  8699. * gnome/applet/applet-dbus-vpn.c
  8700. - (nma_dbus_vpn_properties_cb): sort VPN connections
  8701. * gnome/vpn-properties/nm-vpn-properties.c
  8702. - (init_app): sort VPN connections
  8703. 2006-11-09 Dan Williams <dcbw@redhat.com>
  8704. * src/NetworkManagerAPList.c
  8705. - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
  8706. code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
  8707. from the nm_ap_list_get_ap_by_address() call was incorrect and
  8708. broke hidden SSID matching. Found by Bill Moss.
  8709. 2006-10-25 Dan Williams <dcbw@redhat.com>
  8710. * src/nm-dbus-nm.c
  8711. - (nm_dbus_nm_set_active_device): return an empty success message on
  8712. success, rather than falling through to the error case.
  8713. 2006-10-25 Dan Williams <dcbw@redhat.com>
  8714. * src/NetworkManagerUtils.c
  8715. - (nm_utils_supplicant_request_with_check): suppress messages for the
  8716. "SCAN" command
  8717. 2006-10-24 Dan Williams <dcbw@redhat.com>
  8718. Reduce the number of times the Gnome applet wakes up, especially when
  8719. it's doing absolutely nothing and is hidden. Initial patch by
  8720. Chris Aillon.
  8721. * gnome/applet/applet-dbus.c
  8722. - (nma_dbus_filter): when NM isn't around, or when it goes away,
  8723. kill the redraw timeout. When NM starts up, start the redraw
  8724. timeout. Also, if we get kicked off the bus for some reason,
  8725. start the reconnection timeout if one's not already running.
  8726. - (nma_dbus_init): better handling of error conditions, don't leak
  8727. a half-initialized dbus connection
  8728. - (nma_dbus_connection_watcher): consolidate places we reinitialize
  8729. the applet's data, just call nm_dbus_init_helper()
  8730. - (nma_start_dbus_connection_watch): new function, starts a periodic
  8731. timeout that calls nma_dbus_connection_watcher()
  8732. - (nma_dbus_init_helper): if we get a successful connection, kill the
  8733. reconnection timeout, and don't start the reconnection timeout
  8734. unconditionally anymore
  8735. * gnome/applet/applet-dbus.h
  8736. - Expose nma_start_dbus_connection_watch()
  8737. * gnome/applet/applet.c
  8738. - (nma_update_state): no longer static, called from applet-dbus.c for
  8739. immediate UI updates on certain events
  8740. - (nma_set_running): new function; take over setting applet->running,
  8741. when not running (ie, NM is not active), don't activate the redraw
  8742. timeout because we're not showing the applet anyway. When we are
  8743. running (ie, NM is active), and only when we're running, start the
  8744. redraw timeout.
  8745. - (nma_destroy): kill the redraw timeout by setting 'not running', and
  8746. kill any reconnection timeout
  8747. - (nma_get_instance): move one-off dbus initialization code here since
  8748. nm_dbus_init_helper() gets called more than once, possibly by the
  8749. reconnection timeout function too. And, when we start up, if we
  8750. can't get a connection to the bus, start the reconnection timeout.
  8751. But don't start the redraw timeout yet, only do that when we get
  8752. NM's state and find out if it's running or not.
  8753. * gnome/applet/applet.h
  8754. - Add the reconnection GSource ID
  8755. - Add prototypes for nma_set_running() and the no-longer-static
  8756. nma_update_state()
  8757. 2006-10-24 Dan Williams <dcbw@redhat.com>
  8758. * src/vpn-daemons/nm-dbus-vpnc.c
  8759. - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
  8760. pending call tracker
  8761. - (nm_dbus_vpn_connections_update_cb): unregister pending call in
  8762. pending call tracker; register one-vpn-connection update pending
  8763. call in pending call tracker
  8764. - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
  8765. update pending call in pending call tracker
  8766. - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
  8767. update pending call in pending call tracker; don't block waiting
  8768. for call to return
  8769. 2006-10-19 Robert Love <rml@novell.com>
  8770. * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
  8771. refresh the cache.
  8772. 2006-10-14 Dan Williams <dcbw@redhat.com>
  8773. * src/dhcp-manager/nm-dhcp-manager.c
  8774. - (get_ip4_string, get_ip4_uint32s): have the caller pass
  8775. the dbus connection and the device object path rather than
  8776. constructing it inside both functions. Saves a bit of memory
  8777. and clarifies a failure path.
  8778. - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
  8779. and allocate device path here rather than each of the two
  8780. functions above.
  8781. 2006-10-13 Dan Williams <dcbw@redhat.com>
  8782. * src/NetworkManager.c
  8783. - (nm_name_owner_changed_handler): handle NMI coming and going,
  8784. this somehow droppout in the refactor
  8785. 2006-10-13 Dan Williams <dcbw@redhat.com>
  8786. * Huge DBus refactor:
  8787. - Create a "DBus Manager" object which manages the connection and
  8788. sends signals on NameOwnerChanged and connection/disconnection events,
  8789. handles reconnection to the bus if NM gets kicked off, and abstracts
  8790. signal handling
  8791. - Remove DBusConnection members from places where they are no
  8792. longer needed due to the refactor, like the dbus-connection
  8793. property of the named manager, and from NMData
  8794. - Reformats a bunch of the code to gnome style
  8795. (8-space tabs, braces on same line as statement, 80-col width).
  8796. Consider it open season to reformat any bits to gnome style.
  8797. style that aren't already.
  8798. 2006-10-13 Dan Williams <dcbw@redhat.com>
  8799. * src/supplicant-manager/Makefile.am
  8800. - Add new files
  8801. * src/supplicant-manager/nm-supplicant-manager.[ch]:
  8802. - Make it a minimal GObject
  8803. * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
  8804. - Verify settings destined for wpa_supplicant
  8805. * src/supplicant-manager/nm-supplicant-connection.[ch]:
  8806. - Minimal GObject to track wpa_supplicant controlled device
  8807. connections
  8808. 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
  8809. * gnome/applet/applet.c: (nma_update_info),
  8810. (nma_act_stage_to_pixbuf), (nma_update_state):
  8811. Mark missing strings for translation. Fixes bug #343306.
  8812. 2006-10-01 Dan Williams <dcbw@redhat.com>
  8813. * src/vpn-manager/nm-vpn-manager.c
  8814. - (nm_vpn_manager_load_services): split and clean up
  8815. for readability and correctness. Restrict VPN service
  8816. files to ending in ".name", as was meant from the
  8817. beginning (but not coded in). Better error reporting.
  8818. 2006-10-01 Dan Williams <dcbw@redhat.com>
  8819. * utils/nm-utils.h
  8820. - Clean up formatting of debug/info/warning log messages
  8821. 2006-09-27 Robert Love <rml@novell.com>
  8822. Patch by Tambet Ingo <tambet@ximian.com>:
  8823. * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
  8824. actually work.
  8825. 2006-09-07 Dan Williams <dcbw@redhat.com>
  8826. * test/Makefile.am
  8827. test/libnm-util/Makefile.am
  8828. test/nm-supplicant-test.c
  8829. - Add test program emulating the way NM drives wpa_supplicant
  8830. to help debug supplicant issues
  8831. 2006-08-24 Dan Williams <dcbw@redhat.com>
  8832. * configure.in
  8833. src/Makefile.am
  8834. src/supplicant-manager/Makefile.am
  8835. src/supplicant-manager/nm-supplicant-manager.c
  8836. src/supplicant-manager/nm-supplicant-manager.h
  8837. - Add skeleton bits of the wpa_supplicant manager
  8838. 2006-08-24 Dan Williams <dcbw@redhat.com>
  8839. Patch from Ed Catmur:
  8840. * src/NetworkManagerUtils.c
  8841. - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
  8842. if netmask is 0 (Gnome #352634)
  8843. 2006-08-17 Robert Love <rml@novell.com>
  8844. * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
  8845. package is now DBUS-enabled and listens for the NM signals.
  8846. 2006-08-14 Dan Williams <dcbw@redhat.com>
  8847. * Patch from Christian Persch <chpe gnome org>
  8848. * configure.in
  8849. po/LINGUAS
  8850. vpn-daemons/openvpn/po/LINGUAS
  8851. vpn-daemons/openvpn/configure.in
  8852. vpn-daemons/pptp/po/LINGUAS
  8853. vpn-daemons/pptp/configure.in
  8854. vpn-daemons/vpnc/po/LINGUAS
  8855. vpn-daemons/vpnc/configure.in
  8856. - Convert to LINGUAS method so translators don't have to modify
  8857. configure.in, just stuff in po/. Gnome #343132, requires intltool
  8858. 0.35 or higher
  8859. 2006-08-14 Dan Williams <dcbw@redhat.com>
  8860. Patch from Alex Smith <alex.extreme2@gmail.com>
  8861. * configure.in
  8862. src/backends/Makefile.am
  8863. src/backends/NetworkManagerFrugalware.c
  8864. - Add support for Frugalware
  8865. 2006-08-13 Dan Williams <dcbw@redhat.com>
  8866. Patch from Valentine Sinitsyn <e_val@inbox.ru>
  8867. * src/nm-device-802-11-wireless.c
  8868. - (supplicant_exec): spawn wpa_supplicant without debug spew
  8869. Gnome #346875
  8870. 2006-08-13 Dan Williams <dcbw@redhat.com>
  8871. Patch from Valentine Sinitsyn <e_val@inbox.ru>
  8872. * src/nm-ap-security.c
  8873. src/nm-ap-security.h
  8874. - Add authentication_required bits for subclasses to specify whether
  8875. or not real authentication is required for connections, i.e. whether
  8876. the AP rejects us when an encryption key is wrong or not.
  8877. * src/nm-ap-security-wep.c
  8878. src/nm-ap-security-wpa-eap.c
  8879. src/nm-ap-security-wpa-psk.c
  8880. src/nm-ap-security-leap.c
  8881. - Implement authentication_required appropriately for each method
  8882. * src/nm-device-802-11-wireless.c
  8883. - Be smarter about when to request a key; for example, using a wrong key
  8884. in WEP shared key mode previously just timed out and did not request
  8885. a new key
  8886. 2006-08-13 Dan Williams <dcbw@redhat.com>
  8887. * gnome/libnm_glib/libnm_glib.c
  8888. - dbus_connection_disconnect() -> dbus_connection_close() for
  8889. dbus >= 0.90
  8890. 2006-08-07 Dan Williams <dcbw@redhat.com>
  8891. Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
  8892. * src/NetworkManagerSystem.c
  8893. - Respect specified MTU. Gnome #344967
  8894. 2006-08-07 Dan Williams <dcbw@redhat.com>
  8895. * src/vpn-manager/nm-vpn-service.c
  8896. - Simplify print_vpn_config() arguments
  8897. Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
  8898. * src/vpn-manager/Makefile.am
  8899. src/vpn-manager/nm-vpn-service.c
  8900. - Add new API for passing VPN config options as a dict. Gnome #344967
  8901. 2006-08-06 Dan Williams <dcbw@redhat.com>
  8902. * gnome/applet/applet-dbus-devices.c
  8903. gnome/applet/applet-dbus-vpn.c
  8904. gnome/applet/applet-dbus.c
  8905. gnome/applet/applet-dbus.h
  8906. src/nm-dbus-nmi.c
  8907. utils/nm-utils.c
  8908. utils/nm-utils.h
  8909. - Make pending call tracking code generic,
  8910. so we can use it in NM as well as the applet
  8911. 2006-08-06 Dan Williams <dcbw@redhat.com>
  8912. * src/nm-activation-request.c
  8913. - Refcount pending call objects
  8914. 2006-08-06 Dan Williams <dcbw@redhat.com>
  8915. Patch from Christan Chiesa <christanc@gmail.com>
  8916. * configure.in
  8917. - Tell sha1.c to use bigendian mode on PPC
  8918. 2006-08-04 Robert Love <rml@novell.com>
  8919. Glib Memory Slices!
  8920. * configure.in: Require glib 2.10 or later.
  8921. * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
  8922. src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
  8923. src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
  8924. src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
  8925. g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
  8926. Memory Slices are the greatest thing since bread slices.
  8927. * src/NetworkManagerAP.c: Also, fix memory leak.
  8928. 2006-08-01 Robert Love <rml@novell.com>
  8929. * gnome/applet/main.c: Shutdown all VPN connections on logout.
  8930. 2006-07-31 Robert Love <rml@novell.com>
  8931. * src/backends/interface_parser.c: Declarations must begin the block.
  8932. 2006-07-24 Dan Williams <dcbw@redhat.com>
  8933. Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
  8934. * src/backends/Makefile.am
  8935. src/backends/NetworkManagerArch.c
  8936. src/backends/NetworkManagerDebian.c
  8937. src/backends/NetworkManagerGeneric.c
  8938. src/backends/NetworkManagerGeneric.h
  8939. src/backends/NetworkManagerGentoo.c
  8940. src/backends/NetworkManagerPaldo.c
  8941. src/backends/NetworkManagerRedHat.c
  8942. src/backends/NetworkManagerSlackware.c
  8943. src/backends/NetworkManagerSuSE.c
  8944. - Genericize common backend functions
  8945. 2006-07-18 Robert Love <rml@novell.com>
  8946. * configure.in: Add "--with-notify" option to allow disabling of
  8947. libnotify support.
  8948. 2006-07-13 Dan Williams <dcbw@redhat.com>
  8949. Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
  8950. * gnome/applet/applet.glade
  8951. gnome/applet/Makefile.am
  8952. gnome/applet/nm-gconf-wso.c
  8953. gnome/applet/nm-gconf-wso-leap.c
  8954. gnome/applet/nm-gconf-wso-leap.h
  8955. gnome/applet/wireless-security-manager.c
  8956. gnome/applet/wso-leap.c
  8957. gnome/applet/wso-leap.h
  8958. include/NetworkManager.h
  8959. libnm-util/dbus-helpers.c
  8960. libnm-util/dbus-helpers.h
  8961. src/Makefile.am
  8962. src/NetworkManagerAP.c
  8963. src/nm-ap-security.c
  8964. src/nm-ap-security-leap.c
  8965. src/nm-ap-security-leap.h
  8966. - Add LEAP authentication support
  8967. 2006-07-13 Dan Williams <dcbw@redhat.com>
  8968. Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
  8969. * configure.in
  8970. src/backends/NetworkManagerArch.c
  8971. src/backends/NetworkManagerDebian.c
  8972. src/backends/NetworkManagerGentoo.c
  8973. src/backends/NetworkManagerPaldo.c
  8974. src/backends/NetworkManagerRedHat.c
  8975. src/backends/NetworkManagerSlackware.c
  8976. src/backends/NetworkManagerSuSE.c
  8977. - Convert hardcoding of 'ip' path to configure-time
  8978. detected one
  8979. 2006-07-12 Leonid Kanter <leon@asplinux.ru>
  8980. * configure.in: added ru to ALL_LINGUAS
  8981. 2006-07-10 Dan Williams <dcbw@redhat.com>
  8982. Patch from Valentine Sinitsyn <e_val@inbox.ru>
  8983. * src/nm-device.c
  8984. - (real_act_stage3_ip_config_start): don't infinite loop when
  8985. dhcdbd isn't running (Gnome #346845)
  8986. 2006-07-09 Dan Williams <dcbw@redhat.com>
  8987. * gnome/applet/applet.c
  8988. - (nma_destroy): don't pass NULL to notify_notification_close
  8989. (RH #197917)
  8990. 2006-07-09 Dan Williams <dcbw@redhat.com>
  8991. * gnome/applet/applet.c
  8992. - (nma_about_cb): remove empty documenters tab (Gnome #341324)
  8993. 2006-07-04 Tor Krill <tor@krill.nu>
  8994. Patch from Valentine Sinitsyn <e_val@inbox.ru>
  8995. * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
  8996. (nm_system_restart_mdns_responder), (ArchReadConfig),
  8997. (nm_system_device_get_system_config):
  8998. - Explicitly check for DHCP configuration
  8999. - Check if daemons are running before starting them
  9000. 2006-06-25 Dan Williams <dcbw@redhat.com>
  9001. * libnm-util/dbus-dict-helpers.[ch]
  9002. test/libnm-util/test-dbus-dict-helpers.c
  9003. - Add string array support
  9004. 2006-06-24 Dan Williams <dcbw@redhat.com>
  9005. * src/dhcp-manager/nm-dhcp-manager.c
  9006. - (nm_dhcp_manager_process_signal): clean up spacing
  9007. 2006-06-21 Dan Williams <dcbw@redhat.com>
  9008. * src/nm-dbus-device.c
  9009. - (nm_dbus_device_get_driver): don't try to stuff a NULL
  9010. through dbus
  9011. 2006-06-21 Raivis Dejus <orvils@gmail.com>
  9012. * configure.in: Added 'lv' to ALL_LINGUAS
  9013. 2006-06-19 Dan Williams <dcbw@redhat.com>
  9014. * src/NetworkManagerAP.c
  9015. - Clarify usage of user_created
  9016. * src/nm-ap-security-wep.c
  9017. src/nm-ap-security-wpa-eap.c
  9018. src/nm-ap-security-wpa-psk.c
  9019. src/nm-ap-security.c
  9020. src/nm-ap-security.h
  9021. - s/user_created/adhoc, because we really do mean adhoc
  9022. Patch from Bernard Blackham <bernard@blackham.com.au>
  9023. * src/nm-device-802-11-wireless.c
  9024. - (supplicant_send_network_config): instead of user_created,
  9025. use adhoc, and do AP_SCAN 2 for adhoc networks
  9026. 2006-06-18 Robert Love <rml@novell.com>
  9027. * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
  9028. we have a value to set. Gconf generates a warning if `val' is NULL.
  9029. * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
  9030. unless we actually received a valid private key file passphrase or
  9031. password. Otherwise, we don't know to later ask the applet to pull
  9032. the key from the keyring.
  9033. 2006-06-17 Dan Williams <dcbw@redhat.com>
  9034. * libnm-util/dbus-dict-helpers.[ch]
  9035. test/libnm-util/test-dbus-dict-helpers.c
  9036. - Fixes for zero-length byte arrays
  9037. - Replace return values of 0 with FALSE for clarity
  9038. - Test zero-length byte arrays
  9039. 2006-06-17 Dan Williams <dcbw@redhat.com>
  9040. * libnm-util/dbus-dict-helpers.[ch]
  9041. test/libnm-util/test-dbus-dict-helpers.c
  9042. - Add helpers for byte arrays
  9043. - Rework bits of the testcase
  9044. 2006-06-16 Dan Williams <dcbw@redhat.com>
  9045. * libnm-util/Makefile.am
  9046. * libnm-util/dbus-dict-helpers.[ch]
  9047. - Add some helpers to take the pain out of using dict types in
  9048. dbus.
  9049. * test/libnm-util/Makefile.am
  9050. * test/libnm-util/test-dbus-dict-helpers.c
  9051. - Test cases for the dict helper functions
  9052. 2006-06-15 Robert Love <rml@novell.com>
  9053. * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
  9054. is a non-empty key to set. Elsewhere, pass an empty string via DBUS
  9055. if there is no key to pass.
  9056. * libnm-util/dbus-helpers.c: Given the above, we can trust always
  9057. receiving a non-NULL key.
  9058. 2006-06-14 Robert Love <rml@novell.com>
  9059. * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
  9060. copy the strings.
  9061. 2006-06-14 Dan Williams <dcbw@redhat.com>
  9062. Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
  9063. * src/nm-device-802-11-wireless.c
  9064. - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
  9065. or ones where the driver is unknown
  9066. - (supplicant_exec): don't wait for supplicant startup here
  9067. - (supplicant_interface_init): finer grained polling for supplicant
  9068. startup
  9069. 2006-06-13 Robert Love <rml@novell.com>
  9070. * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
  9071. if it is currently set to TRUE. Otherwise, we will reset the value
  9072. when we connect normally.
  9073. * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
  9074. the old BSSID is valid, too. The recently added ESSID check may not be
  9075. sufficient (we can remove it?). What we really want to catch is the
  9076. case of going from all-zeros to the BSSID of some other network, which
  9077. happens on failure.
  9078. 2006-06-09 Dan Williams <dcbw@redhat.com>
  9079. * src/NetworkManagerSystem.[ch]
  9080. - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
  9081. it was unused and pointless
  9082. - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
  9083. fix for set_up_down_with_iface change
  9084. * src/vpn-manager/nm-vpn-connection.c
  9085. - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
  9086. * src/backends/NetworkManagerPaldo.c
  9087. src/backends/NetworkManagerRedHat.c
  9088. src/backends/NetworkManagerSuSE.c
  9089. src/backends/NetworkManagerArch.c
  9090. src/backends/NetworkManagerDebian.c
  9091. src/backends/NetworkManagerGentoo.c
  9092. - (nm_system_enable_loopback): use set_up_down_with_iface where
  9093. appropriate
  9094. - (nm_system_flush_loopback_routes): use flush_routes_with_iface
  9095. where appropriate
  9096. 2006-06-09 Dan Williams <dcbw@redhat.com>
  9097. Patch from Peter Jones:
  9098. * src/nm-device-802-11-wireless.c
  9099. - (nm_device_802_11_wireless_update_bssid): make sure that the
  9100. SSID hasn't changed from what we expect before automatically
  9101. updating the saved BSSID from a new AP
  9102. 2006-06-08 Robert Love <rml@novell.com>
  9103. Add 'fallback' support. NetworkManager will attempt to brute-force
  9104. connect to networks marked as fallback if there are no better wireless
  9105. connections available. This is useful as a method of last resort, to
  9106. work around driver problems, and for use with hidden networks.
  9107. * gnome/applet/applet-dbus-devices.c,
  9108. gnome/applet/applet-dbus-devices.h: Add fallback parameter.
  9109. * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
  9110. pass it on via DBUS.
  9111. * gnome/applet/applet.c: No fallback by default.
  9112. * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
  9113. Update other-network-dialog to add UI checkbox toggling fallback.
  9114. * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
  9115. propery from AP object. Add "fallback" property to AP object.
  9116. * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
  9117. * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
  9118. * src/nm-device-802-11-wireless.c: Break out blacklist logic into
  9119. separate function. Add get_best_fallback_ap() for returning an AP
  9120. on which to attempt fallback.
  9121. * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
  9122. * test/nm-set-fallback: New file. Sets a given network as fallback.
  9123. 2006-06-07 Robert Love <rml@novell.com>
  9124. * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
  9125. checked that the return type was GCONF_VALUE_STRING, not the correct
  9126. GCONF_VALUE_BOOL, and thus it never worked.
  9127. * src/NetworkManagerAPList.c: Before concluding that two networks are
  9128. identical based on their BSSID, make sure that the BSSID in question
  9129. is actually valid. Specifically, an empty or all zero BSSID does not
  9130. cut it.
  9131. * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
  9132. src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
  9133. similar invariant clean up.
  9134. 2006-06-02 Robert Love <rml@novell.com>
  9135. * gnome/applet/applet.c: Update copyright years. Add Novell.
  9136. 2006-05-28 Dan Williams <dcbw@redhat.com>
  9137. * gnome/applet/applet.glade
  9138. gnome/vpn-properties/nm-vpn-properties.glade
  9139. - Set window icons on dialogs (Gnome.org #333420)
  9140. 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
  9141. * gnome/vpn-properties/nm-vpn-properties.glade:
  9142. * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
  9143. * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
  9144. * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
  9145. - Make the VPN properties pages prettier and more HIG
  9146. compliant. Gnome Bug #336913.
  9147. 2006-05-28 Dan Williams <dcbw@redhat.com>
  9148. Patch from Christian Persch <chpe@gnome.org>
  9149. * gnome/vpn-properties/nm-vpn-properties.c
  9150. * gnome/vpn-properties/nm-vpn-properties.glade
  9151. - HIG-ification love (Gnome.org #336846)
  9152. 2006-05-28 Dan Williams <dcbw@redhat.com>
  9153. Patch from Christian Persch <chpe@gnome.org>
  9154. * configure.in
  9155. gnome/vpn-properties/nm-vpn-properties.c
  9156. - (main): Fix option parsing. Gnome.org #336847
  9157. 2006-05-28 Dan Williams <dcbw@redhat.com>
  9158. * gnome/vpn-properties/nm-vpn-properties.c
  9159. - (find_vpn_ui_by_service_name): protect against NULL service names
  9160. - (update_edit_del_sensitivity): protect against NULL service names
  9161. Gnome.org #341306
  9162. 2006-05-28 Dan Williams <dcbw@redhat.com>
  9163. Patch from Chris Fuller <crf@grandecom.net>:
  9164. * src/nm-device-802-11-wireless.c
  9165. - (nm_device_802_11_wireless_dispose): add a is_initialized member and
  9166. don't dispose of wireless-specific stuff unless it is actually
  9167. initialized. Gnome.org #341263
  9168. 2006-05-28 Dan Williams <dcbw@redhat.com>
  9169. * src/NetworkManagerPolicy.c
  9170. - (nm_policy_device_change_check): don't switch devices if the "best"
  9171. AP is essentially the same as the current activation request, but
  9172. the current activation request isn't done activating yet. Fixes
  9173. multiple requests for keyring password on startup for Gnome applet.
  9174. Gnome.org #341297
  9175. 2006-05-26 Nicolas Trangez <eikke@eikke.com>
  9176. * src/NetworkManager.c: use GOptions instead of getopt
  9177. * configure.in: bump glib required version to >= 2.6 for GOption
  9178. support
  9179. 2006-05-25 Robert Love <rml@novell.com>
  9180. * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
  9181. nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
  9182. instead of dumping ifdef's throughout the code.
  9183. * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
  9184. src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
  9185. use nm_ioctl_info() in lieu.
  9186. 2006-05-25 Robert Love <rml@novell.com>
  9187. Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
  9188. * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
  9189. not using gcrypt. Otherwise, we get a linker error.
  9190. 2006-05-25 Robert Love <rml@novell.com>
  9191. Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
  9192. * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
  9193. configure flag to disable building of the GNOME-based applet.
  9194. 2006-05-25 Robert Love <rml@novell.com>
  9195. * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
  9196. parameter from link, because it shadows a global variable with some
  9197. older versions of glibc. Yes, glibc is now fixed and, yes, glibc
  9198. should never have exported to the entire system a common four letter
  9199. word. But we here at NetworkManager are team players. Fixes
  9200. GNOME bug #336532.
  9201. 2006-05-25 Arangel Angov <ufo@linux.net.mk>
  9202. * configure.in: Added mk.po, Macedonian translation.
  9203. 2006-05-24 Robert Love <rml@novell.com>
  9204. * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
  9205. gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
  9206. src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
  9207. 2006-05-24 Robert Love <rml@novell.com>
  9208. * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
  9209. libnm-util/Makefile.am, src/Makefile.am,
  9210. vpn-daemons/openvpn/auth-dialog/Makefile.am,
  9211. vpn-daemons/openvpn/properties/Makefile.am,
  9212. vpn-daemons/pptp/auth-dialog/Makefile.am,
  9213. vpn-daemons/pptp/properties/Makefile.am,
  9214. vpn-daemons/vpnc/auth-dialog/Makefile.am,
  9215. vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
  9216. user passed for --datadir, if anything, when setting the GNOME locale
  9217. directory. It should be a function of the specified datadir and not
  9218. the prefix.
  9219. 2006-05-24 Robert Love <rml@novell.com>
  9220. * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
  9221. src/NetworkManager.c: Take care to call bindtextdomain with the
  9222. location of msgid files.
  9223. * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
  9224. files.
  9225. 2006-05-22 Robert Love <rml@novell.com>
  9226. * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
  9227. stage4_timeout on failure unless the wireless network is Ad-Hoc.
  9228. 99% of the time there is a real problem with wireless, and a
  9229. seemingly successful connection via Zeroconf just confuses the user.
  9230. And that 1% of the time the network is probably Ad-Hoc, anyhow.
  9231. 2006-05-22 Robert Love <rml@novell.com>
  9232. * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
  9233. autofs on interface up if NIS is configured. On interface down, do
  9234. nothing.
  9235. 2006-05-22 Robert Love <rml@novell.com>
  9236. * gnome/applet/applet.c: Zero out the icon pointers before we set them,
  9237. to avoid calling g_object_unref() on stale pointers on error in
  9238. nma_icons_free(). This happens because we short-circuit loaded the
  9239. icons on the first failure but then free all icons. Normally we have
  9240. no issue because the icons were zero'ed out malloc, but we have stale
  9241. pointer data after nma_icon_theme_changed().
  9242. * gnome/applet/main.c: Return error code if nma_new() failed.
  9243. 2060-05-21 Dan Williams <dcbw@redhat.com>
  9244. * initscript/NetworkManager.in
  9245. - Ensure both dhcdbd and named are started before NM
  9246. 2006-05-21 Dan Williams <dcbw@redhat.com>
  9247. * configure.in
  9248. - Bump version to 0.7 to signify we are in 0.7 development
  9249. 2006-05-21 Dan Williams <dcbw@redhat.com>
  9250. Patch from Adam Schreiber <sadam@clemson.edu>
  9251. * gnome/vpn-properties/nm-vpn-properties.c
  9252. - (main): correct Gnome program name (gnome.org #342498)
  9253. 2006-05-21 Dan Williams <dcbw@redhat.com>
  9254. Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
  9255. * src/NetworkManagerDbus.[ch]
  9256. - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
  9257. clarify that function's argument should be an escaped dbus object
  9258. path, and look for path segment end before returning a match
  9259. * src/nm-dbus-nm.c:
  9260. - Fix up users of nm_dbus_get_device_from_escaped_object_path()
  9261. 2006-05-17 Robert Love <rml@novell.com>
  9262. Functionality to differentiate Ad-Hoc networks from infrastructure
  9263. networks in the applet, by displaying a special icon:
  9264. * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
  9265. * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
  9266. * gnome/applet/menu-items.c: Set a special icon in the scan list for
  9267. ad-hoc networks. TODO: Add a third icon representing "encrypted and
  9268. Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
  9269. networks, encrypted or not.
  9270. * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
  9271. accessor functions to get and set the mode of a given network,
  9272. wireless_network_get_mode() and wireless_network_set_mode().
  9273. 2006-05-17 Robert Love <rml@novell.com>
  9274. Functionality to automatically add BSSIDs to the allowed-MAC list as
  9275. one roams from access point to access point on a given network:
  9276. * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
  9277. helper function to compare two ether_addr structures and return TRUE
  9278. if they contain the same MAC address.
  9279. * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
  9280. prototype.
  9281. * src/nm-device-802-11-wireless.c: New function to update the BSSID
  9282. stored with the current AP. If the BSSID has indeed changed, we
  9283. send it out to the applet, allowing the allowed-MAC list to grow
  9284. automatically in response to roaming.
  9285. 2006-05-16 Robert Love <rml@novell.com>
  9286. * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
  9287. unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
  9288. 2006-05-13 Dan Williams <dcbw@redhat.com>
  9289. * src/nm-device-802-3-ethernet.c
  9290. - (real_get_generic_capabilities): Don't ignore devices that can't do
  9291. carrier detect (Debian bug #366373)
  9292. 2006-05-11 Dan Williams <dcbw@redhat.com>
  9293. Patch from Michael Biebl <biebl@teco.edu>
  9294. * src/backends/NetworkManagerDebian.c
  9295. - Debian backend fixups
  9296. 2006-05-10 Robert Love <rml@novell.com>
  9297. * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
  9298. 2006-05-09 Robert Love <rml@novell.com>
  9299. * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
  9300. private certificate passphrase, if any, in the GNOME Keyring.
  9301. * libnm-utils/dbus-helpers.c: Update.
  9302. 2006-05-05 Dan Williams <dcbw@redhat.com>
  9303. * src/nm-device-802-11-wireless.c
  9304. - (nm_device_802_11_wireless_set_wep_enc_key): convert to
  9305. nm_device_802_11_wireless_disable_encryption() since that's all
  9306. we use it for anymore; we don't ever set WEP keys ourselves.
  9307. - (real_deactivate_quickly): reset SSID and encryption keys
  9308. - (real_deactivate): move SSID and encryption key reset to
  9309. real_deactivate_quickly(), which gets run before us anyway
  9310. 2006-05-05 Robert Love <rml@novell.com>
  9311. * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
  9312. root has a wacky default of its own (or, more common, a user has a
  9313. bad umask and uses su/sudo to restart NetworkManager). Anything
  9314. other than 0022 does not do what we want with, for example,
  9315. resolv.conf. This problem is amplified by our judicious use of
  9316. fopen(), which uses mode 0666 -- implying that the only way to get
  9317. the permissions we want is with a umask of 0022.
  9318. 2006-05-05 Dan Williams <dcbw@redhat.com>
  9319. * gnome/libnm_glib/libnm_glib.c
  9320. - Don't suck CPU when dbus isn't around by scheduling idle handlers
  9321. to reconnect; instead wait a bit more with each reconnect attempt
  9322. up to a max of one minute.
  9323. 2006-05-04 Ryan Lortie <desrt@desrt.ca>
  9324. * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
  9325. the WirelessNetwork structure using the proper function instead of
  9326. just casting it directly to (const char *) (gnome.org #336991)
  9327. 2006-05-03 Robert Love <rml@novell.com>
  9328. * src/backends/NetworkManagerSuSE.c: Respect the variable
  9329. dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
  9330. config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
  9331. to dynamically update /etc/resolv.conf.
  9332. 2006-05-02 Peter Jones <pjones@redhat.com>
  9333. * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
  9334. 2006-05-02 Robert Love <rml@novell.com>
  9335. Patch by Timo Hoenig;
  9336. * tests/nm-online.c: Print pretty status indicator as timeout winds
  9337. down. Also fix possible race between DBUS startup and failure
  9338. return.
  9339. 2006-05-01 Robert Love <rml@novell.com>
  9340. * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
  9341. empty, too.
  9342. 2006-04-27 Jeremy Katz <katzj@redhat.com>
  9343. * src/nm-device.c (discover_device_type): Actually use the hal
  9344. device type instead of ioctl poking
  9345. 2006-04-26 Robert Love <rml@novell.com>
  9346. * tests/nm-online.c: New file. Simple utility that returns exit status
  9347. noting whether the connection is offline or online. If offline on
  9348. start, it waits 30 seconds (or a command-line given value) for an
  9349. online signal. If it times out, it again returns offline. This is
  9350. useful for scripts that want to wait for network connections.
  9351. 2006-04-25 Robert Love <rml@novell.com>
  9352. * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
  9353. key mode (the authentication algorithm), e.g. open or shared, when we
  9354. moved to using wpa_supplicant. wpa_supplicant defaults to open, so
  9355. only shared was broken. If the user specified a shared key, set it
  9356. explicitly, otherwise let wpa_supplicant go with the default.
  9357. 2006-04-24 Dan Williams <dcbw@redhat.com>
  9358. * src/nm-device-802-11-wireless.c
  9359. - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
  9360. 2006-04-24 Dan Williams <dcbw@redhat.com>
  9361. Commit the async scanning patch
  9362. * src/nm-device-802-11-wireless.c
  9363. - get rid of scan_mutex
  9364. - (wireless_event_helper): act on wireless scan events
  9365. - (real_start): schedule a pending scan
  9366. - (link_to_specific_ap): fake the link to the AP during a scan
  9367. - (nm_device_802_11_wireless_update_signal_strength): ignore signal
  9368. strength during scans
  9369. - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
  9370. nm_device_set_bitrate): unused with new scanning code, disable
  9371. - (nm_device_wireless_schedule_scan): removed
  9372. - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
  9373. - (request_and_convert_scan_results): new function; retrieve scan
  9374. results from the driver and schedule the processing function
  9375. - (scan_results_timeout): timeout triggered when card doesn't send
  9376. a scan results wireless event during a certain interval
  9377. - (schedule_scan_results_timeout): new function; schedule the scan
  9378. results timeout
  9379. - (cancel_scan_results_timeout): new function; cancel the scan
  9380. results timeout
  9381. - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
  9382. to do the scanning. Otherwise, just request a scan but don't
  9383. grab results here; instead schedule a timeout for scan results and
  9384. let netlink notify us of scan completion events
  9385. - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
  9386. - (cancel_pending_scan): new function; cancel a pending wireless scan
  9387. - (supplicant_status_cb): ignore disconnect events while scanning
  9388. - (supplicant_exec): wait a bit longer for the supplicant to start up
  9389. - (nm_device_802_11_wireless_dispose): cancel pending scans and results
  9390. timeouts
  9391. - (get_scan_results): removed; folded into request_and_convert_scan_results()
  9392. 2006-04-24 Dan Williams <dcbw@redhat.com>
  9393. * gnome/applet/applet-dbus.c
  9394. - Disable the pending call debug stuff, seems under control now
  9395. 2006-04-20 Robert Love <rml@novell.com>
  9396. Fix bug where hidden ESSID's would not show up in the applet, even
  9397. if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
  9398. because nm_policy_device_list_update_from_allowed_list() would merge
  9399. the data, putting a name to the hidden networks, but never notify NMI
  9400. of the changes. Simple fix is to invoke the function
  9401. nm_dbus_signal_wireless_network_change() if we make a mapping.
  9402. * src/NetworkManagerAPList.c: Call the function
  9403. nm_dbus_signal_wireless_network_change() if we made a successful
  9404. BSSID to ESSID mapping, notifying the applet of the "new" network.
  9405. * src/NetworkManagerAPList.h: Update the prototypes for both
  9406. nm_ap_list_copy_essids_by_address() and
  9407. nm_ap_list_copy_one_essid_by_address().
  9408. 2006-04-20 Robert Love <rml@novell.com>
  9409. * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
  9410. not set. Just return zero.
  9411. 2006-04-20 Robert Love <rml@novell.com>
  9412. * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
  9413. only one copy of nm-vpn-properties is running at a time via the 'ol
  9414. X selection trick. This prevents the user from opening two "VPN
  9415. Connections" windows from within the applet, which leads to mass
  9416. hysteria.
  9417. * clipboard.c: New file, implementing simple X selection logic.
  9418. * clipboard.h: New file.
  9419. * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
  9420. 2006-04-18 Nicolas Trangez <eikke@eikke.com>
  9421. * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
  9422. * configure.in
  9423. initscript/Gentoo/Makefile.am
  9424. initscript/Gentoo/NetworkManagerDispatcher.in
  9425. - New script
  9426. * initscript/Gentoo/NetworkManager.in: small dependency fixup from
  9427. Gentopia
  9428. 2006-04-16 Dan Williams <dcbw@redhat.com>
  9429. Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
  9430. * configure.in
  9431. initscript/Slackware/Makefile.am
  9432. initscript/Slackware/rc.networkmanager-dispatcher.in
  9433. initscript/Slackware/rc.networkmanager.in
  9434. - Update slackware initscripts
  9435. 2006-04-10 Robert Love <rml@novell.com>
  9436. * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
  9437. the "delete_event" signal on the druid's parent window and handle it
  9438. our way, lest using the WM to close the druid results in a series of
  9439. bloody and ultimately lethal errors.
  9440. 2006-04-10 Robert Love <rml@novell.com>
  9441. * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
  9442. 'Back' too or else the 'Forward' option is initially disabled despite
  9443. valid input.
  9444. 2006-04-06 Robert Love <rml@novell.com>
  9445. Fix bad but simple bug where an active modem connection did not update
  9446. NM's connection state, breaking any app that did online/offline:
  9447. * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
  9448. represented whether a dial up connection is active, or not.
  9449. * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
  9450. to modem activation and deactivation.
  9451. * src/NetworkManagerDbus.c: When asked our state, do not return
  9452. disconnected if the modem is active.
  9453. 2006-04-04 Robert Love <rml@novell.com>
  9454. * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
  9455. applet. It just confuses the crap out of people and does not make a
  9456. lot of sense, as the daemon still runs.
  9457. 2006-04-02 Tor Krill <tor@krill.nu>
  9458. * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
  9459. in start of service.
  9460. * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
  9461. get Archlinux backend up to date.
  9462. 2006-03-29 Robert Love <rml@novell.com>
  9463. Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
  9464. to add support for per-route MSS and improve support for per-interface
  9465. MTU:
  9466. * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
  9467. optionally take an MSS parameter and set it for the given route.
  9468. Remove nm_system_device_set_ip4_route_with_iface. Pass in the
  9469. NMIP4Config's stored MSS, if any.
  9470. * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
  9471. the interface's MTU and the route's MSS, respectively. Add functions
  9472. nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
  9473. and nm_ip4_config_set_mss for retrieving and setting the MTU and the
  9474. MSS.
  9475. * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
  9476. nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
  9477. nm_ip4_config_set_mss.
  9478. * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
  9479. VPN daemon.
  9480. * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
  9481. Change the retval of nm_system_get_mtu to guint32.
  9482. * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
  9483. NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
  9484. servers can specify MTU's, we should set it here if the MTU was not
  9485. provided.
  9486. 2006-03-27 Jürg Billeter <j@bitron.ch>
  9487. * configure.in:
  9488. * initscript/Makefile.am:
  9489. * initscript/paldo/Makefile.am:
  9490. * initscript/paldo/NetworkManager.in:
  9491. * initscript/paldo/NetworkManagerDispatcher.in:
  9492. * src/backends/Makefile.am:
  9493. * src/backends/NetworkManagerPaldo.c:
  9494. - Add paldo support
  9495. 2006-03-27 Dan Williams <dcbw@redhat.com>
  9496. Patch from Christian Persch <chpe@gnome.org>
  9497. * gnome/applet/applet.glade
  9498. - HIG fixes; mostly for spacing and borders (gnome.org #336220)
  9499. 2006-03-27 Dan Williams <dcbw@redhat.com>
  9500. Patch from Diffe <diffie@blazebox.homeip.net>
  9501. * src/backends/NetworkManagerSlackware.c
  9502. - Don't restart howl, since it's been replaced by Avahi
  9503. in most distributions
  9504. 2006-03-27 Dan Williams <dcbw@redhat.com>
  9505. Patch from Tor Krill <bugzilla@krill.nu>
  9506. * configure.in
  9507. initscript/Makefile.am
  9508. src/backends/Makefile.am
  9509. src/backends/NetworkManagerArch.c
  9510. initscript/Arch/Makefile.am
  9511. initscript/Arch/networkmanager-dispatcher.in
  9512. initscript/Arch/networkmanager.in
  9513. - Add Arch Linux support, fixes gnome.org #335147
  9514. 2006-03-27 Dan Williams <dcbw@redhat.com>
  9515. Patch from Diffe <diffie@blazebox.homeip.net>
  9516. * initscript/Slackware/rc.networkmanager
  9517. - update, fixed gnome.org #333368
  9518. 2006-03-27 Robert Love <rml@novell.com>
  9519. * gnome/applet/other-network-dialog.c: Do not allow the user to try to
  9520. create WPA-EAP Ad-Hoc networks because such an action makes no sense.
  9521. 2006-03-27 Robert Love <rml@novell.com>
  9522. Patch by Jürg Billeter <j@bitron.ch>:
  9523. * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
  9524. systems.
  9525. * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
  9526. as we prefer glibc over kernel headers, if possible.
  9527. 2006-03-27 Robert Love <rml@novell.com>
  9528. Patch by Jon Escombe <list@dresco.co.uk>:
  9529. * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
  9530. * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
  9531. fail, don't bail out. We don't expect all of the various WPA-EAP
  9532. values to be present.
  9533. * src/nm-ap-security.c: We need to match all capabilities for each
  9534. encryption type, not any one of them.
  9535. 2006-03-27 Robert Love <rml@novell.com>
  9536. * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
  9537. restart, not reload, ypbind. Unfortunately there is no superior
  9538. solution.
  9539. 2006-03-24 Christopher Aillon <caillon@redhat.com>
  9540. * gnome/applet/applet-notifications.c:
  9541. When displaying a notification, make sure to get rid of the
  9542. previous notification so as to not have competing bubbles,
  9543. and stop leaking the old one.
  9544. * gnome/applet/applet.c:
  9545. * gnome/applet/applet.h:
  9546. Add a new 'notification' member to the applet, and zero it out
  9547. and free it appropriately.
  9548. 2006-03-23 Robert Love <rml@novell.com>
  9549. Patch by j <j@bootlab.org>:
  9550. * gnome/applet/applet.glade: Don't set the invisible_char property,
  9551. which simply overrides the GTK default. By and by, this behavior
  9552. ought to be fixed in Glade.
  9553. 2006-03-22 Robert Love <rml@novell.com>
  9554. * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
  9555. 2006-03-22 Robert Love <rml@novell.com>
  9556. Bug fix by Timo Hoenig <thoenig@suse.de>:
  9557. * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
  9558. disconnect. Otherwise, we have the daemon surviving DBUS restarts
  9559. and the applet going AWOL.
  9560. 2006-03-22 Robert Love <rml@novell.com>
  9561. * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
  9562. preprocessor define and use it instead of open-coded the DHCP
  9563. timeout, which is currently 25 seconds, everywhere.
  9564. 2006-03-22 Robert Love <rml@novell.com>
  9565. Implement "Dynamic WEP", which is basically WPA authentication and WEP
  9566. key exchange via WPA, ostensibly providing good security without
  9567. requiring hardware that supports full WPA. Also, add UI elements to
  9568. allow the user to select the pairwise & group cipher for WPA Enterprise
  9569. networks, too:
  9570. * gnome/applet/applet.glade: Update glade file.
  9571. * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
  9572. key type, too, to and from gconf.
  9573. * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
  9574. wso_wpa_create_key_type_model(), noting whether we are handling PSK
  9575. or EAP configuration, and in the latter case add in "Dynamic WEP" if
  9576. the capabilities match.
  9577. * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
  9578. prototype.
  9579. * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
  9580. serialize from UI to DBUS.
  9581. * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
  9582. one element.
  9583. * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
  9584. nmu_security_serialize_wpa_eap_with_cipher(), and
  9585. nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
  9586. serialize/deserialize the key type via DBUS as the new third DBUS
  9587. parameter.
  9588. * libnm-util/dbus-helpers.h: Update prototypes.
  9589. * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
  9590. too. If the key type is WEP104, do Dynamic WEP, which means
  9591. "IEEE8021X" for "key_mgmt". Also add support for user-specified
  9592. pairwise and group ciphers (fixes a FIXME).
  9593. 2006-03-21 Robert Love <rml@novell.com>
  9594. * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
  9595. nm_system_get_mtu(), which returns a user-provided or system-mandated
  9596. MTU value for a given device, if any, or zero if no such value
  9597. exists. Add nm_system_set_mtu() to set the MTU for a given device
  9598. if we have a provided value.
  9599. * src/nm-device.c: Set the MTU of devices.
  9600. * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
  9601. * src/backends/NetworkManagerDebian.c,
  9602. src/backends/NetworkManagerGentoo.c,
  9603. src/backends/NetworkManagerRedHat.c,
  9604. src/backends/NetworkManagerSlackware.c: Implement stub functions.
  9605. 2006-03-21 Robert Love <rml@novell.com>
  9606. * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
  9607. configuration file.
  9608. 2006-03-17 Robert Love <rml@novell.com>
  9609. * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
  9610. signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
  9611. it, in case it is not running in the first place. We just want its
  9612. configuration reloaded. Also, do not "rcypbind stop" on device down.
  9613. 2006-03-15 Robert Love <rml@novell.com>
  9614. * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
  9615. gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
  9616. label "WEP 40/128-bit" is inconsistent because the physical key size
  9617. is 40 or 104-bits, to which a 24-bit initialisation vector is
  9618. appended, forming a 64 or 128-bit traffic key. Thus, the label ought
  9619. to read "40/104" or "64/128". I do not care much which, but most
  9620. users think of "silver" and "gold" encryption as 64 and 128-bits, so
  9621. let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
  9622. WEP passphrase support only handles 128-bit keys, and any future
  9623. 64-bit passphrase support will require a new option (no way to auto-
  9624. detect the target key size), explicitly label our passphrase support
  9625. "WEP 128-bit Passphrase".
  9626. 2006-03-15 Robert Love <rml@novell.com>
  9627. * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
  9628. the system init scripts (or some other mechanism) starting it (or a
  9629. compatible DBUS service) before NetworkManager runs. This means that
  9630. distributions might need to update their init scripts. This fixes
  9631. possible races and is quite a bit cleaner.
  9632. * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
  9633. starting the NetworkManager daemon.
  9634. 2006-03-14 Robert Love <rml@novell.com>
  9635. * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
  9636. before adding anything.
  9637. 2006-03-13 Robert Love <rml@novell.com>
  9638. * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
  9639. widgets, too, if they exist, in case the user hit the back button.
  9640. Fixes a bug where the details page contains the widgets of multiple
  9641. VPN modules (Novell bug #157048).
  9642. 2006-03-13 Robert Love <rml@novell.com>
  9643. Patch by Timo Hoenig <thoenig@suse.de>:
  9644. * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
  9645. daemon survive DBUS restarts, too.
  9646. 2006-03-10 Robert Love <rml@novell.com>
  9647. * gnome/applet/applet.glade: Add toggles to show/obfuscate the
  9648. passphrase or key.
  9649. * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
  9650. gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
  9651. gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
  9652. in response to "toggled" signal on new toggle.
  9653. 2006-03-10 Robert Love <rml@novell.com>
  9654. * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
  9655. serialization if strings are NULL, lest DBUS get angry.
  9656. 2006-03-10 Robert Love <rml@novell.com>
  9657. * src/nm-ap-security-wpa-eap.c: Don't log the password.
  9658. 2006-03-09 Robert Love <rml@novell.com>
  9659. * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
  9660. configurations.
  9661. 2006-03-09 Dan Williams <dcbw@redhat.com>
  9662. Track pending call requests in the applet, and report how many are
  9663. outstanding, and how long each completed one takes.
  9664. * gnome/applet/applet-dbus-devices.c
  9665. gnome/applet/applet-dbus-vpn.c
  9666. - Track pending calls
  9667. * gnome/applet/applet-dbus.[ch]
  9668. - Remove some unused enums
  9669. - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
  9670. new functions to track dbus pending calls and spit out some
  9671. statistics about them
  9672. 2006-03-09 Robert Love <rml@novell.com>
  9673. * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
  9674. nm_ap_set_timestamp() take the second and micro-second parameters as
  9675. direct arguments, which avoids both a dynamic memory allocation and a
  9676. structure-to-structure copy! Add a new interface, the aptly named
  9677. nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
  9678. existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
  9679. the return from nm_ap_get_timestamp(). New users should use the new
  9680. nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
  9681. the extreme benefit to performance.
  9682. * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
  9683. src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
  9684. 2006-03-08 Robert Love <rml@novell.com>
  9685. * gnome/applet/applet.glade: Hide the password entry text with
  9686. asterisks.
  9687. 2006-03-08 Robert Love <rml@novell.com>
  9688. * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
  9689. NetworkManagerRedHat.c, NetworkManagerGentoo.c,
  9690. NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
  9691. a second argument, NMData.
  9692. * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
  9693. * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
  9694. config files as trusted.
  9695. 2006-03-06 Robert Love <rml@novell.com>
  9696. * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
  9697. * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
  9698. to exit the applet. As a sweet side-effect, idea courtesy of Chris
  9699. Rivera, detect if the applet was auto-started. If so, ask the user
  9700. if he or she would like to stop automatically running the applet on
  9701. login. If so, disable autostart.
  9702. 2006-03-06 Robert Love <rml@novell.com>
  9703. * NetworkManager.pc.in: Provide an -I to the NetworkManager include
  9704. directory in CFLAGS so developers can actually use NetworkManager.h.
  9705. 2006-03-06 Robert Love <rml@novell.com>
  9706. * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
  9707. open-coded integer constants. Add state_to_string() to map a given
  9708. state to a textual description, and provide that when notifying of
  9709. state change.
  9710. * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
  9711. states, copied and cleaned up from dhcdbd.d. Ideally, we would use
  9712. this header directly, but it is currently not installed on most
  9713. systems.
  9714. 2006-03-05 Dan Williams <dcbw@redhat.com>
  9715. Process netlink messages in device subclasses rather than in
  9716. NetworkManager.c. Also add support for recognizing Wireless Events.
  9717. * configure.in
  9718. - Find GLIB_GENMARSHAL
  9719. * src/Makefile.am
  9720. - Since we're marshalling custom types for wireless event signals,
  9721. we get to create our own marshallers using GLIB_GENMARSHAL
  9722. * src/NetworkManager.c
  9723. - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
  9724. - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
  9725. cut down somewhat. We no longer process signals here.
  9726. - (nm_data_new): create the netlink monitor here, and remove a
  9727. useless call to nm_policy_schedule_device_change_check()
  9728. - (nm_data_free): get rid of the netlink monitor here
  9729. - (nm_device_link_activated, nm_device_link_deactivated): removed
  9730. - (main): don't create the netlink monitor here, let nm_data_new
  9731. do that. Call nm_policy_schedule_device_change_check() right
  9732. before we jump to the mainloop to figure out which device
  9733. to use first
  9734. * src/NetworkManagerSystem.[ch]
  9735. - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
  9736. convert back and forth from interface names to interface
  9737. indexes
  9738. * src/nm-device-802-11-wireless.c
  9739. - (real_init): connect to wireless-event signals from the netlink
  9740. monitor object
  9741. - (nm_device_802_11_wireless_event): new function, schedule handler
  9742. for wireless event signals from the netlink monitor object. We
  9743. want the handler to run in the device's context
  9744. - (wireless_event_helper): handle wireless-event signals from netlink
  9745. - (nm_device_802_11_wireless_dispose): disconnect wireless-event
  9746. signal handler
  9747. * src/nm-device-802-11-wireless.h
  9748. - remove unused prototype for nm_device_802_11_wireless_new
  9749. * src/nm-device-802-3-ethernet.c
  9750. - (real_init): new function; set up signal handlers for link events
  9751. - (nm_device_802_3_ethernet_link_activated): new function, schedule
  9752. handler for netlink link activated events on device's main loop
  9753. - (link_activated_helper): when we get a link activated event, set
  9754. the device's link to be active
  9755. - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
  9756. handler for netlink link deactivated events on device's main loop
  9757. - (link_deactivated_helper): when we get a link deactivated event, set
  9758. the device's link to be inactive
  9759. - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
  9760. dispose
  9761. * src/nm-device-802-3-ethernet.h
  9762. - remove unused prototype for nm_device_802_3_ethernet_new
  9763. * src/nm-device.[ch]
  9764. - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
  9765. but locks the device list
  9766. - (nm_device_set_active_link): a little bit of cleanup and de-indenting
  9767. * src/nm-netlink-monitor.[ch]
  9768. - (nm_netlink_monitor_class_install_signals): New signal
  9769. "wireless-event"
  9770. - (nm_netlink_monitor_new): keep reference to NMData so we can get
  9771. at the device list
  9772. - (nm_netlink_monitor_event_handler): expand for wireless events too
  9773. * src/nm-marshal-main.c
  9774. - Include generated nm-marshal.c and nm-marshal.h
  9775. * src/nm-marshal.list
  9776. - List of custom marshal functions
  9777. 2006-03-05 Dan Williams <dcbw@redhat.com>
  9778. * gnome/applet/applet-notifications.h
  9779. - Protect prototype of nma_send_event_notification() because it
  9780. includes libnotify-specific types
  9781. - Include libnotify/libnotify.h too, since we technically need it
  9782. * gnome/applet/applet.c
  9783. - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
  9784. - (nma_show_vpn_login_banner_dialog): add some error checking
  9785. 2006-03-04 Dan Williams <dcbw@redhat.com>
  9786. Clean up activation cancellation. Should be a lot faster now. Observed
  9787. an issue with wireless devices between stage 2 and 3 of activation, where
  9788. activation would be cancelled, but the device thread wouldn't notice until
  9789. the supplicant association timed out. Reorganize activation such that
  9790. a cancellation handler gets immediately scheduled in the device's thread,
  9791. and devices have a chance to perform any custom cleanup too.
  9792. * src/nm-device.[ch]
  9793. - (activation_cancel_handler): new device-type-specific function
  9794. for cleaning up device-type-specific stuff on cancellation
  9795. - (cancel_activation): removed
  9796. - (nm_device_activation_cancel): subsume functionality of
  9797. real_cancel_activation, but instead of doing anything, punt
  9798. operation to a handler that's run in device-thread context
  9799. - (nm_device_schedule_activation_handle_cancel): fix spelling of
  9800. a warning message
  9801. - (activation_handle_cancel_helper): cancellation handler run in
  9802. device-thread context, calls device-type-specific cancelation,
  9803. then tears down the activation request
  9804. - (real_activation_cancel_handler): generic cancellation handler,
  9805. deals with cancelling any in-process DHCP request
  9806. - (nm_device_activate_stage1_device_prepare,
  9807. nm_device_activate_stage2_device_config,
  9808. nm_device_activate_stage3_ip_config_start,
  9809. nm_device_activate_stage4_ip_config_get,
  9810. nm_device_activate_stage4_ip_config_timeout,
  9811. nm_device_activate_stage5_ip_commit): don't call
  9812. nm_device_schedule_activation_handle_cancel() any more, since
  9813. cancellation will have been already scheduled for us by
  9814. nm_device_activation_cancel(). Just exit the function and
  9815. assume that the cancel handler will be called next.
  9816. * src/nm-device-802-3-ethernet.c
  9817. - (real_act_stage2_config): remove; didn't do anything anyway
  9818. * src/nm-device-802-11-wireless.c
  9819. - (supplicant_status_cb): ensure we don't do anything if the activation
  9820. got cancelled
  9821. - (real_activation_cancel_handler): implement; cancel user key request
  9822. on activation cancellation
  9823. 2006-03-04 Dan Williams <dcbw@redhat.com>
  9824. * src/nm-device-802-11-wireless.c
  9825. - (supplicant_send_network_config): assume that drivers that don't
  9826. support WPA pretty much suck, and can't handle NM scanning
  9827. along with wpa_supplicant.
  9828. 2006-03-03 Robert Love <rml@novell.com>
  9829. * configure.in: Bump version to 0.6.0.
  9830. * NEWS: Update.
  9831. 2006-03-03 Robert Love <rml@novell.com>
  9832. * configure.in: Require DBUS 0.60 or later.
  9833. 2006-03-03 Dan Williams <dcbw@redhat.com>
  9834. Fix a crash if an "Other wireless network" was chosen, failed, then
  9835. chosen again from the applet's menu. If the other network wasn't
  9836. noticed in a scan, it wouldn't have any capabilities, but would still
  9837. be listed because the user forced the network. To fix this, we set
  9838. sensible capabilities on the forced network, which will get overwritten
  9839. with the correct ones if the network shows up later in a scan.
  9840. * src/nm-ap-security.h
  9841. - Add a new "get_default_capabilities_func" member to the
  9842. NMAPSecurity class
  9843. * src/nm-ap-security.c
  9844. - (nm_ap_security_get_default_capabilities): new function
  9845. * src/nm-ap-security.c
  9846. src/nm-ap-security-wep.c
  9847. src/nm-ap-security-wpa-psk.c
  9848. src/nm-ap-security-wpa-eap.c
  9849. - Implement get_default_capabilities_func() for all, which
  9850. uses the information contained in a specific NMAPSecurity
  9851. object to determine default AP capabilites necessary
  9852. to support that object
  9853. As a secondary measure, we now prune artificial access points that fail
  9854. to be activated right away. The thing failed, and we have no scan data for
  9855. it, so it's pretty much useless since security information is only saved
  9856. in the applets when a connection is successful.
  9857. * src/NetworkManagerAPList.c
  9858. - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
  9859. not artificial. If we see it, it's no longer a figment of the
  9860. user's imagination :)
  9861. * src/NetworkManagerPolicy.c
  9862. - (nm_policy_activation_failed): send along the failed AP if we
  9863. have it
  9864. * src/nm-device-802-11-wireless.c
  9865. - (real_activation_failure_handler): remove artificial APs from
  9866. the device list, because activation failed
  9867. 2006-03-02 Robert Love <rml@novell.com>
  9868. Add support for retrieving both the per-device speed and the
  9869. per-network maximum supported rate. Then change the getProperties
  9870. DBUS API for both networks and devices to report this informaiton.
  9871. Finally, display the information via both nm-applet and nm-tool:
  9872. * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
  9873. and set it.
  9874. * gnome/applet/applet.c: Display the device's speed in the 'Connection
  9875. Information' dialog.
  9876. * gnome/applet/applet.glade: Update the UI to show per-device speed.
  9877. * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
  9878. network_device_get_speed() and network_device_set_speed() for
  9879. retrieving and setting, respectively, a network device's current
  9880. speed.
  9881. * src/nm-dbus-device.c: Send the device's speed on getProperties.
  9882. * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
  9883. in the function nm_device_802_11_wireless_get_bitrate() -- it does
  9884. not matter (yet) what the units are, because we only feed it its own
  9885. output. Implement SIOCGIRATE and set the per-network maximum
  9886. supported rate during scanning.
  9887. * src/nm-device-802-11-wireless.h: Export the function
  9888. nm_device_802_11_wireless_get_bitrate().
  9889. * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
  9890. function nm_device_802_3_ethernet_get_speed() for returning an
  9891. 802.3's current speed, in Mb/s.
  9892. * test/nm-tool.c: Display the per-device current speed, if available,
  9893. and the per-network maximum rate.
  9894. 2006-03-02 Dan Williams <dcbw@redhat.com>
  9895. * src/nm-device-802-11-wireless.c
  9896. - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
  9897. card when it gets initialized. Since devices don't get added to
  9898. the scan list until they are initialized, this function wasn't
  9899. setting the intitial scan interval correctly, and was leaving
  9900. it at 0. This caused cards to get many scan requests in a short
  9901. amount of time when they were initialized
  9902. 2006-03-02 Robert Love <rml@novell.com>
  9903. * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
  9904. active device. But do not do what we used to do and override the
  9905. state, which caused the dreaded icon race of '05.
  9906. 2006-03-02 Robert Love <rml@novell.com>
  9907. Commit Dan's update of my previous commit:
  9908. * src/nm-device-802-11-wireless.c: Always set the mode, because the
  9909. set_mode() function itself does the check. But do only set the
  9910. frequency if in Ad-Hoc mode.
  9911. 2006-03-02 Robert Love <rml@novell.com>
  9912. Patch by Brian Magnuson <magnuson@rcn.com>:
  9913. * src/nm-device-802-11-wireless.c: During scanning, only set the
  9914. wireless mode to infrastructure if it is not currently in
  9915. infrastructure mode. For some driver, setting the mode is a costly
  9916. operation, apparently.
  9917. 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
  9918. * Makefile.am: use the correct dir for autostart mechanism.
  9919. 2006-02-28 Dan Williams <dcbw@redhat.com>
  9920. Patch from Brian Magnuson <magnuson@rcn.com>
  9921. * gnome/applet/applet.c
  9922. - (nma_show_vpn_failure_dialog): fix errors left over from
  9923. libnotify support changes
  9924. 2006-02-28 Dan Williams <dcbw@redhat.com>
  9925. * src/vpn-manager/nm-vpn-act-request.[ch]
  9926. - (nm_vpn_act_request_is_activated): don't use a switch/case for
  9927. just one value
  9928. - (nm_vpn_act_request_is_failed): new function; return whether or
  9929. not the vpn activation request has failed
  9930. * src/vpn-manager/nm-vpn-manager.c
  9931. - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
  9932. daemon to kill the connection when the activation request fails.
  9933. Fixes issue where NM would get confused if the VPN activation
  9934. request timed out, and would not allow further VPN connections
  9935. on that service.
  9936. 2006-02-28 Dan Williams <dcbw@redhat.com>
  9937. * gnome/applet/applet.c
  9938. - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
  9939. overlapping connection requests, disable all VPN menu items
  9940. but the active VPN connection
  9941. 2006-02-28 Dan Williams <dcbw@redhat.com>
  9942. * src/vpn-manager/nm-vpn-connection.c
  9943. - (nm_vpn_connection_set_parent_device): fix C&P error which
  9944. called g_object_unref() on the connection's parent device
  9945. when it should have been ref-ed instead. Fixes crash with
  9946. repeated vpn connect requests
  9947. 2006-02-28 Christopher Aillon <caillon@redhat.com>
  9948. * gnome/applet/applet.glade:
  9949. Mark a few strings non-translatable, since they shouldn't be.
  9950. 2006-02-28 Dan Williams <dcbw@redhat.com>
  9951. * src/vpn-manager/nm-vpn-service.c
  9952. - (nm_vpn_service_start_connection): if the vpn service daemon is
  9953. already running, don't blindly ask it to connect, but wait until
  9954. it's in the STOPPED state first. Fixes an assertion when user
  9955. starts a second vpn connection without stopping the first.
  9956. - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
  9957. dbus service exists before continuing with the connection
  9958. process, and reduce latency while waiting for it to become
  9959. available
  9960. - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
  9961. waiting for the vpn service daemon to become available
  9962. - General log message cleanups; show progress via "Stage x of 4"
  9963. rather than not telling anyone how many stages there are
  9964. 2006-02-28 Robert Love <rml@novell.com>
  9965. * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
  9966. * src/backends/NetworkManagerSuSE.c: Implement the interface
  9967. nm_system_should_modify_resolv_conf() for SUSE.
  9968. * src/backends/NetworkManagerDebian.c,
  9969. src/backends/NetworkManagerGentoo.c,
  9970. src/backends/NetworkManagerRedHat.c,
  9971. src/backends/NetworkManagerSlackware.c: Add stub.
  9972. * src/named-manager/Makefile.am: Grab includes from src.
  9973. * src/named-manager/nm-named-manager.c: Allow backends to disable the
  9974. automatic updating of resolv.conf. This is useful for testing,
  9975. broken static configurations, and administrator lock-down.
  9976. 2006-02-28 Dan Williams <dcbw@redhat.com>
  9977. * src/nm-device-802-11-wireless.c
  9978. - Move all the wpa_supplicant-related management stuff into its
  9979. own struct, just for oranization's sake
  9980. - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
  9981. to a GIOChannel/GSource
  9982. - (supplicant_log_stdout): new function; grab output from the
  9983. wpa_supplicant stdout pipe and write it to our logs.
  9984. 2006-02-27 Christopher Aillon <caillon@redhat.com>
  9985. * src/nm-device-802-11-wireless.c:
  9986. Err, fix thinko in my previous commit.
  9987. 2006-02-28 Robert Love <rml@novell.com>
  9988. * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
  9989. 2006-02-28 Robert Love <rml@novell.com>
  9990. * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
  9991. src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
  9992. gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
  9993. deserializers are responsible for freeing the returned DBUS strings.
  9994. 2006-02-27 Christopher Aillon <caillon@redhat.com>
  9995. * src/nm-device-802-11-wireless.c:
  9996. The scan list is being pruned prematurely. We should prune after
  9997. the device has gone MIA for three scans, not one. Split out the
  9998. interval to realtime seconds function to better serve this.
  9999. 2006-02-27 Robert Love <rml@novell.com>
  10000. * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
  10001. Open the pid file O_TRUNC, so if it already exists we truncate it to
  10002. zero length. Also, be more verbose about warnings generated during
  10003. writing out the pid file. Finally, always write out the pid file if
  10004. in daemon mode. Use "--pid-file" to override the default.
  10005. 2006-02-27 Robert Love <rml@novell.com>
  10006. Patch by R. Vinay <rvinay@novell.com>:
  10007. * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
  10008. 'last_attempt_success' when removing a VPN connection, too. (Fixes
  10009. Novell bug #153628).
  10010. 2006-02-27 Robert Love <rml@novell.com>
  10011. * gnome/applet/applet.glade: Set "activates_default" on passphrase
  10012. entry so user can hit <ENTER> after entering passphrase (Novell bug
  10013. #153738).
  10014. 2006-02-27 Dan Williams <dcbw@redhat.com>
  10015. * gnome/applet/*
  10016. - Mass search/replace of:
  10017. nmwa -> nma
  10018. NMWirelessApplet -> NMApplet
  10019. NM_*_WIRELESS_APPLET -> NM_*_APPLET
  10020. (it ain't just for wireless anymore, ma!)
  10021. - Fix duplicate function name printing when using nm_warning
  10022. - wireless-applet.glade -> applet.glade
  10023. 2006-02-27 Dan Williams <dcbw@redhat.com>
  10024. * dispatcher-daemon/NetworkManagerDispatcher.c
  10025. - Accept --pid-file with a path to a pidfile, write it out on
  10026. startup, and delete it on shutdown
  10027. * src/NetworkManager.c
  10028. - Accept --pid-file with a path to a pidfile, write it out on
  10029. startup, and delete it on shutdown
  10030. - Move nm_print_usage() lower
  10031. * initscripts/RedHat/NetworkManager.in
  10032. - Use new --pid-file option
  10033. - Fix service stopping to wait a bit for NM to quit
  10034. * initscripts/RedHat/NetworkManagerDispatcher.in
  10035. - Use new --pid-file option
  10036. 2006-02-26 Dan Williams <dcbw@redhat.com>
  10037. * src/Makefile.am
  10038. - make and install nm-crash-logger
  10039. * src/nm-logging.[ch]
  10040. - New files; consolidate logging and crash handling
  10041. * src/nm-crash-logger.c
  10042. src/gdb-cmd
  10043. - Standalong crashlogger for NM, grab a backtrace
  10044. using GDB
  10045. * src/NetworkManager.[ch]
  10046. - Remove signal handling and put it into nm-logging.c
  10047. 2006-02-26 Dan Williams <dcbw@redhat.com>
  10048. * configure.in
  10049. gnome/applet/Makefile.am
  10050. - Conditionalize all the notify stuff
  10051. Merge most of Chris Aillon's notification patch:
  10052. * gnome/applet/applet-notifications.[ch]
  10053. - New files; show a notification
  10054. * gnome/applet/applet-dbus-devices.[ch]
  10055. - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
  10056. nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
  10057. new functions, do the right thing when a device change occurs
  10058. * gnome/applet/applet-dbus.c
  10059. - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
  10060. signals, so we can handle them specially
  10061. * gnome/applet/applet.[ch]
  10062. - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
  10063. - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
  10064. - (nmwa_notify_state): remove
  10065. - (nmwa_update_state); remove call to nmwa_notify_state, since the
  10066. notification work is now done when the appropriate dbus signals
  10067. are received.
  10068. - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
  10069. defer execution of the notification/dialog stuff. That was an
  10070. artifact of the previous multi-threaded nature of the applet
  10071. and is now pointless.
  10072. - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
  10073. no longer needed. Function folded into applet-notifications.c
  10074. * src/NetworkManagerPolicy.c
  10075. - (nm_policy_activation_finish): send the AP along with the device
  10076. status change signal, if the connection is wireless. Should
  10077. fix the race where applet would show a connection to "unknown"
  10078. 2006-02-25 Robert Love <rml@novell.com>
  10079. Add WPA Enterprise support:
  10080. * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
  10081. nm-gconf-wso-wpa-eap.h.
  10082. * gnome/applet/nm-gconf-wso-wpa-eap.c,
  10083. gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
  10084. serialization and deserialization.
  10085. * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
  10086. gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
  10087. gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
  10088. * gnome/applet/wireless-applet.glade: Add UI for configurating security
  10089. settings related to WPA Enterprise.
  10090. * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
  10091. instantiate WPA Enterprise wireless-security-option.
  10092. * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
  10093. Implement WPA Enterprise wireless-security-option object.
  10094. * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
  10095. defines. Cleanup.
  10096. * libnm-util/cipher-wpa-psk-hex.c,
  10097. libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
  10098. * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
  10099. nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
  10100. nmu_security_serialize_wpa_eap_with_cipher() to serialize input
  10101. including the cipher to DBUS method, and
  10102. nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
  10103. to output.
  10104. * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
  10105. nm-ap-security-wpa-eap.h
  10106. * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
  10107. NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
  10108. * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
  10109. files. Implement NMAPSecurityWPA_EAP object.
  10110. * src/nm-ap-security-wpa-psk.c: Cleanup.
  10111. * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
  10112. an NMAPSecurityWPA_EAP object via the method
  10113. nm_ap_security_wpa_eap_new_deserialize().
  10114. * src/nm-dbus-nm.c: Cleanup.
  10115. * test/nm-tool.c: Display "Enterprise" for wireless networks providing
  10116. WPA Enterprise support.
  10117. 2006-02-24 Robert Love <rml@novell.com>
  10118. Patch from Timo Hoenig <thoenig@suse.de>:
  10119. * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
  10120. 2006-02-24 Robert Love <rml@novell.com>
  10121. Patch from Dan Winship <danw@novell.com>:
  10122. * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
  10123. area to transparent.
  10124. 2006-02-21 Dan Williams <dcbw@redhat.com>
  10125. * gnome/applet/applet.[ch]
  10126. gnome/applet/applet-dbus.c
  10127. - Implement notification support for VPN messages too
  10128. 2006-02-21 Dan Williams <dcbw@redhat.com>
  10129. * gnome/applet/applet-dbus-info.c
  10130. - Clean up warning messages to not double-print the function
  10131. 2006-02-21 Dan Williams <dcbw@redhat.com>
  10132. * gnome/applet/applet-compat.c
  10133. - (convert_one_entry): accept entries without a key_type and
  10134. convert them to unencrypted networks
  10135. 2006-02-21 Dan Williams <dcbw@redhat.com>
  10136. * gnome/libnm_glib/libnm_glib.c
  10137. - Use __func__ everywhere we can
  10138. - Code cleanups
  10139. - Use dbus pending calls rather than blocking
  10140. - Reduce busywaits for our thread to start and stop
  10141. (gnome.org #330562)
  10142. - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
  10143. stomp on others using the default shared dbus connection.
  10144. Fixes #rh177546# and gnome.org #326572
  10145. 2006-02-21 Dan Williams <dcbw@redhat.com>
  10146. Patch from Rodney Dawes <dobey@novell.com>
  10147. * configure.in
  10148. gnome/applet/Makefile.am
  10149. gnome/applet/applet.c
  10150. - Add libnotify support if '--enable-notify=yes' is passed
  10151. at configure time
  10152. 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
  10153. * configure.in (ALL_LINGUAS): ko added. (Korean)
  10154. 2006-02-15 Robert Love <rml@novell.com>
  10155. * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
  10156. define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
  10157. and WPA_SUPPLICANT_CONTROL_SOCKET.
  10158. 2006-02-15 Robert Love <rml@novell.com>
  10159. * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
  10160. information about what connection stage we are at, provide the total
  10161. number of stages, e.g. "Stage 2 of 5", so users know how far along
  10162. they are if they experience problems.
  10163. 2006-02-15 Robert Love <rml@novell.com>
  10164. * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
  10165. define to $sysconfdir.
  10166. * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
  10167. editing dialog, vpn_edit_widget, which fixes a bug where editing one
  10168. type of VPN and then editing another results in a mangled dialog
  10169. box containing the widgets from both VPNs (fixes Novell #150854).
  10170. Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
  10171. 2006-02-14 Robert Love <rml@novell.com>
  10172. * src/NetworkManager.c: Call closelog() on daemon shutdown to close
  10173. syslog's file descriptor.
  10174. 2006-02-14 Robert Love <rml@novell.com>
  10175. Fix bug around since the change to "deal with APs changing settings on
  10176. us," checked in on the fifth of February in the year of the dog,
  10177. wherein connecting to non-broadcast encrypted networks always fails
  10178. because nm_ap_get_encrypted() always returns FALSE, even when the user
  10179. provided a key, because the newly-created fake AP does not have any
  10180. capabilities set, which is a sypmtom of security settings not matching
  10181. capabilities (Novell bug #150784):
  10182. * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
  10183. nm_ap_add_capabilities_from_security(), which sets the given AP's
  10184. capabilities off the given security settings. Also improve our
  10185. handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
  10186. NM_AUTH_CIPHER_AUTO.
  10187. * src/nm-device-802-11-wireless.c: Call the function
  10188. nm_ap_add_capabilities_from_security() to ensure that capabilities
  10189. match newly updated security settings.
  10190. 2006-02-14 Robert Love <rml@novell.com>
  10191. * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
  10192. error as a string, not an integer, if possible; do not print the
  10193. function name twice; always give the interface, if possible; misc.
  10194. cleanup.
  10195. 2006-02-12 Dan Williams <dcbw@redhat.com>
  10196. Patch from Tom Parker <palfrey@tevp.net>
  10197. * src/NetworkManagerSystem.h
  10198. - Remove prototype for nm_system_device_setup_static_ip4_config(),
  10199. no longer used
  10200. * src/backends/NetworkManagerDebian.c
  10201. - Remove some dead code (nm_system_device_setup_static_ip4_config) and
  10202. unused variables
  10203. 2006-02-12 Dan Williams <dcbw@redhat.com>
  10204. * vpn-daemons/openvpn/intltool-extract.in
  10205. vpn-daemons/openvpn/intltool-merge.in
  10206. vpn-daemons/openvpn/intltool-update.in
  10207. vpn-daemons/pptp/intltool-extract.in
  10208. vpn-daemons/pptp/intltool-merge.in
  10209. vpn-daemons/pptp/intltool-update.in
  10210. - Remove from CVS, they should get created by intltoolize,
  10211. shouldn't they?
  10212. 2006-02-12 Dan Williams <dcbw@redhat.com>
  10213. * vpn-daemons/pptp/src/pppd/patchlevel.h
  10214. * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
  10215. - Rename VERSION -> PPPD_VERSION to avoid conflict with the
  10216. Makefile-defined VERSION
  10217. 2006-02-09 Dan Williams <dcbw@redhat.com>
  10218. Patch from: Vinay A R <rvinay@novell.com>
  10219. * src/vpn-manager/nm-vpn-act-request.[ch]
  10220. - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
  10221. IPSec VPNs require them for std gateway.
  10222. - (nm_vpn_act_request_new): takes arguments for 'user_routes'
  10223. and 'user_routes_count'
  10224. - (nm_vpn_act_request_get_user_routes): new function; gets user
  10225. defined routes from NMVPNActRequest object, returns the string
  10226. array of routes.
  10227. * src/vpn-manager/nm-vpn-manager.[ch]
  10228. - (nm_vpn_manager_activate_vpn_connection): take additional arguments
  10229. for 'user_routes' and 'user_routes_count'
  10230. * src/vpn-manager/nm-dbus-vpn.c
  10231. - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
  10232. nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
  10233. * src/vpn-manager/nm-vpn-service.c
  10234. - (nm_vpn_service_stage3_connect): pass user routes over dbus to
  10235. the vpn daemon
  10236. Modifications by Dan:
  10237. * src/vpn-manager/nm-vpn-service.c
  10238. - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
  10239. arrays into dbus
  10240. * vpn-daemons/vpnc/src/nm-vpnc-service.c
  10241. * vpn-daemons/pptp/src/nm-pptp-service.c
  10242. * vpn-daemons/openvpn/src/nm-openvpn-service.c
  10243. - Grab user routes from dbus message
  10244. - Free all string arrays we got from dbus
  10245. 2006-02-07 Robert Love <rml@novell.com>
  10246. Patch by Stefan Seyfried <seife@suse.de>:
  10247. * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
  10248. 2006-02-06 Robert Love <rml@novell.com>
  10249. * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
  10250. 2006-02-06 Robert Love <rml@novell.com>
  10251. * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
  10252. test ">=" is never false. If no newline is found, we loop forever.
  10253. We can just check for ">" because the following if() will see the
  10254. zero-th argument if the while() gets that far.
  10255. 2006-02-05 Dan Williams <dcbw@redhat.com>
  10256. Refine handling of non-broadcast networks.
  10257. * src/NetworkManagerAPList.c
  10258. - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
  10259. property from scanned AP to the AP from the device list
  10260. * src/nm-device-802-11-wireless.c
  10261. - (supplicant_send_network_config): use ap_scan=1 for all networks
  10262. except non-SSID-broadcasting and Ad-Hoc networks. Use
  10263. ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
  10264. networks since those don't have APs.
  10265. - (add_new_ap_to_device_list): if there's no valid SSID, mark the
  10266. AP as non-SSID-broadcasting
  10267. - (process_scan_results): don't handle non-SSID-broadcasting here
  10268. 2006-02-05 Dan Williams <dcbw@redhat.com>
  10269. * src/nm-device-802-11-wireless.c
  10270. - (get_supplicant_timeout): new function; return
  10271. NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
  10272. 14 channels. These are likely a/b/g cards, like Atheros, and
  10273. slow as hell to scan.
  10274. - (supplicant_timeout_cb, supplicant_monitor_start): use
  10275. get_supplicant_timeout()
  10276. 2006-02-05 Dan Williams <dcbw@redhat.com>
  10277. * src/dhcp-manager/nm-dhcp-manager.c
  10278. - Loose a commit race with Robert; make sure size check
  10279. uses size of DHCP_SERVICE_LEN, not hardcoded 15
  10280. 2006-02-05 Robert Love <rml@novell.com>
  10281. Patch by Christoph Brill <chrisbrill@gmx.net>:
  10282. * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
  10283. with DHCP_SERVICE_NAME.
  10284. 2006-02-05 Dan Williams <dcbw@redhat.com>
  10285. Remove anything having to do with device_setup_func from the
  10286. AP security objects, since it's no longer used.
  10287. * src/nm-ap-security.h
  10288. - Kill device_setup_func and nm_ap_security_device_setup()
  10289. * src/nm-ap-security-wep.c
  10290. src/nm-ap-security-wpa-psk.c
  10291. - (real_device_setup): remove
  10292. * src/nm-ap-security.c
  10293. - (real_device_setup): remove
  10294. - (nm_ap_security_device_setup): remove
  10295. * src/nm-device-802-11-wireless.[ch]
  10296. - (nm_device_802_11_wireless_set_wep_enc_key): make static
  10297. - (set_wireless_config, wireless_configure_adhoc): remove; unused
  10298. and done by wpa_supplicant now anyway
  10299. 2006-02-05 Dan Williams <dcbw@redhat.com>
  10300. * src/nm-device-802-11-wireless.c
  10301. - (ap_need_key, real_act_stage2_config): deal with APs changing
  10302. settings on us. Previously NM would loop asking for the
  10303. key but getting the same one back. Now, if the NMI-supplied
  10304. cipher doesn't overlap with the scanned AP capabilities,
  10305. we request a completely new key from the user.
  10306. 2006-02-05 Dan Williams <dcbw@redhat.com>
  10307. * src/NetworkManagerUtils.c
  10308. - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
  10309. Handle newline killing better
  10310. 2006-02-05 Dan Williams <dcbw@redhat.com>
  10311. * gnome/applet/nm-gconf-wso.c
  10312. - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
  10313. of unencrypted access point security info.
  10314. 2006-02-03 Robert Love <rml@novell.com>
  10315. * src/NetworkManagerUtils.c: Even for debugging, we should not log the
  10316. user's encryption key, so we print the err_msg_cmd not the command,
  10317. if available. So long as SUPPLICANT_DEBUG is default, this makes
  10318. sense.
  10319. 2006-02-03 Christopher Aillon <caillon@redhat.com>
  10320. * initscript/RedHat/NetworkManagerDispatcher.in:
  10321. * initscript/RedHat/NetworkManager.in: modify the pidfile location
  10322. Patch from Dan Walsh <dwalsh@redhat.com>
  10323. 2006-02-03 Robert Love <rml@novell.com>
  10324. * dispatcher-daemon/NetworkManagerDispatcher.c,
  10325. dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
  10326. but use the sysconfdir.
  10327. 2006-02-03 Robert Love <rml@novell.com>
  10328. * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
  10329. Make nm_device_802_11_wireless_get_essid() return 'const char *' not
  10330. 'char *'.
  10331. * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
  10332. nm_ip4_config_get_hostname() and
  10333. nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
  10334. * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
  10335. leak g_strdup() result.
  10336. 2006-02-03 Robert Love <rml@novell.com>
  10337. * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
  10338. broadcast == TRUE. Also, copy broadcast and artificial properties
  10339. from source network to destination in nm_ap_copy().
  10340. * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
  10341. since we now default new networks to non-hidden.
  10342. 2006-02-03 Dan Williams <dcbw@redhat.com>
  10343. * gnome/applet/main.c
  10344. - (main): change the NEVER->ALWAYS so we start at the
  10345. beginning of the session, if being session-managed
  10346. 2006-02-03 Dan Williams <dcbw@redhat.com>
  10347. * gnome/applet/main.c
  10348. - (main): in a variation on Robert's patch, change
  10349. RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
  10350. he wants.
  10351. 2006-02-02 Robert Love <rml@novell.com>
  10352. * src/Makefile.am: If we aren't going to create the run directory at,
  10353. uh, run-time, create it during install. Then users just doing
  10354. 'make install' are cool, too. While we are here, create the
  10355. dispatcher.d directory, too.
  10356. * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
  10357. the exact run directory.
  10358. * Makefile.am: Install nm-applet.desktop.
  10359. 2006-02-02 Robert Love <rml@novell.com>
  10360. * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
  10361. structure, which denotes whether or not the AP is hidden. This is a
  10362. superset of 'artificial' -- we need 'broadcast' because a hidden AP
  10363. can show up in the scan list. Add nm_ap_get_broadcast() and
  10364. nm_ap_set_broadcast() accessor interfaces.
  10365. * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
  10366. nm_ap_set_broadcast().
  10367. * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
  10368. "getProperties" method, which denotes whether or not the given
  10369. network is hidden.
  10370. * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
  10371. an artificial network. Set broadcast to TRUE when scanning returns
  10372. an ESSID and FALSE when not.
  10373. * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
  10374. from "getProperties" method on a network. Possible TODO is to
  10375. somehow display this.
  10376. * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
  10377. 2006-02-02 Dan Williams <dcbw@redhat.com>
  10378. * src/nm-device-802-11-wireless.c
  10379. - (supplicant_interface_init): don't try to create
  10380. /var/run/NetworkManager, since that should be done by
  10381. the distro package. Causes problems for stuff like SELinux
  10382. 2006-02-02 Robert Love <rml@novell.com>
  10383. Patch by Sureshkumar T <tsureshkumar@novell.com>:
  10384. * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
  10385. Check for and handle empty string for iface.
  10386. 2006-02-01 Robert Love <rml@novell.com>
  10387. * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
  10388. manpage.
  10389. 2006-01-31 Dan Williams <dcbw@redhat.com>
  10390. * nm-applet.desktop
  10391. - Add --sm-disable to Exec arguments, presuming that when
  10392. using autostart, we don't want session management
  10393. 2006-01-31 Robert Love <rml@novell.com>
  10394. * src/NetworkManagerAP.c: Add two new manufacturer default network
  10395. names: linksys-a and linksys-g. These are found (at least) on the
  10396. Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
  10397. own ESSID.
  10398. 2006-01-31 Robert Love <rml@novell.com>
  10399. * src/NetworkManagerAP.c: Optimize the function
  10400. nm_ap_has_manufacturer_default_essid(). I did not like its resulting
  10401. machine code. This is the first in a series of code tweaks aiming to
  10402. generate better machine code and make NetworkManager all the better.
  10403. Just kidding. Who has time to go through the assembly generated for
  10404. every function? I certainly don't. I have a wife, a kid, a job,
  10405. a mortgage, a mistress. But this function was so bad, I was called
  10406. to arms. Like the book.
  10407. 2006-01-31 Robert Love <rml@novell.com>
  10408. * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
  10409. AP is not broadcasting, to scan with probe request frames. Required
  10410. for non-broadcast networks.
  10411. 2006-01-31 Robert Love <rml@novell.com>
  10412. * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
  10413. preprocessor define (still 20s). Fix message text in nm_info()
  10414. s/too too/took too/.
  10415. 2006-01-30 Dan Williams <dcbw@redhat.com>
  10416. * src/nm-device-802-11-wireless.c
  10417. - (supplicant_monitor_start): increase connect/auth timeout to
  10418. 20 seconds from 10 seconds
  10419. 2006-01-30 Dan Williams <dcbw@redhat.com>
  10420. * src/Makefile.am
  10421. - Define LOCALSTATEDIR
  10422. * src/nm-device-802-11-wireless.c
  10423. - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
  10424. socket where we want it to
  10425. * src/wpa_ctrl.[ch]
  10426. - (wpa_ctrl_open): accept location to put local control socket
  10427. 2006-01-30 Robert Love <rml@novell.com>
  10428. * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
  10429. get_ip4_string() for "domain_name".
  10430. 2006-01-30 Robert Love <rml@novell.com>
  10431. * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
  10432. gnome/applet/wireless-security-option.c, include/NetworkManager.h,
  10433. libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
  10434. libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
  10435. support for "Automatic" pairwise and group cipher configuration by
  10436. letting wpa_supplicant handle the details. Add UI elements, new
  10437. cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
  10438. charm. Note this does more than add a nice feature, it fixes a bug.
  10439. Apparently, some people have AP's where the pairwise cipher does not
  10440. match the group cipher. Insane, but true.
  10441. 2006-01-30 Dan Williams <dcbw@redhat.com>
  10442. * gnome/applet/applet-dbus-devices.c
  10443. - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
  10444. functions, grab device driver name from NetworkManager
  10445. - (nmwa_dbus_device_properties_cb): call functions to get driver
  10446. * gnome/applet/applet.c
  10447. - (nmwa_update_info): show driver name in Connection Information
  10448. dialog
  10449. * gnome/applet/nm-device.[ch]
  10450. - (network_device_get_driver, network_device_set_driver): add
  10451. accessors for driver name
  10452. * gnome/applet/wireless-applet.glade
  10453. - Add line for driver name to Connection Information dialog
  10454. * src/nm-dbus-device.c
  10455. - (nm_dbus_device_get_driver): new function to return driver name
  10456. - (nm_dbus_device_methods): hook up driver name function to dbus
  10457. * test/nm-tool.c
  10458. - (get_driver_name): new function
  10459. - (detail_device): grab and show driver name
  10460. 2006-01-30 Robert Love <rml@novell.com>
  10461. * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
  10462. does not parse the markup if it is not part of the format.
  10463. 2006-01-30 Robert Love <rml@novell.com>
  10464. * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
  10465. FALSE, we have no security options for this dialog, so we throw up
  10466. an error dialog instead of a broken passphrase dialog. Fixes
  10467. Novell #138404.
  10468. * gnome/applet/wireless-security-manager.c,
  10469. gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
  10470. does not add any security options, not even NONE, print a warning
  10471. and return FALSE. This let's functions constructing a dialog bail
  10472. out if the device's capabilities and the network's requirements have
  10473. zero overlap.
  10474. 2006-01-27 Robert Love <rml@novell.com>
  10475. * configure.in: Require wpa_supplicant. Detect location of binary and
  10476. use it. Override with "--with-wpa_supplicant=foo".
  10477. * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
  10478. path to wpa_supplicant but use the auto-detected or user-provided
  10479. value from configure.
  10480. 2006-01-27 Robert Love <rml@novell.com>
  10481. * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
  10482. but the DHCP server did not return a hostname, try to look up our
  10483. name via DNS and set the system hostname to that.
  10484. 2006-01-27 Dan Williams <dcbw@redhat.com>
  10485. * src/backends/NetworkManagerRedHat.c
  10486. - Add NM_CONTROLLED system network script support for RH/Fedora
  10487. 2006-01-27 Dan Williams <dcbw@redhat.com>
  10488. * src/backends/NetworkManagerGentoo.c
  10489. - (nm_system_device_get_disabled): add missing function.
  10490. Gnome BZ #328780
  10491. 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
  10492. * configure.in: Added vi in ALL_LINGUAS line.
  10493. 2006-01-26 Robert Love <rml@novell.com>
  10494. * src/Makefile.am, src/kernel-types.h: Now that two different source
  10495. files are feeling the crack-addled leakage of kernel types such as
  10496. u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
  10497. types in user-space -- define a header and include it as needed.
  10498. * src/nm-device-802-3-ethernet.c: Include kernel-types.h
  10499. * src/nm-device-802-3-ethernet.h: Remove defines.
  10500. * src/wpa.c: Remove defines and include kernel-types.h.
  10501. 2006-01-26 Robert Love <rml@novell.com>
  10502. * TODO: Update. WPA support is in the bag and HAL restarts (should)
  10503. work.
  10504. 2006-01-26 Robert Love <rml@novell.com>
  10505. * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
  10506. * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
  10507. gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
  10508. gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
  10509. gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
  10510. gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
  10511. gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
  10512. gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
  10513. gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
  10514. gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
  10515. gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
  10516. gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
  10517. libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
  10518. src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
  10519. src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
  10520. src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
  10521. Kill unused variables, labels, and static functions. Don't pass
  10522. string literals as the format string for printf-like functions.
  10523. 2006-01-25 Dan Williams <dcbw@redhat.com>
  10524. * gnome/applet/wireless-applet.glade
  10525. - Remove WPA2 Checkbox
  10526. * gnome/applet/wireless-security-manager.c
  10527. - (wsm_set_capabilities): split up sections for wpa and wpa2.
  10528. This means the Wireless Security menu now has two WPA options,
  10529. one for "WPA Personal" and one for "WPA2 Personal"
  10530. * gnome/applet/wso-wpa-psk.[ch]
  10531. - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
  10532. 'wpa2' argument to determine WPA version to use
  10533. - (append_dbus_params_func): pass stored WPA version to cipher
  10534. rather than using the (removed) checkbox
  10535. 2006-01-24 Robert Love <rml@novell.com>
  10536. * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
  10537. before we g_strdup(), not the ultimate string.
  10538. 2006-01-23 Dan Williams <dcbw@redhat.com>
  10539. * src/NetworkManagerAP.[ch]
  10540. - (nm_ap_new_from_ap): copy original essid too
  10541. - (nm_ap_unref): free original essid
  10542. - (nm_ap_get_orig_essid): new function
  10543. - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
  10544. but keep original essid around too
  10545. * src/nm-device-802-11-wireless.c
  10546. - (supplicant_send_network_config): send wpa_supplicant the
  10547. _original_ essid, and not as a string, but in hex. Should
  10548. allow us to connect to more APs that use wierd character
  10549. encodings for their essids
  10550. * utils/nm-utils.[ch]
  10551. - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
  10552. to UTF-8. If it's not already valid UTF-8, we check LANG and
  10553. use the current locale as a hint for what encoding the essid
  10554. might be in. Obviously not 100% accurate, but the idea here is
  10555. that if a user's locale is ex. ja_JP, they are more likely than
  10556. not to be in Japan, where access points will likely be in some
  10557. Japanese encoding.
  10558. 2006-01-23 Dan Williams <dcbw@redhat.com>
  10559. * libnm-util/cipher-private.h
  10560. libnm-util/cipher.c
  10561. libnm-util/cipher.h
  10562. - (cipher_bin2hexstr, cipher_hexstr2bin): make public
  10563. 2006-01-23 Robert Love <rml@novell.com>
  10564. Patch by Timo Hoenig <thoenig@suse.de>:
  10565. * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
  10566. nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
  10567. by DHCP and pass it to the backends, allowing distribution-specific
  10568. behavior with respect to the DHCP-supplied hostname (if nothing else,
  10569. some distributions might not want to set the hostname).
  10570. * backends/NetworkManagerSuSE.c: Set the hostname if the variable
  10571. DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
  10572. Also update our NIS behavior.
  10573. * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
  10574. backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
  10575. Add stub functions.
  10576. 2006-01-23 Robert Love <rml@novell.com>
  10577. * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
  10578. gnome-session does autostart. TODO: We need to install this to
  10579. $prefix/share/autostart/.
  10580. 2006-01-22 Dan Williams <dcbw@redhat.com>
  10581. * src/NetworkManagerAP.[ch]
  10582. src/nm-dbus-nmi.c
  10583. src/nm-device-802-11-wireless.c
  10584. - Make nm_ap_get_essid return "const char *"
  10585. 2006-01-22 Dan Williams <dcbw@redhat.com>
  10586. * src/NetworkManagerAP.[ch]
  10587. - (nm_ap_get_matched, nm_ap_set_matched): remove
  10588. * src/NetworkManagerAPList.[ch]
  10589. - (nm_ap_list_diff): removed
  10590. - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
  10591. deal with access points changing essids on us
  10592. * src/nm-device-802-11-wireless.c
  10593. - (add_new_ap_to_device_list): move AP dbus signal logic to
  10594. src/NetworkManagerAPList.c
  10595. - (real_can_interrupt_activation): new function; allow interruption
  10596. of device activation if we are waiting for a network key
  10597. * src/NetworkManagerPolicy.c
  10598. - (nm_policy_device_change_check): allow interruption of currently
  10599. activating devices if the device allows it. Previous behavior
  10600. would refuse to activate a just-plugged wired device if a
  10601. wireless device was waiting for a key.
  10602. * src/nm-device.[ch]
  10603. - (nm_device_can_interrupt_activation): new function; ask devices
  10604. whether their activation can be interrupted
  10605. 2006-01-20 Robert Love <rml@novell.com>
  10606. * Makefile.am, configure.in: Add new man subdirectory.
  10607. * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
  10608. man/Makefile.am: Add man pages for NetworkManager and its
  10609. crime-solving bumbling buddy, NetworkManagerDispatcher.
  10610. * man/.cvsignore: Add.
  10611. * initscript/Debian/NetworkManager,
  10612. initscript/Gentoo/NetworkManager.in,
  10613. initscript/RedHat/NetworkManager.in,
  10614. initscript/RedHat/NetworkManagerDispatcher.in,
  10615. initscript/SUSE/networkmanager-dispatcher.in,
  10616. initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
  10617. 2006-01-20 Robert Love <rml@novell.com>
  10618. * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
  10619. instead of queuing. This prevents the running of multiple NM
  10620. daemons concurrently, which does not work whatsoever and results in
  10621. neither daemon working correctly. Also, we don't handle queuing and
  10622. name-owner-changes, anyhow.
  10623. 2006-01-20 Robert Love <rml@novell.com>
  10624. * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
  10625. * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
  10626. to sbin, not bin.
  10627. 2006-01-19 Robert Love <rml@novell.com>
  10628. * configure.in: Require hal 0.5.0 or later.
  10629. 2006-01-18 Robert Love <rml@novell.com>
  10630. * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
  10631. Allow backends to flag a device (in whatever distro-dependent way
  10632. they so desire) as disabled. NM will ignore any such device.
  10633. * src/backends/NetworkManagerDebian.c,
  10634. src/backends/NetworkManagerRedHat.c,
  10635. src/backends/NetworkManagerSlackware.c: Add stub function
  10636. nm_system_device_get_disabled() that always returns FALSE (enabled).
  10637. * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
  10638. SUSE-specific configuration structure. Fill it in from the
  10639. NM_CONTROLLED variable in the system networking scripts. If this var
  10640. exists and is "no", we ignore the device.
  10641. 2006-01-17 Robert Love <rml@novell.com>
  10642. * configure.in: Remove 'no' language. Replaced by 'nb', which is
  10643. identical for NM. For a full discussion, see the thread at
  10644. http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
  10645. 2006-01-17 Dan Williams <dcbw@redhat.com>
  10646. * src/nm-device.c
  10647. - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
  10648. function. Fixes crash when wired DHCP fails.
  10649. 2006-01-16 Robert Love <rml@novell.com>
  10650. * src/Makefile.am: Don't install NMLoadModules
  10651. * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
  10652. from src/ to test/ as no one uses it anymore. Note that I would be
  10653. fine with removing it altogether.
  10654. 2006-01-16 Robert Love <rml@novell.com>
  10655. * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
  10656. gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
  10657. gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
  10658. gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
  10659. src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
  10660. src/nm-netlink-monitor.c: Don't miss any initializers on structure
  10661. declarations, ever.
  10662. * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
  10663. NM_STATE_DISCONNECTED is zero).
  10664. 2006-01-16 Robert Love <rml@novell.com>
  10665. * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
  10666. uninitialized parameter and buffer overflow. Novell #143496.
  10667. 2006-01-16 Dan Williams <dcbw@redhat.com>
  10668. Apply the PtP Address bits of a patch from Tim Niemueller
  10669. * src/nm-ip4-config.[ch]
  10670. - Add ip4_ptp_address member to object
  10671. - (nm_ip4_config_copy): copy ptp address too
  10672. - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
  10673. new functions
  10674. - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
  10675. rather than local tunnel ip address
  10676. * src/vpn-manager/nm-vpn-service.c
  10677. - (print_vpn_config): update for PtP address
  10678. - (nm_vpn_service_stage4_ip_config_get): switch parsing to
  10679. DBusMessageIters in preparation for getting routes from the VPN
  10680. service daemons too
  10681. * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
  10682. - (send_config_info): update for PtP address, clean up code
  10683. - (main): update for PtP address, clean up code, fix typo
  10684. * vpn-daemons/openvpn/src/nm-openvpn-service.c
  10685. - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
  10686. * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
  10687. - (pptp_ip_up): update for PtP address
  10688. * vpn-daemons/pptp/src/nm-pptp-service.c
  10689. - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
  10690. * vpn-daemons/vpnc/src/nm-vpnc-service.c
  10691. - (print_vpn_config): update for PtP address
  10692. - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
  10693. 2006-01-16 Dan Williams <dcbw@redhat.com>
  10694. * gnome/applet/applet.c
  10695. - (nmwa_add_networks_helper): don't indicate an active network
  10696. if NM is disconnected or asleep
  10697. 2006-01-16 Dan Williams <dcbw@redhat.com>
  10698. * src/NetworkManagerPolicy.c
  10699. - (nm_policy_device_change_check): switch devices if we lose the link
  10700. on an ethernet device.
  10701. 2006-01-16 Dan Williams <dcbw@redhat.com>
  10702. * gnome/applet/wso-wpa-psk-hex.[ch]
  10703. - Renamed -> wso-wpa-psk.[ch]
  10704. * gnome/applet/wso-wpa-psk.[ch]
  10705. - New files
  10706. * gnome/applet/wso-wpa-psk-passphrase.[ch]
  10707. - Removed, rolled into wso-wpa-psk.[ch]
  10708. * gnome/applet/Makefile.am
  10709. - Updated for above changes
  10710. * gnome/applet/wireless-applet.glade
  10711. - Consolidate WPA-PSK options into one notebook
  10712. widget, and make dialogs invisible by default
  10713. to fix screen oddities
  10714. * gnome/applet/wireless-security-manager.c
  10715. - (wsm_set_capabilities): create the new wpa-psk widget rather
  10716. than both the old hex & passphrase ones
  10717. 2006-01-16 Dan Williams <dcbw@redhat.com>
  10718. * gnome/applet/other-network-dialog.c
  10719. - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
  10720. 2006-01-16 Dan Williams <dcbw@redhat.com>
  10721. * gnome/applet/applet.c
  10722. - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
  10723. nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
  10724. prevention to realize window before trying to get server
  10725. time
  10726. * gnome/applet/other-network-dialog.c
  10727. - (nmwa_other_network_dialog_run): fix up focus-stealing
  10728. prevention to realize window before trying to get server
  10729. time
  10730. * gnome/applet/passphrase-dialog.c
  10731. - (nmi_passphrase_dialog_new): fix up focus-stealing
  10732. prevention to realize window before trying to get server
  10733. time
  10734. 2006-01-16 Robert Love <rml@novell.com>
  10735. Patch from Timo Hoenig <thoenig@suse.de:
  10736. * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
  10737. libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
  10738. libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
  10739. libnm-util/dbus-helpers.h: add checks whether headers are used
  10740. within a C++ build.
  10741. 2006-01-16 Dan Williams <dcbw@redhat.com>
  10742. * gnome/applet/wireless-security-option.c
  10743. - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
  10744. 2006-01-16 Dan Williams <dcbw@redhat.com>
  10745. * libnm-util/cipher-wpa-psk-passphrase.c
  10746. - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
  10747. be 8 - 63 characters inclusive
  10748. 2006-01-16 Dan Williams <dcbw@redhat.com>
  10749. * src/nm-dbus-nm.c
  10750. - (nm_dbus_nm_sleep): bring device down after quick deactivation
  10751. 2006-01-13 Robert Love <rml@novell.com>
  10752. Patch by T Sureshkumar <tsureshkuman@novell.com>:
  10753. * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
  10754. modules that do not use an interface.
  10755. 2006-01-13 Dan Williams <dcbw@redhat.com>
  10756. * src/nm-device.c
  10757. src/nm-device.h
  10758. - Allow subclasses to implement deactivate_quickly()
  10759. - (nm_device_deactivate_quickly): call subclass
  10760. deactivate_quickly() methods
  10761. - (nm_device_set_active_link): small cleanups, and don't
  10762. deactivate the device right away because we risk a deadlock
  10763. when called from device thread, waiting for the device
  10764. thread to cancel activation
  10765. * src/nm-device-802-11-wireless.c
  10766. - (real_deactivate_quickly): new function
  10767. - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
  10768. - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
  10769. so that we kill the supplicant when we sleep too
  10770. - (supplicant_interface_init): work around naive naming attempts of
  10771. wpa_ctrl when naming sockets
  10772. 2006-01-13 Dan Williams <dcbw@redhat.com>
  10773. * src/nm-device-802-11-wireless.c
  10774. - (supplicant_cleanup): delete old device control sockets too
  10775. - (supplicant_get_device_socket_path): new function to consolidate
  10776. locations that need a path to a device's control socket
  10777. 2006-01-12 Robert Love <rml@novell.com>
  10778. * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
  10779. description so that the description is unique for each
  10780. pair (device,provider). Fixes Novell #142773.
  10781. 2006-01-12 Dan Williams <dcbw@redhat.com>
  10782. * src/nm-device-802-11-wireless.c
  10783. - (supplicant_exec): ensure GError is correctly initialized
  10784. Reported by Diego González (gnome.org #326708)
  10785. 2006-01-11 Robert Love <rml@novell.com>
  10786. * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
  10787. define if_mii(), open code the same results, and do so without any
  10788. type punning.
  10789. 2006-01-11 Robert Love <rml@novell.com>
  10790. * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
  10791. that wso_foo_new() returned non-NULL. Instead, only append the new
  10792. wso to wsm->options if the wso is non-NULL. The crux is that we
  10793. assume that the relevant key types are implied by WEP and WPA as
  10794. appropriate. To be sure, they should be, but we should not expect
  10795. drivers to not be oozing piles of wolf fecal matter.
  10796. 2006-01-11 Robert Love <rml@novell.com>
  10797. * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
  10798. * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
  10799. src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
  10800. src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
  10801. src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
  10802. src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
  10803. test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
  10804. * src/nm-device-802-11-wireless.c: Fix floating point comparison by
  10805. comparing values within DBL_EPSILON. Also fix shadowed variable
  10806. usage.
  10807. 2006-01-11 Dan Williams <dcbw@redhat.com>
  10808. Add options for WPA2 and WPA1+CCMP (AES).
  10809. * gnome/applet/wireless-applet.glade
  10810. - Add UI bits for WPA+CCMP
  10811. * gnome/applet/other-network-dialog.c
  10812. - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
  10813. and don't allow creation of WPA2 Ad-Hoc networks since
  10814. wpa_supplicant doesn't support them
  10815. * gnome/applet/wireless-security-manager.c
  10816. - (wsm_set_capabilities): Add WPA2 options, and pass capability
  10817. on to the specific wireless security option being created
  10818. * gnome/applet/wireless-security-option.[ch]
  10819. - (wso_wpa_create_key_type_model): new utility function to create
  10820. the model required for WPA Key Type combo box
  10821. * gnome/applet/wso-private.h
  10822. gnome/applet/wireless-security-option.h
  10823. - Move private function prototypes into wso-private.h
  10824. * gnome/applet/wso-wpa-psk-hex.[ch]
  10825. gnome/applet/wso-wpa-psk-passphrase.[ch]
  10826. - (append_dbus_params_func): get WPA version from checkbox and pass
  10827. it to the dbus serialization helper
  10828. - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
  10829. key type combo changes
  10830. - (wso_wpa_psk_hex_new): set up the key type combo with the correct
  10831. model and options
  10832. * libnm-util/cipher-wpa-psk-hex.c
  10833. libnm-util/cipher-wpa-psk-passphrase.c
  10834. - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
  10835. new function; allow the cipher to be changed after object creation
  10836. * src/nm-ap-security-wpa-psk.c
  10837. - (set_description): Do WPA2 descriptions too
  10838. * src/nm-ap-security.c
  10839. - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
  10840. 2006-01-11 Robert Love <rml@novell.com>
  10841. * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
  10842. is defined in <linux/mii.h> to return the mii_ioctl_data structure
  10843. from the ifreq structure in lieu of an open coded solution. Removes
  10844. a life-threatening type-punning.
  10845. * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
  10846. types, ever, whatsoever, baby.
  10847. 2006-01-11 Robert Love <rml@novell.com>
  10848. * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
  10849. gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
  10850. assignments to applet->nm_state into a new nmwa_set_state() function
  10851. for both cleanliness and to help debugging.
  10852. 2006-01-10 Robert Love <rml@novell.com>
  10853. * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
  10854. assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
  10855. seconds, exclusive. That is, we want to sleep x seconds such that
  10856. 1 < x < 2.
  10857. 2006-01-10 Robert Love <rml@novell.com>
  10858. * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
  10859. the attr fields according to the example in the email available at
  10860. mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
  10861. Conversely, we do have to free 'name', so we do so, fixing a leak.
  10862. 2006-01-10 Robert Love <rml@novell.com>
  10863. * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
  10864. sure that we close the socket!
  10865. 2006-01-10 Robert Love <rml@novell.com>
  10866. * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
  10867. src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
  10868. src/nm-device.c: Fix a FIXME! Reimplement the function
  10869. nm_device_update_hw_address() in device subclass variants,
  10870. nm_device_802_3_ethernet_set_address() and
  10871. nm_device_802_11_wireless_set_address(), hook them up, and use them.
  10872. This fixes the existing bug where MAC addresses are all zeros.
  10873. 2006-01-10 Robert Love <rml@novell.com>
  10874. * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
  10875. gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
  10876. option to give users ability to globally disconnect and put NM to
  10877. sleep. This is useful as a 'lockdown mode' for flying, security, and
  10878. clean disconnect.
  10879. 2006-01-09 Robert Love <rml@novell.com>
  10880. * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
  10881. <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
  10882. User-space does not supply these types, so we have to define them
  10883. ourselves. The relevant kernel maintainer refused to accept a patch
  10884. switching these headers to the proper C99 types.
  10885. 2006-01-09 Dan Williams <dcbw@redhat.com>
  10886. Apply Robert's 'tray icon redo' patch with fixes
  10887. * gnome/applet/applet.c
  10888. gnome/applet/applet.h
  10889. - Instead of using a menu bar + menu item, simulate menu
  10890. behavior using a popup menu. Highlight the area around
  10891. the icon more like a menu too, by playing with the
  10892. applet's size requisition
  10893. 2006-01-09 Timo Hoenig <thoenig@suse.de>
  10894. * libnm-util/dbus-helpers.c
  10895. libnm-util/dbus-helpers.h
  10896. - (nmu_create_dbus_error_message): rename parameter 'namespace'
  10897. to 'exception_namespace' (:namespace is a keyword in
  10898. C++)
  10899. 2006-01-09 Dan Williams <dcbw@redhat.com>
  10900. * src/NetworkManagerPolicy.c
  10901. - (nm_policy_device_change_check): don't autoswitch away from
  10902. Ad-Hoc networks, since there's really no concept of
  10903. "link"
  10904. * src/nm-dbus-nm.c
  10905. - (nm_dbus_nm_create_wireless_network): mark created networks
  10906. as Ad-Hoc networks
  10907. * src/nm-device-802-11-wireless.c
  10908. - (real_activation_success_handler): add user-created Ad-Hoc
  10909. networks to the device's scan list
  10910. 2006-01-08 Dan Williams <dcbw@redhat.com>
  10911. We now require a patch for wpa_supplicant to support Ad-Hoc
  10912. networks:
  10913. http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
  10914. * src/nm-device-802-11-wireless.c
  10915. - (supplicant_send_network_config): turn off wpa_supplicant's
  10916. scanning. Fixes Ad-Hoc networks.
  10917. 2006-01-08 Dan Williams <dcbw@redhat.com>
  10918. * src/nm-ap-security.c
  10919. src/nm-ap-security.h
  10920. - Add a user_created argument to the write_supplicant_config
  10921. functions
  10922. * src/nm-ap-security-wep.c
  10923. src/nm-ap-security-wpa-psk.c
  10924. src/nm-device-802-11-wireless.c
  10925. - Make Ad-Hoc mode somewhat work, at least write the
  10926. correct options to wpa_supplicant
  10927. 2006-01-08 Dan Williams <dcbw@redhat.com>
  10928. * src/nm-device-802-11-wireless.c
  10929. - Remove unused code from the old device activation path
  10930. 2006-01-08 Dan Williams <dcbw@redhat.com>
  10931. * libnm-util/dbus-helpers.c
  10932. - (nmu_security_serialize_wpa_psk): pass a blank key through
  10933. dbus when key == NULL
  10934. 2006-01-08 Dan Williams <dcbw@redhat.com>
  10935. * gnome/applet/nm-gconf-wso-wpa-psk.c
  10936. - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
  10937. correct arguments to nmu_security_deserialize_wpa_psk()
  10938. * src/nm-ap-security-wpa-psk.c
  10939. - (nm_ap_security_wpa_psk_new_deserialize): feed correct
  10940. arguments to nmu_security_deserialize_wpa_psk()
  10941. 2006-01-08 Dan Williams <dcbw@redhat.com>
  10942. * gnome/applet/wso-wpa-psk-hex.c
  10943. gnome/applet/wso-wpa-psk-passphrase.c
  10944. - Hook up the append_dbus_params_func() function
  10945. 2006-01-08 Dan Williams <dcbw@redhat.com>
  10946. * src/nm-device-802-11-wireless.c
  10947. - (get_wireless_capabilities): correctly detect driver WPA
  10948. capabilities
  10949. 2006-01-08 Dan Williams <dcbw@redhat.com>
  10950. * gnome/applet/Makefile.am
  10951. gnome/applet/wso-wpa-psk-hex.c
  10952. gnome/applet/wso-wpa-psk-hex.h
  10953. - New files, implement WPA-PSK Hex key input
  10954. * gnome/applet/wireless-applet.glade
  10955. - Change existing wpa-psk stuff to wpa-psk-hex
  10956. - Add new widgets for wpa-psk-passphrase
  10957. * gnome/applet/wireless-security-manager.c
  10958. - (wsm_set_capabilities): enable WPA options
  10959. * gnome/applet/wso-wpa-psk-passphrase.c
  10960. - (wso_wpa_psk_passphrase_new): use correct glade widgets
  10961. for WPA-PSK passphrase
  10962. 2006-01-08 Dan Williams <dcbw@redhat.com>
  10963. * include/NetworkManager.h
  10964. - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
  10965. applet/info-daemons
  10966. * gnome/applet/passphrase-dialog.c
  10967. - Use the constant. Fixes a bug where the arguments to
  10968. dbus_message_new_error() were incorrect
  10969. * src/nm-dbus-nmi.c
  10970. - Use the constant
  10971. 2006-01-07 Dan Williams <dcbw@redhat.com>
  10972. * src/nm-device-802-11-wireless.c
  10973. - Add a link timeout so we allow the supplicant time to
  10974. reassociate if it can, before we deactivate the card
  10975. - Fix up link status and link updating so things work better
  10976. 2006-01-07 Dan Williams <dcbw@redhat.com>
  10977. * src/nm-device-802-11-wireless.c
  10978. - Switch over to using wpa_supplicant
  10979. - Add a timeout of 10s for association of the supplicant
  10980. - Start the monitor callback of the supplicant
  10981. 2006-01-07 Dan Williams <dcbw@redhat.com>
  10982. * src/NetworkManagerUtils.c
  10983. - (nm_utils_supplicant_request,
  10984. nm_utils_supplicant_request_with_check):
  10985. pass correct buffer length to wpa_ctrl_request()
  10986. 2006-01-07 Dan Williams <dcbw@redhat.com>
  10987. * src/nm-device-private.h
  10988. src/nm-device.c
  10989. - (nm_device_activate_schedule_stage3_ip_config_start): make
  10990. this function available to subclasses
  10991. 2006-01-06 Robert Love <rml@novell.com>
  10992. * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
  10993. user plugging in a network cable signals their preference for to
  10994. switch, unless the user explicitly selected a wireless network and
  10995. therefore signaled their preference for said wireless network over
  10996. wired. In other words, do exactly what makes sense.
  10997. 2006-01-06 Robert Love <rml@novell.com>
  10998. * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
  10999. src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
  11000. src/NetworkManagerWireless.h: Remove, no longer used and they keep
  11001. showing up in my greps.
  11002. 2006-01-06 Robert Love <rml@novell.com>
  11003. * gnome/applet/applet-dbus-devices.c,
  11004. gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
  11005. libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
  11006. src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
  11007. New Network' both failed in the non-encrypted case because we were
  11008. not appending the security options to the DBUS message. And
  11009. 'Connect to Other' was also failing in the encrypted case because
  11010. we were not incrementing to the next DBUS parameter. All fixed.
  11011. Thanks to dcdw for some debugging help.
  11012. 2006-01-06 Robert Love <rml@novell.com>
  11013. * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
  11014. gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
  11015. hangup code and add per-device hangup. Tie last commit into the
  11016. GNOME applet. TODO: Save, understand, and respond to the state of
  11017. each dialup device.
  11018. 2006-01-06 Robert Love <rml@novell.com>
  11019. Patch by Timo Hoenig <thoenig@suse.de>:
  11020. * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
  11021. hangup specific dialup devices.
  11022. * src/backends/NetworkManagerDebian.c,
  11023. src/backends/NetworkManagerGentoo.c,
  11024. src/backends/NetworkManagerRedHat.c,
  11025. src/backends/NetworkManagerSlackware.c: Add stub backend.
  11026. * src/backends/NetworkManagerRedHat.c,
  11027. src/backends/NetworkManagerSuSE.c: Add specific backend interface to
  11028. hangup specific dialup devices.
  11029. 2006-01-04 Robert Love <rml@novell.com>
  11030. * gnome/applet/applet-dbus-devices.c,
  11031. gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
  11032. src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
  11033. connections.
  11034. 2006-01-04 Dan Williams <dcbw@redhat.com>
  11035. First dump of wpa_supplicant-related code. It's not hooked up to
  11036. anything yet though. Thanks to Kay Sievers for
  11037. wpa_supplicant_wrapper.c, which formed the basis for this work,
  11038. and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
  11039. * src/Makefile.am
  11040. src/wpa_ctrl.[ch]
  11041. - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
  11042. * src/NetworkManagerUtils.[ch]
  11043. - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
  11044. Add convenience functions for talking to wpa_supplicant
  11045. * src/nm-ap-security.[ch]
  11046. src/nm-ap-security-wep.c
  11047. src/nm-ap-security-wpa-psk.[ch]
  11048. - Update and implement real_write_supplicant_config functions
  11049. in all security types
  11050. - (nm_ap_security_wpa_psk_new_from_ap): implement in
  11051. nm-ap-security-wpa-psk.c
  11052. * src/nm-device-802-11-wireless.c
  11053. - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
  11054. wpa_supplicant_start, wpa_supplicant_interface_init,
  11055. wpa_supplicant_send_network_config): add functions to talk to
  11056. wpa_supplicant and write network config to it
  11057. 2006-01-04 Robert Love <rml@novell.com>
  11058. * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
  11059. values so that distribution-backends can differentiate between the
  11060. various types (modem, ISDN, et cetera) of dialup device that they
  11061. support.
  11062. * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
  11063. needed.
  11064. 2006-01-03 Dan Williams <dcbw@redhat.com>
  11065. * src/NetworkManagerPolicy.c
  11066. src/nm-device.[ch]
  11067. src/nm-device-802-11-wireless.c
  11068. - Move wireless-specific activation failure and success code
  11069. into wireless device class
  11070. 2006-01-03 Robert Love <rml@novell.com>
  11071. Patch by Preggna S:
  11072. * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
  11073. IPsec does not require that a VPN client be bound to an interface,
  11074. due to the use of the in-kernel IPSec bits. So make the tunnel
  11075. device optional.
  11076. 2006-01-03 Dan Williams <dcbw@redhat.com>
  11077. * src/NetworkManagerAP.c
  11078. - (nm_ap_add_capabilities_from_ie): presume no WEP unless
  11079. the WPA IE specifies that WEP is supported
  11080. * src/nm-device-802-11-wireless.c
  11081. - (process_scan_results): don't mark an AP as supporting WEP
  11082. if there's already other encryption capability info
  11083. 2006-01-03 Dan Williams <dcbw@redhat.com>
  11084. * src/dhcp-manager/nm-dhcp-manager.c
  11085. - Recognize activation cancellation when waiting for DHCP
  11086. configuration from dhcdbd
  11087. - Ignore non-dhcdbd messages
  11088. * src/nm-device.c
  11089. - (real_act_stage3_ip_config_start): return to correct behavior
  11090. of letting the dhcp-manager notify us of failure or
  11091. success rather than incorrectly doing that ourselves
  11092. - (nm_device_activate_stage4_ip_config_get): deal with
  11093. activation cancellation a bit earlier
  11094. 2006-01-03 Dan Williams <dcbw@redhat.com>
  11095. * src/nm-device-802-11-wireless.c
  11096. src/nm-device.[ch]
  11097. - Add hooks to subclasses for stage3_ip_config_start and
  11098. stage4_ip_config_timeout
  11099. * src/nm-device-802-3-ethernet.c
  11100. - (real_get_generic_capabilities): make devices NM-supported
  11101. by default
  11102. 2006-01-03 Robert Love <rml@novell.com>
  11103. * src/backends/NetworkManagerSuSE.c: update to newer API (no more
  11104. nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
  11105. latter cannot differentiate between error and the address -1; misc.
  11106. clean up.
  11107. 2006-01-03 Dan Williams <dcbw@redhat.com>
  11108. * src/NetworkManager.c
  11109. - Move link-checking/probing into the device subclasses
  11110. themselves
  11111. * src/nm-device.[ch]
  11112. src/nm-device-802-11-wireless.c
  11113. src/nm-device-802-3-ethernet.c
  11114. - Do periodic link checking in device subclasses rather
  11115. than being triggered from NetworkManager.c
  11116. - discover_wireless_capabilities -> get_wireless_capabilities
  11117. - discover_generic_capabilities -> get_generic_capabilities
  11118. - Device subclass activation routines now return a value of type
  11119. NMActStageReturn to indicate what step to perform next
  11120. - Devices now override stage4_get_ip4_config if they choose
  11121. 2006-01-01 Dan Williams <dcbw@redhat.com>
  11122. * src/nm-device-802-11-wireless.c
  11123. - (real_init): don't chain up to parent init because we don't
  11124. need to do that anymore
  11125. * src/nm-device.c
  11126. - (discover_device_type): fix arguments to ioctl() to correctly
  11127. pass interface name
  11128. - (nm_device_new): consolidate generic device initialization into
  11129. nm_device_new()
  11130. - (real_init): remove, consolidated to nm_device_new()
  11131. - (nm_device_deactivate, real_deactivate): consolidate
  11132. 2006-01-01 Dan Williams <dcbw@redhat.com>
  11133. * src/nm-activation-request.c
  11134. - Change dhcp_state member of the NMActRequest structure
  11135. from guint8 to guint32
  11136. * src/dhcp-manager/nm-dhcp-manager.[ch]
  11137. - (nm_dhcp_manager_get_state_for_device): return guint32 rather
  11138. than guint8 to match the dbus argument. Turns out we were
  11139. overwriting memory since we were passing in only a guint8
  11140. 2005-12-31 Dan Williams <dcbw@redhat.com>
  11141. * refactor NMDevice into a GObject-based framework with separate
  11142. objects for wired and wireless. The following files are no
  11143. longer used but should stick around for a bit so we don't
  11144. loose code through the cracks:
  11145. NetworkManagerDevice.c
  11146. NetworkManagerDevice.h
  11147. NetworkManagerWireless.c
  11148. NetworkManagerWireless.h
  11149. The intent here is to allow each device type to manage its own
  11150. connection & activation life-cycle, ie to allow wireless devices
  11151. to interface with wpa_supplicant, etc. There's a fair bit of
  11152. encapsulation breakage right now that should gradually get pulled
  11153. back into each device, along with things like periodic property
  11154. updates and link probing.
  11155. 2005-12-29 Dan Williams <dcbw@redhat.com>
  11156. * include/NetworkManager.h
  11157. - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
  11158. between networks that don't have any encryption at all
  11159. 2005-12-29 Dan Williams <dcbw@redhat.com>
  11160. * test/test-common.c
  11161. test/test-common.h
  11162. test/Makefile.am
  11163. - Move to a test-common subdirectory
  11164. * test/libnm-util/test-ciphers.c
  11165. - Move test data to test-inputs.h
  11166. - Test WPA ciphers too
  11167. * test/libnm-util/test-dbus-helpers.c
  11168. - Test serialization/deserialization of ciphers
  11169. 2005-12-29 Dan Williams <dcbw@redhat.com>
  11170. * gnome/applet/applet-dbus-devices.c
  11171. - Replace 'enc' parameter with 'capabilities' for wireless networks
  11172. in dbus calls to NM
  11173. - Set capabilities on WirelessNetwork objects
  11174. - Receive and save type-specific device capabilities too
  11175. * gnome/applet/applet-dbus-info.c
  11176. gnome/applet/applet-dbus.c
  11177. - Passphrase dialog no longer a singleton; new instance gets created
  11178. on each request. Updates to deal with that.
  11179. * gnome/applet/applet.c
  11180. - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
  11181. than single 'encrypted' flag
  11182. - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
  11183. menu items
  11184. - Passphrase dialog updates per above
  11185. * gnome/applet/menu-items.c
  11186. - (network_menu_item_update): use AP capabilities to determine
  11187. encryption
  11188. * gnome/applet/nm-device.[ch]
  11189. - Add accessors for type-specific device capabilities
  11190. * gnome/applet/other-network-dialog.c
  11191. - Rework to respect device capabilities. i.e., if the device doesn't
  11192. support WPA, remove that option from the security dropdown
  11193. * gnome/applet/passphrase-dialog.c
  11194. - Massive rework so that a new instance is created each time
  11195. it's used, to support wireless network capabilities
  11196. * gnome/applet/wireless-network.[ch]
  11197. - Add accessors and members for wireless network capabilities
  11198. * gnome/applet/wireless-security-manager.[ch]
  11199. - (wsm_set_capabilities): called after creation to set which
  11200. security options get shown to the user
  11201. 2005-12-29 Dan Williams <dcbw@redhat.com>
  11202. * libnm-util/cipher-wpa-psk-passphrase.c
  11203. - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
  11204. like other ciphers
  11205. 2005-12-23 Dan Williams <dcbw@redhat.com>
  11206. * gnome/applet/applet-dbus-info.c
  11207. - (nmi_dbus_get_key_for_network): if there's no entry in
  11208. GConf for a network, assume we want a new key
  11209. - (nmi_save_network_info): serialize wireless security info
  11210. into GConf so its saved
  11211. * src/nm-dbus-nm.c
  11212. - Fix warning as we may not be passed security info when
  11213. connecting to a wireless network
  11214. 2005-12-23 Dan Williams <dcbw@redhat.com>
  11215. * gnome/applet/applet-compat.c
  11216. - Fix bugs in GConf entry conversion
  11217. * gnome/applet/applet-dbus-info.c
  11218. - (nmi_dbus_get_network_properties): handle case of the BSSID
  11219. list being zero-length
  11220. * libnm-util/cipher-*
  11221. libnm-util/dbus-helpers.c
  11222. - All ciphers must now return hashed keys as UTF-8 valid
  11223. hexadecimal strings, ie "8f3dae4023". They are pushed
  11224. through dbus as strings too.
  11225. - Consolidate various functions that do bin->hex and hex->bin
  11226. conversion into cipher.c
  11227. * src/nm-ap-security-wep.c
  11228. src/nm-ap-security-wpa-psk.c
  11229. - Handle NULL keys since we may not know keys right away
  11230. * src/nm-dbus-nmi.c
  11231. - (nm_dbus_get_network_data_cb): actually advance to the start
  11232. of the wireless security info before we try to deserialize it
  11233. * libnm-util/test-ciphers.c
  11234. - Update cipher tests for the change to UTF-8 hexadecimal strings
  11235. 2005-12-22 Dan Williams <dcbw@redhat.com>
  11236. * gnome/applet/applet-compat.[ch]
  11237. - Convert old-format GConf and keyring entries
  11238. when the applet starts up.
  11239. * gnome/applet/applet.c
  11240. - (nmwa_get_instance): Call the conversion function
  11241. on startup before dbus is initialized
  11242. 2005-12-22 Dan Williams <dcbw@redhat.com>
  11243. * gnome/applet/applet-dbus-info.c
  11244. - Remove nmi_dbus_create_error_message() in favor of
  11245. nmu_create_dbus_error_message()
  11246. - (nmi_dbus_get_network_properties): Error message cleanups
  11247. - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
  11248. gconf key rather than 'addresses', since they really are BSSIDs
  11249. - (nmi_dbus_get_network_properties): Dispose of the security
  11250. object when we're done with it
  11251. 2005-12-21 Dan Williams <dcbw@redhat.com>
  11252. * Consolidate the info-daemon's "updateNetworkInfo" and
  11253. "addNetworkAddress" calls into just "updateNetworkInfo"
  11254. 2005-12-21 Dan Williams <dcbw@redhat.com>
  11255. * Make connection after key retrieval work again
  11256. 2005-12-21 Dan Williams <dcbw@redhat.com>
  11257. * gnome/applet/nm-gconf-wso*
  11258. - Make the serialize functions return gboolean
  11259. rather than int
  11260. * gnome/applet/nm-gconf-wso.c
  11261. - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
  11262. parent class handling so we don't segfault
  11263. * src/NetworkManagerAP.[ch]
  11264. - (nm_ap_get_capabilities): new function, return capabilities
  11265. now that something can use them
  11266. - (nm_ap_set_encrypted): assume that an access point supports
  11267. both WEP104 and WEP40 if its set encrypted. FIXME: can
  11268. we even tell whether it just supports WEP40?
  11269. * src/NetworkManagerDevice.c
  11270. - (ap_need_key): resurrect and update for the New World Order
  11271. - (nm_device_wireless_get_activation_ap): if we're not given
  11272. security info to use, create some based on access point
  11273. capabilities
  11274. * src/nm-ap-security-wep.c
  11275. - (nm_ap_security_wep_new_from_ap): create a new object
  11276. based on a certain access point's capabilities
  11277. * src/nm-ap-security.c
  11278. - (nm_ap_security_new_from_ap): delegate creation of a new
  11279. object based on access point capabilities to a subclass
  11280. - (nm_ap_security_copy_properties): don't segfault if we
  11281. don't have a key yet
  11282. * src/nm-dbus-nm.c
  11283. - (nm_dbus_nm_set_active_device): provide more informative
  11284. output when errors occur. Also construct security info
  11285. for a given access point if we weren't given any
  11286. 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
  11287. * configure.in: Added Lithuanian to ALL_LINGUAS.
  11288. 2005-12-21 Dan Williams <dcbw@redhat.com>
  11289. * test/libnm-util
  11290. - Add some testcases for WEP ciphers
  11291. 2005-12-17 Dan Williams <dcbw@redhat.com>
  11292. * Fix bugs
  11293. 2005-12-17 Dan Williams <dcbw@redhat.com>
  11294. * include/NetworkManager.h
  11295. - Finally kill NMEncKeyType
  11296. * gnome/applet/applet-dbus-info.c
  11297. - (nmi_save_network_info): convert to NMGConfWSO
  11298. * gnome/applet/nm-gconf-wso-*.c
  11299. - Implement gconf serialization functions
  11300. * src/NetworkManagerPolicy.c
  11301. - (nm_policy_activation_finish): fix up meaning of
  11302. automatic/user_requested
  11303. 2005-12-17 Dan Williams <dcbw@redhat.com>
  11304. * gnome/applet/*
  11305. - More applet cleanups
  11306. - Use the dbus-method-dispatcher
  11307. * libnm-util/dbus-method-dispatcher.[ch]
  11308. - Generalize the implementation from NM in
  11309. NetworkManagerUtils.c
  11310. 2005-12-16 Dan Williams <dcbw@redhat.com>
  11311. * gnome/applet/*
  11312. - Fix up the passphrase dialog to use all the
  11313. WirelessSecurityOption stuff (untested)
  11314. 2005-12-16 Dan Williams <dcbw@redhat.com>
  11315. * Move nm_gconf_get_*_helper() functions to separate files,
  11316. gconf-helpers.c & gconf-helpers.h
  11317. * New NMGConfWSO objects for managing the gconf side of things.
  11318. Eventually these should be merged with the
  11319. WirelessSecurityOption objects and a common base (that can
  11320. serialize/deserialize from dbus & gconf) should be
  11321. refactored out, but for now they are separate.
  11322. 2005-12-16 Robert Love <rml@novell.com>
  11323. * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
  11324. binaries unless they exist (nm_spawn_process() emits a warning if
  11325. asked to spawn a non-existant process).
  11326. 2005-12-16 Dan Williams <dcbw@redhat.com>
  11327. * gnome/applet/applet-dbus-info.c
  11328. - Clean up lots of gconf-related code
  11329. 2005-12-16 Robert Love <rml@novell.com>
  11330. * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
  11331. 2005-12-16 Dan Williams <dcbw@redhat.com>
  11332. * nm_device_set_enc_key -> nm_device_set_wep_enc_key
  11333. * Fix up NM -> NMI get-user-key dbus calls in NM (applet
  11334. bits still to be done)
  11335. 2005-12-16 Dan Williams <dcbw@redhat.com>
  11336. * Finally move info-daemon related stuff out of
  11337. NetworkManagerDbus.c to nm-dbus-nmi.c
  11338. 2005-12-16 Dan Williams <dcbw@redhat.com>
  11339. * Kill auth_method for access points, since that's now done
  11340. by NMAPSecurity objects
  11341. * Add a copy-constructor of sorts to NMAPSecurity
  11342. (how do you do this properly in glib???)
  11343. 2005-12-15 Dan Williams <dcbw@redhat.com>
  11344. * Exorcise encryption key hashing on APs
  11345. * Use libnm-util's serialization/deserialization in both the
  11346. applet and NM
  11347. * Random other stuff
  11348. 2005-12-15 Robert Love <rml@novell.com>
  11349. * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
  11350. is being added to the icon naming spec, so let's use that (Tango CVS
  11351. has the icon). Because it is new, however, we fall back to the
  11352. current "gnome-lockscreen" if the new icon is not around, thus
  11353. behavior is the same.
  11354. * gnome/applet/applet.c: Remove setup_stock(). We do not need the
  11355. factory junk.
  11356. 2005-12-15 Robert Love <rml@novell.com>
  11357. * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
  11358. well, help to give. Couple other misc. bits.
  11359. 2005-12-15 Dan Williams <dcbw@redhat.com>
  11360. * libnm-util/dbus-helpers.[ch]
  11361. - Make this the one-stop-shop for serializing/deserializing
  11362. AP & connection security settings over dbus. Both NM
  11363. and applets should use this to ensure consistent dbus
  11364. API going forwared.
  11365. 2005-12-15 Robert Love <rml@novell.com>
  11366. Patch by Timo Hoenig <thoenig@suse.de>:
  11367. * src/NetworkManagerDbus.c
  11368. - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
  11369. if HAL jumps off the system bus. Otherwise libdbus
  11370. (dbus_connection_dispatch) will try to run the filter
  11371. function of our libhal context which is already freed.
  11372. 2005-12-15 Alexander Shopov <ash@contact.bg>
  11373. * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
  11374. 2005-12-14 Dan Williams <dcbw@redhat.com>
  11375. * include/NetworkManager.h
  11376. src/NetworkManagerWireless.c
  11377. - Rearrange 802.11 wireless-specific capabilities again
  11378. * src/Makefile.am
  11379. - Forgot to add wpa.c/wpa.h to the makefiles
  11380. * src/NetworkManagerAP.[ch]
  11381. - Implement access point capabilities and parse the
  11382. WPA/RSN IEs into the capability bitfield
  11383. - Switch the "encrypted" attribute to utilize the bitfield
  11384. and capabilities rather than being independent
  11385. * src/NetworkManagerDevice.c
  11386. - (nm_device_wireless_get_activation_ap): break it horribly
  11387. until we can push NMAPSecurity objects into access point
  11388. objects and through the activation chain
  11389. - Stuff WPA & RSN IEs into AP capabilities
  11390. * src/nm-dbus-nm.c
  11391. - Take a shot at actually making setActiveDevice work
  11392. * src/wpa.[ch]
  11393. - Make the API a bit saner
  11394. 2005-12-14 Dan Williams <dcbw@redhat.com>
  11395. * include/NetworkManager.h
  11396. - Add 802.11-specific capability for 802.1x key
  11397. management
  11398. * src/wpa.[ch]
  11399. - Pull in WPA IE and RSN IE parsing code from
  11400. wpa_supplicant so we can determine access point
  11401. capabilities
  11402. - Move WPA-related constants here from NetworkManagerAP.h
  11403. and NetworkManagerDevice.c
  11404. * src/NetworkManagerDevice.c
  11405. src/NetworkManagerAP.[ch]
  11406. - Use WPA-related constants from wpa.h
  11407. 2005-12-14 Dan Williams <dcbw@redhat.com>
  11408. * include/NetworkManager.h
  11409. - Update and split 802.11 wireless-specific capabilities from
  11410. generic device capabilities
  11411. * src/NetworkManagerDevice.c
  11412. src/NetworkManagerDevicePrivate.h
  11413. - (nm_device_wireless_discover_capabilities): Move 802.11
  11414. wireless-specific capability checks to
  11415. NetworkManagerWireless.c
  11416. - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
  11417. - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
  11418. * src/NetworkManagerWireless.[ch]
  11419. - (nm_802_11_wireless_discover_capabilities): Check extended
  11420. 802.11 wireless-specific capabilities of the driver
  11421. 2005-12-14 Robert Love <rml@novell.com>
  11422. Patch from Stefan Scheler <sscheler@suse.de>:
  11423. * src/NetworkManagerDevice.c: call backend code to activate and
  11424. deactivate NIS.
  11425. * src/NetworkManagerSystem.h: add new NIS interfaces.
  11426. * src/backends/NetworkManagerDebian.c,
  11427. src/backends/NetworkManagerGentoo.c,
  11428. src/backends/NetworkManagerRedHat.c,
  11429. src/backends/NetworkManagerSlackware.c: add stub functions for NIS
  11430. support.
  11431. * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
  11432. 2005-12-14 Dan Williams <dcbw@redhat.com>
  11433. * src/nm-ap-security*.[ch]
  11434. - Add AP security abstractions to NetworkManager
  11435. * src/nm-dbus-device.c
  11436. - Begin to parse new format dbus messages from the applet
  11437. and construct an AP security object from the message
  11438. * libnm-util/dbus-helpers.c
  11439. - Use message iters so we can append the key as a fixed
  11440. array of bytes, which actually works rather than
  11441. using dbus_message_append_args() as we were before
  11442. 2005-12-14 Dan Williams <dcbw@redhat.com>
  11443. * src/NetworkManagerDbus.c
  11444. gnome/applet/applet-dbus.c
  11445. - Fix up dbus service replacement options. The applet
  11446. should allow replacement, NM itself should not.
  11447. 2005-12-13 Robert Love <rml@novell.com>
  11448. * src/named-manager/nm-named-manager.c: Revert earlier commit.
  11449. Instead, fail silently if config is NULL by not asserting and not
  11450. returning FALSE. Also, make sure we always fclose() the file.
  11451. 2005-12-13 Robert Love <rml@novell.com>
  11452. Patch by Stefan Scheler <sscheler@suse.de>:
  11453. * src/nm-ip4-config.h, src/nm-ip4-config.c,
  11454. src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
  11455. via DHCP. Still need the backends to commit the NIS domain name and
  11456. and servers to yp.conf as needed.
  11457. 2005-12-13 Robert Love <rml@novell.com>
  11458. * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
  11459. nm_vpn_manager_remove_connection() unless vpn is non-NULL.
  11460. 2005-12-13 Robert Love <rml@novell.com>
  11461. * src/named-manager/nm-named-manager.c: Don't unref the config until
  11462. after we call rewrite_resolv_conf(), because get_last_default_domain()
  11463. needs to access the config. Fixes "rewrite_resolv_conf: assertion
  11464. `config != NULL' failed" assertion failures and "Could not commit DNS
  11465. changes" warnings.
  11466. 2005-12-12 Dan Williams <dcbw@redhat.com>
  11467. * libnm-util/dbus-helpers.[ch]
  11468. libnm-util/Makefile.am
  11469. - new helper calls to consolidate locations where
  11470. NM's setDevice method is called
  11471. * gnome/applet/applet-dbus-devices.c
  11472. gnome/applet/wireless-security-option.c
  11473. gnome/applet/wso-*
  11474. - Implement dbus message param append function for
  11475. all wireless security options
  11476. 2005-12-12 Robert Love <rml@novell.com>
  11477. * libnm-util/cipher-wep-passphrase.c,
  11478. libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
  11479. src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
  11480. src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
  11481. all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
  11482. When handling keys, we don't care what the sign is. The compiler
  11483. guarantees us that we get our 8-bits, which is all we care about.
  11484. * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
  11485. 2005-12-12 Dan Williams <dcbw@redhat.com>
  11486. * gnome/applet/applet-dbus-devices.[ch]
  11487. gnome/applet/applet.c
  11488. gnome/applet/other-network-dialog.c
  11489. gnome/applet/wireless-security-manager.[ch]
  11490. gnome/applet/wireless-security-option.[ch]
  11491. gnome/applet/wso-*
  11492. - Push the wireless security options further into the applet
  11493. 2005-12-12 Robert Love <rml@novell.com>
  11494. * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
  11495. return any name servers. That is perfectly valid. (Novell #134369).
  11496. 2005-12-11 Dan Williams <dcbw@redhat.com>
  11497. * gnome/applet/wso-*
  11498. gnome/applet/wireless-security-option.*
  11499. gnome/applet/Makefile.am
  11500. - split each security option out so we can eventually
  11501. have each one build up their own dbus message
  11502. arguments to send to NM
  11503. 2005-12-11 Dan Williams <dcbw@redhat.com>
  11504. * Make validation of the key work correctly
  11505. 2005-12-11 Dan Williams <dcbw@redhat.com>
  11506. * Hook more bits of the Other Network Dialog up to the
  11507. wireless security manager stuff, and restructure
  11508. bits of the dialog so there's less code.
  11509. 2005-12-10 Dan Williams <dcbw@redhat.com>
  11510. * gnome/applet/Makefile.am
  11511. - Add libnm-util to includes
  11512. - Add libnm-util to link list
  11513. - Add wireless-security-common.* to compile list
  11514. * gnome/applet/other-network-dialog.c
  11515. - Convert to using the WirelessSecurityManager code and
  11516. widgets
  11517. * gnome/applet/passphrase-dialog.c
  11518. - Comment out references to stuff in the glade file that
  11519. cause runtime errors until it can be fixed up
  11520. to use the WirelessSecurityManager code
  11521. * gnome/applet/wireless-applet.glade
  11522. - Rename some widgets
  11523. - Add widgets for the WirelessSecurityManager code
  11524. - Remove passphrase-related stuff since that's now
  11525. handled by the WirelessSecurityManager code
  11526. 2005-12-10 Dan Williams <dcbw@redhat.com>
  11527. * gnome/applet/applet-dbus-devices.c
  11528. - Print out error message details for dbus pending call callbacks
  11529. - Move nmwa_dbus_update_devices() up
  11530. * gnome/applet/applet-dbus-vpn.c
  11531. - Print out error message details for dbus pending call callbacks
  11532. 2005-12-10 Dan Williams <dcbw@redhat.com>
  11533. * libnm-util/*
  11534. - More fixups
  11535. - Remove cipher-manager.* because we don't need it
  11536. - Forgot to add gnome-keyring-md5 files to compile list
  11537. 2005-12-09 Dan Williams <dcbw@redhat.com>
  11538. * libnm-util/*
  11539. configure.in
  11540. Makefile.am
  11541. - Add a utility library for clients of NetworkManager. It's
  11542. only targetted at applets for the moment, and contains
  11543. a generalized 802.11 cipher framework for different
  11544. types of keys (WEP & WPA Hex, ASCII, Passphrase)
  11545. 2005-12-09 Robert Love <rml@novell.com>
  11546. * src/NetworkManagerDevice.c: handle error better in
  11547. nm_device_set_mode().
  11548. 2005-12-08 Robert Love <rml@novell.com>
  11549. * include/NetworkManager.h: add WPA capabilities constants
  11550. * src/NetworkManagerDevice.c: detect if wireless devices support WPA
  11551. or WPA2 and add the capabilities bits as appropriate.
  11552. 2005-12-08 Robert Love <rml@novell.com>
  11553. * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
  11554. NetworkManagerDispatcher.
  11555. * configure.in, initscript/SUSE/.cvsignore,
  11556. initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
  11557. initscript.
  11558. 2005-12-08 Robert Love <rml@novell.com>
  11559. * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
  11560. 2005-12-08 Robert Love <rml@novell.com>
  11561. * src/NetworkManagerDevice.c: We want to fall back on and default to
  11562. IW_MODE_AUTO, not -1, which is more in line with our previous
  11563. behavior. Otherwise, we try to set the wireless mode to -1 in
  11564. nm_device_set_mode().
  11565. 2005-12-07 Robert Love <rml@novell.com>
  11566. * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
  11567. src/NetworkManagerAP.c, src/NetworkManagerAP.h,
  11568. src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
  11569. src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
  11570. src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
  11571. wireless-tools constants directly. UNKNOWN is now -1 and NONE is
  11572. zero.
  11573. 2005-12-07 Robert Love <rml@novell.com>
  11574. * src/backends/NetworkManagerSuSE.c: In static configurations, if the
  11575. supplied IP is invalid, fall back to DHCP.
  11576. 2005-12-07 Dan Williams <dcbw@redhat.com>
  11577. * Convert NETWORK_MODE_* constants to IW_MODE_*
  11578. * Make all the get_mode/set_mode functions take and return 'int'
  11579. * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
  11580. 2005-12-07 Robert Love <rml@novell.com>
  11581. * src/NetworkManagerDevice.c: strncpy() buffer check.
  11582. * src/NetworkManagerUtils.c: be anal about syslog() formatting.
  11583. 2005-12-06 Dan Williams <dcbw@redhat.com>
  11584. * gnome/applet/applet-dbus.c
  11585. - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
  11586. * gnome/applet/applet-dbus-vpn.c
  11587. - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
  11588. - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
  11589. to TRUE here if stage was ACTIVATED
  11590. 2005-12-06 Dan Williams <dcbw@redhat.com>
  11591. * Change nm_device_is_* functions to better names:
  11592. nm_device_is_wireless() -> nm_device_is_802_11_wireless()
  11593. nm_device_is_wired() -> nm_device_is_802_3_ethernet()
  11594. 2005-12-06 Dan Williams <dcbw@redhat.com>
  11595. * Change naming of NMDeviceType to something more sensible:
  11596. NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
  11597. NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
  11598. NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
  11599. 2005-12-06 Dan Williams <dcbw@redhat.com>
  11600. * Move NetworkManager.h -> include/NetworkManager.h
  11601. * Split out VPN stuff into include/NetworkManagerVPN.h
  11602. * Fix up makefiles to include new location
  11603. * Fix up sources to include NetworkManagerVPN.h
  11604. 2005-12-06 Dan Williams <dcbw@redhat.com>
  11605. Various changes in the applet to move VPN connection "state" -> "stage",
  11606. which it actually is. I'd like to change the signal as well when we
  11607. break compat in the near future.
  11608. 2005-12-06 Dan Williams <dcbw@redhat.com>
  11609. Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
  11610. * initscript/Slackware/rc.networkmanager
  11611. - Cosmetic fix
  11612. * src/backends/NetworkManagerSlackware.c
  11613. - Kill dhcpcd when starting so that dhclient can bind to DHCP on
  11614. interfaces
  11615. 2005-12-05 Robert Love <rml@novell.com>
  11616. * src/NetworkManager.c: don't call nm_data_free() when there is nothing
  11617. to free, particularly here as it just barfs.
  11618. 2005-12-05 Dan Williams <dcbw@redhat.com>
  11619. * gnome/applet/applet-dbus.c
  11620. - Work with dbus 0.6 too
  11621. 2005-12-03 Dan Williams <dcbw@redhat.com>
  11622. * src/NetworkManagerUtils.[ch]
  11623. src/nm-ip4-config.c
  11624. - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
  11625. - consolidate code into nm_utils_ip4_addr_to_nl_addr()
  11626. 2005-12-01 Robert Love <rml@novell.com>
  11627. * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
  11628. need a NULL for the '...' parameter, too, to fill the so-called
  11629. sentinel.
  11630. 2005-12-01 Robert Love <rml@novell.com>
  11631. * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
  11632. interface is already gone, so don't call rtnl_link_change() to down
  11633. it (which will segfault, anyhow).
  11634. 2005-11-22 Robert Love <rml@novell.com>
  11635. * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
  11636. gateway is not set, just print a little note. Configurations without
  11637. gateways are valid.
  11638. 2005-11-22 Robert Love <rml@novell.com>
  11639. * README: update
  11640. 2005-11-20 Ilkka Tuohela <hile@iki.fi>
  11641. * configure.in: Added Finnish translation to ALL_LINGUAS
  11642. 2005-11-14 Robert Love <rml@novell.com>
  11643. * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
  11644. Niemueller <tim@niemueller.de>.
  11645. 2005-11-08 Dan Williams <dcbw@redhat.com>
  11646. Patch from Bill Moss <bmoss@clemson.edu>
  11647. * src/NetworkManagerDevice.c
  11648. - (nm_device_activate_stage5_ip_config_commit): fix ordering
  11649. of nm_policy_schedule_activation_finish() to prevent a
  11650. race condition that causes the link to be dropped
  11651. 2005-11-08 Dan Williams <dcbw@redhat.com>
  11652. Patch from Bill Moss <bmoss@clemson.edu>
  11653. * src/NetworkManagerAPList.c
  11654. src/NetworkManagerDevice.c
  11655. src/NetworkManagerDbus.c
  11656. - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
  11657. we get more readable ether/mac addresses
  11658. 2005-11-02 Christopher Aillon <caillon@redhat.com>
  11659. * gnome/applet/main.c: Don't set the restart command. This fixes
  11660. the issue where the restart command was getting copies of all its
  11661. arguments for each time the applet was restarted.
  11662. 2005-11-02 Robert Love <rml@novell.com>
  11663. * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
  11664. if the widget state differs from our saved state. This ensures we
  11665. do not enter an endless loop of death and destruction. Also, this
  11666. guarantees us that we enforce the widget state.
  11667. 2005-11-02 Robert Love <rml@novell.com>
  11668. * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
  11669. * gnome/applet/applet-dbus-devices.c: invoke the new function
  11670. nmwa_enable_wireless_set_active() to ensure that the state of the
  11671. 'Enable Wireless' checkbox matches the daemon's state. This is a
  11672. concern because the daemon remembers the state.
  11673. 2005-11-02 Robert Love <rml@novell.com>
  11674. * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
  11675. Enabled", as checkboxes should be actions/commands not positive
  11676. statements, otherwise they are confusing in the unselected case. See
  11677. examples in GNOME HIG, Chapter 6.
  11678. 2005-11-02 Robert Love <rml@novell.com>
  11679. * gnome/applet/applet.c: When wireless is disabled, act it. Do not
  11680. show a list of wireless networks or the wireless devices or the
  11681. "Create Wireless ..." menus. Aside from this cosmetics, this fixes
  11682. a bad bug: If wireless is disabled and the user picks a wireless
  11683. network, NM will switch to the network, only to immediately switch
  11684. back, as wireless is disabled. This also reassures people that NM
  11685. is not scanning (it is not -- I verified). Fixes Novell bug #130041.
  11686. 2005-11-02 Christopher Aillon <caillon@redhat.com>
  11687. * gnome/applet/applet.c:
  11688. * gnome/applet/applet.h:
  11689. Partial backout of Dan's timeout animation patch.
  11690. Timeout IDs cannot legally be 0, so revert the code in place to handle
  11691. a timeout ID of 0 to denote the timeout isn't running.
  11692. 2005-11-02 Christopher Aillon <caillon@redhat.com>
  11693. * src/NetworkManagerPolicy.c:
  11694. (nm_policy_device_change_check) Clarify wireless switch nm_info text
  11695. 2005-10-28 Robert Love <rml@novell.com>
  11696. * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
  11697. "Import Saved Configuration..." to make it clear that importing is
  11698. not the next step, but an option. As an aside, a nice TODO would be
  11699. to move Importing out of the vpn-specific dialog and into the main
  11700. property editor, as Importing goes with Adding, but that will require
  11701. some rearchitecting of the VPN stuff I suspect.
  11702. 2005-10-27 Dan Williams <dcbw@redhat.com>
  11703. Start using libnl. You need 1.0-pre3 or higher. Eventually
  11704. we should replace most of the distro-specific backend code
  11705. with libnl stuff.
  11706. Get it here: http://people.suug.ch/~tgr/libnl/
  11707. * configure.in
  11708. src/Makefile.am
  11709. - Add checks for libnl pkgconfig file
  11710. - Use LIBNL_LIBS & LIBNL_CFLAGS
  11711. * src/NetworkManagerSystem.c
  11712. src/nm-ip4-config.[ch]
  11713. - Use libnl rather than ioctl() for most things
  11714. - Remove unused functions
  11715. 2005-10-27 Robert Love <rml@novell.com>
  11716. * src/backends/NetworkManagerSuSE.c: fix warning message text
  11717. 2005-10-27 Christopher Aillon <caillon@redhat.com>
  11718. * gnome/applet/applet.c: Use the copyright symbol instead of (C)
  11719. 2005-10-27 Christopher Aillon <caillon@redhat.com>
  11720. * gnome/applet/applet.c: The applet's about dialog can advertise our
  11721. project page <http://www.gnome.org/projects/NetworkManager/>
  11722. 2005-10-26 Christopher Aillon <caillon@redhat.com>
  11723. * gnome/applet.c: Also use translator credits if we don't have
  11724. the new GtkAboutDialog (older versions of GTK+)
  11725. 2005-10-26 Robert Love <rml@novell.com>
  11726. * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
  11727. failure; correct usage text for "--no-daemon"
  11728. 2005-10-25 Dan Williams <dcbw@redhat.com>
  11729. * src/NetworkManagerDevice.c
  11730. - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
  11731. no scan results
  11732. - (free_process_scan_cb_data): unref the device when freeing results
  11733. - (nm_device_wireless_process_scan_results): free scan results a bit later
  11734. so we don't unref the device underneath ourselves
  11735. 2005-10-25 Dan Williams <dcbw@redhat.com>
  11736. * Back out 2005-10-24 commit from Tor Krill. Patch
  11737. causes nameservers never to be removed from named.
  11738. 2005-10-24 Dan Williams <dcbw@redhat.com>
  11739. Clean up wireless scanning and wireless link probing.
  11740. * src/NetworkManagerDevice.c
  11741. - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
  11742. just see if there's an activation request on the device, and check the
  11743. current link against the activation request access point's ESSID.
  11744. - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
  11745. - (nm_device_wireless_process_scan_results): actually free our scan data, and
  11746. don't call process_scan_results() on zero-length data
  11747. - (nm_device_set_wireless_scan_interval): increase the init scan interval to
  11748. 15 seconds (from 10)
  11749. 2005-10-24 Dan Williams <dcbw@redhat.com>
  11750. Cleanup some applet stuff:
  11751. - Animation timeouts. If NM died while the applet was animating,
  11752. the applet would not hide itself. This is now fixed.
  11753. - Remove some dead code
  11754. - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
  11755. to nmi_passphrase_dialog_cancel() since we no longer use threads.
  11756. - Track animation timeout using a gboolean rather than the timeout's
  11757. ID, since timeout IDs can legally be 0.
  11758. 2005-10-24 Dan Williams <dcbw@redhat.com>
  11759. * src/backends/interface_parser.c
  11760. - Add void to function declarations that need it
  11761. to match patch from Engin AYDOGAN
  11762. * src/backends/interface_parser.h
  11763. - Remove unused prototype for ifparser_interfaces()
  11764. Patch from Engin AYDOGAN <engin@bzzzt.biz>
  11765. * src/backends/interface_parser.h:
  11766. - Compile fixes for gcc 4.0.2 (add void)
  11767. 2005-10-24 Dan Williams <dcbw@redhat.com>
  11768. Patch from Tor Krill <tor@krill.nu>
  11769. * src/named-manager/nm-named-manager.c
  11770. - Write more than just the first nameserver to /etc/resolv.conf
  11771. - Write out valid /etc/resolv.conf on exit
  11772. 2005-10-21 Christopher Aillon <caillon@redhat.com>
  11773. * gnome/applet/applet-dbus-vpn.c:
  11774. Get rid of spurious newlines in debug console output
  11775. 2005-10-21 Christopher Aillon <caillon@redhat.com>
  11776. * src/backends/NetworkManagerGentoo.c:
  11777. Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
  11778. 2005-10-20 Robert Love <rml@novell.com>
  11779. * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
  11780. direct comparison of floating point values, which is never correct.
  11781. Also some misc. cleanup.
  11782. 2005-10-19 Robert Love <rml@novell.com>
  11783. * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
  11784. 2005-10-19 Robert Love <rml@novell.com>
  11785. * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
  11786. sensitivity of the buttons. Specificaly, do the right thing if
  11787. there are no entries.
  11788. 2005-10-19 Christopher Aillon <caillon@redhat.com>
  11789. * configure.in: Update check for adequate wireless-tools
  11790. with an AC_TRY_COMPILE for the new symbols we use.
  11791. 2005-10-19 Dan Williams <dcbw@redhat.com>
  11792. * src/NetworkManagerDevice.c
  11793. - (process_scan_results): don't drop the last (or only)
  11794. access point we see
  11795. 2005-10-19 Christopher Aillon <caillon@redhat.com>
  11796. * src/backends/NetworkManagerSlackware.c:
  11797. Patch from Nico <lordllucifer@gmail.com>
  11798. - Update the Slackware backend.
  11799. 2005-10-18 Christopher Aillon <caillon@redhat.com>
  11800. * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
  11801. if we've got GLib 2.8.0
  11802. 2005-10-18 Robert Love <rml@novell.com>
  11803. * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
  11804. function nm_schedule_state_change_signal_broadcast() when we
  11805. deactivate a device, too.
  11806. 2005-10-18 Robert Love <rml@novell.com>
  11807. * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
  11808. be used uninitialized.
  11809. 2005-10-18 Christopher Aillon <caillon@redhat.com>
  11810. * test/libnm_glib_test.c: Test unregistering, too.
  11811. 2005-10-17 Christopher Aillon <caillon@redhat.com>
  11812. * configure.in: Bump to 0.5.0
  11813. 2005-10-17 Dan Williams <dcbw@redhat.com>
  11814. * NetworkManager.h
  11815. - Remove WPA-related constants so they aren't part of the
  11816. upcoming release.
  11817. 2005-10-17 Christopher Aillon <caillon@redhat.com>
  11818. * gnome/applet/applet.c:
  11819. * gnome/applet/applet.h:
  11820. Desensitize the 'Connection Information' menu item when there is
  11821. no active connection.
  11822. 2005-10-17 Christopher Aillon <caillon@redhat.com>
  11823. * gnome/libnm_glib/libnm_glib.c:
  11824. Make libnm_glib_unregister_callback () actually unregister the callback
  11825. 2005-10-17 Robert Love <rml@novell.com>
  11826. * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
  11827. two seconds -- tries is updated every 1/10 of a second, not every
  11828. second..
  11829. 2005-10-17 Christopher Aillon <caillon@redhat.com>
  11830. * gnome/applet/applet-dbus-info.c:
  11831. Let D-BUS know that we haven't handled a message when we haven't.
  11832. 2005-10-17 Robert Love <rml@novell.com>
  11833. * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
  11834. in order to remain 64-bit clean.
  11835. 2005-10-17 Christopher Aillon <caillon@redhat.com>
  11836. * gnome/applet/applet-dbus-info.c:
  11837. Find network encryption keys asynchronously
  11838. 2005-10-17 Robert Love <rml@novell.com>
  11839. * src/backends/NetworkManagerDebian.c,
  11840. src/backends/NetworkManagerRedHat,
  11841. src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
  11842. comment delimiter.
  11843. 2005-10-17 Robert Love <rml@novell.com>
  11844. * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
  11845. "/etc"
  11846. 2005-10-17 Christopher Aillon <caillon@redhat.com>
  11847. * src/NetworkManagerDevice.c: (process_scan_results)
  11848. Fix logic that checks to see whether we have an ESSID.
  11849. 2005-10-15 Dan Williams <dcbw@redhat.com>
  11850. Move scanning code into NetworkManager rather than use iwlib's
  11851. iw_scan() function, so that we can figure out AP capabilities.
  11852. * NetworkManager.h
  11853. - Add AP capability bits
  11854. * src/NetworkManagerAP.[ch]
  11855. - Add capability field to NMAccessPoint structure
  11856. - Add WPA & RSN Information Element fields and accessor
  11857. functions to NMAccessPoint
  11858. * src/NetworkManagerDevice.c
  11859. - Remove usage of iw_scan
  11860. - Add scanning code to NetworkManager rather than use
  11861. iw_scan() from iwlib
  11862. * src/NetworkManagerUtils.[ch]
  11863. - (nm_dispose_scan_results): remove, unused
  11864. 2005-10-14 Christopher Aillon <caillon@redhat.com>
  11865. * gnome/libnm_glib/libnm_glib.c:
  11866. * gnome/libnm_glib/libnm_glib.h:
  11867. Use guint instead of gint for callback IDs.
  11868. 2005-10-12 Christopher Aillon <caillon@redhat.com>
  11869. * gnome/applet/applet.c:
  11870. Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
  11871. every 1000ms. It will unconditionally call nmwa_update_state which
  11872. kills the existing animation timeout and registers a new one with a
  11873. callback to draw a new frame every 100ms. There are 11 connecting
  11874. icon frames, so the last 2 frames kept getting dropped. Only reset
  11875. the animation timeout if we aren't animating.
  11876. 2005-10-11 Dan Williams <dcbw@redhat.com>
  11877. * gnome/applet/applet-dbus-devices.c
  11878. - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
  11879. We want to grab the product & vendor from net.physical_dev
  11880. rather than info.parent.
  11881. 2005-10-11 Dan Williams <dcbw@redhat.com>
  11882. * src/NetworkManagerDevice.c
  11883. - Use the driver's WE version for scanning rather than
  11884. the WE version NM was compiled with. Fixes random
  11885. crashes in iw_scan () in iwlib.
  11886. 2005-10-10 Dan Williams <dcbw@redhat.com>
  11887. * Remove nm_system_load_device_modules() from backend files
  11888. and from NetworkManager.c
  11889. 2005-10-10 Dan Williams <dcbw@redhat.com>
  11890. * src/NetworkManagerPolicy.c
  11891. - Fix some bugs introduced by the capabilities patch
  11892. 2005-10-10 Dan Williams <dcbw@redhat.com>
  11893. * gnome/applet/applet-dbus-info.c
  11894. - (nmi_dbus_get_network_key): hide the menu when putting up
  11895. the keyring dialog. (not sure if the code is right...)
  11896. 2005-10-09 Dan Williams <dcbw@redhat.com>
  11897. Patch from Bill Moss <bmoss@clemson.edu>
  11898. * src/NetworkManagerDevice.c
  11899. - (nm_device_set_user_key_for_network): don't try to set auth
  11900. mode on the AP from the allowed list if it's NULL
  11901. 2005-10-09 Dan Williams <dcbw@redhat.com>
  11902. * Replace the "driver support level" stuff with capabilities. The
  11903. capability field is a bitfield that is more flexible than the
  11904. old driver support level thing. It's mostly so we can easily
  11905. figure out what supports WPA and what doesn't, but should be
  11906. quite useful later.
  11907. 2005-10-09 Dan Williams <dcbw@redhat.com>
  11908. * test/nmtest.c
  11909. - Removed
  11910. * test/nm-tool.c
  11911. test/Makefile.am
  11912. - Added new "nm-tool" tool that gives quite a bit more
  11913. information
  11914. 2005-10-07 Robert Love <rml@novell.com>
  11915. * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
  11916. gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
  11917. src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
  11918. test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
  11919. appropriate
  11920. 2005-10-07 Robert Love <rml@novell.com>
  11921. * configure.in: Change our compile flags for the betterment of mankind.
  11922. Add "-Wstrict-prototypes" because we comply anyhow and missing a
  11923. prototype is very bad on 64-bit platforms as types default to int but
  11924. sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
  11925. "-Wmissing-declarations" to warn if we define an exported function
  11926. but fail to put it in a header.
  11927. 2005-10-07 Robert Love <rml@novell.com>
  11928. * src/NetworkManagerWireless.c: remove stale, unused function, who goes
  11929. by the name nm_update_device_wireless_timeouts() and once tried,
  11930. without success, to steal my pet turtle.
  11931. 2005-10-07 Robert Love <rml@novell.com>
  11932. * Cleanup prototypes: put some functions in header files and mark
  11933. others as 'static' -- feel free to invert
  11934. * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
  11935. nm_vpn_manager_vpn_connection_list_copy()
  11936. * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
  11937. nm_vpn_service_get_dbus_connection()
  11938. * src/vpn-manager/nm-vpn-manager.h: add prototypes for
  11939. nm_vpn_manager_vpn_connection_list_copy()
  11940. * src/vpn-manager/nm-vpn-service.c: make
  11941. nm_vpn_service_act_request_failed() and
  11942. nm_vpn_service_stage2_daemon_wait() static
  11943. * src/vpn-manager/nm-vpn-service.h: add prototype for
  11944. nm_vpn_service_get_dbus_connection()
  11945. 2005-10-06 Christopher Aillon <caillon@redhat.com>
  11946. * gnome/applet/applet.c:
  11947. * gnome/applet/applet.h:
  11948. * gnome/applet/icons/Makefile.am:
  11949. Convey information about the current connection stage in the
  11950. icons themselves instead of creating a separate progress bar.
  11951. 2005-10-04 Robert Love <rml@novell.com>
  11952. * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
  11953. convert an ether_addr structure's MAC into a string, because the
  11954. latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
  11955. versus 07:3B:04, while the former will not.
  11956. 2005-10-04 Robert Love <rml@novell.com>
  11957. * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
  11958. gnome/applet/nm-device.c, gnome/applet/nm-device.h,
  11959. gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
  11960. default route in the 'Connection Information' dialog, send primary
  11961. and secondary name servers in in "getProperties" DBUS method, add
  11962. network_device_{get,set}_{primary,secondary}_dns(), The primary and
  11963. secondary domain name servers are crucial pieces of information
  11964. that a user might need in debugging a network problem.
  11965. 2005-10-04 Robert Love <rml@novell.com>
  11966. * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
  11967. gnome/applet/nm-device.c, gnome/applet/nm-device.h,
  11968. gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
  11969. default route in the 'Connection Information' dialog, send default
  11970. route in "getProperties" DBUS method, add network_device_set_route(),
  11971. and network_device_get_route(). The Gateway is a crucial piece of
  11972. connection-related information that a user might need in debugging a
  11973. network problem.
  11974. 2005-10-03 Robert Love <rml@novell.com>
  11975. * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
  11976. NULL.
  11977. 2005-10-02 Dan Williams <dcbw@redhat.com>
  11978. * Shorten time taken to sleep by fastpathing bits of device deactivation
  11979. necessary for sleep.
  11980. * Fix issue where deactivating a device might deactivate the active
  11981. VPN connection, even if the VPN was not using the device.
  11982. 2005-10-02 Dan Williams <dcbw@redhat.com>
  11983. * gnome/applet/applet.c
  11984. - Adjust signal strength -> icon mapping values slightly
  11985. (so that 51% signal doesn't show a 75% icon) by adding
  11986. 5% to the values. ex: > 5% now shows 25% icon, > 30%
  11987. shows 50% icon, etc.
  11988. 2005-09-29 Robert Love <rml@novell.com>
  11989. * src/NetworkManager.c: removed unused variable.
  11990. 2005-09-28 Dan Williams <dcbw@redhat.com>
  11991. Support for named + DBus, using Red Hat DBus patches for named. You
  11992. can find those patches here, with "dbus" in the patch's filename:
  11993. http://cvs.fedora.redhat.com/viewcvs/devel/bind/
  11994. Don't forget the named dbus service file either.
  11995. Instead of writing a config file and spawing a named process, NM will
  11996. use an already-running dbus-enabled named if it finds one. NM will
  11997. update named's forwarder configuration on the fly using dbus.
  11998. If there is no dbus-enabled named running, NM will automatically fall
  11999. back to writing the most-recent DNS server information to /etc/resolv.conf
  12000. and calling nm_system_update_dns() to kick the system's resolver.
  12001. Accordingly, all named-related configure-time options have been removed.
  12002. 2005-09-26 Robert Love <rml@novell.com>
  12003. * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
  12004. ISDN support!
  12005. * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
  12006. bug in error path if "ASKPASSWORD" is "no".
  12007. 2005-09-26 Robert Love <rml@novell.com>
  12008. * src/named-manager/nm-named-manager.c: only '#' is officially a valid
  12009. comment in /etc/resolv.conf -- ';' is not.
  12010. 2005-09-19 Dan Williams <dcbw@redhat.com>
  12011. * src/backends/NetworkManagerRedHat.c:
  12012. * src/backends/NetworkManagerDebian.c:
  12013. * src/backends/NetworkManagerSlackware.c:
  12014. * src/backends/NetworkManagerGentoo.c:
  12015. * src/backends/NetworkManagerSUSE.c:
  12016. Fix invocations of "/sbin/ip address" to use short form instead
  12017. 2005-09-19 Christopher Aillon <caillon@redhat.com>
  12018. * src/nm-dbus-device.c: Don't assert when getting
  12019. addresses of a not yet connected interface.
  12020. * gnome/applet/applet.c: Free icons if loading fails.
  12021. Use translator-credits so translators can make themselves known.
  12022. 2005-09-15 Christopher Aillon <caillon@redhat.com>
  12023. * src/NetworkManagerAP.c:
  12024. * src/NetworkManagerAP.h:
  12025. * src/NetworkManagerDevice.c:
  12026. Set a blacklist for certain common manufacturer default ESSIDs:
  12027. APs with these ESSIDs are extremely likely to be completely
  12028. different networks: connecting to one should not make NM
  12029. auto-connect to every other AP with the same default ESSID.
  12030. 2005-09-12 Christopher Aillon <caillon@redhat.com>
  12031. * gnome/applet/wireless-applet.glade:
  12032. The passphrase entry should also activate the default
  12033. * src/gnome-keyring-md5.c: Updated code from gnome-keyring
  12034. * gnome/applet/applet-dbus-devices.c:
  12035. * gnome/applet/applet.c:
  12036. * gnome/applet/nm-device.c:
  12037. * gnome/applet/nm-device.h:
  12038. * src/NetworkManagerUtils.c:
  12039. * src/NetworkManagerUtils.h:
  12040. * src/nm-dbus-device.c:
  12041. I've got a fever, and the only cure for it is less ioctl.
  12042. Make NM push IP data rather than make the applet open a socket
  12043. to the device.
  12044. 2005-09-10 Christopher Aillon <caillon@redhat.com>
  12045. * gnome/applet/applet.c:
  12046. * gnome/applet/applet-dbus-devices.c:
  12047. * gnome/applet/applet-dbus-info.c:
  12048. * gnome/applet/passphrase-dialog.c:
  12049. * gnome/libnm_glib/libnm_glib.c:
  12050. * gnome/vpn-properties/nm-vpn-properties.c:
  12051. * src/autoip.c:
  12052. * src/backends/NetworkManagerRedHat.c:
  12053. * src/named-manager/nm-named-manager.c:
  12054. * src/NetworkManagerAPList.c:
  12055. * src/NetworkManager.c:
  12056. * src/NetworkManagerDbus.c:
  12057. * src/NetworkManagerDevice.c:
  12058. * src/NetworkManagerPolicy.c:
  12059. * src/NetworkManagerSystem.c:
  12060. * src/nm-dbus-device.c:
  12061. * src/nm-dbus-nm.c:
  12062. * src/vpn-manager/nm-vpn-manager.c:
  12063. * src/vpn-manager/nm-vpn-service.c:
  12064. * test/libnm_glib_test.c:
  12065. * test/nminfotest.c:
  12066. * test/nmtestdevices.c:
  12067. Fix a bunch of 'unused variable' compiler warnings
  12068. * NetworkManager.h:
  12069. * gnome/applet/applet-dbus-info.c:
  12070. * gnome/applet/applet-dbus-info.h:
  12071. * gnome/applet/applet.c:
  12072. * gnome/applet/applet.h:
  12073. * src/NetworkManager.c:
  12074. * src/NetworkManagerDbus.c:
  12075. * src/NetworkManagerDbus.h:
  12076. * src/NetworkManagerDevice.c:
  12077. * src/NetworkManagerDevice.h:
  12078. * src/NetworkManagerMain.h:
  12079. * src/NetworkManagerWireless.c:
  12080. * src/NetworkManagerWireless.h:
  12081. * src/nm-dbus-nm.c:
  12082. Make NetworkManager be smart about how frequently to scan
  12083. based on its current state. Remove the UI for choosing when
  12084. to scan. Scanning still may disabled completely by the user
  12085. via the "Wireless Enabled" menu item.
  12086. 2005-09-09 Christopher Aillon <caillon@redhat.com>
  12087. * gnome/applet/applet.c:
  12088. Also overlay the vpn connecting icons onto the wired icon,
  12089. when appropriate.
  12090. * gnome/vpn-properties/nm-vpn-properties.glade:
  12091. Clean up a few strings to use better grammar and proper casing.
  12092. 2005-09-08 Christopher Aillon <caillon@redhat.com>
  12093. * gnome/applet/vpn-connection.c:
  12094. * gnome/applet/vpn-connection.h:
  12095. Add nmwa_vpn_connection_is_activating ()
  12096. * gnome/applet/applet.c:
  12097. * gnome/applet/applet.h:
  12098. * gnome/applet/icons/nm-vpn-connecting*.png:
  12099. Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
  12100. the user know something's happening between clicking the VPN item and it
  12101. actually being connected.
  12102. 2005-09-07 Christopher Aillon <caillon@redhat.com>
  12103. * gnome/applet/applet-dbus-info.c: need to free attributes in the
  12104. failure case as well.
  12105. 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
  12106. * gnome/panel/eggtrayicon.[ch]:
  12107. * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
  12108. 2005-09-07 Dan Williams <dcbw@redhat.com>
  12109. Patch from Bill Moss <bmoss@clemson.edu>
  12110. * src/applet-dbus.c
  12111. - (nmwa_dbus_filter): strip whitespace from beginning
  12112. and end of VPN login banner
  12113. 2005-09-07 Dan Williams <dcbw@redhat.com>
  12114. * The great VPN Manager rewrite of 2005
  12115. 2005-09-07 Christopher Aillon <caillon@redhat.com>
  12116. * gnome/applet/menu-items.c:
  12117. * gnome/applet/nm-device.c:
  12118. * gnome/applet/wireless-network.c:
  12119. * gnome/libnm_glib/libnm_glib.c:
  12120. * src/NetworkManagerDbusUtils.c:
  12121. * vpn-daemons/vpnc/src/nm-vpnc-service.c:
  12122. g_malloc0 doesn't return NULL
  12123. 2005-09-06 Dan Williams <dcbw@redhat.com>
  12124. Patch from Tomislav Vujec <tvujec@redhat.com>
  12125. * src/NetworkManagerDevice.c
  12126. - (nm_get_device_by_udi): don't return a device when we
  12127. actually didn't find what we were looking for
  12128. 2005-09-06 Christopher Aillon <caillon@redhat.com>
  12129. * gnome/applet/applet-dbus-devices.c:
  12130. * gnome/applet/applet-dbus-devices.h:
  12131. * gnome/applet/applet-dbus.c:
  12132. * src/NetworkManagerDbus.c:
  12133. * src/NetworkManagerDbus.h:
  12134. * src/NetworkManagerDevice.c:
  12135. * src/nm-dbus-device.c:
  12136. Make NM push updates about active device strength when it changes,
  12137. rather than having the applet poll every 2s.
  12138. 2005-09-05 Christopher Aillon <caillon@redhat.com>
  12139. * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
  12140. network_device_set_strength
  12141. 2005-09-04 Dan Williams <dcbw@redhat.com>
  12142. Patch from Bill Nottingham <notting@redhat.com>
  12143. * src/NetworkManagerDevice.c
  12144. - (nm_device_activation_cancel): reset the quit_activation flag
  12145. 2005-09-04 Dan Williams <dcbw@redhat.com>
  12146. * src/nm-activation-request.c
  12147. - (nm_act_request_unref): actually free the structure,
  12148. which we didn't seem to be doing before
  12149. 2005-09-04 Dan Williams <dcbw@redhat.com>
  12150. Patch from John Palmieri <johnp@redhat.com>
  12151. * gnome/applet/applet-dbus-devices.c
  12152. - Fix up unreffing of DBusMessage objects
  12153. 2005-09-04 Dan Williams <dcbw@redhat.com>
  12154. Patch from John Palmieri <johnp@redhat.com>
  12155. * gnome/applet/nm-device.c
  12156. - (nm_device_unref): clear network_device's memory _before_ freeing it
  12157. 2005-09-02 Christopher Aillon <caillon@redhat.com>
  12158. * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
  12159. 2005-09-02 Bill Nottingham <notting@redhat.com>
  12160. * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
  12161. 2005-09-01 Dan Williams <dcbw@redhat.com>
  12162. * src/NetworkManager.c
  12163. - (nm_remove_device_from_list): rename to nm_remove_device
  12164. - (nm_hal_device_removed): call nm_remove_device()
  12165. * src/NetworkManagerDevice.c
  12166. - Change the NMWirelessScanCB member 'reschedule' which
  12167. wasn't used to 'force' to indicate that we need to
  12168. force a scan when adding a device
  12169. * src/nm-dbus-nm.c
  12170. - (nm_dbus_nm_sleep): Deactivate all devices and remove them
  12171. from the device list
  12172. - (nm_dbus_nm_wake): Re-add all devices to the device list
  12173. 2005-09-01 Robert Love <rml@novell.com>
  12174. * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
  12175. and the check "!iface" in the error case is probably never true.
  12176. 2005-09-01 Dan Williams <dcbw@redhat.com>
  12177. Patch from Bill Nottingham <notting@redhat.com>
  12178. * src/backends/NetworkManagerRedHat.c
  12179. - Add initial dialup support to Red Hat/Fedora backend
  12180. 2005-09-01 Dan Williams <dcbw@redhat.com>
  12181. * gnome/applet/applet-dbus-devices.c
  12182. - Sort both wireless networks and devices again, which got
  12183. broken when removing threading
  12184. 2005-09-01 Christopher Aillon <caillon@redhat.com>
  12185. * gnome/applet/applet.c:
  12186. Only show the "Stop/Start All Wireless Devices" menuitem
  12187. if we actually have wireless devices.
  12188. * gnome/applet/applet-dbus-info.c:
  12189. * gnome/applet/applet.c:
  12190. * gnome/applet/other-network-dialog.c:
  12191. * gnome/applet/vpn-password-dialog.c:
  12192. Drop the gtk_dialog_run () calls in favor of connecting to
  12193. "response" signals, needed now that the applet is not threaded.
  12194. 2005-08-31 Dan Williams <dcbw@redhat.com>
  12195. Patch from Bill Moss <bmoss@clemson.edu>
  12196. * src/NetworkManagerDevice.c
  12197. - (nm_device_wireless_scan): fix scan timeout values
  12198. 2005-08-30 Dan Williams <dcbw@redhat.com>
  12199. * gnome/applet/wireless-applet.glade
  12200. - HIG-ify the Other Wireless Networks dialog a bit more
  12201. - Fix some potential segfaults in the info dialog
  12202. 2005-08-30 Dan Williams <dcbw@redhat.com>
  12203. * gnome/applet/applet-dbus-devices.c
  12204. - Remove nmwa_dbus_get_hal_device_string_property(); unused
  12205. 2005-08-30 Dan Williams <dcbw@redhat.com>
  12206. * gnome/applet/applet-dbus.[ch]
  12207. - Remove all the nmwa_dbus_call_method_xxxx functions since
  12208. they weren't being used anyway
  12209. 2005-08-30 Bastien Nocera <hadess@hadess.net>
  12210. * test/nmtestdevices.c: (print_usage), (main):
  12211. Check the number of arguments, and fix a typo
  12212. 2005-08-29 Dan Williams <dcbw@redhat.com>
  12213. Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
  12214. * gnome/applet/applet.c
  12215. - Define GTK_STOCK_INFO for GTK 2.6 and lower
  12216. 2005-08-29 Dan Williams <dcbw@redhat.com>
  12217. * gnome/applet/*
  12218. - Don't use threads any more. Anything that blocks
  12219. (like gtk_dialog_run()) will have to get fixed up which
  12220. should happen quickly. We really only had threads to make
  12221. the animation smooth, and when everything got converted over
  12222. to DBus Pending Calls, the need for threads kind of went away
  12223. 2005-08-29 Christopher Aillon <caillon@redhat.com>
  12224. * gnome/applet/applet.c: Draw VPN connections as radio items
  12225. since we don't yet support multiple VPNs.
  12226. * gnome/applet/other-network-dialog.c: Use stock icon for Connect
  12227. * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
  12228. 2005-08-29 Dan Williams <dcbw@redhat.com>
  12229. Patch from j@bootlab.org
  12230. - Make --without-named work
  12231. - Make --with-dhcdbd work correctly
  12232. 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
  12233. * configure.in: Added "ca" to ALL_LINGUAS.
  12234. 2005-08-26 Christopher Aillon <caillon@redhat.com>
  12235. * Fix up VPN state handling between the applet and NetworkManager,
  12236. so that the applet doesn't show a VPN as connected when one
  12237. really is not
  12238. - The applet no longer has a pointer to the active VPN's
  12239. name, but tracks each VPNs state individually
  12240. - NM no longer has a "getActiveVPNConnection" method
  12241. - NM no longer broadcasts the "VPNConnectionChange" signal
  12242. - NM now broadcasts a "VPNConnectionStateChange" signal
  12243. whenever the state of a VPN changes
  12244. 2005-08-26 Dan Williams <dcbw@redhat.com>
  12245. * gnome/applet/applet-dbus-devices.c
  12246. gnome/applet/applet-dbus-vpn.c
  12247. - Remove calls to dbus_pending_call_ref() because we already
  12248. "own" the pending call
  12249. - Remove calls to dbus_pending_call_get_completed() because
  12250. when we are in the callback, the pending call is completed
  12251. by definition
  12252. 2005-08-22 Dan Williams <dcbw@redhat.com>
  12253. Patch by Bill Moss <bmoss@clemson.edu>
  12254. * src/dhcp-manager/nm-dhcp-manager.c
  12255. - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
  12256. some time to send out a RELEASE if they like
  12257. 2005-08-22 Dan Williams <dcbw@redhat.com>
  12258. Noticed by Bill Moss <bmoss@clemson.edu>
  12259. * src/NetworkManagerDbus.c
  12260. - (nm_dbus_get_user_key_for_network_cb): deactivate the device
  12261. instead of just cancelling its activation
  12262. * src/NetworkManagerDevice.c
  12263. - (nm_device_deactivate): some small cleanups
  12264. - (nm_device_set_user_key_for_network): deactivate the device
  12265. instead of just cancelling its activation
  12266. 2005-08-22 Dan Williams <dcbw@redhat.com>
  12267. Noticed by Bill Moss <bmoss@clemson.edu>
  12268. * src/NetworkManagerDevice.c
  12269. - (nm_device_wireless_scan): fix scan timeout, we were
  12270. waiting way too long for scans to complete
  12271. 2005-08-22 Dan Williams <dcbw@redhat.com>
  12272. Patch from j@bootlab.org:
  12273. * src/backends/NetworkManagerDebian.c
  12274. - Make the Debian backend work for static IP again
  12275. 2005-08-20 Christopher Aillon <caillon@redhat.com>
  12276. * gnome/applet/other-network-dialog.c:
  12277. The "Create New Network" and "Connect to Other Network"
  12278. dialogs share alot of code, but shouldn't share a window
  12279. title. Give them different ones.
  12280. * gnome/applet/wireless-applet.glade:
  12281. * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
  12282. Some more minor UI tweaks.
  12283. 2005-08-19 Christopher Aillon <caillon@redhat.com>
  12284. * gnome/applet/other-network-dialog.c:
  12285. * gnome/applet/wireless-applet.glade:
  12286. Also need mnemonic widgets, and underline enabled.
  12287. 2005-08-19 Dan Williams <dcbw@redhat.com>
  12288. * vpn-daemons/vpnc/nm-vpnc-service.c
  12289. - (vpnc_watch_cb): remove no-longer-relevant comment
  12290. - (write_config_option): new function, helper to write
  12291. config options to vpnc's stdin
  12292. - (nm_vpnc_config_write): use the new helper, make the
  12293. code shorter
  12294. 2005-08-19 Christopher Aillon <caillon@redhat.com>
  12295. * gnome/applet/passphrase-dialog.c:
  12296. * gnome/applet/wireless-applet.glade:
  12297. Make the passphrase dialog response based, and treat
  12298. responses other than OK (such as Esc, [X]) as a cancel.
  12299. 2005-08-18 Christopher Aillon <caillon@redhat.com>
  12300. * initscript/Gentoo/NetworkManager:
  12301. * initscript/RedHat/NetworkManager:
  12302. * initscript/RedHat/NetworkManagerDispatcher:
  12303. * initscript/SUSE/networkmanager:
  12304. CVS remove these in place of .in replacements
  12305. * configure.in:
  12306. * initscript/Gentoo/NetworkManager.in:
  12307. * initscript/RedHat/NetworkManager.in:
  12308. * initscript/RedHat/NetworkManagerDispatcher.in:
  12309. * initscript/SUSE/networkmanager.in:
  12310. These scripts now are generated so they work still when
  12311. NM is built using a bindir other than /usr/bin
  12312. 2005-08-18 Dan Williams <dcbw@redhat.com>
  12313. * gnome/applet/main.c
  12314. - Revert previous change for --no-session since
  12315. --sm-disable does the same thing
  12316. 2005-08-18 Dan Williams <dcbw@redhat.com>
  12317. * gnome/applet/applet-dbus-info.c
  12318. - (nmi_dbus_create_error_message): new function
  12319. - (nmi_dbus_get_key_for_network): correctly use dbus error creation
  12320. functions. Also don't check for both device _and_ network before
  12321. asking for a user's key, because we may not have gotten all our
  12322. networks back from NM quite yet (due to the dbus pending calls
  12323. coming in later). Fixes a hang in NM/nm-applet.
  12324. * src/NetworkManagerDbus.c
  12325. - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
  12326. slightly more sane manner, even though we are still broken for
  12327. certain other error conditions.
  12328. - (nm_dbus_get_user_key_for_network): need to pass the network's essid
  12329. to the info-daemon too
  12330. * src/NetworkManagerDevice.c
  12331. - Fix some debug messages to be info messages instead
  12332. 2005-08-18 Dan Williams <dcbw@redhat.com>
  12333. * gnome/applet/main.c
  12334. - Add new "--no-session" parameter that disables applet
  12335. session management, ie for testing
  12336. 2005-08-18 Christopher Aillon <caillon@redhat.com>
  12337. * gnome/applet/other-network-dialog.c:
  12338. * gnome/applet/wireless-applet.glade: More mnemonics
  12339. 2005-08-17 Robert Love <rml@novell.com>
  12340. * initscript/SUSE/networkmanager: update
  12341. 2005-08-17 Dan Williams <dcbw@redhat.com>
  12342. * Tag NM_0_4_1_RELEASE
  12343. 2005-08-17 Christopher Aillon <caillon@redhat.com>
  12344. * gnome/applet/applet.c: More translatable string cleanup
  12345. 2005-08-17 Dan Williams <dcbw@redhat.com>
  12346. * gnome/applet/applet-dbus-info.c
  12347. - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
  12348. from the dbus message, which tells us to unconditionally
  12349. ask the user for a new key. Otherwise, we pull the key from
  12350. the keyring and return it. If we fail to get the key from the
  12351. keyring, we ask the user for a new key.
  12352. - (nmi_dbus_get_network_key): new function to grab the key for
  12353. an essid from the keyring.
  12354. - (nmi_dbus_get_network_properties): don't access the keyring here.
  12355. Also, don't return any key in the dbus message.
  12356. * src/NetworkManagerDbus.[ch]
  12357. - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
  12358. indicate that we unconditionally want a new key. This function
  12359. is now also used to get keys from the info-daemon which are
  12360. pre-stored, not just for asking the user for a new key. The
  12361. "new_key" parameter indicates whether or not we wish to ask the
  12362. user for a new key.
  12363. - (nm_dbus_get_network_data_cb): we no longer get a key from the
  12364. info-daemon in the return message, so use NULL instead. The
  12365. key will be filled in at connect time by calling
  12366. nm_dbus_get_user_key_for_network()
  12367. * src/NetworkManagerDevice.c
  12368. - (nm_device_wireless_configure): update for "new_key" param to
  12369. nm_dbus_get_user_key_for_network(). We initially set new_key
  12370. to FALSE to see if we have a stored key in the info-daemon, but
  12371. if the connection is unsuccessful at this stage we request a
  12372. new one
  12373. 2005-08-17 Dan Williams <dcbw@redhat.com>
  12374. * gnome/applet/icons/nm-no-connection.png
  12375. gnome/applet/icons/nm-device-wired.png
  12376. - Use Diana's new RJ45 connector icons
  12377. 2005-08-17 Dan Williams <dcbw@redhat.com>
  12378. * src/NetworkManagerPolicy.c
  12379. - (nm_policy_device_change_check): clarify switching rules if
  12380. both new and old devices are valid; mainly, don't switch
  12381. away from user-requested wireless connection back to a wired
  12382. one
  12383. 2005-08-17 Dan Williams <dcbw@redhat.com>
  12384. * gnome/applet/Makefile.am
  12385. - Relocate the applet to /usr/bin since it is no longer
  12386. executed by anything, but directly by the user
  12387. 2005-08-17 Dan Williams <dcbw@redhat.com>
  12388. Patch from Bill Moss <bmoss@clemson.edu>
  12389. * gnome/applet/applet-dbus-info.[ch]
  12390. - (nmi_save_network_info): save timestamp for network if it
  12391. was a change requested by the user
  12392. - (nmi_dbus_update_network_info): get user_requested from dbus
  12393. message and pass to nmi_save_network_info()
  12394. * gnome/applet/applet.c
  12395. - (nmwa_update_network_timestamp): remove
  12396. - (nmwa_menu_item_activate): don't set timestamp on networks
  12397. here, only after a successful connect in nmi_save_network_info()
  12398. * src/NetworkManagerDbus.[ch]
  12399. - (nm_dbus_update_network_info): pass user_requested into the
  12400. dbus message
  12401. * src/NetworkManagerPolicy.c
  12402. - (nm_policy_activation_finish): pass user_requested to
  12403. nm_dbus_update_network_info()
  12404. 2005-08-16 Robert Love <rml@novell.com>
  12405. * gnome/applet/applet.c: Better "Dial Up" menu item.
  12406. 2005-08-16 Robert Love <rml@novell.com>
  12407. * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
  12408. "Connection Information" menu item.
  12409. 2005-08-16 Dan Williams <dcbw@redhat.com>
  12410. Patch from j@bootlab.org
  12411. * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
  12412. * configure.in: allow specifying the path to dhcdbd
  12413. 2005-08-16 Robert Love <rml@novell.com>
  12414. Patch from j@bootlab.org
  12415. * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
  12416. src/backends/interface_parser.h: Debian dialup support.
  12417. 2005-08-16 Christopher Aillon <caillon@redhat.com>
  12418. * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
  12419. * gnome/applet/applet.c: Add some mnemonics for VPNC
  12420. * vpn-daemons/.cvsignore: fix this up a little bit
  12421. 2005-08-16 Robert Love <rml@novell.com>
  12422. * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
  12423. support.
  12424. 2005-08-16 Christopher Aillon <caillon@redhat.com>
  12425. * gnome/applet/applet.c: Split markup out of translatable strings
  12426. and clean up logic a little bit. (fixes #309012)
  12427. 2005-08-15 Christopher Aillon <caillon@redhat.com>
  12428. * gnome/vpn-properties/nm-vpn-properties.c:
  12429. * gnome/vpn-properties/nm-vpn-ui-interface.h:
  12430. * vpn-daemons/vpnc/properties/nm-vpnc.c:
  12431. Makeshift fix to remove newlines from translatable strings.
  12432. Note that we now return an allocated string, so callers of
  12433. get_confirmation_details () must now call g_free () on the
  12434. result. (fixes #309033).
  12435. 2005-08-12 Robert Love <rml@novell.com>
  12436. * gnome/applet/applet-dbus.c: remove newlines from translatable
  12437. strings--not needed here anyway. (fix b.g.o #309011)
  12438. * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
  12439. 2005-08-11 Robert Love <rml@novell.com>
  12440. * gnome/applet/applet.c: mark string as translatable.
  12441. 2005-08-11 Robert Love <rml@novell.com>
  12442. * initscript/SUSE/networkmanager: update.
  12443. 2005-08-11 Dan Williams <dcbw@redhat.com>
  12444. * src/nm-dhcp-manager.c
  12445. - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
  12446. an gateway returned from DHCP, try to use the address of the DHCP
  12447. server as the gateway instead. Found by Ralf Ertzinger.
  12448. 2005-08-10 Robert Love <rml@novell.com>
  12449. * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
  12450. wait for it on exit; call exit() in nmwa_destroy() to jump ship.
  12451. 2005-08-10 Dan Williams <dcbw@redhat.com>
  12452. Patch from Bill Moss <bmoss@clemson.edu>
  12453. * Consolidate writes of access point information updates to the info daemon
  12454. so that we only do it when the connection to the access point was
  12455. successful. Also consolidates updates to GConf in the Gnome applet.
  12456. * src/nm-netlink-monitor.c
  12457. - Silence compile warning when calling g_object_new()
  12458. 2005-08-08 Dan Williams <dcbw@redhat.com>
  12459. Patch from Steev <steev@steev.net>:
  12460. * src/backends/NetworkManagerGentoo.c
  12461. - Stub new dialup backend functions
  12462. 2005-08-08 Dan Williams <dcbw@redhat.com>
  12463. Patch from Colin Slater:
  12464. * src/backends/NetworkManagerGentoo.c
  12465. - (nm_system_update_dns): Fix exit status check for restarting
  12466. nscd
  12467. 2005-08-05 Robert Love <rml@novell.com>
  12468. * NetworkManager.h,
  12469. gnome/applet/applet-dbus-devices.c,
  12470. gnome/applet/applet-dbus-devices.h,
  12471. gnome/applet/applet-dbus.c,
  12472. gnome/applet/applet.c,
  12473. gnome/applet/applet.h,
  12474. src/NetworkManager.c,
  12475. src/NetworkManagerMain.h,
  12476. src/NetworkManagerSystem.h,
  12477. src/backends/NetworkManagerRedHat.c,
  12478. src/backends/NetworkManagerSuSE.c,
  12479. src/nm-dbus-nm.c: basic dialup support using distro infrastructure
  12480. 2005-08-05 Robert Love <rml@novell.com>
  12481. * gnome/applet/other-network-dialog.c: default the adhoc network to the
  12482. machine's hostname to make adhoc creation idiot-proof.
  12483. 2005-08-04 Robert Love <rml@novell.com>
  12484. * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
  12485. freed.
  12486. 2005-08-04 Dan Williams <dcbw@redhat.com>
  12487. * gnome/applet/applet-dbus-info.c
  12488. gnome/applet/applet-dbus-info.h
  12489. - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
  12490. to store key, key type, and auth method rather than just auth method
  12491. - (nmi_dbus_update_network_info): new function
  12492. - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
  12493. * gnome/applet/passphrase-dialog.c
  12494. - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
  12495. of saving the info ourselves
  12496. * gnome/libnm_glib/libnm_glib.c
  12497. - Remove the stupid version check for dbus
  12498. * src/NetworkManagerAP.c
  12499. src/NetworkManagerAP.h
  12500. - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
  12501. * src/NetworkManagerDbus.c
  12502. src/NetworkManagerDbus.h
  12503. - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
  12504. more than just the auth method
  12505. * src/NetworkManagerDevice.c
  12506. - Update network info at the appropriate times
  12507. 2005-07-29 Ray Strode <rstrode@redhat.com>
  12508. * src/NetworkManager.c (nm_info_handler): don't use input as format
  12509. string (Spotted by Ian Jackson).
  12510. 2005-07-27 Dan Williams <dcbw@redhat.com>
  12511. * src/nm-dbus-nm.c
  12512. src/nm-dbus-net.c
  12513. - Random cleanups of spacing
  12514. * gnome/applet/applet.h
  12515. gnome/applet/other-network-dialog.c
  12516. gnome/applet/passphrase-dialog.c
  12517. - Conslidate usage of NMWAEncryptionKeyTypes enum
  12518. Patch from Bill Moss:
  12519. - Make Other Wireless Networks work again with encryption keys
  12520. 2005-07-26 Dan Williams <dcbw@redhat.com>
  12521. Patch from Steev <steev@steev.net>:
  12522. * src/backends/NetworkManagerGentoo.c
  12523. src/backends/Makefile.am
  12524. - Fix up Gentoo backend
  12525. 2005-07-26 Robert Love <rml@novell.com>
  12526. * src/backends/NetworkManagerSuSE.c: misc. cleanup
  12527. 2005-07-25 Robert Love <rml@novell.com>
  12528. * gnome/applet/applet.c: make the "Wired" menu item a radio button,
  12529. in the same group as the wireless networks, since they are all
  12530. mutually exclusive.
  12531. 2005-07-24 Ray Strode <rstrode@redhat.com>
  12532. * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
  12533. remove unneeded NULL arg from g_object_new(). Any
  12534. warnings caused by not having the extra NULL are just a
  12535. result of a bug in glib 2.7.0 - 2.7.2.
  12536. 2005-07-22 Robert Love <rml@novell.com>
  12537. * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
  12538. 2005-07-22 Robert Love <rml@novell.com>
  12539. * src/nm-netlink-monitor.c: g_object_new() needs at least three
  12540. parameters (gcc 4.0.2 warning fix).
  12541. 2005-07-18 Robert Love <rml@novell.com>
  12542. Suggested by Aaron Bockover (abockover@novell.com)
  12543. * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
  12544. s/Ascii/ASCII
  12545. * gnome/applet/passphrase-dialog.c: ditto
  12546. * gnome/applet/wireless-applet.glade: ditto
  12547. 2005-07-13 Dan Williams <dcbw@redhat.com>
  12548. Patch from Ray Strode <halfline@gmail.com>
  12549. * vpn-daemons/vpnc/nm-vpnc-service.c
  12550. - Don't let vpnc daemonize, fixes some races with PID file reading
  12551. 2005-07-13 Dan Williams <dcbw@redhat.com>
  12552. Patch from Ray Strode <halfline@gmail.com>
  12553. * Random cleanups for strict CFLAGS
  12554. 2005-07-07 Dan Williams <dcbw@redhat.com>
  12555. Patch from Derek Atkins <warlord@MIT.EDU>
  12556. * src/nm-dbus-net.c:
  12557. - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
  12558. 2005-07-07 Dan Williams <dcbw@redhat.com>
  12559. Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
  12560. * src/backends/NetworkManagerGentoo.c
  12561. - Gentoo backend Static IP nameserver fixes
  12562. - General Gentoo backend goodness
  12563. 2005-07-07 Dan Williams <dcbw@redhat.com>
  12564. Patch from Bastien Nocera:
  12565. * gnome/applet/applet.c
  12566. - Fix up error reporting when icons or glade files are missing
  12567. 2005-07-07 Robert Love <rml@novell.com>
  12568. * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
  12569. are not any VPN connections above it.
  12570. 2005-07-07 Robert Love <rml@novell.com>
  12571. * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
  12572. 2005-07-05 Robert Love <rml@novell.com>
  12573. * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
  12574. zero.
  12575. 2005-07-05 Robert Love <rml@novell.com>
  12576. * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
  12577. on wired or unencrypted wireless.
  12578. 2005-07-01 Robert Love <rml@novell.com>
  12579. * src/NetworkManagerSystem.c: Print the error via strerror().
  12580. 2005-06-30 Robert Love <rml@novell.com>
  12581. * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
  12582. then exit if the glade file is not found. currently the application
  12583. just hangs.
  12584. 2005-06-30 Robert Love <rml@novell.com>
  12585. * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
  12586. explicitly up all interfaces on wake from sleep.
  12587. 2005-06-30 Robert Love <rml@novell.com>
  12588. * gnome/applet/applet.c: Add right-click menu item "Connection Info"
  12589. with information about the currently active connection.
  12590. * gnome/applet/applet.h: (ditto)
  12591. * gnome/applet/wireless-applet.glade: (ditto), new file
  12592. 2005-06-30 Robert Love <rml@novell.com>
  12593. * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
  12594. * src/nm-dbus-nm.c: print when we sleep and wake up.
  12595. * gnome/applet/menu-items.c: whitespace, misc. cleanup.
  12596. * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
  12597. in /sbin unless D-BUS is, folks).
  12598. * README: update to reflect nm-applet replacing NetworkManagerInfo.
  12599. 2005-06-27 Robert Love <rml@novell.com>
  12600. * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
  12601. case.
  12602. 2005-06-27 Robert Love <rml@novell.com>
  12603. * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
  12604. items radios.
  12605. 2005-06-26 Robert Love <rml@novell.com>
  12606. * src/NetworkManagerDevice.c: be specific about which device in
  12607. nm_info() message.
  12608. 2005-06-23 Adam Weinberger <adamw@gnome.org>
  12609. * src/nm-netlink-monitor.c: correct spelling error.
  12610. 2005-06-23 Robert Love <rml@novell.com>
  12611. * gnome/applet/applet-dbus-info.c: gnome keyring support!
  12612. * gnome/applet/passphrase-dialog.c: more of that keyring!
  12613. 2005-06-23 Robert Love <rml@novell.com>
  12614. * configure.in: remove extraneous GNOMEKEYRING directives.
  12615. * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
  12616. * gnome/applet/applet.c: nmwa_icons_init: make style local.
  12617. * gnome/applet/passphrase-dialog.c: whitespace.
  12618. 2005-06-23 Robert Love <rml@novell.com>
  12619. * src/NetworkManagerDevice.c: division in assignment was flipped.
  12620. 2005-06-23 David Zeuthen <david@fubar.dk>
  12621. * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
  12622. signal to the child to indicate that we got what we wanted when we
  12623. see two new-lines right after each other.
  12624. (nmwa_vpn_request_password): Pass a structure with several members
  12625. instead of just the passwords
  12626. 2005-06-23 Dan Williams <dcbw@redhat.com>
  12627. * src/NetworkManager.c
  12628. src/NetworkManagerMain.h
  12629. - (nm_get_hal_ctx): new function, move Hal initialization code here
  12630. - (nm_hal_init): new function, init libhal context then add devices
  12631. - (nm_hal_deinit): new function, clean up libhal context
  12632. - (nm_data_free): Move Hal cleanup here
  12633. - (main): check whether Hal is running, and if so, get a list of
  12634. network devices from it
  12635. * src/NetworkManagerDbus.c
  12636. - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
  12637. and when it appears, get a list of network devices from it. If
  12638. Hal goes away, clean up the libhal context
  12639. 2005-06-22 Robert Love <rml@novell.com>
  12640. * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
  12641. permissions of scripts before executing.
  12642. 2005-06-21 Robert Love <rml@novell.com>
  12643. * initscript/SUSE/networkmanager: update.
  12644. * src/backends/NetworkManagerSuSE.c: cleanup.
  12645. 2005-06-21 Robert Love <rml@novell.com>
  12646. * gnome/applet/applet.c: use menu mnemonics.
  12647. * gnome/applet/menu-items.c: (ditto)
  12648. 2005-06-21 Robert Love <rml@novell.com>
  12649. * applet/applet-dbus-devices.c: mark non-static functions static.
  12650. * applet/applet-dbus-vpn.c: (ditto)
  12651. * applet/applet.c: (ditto)
  12652. * applet/nm-device.h: (ditto)
  12653. * applet/other-network-dialog.c: (ditto)
  12654. * applet/passphrase-dialog.c: (ditto)
  12655. * NetworkManager.c: (ditto)
  12656. * NetworkManagerDbus.c: (ditto)
  12657. * NetworkManagerDevice.c: (ditto)
  12658. * NetworkManagerPolicy.c: (ditto)
  12659. * NetworkManagerUtils.c: (ditto)
  12660. * NetworkManagerWireless.c: (ditto)
  12661. * NetworkManagerWireless.h: (ditto)
  12662. * nm-netlink-monitor.c: (ditto)
  12663. * applet/applet-dbus-info.c: (ditto), add FIXME's.
  12664. * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
  12665. * autoip.c: include autoip.h.
  12666. * autoip.h: new file. define get_autoip().
  12667. * nm-netlink-monitor.h: define nm_netlink_close_connection().
  12668. * NetworkManagerDbus.h: remove duplicate definitions.
  12669. 2005-06-20 Robert Love <rml@novell.com>
  12670. * Makefile.am: Add missing intltool-foo.in generated files to
  12671. EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
  12672. with the start of stuff to cleanup on 'distclea'.
  12673. * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
  12674. stuff right and 'distcheck' works.
  12675. * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
  12676. we keep it, we need to add all of examples/* to EXTRA_DIST and do
  12677. Makefile.am for each. And systray/Makefile needs to be redone.
  12678. 2005-06-19 Dan Williams <dcbw@redhat.com>
  12679. * src/NetworkManagerDevice.c
  12680. - (nm_device_wireless_process_scan_results): scan every 20s when
  12681. disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
  12682. 2005-06-19 Dan Williams <dcbw@redhat.com>
  12683. * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
  12684. 2005-06-18 Ray Strode <rstrode@redhat.com>
  12685. * src/nm-netlink-monitor.c
  12686. (nm_netlink_monitor_event_handler): check for the presence
  12687. of either error condition not both.
  12688. (nm_netlink_monitor_error_handler): emit error signal if
  12689. error occurs.
  12690. (nm_netlink_monitor_event_handler),
  12691. (nm_netlink_monitor_error_handler),
  12692. (nm_netlink_monitor_disconnect_handler): if an
  12693. assertion fails disconnect the event handler to prevent
  12694. infinite loops.
  12695. * src/nm-netlink-monitor.h: add new error condition
  12696. NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
  12697. 2005-06-18 Ray Strode <rstrode@redhat.com>
  12698. * src/nm-netlink-monitor.c
  12699. (nm_netlink_monitor_event_handler): remove bogus < 0
  12700. check on unsigned value and return early if the kernel
  12701. didn't send any bytes.
  12702. 2005-06-17 Robert Love <rml@novell.com>
  12703. * initscript/SUSE/networkmanager: Change the Provides and default
  12704. run levels
  12705. 2005-06-16 Dan Williams <dcbw@redhat.com>
  12706. Patch from Robert Love:
  12707. * gnome/applet/applet.c
  12708. - Beautify some applet menu item names
  12709. 2005-06-17 David Zeuthen <davidz@redhat.com>
  12710. * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
  12711. API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
  12712. Also add new methods can_export, import_file and export.
  12713. * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
  12714. to the main UI
  12715. * gnome/vpn-properties/nm-vpn-properties.c:
  12716. Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
  12717. nm-vpn-ui-interface.h.
  12718. (update_edit_del_sensitivity): Also update "Export" sensitivity
  12719. (add_vpn_connection): Also add new SVC_NAME column
  12720. (import_settings): New function
  12721. (retrieve_data_from_selected_connection): New function
  12722. (edit_cb): Use retrieve_data_from_selected_connection to simplify
  12723. this function
  12724. (export_cb): New function
  12725. (init_app): Also setup the "export" widget
  12726. (main): Support the --import-service and --import-file commandline
  12727. arguments
  12728. * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
  12729. D-BUS 0.34
  12730. 2005-06-16 Dan Williams <dcbw@redhat.com>
  12731. Patch from Robert Love:
  12732. * gnome/applet/menu-items.c
  12733. - (network_menu_item_new): pass -1 as wireless network
  12734. menu items height size request rather than ascent / 2
  12735. 2005-06-16 Dan Williams <dcbw@redhat.com>
  12736. * Clean up wording in Wireless Scan Methods menu items and constants
  12737. 2005-06-16 Robert Love <rml@novell.com>
  12738. * po/POTFILES.in
  12739. - remove gtkcell* files
  12740. 2005-06-15 Dan Williams <dcbw@redhat.com>
  12741. Patch from Robert Love: make the applet stetic
  12742. * gnome/applet/Makefile.am
  12743. - Don't compile the gtkcellview and gtkcellrendererprogress files
  12744. * gnome/applet/gtkcellview.h
  12745. gnome/applet/gtkcellview.c
  12746. gnome/applet/gtkcellrendererprogress.h
  12747. gnome/applet/gtkcellrendererprogress.c
  12748. - Removed
  12749. * gnome/applet/menu-items.c
  12750. - Progress bars are 5:1 size ratio
  12751. - Use GTK progress bars rather than internal ones
  12752. 2005-06-15 Dan Williams <dcbw@redhat.com>
  12753. Patch from Robert Love:
  12754. * initscript/SUSE/networkmanager
  12755. - Fix typo
  12756. 2005-06-15 Dan Williams <dcbw@redhat.com>
  12757. * src/backends/NetworkManagerSuSE.c
  12758. src/backends/NetworkManagerRedHat.c
  12759. src/backends/NetworkManagerDebian.c
  12760. - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
  12761. 2005-06-15 Dan Williams <dcbw@redhat.com>
  12762. * src/backends/NetworkManagerDebian.c
  12763. - Add nm_system_device_get_use_dhcp() to debian backend
  12764. Patch from Kay Sievers:
  12765. * src/backends/NetworkManagerSuSE.c
  12766. - Update debian backend for static IP nameservers
  12767. * src/NetworkManagerDevice.c
  12768. - Actually set the device to use static IP or DHCP rather
  12769. than always DHCP
  12770. 2005-06-15 Dan Williams <dcbw@redhat.com>
  12771. Patch from Thom May:
  12772. * src/backends/NetworkManagerDebian.c
  12773. - Update debian backend for static IP nameservers
  12774. 2005-06-15 Dan Williams <dcbw@redhat.com>
  12775. Patches from Robert Love:
  12776. * gnome/applet/wireless-applet.glade
  12777. - Tighten up wording
  12778. * src/NetworkManagerDevice.c
  12779. - Remove misplaced ';'
  12780. * configure.in
  12781. initscript/Makefile.am
  12782. initscript/SUSE/Makefile.am
  12783. initscript/SUSE/networkmanager
  12784. - Add SUSE initscript
  12785. 2005-06-12 David Zeuthen <davidz@redhat.com>
  12786. * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
  12787. * gnome/vpn-properties/nm-vpn-properties.glade: New file
  12788. * gnome/vpn-properties/nm-vpn-properties.c: New file
  12789. * gnome/vpn-properties/Makefile.am: New file
  12790. * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
  12791. array of passwords
  12792. * src/vpn-manager/nm-vpn-manager.c
  12793. (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
  12794. instead of just a single one
  12795. * src/vpn-manager/nm-dbus-vpn.c:
  12796. (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
  12797. here
  12798. (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
  12799. * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
  12800. Change the interface here to give a list of passwords. Also, don't
  12801. require username, but do require service
  12802. * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
  12803. the binary for the auth-dialog and use that instead of putting up a
  12804. dialog asking for a single password
  12805. * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
  12806. however do remember the service
  12807. * gnome/applet/main.c (main): Setup i18n
  12808. * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
  12809. connection to '%s'" to the tooltip if we are connected using VPN
  12810. (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
  12811. key to determine whether we the auth-dialog needs to
  12812. reprompt. Also cope with the fact that the auth-dialog now returns
  12813. an array of passwords.
  12814. (nmwa_menu_configure_vpn_item_activate): New handler for
  12815. "Configure VPN..." menu item
  12816. (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
  12817. (is_vpn_available): New function to determine if we got any
  12818. NM-compatible VPN software installed
  12819. (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
  12820. items only if we have NM-compatible VPN software installed
  12821. (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
  12822. logic for detecting when VPN connections are removed
  12823. * gnome/applet/applet-dbus.h: Removed the prototypes for
  12824. nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
  12825. since these are defined elsewhere
  12826. * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
  12827. function used to keep track of whether the last attempt succeded
  12828. (nmwa_dbus_filter): Update last_attempt according to whether the
  12829. VPN connection could be established or not
  12830. * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
  12831. Change prototype to take an array of passwords, not just a single
  12832. password
  12833. * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
  12834. update service, not user
  12835. (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
  12836. dbus_active_vpn_name is not NULL before using it
  12837. (nmwa_dbus_vpn_activate_connection): Send the passwords as a
  12838. string array instead of assuming a single password
  12839. * gnome/applet/applet-dbus-info.c:
  12840. (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
  12841. user name; don't read from gconf
  12842. * gnome/applet/Makefile.am: Also export SYSCONFDIR and
  12843. VPN_NAME_FILES_DIR
  12844. * gnome/Makefile.am (SUBDIRS): Add vpn-properties
  12845. * configure.in: Add checks for gmodule-2.0.
  12846. Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
  12847. in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
  12848. projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
  12849. for details
  12850. * vpn-daemons/Makefile.am: Removed
  12851. * vpn-daemons/README: New file to describe extensions points for VPN
  12852. software
  12853. 2005-06-10 Dan Williams <dcbw@redhat.com>
  12854. * src/backends/NetworkManagerRedHat.c
  12855. - (get_current_profile_name): new function, grab current network profile name from
  12856. /etc/sysconfig/network
  12857. - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
  12858. update an IP4 Config structure's settings from it
  12859. - (nm_system_device_get_system_config): if we're using static IP on this device,
  12860. get DNS info from current network profile
  12861. 2005-06-09 Dan Williams <dcbw@redhat.com>
  12862. Patch from Robert Love:
  12863. * src/NetworkManagerDevice.c
  12864. src/NetworkManagerUtils.c
  12865. - 64-bit build fixes
  12866. 2005-06-09 Dan Williams <dcbw@redhat.com>
  12867. Patch from Kay Sievers and Robert Love:
  12868. * configure.in
  12869. src/backends/Makefile.am
  12870. src/backends/NetworkManagerSuSE.c
  12871. - Add SuSE support
  12872. 2005-06-09 Dan Williams <dcbw@redhat.com>
  12873. * NetworkManager.h
  12874. - Add NMWirelessScanMethod enum for scan methods
  12875. * gnome/applet/applet-dbus-devices.c
  12876. - (nmwa_dbus_update_scanning_enabled_cb): remove
  12877. - (nmwa_dbus_update_scanning_enabled): remove
  12878. - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
  12879. since it got removed
  12880. - (nmwa_dbus_enable_scanning): remove
  12881. * gnome/applet/applet-dbus-info.c
  12882. - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
  12883. update the wireless scanning method from NMI
  12884. - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
  12885. method value to NetworkManager
  12886. - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
  12887. * gnome/applet/applet-dbus-info.h
  12888. - Add prototype for nmi_dbus_signal_update_scan_method
  12889. * gnome/applet/applet.c
  12890. - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
  12891. Wireless Scanning menu based on current wireless scan method
  12892. - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
  12893. signal for Wireless Scanning menu items, tell NetworkManager the new method
  12894. and update our menu items to make sure the right one is checked
  12895. - (nmwa_set_scanning_enabled_cb): remove
  12896. - (nmwa_context_menu_update): remove references to pause_scanning_item
  12897. - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
  12898. Scanning menu item
  12899. - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
  12900. from GConf
  12901. - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
  12902. so we get notified of preference values too
  12903. - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
  12904. * gnome/applet/applet.h
  12905. - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
  12906. - Add wireless scan method member to applet data
  12907. - Remove pause_scanning_item, add Wireless Scanning submenu
  12908. * src/NetworkManager.c
  12909. - (nm_data_new): default to NM_SCAN_METHOD_ON
  12910. - (main): grab scanning method from NMI if we can
  12911. * src/NetworkManagerDbus.c
  12912. - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
  12913. nm_dbus_update_wireless_scan_method()
  12914. - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
  12915. from NMI
  12916. - (nm_dbus_nmi_is_running): redundant function, removed
  12917. - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
  12918. when NMI comes back
  12919. * src/NetworkManagerDevice.c
  12920. - (nm_device_is_activated): return TRUE if the device is activated
  12921. - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
  12922. and we are activated
  12923. * src/nm-dbus-nm.c
  12924. - (nm_dbus_nm_set_scanning_enabled): removed
  12925. - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
  12926. - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
  12927. 2005-06-09 Dan Williams <dcbw@redhat.com>
  12928. * NetworkManager.h
  12929. src/vpn-manager/nm-vpn-service.c
  12930. - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
  12931. 2005-05-27 Dan Williams <dcbw@redhat.com>
  12932. * vpn-daemons/vpnc/nm-vpnc-service.c
  12933. - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
  12934. Should fix the bug where the VPN connection terminates the first time.
  12935. 2005-05-20 Dan Williams <dcbw@redhat.com>
  12936. * NetworkManager.h
  12937. - Differentiate VPN config signals between bad VPN config options
  12938. and bad IP config
  12939. * gnome/applet/applet-dbus-info.h
  12940. - Add prototypes for wireless network and vpn connection update functions
  12941. * gnome/applet/applet-dbus.c
  12942. - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
  12943. * gnome/applet/applet.c
  12944. - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
  12945. error signals
  12946. - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
  12947. propogation to NetworkManager
  12948. - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
  12949. notify propogation to NetworkManager
  12950. * src/NetworkManagerDbus.c
  12951. - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
  12952. are updating so a network can be removed from it if necessary
  12953. * src/vpn-manager/nm-vpn-manager.c
  12954. - (nm_vpn_manager_process_signal): trap new vpn config error signals
  12955. * vpn-daemons/vpnc/nm-vpnc-service.c
  12956. - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
  12957. - (nm_vpnc_dbus_signal_launch_failed): remove
  12958. - (nm_vpnc_dbus_signal_connect_failed): remove
  12959. - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
  12960. - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
  12961. - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
  12962. for new generalized error signal function, remove config file stuff
  12963. - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
  12964. we can write configuration options to it
  12965. - (nm_vpnc_config_file_generate): removed
  12966. - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
  12967. - (nm_vpnc_config_options_validate): validate the config options we receive
  12968. from NetworkManager to block potential exploits
  12969. - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
  12970. starting vpnc
  12971. - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
  12972. to NetworkManager
  12973. 2005-05-16 Dan Williams <dcbw@redhat.com>
  12974. * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
  12975. - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
  12976. is not "connect"
  12977. 2005-05-16 Dan Williams <dcbw@redhat.com>
  12978. Patch from Tomislav Vujec <tvujec@redhat.com>
  12979. * gnome/applet/applet-dbus-info.c
  12980. - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
  12981. GConf and pass them to NetworkManager. New key is 'routes' under
  12982. the VPN connection, and should be a string list
  12983. * src/NetworkManagerSystem.c
  12984. - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
  12985. set them on the device when we set the rest of the VPN config. Ensure
  12986. they are in the correct format since they are passed directly to the
  12987. command line.
  12988. * src/backends/NetworkManagerRedHat.c
  12989. src/backends/NetworkManagerDebian.c
  12990. - (nm_system_device_add_route_via_device_with_iface): new function
  12991. * src/vpn-manager/nm-dbus-vpn.c
  12992. - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
  12993. * src/vpn-manager/nm-vpn-manager.c
  12994. - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
  12995. them into the IP4 config functions
  12996. 2005-05-15 Dan Williams <dcbw@redhat.com>
  12997. From Filip Miletic:
  12998. * po/sr.po
  12999. po/sr@Latn.po
  13000. configure.in
  13001. - Serbian translation added
  13002. 2005-05-15 Dan Williams <dcbw@redhat.com>
  13003. * dispatcher-daemon/NetworkManagerDispatcher.c
  13004. - (main): sync arguments with NetworkManager and the applet, now use
  13005. "--no-daemon" rather than "daemon=no"
  13006. - (nmd_print_usage): Fix script path in usage message
  13007. 2005-05-15 Dan Williams <dcbw@redhat.com>
  13008. * src/NetworkManagerDevice.[ch]
  13009. src/NetworkManagerPolicy.c
  13010. src/NetworkManager.c
  13011. src/nm-dbus-nm.c
  13012. - Remove the "just_added" parameter from nm_device_deactivate(). We no
  13013. longer send the DeviceNoLongerActive signal unconditionally, but only
  13014. when the device is actually active.
  13015. * dispatcher-daemon/NetworkManagerDispatcher.c
  13016. - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
  13017. and simplify the logic
  13018. - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
  13019. we free it later on
  13020. * initscript/RedHat/Makefile.am
  13021. initscript/RedHat/NetworkManagerDispatcher
  13022. - Add initscript for NetworkManagerDispatcher
  13023. Patch from Bill Moss:
  13024. * dispatcher-daemon/NetworkManagerDispatcher.c
  13025. - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
  13026. * src/NetworkManagerDbus.c
  13027. - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
  13028. and DeviceNowActive gets signaled, then the device has a new IP address
  13029. anyway. There's no need for a separate signal.
  13030. * src/NetworkManagerDevice.c
  13031. - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
  13032. * src/NetworkManagerPolicy.c
  13033. - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
  13034. activates successfully. This kind of went missing when I reworked the
  13035. activation code.
  13036. 2005-05-15 Dan Williams <dcbw@redhat.com>
  13037. * configure.in
  13038. - Check for dhcdbd and error if its not found
  13039. * src/dhcp-manager/Makefile.am
  13040. src/dhcp-manager/nm-dhcp-manager.c
  13041. - Use path to dhcdbd that configure found
  13042. 2005-05-14 Dan Williams <dcbw@redhat.com>
  13043. * gnome/applet/nm-device.c
  13044. - (network_device_sort_wireless_networks, sort_networks_function): New functions to
  13045. sort wireless networks alphabetically
  13046. * gnome/applet/applet-dbus-devices.c
  13047. - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
  13048. before copying them over to the GUI
  13049. 2005-05-14 Dan Williams <dcbw@redhat.com>
  13050. * src/NetworkManager.c
  13051. - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
  13052. fixes a deadlock on shutdown with a VPN connection active. This function locks
  13053. the device list, as does nm_get_active_device() which is called from
  13054. nm_vpn_manager_deactivate_vpn_connection().
  13055. 2005-05-14 Dan Williams <dcbw@redhat.com>
  13056. * NetworkManager.h
  13057. - Add signals for VPN Launch and Connect failures
  13058. * gnome/applet/applet-dbus.c
  13059. - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
  13060. * gnome/applet/applet.c
  13061. - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
  13062. function to handle all VPN failure messages
  13063. - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
  13064. function to hanlde all VPN failure messages
  13065. - (show_warning_dialog): work around focus-stealing prevention
  13066. * gnome/applet/other-network-dialog.c
  13067. gnome/applet/passphrase-dialog.c
  13068. - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
  13069. problem where it never enabled for ASCII Key and Hex Key types
  13070. * gnome/applet/wireless-applet.glade
  13071. - Add window title to Other Wireless Network Dialog
  13072. * src/vpn-manager/nm-dbus-vpn.c
  13073. - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
  13074. function to handle all VPN failure messages
  13075. * src/vpn-manager/nm-vpn-manager.c
  13076. - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
  13077. * vpn-daemons/vpnc/nm-vpnc-service.c
  13078. - (nm_vpnc_dbus_signal_launch_failed): new function
  13079. - (nm_vpnc_dbus_signal_connect_failed): new function
  13080. - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
  13081. - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
  13082. - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
  13083. - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
  13084. 2005-05-11 Dan Williams <dcbw@redhat.com>
  13085. * vpn-daemons/vpnc/nm-vpnc-service.c
  13086. - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
  13087. - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
  13088. file exists before trying to write it out.
  13089. 2005-05-10 Dan Williams <dcbw@redhat.com>
  13090. * gnome/applet/applet-dbus-device.c
  13091. - (nmwa_dbus_set_device): remove check for valid key and key type, which
  13092. prevented just entering ESSID and leaving key and key type up to
  13093. NetworkManager (which should have them already cached)
  13094. 2005-05-08 Dan Williams <dcbw@redhat.com>
  13095. * src/NetworkManagerPolicy.c
  13096. - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
  13097. - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
  13098. fix a situation where NM is told to terminate and the device stops activation,
  13099. but the main thread isn't aware of that because it would never have run
  13100. nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
  13101. had already quit.
  13102. * src/NetworkManagerDevice.c
  13103. - (nm_device_probe_wired_link_state): cosmetic fixes
  13104. - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
  13105. we've failed to activate or been canceled.
  13106. - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
  13107. 2005-05-08 Dan Williams <dcbw@redhat.com>
  13108. * src/NetworkManagerWireless.c
  13109. - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
  13110. value of WEXT quality structures, and add a debug message when we cannot
  13111. determine any quality % at all
  13112. 2005-05-08 Dan Williams <dcbw@redhat.com>
  13113. * src/dhcp-manager/nm-dhcp-manager.c
  13114. - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
  13115. it goes down.
  13116. 2005-05-06 Dan Williams <dcbw@redhat.com>
  13117. * gnome/applet/applet-dbus-device.c
  13118. gnome/applet/applet-dbus-info.c
  13119. gnome/applet/applet-dbus.c
  13120. gnome/applet/applet.c
  13121. gnome/applet/applet.h
  13122. - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
  13123. * gnome/applet/applet-dbus.c
  13124. - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
  13125. so we notice when wired device's carriers come back on. Should
  13126. fix issue with wired devices being grayed out even if the cable
  13127. is in, for devices that support carrier detection.
  13128. * gnome/applet/applet.c
  13129. - (nmwa_driver_notify): bash focus-stealing prevention in the face
  13130. - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
  13131. tooltip message
  13132. - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
  13133. Fix situation where applet wouldn't respond to menu selections
  13134. * src/NetworkManager.c
  13135. src/NetworkManagerDevice.c
  13136. src/NetworkManagerDbus.c
  13137. src/NetworkManagerDbus.h
  13138. - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
  13139. * src/NetworkManagerDbus.c
  13140. - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
  13141. Remove, no longer used or relevant
  13142. - (nm_dbus_signal_device_status_change): Better signal enum->string matching
  13143. - (nm_dbus_schedule_device_status_change_signal): add
  13144. * src/NetworkManagerDevice.c
  13145. - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
  13146. - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
  13147. ie don't deactivate them unless explicitly told to by the user. Also send
  13148. CARRIER_OFF / CARRIER_ON signals when link changes
  13149. - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
  13150. Don't print error message when device is no longer around
  13151. - (nm_device_deactivate): kill any current DHCP process attached to this device,
  13152. not just during activation
  13153. * src/NetworkManagerPolicy.c
  13154. - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
  13155. auto-device-selection.
  13156. - (nm_policy_device_change_check): Don't interrupt semi-supported devices
  13157. * src/NetworkManagerSystem.c
  13158. - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
  13159. is no longer present (Bill Moss)
  13160. * src/backends/shvar.c
  13161. - (svOpenFile): Open read-only to make SELinux happy
  13162. * src/backends/NetworkManagerRedHat.c
  13163. - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
  13164. the path to the ifcfg-* files
  13165. 2005-05-05 Dan Williams <dcbw@redhat.com>
  13166. * Expose activation stages to NetworkManager clients, like the applet
  13167. * Add Diana's progress icons to the applet, cued off NM activation stage
  13168. * Use more descriptive tooltips, cued off NM activation stage
  13169. 2005-05-05 Ray Strode <rstrode@redhat.com>
  13170. * src/nm-netlink-monitor.c:
  13171. - Use clear_event_source instead of g_nullify_pointer() again.
  13172. 2005-05-05 Dan Williams <dcbw@redhat.com>
  13173. * gnome/applet/main.c
  13174. - Fix session management so the applet is actually managed now
  13175. * gnome/applet/passphrase-dialog.c
  13176. - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
  13177. 2005-05-05 Dan Williams <dcbw@redhat.com>
  13178. Patch from Bill Moss:
  13179. * gnome/libnm_glib/libnm_glib.c
  13180. - Fix for dbus-0.33
  13181. 2005-05-05 Dan Williams <dcbw@redhat.com>
  13182. Suggestion from Bill Moss:
  13183. * src/NetworkManagerSystem.c
  13184. - (nm_system_device_set_up_down_with_iface): ignore ENODEV
  13185. * src/NetworkManager.c
  13186. - (nm_data_free): move destruction of the various managers after
  13187. release of device list, because deactivating and freeing a device
  13188. requires at least the named manager
  13189. - (nm_poll_and_update_wireless_link_state):
  13190. (nm_device_link_activated):
  13191. (nm_device_link_deactivated):
  13192. don't grab the device list lock when actually updating device
  13193. link status or strength, since nm_device_set_link_active()
  13194. needs to call nm_get_active_device(), which also locks the device list.
  13195. * src/NetworkManagerDevice.c
  13196. - (nm_device_set_link_active): if a device's link switches from off->on,
  13197. and it's wired, and the active device is wireless (or there is no
  13198. active device), activate the new device whose link just came on
  13199. - (link_to_specific_ap): try to smooth over intermittency in wireless links
  13200. my only calling the link to the current ap "failed" when more than 2
  13201. consecutive link checks have failed
  13202. 2005-05-04 Dan Williams <dcbw@redhat.com>
  13203. * src/NetworkManagerDevice.c
  13204. - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
  13205. but let link_to_specific_ap() do the locking where it needs
  13206. Patch from Bill Moss:
  13207. * src/NetworkManagerSystem.c
  13208. - Set MTU of VPN devices to 1412
  13209. 2005-05-04 Dan Williams <dcbw@redhat.com>
  13210. * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
  13211. * Fix some holes in device activation and retaining the currently connected
  13212. access point
  13213. 2005-05-03 Dan Williams <dcbw@redhat.com>
  13214. * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
  13215. This means that NetworkManager shouldn't have DHCP issues anymore. It also
  13216. means you need dhcdbd, which you can get here (get the latest one):
  13217. http://people.redhat.com/jvdias/dhcdbd/
  13218. Technically NetworkManager can use any DHCP daemon that uses the same DBUS
  13219. interface as dhcdbd.
  13220. * Rewrite device activation to facilitate the new DHCP infrastructure and
  13221. future improvements. Its now "activation request" based, ie there is a single
  13222. activation request composed of the device, access point, and other info which
  13223. follows the entire activation process. There are 5 stages of the activation
  13224. process which correspond to:
  13225. 1) Device preparation
  13226. 2) Device configuration (bring it up, set ESSID/Key/etc)
  13227. 3) IP Config Start (fire off DHCP if we're using it)
  13228. 4) IP Config Get (grab config from DHCP or static config files)
  13229. 5) IP Config Commit (set device's IP address, DNS, etc)
  13230. Note that there is no longer a "scanning" step, since the access point must
  13231. be known _before_ activation starts. If the access point drops out or does
  13232. not exist for some reason, the entire activation process fails and must be
  13233. restarted for a different access point or device.
  13234. Patch from Bill Moss:
  13235. * gnome/applet/applet.c
  13236. - Fix type of vpn_failure dialog -> vpn_banner dialog
  13237. 2005-04-27 Dan Williams <dcbw@redhat.com>
  13238. * gnome/applet/applet-dbus-vpn.c
  13239. gnome/applet/applet.c
  13240. gnome/applet/applet.h
  13241. - Fix up active VPN handling so that we reliably know when a VPN
  13242. connection has been deactivated
  13243. * src/vpn-manager/nm-vpn-manager.c
  13244. - Remove duplicate VPNConnectionChange signal
  13245. 2005-04-27 Dan Williams <dcbw@redhat.com>
  13246. Patch from Peter Jones:
  13247. * Remove usage of varargs to fix crashes on PPC (RH #154336)
  13248. Patch from Bill Moss:
  13249. * src/NetworkManagerSystem.c
  13250. - Fix checking of return value from ioctl()
  13251. 2005-04-27 Dan Williams <dcbw@redhat.com>
  13252. * Fix choosing of wireless networks and "Other wireless network..." from the applet
  13253. * Warn and exit if icons cannot be found
  13254. 2005-04-27 Dan Williams <dcbw@redhat.com>
  13255. Patch from Tom Parker:
  13256. * Update debian backend
  13257. 2005-04-27 Dan Williams <dcbw@redhat.com>
  13258. * Merge the applet and the info-daemon, and move the converged
  13259. applet under gnome/applet
  13260. * Move libnm_glib to gnome/libnm_glib
  13261. * Convert most dbus calls between the applet, info-daemon, and NM
  13262. into async calls
  13263. * Fix a few things valgrind noticed
  13264. * Make NM broadcast state more reliably
  13265. 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
  13266. * configure.in: Added ne in ALL_LINGUAS
  13267. 2005-04-15 Dan Williams <dcbw@redhat.com>
  13268. * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
  13269. code for dbus 0.2x versions
  13270. 2005-04-15 Dan Williams <dcbw@redhat.com>
  13271. Patches from Tom Parker:
  13272. - Fix memleaks
  13273. - Join with worker thread rather than polling for its exit
  13274. Patch from Bill Moss:
  13275. - Cull duplicate ESSIDs from the scan list, taking highest strength AP
  13276. 2005-04-15 Dan Williams <dcbw@redhat.com>
  13277. - Fixes to pass 'make distcheck'
  13278. 2005-04-15 Dan Williams <dcbw@redhat.com>
  13279. Initial VPN Support
  13280. - supports 'vpnc'
  13281. - reworks device IP configuration, backend files have changed and will need
  13282. to be updated for all distributions. I will try to do what I can for
  13283. them, but I cannot test them.
  13284. - Move named directory to src/named-manager
  13285. - Make backends directory self-contained
  13286. 2005-04-06 Dan Williams <dcbw@redhat.com>
  13287. Add debug code for socket/file descriptor leaks. We register every socket
  13288. that we open (except for stuff in dhcpcd/) for tracking, and print out the
  13289. list of sockets that we forgot to close on shutdown. This also consolidates
  13290. about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
  13291. 2005-04-06 Dan Williams <dcbw@redhat.com>
  13292. * dhcpcd/dhcpcd.c
  13293. - (dhcp_interface_free): fix a file descriptor leak that may have
  13294. caused network drivers to not unload due to refcounts > 0
  13295. 2005-04-04 Dan Williams <dcbw@redhat.com>
  13296. * panel-applet/NMWirelessAppletDbus.c
  13297. - (nmwa_dbus_call_nm_method): remove some commented code
  13298. * src/NetworkManagerAPList.[ch]
  13299. - (nm_ap_list_remove_ap_by_essid): new function
  13300. * src/NetworkManagerDevice.c
  13301. - (nm_device_wireless_force_use): remove access points from the ignore list
  13302. when the user forces them
  13303. * src/nm-dbus-device.c
  13304. - (nm_dbus_device_get_active_network): fix up escaping of object paths
  13305. 2005-04-04 Dan Williams <dcbw@redhat.com>
  13306. Patch from Tom Parker: include "nm-utils.h" for backend files that need it
  13307. 2005-04-04 Dan Williams <dcbw@redhat.com>
  13308. * src/NetworkManagerDevice.c:
  13309. - (nm_completion_scan_has_results): restore pre-completion-patch behavior
  13310. of only erroring after the second consecutive scan times out. Also
  13311. don't exit when the card requires more time than we can give it, just
  13312. log the event and continue.
  13313. 2005-04-01 Steve Murphy <murf@e-tools.com>
  13314. * configure.in: Added "rw" to ALL_LINGUAS.
  13315. 2005-04-01 Dan Williams <dcbw@redhat.com>
  13316. Perform scans during device activation, if needed. Both activation
  13317. and scans run in the same GMainContext. Therefore, if an access point
  13318. is not found by the time the device starts activation, it will not
  13319. be available until after activation. We now try to scan during
  13320. activation (in nm_wa_test) every 15s so that all available access
  13321. points are more likely to be found and available for the activation
  13322. procedure.
  13323. Also change nm_wireless_link_state_handle() to only update the "best"
  13324. AP if we are not forcing a device and if we are not about to change
  13325. state. This attempts to work around a race when forcing a device,
  13326. where the forced AP would get cleared out too soon by the link state
  13327. checking timeout in the main thread, and the activation attempt with
  13328. that AP would fail.
  13329. 2005-04-01 Dan Williams <dcbw@redhat.com>
  13330. * po/POTFILES.in
  13331. - Update with new translatables
  13332. 2005-03-31 Dan Williams <dcbw@redhat.com>
  13333. * panel-applet/NMWirelessAppletDbus.c
  13334. - Fix device names now that hal has changed device parenting for
  13335. network devices.
  13336. 2005-03-31 Dan Williams <dcbw@redhat.com>
  13337. Tighten up handling of wireless devices that don't support wireless
  13338. scanning (ie, Orinoco). Due to restructuring of code, these devices
  13339. hadn't been doing pseudo-scanning for a while either and would just
  13340. spin waiting for an access point. They are now manual devices where
  13341. the user must choose the access point from the menu every time. All
  13342. "allowed" access points are listed in the applet's menu regardless
  13343. of whether or not they can be seen by the card, since it can't scan
  13344. anyway.
  13345. * src/NetworkManager.c
  13346. - (nm_wireless_link_state_handle): new function, but only update
  13347. the "best" ap for non-scanning devices when its not activating,
  13348. and when no device is being forced on the card
  13349. - (nm_link_state_monitor): split wireless link state handling out
  13350. into separate function
  13351. * src/NetworkManagerDevice.c
  13352. - (nm_device_copy_allowed_to_dev_list): new function
  13353. - (nm_device_new): populate non-scanning cards' AP lists with
  13354. access points from the "allowed" list
  13355. - (nm_device_new): don't start a scanning timeout for devices that
  13356. can't scan
  13357. - (nm_device_activation_schedule_finish): new parameter, should be
  13358. the AP that failed to be connected to, pass it on to the
  13359. activation finish function in NetworkManagerPolicy.c
  13360. - (nm_device_activate_wireless): don't ever try to get a new AP
  13361. for non-scanning devices, just fail. The user must choose
  13362. a new access point manually.
  13363. - (nm_device_activate): grab the AP that failed connection and
  13364. pass it on
  13365. - (nm_device_update_best_ap): Clear the best AP if we don't have
  13366. a link to it, user must manually choose a new one
  13367. - (nm_device_do_pseudo_scan): remove function
  13368. - (nm_device_wireless_process_scan_results): remove bits for non-
  13369. scanning cards since they never get here
  13370. - (nm_device_wireless_scan): remove bits for non-scanning devices,
  13371. and fake the scan list for test devices a bit earlier
  13372. * src/NetworkManagerPolicy.c
  13373. - (nm_policy_activation_finish): use the failed_ap that we get
  13374. passed rather than getting the best_ap from the card, which
  13375. may have changed since we were scheduled
  13376. - (nm_policy_allowed_ap_list_update): for non-scanning devices,
  13377. update their scan list directly from the allowed list when
  13378. we get updates to the allowed list from NetworkManagerInfo
  13379. * src/NetworkManagerPolicy.h
  13380. - New member for failed access point in NMActivationResult
  13381. -------------------------------------
  13382. Driver Notification patch: notifies the user when their driver
  13383. sucks. Gives them the option to ignore further insertions
  13384. of the card that has the sucky driver.
  13385. * NetworkManager.h
  13386. - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
  13387. enum and replace it with NO_CARRIER_DETECT and
  13388. NO_WIRELESS_SCAN
  13389. * panel-applet/NMWirelessApplet.[ch]
  13390. - Merge essid.glade -> wireless-applet.glade
  13391. - Implement the "Your driver sucks" notification dialog
  13392. * panel-applet/NMWirelessAppletDbus.c
  13393. - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
  13394. - Grab hardware address for each device from NM too
  13395. - Check whether the driver for each device sucks or not whenever
  13396. a new device is noticed
  13397. * panel-applet/NMWirelessAppletOtherNetworkDialog.c
  13398. - Deal with stuff being in wireless-applet.glade now rather than essid.glade
  13399. * src/NetworkManager.c
  13400. - Fix a double-unref on device removal
  13401. * src/NetworkManagerUtils.c
  13402. - Set appropriate driver support level on a device that doesn't
  13403. support scanning or carrier detection
  13404. * src/nm-dbus-device.c
  13405. - New "getHWAddress" dbus method on devices
  13406. - getSupportsCarrierDetect -> getDriverSupportLevel
  13407. 2005-03-31 Dan Williams <dcbw@redhat.com>
  13408. * src/NetworkManagerDevice.c
  13409. - (nm_device_wireless_scan): Fix leak of scan results in some
  13410. instances
  13411. 2005-03-29 Dan Williams <dcbw@redhat.com>
  13412. * src/NetworkManager.c
  13413. - (nm_poll_and_update_wireless_link_state): make code less indented
  13414. Patch from Bill Moss:
  13415. * src/NetworkManager.c
  13416. - (nm_device_update_link_state): Update signal strength on wireless
  13417. devices every time we update link state too.
  13418. 2005-03-29 Dan Williams <dcbw@redhat.com>
  13419. * src/NetworkManagerDevice.c
  13420. - (nm_device_set_essid): Work around Orinoco cards which need
  13421. extra time after setting the ESSID
  13422. 2005-03-29 Dan Williams <dcbw@redhat.com>
  13423. * src/NetworkManagerDevice.c
  13424. - Merge one more bit of Peter Jones' completion patch
  13425. 2005-03-29 Dan Williams <dcbw@redhat.com>
  13426. * src/NetworkManagerDevice.c
  13427. - (nm_device_force_use): Fix possible segfault
  13428. 2005-03-29 Dan Williams <dcbw@redhat.com>
  13429. * src/NetworkManagerDevice.c
  13430. - Use iw_get_ext() where we should rather than iw_set_ext()
  13431. 2005-03-29 Dan Williams <dcbw@redhat.com>
  13432. * src/NetworkManagerDevice.c
  13433. - (nm_device_set_up_down): remove check for unsupported devices
  13434. that caused NM to not bring devices up when they were
  13435. added to the device list.
  13436. 2005-03-28 Dan Williams <dcbw@redhat.com>
  13437. * src/NetworkManagerDevice.c
  13438. - (mdio_read): Fix two bugs that caused all devices to fail
  13439. the MII carrier detection support checks
  13440. 2005-03-26 Dan Williams <dcbw@redhat.com>
  13441. * src/NetworkManagerDevice.c
  13442. - (nm_device_wireless_scan): Remove duplicated scanning code
  13443. 2005-03-25 Dan Williams <dcbw@redhat.com>
  13444. * panel-applet/NMWirelessApplet.c
  13445. - (nmwa_about_cb): Add some more contributors
  13446. - (nmwa_update_state): show the applet when there's no connection
  13447. - Enable the "Stop/Resume all wireless devices" option in the
  13448. context menu
  13449. - New "no connection" icon
  13450. * src/NetworkManager.c
  13451. - (nm_poll_and_update_wireless_link_state): don't do anything if
  13452. wireless is disabled or we're asleep
  13453. * src/NetworkManagerDHCP.c
  13454. - Remove trailing "\n" on debug messages
  13455. * src/NetworkManagerDbus.c
  13456. - (nm_dbus_network_status_from_data): new state "asleep"
  13457. * src/NetworkManagerDevice.c
  13458. - Merge most of Peter Jones' "completion" patch that greatly reduces
  13459. latency and wait times for most operations
  13460. - (nm_device_wireless_scan): Don't scan when asleep
  13461. * src/NetworkManagerPolicy.c
  13462. - (nm_policy_get_best_device): return no device when asleep
  13463. - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
  13464. for all wireless devices on update, not just active device
  13465. * src/NetworkManagerUtils.c
  13466. - Merge Peter Jones' "completion" patch
  13467. * src/nm-dbus-nm.c
  13468. - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
  13469. we're told to disable them
  13470. - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
  13471. * utils/nm-utils.h
  13472. - New variants of the warn/info/error/debug print functions that can take
  13473. variables rather than static strings
  13474. 2005-03-24 Dan Williams <dcbw@redhat.com>
  13475. * src/NetworkManagerUtils.c
  13476. - (nm_get_device_driver_name): driver names are now on the parents of
  13477. "Network Interface" objects, so look for them there
  13478. 2005-03-24 Dan Williams <dcbw@redhat.com>
  13479. * test/nmtest.c
  13480. - Escape some forgotten object paths before we shove them through dbus
  13481. 2005-03-24 Dan Williams <dcbw@redhat.com>
  13482. * dhcpcd/dhcpcd.[ch]
  13483. src/NetworkManagerDHCP.c
  13484. - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
  13485. (ie, dhcp_option_record_len -> dhcp_option_element_len)
  13486. * src/NetworkManagerDbus.c
  13487. - spacing cleanups
  13488. * src/nm-dbus-dhcp.c
  13489. - Make the API suck less. There is now only 1 type of each function,
  13490. ie only "getInteger" and no longer also "getIntegerv". All types
  13491. are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
  13492. that will never have more than 1 element. This should simplify
  13493. things greatly.
  13494. * test/nm-dhcp-opt-test.c
  13495. - Make the tool not segfault
  13496. - adapt to new DHCP Options API
  13497. 2005-03-22 Dan Williams <dcbw@redhat.com>
  13498. * src/NetworkManager.c
  13499. - (nm_wired_link_deactivated): actually ignore netlink events from
  13500. wireless devices.
  13501. 2005-03-22 Dan Williams <dcbw@redhat.com>
  13502. * src/NetworkManager.c
  13503. - (nm_wired_link_activated): actually ignore netlink events from
  13504. wireless devices.
  13505. 2005-03-17 Dan Williams <dcbw@redhat.com>
  13506. Patch from Tom Parker:
  13507. * src/nm-netlink-monitor.c
  13508. - Include unistd.h
  13509. * info-daemon/NetworkManagerInfoDbus.c
  13510. - (nmi_dbus_update_network_auth_method): free GConf values
  13511. Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
  13512. * src/NetworkManagerDevice.c
  13513. - (nm_device_set_wireless_config): wait for successful
  13514. association longer for some cards (Atheros a/b/g)
  13515. 2005-03-15 Ray Strode <rstrode@redhat.com>
  13516. * src/NetworkManager.c:
  13517. (sigterm_pipe_handler):
  13518. remove bogus FIXME
  13519. 2005-03-15 Ray Strode <rstrode@redhat.com>
  13520. * src/NetworkManagerDbus.c:
  13521. Fix some sign weirdness that gcc4 doesn't like,
  13522. and add a header file so PPC can hopefully find
  13523. SIGTRAP
  13524. 2005-03-14 Ray Strode <rstrode@redhat.com>
  13525. Fourth (probably working) cut at porting to
  13526. dbus 0.30 api and new hal. This cut adds
  13527. some new logging macros to make debugging
  13528. easier.
  13529. * dispatcher-daemon/NetworkManagerDispatcher.c:
  13530. * info-daemon/NetworkmanagerInfo.c:
  13531. * info-daemon/NetworkManagerInfoPassphraseDialog.c:
  13532. * info-daemon/NetworkManagerInfoVPN.c:
  13533. * src/NetworkManager.c:
  13534. * src/NetworkManagerAP.c:
  13535. * src/NetworkManagerAPList.c:
  13536. * src/NetworkManagerDHCP.c:
  13537. * src/NetworkManagerDbus.c:
  13538. * src/NetworkManagerDevice.c:
  13539. * src/NetworkManagerPolicy.c:
  13540. * src/NetworkManagerSystem.c:
  13541. * src/NetworkManagerUtils.c:
  13542. * src/NetworkManagerWireless.c:
  13543. * src/autoip.c:
  13544. * src/nm-dbus-nm.c:
  13545. * src/backends/NetworkManagerDebian.c:
  13546. * src/backends/NetworkManagerGentoo.c:
  13547. * src/backends/NetworkManagerRedHat.c:
  13548. * src/backends/NetworkManagerSlackware.c:
  13549. use new logging macros.
  13550. * dispatcher-daemon/NetworkManagerDispatcher.c:
  13551. (nmd_dbus_filter): s/dbus_free/g_free/
  13552. * info-daemon/Makefile.am: link in utils library.
  13553. * info-daemon/NetworkmanagerInfo.c: use new logging
  13554. macros.
  13555. (nmi_dbus_get_network): don't assume enumerations
  13556. are 32-bit.
  13557. (nmi_dbus_nmi_message_handler): don't free what
  13558. doesn't belong to us.
  13559. * libnm_glib/libnm_glib.c:
  13560. (libnm_glib_get_nm_status):
  13561. (libnm_glib_init): don't free what doesn't
  13562. belong to us.
  13563. (libnm_glib_dbus): strdup result, so it doesn't get
  13564. lost when message is unref'd.
  13565. * panel-applet/NMWirelessAppletDbus.c:
  13566. (nmwa_dbus_update_devices): s/dbus_free/g_free/
  13567. * src/NetworkManager.c:
  13568. (nm_monitor_wired_link_state): request initial status
  13569. dump of all cards when we start up, instead of relying
  13570. on /sys/.../carrier.
  13571. (nm_info_handler), (nm_set_up_log_handlers):
  13572. log handlers to specify what syslog priorites
  13573. the logging macros default to.
  13574. * src/NetworkManagerAPList.c:
  13575. (nm_ap_list_populate_from_nmi):
  13576. s/dbus_free_string_array/g_strfreev/
  13577. * src/NetworkManagerDbus.c:
  13578. (nm_dbus_get_network_object):
  13579. validate d-bus message argument types.
  13580. Advance message iterator after reading argument,
  13581. prepend instead of append to GSList.
  13582. * src/NetworkManagerDevice.c:
  13583. (nm_device_probe_wired_link_status):
  13584. remove redundant /sys in /sys path. remove wrong
  13585. contents == NULL means has carrier assumption.
  13586. * src/nm-netlink-monitor.c
  13587. (nm_netlink_monitor_request_status): implement
  13588. function to ask kernel to dump interface link
  13589. status over netlink socket.
  13590. * test/*.c: s/dbus_free/g_free/
  13591. * utils/nm-utils.h:
  13592. (nm_print_backtrace): new macro to print backtrace.
  13593. (nm_get_timestamp): new macro to get sub-second precise
  13594. unix timestamp.
  13595. (nm_info), (nm_debug), (nm_warning), (nm_error):
  13596. new logging functions. nm_info just prints,
  13597. nm_debug includes timestamp and function,
  13598. nm_warning includes function, nm_error includes
  13599. backtrace and sigtrap.
  13600. 2005-03-11 Ray Strode <rstrode@redhat.com>
  13601. Third (unfinished, partially working) cut at porting to
  13602. dbus 0.30 api and new hal.
  13603. * info-daemon/NetworkManagerInfoDbus.c:
  13604. don't free null arrays.
  13605. * panel-applet/NMWirelessAppletDbus.c:
  13606. * src/nm-dbus-device.c:
  13607. * src/nm-dbus-net.c:
  13608. * src/NetworkManagerDbus.c: more
  13609. STRING -> OBJECT_PATH fun
  13610. * src/NetworkManagerDevice.c:
  13611. * src/NetworkManagerDevice.h:
  13612. (rename nm_device_get_link_active): rename to
  13613. nm_device_has_active_link
  13614. (nm_device_wireless_link_active): rename to
  13615. nm_device_probe_wireless_link_state
  13616. (nm_device_wired_link_active): rename to
  13617. nm_device_probe_wired_link_state. Rewrite to
  13618. use carrier file since hal doesn't maintain
  13619. link state anymore.
  13620. (nm_device_update_link_active): rename to
  13621. nm_device_update_link_state
  13622. * src/NetworkManagerPolicy.c
  13623. (nm_policy_activation_finish): check for NULL
  13624. MAC address.
  13625. * src/Makefile.am:
  13626. * src/NetworkManagerMain.h:
  13627. * src/NetworkManager.c:
  13628. * src/nm-netlink-monitor.c:
  13629. * src/nm-netlink-monitor.h: New class to support
  13630. monitoring wired ethernet link status, since HAL
  13631. doesn't export that information anymore.
  13632. 2005-03-09 Ray Strode <rstrode@redhat.com>
  13633. Second (unfinished, unworking) cut at porting to
  13634. dbus 0.30 api.
  13635. * dispatcher-daemon/NetworkManagerDispatcher.c:
  13636. * info-daemon/NetworkManagerInfoDbus.c:
  13637. * panel-applet/NMWirelessAppletDbus.c:
  13638. * src/NetworkManagerDbusUtils.c:
  13639. * src/NetworkManagerDbusUtils.h:
  13640. * src/nm-dbus-device.c:
  13641. * src/nm-dbus-nm.c:
  13642. * test/nmtest.c: support dbus "object path" type
  13643. * configure.in:
  13644. * Makefile.am:
  13645. * info-daemon/Makefile.am:
  13646. * libnm_glib/Makefile.am:
  13647. * panel-applet/Makefile.am:
  13648. * dispatcher-daemon/Makefile.am
  13649. * src/Makefile.am:
  13650. * test/Makefile.am:
  13651. * utils/Makefile.am:
  13652. * utils/nm-utils.c:
  13653. * utils/nm-utils.h: new utils static lib
  13654. 2005-03-07 Ray Strode <rstrode@redhat.com>
  13655. * info-daemon/NetworkManagerInfoDbus.c:
  13656. * libnm_glib/libnm_glib.c:
  13657. * panel-applet/NMWirelessAppletDbus.c:
  13658. * src/NetworkManager.c:
  13659. * src/NetworkManagerDbus.c:
  13660. * src/NetworkManagerDevice.c:
  13661. * src/NetworkManagerUtils.c:
  13662. * src/nm-dbus-device.c:
  13663. * src/nm-dbus-dhcp.c:
  13664. * src/nm-dbus-net.c:
  13665. * src/nm-dbus-nm.c:
  13666. * test/nminfotest.c:
  13667. First (unfinished, unworking) cut at porting to dbus 0.30 api.
  13668. 2005-03-04 Dan Williams <dcbw@redhat.com>
  13669. * configure.in
  13670. - Mark HEAD as 0.4
  13671. 2005-03-04 Dan Williams <dcbw@redhat.com>
  13672. Patch from Peter Jones:
  13673. - Make stuff work with gcc 4.0
  13674. 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
  13675. * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
  13676. 2005-02-27 Jim Huang <jserv@kaffe.org>
  13677. * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
  13678. 2005-02-27 Dan Williams <dcbw@redhat.com>
  13679. Patch from Bill Moss:
  13680. * panel-applet/NMWirelessAppletDbus.c
  13681. - Make sure strength for current access point is up-to-date when we
  13682. update the gui data model
  13683. 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
  13684. * configure.in: Added "it" (Italian) to ALL_LINGUAS.
  13685. 2005-02-27 Dan Williams <dcbw@redhat.com>
  13686. * src/backends/NetworkManagerRedHat.c
  13687. - (nm_system_init): Kill any dhclient processes lying around as well
  13688. as stopping 'nifd' if its already been started. NetworkManager
  13689. subsumes the functions of nifd (kicking mDNSResponder, autoip)
  13690. 2005-02-27 Dan Williams <dcbw@redhat.com>
  13691. * panel-applet/NMWirelessApplet.c
  13692. - (nmwa_destroy): Really mean to destroy GUI data model first, then
  13693. dbus data model, not the GUI data model twice.
  13694. 2005-02-27 Dan Williams <dcbw@redhat.com>
  13695. * panel-applet/NMWirelessApplet.[ch]
  13696. panel-applet/NMWirelessAppletDbus.[ch]
  13697. - Move to incremental network updates. Instead of blowing away our list
  13698. of devices every time we get a signal from NetworkManager, we now
  13699. incrementally add/remove networks when NetworkManager notifies us that
  13700. a new network has appeared or disappered. Strength updates now happen
  13701. on-the-fly for each access point as well. There are now two copies of
  13702. data from NetworkManager: one for the dbus side, and one for the gui side.
  13703. When the dbus side data is modified, it is copied over to the gui side
  13704. so we don't have to hold the data_mutex for long periods of time (and
  13705. therefore block animation of the applet's icon).
  13706. - Clean up some memleaks too
  13707. * panel-applet/NMWirelessAppletOtherNetworkDialog.c
  13708. - Minor code beautification
  13709. * src/NetworkManagerAPList.c
  13710. - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
  13711. completely new and whether or not an existing one's strength was updated.
  13712. Try to fix multiple access points and signal strength by using the highest
  13713. signal strength in each scan for any given ESSID.
  13714. * src/NetworkManagerDbus.[ch]
  13715. - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
  13716. wireless networks; now we have only WirelessNetworkUpdate which includes
  13717. a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
  13718. - Kill usage of DbusMessageIter
  13719. * src/NetworkManagerDevice.c
  13720. - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
  13721. in the same scan result list. Copy ESSIDs-by-address earlier on, for each
  13722. AP rather than all-at-once. Also don't ever remove the AP a card is
  13723. currently associated with from the network list.
  13724. - Update for new signals during scan, send out Appeared, Disappeared, or
  13725. StrengthChanged when necessary.
  13726. 2005-02-25 Dan Williams <dcbw@redhat.com>
  13727. * README
  13728. - Line break the README
  13729. 2005-02-25 Dan Williams <dcbw@redhat.com>
  13730. * panel-applet/NMWirelessAppletOtherNetworkDialog.c
  13731. - Remove usage of gtk_window_set_default_size()
  13732. * panel-applet/essid.glade
  13733. - Stick default size here
  13734. - Add in random crap that current glade wants to add in now
  13735. 2005-02-25 Dan Williams <dcbw@redhat.com>
  13736. * src/backends/NetworkManagerRedHat.c
  13737. - For non-caching-nameserver/non-named case, ensure that nscd is running
  13738. and that we actually tell nscd to reload the hosts cache when it changes
  13739. 2005-02-25 Dan Williams <dcbw@redhat.com>
  13740. * info-daemon/NetworkManagerInfoDbus.c
  13741. - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
  13742. * test/nminfotest.c
  13743. - Whack usage of DbusMessageIter
  13744. - Clean up DbusError and DbusMessage handling and freeing
  13745. - Remove unused unregister handler
  13746. * test/nmtest.c
  13747. - Whack usage of DbusMessageIter
  13748. * test/nmtestdevices.c
  13749. - Whack usage of DbusMessageIter
  13750. 2005-02-25 Dan Williams <dcbw@redhat.com>
  13751. * NetworkManager.h
  13752. - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
  13753. signal
  13754. 2005-02-25 Dan Williams <dcbw@redhat.com>
  13755. * named/nm-named-manager.c
  13756. - Ensure that pid and watch variables for child named process get cleared out
  13757. when the child goes away.
  13758. 2005-02-22 Dan Williams <dcbw@redhat.com>
  13759. * src/NetworkManagerPolicy.c
  13760. - (nm_policy_activation_finish): Deactivate a device if its activation fails,
  13761. and NULL out data->active_device so that we have to choose another one.
  13762. This may make NetworkManager keep attempting to connect to a wired network
  13763. if it fails, but if it keeps failing the wired network has more problems than
  13764. just NetworkManager.
  13765. * src/backends/NetworkManagerRedHat.c
  13766. - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
  13767. is already running
  13768. * named/nm-named-manager.c
  13769. - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
  13770. named so that the distro can flush whatever name service caching
  13771. daemon it uses
  13772. 2005-02-21 Dan Williams <dcbw@redhat.com>
  13773. * src/NetworkManagerDHCP.[ch]
  13774. - (nm_device_dhcp_remove_timeouts): new function
  13775. * src/NetworkManagerDevice.c
  13776. - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
  13777. remove the DHCP timeouts.
  13778. 2005-02-21 Dan Williams <dcbw@redhat.com>
  13779. * panel-applet/NMWirelessApplet.[ch]
  13780. panel-applet/menu-info.[ch]
  13781. - Give the panel applet some major love: menu items are no longer
  13782. subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
  13783. This allows the applet to actually reflect theme changes correctly,
  13784. since themeing of subclassed items in GTK _sucks_.
  13785. 2005-02-18 Dan Williams <dcbw@redhat.com>
  13786. * libnm_glib/libnm_glib.[ch]
  13787. test/libnm_glib_test.c
  13788. - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
  13789. and its data, and doesn't have to free the callback data anymore
  13790. 2005-02-18 Dan Williams <dcbw@redhat.com>
  13791. * panel-applet/NMWirelessApplet.c
  13792. - Revert 2005-02-18 William Jon McCann fix for standard
  13793. copyright string until it passes 'make distcheck'.
  13794. With standard copyright string, xgettext complains
  13795. about "Non-ASCII string at ...".
  13796. 2005-02-18 Dan Williams <dcbw@redhat.com>
  13797. * panel-applet/essid.glade
  13798. panel-applet/NMWirelessAppletOtherNetworksDialog.c
  13799. - Correct spelling of "adaptor"->"adapter"
  13800. 2005-02-18 William Jon McCann <mccann@jhu.edu>
  13801. * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
  13802. (nmwa_about_cb): Use standard copyright string. Update comment
  13803. text to reflect that it is a notification area applet. Remove
  13804. leading newline in authors list.
  13805. (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
  13806. instead of on parent menu item activation. Fixes #167550.
  13807. 2005-02-18 William Jon McCann <mccann@jhu.edu>
  13808. * panel-applet/essid.glade: Capitalize items as per HIG.
  13809. Fixes #167632
  13810. 2005-02-16 William Jon McCann <mccann@jhu.edu>
  13811. * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
  13812. files for GTK 2.4 or lower, since now public in GTK 2.6.
  13813. * panel-applet/essid.glade: Don't specify window size.
  13814. 2005-02-17 Dan Williams <dcbw@redhat.com>
  13815. Caught by Bill Moss:
  13816. * dhcpcd/client.c
  13817. - Time remaining for DHCP transaction calculation was incorrectly
  13818. inside a #ifdef DEBUG
  13819. 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
  13820. * configure.in: Added fr (French) to ALL_LINGUAS.
  13821. 2005-02-14 Dan Williams <dcbw@redhat.com>
  13822. * src/NetworkManagerDHCP.c
  13823. - (set_domain_searches): Fix free of invalid pointer
  13824. 2005-02-14 Dan Williams <dcbw@redhat.com>
  13825. Patch from Peter Jones:
  13826. * dhcpcd/client.c
  13827. - Ensure we return RET_DHCP_CEASED everywhere we should
  13828. * dhcpcd/udpipgen.c
  13829. - Use faster TOS for IP packets
  13830. - Don't set ip_id since we're UDP
  13831. Patch from Tomislav Vujec:
  13832. * src/nm-dbus-dhcp.c
  13833. test/nm-dhcp-opt-test.c
  13834. - Clean up warnings to enable cvs tree compilation.
  13835. 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
  13836. * configure.in
  13837. po/hr.po
  13838. - Add the Croatian locale.
  13839. 2005-02-14 Colin Walters <walters@verbum.org>
  13840. * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
  13841. list of domains to search.
  13842. * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
  13843. 2005-02-13 Dan Williams <dcbw@redhat.com>
  13844. * dhcpcd/client.c
  13845. - Debug output cleanups of DHCP option printing and parsing.
  13846. 2005-02-13 Dan Williams <dcbw@redhat.com>
  13847. Patch from Dan Reed: DHCP options D-BUS API
  13848. Exposes the DHCP options that a device receives to clients over D-BUS.
  13849. * configure.in
  13850. - A few cleanups
  13851. * dhcpcd/client.h
  13852. - Correct names, option length, and types for DHCP options
  13853. * dhcpcd/dhcpcd.[ch]
  13854. - Clarify function names that access DHCP options & data
  13855. * src/NetworkManagerDHCP.c
  13856. - Use new DHCP data access functions
  13857. * src/NetworkManagerDbus.c
  13858. - Message handler for DHCP functions
  13859. * src/nm-dbus-dhcp.[ch] (new)
  13860. - DHCP dbus methods
  13861. * test/nm-dhcp-opt-test.c
  13862. - Test DHCP D-BUS API and return all present DHCP options
  13863. 2005-02-12 Dan Williams <dcbw@redhat.com>
  13864. * test/Makefile.am
  13865. test/nmclienttest.c
  13866. test/nmtest.c
  13867. - Move nmclienttest.c -> nmtest.c
  13868. 2005-02-12 Dan Williams <dcbw@redhat.com>
  13869. * dhcpcd/buildmsg.c
  13870. - Pad DHCP packets until they are at least 300 bytes in size.
  13871. 2005-02-11 Dan Williams <dcbw@redhat.com>
  13872. * dhcpcd/client.c
  13873. - (dhcp_init): only print out client ID and class ID if they are specified
  13874. * src/NetworkManagerDbus.[ch]
  13875. src/nm-dbus-nm.[ch]
  13876. src/nm-dbus-device.[ch]
  13877. src/nm-dbus-net.[ch]
  13878. - Move NM, Device, and Net functions to separate files and use the
  13879. dbus method list stuff in NetworkManagerDbusUtils.c to do
  13880. method dispatching
  13881. * src/NetworkManagerDbusUtils.c
  13882. - Add new validate_method called before each dispatch (if present)
  13883. that can validate the method call
  13884. * src/NetworkManagerWireless.c
  13885. - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
  13886. levels never to be evaluated
  13887. Patch from j@bootlab.org
  13888. * src/NetworkManagerDevice.c
  13889. - Add typedef for "u64"
  13890. * src/backends/NetworkManagerDebian.c
  13891. - Copy in Dave Woodhouse's fixes for IPv6
  13892. 2005-02-11 Dan Williams <dcbw@redhat.com>
  13893. Patch from Dave Woodhouse for IPv6:
  13894. * src/NetworkManagerUtils.c
  13895. - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
  13896. and multicast addresses
  13897. * src/NetworkManagerDevice.c
  13898. - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
  13899. after bringing up a card.
  13900. 2005-02-10 Dan Williams <dcbw@redhat.com>
  13901. Patch from Dave Woodhouse:
  13902. * src/NetworkManagerSystem.h
  13903. src/backends/NetworkManagerDebian.c
  13904. src/backends/NetworkManagerGentoo.c
  13905. src/backends/NetworkManagerSlackware.c
  13906. - New nm_system_device_add_ip6_link_address() function to add link-local
  13907. address on an interface. Stubbed in Debian, Gentoo, and Slackware.
  13908. * src/backends/NetworkManagerRedHat.c
  13909. - (nm_system_device_add_ip6_link_address): implement
  13910. - (nm_system_device_flush_addresses): revert to previous behavior of
  13911. flushing all addresses
  13912. 2005-02-10 Dan Williams <dcbw@redhat.com>
  13913. Patch from Tom Parker:
  13914. * src/NetworkManagerDevice.c
  13915. - Remove the "#include <pci/types.h>" since both the ethtool.h and
  13916. mii.h headers are broken, and instead use our own typedefs
  13917. 2005-02-10 Dan Williams <dcbw@redhat.com>
  13918. * dhcpcd/buildmsg.c
  13919. - (fill_host_and_class_id): only fill in client and class IDs if
  13920. they are set by callers.
  13921. * dhcpcd/client.c
  13922. - (class_id_setup): don't autogenerate a class ID, only use one
  13923. we're given, if any.
  13924. - (client_id_setup): don't autogenerate a client ID, only use one
  13925. we're given, if any.
  13926. * dhcpcd/dhcpcd.c
  13927. - (dhcp_interface_init): ensure that client options are correctly
  13928. NULL terminated
  13929. * src/NetworkManagerDHCP.c
  13930. - (nm_device_dhcp_request): pass hostname to dhcp library
  13931. 2005-02-10 Dan Williams <dcbw@redhat.com>
  13932. * dhcpcd/client.c
  13933. - #rh147661# Don't send kernel version in DHCP requests
  13934. * src/NetworkManagerSystem.h
  13935. src/backends/NetworkManagerDebian.c
  13936. src/backends/NetworkManagerGentoo.c
  13937. src/backends/NetworkManagerRedHat.c
  13938. src/backends/NetworkManagerSlackware.c
  13939. - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
  13940. functions, they are no longer used anyway
  13941. * src/backends/NetworkManagerRedHat.c
  13942. - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
  13943. addresses in an attempt to keep IPv6 local-scope addresses around
  13944. 2005-02-10 Dan Williams <dcbw@redhat.com>
  13945. * src/NetworkManager.c
  13946. - (nm_create_device_and_add_to_list): change the add message slightly
  13947. * src/NetworkManagerUtils.c
  13948. - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
  13949. Return driver name to calling function
  13950. - (nm_get_driver_support_level): print out the driver a device is using
  13951. during the support check
  13952. Patch from Dave Woodhouse:
  13953. * dhcpcd/udpipgen.c
  13954. - (in_cksum): copy last byte of odd-sized packets into a
  13955. 'u_short' rather than a 'u_char', should fix wrong checksums
  13956. on big-endian platforms
  13957. 2005-02-09 Dan Williams <dcbw@redhat.com>
  13958. * Clean up usage of GSList objects and looping through their members
  13959. * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
  13960. now.
  13961. * Fix problem where even if scanning was turned off, card would still
  13962. cycle through frequencies.
  13963. 2005-02-08 Dan Williams <dcbw@redhat.com>
  13964. * panel-applet/NMWirelessApplet.c
  13965. - Fix for gtk 2.4
  13966. 2005-02-08 Dan Williams <dcbw@redhat.com>
  13967. Patch from Bill Moss
  13968. * panel-applet/NMWirelessApplet.c
  13969. - Restore correct ESSID in tooltips
  13970. 2005-02-07 Dan Williams <dcbw@redhat.com>
  13971. * panel-applet/NMWirelessApplet.[ch]
  13972. - Add a context menu that contains:
  13973. Pause/Resume Wireless Scanning
  13974. Stop/Start All Wireless Devices
  13975. About...
  13976. - Grab active device strength off active device,
  13977. not its network
  13978. * panel-applet/NMWirelessAppletDbus.[ch]
  13979. - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
  13980. "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
  13981. - Update active device strength every 2 seconds, not every 1 second
  13982. * panel-applet/menu-info.c
  13983. - Only disable wired devices in the menu when they support carrier detection,
  13984. and don't currently have a link. Non-carrier-detect devices will always
  13985. remain choosable
  13986. * src/Makefile.am
  13987. src/NetworkManagerDbusUtils.[ch]
  13988. - Add new new dbus utils sources
  13989. * src/NetworkManager.c
  13990. - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
  13991. with the boolean parameter
  13992. - Set scanning_enabled & wireless_enabled to TRUE
  13993. * src/NetworkManagerDbus.c
  13994. - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
  13995. - Implement scanning & wireless enable/disable calls
  13996. - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
  13997. * src/NetworkManagerDevice.c
  13998. - New link detection stuff again...
  13999. o Create device's mainloop earlier (but don't run it earlier)
  14000. o Hook up new carrier-detect support stuff
  14001. o Add in the ethtool & mii support detection code
  14002. - Don't scan if scanning is disabled
  14003. * src/NetworkManagerPolicy.c
  14004. - Never automatically choose a device that doesn't support carrier detection
  14005. - Don't automatically choose a wireless device if wireless is disabled
  14006. 2005-02-07 Dan Williams <dcbw@redhat.com>
  14007. * libnm_glib/libnm_glib.c
  14008. - Small cleanup in element list iteration
  14009. 2005-02-07 Dan Williams <dcbw@redhat.com>
  14010. * src/NetworkManagerWireless.c
  14011. - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
  14012. to be in line with the WEXT quality specification
  14013. 2005-02-02 Dan Williams <dcbw@redhat.com>
  14014. Patch from Nathan Fredrickson <nathan@silverorange.com>
  14015. * Fix up compile for deprecation of libgnomeui
  14016. - Switch to <glib/gi18n.h> from <libintl.h>
  14017. - Remove <libgnomeui/libgnomeui.h> includes
  14018. - Use gtk_window_set_default_icon_from_file() rather than
  14019. gnome_window_set_default_icon_from_file()
  14020. * named/nm-named-manager.c
  14021. - (generate_named_conf): Fix return-nothing in non-void
  14022. function
  14023. 2005-02-02 Dan Williams <dcbw@redhat.com>
  14024. * Clean up unused variables and the like
  14025. 2005-02-02 Dan Williams <dcbw@redhat.com>
  14026. * src/NetworkManagerAPList.c
  14027. - (nm_ap_list_merge_scanned_ap): merge strength too
  14028. * src/NetworkManagerUtils.c
  14029. - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
  14030. of locking issues by printing out prettier information than g_mutex_lock
  14031. - Print out names of mutexes registered with nm_register_mutex_desc()
  14032. - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
  14033. us to seemingly block here for too long
  14034. * src/NetworkManager.c
  14035. src/NetworkManagerAPList.c
  14036. src/NetworkManagerDevice.c
  14037. - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
  14038. so we get better debug information printed
  14039. * src/NetworkManagerDbus.c
  14040. - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
  14041. since it sometimes has locking side effects
  14042. - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
  14043. from 10s
  14044. - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
  14045. we don't need a switch. This gets called often enough that we can't block
  14046. until the scan mutex is acquired, because we'll block on device activation
  14047. and a few other things, which hangs main thread for too long.
  14048. * src/NetworkManagerPolicy.c
  14049. - (nm_policy_auto_get_best_device): reduce the possiblity that
  14050. nm_device_need_ap_switch() will be called
  14051. 2005-02-02 Dan Williams <dcbw@redhat.com>
  14052. * panel-applet/NMWirelessApplet.c
  14053. - Display name of wireless network we are connecting to or connected to
  14054. in the tooltip of the applet
  14055. 2005-02-02 Dan Williams <dcbw@redhat.com>
  14056. * src/NetworkManagerDHCP.c
  14057. - Hopefully fix double-default-route problem by cleaning up the default
  14058. route added by DHCP code right before the DHCP transaction begins
  14059. 2005-02-02 Dan Williams <dcbw@redhat.com>
  14060. * named/nm-named-manager.c
  14061. - Write out valid resolv.conf when we exit
  14062. 2005-02-01 Dan Williams <dcbw@redhat.com>
  14063. Patch from Colin Walters:
  14064. * named/nm-named-manager.c
  14065. - Make multi-domain search options work
  14066. 2005-01-31 Dan Williams <dcbw@redhat.com>
  14067. * info-daemon/NetworkManagerInfoDbus.c
  14068. - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
  14069. * src/NetworkManagerDevice.c
  14070. - (nm_device_new): Don't store the entire range struct, use only what we need
  14071. (which is currently avg_quality, max_quality, and frequencies). Also
  14072. zero device structure when we've free'd it to maybe expose errors down
  14073. the line.
  14074. - (nm_device_update_signal_strength): grab the scan mutex before getting
  14075. quality data from the card since quality will be useless during a scan.
  14076. Call updated wireless qual-to-percent function with values stored in
  14077. nm_device_new() earlier.
  14078. - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
  14079. nm_device_get_bad_crypt_packets())
  14080. - (nm_device_activate_wireless_adhoc): use new frequency values we go in
  14081. nm_device_new()
  14082. - (get_initial_auth_method): always use the Auth method that's in the allowed
  14083. list if available. Problem was this: when the WEP key is wrong, NM will
  14084. try OS then SK modes, and then get stuck in SK mode after that. This
  14085. should reset it.
  14086. - (nm_device_wireless_process_scan_results): work with new qual-to-percent
  14087. function
  14088. * src/NetworkManagerWireless.c
  14089. - (nm_wireless_qual_to_percent): try to make this function actually work and
  14090. mimic iwlib behavior. Use card's idea of quality divided by max_qual
  14091. if that's all present, otherwise fall back to signal-to-noise ratios.
  14092. 2005-01-29 Dan Williams <dcbw@redhat.com>
  14093. * initscript/RedHat/NetworkManager
  14094. - Don't spit out sysctl stuff to console
  14095. * libnm_glib/libnm_glib.c
  14096. - (libnm_glib_init): call dbus_g_thread_init()
  14097. * panel-applet/NMWirelessAppletDbus.c
  14098. - (nmwa_dbus_worker): call dbus_g_thread_init()
  14099. * src/NetworkManager.c
  14100. - (main): call dbus_g_thread_init()
  14101. * src/NetworkManagerAPList.c
  14102. - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
  14103. so we can actually see what's there in a normal syslog
  14104. * src/NetworkManagerDevice.c
  14105. - (nm_device_activate_wireless): print out the "waiting for access point"
  14106. message only once, then say what access point we actually got after
  14107. the wait.
  14108. - (nm_device_need_ap_switch): If a scan is in progress when we're in this
  14109. function, wait until the scan is done. Scans may change the ESSID of
  14110. the card, making this function think we need to switch access points
  14111. - (nm_device_wireless_process_scan_results): for artificial access points
  14112. don't check against the card's ESSID, but the best_ap's ESSID. This
  14113. prevents collisions with the scanning code, which may change the card's
  14114. ESSID and cause the access point to get dropped from the device's AP
  14115. list. Also increase the keep-around time to 2m from 60s since the max
  14116. scan interval could be 60s in some cases.
  14117. * src/NetworkManagerPolicy.c
  14118. - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
  14119. - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
  14120. the new properties and ESSIDs to the device's AP list. Fixes some races
  14121. between NM and NMI.
  14122. 2005-01-27 Dan Williams <dcbw@redhat.com>
  14123. * info-daemon/NetworkManagerInfoDbus.c
  14124. - (nmi_dbus_add_network_address): if the network doesn't yet exist in
  14125. GConf, make a minimal entry for it (essid & timestamp)
  14126. * src/NetworkManagerAPList.c
  14127. - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
  14128. NetworkManagerInfo isn't running
  14129. * src/NetworkManagerDbus.[ch]
  14130. - (nm_dbus_nmi_is_running): new function
  14131. * src/NetworkManagerDevice.c
  14132. - (nm_device_wireless_force_use): Don't set the created AP's MAC
  14133. address to garbage.
  14134. * src/NetworkManagerPolicy.c
  14135. - (nm_policy_activation_finish): On successful activation, make sure
  14136. the "best" AP has a MAC address, and don't tell NMI to add the
  14137. current AP's MAC address to GConf if the AP is an Ad-hoc AP.
  14138. - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
  14139. access point after refreshing our allowed list if it doesn't already
  14140. have a "best" access point.
  14141. 2005-01-25 Dan Williams <dcbw@redhat.com>
  14142. * panel-applet/NMWirelessAppletDbus.c
  14143. - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
  14144. so we check for NM_DBUS_SERVICE rather than not for it
  14145. * libnm_glib/libnm_glib.c
  14146. - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
  14147. ServiceOwnerChanged signal
  14148. 2005-01-25 Dan Williams <dcbw@redhat.com>
  14149. * configure.in
  14150. - Check DBUS version in configure, and set the C macros
  14151. DBUS_VERSION_[MAJOR,MINOR,MICRO]
  14152. * info-daemon/NetworkManagerInfoDbus.c
  14153. - Remove #if 0-d section of code that quit NMI if NM went away.
  14154. * panel-applet/NMWirelessAppletDbus.c
  14155. - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
  14156. * src/NetworkManager.c
  14157. src/NetworkManagerMain.h
  14158. src/NetworkManagerDbus.c
  14159. - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
  14160. - Make updating of our Allowed Wireless Network lists from NMI
  14161. an idle function in the main thread now, with a high priority.
  14162. 2005-01-24 Dan Williams <dcbw@redhat.com>
  14163. * panel-applet/gtkcellview.[ch]
  14164. panel-applet/menu-info.c
  14165. - Fix GTK version checks to be <= rather than <
  14166. * test/Makefile.am
  14167. - Include the libtool archive of libnm_glib rather than
  14168. trying to pull in the .so
  14169. 2005-01-24 Dan Williams <dcbw@redhat.com>
  14170. * src/NetworkManagerDevice.c
  14171. src/NetworkManagerDevicePrivate.h
  14172. - Block nm_device_new() until our device's worker thread has had a
  14173. chance to start up. Fixes a race between main thread and worker
  14174. thread starting that caused activation requests to get lost.
  14175. 2005-01-24 Dan Williams <dcbw@redhat.com>
  14176. * initscript/RedHat/NetworkManager
  14177. - Remove the ### BEGIN INIT INFO section, which caused chkconfig
  14178. to add the NM startup script at priority 50, which was
  14179. way too early
  14180. 2005-01-24 Colin Walters <walters@redhat.com>
  14181. * named/named.conf: Use any port for query source instead of
  14182. restricting to port 53.
  14183. 2005-01-24 Dan Williams <dcbw@redhat.com>
  14184. * initscript/RedHat/NetworkManager
  14185. - Remove the ### BEGIN INIT INFO section, which caused chkconfig
  14186. to add the NM startup script at priority 50, which was
  14187. way too early
  14188. 2005-01-24 Dan Williams <dcbw@redhat.com>
  14189. Patch from Tom Parker <palfrey@tevp.net>
  14190. * Fix up compile warnings & errors in the wireless applet
  14191. 2005-01-24 Dan Williams <dcbw@redhat.com>
  14192. * panel-applet/NMWirelessApplet.c
  14193. - Convert 24x24 icons back to 22x22 and use the 22x22 ones
  14194. 2005-01-24 Dan Williams <dcbw@redhat.com>
  14195. * panel-applet/gtkcellview.[ch]
  14196. - Only compile these files for GTK 2.4 or lower, since
  14197. GtkCellView is now public in GTK 2.6. Fixes crasher
  14198. when choosing "Other Wireless Networks" from the panel
  14199. applet menu
  14200. 2005-01-21 Dan Williams <dcbw@redhat.com>
  14201. * src/NetworkManager.c
  14202. - Daemonize earlier so that glib doesn't get confused (?)
  14203. 2005-01-21 Dan Williams <dcbw@redhat.com>
  14204. * panel-applet/NMWirelessApplet.[ch]
  14205. panel-applet/NMWirelessAppletDbus.c
  14206. panel-applet/menu-info.c
  14207. src/NetworkManagerDevice.c
  14208. - Disable wired devices in the menu when they have no link.
  14209. 2005-01-21 Dan Williams <dcbw@redhat.com>
  14210. * Cache last-known-good wireless authentication method in
  14211. NetworkManagerInfo, and use that method first during
  14212. wireless device activation. Should speed up devices that
  14213. need Shared Key authentication method since Open System is
  14214. now the default.
  14215. * Remove the hack to not do full activation on wired connections
  14216. that are active when we launch, it causes too many problems
  14217. with name resolution and was a hack in the first place.
  14218. * Re-work wireless device activation again somewhat to have a
  14219. clearer chain of events and to use last-known-good
  14220. authentication method of the access point. Also provide
  14221. better status throughout activation to ensure the applet
  14222. can tell the user exactly what's going on.
  14223. * Remove the "find wireless network" code and now simply attempt
  14224. to activate with that access point. This reduces the delay
  14225. between selecting "Other wireless Network" and actually
  14226. connecting to that network.
  14227. * Correctly stop the device's worker thread when its removed.
  14228. 2005-01-21 Dan Williams <dcbw@redhat.com>
  14229. * dhcpcd/client.c
  14230. - Clean up some of the debug messages
  14231. 2005-01-21 Dan Williams <dcbw@redhat.com>
  14232. * Add new icons, more frames of animation
  14233. * Remove some hacks to get the panel applet to display correct
  14234. status, an NM update will soon follow that will fix the
  14235. real issue.
  14236. 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
  14237. * panel-applet/NMWirelessApplet.c: #include <config.h> must be
  14238. the first include for working i18n. Also, don't include it in .h files
  14239. * panel-applet/NMWirelessApplet.h: Same
  14240. * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
  14241. * panel-applet/menu-info.c: Same
  14242. 2005-01-18 Dan Williams <dcbw@redhat.com>
  14243. * dhcpcd/client.c
  14244. - Remove some debug messages
  14245. - Wrap others in #ifdef DEBUG/#endif
  14246. * src/NetworkManager.c
  14247. - Remove some debug messages
  14248. - Clarify some debug messages
  14249. - Remove code related to old single-thread wireless scanning
  14250. * src/NetworkManagerAP.[ch]
  14251. - New AP property "last_seen" to track how recently an AP was
  14252. found in a scan
  14253. - Start using 'const' more in function arguments
  14254. * src/NetworkManagerAPList.[ch]
  14255. - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
  14256. of an AP found in an AP list from a source AP, or if not found
  14257. in the list add the source AP
  14258. - (nm_ap_list_combine): remove, no longer needed
  14259. * src/NetworkManagerDevice.c
  14260. - Each device now has a "worker" thread from start to end of its life.
  14261. Scanning for wireless devices now happens in that thread,
  14262. not in a single "wireless scanning thread" for all devices as
  14263. previously. Activation consists of adding an idle handler to the
  14264. thread's main loop/context, which gets run at the next available
  14265. opportunity.
  14266. - Wireless scanning is also simplified, there is now only one list of
  14267. access points per wireless device, and APs older than 60s are
  14268. removed from the list. Previously, we kept results for the last
  14269. 3 scans and merged whole lists, which was complicated.
  14270. - Cleaned up activation debug messages.
  14271. - Wireless activation and access-point search routines now use Open System
  14272. authentication before trying Shared Key.
  14273. - Removed some code in nm_device_update_best_ap() that could cause cards
  14274. to loose their link to the access point.
  14275. - Scanning now uses a backoff algorithm, where the inverval becomes
  14276. progressively longer between scans when the list of scanned access
  14277. points doesn't change. A change will revert to the shortest scan
  14278. interval (20s).
  14279. * src/NetworkManagerWireless.[ch]
  14280. - Remove code related to old single-thread wireless scanning
  14281. 2005-01-18 Colin Walters <walters@redhat.com>
  14282. * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
  14283. of older nameservers.
  14284. 2005-01-18 Colin Walters <walters@redhat.com>
  14285. * named/nm-named-manager.c (generate_named_conf): Many fixes
  14286. to config file generation.
  14287. (safer_kill): Remove, was too much trouble for little gain.
  14288. (nm_named_manager_start): Run named as NM_NAMED_USER.
  14289. * configure.in: Add option --with-named-user.
  14290. 2005-01-14 Colin Walters <walters@redhat.com>
  14291. Patch from ed@catmur.co.uk (Ed Catmur)
  14292. * named/nm-named-manager.c: Add "context" property.
  14293. Use it to add child watch source in specific GMainContext.
  14294. * src/NetworkManager.c (nm_data_new): Initialize
  14295. named with correct main context. Start named only
  14296. after forking.
  14297. 2005-01-14 Colin Walters <walters@redhat.com>
  14298. * named/nm-named-manager.c (generate_named_conf): Write config
  14299. and pid files into NM_NAMED_DATA_DIR; this allows things to
  14300. work better with FC3 named SELinux policy. Also fix up silly
  14301. format error.
  14302. * configure.in: Add --with-named-dir option.
  14303. 2005-01-14 Colin Walters <walters@redhat.com>
  14304. * configure.in: Make named support require passing --with-named.
  14305. * named/nm-named-manager.c: Support writing resolv.conf directly
  14306. without running named.
  14307. 2005-01-13 Dan Williams <dcbw@redhat.com>
  14308. * named/nm-named-manager.c
  14309. - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
  14310. * src/NetworkManagerDevice.c
  14311. - Rework wireless link detection code to be more reliable
  14312. 2005-01-12 Dan Williams <dcbw@redhat.com>
  14313. * initscripts/RedHat/NetworkManager
  14314. - Change initial level to "-" rather than "345" so that
  14315. we don't activate ourselves by default on install
  14316. 2005-01-12 Dan Williams <dcbw@redhat.com>
  14317. * libnm_glib/
  14318. - Client library for applications using glib
  14319. * configure.in
  14320. various Makefiles
  14321. - Split NM_CFLAGS and NM_LIBS into separate variables
  14322. like DBUS_*, HAL_* and GLIB_*
  14323. * src/NetworkManager.c
  14324. src/NetworkManagerMain.h
  14325. - (nm_schedule_status_signal_broadcast): at the earliest convenience,
  14326. broadcast a status changed signal over DBUS from the main thread.
  14327. Still unused anywhere for the moment.
  14328. Patch from j@bootlab.org
  14329. * panel_applet/NMWirelessAppletDbus.c
  14330. src/NetworkManagerDbus.c
  14331. - Correct INT32->UINT32 mistmatch between NM and the panel applet
  14332. for the "getMode" method call
  14333. 2005-01-10 Dan Williams <dcbw@redhat.com>
  14334. * src/NetworkManagerDevice.c
  14335. - Minor fixups & corrections to "auto" frequency mode, make it
  14336. less chatty with syslog
  14337. 2005-01-10 Dan Williams <dcbw@redhat.com>
  14338. * src/NetworkManagerDevice.c
  14339. - Implement "auto" frequency/channel support, since cards like Atheros
  14340. can't use other frequencies at all when you've told it to use a
  14341. specific one, even for scanning.
  14342. - Grab the scan mutex around places where we can't tolerate wireless
  14343. settings changing underneath us, like nm_device_wireless_network_exists()
  14344. and nm_device_activate_wireless()
  14345. * src/NetworkManagerWireless.c
  14346. - Back scan interval off to 20s instead of 14s
  14347. 2005-01-09 Dan Williams <dcbw@redhat.com>
  14348. * src/NetworkManagerDevice.c
  14349. - Don't set mode/freq/bitrate if that mode/freq/bitrate is
  14350. already set. Stops some drivers like Atmel from continually
  14351. reloading the firmware, which they do upon every configuration
  14352. change.
  14353. 2005-01-09 Dan Williams <dcbw@redhat.com>
  14354. * dhcpcd/client.c
  14355. - Use correct timeout value
  14356. * info-daemon/NetworkManagerInfoDbus.c
  14357. src/NetworkManagerDbus.c
  14358. - Consolidate communication between NM and NMI by doing only 1 dbus
  14359. method call to get Wireless Network info from NMI instead of 6
  14360. * src/NetworkManager.c
  14361. - Make sure to cancel activation when we receive a SIGTERM, otherwise
  14362. when we didn't have an AP to use, we'd wait for one forever without
  14363. quitting
  14364. * src/NetworkManagerDevice.c
  14365. - nm_device_activation_cancel(): Fix a race between dhcp and quitting
  14366. activation, dhcp might not have started yet but we don't quit activation
  14367. before starting it, so the quit signal gets lost
  14368. 2005-01-07 Dan Williams <dcbw@redhat.com>
  14369. * dhcpcd/client.c
  14370. - Rework the DHCP client code to be much less chatty when
  14371. it receives non-DHCP UDP packets during the DHCP run
  14372. (reported by and preliminary patches from Bill Moss)
  14373. * Move wireless scanning to a separate thread. This thread forwards the
  14374. results to the main thread when done where they are integrated into
  14375. the device's access point lists. This keeps the main thread (which
  14376. does all the DBUS communication) from being blocked for long periods
  14377. of time by wireless scanning.
  14378. * Make state modification an idle routine in the main loop, and trigger
  14379. state changes rather than polling for them.
  14380. * src/backends/NetworkManagerGentoo.c
  14381. - Fix up invalid C90 code (reported by Christoph Ruessler)
  14382. * src/NetworkManagerDevice.c
  14383. - Revert IPv6 patch for wired devices from 2004-12-22 for
  14384. router advertisements, causing problems and infinite loop
  14385. during "best" device determination due to link going up/down
  14386. (reported by Bill Moss)
  14387. Apply patch from Peter Jones
  14388. * src/NetworkManagerDevice.c
  14389. - Shortcut for link-checking for ipw2x00 cards
  14390. - Split out association check into separate routine
  14391. 2004-01-05 Colin Walters <walters@redhat.com>
  14392. * named/named.conf: Add PID_FILE.
  14393. * named/nm-named-manager.c: Always generate a pid
  14394. file, since older BIND versions don't support
  14395. "pid-file none".
  14396. 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
  14397. * configure.in (ALL_LINGUAS): Added ja (Japanese).
  14398. 2004-12-22 Dan Williams <dcbw@redhat.com>
  14399. * src/NetworkManagerDevice.c
  14400. - Silently fail when setting bitrate doesn't work
  14401. Patches from j@bootlab.org:
  14402. * src/backends/NetworkManagerDebian
  14403. - Update backend to match functionality in RedHat backend
  14404. * src/NetworkManagerDevice.c
  14405. - Take down then bring up wired devices after connection so
  14406. they send out ipv6 router advertisements
  14407. 2004-12-21 Colin Walters <walters@verbum.org>
  14408. * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
  14409. test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
  14410. 2004-12-21 Colin Walters <walters@redhat.com>
  14411. * configure.in: Correct named detection.
  14412. 2004-12-21 Colin Walters <walters@redhat.com>
  14413. * src/NetworkManager.c (nm_data_new): Initialize named.
  14414. Also, set up a signal handler for SIGINT/SIGTERM, and exit
  14415. the mainloop when these signals are received.
  14416. (nm_data_free): Unref named.
  14417. (sigterm_handler, sigterm_pipe_handler): New functions for
  14418. exiting mainloop.
  14419. * src/NetworkManagerMain.h (NMData): Add signal handling and
  14420. nameserver bits.
  14421. * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
  14422. unref.
  14423. * src/NetworkManagerDHCP.c (set_nameservers): New function;
  14424. set nameservers from DHCP response data.
  14425. (set_domain_search): Set domain search from DHCP response.
  14426. (nm_device_dhcp_configure): Invoke them.
  14427. * src/NetworkManagerSystem.c
  14428. (nm_system_device_update_resolv_conf): Delete. Deleting
  14429. code is totally sweet.
  14430. * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
  14431. * named/nm-named-manager.h, named/nm-named-manager.c: New files;
  14432. implements an object which controls a nameserver. Currently
  14433. uses bind 9.
  14434. * configure.in: Check for named.
  14435. * Makefile.am (SUBDIRS): Add named dir.
  14436. * named/named.conf: New template config file.
  14437. 2004-12-20 Colin Walters <walters@redhat.com>
  14438. * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
  14439. instead of '='.
  14440. 2004-12-17 Dan Williams <dcbw@redhat.com>
  14441. * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
  14442. link-local addresses instead of doing DHCP.
  14443. * In the panel applet, there's a new "Create new Wireless Network..." item
  14444. * The panel applet also sticks around now even if NetworkManager dies, but
  14445. it doesn't hide its icon when NM isn't around. Not hiding the icon is
  14446. a bug, I'll fix that later.
  14447. * We also don't use 'nscd' anymore in the RH backend, it was impeding name
  14448. lookups after a switch rather than actually doing them.
  14449. * Clean up some of those warnings in nm_ap_list_* functions
  14450. * Delay between scans changed to 15s instead of 10s
  14451. 2004-12-15 Dan Williams <dcbw@redhat.com>
  14452. Patch from Tom Parker
  14453. * Add autoip/Link Local Addressing support when we fail to get a DHCP
  14454. address
  14455. * Longer pause after setting ESSID on cards that support a larger number
  14456. of channels to give the card time to find the right channel
  14457. * Add system hook to restart mDNSResponder (or whatever the local implementation
  14458. of Multicast DNS is) when we activate interfaces
  14459. 2004-12-15 Dan Williams <dcbw@redhat.com>
  14460. * Rework the DHCP code again to revert to sending full ethernet frames
  14461. rather then relying on the kernel to do the right thing with our
  14462. packets.
  14463. 2004-12-06 Dan Williams <dcbw@redhat.com>
  14464. * dhcpcd/client.c
  14465. - Fix some minor errors in dhcp_handle_transaction() that caused
  14466. unexpected early timeouts of DHCP transactions
  14467. * dhcpcd/client.h
  14468. - DHCP retransmit time from 4s -> 5s
  14469. 2004-12-05 Dan Williams <dcbw@redhat.com>
  14470. * Major rework of the DHCP code, taking some cues from pump. We don't
  14471. write raw Ethernet packets anymore, which simplifies the code quite
  14472. a bit. The new code should be more robust, not hang in recvfrom()
  14473. as much, and generally work better. This also means that we need
  14474. to force HAL/dbus to use a created GMainContext rather than the
  14475. default context, since having the DHCP renew/rebind thread using
  14476. its own GMainContext seemed to give dbus a fit. There is also more
  14477. debugging information printed from the DHCP loop to help with future
  14478. problems.
  14479. * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
  14480. assume that the default gateway should be the DHCP server.
  14481. Patch from Matthew Schick <matt oss-institute org>
  14482. * src/backends/NetworkManagerGentoo.c
  14483. - Fix compilation error due to missing "ip4_broadcast"
  14484. 2004-12-03 Dan Williams <dcbw@redhat.com>
  14485. * initscript/Makefile.am
  14486. * initscript/Debian/NetworkManager
  14487. * initscript/Gentoo/NetworkManager
  14488. * initscript/RedHat/NetworkManager
  14489. * initscript/NMLaunchHelper.c
  14490. - Remove NMLaunchHelper, if you need to wait until the network
  14491. comes up, use the dead code from CVS.
  14492. 2004-12-01 Colin Walters <walters@redhat.com>
  14493. * configure.in: Suck in gcc warnings code from Rhythmbox,
  14494. but use fewer default flags, and in particular add -Wno-unused,
  14495. since the codebase has a lot of unused variables.
  14496. * test/nmtestdevices.c (create_device):
  14497. * test/nminfotest.c (get_network_string_property)
  14498. (get_networks_of_type):
  14499. * test/nmclienttest.c (main):
  14500. * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
  14501. * initscript/NMLaunchHelper.c (get_nm_status):
  14502. * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
  14503. * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
  14504. Fix declarations after statements.
  14505. 2004-12-01 Colin Walters <walters@redhat.com>
  14506. * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
  14507. (nmi_dbus_get_vpn_userpass): New method.
  14508. (nmi_dbus_nmi_message_handler): Invoke it.
  14509. * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
  14510. * info-daemon/NetworkManagerInfoVPN.h,
  14511. info-daemon/NetworkManagerInfoVPN.c: New files; responds
  14512. to requests for VPN passwords.
  14513. * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
  14514. 2004-12-01 Colin Walters <walters@redhat.com>
  14515. * test/nmtestdevices.c, test/nmclienttest.c: Add missing
  14516. includes.
  14517. 2004-12-01 Colin Walters <walters@redhat.com>
  14518. * panel-applet/NMWirelessAppletDbus.c
  14519. (nmwa_dbus_update_active_device_strength): Fix missing
  14520. return value.
  14521. 2004-12-01 Colin Walters <walters@redhat.com>
  14522. * panel-applet/NMWirelessApplet.c: Add missing include.
  14523. 2004-12-01 Colin Walters <walters@redhat.com>
  14524. * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
  14525. Remove useless CLAMP (); the value is unsigned, and the case tests
  14526. qual->qual < 100, so the value must always be between 0 and 100.
  14527. 2004-12-01 Colin Walters <walters@redhat.com>
  14528. * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
  14529. 2004-11-22 Colin Walters <walters@verbum.org>
  14530. * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
  14531. "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
  14532. which is essentially a noop since nscd caches hosts on disk too.
  14533. 2004-11-22 Colin Walters <walters@redhat.com>
  14534. * src/Makefile.am (NetworkManager_SOURCES): Add
  14535. NetworkManagerDevicePrivate.h.
  14536. 2004-11-22 Dan Williams <dcbw@redhat.com>
  14537. * src/NetworkManagerDevicePrivate.h
  14538. - Split out the NMDevice struct to a different file so that stuff like
  14539. NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
  14540. * dhcpcd/client.c
  14541. - fprintf->syslog
  14542. - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
  14543. need to cancel the dhcp request during the send and recv
  14544. * dhcpcd/client.h
  14545. - Move the DHCP option enum to dhcpcd.h
  14546. * src/NetworkManagerDHCP.c
  14547. - Split out the actual IP/netmask/etc setting code
  14548. - New Renew/Rebind functions
  14549. - New timer setup function for renew/rebind operations
  14550. * src/NetworkManagerDevice.c
  14551. - For device activation, if we are using DHCP then keep the activation thread
  14552. alive until device deactivation. We need to renew/rebind the DHCP address
  14553. after the T1 (renew) and T2 (rebind) times have expired.
  14554. - Increase some timeouts after bringing wireless cards up/down
  14555. 2004-11-17 Dan Williams <dcbw@redhat.com>
  14556. * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
  14557. connected to them. Then, after a scan, match up non-ESSID-broadcasting access
  14558. points with any cached MAC addresses from NetworkManagerInfo. Allows us to
  14559. show known access points that don't broadcast their ESSID in the menus without
  14560. any user intervention whatsoever.
  14561. * info-daemon/NetworkManagerInfoDbus.c
  14562. - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
  14563. for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
  14564. * src/NetworkManagerAP.[ch]
  14565. - Add a "user_addresses" data member to the NMAccessPoint structure
  14566. - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
  14567. the user_addresses data member
  14568. * src/NetworkManagerAPList.c
  14569. - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
  14570. the AP's reported address
  14571. - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
  14572. * src/NetworkManagerDHCP.c
  14573. - Increase DHCP timeout from 25s -> 30s
  14574. * src/NetworkManagerDbus.[ch]
  14575. - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
  14576. user addresses
  14577. * src/NetworkManagerDevice.c
  14578. - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
  14579. wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
  14580. "mgnt tx queue full", seemingly in response to NM controlling the card too much.
  14581. So, we take the card down to clear it out.
  14582. - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
  14583. too, since that's where the user_addresses are
  14584. * src/NetworkManagerPolicy.c
  14585. - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
  14586. that wireless networks' user_addresses list upon successful activation
  14587. 2004-11-16 Dan Williams <dcbw@redhat.com>
  14588. * src/NetworkManagerDevice.[ch]
  14589. - (nm_device_clear_activation_fail): new function
  14590. * src/NetworkManagerPolicy.c
  14591. - (nm_state_modification_monitor): clear the activation_failed flag on devices
  14592. when we've dealt with the failure so the user doesn't get failure-dialog-spammed
  14593. 2004-11-16 Dan Williams <dcbw@redhat.com>
  14594. * src/NetworkManagerDevice.c
  14595. - (nm_device_activate_wireless): Unref best_ap upon success so we don't
  14596. leak the structure, better updating of now_scanning status
  14597. - (nm_device_wireless_network_exists): Rewrite for better/faster checking
  14598. 2004-11-15 Dan Williams <dcbw@redhat.com>
  14599. Major rework of link detection code. We now use DHCP
  14600. as part of the link detection which proves to be much more robust,
  14601. and also supports Open System authentication for wireless networks.
  14602. We no longer use external DHCP client programs. Instead, we use
  14603. our own DHCP client, based on substantially reworked bits of 'dhcpcd'
  14604. which was written by:
  14605. Yoichi Hariguchi <yoichi@fore.com>
  14606. Sergei Viznyuk <sv@phystech.com>
  14607. http://www.phystech.com/download/
  14608. It resides in the "dhcpcd" directory and was refactored into a general
  14609. purpose DHCP client library by me.
  14610. Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
  14611. move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
  14612. 2004-11-15 Dan Williams <dcbw@redhat.com>
  14613. Patch from Tom Parker <palfrey@tevp.net>:
  14614. * src/NetworkManagerDevice.c
  14615. - Less output to console when no access
  14616. points are found during a scan
  14617. 2004-11-15 Dan Williams <dcbw@redhat.com>
  14618. Patch from Tom Parker <palfrey@tevp.net>:
  14619. * src/backends/interface_parser.c
  14620. - Use g_strdup ()
  14621. - Check for inp == NULL
  14622. - use syslog ()
  14623. 2004-11-13 Colin Walters <walters@redhat.com>
  14624. Patch from Tom Parker <palfrey@tevp.net>:
  14625. * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
  14626. * src/backends/NetworkManagerRedHat.c: Switch to
  14627. including shvar.h instead of shvar.c.
  14628. * src/backends/NetworkManagerDebian.c: Don't include
  14629. interface_parser.c in source file.
  14630. (libnmbackend_la_SOURCES): Don't include shvar.[ch]
  14631. and interface_parser.[ch].
  14632. * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
  14633. Include shvar.c and shvar.h here.
  14634. (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
  14635. interface_parser.c and interface_parser.h here.
  14636. 2004-11-12 Colin Walters <walters@redhat.com>
  14637. * configure.in: Strip out TARGET_DISTRO and
  14638. SYSTEM_BACKEND_FILE variables. Switch to Automake
  14639. conditionals.
  14640. * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
  14641. (libnmbackend_la_SOURCES): Use Automake conditionals
  14642. to add distro-specific files.
  14643. * initscript/Makefile.am (SUBDIRS): Update to
  14644. use conditionals.
  14645. 2004-11-12 Colin Walters <walters@redhat.com>
  14646. Patches from j bootlab org
  14647. * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
  14648. Add interface_parser.[ch].
  14649. * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
  14650. dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
  14651. 2004-11-12 Colin Walters <walters@redhat.com>
  14652. * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
  14653. call to nmi_dbus_is_running too, not necessary anymore.
  14654. * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
  14655. pick up exit().
  14656. 2004-11-11 Colin Walters <walters@verbum.org>
  14657. * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
  14658. Delete.
  14659. (nmi_dbus_service_init): Call dbus_bus_acquire_service with
  14660. the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
  14661. then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
  14662. This avoids a race condition that made it pretty easily
  14663. possible to get two NetworkManagerInfo daemons running.
  14664. 2004-11-11 Colin Walters <walters@verbum.org>
  14665. * src/NetworkManager.c (main): Use daemon(3).
  14666. * info-daemon/NetworkManagerInfo.c (main): Ditto.
  14667. * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
  14668. 2004-11-10 Dan Williams <dcbw@redhat.com>
  14669. Patches from j bootlab org
  14670. * src/NetworkManagerDevice.c
  14671. - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
  14672. whether the card has a link or not, some cards are slow
  14673. - (nm_device_activation_configure_ip): make ipv6 work a bit better
  14674. * info-daemon/NetworkManagerInfoPassphraseDialog.c
  14675. - Disable the "Login" button on the passphrase dialog until the user
  14676. enters a valid passphrase or key
  14677. Patches from Tom Parker <palfrey tevp net>
  14678. * src/backends/NetworkManagerDebian.c
  14679. - Add static IP support to the debian backend
  14680. * src/backends/interface_parser.[ch]
  14681. - Parse debian interface config files
  14682. 2004-11-08 Dan Williams <dcbw@redhat.com>
  14683. * src/NetworkManagerDevice.c
  14684. - Some random fprintf->syslog conversions
  14685. - (nm_device_wireless_network_exists): double-check for network
  14686. - (nm_device_find_and_use_essid): Copy over encryption key no matter what
  14687. * src/NetworkManagerWireless.[ch]
  14688. - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
  14689. so that the binary->ascii conversion works (if unsigned, the bitshift
  14690. will fill with zeros, which is what's required). Also mask bitshift
  14691. result with 0xF for futher assurance.
  14692. 2004-11-06 Dan Williams <dcbw@redhat.com>
  14693. * src/NetworkManagerUtils.c
  14694. - (nm_get_wireless_driver_support_level): default to
  14695. FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
  14696. flip this when changing from whitelist->blacklist of
  14697. wireless drivers
  14698. 2004-11-05 Dan Williams <dcbw@redhat.com>
  14699. Patch from Robert Paskowitz:
  14700. * src/backends/NetworkManagerGentoo.c
  14701. - Update static IP config code
  14702. 2004-11-05 Dan Williams <dcbw@redhat.com>
  14703. * info-daemon/NetworkManagerInfoDbus.c
  14704. src/NetworkManagerDbus.[ch]
  14705. src/NetworkManagerDevice.c
  14706. - Keep track of the # of attempts to get the WEP key
  14707. from the user and pass that along to the info daemon
  14708. 2004-11-05 Dan Williams <dcbw@redhat.com>
  14709. * src/NetworkManagerUtils.c
  14710. - Blacklist wireless cards rather than whitelisting them.
  14711. - Grab driver name from HAL rather than trying to find it
  14712. ourselves.
  14713. 2004-11-03 Dan Williams <dcbw@redhat.com>
  14714. * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
  14715. - Disable OK button until valid data is entered
  14716. for encryption stuff too
  14717. * panel-applet/NMWirelessApplet.c
  14718. - Report card strength for current AP if the card
  14719. doesn't report strength data for scanned access
  14720. points
  14721. * src/NetworkManagerDevice.c
  14722. - Smooth out cards reported quality, Atmel card was
  14723. intermittently reporting no quality data but soon
  14724. recovers
  14725. * src/NetworkManagerWireless.c
  14726. - Better quality data percentage calculation. Atmel
  14727. cards (mine at least) seem to report the quality
  14728. in percentage format already, so honor that
  14729. Patch from <j@bootlab.org>
  14730. * NetworkManager.h
  14731. info-daemon/NetworkManagerInfoPassphraseDialog.c
  14732. info-daemon/passphrase.glade
  14733. panel-applet/NMWirelessAppletOtherNetworkDialog.c
  14734. panel-applet/essid.glade
  14735. src/NetworkManagerAP.c
  14736. src/NetworkManagerDevice.c
  14737. src/NetworkManagerWireless.[ch]
  14738. - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
  14739. 2004-11-03 Dan Williams <dcbw@redhat.com>
  14740. * src/NetworkManagerDevice.[ch]
  14741. - (nm_device_set_enc_key): Add parameter to set Authentication
  14742. Mode (Open System, Shared Key, or None). We're still using
  14743. Shared Key for now though.
  14744. 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
  14745. * panel-applet/menu-info.c: change from bold text to light
  14746. colored, may cause problems with some themes, i've tested a lot
  14747. and they seem fine.
  14748. * panel-applet/NMWirelessApplet.c: fix strength tooltip
  14749. 2004-11-01 Colin Walters <walters@verbum.org>
  14750. * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
  14751. (nm_wireless_128bit_key_from_passphrase): Add const.
  14752. * src/NetworkManagerAP.h, src/NetworkManagerAP.c
  14753. (nm_ap_set_enc_key_source): Add const.
  14754. 2004-11-01 Colin Walters <walters@verbum.org>
  14755. * .cvsignore: Update.
  14756. 2004-10-29 Dan Williams <dcbw@redhat.com>
  14757. * src/NetworkManagerDevice.c
  14758. - (nm_device_wireless_network_exists): Actually use the encryption
  14759. key we got from the applet when attempting to find a wireless network
  14760. - Don't bring devices down so much since on some cards it triggers
  14761. firmware hotplugs each time
  14762. * src/NetworkManagerDbus.c
  14763. - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
  14764. from the caller
  14765. 2004-10-29 Dan Williams <dcbw@redhat.com>
  14766. * src/NetworkManager.c
  14767. - (nm_hal_device_property_modified): unlock a locked active
  14768. wireless device when a wired connection gets a link.
  14769. (Means you'll switch to wired whenever you plug in no
  14770. matter what).
  14771. 2004-10-29 Dan Williams <dcbw@redhat.com>
  14772. * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
  14773. - New files, implement the "Other wireless network" dialog
  14774. * panel-applet/NMWirelessApplet.c
  14775. - Move "other wireless network" dialog to separate file
  14776. * panel-applet/NMWirelessAppletDbus.[ch]
  14777. - Take key and key_type paramaters for the set_device function
  14778. * panel-applet/essid.glade
  14779. - Add UI bits for encryption settings
  14780. * src/NetworkManagerDbus.c
  14781. - Retrieve key and key_type params for "setActiveDevice" method call
  14782. and pass them on
  14783. - unref AP returned from nm_device_get_best_ap() when needed
  14784. * src/NetworkManagerDevice.c
  14785. - (nm_device_get_best_ap): ref the ap before returning it
  14786. - unref AP returned from nm_device_get_best_ap() when needed
  14787. - (nm_device_activate_wireless): add "ap" parameter so we don't
  14788. need to call nm_device_get_best_ap() here, it was pretty much
  14789. redundant anyway
  14790. - (AP_NEED_KEY): break second link check condition out into separate
  14791. function, and fix segfault when ap->enc_key_source was NULL
  14792. - (nm_device_find_and_use_essid): take key and key_type parameters and
  14793. pass them along to nm_device_wireless_network_exists(). If the
  14794. network does exist, set the passed-in key+key_type on the AP
  14795. * src/NetworkManagerPolicy.c
  14796. - unref AP returned from nm_device_get_best_ap() when needed
  14797. 2004-10-28 Dan Williams <dcbw@redhat.com>
  14798. * src/NetworkManagerUtils.c
  14799. - (nm_spawn_process): Fix a potential dereference of NULL
  14800. Patches from Peter Jones:
  14801. * src/NetworkManagerDevice.c
  14802. - (nm_device_test_wireless_extensions): Better check for
  14803. wireless devices
  14804. * src/NetworkManagerUtils.c
  14805. - (nm_spawn_process): Pass in valid stdout and stderr so
  14806. executed programs don't randomly SIGPIPE and fail
  14807. - (nm_get_wired_driver_support_level): quash hal warning
  14808. when checking for USB ethernet device
  14809. 2004-10-27 Dan Williams <dcbw@redhat.com>
  14810. * info-daemon/NetworkManagerInfo.c
  14811. info-daemon/NetworkManagerInfoDbus.c
  14812. info-daemon/NetworkManagerInfoPassphraseDialog.c
  14813. panel-applet/NMWirelessApplet.c
  14814. - Properly escape gconf keys
  14815. * src/NetworkManager.c
  14816. - remove unused variables
  14817. * src/NetworkManagerAP.c
  14818. - (nm_ap_new_from_ap): Don't redundantly set new APs
  14819. refcount since it got set in nm_ap_new()
  14820. * src/NetworkManagerAPList.c
  14821. - (nm_ap_list_combine): Give up ownership of newly created
  14822. access points to the ap list, fixes memleak
  14823. * src/NetworkManagerDevice.c
  14824. - Remove cached_ap_list4 member since its not really needed
  14825. - (nm_device_wireless_network_exists): Try to get correct
  14826. encryption status of a found AP if its already in our
  14827. device list
  14828. - (nm_device_do_normal_scan): Clean up scanning a bit, make
  14829. memory allocs/deallocs a bit clearer and shorter-lived
  14830. 2004-10-26 Ray Strode <rstrode@redhat.com>
  14831. * panel-applet/NMWirelessApplet.c:
  14832. (custom_essid_item_selected): kill some compiler
  14833. warnings
  14834. 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
  14835. * info-daemon/NetworkManagerInfoDbus.c
  14836. - (nmi_dbus_is_running): New function for determining if nmi is already running
  14837. - (nmi_dbus_service_init): exit if another instance of nmi is already running
  14838. 2004-10-23 Dan Williams <dcbw@redhat.com>
  14839. * info-daemon/NetworkManagerInfoDbus.c
  14840. - Trap the "DeviceActivationFailed" signal
  14841. * docs/NetworkManager DBUS API.txt
  14842. - Add "DeviceActivationFailed" signal
  14843. * panel-applet/NMWirelessAppletDbus.c
  14844. - Quash the "NetworkManager service not available" message
  14845. * src/NetworkManagerDbus.[ch]
  14846. - Add the "DeviceActivationFailed" signal
  14847. * src/NetworkManagerDevice.c
  14848. - Add support for activation_failed flag
  14849. - Fix deadlock where activation thread didn't clean itself up, making
  14850. main thread still believe it was alive forever (didn't reset activation
  14851. flags like activating, just_activated, etc when IP configuration
  14852. failed)
  14853. * src/NetworkManagerPolicy.c
  14854. - Implement logic for DeviceActivationFailed signal, and when activation fails
  14855. for wireless networks, try to fall back to some other access point
  14856. 2004-10-23 Dan Williams <dcbw@redhat.com>
  14857. * panel-applet/NMWirelessApplet.[ch]
  14858. - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
  14859. to the applet object, so we can get tooltips
  14860. - Add tooltips (RH #136866)
  14861. * src/NetworkManagerDevice.c
  14862. - When trying to find a wireless network, try to connect with encryption
  14863. turned on first, so that we can more accurately detect whether or not
  14864. we need to use encryption for the actual association later on
  14865. 2004-10-21 Dan Williams <dcbw@redhat.com>
  14866. * Add some support for telling NetworkManagerInfo to tell the user
  14867. that they are using a device that's not fully supported
  14868. * Fix some assertions in debug messages due to null access point args
  14869. 2004-10-21 Dan Williams <dcbw@redhat.com>
  14870. * src/NetworkManagerDevice.c
  14871. - Don't try to activate/bring up/down unsupported
  14872. devices
  14873. * src/NetworkManagerUtils.c
  14874. - Fix case of PCI ID checks for driver support levels
  14875. 2004-10-21 Dan Williams <dcbw@redhat.com>
  14876. * NetworkManager.h
  14877. - New file, now contains commonly used structures and bits
  14878. for the dbus API of NetworkManager
  14879. * Makefile.am
  14880. - Deliver NetworkManager.h to ${includedir}/NetworkManager
  14881. * src/NetworkManager.h
  14882. - Rename -> src/NetworkManagerMain.c
  14883. * Various fixups all around to use NetworkManager.h and new
  14884. src/NetworkManagerMain.h, remove redundant bits that got
  14885. moved into NetworkManager.h
  14886. * src/NetworkManagerDevice.[ch]
  14887. src/NetworkManagerUtils.[ch]
  14888. src/NetworkManagerPolicy.c
  14889. src/NetworkManagerDbus.c
  14890. - Whitelist wireless drivers, and blacklist some wired
  14891. drivers. Also blacklist cipsec and ethernet-over-usb
  14892. devices at this time (RH #135722, RH #135648)
  14893. - Don't leak unsupported devices out over dbus, or allow
  14894. them to be set as the active device. Skip over them
  14895. during automatic device picking
  14896. * test/nmclienttest.c
  14897. - Clean up the dbus code a lot
  14898. Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
  14899. * configure.in: post release bump.
  14900. Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
  14901. * configure.in:
  14902. * NEWS: Released NetworkManager-0.3.1
  14903. 2004-10-18 Dan Williams <dcbw@redhat.com>
  14904. Patches from Thom May:
  14905. * test/nmtestdevices.c
  14906. - Include <string.h>
  14907. * src/backends/NetworkManagerDebian.c:
  14908. - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
  14909. (nm_system_device_flush_routes, nm_system_device_flush_addresses)
  14910. Move to using g_strdup_printf rather than arbitrary buffers
  14911. - (nm_system_device_setup_static_ip4_config) Implement function.
  14912. - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
  14913. 2004-10-17 Dan Williams <dcbw@redhat.com>
  14914. * info-daemon/NetworkManagerInfoDbus.c
  14915. - Display name of network in the "network not found" dialog
  14916. * panel-applet/NMWirelessAppletDbus.c
  14917. - (nmwa_dbus_call_nm_method): new function replaces all other
  14918. nmwa_dbus_get_[string|string_array|int|boolean] methods
  14919. - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
  14920. consolidated into nmwa_dbus_get_object_name()
  14921. 2004-10-15 Dan Williams <dcbw@redhat.com>
  14922. * src/NetworkManagerDbus.c
  14923. info-daemon/NetworkManagerInfoDbus.c
  14924. - Display an error dialog when the user tries to use an
  14925. "Other wireless network" that's not found.
  14926. 2004-10-15 Dan Williams <dcbw@redhat.com>
  14927. * panel-applet/NMWirelessApplet.[ch]
  14928. - Fix up corner cases in applet state, making it
  14929. look more responsive. Change state to "connecting" when
  14930. the user is forcing a device too.
  14931. 2004-10-15 Dan Williams <dcbw@redhat.com>
  14932. * src/NetworkManagerAPList.c
  14933. - (nm_ap_list_update_network): Disown AP after the list takes ownership
  14934. * src/NetworkManagerDbus.c
  14935. - (nm_dbus_nm_set_active_device): Simplify the device setting logic
  14936. * src/NetworkManagerDevice.c
  14937. - Disown APs after the device's AP list takes ownership
  14938. 2004-10-15 Dan Williams <dcbw@redhat.com>
  14939. * panel-applet/NMWirelessApplet.c
  14940. - Update our applet state from the GUI thread
  14941. * panel-applet/NMWirelessAppletDbus.c
  14942. - Greatly simplify the locking to make the GUI thread
  14943. smoother. Update a private copy of the device list
  14944. and active device and only when done talking to
  14945. NetworkManager turn it over to the GUI thread.
  14946. 2004-10-15 Dan Williams <dcbw@redhat.com>
  14947. * src/NetworkManagerAP.[ch]
  14948. - Add "artificial" get/set functions, set for APs that
  14949. aren't discovered as part of a scan but instead
  14950. discovered by force-setting the ESSID
  14951. * src/NetworkManagerDevice.[ch]
  14952. - (nm_device_wireless_network_exists): pass back whether
  14953. or not the discovered AP was encrypted. Also, try
  14954. falling back to encrypted mode on the card if unencrypted
  14955. association doesn't work
  14956. - (nm_device_find_and_use_essid): If the network requested
  14957. did in fact exists, but it wasn't in our scan list, add
  14958. an "artificial" entry for it. Some Cisco cards don't
  14959. see non-ESSID-broadcasting APs in their scan but can still
  14960. associate with them if you know the ESSID, this works around
  14961. that behavior
  14962. - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
  14963. to scan if the card is currently associated with that AP
  14964. 2004-10-15 Dan Williams <dcbw@redhat.com>
  14965. ---- We have a website ----
  14966. http://people.redhat.com/dcbw/NetworkManager
  14967. Patch from Robert Paskowitz:
  14968. * src/NetworkManager.c
  14969. - (main): Make sure we are run as root
  14970. * src/NetworkManagerDevice.c
  14971. - Fix type in ad-hoc setting function
  14972. Patch from Thom May:
  14973. * src/backends/NetworkManagerDebian.c
  14974. - Make Debian backend compile again
  14975. 2004-10-14 Dan Williams <dcbw@redhat.com>
  14976. * Tagged NetworkManager-0_3
  14977. 2004-10-14 Dan Williams <dcbw@redhat.com>
  14978. Patch from Robert Paskowitz:
  14979. * NEWS
  14980. src/NetworkManagerDevice.[ch]
  14981. src/backends/NetworkManagerDebian.c
  14982. src/backends/NetworkManagerGentoo.c
  14983. src/backends/NetworkManagerRedHat.c
  14984. src/backends/NetworkManagerSlackware.c
  14985. - Add support for grabbing and using a broadcast address
  14986. from system config files
  14987. - Some Gentoo backend fixes for grabbing network config
  14988. - Fix LOG_WARN->LOG_WARNING
  14989. 2004-10-14 Dan Williams <dcbw@redhat.com>
  14990. * NEWS: a few small fixes in the credits
  14991. Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
  14992. * NEWS: prep for release.
  14993. Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
  14994. * panel-applet/NMWirelessAppletDbus.c
  14995. (nmwa_dbus_update_device_wireless_networks): remove warnings.
  14996. Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
  14997. * panel-applet/NMWirelessApplet.c (animation_timeout): Make
  14998. applet->state == APPLET_STATE_NO_NM animation.
  14999. * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
  15000. set the text correctly.
  15001. 2004-10-14 Dan Williams <dcbw@redhat.com>
  15002. * src/NetworkManager.c
  15003. - Only accept and manager 802.3 and 802.11 devices
  15004. * src/NetworkManagerDbus.[ch]
  15005. - (nm_dbus_nm_set_active_device): move most of the actual activation
  15006. logic into NetworkManagerDevice.c
  15007. - (nm_dbus_network_status_from_data): new function
  15008. - (nm_dbus_signal_network_status_change): new function, unused for now
  15009. - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
  15010. * src/NetworkManagerDevice.[ch]
  15011. - (nm_device_find_and_use_essid): new function. Search for, and if found use,
  15012. a random ESSID.
  15013. 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
  15014. * info-daemon/NetworkManagerInfo.c
  15015. - (main): Added session management
  15016. 2004-10-14 Dan Williams <dcbw@redhat.com>
  15017. * panel-applet/NMWirelessAppletDbus.[ch]
  15018. - Expose network_device_[un]ref()
  15019. - Expose wireless_network_[un]ref()
  15020. - (wireless_network_new_with_essid): new function, create and return
  15021. a wireless network with a particular essid
  15022. * panel-applet/NMWirelessApplet.c
  15023. - Hook up the "other network" dialog to do something
  15024. Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
  15025. * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
  15026. doesn't work yet, but it looks okay.
  15027. * panel-applet/icons/*png: Resize to 22x22 and install in the
  15028. right place.
  15029. 2004-10-13 Dan Williams <dcbw@redhat.com>
  15030. * panel-applet/NMWirelessApplet.c
  15031. - Add function to print out applet_state in a readable
  15032. manner
  15033. * src/NetworkManager.c
  15034. - (main): Don't segfault when nm_dbus_init() fails, we had
  15035. a left-over call to hal_shutdown() into which we passed NULL
  15036. * src/NetworkManagerAP.c
  15037. - (nm_ap_set_essid): Allow NULL essids
  15038. * src/NetworkManagerAPList.[ch]
  15039. - More use of nm_ap_list_[un]lock ()
  15040. - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
  15041. network/essid, just return nothing. Also skip over NULL
  15042. essid access points in the list when searching
  15043. - (nm_ap_list_get_ap_by_address): new function
  15044. - (nm_ap_list_update_network): set the access point's key source to
  15045. NULL when the key returned from NetworkManagerInfo is NULL or
  15046. of 0 length
  15047. - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
  15048. copy timestamp over too
  15049. - (nm_ap_list_copy_essids_by_address): new function, attempt to
  15050. find the correct ESSID for a blank-essid access point by searching
  15051. through another list and matching access point MAC addresses
  15052. - (nm_ap_list_diff): exclude blank-essid access points from the diffs
  15053. * src/NetworkManagerDbus.c
  15054. - (nm_dbus_nm_set_active_device): deal with random networks the user
  15055. may specify. This is mainly for access points that don't
  15056. broadcast their essid. So if the user tells us to associate with
  15057. some random ESSID that's not in our access point list, we find
  15058. out if the access point does in fact exist (by attempting association
  15059. and then matching that access point's MAC address with the essid the
  15060. user gave us) and then we switch to it.
  15061. - (nm_dbus_devices_handle_request): don't add blank-essid access points
  15062. to the returned list of networks for the "getNetworks" method
  15063. * src/NetworkManagerDevice.[ch]
  15064. - Extra debugging info for link detection
  15065. - (nm_device_ap_list_get_ap_by_address): new function, return an AP
  15066. based on MAC address
  15067. - (nm_device_get_path_for_ap): ignore blank-essid access points
  15068. - (nm_device_wireless_network_exists): new function, find out whether
  15069. a random ESSID exists by attempting to associate with it
  15070. - (nm_device_do_normal_scan): allow blank-essid access points in our
  15071. device list as long as they have an AP MAC address we can use.
  15072. Also send WirelessNetwork[Dis]Appeared signals for non-active
  15073. devices too. Lets the applet update more frequently.
  15074. * src/backends/NetworkManagerGentoo.c
  15075. - Patch from: Robert Paskowitz
  15076. - Update backend code for Gentoo
  15077. - Implement nm_system_device_update_config_info ()
  15078. * test/nmclienttest.c
  15079. - (set_network_device): new function, takes a command-line argument
  15080. and tells NetworkManager to use that wireless network
  15081. Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
  15082. * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
  15083. if the notification icon crashes 5 times within 5 seconds of each respawn
  15084. Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
  15085. * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
  15086. g_print.
  15087. Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
  15088. * panel-applet/NMWirelessApplet.h: Change the name of the icons.
  15089. * panel-applet/NMWirelessApplet.c: (animation_timeout),
  15090. (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
  15091. (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
  15092. Change the name of the icons.
  15093. * panel-applet/menu-info.c: (nm_menu_wired_class_init),
  15094. (nm_menu_wired_expose_event), (nm_menu_network_class_init),
  15095. (nm_menu_wireless_class_init), (nm_menu_wireless_new),
  15096. (nm_menu_wireless_expose_event): Really bad hack to get the style
  15097. to draw in the right color.
  15098. Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
  15099. * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
  15100. Notification if it crashes
  15101. Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
  15102. * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
  15103. (nmwa_dbus_get_string): remove unused functions
  15104. * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
  15105. (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
  15106. remove unused functions
  15107. * panel-applet/NMWirelessApplet.c: Rewrite icon code.
  15108. 2004-10-12 Dan Williams <dcbw@redhat.com>
  15109. * panel-applet/NMWirelessAppletDbus.c
  15110. - New functions:
  15111. wireless_network_new
  15112. wireless_network_copy
  15113. network_device_new
  15114. network_device_copy
  15115. * src/NetworkManagerDevice.[ch]
  15116. - New functions:
  15117. nm_device_set_mode_managed
  15118. nm_device_set_mode_adhoc
  15119. - Use these functions where appropriate
  15120. - When creating a new wireless device, force the card
  15121. to managed/Infrastructure mode as soon as possible
  15122. 2004-10-12 Dan Williams <dcbw@redhat.com>
  15123. * src/NetworkManagerDevice.c
  15124. - Force wireless cards into Infrastructure mode before we use them
  15125. 2004-10-12 Dan Williams <dcbw@redhat.com>
  15126. * TODO
  15127. - Remove bit about static IP address support
  15128. * src/NetworkManagerUtils.c
  15129. - (nm_spawn_process): Add some error reporting
  15130. * src/NetworkManagerDevice.c
  15131. - (nm_device_activation_configure_ip): hook up to the static config
  15132. routines in the backends
  15133. * src/backends/NetworkManagerRedHat.c
  15134. - (nm_system_device_update_config_info): use shvar.c routines to
  15135. parse the config file iformation, not our own
  15136. - (nm_system_device_setup_static_ip4_config): new function, based
  15137. heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
  15138. with a static IP address and gateway
  15139. * src/backends/shvar.[ch]
  15140. - Parser (filched from initscripts package) for ifcfg-* files
  15141. * src/backends/NetworkManagerSystem.h
  15142. src/backends/NetworkManagerGentoo.c
  15143. src/backends/NetworkManagerDebian.c
  15144. src/backends/NetworkManagerSlackware.c
  15145. - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
  15146. 2004-10-11 Dan Williams <dcbw@redhat.com>
  15147. * TODO
  15148. - Remove bit about more robust AP diffing since I just implemented it
  15149. 2004-10-11 Dan Williams <dcbw@redhat.com>
  15150. * src/NetworkManagerAP.c
  15151. - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
  15152. enough RAM to allocate new AP structures, but return NULL instead
  15153. * src/NetworkManagerAPList.[ch]
  15154. - (nm_ap_list_is_empty): new function
  15155. - (nm_ap_list_combine): new function, combine two access point lists
  15156. - (nm_ap_list_copy_keys): new function, copy keys from one list
  15157. into another
  15158. * src/NetworkManagerDevice.[ch]
  15159. - Rename some functions to be clearer:
  15160. nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
  15161. nm_device_just_activated -> nm_device_is_just_activated
  15162. nm_device_activating -> nm_device_is_activating
  15163. nm_device_now_scanning -> nm_device_is_scanning
  15164. - Cache the last 4 scans so that the access point list is more stable.
  15165. We combine the lastest two scans and use that as the AP list,
  15166. and diff that combined list against the combination of the earliest
  15167. two cached scans for the WirelessNetworkAppeared/Dissappeared signals
  15168. 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
  15169. * info-daemon/NWManagerInfo.h
  15170. - (struct NetworkManagerInfo): add shutdown_timeout GSource
  15171. * info-daemon/NWManagerInfoDbus.c
  15172. - (shutdown_callback): new function
  15173. - (nmi_dbus_filter): Create a 30 second timeout until shutdown
  15174. if NetworkManager goes away. Kill the timeout
  15175. if NetworkManager restarts before the 30 seconds
  15176. are up.
  15177. - (nmi_dbus_service_init):
  15178. - call gtk_main_quit if NetworkManager is not running
  15179. - add filters to monitor dbus service creations and
  15180. deletions
  15181. 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
  15182. * panel-applet/NMWirelessApplet.c
  15183. - (nmwa_update_state): Hide notification icon if we are only
  15184. showing one wired card and no wireless interfaces
  15185. (Red Hat Bug #134895)
  15186. * panel-applet/NMWirelessAppletDbus.c
  15187. - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
  15188. * info-daemon/NWManagerInfo.c
  15189. - (main): Terminated the notification_icon_cmd array with a NULL
  15190. 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
  15191. * configure.in (ALL_LINGUAS): Added de (German).
  15192. 2004-10-08 Dan Williams <dcbw@redaht.com>
  15193. * src/NetworkManagerDevice.c
  15194. - Be a bit more robust about link checking, ie make sure that
  15195. the WEP key we were given actually has some data in it
  15196. 2004-10-08 Dan Williams <dcbw@redhat.com>
  15197. * info-daemon/NetworkManagerInfo.c (main):
  15198. - Initialize GError object to NULL
  15199. 2004-10-08 Dan Williams <dcbw@redhat.com>
  15200. * panel-applet/NMWirelessAppletDbus.c
  15201. - Die if NetworkManagerInfo dies, since it manages our lifetime
  15202. 2004-10-08 Dan Williams <dcbw@redhat.com>
  15203. * info-daemon/NetworkManagerInfo.[ch]
  15204. info-dameon/NetworkManagerInfoDbus.[ch]
  15205. info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
  15206. - Preserve original label text in the passphrase dialog so that
  15207. it actually gets updated with the new network name the next
  15208. time around. Previously, we were overwriting it so you'd get
  15209. the wrong network name to enter a key for
  15210. - Add a "Key Type" combo to the passphrase dialog, user selects
  15211. encryption key type now, type is stored in GConf too
  15212. - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
  15213. * src/NetworkManagerAP.[ch]
  15214. - Remove all the encyption method magic. It's now set by the user
  15215. and NetworkManager retrieves the type of encryption key from
  15216. NetworkManagerInfo
  15217. * src/NetworkManagerAPList.[ch]
  15218. src/NetworkManagerDbus.[ch]
  15219. - Adjust to new way of setting encryption key and method
  15220. - Pull encryption method down from NMI along with key
  15221. * src/NetworkManagerDevice.[ch]
  15222. - Removed encryption method fallback magic as the method is now
  15223. determined by the user. This greatly simplifies the connection
  15224. logic.
  15225. - More robust connection/link logic. Besides removing the encryption
  15226. method fallback magic, check whether or not the card is receiving
  15227. invalidly encrypted packets, which usually indicates that we have
  15228. a bad WEP key set.
  15229. - Don't blindly forge ahead when DHCP fails (still not completely fixed)
  15230. * test/nminfotest.c
  15231. - Test out new "Key Type" stuff in the NMI passphrase dialog
  15232. 2004-10-07 Dan Williams <dcbw@redhat.com>
  15233. * info-daemon/NetworkManagerInfo.conf
  15234. - Allow root user to run NMI too
  15235. 2004-10-06 Dan Williams <dcbw@redhat.com>
  15236. * src/NetworkManagerDevice.[ch]
  15237. src/NetworkManagerDbus.c
  15238. doc/NetworkManager DBUS API.txt
  15239. - Add a new status tag "scanning", which is set when there
  15240. is no active network connection, but NetworkManager is
  15241. looking for an access point to associate with
  15242. * panel-applet/main.c
  15243. - Cast the applet appropriately for gtk_widget_show_all ()
  15244. Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
  15245. * panel-applet/eggtrayicon.[ch]:
  15246. * panel-applet/main.c: Add missing file
  15247. 2004-10-04 Dan Williams <dcbw@redhat.com>
  15248. * src/NetworkManagerDevice.[ch]
  15249. - Add a slightly more robust method of determining if the WEP key
  15250. is correct or not, by checking the WEP-discarded packet count
  15251. on the card
  15252. * info-daemon/NetworkManagerInfo.c
  15253. - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
  15254. un-escape values we pull out rather than escaping them
  15255. 2004-10-03 Marcel Telka <marcel@telka.sk>
  15256. * configure.in (ALL_LINGUAS): Added sk.
  15257. Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
  15258. * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
  15259. and feel. We should be back to working, and have a good, clean
  15260. look.
  15261. 2004-09-30 Dan Williams <dcbw@redhat.com>
  15262. * info-daemon/NetworkManagerInfo.c
  15263. info-daemon/NetworkManagerInfoDbus.c
  15264. test/nminfotest.c
  15265. - Escape ESSIDs in gconf
  15266. * src/NetworkManagerDevice.c
  15267. - Fix pseudo-scanning to use netowrk list from info daemon
  15268. Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
  15269. * configure.in: Add a temporary --enable-notification-icon. This
  15270. will prolly go away.
  15271. * info-daemon/Makefile.am:
  15272. * info-daemon/NetworkManagerInfo.c:
  15273. * info-daemon/NetworkManagerInfo.h: Use a notification icon.
  15274. * panel-applet/Makefile.am:
  15275. * panel-applet/NMWirelessApplet.c: Turn into a notification icon
  15276. * panel-applet/NMWirelessApplet.h:
  15277. Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
  15278. * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
  15279. before 'select custom ESSID'.
  15280. * panel-applet/menu-info.c: Start rewrite for better headers. Not
  15281. fully complete, but syncing in prep for merge.
  15282. * panel-applet/icons/*png: New images
  15283. 2004-09-28 Dan Williams <dcbw@redhat.com>
  15284. * src/NetworkManager.c
  15285. src/NetworkManagerDevice.c
  15286. src/NetworkManagerPolicy.c
  15287. - Don't blow away an active wired connection on startup
  15288. 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
  15289. Changes from J5
  15290. * info-daemon/NetworkManagerInfo.conf: fixed own permissions
  15291. * info-daemon/NetworkManagerInfoDbus.c: added service name to
  15292. syslog output
  15293. Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
  15294. * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
  15295. have a wireless card.
  15296. Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
  15297. * panel-applet/NMWirelessApplet.c: move the custom essid item.
  15298. Also, get the right device strings.
  15299. Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
  15300. * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
  15301. the logic to make this right.
  15302. * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
  15303. devices so that wired networks are always first.
  15304. 2004-09-22 <clarkbw@cvs.gnome.org>
  15305. * initscript/Debian/.cvsignore:
  15306. * initscript/Slackware/.cvsignore:
  15307. Added new cvsignores for Makefile, Makefile.in
  15308. * test/.cvsignore:
  15309. Added nmtestdevices
  15310. * src/NetworkManagerDevice.c:
  15311. * src/NetworkManager.c:
  15312. Updated the wireless/wired HAL device strings from net.ethernet to
  15313. net.80203 or net.80211 depending on wired or wireless respectively
  15314. * examples/python/NetworkManager.py:
  15315. s/Quality/Strength/
  15316. * examples/python/systray/network_tray.py:
  15317. Lots of little changes and fixes. been rotting for a while so I
  15318. figured I'd finally sync them all with CVS
  15319. Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
  15320. * configure.in: Add graphics
  15321. * panel-applet/Makefile.am: Add graphics
  15322. * panel-applet/icons/*: Add graphics
  15323. * panel-applet/NMWirelessApplet.c: Use new menu times to display
  15324. the icons fully lined up.
  15325. * panel-applet/menu-info.c:
  15326. * panel-applet/menu-info.h: Add another menu type.
  15327. Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
  15328. * panel-applet/NMWirelessApplet.c: Redo the menu item code.
  15329. * panel-applet/menu-item.[ch]: Wireless menu item.
  15330. 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
  15331. * info-daemon/NetworkManagerInfo.conf
  15332. - Created a more robust security policy for the DBus service
  15333. - everything is denied by default
  15334. - root can own and send to the service
  15335. - users logged in at the console can send to the service
  15336. 2004-09-13 Dan Williams <dcbw@redhat.com>
  15337. * src/NetworkManagerDevice.c
  15338. - (nm_device_get_essid): use iw_get_basic_config() rather than
  15339. iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
  15340. the latter
  15341. 2004-09-13 Dan Williams <dcbw@redhat.com>
  15342. * TODO: fix typo
  15343. * docs/NetworkManager DBUS API.txt
  15344. - Update for new signal strength changes
  15345. * panel-applet/NMWirelessApplet.c
  15346. - Make panel icon show strength of the current connection
  15347. - Cleanups and memleak fixes
  15348. * panel-applet/NMWirelessApplet.h
  15349. - Add data members for signal strength on devices and networks
  15350. * panel-applet/NMWirelessAppletDbus.c
  15351. - Free more DBusErrors
  15352. - Update for new signal strength changes
  15353. - Make devices and networks more like real objects, use ref/unref methods
  15354. - Actually unlock the mutex when updating the active device
  15355. * src/NetworkManagerAP.c
  15356. - Change AP functions and data members from "quality"->"strength"
  15357. * src/NetworkManagerDbus.c
  15358. - Kill "getMaxQuality" and "getQuality" methods
  15359. - Add "getStrength" methods for Networks and Devices
  15360. * src/NetworkManagerDevice.[ch]
  15361. - Add accessors for device strength
  15362. - Add functions to update strength for a device. Note that not all drivers
  15363. actually support signal strength for scanned access points (Atmel drivers
  15364. being one)
  15365. - Calculate signal strength for each AP during scan
  15366. * src/NetworkManagerWireless.[ch]
  15367. - Add function to return signal strength % from a device and a raw quality struct
  15368. * test/nmclienttest.c
  15369. - Update for new signal strength changes
  15370. 2004-09-11 Dan Williams <dcbw@redhat.com>
  15371. * src/NetworkManager.c
  15372. - Fix race condition between initscripts and NM on card insertion
  15373. which could cause a card to keep an IP address and routes around
  15374. even when it was not the active device
  15375. * src/NetworkManagerDbus.c
  15376. - Fix compile errors, free more DBusErrors
  15377. 2004-09-11 Dan Williams <dcbw@redhat.com>
  15378. * docs/NetworkManager DBUS API.txt
  15379. - Add an explanation of NM's API
  15380. * src/NetworkManagerDbus.c
  15381. - Free some more DBusErrors if needed
  15382. 2004-09-11 Dan Williams <dcbw@redhat.com>
  15383. * panel-applet/NMWirelessApplet.c
  15384. panel-applet/NMWirelessAppletDbus.c
  15385. - Start using NetworkDevice/WirelessNetwork structures in more places
  15386. - Update for unified device/network forcing in NetworkManager
  15387. * src/NetworkManager.c
  15388. - some code consolidation
  15389. * src/NetworkManagerDbus.c
  15390. - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
  15391. or two arguments: the first is the NM ID of the device to switch to,
  15392. and the second (optional) argument is the ESSID of a wireless network
  15393. to use as well.
  15394. - Get rid of "setNetwork" method due to above change
  15395. * src/NetworkManagerDevice.c
  15396. - (nm_device_new): perform scan and update best AP on device creation
  15397. - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
  15398. - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
  15399. spin waiting for cancellation to finish before returning
  15400. * src/NetworkManagerPolicy.c
  15401. - Changes here clarify the situations in which a device switch occurs, and
  15402. make sure to keep using a forced device and network if the user gives
  15403. us one
  15404. - Remove old unused code
  15405. 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
  15406. * configure.in: Added Danish (da) to ALL_LINGUAS.
  15407. 2004-09-09 Dan Williams <dcbw@redhat.com>
  15408. * panel-applet/NMWirelessAppletDbus.c
  15409. - Pull fresh devices and networks from NM when wireless networks
  15410. change. Provides faster feedback of a forced wireless network
  15411. * src/NetworkManagerDbus.c
  15412. - Return error when "getMaxQuality" is called on a wired device
  15413. - Make best_ap freezing actually work again, and signal cancellation
  15414. of activation if there's already a device activation when the user
  15415. freezes the best_ap
  15416. * src/NetworkManagerDevice.c
  15417. - Don't clear out the best_ap for wireless devices when the link goes
  15418. down, that's done elsewhere
  15419. - Kill any dhcp daemons when cancelling device activation since they
  15420. may be stuck waiting for a DHCP address, and since we're cancelling
  15421. activation we don't care about that anymore
  15422. * src/NetworkManagerPolicy.c
  15423. - Make sure to unref the device we ref earlier (we refed it to make sure
  15424. it stuck around during device activation and such)
  15425. - If we were going to change the best device, but its activating currently
  15426. (and therefore the change didn't occur due to the check earlier)
  15427. we mark the state changed to we come back to it later when device
  15428. activation has canceled and its no longer activating
  15429. * src/backends/NetworkManagerRedHat.c
  15430. - SIGKILL dhcp daemons rather than SIGTERM-ing them
  15431. 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
  15432. * info-daemon/passphrase.glade:
  15433. set passphrase input to activates_default : True
  15434. * examples/python/systray/network_tray.py
  15435. (network_tray.sort_networks):
  15436. Added support for having wireless always scanning
  15437. 2004-09-09 Dan Williams <dcbw@redhat.com>
  15438. NOTE: this commit changes the behavior of wireless devices in
  15439. NetworkManager. They are now up all the time, scanning all
  15440. the time. Only the active device has an IP address and routing
  15441. information set up however. Also, NetworkManager will no longer
  15442. opportunistically switch wireless networks when a better one
  15443. comes in range, it will remain associated with one wireless network
  15444. until that one drops out.
  15445. * panel-applet/NMWirelessApplet.c
  15446. panel-applet/NMWirelessAppletDbus.c
  15447. - List all wireless cards and their respective networks
  15448. * src/NMLoadModules
  15449. - Use full path to /sbin/ip
  15450. * src/NetworkManager.c
  15451. - Keep wireless devices up all the time so they can scan
  15452. * src/NetworkManagerDbus.c
  15453. - On a WirelessNetworkUpdate signal from NMI, don't update
  15454. the "best" AP
  15455. * src/NetworkManagerDevice.c
  15456. - (nm_device_set_link_active): clear out the best ap for
  15457. wireless devices when the link is set to FALSE
  15458. - Scan on all wireless cards, all the time
  15459. - (nm_device_activation_worker): split out the wireless card
  15460. link-waiting code to a separate function
  15461. - Keep wireless cards up even if device activation fails
  15462. - Don't update the "best" ap as much
  15463. * src/NetworkManagerPolicy.c
  15464. - Don't update the best ap when checking if its frozen,
  15465. let link checking clear out a frozen best ap for us
  15466. * src/NetworkManagerWireless.c
  15467. - Scan on all wireless cards, all the time
  15468. 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
  15469. * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
  15470. 2004-09-09 Ankit Patel <ankit@redhat.com>
  15471. * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
  15472. 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
  15473. * configure.in: Added Walloon (wa) to ALL_LINGUAS.
  15474. 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
  15475. * examples/python/NetworkManager.py:
  15476. added CONNECTED, CONNECTING, and DISCONNECTED states
  15477. added methods to return number of devices of a single type
  15478. * examples/python/systray/network_tray.py:
  15479. did some tweaks to get the menu looking near what it is supposed
  15480. to look like. Also did a Airo card hack to make it show the
  15481. correct AP quality
  15482. 2004-09-08 Dan Williams <dcbw@redhat.com>
  15483. * panel-applet/no-networkmanager.png
  15484. panel-applet/Makefile.am
  15485. panel-applet/NMWirelessApplet.c
  15486. - Add a "NetworkManager not running" icon and use it
  15487. - Use new consolidated GConf keys rather than Preferred/Trusted
  15488. * TODO: update
  15489. * info-daemon/NetworkManagerInfo.c
  15490. info-daemon/NetworkManagerInfoDbus.[ch]
  15491. info-daemon/NetworkManagerInfoPassphraseDialog.c
  15492. - There are now no longer two separate lists of wireless networks,
  15493. but one list where each network is "trusted" or not trusted
  15494. - Add a "getNetworkTrusted" dbus method
  15495. - "WirelessNetworkUpdate" signal now sent rather than
  15496. "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
  15497. - Start freeing some dbus errors (not completed yet)
  15498. * info-daemon/passphrase.glade
  15499. - Remove the "don't show" hints for pager and taskbar
  15500. - Add a title since its going to be in the taskbar
  15501. * src/NetworkManager.[ch]
  15502. src/NetworkManagerAPList.[ch]
  15503. - There are now no longer two separate lists of wireless networks,
  15504. but one list where each network is "trusted" or not trusted
  15505. * src/NetworkManagerAP.[ch]
  15506. - Add get/set "trusted" accessors and data bit
  15507. * src/NetworkManagerDbus.[ch]
  15508. - Add function to get "trusted" status of a network from NetworkManagerInfo
  15509. - Trap new WirelessNetworkUpdate signal rather than old separate signals
  15510. * src/NetworkManagerDevice.[ch]
  15511. - Add per-device config data (ip4 addr, gateway, netmask) and accessors
  15512. - (nm_device_new): Get device config from backend when initializing devices
  15513. - (nm_device_activation_worker): Split out device configuration on
  15514. activation to deal with static/dynamic IP differences, and try encryption
  15515. fallbacks on a device if the encryption method for the best AP is not good
  15516. - (nm_device_update_best_ap): convert to new consolidated access point lists from
  15517. NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
  15518. * src/NetworkManagerWireless.c
  15519. - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
  15520. * src/backends/NetworkManagerRedHat.c
  15521. src/backends/NetworkManagerSystem.h
  15522. - (nm_system_device_update_config_info): Add function to get device configuration
  15523. from system data in ifcfg-* files
  15524. * src/backends/NetworkManagerDebian.c
  15525. src/backends/NetworkManagerGentoo.c
  15526. src/backends/NetworkManagerSlackware.c
  15527. - Add stub functions for getting device configuration
  15528. 2004-09-07 Dan Williams <dcbw@redhat.com>
  15529. * src/backends/NetworkManagerRedhat.c
  15530. src/backends/NetworkManagerSlackware.c
  15531. - Use full path to /sbin/ip everywhere
  15532. 2004-09-07 Dan Williams <dcbw@redhat.com>
  15533. Patch from: Narayan Newton <narayan_newton@yahoo.com>
  15534. * configure.in
  15535. initscript/Makefile.am
  15536. initscript/Slackware/Makfile.am
  15537. initscript/Slackware/rc.networkmanager
  15538. src/Makefile.am
  15539. src/backends/NetworkManagerSlackware.c
  15540. - Add Slackware support
  15541. 2004-09-07 Dan Williams <dcbw@redhat.com>
  15542. Patches below from:
  15543. <j@bootlab.org>
  15544. Mark Roach <mrroach@okmaybe.com>
  15545. Thom May <thom@debian.org>
  15546. * configure.in
  15547. initscript/Debian/NetworkManager
  15548. initscript/Debian/Makefile.am
  15549. - Initscript for Debian
  15550. * src/backends/NetworkManagerDebian.c
  15551. - Add missing system init function to allow compilation
  15552. on Debian
  15553. 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
  15554. * configure.in: Added 'pt_BR' to ALL_LINGUAS.
  15555. 2004-09-03 Akagic Amila <bono@linux.org.ba>
  15556. * configure.in: Added 'bs' to ALL_LINGUAS.
  15557. 2004-09-02 Colin Walters <walters@verbum.org>
  15558. * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
  15559. (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
  15560. g_strdup_printf instead of arbitrarily sized buffers.
  15561. 2004-09-01 Colin Walters <walters@verbum.org>
  15562. * NetworkManager.pc.in: New file.
  15563. * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
  15564. 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
  15565. * configure.in: Punjabi(pa) is added to po/.
  15566. 2004-08-31 Dan Williams <dcbw@redhat.com>
  15567. * Remove 'debug' extern global from all files since we now
  15568. use syslog()
  15569. * src/NetworkManager.[ch]
  15570. - Break out routine that get the net.interface property from HAL,
  15571. removing that logic from nm_create_device_and_add_to_list()
  15572. - (nm_create_device_and_add_to_list): make this a bit more general so
  15573. it doesn't do the talking to HAL. Also add arguments to facilitate
  15574. the create of test devices.
  15575. - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
  15576. - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
  15577. which makes NetworkManager listen for dbus commands to create test
  15578. devices, which have no backing hardware. Use when you're on a plane
  15579. for example, and/or forgot your wireless card at home. Test devices
  15580. _cannot_ be created unless NM is started with --enable-test-devices.
  15581. * src/NetworkManagerDbus.[ch]
  15582. - New "getLinkActive" method for devices
  15583. - New "setLinkActive" method for devices (only works on test devices)
  15584. - New "createTestDevice" method on NetworkManager object to create a test
  15585. device of a specified type (ie wired, wireless). UDI is created from
  15586. scratch, as is the interface name. Only works when NM is started with
  15587. --enable-test-devices switch.
  15588. - New "removeTestDevice" method on NetworkManager object which removes a
  15589. test device. Only works when NM is started with --enable-test-devices
  15590. * src/NetworkManagerDevice.[ch]
  15591. - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
  15592. whether a device is a test device or not, and what its link status is.
  15593. - Deal with test devices in most functions. For those that work directly on hardware
  15594. special-case test devices.
  15595. - (nm_device_new): don't create a test device if test devices weren't enabled on the
  15596. command-line.
  15597. - (nm_device_update_link_active): split out logic for wired and wireless device link
  15598. checking to separate functions to facilitate test device link checking.
  15599. - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
  15600. don't make a distinction between System Authentication and Encryption
  15601. (namely Cisco aironet), we use Open System auth when setting a WEP key
  15602. on the card. We don't deal with Shared Key auth yet.
  15603. - (nm_device_activation_worker): split the activation cancel check logic out into
  15604. a separate routine nm_device_activation_cancel_if_needed()
  15605. - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
  15606. - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
  15607. a list of fake access points that they can "see"
  15608. - (nm_device_is_test_device): return whether or not a device is a test device
  15609. * src/NetworkManagerPolicy.c
  15610. - (nm_policy_get_best_device): attempt to deal with wireless network selection,
  15611. previously if you "locked"/forced NM to use a wireless device but then
  15612. selected a wireless network for NM to use, it would switch to a wired device.
  15613. So, if the active device is wireless and it has a "forced" best AP, use it
  15614. if the "forced" best AP is still valid
  15615. - (nm_state_modification_monitor): deal with NULL best devices, for example
  15616. there were no usable network devices, or the last one was removed
  15617. * src/backends/NetworkManager*.c
  15618. - Deal with test devices, mostly just return success for operations like getting
  15619. a DHCP address
  15620. * test/nmtestdevices.c
  15621. - Test tool to create/remove/link-switch test devices
  15622. 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
  15623. * examples/python/NetworkManager.py:
  15624. added convience functions has_wired_device and has_wireless_device
  15625. * examples/python/systray/network_tray.py:
  15626. cleaned up a bunch of cruft, added support for listing wireless
  15627. networks just like the real applet. This is probably all I'm
  15628. going to work on this applet from now on.
  15629. TODO: add support for actually changing networks and devices
  15630. * examples/python/NetworkManager.py (NetworkManager.get_device):
  15631. changed "nm.networks" into a dict from a list so I can store all
  15632. the cool information about networks in there
  15633. * examples/python/systray/network_tray.py:
  15634. Added nice message when you try to run without running make first
  15635. * examples/python/NetworkManager.py:
  15636. Bug fixes to the code so we get all the device information
  15637. that we need in get_device()
  15638. * examples/python/NMTester.py:
  15639. Fixed _print_device_list to print_device_list
  15640. 2004-08-29 Seth Nickell <seth@gnome.org>
  15641. * configure.in:
  15642. Actually properly setup the Debian backend in configure.
  15643. 2004-08-29 Colin Walters <walters@verbum.org>
  15644. * test/nminfotest.c: Include string.h and stdlib.h.
  15645. (get_network_string_property, get_networks_of_type): Return NULL.
  15646. * test/nmclienttest.c (get_device_name, get_active_device): Return
  15647. NULL.
  15648. * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
  15649. use strlen, fgets always NULL-terminates the string.
  15650. * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
  15651. dbus_message_get_member): Remove /* in comment.
  15652. * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
  15653. * src/NetworkManager.c (quit): Unused, delete.
  15654. (nm_data_free): Cast arg to GFunc.
  15655. * panel-applet/NMWirelessAppletDbus.c: Need to include
  15656. string.h, and dbus-glib-lowlevel.h (the latter is needed
  15657. for dbus_connection_setup_with_g_main at present).
  15658. (nmwa_dbus_update_wireless_network_list): Parenthesize
  15659. assignment in conditional.
  15660. (nmwa_dbus_worker): Return NULL.
  15661. * panel-applet/NMWirelessApplet.c (nmwa_redraw)
  15662. (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
  15663. (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
  15664. (nmwa_populate_menu): Return NULL on failure, instead of just
  15665. return;
  15666. * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
  15667. * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
  15668. variables.
  15669. * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
  15670. delete.
  15671. 2004-08-29 Colin Walters <walters@verbum.org>
  15672. * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
  15673. a GTimeVal instead of time_t. This is easier to work with,
  15674. since time_t may be a long or double, we don't know.
  15675. * src/NetworkManagerDbus.h: Update prototype.
  15676. * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
  15677. instead of time_t.
  15678. (nm_ap_get_timestamp): Update to return GTimeVal.
  15679. (nm_ap_set_timestamp): Update to take GTimeVal.
  15680. * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
  15681. to handle GTimeVal.
  15682. * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
  15683. GTimeVal change.
  15684. (nm_ap_list_print_members): Fix warnings in printf format.
  15685. 2004-08-29 Colin Walters <walters@verbum.org>
  15686. * panel-applet/NMWirelessApplet.c: Include config.h.
  15687. 2004-08-29 Colin Walters <walters@verbum.org>
  15688. * configure.in: Generate config.h.
  15689. * configure.in: Dump dependency on OpenSSL; we can't
  15690. use it since this package is GPL:
  15691. http://www.gnome.org/~markmc/openssl-and-the-gpl.html
  15692. Instead, check for libgcrypt, use it if available,
  15693. otherwise use included MD5 code.
  15694. * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
  15695. Suck in from gnome-keyring, munge a bit.
  15696. * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
  15697. gnome-keyring-md5.h gnome-keyring-md5.c.
  15698. (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
  15699. * src/NetworkManagerWireless.c (nm_md5): New function, uses
  15700. libgcrypt or included gnome-keyring md5 bits.
  15701. (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
  15702. 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
  15703. * configure.in: Add «nb» and «no» to ALL_LINGUAS.
  15704. 2004-08-27 Bryan Clark <bclark@redhat.com>
  15705. * examples/python/systray/Makefile:
  15706. Updated the clean section
  15707. * examples/python/systray/trayiconmodule.c:
  15708. * examples/python/systray/trayicon.override:
  15709. * examples/python/systray/network_tray.py:
  15710. * examples/python/systray/eggtrayicon.h:
  15711. * examples/python/systray/eggtrayicon.c:
  15712. * examples/python/systray/Makefile:
  15713. * examples/python/README:
  15714. * examples/python/NetworkManager.py:
  15715. * examples/python/NMTester.py:
  15716. Initial commit of these python example files
  15717. Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
  15718. * panel-applet/NMWirelessApplet.c
  15719. - Make current device bold
  15720. - Show more user-friendly device name if we got one from hal
  15721. * panel-applet/NMWirelessAppletDbus.c
  15722. - Grab "info.product" key from hal for network devices
  15723. - Cache the current active device
  15724. 2004-08-27 Adam Weinberger <adamw@gnome.org>
  15725. * configure.in: Added en_CA to ALL_LINGUAS.
  15726. 2004-08-27 Christian Rose <menthos@menthos.com>
  15727. * configure.in: Added "sv" to ALL_LINGUAS.
  15728. Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
  15729. * Tag NetworkManager-0.2
  15730. Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
  15731. * initscripts/Makefile.am
  15732. * configure.in: Make pass distcheck
  15733. * po/ChangeLog: added
  15734. Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
  15735. * panel-applet/NMWirelessApplet.c
  15736. - Remove debugging code
  15737. - Enable device switching from menus
  15738. * panel-applet/NMWirelessAppletDbus.[ch]
  15739. - Method for asking NM to switch devices
  15740. * src/NetworkManagerDevice.c
  15741. - Set dev->activating earlier, avoids race between
  15742. the dbus signal of "DeviceActivating" and setting
  15743. dev->activating (which is what NM's "status" method call
  15744. looks at)
  15745. Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
  15746. * panel-applet/NMWirelessApplet.[ch]
  15747. - Rework menu code to add devices to menu, and to show
  15748. signal strength for each access point. Code cleanups
  15749. too.
  15750. * panel-applet/NMWirelessAppletDbus.c
  15751. - Grab network devices from NetworkManager too
  15752. - Grab quality information from NM for wireless networks
  15753. * src/NetworkManagerDbus.[ch]
  15754. - Add dbus methods for getting the HAL UDI from a device and
  15755. for getting its base quality, if its wireless
  15756. - Consolidate some functions (wireless network notifications,
  15757. device notifications)
  15758. - Add method for requesting NM to use a particular device
  15759. * src/NetworkManager.c
  15760. - Change for function consolidations from NetworkManagerDbus.c
  15761. - Implement active device locking and user-requested devices
  15762. (ie, tell NM to use a particular device instead of the one
  15763. it autochose)
  15764. * src/NetworkManagerDevice.c
  15765. - Add method for getting the base quality of a device, if its
  15766. wireless
  15767. - Grab device base quailty info from iwlib during scans
  15768. * src/NetworkManagerPolicy.c
  15769. - Use a user-requested device rather than the auto-chosen device
  15770. if we are told to
  15771. Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
  15772. * Makefile.am: add po as a supdir
  15773. * autogen.sh: use gnome-autogen.sh
  15774. * initscript/Gentoo/.cvsignore:
  15775. * initscript/RedHat/.cvsignore: Shut up cvs
  15776. * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
  15777. * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
  15778. (nmwa_fill): Use gettext.
  15779. * configure.in: add gettext support
  15780. * po/.cvsignore:
  15781. * po/NetworkManager.pot:
  15782. * po/POTFILES.in:
  15783. 2004-08-26 Seth Nickell <seth@gnome.org>
  15784. * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
  15785. (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
  15786. (nmwa_add_menu_item), (nmwa_menu_item_data_free),
  15787. (nmwa_dispose_menu_items), (nmwa_populate_menu),
  15788. (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
  15789. * panel-applet/NMWirelessApplet.h:
  15790. Use a menu bar instead of a button for the main clickable
  15791. thingy.
  15792. 2004-08-25 Dan Williams <dcbw@redhat.com>
  15793. * src/NetworkManagerDevice.c
  15794. - (nm_device_set_enc_key): always set device to "open" mode instead of
  15795. turning encryption off, because the Cisco driver doesn't associate
  15796. with WEP-enabled access points unless we are in "open"
  15797. 2004-08-25 Dan Williams <dcbw@redhat.com>
  15798. * src/NetworkManagerWireless.c
  15799. - Don't try to defererence blank passphrases
  15800. 2004-08-25 Dan Williams <dcbw@redhat.com>
  15801. * panel-applet/NMWirelessApplet.c
  15802. - Rebuild the menu whenever a user clicks
  15803. 2004-08-25 Dan Williams <dcbw@redhat.com>
  15804. * panel-applet/NMWirelessApplet.c
  15805. - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
  15806. when NM isn't around or when its not connected
  15807. * src/NetworkManagerDevice.c
  15808. - (nm_device_activation_worker): Make sure to reset dev->activating if we get
  15809. canceled.
  15810. 2004-08-25 Dan Williams <dcbw@redhat.com>
  15811. * panel-applet/NMWirelessAppletDbus.c
  15812. - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
  15813. for getting encryption, and don't stop on "val" once we've gotten it
  15814. from NetworkManager. Short form: encryption should now show up.
  15815. 2004-08-25 Dan Williams <dcbw@redhat.com>
  15816. * panel-applet/NMWirelessApplet.c
  15817. - Set ESSID on a gconf trusted network too when force-setting the wireless
  15818. network to associate with
  15819. 2004-08-25 Dan Williams <dcbw@redhat.com>
  15820. * panel-applet/*
  15821. - Rework the panel applet to do all DBUS communication in a separate
  15822. thread
  15823. 2004-08-25 Dan Williams <dcbw@redhat.com>
  15824. * info-daemon/NetworkManagerInfo.[ch]
  15825. - Remove "get_next_priority" function
  15826. * info-daemon/NetworkManagerInfoDbus.[ch]
  15827. - Convert "priority" functions to "timestamp"
  15828. 2004-08-25 Dan Williams <dcbw@redhat.com>
  15829. * src/NetworkManagerAP.[ch]
  15830. - Add a "enc_method_good" member and accessors to an Access Point
  15831. to signal when we've found the correct encryption method
  15832. for an access point
  15833. - Add a "timestamp" member and accessors, remove "priority" member
  15834. and accessors (use timestamps instead)
  15835. - Rename "wep_key"->"enc_key"
  15836. - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
  15837. for a specified encryption method using the access points
  15838. source encryption key/passphrase
  15839. * src/NetworkManagerAPList.c
  15840. - When updating a network with dbus, grab timestamp now instead of
  15841. priority
  15842. * src/NetworkManagerDBus.[ch]
  15843. - Add signal for "DeviceActivating"
  15844. - Switch priority->timestamp
  15845. * src/NetworkManagerDevice.c
  15846. - Change references of "wep_key" -> "enc_key" or "key"
  15847. - Signal DeviceActivating when starting activation
  15848. - When activating a wireless device, if the access point we are connecting
  15849. to is encrypted, and we have a source key, try to generate a mangled
  15850. key and use that (ie, generate real WEP key from a passphrase)
  15851. - Rework device activation to fallback to other encryption methods if
  15852. a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
  15853. first, then if that doesn't work fall back to direct hex key).
  15854. - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
  15855. priority. We now prefer the latest access point used, rather than using
  15856. a priority scheme
  15857. - (nm_device_do_normal_scan): make the encryption method "unknown" on access
  15858. points we've just discovered, and merge in correct info from the global
  15859. access point lists
  15860. 2004-08-25 Seth Nickell <seth@gnome.org>
  15861. Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
  15862. Debian support.
  15863. * src/Makefile.am:
  15864. * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
  15865. (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
  15866. (nm_system_device_flush_addresses), (nm_system_enable_loopback),
  15867. (nm_system_delete_default_route),
  15868. (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
  15869. (nm_system_load_device_modules):
  15870. 2004-08-24 Dan Willemsen <dan@willemsen.us>
  15871. * src/NetworkManager.c
  15872. src/backends/NetworkManagerGentoo.c
  15873. src/backends/NetworkManagerRedHat.c
  15874. src/backends/NetworkManagerSystem.h
  15875. - Implement preliminary Gentoo support, adding a
  15876. nm_system_init function to the backend specification
  15877. * configure.in
  15878. - Distribution auto-detection, lowercase any user-fed
  15879. distribution names
  15880. * initscript/.cvsignore
  15881. initscript/Makefile.am
  15882. initscript/RedHat/Makefile.am
  15883. initscript/RedHat/NetworkManager
  15884. initscript/Gentoo/Makefile.am
  15885. initscript/Gentoo/NetworkManager
  15886. - Refactored initscript code separately for each
  15887. distribution
  15888. 2004-08-23 Dan Williams <dcbw@redhat.com>
  15889. * configure.in
  15890. src/Makefile.am
  15891. src/NetworkManagerDevice.c
  15892. src/NetworkManager.c
  15893. src/NetworkManagerUtils.[ch]
  15894. src/backends/NetworkManagerSystem.h
  15895. src/backends/NetworkManagerRedHat.c
  15896. src/backends/NetworkManagerGentoo.c
  15897. - Refactor system-specific code into separate backends for
  15898. each distribution
  15899. 2004-08-23 Dan Willemsen <dan@willemsen.us>
  15900. * dispatcher-daemon/NetworkManagerDispatcher.c
  15901. info-daemon/NetworkManagerInfo.[ch]
  15902. info-daemon/NetworkManagerInfoDbus.c
  15903. info-daemon/NetworkManagerInfoPassphraseDialog.c
  15904. src/NetworkManager.c
  15905. src/NetworkManagerAP.c
  15906. src/NetworkManagerAPList.c
  15907. src/NetworkManagerDbus.c
  15908. src/NetworkManagerDevice.c
  15909. src/NetworkManagerPolicy.c
  15910. src/NetworkManagerUtils.[ch]
  15911. src/NetworkManagerWireless.c
  15912. - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
  15913. * src/NetworkManager.c
  15914. - Fixed usage wording for --no-daemon
  15915. 2004-08-23 Dan Williams <dcbw@redhat.com>
  15916. * panel-applet/NMWirelessApplet.c
  15917. - Update our state every second to get more responsive panel icon
  15918. - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
  15919. was causing our marching ants status blips to never move when
  15920. looking for a wireless network
  15921. * src/NetworkManagerDevice.c
  15922. - (nm_device_activation_begin): return if activation has already begun
  15923. - (nm_device_do_normal_scan): merge WEP key and priority from the
  15924. trusted/preferred network into the device's access point when the
  15925. scan list is processed
  15926. 2004-08-23 Dan Williams <dcbw@redhat.com>
  15927. * initscript/NetworkManager
  15928. - Use NMLaunchHelper rather than sleeping
  15929. * initscript/NMLaunchHelper.c
  15930. Makefile.am
  15931. - Add helper program that exits only when NM activates a device,
  15932. or 10 seconds have passed, whichever happens first. This
  15933. stops the boot processes until we have a network connection,
  15934. which NM can't do because it daemonizes and brings the connection
  15935. up in the background. Allows stuff like NFS to not die.
  15936. 2004-08-20 Dan Williams <dcbw@redhat.com>
  15937. * info-daemon/NetworkManagerInfoPassphraseDialog.c
  15938. - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
  15939. for a network, set the essid as well since it may not exist yet
  15940. - (nmi_passphrase_dialog_init): don't star out the passphrase field,
  15941. since WEP keys/passphrases are long and prone to entry-error
  15942. * panel-applet/Makefile.am
  15943. panel-applet/wired.png
  15944. - Add (pulled from system-config-network temporarily)
  15945. * panel-applet/NMWirelessApplet.[ch]
  15946. - Show wired picture when a wired connection is used
  15947. - Rename wireless icon enums, adding WIRELESS
  15948. * src/NetworkManagerDevice.c
  15949. - (nm_device_activate_wireless): unset encryption before bringing
  15950. down the card and setting the essid
  15951. - (nm_device_activatin_worker): request a key from the user if the
  15952. AP we are connecting to is encrypted but we don't have a key
  15953. for it yet
  15954. - (nm_device_set_user_key_for_network): fix missing '== 0' for a
  15955. strcmp() that prevented a user-entered key from actually getting
  15956. used
  15957. 2004-08-16 Dan Williams <dcbw@redhat.com>
  15958. * initscript/NetworkManager
  15959. - Check for /sbin/ip
  15960. - Do sysctl magic that network service does
  15961. - sleep 4s after start to allow network time to come up [hack]
  15962. * src/Makefile.am
  15963. src/NMLoadModules
  15964. - Load all network device kernel modules (hal doesn't know devices
  15965. are ethernet until the module is loaded, and therefore we don't know)
  15966. * src/NetworkManager.c
  15967. - (main): daemonize later, launch NMLoadModules to alert HAL of our
  15968. network devices, and bring up the loopback device explicitly
  15969. * src/NetworkManagerUtils.[ch]
  15970. - (nm_enable_loopback): new function
  15971. 2004-08-13 Dan Williams <dcbw@redhat.com>
  15972. * configure.in
  15973. panel-applet/Makefile.am
  15974. - Fix up cleanfiles and server_DATA/server_in_files
  15975. * README
  15976. - Update with some comments on theory of operation
  15977. * CONTRIBUTING
  15978. Makefile.am
  15979. - Add CONTRIBUTING
  15980. 2004-08-12 Dan Williams <dcbw@redhat.com>
  15981. * info-daemon/passphrase.glade
  15982. - Set window title to " "
  15983. * panel-applet/Makefile.am
  15984. panel-applet/keyring.png
  15985. - Deliver to correct place
  15986. * panel-applet/NMWirelessApplet.[ch]
  15987. - Add comments
  15988. - Remove applet->have_active_device as its no longer used
  15989. - (nmwa_load_theme): load keyring.png too
  15990. - (error_dialog): remove
  15991. - (show_warning_dialog): subsume functionality of error dialog too
  15992. - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
  15993. - (nmwa_handle_network_choice): add to deal with user clicking on an item from
  15994. the networks menu
  15995. - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
  15996. - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
  15997. and when we get broadcasts of changed wireless access points only, not when the
  15998. user clicks on the button to display the menu (too long of a wait)
  15999. - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
  16000. networks that are encrypted
  16001. - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
  16002. menu item with g_object_set_data()
  16003. * panel-applet/NMWirelessAppletDbus.[ch]
  16004. - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
  16005. - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
  16006. - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
  16007. - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
  16008. - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
  16009. activation/deactivation signals and rebuild the menu when they happen
  16010. * src/NetworkManager.c
  16011. - (main): use new nm_spawn_process() rather than system()
  16012. * src/NetworkManagerDbus.c
  16013. - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
  16014. instead. Since we can now force best_aps to stick around, the AP structure to which
  16015. dev->options.wireless.best_ap points to won't necessarily be in the device's device list
  16016. if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
  16017. to freeze the best_ap.
  16018. * src/NetworkManagerDevice.[ch]
  16019. - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
  16020. - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
  16021. the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
  16022. ap list
  16023. * src/NetworkManagerUtils.[ch]
  16024. - (nm_spawn_process): add replacement for system() usage
  16025. 2004-08-11 Dan Williams <dcbw@redhat.com>
  16026. * panel-applet/NMWirelessApplet.[ch]
  16027. - Fix up copyright and credits to include Bastien and Eskil,
  16028. who created the gnome-applets wireless applet, from whose
  16029. skeleton this one was created
  16030. - Rework nmwa_update_state()/nmwa_draw() so that state and which
  16031. pixmap to draw is computed during nmwa_update_state()
  16032. - Applet now shows itself all the time due to panel packing issues
  16033. which caused the applet to previously never come back after hiding.
  16034. When a wired device is the active device, the applet shows "not connected"
  16035. * panel-applet/NMWirelessAppletDbus.[ch]
  16036. - Clean up error messages and show what function they are from
  16037. - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
  16038. - Add new device type getters, and a status getter
  16039. * src/NetworkManagerDbus.c
  16040. - (nm_dbus_devices_handle_request): Don't return an active network unless that
  16041. network is actually in the device's ap list
  16042. - (nm_dbus_nm_message_handler): Fix silly mistake returning status
  16043. * src/NetworkManagerDevice.c
  16044. - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
  16045. card
  16046. * test/nmclienttest.c
  16047. - Report status of NetworkManager too
  16048. 2004-08-11 Dan Williams <dcbw@redhat.com>
  16049. * info-daemon/NetworkManagerInfo.c:
  16050. - (main): clean up Seth's code style
  16051. * info-daemon/NetworkManagerInfoDbus.c:
  16052. - Use the more aptly-named path/service/interface constants from NetworkManager
  16053. - Don't return empty strings ("") as object paths ever, instead return errors
  16054. * panel-applet/NMWirelessApplet.c:
  16055. - Clean up Seth's code style
  16056. * src/NetworkManager.[ch]
  16057. - (nm_remove_device_from_list): remove anything having to do with pending_device
  16058. - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
  16059. * src/NetworkManagerAPList.[ch]
  16060. - Move Iter struct right above the iter functions to preserve opacity
  16061. - (nm_ap_list_remove_ap): implement
  16062. - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
  16063. remove AP if NetworkManagerInfo doesn't know anything about it
  16064. - (nm_ap_list_diff): user NMAPList iterators
  16065. - (nm_ap_list_print_members): implement debugging function
  16066. * src/NetworkManagerDbus.[ch]
  16067. - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
  16068. - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
  16069. and move the actual key setting stuff into NetworkManagerDevice.c
  16070. - (nm_dbus_get_network_priority): return -1 now on errors
  16071. - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
  16072. get lost, and force the active device to update its "best" ap when AP lists change
  16073. - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
  16074. method call due to pending_device member removal
  16075. * src/NetworkManagerDevice.[ch]
  16076. - Move NMDevice structure to the top
  16077. - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
  16078. - Remove Pending Action stuff from everywhere
  16079. - (nm_device_activation_*): We now "begin" activation and start a thread to do the
  16080. activation for us. This thread blocks until all conditions for activation have
  16081. been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
  16082. then setup up the interface and runs dhclient. We have to do this because there
  16083. is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
  16084. run our main loop and respond to dbus method calls or HAL device removals/inserts
  16085. - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
  16086. can tell nm_device_activation_worker() that we've got a key
  16087. - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
  16088. - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
  16089. diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
  16090. - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
  16091. * src/NetworkManagerPolicy.c
  16092. - Remove anything to do with pending_device
  16093. - Adjust device activation to deal with activation-in-worker-thread
  16094. * src/NetworkManagerUtils.c
  16095. - Clean up locking debugging a bit
  16096. * src/NetworkManagerWireless.[ch]
  16097. - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
  16098. was badly named and is better as a device function
  16099. * panel-applet/.cvsignore: add
  16100. 2004-08-09 Seth Nickell <seth@gnome.org>
  16101. * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
  16102. (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
  16103. (nmwa_new):
  16104. * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
  16105. Don't load the menus until clicked on (also removes a call outside
  16106. normal code paths at first load).
  16107. Hide applet when NM is not present.
  16108. Improve printf debugging stuff.
  16109. 2004-08-09 Dan Williams <dcbw@redhat.com>
  16110. * dispatcher-daemon/NetworkManagerDispatcher.c:
  16111. - Covert uses of dbus_message_iter_* over to dbus_message_get_args
  16112. - Use constants for NetworkManager interface, service, and path
  16113. 2004-08-09 Dan Williams <dcbw@redhat.com>
  16114. * src/NetworkManagerDbus.c:
  16115. - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
  16116. instead return an error message
  16117. - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
  16118. on a wired device. Also never return an empty object path, instead return an error message
  16119. 2004-08-06 Seth Nickell <seth@gnome.org>
  16120. * panel-applet/NMWirelessApplet.c: (nmwa_new):
  16121. Check the error code when getting a connection.
  16122. * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
  16123. Check if the NM service exists when initializing (rather than
  16124. assuming it does not).
  16125. * src/NetworkManagerDbus.c: (nm_dbus_init):
  16126. Don't acquire the well-known service name until we have
  16127. registered object/path handlers and can actually receive
  16128. calls.
  16129. 2004-08-06 Dan Williams <dcbw@redhat.com>
  16130. * panel-applet/*
  16131. - Add panel applet
  16132. * src/NetworkManagerPolicy.c
  16133. src/NetworkManager.c
  16134. - Get access point lists from NetworkManagerInfo on-demand,
  16135. and look for ServiceCreate/ServiceDeleted signals to see when
  16136. we should query NMI for lists
  16137. * src/NetworkManagerAPList.c
  16138. - Make sure to init the list's mutex
  16139. - Convert traversals of the list over to the list iter functions
  16140. * src/NetworkManagerDbus.[ch]
  16141. - Use more aptly-named path/service/interface constants
  16142. - Treat both active and pending devices the same for "getActiveDevice"
  16143. - Add a "status" method returning "connected", "connecting", or "disconnected"
  16144. * src/NetworkManagerDevice.c
  16145. - Honor "ignored" network list when picking best ap to use
  16146. 2004-08-06 Seth Nickell <seth@gnome.org>
  16147. * aclocal.m4:
  16148. Autogenerated, remove from CVS.
  16149. * autogen.sh:
  16150. Don't hardcode automake version.
  16151. * configure.in:
  16152. * info-daemon/Makefile.am:
  16153. * info-daemon/NetworkManagerInfo.c: (main):
  16154. Use GnomeProgram et al. for doing session management.
  16155. Use popt stuff for argument parsing rather than doing
  16156. it manugally.
  16157. 2004-08-05 Dan Williams <dcbw@redhat.com>
  16158. * test/nminfotest.c
  16159. - Update to new NMI dbus API, check different network types
  16160. * info-daemon/NetworkManagerInfoDbus.c
  16161. - Update to new NM dbus API, ie network type sent in query message
  16162. 2004-08-05 Dan Williams <dcbw@redhat.com>
  16163. * An assload of changes
  16164. 2004-08-02 Dan Williams <dcbw@redhat.com>
  16165. * TODO
  16166. - new task: proper logging support
  16167. * info-daemon/NetworkManagerInfo.c
  16168. - Correct spelling of "canceled"
  16169. - Correct casting of objects for g_signal_connect()
  16170. * info-daemon/NetworkManagerInfoDbus.c
  16171. - Add defines for NetworkManager namespace and object path, and use them
  16172. - Add filter function to trap new signals from NetworkManager:
  16173. WirelessNetworkAppeared, WirelessNetworkDisappeared
  16174. * info-daemon/passphrase.glade
  16175. - Change name of "ok" button to "Login to Network..."
  16176. - Mark invisible
  16177. * src/NetworkManager.c
  16178. - Code and debug message cleanups
  16179. - Rename "nm_add_current_devices"->"nm_add_initial_devices"
  16180. - (nm_add_initial_devices) Check returned string array of devices
  16181. and don't try to add devices if array is NULL
  16182. - (main) Initialize libhal a bit later, make code a bit clearer
  16183. * src/NetworkManagerAP.[ch]
  16184. - New accessor and data member "matched": used to speed up AP list
  16185. diffing
  16186. - New accessor and data member "enc_method": will be used during key
  16187. fallback to cache which passphrase->key conversion actually works
  16188. so we don't have to do it every time
  16189. * src/NetworkManagerAPList.[ch]
  16190. - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
  16191. - (nm_ap_list_diff) New: given two lists of access points, find the differences
  16192. between them, and send WirelessNetworkAppeared/Disappeared signals over
  16193. dbus in response to those differences
  16194. * src/NetworkManagerDbus.[ch]
  16195. - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
  16196. make an object path for that access point (NOTE that we don't yet check to
  16197. make sure that access point is actually in the device's AP list yet)
  16198. - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
  16199. - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
  16200. New: signal appearance/disappearance of wireless networks
  16201. - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
  16202. key entry
  16203. * src/NetworkManagerDevice.[ch]
  16204. - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
  16205. - (nm_device_ap_list_get) New: return the AP list (static function)
  16206. - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
  16207. new one resulting from the scan with the old one
  16208. * src/NetworkManagerWireless.c
  16209. - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
  16210. * test/nminfotest.c
  16211. - #define object paths and namespaces and use the #defines rather than static strings
  16212. - Test out user-key functionality of NetworkManagerInfo too
  16213. 2004-07-29 Dan Williams <dcbw@redhat.com>
  16214. * info-daemon/NetworkManagerInfoDbus.c
  16215. src/NetworkManagerDbus.c
  16216. - Update to current DBus (ie don't use decomposed paths when registering
  16217. object paths/fallbacks)
  16218. 2004-07-27 Dan Williams <dcbw@redhat.com>
  16219. * Remove various Makefile.in files
  16220. * TODO
  16221. - Add some more items
  16222. * configure.in
  16223. - Add checks for OpenSSL/md5 headers and libs
  16224. * src/Makefile.am
  16225. - Use OpenSSL CFLAGS
  16226. * src/NetworkManagerAP.[ch]
  16227. - Remove 'stamp' functions, replace with 'invalid' functions
  16228. to support user cancelling WEP key entry
  16229. * src/NetworkManagerDbus.c
  16230. - Remove 'stamp' return functions
  16231. - Treat returned user key as a passphrase and convert to a WEP key,
  16232. but don't actually use the WEP key yet. We use the returned user
  16233. key as a hexadecimal WEP key until we can figure out a UI for
  16234. passphrase-vs-hex key
  16235. * src/NetworkManagerWireless.[ch]
  16236. - Add passphrase-to-128bit-key function
  16237. 2004-07-27 Dan Williams <dcbw@redhat.com>
  16238. * TODO
  16239. - Add a couple of items
  16240. 2004-07-27 Dan Williams <dcbw@redhat.com>
  16241. * info-daemon/NetworkManagerInfo.c
  16242. - Update allowed network's GConf key when user enters a WEP key explicitly
  16243. * info-daemon/NetworkManagerDbus.c
  16244. - Fix some comments
  16245. - nmi_dbus_get_allowed_networks(): kill warning
  16246. 2004-07-27 Dan Williams <dcbw@redhat.com>
  16247. * initscript/Makefile.in
  16248. - Remove
  16249. * initscript/Makefile.am
  16250. - Add correct rules to install the init.d initscript
  16251. * info-daemon/NetworkManagerInfoDbus.c
  16252. - Remove debug fprintf
  16253. * src/NetworkManagerDbus.[ch]
  16254. - Remove debug fprintfs
  16255. - Add macros for NetworkManagerInfo object path/namespace
  16256. - Use said macros instead of constant strings
  16257. 2004-07-27 Dan Williams <dcbw@redhat.com>
  16258. * initscript/.cvsignore
  16259. - Add
  16260. * info-daemon/Makefile.am
  16261. - Install .glade files and keyring.png
  16262. - Fix stupid omission of a \ that caused half the flags not to be
  16263. passed to gcc
  16264. * info-daemon/NetworkManagerInfo.c
  16265. - gtk_signal_connect->g_signal_connect
  16266. - Alert NetworkManagerInfo to new glade file location
  16267. 2004-07-27 Dan Williams <dcbw@redhat.com>
  16268. * test/nmclienttest.c
  16269. test/nminfotest.c
  16270. - Add missing <dbus/dbus.h> headers
  16271. - Add GPL message at top
  16272. 2004-07-27 Dan Williams <dcbw@redhat.com>
  16273. * src/NetworkManagerAPList.[ch]
  16274. src/Makefile.am
  16275. - Add. Deal with allowed network list additions, deletions, and updates
  16276. * dispatcher-daemon/NetworkManagerDispatcher.c
  16277. - Add missing <dbus/dbus.h> header
  16278. * info-daemon/NetworkManagerInfo.[ch]
  16279. - Add missing <dbus/dbus.h> header
  16280. - Implement the GConf notify callback to signal NetworkManager of an allowed
  16281. network change
  16282. - Better error checking
  16283. * info-daemon/NetworkManagerInfoDbus.[ch]
  16284. - Add missing <dbus/dbus.h> header
  16285. - Convert to using dbus_message_append_args/dbus_message_get_args
  16286. - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
  16287. that an allowed network changed. We don't want to signal on individual
  16288. keys _inside_ an allowed network really, just want NM to query the info
  16289. daemon for updated info on all keys.
  16290. - Better error checking
  16291. * src/NetworkManager.[ch]
  16292. - Add missing <dbus/dbus.h> header
  16293. - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
  16294. - Zero out NMData structure on free
  16295. - No longer use a thread for allowed_ap_list updating, instead its now done
  16296. through dbus queries against NetworkManagerInfo
  16297. - Populate allowed_ap_list initially before adding existing network devices
  16298. to the device list, so wireless devices can get their "best" AP
  16299. * src/NetworkManagerDbus.[ch]
  16300. - Convert to using dbus_message_append_args/dbus_message_get_args
  16301. - Better error checking
  16302. - Implement Allowed Network info functions to request allowed network
  16303. info from NetworkManagerInfo
  16304. - Implement the filter function to process signals from NetworkManagerInfo
  16305. about changing allowed networks
  16306. * src/NetworkManagerDevice.c
  16307. - Fix file descriptor leak in nm_device_update_ip4_address()
  16308. 2004-07-27 Dan Williams <dcbw@redhat.com>
  16309. * .cvsignore
  16310. src/.cvsignore
  16311. test/.cvsignore
  16312. dispatcher-daemon/.cvsignore
  16313. info-daemon/.cvsignore
  16314. - Add .cvsignore files to reduce noise when diffing
  16315. 2004-07-24 Dan Williams <dcbw@redhat.com>
  16316. * src/NetworkManager.[ch]
  16317. src/NetworkManagerDbus.[ch]
  16318. src/NetworkManagerDevice.[ch]
  16319. src/NetworkManagerPolicy.c
  16320. src/NetworkManagerWireless.[ch]
  16321. - Add many more g_return_if_fail()/g_return_val_if_fail() checks
  16322. - Pass the NMData application data structure through all calls
  16323. that need it so we can get rid of nm_get_global_data()
  16324. - Change deallocation of the allowed_ap_list GSList in preparation
  16325. for not completely clearing it every time we get an update,
  16326. but instead getting incremental updates via GConf/dbus
  16327. 2004-07-22 Dan Williams <dcbw@redhat.com>
  16328. * configure.in
  16329. - Add checks for GConf libs & headers & flags
  16330. * info-daemon/Makefile.am
  16331. - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
  16332. * info-daemon/NetworkManagerInfo.[ch]
  16333. - Don't use gquarks for data storage, just use normal data storage
  16334. - Add gconf bits to watch /system/networking/wireless/allowed_networks
  16335. * info-daemon/NetworkManagerDbus.[ch]
  16336. - Add method call for getting allowed networks
  16337. - Add method calls for getting an allowed network's essid, priority, and key
  16338. - Hook the method calls up to GConf
  16339. - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
  16340. - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
  16341. * src/NetworkManagerDbus.[ch]
  16342. - Switch for enumeration of networks to using essid instead
  16343. * test/Makefile.am
  16344. test/nminfotest.c
  16345. - Add test program for NetworkManagerInfo
  16346. 2004-07-19 Dan Williams <dcbw@redhat.com>
  16347. * src/NetworkManagerDbus.c
  16348. - Switch from indexed device paths to names. Less code, more efficient.
  16349. ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
  16350. 2004-07-19 Dan Williams <dcbw@redhat.com>
  16351. * dispatcher-daemon/NetworkManagerDispatcher.c
  16352. - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
  16353. 2004-07-19 Dan Williams <dcbw@redhat.com>
  16354. * Makefile.am
  16355. - Add info-daemon directory
  16356. * configure.in
  16357. - Check for glade libs and headers
  16358. - Add info-daemon directory
  16359. * src/NetworkManagerAP.c
  16360. - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
  16361. copied over to the new AP.
  16362. * src/NetworkManagerDbus.c
  16363. src/NetworkManagerDbus.h
  16364. - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
  16365. - Remove nm_dbus_signal_need_key_for_network()
  16366. - Add disabled code for asynchronous user wep key callbacks
  16367. - Add functions for getting, setting, and cancelling user key operations
  16368. - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
  16369. - Add "setKeyForNetwork" dbus method call on NetworkManager object
  16370. * src/NetworkManagerDevice.c
  16371. src/NetworkManagerDevice.h
  16372. - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
  16373. logic is in device activation now
  16374. - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
  16375. key is wrong) trigger get-user-key pending action
  16376. - Implement get-user-key pending action stuff, tie to dbus messages
  16377. - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
  16378. - Add nm_device_ap_list_get_ap_by_essid()
  16379. - Instead of copying "best" access points, ref them instead so that the key we set
  16380. sticks around
  16381. * src/NetworkManagerPolicy.c
  16382. - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
  16383. - Don't cancel pending actions on a device if its the same device as last iteration
  16384. - Only promote pending_device->active_device if activation was successfull
  16385. * src/Makefile.am
  16386. - Rename nmclienttest->nmtest
  16387. * info-daemon/Makefile.am
  16388. info-daemon/NetworkManagerInfo.c
  16389. info-daemon/NetworkManagerInfo.h
  16390. info-daemon/NetworkManagerInfoDbus.c
  16391. info-daemon/NetworkManagerInfoDbus.h
  16392. info-daemon/passphrase.glade
  16393. info-daemon/NetworkManagerInfo.conf
  16394. info-daemon/keyring.png
  16395. - Import sources for info-daemon, which pops up dialog for passphrase/key when
  16396. NetworkManager asks for it, and also will (soon) provide "allowed" access point
  16397. lists to NetworkManager by proxying user's GConf
  16398. 2004-07-15 Dan Williams <dcbw@redhat.com>
  16399. * src/Makefile.am
  16400. - Turn on warnings
  16401. * src/NetworkManager.c
  16402. - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
  16403. that doing the deactivation ourselves
  16404. - Cancel an pending actions on a device if its being removed
  16405. - Break up link state checking a bit, make non-active wireless cards
  16406. deactivated to save power
  16407. - Remove unused variables
  16408. * src/NetworkManager.h
  16409. - Add support for "pending" device
  16410. * src/NetworkManagerAP.h
  16411. src/NetworkManagerAP.c
  16412. - Add support for determining whether and AP has encryption enabled or not
  16413. - AP address is now "struct ether_addr" rather than a string
  16414. * src/NetworkManagerDbus.h
  16415. src/NetworkManagerDbus.c
  16416. - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
  16417. - Changes for AP address from struct ether_addr->string
  16418. * src/NetworkManagerDevice.h
  16419. src/NetworkManagerDevice.c
  16420. - Remove unused variables, fix warnings
  16421. - Add support for Pending Actions (things that block a device from being "active"
  16422. until they are completed).
  16423. - First pending action: Get a WEP key from the user
  16424. - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
  16425. - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
  16426. - Update wireless link checking to try to determine if the AP we are associated
  16427. with is correct, but the WEP key we are using is just wrong. If its wrong,
  16428. trigger the GetUserKey pending action on the device
  16429. - If dhclient can't get an IP address, it brings the device down. Bring it back
  16430. up in that case, otherwise we can't scan or link-check on it
  16431. - Add IP address change notifications at appropriate points (still needs some work)
  16432. - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
  16433. * src/NetworkManagerPolicy.h
  16434. src/NetworkManagerPolicy.c
  16435. - Split out "best" access point determiniation into separate function
  16436. - Make device activation 2-stage: first the device is pending, then
  16437. in the next iteration through it becomes "active" unless it has
  16438. pending actions
  16439. * src/NetworkManagerUtils.h
  16440. src/NetworkManagerUtils.c
  16441. - Clean up unused variables and warnings
  16442. - Wrap our debug macros in {} to prevent possible confusion
  16443. * src/NetworkManagerWireless.c
  16444. - Forgot to return current best priority, which lead to last available AP always
  16445. being chosen no matter what its priority was. Corrected.
  16446. 2004-07-15 Dan Williams <dcbw@redhat.com>
  16447. * dispatcher-daemon/Makefile.am
  16448. - Turn on warnings
  16449. * dispatcher-daemon/NetworkManagerDispatcher.c
  16450. - Remove unused variables due to warnings
  16451. - Fix some comments
  16452. - Print message on receipt of NeedKeyForNetwork signal (testing only)
  16453. 2004-07-06 Dan Williams <dcbw@redhat.com>
  16454. * src/NetworkManager.c
  16455. - Add IPv4 address update for active device during link state check
  16456. - Don't allow wireless cards to be powered up when they are not the
  16457. active device
  16458. * src/NetworkManagerDbus.c
  16459. src/NetworkManagerDbus.h
  16460. - Add DBUS IPv4 address change signal
  16461. - Add DBUS IPv4 address get method for devices
  16462. * src/NetworkManagerDevice.c
  16463. - Make setting the WEP key actually work
  16464. - Move IP address get/set/update stuff here, per-device
  16465. - Power down/bring down wireless device when deactivated
  16466. - For scanning wireless devices, if first scan returned ENODATA, try again
  16467. * src/NetworkManagerPolicy.c
  16468. - Only set the WEP key for an allowed access point if there is one.
  16469. We were setting it to be blank if one wasn't specified.
  16470. * src/NetworkManagerUtils.h
  16471. src/NetworkManagerUtils.c
  16472. - Move the IP address stuff to NetworkManagerDevice.c
  16473. * dispatcher-daemon/NetworkManagerDispatcher.c
  16474. - Add device IPv4 address change notification stuff
  16475. 2004-07-05 Dan Williams <dcbw@redhat.com>
  16476. * dispatcher-daemon/NetworkManagerDispatcher.c
  16477. - A bit more descriptive state message
  16478. - Don't segfault when reading directory
  16479. * src/NetworkManager.h
  16480. - Remove NMData desired_ap member, its now
  16481. per-device rather than global
  16482. * src/NetworkManager.c
  16483. - Remove references to desired_ap
  16484. - Move the allowed AP list refresh stuff into a thread
  16485. * src/NetworkManagerDevice.c
  16486. src/NetworkManagerDevice.h
  16487. - Each wireless device now has a "best ap"
  16488. - Make device activate/deactivate functions per-device
  16489. - Make wireless scanning per-device
  16490. - Add IPv4 address discover functions, stub IPv6 ones
  16491. - Move ethernet address validation functions to NetworkManagerUtils.c
  16492. - Add wireless access point accessor function
  16493. - Get/Set functions for "best ap"
  16494. * src/NetworkManagerPolicy.c
  16495. - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
  16496. - Deal with per-device "best ap" rather than data->desired_apa
  16497. - Implement allowed access point worker thread
  16498. - Add nm_policy_essid_is_allowed() function
  16499. * src/NetworkManagerUtils.c
  16500. src/NetworkManagerUtils.h
  16501. - Add nm_ethernet_address_is_valid() function
  16502. - Add IPv4/IPv6 address get functions
  16503. * src/NetworkManagerWireless.c
  16504. src/NetworkManagerWireless.h
  16505. - Move scanning stuff into NetworkManagerDevice.c, per-device
  16506. 2004-06-29 Dan Williams <dcbw@redhat.com>
  16507. * dispatcher-daemon/NetworkManagerDispatcher.c
  16508. - Implement script callout functionality
  16509. 2004-06-24 Dan Williams <dcbw@redhat.com>
  16510. * NetworkManager.c
  16511. - Spacing cleanups
  16512. - Flush device routes and ip addresses when added to the device list
  16513. * NetworkManagerDbus.c
  16514. - Spacing cleanups
  16515. - Add missing returns in the two signal functions
  16516. * NetworkManagerPolicy.c
  16517. - Spacing and variable cleanups
  16518. 2004-06-24 Dan Williams <dcbw@redhat.com>
  16519. * Makefile.am
  16520. Makefile.in
  16521. configure.in
  16522. dispatcher-daemon/Makefile.am
  16523. dispatcher-daemon/Makefile.in
  16524. dispatcher-daemon/NetworkManagerDispatcher.c
  16525. - Add a daemon that receives signals from NetworkManager
  16526. and will (eventually) call scripts in /etc/somewhere
  16527. when devices go up or down.
  16528. * NetworkManager.c
  16529. - Spacing cleanups
  16530. - Flush device routes and ip addresses when added to the device list
  16531. * NetworkManagerDbus.c
  16532. - Spacing cleanups
  16533. - Add missing returns in the two signal functions
  16534. * NetworkManagerPolicy.c
  16535. - Spacing and variable cleanups
  16536. - Rename nm_policy_switch_interface->nm_policy_switch_device
  16537. - nm_policy_switch_device():
  16538. Use kill (pid) instead of system ("kill <pid>")
  16539. - nm_state_modification_monitor():
  16540. Add wireless essid to output of debug statements
  16541. Correct typo in device compare to switch or not (should be !=)
  16542. Don't sleep after sending "no longer active" signal, was useless
  16543. 2004-06-24 Dan Williams <dcbw@redhat.com>
  16544. * Initial import